Phonegap android 1.3.0 failed to build

The aar file names in 1.3.0 binary zip file has -<build no> suffix (e.g. couchbase-lite-android-1.3.0-43.aar). Phonegap build doesn't expect the suffix, and this needs to be fixed for phonegap build.
Build error:
======== expand android =================================
cp: cannot stat '/home/couchbase/jenkins/workspace/couchbase-lite-phonegap-plugin/download/android/**/couchbase-lite-android-1.3.0.aar': No such file or directory

CC: @sethrosetter

Hi @pasin,
We did not make release build yet. This is expected error. By checking final build on Jenkins, Jenkins generates build without build number. I plan to make a build once current build pass with QA testing.

Can we do it now so we can test phonegap?

http://mobile.jenkins.couchbase.com/view/Couchbase_Lite/job/couchbase-lite-android-master/44/
Build 1.3.0-44 also creates 1.3.0 without build number.
This does not affect QA. But creating final build early makes many confusions. When rebuild the final build, jar files on maven is updated, but maven client does not re-fetch if version number is same.

I see.

Release build is ready.
http://latestbuilds.hq.couchbase.com/couchbase-lite-android/1.3.0/1.3.0-44/

Current status:
======== expand android =================================
cp: cannot stat '/home/couchbase/jenkins/workspace/couchbase-lite-phonegap-plugin/download/android/**/couchbase-lite-android-sqlite-default-1.3.0.aar': No such file or directory
Build step 'Execute shell' marked build as failure

We need to change jenkins build script to not copy the file as we don't have the dependency to the sqlite-default anymore in 1.3.0.
https://github.com/couchbase/build/blob/master/scripts/jenkins/mobile/package_phonegap_plugin.sh#L94
Cc: @michaelkwok

@hideki / @michaelkwok who can help us change the jenkins build script?

I updated the build script to use sqlite-custom for version 1.3.0 and newer.


raising error in client

Also raise error in client

Coverage report

This PR does not seem to contain any modification to coverable code.

Nice addition to the linters script!
I realised that in order for mypy to take into account lomas_core type hints in order to check lomas_client or lomas_server, lomas_core must be installed in the python environment. I don't know if it's best to add it here or to do it separately.


response bodies are not closed

in synq/api.go, i don't think the bodies of the http responses are ever closed

Clients must call resp.Body.Close when finished reading resp.Body.
https://golang.org/pkg/net/http/#ReadResponse

i may have misread the code, and the bodies may be closed somehow. i haven't made any tests

a fix for this may be to defer resp.Body.Close() at the beginning of the functions parseAwsResp and parseSynqResp

closing v1 issues...


Let mock in pallet-template use construct_runtime

Use construct_runtime for the mock in pallet-template as suggest by @thiolliere in #7981

thanks

thanks


fix: update pypi server

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   12.42%   12.42%
=======================================
  Files          17       17
  Lines        1754     1754
=======================================
  Hits          218      218
  Misses       1536     1536

Continue to review full report at Codecov.

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


cannot open resource on detect.py

hi! Thank you for this SSD code, quite touching :1st_place_medal:
I face with strange error running detect.py, can anyone help me to solve it !?
thank you.
Traceback (most recent call last):
File "detect.py", line 102, in
detect(original_image, min_score=0.2, max_overlap=0.5, top_k=200).show()
File "detect.py", line 67, in detect
font = ImageFont.truetype("./calibril.ttf", 15)
File "/home/rahim/anaconda3/lib/python3.7/site-packages/PIL/ImageFont.py", line 642, in truetype
return freetype(font)
File "/home/rahim/anaconda3/lib/python3.7/site-packages/PIL/ImageFont.py", line 639, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/home/rahim/anaconda3/lib/python3.7/site-packages/PIL/ImageFont.py", line 188, in init
font, size, index, encoding, layout_engine=layout_engine
OSError: cannot open resource

Hello,
Search for the default fonts directory and choose one from the available options. Try without using ./
For me the following code snippet worked:
font = ImageFont.truetype("OpenSans-Regular.ttf", 20)


Making domain-level redirects happen after specific page redirects

Hello, I'm looking to use this module to replace some Web.config rewrite rules.
Our site admins would like to create redirects in the admin without having to have us make code changes.
It seems we can't mix Web.config rewrites with sitecore-based redirects because it's unpredictable.
The Web.config rewrites happen first and sometimes make the sitecore-based rewrite rules not match.
We have many domains pointing to our one Sitecore instance.
Example: "bar.org" (primary site) and "foo.org" (additional domain)
We have two types of rules (using rewrite maps because there are tons of these), shown below.
I know I can handle both of these redirect types with this module, but is there anything I can do to make sure the domain level redirects happen last (after the page-level redirects have had a chance to match)?
Page Level:

foo.org/my/page/here ==> https://www.bar.org/some/other/specific/path

    <rule name="Foo rule" stopProcessing="true">
        <match url=".*"/>
        <conditions>
            <add input="{HTTP_HOST}" pattern="^(www.)?foo.org$"/>
            <add input="{FOO:{URL}}" pattern="(.+)"/>
        </conditions>
        <action type="Redirect" url="{C:1}" appendQueryString="true" redirectType="Permanent"/>
    </rule>
    ...
    <rewriteMap name="FOO">
        <!-- foo.org -->
        <add key="/my/page/here" value="https://www.bar.org/some/other/specific/path"/>
        ... more here ...
    </rewriteMap>

Domain Level:

foo.org ==> https://www.bar.org/foo
foo.org/adam ==> https://www.bar.org/foo/adam
foo.org?x=123 ==> https://www.bar.org/foo?x=123

    <rule name="Domain-level rule" stopProcessing="true">
        <match url=".*"/>
        <conditions trackAllCaptures="true">
            <add input="{Domains:{HTTP_HOST}}" pattern="(.+)"/>
            <add input="{REQUEST_URI}" pattern="(.+)"/>
        </conditions>
        <action type="Redirect" url="{C:1}{C:2}" appendQueryString="false" redirectType="Permanent"/>
    </rule>
    ...
    <rewriteMap name="Domains">
        <add key="foo.org" value="https://www.bar.org/foo"/>
        ... more here ...
    </rewriteMap>

Bump. Anyone have any input on this?


Nishimura 2020

Reference
doi or URL: https://www.nature.com/articles/s10038-020-00841-6

Raw data not actually reported.
The ONE sample that was apparently uploaded to DDBJ (from another publication) doesn't actually report Archaeological ID to associate out of the two sets of reads :(


Update index.md

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or  employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

David Chaum came up with the concept of Mix networks in 1981, Stuart Haber and W. Scott Stornetta came up with cryptographic and secured blocks in 1991. Satoshi coined the term blockchain in 2008 prior to releasing Bitcoin in 2009. I think it is fair that not only Satoshi is credited as the sole inventor in the Github explore page, and you change it to, "David Chaum, Stuart Haber, W. Scott Stornetta, Satoshi Nakamoto and various authors", which is technically more historically accurate.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Yes agreed. Only including Satoshi would undermine the fact that core aspects of the technology was there decades ago. I think removing the credited by makes sense in your point that it would be much more simple then listing various others on topics.


Float division by zero in circledetector.py

I've encountered following error:
finished polyX stat for all files
write records to poly_X.csv
process records by tile
Traceback (most recent call last):
  File "AfterQC/after.py", line 221, in <module>
    main()
  File "AfterQC/after.py", line 205, in main
    runDebubble(options)
  File "AfterQC/after.py", line 180, in runDebubble
    debubble.debubbleDir(options.input_dir, 20, options.debubble_dir, options.draw)
  File "AfterQC/debubble.py", line 47, in debubbleDir
    circles = bp.run()
  File "AfterQC/bubbleprocesser.py", line 74, in run
    self.processByTile()
  File "AfterQC/bubbleprocesser.py", line 161, in processByTile
    self.detectBubbleForTile(tileRecords, lastTileWithBothSurface, laneOfLastTile)
  File "AfterQC/bubbleprocesser.py", line 142, in detectBubbleForTile
    c = bd.detect()
  File "AfterQC/bubbledetector.py", line 60, in detect
    self.detectCircles()
  File "AfterQC/bubbledetector.py", line 284, in detectCircles
    labelCircles = cd.detect()
  File "AfterQC/circledetector.py", line 25, in detect
    if self.isInCorner():
  File "AfterQC/circledetector.py", line 102, in isInCorner
    if float(cornerCount) / len(self.records) > 0.1:
ZeroDivisionError: float division by zero

Thanks, will submit a patch to fix this

Closing as fixed


Diagrams in HTML doco inconsistent with ontology

The diagrams on http://gnafld.net/def/gnaf are not consistent with the ontology.
In particular:

In the diagram for :Address the cardinalities on :hasAddressSite,  :hasGeometry, dct:description, :hasPostcode don’t match the ontology
In the class overview diagram there are two [2..*] cardinalities that are incorrect
In the diagram for :Street and :StreetLocality the association to :Alias should be on :Street, and the geo:hasGeometry should be on :StreetLocality

fixed by #20


Get rid of the compatibility Option module

This PR gets rid of the local Option module. The standard library contains an Option module since OCaml 4.08, which contains all what this compatibility module was used for. To be precise, the module in question provided:

must: replaced by Stdlib.Option.get
map: provided by Stdlib.Option
map_or: unused
or_empty: replaced by Stdlib.Option.value ~default:""
is_some: unused and provided by Stdlib.Option

Awesome! Thank you

Not sure what is your particular interest here, but if you're into that sort of cleanups, there might be more functions in KList that now have equivalents in OCaml's standard library


[flutter_tools] add custom tool analysis to analyze.dart, lint Future.catchError

Ensure tool code does not use Future.catchError or Future.onError, because it is not statically safe: https://github.com/dart-lang/sdk/issues/51248.
This was proposed upstream in dart-lang/linter in https://github.com/dart-lang/linter/issues/4071 and https://github.com/dart-lang/linter/pull/4068, but not accepted.

This is still on my radar

LGTM.
Nit for future reference: The title struck me as non-sequitur to the description until I read the diff.
Title could have been something like "Add lint for X." The description would explain 1) why we want this lint and then 2) that we first need to give the custom CI analyzer code the ability to run rules against only the tool codebase, hence the big change in analyze.dart.

Good catch, updated the title.


need a way to force shards to roll over

