[SQL] Upgrade DataCatalog client to 0.4.0-alpha

Please add a meaningful description for your change here

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

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @amaliujia @apilloud @kennknowles

LGTM


Feature request: support payload distribution option in tx Generator

Is your feature request related to a problem? Please describe.
In the Kaspa blockchain, when a large transaction exceeds the single transaction limit, it is split into multiple smaller transactions. Currently, if these transactions include a payload, only the final transaction in the sequence carries this payload. This behavior is problematic in scenarios where the payload serves as a memo for identifying deposits, as having the payload only in the final transaction may not meet the requirements of such use cases.
Describe the solution you'd like
Introduce an optional parameter, payloadDistribution, in the transaction generator settings. This parameter will enable developers to specify their preferred payload distribution strategy:
"FinalOnly": Attach the payload only to the final transaction in the sequence (default behavior).
"AllTxs": Attach the payload to every transaction in the sequence.
Describe alternatives you've considered
An alternative could be to manually handle payload distribution outside of the transaction generator, but this would require additional logic and complexity in the application code. Another option could be to modify the existing RPC API to handle payloads differently, but this might break compatibility with existing implementations.
Additional context
By offering this optional parameter, developers gain more flexibility in managing payload distribution, which can be crucial for applications relying on payloads for transaction identification. This solution maintains compatibility with existing RPC APIs while providing additional control over transaction construction, ensuring that the transaction generator remains versatile and developer-friendly.

But final transaction will be the one reflecting your outputs passed into Generator? So other transactions are not obsolete/unrelated with that exchange deposit scenario.

You've got a valid point, but let me clarify. This feature request is solely about determining where to include the payload within the transaction. It doesn't impact the original outputs' output logic at all.
Regarding the deposit scenario I described, the payload acts as a deposit identification code. In the case of a large-sized KAS transfer, if the size of a single transaction is too big, it will be automatically split into multiple smaller-sized transactions. Each of these transactions will carry this deposit identification code in its payload. This allows the Exchange to identify these transactions as part of the same deposit, even though they are split. So, the other transactions aren't obsolete or unrelated; they are just fragmented parts of the overall deposit operation, all linked by this common payload.

Exchanges doesn't need to identify these transactions to make process work, these transactions are related with UTXO compounding/management. Also HD wallets are the only privacy measure in Kaspa and by that "distribution" you are revealing owner of addresses of your account(Can get linked by analysis)...

A Kaspa transaction can consist of multiple UTXOs from different addresses. These UTXOs come from various sources, and in our deposit scenario, we need to identify a unique source address. Therefore, we need to construct a specific payload deposit identifier for users to recognize which user made the deposit.
What I am describing is not the logic of a centralized exchange, but rather a Layer 2 solution to address specific scenarios for the interoperability of underlying assets.
Thus, I submitted this PR. The default behavior of this PR remains consistent with the current code implementation, but it allows developers the option to attach this payload to each transaction (to avoid situations where some deposits are overlooked due to the absence of a deposit identifier in split scenarios).

A Kaspa transaction can consist of multiple UTXOs from different addresses. These UTXOs come from various sources, and in our deposit scenario, we need to identify a unique source address. Therefore, we need to construct a specific payload deposit identifier for users to recognize which user made the deposit.
What I am describing is not the logic of a centralized exchange, but rather a Layer 2 solution (We have developed an independent Layer 2 solution) to address specific scenarios for the interoperability of underlying assets.
Thus, I submitted this PR. The default behavior of this PR remains consistent with the current code implementation, but it allows developers the option to attach this payload to each transaction (to avoid situations where some deposits are overlooked due to the absence of a deposit identifier in split scenarios).


Add an encoder and decoder

Covers the probably most common use case.

@rtfeldman Requesting another review.

Great, thanks @reiner-dolp!

I renamed encoder to encode (since it's just a function) and published as 1.1.0! 🎉


Per mcp client per store and aggregate all caches

based on #9482, and fixes comment: https://github.com/istio/istio/pull/9482#issuecomment-432507431
Aggregate all the mcp client caches, and remove duplicated config when List.

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

Needs approval from an approver in each of these files:

pilot/OWNERS

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

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-local-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-unit-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-unit-tests

prow/istio-presubmit.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-presubmit

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-unit-tests

prow/istio-presubmit.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-presubmit

prow/istio-integ-k8s-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-k8s-tests

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

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

Needs approval from an approver in each of these files:

pilot/OWNERS

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-unit-tests

prow/istio-presubmit.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-presubmit

prow/istio-integ-k8s-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-k8s-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-unit-tests

prow/istio-presubmit.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-presubmit

prow/istio-integ-k8s-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-k8s-tests

prow/istio-integ-local-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-local-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
e6d378549035936a2eaca1f1d4c335410be485b9
link
/test istio-presubmit

prow/istio-integ-k8s-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-k8s-tests

prow/istio-integ-local-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-unit-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-k8s-tests

prow/istio-integ-local-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-local-tests

prow/istio-unit-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-unit-tests

prow/istio-presubmit.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-presubmit

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

@hzxuzhonghu I think I messed up the commits when trying to rebase this to release-1.1 branch. Sorry

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-integ-k8s-tests

prow/istio-unit-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-unit-tests

prow/istio-presubmit.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-presubmit

prow/istio-integ-local-tests.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test istio-integ-local-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-unit-tests

prow/istio-presubmit.sh
10d853613a32b28e54ac8c03d9d7933a89eb64c2
link
/test istio-presubmit

prow/istio-integ-local-tests.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test istio-integ-k8s-tests

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

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth.sh
a4c7b87be13234540cacd05ae8da5484bd16e0c2
link
/test e2e-mixer-no_auth

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

/test e2e-mixer-no_auth


Running on Heroku

Any experience running this on Heroku? I'm getting the following, which doesn't happen on my local environment. It's almost like the working directory or path isn't set right. I'm new to Ruby so I'm having difficulty debugging.
2015-10-07T07:12:01.854202+00:00 heroku[slug-compiler]: Slug compilation started
2015-10-07T07:12:01.854211+00:00 heroku[slug-compiler]: Slug compilation finished
2015-10-07T07:12:02.179574+00:00 heroku[worker.1]: State changed from crashed to starting
2015-10-07T07:12:05.156281+00:00 heroku[worker.1]: Starting process with command ruby suphypebot.rb
2015-10-07T07:12:05.836093+00:00 heroku[worker.1]: State changed from starting to up
2015-10-07T07:12:07.067031+00:00 app[worker.1]: 	from suphypebot.rb:4:in <main>' 2015-10-07T07:12:07.067009+00:00 app[worker.1]: 	from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
2015-10-07T07:12:07.066962+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- chatterbot/dsl (LoadError)
2015-10-07T07:12:07.882005+00:00 heroku[worker.1]: State changed from up to crashed
2015-10-07T07:12:07.870906+00:00 heroku[worker.1]: Process exited with status 1
Also, I used the ClearDB addon for mysql, and Heroku's config vars to set the corresponding db_uri. Not sure if that's correct - can't test the DB connection until this is fixed

Oops, this particular error was because of an incorrect Procfile. Should say something like

worker: bundle exec ruby mybot.rb

However, the script is still trying to configure itself, presumably because it's not connecting to the DB. Any advice on the best way to deploy to heroku would be helpful. I'm thinking my options are:

Change the config loading logic to look for db_uri in the Heroku config vars
Commit my YML file to a public repo (...dangerous to say the least)

FYI, the beta version of the gem doesn't support MySQL at all. For 1.0, can you specify environment variables for a Heroku instance? I think you can. If so, you could run the bot with something like:
CHATTERBOT_DB="mysql://foo" bundle exec ruby mybot.rb

I'm contemplating ways to add SQL support back, but it was a drag to support and made the configuration inflexible.

Oh interesting. I just forked master here, and got it working fine off mysql locally: https://github.com/staringispolite/TwitterHypeMan
Starting to think forking master may have been the wrong way to go about things? :)
(And yes, Heroku lets you add key/value pairs to the environment) Ruby gets at them via ENV[key]

It depends on exactly what you need to do. If you're running your bot via the Streaming API, then you don't need to persist anything, and it should be fine running on Heroku. If you want to run it as a cron job, or if there's any data you need to store, then the master branch might not work too well for you.
I have a thought about how to handle the persistence problem, I'll see if I can get some code going in the next few days.

Cool! I ended up switching to the streaming API for the reasons you said just to get a working version up (great minds!)
@alexbaldwin and I added some config stuff for local vs heroku environments, so that I wouldn't have to push my Twitter key/secret/etc into my public git repo - happy to send a PR if you're interested.
I only wanted persistence so it wouldn't miss an @-mention. (Say, if I have downtime, or if Heroku sleeps the dyno). It seems like the streaming API would only send it @-mentions as they happen, so if it's down when a tweet happens, it'll never process that tweet. Not the biggest deal, but would be nice.


Descriptions don't fit in GUI

As said in the title, descriptions don't fit in the inventory GUI with GUI scale set to 2,3 and 4, making them unreadable.
Tested with: fabric-api-0.30.3+1.16 | spatialharvesters_fabric_1.16.x-0.11.6a
Here are the screenshots for all GUI scales from 1 to 4 and F3 screen for system information. Also, I am not sure if this matters, but my monitor is an old 4:3 ratio one, not 16:9/16:10.

I think someone had a similar issue a while back with the Forge version. The fix was to use a later version of Forge itself where they'd added wrapping to long tooltips. Here's a Fabric mod that does the same: Mod
I'll close this since it's essentially fixed by that. I'll also pin it since it's a pretty noticeable effect.


Error from server (Forbidden)

