Some questions with CGATS it8 output

version 2.13.1
I encountered some problems, could I asking you some questions?
Q1)How do I insert a blank line?
I trying cmsIT8SetPropertyStr(cgats, "", "") function, but it's no effect.
Q2)How do I move NUMBER_OF_FIELDS close to BEGIN_DATA_FORMAT?
Q3)How do I move  NUMBER_OF_SETS close to BEGIN_DATA?
Q4)There is a space at every start of lines in BEGIN_DATA_FORMAT and BEGIN_DATA sessions.
How do I prevent it?
Please take a look below image. thanks
brief code
cmsIT8SetPropertyStr(cgats, "ORIGINATOR", "ORIGINATOR")
cmsIT8SetPropertyStr(cgats, "MANUFACTURER", "MANUFACTURER")
.
.
.
cmsIT8SetPropertyDbl(cgats, "NUMBER_OF_FIELDS",  fields)
for idx in formats {
    cmsIT8SetDataFormat(cgats, idx, "some_format")
}

cmsIT8SetPropertyDbl(cgats, "NUMBER_OF_SETS", sets)
for row in rows {
    ...
    cmsIT8SetDataRowColDbl(cgats, row, format_idx, value)
}
cmsIT8SaveToFile(cgats, "path")
cmsIT8Free(cgats)

The idea is the parser would generate a valid CGATS file, not a human readable beautified one. Since the hard part is to read it, I would suggest to use fprintf() to generate the file. In this way you have all the control you want and the effort is almost the same. Quite different thing is to read and validate the CGATS file, in that case fscanf() is clearly not enough.

I got it, thanks!


Binomial theorem

🛠 Issue (#1159 )
👨💻 Changes proposed
Added Binomial Theorem Code in all 4 languages.
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

@072arushi kindly review.


Roadmap

[x] Use 0 instead of null for CS_InventoryItem.stickerswear and CS_inventoryItem.stickers, make them number[].
[x] Have CS_Inventory constructor to accept a single argument for options.
[x] Add Storage Units for CS_Inventory, default limit of 32 items.
[x] Add updatedat to CS_InventoryItem, when a item is created its value is (FIXED_TIMESTAMP - Date.now()) / 1000.

[ ] Separated asset data JSON file for weapons and paints using legacy model.
[ ] Optimized static items for use with TypeScript. (Avoid repetition as much as possible).
[ ] Optimized translation files.


Add a simple example showing how the circuit relay works

Thank you for this and coming up with it so quickly!


Create a new folder on fastly compute init

Many CLI's, when creating or init-ing a new project will create the directory for you. Would be great to have that as default so I don't have to
mkdir project-name
cd project-name
fastly compute init

Ideally it'd create a new directory using the project name it prompts for:

I believe this issue belongs over in https://github.com/fastly/cli

Closing out and moving to the appropriate repo


SQS/SNS ensure successful response

Ensure HTTP responses returned by AWS SDK (no matter its configuration) results in successful call. Otherwise throw an exception.
Partially improves bugs described here: https://github.com/MassTransit/MassTransit/issues/1611

Rebased.

When will it be out?

When v6 is released.

This is a critical bug, causing the library to fail over time.
Is the reason for putting it in the next major release that it will be released soon?
If not, can we put this in v5?

V6 should be released within a week.

Ah, then that makes sense. Thanks! This library is the best.

@phatboyg can we use the latest develop builds to fix this issue, or would you recommend waiting a bit longer? A week has passed now, and it is causing us much pain. We have to restart our queue frequently due to it stopping new messages from arriving.

@ffMathy you can certainly give them a shot. Your experience would be helpful if you encounter any further issues, but would also help to ensure the problem is resolved.

@phatboyg my main concern is the stability. Is there any reason to consider the pre-release packages unstable?

Those packages haven't been released, but people have used them in projects. It's the first release of v6, which has a lot of changes under the hood, but should basically be the same behavior. That said, it's hard to say until more people use them.

Okay. What is the release date?


Some Dark Theme Fixes

This PR makes a couple changes to the dark theme:

Tweaks the color of text and background to be (IMO) more readable; the background is slightly lighter, while the body text is significantly lighter (increasing contrast).
Fixes the inline code background being blindingly bright.
Makes the nav bars' text color match the body text like they do on light theme (they're kinda unreadable without this tweak).

I've been using and tweaking this theme for my personal site for a while and it's great, thank you! Most of my changes are based on my personal preference so I won't open PRs from them (feel free to check out my fork and see if there are any you think are worth contributing upstream), but some of them like this one I feel are universal enough to be worth contributing.

@Phyxius Could you please share a before/after screenshot?

Sure! Here's the "before":

Note how the navbar is very hard to read, the code highlight background is indistinguishable from the regular background, and the text is fairly low contrast (making it slightly hard to read, at least for me).
Here is the same pages rendered under my changes:

I've increased the text/background contrast, made the code background stand out more, and fixed the nav bar.
While the text color is probably a preference thing, I think at minimum the other two changes are worth including :)


Upgrade argo-cd from v1.8.7 to v2.0-rc1

Upgrade argo-cd from v1.8.7 to v2.0-rc1. Incorporated the below change.
The dex commands rundex and gendexcfg have been migrated from argocd-util to argocd-dex. It means that you need to update argocd-dex-server deployment's commands to install argocd-dex binary instead of argocd-util in init container and run dex command from argocd-dex instead of argocd-util

Follow up PR'S::
Consider all the new features introduced in argo-cd v2.0 and identify what needs to be incorporated into argocd-operator

@wtam2018 @sbose78  can you have a look at this ?

Thank you, which workflows have been tested after making this change?

LGTM
@iam-veeramalla Thanks.
Please add how to test in the description.


Nothing happens after clicking 'Upload/Download' for one blob container

Storage Explorer Version: 1.9.0
Branch: master
Build: 20190809.2
Platform/OS: Linux Ubuntu 19.04/Windows 10/macOS High Sierra
Architecture: ia32/x64
Regression From: Previous release 1.9.0
Steps to reproduce:

Expand one non-adls gen2 account -> 'Blob Containers'
Open one blob container -> Click 'Upload Files...'.
Check the results.

Expect Experience:
The Upload dialog pops up.
Actual Experience:
Nothing happens.
More info:

This issue DOES NOT reproduce for file shares.
This issue DOES NOT reproduce for ADLS Gen2 blob container.
This issue also reproduces when Dragging files to one blob container.

This issue doesn't reproduce on build master/20190810.5. So we close it.


Solr 9.3.0 configuration - problems with searches

There are some issues with the configuration of the updated Solr, that we recently deployed. @tparkola I set it to critical, as it breaks some conventions that users of the marketplace are used to.
I try to collect everything until now, what we found out:

When searching for actors using api/actor-search the behavior has changed. Before, I was able to use spaces when searching for actors, e.g. for actor "Klaus Illmayer" it returned me results when calling https://marketplace-api.sshopencloud.eu/api/actor-search?q=Klaus Illmayer - but now we don't get any result. Instead I need to use a wildcard to get the results https://marketplace-api.sshopencloud.eu/api/actor-search?q=Klaus*Illmayer - which is not the behavior we like to have, because people in frontend will not use the wildcard and they are expecting that space is understood as a space.
When searching for a concept we once extended the search parameter to also include the URI of the concept. But now the call https://marketplace-api.sshopencloud.eu/api/concept-search?q=https://vocabs.dariah.eu/tadirah/academicPublishing will give an error from Solr:
Error from server: org.apache.solr.search.SyntaxError: Cannot parse '*:* AND (code:https://vocabs.dariah.eu/sshoc-keyword/POS^10.0 OR uri:https://vocabs.dariah.eu/sshoc-keyword/POS^10.0 OR notation:https://vocabs.dariah.eu/sshoc-keyword/POS^4.0 OR label_text_en:https://vocabs.dariah.eu/sshoc-keyword/POS^4.0 OR definition_text_en:https://vocabs.dariah.eu/sshoc-keyword/POS^2.0 OR label_text:*https://vocabs.dariah.eu/sshoc-keyword/POS*^2.0 OR definition_text:*https://vocabs.dariah.eu/sshoc-keyword/POS*^1.0)': Encountered " ":" ": "" at line 1, column 19.\nWas expecting one of:\n    <AND> ...\n    <OR> ...\n    <NOT> ...\n    "+" ...\n    "-" ...\n    <BAREOPER> ...\n    "(" ...\n    ")" ...\n    "*" ...\n    "^" ...\n    <QUOTED> ...\n    <TERM> ...\n    <FUZZY_SLOP> ...\n    <PREFIXTERM> ...\n    <WILDTERM> ...\n    <REGEXPTERM> ...\n    "[" ...\n    "{" ...\n    <LPARAMS> ...\n    "filter(" ...\n    <NUMBER> ...\n
Unfortunately, we need the possiblity to find a concept by its URI, as some curation scripts need this approach.

It could be, that other issues will show up, especially when running the Notebook curation scripts. This could be the place to post them, so that the Solr configuration can be adapted.
Watchers: @laureD19 @cesareconcordia @mkrzmr

I can confirm, that the two reported issues are now solved on stage. We need to be aware, that the index needs to be built up completely, so that the marketplace will only show parts of the data for around 3 hours. We need to keep this in mind when upgrading production.


#1247 - Moved DataSource to Servlet (cannot PR into DXSaurabh's branch)

@DXSaurabh i was thinking something more like this.
For some reason i cannot PR into your repo which is what i wanted to do :T ... Not sure if there is some setting on your GitHub account that would let me PR into it?
Anyhow - I havent tested this (TBH, im not really sure how? havent kept up on report builder...) but the major things are:

Made it bind to a resourceType and NOT a path (servlets bound to paths are an antipattern)
I used the ACS Commons DataSourceBuilder API that let me clean things up significantly.
I moved off parsing the JCR-SQL2 query to figure out what the SELECT X X X  Columns are and just added a mutlifield text field where an author can just put those in. This has the side effect of now various query languages (including my fave, querybuilder) can be used to define the queries.