Feature Request
Proposal: [Description of the feature]
Provide equivalent function in OSS to the influxd-ctl truncate-shards command.
Current behavior: [What currently happens]
Shards cannot be truncated early, so ALTER RETENTION POLICY changes cannot take effect until the shards roll over.
Desired behavior: [What you would like to happen]
It should be possible to force the current shard group to terminate and create new shards with updated settings.
Use case: [Why is this important (helps with prioritizing requests)]
Imagine being on a system with 30d shards and realizing they were too long. It could take up to a month for any changes to actually take effect.
https://github.com/influxdata/influxdb/issues/5878 is also exacerbated by the lack of any way to close current shards for writes.

+1

Any updates on this?

Any updates on this?

I came across this issue while researching another issue. A couple notes in case this issue is ever reopened and implemented:

OSS meta client already supports TruncateShardGroups(t time.T) so that would need to be called
The write path in OSS does not currently use the TruncatedAt field in the shard group meta data and would need to be modified to do so. Probably coordinator/points_writer.go in PointsWriter.MapShards(wp *WritePointsRequest) method needs to check TruncatedAt before mapping a shard to take writes.

could this be planned in 1.8.x?


Add correct engine

What does this changes
Add more spelling engine

Add symspellpy with unigram & bigram from TNC - symspellpy is a Python port of SymSpell v6.5.
Add Phunspell - A pure Python spell checker utilizing spylls a port of Hunspell.
Add spell_sent & correct_sent function

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] Passed code styles and structures
[ ] Passed code linting checks and unit test

Hello @wannaphong! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pythainlp/spell/__init__.py:

Line 19:1: E402 module level import not at top of file

In the file pythainlp/spell/symspellpy.py:

Line 52:56: E231 missing whitespace after ':'

phunspell is not working with python 3.6.

Coverage decreased (-1.0%) to 95.048% when pulling 8b5bf90291bf176dddb1df599976f23d96ec2f8a on add-correct-engine into ad20a1e51674bb52378b383e950d30c1baa12a3b on dev.

Colab for testing: https://colab.research.google.com/drive/1xgp_txclvolD7O913znqiBjD_7GdtAOM?usp=sharing

python 3.6.

Python 3.6 EOL is 2021-12-23, only months away from now.
Maybe have to consider if the next version of PyThaiNLP will going to support 3.6 after its EOL or not.

python 3.6.

Python 3.6 EOL is 2021-12-23, only months away from now.
Maybe have to consider if the next version of PyThaiNLP will going to support 3.6 after its EOL or not.

End of support for Python 3.6 in the next version of PyThaiNLP #592


Metric per process/pod

Is is possible to see memory utilization per process instead of just the total memory usage on a specific gpu?
If not this could be quite useful. Given that this information is already available through nvidia-smi I imagine it should be doable.

The feature does not exist yet, but if it is possible to get that data using nvidia-smi, it should be fairly straightforward to implement. I might have a look into it some time, but don't know when (and no promises).

👍 for this functionality.
If it is of any use: a few months ago I needed to know which process and user was running what in each GPU of a server (+ memory and elapsed time). Since nvidia-smi did not provide such details, I ended up combining it with simple ps calls (which will depend on the host OS, thus may not be a great option). Basically, it went around:
# get gpus
nvidia-smi --query-gpu=index,uuid,gpu_name --format=csv

# get running processes
nvidia-smi --query-compute-apps=pid,process_name,gpu_name,gpu_uuid,used_memory --format=csv

# for each process, using -o lstart, -o etimes or -o cmd to get other details.
ps -fwwp #{pid} -o user -h

Initially tried to get everything about each process in one go but was having difficulties parsing stuff and just hacked this up, which at the time served the purpose. That was then transformed into a decent table, taking into account that a process might be running on multiple GPUs and several processes can be also placed in a single one.

Hi, I lately don't have any time for my personal projects, so I'm afraid it won't be there anytime soon.
PRs are always welcome though - if they are of good quality and have tests (so does not require much effort from my side), I'd merge them and make new releases.

Duplicate of https://github.com/utkuozdemir/nvidia_gpu_exporter/issues/190, let's track this on that one.


Resize default drop cover image to 640x640

This pull request adds image resizing for the default drop cover image as supplied by renderCoverImage(forPiece:completion:). While it's documented that the client should supply a 640x640 cover image, some older pieces have cover sizes other than this, causing re-Dropped pieces to fail to Drop.

I've tested it with normal portrait and landscape photos. I don't have a non-Retina display to test it on though.

…I have now tested it on a 1x display. 👍


Managed Service Orchestrator Release 23.12 Documentation Acceptance Criteria

Release Documentation 23.12
Source in Catena-X Confluence and Expert Contacts here (Source only accessible for Catena-X Consortia members in current transition phase).

[ ] Source Code https://github.com/eclipse-tractusx/managed-service-orchestrator/issues/84

Code is centrally managed in Eclipse Tractus-X repository.
All active and relevant Release Guidelines are fulfilled (with confirmation by DevSecOps SystemTeam).

Artefact Repo:

Eclipse Tractus-X
FOSS Infopage(Source only accessible for Catena-X Consortia members in current transition phase)

Best Practice

Consult the regular office hours as early as possible; expect optimization loops based on feedback.

Contact:

DevSecOps System Team

[ ] Architecture Documents

Arc42 documentation completed for relevant product version.
In MarkDown format. Link to document available. Must point to leading repository within Tractus-X. Process the JIRA ticket and schedule an appointment with Expert to obtain approval prior to Gate review.
Provide link to documentation as early as possible and mark changes to previous version (if applicable); expect optimization loops based on feedback.

Artefact Repo:

GitHub Readme how-to (Source only accessible for Catena-X Consortia members in current transition phase)

Contact:

SYSTEM ARCHITECT

[ ] Administrator`s Guide (User assistance)

Admin Guide is available with the software at the same time
Admin Guide is correct and up to date; english is a must
The documentation is of appropriate maturity for any Operating Company with global business practice intentions.
In MarkDown format. Link to document available. Must point to leading repository within Tractus-X.

Best Practice:

Process the issue and schedule an appointment with SYSTEM ARCHITECT to obtain approval prior to Gate review.
Provide link to documentation as early as possible and mark changes to previous version (if applicable); expect optimization loops based on feedback.
User assistance ensures that for example administrators get all the information they need to accomplish their tasks with the software. Refer to a administration guide, which covers "install/deploy, configure the software" – as appropriate for the type of software and the information needs of the target group(s)
UI text and embedded help complete the User assistance.

Contact:

SYSTEM ARCHITECT

[ ] End-User Manual (User assistance)

End-User Manual is available with the software at the same time
End-User Manual is correct and up to date; english is a must
The documentation is of appropriate maturity to be handed over from the CX Consortia to any Operations Company with global business practice intentions.

Best Practice:

Process the issue and schedule an appointment with SYSTEM ARCHITECT to obtain approval prior to Gate review.
Provide link to documentation as early as possible and mark changes to previous version (if applicable); expect optimization loops based on feedback.
User assistance ensures that end users and others get all the information they need to accomplish their tasks with the software. Refer to a user guide, which covers "install/deploy, configure, and use the software" – as appropriate for the type of software and the information needs of the target group(s)
UI text and embedded help complete the User assistance.

Contact:

SYSTEM ARCHITECT

[ ] Interfaces Documentation

API documentation contains all relevant interfaces for integration testing and is completed for relevant product version.
Link to document available.
Interface contract signed by all involved parties.

Best Practice:

Process the issue and schedule an appointment with SYSTEM ARCHITECT to obtain approval prior to Gate review.
Provide link to documentation as early as possible and mark changes to previous version (if applicable); expect optimization loops based on feedback.
see Open APIs

Contact:

SYSTEM ARCHITECT

[ ] UX consistency Style Guideline for User Interfaces

Mandatory for FrontEnd modules where the IP is Open Source or owned by Catena-X.
User Interfaces are in line with the Catena-X Style Guidelines

user interface style review has been executed  (review owner: SYSTEM ARCHITECT5 UX)
review feedback (if existing) got incorporated
all findings are assessed
all findings (high/very high) are fixed or cleaned up (evidence by re-review)
approval of the application CX Style conformity is available (given by the review owner)

Best Practice:

Obtain approval from Style Guideline Owner, prior to Gate review
use issue, include app URL & TestUser, assign to SYSTEM ARCHITECT5, expect review loop
Style Components
LINK to Style Guideline (Source only accessible for Catena-X Consortia members in current transition phase)
LINK to FrontEnd validations (will be added asap)
Please note, you can use the official public available CX shared component library (react supported) to easily develop applications that are in-line with the CX style guidelines

@dvasunin  please add all documents regarding TX document and version here and add the latest version once is committed by @SebastianBezold

source code:
Latest release - https://github.com/eclipse-tractusx/managed-service-orchestrator/releases/tag/managed-service-orchestrator-1.5.1
Architecture Documents:
ARC 42 link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/ARC42.md
Administrator`s Guide (User assistance):
Readme Link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/README.md
install.md link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/INSTALL.md
End-User Manual:
ARC 42 link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/ARC42.md
Readme link -  https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/README.md
Interfaces Documentation:
OpenAPI spec is available in the repository at - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/autosetup-api.yaml
UX consistency:
Not Applicable
@SebastianBezold
Please review and approve