Getting this running the quickstart
$ kubectl --context=prod apply -f examples/quickstart/
namespace "heptio-sonobuoy" configured
serviceaccount "sonobuoy-serviceaccount" configured
clusterrolebinding "sonobuoy-serviceaccount" configured
configmap "sonobuoy-config-cm" configured
configmap "sonobuoy-plugins-cm" configured
pod "sonobuoy" configured
service "sonobuoy-master" configured
Error from server (Forbidden): error when creating "examples/quickstart/00-rbac.yaml": clusterroles.rbac.authorization.k8s.io "sonobuoy-serviceaccount" is forbidden: attempt to grant extra privileges: [{[*] [*] [*] [] []}] user=&{Kubernetes admin  [system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[]

@benmathews thank you for the feedback, I have a couple of questions:

Do you have RBAC enabled?
What version of kubernetes are running?

Server Version: version.Info{Major:"1", Minor:"6",
GitVersion:"v1.6.4+coreos.0",
GitCommit:"8996efde382d88f0baef1f015ae801488fcad8c4", GitTreeState:"clean",
BuildDate:"2017-05-19T21:11:20Z", GoVersion:"go1.7.5", Compiler:"gc",
Platform:"linux/amd64"}
I assume you mean the --authorization-mode=RBAC flag. I do not have RBAC
enabled.
On Fri, Jul 28, 2017 at 3:11 PM, Timothy St. Clair<EMAIL_ADDRESS>
wrote:

@benmathews https://github.com/benmathews thank you for the feedback, I
have a couple of questions:

Do you have RBAC enabled?
What version of kubernetes are running?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/heptio/sonobuoy/issues/6#issuecomment-318762994, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAbPrBM9wEd4f90EJdhi7Gs0W4-Vs4JSks5sSk6JgaJpZM4OnFWu
.

--
Ben Mathews

@benmathews You should be able to comment out from https://github.com/heptio/sonobuoy/blob/master/examples/quickstart/00-rbac.yaml#L30 to the end, and hopefully all should be ok.


Make "description" field in column edit page/step to be more prominent and convey it's intent/purpose

Maybe to make the text field bigger, to emphasize it more? And include a bit more text in the help dialog box as well as the intro paragraph at the top of the step section.

We decided to start the web app from scratch after the major design/architecture decisions and changes we made. No longer relevant.


Implemented custom title option

Added the possibility to add custom title while farming games. The user gets asked while setting up an account if he wants to set a custom game title while farming. SteamUser.EPersonaState.Online will be set if a customtitle is provided.

Thanks for the PR. I'm currently busy preparing for a real important exam next week, so I won't have time to check this PR until next weekend.

@frk1 done :)

Thanks :D


Support persist docs on Snowflake: Relations and columns

Child issue of https://github.com/fishtown-analytics/dbt/issues/1573
Notes:

We can render multiline comments using $$ string quoting

To do:

Support persisting docs for relations  (tables and views)
Support persisting docs for columns in tables and views

If the project specifies a column that does not exist in the destination table, the comment on column statement may fail. This is the desired behavior.
Challenges:

Snowflake does not support adding comments to views.... leave out support for view comments for the time being, but consider something like #1570 to allow us to generate DDL for the view with comments included at build-time.

closed by https://github.com/fishtown-analytics/dbt/pull/2321


Reference to uninitialized value in vulkano::device::Device::new

Version of vulkano: 0.20
OS: Arch Linux
GPU (the selected PhysicalDevice): Radeon RX 5500 XT
GPU Driver: AMDGPU, API version: 1.2.162
Demonstration code: https://gist.github.com/stephan-cr/87f104939f6f7fc92b56f29258a5a50d

Issue
While analyzing issue #1466, I found the following memory issue with valgrind (valgrind --track-origins=yes):
==22040== Conditional jump or move depends on uninitialised value(s)
==22040==    at 0x5632A64: ??? (in /usr/lib/amdvlk64.so)
==22040==    by 0x4EA7436: ??? (in /usr/lib/libvulkan.so.1.2.164)
==22040==    by 0x4EB169F: ??? (in /usr/lib/libvulkan.so.1.2.164)
==22040==    by 0x4EB22FC: ??? (in /usr/lib/libvulkan.so.1.2.164)
==22040==    by 0x4EB52A0: vkCreateDevice (in /usr/lib/libvulkan.so.1.2.164)
==22040==    by 0x145363: vk_sys::InstancePointers::CreateDevice (lib.rs:3647)
==22040==    by 0x119C06: vulkano::device::Device::new (mod.rs:306)
==22040==    by 0x121FD6: vl_bug::main (main.rs:61)
==22040==    by 0x14034A: core::ops::function::FnOnce::call_once (function.rs:227)
==22040==    by 0x1226BD: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:125)
==22040==    by 0x13EF70: std::rt::lang_start::{{closure}} (rt.rs:66)
==22040==    by 0x1AD496: call_once<(),Fn<()>> (function.rs:259)
==22040==    by 0x1AD496: do_call<&Fn<()>,i32> (panicking.rs:381)
==22040==    by 0x1AD496: try<i32,&Fn<()>> (panicking.rs:345)
==22040==    by 0x1AD496: catch_unwind<&Fn<()>,i32> (panic.rs:396)
==22040==    by 0x1AD496: std::rt::lang_start_internal (rt.rs:51)
==22040==  Uninitialised value was created by a stack allocation
==22040==    at 0x1177DA: vulkano::device::Device::new (mod.rs:182)

I'm interested to analyze the problem.

When pNext is set to ptr::null(), the uninitialised value issue disappears.

Was this ever fixed?


[Error 2] "build.py serve"

