Implementation_Issue_#152_Sprint5.txt

#152
This needs to be executed after Thursday 3/24/22.
The documentation of the task should include:
Terminal output from running the cleanup script
Screenshot from AWS console showing that no resources are left
1jc file added for Issue 152 Sprint 5

Closes issue #152
Overview with Implementation
•	This pull request 177 adds Issue#152Sprint5DeleteAllS3Buckets.py
•	This python file is a cleanup script that searches for all S3 buckets and deletes them. The following arguments can be provided at runtime:
o	--region: the AWS region for the S3 client [required]
o	--confirm_deletion
•	WARNING: This is a potentially destructive script, exercise caution when running.
Pre-requisites
•	Python Boto3 installed (python -m pip install boto3)
•	AWS CLI and proper basic configuration
To Test

To test deletion:
o	Open branch or download the script:
Issue#152Sprint5DeleteAllS3Buckets.py
o	Run with region us-west-2.
In the same branch, find or download Issue#152Sprint5DeleteAllS3Buckets.py
Run script with the one required argument --region. Example: python Issue#152Sprint5DeleteAllS3Buckets.py --region us-west-2.
Script should output a list of all S3 buckets, including the script you created previously.
Run the script with arguments for --region
Script should output only the list of identified S3 buckets.
Run the script a final time with all arguments provided. CAUTION: This will delete all identified S3 buckets.
Console output should indicate your S3 buckets is being deleted. After some time a confirmation message will print.
Verify that your stack was deleted by going to S3 buckets in the AWS Console.

Activity
Estimate
Actual Time Spent

Research boto3 methods
2 hours
3 hours

Write automation script
3 hours
3 hours

Test automation script
1 hour
30 mins

Write documentation
30 mins
30 mins

Pull request and wrap-up
30 mins
30 mins

1jc uploaded the following to finish issue 152 pull 177
Terminal output from running the cleanup script
Screenshot from AWS console showing that no resources are left

1jc   Moved Issue 152 pull 177 to "Done" in project


Fix bug in um.FieldsFileVariant output (no test yet).

Fixes a bug in iris.experimental.um.FieldsFileVariant (investigating support issue).
The effect is that for files over a certain size, the lookup headers begin to overwrite the data payloads
It doesn't happen for smaller files, because the data-start is rounded up to the next block boundary.
To see the problem:
ff_file = um.FieldsFileVariant(test_filepath, mode=um.FieldsFileVariant.UPDATE_MODE)
ff_file.close()

This replaces the file with a re-written copy, which is corrupted if the file contains too many fields.
This PR is effectively just a heads-up and placeholder, because it should also contain a test, which I don't currently have time to do.

Thanks for spotting this @pp-mo - it must have been tricky to track down!

Thanks all.
Done now, with new test.
Please re-review @rhattersley

Looks good - thanks @pp-mo. I ran the test without your corresponding fix and it fell over nicely. :+1:

I'm happy to merge once there's a green tick.


fix: generic generator on macos runners

Fixes an issue with the base64 call to generate subject data on macOS-based runners.
Fixes and closes slsa-framework/slsa-github-generator#3015.

@ianlewis / @laurentsimon Thank you for the quick review! We are using this on our fork and all seems to be working fine. Here's a sample intoto signature produced from this revision
buildless.darwin-amd64.intoto.jsonl.zip
It was produced in a private pipeline, but published as part of this release. As far as I can tell, all seems good, but I'm rather new to SLSA.
Thank you guys for all your hard work on this framework!


Bug 1217758 - Add a dropmarker to filters button

@MekliCZ Thanks! You need to make a PR against the main repository - https://github.com/mozilla/pontoon.

@mathjazz How i can create pull request against another repository than I forked it from?

You should have forked against https://github.com/mozilla/pontoon. I wonder - is there a link to https://github.com/mathjazz/pontoon somewhere in the docs?
You should be able to change the remote in your .git/config file and replace mathjazzwith mozilla?


[BugFix] AUTO_INCREMENT insert/load error when table has nullable column (#21846)

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #21846
Problem Summary(Required) ：
Problem:
Currently, we use nullExprInAutoIncrement to represent that if user specify null expression for auto increment column. But there is some bug for the nullExprInAutoIncrement
Insert:
If the table with auto increment column and other nullable column, the nullExprInAutoIncrement will be set even though the auto increment column is not set by null. This will cause insertion failure.
Load:
If the table with auto increment column and other nullable column. If user specify the NULL value for auto increment column explictly, and miss the nullable column, the load will be successfully finished but not cancel.This is unexpected behavior.
Solution:

Fix the nullExprInAutoIncrement problem.
refactor the code, throw exception when Insert/Update has nullExprInAutoIncrement == true

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 9 / 18 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/FileScanNode.java
0
2
00.00%
[363, 364]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
0
2
00.00%
[295, 296]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
2
4
50.00%
[249, 267]

:large_blue_circle:
com/starrocks/sql/analyzer/UpdateAnalyzer.java
6
9
66.67%
[93, 94, 113]

:large_blue_circle:
com/starrocks/sql/UpdatePlanner.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 9 / 18 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/FileScanNode.java
0
2
00.00%
[363, 364]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
0
2
00.00%
[295, 296]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
2
4
50.00%
[249, 267]

:large_blue_circle:
com/starrocks/sql/analyzer/UpdateAnalyzer.java
6
9
66.67%
[113, 114, 136]

:large_blue_circle:
com/starrocks/sql/UpdatePlanner.java
1
1
100.00%
[]


component/ctk: Incorporate software bill-of-materials into the component definition

Description
To improve supply-chain security and license compliance for the software embedded in a component, we should incorporate a software bill-of-materials (BOM) in the component definition. This would allow operator CI/CD processes to automatically analyse and apply appropriate policies before we deploy a component.

I'm not sure about adding a BOM to the component definition for at least two reasons.
First, there're already standards and formats for that, mainly two,  SDPX from the  Linux Foundation, and CycloneDX
Most tools and libraries also consume or produce those standards, so using a custom definition could prevent the use of dedicated tools.
The other problem is that BOM will add a lot of noise to the definition. The bills are verbose, for example, a BOM for keycloak is bigger than 2Mb
https://github.com/CycloneDX/bom-examples/blob/master/SBOM/keycloak-10.0.2/bom.json
Even more, just that size could be a problem in our current implementation of the Canvas using Kubernetes , because the ETCD where the objects (definitions and state) are stored has a limitation of 1.5Mb https://etcd.io/docs/v3.5/dev-guide/limit/#request-size-limit

Is there a way we could refer to a BOM that is written using one of the existing standards?

There're some options. I think that serving it from a custom endpoint in the ODA component has many issues.

It breaks the zero-trust spirit we want because we need to trust what the component says it has
Serving static files is somehow prone to forging or tampering
You need to instantiate and get running the component to check the BOM, and we want to check it before that
We have to deal with authorization and authentication for that info

Another option is to generate or embed that info in the docker images. There're some ongoing projects related to that I know, although there are probably many more.
Docker itself is adding experimental support for BOM https://www.docker.com/blog/announcing-docker-sbom-a-step-towards-more-visibility-into-docker-images/ in partnership with an opensource tool called Syft
Another approach covering BOM is Cosign, a software that signs OCI-Docker images to prevent tampering and allows to store of BOM description alongside the images in a Docker image registry


update help text for assemble-spades --p-meta

When running the command within the conda environment qiime2-shotgun-2023.9:
qiime assembly assemble-spades \
    --i-seqs fondue-output/single_reads.qza \
    --p-threads 8   \
    --o-contigs contigs.qza  \
    --p-phred-offset 33 \
    --p-memory 60 \
    --p-meta \
    --verbose

The following error was returned:

Plugin error from assembly:
SPAdes v3.15.2 in "meta" mode supports only paired-end reads.
See above for debug info.

Update the help text to reflect this.

Hey @mikerobeson, just to clarify: this error should appear only when you use the --p-meta flag, which is not included in the command you provided. Did you forget to add it there or did the error really occur with this exact set of inputs?

Hi @misialq, sorry about that. Yes, the --p-meta flag was present. I was trying different options and copied the wrong set of commands. I've updated the command in the issue.


Webpack into UMD Module

Thanks for the great component! At the moment this is being installed globally as a plugin, however, it would work better if it was webpacked in to a UMD module so it could be registered on a per-component basis e.g.:
import ToggleButton from 'vue-js-toggle-button'

export default {
  components: {
    ToggleButton
  }
}

I can see there is already a dist folder, however, that still doesn't allow you to register the component individually, I'd be happy to put in a pull-request when I get the chance if you want.

Hey thanks!
What stopes your from doing:
import ToggleButton from 'vue-js-toggle-button/src/Button'

export default {
  components: {
    ToggleButton
  }
}

?

Hey any updates on this question? Did it work for you?

@euvl No that didn't work, it looks like I would need to install the devDependencies for this project in my project to do that. I've taken a look at the source and it looks like all you need to do is change src/index.js to:
import Button from './Button.vue'

export default Button

The webpack config already looks like it outputs a UMD module, so it's just a case of removing the plugin registration - which only serves to make the component less flexible by forcing global registration - and then bumping the major version to reflect the breaking change.

Nah I am not going to release a major version and change the way it works for hundreds of people just to fit one use-case  😄

Fair enough, it's not a problem for me at the moment, I just don't like muddying my code with global component registration as it can lead to problems down the line and it's not really what Vue's plugin functionality was intended for. Thanks anyway, it's still a great component. :smile

Thanks 😄


Update to new api with plural nomenclature

Thanks @placidorevilla , I've pushed an updates with the new API routes (your was missing the updated one for /albums I think), that also includes the use of timebuckets (to bypass the 500 pictures limit)

Thanks! Likely I missed something, as I only did this in 5 minutes and tested on my single workflow. Thanks again!


feat(x/minfee): extract go module

Motivation
As part of the refactor to a multiplexed app, we want a mechanism to avoid importing state machine modules (e.g. x/minfee) once per state machine version. We want this because each time a state machine module is imported by the multiplexer, it registers proto types in the proto registry and interfaces in the Cosmos SDK interface registry. When we import the same state machine module more than once, we hit duplicate proto registry errors (same for Cosmos SDK interface registry).
This PR is the first of many that spin out a distinct Go module per state machine module. Expect subsequent PRs for x/blob, x/signal, etc.
Note: if we didn't do this for the multiplexed app, it is likely that we would do this as part of an update to new Cosmos SDK versions. For example Cosmos SDK v0.52.x spun out Go modules for all the state machine modules.
Note: the diff of x/minfee from v2.x to main is minimal (see git diff v2.x..main -- x/minfee/) so I choose to do this on main. We'll need to backport this to v2.x as well.
Testing
I did this on my fork and verified that we can:

Publish multiple Go modules from the same repo (i.e. celestia-app, and x/minfee)
From celestia-app import x/minfee. See here

Ref:

https://github.com/rootulp/celestia-app/releases/tag/v3.0.0
https://github.com/rootulp/celestia-app/releases/tag/x%2Fminfee%2Fv1.1.0

clear to merge @rootulp

During a sync w/ Binary Builders we learned that extracting Go modules for state machine modules isn't a prerequisite for upgrading to SDK v0.52.x so we may not need this.
We may still want it if we pursue our own implementation of a multiplexer so will leave as draft for now.

Closing for now. Can re-open if we need this.


Including note on dotnet dependencies

Based on https://marketplace.visualstudio.com/items?itemName=ms-securitydevops.microsoft-security-devops-azdevops

@elazark
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


fix(consent osp): switch consent osp overlay to page

Description
Fix the consent OSP page
Why
The old consent OSP overlay has been converted to a page in a previous PR #547 - however there were issues as some parts of the code were still assuming an overlay implementation. The old overlay code has been removed.
Issue
#907
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally

pr against wrong branch? should go in 2.1.0, right? then please change to release branch

closed and created new PR #913 with correct base


how to use mmrazor1.x

Based on my own dataset, I trained a model using mmseg1.x. Now I want to realize knowledge distillation, resnet101+deeplab--->resnet18+deeplab.
I configured the mmrazor environment, but in the distill config file https://github.com/open-mmlab/mmrazor/blob/bbb58f1a5c2fe2878484856767dba540092bc7bf/configs/distill /mmseg/cwd/cwd_logits_pspnet_r101-d8_pspnet_r18-d8_4xb2-80k_cityscapes-512x1024.py#L2
I don't know where I can modify the default settings of mmseg, such as the number of categories to be segmented, data set selection, etc.?
Can you give me some help?

The config in MMRazor only define the distillation configuration. If you want modify settings of MMSeg, you can modify config in MMSeg, then import them to MMRazor config by mmseg::_base_/datasets/cityscapes_modify.py in the front.
As for how to change MMSeg config, you can refer mmseg doc

The config in MMRazor only define the distillation configuration. If you want modify settings of MMSeg, you can modify config in MMSeg, then import them to MMRazor config by mmseg::_base_/datasets/cityscapes_modify.py in the front. As for how to change MMSeg config, you can refer mmseg doc

Thank you for your help! it runs well now.

When i distill transformer seg models --->CNN seg model, there is something wrong.
assert preds_S.shape[-2:] == preds_T.shape[-2:]
The transformer and CNN has different output shape, can you show me how to modify the config file?

assert preds_S.shape[-2:] == preds_T.shape[-2:] used to make sure feature shape between teacher and student are the same, to make sure the KD loss can be calculate. For example, MSE(Tensor shape [2, 3, 4, 4], Tensor shape [2, 3, 5, 5]) can not get a result. As far as I know, many Transformer based backbone like PVT, Swin, ..., their backbone output is also with shape [B, C, H, W], it can used to distill with CNN based backbone.
So, my advice is

check your preds_S.shape and preds_T.shape, make sure preds_S.shape[-2:] == preds_T.shape[-2:], if not, check your config, make sure your recorders get right feature.
if shape between teacher and student are different, but you still want to distill them, you can align dimension by using connector in MMRazor, example config

Thank you for your help!

After training the cwd model, i run the tools/test.py, but i can only get evaluation metrics. How can i get the segmentation images predicted by the distilled student model?

MMRazor tools/test.py seems not provide --show, but MMSeg provide, like this. You can try use MMSeg tools/test.py with --show, or if your server has no GUI, you can save the image to disk by --show-dir.

when i use MMSeg tools/test.py with the pth file obtained in mmrazor, there is some issues.
The model and loaded state dict do not match exactly
unexpected key in source state_dict: architecture.backbone.conv1.weight, architecture.backbone.bn1.weight, architecture.backbone.bn1.bias, architecture.backbone.bn1.running_mean, architecture.backbone.bn1.running_var, architecture.backbone.bn1.num_batches_tracked, architecture.backbone.layer1.0.conv1.weight, architecture.backbone...................

Thanks

Thank you very much for your help!


feat: If s ≤ t in colex, then s \ {a} ≤ t \ {min t} in colex

This proof is a horrible case bash. I have already spent a significant amount of time optimising it.
From LeanCamCombi

I should mention that @b-mehta claims to have a shorter proof of the titular result, but I haven't seen it yet. If you want my opinion, I think we shouldn't block on that since:

It's easy to golf a posteriori
This PR is a part of a long sequence towards the Kruskal-Katona theorem, and progress is slow enough already like that

bors d+

Let's go! Kruskal-Katona is getting very near.
bors merge


Inner otheragent2 resets to initialization

There is a bug in inner_step_get_grad_otheragent2 where the return value uses trainstate_th2.params and trainstate_val2.params. I think that should be trainstate_th2_.params and trainstate_val2_.params? As it is, it takes params from the trainstates in the global scope which haven't been trained. However, with the way the result of inner_step_get_grad_otheragent2 is used in the caller, I think this bug should have no effect unless args.inner_steps > 2.
https://github.com/Silent-Zebra/POLA/blob/6b07e89317b07d91216db9d02c1f915f9313b66a/jax_files/POLA_dice_jax.py#L541

Thanks for pointing this out! I think you're right in your comment and the effect. I'll fix this and the other issue you pointed out.

Closing as fixes have been implemented and experiments rerun (see updated readme)


fatal: [master1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}

@mhamrah thank you very much for the great job.
While trying to build the cluster, the following TASK fails:
[./librarian_roles/ansible-mesos | Create zookeeper config file] ********

TASK: [./librarian_roles/ansible-mesos | Create zookeeper config file] ********
fatal: [master1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master2] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master2] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master3] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master3] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/home/me/playbook.retry