source code: Latest release - https://github.com/eclipse-tractusx/managed-service-orchestrator/releases/tag/managed-service-orchestrator-1.5.1
Architecture Documents: ARC 42 link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/ARC42.md
Administrator`s Guide (User assistance): Readme Link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/README.md install.md link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/INSTALL.md
End-User Manual: ARC 42 link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/ARC42.md Readme link - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/README.md
Interfaces Documentation: OpenAPI spec is available in the repository at - https://github.com/eclipse-tractusx/managed-service-orchestrator/blob/managed-service-orchestrator-1.5.1/docs/autosetup-api.yaml
UX consistency: Not Applicable
@SebastianBezold Please review and approve

Hi @sharathshivprasad,
I can only partly review things from this issue. One remark before I start. The tags you link are created by the Chart releaser. So there is no proper release tag yet. This also means, your Docker images with version 1.5.1 are missing. Could you please check if you actually did all the necessary steps for releasing?

Hi @SebastianBezold
I have raised a PR # https://github.com/eclipse-tractusx/managed-service-orchestrator/pull/83
It consist of trivy security fix. If all good you can release a new version 1.5.1

Hi @adkumar1,
I merged the PR, created the Git tags and now the v1.5.1 Docker image tag is also available on DockerHub
There is also an open PR #81.
Could you check the contents again. At least the helm upgrade part is needed to comply with the release guidelines. I'm just not sure about the huge k8s secret manifest

HI @adkumar1,
I merged the Helm Chart fix PR (eclipse-tractusx/managed-service-orchestrator#81) and created a fix release for the Chart.
So the current Chart Version is 1.5.2, deploying AppVersion 1.5.1. I updated the README accordingly and also introduces a CHANGELOG.md for your Chart. See [8cdee67]{https://github.com/eclipse-tractusx/managed-service-orchestrator/commit/8cdee67b8008680cbca3a08024a0641815c94d67)
The changes done in the mentioned PR now at least enable the workflow to execute the Helm tests, but it is still failing.
See workflow run logs
I created a new bug issue for that eclipse-tractusx/managed-service-orchestrator#87
Please fix the workflow run, so we can release a new patch version. You already had an exception for the last release. This time you need to get your test workflow to run successfully. This is a critical QA topic

managed service orchestrator == autosetup ??

yes

managed service orchestrator == autosetup ??

I would really ask you to not use autosetup as name anymore. It has been renamed everywhere and only leads to confusion, if you still call it the old name.
If the renaming was a mistake, then we should consistently undo it

managed service orchestrator == autosetup ??

I would really ask you to not use autosetup as name anymore. It has been renamed everywhere and only leads to confusion, if you still call it the old name. If the renaming was a mistake, then we should consistently undo it

Oh now that I also had a look at the docs, I can see the whole renaming is very inconsistent.
There are multiple mentions of "autosetup". There is also an openAPI file named after autosetup.
@MehranRoshandel could you please ask the team to do the renaming consitently.
@vialkoje what do you think about that. Are there other references, that still talk about "autosetup"? Maybe even in other places as the product repo itself?

Yes, I did it already in the internal communication. But Again. Please mention the new Name Managed Service Orchestrator, everywhere.

Hi @MehranRoshandel,
could you please ask your team to actively check for quality gate findings and fix them? They are all described as issues on your product repos. This is actually relevant for all of your repositories.
For managed-service-orchestrator there are three issues currently

Actually, I do that the whole time. I am aware of the issues, and we are checking. But I have been back since yesterday. 😊
Dr. Ing. Mehran Roshandel
T-Systems International GmbH
PU Digital Solutions | Data Intelligence Hub
Senior Product Manager
Holzhauser Str. 4-8
D-13509 Berlin
Tel. +49<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Let‘s power higher performance
[signature_791559559] https://dih.telekom.com/en/
You can find the obligatory information on: www.t-systems.com/compulsory-statementhttp://www.t-systems.com/compulsory-statement
Von: Sebastian Bezold @.>
Gesendet: Dienstag, 21. November 2023 10:20
An: eclipse-tractusx/sig-release @.>
Cc: Roshandel, Mehran @.>; Mention @.>
Betreff: Re: [eclipse-tractusx/sig-release] Managed Service Orchestrator Release 23.12 Documentation Acceptance Criteria (Issue #82)
Hi @MehranRoshandelhttps://github.com/MehranRoshandel,
could you please ask your team to actively check for quality gate findings and fix them? They are all described as issues on your product repos. This is actually relevant for all of your repositories.
For managed-service-orchestrator there are three issues currently
—
Reply to this email directly, view it on GitHubhttps://github.com/eclipse-tractusx/sig-release/issues/82#issuecomment-1820527100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYFU5HAXT4GSP6IXIUES6QTYFRW4FAVCNFSM6AAAAAA5VHWXPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRQGUZDOMJQGA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

no UX n/a

Release guildelines checked. App Release done: https://github.com/eclipse-tractusx/managed-service-orchestrator/releases/tag/v1.5.2
AppVersion 1.5.2
Chart version 1.5.3

expert approval granted for Architetcure-,Admin, user and interface doku


docker daemon is not running:

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image
Operating System: windows
Docker Desktop Service is running status.
Updated wsl_update_x64 packages as well
But still facing below problem,
ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.

I've personally faced this error with docker aswell. Changing the network worked for me.

@erjain @nishanil can you please help here?


[quesion] Implicit operator to convert TValue to Result

Hello,
Just wondering, did you consider adding an implicit operator for converting TValue to Result<TValue>?
Currently, when you have a method that returns Result<TValue> you always need to return Result.Ok(new TValue()), but, it can be changed to just returning new TValue() instead.

Hi, thanks for your question. I think this would be a good enhancement for the consumers of the library. It would be great if you can create a pr for this feature.
Maybe this issue is interesting for you - it is the other way around #84

Thanks for your time. The new release: https://www.nuget.org/packages/FluentResults/3.7.0

Thanks


uuid mismatch on marketplace compose activation

When a marketplace app is being created a uuid is allocated and placed on /opt/{productName}/hossted/uuid.txt

When hossted activate -t compose compose is invoked in creates a new uuid D-{uuid}

We need to first check if we have a uuid value in /opt/{productName}/hossted/uuid.txt and use it if it exists.

Also we need to make sure the CLI respects existing H- osuuid created by marketplace instead of creating a new D- uuid


Fixedwing: Set SYS_MC_EST param correctly for Fixedwing

So that post-flight analysis tools correctly tell you that you used the correct estimator. Should be done in ROMFS/.../fw.defaults

@LorenzMeier I fixed this in pyulog [0], because the parameter is specifically only for Multicopters, as per param description. What do you think?
[0] https://github.com/PX4/pyulog/commit/abcdc4aa38d0732cd9539e039fb0149892f90850


Added Audio file in #4059

Description 📜
"   06.01 Buttons - Added Audio file   "
Fixed #4059
Type of change 📝

[x] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Android Dev #(Kotlin)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Hey @rahulsain , Checkout this PR and if everything is fine kindly merge it ...................................


Advanced pricing. Min amount > 1 = 500 error

Description
When setting up an advanced pricing with a minimum amount larger than 1, the storefront will throw 500 errors.
Possible Solution
It should fall back on the normal price, if no quantity matches the requested quantity. This can easily be added by checking for an empty return after the getQuantityPrices call in \Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceDefinitionBuilder::buildPriceDefinitionForQuantity.
Additional context
[2021-02-15 09:07:11] request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 1 passed to Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceDefinitionBuilder::getCurrencyPrice() must be an instance of Shopware\Core\Framework\DataAbstractionLayer\Pricing\PriceRuleEntity, null given, called in /data/sites/web/xxx/releases/20210212123744-1.0.1/htdocs/vendor/shopware/core/Content/Product/SalesChannel/Price/ProductPriceDefinitionBuilder.php on line 156" at /data/sites/web/xxx/releases/20210212123744-1.0.1/htdocs/vendor/shopware/core/Content/Product/SalesChannel/Price/ProductPriceDefinitionBuilder.php line 207 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Shopware\\Core\\Content\\Product\\SalesChannel\\Price\\ProductPriceDefinitionBuilder::getCurrencyPrice() must be an instance of Shopware\\Core\\Framework\\DataAbstractionLayer\\Pricing\\PriceRuleEntity, null given, called in /data/sites/web/xxx/releases/20210212123744-1.0.1/htdocs/vendor/shopware/core/Content/Product/SalesChannel/Price/ProductPriceDefinitionBuilder.php on line 156 at /data/sites/web/xxx/releases/20210212123744-1.0.1/htdocs/vendor/shopware/core/Content/Product/SalesChannel/Price/ProductPriceDefinitionBuilder.php:207)"} []

known :-)
see https://github.com/shopware/platform/pull/1221

known :-)
see #1221

Ah okay, thanks! I could not find anything describing the problem when I created the issue, but I probably didn't look good enough 😛

@runelaenen https://issues.shopware.com/issues/NEXT-16603


Komenci should point to ODIS load balancer

This will evenly distribute load across regions and have better availability.
Single region URL:
https://us-central1-celo-pgpnp-mainnet.cloudfunctions.net
Load balancer URL:
https://mainnet-komenci.azurefd.net

Update the url in the Network config file needs an update of the public key as well?
Or is just substitute an URL by the new one?
@codyborn


Cannot place ender pearl into an item frame

Clicking without pressed Shift opens chest, clicking with pressed Shift uses ender pearl to teleport me

shift + right click

Same for me, shift-clicking seems to work correctly.


crash with ender pearl travelling

Put ender pearls in ender pearl slot after unlocking it.  Used the Z button to teleport.


excluding source maps with the new webpack mode

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Linux (Arch)

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.11-webpack
node: 6.3.1
os: linux x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
this is abit tricky, i've found the issue because i've installed @ngrx/store,
however, it is more general one.
at the moment, with the new webpack mode, one cannot exclude sourcemaps,
and not all node_modules have sourcemaps with them.

The log given by the failure. Normally this include a stack trace and some
more information.
WARNING in<EMAIL_ADDRESS>Cannot find source file '../../lib/hooks.ts': Error: Can't resolve '../../lib/hooks.ts' in '/home/hagai/a2z/gits/anipo/anipo-io/node_modules/@ngrx/router'
<EMAIL_ADDRESS>35:14-32
<EMAIL_ADDRESS>@ ./src/app/app.routes.ts
@ ./src/main.ts
@ multi main

WARNING in<EMAIL_ADDRESS>Cannot find source file '../../lib/match-pattern.ts': Error: Can't resolve '../../lib/match-pattern.ts' in '/home/hagai/a2z/gits/anipo/anipo-io/node_modules/@ngrx/router'
<EMAIL_ADDRESS>19:22-48
<EMAIL_ADDRESS>@ ./src/app/app.routes.ts
@ ./src/main.ts
@ multi main
WARNING in<EMAIL_ADDRESS>Cannot find source file '../../../../lib/add/operator/enterZone.ts': Error: Can't resolve '../../../../lib/add/operator/enterZone.ts' in '/home/hagai/a2z/gits/anipo/anipo-io/node_modules/@ngr
x/core/add/operator'
<EMAIL_ADDRESS>29:0-44
<EMAIL_ADDRESS>@ ./src/app/app.routes.ts
@ ./src/main.ts
@ multi main
WARNING in<EMAIL_ADDRESS>Cannot find source file '../../lib/compose.ts': Error: Can't resolve '../../lib/compose.ts' in '/home/hagai/a2z/gits/anipo/anipo-io/node_modules/@ngrx/core'
<EMAIL_ADDRESS>2:16-45
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>@ ./src/main.ts
@ multi main
WARNING in<EMAIL_ADDRESS>Cannot find source file '../../../lib/operator/enterZone.ts': Error: Can't resolve '../../../lib/operator/enterZone.ts' in '/home/hagai/a2z/gits/anipo/anipo-io/node_modules/@ngrx/core/operato
r'
<EMAIL_ADDRESS>3:18-53
<EMAIL_ADDRESS><EMAIL_ADDRESS>@ ./src/app/app.routes.ts
@ ./src/main.ts
@ multi main

Mention any other details that might be useful.
as i'm familiar with webpack, i was able to find the config quickly and make a W/O
in models/webpack-build-common.ts file (getWebpackCommonConfig)
i've added "path.resolve(projectRoot, 'node_modules/@ngrx'),"
under loader source-map (line 32 here).

but i've opened the ticket because i think this is not proper,
the source map exclude should be controlled from the project itself.
(maybe add it to some config - not sure)

Thanks! We'll be in touch soon.

@DxCx could you explain how you patched this issue?

Related to #1578.

Fixed in https://github.com/angular/angular-cli/pull/1673


Use two useraccounts package in one app: Choose form version

I have an app which has a route for android (which is a webview in an android .apk app) and other routes for the web browser based part of the web. When I go to my android route I want to login with the polymer package, when I go to any other non-android routes I want to use the bootstrap package. I don't think this is possible right now?

Hello @AndreasGalster!
this is not supported out of the box, but there might be a very tricky solution. This is my idea:

first, forget about using AccountsTemplates.configureRoute to set up your routes!
set up the Android route 'by hands' with a custom template using `{{>atForm}}': this should make the signIn/Up states available on the very same route.
copy by hands the code for the other UI framework and rename all templates to eventually get a atForm2 or whatever and use it inside the template for the route you set up for the web browser
...good luck! ;-)