Hi,
I was trying to get some tests with your app.
I cloned the repository on my Windows7 machine, but so far I can't get the example working.
Opening the "./build.py serve" always returns an error (Error 2).
Could please  pass me some instruction to get started with this example?
For instance, which dependancies do I need, any configuration that is not included in the repository, etc.?
I already checked the dependancies (https://github.com/openlayers/ol3/blob/b26bea8e88364f7c402c9dafd87816b4e93f75e1/CONTRIBUTING.md) and there are all installed.
Thanks in advance.
Best regards

can confirm this with linux. both python2 and python3 complain about invalid syntax.
 me@comp ~/opt/ol3-dem/ol3 $ python2 --version
Python 2.7.10

 me@comp ~/opt/ol3-dem/ol3 $ python3 --version
Python 3.4.3

 me@comp ~/opt/ol3-dem/ol3 $ python2 ./build.py serve
2015-09-16 10:27:41,900 examples/example-list.js: python bin/exampleparser.py examples examples
  File "bin/exampleparser.py", line 26
    except ImportError, E:
                      ^
SyntaxError: invalid syntax
2015-09-16 10:27:41,944 examples/example-list.js: clean
2015-09-16 10:27:41,945 pake: examples/example-list.js: Command '['python', 'bin/exampleparser.py', 'examples', 'examples']' returned non-zero exit status 1

 me@comp ~/opt/ol3-dem/ol3 $ python2 ./build.py
2015-09-16 10:27:44,609 build/npm-install-timestamp: mkdir -p build
2015-09-16 10:27:44,609 build/npm-install-timestamp: npm install
Traceback (most recent call last):
  File "./build.py", line 811, in <module>
    main()
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 442, in main
    target.build(dry_run=options.dry_run)
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 109, in build
    timestamp = max(timestamp, target.build(dry_run=dry_run))
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 109, in build
    timestamp = max(timestamp, target.build(dry_run=dry_run))
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 109, in build
    timestamp = max(timestamp, target.build(dry_run=dry_run))
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 124, in build
    self.action(self)
  File "./build.py", line 187, in npm_install
    t.run('npm', 'install')
  File "/home/me/opt/ol3-dem/ol3/pake.py", line 233, in run
    subprocess.check_call(args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

 me@comp ~/opt/ol3-dem/ol3 $ python3 ./build.py serve
  File "./build.py", line 37
    print '{0}. {1}'.format(count, thing)
                   ^
SyntaxError: invalid syntax

 me@comp ~/opt/ol3-dem/ol3 $ python3 ./build.py
  File "./build.py", line 37
    print '{0}. {1}'.format(count, thing)
                   ^
SyntaxError: invalid syntax


mp4 video doesn't get recognize

I have this error when i want to upload a mp4 video... [Timer-1] ERROR io.github.redouane59.twitter.helpers.AbstractRequestHelper - (POST) Error calling https://upload.twitter.com/1.1/media/upload.json?media_category=tweet_video {"request":"/1.1/media/upload.json","error":"media type unrecognized."} - 400
Any advice?

Hey @Zakichanu ,
Can you please share your full code here. I'm not expert in media upload but I know that there are several steps to upload something. Thanks !

Yes of course, here it is : so I'm using curl to save a mp4 video locally and then i tweeted it :
// Linux commande that save my mp4 file from the internet
String commande = "curl " + replayPath + " --output "+fileName;
System.out.println(commande);
ProcessBuilder builder = new ProcessBuilder(commande.split(" "));
builder.directory(new File(getPathToDirOfBoardLive() + "/Replay/"));
builder.start();

// Post with video
 File replay = new File(getPathToDirOfBoardLive() + "/Replay/" + fileName);
 UploadMediaResponse vidReplay = twitterClient.uploadMedia(replay, MediaCategory.TWEET_VIDEO);
 Tweet statusWitVid = twitterClient.postTweet("Replay of it: ", entry.getValue(), vidReplay.getMediaId());

Ok the issue is related to https://github.com/redouane59/twittered/issues/183
The feature is a little bit hard to implement and I never took the time to do that because it's a V1 endpoint which will be soon replaced.
If you have some time you can submit a pull request to fix it. See here
Please note that to upload videos or GIFs (tweet_video, amplify_video, and tweet_gif), you need to use the chunked upload end-point.

Otherwise you'll have to wait for Twitter Team to make the V2 available.

Okay, I see, thank you it helps me a lot, and if i have time I will for sure put some work on this bug! Thx 😊

Thanks, as the problem is not solved, please let it opened :)


Update car endpoint to new site + include icelandic characters

An extension of a previous PR from @hilmarp (kristjanmik/apis#141)

Ok this is weird. The tests are passing on master and then failing on this branch for generating a server certificates when there is no change in this PR to server certs.
I'm stumped for why this is happening. If we don't figure this out I think we might need to merge this in as-is hoping that nothing is borken here and then fix the problems in master if they present themselves there.

I TAKE FULL RESPONSIBILITY


Register arbiters and market templates with HatcheryRegistry.sol

See: packages/smart/contracts/turbo/HatcheryRegistry.sol
Also need to emit an event when either of these are added to the registry (e.g. ArbiterRegistered/MarketTemplateRegistered).

@justinbarry does this still make sense with the hatchery updates coming? do we still need this?


Fine tuning of JEE servers

Hi,
I would like to point out, that some parts of the benchmark are not really accurate, since they use default app server configs.
So Wildfly & Payara are using by default only 5 threads to serve any servlet (in the example JAX-RS).
Increasing the thread number & ejb pool may greatly increase these app server's throughput.
(I think the same would apply to Spring boot benchmarks).
Conclusion: please make a benchmark with fine tuned app servers to show the real capabilities of the given tech stack.
Also: in the light-java to my understanding, it is using servlet technology as-is, while JAX-RS adds a much heavier layer on the servlets (like parsing the incoming requests to DTOs and vice-versa or handling http requests based on the headers).
Conclusion: it would be good to see a simple code on top of a JEE or Servlet container, that only uses core JEE servlets to be measurable.
Thanks

Thanks for pointing us to the right direction. All tests are using out-of-box default configurations. Stuart who is the author of Undertow expressed the same concern and thought the performance difference shouldn't be this big as there are several frameworks based on Undertow. Do you know how to change the threads on WildFly/Payara/Spring-Boot? I would be happy to rerun the tests with tuned configuration. Thanks.

I did a search and found out Spring-Boot/Tomcat default threads are 200 which is right on my I5 4 core aging CPU.

Hi,
I don't really work with spring boot. But for Glassfish, here it is:

start app server
Login to admin
Configurations->configuration-name->Thread Pools->thread-pool-name
Set it to like 10 and see the results changing

https://docs.oracle.com/cd/E18930_01/html/821-2431/abehk.html
Also, Adam Bien has a very good video about this (and talks about 2:30 from
http thread pools):
https://www.youtube.com/watch?v=Nyq4vcEB6oc
For wildfly 10 you can find the doc here:
https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration
I will try to help you a bit more on this, if I can.
Also:
If you need, I can prepare a servlet version to add to the benchmark list.
Thanks,
Csaba
2017-02-15 15:06 GMT+01:00 Steve Hu<EMAIL_ADDRESS>
I did a search and found out Spring-Boot/Tomcat default threads are 200
which is right on my I5 4 core aging CPU.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/networknt/microservices-framework-benchmark/issues/6#issuecomment-280019186,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE1IrafeqppiN--Hegt6bB4vphebjT7Bks5rcwZjgaJpZM4MBqNW
.

--
Üdvözlettel,
Sarkadi Csaba

Thanks a lot for your help. I have WildFly swarm in the benchmark and we can start there as it is a optimized version of wildfly designed for microservices. I've used JBoss WlidFly at work and it is too big and too heavy for microservices.
Several frameworks are based on servlet and they are all performed poorly. I am looking for some light weight servlet implementations like Resin etc. Which framework or platform for your servlet version?

Can you please explain what do you mean by too big and too heavy??? That is
an insane reason.
Too big? About 200MB installed, who cares? You only have to install it
once, than you upload only some kb wars...
Too heavy? What is too heavy? Just watch any video from Adam Bien, and you
will see, it isn't heavy, it is rather lighweight.
Light weight servlet implementation is Netty, as I remember, but I am not a
fan of servlet containers.
2017-02-15 20:20 GMT+01:00 Steve Hu<EMAIL_ADDRESS>
Thanks a lot for your help. I have WildFly swarm in the benchmark and we
can start there as it is a optimized version of wildfly designed for
microservices. I've used JBoss WlidFly at work and it is too big and too
heavy for microservices.
Several frameworks are based on servlet and they are all performed poorly.
I am looking for some light weight servlet implementations like Resin etc.
Which framework or platform for your servlet version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/networknt/microservices-framework-benchmark/issues/6#issuecomment-280110438,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE1IrbopVu0ZZE-fLdrgfn4IroX2rYOWks5rc0_kgaJpZM4MBqNW
.

--
Üdvözlettel,
Sarkadi Csaba

I am watching the video and it look like he is using Paraya as example. Is he only talking about several thousands TPS? 200MB is just the install image and the memory footprint is what I am looking at.

Memory is now the cheapest element of server hardware. Memory footprint?
That is not much for most JEE servers, but the best would be to see a
benchmark when you are loading the server with like 100 parallel threads.

febr. 15. du. 10:14 ezt írta ("Steve Hu" notifications@github.com):

I am watching the video and it look like he is using Paraya as example. Is
he only talking about several thousands TPS? 200MB is just the install
image and the memory footprint is what I am looking at.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/networknt/microservices-framework-benchmark/issues/6#issuecomment-280140838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE1Ireqy0PVMtineBaTMoAVsIOdK9FOJks5rc2rAgaJpZM4MBqNW
.

Could you please submit a pull request so that I can test it? Thanks.

Also single thread per request doesnt cut it in today's world of trying to build reactive systems. It would be better to see these benchmarks serialize and object to json as well.
Below is an example updated jax-rs endpoint/controller using async and dedicated thread pool, as well as @ApplicationScoped resource.
@ApplicationScoped
@Path("/cars")
@Produces(APPLICATION_JSON)
open class CarController {
  @Inject
  private lateinit var carService: CarService

  private val executor = Executors.newCachedThreadPool()

  @PreDestroy
  open fun preDestroy() {
    executor.awaitTermination(1, TimeUnit.SECONDS)
  }

  @GET
  open fun getCars(
    @QueryParam("make") make: String?,
    @QueryParam("limit") @DefaultValue("10") @Max(value = 10, message = "1001") limit: Int,
    @QueryParam("offset") @DefaultValue("0") offset: Int,
    @Suspended res: AsyncResponse
  ) {
    res.setTimeout(2, TimeUnit.SECONDS)
    res.setTimeoutHandler { it.resume(Response.status(Response.Status.REQUEST_TIMEOUT).build()) }

    CompletableFuture.supplyAsync(Supplier {
      carService.findCars(CarFilter(make, limit, offset)).thenAccept {
        res.resume(Response.ok(Cars(
          it.cars.map { Car(it.make.toString().toLowerCase(), it.model, it.color) },
          Paging(it.total, limit, offset)
        )).build())
      }
    }, executor)
  }
}

It's been a long time that I haven't touched JAX-RS. Is it possible that you help to update the test case so that I can retest? Thanks.


[backport] [FLINK-5508] [FLINK-5496] [FLINK-5495] Fix Mesos HA problems

This PR is a backport of #3155, #3156 and #3157 onto the release-1.2 branch.
da3358a fixes:
The ZooKeeperMesosWorkerStore instantiates a ZooKeeperStateHandleStore which requires an
Executor instance. This executor is now given to the ZooKeeperMesosWorkerStore.
e14fb2d fixes:
Only relocate Mesos Protobuf dependency in flink-mesos. This avoids problems with Mesos
because Flink pulls in Protobuf 2.5.0 via Flakka.
b34a95c fixes:
This commit adds utility classes to abstract the CuratorFramework dependency from ZooKeeper
utility classes away. That way it is possible for modules outside of flink-runtime to use
these utility classes without facing the problem of a relocated curator dependency.

This is an identical backport / forwardport of the other 3 Mesos fixes, correct?
If so, since #3155 and #3156 all have +1s, and #3157 is also a +1 once the minor code style comments are addressed, this is also a +1 from my side.

Thanks for the review @tzulitai. I will address your comments and then merge this PR.

Merged to the release-1.2 branch.


Example: Epsagon integration (hold off)

Update
Let's hold off on this example, as Epsagon is acquired, and not sure if the service will be maintained.

Ross mentioned
I know Epsagon have recently launched a frontend tracing option for React apps so you can tie a request all the way from UI through to the serverless backend which would be very cool, except we don't use React. I think Vue is in the works

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


How Hystrix calculate error percentage

From the dashboard error percentage tooltip, it shows: timeout + threadpool reject + failure

But in flow chart, it shows reject -> fallback won't calculate circuit health.

Misunderstood. plz ignore


Add version info to configuration actor

Closed in favor of https://github.com/oamg/leapp-repository/pull/254.


decode fluorescence sequences

I'm trying to decode the sequences in the fluorescence benchmark dataset, but  when I use the default tokenizer it returns nonsensical sequences.
I've included an example below.
Can you tell us how to decode the sequences?
import dotenv
import os
from pathlib import Path
import json

dotenv.load_dotenv()
data_path = Path(os.getenv("DATA_ROOT"))

task = "fluorescence"
fpath = data_path / f"tape/{task}/{task}_train.json"
with open(fpath,'r') as f:
    train = json.load(f)

from tape import TAPETokenizer
tokenizer = TAPETokenizer(vocab='iupac')

''.join(tokenizer.convert_ids_to_tokens(train[0]['primary']))

>>> 'RIFDDKESFUUOHKUDKCFCUMFGIERURFDFDFC<unk>SXFIKSKIEHBSSFIKOUOVOSKUSSKRXFUPBERQXOCGLIPGCEEIR<unk>LODFXUPDQSHEEICCFMXISQ<unk>DUIEDFCSKUMQHDKIFHCEIDCFMHKFGIKDXMXMRGMUXHL<unk>CIPIMFHIUMEIHQGIHDCFRUPK<unk>CGXPPMSOHFCFOUKKOCMGXKRSPR<unk>KRICOMDIQCGLUKKDEUS<unk><unk>FHSGFLCDQXI'

Our raw JSON data is still in our old tensorflow encoding it looks like. I will update this.

Just uploaded the new data and fixed the links, so this should be fixed.

Fixed by #41

Thanks a lot.
There still steems to be an issue with the test sets in json format. At least fluorescence and stability have some unrecognized characters at the start which makes loading them an issue.
Code to replicate:
data_path="."

curl http://s3.amazonaws.com/proteindata/data_raw_pytorch/fluorescence.tar.gz -o "$data_path/fluorescence.tar.gz"
tar -xf "$data_path/fluorescence.tar.gz" --directory "$data_path/"

zless fluorescence_test.json


Correction for raw affiliation CIRAD, Virtual Plants INRIA Team; INRA, Architecture and Functions of Fruit Trees Team; UMR AGAP, INRA-SUPAGRO-CIRAD, CIRAD, Avenue Agropolis, TA-A108/03 34398 Montpellier Cedex 5, France

Correction needed for raw affiliation CIRAD, Virtual Plants INRIA Team; INRA, Architecture and Functions of Fruit Trees Team; UMR AGAP, INRA-SUPAGRO-CIRAD, CIRAD, Avenue Agropolis, TA-A108/03 34398 Montpellier Cedex 5, France
raw_affiliation_name: CIRAD, Virtual Plants INRIA Team; INRA, Architecture and Functions of Fruit Trees Team; UMR AGAP, INRA-SUPAGRO-CIRAD, CIRAD, Avenue Agropolis, TA-A108/03 34398 Montpellier Cedex 5, France
new_rors: 02kvxyf05;00txxwv34;05kpkpg04;02w4exq36
previous_rors: 02kvxyf05;00txxwv34;05kpkpg04
works_examples: W2119589580
contact: 7dd404cdee1a6e110ac781a510c78c32:07450475354604d2e7e523c1413753b43bf1 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Revert Swift 6

Remove the added Swift 6 support to reduce the risk of regressions in 8.11
This reverts relevant changes introduced in:

#30712
#30849
#30832

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test RfR

I've triggered the following builds:

Ready for Release (Trigger) (Check)

Build Scan

Only failure seems to be performance related, let's try to merge anyway


test manifests use images that are not publicly available

I am trying to run some of the integration tests, but deploying the CassandraDatacenter objects fail. The manifests under ./tests/testdata have the following in their specs:
serverImage: datastaxlabs/dse-k8s-server:6.8.0-20200316
configBuilderImage: datastaxlabs/dse-k8s-config-builder:0.9.0-20200316

Here is what kubectl describe reported:
$ kubectl describe pod cluster1-dc1-r1-sts-0
....
Events:
  Type     Reason                  Age                   From                                              Message
  ----     ------                  ----                  ----                                              -------
  Warning  FailedScheduling        2m9s (x6 over 9m38s)  default-scheduler                                 pod has unbound immediate PersistentVolumeClaims (repeated 3 times)
  Normal   Scheduled               116s                  default-scheduler                                 Successfully assigned test-config-change-rollout/cluster1-dc1-r1-sts-0 to gke-cass-dev-default-pool-f156b186-rzct
  Normal   SuccessfulAttachVolume  111s                  attachdetach-controller                           AttachVolume.Attach succeeded for volume "pvc-2505828f-c696-4304-83a5-9459aa3bf432"
  Normal   Pulling                 22s (x4 over 106s)    kubelet, gke-cass-dev-default-pool-f156b186-rzct  Pulling image "datastaxlabs/dse-k8s-config-builder:0.9.0-20200316"
  Warning  Failed                  21s (x4 over 106s)    kubelet, gke-cass-dev-default-pool-f156b186-rzct  Failed to pull image "datastaxlabs/dse-k8s-config-builder:0.9.0-20200316": rpc error: code = Unknown desc = Error response from daemon: pull access denied for datastaxlabs/dse-k8s-config-builder, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  Warning  Failed                  21s (x4 over 106s)    kubelet, gke-cass-dev-default-pool-f156b186-rzct  Error: ErrImagePull
  Normal   BackOff                 11s (x5 over 105s)    kubelet, gke-cass-dev-default-pool-f156b186-rzct  Back-off pulling image "datastaxlabs/dse-k8s-config-builder:0.9.0-20200316"
  Warning  Failed                  11s (x5 over 105s)    kubelet, gke-cass-dev-default-pool-f156b186-rzct  Error: ImagePullBackOff

This was fixed in #22 and #29


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 58ffeea.


unicorn(-emu): 1.0.2-rc4 -> 1.0.2

Motivation for this change
Updated unicorn and simplified the file.
Since the unicorn attribute name is free for some time now, I used it
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@thoughtpolice could you take a look?

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

7 packages failed to build:

pwndbg
pwntools (python38Packages.pwntools)
python27Packages.pwntools
python27Packages.unicorn
python37Packages.pwntools
python37Packages.unicorn
python38Packages.unicorn

1 package built:

unicorn (unicorn-emu)

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

7 packages failed to build:

pwndbg
pwntools (python38Packages.pwntools)
python27Packages.pwntools
python27Packages.unicorn
python37Packages.pwntools
python37Packages.unicorn
python38Packages.unicorn

1 package built:

unicorn (unicorn-emu)

IDK why license was bsd3, it is clearly stated on the website that it is licensed under gpl2

Now everything should work @SuperSandro2000

now ofborg-eval-package-list-no-aliases should be happy

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

3 packages failed to build:

pwntools (python38Packages.pwntools)
python27Packages.pwntools
python37Packages.pwntools

4 packages built:

python27Packages.unicorn
python37Packages.unicorn
python38Packages.unicorn
unicorn

pwntools appears already broken on darwin in master. Same result for me on macos 10.14.
On linux x86_64, all rebuilds are happy.

I guess it can be merged in this state since it doesn't break what wasn't broken before.
Someone who can test on darwin could try to fix pwntools in another PR.


Clear selected project

[ ] Allow the user to clear the selected project so that none is selected (using 'x' in the upper right?)
[ ] Automatically clear the selected project if the user selects a new filter and the selected project is no longer part of the filtered project list.

Note that currently, in the project preview partial the initial view has text to the effect of 'No project selected.' However, when the first project is selected (by clicking on it on the map), that text is overwritten with a project preview with no way to get it back. We will want to have the code that adds the project preview add the 'no project' text.

Also make sure that URL encoding behaves properly and removes the selected project from the url

Note from meeting: leave message about what the last building selected was


Automate authentication in build system (don't use PATs)

To tighten the security during development, we are no longer allowed to use personal access tokens that last longer than 7 days. We should seek a more automated solution for authentication in build system so we don't have to manually refresh the credentials every week. Make sure the new solution doesn't introduce new security vulnerabilities, such as opening the door for us to forget about the automated process and leaving live credentials unattended.

Read this and see if it is helpful: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-security-configuration/configuration-guides/pat-rotation-tool#i-pat-rotation-package


(BOLT-928) Add daily purge process to bolt-server's file cache

Add a purge process - run on startup and every day after - to remove
tasks from the file cache that haven't been used in over a week.

CLA signed by all contributors.


Blog app controllers spec.

In this milestone, I accomplished the following tasks:
Integrated RSpec into your project as a gem.
Generated a Request spec file encompassing all controllers.
Verified the correctness of each action by ensuring:
The response status was accurate.
The appropriate template was rendered.
The response body incorporated the correct placeholder text.
Updated the project's Readme documentation.
Resolved issues identified by the linter.

Hello @firstpj and @rloterh, this is just a personal comment because I got the email notification of invalidating the project. There is a github glitch issue at the moment as I have experienced also in other reviews. What solved it is making the feature branch the default branch and you will be good to go. @rloterh you will notice all the readme content is actually there when you click on the readme file as you can see in the image below.


version solving failed in examples/audio_recorder

When I run in  examples/audio_recorder I got this error
Because every version of coast_audio_fft from path depends on coast_audio from path and every version of flutter_coast_audio_miniaudio from path depends on coast_audio from hosted, coast_audio_fft from
  path is incompatible with flutter_coast_audio_miniaudio from path.
So, because audio_recorder depends on both flutter_coast_audio_miniaudio from path and coast_audio_fft from path, version solving failed.

Oops, I've pushed fixes into main branch.
Can you test it?

emmm, I just open a pull request for it.

Let me try.

It works now, thanks.


Support file:// URIs

It seems the plugin only supports cdvfile:// URIs. My typical flow is to download a file through the Cordova File Transfer plugin, then use that resulting FileEntry object to get the full path of the file. However, it returns something like:
file:///var/mobile/my/file/path/document.pdf
I have to hack up a cdvfile:// URL to pass in to the plugin.

Can you please elaborate on how you "hacked" up a cdvfile:// url to pass to the plugin? I have a file stored in an expansion file that I can't seem to get to work. Any clarification would be most helpful.
Thank you,

            HttpService.downloadFile($scope.document.pdf_url, filename).then(function (filepath) {
              window.plugins.PrintPDF.print({
                data: "cdvfile://localhost/documents/" + filename,
                type: 'File',
                title: 'Print Document',
                success: function () {

                },
                error: function (data) {
                  data = JSON.parse(data);
                  console.log('failed: ' + data.error);
                }
              });
            });

Here's my download code:
downloadFile: function (url, filename) {
      var deferred = $q.defer();
      var fileTransfer = new FileTransfer();
      var uri = encodeURI(url);

      fileTransfer.download(
        uri,
        cordova.file.documentsDirectory + filename,
        function (entry) {
          deferred.resolve(entry);
        },
        function (error) {
          deferred.reject(error);
        });
      return deferred.promise;
    }

Let me know if that helps!

Are you downloading from a remote server then? I am trying to understand how this would actually look for my example:
downloadFile($scope.document.pdf_url, filename)
what is $scope? and do I use document.'http...etc URL", filename)?
Or can I somehow reference a pdf file that I have stored in my expansion file? so it would be document.'content:///...etc", filename'
Thank you for your help

Related to this: some documentation on just want to set as the path in order to get access to the www/ files would be much appreciated. I've spent about 4 hours so far trying to get this plugin to say anything other than "File does not exist" (when it does).


enableRecreateWorkloadOnImmutableFieldChange recreates Fluentd StatefulSet in loop

Describe the bug:
When enableRecreateWorkloadOnImmutableFieldChange is set to true and Fluentd StatefulSet needs to be replaced for a immutable value to be changed, logging-operator creates/deletes it in loop.
Expected behaviour:
The StatefulSet should be re-created a single time.
Steps to reproduce the bug:

Create a Logging resource with enableRecreateWorkloadOnImmutableFieldChange: true and a PVC for bufferStorageVolume
Update the FluentdSpec (outside of  'replicas', 'template', and 'updateStrategy' fields) by patching spec.fluentd.scaling.podManagementPolicy for eg.
The STS gets recreated in loop.

Additional context:
The error was introduced with https://github.com/banzaicloud/logging-operator/pull/941, which was trying to fix #918.
Environment details:

Kubernetes version (e.g. v1.15.2): v1.20.9
Cloud-provider/provisioner (e.g. AKS, GKE, EKS, PKE etc): RKE
logging-operator version (e.g. 2.1.1): 3.17.3
Install method (e.g. helm or static manifests): helm
Logs from the misbehaving component (and any other relevant logs):

logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546071.3578238,"logger":"controllers.Logging","msg":"resource created","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"error","ts":1648546071.7444766,"logger":"controllers.Logging","msg":"failed to update resource, trying to recreate","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet","error":"StatefulSet.apps \"logging-operator-logging-fluentd\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden","stacktrace":"github.com/banzaicloud/logging-operator/pkg/resources/fluentd.(*Reconciler).Reconcile\n\t/workspace/pkg/resources/fluentd/fluentd.go:227\ngithub.com/banzaicloud/logging-operator/controllers/logging.(*LoggingReconciler).Reconcile\n\t/workspace/controllers/logging/logging_controller.go:129\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:227"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546071.8054228,"logger":"controllers.Logging","msg":"object  is being deleted, backing off","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546071.8150368,"logger":"controllers.Logging","msg":"object  is being deleted, backing off","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546071.8961785,"logger":"controllers.Logging","msg":"object  is being deleted, backing off","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546071.9427216,"logger":"controllers.Logging","msg":"object  is being deleted, backing off","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}
logging-operator-7f86df6c9d-m9dnt logging-operator {"level":"info","ts":1648546072.752829,"logger":"controllers.Logging","msg":"object  is being deleted, backing off","name":"logging-operator-logging-fluentd","namespace":"logging","apiVersion":"apps/v1","kind":"StatefulSet"}

/kind bug

@aslafy-z could you please send more details (log, etc), because we can't reproduce/confirm the problem. Thanks.

@ahma I just updated the description.


Fix form nested one help style

Model:
  has_one :country
  accepts_nested_attributes_for :country, allow_destroy: true, reject_if: :all_blank

Before:

After:

(as per: https://github.com/sferik/rails_admin/blob/master/app/views/rails_admin/main/_form_nested_many.html.haml#L1)

Thanks!


DGCNN implementation

This implements the DGCNN supervised graph classification algorithm from [1].
One difference between this implementation and [1] is the adjacency normalisation method used. See #1207.
This pull request depends on #1210.

An End-to-End Deep Learning Architecture for Graph Classification, M. Zhang et al, AAAI, 2018, https://www.cse.wustl.edu/~muhan/papers/AAAI_2018_DGCNN.pdf

@huonw
(Looks like the GraphSAGE reproducibility test has failed for the latest build and I cannot re-run it without pushing new code. Maybe you can re-run the tests?)
I have updated the current implementation to use the updated SortPooling layer. I had to modify the SortPooling layer to allow to flatten the output tensor as described in the paper and required as input to the Keras CNN layers. The model now also uses the correct adjacency matrix normalisation (multiply D^-1xA instead of the GCN-like D^-1/2xAxD^-1/2) and also adds self loops (uses A+I instead of A).
I think the reference implementation is now very close to what is proposed in the paper.
While I am working on a demo using the larger PROTEINS datasets, you can use our existing graph classification demo with MUTAG to verify that we can reproduce the reported results. See below for the code you need to change in that demo notebook to run the experiments.
The accuracy on MUTAG using 10-fold cross validation is reported in the paper (Table 1) as ~85.83% plus/minus 1.66. Using the below code, I get 84.3% and std: 4.9%. So the mean is about the same but the standard deviation is a bit higher. I had a look at the 10 accuracies (one for each fold) and they are [0.93859655, 0.84210527, 0.84210527, 0.8070175, 0.8684211, 0.81578946, 0.8684211, 0.8333333, 0.8703703, 0.7407407]. If we exclude the first and last that look like outliers, then performance is 84.3% and std: 2.3%, much close to the reported values in the paper. I don't know why we get these extreme results. I hope working with the larger PROTEINS dataset, we are going to get a result with lower variance and still similar to that reported in the paper.
You can verify the above result using our graph classification demo notebook. You need to replace the method create_graph_classification_model with the following (everything else should be the same),
def create_graph_classification_model(generator, k=20):

    dgcnn_model = DeepGraphConvolutionalNeuralNetwork(
        layer_sizes=[32, 32, 32, 1],
        activations=["tanh", "tanh", "tanh", "tanh"],
        k=k,
        generator=generator,
        kernel_regularizer="l2",
        bias_regularizer="l2"
    )
    #
    x_inp, x_out = dgcnn_model.in_out_tensors()

    # Add 1D CNN layer
    predictions = Conv1D(filters=16, kernel_size=97, strides=97)(x_out)
    predictions = MaxPool1D(pool_size=2)(predictions)

    predictions = Conv1D(filters=32, kernel_size=5, strides=1)(predictions)

    predictions = Dense(units=128, activation="relu")(predictions)
    predictions = Dropout(rate=0.5)(predictions)
    predictions = Dense(units=1, activation="sigmoid")(predictions)

    k_model = Model(inputs=x_inp, outputs=predictions)

    k_model.compile(
        optimizer=Adam(lr=0.001),
        loss=binary_crossentropy,
        metrics=["acc"],
    )

    return k_model

(Looks like the GraphSAGE reproducibility test has failed for the latest build and I cannot re-run it without pushing new code. Maybe you can re-run the tests?)

Done.


DOCS: Note fields must be listed in the command in the same order as they are entered in the survey

In order for the blocking functionality to work, the fields must be listed in the shuffle command in the same order they are found on the survey page. For example, if the survey page list the fields A, B, C, the following command will work
@SHUFFLE-FIELDS-SURVEY="(A, B), C"
However, this command will fail by not respecting the blocking of A and B:
@SHUFFLE-FIELDS-SURVEY="(B, A), C"

@jpeacock29 - Thanks for bringing this up. I guess the use case of changing the field order of isolated groups did not come up as a use case originally. I have changed the way the mapping is calculated to support this (well, actually this was a bug, I guess).
I have submitted a new version 1.1.1 to the EM Repository.

Wow, thank you so much for the quick fix! Yes, we ran in to this accidentally as we were just listing the fields we wanted, without thinking about the order in which we originally listed them, and then couldn't figure out why it didn't work for a while.
I really appreciate your supporting this package; it's so valuable!


Nothing found

I have 4 functional accounts, I've just installed monocle on windows10. It looks fine, but nothing is found so far, I tried to run the scan using --bootstrap but still nothing.
Here are the logs from scan.log, and the console
--Log:
[2017-02-25 01:00:12][    INFO][root] -------------------------------------
[2017-02-25 01:00:12][    INFO][root] Starting up!
[2017-02-25 01:00:14][    INFO][overseer] Overseer initialized
[2017-02-25 01:00:14][    INFO][pogo_async.pgoapi] pogo_async v1.1
[2017-02-25 01:00:14][   DEBUG][pogo_async.pgoapi] Set Position - Lat: 35.77549725 Long: -5.7909575 Alt: None
[2017-02-25 01:00:14][    INFO][pogo_async.pgoapi] pogo_async v1.1
[2017-02-25 01:00:14][   DEBUG][pogo_async.pgoapi] Set Position - Lat: 35.77549725 Long: -5.7981945 Alt: None
[2017-02-25 01:00:14][    INFO][pogo_async.pgoapi] pogo_async v1.1
[2017-02-25 01:00:14][   DEBUG][pogo_async.pgoapi] Set Position - Lat: 35.77372375 Long: -5.7909575 Alt: None
[2017-02-25 01:00:14][    INFO][pogo_async.pgoapi] pogo_async v1.1
[2017-02-25 01:00:14][   DEBUG][pogo_async.pgoapi] Set Position - Lat: 35.77372375 Long: -5.7981945 Alt: None
--Console:
Monocle running for 0:02:10.414272
Known spawns: 0, unknown: 0, more: 0
4 workers, 22 threads, 2 coroutines
DB queue: 0, sightings cache: 0, mystery cache: 0
Seen per worker: min 0, max 0, med 0
Visits per worker: min 0, max 0, med 0
Visit delay: min 0.0, max 0.0, med 0.0
Speed: min 0.0, max 0.0, med 0.0
Extra accounts: 0, CAPTCHAs needed: 0
Pokemon found count (10s interval):
0 0 0 0 0 0 0 0 0 0
Visits: 0, per second: 0.00
Skipped: 0, unnecessary: 0
Workers without sightings so far:
0, 1, 2, 3
I I
I I

Thanks,

There was two problems, the accounts that I was using are banned, and I had to enable mapsAPI elevation feature.
Thanks


Update React & Remove deprecated prop-types

Intro
Hi there! I am not 100% on the approach but I guess it is a good start? Since having prop-types is now a requirement, I've set the react peerDependency to be above 15.5.0. I think that we might have to remove support for v14 because of the prop-types upcoming breaking change (or I am just confused about it?). More info about the prop-types change can be found on the react blog.
At the same time, I replaced the deprecated react-addons-test-utils dependency with react-dom/test-utils and all tests seem to pass(at least locally!).
Let me know your thoughts 😄
Fixes #366.
Changes proposed:

Update react to v15.5.0
Replace React.PropTypes with PropTypes from the package prop-types
Remove deprecated react-addons-test-utils- Use react-dom/test-utils

Upgrade Path (for changed or removed APIs): ✖
Acceptance Checklist:

[ ] All commits have been squashed to one.
[ ] The commit message follows the guidelines in CONTRIBUTING.md.
[ ] Documentation (README.md) and examples have been updated as needed.
[ ] If this is a code change, a spec testing the functionality has been added.
[ ] If the commit message has [changed] or [removed], there is an upgrade path above.

@claydiffrient I've opened #374 which is on top of v1 branch so I'm closing this one.


Can you give me C++ script to start program automatically after running first time ?

You have to use task scheduling API on Windows or editing the crontab on Unix systems. Altering the register on Windows would trigger the Antivirus. When setting the new entry, it would be advisable to flag it as a service.
Task Scheduler (win)

Hi @Williiam786 , you just need to call this function richkware.systemStorage.Persistence(); in your main, and the framework will install the malware on the target system.
#include "src/richkware.h"

int main() {
    Richkware richkware("Richk","richktest");

    richkware.systemStorage.Persistence();

    // PUT YOUR CODE HERE

    return 0;

}

Hi @grcasanova, i remind you that Richkware only works on Windows. What you said about antiviruses is correct, but it depends on the case, I did a few tests with the most common antiviruses on the internet, but they didn't detect anything.

Hey @richkmeli, if I have time I will try to port it to Unix systems, but I'm pretty sure registry hacking is a red flag during heuristic analysis. I will carry out some tests too using nodistribute.com (VirusTotal sends samples to AV companies, but they probably also look on here).

ok @grcasanova, let me know about the results.
if you need some more information, contact me on Telegram (@Richk)

ok @grcasanova, let me know about the results.
If you need some more information, contact me on Telegram (Richk)

ok @grcasanova, let me know about the results.
If you need more information, contact me on Telegram (Richk)


Navigating to a particular chat crashes the app

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.97-0
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @marcaaron
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1699484522735079
Action Performed:

Open ND app
Navigate to the chat from another chat

Expected Result:
App is not crashing
Actual Result:
App crashes
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

I can't reproduce this. @marcaaron are you still seeing this issue? If yes, can you tell if it's related to specific chats or old/new chats?

It's not happening anymore so I think we can close it.


Point blank node it not taken into consideration

I'M doing a Chin Sol Shrapnel Trapper and the point blank node isnt not calculated into the dps.
When I equip the Chin Sol , I see the close range option in the configuration but selecting/unselecting point blank does not affect my dps at all.

For Point Blank you have to set the "Projectile Travel Distance" in the configuration.
Point blank deals maximum damage at distance 10 or lower.
Chin Sol close range is 20 or lower.
and I think there are situations where the enemy is at close range but the projectile have travelled much further, like when using skills like tornado shot or with things like chaining/returning projectiles for example.

Oh ok , I see I thought that close I selected close range I would include it in the dps, but youa re right setting distance to <10 worked.


Add new ActionMenu component

Summary
Adds first-pass for an accessible ActionMenu component.
Try it out:
🔗 Storybook
🔗 Documentation
What should reviewers focus on?

Design accuracy
React implementation

Steps to test:

Review Storybook examples
Use keyboard navigation
Review code

Supporting resources (related issues, external links, etc):

Figma specifications
API exploration

Contributor checklist:

[ ] All new and existing CI checks pass
[ ] Tests prove that the feature works and covers both happy and unhappy paths
[ ] Any drop in coverage, breaking changes or regressions have been documented above
[ ] New visual snapshots have been generated / updated for any UI changes
[ ] All developer debugging and non-functional logging has been removed
[ ] Related issues have been referenced in the PR description

Reviewer checklist:

[ ] Check that pull request and proposed changes adhere to our contribution guidelines and code of conduct
[ ] Check that tests prove the feature works and covers both happy and unhappy paths
[ ] Check that there aren't other open Pull Requests for the same update/change

Screenshots:

Note
This ActionMenu supports single  and menu-like selection only at this time. Support for multiple selection will be added at a future date.

WAI-ARIA compliant markup and keyboard navigation, verified through E2E tests:
https://user-images.githubusercontent.com/13340707/224698900-4a634d11-7a28-4a46-b4fc-dff406cf56ec.mov

From a design standpoint, there two minor things to fix:

The height of the trigger should be 48px. It's currently 49px in its default state and 54px when active. It should match the secondary default Button.
An extra 24px of padding is missing at the right of the items to balance the single selection checkmark visually.

When testing accessibility and keyboard navigation I found the following problems:

As per the a11y design review:

We should probably not enable the spacebar for making selections, as it might increase the chance of accidental activation.
The trigger doesn't need `aria-expanded="true" when not activated.
I believe we're missing an accessible name for the ul that does not contain the selected value.

Keyboard navigation isn't working for me on the documentation site (Chrome, Safari), and several storybook examples, such as the "In Stack" one. I can focus the trigger but pressing enter or space doesn't activate the menu. If I activated those using a mouse click, I cannot navigate with the keyboard either.

We might need to introduce an option to align the menu to the trigger's start, center, and end. So we can have right-aligned control as in the galaxy website.
Finally, when the viewport is shorter than the menu, the overlay gets positioned to the side of the trigger. Do you think this is intentional? In some situations, the content overflows the viewport.

@danielguillan - thanks for the feedback ✨ .. left some notes for you below.

An extra 24px of padding is missing at the right of the items to balance the single selection checkmark visually.

✅ Added

We should probably not enable the spacebar for making selections, as it might increase the chance of accidental activation.

✅ Now only enter selection is valid

The trigger doesn't need `aria-expanded="true" when not activated.

Not changed, following our discussion on Slack to keep functionality as-is, which is still valid.

I believe we're missing an accessible name for the ul that does not contain the selected value.

aria-label is now required for ActionMenu.Button. This value is then propagated down to the menu to aria-labelledby.

Keyboard navigation isn't working for me on the documentation site (Chrome, Safari), and several storybook examples, such as the "In Stack" one. I can focus the trigger but pressing enter or space doesn't activate the menu. If I activated those using a mouse click, I cannot navigate with the keyboard either.

✅ Fixed, there was a ref issue that's been resolved.

We might need to introduce an option to align the menu to the trigger's start, center, and end. So we can have right-aligned control as in the galaxy website.

✅ New prop added called menuAlignment. Available options are start and end. No center, because it's not supported in Primer behaviors. Also think we're unlikely to use that much.

Finally, when the viewport is shorter than the menu, the overlay gets positioned to the side of the trigger. Do you think this is intentional? In some situations, the content overflows the viewport.

✅ Locked out of bounds, which is the most practical option and consistent with other ActionMenu implementations.

The height of the trigger should be 48px. It's currently 49px in its default state and 54px when active. It should match the secondary default Button.

I'm seeing this as 48px in both Chrome and Safari. Are you able to point me at where this is happening and how I can reproduce this please? Safari 👇

Is there a plan for ActionMenu's to live next to one another? If so I would imagine there would be a lot of jumping on the page. If this is the plan is there possibly some animation or action menu list refresh idea so make the change less jaring?

Is there a plan for ActionMenu's to live next to one another? If so I would imagine there would be a lot of jumping on the page. If this is the plan is there possibly some animation or action menu list refresh idea so make the change less jaring?

Yep! @JoshBowdenConcepts you can see an example of ActionMenu is horizontal stack configuration in Storybook.
You can also see production usage in Galaxy today.

I'm seeing this as 48px in both Chrome and Safari. Are you able to point me at where this is happening and how I can reproduce this please?

@rezrah this is what I was seeing yesterday, but I can't reproduce it anymore. So either it's been fixed somehow or it was a temporary bug om my browser. 🤷


Simulator Broken Under Cygwin?

It appears that the simulator is broken under Cygwin.  It is dying before I even get to main so it is not the usual stack size problem.  It crashes in cygwin.dll.  Does anyone have any insight into this?
I will mark this as a blocker but that might be a false alarm.

@davids5 Okay... I finally verified ASCII mode using examples/ipcfg.  Good to merge from my point of view.

Greg did you see my comment in the CI PR about this?

You are referring to your comment which I replicate here:
I ran the Cygwin build locally and when I try to run the executable it crashes.  Strace shows this, any idea what is going on?  (nettest and nsh had the same result)
--- Process 1892 created
--- Process 1892 loaded C:\Windows\System32\ntdll.dll at 00007ffbca2c0000
--- Process 1892 loaded C:\Windows\System32\kernel32.dll at 00007ffbca070000
--- Process 1892 loaded C:\Windows\System32\KernelBase.dll at 00007ffbc75e0000
--- Process 1892 thread 5812 created
--- Process 1892 loaded C:\Windows\System32\ws2_32.dll at 00007ffbc9ad0000
--- Process 1892 loaded C:\Windows\System32\rpcrt4.dll at 00007ffbc8370000
--- Process 1892 loaded C:\Windows\System32\IPHLPAPI.DLL at 00007ffbc6680000
--- Process 1892 thread 4800 created
--- Process 1892 thread 9592 created
--- Process 1892 loaded C:\tools\cygwin\bin\cygwin1.dll at<PHONE_NUMBER>040000
--- Process 1892 loaded C:\tools\cygwin\bin\cygz.dll at 00000003fbf80000
    5       5 [main] nuttx (1892) **********************************************
  369     374 [main] nuttx (1892) Program name: C:\tools\cygwin\home\btashton\sources\nuttx\nuttx.exe (windows pid 1892)
  241     615 [main] nuttx (1892) OS version:   Windows NT-10.0
  277     892 [main] nuttx (1892) **********************************************
--- Process 1892 loaded C:\Windows\System32\advapi32.dll at 00007ffbc90e0000
--- Process 1892 loaded C:\Windows\System32\msvcrt.dll at 00007ffbc99d0000
--- Process 1892 loaded C:\Windows\System32\sechost.dll at 00007ffbc9f30000
--- Process 1892 loaded C:\Windows\System32\cryptbase.dll at 00007ffbc6ba0000
--- Process 1892 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffbc73c0000
27939   28831 [main] nuttx (1892) sigprocmask: 0 = sigprocmask (0, 0x0, 0x180320DD0)
 1040   29871 [main] nuttx (1892) open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x10C, *m 6
  243   30114 [main] nuttx (1892) user_heap_info::init: heap base 0x800000000, heap top 0x800000000, heap size 0x20000000 (536870912)
  251   30365 [main] nuttx (1892) open_shared: name S-1-5-21-809113384-3503045568-2100469263-1000.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x108, *m 6
  238   30603 [main] nuttx (1892) user_info::create: opening user shared for 'S-1-5-21-809113384-3503045568-2100469263-1000' at 0x180020000
  250   30853 [main] nuttx (1892) user_info::create: user shared version AB1FCCE8
  280   31133 [main] nuttx (1892) fhandler_pipe::create: name \\.\pipe\cygwin-c3851c815b7231fc-1892-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
  315   31448 [main] nuttx (1892) fhandler_pipe::create: pipe read handle 0x120
  277   31725 [main] nuttx (1892) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-c3851c815b7231fc-1892-sigwait
 1715   33440 [main] nuttx (1892) fhandler_pipe::create: pipe write handle 0x124
 1706   35146 [main] nuttx (1892) dll_crt0_0: finished dll_crt0_0 initialization
--- Process 1892 thread 9836 created
 6195   41341 [main] nuttx (1892) set_signal_mask: setmask 0, newmask FFFFFFFFFFFEFEFF, mask_bits 0
 1370   42711 [main] nuttx (1892) pthread_sigmask: 0 = pthread_sigmask(0, 0xFFFFCA30, 0xFFFFCA38)
 1850   44561 [main] nuttx (1892) set_signal_mask: setmask FFFFFFFFFFFEFEFF, newmask 0, mask_bits FFFFFFFFFFFEFEFF
 1851   46412 [sig] nuttx (1892) wait_sig: entering ReadFile loop, my_readsig 0x120, my_sendsig 0x124
 2396   48808 [main] nuttx (1892) pthread_sigmask: 0 = pthread_sigmask(0, 0xFFFFCA28, 0x0)
 6271   55079 [main] nuttx (1892) set_signal_mask: setmask 0, newmask FFFFFFFFFFFEFEFF, mask_bits 0
 4638   59717 [main] nuttx (1892) pthread_sigmask: 0 = pthread_sigmask(0, 0xFFFFC9C0, 0xFFFFC9C8)
 3305   63022 [main] nuttx (1892) set_signal_mask: setmask FFFFFFFFFFFEFEFF, newmask 0, mask_bits FFFFFFFFFFFEFEFF
 3421   66443 [main] nuttx (1892) pthread_sigmask: 0 = pthread_sigmask(0, 0xFFFFC9B8, 0x0)
  70955 [main] nuttx (1892) C:\tools\cygwin\home\btashton\sources\nuttx\nuttx.exe: *** fatal error - Internal error: Out of memory for new path buf.
 4512   70955 [main] nuttx (1892) C:\tools\cygwin\home\btashton\sources\nuttx\nuttx.exe: *** fatal error - Internal error: Out of memory for new path buf.
  75682 [main] nuttx (1892) cygwin_exception::open_stackdumpfile: Dumping stack trace to nuttx.exe.stackdump
 4727   75682 [main] nuttx (1892) cygwin_exception::open_stackdumpfile: Dumping stack trace to nuttx.exe.stackdump
70579  146261 [main] nuttx (1892) proc_terminate: nprocs 0
  470  146731 [main] nuttx (1892) proc_terminate: leaving
2490  152125 [main] nuttx (1892) pinfo::exit: Calling ExitProcess n 0x1, exitcode 0x100

Yes that is exactly the same problem.  At least same "fatal error - Internal error: Out of memory for new path buf" and subsequent stack dump.  If you put a breakpoint on main, it is never hit.  Adding --gdb to CFLAGS.  Addresses in stackdump are all in cygwin.dll.
So this is a real, showstopping problem!  It makes life difficult for me since I only use windows and my go-to hardware is mostly old and flaky now.

@btashton I do remember seeing that but then dismissing it because the next comment implies that you found a fix.  The README.txt does mention a situation that generates the same error.  The error itself is not informative.
In the case you in the README about the problem was old vs newer Cygwin tools.  Old tools decorated symbols with a leading _, the newer tools did not.  So, that is not the issue here but the same basic problem:  The error is occuring deep inside Cygwin before main is even called due to something wrong.
This will probably require a 'git bisect' to find the culprit.

@btashton @liuguo09 I did the bisection to determine which commit broke the Cygwin simulator build.  I had to do this manually in order to select the matching commit from apps/.  I did the bisection using only commits to arch/sim to simplify the job.  All tests performed with apps:
commit d38351cfd07f6e0b52728e61d5f51c44d68b5dba
Author: Brennan Ashton<EMAIL_ADDRESS>Date:   Sat Aug 29 12:39:56 2020 -0700

The more appropriate apps/ commit of Sep 8 introduces compilation problems in nshlib (nsh_console.c) and could not be used.
This is the result of the bisection:
First corrupted Cygwin simulation build:
commit 2cfb239a87263ffa55f49334bf00c4dbf6519f83
Author: ligd<EMAIL_ADDRESS>Date:   Tue Sep 8 11:20:16 2020 +0800

Last good Cywgin simulation build
commit 42a1d45a8acdd1d77b58a121d56367ce1a3f2c80
Author: ligd<EMAIL_ADDRESS>Date:   Tue Sep 8 16:33:08 2020 +0800

I did the bisection using only commits to arch/sim.  It is possible that the some other commit could have cause the problem.  So, as a further test, I built with the current HEAD of the repositories after reverting commit 2cfb239a87263ffa55f49334bf00c4dbf6519f83.  It worked perfectly proving that that commit is the one that broke the Cygwin build.

@btashton So the error as described in the sim README.txt was do to bad symbols as is this one.  So the same error is not surprising.  The problem is easily solved by reverting https://github.com/apache/incubator-nuttx/commit/2cfb239a87263ffa55f49334bf00c4dbf6519f83
However, I would like @liuguo09 's opinion first.  Can we just revert this commit?

@liguiding please take a look.


adding plumed support + generic non-gmxapi version

Hi, please take your time to revise the changes & feel free to suggest changes.
I'll add some extra docs soon to account for the additional options, but for now the existing functionalities should not be affected.

Looks good, I'll start testing ASAP and get back to you.

Sure, here I'm finally running it with my system of interest, I'll
hopefully catch any issues should they come up! Also working on separating
the example into two distinct directories and adding a small section to
README.
wt., 18 maj 2021 o 14:45 Sergio Pérez Conesa @.***>
napisał(a):

Looks good, I'll start testing ASAP and get back to you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/delemottelab/string-method-gmxapi/pull/25#issuecomment-843139404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5WUYJGJD5FXLSKQQABPM3TOJONLANCNFSM44ASO5MQ
.

How did you run the simulations with gmx_mpi and no gmxapi? I'm having trouble doing that. What command did you add to slurm.sh and what did you modify in mdtools.py?

Hi, I tried to clarify that in a follow-up mail - I did not in fact manage
to do that, at some point I mixed up two versions and it was gmx that
worked all the time, not gmx_mpi.
El dt., 18 de maig 2021, 18:32, Sergio Pérez Conesa <
@.***> va escriure:

How did you run the simulations with gmx_mpi and no gmxapi? I'm having
trouble doing that. What command did you add to slurm.sh and what did you
modify in mdtools.py?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/delemottelab/string-method-gmxapi/pull/25#issuecomment-843328816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5WUYLWZ752OPPPSHWHET3TOKJBJANCNFSM44ASO5MQ
.

Sorry, should be fixed now, I accidentally wrote "line in ..." instead of "line for line in..." while splitting an unreadable one-liner into two list comprehensions.

I have decide to make a dev branch in the main repo so me and Milosz can work more efficiently.


Image classification cannot be read images

python == 3.6
Turicreate == 5.8
When I tried to do Image Classification with a self-made learning model about a month ago, the following error came out in the place of "model.predict".
Not a JPEG file: starts with 0x00 0x05
Unexpected JPEG decode failure
The target image is undoubtedly in JPEG format, and if you reformat and export it in Preview.app, you will get the same error.
Previously, you could solve the problem by moving the file in the predict folder to the desktop and copying it back to the predict folder, but now you can't do anything.
Is there any solution?

It seems that it was because the "._xxx" file was left after updating the OS to Catarina.
I intended to prevent it from being created with the ".Ds_store" file ...
Close because it was solved.


Return 500 when clicking search button in '趋势与订阅'

Describe the bug
Return 500 when clicking search button in '趋势与订阅'.
Env (please complete the following information):

OS: [Arch Linux]
Env: Docker compose
Browser [chrome]
Version [2.0.7]

To Reproduce
Steps to reproduce the behavior:

Go to '趋势与洞察'

Choose 'Backend' 'Package Dependencies'

Click 'search' button.

Alert ‘500’ msg.

Expected behavior
Show some pictures or datas.
Screenshots

Additional context
Here are some log messages when I select 'Package Dependencies'.

Below logs occur when I select 'class'.

Thx.

Good news! Seems to show correct response when I select ‘Issue’ to search. I can't understand.

看上去 systemId=:id 和 AND 之间少了一个空格，欢迎来 PR


Cannot concatenate files in assets

Description
Hi,
I'm trying to concatenate various javascript files found in assets, such as:
    assets/scripts/ispConfigManager.js,
    assets/scripts/ispCommunicationManager.js

They should be in vendor/, since they are basically libraries, but unfortunately it's an external (and poorly written) angular 1 library that refers the template files via an absolute path which starts with assets and I don't want to mess with its source.
Expected behavior
The output file with the concatenation.
Actual behavior
No output file is generated. However, if I rename the directory "assets" to "vendor", everything works as expected. I'm trying to modify "configurations" but I can't seem to find out the correct settings.
package.json contents
{
  "name": "cfx00",
  "version": "0.0.1",
  "devDependencies": {
    "@types/angular": "^1.5.0",
    "autoprefixer": "^6",
    "babel-brunch": "^6.1.1",
    "brunch": "^2.10.12",
    "eslint": "^4",
    "typescript": "^2.6.2",
    "typescript-brunch": "^2.3.0",
    "uglify-js-brunch": "^2.10.0"
  }
}

brunch config contents
const filesIsp = [
    'assets/scripts/ispConfigManager.js',
    'assets/scripts/ispCommunicationManager.js'
    /* and more files */
];
module.exports = {
   files: {
        javascripts: {
            joinTo: {
                'isp.js': filesIsp
            }
        }
    },
    conventions: {
        vendor: /^assets/,
        assets: () => false
    }
};

I could get it to work adding a "paths" to watch your assets/scripts folder.
docs: http://brunch.io/docs/config#-paths-
module.exports = {
   files: {
        javascripts: {
            joinTo: {
                'isp.js': filesIsp
                // 'isp.js': 'assets/scripts/*'
            }
        }
    },
    paths: {
        watched: ['assets/scripts']
    },
    conventions: {
        assets: () => false,
        // assets: /^assets\/(?!scripts)/,
    }
};

But I couldn't get the rest of the assets folder to copy to public directly - in case that is also what you needed to do.
Bit of fiddling would prob get it.


minor updates to readme and patches to npm (#19)

squashed...

small updates to revealjs-readme, and updating packages to latest versions across the board
updating package.json per Irvings ask

fyi: @irvingpop rebased as per your earlier request


We have to kill the Gwen or wait for the loop to timeout when the condition is not satisfied in-order to stop the execution.
For example:
The following DSL will wait until the timeout is reached which is 5min.
And I wait until the heading is displayed using 5 second delay and 300 second timeout
( I am not just referring to loops but any running dsl should get stopped )
If there is a way to stop the execution of the running DSL without killing the GWEN process , it would save our time in development phase.

There is no way to soft exit. Do you really need a 5 minute timeout? Seems very excessive.
One idea could be to and remove the explicit timeout in the DSL and instead override gwen.web.locator.wait.seconds to 5 minutes only for the environment where you really need it and leave the default timeout (10 secs) in your development environment.

Noted, thanks


Is there a way i can stream the audio?

It doesn't seem to stream the audio, rather it does download the whole file first making it quite slow.

@himanshu31shr  Hi~  The component current version use <audio preload="auto"/> ,  so  download the entire file as a result of initialization.  that's so bad . i think should be remove preload attribute
I'm try use Web Audio Api suport stream , and download section in the next version .

Sounds great! For now i managed to build api for streaming audio using node fs. Is there any other way around you know?


take care about django multihost configuration

I'm using django multihost middleware
https://code.djangoproject.com/wiki/MultiHostMiddleware
and I want to have docs for my "virtualhosts"
this patch takes care of it, please approve it

Current coverage is 100% (diff: 100%)

Merging #569 into master will not change coverage

@@           master   #569   diff @@
====================================
  Files           4      4
  Lines          83     84     +1
  Methods         0      0
  Messages        0      0
  Branches        8      8
====================================
+ Hits           83     84     +1
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 99d65f3...89528c4

@theromis This looks good, though I'm replacing this whole class with a call to the new get_schema_view shortcut just released in DRF 3.5.
Maybe propose this on Django REST Framework?
Otherwise, you can absolutely create your own Schema APIView. The intent here was to allow people to get quickly up and running.

@marcgibbons Thank you for quick reply, your answer not clear to me.
Do you want me to change my pull request, move this code to DRF or just decline PR?

@marcgibbons Working on my documentation I can change something if you want.

Hey @theromis - sorry I did not reply to your previous comment.
The block of code subject to the PR above is being removed (currently in a feature branch), so I recommend modifying the get_schema_view from rest_framework.schemas and opening a PR on Django REST Framework. This fix will help others who may not necessarily use Swagger.
Meanwhile, you can create your own SchemaView in your projects to suit your use case and not use the short cut.

I can see 2 feature branch: feature/swagger-2 and feature/upgrade-reqs
➜  rest_framework_swagger git:(feature/swagger-2) git branch -a
* feature/swagger-2
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/feature/swagger-2
  remotes/origin/feature/upgrade-reqs
  remotes/origin/gh-pages
  remotes/origin/master
  remotes/origin/stable/0.3.x

I assume you mean feature/swagger-2 am I right, there I have to create PR?

See https://github.com/marcgibbons/django-rest-swagger/pull/570


Use tox

tox is a convenient way to run tests on multiple python versions. Also, it simplifies contributing to the project as the tox --devenv -e py38 .venv makes for easy environment setup.
What's included:

run tests with tox
revisit travis config to run tests with tox-travis
run tests with coverage
upload coverage reports to codecov.io
add a badge to show coverage stats

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7b7f69b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #51   +/-   ##
=========================================
  Coverage          ?   91.07%
=========================================
  Files             ?        8
  Lines             ?      392
  Branches          ?       50
=========================================
  Hits              ?      357
  Misses            ?       26
  Partials          ?        9

Continue to review full report at Codecov.

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

Thank you for your PR! Nice job. I am looking into the travis issue (checks not showing up in pull requests), without luck so far...

@ochedru try to resync repo in Travis CI settings, might help.

I just did that. I had a permission issue and after resync it was ok. We'll see how it goes. Thanks!


Initial implementation for Catchment

Initial HyPy implementation of HY Features Catchment concept.
(See Github Issue:  #6)
Changes

implementation of slots-based properties for Catchment class, base on Figure 21 of this spec
updated docstring for Catchment class and functions

Testing

Screenshots
Notes

conjoined_catchment is not address yet, as it wasn't apparent the best way to do that
lower_catchments and upper_catchments are implemented transitively, rather than having backing variables in the class itself

Todos

will need to ensure lower_catchments and upper_catchments are implemented correctly after the Nexus class is fully implemented
will need to add more tests once the related classes are implemented (i.e., once there is a little more behavior to exercise)

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist

@robertbartel a conjoint catchment property is just an association with other identities that are "conjoint".  It can be a list of 0 or more catchments.

@hellkite500, I've made the adjustment to Catchment and added the property.


Updated feedstock to 0.2.7

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Touch-zoom is broken after #4669 has been merged

Just tried master branch on my touch screen. Tiles don't update when you touch-zoom.
It is due to a recent fix:
https://github.com/Leaflet/Leaflet/pull/4669
and this commit in particular
https://github.com/Leaflet/Leaflet/commit/87e38f1aa4e03ca42912be8adf22610ccb02f258
tileZoomChanged is false during touch-zoom as tileZoom is a discrete level, so
(tileZoom !== this._tileZoom)

is false in most cases, unless you zoom in a lot and actually change zoom level
Fix is to remove this test, but I am not sure why it was added in the first place

I see two options (but I may be missing some other):

test for real zoom changed instead (but that would also means duplicate the check for minZoom/maxZoom and updateWhenZooming)
go back to the initial commit of the PR https://github.com/Leaflet/Leaflet/pull/4669/commits/1a8a30cc82541af8847cd2ce06959aad539e9b86 : that would be my preference actually, because in the first place I'm don't get why we would want to reset the view after moving the map (given that _update already takes care of loading new tiles, and thus of pruning tiles).

I would vote for the second option


Clang issue with H5Literate2 and incompatible pointer logic.

Clang 16+ is giving an error related to incompatible pointer types; I've begin to observe this post #2958; the logic in hdf5open.c:read_hdf5_obj() is passing an "incompatible pointer".  I'm putting up a PR momentarily that, at least on MacOS, corrects the logic re: which pointer type is passed.  We'll see what the broader CI says.
References

https://github.com/Unidata/netcdf-c/issues/2714 - Original Issue with IBM XL Compiler
https://github.com/Unidata/netcdf-c/pull/2958 - PR Related to addition of H5Literate2
https://github.com/NixOS/nixpkgs/pull/330670 - Downstream project which addresses the issue with clang 16+

I saw this was marked as completed, but in case anyone ends up here from google, this also happens with gcc 14 now.