master1               : ok=15   changed=6    unreachable=1    failed=0
master2               : ok=15   changed=6    unreachable=1    failed=0
master3               : ok=15   changed=6    unreachable=1    failed=0

It's worth asking why those errors were marked as "unreachable".  We've just run into a similar issue ourselves with ansible 1.7.2.  I would expect "failed" for these AnsibleUnidentifiedVariable errors.


Helldown group

http://onyxcgfg4pjevvp5h34zvhaj45kbft3dg5r33j5vu3nyp7xic3vrzvad.onion/

Thank you as usual.
Parser added : https://github.com/JMousqueton/ransomware.live/commit/ea6f4ced4ddf36e9b566c2c64c00f5b2714d47a9
Parsing in processing on the website


Update CyHy database to capture Known Exploited Vulnerability (KEV) data

Summary
Monitor https://www.cisa.gov/known-exploited-vulnerabilities-catalog to update the CyHy DB. Add KEVs collection and modify “tickets” collection to flag KEVs and use in notification, report, and scorecard updates.
Objectives

Add new collection in the DB for “known exploited” vulnerabilities
Add KEV flag to tickets, so for each CVE the KEV can be set to either true or false depending on whether that CVE is present in the KEV catalog.
For tickets collection, handle KEVs like false positives (i.e. “known exploited” key, and event entry when a CVE’s KEV status changes). Example given was addressing a typo which is later fixed.

Removed this requirement: "This collection should create a new entry for any CVEs found in the catalog that may not yet be listed in the NVD, as there could be plugins for reserved CVEs prior to NVD publication."
Following team discussions, it was understood there would already be a ticket for any vulnerabilities found from plugins available.
Removed this requirement: "The CyHy team is interested in discussing special handling considerations for non-NVD (reserved) CVEs around severity, in order to report KEVs that may still be in a reserved CVE status without affecting the current severity rating model."
Per CyHy, it sounds like they are using NVD scoring first but if any plugin didn't have an NVD score it would go off of the default score provided by Tenable.


Add mining timers to dense runestone

Would be nice to expand the mining depletion timers to work with dense runestone. As far as I can tell, they are depleted for 15 seconds.

I did some testing on respawn times in https://github.com/runelite/runelite/pull/10153#issuecomment-550469437 and it seems to vary between 13 and 19 seconds.


Parameter estimation for : Left skewed distributions

I was going through the code for def fit(self, data, *args, **kwds):, Does the optimisation differentiate between negative and positive skew distribution ?
if yes , please let me know the line link and ignore further.
If not , for a data as below,
temp=([0.035, 0.038, 0.054, 0.049, 0.052, 0.035, 0.035, 0.05 , 0.042, 0.034, 0.052, 0.035, 0.034, 0.037, 0.052, 0.035, 0.041, 0.035, 0.039, 0.04 , 0.04 , 0.043, 0.043, 0.035, 0.037, 0.034, 0.036, 0.037, 0.035, 0.032, 0.034, 0.038, 0.031, 0.05 , 0.042, 0.034, 0.036, 0.037, 0.055, 0.034, 0.036, 0.037, 0.035, 0.055, 0.044,0.04 , 0.031, 0.035, 0.038, 0.054])
print(skewtest(data)[0])
-3.4412103891299326

For  Rayleigh Distribution,
rayleigh.fit(data)
(0.01122619903412441, 0.025047969058503067)

This does not make sense to me as this is case of 0 to loc , rather than 0 to Inf.
I have written the following, and I am struggling with ._fitstart .
def func(params):
     n_bad=[]
    loc,scale=params
    data1=(loc-data)/(scale)
    n_log_scale = (len(data)) *log(scale)
    logpdf = rayleigh._logpdf(data1)
    finite_logpdf = np.isfinite(logpdf)
    n_bad += np.sum(~finite_logpdf)
    if n_bad > 0:
        penalty = n_bad * log(np.finfo(float).max) * 100
        return -np.sum(logpdf[finite_logpdf], axis=0)+n_log_scale+penalty
    return -np.sum(logpdf, axis=0)+n_log_scale

x0=rayleigh._fitstart(max(data)*1.01+data)
res=optimize.fmin(func,x0)
array([0.0602275 , 0.01192598])

Please comment.

@digitalgemba

Does the optimisation differentiate between negative and positive skew distribution

To my recollection, no. The generic optimization does not check the skew and change the procedure based on that, if that's what you're asking. Should it?
I'm not sure to help with the rest of the post.
There is data in a variable temp, but then there is rayleigh.fit(data). Is data the same as temp?

This does not make sense to me as this is case of 0 to loc , rather than 0 to Inf.

Can you elaborate on what you are expecting and why what you get does not match your expectation? I don't understand what is not making sense. We may not be as familiar with the distribution as you are, so it is not obvious from the numbers what is wrong.

I have written the following, and I am struggling with ._fitstart

_fitstart is a private method. You are welcome to use it, but we can't support its usage. If there is a bug, let us know.
You may be interested in gh-12097. It added an analytical formula for the scale parameter.
Please also check how rayleigh is defined in scipy.stats. Our scale parameter may be the square of the scale parameter you are expecting.

@digitalgemba I'll go ahead and close this, but if you think there is a bug in master or if you're requesting some other feature, please let me know.

The data below , is skewed
data=([0.038, 0.042, 0.012, 0.044, 0.049, 0.052, 0.054, 0.044, 0.058,0.039, 0.054, 0.043, 0.057, 0.058, 0.052, 0.051, 0.046, 0.049,0.052, 0.052, 0.051, 0.053, 0.044, 0.037, 0.04 , 0.032, 0.037,0.042, 0.045, 0.042, 0.041, 0.035, 0.052, 0.051, 0.052, 0.054,0.055, 0.052, 0.051, 0.042, 0.047, 0.032, 0.033, 0.036, 0.041,0.051, 0.046, 0.047, 0.042, 0.052])
skewtest(data)
SkewtestResult(statistic=-3.4412103891299326, pvalue=0.0005791180499256706)

The parameters does not reflect actual data .
How do we address such issues ?

