deCONZ adapter restarting every 30 seconds

Hi,
i just installed the current version of deCONZ adapter (1.3.10) and have the same issue (restarting every 30 seconds).

host.ioBrokerGarage
2020-09-03 12:05:43.651
info
Restart adapter system.adapter.deconz.0 because enabled

host.ioBrokerGarage
2020-09-03 12:05:43.649
error
instance system.adapter.deconz.0 terminated with code 156 (156)

deconz.0
2020-09-03 12:05:43.064
warn
(5815) Got terminate signal. Checking desired PID: 5846 vs own PID 5815

deconz.0
2020-09-03 12:05:43.051
debug
(5815) Websocket connection closed

deconz.0
2020-09-03 12:05:43.045
info
(5815) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason

deconz.0
2020-09-03 12:05:43.040
info
(5815) terminating

deconz.0
2020-09-03 12:05:43.037
info
(5815) cleaned everything up...

deconz.0
2020-09-03 12:05:43.032
warn
(5815) Got terminate signal. Checking desired PID: 0 vs own PID 5815

host.ioBrokerGarage
2020-09-03 12:05:43.022
info
instance system.adapter.deconz.0 started with pid 5846

`

similar to https://github.com/iobroker-community-adapters/ioBroker.deconz/issues/92

Did you delete the Adapter complete, not only the instance?

I never deleted it before... I've installed the adapter the first time and got into this issue?
Should I delete it and re-install it?

js-controller Installed: 2.2.9
But strange... after I set it to Debug-Level, the problem seems to be solved.
Therefore, I'll close this issue by now and I will monitor this...
thanks :)


How to upload a binary file

Dears, I've tried to upload serveral time with different ESP32 binary files.
But it is always notify that

Error: No version found in file. File not uploaded.

So how can i set version for my binary files

#define VERSION "vx.x.x""


explicitly mention that words should be coming from 3bot connect app

explicitly mention that words should be coming from 3bot connect app in everywhere that asks for words.

https://github.com/threefoldtech/jumpscaleX_core/commit/358aa45298684ae69aa1a5262d571cb843c76461

verified


Fix CI, update Terra

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
85 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-3.2%) to 86.629%

Files with Coverage Reduction
New Missed Lines
%

qiskit_research/utils/periodic_dynamical_decoupling.py
85
14.84%

Totals

Change from base Build<PHONE_NUMBER>:
-3.2%

Covered Lines:
2313

Relevant Lines:
2670

💛  - Coveralls


Document all decorators in kedro.extras.decorators

Description

Our contribution process has changed recently with the introduction of kedro.extras, the new 🏡 for all of our datasets, decorators and transformers.
It's in this place that all contributor can add extensions to Kedro
We want to track contributions to kedro.extras.decorators by including a directory-level README.md that describes what's in this directory
Currently this page just supports the installation requirements for the Memory Profiler, which can be moved further down the page

Context

It will help us keep track of all of the amazing contributions that the open source developers make
It also gives users a high-level view of all the decorators we support in kedro.extras.decorators

Possible Implementation

We follow this documentation style guide: https://github.com/quantumblacklabs/kedro/blob/develop/docs/README.md
Each section for each tool could have the following:

A human-understandable title of the decorator e.g. Memory Profiler
A brief description of what the decorator does
Who created it (we suggest just leaving the header for this as you will not know this)
How to install it? (Optional)

I'm working on this!


fixes RHOARDOC-1406

thank you @Ladicek
@tradej @inoxx03 feel free to merge if it looks good to you

I'd like the anchor ID changed as well (or at least add the new one). Can you do that, @rhoads-zach, please?

thank you @tradej.
updated


Create Evaluation Example

We want an evaluation pipeline, that measures the quality

independent of current building blocks
input: model, data, potentially catalog
output some evaluation metric like NDCG, MRR
accompanied by a dataset (e.g. totally looky like, CELEBA)
give the tuner 5/10/15 minutes

Two cars datasets that we could use:

http://ai.stanford.edu/~jkrause/cars/car_dataset.html
http://mmlab.ie.cuhk.edu.hk/datasets/comp_cars/index.html

Another one:

https://qmul-vric.github.io/

Done for the current refactoring


inplace argument deprecated

https://github.com/brain-score/brainio_base/blob/4d733ce7cede06195ec13b6fae1678178bcff356/brainio_base/assemblies.py#L248
and
https://github.com/brain-score/brainio_base/blob/4d733ce7cede06195ec13b6fae1678178bcff356/brainio_base/assemblies.py#L213
yield
FutureWarning: The inplace argument has been deprecated and will be removed in xarray 0.12.0.
  result.set_index(append=True, inplace=True, **{self.multi_group_name: list(self.group_coord_names)})

On pip, xarray is already past version 0.12 so we need to fix this.
I'm not sure how to work around it, since the method in question is setting an index on self.

Two possible options we thought of so far:

use defs and under-scored classes

class _DataAssembly(DataArray):
    ...

def DataAssembly(*args, **kwargs):
    a = _DataAssembly(*args, **kwargs)
    a = gather_indexes(a)
    return a

add class.create method

class DataAssembly(DataArray):
    @classmethod
    def create(*args, **kwargs):
        a = DataAssembly(*args, **kwargs)
        a = gather_indexes(a)
        return a

Fixed by #14


fix screenshot for specific element with index

Signed-off-by: saikrishna321<EMAIL_ADDRESS>

Fixes #1186


fixed prerequisite rules for 16-bit fp dp load/store

Hopefully the correct fix for https://github.com/riscv/riscv-cheri/issues/29 this time

Fixed adoc formatting in the last commit.


[UI] the should be capital as it is at the top of the page

Shall I raise a PR for this

Sorry but I have already raised PR for this


PowerToys selection shortcut

Description of the new feature / enhancement
Displayed the icon of each PowerToy quickly to select the desired one.
Scenario when this would be used?
It is complicated to remember all the shortcuts (even if they are configurable) for each powertoy.
The idea would have been to have a single shortcut allowing you to choose from among all the powertoys, without launching the software.
Like a PopUp.
Supporting information
Thank you for all these tools!

Hello and thanks for your message. When you click on the PT icon in the sys-tray, a fly-out will appear with clickable buttons. At the moment, it shows the hotkeys in a tooltip, but I have the idea to make them visible under the name.

(possible) duplicate of either #21253 or #17351

@jay-o-way in #17351 i read at asking for the "quick launch system".  This is asking show me the shortcuts in the quick launch system


do you have demo code?

i am use this repository and need demo，thank you

Currently only producer part is implemented, test cases can be referred as demo:
https://github.com/messense/rocketmq-rs/blob/b4804c787fe9160f2fd1d78a72cf70ec9903aa05/src/producer/mod.rs#L463-L675

but consumer has test code，consumer is implemented?
`#[cfg(test)]
mod test {
use super::{Consumer, ConsumerOptions};
use crate::message::MessageQueue;
#[tokio::test]
async fn test_get_consumer_list() {
    // tracing_subscriber::fmt::init();
    let mut options = ConsumerOptions::default();
    options.set_name_server(vec!["localhost:9876".to_string()]);
    let consumer = Consumer::with_options(options).unwrap();
    let consumer_list = consumer.get_consumer_list("SELF_TEST_TOPIC").await.unwrap();
    assert!(consumer_list.is_empty());
}`

consumer is not fully implemented, it's not able to consume messages from brokers yet.

i find all of the github , but there is no  rocketmq for rust

Added simple producer example: https://github.com/messense/rocketmq-rs/blob/master/examples/simple_producer.rs


Offline feature support

This PR adds support for offline content download and playback.
It supports the same formats and DRM solutions as online playback.
To test DRM playback and download replace sourceConfig with the following:
(and import Platform from 'react-native')
const sourceConfig: SourceConfig =
  Platform.OS === 'ios'
    ? {
        url: 'https://fps.ezdrm.com/demo/video/ezdrm.m3u8',
        type: SourceType.HLS,
        title: 'EZDRM FairPlay',
        drmConfig: {
          fairplay: {
            licenseUrl:
              'https://fps.ezdrm.com/api/licenses/09cc0377-6dd4-40cb-b09d-b582236e70fe',
            certificateUrl: 'https://fps.ezdrm.com/demo/video/eleisure.cer',
            prepareMessage: (message, _assetId) => message,
          },
        },
      }
    : {
        url: 'https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd',
        type: SourceType.DASH,
        title: 'Art of Motion Widevine',
        drmConfig: {
          widevine: {
            licenseUrl: 'https://cwip-shaka-proxy.appspot.com/no_auth',
            preferredSecurityLevel: 'L3',
            shouldKeepDrmSessionsAlive: true,
            httpHeaders: {
              'test-header': 'test header value',
              'different-header': 'different value',
            },
          },
        },
      };

Manual testing on Android looking good 🎉
One idea for improvement: When using the offline sample, being offline, playing the offline content and then deleting it during playback, the player is stuck in infinite loading. Maybe we could destroy the player in that case... or load the online asset which is done when initially opening the sample screen.

@hawk23 this is because I try to load the online source after deleting, that's why it ends up loading indefinitely.
If I would destroy the player then you can't use the player anymore.
I think that is an edge case.
If you delete while being offline, not much we can do.
I would not introduce offline state detection into the example now, feels overkill.


Warn if CPU family is not supported and support AMD zen3

Looks good so far. Now we need to make icc work on the AMD Zen3 runners: Please verify that both the operating system and the processor support Intel(R) X87, CMOV, MMX, FXSAVE, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, MOVBE, POPCNT, AVX, F16C, FMA, BMI, LZCNT and AVX2 instructions.

Testing locally on my Ryzen (zen3) I do not have:
fxsave
lzcnt
bmi (zen3 has bmi1 bmi2)

The problem was that if the target architecture was detected as zen  or zen3, then we also added skylake to the list of march flags to test, which causes icc to pass -xCORE-AVX2. We fixed that now and icc should pass -xAVX2.


Mapping whitelist.json in docker-compose

The docs state:
"set the WHITE_LIST environment variable to true and map in a whitelist.json that is custom-crafted to the container", but offer no instructions on how to do this.
Please can someone demonstrate how to achieve this.

Added a link to gamepedia (a24e86470aae3aa37f5f9fcb442a7cba142923c8)


⚠ Bofrost.be has degraded performance

In cf0295f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1389 ms

Resolved: Bofrost.be performance has improved in 5add1d8 after 7 minutes.


Date format dd/MM/yyyy is not handled properly in datepicker

hello there,
I'm having a problem using the datepicker plugin with the format dd/MM/yyyy ,  I have my datepicker initialized as below.

<input type="text" datepicker-popup="dd/MM/yyyy" ng-model="fromDate" min="mindate" max="maxdate" />

It works fine if I select the date from the calendar popup. but if I type in the date in the input box in the format 'dd/MM/yyyy', it will recognize the 'day' as the 'month'. eg. if type in '16/03/2014', datepicker will treat 16 as the month, and generate an undefined result.
When reading the code in ui-bootstrap-tpls.js,  I found the following code in the function parseDate of directive 'datepickerPopup',  the viewValue is in the format 'dd/MM/yyyy', but when the Javascript Date object takes it in, it will assume the format to be 'MM/dd/yyyy' ,

var date = new Date(viewValue);

So I have made my temporary fix to replace the above line with the following,  and it's now working for me, could you please fix this problem in your repo, so we dont keep this custom code in your file.

var date = null;
			if(dateFormat === 'dd/MM/yyyy' || dateFormat === 'dd/MM/yy') {
				var dateParts = viewValue.split("/");
				date = new Date(dateParts[2], dateParts[1]-1, dateParts[0]);
			} else if(dateFormat === 'dd-MM-yyyy' || dateFormat === 'dd-MM-yy') {
				var dateParts = viewValue.split("-");
				date = new Date(dateParts[2], dateParts[1]-1, dateParts[0]);
			} else {
				date = new Date(viewValue);
			}

i face this broblem and i dont get solution i have model date type when i pass json date MM/dd/yyyy
it chose the correct date but i make format dd/MM/yyyy on the datpicer html it show correct date with wrong format , if i pass json Date object in the format dd/MM/yyyy then it make month as a day and Day as a Month , how can i solve this Prblem ( correct Date , Correct Format )


[Bug]: Images showing twice in new

What happened?
https://github.com/user-attachments/assets/0af3711f-c98c-495e-9ddb-3403fa5c3a6d
Steps to reproduce the problem

Go to images
Sort by new
Check for dupes
Notice it's not a duplicate post but in fact the same post is displayed twice.

What should have happened?
Images should not be displayed twice.
What platforms do you use to access the site?
No response
What browsers do you use to access the site?
No response
Additional information, context and logs
Bug reports will continue until morale improves

Assign me.


JRTB-2: add telegram bot to the project

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

added in #4 pull-request


What to do when a package is not dune-compatible

When using duniverse on a mirage unikernel, a lot of base layer packages remain non-dune. These packages (solo5, solo5-bindings-hvt, ocaml-freestanding, minios-xen, ..) are quite a hard work to port to dune, and probably other problems will arise.
In the short term, I propose to keep track of them, and allow to install them using a duniverse opam-install command for example.

Maybe as a short term solution, duniverse should build a local switch and install them there instead of installing them to a global switch.

A fix to this should also resolve the issue you raised in #14

Having a local switch implies to build local ocaml compiler ? This seems a bit heavy, I wouldn't mind installing the packages in the current global switch.

I believe we can close this now!


Update OpenStack Cloud Provider API support for v1.9

This change is

/milestone 1.9

/cc @anguslees @NickrenREN @dims @FengyunPan @k8s-sig-openstack-pr-reviews
Attempting to update the docs for the provider to match the API support in 1.9.

/lgtm


Handle Enter key from input

[x] don't send "Enter" to output
[x] jump to new line
[x] handle auto indentation if necessary
[ ] prevent jump to new line mid line
[ ] backspace behavior after new line (with and without indentation)
[ ] ...

btw #12 is pretty hard

Do you want some help with one of the list items?

yeahh... after I eat, I'll commit and push to the enter-input branch I have open for it.
I'll have to update the list of tasks. It's a little bit more complicated than just three items lol.

also sorry but I renamed a few functions. Some of them where named unintuitively imo (eg docstring would say 'gets the current word being typed' but the function would be called getLastTyped so I think I changed that particular one to getCurrentType) or I wanted to create more distinction between functions manipulating typed: Typed and word: string[][].

also sorry but I renamed a few functions. Some of them where named unintuitively imo (eg docstring would say 'gets the current word being typed' but the function would be called getLastTyped so I think I changed that particular one to getCurrentType) or I wanted to create more distinction between functions manipulating typed: Typed and word: string[][].

No worries. My thought was of the array of words as a whole, and getting the last word from it; hence, getLastWord. Also, it was because I thought of the name after writing bisectWord. getCurrentTyped is a better name since it's referring to the current state.

I will work on the backspace behaviour today


Enable use of Raysect in interactive Jupyter notebooks

When using the %matplotlib notebook magic in Jupyter (iPython)
notebooks, the pause() function is not implemented. This causes
Matplotlib to raise an error when observations are made using
certain pipelines (RGB, bayer, spectral and mono pipelines).
However, the pause() function is only called to work around a lack
of live updating in the Matplotlib QT backend. This workaround is
not needed in the notebook backend, so can be skipped.
The attached (zipped) notebook demonstrates correct functioning of a couple of the demos in a Jupyter notebook. I have also tested the demos at the command line with the QT5 backend, and they still run fine.
notebook_test.zip

Great, thanks.


sum_even_fibonacci.py issue

Description: This program is not adding even numbers as intended because the check for even uses b%3==0 instead of b%2==0.
Steps to Reproduce
First step to reproduce the issue/bug: download the file to an IDE to run it
Second step to reproduce the issue/bug: run the file
Third step to reproduce the issue/bug: observe that even numbers are not added
Expected Behavior A clear and concise description of what you expected to happen: only even numbers should have been produced
Actual Behavior A clear and concise description of what actually happened: odd numbers were produced
Screenshots If applicable, add screenshots to help explain the issue/bug.

Additional Information
Possible Solution If you have any suggestions for a possible solution, please include them here: change the b%3 to b%2
Priority How critical is this issue/bug? Low, medium, or high priority? Low priority
Reproducibility How often can this issue/bug be reproduced? Always, sometimes, or random?
Impact What is the impact of this issue/bug? Low, medium, or high? High because the program does not do what we want it to do at all

Fixed issue


[BUG] Gradle Support - Analysis fails for gradle-multi-project-example

Is there an existing issue for this?

[X] I have searched the existing issues

Kantra version (Tested using kantra)
version: latest
SHA: a89ffa3bce466bb46ecc658a2b07e7d2bec69af1
image: quay.io/konveyor/kantra

Priority
Undefined (Default)
Current Behavior
Analysis of the gradle-multi-project-example application fails.
Here you can find the analysis' outputs
provider.txt
output.yaml.txt
analysis.txt
Expected Behavior
Analysis shouldn't fail for this applicaton
How Reproducible
Always (Default)
Steps To Reproduce
(I tested it using Kantra)

Donwload the gradle-multi-project-example application as zip file
Start an analysis by using the following command

kantra analyze --input ~/apps/gradle-multi-project-example-master.zip --output ~/report-gradle --overwrite
Environment
No response
Anything else?
No response

After taking a look at the logs, it looks like the problem comes from trying to analyze a zip file. I think that at the moment we only support these binary formats and analyzing uncompressed source code.

@jmle you're right, I can confirm that when running the analysis against an uncompressed folder it works as expected. Hence closing this issue.


generate schema in workflows

TODO:

Download schema.json from releases in mantle-docs
Generate schema docs from schema.json in mantle-docs
Upload schema.json to mantle-docs static folder (by version)
Update docs to explain where to point YAML extension for schema


cant add toolbar

how i can adding menu toolbar ?

Hello @songeb,
Please check your layout, this issue is not yet all related to current lib.
Thanks


Accepting cookies while logged in via punchout instantly logs out the user

Actual Behavior
If you access the PWA as a punchout user (OCI or CXML) you might see the standard cookie banner. If you accept the cookies, the page will be refreshed and you will be logged out.
Expected Behavior
I either expect the user to be persisted through reloads or the cookie banner to not be shown when in punchout.
Steps to Reproduce the Bug
Steps to reproduce the behavior:

Make sure you don't have the cookie consent cookie in your browser.
Log in as a punchout user. For a simple test on your local dev system, use
localhost:4200/punchout?USERNAME=ociuser@test.intershop.de&PASSWORD=!InterShop00!&HOOK_URL=hook
Land on the PWA home page
Click on "Accept all cookies"
See that you are logged out after the page reload

Environment Details

Desktop: *

OS: Windows 10
Browser Chrome 92.0.4515.159
Browser Vivaldi 4.1
1.1.0

AB#69540

Fixed with #916


CAST-33719 remove docs stating to deploy rgw on all nodes with '*'

Description
Remove docs stating to deploy rgw on all nodes with ''. This causes an issue where the add_node_to_haproxy.sh script was unable to get hostnames running rgw. The json information returned had a '' instead of listing the hostnames. Explicitly stating the hostnames, allows the script to retrieve the correct information from the json.

Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4

/backport release/1.5


/en-US/docs/Learn/CSS/Building_blocks/Values_and_units

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

Em property is defined as "Font size of the parent element". While this is true for values assigned to typography, it's incorrect for properties of the box model such as width, where the relevant font-size is of the element being modified and not its parent's.
This definition and the way the example is formulated is misleading, because it seems that the width of the third box specified in ems depends on the "font size of 1em on the containing div, which has a class of .wrapper". This is true only because the child "box em" inherits the font-size from "wrapper". If one specifies a different font-size for the child box, its width changes accordingly. One can see it very clearly in the example if the text inside de box is reduced to one character, and one experiments with different em lengths for width.
Sorry for just pointing this out and not correcting it myself. I'm just starting to get a grip on this issue and I suspect there are some more details to check out in this document, perhaps in a couple of days I can make a contribution.

@darioscattolini I've had a go at updating the text to make this less misleading. Please met know if you if it needs further improvement.
Thanks!


Unable to load class 'com.android.build.gradle.BaseExtension'

Steps to Reproduce
I intended to upgrade detekt version from 1.9.1 to latest 1.16.0-RC1 in android project and build failed.
The project uses classic groovy gradle files. It is nice to mention that i apply detekt as a seperate gradle script.
Here is the current detekt.gradle script
buildscript {
    ext.detektVersion = '1.9.1'
    repositories {
        jcenter()
    }
    dependencies {
        classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
    }
}

apply plugin: io.gitlab.arturbosch.detekt.DetektPlugin

detekt {
    // some options
}

And that is how it's applied into app
apply from: '../scripts/detekt.gradle'
As i see 1.11.1 is the latest version which can be built without a problem. Starting 12.0.0 to the latest version, build fails.
Gradle plugin versions are the latest one.
Stacktrace
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > com/android/build/gradle/BaseExtension

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.
Caused by: java.lang.NoClassDefFoundError: com/android/build/gradle/BaseExtension
	at io.gitlab.arturbosch.detekt.internal.DetektAndroid$registerDetektAndroidTasks$1.execute(DetektAndroid.kt:59)
        at io.gitlab.arturbosch.detekt.internal.DetektAndroid$registerDetektAndroidTasks$1.execute(DetektAndroid.kt:21)
Caused by: java.lang.ClassNotFoundException: com.android.build.gradle.BaseExtension
        ... 139 more

* Get more help at https://help.gradle.org

BUILD FAILED in 435ms

Also #3476 #3260 these issues experienced similar exceptions as far as i can see.
Environment

Version of detekt used: 1.16.0-RC1
Version of Gradle used (if applicable): 4.1.2
Version of Kotlin: 1.4.21

In your root project, did you apply both detekt plugin and kotlin-android plugin? I imagine this is an issue where we accidentally apply detekt to the root project.

Caused by: java.lang.ClassNotFoundException: com.android.build.gradle.BaseExtension

Which version of AGP are you on?

@chao2zhang actually i didn't applied it inside root project gradle. The apply from: '../../scripts/detekt.gradle' snippet is inside of a feature module of a modular application. And @cortinico as i mentioned in environment section, the plugin version is 4.1.2

Does your feature module applied kotlin-android but not com.android.application or other com.android.*?

@chao2zhang actually they are not android feature modules, they are basically gradle library modules which i develop features inside them. Because of this, the module gradle file which i applied detekt script contains
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

However when i add detekt dependency also to the app gradle, which contains
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

The problem is still valid.

This looks weird. Detekt has gradle testkit integration tests for both com.android.library and com.android.application. Your build setup appears correct.
I can try to reproduce this, but as far as I know my project is also on AGP 4.1.2 and has no problem running detekt.
Is it possible if you could try to provide a simplified sample project?

I forgot to mention but https://github.com/cortinico/kotlin-android-template also works with detekt. It has both library and app modules.

Actually problem is not detekt but how i applied it. If i choose a standard way to implement, there are no problems.
plugins {
    id 'com.android.library'
    id 'kotlin-android'
    id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
}

But if i choose the implementation that i mentioned in issue desc
plugins {
    id 'com.android.library'
    id 'kotlin-android'
}

apply from: '../../scripts/detekt.gradle'

Then the problem raises. It isn't very hard to convert this into working one. But i wonder why this approach fails. This line may be the problematic one apply plugin: io.gitlab.arturbosch.detekt.DetektPlugin. I'll check what changed in 12.0.0

I can back this up. We use the same initialization in a secondary gradle file and tried to update from 1.1.0 to 1.16.0 (I know this is a huge jump). But we used this approach because in our company we have many projects and we need to have the same detekt setup in all projects so copy-pasting files are faster and way more convenient for new project setup.
Maybe there is another way to setup all detekt configuration and rules in a separate gradle file?

@volsahin Could you elaborate why we need .DetektPlugin in apply plugin: "io.gitlab.arturbosch.detekt.DetektPlugin"? I am still trying to reproduce but at least apply plugin: "io.gitlab.arturbosch.detekt.DetektPlugin" works for me.
@sigis151 @volsahin I am also trying to find problematic commits between 1.11.1 and 1.12.0 - There are also 1.11.2 and 1.12.0-RC1, would you mind checking if those versions work or not?

My suspicion is that we introduced android plugin configuration in 1.12.0 - https://github.com/detekt/detekt/pull/2787, which may conflict with the existing android projects setup.

1.11.1 and 1.12.0-RC1 syncs correctly and 1.12.0 fails with said error

I guess we have verified that it is extremely likely to be broken with #2787. Would you mind sharing a sample project? I have tried to use apply plugin in my sample project but still couldn't reproduce.
Meanwhile, I can open a new PR to allow folks to opt-out DekteAndroid setup.

fos sample I have

quality.gradle
buildscript {
    repositories {
        jcenter()
        maven { url "https://plugins.gradle.org/m2/" }
    }
    dependencies {
        classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.1.0"
        classpath 'de.aaschmid:gradle-cpd-plugin:3.1'
    }
}
apply plugin: io.gitlab.arturbosch.detekt.DetektPlugin
apply plugin: 'jacoco'
apply plugin: de.aaschmid.gradle.plugins.cpd.CpdPlugin

cpd {
    language = 'kotlin'
    toolVersion = '6.26.0'
}

cpdCheck {
    minimumTokenCount = 50
    ignoreFailures = true
    source = files('src/main/kotlin', 'src/main/java')
}

detekt {
    input = files("$projectDir")
    config = files("$projectDir/config/detekt/default-detekt-config.yml")
}
dependencies {
    detektPlugins "io.gitlab.arturbosch.detekt:detekt-formatting:1.1.0"
}

jacoco {
    toolVersion = "0.8.1"
    reportsDir = file("$buildDir/reports/jacoco")
}

tasks.withType(Test).whenTaskAdded {
    it.jacoco.classDumpDir = file("$project.buildDir/jacoco/dump")
}

And in main app/build.gradle at the top of it, I apply these plugins
apply plugin: 'com.android.application'
...
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply from: 'config/quality.gradle'
...

@chao2zhang is this issue fixed with PR #3511? Is there anything else left to do in order to close this issue?

@chao2zhang is this issue fixed with PR #3511? Is there anything else left to do in order to close this issue?

Nope is still not solved. The root cause is applying detekt from an external build file (say detekt.gradle). We need to investigate why this is happening and try to come up with a solution or a workaround


How to spawn a Monster?

I really love this plugin because of easy management, but for some reason, I can't find the way to spawn them. Is there anyway to spawn it?

This is an API for development. If you want to summon a monster, use the DungeonEntity provided by the plugin to summon it.


How to get the start and end day of the calendar ?

Hi,
This control is awesome and i love it.
Can you please tell me  how to get the start date and end date of the calender ?

Like i mentioned in the image.
Thanks you.

Hello,
var startDate = calendar.CalendarStartDate(calendar.StartDate);
var endDate = startDate.AddDays(41);

Hoop this helps ;)


Manually update donation sites

Hi all, I need a break from manual HTML updates.
Here is where the form submissions come in, and I've processed through 10: https://docs.google.com/spreadsheets/d/1GwP7Ly6iaqgcms0T80QGCNW4y2gJ7tzVND2CktFqnXM/edit?usp=drive_web&ouid=106808033963993184667
If you want to try to edit index.html to include a new site, go ahead. Awong or I can approve your merge.
I'm going offline for a little bit to take a break, but will deploy any changes when I come back.

@4kbt if you have cycles, here is the sheet. 24+ are new. Please call what you're doing here, and submit a PR when they're added!

Will take number 26, St. Clare, as a test to make sure that formatting goes well.

Will handle rows 27-30.

Unclear how to handle hospital 31. Will handle 32-35.

Addressing 36 and 37.

Addressing 38 and 40. 39 is not a hospital.

Tackling hospital 41.

Will get 42 in this commit, too.

I've received an update to Boston Medical Center. Let me know if someone can change this:
For mailing, same address, with additional instructions:
Ask that they please put a note in the box specifying that it is a donation. Make sure that they provide their name, email, and  mailing address, along with the monetary value of their donation (for policy reasons).
Updated PPE List: Surgical Gloves
Gowns (Fluid resistant or not)
Disposable Face shields
Thermometers
N95 respirators mask
Masks (surgical/cloth)
Positive Airway Purifying Respirator (PAPR) disposable/replacement parts (hoods, battery pack, tubing)
Hoods

I am doing the Boston Med Center update (in the sheet and the html) now, and then let's stop doing manual updates. We'll focus tomorrow on data backfill (I will open a new issue) and then cut over to the automatic pipeline!


Refactor HashInputs() to share a static analysis cache with main solver

Followup on #36
The addition of static analysis as, effectively, inputs to the solving algorithm means that the hash we generate for lock files - via SolveOpts.HashInputs() - necessarily has to include a static analysis component. However, if we leave that method as a standalone method like it currently is, that would entail that most tools will probably trigger static analysis themselves, and THEN call Solve(), which would rerun that static analysis.
That's quite costly, especially for larger projects like kubernetes. We need a way of caching those results, and doing so in a way where the cache is localized to a particular solver instance.

Ended up doing this because it necessitated an interface change, and I'd rather have it done than looming in the future.


Can't upload In-App Purchase Items

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[ ] I read docs.fastlane.tools
[ ] I searched for existing GitHub issues

Issue Description

I'm using a Ruby script to create In-App Purchase items but ITC is firing this error:
ITC.apps.iap.20.familyDetails.localeCode.unsupportedError
We can't understand why, there is no information about this error in the entire repo. Agreements for Paid iOS application are ok. We started using this script at least one year ago. Two days ago it stopped working.
Command executed

app.in_app_purchases.create!(
			type: Spaceship::Tunes::IAPType::NON_CONSUMABLE,
			versions: {
			  "it-IT" => {
			    name: productName,
			    description: productDescription
			  }
			},
			reference_name: productName,
			product_id: productIdentifier,
			cleared_for_sale: true,
			review_notes: "",
			review_screenshot: screenPath,
			pricing_intervals:
			  [
			    {
			      country: "WW",
			      begin_date: nil,
			      end_date: nil,
			      tier: productTier
			    }
			  ]
			)

Complete output when running fastlane, including the stack trace and command used

ITC.apps.iap.20.familyDetails.localeCode.unsupportedError ITC.apps.iap.20.familyDetails.localeCode.unsupportedError
/Users/user/.rvm/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-2.130.0/spaceship/lib/spaceship/tunes/tunes_client.rb:230:in `handle_itc_response'
/Users/user/.rvm/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-2.130.0/spaceship/lib/spaceship/tunes/tunes_client.rb:1400:in `create_iap!'
/Users/user/.rvm/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-2.130.0/spaceship/lib/spaceship/tunes/iap.rb:76:in `create!'

Environment

STACK
 Key                         | Value                                        |
| --------------------------- | -------------------------------------------- |
| OS                          | 10.14.5                                      |
| Ruby                        | 2.3.0                                        |
| Bundler?                    | false                                        |
| Git                         | git version 2.7.4 (Apple Git-66)             |
| Installation Source         | ~/.rvm/rubies/ruby-2.3.0/bin/fastlane        |
| Host                        | Mac OS X 10.14.5 (18F132)                    |
| Ruby Lib Dir                | ~/.rvm/rubies/ruby-2.3.0/lib                 |
| OpenSSL Version             | OpenSSL 1.0.2r  26 Feb 2019                  |
| Is contained                | false                                        |
| Is homebrew                 | false                                        |
| Is installed via Fabric.app | false                                        |
| Xcode Path                  | /Applications/Xcode7.app/Contents/Developer/ |
| Xcode Version               | 7.3.1                                        |

Fastlane gems
| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.130.0 | ✅ Up-To-Date  |

I have also tried with Ruby 2.2.3  and with Xcode 10 but is firing the same error.

i meet the same error now. and i need help too.
here is my more infomation.
i print it from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.130.0/spaceship/lib/spaceship/tunes/tunes_client.rb:1401:in `create_iap!' . the parameter "raw" .
i notice there is "ITC.apps.iap.20.familyDetails.localeCode.unsupportedError" in the block of name "com.newxx6".
i tried to change  "com.newxx6" to "comnewxx6", tried to change name same to productID
but they didn't work.

raw = {
"data" => {
"sectionErrorKeys" => ["ITC.apps.iap.20.familyDetails.localeCode.unsupportedError"], "sectionInfoKeys" => [], "sectionWarningKeys" => [], "value" => nil, "id" => nil, "adamId" => nil, "appAdamIds" => nil, "familyId" => nil, "addOnType" => "consumable", "isNewsSubscription" => false, "isReplaced" => false, "replacementAdamId" => nil, "referenceName" => {
"value" => "com.newxx6", "isEditable" => false, "isRequired" => false, "errorKeys" => [], "maxLength" => nil, "minLength" => nil
}, "productId" => {
"value" => "com.newxx6", "isEditable" => false, "isRequired" => false, "errorKeys" => [], "maxLength" => nil, "minLength" => nil
}, "clearedForSale" => {
"value" => true, "isEditable" => false, "isRequired" => false, "errorKeys" => nil
}, "pricingDurationType" => nil, "pricingIntervals" => [{
"value" => {
"tierStem" => "1", "priceTierEffectiveDate" => nil, "priceTierEndDate" => nil, "country" => "WW", "grandfathered" => nil
},
"isEditable" => false,
"isRequired" => false,
"errorKeys" => []
}], "ungrandfatheredIntervals" => nil, "freeTrialDurationType" => nil, "bonusPeriodDurationType" => nil, "versions" => [{
"id" => nil,
"details" => {
"value" => [{
"value" => {
"id" => nil, "name" => {
"value" => "com.newxx6", "isEditable" => false, "isRequired" => false, "errorKeys" => ["ITC.apps.iap.20.familyDetails.localeCode.unsupportedError"], "maxLength" => nil, "minLength" => nil
}, "description" => {
"value" => "After Pay Success You can get 60 Gems", "isEditable" => false, "isRequired" => false, "errorKeys" => [], "maxLength" => nil, "minLength" => nil
}, "publicationName" => nil, "localeCode" => "zh-CN", "status" => nil
},
"isEditable" => false,
"isRequired" => false,
"errorKeys" => nil,
"isDeletable" => false
}], "isEditable" => true, "isRequired" => false, "errorKeys" => nil
},
"contentHosting" => nil,
"contentHostingData" => nil,
"reviewNotes" => {
"value" => " ", "isEditable" => false, "isRequired" => false, "errorKeys" => [], "maxLength" => nil, "minLength" => nil
},
"reviewScreenshot" => {
"value" => {
"assetToken" => "Purple123/v4/29/de/f7/29def7c8-db92-e4f9-562b-341bb0b3584d/pr_source.jpg", "sortOrder" => 0, "type" => "MZPFT.SortedScreenShot", "size" => 42312, "width" => 640, "height" => 920, "checksum" => "a1cdf05db694b0be2a8cd91eca91f51e", "url" => nil, "thumbNailUrl" => nil, "originalFileName" => "ftl_a1cdf05db694b0be2a8cd91eca91f51e_6.jpg"
}, "isEditable" => false, "isRequired" => false, "errorKeys" => []
},
"merch" => {
"images" => [{
"id" => nil,
"image" => {
"value" => {
"assetToken" => nil, "originalFileName" => nil, "width" => nil, "height" => nil, "checksum" => nil
}, "isEditable" => true, "isRequired" => false, "errorKeys" => nil
},
"status" => nil
}], "showByDefault" => true, "isActive" => false
},
"status" => nil,
"canBeSubmitted" => false
}], "missingRequiredPrivacyPolicyData" => false, "missingRequiredFamilyDetail" => false
},
"messages" => {
"warn" => nil, "info" => nil, "error" => nil
},
"statusCode" => "ERROR"
}

I've successfully uploaded an in-app purchase using Application Loader Version 3.0 (620). Looking at the new Apple Metadata specification (5.11)  I see that there is a clarification about the Locale:

To remove a locale for an in-app purchase that was previously delivered, include the  block in a new delivery and omit the locale you want to remove.

But I don't know if it is fastlane that needs to fix the new metadata specification or not.

finally, I found my mistake.
yes , the wrong localCode. the wrong localCode. the wrong localCode.
my wrong localCode is "zh-CN" , but the correct string is "zh-Hans" in Language Codes.
@MatMarras
I noticed your localCode is "it-IT", but I can't found it on the list. you may change it.

finally, I found my mistake.
yes , the wrong localCode. the wrong localCode. the wrong localCode.
my wrong localCode is "zh-CN" , but the correct string is "zh-Hans" in Language Codes.
@MatMarras
I noticed your localCode is "it-IT", but I can't found it on the list. you may change it.

my wrong localCode is "zh-CN" , but the correct string is "zh-Hans" in Language Codes.
this fix my problem , thanks

finally, I found my mistake.
yes , the wrong localCode. the wrong localCode. the wrong localCode.
my wrong localCode is "zh-CN" , but the correct string is "zh-Hans" in Language Codes.
@MatMarras
I noticed your localCode is "it-IT", but I can't found it on the list. you may change it.

Yes, that was my error too. Changing from "it-IT" to "it" fix the issue.
Thanks!


[SwiftTestTool] Add flag to display test coverage path

@swift-ci smoke test

Checks passed. Ready for merge, @aciidb0mb3r?

What version would someone look for this addition? Is there any way of back porting this to Swift 5.1.0?


Cecil required

Hey,
I'm able to load the plugin successfully, but running it complains that it can't load the assembly for mono.cecil.
I'll try hunting that down, but it might be something needed in your deployment (I'll let you know what I find).

Sorry for the late response. I currently don't have a Windows environment handy, so it might take some time for me to fix this.


QA - [Components / Notification]: Toast notification broken in mobile

the spacing between bottom of type and container is too short. @shixiedesign

This isn't just in mobile, this is desktop also.


Cannot quickly change element types

Closing this ticket since the issue rarely comes up. If this becomes a sticky point, will re-open this issue.


convert u2net_portrait.pth to coreml

I convert u2net_portrait.pth to mlmodel and result is different. I can find there is a normalized code.
pred = 1- d1[:,0,:,:]
How can I do using coremltools?
Origin

python model

mlmodel

I can find there are normalization code to revert color.

Can please share the CoreML model?

@mgstar1021 can you please share the CoreML model?
Thanks


Merge the benchmark fixes and enhancements to main

🚀 Pull Request
Description

Draft for now, as needs an extra What's New entry

Consult Iris pull request check list

Many thanks @ESadek-MO 🙂


Remove workaround for debugDefaultTargetPlatformOverride being changed during test by DevTools

We were forced to add a workaround because of a bug in DevTols. See https://github.com/flutter/devtools/issues/6719
Long story short: the DevTools change a global Flutter value debugDefaultTargetPlatformOverride, but don't reset it at the end of the test. This results in assertions being broken in flutter_test binding.
There are 3 parts to the workaround:
https://github.com/leancodepl/patrol/blob/f0cbe876911115f74ac3c4044b3345a1bf94a436/packages/patrol/lib/src/binding.dart#L149-L153
https://github.com/leancodepl/patrol/blob/f0cbe876911115f74ac3c4044b3345a1bf94a436/packages/patrol/lib/src/common.dart#L116-L117
https://github.com/leancodepl/patrol/blob/f0cbe876911115f74ac3c4044b3345a1bf94a436/packages/patrol_cli/lib/src/test_bundler.dart#L142-L144
What does success look like

Flutter team acknowledges the issue
The fix is merged in Flutter
We can remove the workaround code from Patrol

Adding blocked since it doesn't depend entirely on us.

I'm getting Cannot modify debugDefaultTargetPlatformOverride in non-debug builds. when testing with Firebase Test Labs.
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: Cannot modify debugDefaultTargetPlatformOverride in non-debug builds.
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: #0      debugDefaultTargetPlatformOverride= (package:flutter/src/foundation/platform.dart:106)
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: #1      patrolTest.<anonymous closure> (package:patrol/src/common.dart:140)
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: <asynchronous suspension>
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: #2      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183)
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: <asynchronous suspension>
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: #3      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017)
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: <asynchronous suspension>
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: #4      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:809)
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter: <asynchronous suspension>
May 20 09:36:28 iPhone Runner(Flutter)[534] <Notice>: flutter:   Test failed. See exception logs above.

It appears to be related to this workaround. Since each test is being executed separately, a dirty fix can skip the workaround in non-debug mode, I think?

Was wondering if anyone ran into this as well. We are getting the same thing when running on Firebase for iOS with flutter version 3.22. Anyone have a workaround for this? @daohoangson @bartekpacia

@bkeelon after the #2203 fix, I have been able to use<EMAIL_ADDRESS>(and up) to run the tests on Firebase Test Lab without issue. For example, this run https://github.com/daohoangson/flutter_widget_from_html/actions/runs/9437960791/job/25994432496


Multiple models with abstract (not working)

Hi,
I have a multiple models with abstract model; it not working
Thanks.

Hey @antwal, thanks for the report.
Can you share the model you are using, so I can try to reproduce the environment and (hopefully) fix the bug?
Cheers

Hi,
this is example;
abstract.py
class Base(db.Model):
abstract  = True
id = db.Column(db.Integer, primary_key=True)

users.py
class Users(Base):
tablename = 'users'
client = db.Column(db.String(12))
address = db.Column(db.String(15))

def __init__(self, client=None, address=None):
    self.client = client
    self.address = address

I have used your example to create backups; but not working; I have tryed with standard example working.
Thanks.

Thanks. I'll try to take a look during the weekend.
(But surely anyone is free to send a PR)

Hey @antwal,
I couldn't fix it, but probably the problem comes form the fact that:

__abstract__ causes declarative to skip the production of a table or mapper for the class entirely [source]

AlchemyDumps backs up mapped class only. I'm not sure how to get non-mapped class.


watch all namespaces.

followup PR for https://github.com/istio/operator/pull/356
controller watched IstioControlPlane CR in all namespaces instead of pod's namespace.

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

Test name
Commit
Details
Rerun command

gencheck_operator
e19e8e61d75153c23eb5b87dd0ff1e31ebf7c646
link
/test gencheck_operator

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


Doing a Process.kill(0, ...)

Apologies if this is a dumb question.
I want to do a:    Process.kill(0, somePID)
as a quick way to see if the process exists, but I can't use an integer value as the signal-parameter to kill() as I can in Ruby or other languages.  src/signal.cr defines enum Signal with many of the standard values, but nothing is defined for zero.
Am I missing something simple?

Additionally it always returns nil.
I never was much of a fan of sending 0 as a high level feature. Maybe we can add something like
class Process
    def self.exists?(pid : Int)
    ret = LibC.kill(pid, 0)
    raise Errno.new(ret) if ret < 0
    ret == 0
  end
end


Identifiers validation failed for dataset Los agaves, recursos fitogenéticos de los agroecosistemas tradicionales mexicanos de importancia para la agrobiodiversidad mundial

Identifier validation failed for the dataset Los agaves, recursos fitogenéticos de los agroecosistemas tradicionales mexicanos de importancia para la agrobiodiversidad mundial:

Crawler attempt: 4
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 85
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 85 total records; 85 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3757085/step

New IDs sample:

Old IDs sample:

urn:catalog:IBUNAM:JB-CNAN:11882:02ef1e81e69763365a1420a8f409abd3
urn:catalog:IBUNAM:JB-CNAN:11888:9ec70044fa424dbb6107be12b5661de1
urn:catalog:IBUNAM:MEXU:1541145:dbc00fb5d1f92000b5db9e71ec73445b
urn:catalog:IBUNAM:MEXU:1541151:694ca576d9c196e0eb126aa416a3cd6a
urn:catalog:IBUNAM:MEXU:1542304:0d5acde38d7fe4e82cd11cfc26cc278d
urn:catalog:IBUNAM:MEXU:1542309:9a5a14e97174a278b20e326e2e2c8d81
urn:catalog:IBUNAM:MEXU:1542311:88b6a1718753ff73811001f511633120
urn:catalog:IBUNAM:MEXU:1542312:06370fb8501a012d8810113833fef6fa
urn:catalog:IBUNAM:MEXU:NO DISPONIBLE:84fa93e9cd7b58e600803fb48a39762d
urn:catalog:IBUNAM:NO APLICA:NO APLICA:0f032ed57e515f1d9a3dac976bc4d034

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Los agaves, recursos fitogenéticos de los agroecosistemas tradicionales mexicanos de importancia para la agrobiodiversidad mundial : https://doi.org/10.15468/7rtcfn.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Los agaves, recursos fitogenéticos de los agroecosistemas tradicionales mexicanos de importancia para la agrobiodiversidad mundial:

Crawler attempt: 5
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 85
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 85 total records; 85 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3757205/step

New IDs sample:

Old IDs sample:

urn:catalog:IBUNAM:JB-CNAN:11882:02ef1e81e69763365a1420a8f409abd3
urn:catalog:IBUNAM:JB-CNAN:11888:9ec70044fa424dbb6107be12b5661de1
urn:catalog:IBUNAM:MEXU:1541145:dbc00fb5d1f92000b5db9e71ec73445b
urn:catalog:IBUNAM:MEXU:1541151:694ca576d9c196e0eb126aa416a3cd6a
urn:catalog:IBUNAM:MEXU:1542304:0d5acde38d7fe4e82cd11cfc26cc278d
urn:catalog:IBUNAM:MEXU:1542309:9a5a14e97174a278b20e326e2e2c8d81
urn:catalog:IBUNAM:MEXU:1542311:88b6a1718753ff73811001f511633120
urn:catalog:IBUNAM:MEXU:1542312:06370fb8501a012d8810113833fef6fa
urn:catalog:IBUNAM:MEXU:NO DISPONIBLE:84fa93e9cd7b58e600803fb48a39762d
urn:catalog:IBUNAM:NO APLICA:NO APLICA:0f032ed57e515f1d9a3dac976bc4d034

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Los agaves, recursos fitogenéticos de los agroecosistemas tradicionales mexicanos de importancia para la agrobiodiversidad mundial : https://doi.org/10.15468/7rtcfn.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


New release with hyrdate support

Thank you so much for introducing hydrate support! I was wondering if it would be possible to get a new NPM release which includes support forhyrdate.
Thanks and thank you so much for the amazing work!

v2.1.0 released.


[AVM Module Issue]: Support azurerm >4.0.0

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
0.1.2
(Optional) Correlation Id
No response
Description
Currently the azurerm provider is constrained to >= 3.71.0, < 4.0.0
My org is currently migrating to azurerm 4.x and this is putting a blocker.
I would propose that the constraint is changed to < 5.0.0

@audunsolemdal, thank you for opening issue. 4.0.0 testing is currently in progress and once completed the constraints will be adjusted.

#62 added the subscription id requirement for version 4.0.0. Thank you again for the issue.

#62 added the subscription id requirement for version 4.0.0. Thank you again for the issue.

Okay, but seems like the constraint in version 0.1.3 is still hindering me from using the module with azurerm 4.x
https://github.com/Azure/terraform-azurerm-avm-ptn-avd-lza-insights/blob/main/terraform.tf#L3-L7

@audunsolemdal, thank you for following up. It is fixed now. There was a typo on the digit.


2.13 is a meh after 2.12, read why

Windows 7 x64 user here.
$ brename2.12.exe -S "" -R -p "\.startup" -r "_startup"

[INFO] main options:
[INFO]   ignore case: false
[INFO]   search pattern: \.startup
[INFO]      skip filters:
[INFO]   include filters: .
[INFO]   search paths: ./
[INFO]
[INFO] checking: [ ok ] 'Keepass\.startup' -> 'Keepass\_startup'
[INFO] 1 path(s) to be renamed
[INFO] renamed: 'Keepass\.startup' -> 'Keepass\_startup'
[INFO] 1 path(s) renamed

Except for the redundant checking and nerdy rather than vernacular presentation of renaming conditions with too much [INFO] SHOUTING, I'm happy with it. Especially considering that @shenwei356 implemented my proposal about undoing changes.
Now, let's update to 2.13 and see what happens.
$ brename2.13.exe -S "" -R -p "\.startup" -r "_startup"

[INFO] brename v2.13.0
[INFO]
[WARN]
[WARN] The flag -w/--case-insensitive-path is switched on Windows by default,
[WARN] where the path is case-insensitive in file systems like FAT32 and NTFS.
[WARN] If you are using a file system in which paths are case-insensitive,
[WARN] please use -W/--case-sensitive-path.
[WARN]
[INFO] ---------------- main options ------------------------
[INFO]
[INFO] search mode:
[INFO]  recursively rename: true
[INFO]       maximum depth: 0 (0 for no limit)
[INFO]   include directory: false
[INFO]      only directory: false
[INFO]
[INFO] path filters and search pattern:
[INFO]    search pattern: \.startup
[INFO]       replacement: _startup
[INFO]       ignore case: false
[INFO]
[INFO]      skip filters:
[INFO]   include filters: .
[INFO]
[INFO] path overwrite checking:
[INFO]   case-insensitive path: true
[INFO]          overwrite mode: 0 (reporting error)
[INFO]
[INFO] miscellaneous:
[INFO]      disable undo: false
[INFO]   only list paths: false
[INFO]           dry run: false
[INFO]
[INFO] ------------------------------------------------------
[INFO]
[INFO] search paths: ./
[INFO]
[INFO] checking: [ ok ] 'Keepass\.startup' -> 'Keepass\_startup'
[INFO] 1 path(s) to be renamed
[INFO] renamed: 'Keepass\.startup' -> 'Keepass\_startup'
[INFO] 1 path(s) renamed

The executable has increased by 459 264 bytes, although there are few changes.
The amount of information has grown so much that it simply did not fit on my laptop screen. Why would I need such a detailed explanation of the renaming conditions if I already spent time studying the command line flags in the manual, picked the necessary ones and now I just want the app to fulfill its purpose?
The app scared me with a multi-line warning about a new flag, which is enabled by default and should not shout of itself precisely because of being a default one.

This is what I expect to see:
$ brename.exe -S "" -R -p "\.startup" -r "_startup"

brename x.yz by Wei Shen, https://github.com/shenwei356/brename/

[OK] 'Keepass\.gogogo' -> 'Keepass\_gogogo'
1 path(s) renamed

The rest (timestamp, message type, renaming conditions, etc), if at all necessary, should be displayed if a dedicated flag is specified, thereby explicitly asking the app to increase the verbosity of logging.

Haha :rofl:, thanks for your comment. It is kind of verbose. It's meant to provide more details.
You can add -q/--quiet to make it quiet, which only reports for errors.
$  ls
A.txt B.txt

$ brename -p .txt -r _txt -q

$ ls
A_txt B_txt

$ brename -p A -r B -q
[ERRO] checking: [ new path existed ] 'A.txt' -> 'B.txt'
[ERRO] 1 potential error(s) detected, please check

Alas, -q makes the app too quiet.
Imagine you are in a car, its a windshield is dirty, and press a button to clean it. At present, the cleaning is accompanied by readings from a dozen sensors telling you how much water is in the tank, the battery charge and the angle of the wipers — it makes you keep an eye on everything and eventually causes anxiety. Using -q will turn this process into wandering in the dark: the lights go out in the cabin, then the lights come back on after a pause of unknown duration, and the windshield, as in fairy tales, is already clean. We need a golden mean that provides enough feedback without overwhelming with details.

I understand now, you're right.
I just set -v 2 as the default log level. It's more concise now. -v 0 outputs all verbose information as before.
$ ls
A.txt     B.txt

$ brename -p A -r B
[ERRO] checking: [ new path existed ] 'A.txt' -> 'B.txt'
[ERRO] 1 potential error(s) detected, please check

$ brename -p A -r A

$ brename -p txt -r text
[INFO] renamed: 'A.txt' -> 'A.text'
[INFO] renamed: 'B.txt' -> 'B.text'
[INFO] 2 path(s) renamed

$ brename -u
[INFO] rename back: 'B.text' -> 'B.txt'
[INFO] rename back: 'A.text' -> 'A.txt'
[INFO] 2 path(s) renamed

Please try the new binary:
brename_windows_amd64.exe.tar.gz

@sergeevabc How's the new version?

@shenwei356, it crashes.
$ brename.exe
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
        /usr/local/go/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x46c355
rax     0x0
rbx     0xb8e3c0
rcx     0xbe34c0
rdi     0x7fffffde000
rsi     0x22fea0
rbp     0x22fde0
rsp     0x22fc78
r8      0x0
r9      0x22fee0
r10     0xbb5278
r11     0x21
r12     0x22fec0
r13     0x1
r14     0xb8dd60
r15     0x0
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b

Are you using Windows 7? Go 1.21 requires at least Windows 10 or Windows Server 2016.
Try this one, compiled with Go1.20.
brename_windows_amd64.exe.tar.gz

Consider adding the name and version of the app as the first line. When the program is just starting to work and has not yet found a single file to rename, I see a black screen without understanding which app doing what. For example:
$ brename.exe ...
bRename 2.14 by Wei Shen, https://github.com/shenwei356/brename/
...

I can't get rid of the feeling that you are overloading the screen with the noiise that does not carry a payload and takes up space from long paths (maybe you have a widescreen monitor, but my laptop screen is not that wide).
Consider an alternative:
$ brename ...
bRename 2.14 by Wei Shen, https://github.com/shenwei356/brename/

Renaming paths...

[DONE] Autohotkey\_os -> Autohotkey\_startup
[DONE] DNSCrypt\_os -> 'DNSCrypt\_startup
[DONE] Keepass\_os -> Keepass\_startup

3 path(s) renamed, it took 00:00:02.7

$ brename -u .brename_detail.txt
bRename 2.14 by Wei Shen, https://github.com/shenwei356/brename/

Renaming paths back...

[DONE] Autohotkey\_startup -> Autohotkey\_os
[DONE] DNSCrypt\_startup -> 'DNSCrypt\_os
[DONE] Keepass\_startup -> Keepass\_os

3 path(s) renamed back, it took 00:00:01.9

Header with operation type added: Renaming paths, Renaming paths back
Prefix [INFO] calculated: changed to [DONE]
Single quotes removed
Timer added

brename_windows_amd64.exe.tar.gz

It's almost there.
brename_windows_amd64.exe.tar.gz
When searching a path with many sub-directories, the paths will be shown in one line and refreshed to tell users: "I'm working, just be patient and wait!"

Recently, I found a new tool https://github.com/ayoisaiah/f2, which even supports Exif attributes~ You can also have a try.

I believe you meant searching for paths (difference explained).
After the search is complete, there is a frightening residual that consists of parts of different paths (Volume2\SoundsVolume2 Default Whiteerseorangeb\python…). It is more appropriate to clear this field as follows

All fixed. Thanks.
brename_windows_amd64.exe.tar.gz

Looks like you forgot to add the refreshing status to the dry-run -d mode.

Looks like you forgot to add the refreshing status to the dry-run -d mode.

I disable it for -d, because it would be a mess.

$ brename ... -d
Searching for paths to rename...

  [OK] Autohotkey\_os -> Autohotkey\_osxxx
  [OK] DNSCrypt\_os -> DNSCrypt\_osxxx
  [OK] Keepass\_os -> Keepass\_osxxx
  Done searching.

3 path(s) to be renamed

'Done searching' s kinda redundant on this screen and could be omitted, yes?

Right.  But here, "Done searching" is printed first, it might be due to different disk speeds.
$ brename -R -p 386 -d
Searching for paths to rename...

  Done searching.
  [OK] binaries/brename_linux_386.tar.gz -> binaries/brename_linux_.tar.gz
  [OK] binaries/brename_windows_386.exe.tar.gz -> binaries/brename_windows_.exe.tar.gz

2 path(s) to be renamed

Anyway, disabled it in dry-run mode.
brename_windows_amd64.exe.tar.gz

Congratulations, @shenwei356, brename's output looks much better now.


HUE-9382 Possible Script Execution on Add/Sync LDAP users (asnaik)

HUE-9382 Possible Script Execution on Add/Sync LDAP users (asnaik) Fix
Tested in : Safari , Chrome & Firefox

@JohanAhlen  @romainr  ,
Please help me review this.

Instead of an entityMap, a better implementation to sanitise might be to use innerText and innerHTML.
https://remarkablemark.org/blog/2019/11/29/javascript-sanitize-html/

Nice!


Remove manifest support for safe apps

Closes https://github.com/safe-global/safe-client-gateway/issues/862

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

27 of 27 (100.0%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.08%) to 31.524%

Files with Coverage Reduction
New Missed Lines
%

src/providers/info.rs
1
29.29%

src/cache/cache_operations.rs
3
24.85%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
12262

Relevant Lines:
13970

💛  - Coveralls


Fix associative spec to allow for nested dynamic size specs

closes #16

Thanks for merging. Are you planing a release soon?

yeah, remember me pls the next week im right now this week with limited
connectivity
On Mon, Oct 7, 2019, 7:26 AM tomerweller<EMAIL_ADDRESS>wrote:

Thanks for merging. Are you planing a release soon?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/funcool/octet/pull/17?email_source=notifications&email_token=AAGN7KKIZ6DRH33VOCT7ZU3QNLCBNA5CNFSM4HALPLY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAPB36I#issuecomment-538844665,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGN7KPPET3BQBMYWFTMUGTQNLCBNANCNFSM4HALPLYQ
.


pkg/cdi: handle unmarshalling empty Spec data.

Unmarshalling empty Spec data results in the raw Spec pointer set to nil. Handle this gracefully instead of crashing on it.

What is the benefit of not returning a pointer to an empty spec instead?

Empty spec is useless I guess and it's better to consider it as an error in my opinion.

What is the benefit of not returning a pointer to an empty spec instead?

Empty spec is useless I guess and it's better to consider it as an error in my opinion.

Yes, I agree. What happens when we try to parse "{}" (an empty JSON document)? as opposed to "" a completely empty document?


kbnm: Extra input cleaning for command args

Pretty sure exec.Command already does relevant escaping for assumptions, but maybe add this extra layer just in case?

@oconnor663 please take a look at this one when you get in, waiting on it to make a new build, thanks


cargo fix prepare-for 2018 errors after due to 'async' identifier

I tried out cargo fix --prepare-for 2018 on hyper, and after it ran, it showed an error and claimed it was a bug in cargo or rustc, and to report it here. There is an identifier currently named async in a file, here: https://github.com/hyperium/hyper/blob/069a32b1acc5ece35643c26cf5d9972dace5481c/src/body/body.rs#L268
In this specific case, it would have been fine to just renamed that binding to async_, or perhaps r#async. I'm not sure if trying to do that automatically would accidentally name async blocks or functions wrongly, though.

Just hit this right now with websocket::async as well. It seems doing an unconditional replacement to r#async should work, the lint should only be triggered on identifiers so won't affect async fn, and async blocks don't exist in 2015.

Thanks for the report @seanmonstar and @Nemo157!
It looks like this may be a bug in the lint and/or compiler. To confirm, if you place #![feature(raw_identifiers)] at the top of the crate, does the migration succeed?
If so, I'll fix this in rustc. If not, there's more digging to do!

@alexcrichton #![feature(raw_identifiers)] worked, it updated the import to r#async and cargo fix didn't report any errors.

Ok great, thanks for checking @Nemo157!

Ok the fixes are now in nightly and with @Nemo157's confirmation it worked I'm gonna close, we can always reopen if this comes up again though!


[ILLUSTRATION] Make GoogleProviderConfigPluginFrameworkModel use SDK type system

Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.

When running TestAccFwProvider_project with these code changes this error happens:
    framework_provider_project_test.go:79: Step 1/5 error: Error running pre-apply refresh: exit status 1

        Error: Value Conversion Error

          with data.google_provider_config_plugin_framework.default,
          on terraform_plugin_test.tf line 2, in data "google_provider_config_plugin_framework" "default":
           2: data "google_provider_config_plugin_framework" "default" {}

        An unexpected error was encountered trying to build a value. This is always
        an error in the provider. Please report the following to the provider
        developer:

        Received null value, however the target type cannot handle null values. Use
        the corresponding `types` package type, a pointer type or a custom type that
        handles null values.

        Path: credentials
        Target Type: string
        Suggested `types` Type: basetypes.StringValue
        Suggested Pointer Type: *string


Make the env fix cross platform

Just like the title says

All tests green via apm

How exactly does this change any behavior?
I see you dropped process.env.hasOwnProperty(prop), but this only matters if the object you're iterating over extends another object that might have properties. As long as process.env.prototype is undefined then checking hasOwnProperty is going to be true for all properties.
fyi, CoffeeScript will let you add a when to for loops. This loop is exactly the same as both of the previous implementations.
for prop,value of process.env when prop isnt 'OS'
  options.env[prop] = value

And +1 for the when keyword


Train Model canceled every time.

Hi I have run the pipeline three times and then it going to canceled forever...
Train model -> Get Pipeline ID for ... -> Trigger ML Pipeline -> Determine if evaluation succeeded and new model is registered
I know in document have a note **'Note: If the model evaluation determines that the new model does not perform better than the previous one then the new model will not be registered and the pipeline will be cancelled. '**
But here problem is I've tried it nearly 10 times and it's all cancelled automatically so how do I get around?
2020-02-06T13:43:13.6953086Z ##[section]Starting: Determine if evaluation succeeded and new model is registered
2020-02-06T13:43:13.6957224Z ==============================================================================
2020-02-06T13:43:13.6957326Z Task         : Azure CLI
2020-02-06T13:43:13.6957429Z Description  : Run Azure CLI commands against an Azure subscription in a Shell script when running on Linux agent or Batch script when running on Windows agent.
2020-02-06T13:43:13.6957524Z Version      : 1.157.0
2020-02-06T13:43:13.6957598Z Author       : Microsoft Corporation
2020-02-06T13:43:13.6957800Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
2020-02-06T13:43:13.6957900Z ==============================================================================
2020-02-06T13:43:14.1289280Z [command]/usr/local/envs/mlopspython_ci/bin/az --version
2020-02-06T13:43:15.4741373Z azure-cli                         2.0.81
2020-02-06T13:43:15.4741530Z
2020-02-06T13:43:15.4741818Z command-modules-nspkg              2.0.3
2020-02-06T13:43:15.4741958Z core                              2.0.81
2020-02-06T13:43:15.4742031Z nspkg                              3.0.4
2020-02-06T13:43:15.4742117Z telemetry                          1.0.4
2020-02-06T13:43:15.4742165Z
2020-02-06T13:43:15.4742433Z Python location '/usr/local/envs/mlopspython_ci/bin/python'
2020-02-06T13:43:15.4742742Z Extensions directory '/home/vsts_azpcontainer/.azure/cliextensions'
2020-02-06T13:43:15.4742801Z
2020-02-06T13:43:15.4742884Z Python (Linux) 3.7.5 (default, Oct 25 2019, 15:51:11)
2020-02-06T13:43:15.4743002Z [GCC 7.3.0]
2020-02-06T13:43:15.4743060Z
2020-02-06T13:43:15.4743126Z Legal docs and information: aka.ms/AzureCliLegal
2020-02-06T13:43:15.4743173Z
2020-02-06T13:43:15.4743228Z
2020-02-06T13:43:15.4743265Z
2020-02-06T13:43:15.4743492Z Your CLI is up-to-date.
2020-02-06T13:43:15.4743553Z
2020-02-06T13:43:15.4743623Z Please let us know how we are doing: https://aka.ms/clihats
2020-02-06T13:43:15.4802602Z Setting AZURE_CONFIG_DIR env variable to: /__w/_temp/.azclitask
2020-02-06T13:43:15.4817496Z Setting active cloud to: AzureCloud
2020-02-06T13:43:15.4890334Z [command]/usr/local/envs/mlopspython_ci/bin/az cloud set -n AzureCloud
2020-02-06T13:43:16.1861453Z [command]/usr/local/envs/mlopspython_ci/bin/az login --service-principal -u *** -p *** --tenant ***
2020-02-06T13:43:17.2715733Z [
2020-02-06T13:43:17.2715924Z   {
2020-02-06T13:43:17.2715993Z     "cloudName": "AzureCloud",
2020-02-06T13:43:17.2716953Z     "id": "e66a1f5e-fd58-4829-858d-60bc50f7410c",
2020-02-06T13:43:17.2717098Z     "isDefault": true,
2020-02-06T13:43:17.2717379Z     "name": "nparker-daroch-bwa",
2020-02-06T13:43:17.2717483Z     "state": "Enabled",
2020-02-06T13:43:17.2717907Z     "tenantId": "",
2020-02-06T13:43:17.2718018Z     "user": {
2020-02-06T13:43:17.2718348Z       "name": "",
2020-02-06T13:43:17.2721563Z       "type": "servicePrincipal"
2020-02-06T13:43:17.2721669Z     }
2020-02-06T13:43:17.2721790Z   }
2020-02-06T13:43:17.2721856Z ]
2020-02-06T13:43:17.2778754Z [command]/usr/local/envs/mlopspython_ci/bin/az account set --subscription e66a1f5e-fd58-4829-858d-60bc50f7410c
2020-02-06T13:43:17.9472280Z [command]/bin/bash /__w/_temp/azureclitaskscript1580996594124.sh
2020-02-06T13:43:20.0980870Z WARNING - Warning: Falling back to use azure cli login credentials.
2020-02-06T13:43:20.0982027Z If you run your code in unattended mode, i.e., where you can't give a user input, then we recommend to use ServicePrincipalAuthentication or MsiAuthentication.
2020-02-06T13:43:20.0982587Z Please refer to aka.ms/aml-notebook-auth for different authentication mechanisms in azureml-sdk.
2020-02-06T13:43:22.0318178Z No Model found with {tag_name: BuildId ,tag_value: 87.}
2020-02-06T13:43:22.0318563Z Model was not registered for this run.
2020-02-06T13:43:22.2057566Z ##[error]Script failed with error: Error: The process '/bin/bash' failed with exit code 1
2020-02-06T13:43:22.2084252Z [command]/usr/local/envs/mlopspython_ci/bin/az account clear
2020-02-06T13:43:22.9720476Z ##[section]Finishing: Determine if evaluation succeeded and new model is registered

It's normal with the training code that over time, the randomly generated mse metric evaluation is based on gets harder to beat and the pipeline effectively feels like is always cancelled.  In the real world, you would experience more random success and failures with your metrics and not use a randomly generated mse number (a real metric).
You have two choices to change this behavior:

RUN_EVALUATION = False - disables evaluation step all together
ALLOW_RUN_CANCEL = False - disables the cancellation of pipeline even if evaluation is not successful.

See these ENV vars referenced here.


Supply container type explicitly for new version of Azure Batch SDK

Hotfix that fixes #1154
ContainerConfiguration previously used fixed value of dockerCompatible
Tested by submitting job to Azure Batch using tlo batch-submit

I assume this sort of thing (missing a required argument) could probably be caught by a linter so might be worth looking at updating our checks to try to catch these sort of issues.

I've checked and pylint does indeed give a
src/tlo/cli.py:182:21: E1125: Missing mandatory keyword argument 'type' in constructor call (missing-kwoa)

prior to the changes in this PR so might be worth considering adding pylint to the checks.
It does also flag up
src/tlo/cli.py:779:4: E1120: No value for argument 'ctx' in function call (no-value-for-parameter)
src/tlo/cli.py:779:4: E1120: No value for argument 'config_file' in function call (no-value-for-parameter)
src/tlo/cli.py:779:4: E1120: No value for argument 'verbose' in function call (no-value-for-parameter)

as errors in the same file though while I think actually the function call
https://github.com/UCL/TLOmodel/blob/f4e5adaf07440226fb7716e026f3248a332d4e8b/src/tlo/cli.py#L779
referenced is fine which suggests it might give some false positives on decorated functions.


Activity Classifier save() is silently doing nothing

It seems that model.save() for the AC (and maybe other models??) is not working, and also doesn't produce any error.
The following code:
model = tc.activity_classifier.create(train, session_id, target ,features=features,
                                      prediction_window=50, validation_set=test ,max_iterations=10)
model.save("~/Temp/ilai.model")
del model
new_model = tc.load_model("~/Temp/ilai.model")

ends up with:
IOError: Directory ~/Temp/ilai.model does not exist

Apparently that was a problem with "~" in the path.
With an absolute path to home dir - it does seem to work.
But we should still raise some alarm. This went on silently and I could have completely missed the fact that the model didn't save.

The model is being save: the save path is passed without validation into the C++ backend, which treats '~' as a literal path component. On the load side, we have Python code that verifies the existence of the directory at the path; this Python code is presumably performing the tilde expansion


Decorators aren't ES7

Describe the bug
In a few place in the documentation, you talk about the decorators as the ES7 syntax, but it isn't at all. ES7 (or ES2016) only contains two new features (Array.prototype.includes and the Exponentiation Operator). The decorators is only a proposals which is currently in Stage 2 on the ECMAScript Proposals process and we don't know when (and if) it will be in a final specification.
To Reproduce
Steps to reproduce the behavior:

Go to the documentation
Scroll down to 'What's It Look Like?'
See "ES7"

Expected behavior
It should probably be something like "Decorators proposal".
Screenshots
http://react-dnd.github.io/react-dnd/

👍


Cyptographer added

I have added Cryptographer.py file that uses fernet, bas64 and haslib library
Key is generated according to the key given by the user and encrypts and decrypts the file according to it...
Please check this.
Issue
#19

Yeah started it..
😀


graphback init doesn't initialise server

This is the output I get with<EMAIL_ADDRESS>>graphback init meg
   ____                          _       _                      _
  / ___|  _ __    __ _   _ __   | |__   | |__     __ _    ___  | | __
 | |  _  | '__|  / _` | | '_ \  | '_ \  | '_ \   / _` |  / __| | |/ /
 | |_| | | |    | (_| | | |_) | | | | | | |_) | | (_| | | (__  |   <
  \____| |_|     \__,_| | .__/  |_| |_| |_.__/   \__,_|  \___| |_|\_\
                        |_|
Graphback init can create your app from following templates:

apollo-fullstack-react-postgres-ts:
Apollo GraphQL Server connecting to Postgres database and React client using TypeScript

apollo-fullstack-react-mongo-ts:
Apollo GraphQL Server connecting to Mongo database and React client using TypeScript

apollo-mongo-server-ts:
Apollo GraphQL Server connecting to Mongo database using TypeScript

apollo-postgres-server-ts:
Apollo GraphQL Server connecting to Postgres database using TypeScript

? Choose a template to bootstrap apollo-fullstack-react-mongo-ts

Bootstraping graphql server � ✨
√ Downloading starter from https://api.github.com/repos/aerogear/graphback/tarball/templates-0.14.0
√ Extracting content to C:\Users\Kami-sama/meg/
√ Downloading starter from https://api.github.com/repos/aerogear/graphback/tarball/templates-0.14.0
√ Extracting content to C:\Users\Kami-sama/meg/client

GraphQL server successfully bootstrapped �

Next Steps:
1. Change directory into project folder - cd meg
3. Review Graphback graphqlrc.yml config file
2. Edit the .graphql file inside your model folder.
3. Depending on template you might also need to run generator:
   "graphback generate" command to generate source code

But there is no server folder even though I selected the mongo-fullstack option, it only gives me the react client. Postgres-fullstack works just fine though.
-This running on Windows, if relevant-

I have changed template branch to track versions - we need to publish master to template branch

See https://github.com/aerogear/graphback/tree/templates-0.14.0


Reduce dependency of govc in vsphere machine config

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


[bugfix] missing spinner in explore view

@ascott @bkyryliuk

Coverage decreased (-0.09%) to 81.345% when pulling 0617dae0abad6ec940be3e8dd58ba103de4e1b05 on mistercrunch:fix_spinner into baf22c3c60de38a1fe14de5f7120c76abe106460 on airbnb:master.

🚢


Storage requirements

Can someone coment on the storage requirements if I left this running in a cloud instance.
The code looks well done with the encoding certainly saving space, but approx. how many MB/GB would I rack up in Redis per month if I left it collecting data for all symbols?
Thanks

A few megabytes per day
On Sun 3. Oct 2021 at 12:40, Vazy @.***> wrote:

Can someone coment on the storage requirements if I left this running in a
cloud instance.
The code looks well done with the encoding certainly saving space, but
approx. how many MB/GB would I rack up per month if I left it collecting
data for all symbols?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/blockworks-foundation/serum-history/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDF7GFR3SY5GMGGIT4WRDUFAXIHANCNFSM5FHOS7IA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Handling missing values

Hello thanks for the code and awesome works.
I read your paper impressively and have a question about the code.
In the paper, p.14 Data preprocessing, it is written to
"Each feature (or columns) has a different missing value token to account for missing data.".
However I found that the code just fill missing values with an average value for continuous features.
I wonder the token embedding works only for categorical data.
It was very exciting to read the paper and I hope to apply the algorithm to my dataset soon!

Hi, we have done the task in a bit of round-about way in the code, but you can handle missing values with this function. Just pass a mask array where missing value locations are 0s and rest are 1s. It works for both categorical and continuous data.

Thank you for the reply.
Closing the issue.


intersectBed reports neighboring bases

Unexpected overlap is reported in intersecting neighboring SNPs, as in the following example:
cat t1:
chr1    3       3       i1
cat t2:
chr1    4       7       i2
chr1    4       4       i3
bedtools-2.25.0/bin/intersectBed -wo -a t1 -b t2
chr1    3       3       i1      chr1    4       4       i3      0
While it shouldn't have reported any overlap. However when the coordinates are given as chr1:3-4, it works as expected.
I understand this is not a bug but I think it is a weird behaviour. Reporting a message to notify the user about the 0-based indexing might be an option.

This is because BED start==end is interpreted as an insertion between the two bases.


twitter not showing the image

hello brother I am not getting the images when I share the link on twitter I am getting no image

I'm so sorry brother i'm the resposible of the script you can go to
facebook type ( Mohammed Cha ) and contact him there.
Le mer. 20 nov. 2019 à 20:42, omar73x<EMAIL_ADDRESS>a écrit :

hello brother I am not getting the images when I share the link on twitter
I am getting no image
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Mohammedcha/Randomness-script-random-comments-images-facebook-twitter-whatsapp/issues/1?email_source=notifications&email_token=ANILUE33BPPEC6OUZ3O2MUTQUWHL7A5CNFSM4JPYLV22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H232BDQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANILUEYDA4WMPCLDSFA4VE3QUWHL7ANCNFSM4JPYLV2Q
.


Allow to pass parameters to build a ConfigFactory

Closes #868
@victornoel : this one is especially for Dropwizard to allow the Pac4jFactory1 to pass properties when building the configuration (so that we can get rid of the DropwizardConfigFactory interface).

ok, I have nothing special to say about it :)


Print Statement Suppression

Hi,
First of all, I really like this package. Thank you for making it easier for beginners to use regrid functions without all of the boilerplate stuff that's needed. Super useful.
I was wondering if there was a way to suppress the print statements of the regridding method? Perhaps we can add a verbose argument if such a way doesn't already exists?
Example
** Code snippet to reproduce **
reference_ds = gpp_data_low
method = 'nearest_s2d'

# initialize regridder
regridder = xe.Regridder(
    gpp_data_hi,       # DataArray to be converted
    gpp_data_low,      # reference DataArray
    method=method,
)

# regrid new dataset
gpp_new = regridder(gpp_data_hi.compute())

** Output **
Overwrite existing file: nearest_s2d_432x936_144x312.nc
 You can set reuse_weights=True to save computing time.

Expected Behavior
Nothing unless prompted.
System information
Please complete the following information:

xemsf Version 0.2.1
Python Version 3.7
Ubuntu 18.04.3 LTS

Glad that you find xesmf useful!
One possible fix is to change print to warnings.warn, which can be disabled by warnings.filters.
Such printing will no longer exist with the new regridder save-load API #75, so the current sub-optimal API is probably not worth fixing...

Thank you for the response! I agree; since the API will change then it's probably not worth fixing.
Thank you again!

I found this as a neat temporary solution for suppressing print statements from regridder until the API changes go through.


Oxygen number n type cannot be detected!

Upon runnin the following command:
$ lammps-interface -ff MOF_FF HKUST-1.cif
With the attached file, the following output is produced:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
No bonds reported in cif file - computing bonding..
totatomlen = 672
compute_topology_information()
func: cartesian_coordinates; Elps. 0.011s
func: min_img_distances; Elps. 2.995s
func: compute_bonding; Elps. 4.097s
func: init_typing; Elps. 4.293s
func: bond_typing; Elps. 4.304s
Detecting Inorganic clusters
Found Cu Paddlewheel
Found Cu Paddlewheel
<...>
Found Cu Paddlewheel
func: detect_clusters; Elps. 27.125s
func: angles; Elps. 27.129s
func: dihedrals; Elps. 27.134s
func: improper_dihedrals; Elps. 27.139s
Oxygen number 49 type cannot be detected!

First of all I am unsure why there is a Git fatality, even though Git has not been initiated in the respective folder. Nonetheless, other examples run until completion while also producing this error message, so I suspect this is not the issue.
The issue occurs with all of the structure files I have tried so far, including the one from http://www.crystallography.net/cod/2300380.html (after trimming a couple of irrelevant lines). Assistance would be much appreciated!

Apparently I was running the code with a .cif file which contained some oxygen from experimental data, but which one should not expect in the perfect HKUST-1. Silly me.


az extension add -n azure-devops fails when Azure CLI was installed via pip under Python 3.11.0

Related command
az extension add -n azure-devops
Describe the bug
Adding the azure-devops extension fails when the Azure CLI was installed via pip under Python 3.11.0:
az extension add -n azure-devops
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: argument _subcommand: conflicting subparser: add
Traceback (most recent call last):
  File "D:\a\_work\_tool\Python\3.11.0\x64\Lib\site-packages\knack\cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\_work\_tool\Python\3.11.0\x64\Lib\site-packages\azure\cli\core\commands\__init__.py", line 565, in execute
    self.parser.load_command_table(self.commands_loader)
  File "D:\a\_work\_tool\Python\3.11.0\x64\Lib\site-packages\azure\cli\core\parser.py", line 100, in load_command_table
    command_parser = subparser.add_parser(command_verb,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\_work\_tool\Python\3.11.0\x64\Lib\argparse.py", line 1185, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument _subcommand: conflicting subparser: add
To open an issue, please run: 'az feedback'

To Reproduce
1. Install Python 3.11.0.
2. python -m pip install --upgrade pip
3. pip install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge
4. az extension add -n azure-devops

Expected behavior
The extension is successfully installed.
Environment summary
Observed this failure in AzureDevOps running Windows 10.  Note, this does not fail if installing using Python 3.10.x.

route to CXP team

Removing CXP attention label for Devops issue.

Duplicate of https://github.com/Azure/azure-cli/issues/23015
Workaround: https://github.com/Azure/azure-cli/pull/24497

3.11 is not supported now.
You can find the progress here: https://github.com/Azure/azure-cli/issues/24494

@brianrob could you please check the below links provided some work around.
https://github.com/Azure/azure-cli/issues/24494
https://github.com/Azure/azure-cli/pull/24497
Hope this will work.

@brianrob could you please check the below links provided some work around. #24494 #24497 Hope this will work.

Thanks @Arvindgade.  I have downgraded to Python 3.10 to resolve this.

@brianrob Hi, we are closing the issue as its working for now, please feel free to reopen if any issues.


Add an option to promote the summary log to a warning

When adding dependency check to commonly run task it would be nice to have the summary log printed as a warning so it stands out in a different colour. It would be useful to be able to see at a glance that vulnerabilities were found without failing the build.

Thanks for the suggestion - complete mistake that the summary was being output via lifecycle. This will be included in the next release.


Esther Plomp guest blog

This is Esthers blog post
Please let me know that you are happy with it and I will get it up on the blog site. 😁

I'm happy with it! I do have a question about the image size of the teeth/isotopes: is it too big and would you prefer a smaller version or are you happy with it as it is?
Cheers!

I think it might come out a bit smaller on the actual web page. If not,
I'll adjust it.
Thanks,
Emma.
On Sat, 1 May 2021, 13:46 Esther Plomp, @.***> wrote:

I'm happy with it! I do have a question about the image size of the
teeth/isotopes: is it too big and would you prefer a smaller version or are
you happy with it as it is?
Cheers!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EKaroune/The-Open-Archaeobotanist/pull/5#issuecomment-830627170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN3UCZQTTONECFGDQMGEBRDTLPZ3XANCNFSM436AJFPQ
.


How exactly can i make this work?

Hello, I tried your method with P4V, but it seems like something isn't working. So, I opened my command line and tried the following code:
[CODE]
python.exe "C:\Users\Long\Documents\uasset-diff-main\unreal_diff_uassets.py" C:\Users\Long\Documents\uasset-diff-main\foldera\BP_Patient_3.uasset C:\Users\Long\Documents\uasset-diff-main\folderb\BP_Patient_3.uasset
[/CODE].
However, nothing happened. There's no error in the Unreal logs either, just the console log below:
[CODE]
Cmd: diff C:\Users\Long\Documents\uasset-diff-main\foldera\BP_Patient_3.uasset C:\Users\Long\Documents\uasset-diff-main\folderb\BP_Patient_3.uasset
[/CODE]
(I tried it in Unreal instances 5.3 and 4.26)
If you don't mind, could you make a short video demonstrating how to make it work on your machine

Hey ! Its likely that the unreal instance I was using exposed the diff as a command but it is not in vanilla Unreal. I'm not at the same company anymore so I can't check that :D I'll expose it in a small plugin this weekend and add it to the repo with proper steps

Thanks for the clarification! It sounds like a handy feature. Looking forward to seeing your plugin in action!

The plugin is in the repo, it is simply a copy of the diff command but using diff.asset instead. I still don't get why the diff is not always exposed, but at least now there is a backup solution (I still need to properly update the doc)


Batch Result Import?

Given data from the scoring computer, i.e. lane 1 hit hit miss, etc., be able to import that data and associate it with a given soldier.

Wasn't able to get a feed from the range computer due to security restrictions.


Add structure to CellDetails

Describe the bug
Currently all Temps / Volts are within one folder in ioBroker.Objects are listed down. For my behavior it is uncomfortable to review these values and determine which module is affected.
To Reproduce
Steps to reproduce the behavior:

Go to 'Objects'
Click on 'bydhvs.x.CellDetails'
Scroll down to 'your value'

Expected behavior
With the already determined information it should be possible to add an additional folder per module.
Versions:

Adapter version: 1.5.0

Additional context
If you @christianh17  as adapter owner agree I will create a PR with this solution in it.

I am not sure, it breaks the scripts and logic if we change the structure of the objects. And: In my opinion the right way is not to use the objects "itself" but some kind of visualisation depending on the objects.
On the other hand: You did a great job in enhancing the adapter and I can see: Other people do use the objects itself.
What about a compromise: A switch in the configuration from the adapter and one can choose between the "old" (actual) behaviour and a more structured way for the cell details.

The issue is some days older, there have been changes. Do you think a change is still neded?