fix(versions): update Activiti/activiti-cloud-application-chart versions into master

UpdateBot pushed helm dependency: example-cloud-connector to: 7.1.47

UpdateBot commands:
updatebot push-version --kind helm example-cloud-connector 7.1.47

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

UpdateBot commands:
updatebot push-version --kind make CONNECTOR_ACTIVITI_CLOUD_DEPENDENCIES_VERSION 7.1.39

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-audit 7.1.46

UpdateBot commands:
updatebot push-version --kind make AUDIT_ACTIVITI_CLOUD_DEPENDENCIES_VERSION 7.1.39

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-query 7.1.47

UpdateBot commands:
updatebot push-version --kind make QUERY_ACTIVITI_CLOUD_DEPENDENCIES_VERSION 7.1.39

UpdateBot commands:
updatebot push-version --kind helm example-runtime-bundle 7.1.61

UpdateBot commands:
updatebot push-version --kind make RB_ACTIVITI_CLOUD_DEPENDENCIES_VERSION 7.1.39

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-notifications-graphql 7.1.42

UpdateBot commands:
updatebot push-version --kind make NOTIFICATIONS_ACTIVITI_CLOUD_DEPENDENCIES_VERSION 7.1.39


[Feature] Support getting model from the name defined in the model-index file.

Motivation
Previously, if we want to use a pre-defined model in MMClassification, we have to clone the MMClassification and specify the config path to build a model.
This PR simplified the process. And we can get a model from the name defined in the model-index file.
Modification

Add get_model and list_models API.
Import all modules in the apis package into the top-level package.

Use cases (Optional)
Get a ResNet-50 model and extract images feature:
>>> import torch
>>> from mmcls import get_model
>>> inputs = torch.rand(16, 3, 224, 224)
>>> model = get_model('resnet50_8xb32_in1k', pretrained=True, backbone=dict(out_indices=(0, 1, 2, 3)))
>>> feats = model.extract_feat(inputs)
>>> for feat in feats:
...     print(feat.shape)
torch.Size([16, 256])
torch.Size([16, 512])
torch.Size([16, 1024])
torch.Size([16, 2048])

Get Swin-Transformer model with pre-trained weights and inference:
>>> from mmcls import get_model, inference_model
>>> model = get_model('swin-base_16xb64_in1k', pretrained=True)
>>> result = inference_model(model, 'demo/demo.JPEG')
>>> print(result['pred_class'])
'sea snake'

List all models:
>>> from mmcls import list_models
>>> print(list_models())

List ResNet-50 models on ImageNet-1k dataset:
>>> from mmcls import list_models
>>> print(list_models('resnet*in1k'))
['resnet50_8xb32_in1k',
 'resnet50_8xb32-fp16_in1k',
 'resnet50_8xb256-rsb-a1-600e_in1k',
 'resnet50_8xb256-rsb-a2-300e_in1k',
 'resnet50_8xb256-rsb-a3-100e_in1k']

Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

I think it is good if I use inference of classification, but if I use it for detection, I would like to call the same for 21k models where no config exists, as shown below.
https://github.com/mzr1996/mmclassification/blob/1x-get-model/configs/swin_transformer_v2/metafile.yml#L194
class Model:
    def __init__:
        self.backbone = get_model('swin-large-21k', pretrained=True, backbone=dict(out_indices=(0, 1, 2, 3)))
        self.backbone.head = nn.Identity()
        self.nekc = FPN()
        self.head = Head()

Some users may want to use it like timm.
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True, backbone=dict(neck=None, head=None))
        self.nekc = GAP()
        self.head = Linear()

A function like reset_classifier may be useful if I use such a call.
https://github.com/rwightman/pytorch-image-models/blob/main/timm/models/resnet.py#L704
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True)
        self.backbone.reset_classifier()
        self.nekc = GAP()
        self.head = Linear()

or
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True)
        self.backbone.reset_classifier(num_classes=10)

The scope of support in this area will depend on how you expect your users to use the system.

I think it is good if I use inference of classification, but if I use it for detection, I would like to call the same for 21k models where no config exists, as shown below.
https://github.com/mzr1996/mmclassification/blob/1x-get-model/configs/swin_transformer_v2/metafile.yml#L194
class Model:
    def __init__:
        self.backbone = get_model('swin-large-21k', pretrained=True, backbone=dict(out_indices=(0, 1, 2, 3)), neck=None, head=None)
        self.backbone.head = nn.Identity()
        self.nekc = FPN()
        self.head = Head()

Some users may want to use it like timm.
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True, neck=None, head=None)
        self.nekc = GAP()
        self.head = Linear()

A function like reset_classifier may be useful if I use such a call. https://github.com/rwightman/pytorch-image-models/blob/main/timm/models/resnet.py#L704
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True)
        self.backbone.reset_classifier()
        self.nekc = GAP()
        self.head = Linear()

or
class Model:
    def __init__:
        self.backbone = get_model('resnet50_8xb32_in1k', pretrained=True)
        self.backbone.reset_classifier(num_classes=10)

The scope of support in this area will depend on how you expect your users to use the system.

This first problem can be avoided by adding missing config files.
As for the reset_classifier, my expected usage is to modify the num_classes in the head directly, like
from mmcls import get_model
model = get_model('resnet50_8xb32_in1k', pretrained=True, head=dict(num_classes=10))

Do you think we need to implement the reset_classifier API?

@mzr1996 It looks good. No need to add reset_classifier.
Do you exoect users adding models to hue, as in Huggingface?
If so, it might be a good idea to write how to add them in the documentation.

from mmcls import get_model
model = get_model('resnet50_8xb32_in1k', pretrained=True, head=dict(num_classes=10))

Suppose a user doesn't know the concepts of backbone, neck, and head.  But if he were to understand head=dict(num_classes=100), he would need to know the splitting of the model into ''backbone'', ''neck'', ''head'', and he would also need the config registration mechanism as well as inheritance.
Maybe， we can simplify this by the following:
from mmcls import get_model
model = get_model('resnet50_8xb32_in1k', pretrained=True, num_classes=10)

@mzr1996 It looks good. No need to add reset_classifier. Do you expect users adding models to hub, as in Huggingface? If so, it might be a good idea to write how to add them in the documentation.

Yes, but by now, users can only register their own config files by metafile.yml. It's a little complex for users.
from mmcls.apis import ModelHub

ModelHub.register_model_index('my_metafile.yml')

And I want to design some other methods to register new models like timm-style. I think it's better to add this documentation later.


Ways to generate CoronaCards.aar from source

Wondering if there is a way to build the android CoronaCards.aar file from source? Or is there a script file or ./gradlew task already doing that?

Here  how it gets generated https://github.com/coronalabs/corona/blob/6c27cfbd2fcfeddd3e9e279cb654f0afec45ac49/.github/workflows/build.yml#L226-L230

Thanks @Shchvova
How do I get access to Native/CoronaNative.tar.gz
I am trying build this from current master branch ?

It’s used only to extract Corona.aar. You can take it from Native in installation, or build yourself with gradlew assembleRelease


Need to correct the news post layout.

The news layout needs to be laid out better.  We should discuss the requirements together in the monday meeting.

Changes:

The links to share on social media should have "Share on" or something like this to identify that we should share.
The pictures are redunant.  We probably just need a simpler layout here.

Added the "share on" phrase. The image looks wired because the same image appears on the same screen, I suppose. The reason for that is that Ikjot's same image has been used as the featured image and an image in the post.


Modification in Note Section

As mentioned in other GCC or DoD documentation, it states that GCC or DoD is only available using volume licensing.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/9213

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

Hi @greg-lindsay , PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


doesn't work with docopt below 0.4.2

If you run with docopt below 0.4.2 (which is pretty old, i know) you get a Usage print and nothing else, hard to tell what's wrong...
I traced it to using and old docopt library, this requirement should be defined in setup.py

#147


Improved dotnet project info to be closer to how the dnx project info…

… used to be

cc @DustinCampbell @troydai
Basically things brings back some of the fields we had before with DnxProject, list of configurations / frameworks, etc.

The change seems righteous, though I'll need to make a significant change on the VS Code side to absorb this change. :smile:
I'm not all that familiar with how configurations are represented in project.json. I assume that VS Code will need some way to switch configurations and track the "active" configuration?

Yeah, in atom we have support with semantic highlight to fade out excluded code, if you have a specific framework selected.  We haven't done much with configuration yet, but I'm sure it's something in the future we'll need.

:shipit:


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2021-09-16T17:41:01+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.10
34cfe5c512b5b8899e277ade7feb4b8c53993fee
link
/test integ-security-multicluster-tests_istio_release-1.10

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.

/retest


Sniper should not deny his creeps when the player supposed to deny radiant creeps.

In the "deny friendly 0/3 creeps" section, sniper denies his own creeps instead of attacking radiant creeps to make the player's task harder.
Slacks mentioned this in his latest video too. So, Instead, Sniper should attack radiant creeps to make it hard for player to deny his creeps.

Not true.


Understanding custom python codecs

Hello,
Python has a feature where you can register a codec such that when python imports a file it can run the contents of that file through your codec to translate it before it's imported.
I use this technique for my testing library nose-of-yeti which lets me write my tests using an rspec inspired nested "describe" and "it" syntax.
Currently it supports tooling like black, pylama and mypy.
I'm wondering if it were possible for ruff to be able to understand python codecs? (when the file starts with a # coding: <codec_name> line). I imagine ruff seeing that it uses a codec and asking python to find that codec and decode the file before ruff reads it. I understand there is a speed cost to that as this is an existing cost I'm fine with.
Thanks!

@charliermarsh I'm wondering if this would even be possible (with or without ruff having some kind of plugin ability). It stops me using ruff for most of my projects. I feel if ruff supported it, it would make the biggest drawback of it go away (the time cost for linting/formatting adds up and becomes noticeable with a big enough file).
I don't have any rust knowledge (and definitely not enough time to try and learn it) so I don't know if this kind of support could be optionally added or added in a way that doesn't cause too much undue effort on ruff maintainers.
It essentially boils down that
this:
describe "Thing":

Is equivalent to class TestThing:
and:
it "does stuff", one: int, two: str:

is equivalent to def test_does_stuff(one: int, two: str) (with a self argument if nested under a describe)
and:
async it "does more stuff":

is async def test_does_more_stuff():
And describes can be nested under other describes and get flattened out
so
describe "One":
    describe "Two":
        pass

becomes
class TestOne:
    pass

class TestTwo(TestOne):
    pass

(technically it also has context as an alias for describe and after_each/before_each but I don't use any of that anymore and should probably deprecate that functionality)

I don't think this fits well into Ruff because it requires executing Python code, which adds a dependency on Python.
I still don't fully understand the workflow but wouldn't it be possible to integrate this around Ruff by using a Python script that:

Loads the file
Executes the codec
Uses subprocess to call ruff and passes the decoded text via stdin
Does something with the output

It's not entirely clear to me how "does something with the output" would work in the formatter case.
So I think this functionality is better suited outside of Ruff, rather than being integrated into Ruff (also considering that it isn't a very common ask)

@MichaReiser yeah. the way I make it work for black is I monkeypatch the grammar such that it considers the grammar to be valid (and modify some visit hooks) and it seems to deal with that fine because everything else is still valid python.
For pylama I replace how it reads the file so that when it reads the file, the translation happens as part of that and so as long as I disable formatting related lint rules, it lints it like normal python and works fine.
I imagine for ruff check it could work for the latter and be no worse than the current situation (except that ruff check itself is much faster and integrates with my editor better, so would in fact be better)
For ruff formatter however, it would require the ability to extend ruff's understanding of the python grammar cause of that "what do with the output". I imagine though it's not as simple as "extend ruff's grammar"!

(also considering that it isn't a very common ask)
This project of mine (which I've actively worked on and used since 2010) definitely gets a wide range of reactions hahhah

I see. Yeah I don't think we have capacity to add support for a custom grammar today (that also requires transformation). We do support Python code embedded in Jupyter notebook but that's different because the code can be used as is, without the need for any transformation.

Fair enough. Hopefully black/pylama at least continue to exist for a long time yet

@MichaReiser I have one more question sorry. If I made it so that it doesn't do any dedents would that make it easier?
So essentially all that needs supporting is "it" and "describe" as syntax sugar for def and class and everything else could be ignored. So:
it "does stuff":

would be syntax sugar for
def test_it_does_stuff():

and
it "does stuff", one: int, two: str -> None:

would be syntax sugar for
def test_it_does_stuff(one: int, two: str) -> None:

and
describe "Things":

would be syntax sugar for
class TestThings:

and
describe "Things", Parent:

would be syntax sugar for
class TestThings(Parent):

and no other transformations would be required. (how it currently transforms into a flat class structure is no longer required now I don't use nosetests)


pre-commit should be installed at setup time

Started a new project and after setup and clean the pre-commit isn't firing.
I saw that this has been fixed and reverted in: 80da0c517e94b9c78614773b94be10427f4083fc and 36893a8c30acd52304f7e9feca4e0342fcdee317

See #433 for the discussion about this. We definitely need to document somewhere that you need to install pre-commit though!

Should this be closed?

Yes, I think so. As part of the weekly dependency update I do a git commit a new clone after clean.
I see precommit hook run eslint and style lint.
Works as expected AFAICT.

Same, I can confirm this is definitely fixed. Thanks @amilajack @gihrig!


Match by selector

Support CSS-like syntax.
For example: element(by.selector("#parentId @UIImage"))
Will get the first element of type UIImage which is a descendent of an element with testID parentId

Let's move this to version 2, in the meantime I added matchers withAncestor and withDescendant here 639f335c669894c12f731acb1fe1ee15556a29f2

Out of scope for the project.


Signal strength not exposed in metrics

I noticed in this commit it seems to add signal strength to the exposed metrics, but the README does not include signal strength, nor does the exporter seem to expose it in the metrics. Just wondering what was going on with that as it would be very useful to have.
Ex. this code suggests rssi and rsrp should be exposed in the metrics:
var (
	listenAddress = flag.String("web.listen-address", ":9898",
		"Address to listen on for telemetry")
	metricsPath = flag.String("web.telemetry-path", "/metrics",
		"Path under which to expose metrics")

	up = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, subsystem, "up"),
		"Was the last modem query successful",
		nil, nil,
	)

	roaming = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, subsystem, "roaming"),
		"Is the modem roaming",
		[]string{"imei", "icc", "imsi", "operatorid", "operator"}, nil,
	)

	operatorcode = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, subsystem, "operatorcode"),
		"Code of the operator currently used by the modem",
		[]string{"imei", "icc", "imsi", "operatorid", "operator"}, nil,
	)

	rssi = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, subsystem, "rssi"),
		"Level of signal reported by the modem",
		[]string{"imei", "icc", "imsi", "operatorid", "operator"}, nil,
	)

	rsrp = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, subsystem, "rsrp"),
		"Level of noise reported by the modem",
		[]string{"imei", "icc", "imsi", "operatorid", "operator"}, nil,
	)
)

Thanks!

Sorry - didn't notice there was errors in my logs regarding signal strength. Looks like an issue on my end.
2022/04/20 19:50:40 No such interface “org.freedesktop.ModemManager1.Modem.Signal” on object at path /org/freedesktop/ModemManager1/Modem/0
####-> org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1
[/org/freedesktop/ModemManager1/Modem/0]
2022/04/20 19:50:55 No such interface “org.freedesktop.ModemManager1.Modem.Signal” on object at path /org/freedesktop/ModemManager1/Modem/0
####-> org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1
[/org/freedesktop/ModemManager1/Modem/0]
2022/04/20 19:51:10 No such interface “org.freedesktop.ModemManager1.Modem.Signal” on object at path /org/freedesktop/ModemManager1/Modem/0


MS directory diffs

Don't have the UG reload the whole directory listing between invalidations.  Have the MS keep track of which files have been added/removed (i.e. use a shard counter to sequence the creates/deletes), and have the UG fetch and apply the range of operations that occurred after the previous refresh.

This was done in time for ATC2015.


update otel-collector to 0.19.0

also remove removed queued_retry
Signed-off-by: naseemkullah<EMAIL_ADDRESS>

solves #19

solves #19

The lint check is stuck. May require to close and reopen the PR.

The lint check is stuck. May require to close and reopen the PR.

I've updated the gh workflows as per what's new in https://github.com/helm/charts-repo-actions-demo (which they were based off originally). While unsure about what made it fail before, the check is passing now.

I've updated the gh workflows as per what's new in https://github.com/helm/charts-repo-actions-demo (which they were based off originally). While unsure about what made it fail before, the check is passing now.

@naseemkullah thank you.

@naseemkullah thank you.

@naseemkullah the main branch build failed: https://github.com/open-telemetry/opentelemetry-helm-charts/runs/1792366706?check_suite_focus=true
Can you please revert this PR and check why the build fails?

@naseemkullah the main branch build failed: https://github.com/open-telemetry/opentelemetry-helm-charts/runs/1792366706?check_suite_focus=true
Can you please revert this PR and check why the build fails?

Sure!  I may attempt a fix forward if it is straightforward enough.

Sure!  I may attempt a fix forward if it is straightforward enough.

this should do it @tigrannajaryan : https://github.com/open-telemetry/opentelemetry-helm-charts/pull/30

this should do it @tigrannajaryan : https://github.com/open-telemetry/opentelemetry-helm-charts/pull/30


Revoked credential status

Summary of Changes

Adds mechanism to temporarily track revoked credentials until hooks are updated to emit when credential record metadata changes.
Adds styling to indicate revoked status in credential list and detail pages.
Adds an info message to indicate further action for a revoked credential in the detail page.
Refactors store to use best practices in naming conventions (adopted by the redux community)

Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[ ] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[ ] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[ ] Updated documentation as needed for changed code and new or modified features;
[ ] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

@amanji I think this has the changes from other PRs so I'll hold off until the context PR is merged.

This PR is the start of the context refactoring so it needs to go in first

This PR is the start of the context refactoring so it needs to go in first

100% a temp fix. Down the road I expect that this will all be handled by the revocation message handler in AFJ with the state reflected in the credential record metadata. I have purposely added FIXMEs to ensure the code is removed once the feature is supported.

100% a temp fix. Down the road I expect that this will all be handled by the revocation message handler in AFJ with the state reflected in the credential record metadata. I have purposely added FIXMEs to ensure the code is removed once the feature is supported.


Error when parsing lambda log: error.message:invalid json file: Expecting value: line 1 column 1 (char 0)

Currently, I'm sending Lambda log from Cloud Watch log -> Kinesis Firehose -> S3.
From S3 I'm using siem to perform ETL in order to import data into OpenSearch.
All my Lambda function logs are outputted as JSON format. But the Lambda default logs are not.
START RequestId: d0ba05dc-8506-11e8-82ab-afe2adba36e5 Version: $LATEST  <<< This is Lambda default log
{"message" : "Hello world"}  <<< This is the log from my Lambda code
END RequestId: d0ba05dc-8506-11e8-82ab-afe2adba36e5 <<< This is Lambda default log

So after I ran siem ETL, the log on OpenSearch get the following error:
error.message:invalid json file: Expecting value: line 1 column 1 (char 0)
Which is the result of Lambda default log parsing, I think.
How can I skip the above error?
Note: I took a look at user.ini and aws.ini but It seems there is no setting that relate to this problem.
Thanks & Regards.

Sorry for the very late reply. Does the issue still exist? Please reopen if it exists


Update Lapatylin.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
namada-public-testnet-15_legacy
namada-public-testnet-14
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

namada-public-testnet-14/Lapatylin.toml

Successfully validated transactions.toml file for commit hash 03f4ba7


Update main.js

Valid Html fix

:+1:

Thank you! I published 4.2.1 with your fix. I'll go comment on the issue too.


Include separate activities in app-specific settings

This may require a slight redesign.

This has been finished, but, um, it looks bad. And doesn't work that well.
:P

Yup, this works fine now. Nice and buttery.


Issue: Users with SIH get double stickers

I recommend hiding SIH's stickers, they appear behind the stickers added by the extension: Example.

In the mean time, you can disable SIH on market pages with the little toggle at the top


Charge of the Righteous