I want to make sure I understand your issue. Let me try to restate it:
Your data is skewed. You try to fit a distribution to the data using the fit method, but the fitted distribution is not skewed.
Is that correct?

Yes.

Ok, let me try fitting your data. Which distribution do v you want me to try? Raleigh, lognorm, or something else?

Please check for lognormal, rest I will try after your feedback.
I measure distribution fitting by r^2.
temp=sorted(data)
xi=morestats._calc_uniform_order_statistic_medians(50)
xj=rayleigh.ppf(xi,loc,scale)
linregress(xj,temp)

lognorm's shape parameter doesn't support skew in that direction. Take a look at the plots on Wikipedia; they all have long tails to the right whereas your data has a longer tail on the left. If I reflect your data about the vertical axis, the shape parameter begins to be used.
import matplotlib.pyplot as plt
from scipy.stats import lognorm
import numpy as np

data=([0.038, 0.042, 0.012, 0.044, 0.049, 0.052, 0.054, 0.044, 0.058,0.039,
       0.054, 0.043, 0.057, 0.058, 0.052, 0.051, 0.046, 0.049,0.052, 0.052,
       0.051, 0.053, 0.044, 0.037, 0.04 , 0.032, 0.037,0.042, 0.045, 0.042,
       0.041, 0.035, 0.052, 0.051, 0.052, 0.054,0.055, 0.052, 0.051, 0.042,
       0.047, 0.032, 0.033, 0.036, 0.041,0.051, 0.046, 0.047, 0.042, 0.052])
data = -np.array(data)
p = lognorm.fit(data)
x = np.linspace(-0.1, 0.1, 300)
fig, ax = plt.subplots(1, 1)
ax.hist(data, density=True, histtype='stepfilled', alpha=0.2)
ax.plot(x, lognorm(*p).pdf(x))


checking if travis deploy works

Coverage remained the same at 96.104% when pulling 5be479ac01fa70a88847022bc85c8ace3407c353 on travis_deploy_test into 3c7adb5f27e258ed890debc84985547a39b6a14e on master.


NullPointerException when use JdbcSingleConnectionSource

Hello! I am using JdbcSingleConnectionSource as connection service and I get NullPointerException when I try to call one of DaoManager.createDao or TableUtils.createTableIfNotExists. The problem seems to be that
this.sqlConnection = sqlConnection;
assigned after
this.connection = new JdbcDatabaseConnection (sqlConnection)
is called.
Thanks!

Wow.  Huh.  ENOGOOD. You can work around it by using the new JdbcDatabaseConnection () and the set methods and then call initialize().  I'll get it fixed in the next release.


Running Tutorials

Very cool, love the update!
Two notes:

The links for stochastic action matching and unbalanced action matching are switched
I can't seem to run the examples I get

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipython 7.9.0 requires jedi>=0.10, which is not installed.
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-1-32e701e1e453>](https://37onzeme1u8-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230208-060050-RC01_508200239#) in <module>
      8 try:
----> 9   import flax
     10 except ModuleNotFoundError:

ModuleNotFoundError: No module named 'flax'

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
5 frames
[/usr/local/lib/python3.8/dist-packages/flax/core/meta.py](https://37onzeme1u8-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230208-060050-RC01_508200239#) in Partitioned()
    263     return self.replace(names=tuple(names))
    264
--> 265   def get_partition_spec(self) -> jax.sharding.PartitionSpec:
    266     """Returns the ``Partitionspec`` for this partitioned value."""
    267     return jax.sharding.PartitionSpec(*self.names)

AttributeError: module 'jax.sharding' has no attribute 'PartitionSpec'

Also numpy seems like it's not imported but this is a small issue.

Thank you, Alexander!
It seems like flax just stopped working on google colab. Simply running
import jax
!pip install --quiet flax
import flax

yields the error you have
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipython 7.9.0 requires jedi>=0.10, which is not installed.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-1-41b8697fa850>](https://localhost:8080/#) in <module>
      1 import jax
      2 get_ipython().system('pip install --quiet flax')
----> 3 import flax

4 frames
[/usr/local/lib/python3.8/dist-packages/flax/core/meta.py](https://localhost:8080/#) in Partitioned()
    263     return self.replace(names=tuple(names))
    264
--> 265   def get_partition_spec(self) -> jax.sharding.PartitionSpec:
    266     """Returns the ``Partitionspec`` for this partitioned value."""
    267     return jax.sharding.PartitionSpec(*self.names)

AttributeError: module 'jax.sharding' has no attribute 'PartitionSpec'

I've tried several workarounds but so far I managed to work it only on CPU. I'll try to look into it deeper. If I don't figure it out, I'll just rewrite the flax part.

I solved it for now by downgrading Flax to 0.6.4.


Why does info.plist not include Facebook's added code to App Transport Security?

In their setup instructions they specify that with iOS 9 the urls that facebook's sdk connects to must be whitelisted here with:
<key>NSAppTransportSecurity</key>
<dict>
  <key>NSExceptionDomains</key>
  <dict>
    <key>facebook.com</key>
    <dict>
      <key>NSIncludesSubdomains</key>
      <true/>
      <key>NSExceptionRequiresForwardSecrecy</key>
      <false/>
    </dict>
    <key>fbcdn.net</key>
    <dict>
      <key>NSIncludesSubdomains</key>
      <true/>
      <key>NSExceptionRequiresForwardSecrecy</key>
      <false/>
    </dict>
    <key>akamaihd.net</key>
    <dict>
      <key>NSIncludesSubdomains</key>
      <true/>
      <key>NSExceptionRequiresForwardSecrecy</key>
      <false/>
    </dict>
  </dict>
</dict>

Hi @Harout360 , thanks for sharing this. It would great if you would like to submit a PR. :-)


[BUG] Create invoice button should be disabled until user add a value in the amount field

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Hi,
Create invoice button should be disabled until user add a value in the amount field

Screenshots [optional]
No response
Steps To Reproduce
1- Click in receive, then Lightning Invoice
Expected behavior
Create invoice button should be disabled until user add a value in the amount field
Alby information
Alby: 3.2.1
Device information
No response
Additional context
No response
Are you working on this?
No

I would like to work on this issue, Can you please assign it to me.


Create builders via static methods

IntelliJ IDEA's suggestions engine doesn't handle new Something.Builder() properly, it always suggests me new Something() instead of builder even if constructor of Something is private.
So, I think we should switch to Something.builder(), it also requires less symbols in compare to new Something.Builder().

Сan I take it?

Sure, let's do it!
14 июня 2015 г. 9:50 PM пользователь "Dmitrii Nikitin" <
<EMAIL_ADDRESS>написал:

Сan I take it?
—
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/issues/382#issuecomment-111864031
.


bot status issue

bro when server is online bot stutas  like "{online}/{max}"  pls say how to fix it

Hey,
Please re-download the code this was a mistake on my side apologies, if you still have the error try regenerating your config.json file
Sorry, Luke


error: too many arguments provided to function-like macro invocation

While updating goaccess for MacPorts to version 1.7.2, I noticed the build bots for macOS 10.12 and below failed with the following error:
	/usr/bin/clang -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H -I. -I./src   -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -I/opt/local/include -O2 -DSYSCONFDIR=\"/opt/local/etc\" -Wall -Wextra -Wnested-externs -Wformat=2 -g -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wshadow -Wold-style-definition -pipe -I/opt/local/libexec/openssl3/include -Os -arch x86_64 -pthread -MT src/settings.o -MD -MP -MF $depbase.Tpo -c -o src/settings.o src/settings.c &&\
	mv -f $depbase.Tpo $depbase.Po
src/persistence.c:210:24: warning: missing field 'ts' initializer [-Wmissing-field-initializers]
  GLastParse val = { 0 };
                       ^
src/persistence.c:227:24: warning: missing field 'ts' initializer [-Wmissing-field-initializers]
  GLastParse val = { 0 };
                       ^
src/parser.c:1443:42: error: too many arguments provided to function-like macro invocation
    strcpy (pch, (char[2]) { (char) **p, '\0' });
                                         ^
/usr/include/secure/_string.h:82:9: note: macro 'strcpy' defined here
#define strcpy(dest, src)                                       \
        ^
src/parser.c:1443:5: note: parentheses are required around macro argument containing braced initializer list
    strcpy (pch, (char[2]) { (char) **p, '\0' });
    ^
                 (                             )
src/parser.c:1759:23: warning: missing field 'ts' initializer [-Wmissing-field-initializers]
  GLastParse lp = { 0 };
                      ^
src/parser.c:1806:23: warning: missing field 'ts' initializer [-Wmissing-field-initializers]
  GLastParse lp = { 0 };
                      ^
2 warnings and 1 error generated.

I tried changing the compiler standard to C99, but that made no difference.
Full log file: https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/224340/steps/install-port/logs/stdio

Thanks for letting me know and for taking the time to add goaccess to the macports! I pushed those changes to master as well.

Could this be added to a new release? Currently getting goaccess via nix fails with the above error. Thank you.

@vtumuluri The next release is on its way. Stay tuned!


Update Alamofire

Hi, I updated Alamofire 4.9.0 to 5.4.3 (latest version) and also update templates to confirm Alamofire's API changes.
I checked all tests are passed and a generated client can send request.

@yonaskolb Is there any suggestions to merge this PR? I'm welcome any revise request :)

Hey, just wanted to drop a message on this PR as I was looking for this fix myself and so downloaded and tested out this code! Im still getting Protocol 'Any' as a type cannot conform to 'Encodable' on the generated API Requests for example in the code below...Can this be fixed as part of this PR or is my issue unrelated? Cheers
            public init(body: Any?, encoder: RequestEncoder? = nil) {
                self.body = body
                super.init(service: CreateLogout.service) { defaultEncoder in
                    return try (encoder ?? defaultEncoder).encode(body)
                }
            }

Thanks for preparing the PR, any news on the PR review?

@b00tsy  I'm waiting comments from @yonaskolb :)

Sorry for the delay @0x0c! I got your great work over the line for you!

@yonaskolb Thanks a lot!


UnitTest report CL runtime error

Hello~
I'm trying to compile ArmNN on JUNO r2 (Armv8-a) right now.
Following the instruction here: https://developer.arm.com/technologies/machine-learning-on-arm/developer-material/how-to-guides/configuring-the-arm-nn-sdk-build-environment-for-tensorflow-lite
I enable the opencl and embed_kernel option while building ComputeLibrary, but got a lot of CL runtime error when running UnitTest. Here are some of them:
Running 912 test cases...
unknown location(0): fatal error: in "EndToEnd/ErrorOnLoadNetwork": armnn::ClRuntimeUnavailableException: Could not initialize the CL runtime. Error description: clGetPlatformIDs. CL error code: -1001
/home/dcslab/armnn-tflite/armnn/src/armnn/test/EndToEndTest.cpp(50): last checkpoint: "ErrorOnLoadNetwork" entry.
unknown location(0): fatal error: in "Profiler/RuntimeLoadNetwork": armnn::ClRuntimeUnavailableException: Could not initialize the CL runtime. Error description: clGetPlatformIDs. CL error code: -1001
I have no idea why i get such error. Please give me some help.

Hi @albert18711 possibly there is something wrong with OpenCL itself. Could you send us the output of clinfo?
Many thanks,
Matthew

i get the message below
Number of platforms 0
i believe Mali GPU is included in ARM v8-A...
Does that mean i have to install related drivers? Is there any tutorial for that?
Thanks for the reply

hi @albert18711 there are Mali drivers for Juno here: https://developer.arm.com/products/software/mali-drivers I believe there are also some available via Debian packages, but I've not tried them.
You may be able to get support for this from the Juno community forums.
All the best,
Matthew

Hi @albert18711 I hope you managed to get this working. I'll close this issue now but please get back in touch if you still have problems.


missing preamp gain

It'd be nice to add preamp gain, which I verified is available on my MR18 (compared against Mixing Station):
    with xair_api.connect("MR18", ip) as mixer:
        for strip in [s for s in mixer.strip if s.config.name]:
            gain = mixer.query("/headamp/{:0>2}/gain".format(strip.index))[0]
            gain = lin_get(-12,60,gain)
            phantom = mixer.query("/headamp/{:0>2}/phantom".format(strip.index))[0]
            print("channel = {:<2} name = {:<5} gain = {:<+7.2f} phantom = {}".format(strip.index, strip.config.name, gain, phantom))```

(I use this fragment to dump the channels used during a gig when recording for later reference.)

I don't really understand why they called it 'headamp', but hey, it works.

Hi, thanks for raising the issue! Yes I agree that would be a good addition. It looks like all mixers in the series share the same root address /headamp so I suppose adding a new HeadAmp class would make sense. I'm very busy for the rest of December so I can't investigate this until the turn of the year. If you feel confident in giving it ago then feel free to make a PR and I'll check it over. Otherwise it'll need to wait a couple of weeks.


merge master

lgtm, but is this the time to also bump terria-js to the latest version and then run another npm install to refresh the package-lock?

The point of this PR is to remove merge conflicts when merging next into a fork/branch of master


dataset

hi zhang,
Where can i downlosd the dataset?
Best regards,
PeterPham

Hi, I'm so sorry，the dataset was created by myself，and now the dataset is not open. Please waite for a time.

hi zhang,
Where can i downlosd the dataset?
Best regards,
PeterPham

Hi~ If satisfied, please star~
链接: https://pan.baidu.com/s/1TcS4i3ha-kOTirI_yAHNVw 提取码: xmat
下载后放在data\image\train下。

hi zhang,
Where can i downlosd the dataset?
Best regards,
PeterPham

Code and data model links have been updated，Please see the homepage.
If satisfied, please star~


Update composer.json

hautelook/phpass was deleted. linking to fork.

i tested this and it is working well for me. that being said i have no idea what we depend on phpass for within munkireport so someone may know better.
addresses #1421

Looks good for me, too. But the referenced fork was not quite up to date with MunkiReport's previous requirements. I have just submitted a pull request to bring it "up to date": https://github.com/bordoni/phpass/pull/1

going to cherry pick this into WIP as its causing tests to fail


Print lf stats

This should be a pretty straight-forward addition, except @henryre we should make sure to sync this with the stats that are already in there, so as not to terribly confuse people...
Take a look when you get a chance, lmk what you think

Blew this up to:

calculate metrics in the same place so that we don't accidentally diverge on definitions
calculate metrics only on the devset (might be overkill in terms of fidelity to the LF iteration process, but is on message with empirical accuracy calcs)

We can discuss calculating on dev set vs. full set, but (a) this should at least be an optional arg, and (b) we should print this out explicitly with the stats, as I can see people being confused here
If you add that in quickly then LGTM!


Sorting K sorted doubly Linked List

Hello, @rudrakshi99 @nakul-19 @plazzy99.
I am a GSSoC'21 participant. (Discord username - KartikJaiswal#6870)
I wish to contribute to the implementation of sorting a k sorted doubly LinkedList with proper comments and clear explanation.
(which means every element is at most k distance away from its right position)
Please assign me this issue, my code will be in C++ with proper comments and test cases.
I assure you I can handle this issue as I am extremely good at DSA and problem-solving in C++.
Hoping for a good outcome from your side.

Hello, @rudrakshi99 @nakul-19 @plazzy99.
I am a GSSoC'21 participant.
i would love to resolve this issue in c++ language. please,assign this to me

I am a participant of GSSoC 2021 can you please assign me this?

I would like to contribute the code for Merge Sort in Linked List.
The code is ready.
Kindly assign it to me.

I would like to work on this issue in python. Kindly assign it to me @plazzy99

I would like to work on this issue in Java. Kindly assign it to me @raksha009.


Supporting only windows

Why not!

Unable to merge as i am the only contributor and it requires approval from 1 owner who didnt raised the pr


20621 add mobile shipment customer flows int

For integration Rebase.
Merged in changes from: https://github.com/transcom/mymove/pull/13693

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against 52158b2acb31d2bbe2afbc4b1271b2c62854c95f


P2 02. Final model for the LINCS dataset (batch 1)

Here I trained a model on all data available from batch 1 in the LINCS dataset, which can be found like this: aws s3 ls s3://cellpainting-gallery/cpg0004-lincs/broad/workspace/backend/2016_04_01_a549_48hr_batch1/
The model uses 1745 features, because of an issue with 10 plates (https://github.com/broadinstitute/lincs-cell-painting/issues/88#issuecomment-1249269257). In total, I trained the model on 136 plates, 5965 wells, including 1228 unique compounds using the 10 uM dose point. During preprocessing I removed 1587 wells due to missing MoA or compound name (pert_iname) annotation. I used the following hyperparameters:

Hyperparameter
value

batch size
36

epochs
100

kFilters
0.5

latent dim
2048

learning rate
0.0005

nr cells
(1500, 800)

nr sets
8

optimizer
AdamW

output dim
2048

true batch size
288

I assess the model on the 10 uM dose point using replicate and MoA prediction and similarly on the 3.33 uM dose, which is considered the test set.
Results

The model significantly improves upon the average baseline for replicate and MoA prediction for both the 10 and 3.33 uM dose points.
It improves the mAP by 60% and 30% for the 10 uM dose point (training) and 3.33 uM dose point (test) data, respectively.
I could have trained the model a bit longer, e.g. 150 epochs, as the validation mAP and loss did not fully converge yet.

Results 10 uM dose point
Replicate prediction
Welch's t-test between mlp mAP and bm mAP: Ttest_indResult(statistic=84.81208433212997, pvalue=0.0)

plate
Training mAP model
Training mAP BM
Training mAP shuffled

all plates
0.7473
0.269
0

MoA prediction
Welch's t-test between mlp mAP and bm mAP: Ttest_indResult(statistic=6.753694914168434, pvalue=1.5518902810751288e-11)

plate
mAP model
mAP BM
mAP shuffled

all plates
0.0541
0.0338
0.0002

Results 3.33 uM dose point
Replicate prediction
Welch's t-test between mlp mAP and bm mAP: Ttest_indResult(statistic=49.02599189522616, pvalue=0.0)

plate
Training mAP model
Training mAP BM
Training mAP shuffled

all plates
0.4465
0.1695
0

MoA prediction
Welch's t-test between mlp mAP and bm mAP: Ttest_indResult(statistic=3.525483296865904, pvalue=0.0004250301209859708)

plate
mAP model
mAP BM
mAP shuffled

all plates
0.042
0.0322
0

Loss curves

All plate names
SQ00014812_SQ00014813_SQ00014814_SQ00014815_SQ00014816_SQ00014817_SQ00014818_SQ00014819_SQ00014820_SQ00015041_SQ00015042_SQ00015043_SQ00015044_SQ00015045_SQ00015046_SQ00015047_SQ00015048_SQ00015049_SQ00015050_SQ00015051_SQ00015052_SQ00015053_SQ00015054_SQ00015055_SQ00015056_SQ00015057_SQ00015058_SQ00015059_SQ00015096_SQ00015097_SQ00015098_SQ00015099_SQ00015100_SQ00015101_SQ00015102_SQ00015103_SQ00015105_SQ00015106_SQ00015107_SQ00015108_SQ00015109_SQ00015110_SQ00015111_SQ00015112_SQ00015116_SQ00015117_SQ00015118_SQ00015119_SQ00015120_SQ00015121_SQ00015122_SQ00015123_SQ00015124_SQ00015125_SQ00015126_SQ00015127_SQ00015128_SQ00015129_SQ00015130_SQ00015131_SQ00015132_SQ00015133_SQ00015134_SQ00015135_SQ00015136_SQ00015137_SQ00015138_SQ00015139_SQ00015140_SQ00015141_SQ00015142_SQ00015143_SQ00015144_SQ00015145_SQ00015146_SQ00015147_SQ00015148_SQ00015149_SQ00015150_SQ00015151_SQ00015152_SQ00015153_SQ00015154_SQ00015155_SQ00015156_SQ00015157_SQ00015158_SQ00015159_SQ00015160_SQ00015162_SQ00015163_SQ00015164_SQ00015165_SQ00015166_SQ00015167_SQ00015168_SQ00015169_SQ00015170_SQ00015171_SQ00015172_SQ00015173_SQ00015194_SQ00015195_SQ00015196_SQ00015197_SQ00015198_SQ00015199_SQ00015200_SQ00015201_SQ00015202_SQ00015203_SQ00015204_SQ00015205_SQ00015206_SQ00015207_SQ00015208_SQ00015209_SQ00015210_SQ00015211_SQ00015212_SQ00015214_SQ00015215_SQ00015216_SQ00015217_SQ00015218_SQ00015219_SQ00015220_SQ00015221_SQ00015222_SQ00015223_SQ00015224_SQ00015229_SQ00015230_SQ00015231_SQ00015232_SQ00015233

As discussed during check-in yesterday, I have calculated FIgure 4D as in the LINCS manuscript. I only have dose points 3.33 and 10 available. In general, we see that the model amplifies the profiles that are already found by average profiling and also makes some profiles that were not visible before (mAP<0.05) more visible (mAP>0.1).
We see relatively little profiles which lose performance due to the method (which is important to note).

Interpretability analysis rerun for LINCS data
From plate SQ00015142 I inspected images from well B13, which is 10 uM sulfafurazole, and computed the same saliencies as before in the Stain data. I chose this well randomly and the plate based on the large size of the file. I tried inspecting SQ00015106 before, but the seeding was so sparse that picking the top and bottom saliency cells resulted in only a handful of cells in total.

Images here!

Interpretability analysis rerun for LINCS data
From plate SQ00015131 I inspected images from well E13, which is 10 uM ganetespib and has HSP inhibitor as its MoA, and computed the same saliencies as before in the Stain data. This MoA is the one that relatively improved them most both for the 3.33 and 10 uM dose points when using model profiling versus average profiling.

Images here!

@EchteRobert Do you happen to know what version of CellProfiler your features were made in? 3.X or 4.X? I don't know if in a way fatal to your analysis, but Costes features in CP3.X we realized as we were putting 4.0 together are improperly calculated

Ah, that's interesting @bethac07. According to the LINCS manuscript, it was version 2.3.1 so I'm guessing they were improperly calculated there as well. I'm wondering what the model is picking up then... Do you know how they are calculated exactly then?

My level of understanding from memory (which I cannot stress enough may be wrong) and a bit of digging is this - Costes measurements are a special case of the Manders coefficient (which involves looking at which part of an images that threshold positive in each of 2 channels), where in Costes that threshold is defined in a particular way. In at least CellProfiler 3, but possibly/probably also 2.3, there was an assumption that there were only 255 gray levels (numerical values), which is true in 8 bit images, but is wrong in 16 bit images (which these are) which have 65535 gray levels (numerical values). So the threshold was being set basically always to 255, which most of the image has a higher brightness than, so the calculated correlation coefficients were nearly always 1.
So basically, I think it was measuring "pixels brighter than 255"?

Great catch Beth! I checked out the values of those Costes Correlation features and they are indeed all equal (or almost equal) to 1. To get these features I just looked at which features resulted in the highest saliency values (absolute).
Instead, I now calculated the correlation between saliency and feature values (something I also did before) and that points to different features, which I hope do have some actual meaning 😄 . Here are the results for this particular well for the different saliency scores:

Combined saliency score

Feature name
Correlation (Pearson)

Cytoplasm_Texture_SumAverage_RNA_10_0
0.381074

Cytoplasm_Texture_SumAverage_RNA_20_0
0.391287

Cytoplasm_Correlation_Manders_AGP_RNA
0.408331

Nuclei_Texture_InfoMeas1_DNA_5_0
0.435283

Cytoplasm_Texture_SumEntropy_RNA_20_0
0.438746

Cytoplasm_Texture_Entropy_RNA_5_0
0.442981

Cytoplasm_Texture_SumEntropy_RNA_10_0
0.443986

Cytoplasm_Texture_Entropy_RNA_10_0
0.445096

Cytoplasm_Texture_SumEntropy_RNA_5_0
0.445393

Cytoplasm_Texture_Entropy_RNA_20_0
0.462262

Feature name
Correlation (Pearson)

Cytoplasm_Texture_AngularSecondMoment_RNA_10_0
-0.454882

Cytoplasm_Texture_AngularSecondMoment_RNA_5_0
-0.451614

Cytoplasm_Texture_AngularSecondMoment_RNA_20_0
-0.448406

Nuclei_Intensity_IntegratedIntensity_RNA
-0.445297

Nuclei_Intensity_IntegratedIntensity_Mito
-0.436190

Cells_Intensity_MaxIntensity_RNA
-0.432253

Nuclei_Intensity_MaxIntensity_RNA
-0.431139

Nuclei_Intensity_IntegratedIntensity_ER
-0.422684

Nuclei_Intensity_IntegratedIntensity_AGP
-0.413577

Nuclei_Texture_Correlation_DNA_5_0
-0.382188

L1 norm activation saliency score

Feature name
Correlation (Pearson)

Nuclei_Texture_SumAverage_DNA_5_0
0.461082

Nuclei_Granularity_1_Mito
0.461331

Cytoplasm_Texture_SumEntropy_RNA_5_0
0.465899

Nuclei_RadialDistribution_MeanFrac_AGP_4of4
0.468284

Nuclei_RadialDistribution_MeanFrac_ER_4of4
0.468673

Nuclei_RadialDistribution_MeanFrac_Mito_4of4
0.471352

Cytoplasm_Texture_SumEntropy_RNA_20_0
0.474167

Cytoplasm_Texture_SumEntropy_RNA_10_0
0.477463

Nuclei_Intensity_LowerQuartileIntensity_DNA
0.483370

Nuclei_Texture_InfoMeas1_DNA_5_0
0.500611

Feature name
Correlation (Pearson)

Nuclei_Intensity_UpperQuartileIntensity_RNA
-0.567669

Nuclei_Intensity_StdIntensity_RNA
-0.546395

Nuclei_Intensity_MeanIntensity_RNA
-0.543263

Cells_Intensity_StdIntensity_RNA
-0.542904

Cells_Intensity_MaxIntensity_RNA
-0.542100

Nuclei_Intensity_MADIntensity_RNA
-0.540240

Nuclei_Intensity_MaxIntensity_RNA
-0.540037

Nuclei_Intensity_StdIntensity_AGP
-0.535854

Nuclei_Intensity_MADIntensity_AGP
-0.527600

Nuclei_Intensity_UpperQuartileIntensity_ER
-0.521866

Gradient analysis score

Feature name
Correlation (Pearson)

Cells_Texture_InverseDifferenceMoment_RNA_5_0
-0.513449

Cytoplasm_Intensity_IntegratedIntensityEdge_AGP
-0.510165

Cells_Intensity_IntegratedIntensityEdge_AGP
-0.507586

Cytoplasm_AreaShape_MaximumRadius
-0.501875

Cells_Texture_InverseDifferenceMoment_RNA_10_0
-0.500681

Cytoplasm_Intensity_IntegratedIntensityEdge_RNA
-0.497952

Cytoplasm_Texture_InverseDifferenceMoment_RNA_5_0
-0.495278

Cytoplasm_AreaShape_MeanRadius
-0.493570

Cells_Texture_InverseDifferenceMoment_RNA_20_0
-0.490450

Cells_AreaShape_MinorAxisLength
-0.488041

Feature name
Correlation (Pearson)

Cells_Texture_DifferenceEntropy_RNA_10_0
0.492800

Cytoplasm_Texture_InfoMeas1_RNA_10_0
0.493645

Cells_Texture_Contrast_RNA_5_0
0.494087

Cytoplasm_Texture_DifferenceEntropy_RNA_5_0
0.494265

Cells_Texture_DifferenceEntropy_RNA_5_0
0.506087

Cells_Texture_InfoMeas1_DNA_5_0
0.513774

Cells_Texture_InfoMeas1_DNA_10_0
0.514939

Cells_Texture_InfoMeas1_RNA_10_0
0.519832

Cytoplasm_Texture_InfoMeas1_RNA_5_0
0.522585

Cells_Texture_InfoMeas1_RNA_5_0
0.541869

Model trained on 3.33 uM dose point.
3.33 uM

plate
mAP model
mAP BM
mAP filtered BM
mAP shuffled

all plates
0.0456
0.0324
0.0323
0

10 uM

plate
mAP model
mAP BM
mAP filtered BM
mAP shuffled

all plates
0.0475
0.034
0.034
0.0002


[BUG] 404 on Installation Link in README

The link provided in the README.md to Installation produces a 404 error.

Waiting on @dirtycajunrice to see if they can get it back up.

resolved.


Cannot run python

The python code will not run if there is an "import" another python file. Is there any workaround on this?
Thanks
Trong

Hi Trong,
I would need more information:

Copy and paste the line of import code.
Copy and paste the error.
What's your directory structure?

Tim

Hi Tim,
Here is a sample of structure of my project
projects
|_ _ robot
|_ _ manager
|_ _ init.py
|_ _ error_msg.py
|_ _ os_manager
|_ _ init.py
|_ _ os.py
I've configured PYTHONPATH is the path to "projects" folder and inside my os.py I does something like this one: from rotbot.manager.error_msg import *
But when running it's always through the error: ImportError: No module named rotbot.manager.error_msg
Thanks
Trong

You need an empty  init.py  in robot

@timthejiang and @CrandellWS thanks for debugging and helping out!

Going to Script: Run Options and changing working directory should fix it.
Closing due to age/no response, reopen if you still have issues though


feat/policiesForRecords

Implements policy constrained record appending and persistent record based policies.
Users now have the option to check against policies when appending data. These policies are stored, and again checked when user grants access for file to new users.
Also allows users to add and remove policies for their records.

Codecov Report

Merging #108 into master will decrease coverage by 0.6%.
The diff coverage is 94.11%.

@@           Coverage Diff            @@
##           master   #108      +/-   ##
========================================
- Coverage    96.6%    96%   -0.61%
========================================
  Files           8      9       +1
  Lines         206    250      +44
  Branches       48     58      +10
========================================
+ Hits          199    240      +41
- Misses          7     10       +3

Impacted Files
Coverage Δ

contracts/mock/PolicyMock.sol
100% <ø> (ø)

contracts/LinniaRecords.sol
98.85% <100%> (+0.07%)
:arrow_up:

contracts/LinniaPermissions.sol
98.03% <100%> (-0.18%)
:arrow_down:

contracts/LinniaHub.sol
95.45% <100%> (+1.33%)
:arrow_up:

contracts/LinniaPolicies.sol
92.3% <92.3%> (ø)

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 a133588...47ab41e. Read the comment docs.

consider adding the following to the 3_records_test.js and 5_records-token_test.js
  beforeEach('set up a LinniaPolicies contract', async () => {
    policiesInstance = await LinniaPolicies.new(hub.address);
    await hub.setPoliciesContract(policiesInstance.address);
  });
```


Drop a stray reference to an old SDN role

spinoff from https://github.com/openshift/origin/pull/23448 which keeps shrinking as more stuff gets unstaged...

/retest

/retest


Uploading text dataset

I tried uploading text files to Hub using this code:
import numpy as np
from glob import glob
import time

import hub
from hub.schema import Text
from hub import schema, transform

my_schema = {
        "stocks": Text(shape=(None,))
}

fnames = glob("/home/hemant/Downloads/Data/Stocks/*")

@transform(schema=my_schema)
def load_data(sample):
    with open(sample) as f:
        text = f.readlines()
    return{
        "stocks": text
}

stime = time.time()
ds = load_data(fnames)
etime = time.time()

print("Time: ", etime - stime)

tag = "hemantr05/Stocks"
ds2 = ds.store(tag)

And got the following error:
Time:  9.655952453613281e-05
Traceback (most recent call last):
File "hub-stock-data.py", line 33, in
ds2 = ds.store(tag)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 342, in store
n_samples = get_sample_size(self.schema, self.workers)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 40, in get_sample_size
samples = min(samples, (16 * 1024 * 1024 * 8) // (prod(shp) * sz))
File "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 37, in prod
res *= s
TypeError: unsupported operand type(s) for *=: 'int' and 'NoneType'
How can I fix it?

@Hemantr05 we just fixed a couple of transform-related issues. Could you please kindly test if the same issue persists in the fixes/stacked_transform branch?

@Hemantr05 I believe the issue here is that max_shape hasn't been set for the Text. max_shape is the max number of characters across all files that you expect. @edogrigqv2 this should have raised an appropriate error I think.
try this:-
my_schema = {
        "stocks": Text(shape=(None,), max_shape=(1000,))
}

You can change 1000 if your text files are larger.

@Hemantr05 we just fixed a couple of transform-related issues. Could you please kindly test if the same issue persists in the fixes/stacked_transform branch?

@davidbuniat It doesn

@AbhinavTuli after making the changes I get this error:
Traceback (most recent call last):
File "/home/hemant/Desktop/Github/hub/Hub/hub/api/dataset.py", line 170, in init
self.meta = self._store_meta()
File "/home/hemant/Desktop/Github/hub/Hub/hub/api/dataset.py", line 231, in _store_meta
self._fs_map["meta.json"] = bytes(json.dumps(meta), "utf-8")
File "/home/hemant/Desktop/Github/hub/Hub/hub/store/store.py", line 144, in setitem
self.map[slice] = value
File "/home/hemant/anaconda3/lib/python3.7/site-packages/fsspec/mapping.py", line 154, in setitem
self.fs.pipe_file(key, value)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/fsspec/spec.py", line 631, in pipe_file
f.write(value)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/fsspec/spec.py", line 1516, in exit
self.close()
File "/home/hemant/anaconda3/lib/python3.7/site-packages/fsspec/spec.py", line 1483, in close
self.flush(force=True)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/fsspec/spec.py", line 1356, in flush
if self._upload_chunk(final=force) is not False:
File "/home/hemant/anaconda3/lib/python3.7/site-packages/s3fs/core.py", line 1252, in _upload_chunk
self.commit()
File "/home/hemant/anaconda3/lib/python3.7/site-packages/s3fs/core.py", line 1269, in commit
Key=self.key, Bucket=self.bucket, Body=data, **self.kwargs
File "/home/hemant/anaconda3/lib/python3.7/site-packages/s3fs/core.py", line 1131, in _call_s3
**kwargs)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/s3fs/core.py", line 200, in _call_s3
return method(**additional_kwargs)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "example1.py", line 29, in
ds2 = ds.store(tag)
File "/home/hemant/Desktop/Github/hub/Hub/hub/compute/transform.py", line 432, in store
ds_out = self.create_dataset(url, length=length, token=token, public=public)
File "/home/hemant/Desktop/Github/hub/Hub/hub/compute/transform.py", line 253, in create_dataset
public=public,
File "/home/hemant/Desktop/Github/hub/Hub/hub/api/dataset.py", line 179, in init
self._fs.rm(self._path, recursive=True)
File "/home/hemant/anaconda3/lib/python3.7/site-packages/s3fs/core.py", line 994, in rm
raise FileNotFoundError(path)
FileNotFoundError: s3://snark-hub/public/hemantr05/Stocks


Oracle NoSQL compatibility

Hi sorry to bother do you think obsidian-livesync would work with Oracle NoSQL?
https://www.oracle.com/database/nosql/
Its limits are a bit more generous compared to ibm
https://www.oracle.com/cloud/free/#always-free
Also out of curiosity how many reads/writes does live sync normally use? (

Sorry for being late!
Oracle NoSQL is not compatible with CouchDB, so Self-hosted LiveSync can not use it.


feature suggestion: remove yarn requirement

Similar to https://github.com/coral-xyz/anchor/issues/2839 - originally there were a few reasons to add a yarn dependency

Solana docs used to use yarn. Anza's web3.js docs just use npm now. Likewise Solana Foundation's docs just use npm.
Yarn had lockfiles, so the dependency tree could be replicated easily. npm added dependency lock files back in 2018
npm used to be quite slow, it's had significant speed increases since 2016 when yarn was released.

There's a few downsides to yarn too:

when we teach a class and point people to the anchor install page everyone has to manually install yarn dependency along with Rust and Solana CLI. Removing yarn would significantly reduce the steps.
npm ships with node, and is used in all previous labs to run package.json scripts.
npm has it's own lock file name, though it will use yarn, it will also tell you it's using yarn, and warnings will appen when both lockfiles are used.

There doesn't seem to be a good reason to require a third party package manage manager anymore.
As @acheroncrypto mentioned in #2839:

It's always good to have less dependencies

😁

To add to the downsides you mentioned, I was a fan of yarn but their v3 release was quite annoying to upgrade, so I think it's worth moving away from it.

To add to the list, yarn v4 is not compatible with VSCode out of the box. It requires a special VSCode extension (ZipFS) and needs additional commands to add a typescript SDK, and finally the version of typescript that is used needs to changed manually.


debug session is not closing correctly - it appears that it has, but I cannot start another debug session after closing the first.

Issue Type: Bug
html/js app
trying to debug in chrome using "launch" config with Chrome as browser.
first debug session starts and works as expected.
end debug session by clicking red square and process appears to end - chrome browser window closes as expected
restart same debug session and get one of two errors:.
either 1) msg saying "there is already a debug sesssion do you wish to start another".  A new debug session appears in the call stack of the debug panel, but neither debug session is active.
or 2) dialogue appeas with msg "(intermediate.value).finally is not a function" with an option to 'open "launch.json"' or close the dialogue.
vscode restart is necessary to kill all processes. on relaunch the same experience as before - 1st debug session has no issues, anything subsequent throws errors.
codebase is a new project for me - quite large, loading in .xml and using Vue.js.  Could be a memory issue?  I've ordered some more just in case.
task manager shows VSCODE using 600+Mb of memory
VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T12:00:31.514Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz (4 x 2694)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.93GB (1.41GB free)

Process Argv
--crash-reporter-id f934c896-2060-47e6-a37d-9bcbc4178234

Screen Reader
no

VM
0%

Extensions (31)

Extension
Author (truncated)
Version

vscode-javascript-repl
ach
0.7.2

increment-selection
alb
0.2.0

htmltagwrap
bra
0.0.7

turbo-console-log
Cha
2.1.7

bracket-pair-colorizer
Coe
1.0.61

vscode-eslint
dba
2.1.25

githistory
don
0.6.18

xml
Dot
2.5.1

vscode-html-css
ecm
1.10.2

RunOnSave
eme
0.2.0

prettier-vscode
esb
9.0.0

auto-rename-tag
for
0.1.8

todo-tree
Gru
0.0.214

remote-wsl
ms-
0.58.2

debugger-for-chrome
msj
4.13.0

color-highlight
nau
2.5.0

vscode-gitignore-generator
pio
1.0.3

qub-xml-vscode
qub
1.2.8

LiveServer
rit
5.6.1

code-settings-sync
Sha
3.4.3

mkstring
shi
0.0.3

svg-preview
Sim
2.8.3

vscode-taskexplorer
spm
2.5.7

enumerator
swi
0.0.6

pdf
tom
1.1.0

lorem-ipsum
Tyr
1.3.0

sync-rsync
vsc
0.36.0

vscode-icons
vsc
11.6.0

save-and-run
wk-
0.0.22

JavaScriptSnippets
xab
1.8.0

html-css-class-completion
Zig
1.20.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
vsccppwt:30364497
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthrucf:30370837
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedc:30364665
pythonvspyt187:30373474
pydsgsc2:30361791

Thanks for the issue! Could you capture a gif of this?
/gifPlease

Hello - this is all I can screenshot.  If you need something else please let me know and I will try and supply

Hello - this is all I can screenshot. If you need something else please let me know and I will try and supply

Hi. I tried with the gif recording utility (thanks for that) but the screen contains information about the company I work for and I cannot include that.  Basically I am carefully launching chrome with the debug --9222 option on and I can attach to that using the "attach" launch config.  The "launch" config has a URL rather than a file because it needs to be running on a server to avoid CORS issues.  This is the config for "launch".
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080/work/xxx_companyname_xxx/jbag-dp-st-html/branches/course/",
"webRoot": "${workspaceFolder}"
}
This is a new client for me, and running content with considerations for CORS is new to me - normally I would launch a file on my local drive in the "launch" config in launch.json.  Maybe I am doing this incorrectly by asking VSCODE to launch something hosted on XAMP?
The "launch" config basically hangs and doesn't start a new window or anything.  Attach will work if I launch Chrome correctly first with the -9222 switch attached to the shortcut properties for Chrome.  I appreciate your help with this.