Can you check this out and see if i understood what you were trying to do?
Also - would be good to get some light test coverage in as well.

@klcodanr

Coverage decreased (-0.06%) to 35.867% when pulling 14ed132b4721d66a95732f4f3a4224fba8539ddf on davidjgonzalez:feature/DXSaurabh into 9557b37c443e04accd8ad06d3f22b50dc69c3b53 on Adobe-Consulting-Services:master.

Closing as this was merged into 1247


sonoff T1 EU

Hello. Before the last update, my Sonoff T1 EU touch 2-channel detected 4 switches. I ignored the last 2 and used the first 2. After the last update I could no longer use it because it tries to insert the 2 channels with the same ID, generating an error and only showing me 1 switch.

These are the errors:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.sonoff_10003a8ad1
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.sonoff_10003a8ad1
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.sonoff_10003a8ad1

Please also send the sonoff-debug.py json
It could be that the uiid set by app and then trying to find out number of
switches might be causing the problem.
Thanks.
On Wed, Dec 12, 2018 at 3:20 AM rutenio<EMAIL_ADDRESS>wrote:

These are the errors:
Traceback (most recent call last):
File
"/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py",
line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists:
switch.sonoff_10003a8ad1
Traceback (most recent call last):
File
"/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py",
line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists:
switch.sonoff_10003a8ad1
Traceback (most recent call last):
File
"/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py",
line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists:
switch.sonoff_10003a8ad1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/peterbuga/HASS-sonoff-ewelink/issues/16#issuecomment-446375718,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqJgbAz1B3EdYM5s2bgQcHPMmo9xoZ3jks5u4Ci4gaJpZM4ZOTQt
.

@rutenio Check this out with the instructions:
https://github.com/peterbuga/HASS-sonoff-ewelink/tree/master/sonoff-debug
You can use Terminal/cmd prompt on mac/pc with python installed.
Thanks.

@rutenio please update the files and give it another try, i just pushed a fix.
let me know if it's working now, thanks

Hello @peterbuga . It's all gone back to the way it was before. The device with 2 switches is recognized with 4. But I disregard the last 2 and I can solve my problem, thank you.


User_profile: Add validation and styling for undefined name input.

This commit adds validation to the user profile modal dialog to ensure that the name input field is not empty. If the name input is empty, an "invalid" class is added to the corresponding element to visually indicate the invalid state. Additionally, styling adjustments have been made in both the app_components.css and dark_theme.css files to provide consistent visual feedback for invalid input fields.
Fixes: #22904

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Please let me know if you'd prefer a different kind of approach / implementation.

Thanks! Would it be easy to also disable the "Save changes" button in this situation? At least after the user tried to save the changes?

Thanks! Would it be easy to also disable the "Save changes" button in this situation? At least after the user tried to save the changes?

So what your saying is you would like for the save chenges button to look disabled when its disabled?

If that's tricky, what happens if the user clicks on "Save changes" again? I guess nothing?

Zes while thers no name input nothing happens when clicking Save changes.

@alya so what your saying is you would like for the save chenges button to look disabled when its disabled?

I haven't tested the PR. I was noting that it doesn't look disabled in your screenshots. If it's actually disabled, then it should look disabled, yes. :)

@alya If the save changes button should look/be disabled while the name input is empty then is the highlight on the name box that activates when a user tries to save whitout a name still needed? Sence its obvious the user can't save the changes?

I think the highlight of the name input is still helpful to make it obvious what needs to be fixed, yeah.

@alya following your indications i went wih a new aproach that i think you'll prefer. I Also provided a video in the PR so its more clear how its working.

Thanks, this version looks good to me in manual testing!

Please update the commit message prefix to "user profile".
@sahil839 I think this PR is otherwise ready for your review.

@sahil839 Thanks for the review! I've made the changes based on your feedback. Take a look when you can.

@sahil839 I did as you said and i also removed the "!important" delaration for the css sense it no longer seemed necessary.

@sahil839 Anything else i should change?


Cannot use both body_name and detail with desc

desc 'Create a foo', body_name: 'Body' do
  detail 'This endpoint is used to create foos'
end
post ...

This totally ignores the body_name setting.
desc 'Create a foo' do
  body_name 'Body'
  detail 'This endpoint is used to create foos'
end
post ...

This blows up: NoMethodError: undefined method 'body_name'
Is there a way to use both?

I found the  same bug here. If we declare detail block, the rest of params in desc (such as: summary, tags...) will be ignored.

I faced same bug with this. Whenever we declared with detail, it will ignore other params in desc such as summary, tags...

I found that you need to declare without block, I mean
desc 'Create a foo', body_name: 'Body', detail: "Hello"