https://www.d20pfsrd.com/feats/combat-feats/charge-of-the-righteous-combat
Super thematic :)

Thank you for your suggestions! I'm going to move these over to the suggestions thread and close these individual ones out. If you'd like to submit anymore suggestions please do so in the suggestions thread :) https://github.com/Envibel/MartialExcellence/issues/1


fix: get source code from sourceMapStore on write report

When the fileCoverage. InputSourceMap have different source content, should be get the source code from the "inputSourceMap"  on writing report.

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master     #72   +/-   ##
======================================
  Coverage    97.7%   97.7%
======================================
  Files           2       2
  Lines         131     131
======================================
  Hits          128     128
  Misses          3       3

Impacted Files
Coverage Δ

src/reporter.js
97.77% <100%> (ø)
:arrow_up:

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 df3d5df...33c7c1e. Read the comment docs.


export element props without [key: string]: any;

Feature Request
Problem description
We use typescript and HOC in our project. There are many cases where we wrap a semantic element and need to remove a property.
For example,

we have a HOC which wraps Dropdown component and passes option though redux. Then we need to remove option from props
we introduced a default property but the only clean way to define the typescript is using HOC to change a required prop to be optional

In both cases, we need to utilize Omit (reference) operation to remove a key from Semantic element's prop type definition. However each type definition from Semantic contains [key: string]: any; which makes Omit not working
Proposed solution
export a type definiton without [key: string]: any; for HOC to use.
MVP
Take button as example
Current code:
export interface ButtonProps {
  [key: string]: any;

  /** An element type to render as (string or function). */
  as?: any;

  /** A button can show it is currently the active user selection. */
  active?: boolean;
}

Proposal
export interface ButtonPropsStrict {
  /** An element type to render as (string or function). */
  as?: any;

  /** A button can show it is currently the active user selection. */
  active?: boolean;
}

export interface ButtonProps = ButtonPropsStrict & { [key: string]: any; }

This seems like a great proposal to me.  This still meets the goals of our earlier discussion while also giving type safety when needed.
PRs welcome!

@levithomason I've created a PR for Dropdown. If you a fine with the change, I will apply the change to more components.


feat(secret): add image pull secret to dcmd

Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

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


RawFileReader

Adds the mzLib version that includes RawFileReader and updates the installer with paths to .dll files. Not used yet because there's a problem getting precursor scan numbers. Need to implement user agreement to Thermo's licence, too.

fixed the precursor scan issue. works well on one file that I tested (17343 PSMs with RawFileReader vs 17345 PSMs with MSFileReader)

Seems ok across a couple of tested files

still need to add:

command-line support for RawFileReader. basically just need to add a way for the user to accept thermo's licence.
replace MSFileReader code in FlashLFQ with RawFileReader code. currently MSFileReader is still needed to quantify peptides in .raw files

added both of those.
rawfilereader won't run in .NET core apparently, though there are updated versions where it will. I'll look into that when .NET core 3.0 comes out and we migrate over to that

This all seems fine, albeit a little circumventable with open source. Should we check it on data with MS3? or mixed mode fragmentation?

I agree with the "circumventable" part.. I'll look into how other open-source packages manage this kind of thing. There is a line in the Thermo agreement that says "If you use this Software, you accept this License." but it seems a little flimsy to rely on that...
I can test this out with MS3 data and mixed mode, Lei has some data that he gave me

here are the benefits of RawFileReader over MSFileReader if you're wondering:

Faster .raw file load times
Supported by Thermo into the foreseeable future
Does not require installation of MSFileReader
Does not require installation of C++ redistributable
Can run in Linux (not in this particular PR, but I just need to update RawFileReader in mzLib)

Tested MS2 mixed mode and MS2/MS3 with the crosslink search. Same number of PSMs, and same scores and matched ions as far as I could tell

I don't recall if we had unit tests for rawfilereader. if we did, do they still work? For example. if we have a slice, does the count of ms1s, ms2s and ms3s make sense? to the precursors for ms2s and 3s make sense? Does the fragmentation mode for each match? what if missing?

there are no Thermo unit tests in MetaMorpheus, but there are in mzLib. I used the same data files to create new unit tests for RawFileReader in mzLib, and those work ok. it's also feasible now to create unit tests for RawFileReader in MetaMorpheus, though I didn't do that here.

looks like it's still not possible to make a unit test to read a .raw file in MM. I get the same error message that I get when I try to open a .raw file in .NET core. Seems OK for now, given that we have Jenkins builds. But at some point I'll see if using the .NET core Thermo .dll files work for that.


clippy: Fix doc_lazy_continuation lint

This is a new lint in nightly, so just preparing the way for when it eventually hits stable Rust.


[BUG] The XML file of Content Launcher Cluster has errors

Reproduction steps
check the xml file :
https://github.com/project-chip/connectedhomeip/blob/v<IP_ADDRESS>/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml#L28

0x0000 max length error

The specifications (1.0 and 1.2) describe as below

0x0001 parameter data type error

The specifications (1.0 and 1.2) describe as below

AdditionalInfoStruct should have max length

BrandingInformationStruct should have max length

Bug prevalence
each time
GitHub hash of the SDK that was being used
561d23d0db215a99705ff0696e73853c8edf11b2
Platform
other
Platform Version(s)
No response
Anything else?
No response

See also https://github.com/project-chip/connectedhomeip/issues/30355


Report more system metrics

Report CPU, memory, system uptime, and disk I/O metrics from the Raspberry Pi.
CU-r55e16

Task linked: CU-r55e16 Monitor more system metrics


Inconsistent Folder Contents

This pull request contains fixes for issues #46, #47, and #48. Here is a summary of the changes:

Added a cache-level TTL so that all JCR content caches are cleared periodically to prevent continuous growth over time
In the case of duplicate file paths (case insensitive), only include the first occurrence of a file name in directory lists
Exclude temporary file names from DAM directory lists

thanks, mark!


Refactor asset location and update the CI

Move all docker files into the same docker directory and update the CI accordingly.

No longer relevant


IDS-9547: Max Processes Per Worker

Cap/Max Processes Per Worker:
https://github.com/NASA-AMMOS/common-workflow-service/issues/61

Code changes made for the above Galen requests.
The performance testing done:

Total Max(worker_max_num_running_procs ) vs Single ProcDefKey Limit
2+ workers (setting Worker1 high worker_max_num_running_procs, Worker2 low worker_max_num_running_procs)
concurrently running Models with same Duration vs small/large

It looks good with these cases. Let me know if it is god to merge, thanks. @galenatjpl  @jamesfwood


[Suggestion] Please add #2492 Location Spammer

Gyz i respect your work a lot but i just want suggest you to add #2492 on the code it can help get some important calls to the team when u dont have a mic.
Please add if u really think its good and important.
And Respect gyz all working fine right now.

but its a ready code just put it into your build

but its a ready code just put it into your build

I think it should officialy be on the build.

I think it should officialy be on the build.

My intentions with that pull was never to get it in to the main build, but i just wanted to make #2147 more clear:)

My intentions with that pull was never to get it in to the main build, but i just wanted to make #2147 more clear:)

@KernCS man can we add invite spammer on the build ? its cool man.

@KernCS man can we add invite spammer on the build ? its cool man.


Add Content Security Policy

Add CSP to prevent malicious takeover of admin dashboard Terril CSP Cash.me

Moved to https://github.com/square/misk-web/issues/20


Problem when daily return >= 100%

Hi,
I've come across an edge case that took me quite a while to debug.
Basically when a daily return is >= 100% (during backtesting, pennystocks etc), utils._prepare_prices() thinks that the input series has already been converted to prices and it does nothing. This obviously messes up the calculations.
elif data.min() <= 0 and data.max() < 1:
        data = to_prices(data, base)

For now as a hack I just clip all my returns to 0.9999.
Any thoughts on how to deal with this, given that it is an edge case... unfortunately :-)?
I think putting an or  instead of the and might be more robust, but still not foolproof.

Fixed in 0.0.21


import fix candidate b: drop annotation

Fix #2041
Chart PR https://github.com/epinio/helm-charts/pull/342

Codecov Report
Base: 60.05% // Head: 53.07% // Decreases project coverage by -6.98% :warning:

Coverage data is based on head (6a533f4) compared to base (655e401).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2043      +/-   ##
==========================================
- Coverage   60.05%   53.07%   -6.98%
==========================================
  Files         179      179
  Lines       14543    14543
==========================================
- Hits         8734     7719    -1015
- Misses       4713     5821    +1108
+ Partials     1096     1003      -93

Flag
Coverage Δ

acceptance-api
45.80% <ø> (+0.17%)
:arrow_up:

acceptance-apps
?

acceptance-cli
37.83% <ø> (-17.68%)
:arrow_down:

unittests
8.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

After discussion we keep auto-gen and remove the manual cert


[Crash] [1.21.x] [Neoforge]: JEI updates cause EMI incompatibility

Steps to Reproduce the Crash
The game crashes when I try to shift-click a recipe into the crafting table.
This never happened before, but is starting to do it now. I am using polymorth and JEI alongside.
I tried to remove Polymorph, but the crash still happened.
https://github.com/mezz/JustEnoughItems/issues/3793
Extra Notes
polymorph-neoforge-1.0.6+1.21.1
jei-1.21.1-neoforge-<IP_ADDRESS>
emi-1.1.14+1.21.1+neoforge
Neoforge:21.1.65
Crash Report
https://pastebin.com/U3qrLkvz

Also, there might have problems with Caelus API too.
[Thread-20/ERROR] [EMI/]: [EMI] Critical error occured during reload: java.lang.NoClassDefFoundError: top/theillusivec4/caelus/api/CaelusApi

Should be resolved in 1.1.15


Rebuild and normalize case of filenames

This eliminates a redundant copy of the PAXG token metadata that causes keepkey/keepkey-firmware to only build reproducibly on case-insensitive filesystems.

Closed in favor of #2.


[Storage] Update storage-js to sdk-for-js

https://github.com/Azure/azure-sdk-for-js/commit/b0aecfe70baf6252d1d9495932e98e102685134e#diff-4d7ed1e8443ff76244b610845a484658
Updates old links in package.json

Will merge master branch into feature/storage after this PR.