Can you run the Toggle Developer Tools and see if there's a stacktrace for this error there?

really appreciate y'all looking in to this, sorry if my bug reporting is not so hot.
running toggle developer tools creates a massive dump of information, but not all of it is red errors..  When it doesn't crash I am getting only red errors from eslint plugin but it might be useful to know that this plugin is installed.
it's difficult to know when the debugger is not going to work tbh, but when it doesn't it spews stuff like mad in to the developer tools, would it be useful to cut and paste that?  All of it?


troubleshooting connection refused error on linux

I have successfuly built source code on ubuntu (32 bit). I am trying to run neverball with ga-server-event-driven, game starts fine but client is not able to connect to the server. The behavior is the same when I use the pre-compiled binaries for Linux. Is there a way to troubleshoot this problem to see the error in more detail?
here is my server's output:
galinux@galinux-VirtualBox:~/myprog/gaminganywhere/bin$ ./ga-server-event-driven config/server.neverball.conf
# [11271]<PHONE_NUMBER>.454406 # include: config/common/server-common.conf
# [11271]<PHONE_NUMBER>.454468 # include: config/common/controller.conf
# [11271]<PHONE_NUMBER>.454483 # include: config/common/video-x264.conf
# [11271]<PHONE_NUMBER>.454495 # include: config/common/video-x264-param.conf
# [11271]<PHONE_NUMBER>.454525 # include: config/common/audio-lame.conf
# [11271]<PHONE_NUMBER>.454575 Game exe: /usr/games/neverball
Configuration file: /home/galinux/myprog/gaminganywhere/bin/./config/server.neverball.conf
# [11271]<PHONE_NUMBER>.454596 Game dir: switched to /usr/games
# [11272]<PHONE_NUMBER>.455236 CMD: LD_LIBRARY_PATH=/home/galinux/myprog/gaminganywhere/bin/. LD_PRELOAD="/home/galinux/myprog/gaminganywhere/bin/./ga-hook-sdl.so" GA_ROOT=/home/galinux/myprog/gaminganywhere/bin/. GA_CONFIG=/home/galinux/myprog/gaminganywhere/bin/./config/server.neverball.conf /usr/games/neverball
===================================================