This was fixed in Grape 1.2.2 (see https://github.com/ruby-grape/grape/pull/1832)


Achieve horizontal scalability of API server

Current Behavior
The API server is currently not horizontally scalable, for various reasons:

Search indexes being read from and written to on local disk
TaskExecutors for event subscribers consuming from an in-memory queue

Some of this has been offloaded to Kafka

DataNucleus' L2 cache being in-memory

There are options available to use distributed caches, but perhaps disabling caches altogether is also an option

Keys for secret encryption, and JWT signing and verification are stored on disk

Not really an issue; Can be replaced with k8s secrets and mounted at runtime

We already do this for the secret key

Proposed Behavior
Ensure that the API server is horizontally scalable. It should be possible to run multiple active  instances of it in parallel.
Checklist

[X] I have read and understand the contributing guidelines
[X] I have checked the existing issues for whether this enhancement was already requested

Update DataNucleus L2 Cache
We have disabled the L2 cache in the majority of places where background processing is done. A caching mechanism that caches all objects written to the datastore does not scale, especially not under heavy load. Uploading 100 BOMs meant 100 projects and all of their components were stored in memory. Unless we want to expect users to provision VMs with >32GB of RAM, L2 caching is not an option. The costs outweigh the benefits here, even for single-node deployments.
The L2 cache should be disabled globally. A distributed cache is undesirable as it couples availability of the API server to yet another external system. We still have the option to enable it though, so if at some point we find we need it, it would be easy to integrate.
Update on Lucene Search Indexes
The indexes are currently only used for the /api/v1/search endpoint, which is not called by the UI. It did not receive much love in the recent past and has limited use (https://github.com/DependencyTrack/dependency-track/issues/2310#issuecomment-1374896321). Potentially breaking the API for the sake of a better implementation would likely be OK.
A dedicated search engine like Solr or Elasticsearch would be great, but the danger of dual writes and all sorts of data inconsistencies will be quite high. Kafka may be able to help (keyword CDC), but that again introduces lots of complexity as well.

Great work folks ! Hard to catch up after so much time away from DT.
I think you've made the right decisions regarding the lucene indexes : trying to maintain dual systems or propagating changes throughout Kafka would introduce more problems than it will resolve especially considering the benefits from this feature. If anything, for the future I would advise looking up solutions like zombodb where consistency between RDBMS and search engine is managed by the RDBMS itself. If only it was agnostic to Postgresql.
Leveraging FTS capabilities of RDBMS would be better but requires expertise in fine-tuning indexes and stuff.
One question that spring into my mind and that always been bugging me with DT scheduled tasks : How would observability be managed (especially with an event based architecture) ?

Historical view of executed tasks
Status of each task execution and access to failure description if any
Next execution time

Thanks @syalioune!

One question that spring into my mind and that always been bugging me with DT scheduled tasks : How would observability be managed (especially with an event based architecture) ?

Historical view of executed tasks
Status of each task execution and access to failure description if any
Next execution time

Agreed, this is a challenge. What I think would be required for addressing all of these points is some form of workflow engine that would orchestrate task executions based on events (like the Camunda / Zeebe platform we both know :p).
However, I am not yet sold on implementing a fully-fledged workflow engine in DT, or even integrating a 3rd party one.
For short- to mid-term, we came to the conclusion that keeping a high level state of workflows will be sufficient (see #664 for details). This is mostly required to support the CI/CD use case of uploading BOMs and waiting for their processing to complete.
We would love your feedback on that if you ever get the chance to look into it!

We would love your feedback on that if you ever get the chance to look into it!

I had sneek peak today and it looks awesome so far. Will look at it more deeply this weekend and provide more elaborate feedback 😉

I'm going to close this issue. The API server has been running in a multi-replica setup in a production environment for almost two months now. The original ask of this issue is fulfilled.
This is not to say that work on this is done, certainly there are more than enough areas to improve on still.


Create mock evaluation history API for frontend dev/testing

This API endpoint will return stubbed data to allow the FE team to make progress. This endpoint will not follow the expected final API contract - e.g. it will not support pagination and filtering.

API spec is already on staging environment, it was done in #3558, while real data will be available once #3746 is merged (currently under review).
I'm closing this issue, feel free to reopen if necessary.


mbed-cli always doing some Auto-installing which can be slow

With mbed-cli 1.8.0 I always get this trace:
[mbed] Auto-installing missing Python modules...
I have installed the latest mbed-os/requirements.txt files so there should be no such step needed.

The "check that you have all the deps" thing may not be perfect. I see this on my mac, but not my Linux box. Weird...

What's your system like?

OS
Python version

ARM Internal Ref: MBOTRIAGE-1608

Python 2.7.12, Ubuntu 16.04

I see this same issue on Windows.  Every time I issue a compile command it results in this, even though I also have the requirements all installed.
[mbed] Auto-installing missing Python modules...

Autoinstalling also break some Pip environments, as reported here: https://github.com/ARMmbed/mbed-cli/issues/754

Fix was released in Mbed CLI 1.8.1. Could you update and try to reproduce the issue?

Also having the issue on Mac (10.13.6) with mbed-cli 1.8.2, Python 2.7.15, pip 18.0

Works for me with 1.8.3. Thanks!

Works for me with 1.8.3. Thanks!

I was seeing this bug prior to 1.8.3 on macOS 10.14.3. After updating to 1.8.3, I can confirm that it's fixed.

Having this issue, mbed 1.10.0, macOS 10.14.4, python 2.7.14, pip 19.2.2, pip install -r requirements.txt continues to display the "missing Python modules..." any suggestions?

We think this issue will be resolved with the next release of the mbed-cli tools package which were are working on now.

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.

Apologies, this was closed in error by the automated bot - re-opening.

Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-472

No further work planned on this.


wish: HLA typing

it may be a good addition
http://www.bcgsc.ca/platform/bioinfo/software/hlaminer

Paul and all;
We're revisiting this thanks to GRCh38 (#817), the 1000 genomes distribution and Heng Li's HLA typing work:
https://github.com/lh3/bwa/blob/master/README-alt.md#hla-typing
@bioinfo identified some great testing datasets to use for validation:
http://www.omixon.com/hla-typing-example-data/
with some backup papers to explore as well:
http://nar.oxfordjournals.org/content/early/2015/03/09/nar.gkv184.full
http://genomemedicine.com/content/4/12/102
After GRCh38 support is in place we plan to evaluation and test the HLA support.

Thanks for the update, @chapmanb.  We've also seen Heng's bwakit work but he hasn't been receptive to pull requests thus far (two open since Jan 5 2015).  We have evaluated the HLA calls against our own well-characterized QC samples and there is room for improvement; not sure what to do at this point.

Michael -- we'd love to work with you on the validation and I'd fully lean on your experience here. Do you think the Omixon data is a good test set to start with? Are your QC samples publicly available to iterate on, or would you be able to test a bcbio/bwakit pipeline internally?
I think if we can put together a validation set and show improvements we could get these rolled into the bwakit approach. I'm sure the pull requests probably slipped -- I can't even imagine what Heng's inbox looks like.
Thanks again for helping with this. Excited to finally have a path forward for this.

Another framework to consider for cross-validation: http://www.biomedcentral.com/qc/1471-2164/16/S2/S7

Thanks everyone, we'll be starting work on doing this soon so any updated experiences would be great.

@roryk let me know if you'd like to set up a chat or call or shared doc on this, I could invite some of my former colleagues

We'd also love to see this implemented, +1.

Hi @heuermh,
That would be awesome. Let me know what I can do to help make that happen.

As a way to get started, I put together a validation of bwakit hg38 HLA calls for the Omixon test data. bwakit does a good job on ~40x exome data from 1000 genomes, but fails entirely on the higher depth (2000x) targeted data:
https://gist.github.com/chapmanb/8e2a18c7bbbee3167395
It's a promising starting point and we can iterate on this. If you want to test on any local data, you'd need to align against hg38 and use the undocumented parameter: hlacaller: bwakit. Happy for any feedback and suggestions to help improve the calls. Thanks much.

I added support in the latest bcbio development for HLA calling with OptiType (https://github.com/FRED-2/OptiType), using hlacaller: optitype with hg38 alignment. OptiType does a great job on both the exome and high depth targeted data. It only differs from the truth set on NA18964 calls but otherwise is spot on with expected:
https://gist.github.com/chapmanb/8f994618a7fc5e88f893
I'm excited to have this in place and will use OptiType going forward and will work on documenting it for the next release.

This is awesome.

Great job, Brad! Which aligner is used for OptiType then - does it do an extra RazerS3 alignment on its own or does it use bwakit?

Rory and Sven-Eric;
Thanks much. This does a two step approach:

Standard alignment with bwa mem on hg38. This uses the HLA alts to separate out reads mapping to HLA regions, binning them in HLA-A, HLA-B, and friends.
We feed the separated HLA reads into OptiType, It does a RazerS3 alignment against a fasta reference of only HLAs, then uses this output for typing.

The first selection pass helps avoid a memory intensive RazerS3 step on the second pass, since we've already isolated to only HLA reads. It's nice to see this working cleanly with the very high depth targeted data as well.

Sweet; does using the full hg38 with alts work cleanly in the variant2+HLA typing+SV calling workflow then, including the Gemini annotation? Some annotation will be based on lift-over data, of course, but I wasn't sure if this is fully supported by both Bcbio and Gemini yet. Is it?

Sven-Eric;
The full variant pipeline with hg38 is almost completely there. You can do HLA, variant calling and SV calling. The few things that are missing:

GEMINI -- it doesn't yet support hg38. I know Brent and Aaron plan to work on this, but it is a big task with liftover of resources.
CNVkit -- We rely on using transcripts for WGS calling, and haven't yet ported these over. Rory is currently working on that so this should be in place soon.

So we're nearly there with 38 support and will be continuing to try and fill in the missing gaps.

@chapmanb were you able to work around the non-commercial license for CPLEX, one of the OptiType dependencies?  Looks like other ILP solvers would work.  In any case, the installation process is longer than I have patience for, so I look forward to taking advantage of what you've done.  :)
The results are pretty good for two field resolution.  Changing the reported and expected alleles to use GL String format may help clarify the ambiguity; for example I don't believe Omixon is reporting that sample NA18526 has three copies of HLA-B, rather they were unable to resolve the allelic ambiguity between HLA-B*58:01 and HLA-B*58:02 for one of the two copies of HLA-B.  This row could be represented by HLA-B*40:01+HLA-B*58:01 and HLA-B*40:01+HLA-B*58:01/HLA-B*58:02, and as such, I would say the OptiType typing validates.

Michael;
Thanks much. This uses GPLK so we don't need any commercial-restricted components. All of the installation is now packaged using conda so you can do:
conda install -c bioconda optitype

to get it installed along with the external dependencies like GLPK and RazerS3.
For typing, I agree on NA18526 and think OptiType is fine here. I could adjust the truth set from Omixon to reflect this. The only calls that do not appear to validate are A and C for NA18964.

Hi
I am closing this because it seems an old issue and it seems this is now part of the pipeline if needed. Come back if you find other issues  or want to continue with this one.
cheers


Allows theme to control visibility of glow effect.

Sometimes the Glow effect that appears in Scrollable widgets can be undesirable.
To fix this I added a value showGlow to ThemeData which Scrollable now uses to determine
whether or not to display the glow effect.
With this, it is as simple as changing the theme to disable the glow effect for child widgets.
return new Theme(
  data: Theme.of(context).copyWith(showGlow: false),
  child: new PageView(children: ...));

Since this is already possible using ScrollBehavior, as discussed on the issue, I'm going to close this. Thanks for your contribution though! Please don't hesitate to submit further PRs is the future!


Can i call event onWaveFinish?

Can you add event waveFinish. Because i want to catch that event for my player

Yes, that is what i need. Have you updated that event :)

@kimhongn89 I'll add a playbackFinish event that does the same.

@kimhongn89 I added a playbackFinish event, can you try this out? I'll release it in a few days.

it worked,
thank you.


Improv

Was this just a practice, or some important updates?

Yup, it was for practice. I didn't add anything new.


Undefined Index paymentType

No paymentType in responses. I assumed it's paymentScheme now.
this is the json response I got.
"merchant" => array:14 [▶]
"buyer" => []
"items" => array:1 [▶]
"status" => "CREATED"
"id" => "ca23efd8-9017-4e35-9af1-7d7ab4846c41"
"totalAmount" => array:3 [▶]
"requestReferenceNumber" => "46fe3f6241ee479153965a056a114dd95"
"transactionReferenceNumber" => null
"receiptNumber" => null
"createdAt" => "2017-11-10T08:57:40.624Z"
"updatedAt" => "2017-11-10T08:57:40.624Z"
"expiredAt" => "2017-11-10T09:57:40.622Z"
"paymentScheme" => "CREDIT_CARD"
"paymentStatus" => "PENDING"
"redirectUrl" => array:3 [▶]
"refundedAmount" => "0"
"expressCheckout" => false
"canPayPal" => false

This also happens to me everytime after successful payment

Any workaround?
Thank you


Make number reject NaN

Allowing NaN is rarely the desired behavior, due to its odd behavior with comparisons and tendency to propagate. Add a separate numberOrNaN Cake to allow NaNs.

Or perhaps union(number, NaN) would be sufficient.


Let terraform remove the dns entries

terraform 0.8.6 seems to be able to remove the dns entries just fine.
Without an upstream issue to track, I think this workaround is no longer
necessary.

was there an upstream issue to track before or was it just broken?

talked offline and there was no explicit issue upstream we were tracking and nothing created internally for this.
I'd like to see another PR to remove the route53cli package from k2-tools before merging this and then run the tests again.  Just to make sure it all works and we're not carrying an undeeded binary around.

retest this please
Now that amazon isn't broken

retest this please

test passed!  I had asked that the upstream k2-tools repo be rebuilt first but seeing as we don't have any versioning in this that was a dumb idea.  ie:  if we let the tools repo build finish before this one, we won't have any valid path for route53 operations.
on that note, Imma merge this PR now.  It already passed the initial test.


[FEATURE] Adding Whatsapp-like .txt export method with media

I've loved this tool so much, it has made my life a lot easier, but there is a certain feature I need and I can't find anywhere. It's the posibility to export txt files like the ones from More/ Export Chat in Whatsapp.
Maybe it sounds a little dumb to ask for such a simple format, but I need it only because that format is compatible with Telegram and I'd love to export all of my important Whatsapp chats to Telegram with all of the media included by using this incredible tool, because Whatsapp only allows a few media and a few chats in their exports. The only thing that is missing is the feature to export Whatsapp-like txt files, because the feature to separate the media by chats is already there.
I know there are options like Whatsapp Viewer to export txt files but I don't know whether they are similar to the Whatsapp's ones and I can´t find it out because it can´t open the new schema.
I'd love to see this feature working. Thank you for reading

The basic of the format has been implemented in a83c8eb. You may try that in the dev branch. Expect bugs since it is a quick implementation.

Released in 0.10.5. If there is any problems on this feature, please open a new issue.


EntityID should support arbitrary objects

Fix the ids field on Observation/BatchObs to allow the EntityIDs to be arbitrary objects, and add a new test that makes sure we don't break that property.

@cswinter When we say "arbitrary objects" here do we still want things to be numerical/hashable.
There's a few places in the code taht assume thes IDs are indexes of actual entities. I guess the simplest thing to do is to just keep a map of generic EntityID to an index (which is then used for the actors etc)?

It doesn't need to be anything. Internally, the train/network code just uses the index of each entity in the observation as its identifier. There's a single place in train.py that translates these indices into the corresponding EntityIDs when passing actions to the environment:
https://github.com/entity-neural-network/incubator/blob/2dbfd69f3ee1df61bd8f8a84b8081ee2ef5c6cdd/enn_ppo/enn_ppo/train.py#L316-L330
I'm not actually sure where else it's using EntityIDs, but it should be using the indices there as well.

The actors array on the action mask is currently assumed to be an index though 🤔

Yes thats that bit I'm currently looking at. (this then goes into a ragged tensor etc.)
So we need t map that to an index in the same way as above?

Yes, you're right, I think we need another translation layer there that allows the environment to specify actors in terms of EntityID and which then get translated into corresponding indices. So the EntityID actually might have to be hashable or at the very least comparable. We'll likely also want a way of letting environments just pass/accept the indices directly rather than EntityID to allow for higher efficiency.
Heads up, I'm about to merge https://github.com/entity-neural-network/incubator/pull/109 which changes a fair amount of the code related to action masks and that translation layer.

I guess we can just push next_obs.ids into get_action_and_auxiliary and re-map the indexes

I guess we can just push next_obs.ids into get_action_and_auxiliary and re-map the indexes

This logic is now in a totally different place so nope :D

@cswinter how are we currently sure that the order of the EntityIDs in Observation.ids correspond to the indexd of ids once we have done the batch_and_embed function? which iterates through the entities and flattens them out into the x variables. The order that the entity names are iterated through is not ordered right?

Python dicts have guaranteed iteration order, everything is ordered by the dict returned by the obs_space method. Which is quite tenuous, it would be good to find a better way of encoding that constraint.

Python dicts have guaranteed iteration order.

I spend too much time in c++ clearly.
I will try to find a way to make this a bit cleaner

I propose that the Ids are split by their entity name so its much easier to map them to the entity (which will be the same order as the nd.array? Then we can also return ids in a consistent order to the x that returns from batch_and_embed.
Does that sound like a good idea?
@dataclass
class Observation:
    entities: Dict[str, np.ndarray]
    """Maps each entity type to an array with the features for each observed entity of that type."""
    ids: Dict[str, Sequence[EntityID]]
    """
    Maps each entity index to an opaque identifier used by the environment to
    identify that entity.
    """

SGTM. We could also consider joining the two dicts to enforce they have the same keys, so entities: Dist[str, Tuple[npt.NDArray[np.float32], Sequence[EntityID]]

So I had some time to work on this in the week and I think its much easier to leave the API as-is, and leave it up to environments to provide the sequence of IDS to line up with the sequence of entities.
The masks have to line up when the transformer/masking/pooling operations are taking place anyway, and then when actions are generated, finding the correct entityID in a map of entityIDS is more complicated as the algorithm would have to search through the entities and indexed masks seperately to try and get the entityID correctly.
Its simpler and more efficient in my opinion to ask the environments to generate the entityID list in the order of the entitiy->feature map and leave the majority of the code as-is.
Griddly now generates the entityID list and entity->feature map in this way.

Ah yeah, the action masks have to be lined up as well. I still think there's probably a way to figure out an inefficient interface that's easier for environments to implement, but might not be worth the effort for now.

I'll close this for now.


virt-viewer: update download url and checkver url

Closes #10619

Relates to #XXXX

[ ] I have read the Contributing Guide.

/verify


Adding the command to clone the submodules in the readme file

Signed-off-by: rajeeshckr<EMAIL_ADDRESS>Updating the readme to include --recurse-submodules when cloning the repo. Without this, ../build-libs.sh step in building bpftrace was failing.
Checklist
These checklists does not apply to the change since it is a readme change.

[x] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

looks good, thanks


Re-design the various private Invoker classes to be functional

This isn't going to be an easy thing to change. The point of this issue was to try and find a mechanism to abstract away most of the invoker logic so that the specific logic can be injected into some invoker function that can then cast and invoke it. The issue is coming down to the generic constraint requirements of the service resolver.
Is it possible to create some Invoker that is effectively a wrapper around the service resolver with some mechanism of invoking the service method? It's most likely not going to work, since we still have the issue of needing to specify the generic constraint, which will only be known by the instance type at runtime.

Fixed! The solution to this was to use delegates and factories. The Invokers behaved like delegates, so they were able to be replaced by delegates. The workaround for the type constraints was to use a factory that returned the delegates, and Activator to resolve instances of the derived factories (that is, create factories that had the "correct" generics)


Add CSS and change view

https://groundswell.groundswell.online/tasks/20208

Looks good from here!

this doesn't appear to be working in the RBMT dummy app, I still see black checkmarks


Add climavision radar sites

If it is possible, I would like to request the addition of Climavision patch radar sites used by the NWS. We have one of these radars in our county seat and haven't found a way to view the data yet.

I reached out to Climavision last June and got this response:

Thanks for reaching out to Climavision. At this time, our current suite of products and services is specifically developed for government or business use only.

Unless they change their offering, I won't be able to offer free access to their suite. If they happen to follow an open standard, similar to experimental sites like MZZU or others, I could offer a way to plug their site in, assuming you have independent access to their data.
If Climavision has opened their offering to non-commercial use, I'd love to hear about it.

I Emailed them about it a few weeks back, I think it is very commercial offering. They did say keep an eye out for Apps in the future. I would love to see someone with these sites.

I will periodically check back into their offering. Additionally, if a service such as AllisonHouse is able to sign a redistribution agreement, that could also enable an easier path toward integrating their data.

Ill keep an eye out as well. Thanks


Return to the same Activity after finishing

Hi, thank you for this great library. I've been using it and everything is fine and the welcome screen looks perfect, the only thing I don't understand is how to go back to the main layout after showing the welcome screen.
My MainActivity:
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        sampleWelcomeScreen = new WelcomeHelper(this, WelcomeActivity.class);
        sampleWelcomeScreen.show(savedInstanceState);
}

@Override
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        sampleWelcomeScreen.onSaveInstanceState(outState);
    }

// If this method should display toast at the end or cancel the welcome screen, it is not doing so
@Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        if (requestCode == REQUEST_WELCOME_SCREEN_RESULT) {

            if (resultCode == RESULT_OK) {
                Toast.makeText(getApplicationContext(), "Completed (RESULT_OK)", Toast.LENGTH_SHORT).show();
//this Toast is not displayed
            } else if (resultCode == RESULT_CANCELED) {
                Toast.makeText(getApplicationContext(), "Canceled (RESULT_CANCELED)", Toast.LENGTH_SHORT).show();
//this Toast is not displayed
            }
        }
    }

I want you to end or click on "done" to display activity_main again

Hey - thanks, glad it is useful. So what do you see when clicking done? Is the welcome screen closing?

Yes, the welcome screen closes and the app. When I reopen the app everything is OK, the welcome screen no longer appears and activity_main is displayed. Then I want you to click on done and go to activity_main without closing it.

Well, I'll answer my newbie question. I used the onstop method in WelcomeActivity to get back to MainActivity:
    public void onStop () {
//do your stuff here

        //enviar id user a MisApuestas
        Intent intent = new Intent(WelcomeActivity.this, MainActivity.class);
        startActivity(intent);
        super.onStop();
    }

Thanks again 👍

That's strange, the main activity should still be running underneath the welcome screen, and closing the welcome screen should just resume it. Are you calling finish() or doing anything else that would cause MainActivity to be closed?


Improve mapping dialog visualization

The current mapping dialog visualization has room for improvement.

I suggest the following improvements:

Add min/max of input and output domain directly above/below the starting points.
Horizontal input/output domain lines should not have same style as draggable vertical connection lines, as those are very different things
Try to make it clear that only the vertical lines and the two output domain points can be interactively changed by picking a different encoding. I suggest to color the draggable lines and points with one hue (e.g., using the selection color of lineup).

Related to #285


Add some documentation for the components

This change is

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


Update README.md

INVALID

@vanshxsharma We love contribution, but we suggest you try and submit more meaningful PRs by exploring any of our open issues. If you have any problem or need help, please join our Discord community: https://appwrite.io/discord and use the #maintainers channel.


Wheels for python 3.11

Is it possible to create a wheels for python 3.11? I checked the wheel workflow but couldn't see what to edit to make it create wheels for 3.11 myself

Hey! We are on the process of getting integrated on the upstream:
https://github.com/AcademySoftwareFoundation/openexr
I will indeed close this repo. It will take some time though. Sorry, I know it is annoying

Thanks for the info :) so the pip package will be updated through the new repo in the future?On Oct 9, 2023 08:29, Jose Luis Cercós Pita @.***> wrote:
Hey! We are on the process of getting integrated on the upstream:
https://github.com/AcademySoftwareFoundation/openexr
I will indeed close this repo. It will take some time though. Sorry, I know it is annoying
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Yes, absolutely!
On Mon, 9 Oct 2023, 10:11 Ember Light, @.***> wrote:

Thanks for the info :) so the pip package will be updated through the new
repo in the future?On Oct 9, 2023 08:29, Jose Luis Cercós Pita @.***>
wrote:
Hey! We are on the process of getting integrated on the upstream:
https://github.com/AcademySoftwareFoundation/openexr
I will indeed close this repo. It will take some time though. Sorry, I
know it is annoying
—Reply to this email directly, view it on GitHub, or unsubscribe.You are
receiving this because you authored the thread.Message ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/sanguinariojoe/pip-openexr/issues/32#issuecomment-1752529892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMXKKAX2ZMDEAOWQ7VFP2LX6OWUNAVCNFSM6AAAAAA5XSF5CGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGUZDSOBZGI
.
You are receiving this because you commented.Message ID:
@.***>