Let me know!

This sounds confusing but I could try it :P However, I think there are problems with two different packages being used in general. This seems to be logging the user out sometimes right after being logged in.

What you mean with:

there are problems with two different packages being used in general

which two packages?
I'm almost sure you cannot install two useraccounts packages without getting an error about having duplicate template names...

Exactly. There were templating issues and also some error with logging.js I think. I installed useraccounts:bootstrap and useraccounts:polymer. Didn't exactly work flawless sadly. I'd love to have the possibility to have 2 userpackages installed at once in the future though.

Right now this is not possible because all different frontend templates actually use the same names...
But I'll try to consider this for v2.0! It might make sense... ;-)

if you set up a public repo to play a bit with this, I can try to make a PR to get you started off...

Hi splendido, thanks for the offer but right now that project has no priority. I'm ok with just using the bootstrap login for now. It's a long term side project, so I'm hoping v2.0 will be there when I really need it :).

Ok, so I'll close this for now.
But I'll take this into consideration for v2.0!
Tnx


Is unitTask still required?

Hi,
thank you for this great builder, I've been using it in a few projects.
Do you remember which code constructs caused the type inference issues and made you add unitTask?
The reason I ask is that there was some work recently to improve the type inference in the compiler, so maybe this is already solved. If not, I would like to extract a repro and add an issue at https://github.com/Microsoft/visualfsharp.
In a simple test, everything seemed to work, but I do know that the solver sometimes breaks down when code gets more complex:
module Program

open System.Threading.Tasks
open FSharp.Control.Tasks.ContextSensitive

type X = { A : int ; B : int }

[<EntryPoint>]
let main argv =
    let tX = Task.FromResult({A=1;B=2})
    let t = task {
        do! Task.Delay(100)
        let! x = tX
        return x.B;
    }

    printfn "%i" t.Result

    0

^^^ this works as expected for me, using TaskBuilder.fs from 6aa7ef6e47caf9f0af56413c4bb6d256763ffbaf

Hi,
Sadly, yes. Here is the ugly case.
type X() =
    member this.Num = 0

let xTask : Task<X> = task { return X() }

let badTask =
    task {
        let! x = xTask
        return x.Num + 1
    }

I think that your example works because of the special inference on record properties (i.e. same reason you could write let f x = x.A + x.B).
I would be really glad to get rid of unitTask if I could.

Thanks! I created https://github.com/Microsoft/visualfsharp/issues/3281, let's see what happens.

I looked at the approach in your pull request and in the Query.fsi code linked by Don Syme, and at first I thought it only worked to discriminate between Generic<SpecificType> and Generic<'a>, so it wouldn't help with the Task situation, where we have BaseType and ChildType<'a>.
But I was also interested in playing around with using inline constraints more to support arbitrary awaitables, like the ValueTask type. I found that I could use a fancier version of the old bindGenericAwaitable to support Bind on any task-like using very similar rules to the C# compiler. With Task<'a> handled by the builder itself, and this new very generic inline await in an extension member, it seems to work. I tested with the existing test suite, a couple new compilation tests, and with my projects Rezoom and Rezoom.SQL that use this builder.
I also had to do something kind of weird where the inline bind is inside a static class with a generic parameter, otherwise the inference gave up on figuring out the return type in some cases (where you are using the inline Bind in the context of a non-inline generic function).
This is really abusing the compiler and is probably dependent on unspecified implementation details, but it works too well not to use it. Now, not only is unitTask obsolete, but we can let! bind arbitrary task-likes just like we can await them in C#!
Thanks again for posting about this problem on the FSharp github and finding out about the extension member trick.

Nice!


[add] notices to single sign-on settings

Coverage decreased (-11.0%) to 69.226% when pulling 4fca33d87d018eed5269bf5420e1c333c8e43ebe on sunny4381:features/oos-notice into 505dd3e5633bb22961fba21f909c826e8ca8cac4 on shirasagi:master.


Implicit dependency pathe being used