galinux@galinux-VirtualBox:~/myprog/gaminganywhere/bin$ # [11274]<PHONE_NUMBER>.558132 ga-hook-sdl loaded!
# [11274]<PHONE_NUMBER>.559997 # include: /home/galinux/myprog/gaminganywhere/bin/./config/common/server-common.conf
# [11274]<PHONE_NUMBER>.560063 # include: /home/galinux/myprog/gaminganywhere/bin/./config/common/controller.conf
# [11274]<PHONE_NUMBER>.560084 # include: /home/galinux/myprog/gaminganywhere/bin/./config/common/video-x264.conf
# [11274]<PHONE_NUMBER>.560102 # include: /home/galinux/myprog/gaminganywhere/bin/./config/common/video-x264-param.conf
# [11274]<PHONE_NUMBER>.560139 # include: /home/galinux/myprog/gaminganywhere/bin/./config/common/audio-lame.conf
# [11274]<PHONE_NUMBER>.560197 # RTSP[config]: using 'tcp' for RTP flows.
# [11274]<PHONE_NUMBER>.560207 # RTSP[config]: controller port = 8555
# [11274]<PHONE_NUMBER>.560214 # RTSP[config]: controller via 'udp' protocol.
# [11274]<PHONE_NUMBER>.560274 # RTSP[config]: video-encoder = libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
# [11274]<PHONE_NUMBER>.560303 # RTSP[config]: audio-encoder = libmp3lame (libmp3lame MP3 (MPEG audio layer 3))
# [11274]<PHONE_NUMBER>.560337 # RTSP[config]: video specific option: b = 3000000
# [11274]<PHONE_NUMBER>.560348 # RTSP[config]: video specific option: g = 48
# [11274]<PHONE_NUMBER>.560354 # RTSP[config]: video specific option: intra-refresh = 1
# [11274]<PHONE_NUMBER>.560360 # RTSP[config]: video specific option: me_method = dia
# [11274]<PHONE_NUMBER>.560366 # RTSP[config]: video specific option: me_range = 16
# [11274]<PHONE_NUMBER>.560372 # RTSP[config]: video specific option: preset = faster
# [11274]<PHONE_NUMBER>.560378 # RTSP[config]: video specific option: profile = main
# [11274]<PHONE_NUMBER>.560383 # RTSP[config]: video specific option: refs = 1
# [11274]<PHONE_NUMBER>.560390 # RTSP[config]: video specific option: slices = 4
# [11274]<PHONE_NUMBER>.560395 # RTSP[config]: video specific option: threads = 4
# [11274]<PHONE_NUMBER>.560401 # RTSP[config]: video specific option: tune = zerolatency
# [11274]<PHONE_NUMBER>.564065 key-blocking initialized: 0+0 keys blocked.
# [11274]<PHONE_NUMBER>.564136 SDL hook: initialized.
# [11274]<PHONE_NUMBER>.564151 SDL hook: BlitSurface == UpperBlit.
Creating a window (800x600, windowed)
Created a window (2, 800x600, windowed)