Improve datetime widget

There should be a possibility to add jquery-ui datepicker options as described here. Added that in the helper methods datetime() and date().
Example of usage:
$date = Core::make('helper/form/date_time');
// ...
echo $date->date('handle', '', true, array('defaultDate' => '11/01/1925', 'autoSize' => true));

@mlocati You're right! changed that

With this approach, users can't override the properties defined by the core,
What about this (much simpler) approach?
public function datetime(/*...other arguments */array $datePickerOptions = array())
{
    // ...
    $datePickerOptionsAsJSON = json_encode($datePickerOptions);
    $html .= <<<EOT
   <script type="text/javascript">
$(function() {
  $('#{$id}_dt_pub').datepicker($.extend({$datePickerOptionsAsJSON}, {
       dateFormat: $dateFormat,
       // ..
    }));
   // ..
});
</script>

This is the only change we'd need IMHO...

$datePickerOptionsAsJSON = json_encode($datePickerOptions);

Better (safer):
$datePickerOptionsAsJSON = json_encode($datePickerOptions, JSON_FORCE_OBJECT);

@mlocati you're right once more. Didn't thought about $.extend. User would still be able to override core properties, as the users options were below the core ones. Even though this had as result to have the same property several times.
But your solution is by far more simple and elegant.

@Remo So back to he simpler PHP "helper".... thx for pointing at!

Yeah I see, the extend() must be over all properties, right?


Add embedded Issue list

I would like to do this issue :)