Docs on running tests locally

I tried setting up tests for this crate locally, and ran into some issues - I figured out that I had to have a mysql server running and configure the DATABASE_URL environment variable to point at that server, but even with that set up a number of tests still fail (and some seem to just hang):
running 65 tests
test conn::pool::test::can_handle_the_pressure ... ignored
test conn::pool::test::should_hold_bounds_on_error ... ok
test conn::pool::test::should_connect ... ok
test conn::pool::test::drop_impl_for_conn_should_not_panic_within_unwind ... ok
test conn::pool::test::should_hold_bounds1 ... ok
test conn::pool::test::should_not_hang ... ok
test conn::pool::test::droptest ... ok
test conn::pool::test::should_reconnect ... FAILED
test conn::pool::test::should_reuse_connections ... ok
test conn::pool::test::should_track_conn_if_disconnected_outside_of_a_pool ... ok
test conn::pool::test::should_start_transaction ... ok
test conn::pool::test::should_not_panic_on_unclean_shutdown ... ok
test conn::pool::test::should_perform_clean_shutdown ... ok
test conn::test::opts_should_satisfy_send_and_sync ... ok
test conn::test::should_clean_state_if_wrapper_is_dropeed ... ok
test conn::test::issue_107 ... ok
test conn::test::should_connect_without_database ... ok
test conn::test::should_execute_init_queries_on_new_connection ... FAILED
test conn::test::should_connect ... FAILED
test conn::test::should_expose_query_result_metadata ... ok
test conn::test::should_first_exec_statement ... ok
test conn::test::should_handle_binary_multiresult_set_with_error ... FAILED
test conn::test::should_handle_local_infile_globally ... FAILED
test conn::test::should_handle_local_infile_locally ... FAILED
test conn::test::should_handle_multiresult_set_with_error ... FAILED
test conn::test::should_handle_multiresult_set_with_local_infile ... FAILED
test conn::test::should_hold_stmt_cache_size_bound ... FAILED
test conn::test::should_not_cache_statements_if_stmt_cache_size_is_zero ... FAILED
test conn::test::should_not_panic_if_dropped_without_tokio_runtime ... ok
test conn::pool::test::aa_should_hold_bounds2 ... ok
test conn::test::should_prep_exec_statement ... ok
test conn::test::should_prepare_statement ... ok
test conn::pool::test::should_check_inactive_connection_ttl ... ok
test conn::test::should_perform_queries ... FAILED
test conn::pool::test::zz_should_check_wait_timeout_on_get_conn ... FAILED
test conn::test::should_read_binlog ... FAILED
test conn::test::should_reset_the_connection ... FAILED
test conn::test::should_query_drop ... ok
test opts::test::should_convert_ipv6_url_into_opts ... ok
test opts::test::should_convert_url_into_opts ... ok
test opts::test::should_panic_on_invalid_scheme - should panic ... ok
test opts::test::should_panic_on_invalid_url - should panic ... ok
test opts::test::should_panic_on_unknown_query_param - should panic ... ok
test opts::test::should_parse_compression ... ok
test opts::test::test_builder_eq_url ... ok
test conn::test::should_run_transactions ... FAILED
test io::test::should_connect_with_keepalive ... ok
test queryable::query_result::tests::dropped_query_result_should_emit_errors_on_cleanup ... ok
test conn::test::should_execute_statement ... ok
test query::tests::should_run_bin_query ... ok
test conn::pool::test::should_work_if_pooled_connection_operation_is_cancelled ... ok
test conn::pool::test::issue_126_should_cleanup_errors_in_multiresult_sets has been running for over 60 seconds
test conn::pool::test::should_ignore_non_fatal_errors_while_returning_to_a_pool has been running for over 60 seconds
test conn::test::should_provide_multiresult_set_metadata has been running for over 60 seconds
test query::tests::should_run_text_query has been running for over 60 seconds
test queryable::query_result::tests::should_handle_multi_result_sets_where_some_results_have_no_output has been running for over 60 seconds
test queryable::query_result::tests::should_handle_mutliresult_set has been running for over 60 seconds
test queryable::query_result::tests::should_iterate_over_resultset has been running for over 60 seconds
test queryable::query_result::tests::should_map_resultset has been running for over 60 seconds

Do you run these tests locally? If so, how do I set up my development machine such that I can run these tests?

Please look at how CI environment being setup:
https://github.com/blackbeam/mysql_async/blob/efe51e03492ee25a3615442f17c2256a69e51a68/azure-pipelines.yml#L111

That worked once I set DATABASE_URL=mysql://root:password@127.1:3307/mysql, thanks!
I'd like to submit a PR to add that to documentation somewhere, do you prefer README.md or CONTRIBUTING.md?

Please look at the updated README.md (the "Testing" section). Feel free to improve.


Manual check not working

the code for my profileScraper is below, it opens the Chromium window but closes before I can finish the recaptcha. if you know what's going on and if you could fix it that would be amazing.
const profileScraper = await scrapedin({
  email: LINKEDIN_EMAIL, password: LINKEDIN_PASSWORD, isHeadless: false, hasToLog: true
})
  .catch(err => {
    console.error(err);
  });