and this is client's output:
galinux@galinux-VirtualBox:~/myprog/gaminganywhere-0.8.0/bin$ ./ga-client config/client.abs.conf rtsp://localhost:8554/desktop
# [11121]<PHONE_NUMBER>.765890 # include: config/common/controller.conf
# [11121]<PHONE_NUMBER>.766282 # include: config/common/video-x264.conf
# [11121]<PHONE_NUMBER>.766318 # include: config/common/audio-lame.conf
# [11121]<PHONE_NUMBER>.766402 # RTSP[config]: using 'udp' for RTP flows.
# [11121]<PHONE_NUMBER>.766418 # RTSP[config]: controller port = 8555
# [11121]<PHONE_NUMBER>.766421 # RTSP[config]: controller via 'udp' protocol.
# [11121]<PHONE_NUMBER>.766462 # RTSP[config]: video-encoder = libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
# [11121]<PHONE_NUMBER>.766482 # RTSP[config]: audio-encoder = libmp3lame (libmp3lame MP3 (MPEG audio layer 3))
# [11121]<PHONE_NUMBER>.766505 # RTSP[config]: video specific option: threads = auto
Remote server @ localhost[<IP_ADDRESS>]:8554
# [11121]<PHONE_NUMBER>.006081 SDL: prefer opengl hardware renderer.
# [11121]<PHONE_NUMBER>.006109 controller queue: initialized size=32708 (481 units)
watchdog: launched, waiting for audio/video frames ...
# [11121]<PHONE_NUMBER>.006246 rtspclient: max tolerable video delay disabled.
*** SAVEFILE: YUV image saved to 'NULL'; timestamp saved to 'NULL'.
RTP reordering threshold = 300000
# [11121]<PHONE_NUMBER>.006279 qos-measurement: initialized.
# [11121]<PHONE_NUMBER>.006326 controller socket: socket address [<IP_ADDRESS>:8555]
# [11121]<PHONE_NUMBER>.006337 controller client-thread started: tid=11127.
Opening connection to <IP_ADDRESS>, port 8554...
...Connection to server failed: Connection refused
[URL:"rtsp://localhost:8554/desktop"]: Failed to get a SDP description: Connection to server failed: Connection refused
Connect to rtsp://localhost:8554/desktop failed.
# [11121]<PHONE_NUMBER>.006570 qos-measurement: deinitialized.
[URL:"rtsp://localhost:8554/desktop"]: Closing the stream.
rtsp thread: no more rtsp clients
rtsp thread: terminated.

I am facing the same issue with Assaultcube. Were you able to connect the server and client successfully? Please share what you did to resolve this connection issue.


Add new silicon revs.

FM25V01A  128kb    ID changes from 0x2100 to 0x2108
FM25V02A  256kb    ID changes from 0x2200 to 0x2208
FM25V20A  2Mb       ID changes from 0x2500 to 0x2508
CY15B104Q 4Mb      New device ID                    0x2608

Thanks! Did we test some of these already, or is this based on data sheet analysis? @davids5 Could you prepare a patch for upstream based on this once you're back?

This is by Datasheet, I have new silicon for the 01A coming, and Tridge will verify that.

I've now tested this on a board that Philip sent me and it works fine. This should be merged

@pavel-kirienko Patch has been submitted upstream, merging


all-repos: update actions/upload-artifact to v4

Committed via https://github.com/asottile/all-repos

@joshuarli  small note, the bump is not compatible with actions/download-artifact@v3, I am bumping it to v4 on another PR.

Thanks, when I blasted this out I wasn't aware yet of download-artifact.


Import of SEO data - Value is not a valid UUID: it-IT

It is not possible to import SEO data using specific variables for the product type, as the following error is always displayed: Value is not a valid UUID: it-IT
The following variants have been tested and are affected in any case:
translations.it-IT.metaDescription
translations.it-IT.metaTitle
Version: <IP_ADDRESS> and newer
Steps to reproduce: Create an export/import profile with the above-mentioned variables of type product.
Then enter values in the csv file for the above variables. Then try to import the csv file.
Expected result: The import works and wrong values are entered in the csv, the wrong value is output, with the line of the value
Actual result: As soon as values are entered for the variables, only one error is output, which is
Value is not a valid UUID: it-IT
without any values in the error line.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39179
[created from NEXT-39179, comment 505623]


[Idea]: Spawning not at spawnpoint when joining a world

Describe the feature
Hi I don't know if this is already a thing but if I leave my survival world and join back in I always spawn at the spawnpoint and not where I left off.
How is the feature useful to all Multiverse users?
This would be helpful for people who made a survival server
Agreements

[ ] I have searched for and ensured there isn't already an open issue regarding this.

This is achievable using MV Inventories LastLocation or the StayPut plugin

Thanks

I have a follow up question
Every time a use the /Hub it uses teleport and will not remember where I was
I used stayput

/hub isn't a multiverse command.


Generating _Definitions.xml files

@tlgkccampbell How did you generate the _Definitions.xml files for native bindings?

They weren't generated, I wrote them by hand.

I would like to publish nuget packages for the .NET 6 update. I will also update the templates and samples accordingly.
I have the changes on this branch https://github.com/jayrulez/ultraviolet/commits/rename2 (Note, this supersedes the changes from the PR).
I already have all the nuget packages built locally. I just need an api key to publish them.
Android is important to me so I'd also like to understand the need for the modifications to SDL here:
https://github.com/tlgkccampbell/ultraviolet-sdl2/commit/53e4146d4555e0e607096151de3e01d37bc75ddb
Is it feasible to use stock SDL?
If you don't mind, please add me on Discord jayrulez#1364 as I may have some more questions.


Scaffold the documentation

In GitLab by @evanplaice on Jan 18, 2019, 23:07
Start mapping out the documentation structure

[x] Add links to README.md
[x] /docs/arrays.md
[x] /docs/objects.md
[x] /docs/strings.md
[x] /docs/html.md
[x] Make available via github.io

In GitLab by @evanplaice on Jan 18, 2019, 23:12
Added in 0.2.3

In GitLab by @evanplaice on Jan 18, 2019, 23:12
closed

In GitLab by @evanplaice on Jan 18, 2019, 23:12
assigned to @evanplaice

In GitLab by @evanplaice on Jan 18, 2019, 23:12
changed title from {-15-} to {+Scaffold the documentation+}

In GitLab by @evanplaice on Jan 18, 2019, 23:12
changed the description


MAINT: Migrate to HDF5 1.12.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

No idea why we didn't get an auto migration to HDF5 1.12.2, but I git added the migration file then rerendered. Will merge if it works!

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


Design updates

Okay so this addresses a number of things:
Updated styling for the sidebar & panel (includes scrolling when needed for both sidebar and panel):

I've changed the panel and sidebar from using floats and absolute positioning to a flex based layout. I have also made a lot of updates to make sure things are spaced evenly and consistently (eg: items in the panel, .fold + .fold, etc).
I've added babel-plugin-module-resolver so that we can import things as import {bem} from 'lib' vs import {bem} from '../../../lib'. If we don't want to do that, just lmk and I can remove it!
I refactored the Fold component a bit to be a bit more 'componentized'.
I added a Panel.Header sub-component to the Panel component. I have noticed a pattern of having actions in the head of the panel, and so I think we should use a component for that header that takes an action, and in the future could take a title/label and potentially additional actions (eg: 'collapse all' in a hidden menu or something)
I've added mdi-react which allows us to import icons: import CloseIcon from 'mdi-react/CloseIcon in place of a font-icon. I prefer this method of icons as they are svgs that get embedded directly in the component. You can see them in use here.
I've also gone through and started improving the scss around, converting hex's to variables and trying to replace anything we use more than once with variables (borders, text-shadows, etc).
This fixes #171 #138 #157

We use eslint and prettier src code formatting and we have tests in CI that check for this. There is bound to be prettier hooks for Webstorm - I use the autoformat on save feature. Could you get those CI tests passing then ping me again, thanks!


Unable to initiate auth due to failure to import modules

Hi,
I installed PyDrive this way on a fresh machine:
`root@xyz:~# pip install PyDrive
Downloading/unpacking PyDrive
Downloading PyDrive-1.3.1-py2-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.0 in /usr/lib/python2.7/dist-packages (from PyDrive)
Downloading/unpacking google-api-python-client>=1.2 (from PyDrive)
Downloading google_api_python_client-1.5.5-py2.py3-none-any.whl (51kB): 51kB downloaded
Downloading/unpacking oauth2client>=4.0.0 (from PyDrive)
Downloading oauth2client-4.0.0-py2.py3-none-any.whl (184kB): 184kB downloaded
1 import socket
Requirement already satisfied (use --upgrade to upgrade): six>=1.6.1,<2dev in /usr/local/lib/python2.7/dist-packages (from google-api-python-client>=1.2->PyDrive)
Downloading/unpacking uritemplate>=3.0.0,<4dev (from google-api-python-client>=1.2->PyDrive)
Downloading uritemplate-3.0.0-py2.py3-none-any.whl
Downloading/unpacking httplib2>=0.9.2,<1dev (from google-api-python-client>=1.2->PyDrive)
Downloading httplib2-0.9.2.zip (210kB): 210kB downloaded
Running setup.py (path:/tmp/pip_build_root/httplib2/setup.py) egg_info for package httplib2
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /usr/local/lib/python2.7/dist-packages (from oauth2client>=4.0.0->PyDrive)
import socket
Requirement already satisfied (use --upgrade to upgrade): rsa>=3.1.4 in /usr/local/lib/python2.7/dist-packages (from oauth2client>=4.0.0->PyDrive)
Requirement already satisfied (use --upgrade to upgrade): pyasn1-modules>=0.0.5 in /usr/local/lib/python2.7/dist-packages (from oauth2client>=4.0.0->PyDrive)
Installing collected packages: PyDrive, google-api-python-client, oauth2client, uritemplate, httplib2
Found existing installation: oauth2client 1.3.2
Uninstalling oauth2client:
Successfully uninstalled oauth2client
Found existing installation: httplib2 0.9
Uninstalling httplib2:
Successfully uninstalled httplib2
Running setup.py install for httplib2
Successfully installed PyDrive google-api-python-client oauth2client uritemplate httplib2
Cleaning up...`
I try to run small program:
`from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
myfile = drive.CreateFile({
"id": "aaaabbbbccccc"
})
myfile.GetContentFile('dest.csv', mimetype='text/csv')`
I get this error:
python downcsv.py  Traceback (most recent call last):   File "downcsv.py", line 1, in <module>     from pydrive.auth import GoogleAuth   File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 9, in <module>     from oauth2client.service_account import ServiceAccountCredentials ImportError: No module named service_account
I commented out line 9 in "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", then I get this error:
python downcsv.py  Traceback (most recent call last):   File "downcsv.py", line 1, in <module>     from pydrive.auth import GoogleAuth   File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 17, in <module>     from oauth2client._helpers import scopes_to_string ImportError: No module named _helpers
When commenting out line 17 to, I get other errors (what I could expect).
I upgraded PyDrive using pip install git+https://github.com/googledrive/PyDrive.git#egg=PyDrive --upgrade
I upgraded pip install google-api-python-client --upgrade and pip install oauth2client --upgrade but no improvement.
I guess the issue is somewhat related to https://github.com/googledrive/PyDrive/issues/78
Thanks for having a look into this!