Hey @s0571584 , I automatically pull the issues from Github and can therefore only use the thesis title and status. You are welcome to incorporate your customizations into my code

Hey @s0571584 I opened a new issue to bring your design and my API call together #70


Can't click links in the Glistering Tome

A lot of blue clickable links don't work, some of them say BAD LINK while others don't but they still can't be clicked either way.

sorry for the delay in responding, but specific information about the bad links found would help me resolve them, otherwise I would have to hunt through the guide myself (which I don't have time for).

https://docs.google.com/document/d/1acdA3pMjfDCDHo0mJb6T1VgV9z8oZ27-BPMcHVVMlzo/edit?usp=sharing


Add diststyle, distkey, sort_interleaved, sortkey parameters  for CREATE TABLE

Redshift tables should be created with sort/dist keys for query plan optimizations. If the table isn't created with it from the start, it becomes difficult to add after the fact.

@agawronski it looks like there are needs for additional arguments for both S3 and Redshift. Maybe we can generalize this similarly as #23. But instead of just using **kwargs, we can do:
def pandas_to_redshift(data_frame,
                       redshift_table_name,
                       column_data_types = None,
                       index = False,
                       save_local = False,
                       delimiter = ',',
                       quotechar = '"',
                       dateformat = 'auto',
                       timeformat = 'auto',
                       region = '',
                       append = False,
                       s3_extra_kwargs=None,
                       redshift_extra_kwargs=None):
    # handle s3 kwargs
    ...
    # handle redshift kwargs
    ...


Can it work with unix domain (IPC) socket?

How to work with IPC sockets?

I have a working proof-of-concept implementation in https://github.com/Stackdriver/metadata-agent/blob/master/src/http/, but never had a chance to clean it up and push it upstream. It's on my TODO list.

Curious if this support exists today or not?

I haven't had a chance to contribute the above back yet, sorry. Since that code is open-source, someone with more time is welcome to try submitting it upstream.


Typo on page

The page has a typo issue at the bottom. Instead of 2022 its 202022. I thought the reputation of Microsoft is great for this kind of mistake to be on the site (if its a mistake that is).
Thank you

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5fc5d4b4-e0c4-7399-8e32-2c2fe935cbbe
Version Independent ID: 89992fd0-d78a-fc6f-16f9-1ee91cf18485
Content: Installing Xamarin - Xamarin
Content Source: docs/get-started/installation/index.md
Product: xamarin
Technology: xamarin-crossplatform
GitHub Login: @conceptdev
Microsoft Alias: crdun

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Added chapter 1 tree line

Added the tree line that is supposed to block the player from leaving the fountain in chapter 1 until they eat one of them with a tango to go into chapter 2. Enabled using requireFountainTrees on the required state (which is already set here for all sections of chapter 1).
Small (non-?)issue: when we eat the tree and go to chapter 2, the tree line gets destroyed (looks cool I think) as chapter 2 has required set to false.

Small (non-?)issue: when we eat the tree and go to chapter 2, the tree line gets destroyed (looks cool I think) as chapter 2 has required set to false.

Not an issue, that's perfectly fine :D


[DO NOT MERGE] Verify EscapeAnalysis

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci test

@swift-ci test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - 56fd7c66e1d3727cc8edd99e8e012a92a3a70f78

Build failed
Swift Test OS X Platform
Git Sha - 56fd7c66e1d3727cc8edd99e8e012a92a3a70f78

Filed rdar://71863005 (EscapeAnalysis ConnectionGraph: -escapes-internal-verify fails when building llbuild and SCK)
Closing...


Add graphics to MultiplayerActivity

Also remove debug info and to game buttons

MultiplayerActivity is good enough for now. I will probably reopen this if I add the ability to invite a player to a game.


main - master

This cookiecutter template is great!
However, I had a few issues working with it recently due to the GH changes from  master to main. Should the template be changed accordingly ?

Can you be more exact on what the issues were for it? This is something I have been watching for, but have not seen what the explicit error is.

The GH actions were not running until I changed master to main in the workflow yaml file.

Odd. They work fine here. I'm assuming its this repo where you are seeing the problem https://github.com/t-kimber/maxsmi ?  I see that the new repo has its initial branch called "main" whereas existing repos still have the "master" designation. I can fix this, but I think we have to have both for legacy and new repos.


2.8.0 not pushed to helm repo?

Hello!
I'm excited to try your chart!
It looks like 2.8.0 didn't get published to your HTTP helm repo?
❯ helm repo add dacruz https://dacruz21.github.io/helm-charts
"dacruz" already exists with the same configuration, skipping
❯ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "dacruz" chart repository
Update Complete. ⎈Happy Helming!⎈
❯ helm search repo matrix
NAME         	CHART VERSION	APP VERSION	DESCRIPTION
dacruz/matrix	2.7.0        	1.19.3     	A Helm chart to deploy a Matrix homeserver stac...

Any update on this?

@dacruz21 can you publish latest release?


ERROR ENOENT when opening pdf with SumatraPDF on Windows

I get this error after building the PDF (correctly):
Executing SumatraPDF.exe -reuse-instance -forward-search F:\\Seafile\\Arbeit\\Papers\\TouchlessInteractionPaper\\touchlessgesturecontrol.tex 128 F:\\Seafile\\Arbeit\\Papers\\TouchlessInteractionPaper\\touchlessgesturecontrol.pdf
ERROR ENOENT

Seems to be an issue with the filepath notation with \\ in Windows.
It worked for me until 0.7.7.

Actually the double-slashes are a harmless artefact of how that string is generated. The ENOENT error indicates a PATH issue possibly similar to #54 (cmd.exe may properly preprocess quotes in the PATH, which are unnecessary; for completely reasons of cross-platform compatibility, v0.8.0 doesn't use cmd.exe anymore, so if you have a PATH entry like "C:\Program Files (x86)\SumatraPDF", just remove the quotes).

Thank you, that did the trick.


Add osbs section.

Add osbs section for building in openshift.
Signed-off-by: Ant Stephenson<EMAIL_ADDRESS>

@goldmann @jmtd I'm raising a PR for this one only at the moment. Need to open a request to create a jb-x branch for the standalone image.


Reduce unit test execution time

Expected Behavior

Unit test execute as fast as possible

Actual Behavior

Unit tests currently take ~12 min to execute, without taken into account regression tests

Potential Solution

Refactor unit tests that consume a lot of execution time, without reducing test coverage (PR1)
Next step could be enabling, for some cases, parallel unit test execution (PR3). This requires first updating unit test package (PR2).

Reproducing the Problem

Run unit tests
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Addressed by https://github.com/QuantConnect/Lean/pull/4337 and https://github.com/QuantConnect/Lean/pull/4334


get max value of a spesific column

I'm trying to get the max value of a column type integer:
Person.all.max_by{|p|p.num}
and the query that runing behind is:
select (*) from persons;
I want to run something like:
select max(num) from persons;
for improving performance
how can I do it?

@yeudit Cassandra doesn’t support SQL aggregate functions like MAX (with the exception of COUNT, which actually does iterate over every row internally if I recall).
One thing you could do is store a secondary representation with a clustering column of num and a data column like person_id. However it’s not clear how you would construct your partition key.


Failed to compile -  mergeBufferGeometries

Failed to compile<EMAIL_ADDRESS>Attempted import error: 'mergeBufferGeometries' is not exported from 'three/examples/jsm/utils/BufferGeometryUtils.js' (imported as 'pI'). This error occurred during the build process and can only be dismissed by fixing the error.
i think maybe its just mergeGeometries ?
https://threejs.org/docs/#examples/en/utils/BufferGeometryUtils.mergeBufferGeometries

Same issue 😭

same issue :')

same issue as well

It was resolved for me after I switched versions for three. I switched from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>

It was resolved for me after I switched versions for three. I switched from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>
When I tried to swith to older three versions I got this error instead
ReferenceError: ProgressEvent is not defined

spline is broken

same issue, yet no solved :(

same issue😔

same issue

same issue

same issue

same issue😔

same issue here. any updates?

same issue, can anyone fix that?

same issue

same issue!!!!!!!

Same issue!! Come on Spline!!!

Same issue.

Same issue.

Just encountered this problem as well for the first time, I need a fix asap.

I was able to resolve this setting my three version to 0.149.0 from 0.169.0.

I tried that too but it didn't work for me. I'm in Nextjs.
However, the only way around this entire issue I've found a couple of days ago, is to export as plain Three, instead of R3F, convert to a react component, then write my own animations (I just wanted to animate the camera). I don't have any issues now.

same here. pretty poor support by spline :/


Add changeset support (npm publishing part 1)

Closes https://github.com/penumbra-zone/web/issues/138
We have a few consumers interested in making requests to the extension. That means we need to start publishing our packages to npm 📦.  Followed the recommendations from turborepo docs in using changesets for versioning+publishing.

Marked packages we don't anticipate publishing with private
Uses changeset github action
Added deployment docs
Adds compilation for a few packages so they can serve as independent packages

Specifically targeting client package to publish first. However, need to handle types, getters, constants, and transport-dom as well due to dep tree.

it seems unnecessary to bother with CJS support. both node and the browser have full ESM support now

A new starting point in attempt to publish client package. Required:

client
constants
getters
polyfills
transport-dom

Reverted

crypto
estlint-custom-config
query
router
services
storage
tailwind-config
transport-chrome
ts-config

Surprised that eslint/ts-config is no longer giving publishing issues. I suppose it's because they are parent package.json deps now? Can't remember the issue before.

Removed the barrel files for these packages we are now exposing. Thought, it kinda feels... wrong. I feel like there is major issue in javascript land that a clean API and performant imports are not compatible. Regardless, this is something perhaps we can explore ongoingly.

this still seems overcomplicated with many unnecessary changes

Most of these changes were due to the fact we are now building and it exposed a number of typing issues.

and we really don't need to be publishing internal packages like tsconfig

It is not, it's a private package

the polyfill publish is broken


refactor(ast): remove inherit_variants! from TSEnumMemberName

#7248  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Adding "Tanzu Community Edition Takes Off!" Blog

What this PR does / why we need it
Adds a new blog to the site
Details for the Release Notes (PLEASE PROVIDE)

NONE

Describe testing done for PR

Rendered the site locally in Hugo
Special notes for your reviewer

I removed all the spaces at the beginning so that there's just one.

Or @stmcginnis should there be the same number of spaces in front of all of them greater than one?

I think so if the things @stmcginnis pointed out are alright.

We can clean those up later. mdlint isn't complaining, and since they are bullets instead of numbers it's kind of hidden/irrelevant that the formatting is off.


StickyBottomBarVisibility bottom bar hidden when used in navigation

When used in a multi page sheet using a navigator (tested with go_router), the bottom bar on the second page is hidden.
It appears suddenly when the sheet is dragged up.
This bug can be reproduced in the ai_playlist_generator.dart example.

iPhone 13 Pro
Flutter 3.24.5
smooth_sheets version: main branch 5fad0b8bab04fe88cc08d5c43e9d7edd1efa95be

Hi @andcea,
Thank you for your report and sorry for the confusion.
The main branch is currently unstable. In the meantime, please refer to the release branch.

Hey @fujidaiti,
I thought a bug report might be useful even though it's on the unstable master branch.
Let me know if you think otherwise and I can close this.

@andcea
Of course, such reports are always welcome!
I’ll keep this open until the problem is fixed.


Will resubmitting a job restart the backoff criteria ?

Hi Guys,
Amazing library, keep up the good work. A quick question, assuming I have the following configuration:
JobRequest.Builder(UpdateFCMTokenJob.TAG)
                    .setBackoffCriteria(1_000L, JobRequest.BackoffPolicy.EXPONENTIAL)
                    .setUpdateCurrent(true)

The job failes couple of times and the backoff timer reached 2 hours, if I'll resubmit the job, will it reset the current backoff timer back to 1 second ?

Yes, setUpdateCurrent(true) basically cancels the old job and schedules a new one (see documentation).


Make IntSeries compatible with Series

IntSeries is a much more efficient data structure compared to ArraySeries<Integer>, as #26 and #27 have shown. This task is about making IntSeries API-compatible with Series<Integer> so that we could use them as a column in the DataFrame.
Once we do that, we also need a way to convert DataFrame columns to IntSeries, and access them as such.

also adding primitive support to CSV and JDBC loaders. This should save a lot of memory.

And here is the data on the memory use:

java.lang.Integer cell: 20 bytes per cell
int cell: 4 bytes per cell

5x improvement!


fix(image):due to the same src preview cannot be switched normally

close #4248

Codecov Report
Base: 62.49% // Head: 62.49% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (fd69039) compared to base (96b573e).
Patch coverage: 57.14% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4378   +/-   ##
=======================================
  Coverage   62.49%   62.49%
=======================================
  Files        1069     1069
  Lines       22420    22429    +9
  Branches     5882     5888    +6
=======================================
+ Hits        14011    14017    +6
  Misses       6881     6881
- Partials     1528     1531    +3

Impacted Files
Coverage Δ

src/image/src/ImageGroup.tsx
62.16% <53.84%> (+5.91%)
:arrow_up:

src/image/src/Image.tsx
72.94% <62.50%> (-2.37%)
:arrow_down:

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

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


2D vs 3D Training

@vahidrezanezhad
When preparing the training data ground-truth, at what cases should I use 2D, and what cases should I use 3D?
Does using 3D means that I can train a single model containing page+region+lines?

@deepseek  To prepare GT to train with our script you need 2d as option. 3d option has nothing to do with page, region or textlines, with 3d It means that each class is identified with a unique RGB. (in 2d for each class  I give a unique number for a pixel).

Thanks


Update via inputs not working

When using input() or .release() the updates via the inputs are not being applied when typing.
I do in fact need .change() as well to make it work.

We can trigger the release event when the number input is unfocused. This is the same behavior as gradio core slider.
Here is a demo of change, release, and input events being triggered -

You can install from here to test -
https://gradio-builds.s3.amazonaws.com/rangeslider/issue_0008/attempt_01/gradio_rangeslider-0.0.6-py3-none-any.whl

@freddyaboulton I tested it and seems to work with release only now. Thanks


performance and design comparison to nucleo

See announcement https://www.reddit.com/r/rust/comments/165lp5a/announcing_nucleo_a_fast_fuzzy_matcher_library/ and repo https://github.com/helix-editor/nucleo.

The announcement claims

runs the matcher in parallel on a background thread pool and doesn't block the UI thread
allows fully parallel lock-free injection/streaming of inputs into the matcher

these are both already implemented in jfind. i can benchmark it against jfind once a matcher is made using it.

i did not realise it had already been implemented in helix. i'll try do a benchmark now

unfortunately, helix does not use fd for finding files. it has it's own directory browser so i could not replace it like with previous benchmarks. i have compiled the latest helix from github and ran it on my /Applications directory as a very crude performance test.
https://asciinema.org/a/VFVdJ5hyN4wMa5sDlzeZBwtfL
jfind was a lot faster. however, this is a crude benchmark and it would be nice if a standalone fuzzy finder was made using nucleo so it can be tested properly.

in response to helix-editor/nucleo#22, i do not see what is odd about including reading speed in a fuzzy finder benchmark. if your architecture results in a terrible performance due to a reading speed bottleneck, then that is a problem with your architecture.
for the end user, reading speed is a very big deal. they open their fuzzy finder and start searching. nobody sits and waits for the loading to complete. if this were the case, why is there such thing as streaming input?

in response to helix-editor/nucleo#22, i do not see what is odd about including reading speed in a fuzzy finder benchmark. if your architecture results in a terrible performance due to a reading speed bottleneck, then that is a problem with your architecture.
for the end user, reading speed is a very big deal. they open their fuzzy finder and start searching. nobody sits and waits for the loading to complete. if this were the case, why is there such thing as streaming input?

I found this by accident, if you are going to respond its kind of pointless to do it here since I don't get a notifications for that.
Helix sorts all files alphabetically, which requires a single-threaded transversal (and a lot more processing), fd does not. Fd also doesn't follow symlink but helix does. Logically it takes longer to transverse the FS as a result. Helix even usese the exact same rust library as fd (ignore) we just use a different set of config flags. That is simply because our usecase is usually not opening ~ or / directly so these features were more important to us than transversal speed.  I can modify the settings we pass to ignore and waiting for all files to stream in takes about the same time as fd | fzf does (it may be faster it may be slower I didn't really investigate it too much).
You can't just compare two entirely different inputs and claim one tool is faster than the other.  It's an appels to orangesc comparison. Comparing tools during streaming is also not a good benchmark in general. The pielpline from the FS to the user is roughly:

creation of inputs
streaming of inputs into the matcher
matching on the inputs

Unless your streaming implementation is complete garbage it's never going to be the bottleneck anyway (your pipe reader could be but still unlikely considering how slow readdir is) so it's also not that interesting to look at. For nucleo injecting an item into the matcher involves three atomic writes and copying the actual pointer. That is just completely irrelevant compared to the time that it takes to transverse the FS.
It is also not a good benchmark because an unsorted FS transversal is not exactly deterministic (so depending on what your OS is doing in the background it can take a varying time for a file to stream in).  Instead, it makes much more sense to test how long the actual matching takes.
One way to do that is of course to just micobenchmark the matcher itself. Doing system benchmarks is also interesting  (but far more challenging to do right) since it takes the concurrent code into account. ). But that should be done once all matches are streamed in to remove as many unknown variables as possible. For example, one important variable is how many files you are matching but unless you can type your typing speeds to nanosecond accuracy if you start matching during streaming the number of matched items is likely different. For a crude benchmark the most accurate you can get is to wait for all files to stream in (making certain the number of files is the same) and then pasting a pattern (so your typing speed doesn't have an affect).
It's possible that jfind has a faster matcher. It's also possible that nucleo is faster. I wasn't aware of jfind until you opened that issue so I haven't looked at the matcher or done any comparison. If jfind has a faster matcher I would interested in looking at how I can improve. Although I don't really have time to work on something like that right now. I just found your screencast a very odd benchmark. It's not in any way an objective comparison of any code you or I implemented. It's simply comparing how certain config flags of ignore affect fs transversal speed.

@pascalkuthe
previously when i have benchmarked various fuzzy finders, i ensured that the tests were fair by replacing the fd executable with a script that dumped a file of test input. this made it very deterministic.
i made it very clear that the performance test was crude due to my inability to create a fair test. this was indeed a shit performance test. with that said, jfind was still a lot faster.
you attribute this to slow singled threaded traversal and sorting results prior to matching. you are simply explaining why it is slower.

you attribute this to slow singled threaded traversal and sorting results prior to matching. you are simply explaining why it is slower.

by that logic you could also claim fzf is faster than by comparing fd| fzf and fd  --follow | jfind. You are not comparing the same work so it doesn't make sense to do any comparison of how long it takes to stream a file in, not even a crude one.

by that logic you could also claim fzf is faster than by comparing fd| fzf and fd --follow | jfind. You are not comparing the same work so it doesn't make sense to do any comparison of how long it takes to stream a file in, not even a crude one.

you are exactly right that fd is faster than fd --follow.
from what i can tell, nucleo is not a fuzzy finder. nucleo is a fuzzy matching library that can be used to create fuzzy finders or used in other tools for fuzzy matching. there may or may not be performance penalties due to it being a library. the only way to see the end result is to see the matching implemented in a fuzzy finder. as it stands, helix is that fuzzy finder.
so i test jfind against helix and from my very crude test, jfind was faster. you argue that it is unfair because helix has slower reading. there is no way for me to make the reading quicker. i cannot replace it with fd or my own test script. i am forced to use helix's slow reading. as a result, helix fuzzy finding is slower.
i dont know how else to explain it to you.
also i am not trying to undermine helix or nucleo. i hadnt heard of nucleo until this issue was opened and i was asked to compare performance design with it.


Document HTMLImageElement complete

Complete the subpages for HTMLImageElement:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
Acceptance criteria

[ ] Each subpage has been created and meets our standards for content and layout
[ ] Pages submitted for tech review as needed

This topic has not been documented in English, and therefore has not been translated into Chinese.

What can I do for it?

If you look at https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement, you'll see that there are a nunmber of red links — these pages that have not been written yet. If you are interested, I could givee you page creation permission and you could create a page for complete, and others too if you wish ;-)

Working on this actively.


Output improvements

Show deployster header after parsing commandline parsing, so no header is shown when using "--help" or in case of bad flags.

/release patch merge


feat: rule no-unnormalized-keys

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request?
Adds a new no-unnormalized-keys rule.
What changes did you make? (Give an overview)
Ported over from #38.

Ensured that the rule is exported from the plugin
Updated README
Switched rule options to be an object with a named propert
Updated tests

Related Issues
Fixes #32
Closes #38

Is there anything you'd like reviewers to focus on?

I think I got all of the outstanding work for this rule.


get entry details onScroll?

I would like to know is there any way to get the details of the current entry onScroll callback?
      entries = [
        {
            title: 'Aug 1',
        },
        {
            title: 'Aug 2',
        },
        {
            title: 'Aug 3',
        },
        {
            title: 'Aug 4',
        },
        {
            title: 'Aug 5',
        },
        {
            title: 'Aug 6',
        }
    ];

  <Carousel
              ref={ (c) => { this._carousel = c; } }
              data={this.state.entries}
              renderItem={this._renderItem.bind(this)}
              sliderWidth={450}
              itemWidth={180}
              layout={'default'}
              firstItem={0}
              onScroll={this._scrollnav.bind(this)}
            />

onScroll I wan tot get the title of the currentIndex, is there any default way to get it? or should I try
to get it by index?

i am also looking for solution. i want to detect the current index when scroll ends. i have tried onScroll, onScrollEndDrag, onSnapToItem, onBeforeSnapToItem. they didn't worked properly for me.

@jothikannan I definitely don't recommend handling that in onScroll since the event is triggered hundreds of times in a single second. What's your use case?
@dpk787098 onSnapToItem and onBeforeSnapToItem are supposed to provide you with this information. What's not working properly?

@dpk787098 In your case if you want to get current Index use
onSnapToItem={(index) => this.setState({activeSlider:index}) } should work

@jothikannan I definitely don't recommend handling that in onScroll since the event is triggered hundreds of times in a single second. What's your use case?
@dpk787098 onSnapToItem and onBeforeSnapToItem are supposed to provide you with this information. What's not working properly?

I have fixed it with onSnapToItem and set into state to be used in the other component, so I am closed the issue


Issue uploading images

Hello,
I installed Ghost latest release and have problems with uploading images. Sometimes it works sometimes it doesn't for some weird reason.
Ghost is running on an Amazon Elastic Beanstalk instance and the content folder is mounted on an S3 bucket. What happens is when I upload same picture sometimes I get the dancing cat forever and sometimes the file uploads fine. Those times when the cat shows up, the file size of the images on s3 is 0 bytes. Sometimes the image gets uploaded if I try 3 times in a row...
I attached bellow a short gif screencast + screenshot with the resulting images on s3

screenshot with the resulting images on s3

Any ideas/suggestions or is this a bug?
Thanks.

Ok, found the issue. I was using s3fs and for some reason didn't work as expected..just sometimes.
I just tried Ghost-S3 package (with new S3 url format- needed to install this other branch which was not merged into master as of now) and now image uploads load fine.


Fix build status: s/CloudBees/Travis CI/.

The CloudBees build server for AssertJ appears to have been turned down but
there's an up-to-date Travis CI build is configured and running, so let's use
that.
This change adds per-branch build status images for master, 2.x, and 1.x.
To see how the new README looks, take a look at my branch.

cool, thanks :)