this is what it logs and the error message
scrapedin: 2019-10-01T13:56:57.535Z info: [login] logging at: https://www.linkedin.com/login
scrapedin: 2019-10-01T13:57:13.591Z warn: [login] successful login element was not found
scrapedin: 2019-10-01T13:57:13.594Z warn: [login] manual check was required
Error: linkedin: manual check was required, verify if your login is properly working manually or report this issue: https://github.com/leonardiwagner/scrapedin/issues
    at page.waitFor.then.catch (/Users/nickedwards/RupieNetwork/node_modules/scrapedin/src/login.js:62:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

there is also another message
Unhandled Rejection at: Error: Protocol error (Runtime.callFunctionOn): Target closed.

@nickmedwards  we just released v1.0.9 please update your version, now you can log in via cookies, see this tutorial: https://github.com/linkedtales/scrapedin/wiki/Using-Cookies-To-Login
if you still wants to login via email and password  please check this tip: https://github.com/linkedtales/scrapedin/wiki/Tips increasing the waitTimeMs on profileScraper function and it'll wait for your manual check time
really sorry for the late response, I was too busy working in this new release

Closing due to lack of feedback.


Is there an API Specification document for aeron?

I first know about Aeron and want to quick first using api do some test. Is there an API Specification document? thanks

Please ask questions on Stackoverflow.
API documentation: https://www.javadoc.io/doc/io.aeron/aeron-all/latest/index.html


uploading CVAT 1.1 XML file

Couldn't upload annoatarions on CVAT online platform it was working just fine yesterday

Couldn't upload annoatarions on CVAT online platform it was working just fine yesterday

Facing the same issue. The task is getting created but whenever I try to import annotations in any format, nothing gets uploaded. Hopefully this gets fixed soon with high priority.

@dvkruchinin , Can you take a look at this issue?

Can you take a look at this issue?

@Marishka17
Perhaps the author of the change in the code should look at this. I was only engaged in adapting tests.


Table is not "responsive"

If there is a table in the content, this will prevent the responsive UI from auto-adjusting.  Is it possible to include class for making a table "responsive" as well?

Unfortunately table tag usage in teh html cannot be transformed to be responsive, since that could format the content inside of the table. This is basically a limitation in the html rendering. Theoretically you could convert table on fly to divs, but that can cause issues with the content in the table, so we can't perform that automatically as part of this generic solution.


Support Foreground Mode

For covering the case of removing the application from recent apps without stop downloading easily.

Hello,
According to you we have to start all tasks again.  and it'll be handled by filedownloder service. but my problem is when i kill application from recent apps, download files should continue downloading. In the current scenario it stops downloading as soon as i kill application from recent apps.
So can you please help me  with this ?

@deeppandya Yes, We can handle such problem in this way.

@deeppandya Please fetch the latest code in master branch, and run the NotificationDemoActivity, it will cover your want.

Has been supported in v0.2.4.


Specifying queue name in SQS send_message

How I can specify my queue name in the url of the request?
I couldn't find the parameter that accepts the queue name in the method.
https://hexdocs.pm/aws/AWS.SQS.html#send_message/3
send_message(client, input, options \\ [])
    client = AWS.Client.create("access_key", "client_secret", "us-east-1")

    msg = %{
      "MessageBody" => Jason.encode!(%{some_key: "message"})
    }

    # Where to put queue_name?
    client |> AWS.SQS.send_message(msg)

Its sending POST to https://sqs.us-east-1.amazonaws.com:443/. Instead we need to send it to the queue url.
https://sqs.us-east-1.amazonaws.com:443/account_number/queue_name

Hi @justcoding121 :wave:
According to the official guides, the queue is set by the QueueUrl parameter, which is the URL you mentioned.
See: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html
Please feel free to re-open if this doesn't work. :)

Thanks! that worked.
I was looking at a different documentation, which shows queue name in the url.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#structure-post-request


Android: Close websocket properly when remote server initiates close

When the remote server closes the websocket, the app doesn't get a 'close' event in Android, There is no issue on iOS.
Test Plan:
After making the changes, the app behaved similar to iOS. The 'close' event was sent on WebSocket on android as well.
Changelog:
[Android] [Fixed] - Close websocket properly on android when remote server initiates close

@facebook-github-bot shipit


Added Styles and hovering effect and animations to the kitter Website #939

Added Styles and hovering effect and animations to the kitter Website #939

Title : Added Styles and hovering effect and animations to the kitter Website
Issue No. : #939
Code Stack : HTML, CSS and JS
Close #939

Updated style.css
Added Product Card Hover Effects
Smooth scaling on hover
Smooth transition
Title color change on hover
Styled the "Add to Cart" icon
Added a border to add to cart
Styling the image on hover
Added padding to product card
Added styles to contact form

Video (mandatory)

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[ ] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor

@apu52 Please merge this PR and label it under SSOC


Difficulty with ipyvolume dev installation

I'm not able to get any ipyvolume figure to display. I assume there's something odd about my installation & not your code, since I was able to display scatterplots with ipyvolume yesterday.
If I run this in a jupyter notebook...
import ipyvolume as ipv
import numpy as np
x, y, z = np.random.random((3, 10000))
ipv.scatter(x, y, z, size=1, marker="sphere")

Then the notebook cell finishes executing but a figure does not display. The whitespace "gap" between notebook cells does increase ever so slightly, so it thinks it's doing something even if it's not passing the figure back to the notebook (not sure if that's helpful to know).  I've tried this out in Chrome 67.0.3396.99, Firefox 61.0.1, and Safari 11.1.2 (13605.3.8) , all of which behave similarly.
Using the %debug magic doesn't give me a lot to go on:
ERROR:root:No traceback has been produced, nothing to debug.
Running that code snippet directly from the terminal gives me this:
>>> ipv.scatter(x, y, z, size=1, marker="sphere")
Scatter(color_selected=array('white', dtype='<U5'), geo='sphere', line_material=ShaderMaterial(), material=ShaderMaterial(), size=array(1), size_selected=array(2.6), texture=None, x=array([0.29612904, 0.61790471, 0.89832335, ..., 0.59870299, 0.36987678,
       0.55422571]), y=array([0.35099295, 0.67923114, 0.42859599, ..., 0.68923355, 0.72832679,
       0.1836826 ]), z=array([0.45390305, 0.46995747, 0.98699631, ..., 0.10587837, 0.51930286,
       0.91557696]))

I think there must be something very different about my setup. Are you working with the master branch of any of the ipyvolume dependencies?
I've tried switching between ipyvolume version 0.4.5, 0.4.6, the master branch, and the multivolume branch in pull request https://github.com/maartenbreddels/ipyvolume/pull/143. I don't think anything about my version of jupyter, etc. could have changed in the last 24 hours. Any suggestions are welcome!
Here are details of my environment.
# Name                    Version                   Build  Channel
appnope                   0.1.0                     <pip>
backcall                  0.1.0                     <pip>
bleach                    2.1.3                     <pip>
ca-certificates           2018.03.07                    0
certifi                   2018.4.16                py36_0
chardet                   3.0.4                     <pip>
decorator                 4.3.0                     <pip>
entrypoints               0.2.3                     <pip>
html5lib                  1.0.1                     <pip>
idna                      2.7                       <pip>
ipydatawidgets            3.1.0                     <pip>
ipykernel                 4.8.2                     <pip>
ipyscales                 0.2.2                     <pip>
ipython                   6.5.0                     <pip>
ipython-genutils          0.2.0                     <pip>
ipyvolume                 0.4.5                     <pip>
ipywebrtc                 0.3.0                     <pip>
ipywidgets                7.4.0                     <pip>
jedi                      0.12.1                    <pip>
Jinja2                    2.10                      <pip>
jsonschema                2.6.0                     <pip>
jupyter-client            5.2.3                     <pip>
jupyter-core              4.4.0                     <pip>
libcxx                    4.0.1                h579ed51_0
libcxxabi                 4.0.1                hebd6815_0
libedit                   3.1.20170329         hb402a30_2
libffi                    3.2.1                h475c297_4
MarkupSafe                1.0                       <pip>
mistune                   0.8.3                     <pip>
nbconvert                 5.3.1                     <pip>
nbformat                  4.4.0                     <pip>
ncurses                   6.1                  h0a44026_0
notebook                  5.6.0                     <pip>
numpy                     1.15.0                    <pip>
openssl                   1.0.2o               h1de35cc_1
pandocfilters             1.4.2                     <pip>
parso                     0.3.1                     <pip>
pexpect                   4.6.0                     <pip>
pickleshare               0.7.4                     <pip>
Pillow                    5.2.0                     <pip>
pip                       10.0.1                   py36_0
prometheus-client         0.3.1                     <pip>
prompt-toolkit            1.0.15                    <pip>
ptyprocess                0.6.0                     <pip>
Pygments                  2.2.0                     <pip>
python                    3.6.6                hc167b69_0
python-dateutil           2.7.3                     <pip>
pythreejs                 1.1.0                     <pip>
pyzmq                     17.1.0                    <pip>
readline                  7.0                  hc1231fa_4
requests                  2.19.1                    <pip>
Send2Trash                1.5.0                     <pip>
setuptools                40.0.0                   py36_0
simplegeneric             0.8.1                     <pip>
six                       1.11.0                    <pip>
sqlite                    3.24.0               ha441bb4_0
terminado                 0.8.1                     <pip>
testpath                  0.3.1                     <pip>
tk                        8.6.7                h35a86e2_3
tornado                   5.1                       <pip>
traitlets                 4.3.2                     <pip>
traittypes                0.2.1                     <pip>
urllib3                   1.23                      <pip>
wcwidth                   0.1.7                     <pip>
webencodings              0.5.1                     <pip>
wheel                     0.31.1                   py36_0
widgetsnbextension        3.4.0                     <pip>
xz                        5.2.4                h1de35cc_4
zlib                      1.2.11               hf3cbc9b_2

Some good debugging tips from Maarten in the thread for PR https://github.com/maartenbreddels/ipyvolume/pull/143. Copied here for reference. I'm going to give these a go and check back in later.

Did you try installing master as well. Every time you pull it you need to rebuild the javascript library (easiest is to do pip install .) or follow the dev instructions. Happy to help you debug this. It also helps if you share a screenshot or paste of the development console (javascript errors). Also, try opening a new notebook (and keep the dev console open to avoid caching).

Ok, I've tried installing the development version from the master branch. I think I'm running into problems becuase of missing node peer dependencies. How should I add those missing dependencies?
I've tried to follow the dev install instructions from the README, like this...
$ git clone https://github.com/maartenbreddels/ipyvolume.git
$ cd ipyvolume
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipyvolume
$ jupyter nbextension enable --py --sys-prefix ipyvolume
$ jupyter nbextension enable --py --sys-prefix widgetsnbextension
$ jupyter nbextension enable --py --sys-prefix pythreejs
$ jupyter nbextension enable --py --sys-prefix ipywebrtc
$ jupyter nbextension enable --py --sys-prefix ipyvolume
$ cd js
$ npm install

Everything seems to go well until the step for npm install
That produces these warnings:
npm WARN<EMAIL_ADDRESS>requires a peer of webpack@2 || 3 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of file-loader@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No license field.

I did try giving it a go installing those dependencies (using npm install dependecyName at the command line), but this wasn't super effective. I thought about, but have not tried manually editing the package.json file (I hear that's bad practise, and I don't know enough about node to stay out of trouble).
I have node version v8.11.3, and npm version 5.6.0
What should I do to resolve the warnings?

I think you can ignore those warnings, it seems to work here with those versions. Did you try if it works?

Ok, opening a new jupyter notebook and running this code:
import ipyvolume as ipv
import numpy as np
x, y, z = np.random.random((3, 10000))
ipv.scatter(x, y, z, size=1, marker="sphere")

Produced these javascript errors in the developer console:
Error: Could not create a view for model id
4b8704aa80b742eb9ce82c73617c5948
    at promiseREjection (utils.js:119)

Error: Could not create a view for model id
    at promiseREjection (utils.js:119)

Uncaught (in promise) TypeError: Cannot read property
'scene_scatter' of undefined
    at child.add_to_scene (scatter.js:145)
    at child.render (scatter.js:100)
    at manager-bas.js:97

Uncaught (in promise) TypeError: Cannot read property
'scene_scatter' of undefined
    at child.add_to_scene (scatter.js:145)
    at child.render (scatter.js:100)
    at manager-bas.js:97

that's ok, (ok, it's an unrelated issue), you forgot ipv.show()

Aw yeah, up and running with the multivolume rendering branch now! Thanks @maartenbreddels
(There is a runtime warning here, but at least this doesn't cause a problem with the display.)
/Users/genevieb/Documents/GitHub/Code_repositories/ipyvolume/ipyvolume/serialize.py:81: RuntimeWarning: invalid value encountered in true_divide
  gradient = gradient / np.sqrt(gradient[0]**2 + gradient[1]**2 + gradient[2]**2)

ds = ipv.datasets.aquariusA2.fetch()
fig = ipv.figure(debug=True)
s = 4
v0 = ipv.volshow(ds.data[::s,::s,::s], extent=[[0,100]]*3)
v1 = ipv.volshow(ds.data[::s,::s,::s], extent=[[75,175]]*3)
ipv.show()

Great, thanks for the feedback!


Add a const base_expr_visitor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap-engine-udig

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
Following on the changes in
https://github.com/falcosecurity/libs/pull/837, add a const variant of base_expr_visitor. This allows definining subclasses that want to traverse an ast read-only without implementng all the methods.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mstemm
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:

OWNERS [mstemm]

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

LGTM label has been added.  Git tree hash: 4021a23017d81d123ee64e0799fd659c2b1b32fc

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, mstemm
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:

OWNERS [jasondellaluce,mstemm]

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, LucaGuerra, mstemm
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:

OWNERS [LucaGuerra,jasondellaluce,mstemm]

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


Rework test without ci

This is the first part of work for #112.

Just a note: If you want to run it locally, change line 15 of test/MODCLUSTER-755/mcmps.sh  (I should change the name here too...) from

https://raw.githubusercontent.com/modcluster/mod_proxy_cluster/main/test/native/MODCLUSTER-755/mod_proxy_cluster.conf

to

https://raw.githubusercontent.com/modcluster/mod_proxy_cluster/main/test/native/MODCLUSTER-734/mod_proxy_cluster.conf

or

https://raw.githubusercontent.com/jajik/mod_proxy_cluster/rework-test-without-ci/test/MODCLUSTER-755/mod_proxy_cluster.conf

so that it won't fail while getting the conf file.

It's nearly ready. If there's anybody interested and wants to try it out, it is necessary to change urls in all CONF files to the current old structure (or change the repo/branch to this PR).

Alright, so this is ready for the review!
Bear in mind that paths are in such a way we want them to be in main branch – this means that they do not work currently and you have to change them locally if you want to test it (please do so). That means:

set MPC_CONF variable to the current CONF location, i.e., https://raw.githubusercontent.com/modcluster/mod_proxy_cluster/main/test/httpd/mod_proxy_cluster.conf
edit MODCLUSTER-XYZ/testit.sh files to contain https://raw.githubusercontent.com/modcluster/mod_proxy_cluster/main/test/native/MODCLUSTER-XYZ/mod_proxy_cluster.conf (there is additional native directory in the path). For MODCLUSTER-755, use MODCLUSTER-734 conf file as there is no conf file for the former at the moment

Everything else should be fine (or more accurately I can't think of anything else at the moment) and there are updated READMEs too, so that should help.

Additionally, I tweaked httpd's README, I moved tomcat container stuff into a separate directory (to be consistent with the httpd), and I made some minor tweaks in test for MODCLUSTER-785.

I'm now working on CI support and in order to ease merging of it, I updated the conf file with CI's IP (beside that, I cleaned it a bit too).

Since this is deleting all the Java-based tests – does that mean that all those tests are rewritten? Perhaps have you @jajik done a brief analysis that we are losing any coverage?

Since this is deleting all the Java-based tests – does that mean that all those tests are rewritten? Perhaps have you @jajik done a brief analysis that we are 'losing' any coverage? (and 'losing' is an overstatement here since they aren't run now anyway)

No, they are not rewritten.
I was not able to get it running, but I did not make an analysis. It seemed that some tests were duplicated in what was rewritten, and some are going to be lost (e.g., MODCLUSTER-349), but since it was not used at all, I let it be. You're right that some kind of analysis would be warranted...
What I propose is to merge what we have (if you have no issue with it, of course) and create a new issue. I'll go through the java part and eventually rewrite it in "the new way" if it'll make sense. Does it seem reasonable to you?

Since this is deleting all the Java-based tests – does that mean that all those tests are rewritten? Perhaps have you @jajik done a brief analysis that we are 'losing' any coverage? (and 'losing' is an overstatement here since they aren't run now anyway)

No, they are not rewritten.
I was not able to get it running, but I did not make an analysis. It seemed that some tests were duplicated in what was rewritten, and some are going to be lost (e.g., MODCLUSTER-349), but since it was not used at all, I let it be. You're right that some kind of analysis would be warranted...
What I propose is to merge what we have (if you have no issue with it, of course) and create a new issue. I'll go through the java part and eventually rewrite it in "the new way" if it'll make sense. Does it seem reasonable to you?

^^ @rhusar

Since this is deleting all the Java-based tests – does that mean that all those tests are rewritten? Perhaps have you @jajik done a brief analysis that we are 'losing' any coverage? (and 'losing' is an overstatement here since they aren't run now anyway)

No, they are not rewritten.
I was not able to get it running, but I did not make an analysis. It seemed that some tests were duplicated in what was rewritten, and some are going to be lost (e.g., MODCLUSTER-349), but since it was not used at all, I let it be. You're right that some kind of analysis would be warranted...
What I propose is to merge what we have (if you have no issue with it, of course) and create a new issue. I'll go through the java part and eventually rewrite it in "the new way" if it'll make sense. Does it seem reasonable to you?

^^ @rhusar

Yes, that's fine doing this as a post-merge task as it doesn't look like there is inclination to develop and use Java-based tests here.

@jajik One last rebase please and I ll merge this today :-)

@jajik One last rebase please and I ll merge this today :-)

Sure thing, it's done. Thanks!

fyi I've just updated two comparisons in JBCS-1236/testit.sh and curlloop.sh so that it works outside of bash too.


Long running operation set to done before dependencies are done

Note sure if you would consider this a bug, but I thought I would flag it because the behavior is not expected to me.
Actual Behaviour
When an operation has dependencies, it's done status is set to true before the dependencies are done. For example, when an AID with witnesses is creating a registry, you get:
{
  name: 'registry.EMr2ZK2Y5CpACEM6iHJQPrI4oHk7xg6QjUK_Uw0YFFld',
  metadata: {
    anchor: {
      i: 'EHmDHffYsNVW8-T-IRD2zcLEopTcE96ZugeKWY_GdxRK',
      s: '0',
      d: 'EHmDHffYsNVW8-T-IRD2zcLEopTcE96ZugeKWY_GdxRK'
    },
    depends: {
      name: 'witness.EMr2ZK2Y5CpACEM6iHJQPrI4oHk7xg6QjUK_Uw0YFFld',
      metadata: [Object],
      done: false,
      error: null,
      response: null
    }
  },
  done: true,
  error: null,
  response: {
    anchor: {
      i: 'EHmDHffYsNVW8-T-IRD2zcLEopTcE96ZugeKWY_GdxRK',
      s: '0',
      d: 'EHmDHffYsNVW8-T-IRD2zcLEopTcE96ZugeKWY_GdxRK'
    }
  }
}

Notice how the top-level operation is done, but it's dependencies are not. The same happens when issuing credentials:
{
  name: 'credential.EAM5C0JG9_zpMhKg97t-Rw9QaeKiYpPPXhmQQXr0GM8m',
  metadata: {
    ced: {
      ...
    },
    depends: {
      name: 'witness.EAM5C0JG9_zpMhKg97t-Rw9QaeKiYpPPXhmQQXr0GM8m',
      metadata: { sn: 2 },
      done: false,
      error: null,
      response: null
    }
  },
  done: true,
  error: null,
  response: {
    ced: {
      ...
    }
  }
}

Expected behaviour
Top level operation done should also depend on its child operations. So something like this done = depends.done === true ? self.done : false
Notes
This could be implemented at client level of course. But i suspect others will run into the same issue unless this is well documented.

There's a client side workaround for this in the integration tests
https://github.com/WebOfTrust/signify-ts/blob/6574f3089fdc95abd52ff08b43f569107ec1009f/examples/integration-scripts/utils/test-util.ts#L64-L82

So depends isn't really a "thing" in KERIA. It's just metadata stored with the operation that the client interprets. Given the current code structure, it could make sense to recursively check to make sure operations are done.
However, I'm a bit torn though as we will eventually need event driven support (see #290). It would be problematic to not be able to emit the event because the dependent events are not done, and this adds complexity of checking if the dependencies are done at emit time.
So in an event driven architecture, the client ends up needing to aggregate the event completions anyway, I think. Maybe it's better if they are consistent and better documented. What do you think?

Ok. Yes I had a similar feeling when I looked into that code recently.
For now, I think it is probably fine to leave as is and it would be up to the client to do the right thing.
But I still find it a bit odd that the registry operation is considered done without the witness receipts. That is at least how I interpret the first example.

The registry operation calls findAnchoringSealEvent - which from a quick glance, seems like it waits until it's fully witnessed. Perhaps there's a bug there.

It depends on what the role of the particular participant is.  FindAnchoringSealEvent finds events anchored in KELs in the LMDB database. The rules for what events are "accepted" or first seen in a KEL depend on the relation of the participant to a given KEL. If the participant is a Controller of the KEL then it will be accepted without witness receipts. If the participant is a Delegator of the KEL then is will NOT be accepted without witness receipts. If the participant is a witness of the KEL then is will be accepted with only the self generated receipt not fully receipted. IF the participant is anyone else i.e a Watcher the the event will NOT be accepted into the KEL until is is fully receipted and if delegated until the  anchoring seal has been find in the Delegators's KEL.

THis is one reason why I strongly suggest that KERIA agents should run local watchers and then make decisions based on the status of the local watcher's KEL not a local controller's KEL.

Or at least unit tests should understand what they are testing for. Is is the view of the KEL that a watcher will see or the view of the KEL as some other participant will see? It matters for the test.


Prevent closing

Hey, first of all, this is great library and good job! I wonder if it's possible to prevent bottom sheet from closing, lets say to show some warning for user in some cases.

Hey @pranavbabu I'm glad this package is useful to you.
And yes! you can disable closing by just setting closeOnDragDown  prop to false
E.g
<BottomSheet ref={sheetRef} closeOnDragDown={false}>
...
</BottomSheet/>

There's onClose callback


🚀 Feature: Add WhatsApp with Vonage for .NET

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code. 🤩 You can learn more at our official Appwrite Functions docs.
Your task is to implement the WhatsApp with Vonage function in .NET. You can look at the existing Appwrite Functions Templates in another coding language.
Your function should behave and be implemented similarly to existing WhatsApp with Vonage Node.js template.
Tasks summary:

[ ] Fork & clone Appwrite's templates repository
[ ] Create a branch feat-implement-whatsapp-with-vonage-dotnet
[ ] Write code for the function in folder dotnet/whatsapp-with-vonage/.
[ ] Test the function using Appwrite, provide a video.
[ ] Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
[ ] Submit a pull request to our templates repository

If you need any help, contact us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

Hi @gewenyu99, I would like to work on this, can you please assign it to me...

Hi @gauravagrwal, I've assigned the issue to you! Happy Hacktoberfest 🎃!
Notes:

Please update us with your progress every 3 days, so that we know you are working on it.
Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

Hey @loks0n , i would like to work on this issue.

Hi @gauravagrwal reassigning the issue to the next person due to inactivity from your end. @heyhimansh the issue is yours now

Hi @heyhimansh is there an update from your end? The issue will be unassigned from you tomorrow, due to inactivity

Hi @Haimantika , yes, I've tried extensively, but I haven't been able to resolve the error. I kindly request that you assign this issue to someone else. I apologize for any inconvenience.

Can I work on this @Haimantika

hi @PalaniappanC , I have assigned the issue to you. Please do update us every 3 days to ensure it doesn't get reassigned. Thank you and happy hacking :)

Hi @tessamero I have setup the appwrite environment. Getting issue while setting up the dotnet runtime. Will fix this issue first and then will work on the code

Hi @tessamero I have setup the appwrite environment. Getting issue while setting up the dotnet runtime. Will fix this issue first and then will work on the code

You can always reach out to us on Discord

Hi folks I have contributed to a similar item like this. I would like to un assign myself and make way for other first time contributors like me.

@TejasMate looks like you're next in line, assigned to you.

Closing issue due to inactivity and hacktoberfest being over, thank you for taking the time to be part of hacktoberfest this year :)


http://localhost:4200/token 404 (Not Found)

I have copied all the files from dummy example app and I'm getting this error on login. Am I missing something?

OK, figured this out, I have to have a route for /token


[Protobuf]: Support Protobuf from Rust FFI

Is your feature request related to a problem? Please describe.
Currently, for protobuf models and transaction construction, we go through C++ and libprotobuf. It would be nice to be able to pass protobuf models, even in serialised forms in order to be able to build transactions entirely in Rust.
Describe the solution you'd like
#include <iostream>
#include "foo.pb.h"

// Function that receives a serialized Foo as a CByteArray and returns a deserialized Foo object
Foo deserialize_foo(CByteArray serialized_data) {
        // Create a new Foo object in C++
        Foo foo;

        // Deserialize the serialized Foo data into the C++ Foo object
        if (!foo.ParseFromArray(serialized_data.data, serialized_data.size)) {
            std::cerr << "Failed to parse serialized Foo." << std::endl;
        }

        // Return the deserialized Foo object
        return foo;
    }

// Function that receives a Foo message, serializes it, and returns a serialized CByteArray
fn serialize_foo(foo: &my_package::Foo) -> CByteArray {
    // Serialize the Foo message in Rust
    let serialized_foo = foo.write_to_bytes().unwrap();

    // Allocate memory for the serialized byte array in C++
    let serialized_data = unsafe {
        libc::malloc(serialized_foo.len()) as *mut u8
    };

    // Copy the serialized data into the allocated memory
    unsafe {
        std::ptr::copy_nonoverlapping(serialized_foo.as_ptr(), serialized_data, serialized_foo.len());
    }

    // Return the serialized byte array as a CByteArray
    CByteArray {
        data: serialized_data,
        size: serialized_foo.len(),
    }
}

Checklist

[ ] Add Protobuf library in rust crate, ensure it compiles on all platform
[ ] Generate all our protobuf models for rust, and be able to use them
[ ] Add unit tests that ensure the above task
[ ] Write helpers for serialising/deserialising (codegen them in C++?)
[ ] Try to build a tx with protobuf in rust, serialize it, get it in C++, sign it in C++ and ensure to have correct result

Resources

prost: prost is a fast and lightweight implementation of Protocol Buffers in Rust. It provides both code generation and runtime support for working with protobuf messages. Prost is widely used in the Rust community and is well-documented.
protobuf: The protobuf crate is the official implementation of Protocol Buffers in Rust. It provides both code generation and runtime support for working with protobuf messages. The protobuf crate is a more feature-rich implementation than prost, but it may be slower and more memory-intensive.
quick-protobuf: quick-protobuf is a fast implementation of Protocol Buffers in Rust that focuses on code generation. It generates Rust code that is optimized for performance and minimal memory usage. quick-protobuf is especially useful for working with large protobuf messages or in performance-critical applications.

Make sure you take into consideration of current protobuf-plugin

There are multiple ways to generate Proto files in Rust, but there is no a perfect one.

Generate the bindings in build.rs at compile time using pb-rs - a Protobuf compiler written in Rust. It doesn't depend on protoc compiler. This approach allows us to build Rust part, run unit and integration tests without running tools/install-dependencies (that loads and compiles C++ protobuf library and binaries).
Pros: Allows users to avoid installing protoc.
Cons: Uses a custom Protobuf compiler.
Require the user to first compile protoc using tools/install-dependencies script, and then allows to generate Rust files in build.rs at compile time using prost-build - a helper crate over protoc.
Cons: We won't be able to publish Rust crates separately from C++ part.
Check if the protoc is either compiled using tools/install-dependencies or installed through brew or apt-install.
Cons: If we publish the crates, user will have to manually install protoc.

I've followed the 1. approach as consider it the most optimal.


Cannot cross-build Haskell-OpenGL for Android

Issue description
I’d like to use nix to develop a SDL-based Haskell app for Android, but I can’t cross-compile the Haskell OpenGL library.
Steps to reproduce
~/build/nixpkgs $ nix-build -A pkgsCross.aarch64-android-prebuilt.haskellPackages.OpenGL
error: unsupported platform for Mesa
(use '--show-trace' to show detailed location information)

(At least this was the error message when doing this via reflex-platform, I cannot actually reproduce this at the moment with nixpkgs HEAD,  as it would require downloading 1.7GB, which the current hotel room connection does not really allow.)
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.0-2-amd64, Debian GNU/Linux, noversion`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.4`
find: '/nix/var/nix/profiles/per-user': No such file or directory

This was originally reported as https://github.com/reflex-frp/reflex-platform/issues/455.

Incidentially, it is possible to cross-compile Haskell SDL and OpenGL for Android, as shown by this project: https://gitlab.com/alleycatcc/haskell-android-sdl
I’d just prefer to use nix than docker :-)

Actually, I can’t run the above for what is likely an unrelated problem with nixpkgs HEAD:
[100%] Running all regression tests
/nix/store/954lfsfiv9vhrfgq9r7i52aijnzrhidv-python-2.7.15/bin/python2.7 /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/./bin/llvm-lit -sv /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/utils/lit /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/test
llvm-lit: /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/utils/lit/tests/lit.cfg:61: warning: Could not import psutil. Some tests will be skipped and the --timeout command line argument will not work.
-- Testing: 23291 tests, 8 threads --
Testing: 0 .. 10..
FAIL: LLVM :: CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll (5120 of 23291)
******************** TEST 'LLVM :: CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll' FAILED ********************
Script:
--
/tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/bin/llc -march=amdgcn -mcpu=verde -verify-machineinstrs < /tmp/nix-build-llvm-6.0.1.drv-0/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll | /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/bin/FileCheck -check-prefix=GCN -check-prefix=SI /tmp/nix-build-llvm-6.0.1.drv-0/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
/tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/bin/llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < /tmp/nix-build-llvm-6.0.1.drv-0/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll | /tmp/nix-build-llvm-6.0.1.drv-0/llvm/build/bin/FileCheck -check-prefix=GCN -check-prefix=VI /tmp/nix-build-llvm-6.0.1.drv-0/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
--
Exit Code: 1

Command Output (stderr):
--
<stdin>:107:40: error: GCN-NOT: string occurred!
 .amd_amdgpu_isa "amdgcn-unknown-linux-android-gfx601"
                                       ^
/tmp/nix-build-llvm-6.0.1.drv-0/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll:28:12: note: GCN-NOT: pattern specified here
; GCN-NOT: and
           ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

1 warning(s) in tests.
Testing Time: 252.31s
********************
Failing Tests (1):
    LLVM :: CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll

  Expected Passes    : 22189
  Expected Failures  : 138
  Unsupported Tests  : 963
  Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/tmp/nix-build-llvm-6.0.1.drv-0/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:361: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/tmp/nix-build-llvm-6.0.1.drv-0/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:368: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/tmp/nix-build-llvm-6.0.1.drv-0/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/x461sarmy3rw3k8v3dr7p7rx82ycgai8-llvm-6.0.1.drv' failed with exit code 2

LLVM bug reported separately as #56156.

You probably don’t want to build mesa on android. They aren’t going to work as well as the native driver. I think the ndk has its own opengl you can link agaibst?

Sorry, but this is lower than my usual comfort zone, as I usually deal with Haskell libraries. Do you mean that the Haskell libraries should depend on something else?

I’m not 100% sure but i suspect that haskell opengl does not work with the embedded versions of OpenGL provided by android. You might be able to use this one though:
http://hackage.haskell.org/package/opengles

In principle it can be made to work, as this docker-based project shows: https://gitlab.com/alleycatcc/haskell-android-sdl (the demo depends on the Haskell OpenGL version)…
ah, and there I find an interesting bit of information: The Haskell OpenGLRaw package has a flag -fosandroid that ought to be enabled on android.
There is also -fusegles2 – “Use OpenGL ES 2.x instead of OpenGL ES 3.x on Android”
The file https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/hackage-packages.nix does not make any provision to set that flag. So maybe that would help.
@peti, you seem to be an expert on this: Is there a way to set these flags correctly when building for Android? Would this prevent the android build from pulling in Mesa?

Oh ok. Yeah it looks like it should work. The headers and libraries should be provided by the ndk. Let me try to build it.

Is there a way to set these flags correctly when building for Android?

There are two functions, pkgs.haskell.lib.enableCabalFlag and pkgs.haskell.lib.disableCabalFlag, that you can use to create a variant of the default OpenGLRaw package with the appropriate flags enabled or disabled. You may also have to override the Mesa library that's being passed to the build function to some appropriate version. Check out the file pkgs/development/haskell-modules/lib.nix, which has lots of useful helpers to do this. https://nixos.org/nixpkgs/manual/#how-to-build-projects-that-depend-on-each-other shows how to configure those overrides in your ~/.config/nixpkgs/config.nix.
Generally speaking, I have not been able to re-produce the error you've mentioned in your initial post.
$ nix-build "<nixpkgs>" -A pkgsCross.aarch64-android-prebuilt.haskellPackages.OpenGL

gives no evaluation errors when I run it on a current version of Nixpkgs master.

… gives no evaluation errors when I run it on a current version of Nixpkgs master.

indeed, it no longer does that here either. Must have been related to reflex-platform somehow, or the version of nixpkgs pinned there. So ignore that part, sorry.
So may this all works once #56156 is fixed?

#56156 has a fix at #56272 but now this is blocked by #56274.


[BUG] Ticking Block Entity upon building a rocket.

Version of Advanced Rocketry
1.16.5-2.0.0-12-universal
Have you verified this is an issue in the latest unstable build

[x] Y
[ ] N
[ ] N/A

Version of LibVulpes
1.16.5-1.0.2-25-universal
Version of Minecraft
1.16.5
Does this occur without other mods installed

[ ] Y
[ ] N
[x] N/A

Crash report or log or visualVM (if applicable)
https://pastebin.com/ekYVBpN5
Description of the problem
So i was making a rocket for the first time. Had everything set up, 5x5 launch pad and all that. Hit build on the constructor, and as soon as it finished, game crashed. Tried to load back in with no avail, and i was met with a ticking block entity error in my logs.
Also, if this is relevant, there was a planet ID chip inside the guidance computer before rocket was built. Who knows, might be the block data of the computer that's causing this >.>

Lithium is currently incompatible with our StorageChunk data format for storing rockets. Go talk to them about this and see what they can do (or what they think we should do), and link that issue here if possible


Add example for time series

Adds an example for a time series plot of electrons in three different energy bins.

Very nice, thank you!


bower.json misconfigured

Hi,
First of all, thank you for your great job.
There is a problem in your bower.json : first, you should only expose min or src files they are both exposed as main files, second you should remove the slash in the path the actual paths are
     "/src/autocomplete.js",
      "/src/autocomplete.css",
      "/dist/autocomplete.min.js",
      "/dist/autocomplete.min.css"

Thank you in advance

+1
Using the Grunt task Wiredep, all four are automatically pulled in. There is only need for the .min files.

Fixed with 8ee626a


action: Run version command with --client flag

Specify --client flag so that the command succeeds even if .kube/config does not exist.
Ref: https://github.com/cilium/cilium/pull/34914

✅ tested the change with aks workflow: https://github.com/cilium/cilium-cli/actions/runs/10895501771/job/30234132660


Add version attribute to force fields

PR Summary:
Fixes  #187, would be useful in  #290

Adds version as an attribute of the ForceField element in the XML schema
Adds version as an attribute to the Forcefield class
Adds a simple test via reading a toy XML file and asserting the above two versions are equal

This is not done elegantly right now; 99% of the XML loading is done by OpenMM, so I had to do this after the fact and only dealing with the case of passing a single XML, which is all I believe we do right now. I'm not sure what the target for this PR should be, but I think we should soon have a bigger discussion about how we want to handle multiple XML files. The OpenMM use case is basically Forcefield('protein_model.xml', 'water_model.xml'), i.e. there is a clean interface between constituents and not any expected overlap between the two. This doesn't cleanly map on to our use cases, I don't think. Related to #297 #262 #149
If this seems reasonable I can do the same for names (#153), here or in another PR. Requesting a few specific reviewers since I have discussed this with many people over the past year or two (but only gotten to it now 🤕)
PR Checklist

[x] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[x] Code is (approximately) PEP8 compliant
[x] Issue(s) raised/addressed?

 /Users/ayang41/Programs/foyer/foyer/tests/test_forcefield.py(511)test_load_version_number()
-> assert lj_ff.version == '0.4.1'
(Pdb) l
506  	            assert str(item.xpath('comment()')) == '[<!--Note: original overrides="opls_144"-->]'
507
508  	def test_load_version_number():
509  	    lj_ff = Forcefield(get_fn('lj.xml'))
510  	    import pdb; pdb.set_trace()
511  ->	    assert lj_ff.version == '0.4.1'
[EOF]
(Pdb) foo = Forcefield(forcefield_files=[get_fn('lj.xml')])
(Pdb) foo.version
'foobar'
(Pdb) lj_ff.version
'0.4.1'
(Pdb)

You have an extra foobar debug line in the init
Did you want to cover the case where someone passes a list of XML files? This PR appears to only cover the case of passing a single XML string, not a list (which is what most people tend to do anyways...)

Did you want to cover the case where someone passes a list of XML files? This PR appears to only cover the case of passing a single XML string, not a list (which is what most people tend to do anyways...)

I should be able to rework it to handle multiple files but I also think this might be a feature we want to drop at some point.

I'm happy with where this is at now. If this approach is ok, I will duplicate this functionality to support a name attribute.


[Incompatibility] Bio industries plays nice with Bob's mods now, Reskins needs to account for this

Resin recipe (bob-resin-wood) is overwritten by Bio
Wooden board recipe (bi-press-wood) has pulp+resin to make wooden boards, composite recipe
Saplings got overridden, need to be restored (seedling, bob-seedling)
Bio sapling recipes:

bi-seedling-1 (seedling + water)
bi-seedling-2 (seedling + bi-ash)
bi-seedling-3 (seedling + fertilizer)
bi-seedling-4 (seedling + bi-adv-fertilizer)

Bio wood production recipes:

bi-logs-1 (wood + water)
bi-logs-2 (wood + bi-ash)
bi-logs-3 (wood + fertilizer)
bi-logs-4 (wood + bi-adv-fertilizer)

Bio boiler needs to be reskinned for consistency

tint: 0.5, 0.5, 0.1, 0.7

wooden-board recipe should have board + wood composite
Bio battery bi-battery (battery + bi-biomass)
bi-sulfer (sulfur + bi-ash)
bi-acid (sulfuric-acid + bi-biomass)
bi-basic-gas-processing (petroleum-gas + coal/resin)
Coke pellets

bi-coke-coal (pellet-coke + coal)
bi-pellet-coke (pellet-coke + solid-fuel
bi-pellet-coke-2 (pellet-coke + carbon)

Speaking of carbon, need to put that back (carbon / carbon)
Bio seeds:

bi-seed-1 (bi-seed + water)
bi-seed-2 (bi-seed + bi-ash)
bi-seed-3 (bi-seed + fertilizer)
bi-seed-4 (bi-seed + bi-adv-fertilizer)

One-off composites

bi-woodpulp (bi-woodpulp + wood)
bi-resin-pulp (resin + bi-woodpump)
bi-wood-from-pulp (wood + bi-woodpulp, resin)
bi-ash-2 (bi-ash + bi-woodpulp)
bi-ash-1 (bi-ash + wood)
bi-charcoal-1 (wood-charcoal + bi-woodpulp)
bi-charcoal-2 (wood-charcoal + wood)
bi-solid-fuel (solid-fuel + wood-bricks)
bi-stone-brick (stone-brick + bi-ash/stone-crushed)
bi-crushed-stone-1 (stone-crushed + stone
bi-crushed-stone-2 (stone-crushed + concrete)
bi-crushed-stone-3 (stone-crushed + hazard-concrete)
bi-crushed-stone-4 (stone-crushed + refined-concrete)
bi-crushed-stone-5 (stone-crushed + refined-hazard-concrete)
bi-fertilizer-1 (fertilizer + sulfur)
bi-fertilizer-2 (fertilizer + sodium-hydroxide)
bi-adv-fertilizer-1 (bi-adv-fertilizer + alien-artifact)
bi-adv-fertilizer-2 (bi-adv-fertilizer + bi-biomass)
bi-plastic-1 (plastic-bar + wood)
bi-plastic-2 (plastic-bar + bi-cellulose)

But since v1.2.0 of Bio Industries will have a significant number of graphics revisions, compatibility will be limited to repairing what is overwritten.


crash during discovery

Hey @vmartos thanks for your library! I'm getting an exception on using Discover
try
            {
                var onvifDiscovery = new OnvifDiscovery.Discovery();
                var devices = (await onvifDiscovery.Discover(5)).ToList();
                lock (_lock)
                {
                    _discoveredDevices = devices;
                }
            }
            catch(Exception ex)
            {
                Logger.LogException(ex, "ONVIF Discovery");
            }

it's always throwing an exception after the timeout finishes with "An existing connection was forcibly closed by the remote host".

_discoveredDevices is never populated. This is a net standard 2.0 project.
Stack trace:
"   at System.Net.Sockets.Socket.DoBeginReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint endPointSnapshot, SocketAddress socketAddress, OverlappedAsyncResult asyncResult)
at System.Net.Sockets.Socket.BeginReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP, AsyncCallback callback, Object state)
at System.Net.Sockets.UdpClient.BeginReceive(AsyncCallback requestCallback, Object state)
at System.Threading.Tasks.TaskFactory1.FromAsyncImpl(Func3 beginMethod, Func2 endFunction, Action1 endAction, Object state, TaskCreationOptions creationOptions)
at System.Net.Sockets.UdpClient.ReceiveAsync()
at OnvifDiscovery.Client.OnvifUdpClient.d__3.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OnvifDiscovery.Common.ExtensionMethods.d__01.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at OnvifDiscovery.Common.ExtensionMethods.<WithCancellation>d__01.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at OnvifDiscovery.Discovery.d__4.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OnvifDiscovery.Discovery.d__3.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at CoreLogic.Onvif.Discovery.d__6.MoveNext() in D:\Projects\agent-service\CoreLogic2\Onvif\Discovery.cs:line 51"

... needed to add
catch(Exception ex) {
// Other exception
}
to line 91 of Discovery.cs

Hello @ispysoftware, Thanks for reporting the issue. Can I know in which OS and target runtime is running the .netstandard library? I could not reproduce it. Did you reproduce it constantly? or some of the times? just to know if some sort of a race condition between the udpClient.Close() and udpClient.ReceiveAsync()
You need to add the following to make it working?
} finally {
  try {
    client.Close ();
  } catch {
    // socket close failed
  }
}

or the following?
} catch (OperationCanceledException) {
// Either the user canceled the action or the timeout has fired
} catch (Exception) {
// ReceiveAsync failed
} finally {
  client.Close ();
}

But yeah this can happen because UdpClient.ReceiveAsync does not have a CancellationToken, so what I do is the following:
                /// <summary>
		/// Used to provide cancellation possibility to any Async Methods returning a Task
		/// </summary>
		internal static async Task<T> WithCancellation<T> (this Task<T> task, CancellationToken cancellationToken)
		{
			var tcs = new TaskCompletionSource<bool> ();
			using (cancellationToken.Register (s => ((TaskCompletionSource<bool>)s).TrySetResult (true), tcs)) {
				if (task != await Task.WhenAny (task, tcs.Task)) {
					throw new OperationCanceledException (cancellationToken);
				}
			}
			return await task;
		}

This just returns when the initial task (ReceiveAsync) finishes or the cancellationToken is cancelled, but in fact the ReceiveAsync is still executing...
I will investigate if there is a better solution to manage the cancellation of the opened Udp socket.

it was working for ages but then one of my cameras started malfunctioning and closing the request which triggered the exception in the library so reproducing it is hard unless you build a virtual client that just closes the response. Until I rebooted the camera it was happening on every run of the discovery code.
Running on Windows 10, .Net Framework 4.7
adding the catch-all case after OperationCanceledException "fixed" it.


Add support for jalalian calendar

i changed merged branch for feedback. Thanks for your effort.

@ahmad-shoja hi. i can't import PersianDate class for a reason I don't know

İ will review as soon as possible. Thanks.


Fixed a bug that prevents alert emails from being sent

Signed-off-by: Yinan Li<EMAIL_ADDRESS>

@zliu41 can you review?

Can you fix the build?

Updated.

LGTM