Hi @PcoWegenenVerkeer, thank you for opening an issue here. oauth2client had a major version upgrade some time ago and as you can see a couple of the compatibility fixes were rather fragile (yep, it's in #78).
If you find a solution to this problem before I do, feel free to open a PR!

Alright, I just had a look at this again - I was not able to reproduce the problem. Looking at your logs again, it appears to be related to the following:
Installing collected packages: PyDrive, google-api-python-client, oauth2client, uritemplate, httplib2
Found existing installation: oauth2client 1.3.2
Uninstalling oauth2client: <---------
Successfully uninstalled oauth2client

Could you run pip freeze and check which version of oauth2client was installed?

Closing this issue due to inactivity and irreproducibility.


Develop should use latest released CDAP

This just merges release/3.1 back to develop, so develop will be using the latest released version of CDAP.

LGTM


Better checking of url in tryParseCompatibleResolvedUrl

URLs with invalid scheme (like the legacy fluid-odsp, etc.) are not parseable by tryParseCompatibleResolvedUrl, but still return a (wrong) result.  This change updates to blow up explicitly, rather than the current silent failure.

Looking through test failures.  Checking up on intended behavior of TestObjectProviderWithVersionedLoad, since it looks like maybe e.g. gcContainerRuntimeCompat.spec.ts wasn't specifically intending to test "new loader + old urlResolver" combo.
If this is a combo we intend to support, then really tryParseCompatibleResolvedUrl should be matched to the version of the urlResolver in use (not statically included by the Loader as it is today).  Or maybe even better, IResolvedUrl should just already be of a shape that is immediately useful without a second parsing step.

Dropping this for now.


Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

Did you adjust something in the code? The 'You are dead bro' twitches with 'curSong' in the title, so in my case the code in the mod may be adjusted or corrupted(almost likely if you didn't adjust anything in the code)

Did you adjust something in the code? The 'You are dead bro' twitches with 'curSong' in the title, so in my case the code in the mod may be adjusted or corrupted(almost likely if you didn't adjust anything in the code)

it says this but its dutch but a dutch friend of mine says: means its trying too load something it cant find

quick question does your characer's XML (in the same place as the image) have a bunch of "instance 1"'s in it?
it might just be that (although that doesn't usually crash it as far as im aware unless its a missing image problem and even then psych wouldnt crash like that)
wouldit also be possible to get access to the character's .json file in "(insert mod folder you're using here)/characters/(insert character name here)"?


Qasm output doesn't support classical controls

import cirq

print(cirq.Circuit(
    cirq.measure(cirq.LineQubit(0), key="abc"),
    cirq.X(cirq.LineQubit(0)).with_classical_controls("abc"),
).to_qasm())

ValueError: QASM is defined only for SympyConditions of type key == constant.

As stated in the error message, this will work if converted to a sympy condition. To get it to work for key conditions, we'll need to pass in the qid dimension somehow, as this would only be valid for 2D qubits (qasm has no way to express "abc == 1 || abc == 2", nor "abc != 0").
Passing in the dimension will be a big architectural change, as measurement keys don't carry this information at circuit construction time. I'm not sure this will be possible for 1.0.
If qasm doesn't support qudits at all then we could just assume 2D qubits in the output, assuming somewhere else would throw an exception beforehand in the multi-dimensional case. Though even with that, I'm not sure if it would handle multi-qubit measurements correctly.
(Fact is, qasm support will always limited due to differences in how Cirq and Qiskit do measurements. These are highlighted in some of the tests.)

I don't know what "converted to a sympy condition" means. The code sample is unambiguous and should work exactly as written. The dimension of all the involved values is clearly 2, because it's using LineQubit. Any ambiguity about that fact is purely a spandrel resulting from the internal implementation failing to explain itself to itself.
This isn't intended as a blocker for 1.0. Just recording that it doesn't work.


Attempting Deployment with Invalid ECR Respository Name

Describe the bug
First reported in https://github.com/aws/aws-dotnet-deploy/pull/547#discussion_r869353465
To Reproduce
In the current public build (<IP_ADDRESS>) of the VS Toolkit, I am able to initiate a deployment with an invalid ECR Repository Name:

"Publish to AWS"
"New target"
Choose "Push Container Images to Amazon Elastic Container Registry"
"Edit Publish settings"
Set repository name to "a"
Publish

ASPWebAPI could not be published as Push Container Images to Amazon Elastic Container Registry: Invalid parameter at 'repositoryName' failed to satisfy constraint: 'must have length greater than or equal to 2'

We do have a regex here:
https://github.com/aws/aws-dotnet-deploy/blob/1344e9e8e5485d7d38af524657178facf27ec973/src/AWS.Deploy.Recipes/DeploymentBundleDefinitions/Container.deploymentbundle#L37
But it's not validating the length constraints listed here: https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Repository.html
Expected behavior
We don't allow the deployment to proceed with an invalid ECR Repository Name.

This is a :bug: bug report

This was addressed by https://github.com/aws/aws-dotnet-deploy/pull/588, which was released in 0.47.26.


add numberMatch and numberReturned in Collections model

blocked by https://github.com/stac-utils/stac-pydantic/pull/161

https://github.com/stac-utils/stac-pydantic/releases/tag/3.1.3


steer adjustment question?

Hi, I am interested in that how do you decided the steer adjustment(in your code,0.25) for left and right image?Thanks in advanced!

Hey! I'm not 100% sure I'm afraid, since this was a while ago, but I vaguely remember experimenting with various values and settling on those that performed best. I don't think I spent too much time on this though, so these might not be optimal values — feel free to experiment a bit more, you might as well get some improvement!


Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg.

https://code.djangoproject.com/ticket/25187#comment:12

Thanks! Looks good to me.


SDXL support

Hi :)
Really like your work, keep going !
Do you plan to add some specific nodes to support SDXL (CheckpointLoader with optional refiner, prompts encoder, etc.) ?

Hello, Thanks.
I can look into it, but at the moment I only have a Nvidia 1070 and SDXL takes forever to make images so testing would be painful.

Thinking to investigate more now that SDXL Turbo models are out, can actually generate pictures in a reasonable time with that.

Good news 👍


Slightly Rounded don't have shadows under windows

Slightly Rounded

Rounded

Square

Probably third-party, since MFE doesn't change shadows. Windows does.


Add Star component

Description:
Add the new component Star, using the drawStar function.
When we move to Pixi.js 5 we could use PIXI.Star.
I think that this component is useful, because is a common shape, already there is at PIXI and at others react drawing libraries, such as react-konva.
The code to use at Codepen doc:
const { Stage, Star } = ReactPixi

const App = () => (
  <Stage width={500} height={500} options={{ antialias: true, backgroundColor: 0xeef1f5 }}>
    <Star
      color={0xF1C40F}
      radius={8}
      innerRadius={4}
      points={6}
      x={10}
      y={10}
    />
  </Stage>
)

ReactDOM.render(<App />, document.body)

I think this is to deep in the PIXI.js api, if we follow your argument, we have to dev "rectangle", "circle", "round rectangle", etc.
Why do you think "Graphics" component is not enough?

I agree with @fabienjuif. For this use case you can use ReactPixi's PixiComponent:
https://reactpixi.org/#custom-components
Closing this PR


Enabling arc-green theme

Gitea version (or commit ref): 280ebcb
Git version: N/A
Operating system: Ubuntu
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

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

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:

Description
Trying to enable arc-green. Added:
[ui]
DEFAULT_THEME = arc-green

Yet, it isn't showing. What could I be missing?

@Fastidious Themes were added in 1.6.0-dev, you are using 1.5.0-rc2. If you want to use built in theme please update, otherwise you can follow instructions here: https://github.com/go-gitea/gitea-darkmode to get it working on your version.

@techknowlogick one last thing, where can I find 1.6.0-dev?

If you are using docker then pull the :latest tag, or if you are using just the binary you can find the most recent binary here: https://dl.gitea.io/gitea/master/
Please note: As you can tell by the name it is a dev release and so there may be broken things that get released. If you want to ensure you have a stable version please use an RC, or a fully released version.


热更新失效

Related plugins

[X] plugin-vue

[ ] plugin-vue-jsx

Describe the bug
1.http://localhost:5173/#/ContentManagement/TrainingLibrary
使用el-table,data使用响应式附值时，vite热更新报错如下：
runtime-core.esm-bundler.js:557 TypeError: Cannot set properties of null (setting 'textContent')
Reproduction
https://github.com/daiyuelin/dts-background-management1
Steps to reproduce
npm install
npm run dev
谷歌浏览器打开http://localhost:5173/#/ContentManagement/TrainingLibrary，然后修改TrainingLibrary.vue代码，热更新报错，如下：runtime-core.esm-bundler.js:557 TypeError: Cannot set properties of null (setting 'textContent')
System Info
"@vitejs/plugin-vue": "^4.0.0",
"vite": "^4.1.4",
"element-plus": "^2.2.32",
"vue": "^3.2.47",
node/16.15.1

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I wasn't able to reproduce. But since the error is coming from vue's runtime, I guess this is a bug in vue.

How to solve it？


Add new method: response.sendFile

The treatment of files is too important, it would only be enough to do a .pipe and that's it, but there are more things that should be taken into consideration, such as adding the correct Content-Type header depending on the file format, as well as the Range header of the request  , it is also important that there is a parameter to control the Content-Disposition and make it downloadable or not.

Hi @jesusvilla, thanks for taking time to improve restana.
I agree on the necessity of having a sendFile abstraction to allow developers to easily deliver files from the server. However, I think in the context of restana (a REST oriented framework) this feature should be provided by an external middleware and not as a core functionality.

Related content: https://github.com/jkyberneees/restana-static

Regards

I gree, but restana-static is more general, there may be the possibility at some point to use only sendFile.

Hi @jesusvilla, I would still keep this feature out of restana core, as it will degrade performance for the other 90% of the current uses cases.
Regards

How about writing something like extendResponse to add whatever method the develper prefers.
Something like you did with response.send

Hi @jesusvilla this is somehow my suggestion. Devs can always extend the response object class prototype in require('http').ServerResponse.prototype
Or just add it as an object method through a middleware:
app.use((req, res, next) => {
  res.sendFile = /* ... */
  return next()
})

However, the implementation of the actual sendFile method, should be out of restana core.
Regards


Log button fails

Log Button results in Message Box "Unable to open log file, check the path
_'C:\Users_username\AppData\Local\PSChiaPlotter\Logs\20210708_debug.log

Are you using the -NoNewWindow switch when launching PSChiaPlotter?

I don't know. How do I check this? I used Show-PSChiaPlotter to start. Also was unable to update using button. It gave me the dialog box but when update was selected it gave me an error message to check logs. Updated via powershell command worked.