fixed webkit not found error

This PR fixed the error that failed to find webkit framework on macOs 10.12.3 with Xcode 8.2.1 (8C1002)
# github.com/murlokswarm/mac
In file included from ../../../mac/window.go:4:
./window.h:5:9: fatal error: 'WebKit/Webkit.h' file not found
#import <WebKit/Webkit.h>
        ^
1 error generated.

Thank you @life1347


Parsing using For in String jsonString = await _ChieseAsset();

Yo ,, during my experience of flutter i'll try to show on map marker saved into Json file..in this way i retrive only one of row
           Future<chiese> loadChiese() async {
            await wait(5);
             String jsonString = await _ChieseAsset();
              final jsonResponse = json.decode(jsonString);

           for ( var i=0; i < 5; i++ ){
            print(i);
           return new chiese.fromJson(jsonResponse[i]);
           }
          }

Unfortunally var i show only 0 value and don't scan into json retrive only first value
why???
if i use ...
           Future<chiese> loadChiese() async {
           await wait(5);
           String jsonString = await _ChieseAsset();
           final jsonResponse = json.decode(jsonString);
           return new chiese.fromJson(jsonResponse);
             }

Reciving error ...
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'List' is not a subtype of type 'Map<String, dynamic>'
Any idea??? Thanks