Tailwindcss module directly imports from pathe (introduced in https://github.com/nuxt-modules/tailwindcss/pull/499) but is not in the dependencies. This makes issues with pnpm and monorepos. (PS: there might be other implicit deps. i just found this by chance making issue to not forget)

I'm getting an error:
 ERROR  Cannot find package 'pathe' imported from<EMAIL_ADDRESS>                                                                                23:40:01

  at new NodeError (node:internal/errors:393:5)
  at packageResolve (node:internal/modules/esm/resolve:860:9)
  at moduleResolve (node:internal/modules/esm/resolve:909:20)
  at defaultResolve (node:internal/modules/esm/resolve:1124:11)
  at nextResolve (node:internal/modules/esm/loader:163:28)
  at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
  at link (node:internal/modules/esm/module_job:75:36)

Does that mean I need to install it separately?

As a bugfix, yes


Smarter Embed

codepen embed
Medium article
Smarter embed? maybe we can be more generic

@hipstersmoothie I'd like to work on it for hacktoberfest, could you assign it to me?


SITCOM-949: Add first draft of software plan for calibration

This is a great first draft. Two additional high level comments, first,  the calibpalooza flowchart is needed and will help to understand the flow.  Second, at several points throughout the document, a note is made stating that some components of the system will not be ready by the end of construction and, consequently, not used in Y1 (at least) of the survey.  It would be very helpful to have a section entitled "Construction completeness and Year 1 LSST System" (or something to that effect) that explicitly lists what will be parts of the  full system described here will constitute the ORR/Y1 system and what the effects/consequences of not having the missing parts will be.


Tox docs build failing

At least on the 2.x branch, see #684:

docs_html: /home/travis/build/pallets/flask-sqlalchemy/.tox/docs_html/lib/python3.6/site-packages/flask_sqlalchemy/init.py:docstring of flask_sqlalchemy.SignallingSession.get_bind:63:Unknown
interpreted text role "paramref".

This is caused by SQLAlchemy and there is a big report in Sphinx to resolve it:
https://github.com/sphinx-doc/sphinx/issues/1530

This was resolved in #687.


UI-Issue in Vscode Insider version - Clicking on More action icon on a cell activates the delete button and deletes the cell

UI-Issue - Clicking on More action icon deletes the cell

But I can avoid it, by very carefully clicking on the very very bottom left corner of the icon. If the clicking is slightly towards the middle of the icon the cell gets deleted.

VS-Code version
Version: 1.53.0-insider
Commit: e17aea136d32fdb06d9b32184b04ccd36bb51e9c
Date: 2021-01-12T08:22:28.134Z
Electron: 11.1.0
Chrome: 87.0.4280.88
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.8.0-36-generic

Can you reopen this on the VS code repo? This would be their responsibility.

Can you reopen this on the VS code repo? This would be their responsibility.

Cool, will reopen with them.

Cool, will reopen with them.


Select extension: TypeError: a._select is undefined

When using Select extension and trying to select rows in initComplete callback as follows:
var table = $('#example').DataTable({
    initComplete: function(settings){
         var api = new $.fn.dataTable.Api( settings );
         api.rows(0).select();
    },
    select: true
});

Getting the following error for minified code (https://cdn.datatables.net/r/dt/dt-1.10.9,se-1.0.1/datatables.min.js):

TypeError: a._select is undefined

or for unminified code (https://cdn.datatables.net/r/dt/dt-1.10.9,se-1.0.1/datatables.js):

TypeError: ctx._select is undefined datatables.js:15638:1

See this jsFiddle for demonstration.
Row selection works if used after DataTables initialization (for HTML sourced data).
var table = $('#example').DataTable({
    select: true
});

table.rows(0).select();

Thanks for filing this. However, this is a Select issue, so it should probably be opened against that extension rather than DataTables.
The issue was fixed by this commit a few days ago. The fix will be included in the next release of Select.

So it should be reported at https://github.com/DataTables/Plugins instead? I wasn't sure what was the source of the problem, but will report extension-related issues there instead, thanks for letting me know.

No, it should be int he DataTables/Select repo from the commit above. Each extension has its own repo.
Actually, I'd prefer bug reports in the DataTables forums as it is proving difficult to track requests from GitHub, the forums, e-mail, etc. Going through the forums is preferable :-)

This error is still present, if you add a language url.
This is my language json file:
{
	"sEmptyTable":   	"Keine Daten in der Tabelle vorhanden",
	"sInfo":         	"_START_ bis _END_ von _TOTAL_ Einträgen",
	"sInfoEmpty":    	"0 bis 0 von 0 Einträgen",
	"sInfoFiltered": 	"(gefiltert von _MAX_ Einträgen)",
	"sInfoPostFix":  	"",
	"sInfoThousands":  	".",
	"sLengthMenu":   	"_MENU_ Einträge anzeigen",
	"sLoadingRecords": 	"Wird geladen...",
	"sProcessing":   	"Bitte warten...",
	"sSearch":       	"Suchen",
	"sZeroRecords":  	"Keine Einträge vorhanden.",
	"oPaginate": {
		"sFirst":    	"Erste",
		"sPrevious": 	"Zurück",
		"sNext":     	"Nächste",
		"sLast":     	"Letzte"
	},
	"oAria": {
		"sSortAscending":  ": aktivieren, um Spalte aufsteigend zu sortieren",
		"sSortDescending": ": aktivieren, um Spalte absteigend zu sortieren"
	}
}

This is the Error Traceback:
TypeError: ctx._select is undefined
clear()
 dataTables.select.js:519
<anonym>
 dataTables.select.js:736
.iterator()
 jquery.dataTables.js:6956
<anonym>
 dataTables.select.js:735
_Api.extend/methodScoping/<()
 jquery.dataTables.js:7089
<anonym>
 1:176
m.Callbacks/j()
 jquery.js:2
m.Callbacks/k.fireWith()
 jquery.js:2
.ready()
 jquery.js:2
J()
 jquery.js:2
 dataTables.select.js:519:1

Could you link to the page showing the issue please? Could you also confirm that your are using the nightly versions of Select and DataTables?

Here, did create a seperate file for this on my private server: http://arktastisch.de/data_tables/

Thanks for the link - its because you are using language.url to Ajax load language information which is done using Ajax (i.e. it is async), but the code immediately tried to use the API before the data has been loaded.
You need to move the select API call into initComplete.

Thanks thats worked, maybe you should add a error message like that.
Btw you did a great work with that DataTables, thanks for this OpenSource project! :+1:


Comparison version 0.2.6 and 0.3.0 with scibert

I've made several tests with scibert trying to keep the same conditions between the two version of delft.

#
delft version
run
architecture
batch size
max seq length
max epoch
F1

1
0.2.6
24142
scibert
6
512
50
0.8332

2
0.2.6
24063
scibert
6
512
50
0.8327

3
0.3.0
24141
BERT
20
512
60+early stop
0.8134

4
0.3.0
24138
BERT_CRF
20
512
60+early stop
0.8092

7
0.3.0
24136
BERT_CRF
20
512
60+early stop
0.8173

5
0.3.0
24146
BERT_CRF
20
512
15
0.8137

6
0.3.0
24145
BERT
20
512
15
0.8178

8
0.3.0
24147
BERT_CRF
6
512
50
0.8327

9
0.3.0
24148
BERT
6
512
50
0.8325

run 2 and 4 are repetition to be sure the results are consistent.
The dataset is the same, details here:
8167 train sequences
908 validation sequences
1009 evaluation sequences

I could try to reduce the batch-size for delft 0.3.0 but I doubt that would make any difference

early stop was not supported in the previous DeLFT version by the BERT architecture, only by the RNN. So you were likely doing 50 epochs?

Ah ok, I updated the two rows then

I would change the max epoch as first try.
The number of epoch for BERT-based model can be normally very low normally. I was having my best result with tf1 with number of epoch 3-5 for NER, then accuracy was unchanged or decreasing. With tf2, I keep it to 5-10. It might depend on the training size I guess. What is the size of this training set?

The training set is
8167 train sequences
908 validation sequences
1009 evaluation sequences

I changed epoch to 15 (see row 5 and 6) and the scores are improving a bit, but not quite as much as row 1 and 2. Should I reduce it even more? like to 5 or 10?

With higher nb of epoch, you could try to decrease the learning rate too.
On my side for reference, for the CoNLL and Grobid models (using SciBERT), all the models using BERT gives slightly better results with the new version. Model for my largest training set ("software mention recognition" with 8M tokens) with SciBERT also shows a small improvement.

I changed epoch to 15 (see row 5 and 6) and the scores are improving a bit, but not quite as much as row 1 and 2. Should I reduce it even more? like to 5 or 10?

I would try 5 to see, but I had good results with 15. Maybe decrease batch size to 6 to check too. It's unexpected to see lower score with CRF, normally it improves a bit.

Note sure it's useful but, to be sure to use all training available with BERT, note that early_stop parameter is by default true, so you have to set with_ELMo to false explicitly before training. Then both the train and validation set will be used for training until the max_epoch is reached.

OK. It seems that the results are now comparable 🎉 , see runs 8 and 9.

After a lot of tries, with the new version I obtain the best result using early_stop=True for architectures using BERT, despite some part of the training data is used to check the stop criteria.

With early_stop=True for me was not the case, did you use any special parameter?

I tested again with the latest changes. With early_stop=True I get worst results unfortunately..

OK I leave it open.
Here the comparison between early_stop=True and early_stop=False for DeLFT 0.3.0.

#
run
architecture
transformer
batch size
max seq length
max epoch
early_stop
F1

1
24304
BERT_CRF
scibert_cased
20
512
60
False
82.99

2
24311
BERT_CRF
scibert_cased
20
512
60
True
81.44

3
24305
BERT
scibert_cased
20
512
60
False
82.73

4
24312
BERT
scibert_cased
20
512
60
True
81.70

5
24307
BERT_CRF_FEATURES
scibert_cased
20
512
60
False
83.31

6
24307
BERT_CRF_FEATURES
scibert_cased
20
512
60
True
81.96

7
24294
BERT
matscibert
20
512
60
False
TBD

8
24313
BERT
matscibert
20
512
60
True
81.52

I'm closing for the moment, as I've managed to obtain the same results with delft 0.3.0 as I had before 🎉


Changelog file

Creation of a changelog.md file where each version gets all changes listed

Will this be made automatically by the CI or should I make it in the existing PR?

I could probably implement CI which could do it, though I was planning on typing it out manually for each version. I'd be quite interested in adding CI to this project

#22 is in progress


Release 2.0.3

Questions
Answers

Description?
Release 2.0.3

Type?
bug fix / improvement / new feature / refacto / critical

BC breaks?
yes / no

Deprecations?
yes / no

Fixed ticket?
Fixes PrestaShop/Prestashop#{issue number here}.

How to test?
Please indicate how to best verify that this PR is correct.

Ping https://github.com/orgs/PrestaShop/teams/committers for approval

Thank yoooooou guys


Request for Updated Weapon SVG Icons

Hello, first of all, thank you for sharing the project!
I looked at the SVG files in the cs2-react-hud/src/assets/weapons directory, and I need these weapon icons. However, I noticed that some of the SVG files are outdated. Specifically, some weapon icons appear to be old.
Is there a chance you could add updated SVG files for these icons? Or do you have any idea how I can access these SVG files?
Thank you!"

Hey @Enigma-tht , are you able to pinpoint which icons look outdated? Ill try to have them updated asap


Frontend should remove invalid user sessions

If a request using the current token fails, this means the token is invalid and the user session should be deleted.

401 HTTP code received indicates invalid token

A common error that occurs is "cannot access other users' graphs". Instead of just displaying this error, it should:

log user out on SBH2 visually (is logged out, but display not updated to reflect that)
send user to login page

Fixed with PR #576


hotfix: share is broken; use currently working spee.ch share url

Share on spee.ch urls using channelName need clarification and testing. Revert back to working url without channelName.
Must confirm with spee.ch group how to properly format urls using channelName.
If someone can get a url using channelName to work consistently, I can put that format in.

There we go. Thanks for the guidance.

Sweet, nice fix. I was going to comment about that after noticing that myself over the weekend.
I'd also like to see the open.lbry.io URL as a share option - especially since not all claims can be viewed on spee.ch currently. I'll reopen the original issue as I think that was mentioned there.


Allow running the UI in production

Adds an allow_production configuration option.
@Austio I did this pretty quickly and tested locally. Let me know if there are any other changes you'd like to see here.

Thanks @kleinjm :tophat:

Closes #18


Reduction Starting messages - Performance optimal solution

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/315

Due to migratability, the current Chare Array reduction mechanic triggers partition wide broadcasts.  This is problematic for several reasons.

For arrays which do not migrate, this is pure overhead.
For arrays which do not span the entire partition and will not migrate off their subset of cores, the message traffic to unused cores is overhead
This happens even when arrays are constructed with flags that disable anytime migrate and anytime insertion.

The task is to implement a version of the chare array reduction which can perform better for the very common case of no anytime migration and no anytime insertion.  Notionally, the empty core and how many elements per core tracking issues should be something which can be determined after doneInserting completes.  Possible extensions would be to allow for reset of such quantities in dynamic situations by doneInserting, or some other mechanism.

Original author: Nikhil Jain
Original date: 2013-11-04 22:01:49

Branched off as a separate issue to evaluate if a performance optimal solution has been added.

Original date: 2017-02-01 19:58:40

Reassigning to Eric since he is already assigned the related issue.


Ajust text show format

Signed-off-by: GuoRentong<EMAIL_ADDRESS>

Codecov Report

Merging #1529 (4c6c7f6) into main (27f80a4) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1529      +/-   ##
==========================================
- Coverage   69.26%   69.21%   -0.05%
==========================================
  Files         331      331
  Lines       19035    19035
  Branches     3083     3083
==========================================
- Hits        13184    13175       -9
- Misses       4979     4989      +10
+ Partials      872      871       -1

Impacted Files
Coverage Δ

towhee/functional/mixins/display.py
29.70% <ø> (ø)

towhee/engine/task_scheduler.py
60.49% <0.00%> (-12.35%)
:arrow_down:

towhee/engine/graph_context.py
86.15% <0.00%> (-4.62%)
:arrow_down:

towhee/engine/operator_context.py
82.60% <0.00%> (ø)

towhee/dataframe/dataframe.py
74.15% <0.00%> (+1.04%)
:arrow_up:

Continue to review full report at Codecov.

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

/approve
/lgtm


revert package.json #1176

plus some unification with compute-scroll-into-view

@stipsan merge and release after https://github.com/scroll-into-view/compute-scroll-into-view/pull/891, thanks!


doc: Change machine-type to n1-standard-4 for GKE guide

Due to defaulting to a CPU request of 0.1 core for all pods, the number
of pods on the single core machine type is limited and insufficient to
ru the connectivity-check deployment at times.
Switch to a 4 core machine type to achieve a reliable
connectivity-check result.

Coverage decreased (-0.006%) to 37.117% when pulling 2a1272d145c1df77ed12d8dcedda028d6f20441c on pr/tgraf/gke-guide-machine-type into 454eae136e7f5e4ba25b0901646bb87c70aa6ca0 on master.

Should the doc mention why more cores are recommended?

Not sure how useful that is. It's not related to any Cilium requirements.


Insertable derive may error if used with other schema features

Setup
Versions

Rust: 1.20 nighly
Diesel: 0.14.0
Database: Postgres
Operating System Linux/mac

Feature Flags

diesel: postgres
diesel_codegen: postgres

Problem Description
When importing schema dsl methods in the same namespace as an Insertable derive, the code doesn't compile.
#[macro_use] extern crate diesel;
#[macro_use] extern crate diesel_codegen;

mod schema {
    infer_schema!("dotenv:DATABASE_URL");
}

mod models {
    use super::schema::posts::dsl::posts;

    #[derive(Queryable)]
    pub struct Post {
        pub id: i32,
        pub title: String,
        pub body: String,
        pub published: bool,
    }

    #[derive(Insertable)]
    #[table_name="posts"]
    pub struct NewPost<'a> {
        pub title: &'a str,
        pub body: &'a str,
    }
}

https://gist.github.com/skade/9f66885d041de7f8cf88ce3788696ae1

What are you trying to accomplish?
Nothing, it just occured to me.
What is the expected output?
cargo build
   Compiling diesel-derive-error v0.1.0 (file:///Users/skade/src/diesel-derive-error)
    Finished dev [unoptimized + debuginfo] target(s) in 0.38 secs

What is the actual output?
See linked gist above
Are you seeing any additional errors?
No.
Steps to reproduce
Use the file linked in the gist as lib.rs with your standard example setup.
Checklist

[x] I have already looked over the issue tracker for similar issues.

This is the expected behavior. The module needs to be in scope. You generally shouldn't import stuff from dsl outside of functions

Is this documented explicitly in the dsl docs? (I'll check and add if not.)
The solution to this using UFCS in the code generated by the proc macro. It
may be a good idea to this regardless, but I'll need to think about that
some more :)
Sean Griffin<EMAIL_ADDRESS>schrieb am Fr. 21. Juli 2017 um
13:28:

This is the expected behavior. The module needs to be in scope. You
generally shouldn't import stuff from dsl outside of functions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/diesel-rs/diesel/issues/1032#issuecomment-316977434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABOX_Sy_hod6PlE-MSO83Tkjuve0A9-ks5sQIt0gaJpZM4OfHtf
.

This is documented nowhere and came up in an innocuous attempt to extend this (working) module by following your guides.
https://github.com/rust-community/rust-campaigns-server/blob/master/src/main.rs#L47-L112
It is at least surprising and the error message is terribly unhelpful.

I agree that we need to make this more clear in the documentation. I'm not sure how we can improve the error message other than a lint.

I find it confusing that diesel needs very tight hygienic control of the surrounding namespace or otherwise falls flat on its nose.

I don't see any way that we could work around this, unless we enforce the exact location of the table module from the crate root, which isn't something I want to do.


Always push layer for RenderAnimatedOpacityMixin

Fixes https://github.com/flutter/flutter/issues/71008
Fixes https://github.com/flutter/flutter/issues/83050
Fixes https://github.com/flutter/flutter/issues/58425

Gold has detected about 14 untriaged digest(s) on patchset 1.
View them at https://flutter-gold.skia.org/cl/github/83145

Gold has detected about 21 new digest(s) on patchset 1.
View them at https://flutter-gold.skia.org/cl/github/83145

I wonder if this is raster cache related. Maybe we could work around it by pushing some other layer in place of the existing opacity layer - but at least we have benchmarks to check on!

I wonder if this is raster cache related. Maybe we could work around it by pushing some other layer in place of the existing opacity layer - but at least we have benchmarks to check on!

The layer coming and going basically causes a side effect that the composition of the pictures around the child are disrupted. When the layer is pushed then any Picture currently being built is ended, the children are rendered into their own picture and when they return that Picture is ended and a new one will be created for any content that follows.
When the layer is not pushed, then the preceding children will share a Picture with the children of the animated widget which will also share a Picture with the following children.
I think what we need to ensure is that the previous, descendant, and following content remain isolated regardless of the alpha. Pushing the opacity layer will always ensure this, but it can be managed simply by ensuring that the pictures are broken before and after the children are painted.
It would be even better if this whole sub-tree were treated as a RepaintBoundary - that would make sure that there is no sharing of Picture objects across this widget and also would prevent the changing opacity from causing adjacent children to repaint on either side.


Correct Failures with Github project paths ending with slashes #235

Fixes issue #235 by removing trailing slashes (and whitespace) from path variable before passing to github api functions.
The github api does not appear to like endpoints which still have slashes for several calls. The urlparse function will return path's including trailing whitespace or slashes if there are no other ascii characters following them. To avoid this mismatch this patch strips the slashes and spaces before passing them to the formatting function.

:fireworks: :fireworks:  Thanks @smalley
I added a trailing slash to the tests and found a few other places I needed to remove the trailing slash. https://github.com/codeforamerica/cfapi/commit/b0399daeb23886699aa127f8f9f3a150f2b45f01
I tried to do it once, right when we first see a project, yet the tests call individual functions, so repeating everywhere was quicker.
Where did you find this issue to work on?

I found the issue after following another help wanted item on the front page of the Code for America front page to the issue tracker on this repository. The issue seemed like a nice quick fix, although it looks like I should have tested a bit more rigorously (thanks for correcting those other cases in b0399da !)


Load fields_sources_list only one

Each instantiation Scientist() loads the field-source definition anew: https://github.com/sosia-dev/sosia/blob/master/sosia/classes/scientist.py#L276
This slows down find_matches() a lot.
Need to find a way to avoid reloading everything.

Long obsolete, due to sosia.get_field_source_information()


It's not possible to color emojis

I'm trying to add this truck emoji 🚚 and change its color on React Native. On the web, that's possible by applying this trick on StackOverflow.
With React Native, I tried to use color, textShadowColor and textShadowOffset as suggested by the StackOverflow answer, but it didn't work.
The text shadow will not show if the text color is transparent. Apparently, on the web, that's not the case.

Thanks for opening the issue, however it looks like a feature request. As noted in the Issue template we'd like to use the GitHub issues to track bugs only. Can you implement the feature as a standalone npm module? If not consider sending a pull request or a create an entry on Canny. It has a voting system and if the feature gets upvoted enough it might get implemented by someone from the community. Closing this now, thanks for understanding!


MacOS: make notifications pile up until dismissed?

Desktop Notifier version: 3.5.6
Python version: 3.9.6
Operating System: MacOS 13.4.1

Description
I want to see notifications add, and add, until dismissed - whether one at a time or en masse.
Instead, one notification dismisses another, so I only see one at a time.  Dismissing notification n+1 does not expose notification n.
I'm testing with urgency=Urgency.Critical, but it doesn't appear to be enough.  Does relevancy or something control this?
Here's the test script:
#!/usr/bin/python3

import asyncio
from desktop_notifier import DesktopNotifier, Urgency, Button, ReplyField

notifier = DesktopNotifier()

async def main():
  await notifier.send(
      title="Julius Caesar",
      message="Et tu, Brute?",
      urgency=Urgency.Critical,
      buttons=[
        Button(
          title="Mark as read",
          on_pressed=lambda: print("Marked as read")),
      ],
      reply_field=ReplyField(
        title="Reply",
        button_title="Send",
        on_replied=lambda text: print("Brutus replied:", text),
      ),
      on_clicked=lambda: print("Notification clicked"),
      on_dismissed=lambda: print("Notification dismissed"),
      sound=True,
  )

loop = asyncio.get_event_loop()
loop.create_task(main())
loop.run_forever()

I don't think this is possible on Apple platforms, they tend to guard against such user experiences.


Add dependencies (libs) from filesystem using env variables

Currently, when I want to add local (on the filesystem) dependencies (libs) for the transpilation and lint I add something like
abaplint.json:
{
    "global": {
        "files": "/{src/abap,test/src}/**/*.*",
        "skipGeneratedFunctionGroups": true,
        "skipGeneratedGatewayClasses": true,
        "skipGeneratedPersistentClasses": true
    },
    "dependencies": [
        {
            "files": "/**/*.*",
            "folder": "/../../../../root/registry/public/kronos/src/abap"
        }
    ],
...

abap_transpile.json:
{
  "input_folder": "{src/abap,test/src}",
  "input_filter": [],
  "output_folder": "dist/abap",
  "libs": [
    {
      "url": "https://github.com/open-abap/open-abap-core"
    },
    {
      "files": "/**/*.*",
      "folder": "/../../../../root/registry/public/kronos/src/abap"
    }
  ],
  "write_unit_tests": true,
  "write_source_map": true,
  "options": {
    "ignoreSyntaxCheck": false,
    "addFilenames": true,
    "addCommonJS": true,
    "unknownTypes": "runtimeError",
    "skip": []
  }
}

In our scenario this relative path may not be always valid.
That's why I want to be able to use environment variable in the folders value to specify the path of the sources.
For example something like the following
    {
      "files": "/**/*.*",
      "folder": "$KRONOS_ABAP_API_FOLDER"
    }

or
    {
      "files": "/**/*.*",
      "folder": "$KRONOS_API_FOLDER/abap"
    }

hmm, yea, well, hmm, why not


Match Action does not Serialize

Bot actions do not serialise properly due to it being an abstract class.
Either use a different serialization library, or just serialize MatchAction (though this does destroy the purpose of the BotAction class).

Fixed in commit cf62b4fcf04a0d96a2f093276fc6e49ce8684653


Optimize checking if the file is relevant for the cop

Follow up to #11240.
Tested on Gitlab's codebase (app/models directory).
Because the project has a large set of rubocop todo files (https://gitlab.com/gitlab-org/gitlab/-/tree/master/.rubocop_todo), most items in Exclude/Include of which are exact file names (which I suppose correlates with most of the projects with todo files), it is wasteful to linearly check the list of patterns over and over to check if the file is relevant to the cop.
Example of such configuration - https://gitlab.com/gitlab-org/gitlab/-/blob/master/.rubocop_todo/gitlab/namespaced_class.yml.
I optimized to firstly do cheaper checks first via partitioning an array of patterns into a set of exact match strings (and be able to do O(1) search) and the rest of the patterns.

I'll merge this now, as it's a private API and I'm just about to cut a new release. Please, tweak it when you have some time to do so.

I am very glad to see that some of the optimizations got into RuboCop :tada: Thanks a ton @fatkodima :bow:
At GitLab we had (well currently still have) a set of patches to improve RuboCop's speed so now they can be removed :heart:
See also https://gitlab.com/gitlab-org/gitlab/-/issues/377469
There's also https://github.com/rubocop/rubocop/compare/master...splattael:rubocop:speed-up which had a (very) similar approach to optimize path matching with additional support for Regexp patterns.
Again, thanks for your work @fatkodima :bow:


Running Stored Procedures from Superset

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Hello,
I have created a stored procedure(SP) in my db, lets call it "test". Whenever I try running the stored procedure, I get the error "(2014, "Commands out of sync; you can't run this command now")". I have looked up online and haven't found any solution in regards to running SP in superset. I am not sure if superset supports execution of SPs. Please let me know how to resolve this issue.
Superset version
Superset 0.20.6.
Expected results
Data generated from running the SP.
Actual results
(2014, "Commands out of sync; you can't run this command now")
Steps to reproduce
call test()

I'm having same issue with Superset 0.25.5 and MySQL. Event simplest MySQL procedures (like SELECT 1 in statement) returns same error - (2014, "Commands out of sync; you can't run this command now")

We never explicitly supported sprocs as a data source. I'm unclear what it would take to make that happen or even whether it's possible.
I took 30 seconds to google "mysql stored procedure as subquery", maybe this helps:
https://stackoverflow.com/questions/23071752/using-a-stored-procedure-as-subquery

Dear All, I had faced the issue hence I have made Stored procedure to insert the final results into physical table in MySQL and created a view to fetch the data from the physical table. Finally I have called view in Superset to visualize it in Dashboard. Hope this helps.

Dear All, I had faced the issue hence I have made Stored procedure to insert the final results into physical table in MySQL and created a view to fetch the data from the physical table. Finally I have called view in Superset to visualize it in Dashboard. Hope this helps.

This is not a dynamic solution! It can't be serious solution if you have to manually run the SP every time that we have different parameters!! Are you kidding me?


If the fake worker failed to set once, it will always fail

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: All tested browser - Firefox 107.0.1 (64 bits), Chrome, Chromium
Operating system and its version: Ubuntu 22.04
PDF.js version: 2.16.105
Is a browser extension: no, but I'm using the webpack config

Steps to reproduce the problem:

Disable network connexion
Try to load a pdf.

What is the expected behavior? (add screenshot)
I would expect the pdf to load
What went wrong? (add screenshot)
The method getDocument fails immediatly without even trying to request the file.

My guess is that there is a variable that stores a state as a promise and which is not being cleaned after a fail. But I couldn't find where exactly. It seems to be in the method _setupFakeWorker


Reading old Keychain entries

Hi there! Up until now, we were using the old Apple-provided KeychainItemWrapper (https://gist.github.com/dhoerl/1170641) in our project.
We were storing/reading a simple "Touch ID"-like PIN code with the following API:
// Reading
[self.keychainItem objectForKey:(__bridge id)kSecAttrAccount];
// Storing
[self.keychainItem setObject:passcode forKey:(__bridge id) kSecAttrAccount];

We would like to migrate from using the old wrapper to this library but we cannot extract the existing values using Keychain.
The strange thing is that when we print an instance of Keychain, the value (PIN code) is indeed there and printed, but we cannot figure out how to extract its value.
This is the console output of print(keychain) where "acct": 1012 is the actual value, previously saved with the KeychainItemWrapper, that we are trying to extract:
["persistref": <>, "mdat": 2017-09-11 19:11:00 +0000, "acct": 1012, "sync": 0, "svce": , "gena": PINKey, "pdmn": ak, "v_Data": <>, "tomb": 0, "desc": , "agrp": [redacted], "labl": , "cdat": 2017-09-11 19:11:00 +0000, "sha1": <[redacted]>, "musr": <>]

Any ideas? Thanks.
cc @kishikawakatsumi

Thanks for sending the repro case. You are misunderstanding Keychain API or QIKeychainItemWrapper is broken. acct (=kSecAttrAccount) isn't a value... So the 123 isn't encrypted. Keychain API saves values with service+group+account as unique keys. You have made only the key, but you do not save the value. There is no way to retrieve kSecAttrAccount in KeychainAccess lib. You should migrate it using raw Keyhchain API.


Allow plain merge of data values into a library

Add keyword argument "plain" to @ytt:library.with_data_values()
Extract/reuse annotating method from template.DataValuesFile

Addresses #418

Pulling back to draft because I see an inconsistency:
To mirror the merge order of the root library, we need to hold separate the plain data values from data value overlays so that the former can be applied after the latter.
That is, values from .with_data_values(plain=True) should be applied last just like values from --data-values-file do.

So, this gets even more interesting...
If we ensure that .with_data_values(plain=True) has the identical precedence that --data-values-file has, then we get weirdness like this:
#@ lib = library.get("lib")
#@ lib = lib.with_data_values({"from": "plain yaml"}, plain=True)
#@ lib = lib.with_data_values({"from": "overlay"})
--- #@ template.replace(lib.eval())

would necessarily get you:
---
from: plain yaml

Which feels really surprising from the template author's perspective: how is it that the subsequent .with_data_values() call is seemingly ignored?!?!
...
I think we can have both: a mirror of data values precedence between the root and private libraries and keep an intuitive API for template authors...
if we — instead of adding the plain kwarg — introduce a new method: .set_data_values().
The above would then look like this:
#@ lib = library.get("lib")
#@ lib = lib.set_data_values({"from": "plain yaml"})
#@ lib = lib.with_data_values({"from": "overlay"})
--- #@ template.replace(lib.eval())

After taking a look through these changes, I like the way you extracted and reused current code.
In response to the most recent comment, I'm having trouble trying to motivate why we need the identical precedence that --data-values-file has. When trying to approach these examples from an author's perspective, I would expect that when I programmatically set data values on a library, it would apply in the order specified. Thus I would expect
---
from: overlay

for both examples, because as an author, that how I wrote it.

In response to the most recent comment, I'm having trouble trying to motivate why we need the identical precedence that --data-values-file has.

Good question. The initial motivation was to try to keep the command-line and programmatic interfaces as similar (if not identical) as possible.
I have just realized a couple of mistakes in my thinking:

I failed to see .with_data_values() as equivalent to all of the command-line flags (i.e. there are many command-line flags because that interface has multiple sources; the programmatic interface really has one: some AST) 💡
I misread the order in which the command-line flags were being processed; I got it exactly opposite — I thought the plain DVs were applied last; in fact, they are applied first. 🤦🏻♂

I'm gonna pull this back into draft and fix it.

lgtm

Note, conversations around this work inspired #575. More to come? 😁


Fix debug profile in readme

The readme incorrectly describes how to specify a debug/dev profile.
The correct way is to use the dev key word.

Thanks. It looks like we renamed it at some point.
https://github.com/leptos-rs/cargo-leptos/blob/010b65fd091769233fe2bb8ec068b05d6165b8d8/src/config/profile.rs#L4-L8
Good catch and thanks for the PR.


Fix for DAQmx input tasks

What does this Pull Request accomplish?
This PR contains the implementation for updating the channels to be read with the filtered channel list, where the task contains channels for multiple sites for one pin and on applying FilterBySite while we get the measurements.
Why should this Pull Request be merged?
Previously, while getting the measurements for the Daqmx tasks, the channels to be read was not updated with the filtered channel list.
We are updating this logic to read/write channels for the filtered list alone.
What testing has been done?

Manual Testing
Read measurements for all sites

Read measurements for filtered sites

Please add unit tests in AnalogInputTests, AnalogOutputTests, DigitalInputTests and DigitalOutputTests to verify behavior.

Please add unit tests in Analog/DigitalInputTests to verify behavior.

@lornazh  I have updated the unit tests based on comparing the simulated values. Hope it is fine.


Update local transaction views

What
The back link on the local transaction results page was updated to be a component from GOV.UK Publishing Components.

Trello card

Why
The local transaction views needed updating to make sure that the newest focus states were being used on all links on it - the back link was the only link that wasn't picking up the new focus state.
Where

https://www.gov.uk/pay-council-tax/westminster
https://www.gov.uk/apply-council-tax-reduction/westminster

Visual differences
Before

After

@injms these pages aren't working for some reason in the review app, can you put it onto integration?

Have checked on integration, looks good 👍


Added conf for RTD and netlify

@YashJipkate  is this pr ready for review ?

Yes, @JayjeetAtGithub


Extremely delayed render for items over ~30

I have a use case where I need to render WrappingHStacks with hundreds of lines.
When I enter a few lines it works beautifully, but as I cross a certain threshold of content inside the WrappingHStack the screen takes longer and longer to display, into seconds and even minutes.

I just tested the update, and I'm no longer seeing the delay in 2.1.2. Scrolling does appear to get a little jittery with more content, but everything seems to load right away now


How to ping client from server after sucessful connection

Hi there.
I saw your library for websocket and I think it's very straightforward than normal websocket as I am new in this websocket development area. I would like to create an application between client and server where client first connects to the server and once that server and client are connected, server then sends the "ping" request to client in order to get the RTT between server and client. I know it's different than normal ping scenario where client pings server. Unfortunately I don't know where to start and not sure if your websocketserver class has the ping function that I can use. If you could help me to point where should I start that would be really helpful.
Thanks!

Hello @ihsanhaikalz,
you got a lot of questions in there, so I try to answer them one by one.

The websocket protocol does not care if the endpoint is in the role of a client or a server when it comes to ping/pong frames. Both endpoints are allowed to send a ping and the other endpoint has to respond with a pong. We use this to detect if a connection is lost (e.g. dropped cellular network)
Since every endpoint is allowed to send a ping, it is not defined when a ping is send. E.g. chrome will send a ping to the server in a specific interval. Therefore you may wanna look into another "response" to inform the client about a successful protocol initialization.
Never the less, yes the WebSocketServer does allow you to send a ping using sendPing() of WebSocket. You can also send a ping with a specific payload, just take a look at the implementation for that!
Apart from that you do not really need this confirmation, since on both the client and server onOpen will be called if the connection is established successful.

Hope this clears up some things!
Best regards,
marci4

@marci4 Hi. Thanks very much for the info.
As for the code I am currently following the SimpleServer and EmptyClient classes mentioned in this library and it works in localhost. Now just the question of how to make the client side to connect to server with public IP address.
My server code is something like this.
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;

import org.java_websocket.WebSocket;
import org.java_websocket.handshake.ClientHandshake;
import org.java_websocket.server.WebSocketServer;

public class SimpleServer extends WebSocketServer {

	public SimpleServer(InetSocketAddress address) {
		super(address);
	}

	@Override
	public void onOpen(WebSocket conn, ClientHandshake handshake) {
		conn.send("Welcome to the server!"); //This method sends a message to the new client
		broadcast( "new connection: " + handshake.getResourceDescriptor() ); //This method sends a message to all clients connected
		System.out.println("new connection to " + conn.getRemoteSocketAddress());
		long start = System.currentTimeMillis();
		conn.sendPing();
		long end = System.currentTimeMillis();
		conn.send("time start= " + (end-start)); //This method sends a message to the new client

	}

	@Override
	public void onClose(WebSocket conn, int code, String reason, boolean remote) {
		System.out.println("closed " + conn.getRemoteSocketAddress() + " with exit code " + code + " additional info: " + reason);
	}

	@Override
	public void onMessage(WebSocket conn, String message) {
		System.out.println("received message from "	+ conn.getRemoteSocketAddress() + ": " + message);
	}

	@Override
	public void onMessage( WebSocket conn, ByteBuffer message ) {
		System.out.println("received ByteBuffer from "	+ conn.getRemoteSocketAddress());
	}

	@Override
	public void onError(WebSocket conn, Exception ex) {
		System.err.println("an error occured on connection " + conn.getRemoteSocketAddress()  + ":" + ex);
	}

	@Override
	public void onStart() {
		System.out.println("server started successfully");
	}

	public static void main(String[] args) {
		String host = "localhost";
		int port = 8887;

		WebSocketServer server = new SimpleServer(new InetSocketAddress(host, port));
		server.run();

	}
}

The server code will ping the client once the connection is established, is that correct?
As for the client code:
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;

import org.java_websocket.client.WebSocketClient;
import org.java_websocket.drafts.Draft;
import org.java_websocket.drafts.Draft_6455;
import org.java_websocket.handshake.ServerHandshake;

public class EmptyClient extends WebSocketClient {

	public EmptyClient(URI serverUri, Draft draft) {
		super(serverUri, draft);
	}

	public EmptyClient(URI serverURI) {
		super(serverURI);
	}

	@Override
	public void onOpen(ServerHandshake handshakedata) {
		send("Hello, it is me. Mario :)");
		System.out.println("new connection opened");
	}

	@Override
	public void onClose(int code, String reason, boolean remote) {
		System.out.println("closed with exit code " + code + " additional info: " + reason);
	}

	@Override
	public void onMessage(String message) {
		System.out.println("received message: " + message);
	}

	@Override
	public void onMessage(ByteBuffer message) {
		System.out.println("received ByteBuffer");
	}

	@Override
	public void onError(Exception ex) {
		System.err.println("an error occurred:" + ex);
	}

	public static void main(String[] args) throws URISyntaxException {
		WebSocketClient client = new EmptyClient(new URI("ws://publicipaddress:8887"));
		client.connect();
	}
}

but the client could not connect to the server with its public IP address and the same port opened in the localhost with assumption that the localhost's port is the same as the public IP address' port. This return the error closed with exit code -1 additional info: Connection refused: connect
an error occurred:java.net.ConnectException: Connection refused: connect.
Do you know what is the problem?

Hello @ihsanhaikalz,
if I understand you correctly you wanna have the delay between server and client, right?
In regards of the output, yes you will not receive a ping when listening to onMessage(String/ByteBuffer). For using a ping, use onWebsocketPing.
You may wanna check out this gist, since I think this will help you!
Best regards,
marci4

Hi @marci4.
Thanks for the code! I have updated my code and now the ping works.
But the result between normal ping from client to server using ping command line or psping application (20ms) is much better than the ping using websocket from server to client (100ms). I suspect the problem is when pinging with websocket it actually goes to layer 7 application that will take more time instead of only layer 3 TCP/UDP.
Do you know any other method how to improve the ping result from websocket?

Hello @ihsanhaikalz,
for a real representative ping, you need to send the message back to the server, since clocks will be different on different computers.
Apart from this, you can always enable TCP_NODELAY.
Best regards,
marci4

Hello @ihsanhaikalz,
is this issue solved for you?
Best regards,
marci4

Dead issue!
Closing it.
Best regards,
marci4


_ssl.c:877

I have this problem
EOF occurred in violation of protocol (_ssl.c:877)

Could we get a bit more details please?
What API call are you trying to do?
That looks very much like you may have a broken SSL module / setup - I've had similar where python / system encryption modules were a bit broken!

Not sure this is in scope. Do you have more details on what caused this error for you, such as the Python version you're using, your environment, version of python-amazon-mws you have installed, etc.?

I encountered this problem when I called the feedapi
python： 3.6.8
python-amazon-mws：0.8.10
I have encountered this problem before. I don't know why it's suddenly good
But now it's happening again

Searching for similar errors related to _ssl.c, this is almost guaranteed to be some issue in your local setup, I'm afraid. And we would still need more detail to know why it is occurring for you, however.
For our part, we only touch SSL using the requests library by sending requests to MWS's endpoints, which are HTTPS. python-amazon-mws does nothing with SSL on its own.
For troubleshooting purposes, again, can you provide more details on your system setup, perhaps how you're utilizing python-amazon-mws in your own code? Is it CPython, which OS are you on, are you using python-amazon-mws in multi-threading, anything of that nature?

Thanks for the answer. I think I know what the problem is
I tested the following with windows 10 and centos7
import mws

access_key = "AKxxxxx"
secret_key = "xxxxx"
account_id = "xxxxx"
auth_token = "xxxxx"
region = "ES"
feed_api = mws.Feeds(access_key=access_key, secret_key=secret_key, account_id=account_id,
                          auth_token=auth_token, region=region)

res = feed_api.get_feed_submission_list(feedids=["5043xxxxx"])

There are no errors on Windows 10, and the error rate of centos7 is 50%
So I guess there's something wrong with my environment

sounds like something up with the SSL library on centos.
I know centos uses redhats implementation and is sometimes horribly behind. I've had to patch this for PHP curl requests on magento before.
I can't remember the exact info behind it now though


UI for EndpointSlices

What would you like to be added:
EndpointSlice should also be visible in Network -> Endpoints tab or there should be dedicated Network -> EndpointSlices tab for them.
Why is this needed:
There is no UI for EndpointSlices. The only way to work with them is the terminal and kubectl.
Environment you are Lens application on:
MacOS own built OpenLens v6.5.2

A year old issue, a feature available since K8s v1.16. Nothing yet? What's going on?

This basic function has not been added yet, which has actually affected the normal use of lens.
Lens: 2024.8.291605-latest
Extension API: 6.10.39
Electron: 27.3.11
Chrome: 118.0.5993.159
Node: 18.17.1
© 2023 Mirantis, Inc.


plot_posterior_predictive(original_scale=True) DTypePromotionError

I'm successfully running MMM.sample_posterior_predictive(X, extend_idata=True) but when I call plot_posterior_predictive(original_scale=True) I get a type error:
DTypePromotionError: The DType <class 'numpy.dtypes.DateTime64DType'> could not be promoted by <class 'numpy.dtypes.Float64DType'>. This means that no common DType exists for the given inputs. For example they cannot be stored in a single array unless the dtype is object. The full list of DTypes is: (<class 'numpy.dtypes.DateTime64DType'>, <class 'numpy.dtypes.Float64DType'>)
Basically it appears that MMM is trying to combine my 'Date' data with my Y values. It's weird b/c I would expect if there was any misunderstanding about how the Date column was being used, it'd appear in the sampling. However sampling appears to run just fine.
My guess (I'm pretty new to pymc) is that there is a problem specifically within plotting feature where it's not handling default date column properly.
PyMC version: 5.15.1
PyMC Marketing version: 0.8.0

Thanks, @patrickgamer. Could you please provide us with a minimal reproducible example where we can see this error? This will help us find the issue. Thanks!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 212 ms

Resolved: ClamAV performance has improved in 2a6198c.


Postgres 0.18 release?

The Cargo.toml has been updated here, but I'm not seeing anything in https://crates.io/crates/r2d2_postgres ?

Ah, whoops. Reading the wrong bit. Commit mentioned "0.17 release", and now realised that was Postgres 0.17. Any chance of a release with Postgres 0.18?

Done!

Looks like this broke the build, as tokio uses u64::MAX which only got introduced in 1.43.0 (see https://doc.rust-lang.org/std/primitive.u64.html#associatedconstant.MAX)


docs: add voting power description

fixes #3057
Adds a section on how voting power is computed to the Consensus Scheduler doc.

ok, in a new PR


Feature: Battery Charging Sensor

Added a new binary sensor that reports if the collar is charging or not.
I have a notification that lets me know when my pet's collar is fully charged. Unfortunately, the battery level bounces between 99% and 100% for the first couple hours it's off the charger. This results in a notification each time it reports 100%. The new charging sensor allows you to only send a notification when the level reports 100% AND it reports that it's charging.
Just thought of another alert as I'm typing. This would also allow you to send an alert reminding you that your pet doesn't have their collar on if the collar is charging and you open the back door to let them outside.

@sbabcock23 Let me know if you'd like me to bump the version, or anything else that would make your life easier for this PR.

Thank you @stephenpapierski  for the contribution!


Allow data loader to override ΔQ

Candor reduction has Q values across mixed θ,λ, so the resulting Q resolution ΔQ is no longer separable into Δθ, Δλ. That is, θ and λ are correlated in each bin, with the range of θ, λ wider than the resolution Δθ, Δλ of any of the individual measurements. As a result, refl1d can no longer compute Q,ΔQ from θ,Δθ and λ,Δλ, and so the loader uses the ΔQ provided by the reduction program ignoring the contributing θ, Δθ and λ, Δλ.
We need an interface for overriding ΔQ, either within load4 or by modifying the data after loading.

... apparently already done.  There is a Probe.dQ setter.


Fix CLI parameters short name

Originally, I was not able to run the JSON GraphQL server at port 5000 with -p 5000.

On this branch, you can now run the the command ./bin/json-graphql-server db.js -p 5000 or  ./bin/json-graphql-server db.js --port 5000

Whoops, apologies for the bug in the -- for p and h. Your suggestions look fantastic, and I've updated the PR per your comment. Thank you 🤌🏽


Proper set of dependencies to integrate UnitTestBot family in the main branch

Description
In order to integrate UnitTestBot (UTB) Family in the main branch of the UTB, we need to check that all versions can be put together in the same utbot-intellij repository.
Expected behavior
All UTB implementations are in the same utbot-intellij module. The runIde task smoothly runs both for IU and IC IDE targets. If run for IU, all products have all needed dependency to be executed successfully.
Environment
Developer machine.
Potential alternatives
Target for particular IDEs: PC, WS and so on.
Context
There are a number of places that should be updated and a couple of sources that should be considered to find out proper versions of the IDE and dependencies.
The root build.gradle contains runIde target.
Follow https://github.com/JetBrains/gradle-intellij-plugin to update it.
Consider adding plugins in the plugin section.
Use plugin.xml, do not update since and until attributes in the idea-version tag. They are set in the build.gradle file.
Find out proper dependencies and add them as optional dependencies as it done for the AS support.
<depends optional="true" config-file="withAndroid.xml">org.jetbrains.android</depends>

All results were merged into interns_main branch