This looks like your JSON structure is not what your class is expecting (a List where you think there should be a Map), hence the type error. For support questions, I recommending taking it to a more appropriate venue, such as one of the channels at flutter.dev/community


how to import in ember cli

I installed it with bower and created a component:
import Ember from 'ember';

export default Ember.Component.extend(Droplet, {
    url: location.origin + '/upload'
});

I'm now getting the error that Droplet was not imported. I tried `import Droplet from 'ember-droplet/components/' but that failed. how can I fix that?

by some reason it started working with the imports you documented. thx anyway

What was the solution here? Having the same problem. Do we not need an import statement to use the Droplet mixin?

I believe restarting my ember watch as well as my grunt processess did the trick as they did not seem to be able to use newly imported imports automatically.
if that does not the trick, here is my grep for the code
templates in django
templates/_upload2.html:<script type="text/x-handlebars" data-template-name="components/image-droplet">
templates/_upload2.html:  {{#image-droplet-area}}
templates/_upload2.html:          {{image-droplet-preview image=file}}
templates/_upload2.html:      {{!--- {{image-droplet-input}} ---}}
templates/_upload2.html:  {{/image-droplet-area}}
templates/index.html:  <script src="{{ STATIC_URL }}javascripts/contrib/ember-droplet-mixin.js"></script>
templates/index.html:  <script src="{{ STATIC_URL }}javascripts/contrib/ember-droplet-view.js"></script>

js ember code:
(.ve)jirsch@codingmachine:/srv/www/vbnet/site$ grep -Ir Droplet ../sitejs/app
../sitejs/app/components/image-droplet.js:export default Ember.Component.extend(Droplet, {
../sitejs/app/components/image-droplet.js:    requestMethod:  Droplet.METHOD.POST,
../sitejs/app/components/image-droplet-preview.js:export default Ember.Component.extend(Droplet.Preview, {
../sitejs/app/components/image-droplet-area.js:export default Ember.Component.extend(Droplet.Area, {
../sitejs/app/components/image-droplet-input.js:export default Ember.Component.extend(Droplet.MultipleInput, {

Super helpful, thank you friend. A little tl;dr for anyone else stuck here -- you don't need import statements in your components; the Droplet mixin is available from the app level.


Fixes #1418: fix and reenable gcc -fanalyzer

Looks good to me. One question: is there a tool for viewing the resulting sarif output?

Yes, the Security tab in GitHub. The whole point of me dealing with SARIF is that then GitHub can visualize that. Otherwise I'd go for either text output or some html like clang-analyzer (if gcc supports html; it used to not be implemented in the past).

Fwiw, clang results are at https://skupperproject.github.io/skupper-router/#sort=file-path&asc=1


New version voidtools.Everything.Alpha version <IP_ADDRESS>3a

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @mrjcap,

This PR's version number voidtools.Everything.Alpha <IP_ADDRESS>3a has 6 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version <IP_ADDRESS>2a, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 877)


fix: remove definition of hasListeners not available in Firefox

According to https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#syntax port.onMessage doesn't have hasListeners method, e.g. it does not exists in Firefox, but it is available in Chrome. So, we accidentally run into this compatibility issue, to avoid this in the future I propose to remove the definition of hasListeners.
Reproduction in content script
import browser from 'webextension-polyfill';

const port = browser.runtime.connect();
console.log(port.onMessage.hasListeners());

would throw an exception "TypeError: port.onMessage.hasListeners is not a function" in<EMAIL_ADDRESS>This PR is supported by the Æternity Crypto Foundation

Hi @davidyuk and thanks for the PR.
I've just verified this, but I wonder if we should maybe make it optional, so that those who want to use it (on chrome), can do so by checking for existence. What do you think?
Since there are probably other typed APIs, where functionality exists on some browsers and others not, I can also merge this for now and delay the decision on these cases. Just tell me what you'd prefer.

To make it optional is correct in means of types, but this won't be used in most cases since webextension-polyfill is for having the same api in multiple browsers. hasListeners can't be polyfilled in Firefix in general case, the code compatible with both brosers should stick to common api (addListener/removeListener/hasListener). So, I prefer to remove the type of hasListeners.

Thanks and sorry for the delay, I was moving to a new location in May and June and your latest message went unnoticed.


run 'figaro heroku:set -e production` can't work

Users/xxx/.rvm/gems/ruby-2.3.1/gems/figaro-1.1.1/lib/figaro/cli/task.rb:28:in 'system':no implicit conversion of Hash into String (TypeError)

@Noodlescn make sure that all envs are set as string in application.yml.
smtp_port: 587 won't work
smtp_port: '587' will work

I had a similar issue. Check your application.yml configuration; I bet you have something set to a hash instead of a string value.


Only execute the dj-command if cd is successful

if the directory is not present, executing the
delayed_job_command will fail or do the wrong thing.

Coverage remained the same at 90.83% when pulling dd984b5801c344e13acad5db3ca44606b27740d7 on kronn:patch-1 into 35408c100b8b3e6d9d23037ea34ac874af953ca8 on collectiveidea:master.


Fix #68

Fix #68
https://github.com/aklt/plantuml-syntax-test/blob/master/reference_04-07-1.uml

Thank you very much!
Sorry for being slow, I am back working again now :)

Thank you!
I'm happy about your return.

Thanks a lot!  I am happy for all the good work you do! :-)


NIFI-13344 Implement backend for uploading and managing custom NARs

Summary
This PR includes the work for NIFI-13344 which introduces an API and framework components for uploading custom NARs and then managing the NARs that have been uploaded. This covers the "push model" described in the Feature Proposal for Custom NAR Improvements.
The REST API introduced includes the following end-points:
Upload a NAR:
POST - /controller/nar-manager/upload (application/octet-stream)

List uploaded NARs:
GET -  /controller/nar-manager/nars

Get summary for a single NAR:
GET -  /controller/nar-manager/nars/{id}

Get more details for a single NAR like the extensions contained in it:
GET -  /controller/nar-manager/nars/{id}/detalls

Download a NAR:
GET -  /controller/nar-manager/nars/{id}/download

Delete a previously uploaded NAR:
DELETE -  /controller/nar-manager/nars/{id}

Some rules and restrictions of the current functionality...
If you upload a NAR with the same coordinate, it will replace the existing NAR, which includes:

Stopping and ghosting any components instantiated from the NAR
Unloading the previous NAR
Loading the new NAR
Unghosting the previously ghosted components
Restoring the components state if needed

You can upload NARs in any order and if a NAR is missing it's dependency it will remain unloaded in a "Missing Dependency" state until the dependency is uploaded, at which it automatically becomes loaded/installed. Similar to how dropping NARs into ./extensions works.
You can't upload a NAR with the same coordinate as a NAR that is not part of the "NAR Manager", meaning one of the NARs that was provided from a lib directory or a NarProvider.
On delete, the force argument can be passed which will stop and ghost any components to allow delete to proceed.
One other restriction is not being allowed to delete or replace a NAR that another NAR has a dependency on.
In a cluster, when a node joins the cluster it attempts to synchronize its NARs with the coordinator. This requires access to the REST APIs described above, which means the node identities will need READ on /controller.
CLI commands are implemented for all of the above end-points:
#> nifi upload-nar -nar nifi-example-processors-nar-1.0.nar
#> nifi upload-nar -nar nifi-example-service-api-nar-1.0.nar
#> nifi upload-nar -nar nifi-example-service-nar-1.1.nar

#> nifi list-nars

#   Id                                     Group             Artifact                       Version   State
-   ------------------------------------   ---------------   ----------------------------   -------   ---------
1   1c6575c8-e488-33d3-a226-7803bfc30004   org.apache.nifi   nifi-example-processors-nar    1.0       Installed
2   afd8c799-de79-33ad-9ad0-413bd5beff3b   org.apache.nifi   nifi-example-service-api-nar   1.0       Installed
3   5f63686a-b59f-30f6-ad2b-9b372678398e   org.apache.nifi   nifi-example-service-nar       1.1       Installed

#> nifi list-nar-component-types -nid 1c6575c8-e488-33d3-a226-7803bfc30004

#   Type                                             Kind
-   ----------------------------------------------   ---------
1   org.apache.nifi.processors.example.MyProcessor   PROCESSOR

Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[XX] Pull Request refers to a feature branch with one commit containing changes

Verification
There are two system tests that exercise the APIs, one in a standalone instance, and and one with a two node cluster to exercise the replication of uploads.
In addition, have been running a two node cluster locally and testing various API calls and scenarios.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 21

UI Contributions

[ ] NiFi is modernizing its UI. Any contributions that update the current UI also need to be implemented in the new UI.

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@gresockj thanks for the thorough review!  Currently the UI retrieves the lists of processor and controller service types one time when the canvas is loaded. We can file something to try and improve it, but I consider it a separate effort since it already impacts stuff like dropping a NAR into ./extenions, or a NAR being pulled from a NarProvider and download into ./extensions.

@exceptionfactory thanks for the review! I pushed a couple of commits that should address most of your comments, let me know of anything else.

@exceptionfactory @gresockj I pushed up another commit that adds support for handling of NARs containing Python processors. This required some changes on the Python side to track the coordinate of the NAR that the processor came from because this wasn't available on the Java side before, and all Python components on the Java side are represented as coming from org.apache.nifi:python-extensions with the version coming from the Processor's version.


Update to API v5 release

> sponge version
[13:58:58 INFO]: SpongeVanilla
    Minecraft: 1.10.2
    SpongeAPI: 5.1.0-SNAPSHOT-323db46
    SpongeVanilla: 1.10.2-5.1.0-BETA-366

Crashes on startup with this plugin: http://pastebin.com/5aQfvBMY

Yes, no problem. I will do that.

I don't find this class in the Javadocs

I have this class org.spongepowered.api.world.extent.worker.procedure.BiomeAreaVisitor

I didn't write code. I just dropped the jar in mods folder and started the server.

Okay, thanks. I will check that.

@randombyte-developer I fixed it. You can find the release for API 5.1.0


[MRG] Minor adjustments to (04)

The warning about lbfgs in LogisticRegression is a bit noisy. (I have not changed them so far in my PRs)

I think my approach would be to add a simplefilter for deprecation warnings.


Getting error while installing keyphrase vectorizer

Getting the below error -
!pip install keyphrase-vectorizers

ERROR: Could not find a version that satisfies the requirement keyphrase-vectorizers (from versions: none)
ERROR: No matching distribution found for keyphrase-vectorizers

@TimSchopf

Update - I am seeing this error when installing it on AWS Sagemaker notebook. I am able to install it successfully on my local notebook though.

Hey @ksachdeva11
this error occurs when no matching package is found on PyPI. A common issue when users get this error message is an incompatible Python version. KeyphraseVectorizers needs Python>=3.7. Which Python version do you use on AWS SageMaker?

Hey @TimSchopf ... ah okay.. thanks for clearing that. Tried on python3.7 and it works fine.
Closing the issue.
Thank you for quick turnaround!


toHandle doesn't support delegated .on() syntax

As the title suggests, when you bind an event using this syntax:
$('.my-parent-element').on('click', '.child-element', function(e){
  // Do cool things
});

This doesn't work:
expect($(".child-element")).toHandle('click')

But this does:
expect($(".my-parent-element")).toHandle('click')

Event though it's not actually clicking that parent element that causes the function to run.  I would almost expect some kind of method like
expect($(".child-element")).toHandleFromDelegation('click')

or something.  I saw this:  https://github.com/velesin/jasmine-jquery/pull/40 but it was written for deprecated delegation syntax and closed quite some time ago.  Is there a matcher I can use to work-around this issue and test that the child element has the handler on it?  I'm not sure if it's a bug that toHandle fails on the child selector, but if it is I can produce a test case if needed.

👍

👍  What's the status on this one?


Problem when installing it with docker

I did these steps:

git clone repo
docker pull tzutalin/py2qt4
run the docker with the readme instructions
inside the container make qt4py2;./labelImg.py

And I got that:
pyrcc4 -py2 -o libs/resources.py resources.qrc

Traceback (most recent call last):
  File "./labelImg.py", line 40, in <module>
    from libs.labelFile import LabelFile, LabelFileError, LabelFileFormat
  File "/home/labelImg/libs/labelFile.py", line 12, in <module>
    from libs.create_ml_io import CreateMLWriter
  File "/home/labelImg/libs/create_ml_io.py", line 4, in <module>
    from pathlib import Path
ImportError: No module named pathlib

What can I do to solve this?

OS: Ubuntu 22.04
PyQt version:

Hi @tzutalin
I run into the same issue.

+1


Why do you use generators?

Why do you use generators if they compile into while loops? Is it not too early to use them?
Have you encountered any troubles with that?

We are using Generators because it's great construct which allows us nicely yield side effects within functions while hypothetically maintaining their purity. Even Redux attempted to utilize something similar https://github.com/reactjs/redux/issues/1528
We haven't encountered any problems while using Generators. It does have a drawback though, you can't yield effects within callbacks unless you explicitly provide yield* in the Functor. So for example traditional map with yield will not work.
Generators are actually pretty mature, they successfully made it into ES2015 and therefore will get natively supported in browsers soon.


Link url not visible when maximized

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary

Environment

Operating System: Windows 10 21H1
Mattermost Desktop App version: 4.7.0
Mattermost Server version: Cloud

Steps to reproduce

Maximize client
Mouse over link

Expected behavior

Show link url when client not maximized
Observed behavior

Hide link url
Color mix match ( Dark theme but white background )

Even if the taskbar is not at the bottom, same issue.

Possible fixes

This is likely a duplicate of https://github.com/mattermost/desktop/issues/1640.