Rust language port.

Rust is very close to C++ in terms of machine abstraction and has a straightforward C ffi, so shouldn't be too hard to support Rust.  What's gRPC team's stance on this?  Would you take Rust port contribution?

https://github.com/stepancheg/grpc-rust already works (for the most part).

Yes so I was using that, but to my understanding it barely implements basic stuff.  For example there is no metadata support.  And since we don't have much resource to maintain it, it will be more beneficial to rely on gRPC core lib so that we can get all the updates for free.

If someone wanted to step up and raise a rust implementation to our quality
bar (the bulk of the work will be in getting testing integrated, and
interop test suites implemented), I suspect we'd gladly pull the wrapper
into the main repository and assume maintenance responsibility.
I suspect it'll take at least a couple of quarters of full time work for
someone to get to a place where that integration can truly be called
complete.
On Wed, Jan 18, 2017 at 8:14 AM Nathaniel Manista<EMAIL_ADDRESS>wrote:

Assigned #9316 https://github.com/grpc/grpc/issues/9316 to @ctiller
https://github.com/ctiller.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/9316#event-927715020, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AJpudTTAXap_92FB10cpkUcx1SNGtr04ks5rTjp5gaJpZM4Lg8iL
.

Thanks.  Btw, I tried Rust bind-generator https://github.com/servo/rust-bindgen .  It worked well with grpc.h, but it had a few issues with grpc++.h.
bindgen /usr/local/include/grpc++/grpc++.h --whitelist-type="grpc::.*" -- -x c++ -std=c++1y

Dealing with decltype, this is a known issue https://github.com/servo/rust-bindgen/issues/381
A few classes weren't generated that prevents compiling, e.g. std::basic_string, I don't know why yet.

@emilio FYI

Yeah, C++ usually requires a bit more effort than throwing bindgen at it, because of the complexity of the language and some corners that libclang doesn't handle gracefully.
I'm happy to try reproducing this when I find the time to hack on bindgen, will file an upstream issue so I don't forget about it.

Tagging @stepancheg to make sure they're aware of this issue.

Note: perl -pi -e 'BEGIN{undef $/;} s/^pub(\n |.)*?decltype.*?;$//mg' generated.rs to filter out leaked decltype.

@ctiller One question:  We can use grpc.h or grpc++.h interface (assuming we manage to get our bind-generator work with grpc++.h).  Do you have any insight on which route would be better?  If using grpc++.h can substantially reduce the work and ongoing maintanace work, I think we should consider that instead of using grpc.h.

What about making c bindings from grpc-go and using that from rust, or is that a bit crazy :) ?

I'd be awestruck seeing it, but I suspect I could also find more productive
uses of my own time ;)
On Mon, Feb 20, 2017, 6:26 PM tbillington<EMAIL_ADDRESS>wrote:

What about making c bindings from grpc-go and using that from rust, or is
that a bit crazy :) ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/9316#issuecomment-281227635, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJpudYjGQb2itRB0sYaed6_DK5V7vt1eks5rektUgaJpZM4Lg8iL
.

@ctiller I think it's not totally crazy. It gives stable c bindings, which should be much easier to run bindgen over instead of c++. You wouldn't even notice that it's go instead of c from the rust side.

There is also this implementation which wraps grpc core
https://github.com/pingcap/grpc-rs

Found what appears to be another work in progress.
https://github.com/tower-rs/tower-grpc/
I would assume the pingcap version, which wraps grpc core, would be the easiest to officially maintain but I haven't weighed the pros and cons of each library.

Hey guys.
I can start working on it.
I can have it on my github...
And you guys can give reviews on it until it's good for alpha testing before it can be official?

Question any gRPC lib for rust that supports load balancing? If so can one of you guys link it to me pweas

Any progress on getting an official port?

@JMurph2015, didn't really hear anything from the Google team... I'm open to working on it, as a lot of it is just trivial parsing of .proto files to interact with via TCP/HTTP. However, going back and forth with the Google team to ensure everything is Google compliant and not getting paid for it doesn't give me an incentive to work on it... If there was some sort of reward bounty for completing this project, I can move it up my priority queue.
@GitStonic, if you are looking to do load balancing. You should be deploying multiple gRPC nodes via something like Kuburnetes and then creating upstreams via NGINX or your load balancer of choice.

I'll definitely love to see Rust in the supported languages!

any updates from Google? Or what are the main Rust libraries at the moment?

@mimoo, no updates. Not sure how any one can start the project if no one is willing to do code review.
If you're looking for an alternative, check out: https://github.com/stepancheg/grpc-rust, but, it's missing a lot of features.

Actually I can not use any of the hot google cloud products like BigTable with Rust, simply because they rely on grpc for the transport. So this is actually a really big blocker for GCP to support Rust developers!

Tonic seems to be a promising port of grpc by hyperium. Good days ahead for rust.

Why not try https://github.com/tikv/grpc-rs?
It is a Rust wrapper and has been widely used in production.

Why not try https://github.com/tikv/grpc-rs?
Because it is a Rust wrapper. A pure rust solution is most likely to be safe.

Also metadata. Everyone always seems to forget metadata...

Would it be possible to let google support on repos such as https://github.com/danburkert/prost and https://github.com/hyperium/tonic, and eventually provide cloud APIs for Rust? 🤔

We acknowledge this to be a valid feature request but since no one has come forward to implement this, we are going to close it for now while maintaining the label/Help wanted to indicate that this can be picked up as future work.

@stanley-cheung the owner of Tonic has said they're willing to upstream their gRPC implementation but they need some guidance https://github.com/hyperium/tonic/issues/149
Could this be reopened and is it possible to assist @LucioFranco with getting this merged into the main repo?
Thanks for everyone's help and time!

@stanley-cheung Please reopen this issue as @arjunyel mentioned

Maybe we should ask Amazon for some help on this? Never really know why google seems not paying much attention to the Rust community.

Any news on this?

If there is interest, I think tonic could be upstreamed. That said, tonic is not based on the regular grpc c stack and differentiates a bit from the more traditional gRPC implementations. I am happy to coordinate/chat with grpc maintainers/owners about this.

@liufuyang
There are some other internal blockers about how Rust is used in general at Google as far as I understand.  So until that is sorted, committing to a particular implementation of gRPC in Rust is complicated because when it is upstreamed it becomes the gRPC project's responsibility.  A toy example is that the Google-standard linting for Rust might not be finalized, so while they would want something that passed lint, they wouldn't know what that even looks like yet.

Im curious, are there any updates on this??

seems like gRPC team started to work on a native rust implementation extending tonic library.
gRPC team announcement


Update Brewfile

Pull Request
Description
A description of the pull request.
Why make this change?
A description of the reason for the change.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#115  👈
#114
main

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

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 26, 10:23 AM EDT: A user merged this pull request with Graphite.


Newborn Enrollment - Generate the birth date automatically for the New born registration

Issue
Automatically generate the birth date for newborn registrations to simplify the process for CHWs. This can be accomplished by using the documented pregnancy concluded date (of a live birth) from the postpartum encounter, which will then pre-populate the newborn's birthdate information.
https://www.loom.com/share/9b042170766543daa673aeddea2b9128?sid=ce59a311-c0d7-4ec8-84a3-f1685c13aab0
Todo

Create the logic to pre-populate pregnancy concluded date to the newborns demographics info

@LudmilaGoichman please test on Nutrition env

@anvmn

Nutrition env
Android tablet

Question:

CHW. Why is the Record Pregnancy Outcome encounter always disabled?

Checked and Approved:

CHW. Newborn Enrollment - the birth date automatically appears for the New born registration

@LudmilaGoichman

CHW. Why is the Record Pregnancy Outcome encounter always disabled?

I suppose it's because that patient got single nurse encounter that was not completed (end encounter button clicked and confirmed). Possible?

@anvmn Should the patient meet with the nurse or CHW?

@LudmilaGoichman
Can meet with CHW or nurse, once or multiple encounters.
Newborn Enrollment is done by CHW.

@anvmn

Nutrition env
Android tablet

Checked and Approved:
the Record Pregnancy Outcome encounter is displayed:

nurse
CHW

CHW
CHW


Crashing Safari and reload page

Version
4.6.0
Reproduction link
https://jsfiddle.net/qipkiller/amxhrcs9
Steps to reproduce
Open the link and wait for updating the new data
What is expected?
Normal work and update new data to chart
What is actually happening?
Safari version 12.1 crushing and try to reload the page.

I can not reproduce it yet.
How long will be waiting for the reload in Safari?

The bug is triggered about 70%, I use browserstack.com fo test it, OS: Mojave, Safari: 12.1.
Can I record a video?

It is probably a Safari issue:
When both using gradient color and shadow to in HTML Canvas rendering at the first time, the memory will increase to over 1GB instantly, which might crash the Safari.
I'm not sure how to avoid this defect yet. Need to investigate for a while.
But, @qipkiller , to temporarily avoid this issue, please do not use gradient color and shadow at the same time. That is, in your demo, do not use echarts.graphic.LinearGradient and shadowColor/shadowBlue at the same time.
Other info:
I have simplified it to a minimal case for this issue:
<!DOCTYPE html>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1" />

And the record of the memory timeline:

Notice picture above that the memory is over 1GB and the single JS task takes over 2 second.

The reason of this issue:
When the animation is enabled (by default) and add data item to a line chart, the coordinate of the new added data item will be calculated based on the old coordinate system, and the result coordinate will be used as the begin point of the animation. See https://github.com/apache/incubator-echarts/blob/4.6.0/src/chart/line/lineAnimationDiff.js#L121
See the demo code I give above, when there is only one data in the chart, the Y extent might be only be [0, 1]. When add a new data item 3547546 to the chart, the coordinate based on the previous Y extent [0, 1] is -993312512, which is a huge number. Even so, in most cases it works normally. But if we use both createLinearGradient and shadow in Safari with that huge size, the browser have a chance to crash.
@pissang Do you have any idea about it? Limit the result of the "previous coord calculation"?

@100pah Perhaps We can disable animation automatically if the diff between calculated coordinate of previous data and current data is too large.

Temporarily solved the problem simplification echarts.graphic.LinearGradient to color : 'rgba()', anddisable shadow for this, Thx


[pyspark] Do we need to re-consider the pyspark variables naming?

When databricks contributed the xgboost pyspark solution to the xgboost community, we made the decision to use the lowercase with words separated by underscore naming to unify the parameters. But we still can't unify all the parameters,
for example, featureCol/labelCol ... are camel naming, while base_margin_col/qid_col/pred_contrib_col  ... are the different naming.
So I file this issue to suggest moving the parameters only for "xgboost.pyspark wrapper" back to camel naming to follow spark way. And as to the xgboost parameters, let's just keep them in the xgboost way.
This's going to be a breaking change if we decide to support that. @WeichenXu123 @trivialfis any thoughts on this?

My bad. xgboost pyspark has supported all the camel naming.

@wbo4958
I think currently it only supports xx_xx_xx style naming for all params. See https://github.com/dmlc/xgboost/blob/6274fba0a534cf1dec73725a6ee421a22e288b38/python-package/xgboost/spark/core.py#L581
I suggest to avoid breaking change.


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit ab9876c:
:clock10: Full build: the average full build time is 5 min(s) 59 sec(s), this is based on the last 594 build(s) for this repository.

Docs Build status updates of commit ab9876c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:bulb:Suggestion
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.
[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.
[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[ROCm] Adding ROCm support for "sparse_tensor_dense_matmul" op

This PR adds ROCm support for  "sparse_tensor_dense_matmul" op
PR #28343 is a pre-req for this PR, and hence this PR includes commits from PR #28343
Only the last commit in this PR is exclusive to this PR, and hence should be the only one reviewed.

Please ignore the cla check failure...that is getting triggered because this PR builds on top of PR #28343 (which is submitted by a different developer). Once that PR is merged, and I rebase this PR, the commit triggering the cla check failure will be gone from this commit

@tatianashp , @whchung : just FYI

@chsigg
rebased this PR now that the updates related to Cuda* to Gpu* renaming are merged into master.
This PR is now trivial, please review and merge.
thanks


Added Interface with CRYPTOPP_INSTALL_PREFIX definition and Added test for compilation with prefix

k, I now added the Interface and the code in the test to use it. This could also be the example you need for #9 (thanks to aMule). If I see this correct, the find-package test is run after all install tests, so it picks up the one with the prefix.
@abdes Have you an idea to reorder the tests so first all without and then all with prefix are run? Or do you think one test that uses the defined prefix from the interface is enough? Imho the code doesn't care about what is defined as long as a header is found, so testing this twice could be just dropped.

@abdes Have you an idea to reorder the tests so first all without and then all with prefix are run? Or do you think one test that uses the defined prefix from the interface is enough? Imho the code doesn't care about what is defined as long as a header is found, so testing this twice could be just dropped.

As you said, the code does not really care, so there is no point in reordering. As long as the unit tests using prefix pass, it's ok.


[Todo] Integrate debug and dark mode helpers

See stack-12-test.html.

This should definitely be documented (#19).

CSS debugger is now integrated. Scripts are another story.


CLI runs successfully even when invalid arguments are passed

Describe the bug
When invalid arguments are passed on the command line the program still runs successfully, ignoring any arguments it doesn't know about.  I discovered this by accident when running it for the first time (ever): npx commit-and-tag-version --dr-run (note the misspelled word "dry").
Current behavior
Running npx commit-and-tag-version --dryrun results in the changelog being generated, version bumped, committed, and tagged.
Expected behavior
The program should exit with an error, potentially displaying the help
Environment

commit-and-tag-version version(s): 11.2.0
Node/npm version: Node 16.19.0, npm 9.3.0
OS: PopOS 22.04

Thanks for the report! That's a pretty unpleasant bug, we should definitely fix this.
I'll link this to #31 , which is an overhaul of the options.


chore(deps): upgrading @readme/syntax-highlighter

🧰  Changes
Been a while since the syntax highlighter has been updated here and since I added support for TOML to it today, we should get it up to date here so Markdown code blocks with that language should get highlighted.
📖  Release Notes
10.2.0 (2020-10-29)

feat: adding support for TOML highlighting (#26) (b2e617b), closes #26

10.1.2 (2020-10-26)

fix: isolating regex check to highlightmode option (#25) (aec7c81), closes #25

10.1.1 (2020-10-23)

fix: check for \n in CodeMirror runmode (#23) (66444f4), closes #23

10.1.0 (2020-10-22)

chore: moving react and react-dom into being peerdeps (#24) (d1826d7), closes #24

10.0.1 (2020-10-12)

feat(context): exporting context provider (#22) (1dc67c0), closes #22
fix(readonly): wip styled output (#21) (82b99ab), closes #21

10.0.0 (2020-10-05)

fix(bundle): client and server compatibility (#20) (bd4362b), closes #20
chore(deps-dev): bump @commitlint/cli from 9.1.2 to 11.0.0 (#10) (c466e8d), closes #10
chore(deps-dev): bump @commitlint/config-conventional (#19) (b700798), closes #19
chore(deps-dev): bump css-loader from 3.6.0 to 4.3.0 (#16) (e3c0c67), closes #16
chore(deps-dev): bump eslint from 7.8.0 to 7.10.0 (#11) (d5e30e0), closes #11
chore(deps-dev): bump husky from 4.2.5 to 4.3.0 (#18) (7e437fe), closes #18
chore(deps-dev): bump prettier from 2.1.1 to 2.1.2 (#14) (f3c572f), closes #14
chore(deps-dev): bump sass-loader from 10.0.1 to 10.0.2 (#12) (2e9a2e9), closes #12
chore(deps-dev): bump terser-webpack-plugin from 4.1.0 to 4.2.2 (#15) (9c0d3dc), closes #15
chore(deps-dev): bump webpack from 4.44.1 to 4.44.2 (#17) (828adca), closes #17
chore(deps): bump actions/checkout from v2.3.2 to v2.3.3 (#9) (6f1fda0), closes #9
chore(deps): bump codemirror from 5.57.0 to 5.58.1 (#13) (7d7c7b3), closes #13

9.0.1 (2020-09-16)

chore: line number dom elements updated to use span (#8) (85aeb0e), closes #8
fix(highlighting): fixing an issue where overlay was not applied correctly (#7) (df2236e), closes #7

9.0.0 (2020-09-15)

feat: code editor export (#5) (3c2baa0), closes #5 #6
docs: adding a line break in the readme (6819099)

8.0.3 (2020-09-02)

chore(deps): upgrading @readme/variable to 7.2.1 (7ec28f3)

8.0.2 (2020-09-02)

docs: updating a link in the contributing docs (c539940)

8.0.1 (2020-09-01)

feat: setting up webpack (#4) (fa651fc), closes #4

8.0.0 (2020-08-31)

No breaking changes in this release, the package has just moved a new home at https://github.com/readmeio/syntax-highlighter!

chore: moving the package code into a src/ directory (e78554e)
chore: pulling the syntax-highlighter package over from the explorer repo (296c7de)
chore(deps-dev): bump eslint from 7.7.0 to 7.8.0 (#2) (9789985), closes #2
chore(deps-dev): bump jest from 26.1.0 to 26.4.2 (#3) (c837dd7), closes #3
chore(deps-dev): bump prettier from 2.0.5 to 2.1.1 (#1) (0cfbe94), closes #1
docs: setting up changelog generation (dcfe1db)
ci: adding a ci workflow for running tests (fe631bd)
ci: setting up dependabot (a293e53)
test: fixing broken tests (6257159)

Yea, looking now.

diff --git a/components/Code/index.jsx b/components/Code/index.jsx
index c66d2cec..e4ce96be 100644
--- a/components/Code/index.jsx
+++ b/components/Code/index.jsx
@@ -43,7 +43,9 @@ function Code(props) {
         suppressHydrationWarning={true}
       >
         {copyButtons && <CopyCode className="fa" code={children[0]} />}
-        {syntaxHighlighter ? syntaxHighlighter(children[0], language, { tokenizeVariables: true }) : children[0]}
+        {lang && syntaxHighlighter
+          ? syntaxHighlighter(children[0], language, { tokenizeVariables: true })
+          : children[0]}
       </code>
     </React.Fragment>
   );

So actually, I may have been on an outdated branch when I got that error ‘cause when I run this against next it's working. It does look like these highlighter changes caused some minor problems rendering inline code snippets, though. I think we can fix this by adjusting this line so that we only highlight a code block if it's lang value is explicitly defined?
{lang && syntaxHighlighter
  ? syntaxHighlighter(children[0], language, { tokenizeVariables: true })
  : children[0]}

This PR was released!
🚀 Changes included in v6.22.1


update README.md

Translated README (English to French)
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

@arpitv424 what's the idea for this change?

Idea for this change is that, people who are comfortable in reading French they will easily understand about the repository.

sorry, I have to close...
I understand importance of French, but we don't support any other languages than English in this repository.


Refactor CI config to eliminate tox and use distro olm

Closes #307, #308
Let's just hope CI actually passes for this PR.

@poljar python-olm tries to build olm when installed even if /usr/lib/libolm.so already exists. Do you know if there's a way to force it to use the already installed olm binary, or do we really need to continue staying on the path of building olm with each CI run even though a perfectly good olm library (but not python bindings) is available in Ubuntu 18.04?

Huh? Where do you see it doing that? The only thing that python-olm knows how to build is its own module, that module does link against libolm.
If you mean this line here:
   build/temp.linux-x86_64-3.6/_libolm.c:496:18: fatal error: olm/pk.h: No such file or directory

That means that the installed C libolm library is too old for the python bindings to build.

Ah.  I obviously misread. Thanks.

@poljar Are you planning on keeping https://pypi.org/project/python-olm/ up-to-date? It currently points to the archived github repo instead of the olm repo, so I wasn't sure.

Yes. Pointing to the old repo is a mistake. This is the official™ release and is up to date.


Not maintaining .active links in sidebar

Hi,
I don't seem to have the .active and focus colors working on a default install of yii with bootstrap 4 and clean install of this extension.  Tried a couple of times.
The .hover maybe interfering, but just wanted to let you know before I started mucking around with the  defaults ;)

item['url']


Version 8 preview 4 has a .Contains bug

1. Description
Multiple context.Customers.Where(z => allowedNames.Contains(z.Name)).DeferredCount().FutureValue(); throws.
This is possibly due to improved contains
2. Exception
If you are seeing an exception, include the full exception details (message and stack trace).
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Z.EntityFramework.Plus.InternalExtensions.CopyFrom(DbParameter this, IRelationalParameter from, Object value, String newParameterName)
   at Z.EntityFramework.Plus.QueryFutureBatch.CreateCommandCombined(Boolean isAsync)
   at Z.EntityFramework.Plus.QueryFutureBatch.ExecuteQueriesAsync(CancellationToken cancellationToken)
   at Z.EntityFramework.Plus.QueryFutureValue`1.ValueAsync(CancellationToken cancellationToken)
   at Program.Main()
   at Program.<Main>()
Command terminated by signal 6

3. Fiddle or Project
Improved contains with deferred count

Hello @virzak ,
Thank you for reporting.
We will look at it.
Best Regards,
Jon

Sponsorship
Help us improve this library
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function

It is that Declare statement in the generated SQL, isn't it?

Hello @virzak ,
We currently successfully fixed the part we had an issue with generating new JSON format values.
However, we still have an issue later that we are currently trying to understand. So we slowly progress but still have no solution for this preview yet.

Good thing I'm an upgrade freak,so you get a head start. Let me know if I can contribute in any way.

Hi @JonathanMagnan, any progress with this issue? Not a pressing issue, since 8 preview 3 still works fine, but EF Core 8 is about a 1.5 months to RC 1.

Hello @virzak ,
Honestly, we try from time to time but still have not found any good solution.
We updated recently to the last preview but still have the same bug so we will surely have eventually to put more time on it (we were somewhat hoping that the issue could be fixed within a new preview version but it doesn't look to happen)

Amazing! Thanks @JonathanMagnan! If you can release it for EF Core 8 preview 6 (the last .NET 6 version) it would be appreciated, since I can't currently move the clients to .NET 8 while it is still in beta or rc. Not a biggie if you can't though, as long as it works in November.

Hello @virzak ,
A new version has been released today for EF Core 8 - Preview 7
Unfortunately, due to how our versioning works for the previous version, it was too hard to release this fix for preview 6 as well.
We saw today that RC1 has been released, so a new version will probably be released for RC1 as well next week (We currently don't know if preview 7 of our library is already compatible with the RC1).
Best Regards,
Jon


Optional Features added or planned

Optional features that were added in the code (title for HTML) have no explanation in the README as well as no explanation of features that are planned to be added to the program.
Something that could be worked on however could be being able to run command flags with files at the same time (i.e. ./txt2html.py  -v) for future optional features.

Add planned features in the commit 8b3f12d


added an explanation of Hackage and Stackage

Stackage wasn't mentioned anywhere else in the project, and I myself had some confusion about this when figuring out package management while learning

Thanks for this! Can I request that you put this in the Libraries tab, perhaps in packages/overview.md. The reason being that the Resources tab is intended purely for learning resources.

Done!


chore: update to aws-cdk 1.63.0

instanceClass had to be changed to instanceType and it the deploy did not run without the cdk.json pointing to the bin/hasura script.

Thanks for submitting this @tmaximini, appreciated.


JavaScript heap out of memory (again) in large projects when using Nodejs 14

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
No response
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version
1.13.1
1.14.0

Node.js version
14.19.0

SO
ubuntu-20.04

Describe the bug / error
In large projects, I often get this error in the pipeline (ubuntu-20.04):
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
I know this has been reported and fixed before (#3679 ) but it seems the error is happening again
Note that everything works fine with Nodejs 12 (which reached "end of life" in April) and started happening when we upgraded to Nodejs 14. It was happening with SPFx 1.13.1 (maybe related to #7691 ) and still with SPFx 1.14
Steps to reproduce
Run gulp serve or gulp bundle --ship in a large project
Expected behavior
The bundle completes without the JavaScript heap out of memory error

@Rafaelki - that is possible.
We were not changing and build logic. Maybe node 14 works not optimal with older tooling that is still in use for SPFx build routine.
We're working updating that.
But still - could you please check the suggestions from the referenced issue and let us know if that work for you?
Thanks!

Yes, adding --max_old_space_size=8192 is working for us: we have not had any issues in the past few days since we added it.
Thanks @AJIXuMuK


Implementation in a monorepo with frontend and backend apps

@mattpocock kindly provide feedback on nrwl/nx#15196 regarding monorepo implementation with front-end and backend TS apps
Nice work! Thank you!

Best way is probably to create a shared tsconfig and then use extends:
https://www.typescriptlang.org/tsconfig#extends

Closing as duplicate of #24

Best way is probably to create a shared tsconfig and then use extends:
https://www.typescriptlang.org/tsconfig#extends

Ahh I see that's not a thing now, was wondering this myself. What I've done is just make a .d.ts file at the root and then include that in the individual tsconfigs. Seems to work.


PlatformIO support

Hi,
I recently bought the "Wio LTE Cat M1/NB-IoT Tracker" and I wanted to used it with platformIO.
But unfortunately there is no support for it.
Is there a possibility to add support for platformIO?
Thank you!

@Bmooij Sorry we currently won't make this library fit platformIO, but you can develop base on STM32F4DISCOVERY on platformIO to drive Wio LTE board.

@Bmooij did you manage to use platformIO for that board?

@Salzi yes. You can try:
From the File menu select Preferences
Find the Additional Board Manager URLs text box.
Add the line
https://raw.githubusercontent.com/Bmooij/BoardManagerFiles/master/STM32/package_stm_index.json
From the Tools menu, go down to Board submenu and select Board Manager...
Search for STM32 by Bmooij and click Install - select version 1.8.1
If you only find STM32 by STMicroelectronics remove the original stm32duino url from the Board Managers URL list
Quit and restart the Arduino IDE.
Note: It has been some time that I worked on it. The pin names from this library are not ported and I'm not sure anymore if I made some pin changes. But basically it should work.

These are the settings that are required to make it work:

Thank you @Bmooij for the answer.
In the mean time I found also this. Will give it a try as soon as the rest is working. Currently I'm fighting with the serial console of the module.


"Segmentation fault" when obc-peer login <user_id> in obcpeer_cli

Follow instruction in 4 peer with security enabled to setup the environment, then start with cmd:
docker-compose -f docker-compose.yml -f compose-consensus-4-links.yml -f compose-consensus-4-sieve.yml up --force-recreate -d

The first problem is errors like:
  # docker-compose -f docker-compose.yml -f compose-consensus-4-links.yml -f compose-consensus-4-sieve.yml up --force-recreate -d
 Creating obcpeer_obcca_1
 Creating obcpeer_vp0_1
  ERROR: Cannot start container   ef94d466401e2c0cf258d3d4069d13448314582e28a3be36ad98f03ae0fa3775: Cannot link to a non running container: /obcpeer_obcca_1 AS /obcpeer_vp0_1/obcca

It has to repeat this docker-compose cmd to create 4 peers,obcca and cli.
The 2nd problem is inside of cli, the login/delopy cmd get crash (Segmentation fault).
  # docker exec -it obcpeer_cli_1 bash
  root@55aa65f169d0:/go/src/github.com/openblockchain/obc-peer#  OPENCHAIN_PEER_ADDRESS=vp0:30303 obc-peer login jim
Segmentation fault
 OPENCHAIN_PEER_ADDRESS=vp0:30303 obc-peer chaincode deploy -u jim -p github.com/openblockchain/obc-peer/openchain/example/chaincode/chaincode_example02 -c '{"Function":"init", "Args": ["a","1000", "b", "2000"]}'
 Segmentation fault

This happens today (Feb 24 17:03:08 EST 2016) on Z platform. The yesterday's code works fine for the same scenario.
Thanks

Hi @samding01, do you have logs available to understand what it is happening?

No any coredump file left. Even I rebuild obc-peer inside cli, I got the same:
 # go build -v
github.com/openblockchain/obc-peer/openchain/ledger
github.com/openblockchain/obc-peer/openchain/crypto
github.com/openblockchain/obc-peer/openchain/consensus/noops
github.com/openblockchain/obc-peer/openchain/peer
github.com/openblockchain/obc-peer/openchain/chaincode
github.com/openblockchain/obc-peer/openchain
github.com/openblockchain/obc-peer/openchain/consensus/obcpbft
github.com/openblockchain/obc-peer/openchain/ledger/genesis
github.com/openblockchain/obc-peer/openchain/rest
github.com/openblockchain/obc-peer/openchain/consensus/controller
github.com/openblockchain/obc-peer/openchain/consensus/helper
github.com/openblockchain/obc-peer

root@74333afaf52b:/go/src/github.com/openblockchain/obc-peer# ./obc-peer
Segmentation fault

By the way, no problem to run obc-peer outside of docker container.

It seems the generated docker image of golang16 (s390x) is not good.
After rebuild it works as the before.
close this issue.


CodeIgniter Truck Factor

Dear CodeIgniter contributors,
I am Master's student investigating the importance of the idea of truck factors in Software Engineering.
As you know, truck factor (aka bus factor) is defined as “the number of people on your team who have to be hit by a truck before the project is in serious trouble”. By "serious trouble", we mean that it will very difficult to maintain the project (e.g., bugs will take more time to be fixed, new features will be delayed etc).
I would appreciate your contribution by answering two questions:

According to your experience, what number best represents the truck factor of CodeIgniter?

Who are the developers responsible for this truck factor estimation?

Mívian Ferreira
Master's Student
Applied Software Engineering Group (ASERG)
UFMG, Brazil
http://aserg.labsoft.dcc.ufmg.br/

I don't want to appear unhelpful towards your research, but please note that this is a bug tracker and we don't want to encourage people coming here to ask random questions (in fact, I've been actively discouraging this for a long time).
Either way, the information that you're asking for is publicly available, but you're free to open a thread on our forums.


Refer to the component being created

Is your feature request related to a problem? Please describe.
This goes back to the same problem I've always had with styled-components, the ability when creating the to refer to the same component that is being created. At the moment it is necessary to create 2 separate components to be able to refer to the previous component
Describe the solution you'd like
It just feels weird to create an extra component for these types of css rules, unless I'm just missing something and I am doing it entirely wrong. This is what it would look like:
const Button = styled('button', {
  /* styles */
  [`+ ${this}`]: {} // Use this or any other keyword that better fits
});

Describe alternatives you've considered
This is a small example of the way that I've always had to do is something like this (styled-components).
const StyledButton = styled('button', {
  /* styles */
})

const Button = styled(StyledButton, {
  marginLeft: 8px;
})

My suggestion would be to add something like a + & selector, where & references the parent selector, like in & .button.

Yeah, that's one of the goals of the & character.
Based on your examples that should be a good use case.

Ok I just realized that the & was special in that regard and will work wonders for several use cases.
Although, the + & will not work.
I used the interactive docs and I would suggest adding an example for this use case which works with the & + &

@carlosfpo great idea. Feel free to close, unless there's anything else you wanna ask 👍


New Suppression Management Endpoints

https://github.com/sendgrid/docs/pull/1877/files#diff-0

Supported in this commit.


fix: login stay on same page including checkout

Why:
Closes: #ID
Describe your changes
Checklist before requesting a review

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

AB#75831


Feature: Image preview

Could there be a image preview of image file instead of the photos app icon?

The image preview weirdly works in the recent items.

@rounk-ctrl Please fill out the issue template to the best of your ability and re-open this. Thank you!
Anyway when in Grid view mode you should get a preview for image files but there was a bug recently fixed preventing that.


🚀 [Feature Request] - Add captcha verification in Register Page

Is your feature request related to a problem ? Please describe. ✍
A captcha helps to prevent bot from signing up and helps differentiate a real user from a bot.
Hence I will like to add a captcha verification in the Register Page.
Describe briefly how you would implement this enhancement.
Some steps to implement this enhancement-
1. I will add the captcha below the confirm password
2. Will make any necessary changes in the UI so that the UI is not hampered

Additional context or screenshots

This is where i will like to add the captcha verification
Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Not needed!


Ignore Unittests subtests for DISABLED_LEGACY_ENGINE

Fixes https://github.com/tesseract-ocr/tesseract/issues/3226

Fixes https://github.com/tesseract-ocr/tesseract/issues/3226

@amitdo Are these changes ok or should I just exclude them in the makefile?

@amitdo Are these changes ok or should I just exclude them in the makefile?

I written a comment but removed it because I was not sure about it.
Do what you see as appropriate.
I don't have time to review it right now, sorry.

I written a comment but removed it because I was not sure about it.
Do what you see as appropriate.
I don't have time to review it right now, sorry.

Ok. I will test with an older version to see if the tests were passing earlier.

Ok. I will test with an older version to see if the tests were passing earlier.

The changes look fine. In the iterator test we probably can re-enable some of the disabled tests with some additional work, but it's a good start.

#3626
@Shreeshrii, do you remember if you tested the modified resultiterator_test.cc with --disable-legacy?

@Shreeshrii, do you remember if you tested the modified resultiterator_test.cc with --disable-legacy?

No, I haven't tested recently. The CI for this was on a monthly basis. You can change it to daily similar to the other Actions.

No, I haven't tested recently.

But did you tested it when you originally submitted the PR?
I already change it to run every Monday.


how to use this in angular 4

Hi @vinithn, this is not maintained anymore and I am not sure how it works on Angular 4.


sap.ui.core.format.NumberFormat: parse/format not using group separators in Austrian German locale

OpenUI5 version: latest
Browser/version (+device/version): All
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): https://jsbin.com/dateyub/edit?js,output
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Run the sample and observe results

What is the expected result? According to http://www.localeplanet.com/icu/de-AT/index.html, Austrian German uses the period (.) for group separator, yet calling NumberFormat.parse("1.234") in that locale returns NaN instead of 1234. Also, NumberFormat.format("1234") returns "1 234" instead of "1.234"
Any other information? (attach screenshot if possible) English and Italian locales appear to work as expected.

The data from the Unicode Common Locale Data Repository (CLDR - http://cldr.unicode.org/ ) contains the following for de-AT:
"symbols-latn-decimal": ",",
"symbols-latn-group": " ",

The group separator is a blank. So this conflicts with the ICU data that www-localeplanet.com uses. This explains the current behavior that you observe. The dot is not listed as a number symbol for de-AT.
Still the question remains: who is right, Unicode.org (CLDR) or IBM (ICU). To be honest, I thought that ICU is also based on the Unicode CLDR, but according to their website they consider it only as a future source  :-(
There is a process defined for CLDR how to request / discuss changes. Maybe their database mentions something about numbers in de-AT, I didn't check yet.

One more comment: currently, we are using version #29 of the CLDR data. The most recent version is #30. I checked the data for that version and it doesn't change the grouping separator, BUT it adds the period '.' as currency group separator. Maybe that gives some background about the difference between CLDR and ICU.
AFAICS, NumberFormat does not use the currency group separator, so v30 wouldn't change the behavior.

Tracked internally: #1680287350.
Thanks and Kind Regards,
Diana, SAPUI5 Dispatcher

As explained by codeworrior, we are using CLDR data for default decimal/grouping separators. This seems to be correct according to
https://de.wikipedia.org/wiki/Schreibweise_von_Zahlen
"nach ÖNORM A 1080, wie nach ÖWB generell Leerzeichen als Tausendertrennzeichen gesetzt werden"


Flutter FX

Proposing FLUTTER FX
an onscreen interactive animation core package
which can allow the package to use GPU to apply 60fps animations
Flutter FX Marketplace on pub.dev
Just like rive.app a place where creators can create butter smooth animations and list it
eg: https://jsfiddle.net/f0rs2cjt/

Hello @davidjeba. This doesn't look like a valid proposal to me. Flutter already provides ways to create smooth animations hitting 60FPS and above. If you need more complex animations, as you mentioned, there is already a place for that using Rive or Lottie. You can also find lots of packages on pub.dev that allow you to simplify animations further. Flutter is built to provide good defaults and expects the developer to build up their app using composition rather than providing full fledged solutions.
Due to above reasons, I am closing this issue. Thank you.

i was expecting more native features like flame engine in flutter so that i can build native hyper casual and super responsive 3D games using flutter instead of using phaser/unity etc
you may as why?
If i want to build an app in flutter and that app to have a section for games [integrating webgl/flame etc inside flutter doesnt make sense] rather flutter can better evolve in game direction as well.
the roadmap towards better games in flutter needs a push.


Revert Node version limiting

We use VSCode to work on new and legacy projects. Starting 10 minutes ago, I can no longer debug the legacy project. This is still a production application and we are working to upgrade Node versions in the services one at a time, but still have a few on v6 due to dependency and other issues we're working through.
Is there a workaround to force VSCode to still switch to Node v6?

You can set debug.javascript.usePreview: false to use the old debugger. However, this option will go away at some point in the future; Node <7 uses a different debug protocol which we no longer support.


signup: added proper validation message for the password fields

See bsc#1041905
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

I'm not a fan of writing js direct in views templates but since we didn't decide yet how things are gonna be on the front-end and this is really simple, I'm good with this.

I'm not a fan of writing js direct in views templates but since we didn't decide yet how things are gonna be on the front-end and this is really simple, I'm good with this.

Agreed. We should change this whenever we move to a more modern frontend 👍

It looks a bit hard to manage, do you think it makes sense to use a view helper here?

This will be refactored away whenever we modernize the frontend after the 1.0 release, and it will most surely be handled purely from the JS side, so I don't think it's worth it.


Need a way to rotate the flutter cache

Describe Request:
After a bug with the new M1 mac and a previous version of this orb, I have a non-functional installation of flutter cached. Flutter is always downloaded from github after restoring the cache:

It also looks like the cache will break when updating the install path, because it the cache always contains the old path, not the new path.
Also it looks like the cache resotration is slower than downloading the same amount of data off github. Could you speed up the cache restoration or add an option to disable caching completely?
Examples:
Supporting Documentation Links:
https://circleci.com/developer/orbs/orb/circleci/flutter#commands-install_sdk

Just changed Flutter version again, and the restored cache is not being used. Seems like the previous flutter installations is just not being detected.


Is it possible to get a safe mutable reference/pointer to internal variant used in nlohmann json?

Describe what you want to achieve.

I'm trying to use ImGui to display data in a small json object, Due to the way ImGui works, it requires the use of an actual reference to the data underneath, ie str parameter in ,
IMGUI_API bool  InputText(const char* label, std::string* str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL);
I thought I could just get a reference to the data using json::get<>() but that did not appear to work (reference was not maintained at the same location).

Describe what you tried.

Originally I tried things like json::getstd::string(), which did not appear to give a valid mutable reference, then tried json::get_refstd::string&(), which did not work either, same with json::get_ptrstd::string*(), and the spec says on const versions and non const versions:

Writing data to the pointee of the result yields an undefined state.

Describe which system (OS, compiler) you are using.

Gcc 9.x, Centos 7

Describe which version of the library you are using (release version, develop branch).

develop branch

Ended up being an issue with my understanding of ImGui, nlohmann::json actually worked exactly as I would have expected


Fix old config not being removed after transform

Codecov Report

Merging #456 (361b124) into main (8adc304) will decrease coverage by 35.93%.
The diff coverage is 100.00%.

Additional details and impacted files

@@             Coverage Diff             @@
##             main     #456       +/-   ##
===========================================
- Coverage   78.86%   42.92%   -35.94%
===========================================
  Files          67       67
  Lines        2337     2339        +2
===========================================
- Hits         1843     1004      -839
- Misses        494     1335      +841

Impacted Files
Coverage Δ

gitlabform/configuration/transform.py
71.05% <100.00%> (+3.71%)
:arrow_up:

...abform/processors/group/group_members_processor.py
14.94% <0.00%> (-83.91%)
:arrow_down:

...tlabform/processors/multiple_entities_processor.py
20.25% <0.00%> (-75.95%)
:arrow_down:

gitlabform/processors/project/members_processor.py
16.92% <0.00%> (-73.85%)
:arrow_down:

gitlabform/gitlab/members.py
23.80% <0.00%> (-73.81%)
:arrow_down:

gitlabform/lists/projects.py
20.58% <0.00%> (-73.53%)
:arrow_down:

gitlabform/lists/groups.py
26.19% <0.00%> (-71.43%)
:arrow_down:

...tlabform/processors/project/schedules_processor.py
21.15% <0.00%> (-71.16%)
:arrow_down:

gitlabform/processors/project/files_processor.py
22.32% <0.00%> (-64.29%)
:arrow_down:

gitlabform/gitlab/groups.py
27.58% <0.00%> (-60.35%)
:arrow_down:

... and 49 more


extractDecl: Correctly extract associated types

(fixes #735)
Generating documentation for
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeFamilies #-}
module Bug (Scalar) where

class (Num (Scalar t)) => Mode t where
  type Scalar t

Results in

[x] Do we expect a "class context" here to signify that this is an associated type? What would it look like?
[ ] Add a test (I will defer this to a later PR as I can't reliably build haddocks test suite with ghc-8.4/HEAD yet)
[x] Merge to ghc-head branch

Does this get things any closer on https://github.com/haskell/haddock/issues/526 and https://github.com/haskell/haddock/issues/664 ?

Yes.
gbaz<EMAIL_ADDRESS>schrieb am Mo., 5. Feb. 2018, 08:54:

Does this get things any closer on #526
https://github.com/haskell/haddock/issues/526 and #664
https://github.com/haskell/haddock/issues/664 ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/haskell/haddock/pull/736#issuecomment-363006559, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AByiiQW6Yphs7kkGxxtJ66Lrfl2_tj-qks5tRrOsgaJpZM4RkOpX
.


Include the custom field name in the error message when attempting a create with a duplicate name

This is analogous to https://github.com/textmagic/textmagic-rest-ruby/issues/33 but for custom fields.  When you try to create a custom field with the same name as an existing custom field, you get this error message:
fields: {"name"=>["This field already exists. Please use a different field name."]}
It would be nice if the actual field name were included e.g.
fields: {"name"=>["This field FIELD_NAME already exists. Please use a different field name."]}

See #33


Do not use PIL for decoding images for pixel_data

This partly addresses #380. It does not remove pillow as a dependency (that can be considered separately), but does remove PIL as a means to decode images.
Images are exported into numpy arrays in two flavors:

In format CHW in floats (for feeding to mxnet)
in format HWC in unsigned chars (for pixel_data)

I have consolidated both these extraction needs in copy_image_to_memory.
API Break
Also, this is technically a breaking API change. The pixel_data used to be able to fall back to returning array.array in the case numpy is not installed. I removed this since numpy is a hard dependency of turicreate, so this is only breaking API if used in a non-standard way (by delibrately uninstalling numpy). @znation What do you think? Should I mark this PR as api-breaking? Or, should I extend the implementation to also support array.array?

@gustavla Considering numpy is already required, I wouldn't consider this an API-breaking change. I'm not sure the original logic made sense, but I don't expect anyone would uninstall numpy after installing Turi Create -- and if they did, I don't think we are guaranteeing that will continue to work.

I noticed that grayscale images were returned as (H, W, 1) and not (H, W) as the current turicreate behavior. This also broke _to_pil_image in that case. I have fixed this and made sure we have test coverage for that.


Binary-Tree-Cameras.cpp

C++ solution for Binary Tree Cameras https://leetcode.com/problems/binary-tree-cameras/
Pull Request Template
Description
Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context.
List any dependencies that are required for this change.
Put check marks:
Have you made changes in README file ?

[ ] Added problem & solution under correct topic.
[ ] Specified Space & Time complexity.
[ ] Specified difficulty level, tag & Note(if any).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Make sure all below guidelines are followed else PR will get Reject:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code so that it is easy to understand
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

@lokeshsinghi Please update the readme !!!

@lokeshsinghi Please update the readme !!!

Updated


bump serializable-closure

support for dependency : laravel/serializable-closure version 2.0,
for this package stops downgrading :
Downgrading spatie/laravel-health (1.30.1 => 1.29.0)

Thanks!


Support for Magic Switchbot

There is a chinese Magic switchbot similar to original one: https://thegreytechnologies.com/products/magic-switchbot-button-pusher
Communication library and Home Assistant integration is avaialble at https://community.home-assistant.io/t/new-integration-magic-swithcbot/291972
I would be awsome if SwitchBot-MQTT-BLE-ESP32 project could suport these devices. I have both types of switchbots and  maybe some other users also would benefit from this feature.

Magic switchbot works differently than switchbot and I believe it uses more encryption. It would take significant work to support them and I don't own any so this probably won't happen
If you are using HA, there is an HA integration for them https://community.home-assistant.io/t/new-integration-magic-swithcbot/291972

Ok, it was just a suggestion. I understand your explanation, Of course I'm using HACS integration, but as I had some serious problems with HA original switchbot integration I found your ESP solution. I switched original switchot to ESP and I just thought it would be great to use ESP for both kind of devices. HACS magic switchbot integration isn't actively developed.
Anyway thanks for your feedback, Using SwitchBot-MQTT-BLE-ESP32 and HACS Magic Switchbot seems to be stable for now.


[Fix #12106] Fix a false negative for Style/RedundantReturn

Fixes #12106.
This PR fixes a false negative for Style/RedundantReturn when returning value with guard clause and return is used.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


UMAP/t-SNE dimensions

This PR adds the number of components selection box.
It does not enable 3D plotting as it would make manual clustering very challenging. However, matplotlib has 3D plots, therefore, it could be implemented so that at least visualisation of 3 dimensions is possible, but I'm not sure if it is something we want to have in the near future.
Tagging @haesleinhuepf as a reviewer because you requested this feature.
This PR would close #107. It is build on disable-buttons-when-running branch, therefore, that PR should be merged first.

Hi @lazigu ,
I'm happy to review this PR. I'm just curious: There are a lot of changes which are not related to the title of the PR. Are you sure you are merging into the right branch?
Thanks!

It's built on the other branch (linked in the first message), which also has an open PR now, so when I get final review from Mara I can merge that one, and this one can be reviewed:)


Font weight is too light in light mode and too heavy in dark mode

Steps to Reproduce

Execute flutter run on the code sample.
Take a screenshot of the Flutter app.
Compose a new message in iOS Mail with the same text.
Take screenshots of iOS Mail in light mode and dark mode.
Compare the text in the screenshots to the screenshot of the Flutter app.

Expected results:
The font weights look the same.
Actual results:
The font weight in Flutter is too light in light mode and too heavy in dark mode. This makes the app look quite different in one mode compared to the other.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Container(
              alignment: Alignment.center,
              height: 56.0,
              child: const Text(
                'The quick brown fox jumps over the lazy dog',
                style: TextStyle(
                  color: Colors.black,
                  fontSize: 17.0,
                  letterSpacing: -0.43,
                ),
              ),
            ),
            Container(
              alignment: Alignment.center,
              color: const Color.fromRGBO(28, 28, 30, 1),
              height: 56.0,
              child: const Text(
                'The quick brown fox jumps over the lazy dog',
                style: TextStyle(
                  color: Colors.white,
                  fontSize: 17.0,
                  letterSpacing: -0.43,
                ),
              ),
            ),
          ],
        ),
        backgroundColor: Colors.white,
      ),
    );
  }
}

[flutter] flutter doctor -v
[✓] Flutter (Channel stable, 3.7.3, on macOS 13.2.1 22D68 darwin-x64, locale en-US)
    • Flutter version 3.7.3 on channel stable at /Users/anthonymoretti/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (7 days ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • ED506CAA-EB76-47D8-BBDC-751CB0EE7EC8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 13.2.1 22D68 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 110.0.5481.100

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.
exit code 0

Hi Anthony,
Just checked your screenshot and i didn't see a difference when checking the widths in Figma.
For the black:

For the White:

What I do see is that with the black text we have a dark border and that is the same for the white text color. That could be lighter? So it looks like the same width?

Hi Hylke
Thanks for looking into it. Yeah the border color in both light and dark modes needs to be darker, otherwise it looks like the weights are off. The change is especially noticeable when switching from light mode to dark mode and vice versa.
The border color of the letter "h" is a good example. If you compare the border color of each "h" to the one below it you can see how the border color of the bottom one is too light in both cases. If it could be changed to match the border color of the "h" above it that would fix it I think.

Hi @anthonymoretti
Can you please provide screenshots for the comparison between Flutter and iOS native? Honestly, I've tried to look closely but haven't noticed the difference yet. Should I pay attention to the border of the letters?

Hi @huycozy
Yes, it's the border of the letters, which is too light in both light and dark modes. It creates the effect that text is too thin in light mode and too bold in dark mode.
Here are the screenshots:
iOS Mail - light mode

iOS Mail - dark mode

Flutter

Hi @delfme. This is with Impeller enabled, but I think it existed before too.

I realize it might be hard to see, so thought I'd try to make it easier. This is with Impeller, but I think it might have existed before too.

Thank you guys for more information. I double-check this and see that it's easier to see this issue in dark mode especially.
Demo

Demo (raw images)

iOS light
iOS dark
Flutter

Demo video
https://user-images.githubusercontent.com/104349824/219555942-991f0710-5cd0-4d51-b7cf-209cf1918c67.MP4

But as @delfme mentioned above, this seems to be fixed with Impeller:

Flutter Skia
Flutter Impeller

@anthonymoretti Can you retry on the latest master channel with Impeller and check if see the same result?

Thanks for looking. I tried on the latest master with Impeller now but it's identical to stable. A second very minor thing, in Flutter there appears to be an extra pixel between "k" and "b", so the total line length is different by one pixel.
The reason I noticed the problem in the first place is because the text in my app appears thinned out in light mode compared to dark mode, and it seems to be because of a font weight imbalance between the modes.

flutter doctor -v
[flutter] flutter doctor -v
[✓] Flutter (Channel master, 3.8.0-13.0.pre.74, on macOS 13.2.1 22D68 darwin-x64, locale en-US)
    • Flutter version 3.8.0-13.0.pre.74 on channel master at /Users/anthonymoretti/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 298d8c76ba (89 minutes ago), 2023-02-16 21:28:30 -0800
    • Engine revision 6e92c0c284
    • Dart version 3.0.0 (build 3.0.0-245.0.dev)
    • DevTools version 2.21.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • ED506CAA-EB76-47D8-BBDC-751CB0EE7EC8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 13.2.1 22D68 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.
exit code 0

Labeling the issue for the team's attention since the issue is also happening on skia (see https://github.com/flutter/flutter/issues/120857#issuecomment-1434118870 or above comments for the demo)

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.3, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (17 hours ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Users/huynq/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 110.0.5481.77

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-13.0.pre.51, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.8.0-13.0.pre.51 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efde350812 (15 minutes ago), 2023-02-15 21:49:06 -0500
    • Engine revision a966cf878f
    • Dart version 3.0.0 (build 3.0.0-240.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Can anyone suggest a workaround for this, or is it at all possible to make this P3?
For example, is there a way to access font weights between the existing constants? I could probably work around it if I could access values like FontWeight.w450 in light mode and FontWeight.w350 in dark mode (not necessarily those exact values, it would take experimenting).
The app looks washed out because of thin text in these two scenarios especially:

Switching from dark mode to light mode.
In light mode, switching from native iOS app to Flutter app.

@anthonymoretti although maybe doable, the font variable trick is not a correct solution.
Idk how this is coded at engine level, but I guess fix should be just increasing/reducing an opacity value such that font border color will look darker in lightmode and lighter in darkmode. If so, it would take a few min.

@delfme Unintuitively, the border needs to be darker in both modes 😉

Oh yes my bad. So fix is simpler coz we don’t need to distinguish between cases 👍

Isn't this a well-known perceptual issue, and it should be remedied by adjusting font-weight in dark modes?
Therefore it may be a higher-level issue, for Material 3?
Even if border/antialiasing is adjusted, it will still be perceptually different. When looking at a dark background with white text, the eye is more open and receptive to light, making any white text elements appear thicker than they actually are.

@romanr Yes it is, it's even discussed in the Material Design icons guidance, where they reduce the grade for light icons on a dark background: https://m3.material.io/styles/icons/applying-icons#3ad55207-1cb0-43af-8092-fad2762f69f7
But regardless of perception, if you look at the comparison between native iOS and Flutter in my earlier comment-1433892871 you can see an actual imbalance in Flutter.

Isn't this a well-known perceptual issue, and it should be remedied by adjusting font-weight in dark modes? Therefore it may be a higher-level issue, for Material 3?
Even if border/antialiasing is adjusted, it will still be perceptually different. When looking at a dark background with white text, the eye is more open and receptive to light, making any white text elements appear thicker than they actually are.

It is not eyes trick.

Tested it thoroughly at pixel level and confirm @anthonymoretti discovery. Text is too thin in lightmode and too thick in night mode.
In light mode, where there is no impact from a dark background, is evident with bare eye on my iphone pro 13, ios 16.3.1
Cant we just add to border 0.X px in light mode and subtract 0.X px in dark mode?
Might this be caused by flutter engine current limits with hairlines?

Fixed this. Just a temporary workaround.
Instead of
Text.rich(
            overflow: overflow,
            maxLines: maxLines,
            style: _textStyle,
            CustomTextSpan(
              text : $text,
              style: _textStyle,
              overflow: overflow,
              maxLines: maxLines,
            ),
          ),

Do this: put 2 texts inside a Stack, one will draw outerborder (adding the required extra px to make it thicker), and one will draw the inner color.
Stack(children: [
          // Draw the inner color
          Text.rich(
            overflow: overflow,
            maxLines: maxLines,
            style: _textStyle,
            CustomTextSpan(
              text : $text,
              style: _textStyle,
              overflow: overflow,
              maxLines: maxLines,
            ),
          ),

          // Draw the outline border
          Text.rich(
          overflow: overflow,
          softWrap: true,
          maxLines: maxLines,
          style: _textStyle.copyWith(
            foreground: Paint()
              ..style = PaintingStyle.stroke
              ..strokeWidth = 0.1
              ..color = Colors.black, //_textStyle.color!,
          ),
          CustomTextSpan(
            text : $text,
            style: _textStyle,
            overflow: overflow,
            maxLines: maxLines,
          ),
        ),

      ],);

Final result will be a ticker text.
Here is a result:

To reproduce same fix for dark mode, the outerborder color must be the one assigned to the parent widget's background color. This way the text will look thinner.

For example, is there a way to access font weights between the existing constants? I could probably work around it if I could access values like FontWeight.w450 in light mode and FontWeight.w350 in dark mode (not necessarily those exact values, it would take experimenting).

@anthonymoretti Depending on your font, you actually can. And I suspect, depending on the font, using FontWeight is wrong to change the weight of the font.
In my app, I'm using the "Inter" font, which is a variable font face. I did not read much on the Flutter typography page so I was using FontWeight to change the weight of the font.
However, I noticed, that w400 and w500 renders the exact same text. I used an image diff to check and there where no difference at all. I was going to open an issue for that.
But then I read on the documentation again:

When programming a variable font, use the FontVariation class to modify the font’s design axes. The FontVariation class conforms to the OpenType font variables spec.

Then, when you read for static fonts:

Use the following API to programmatically alter a static font (but remember that this only works if the font was designed to support the feature):
FontFeature to select glyphs
FontWeight to modify weight
FontStyle to italicize

For the variable font, FontWeight is not mentioned, so I suspect using that is not the right approach.
For testing I switched FontWeight.w500 (again, which did not result in a different rendering) to fontVariantions: [FontVariation('wght', 500)] and... it rendered in 500!
Since the font is variable, you can have any weight, like 450 or even 411 if you prefer that.
While there is possibly still an issue with font rendering overall, using the font variations correctly to bump the font weight a tiny bit seems much better then the double rendering workaround by @delfme

@ManuelRauber is San Francisco font variable? Have you got to use a variable font to workaround this issue? Coz result might not be as expected.
The fact is that text on iOS is broken in several minor aspects that all impact for their part. We created a TextWidget where we heavily manipulate text before rendering, not just the outline border mentioned above, but also letterspacing and height. And things get trickier when emojis are inside the text, coz they must be manipulated too in size, height, offset, letterspacing, and also padding (coz emoji on iOS are off-centered).
Until flutter team gets to fix text as a whole, we think there is no easy solution to that problem. Indeed, on iOS I can tell that an app is built in flutter only by looking at text. Involved issues have been open for 2-4 years, hence the fix is tricky and we cannot expect it anytime soon.

Any updates?

Any updates, this feature is really important

@anthonymoretti I lately had a closer look at Inter font suggested by @ManuelRauber and it seems it might be a good patch on iOS while waiting for a fix.
https://mattwestcott.org/blog/an-ode-to-the-inter-typeface
I still didnt try it on phone though.

@anthonymoretti if you made time to test it, would you be so kind as to create a reference table to related what weight on iOS compare with Inter, both light and dark mode.
For example, on dark mode, SF 500 == Inter 480, just guessing.

Quick report on this.
Download Inter font from here https://rsms.me/inter/
Add it to pubpec:
    - family: InterVariable
      fonts:
        - asset: assets/fonts/InterVariable.ttf
        - asset: assets/fonts/InterVariable-Italic.ttf

In my case, I got a native look with dark theme by setting wght to 450 (instead of SF 500) but it feels like this needs test. However, this is a valid workaround because font looks very similar to SF.
 Text(
      text,
      style: theme.textStyleForChatTileContent.copyWith(
          //  fontWeight: FontWeight.w500,
           fontFamily: 'InterVariable',
           fontVariations: [FontVariation('wght', 450)]
  ),

Hope this helps.

Unfortunately, the workaround above isn’t a solution, as some emojis will be rendered without color on both Android and iOS. This issue may be related to this GitHub issue.
To recap:

With the system font, emoji color is correct, but fontWeight on iOS is broken, causing text to appear thinner in light mode and ticker in dark mode.
With a variable font (I tested with Inter), we can adjust the font weight to look like native, but some emojis will be rendered without color.

@delfme did you find any new usable workaround for this?

@delfme did you find any new usable workaround for this?

This works https://github.com/flutter/flutter/issues/120857#issuecomment-1762887590
Make sure to adjust strokeWidth accordingly.
The downside of this approach is that it will result in double texts appearing on the scene, but for now, this is the only viable solution.
If you are aiming to make your texts look native, keep in mind that there are other issues, including incorrect text height and fontSize, letterSpacing, emojis size and emoji offset. To observe them, display a multiline text—one using UILabel and the other with Flutter Text widget. You will be able to spot the discrepancies visually. https://github.com/flutter/flutter/issues/28894#issuecomment-1537587062


Fix LM ingestion speed new Tests_Requirements_and_Claims

Solved this by combining their 317 folders into one folder, as all files have the same names and csv headers.   also removed duplicates.   Ingestion is now under 2 minutes.
Need to review with LM.


Create an html and json file for every rule

Like in the original sonar-java project, we should have an html file for every rule, where we describe the rule and show one example each for compliant and noncompliant code.
Additionally, we should hava a json for every rule as well.

More or less a duplicate of #15


Matplotlib subplot loses axis during loop

Whilst looping over the two data arrays, the x axis is plotted from 0 -140 of what ever, rather than years.

Can you point to the code cell please?


need first slide

okay i will make it.
On 15/10/2016, Satyam Yadav<EMAIL_ADDRESS>wrote:

Assigned #1 to @veekays.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/scrietossdg/ossdg/issues/1#event-824787562

--
Vikas Kumar Singh
7533017710


Questions about Elaborative Description and adapt to the datasets

Thank you very much for your excellent work, we had some issues that need your answer.
1.About Elaborative Description
We found some errors  in the public EDs，and some descriptions are not very appropriate. Can we manually revise them?
In HMDB51 dataset:
“word”: “Pick”
“defn”: “detach and remove (a flower, fruit, or vegetable) from where it is growing.”
In UCF101 dataset:
“word”: “TableTennisShot”
“defn”: “put (food) into the mouth and chew and swallow it.”
2.About adapt to the datasets
The released code is on the proposed Kinetics ZSAR Benchmark. How should we get Kinetics ZSAR Benchmark? Would you give some instructions to download and adapt to the datasets (Olympic Sports, HMDB51 and UCF101)? We now have the HMDB51 and UCF101 datasets. If we run on the HMDB51 and UCF101, how should we modify the code?  Begging to point out what needs to be modified.
Looking forward to your reply.

Kinetics-620 ZSAR Benchmark

Do you get the data for the Kinetics-620 ZSAR Benchmark?

好的，如果方便的话，你能把论文中提出的Kinetics-620 ZSAR Benchmark上传到云端并提供下载链接吗？您能否更新自述文件以进一步解释如何适应代码中的数据集？希望你能花时间帮助解决问题。谢谢。

Do you know how to adapt to your dataset?


Add caching system for pictures and rasters

Ensure that repeats of the "same" vector graphic both recycle the loading/decoding of their pictures, and if the same size, the computation of their raster images.
Unlike either the flutter image cache or svg picture cache, this only attempts to keep picture info and rasters "live" while at least one widget in the tree is using it. Thus, the primary goal is to reduce the cost of repeating the same vg multiple times

@dnfield is this pulling from ToT for analysis?

Looks like maybe? I'm going to ignore the errors for now because I'd like to roll this in ahead of flutter


Merge pull request #8 from PB2204/snyk-fix-901d23a93cd0e93be451909cb5…

…07eeb6
[Snyk] Security upgrade next from 13.1.6 to 13.5.4

Could you please add a hacktoberfest-accepted label on this PR?

@rihamnazeer It is already there . Please check once...

@PB2204  not here


Change WordPress type to "app"

Change WordPress type to "app"
Remove duplicate "odoo"
Update WordPress version
Update wordpress_icon URL

Please write exact version, not use latest

I update wordpress version to 4.4.2 with new docker-compose.yml file.
Please check 9831a0b.
Thanks!

Update wordpress_icon URL


Implement #54

#54 normalise references to external paths
By having your Loader inherit from avalon.maya.Loader, the self.fname now replaces the root portion of the path with $AVALON_PROJECTS.
Before
c:/projects/batman/assets/Bruce/publish/modelDefault/v003/modelDefault.ma

After
$AVALON_PROJECTS/batman/assets/Bruce/publish/modelDefault/v003/modelDefault.ma

Which means the project directory can reside on a different root, without affecting the internal path used by Maya. The same should/may apply to Nuke and other DCCs.

#238 approaches this problem from the ingestion point of view, of loading references using the $AVALON_PROJECTS environment variable.
This means assets loaded by hand won't be getting a relative path. A perhaps acceptable sacrifice, especially considering everything going into an application should go through a Loader. But in practice, there will be things loaded by hand, so an additional safe-guard could be put in place which converts absolute to relative paths on, for example, scene save.


Add verbosity variable in log_client (#466)

Pull request following issue #466 , about rsyslog verbosity configuration

Dear @DilasserT
Many thanks for this PR 😊
Ok for me, merging.


archive page not working in GitHub hosted pages

i test every thing work but archive do not, any solution?
i read GitHub pages guide and it does not support Jekyll archive plugin
https://help.github.com/articles/configuring-jekyll-plugins/
so i think that i must use liquid method described here
https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_config.yml
more about it:
https://mmistakes.github.io/minimal-mistakes/docs/configuration/#archive-settings

Yes, unfortunately GitHub Pages hosted sites do not support jekyll-archives. A different & simple approach could be this, I adopted it in my latest Jekyll theme for 100% Github pages compatibility:


Memory usage

Hi all,
Is there a way to cut back the memory usage of hal2vg a bit?  I have a 9.7GBase hal from a 32 way alignment of small to moderate (150-800MBase) genomes.  Memory usage during the conversion process seems to gradually increase and after 4 hours I'm up to the pinching of the 4th leaf node genome and we're heading past 280GB real RAM used.  I'd hoped this would complete on a 400GB server, but now I'm having doubts as to whether it will complete on a 1TB server.
Command line is below - I've tried with different chop values (32,10000) to see if this changed anything in the memory usage - it doesn't seem to.
./hal2vg ./P32Out.hal --hdf5InMemory --chop 10000 --noAncestors --progress > p32.pg
Thanks!

The time and memory per genome should decrease for each successive genome, for whatever that's worth.
In general, I've mostly tested this with alignments between human genomes where the memory usage is bad, but much better than what you're describing (~1 hour / couple hundred gigs for nearly 100 human chr1's).  I'd like to make it more efficient, but don't have any immediate plans.
What kind of data are you running on?  If you have a bunch of very diverse genomes, it won't only take a ton of RAM, but your output graph will be so fragmented that I'm not sure what it could be used for.

Thanks Glenn.  Yup, maybe I was just being too optimistic here - even the VCF export is pretty fragmented.  This is a an alignment across plants with maybe a 100MY mrca. So probably too much divergence to be useful.  I killed the process as it passed 330GB and will look to focus more on lineages.


Take inspiration from similar projects

Starting this off with @praveenscience's great starting off inspiration... but any profiles!
https://github.com/praveenscience/ama

@eddiejaoude This has actually definitely superseded the root idea I had of the repository and we now have GitHub discussions.
The new "remix" of the root idea for the support repo is working really well so this is now a closed ticket.

Sounds good 👍 . I think we need to encourage more discussion on GitHub Discussions and then if any actions are to be taken we can create a GitHub Issue for it.


Allow disabling logrus

First up, thanks for writing oxy!  It's neat and helped us quite a bit so far.
However, we need the ability to disable logging from oxy, because we want to decide what to log ourselves.
To that end, we have a tiny fork that has a new github.com/vulcand/oxy/log package, which exposes only the parts of logrus' API that oxy uses, and delegates it to a package-internal *logrus.Logger.  All imports of logrus have been changed to import the new package.  In addition, it's now possible to .Disable() the logger, which sets the output to io.Discard.
Would you be interested in merging these changes?  If not, would you be interested in merging changes that allow swapping out the logger?
And to the wider community: Do you also need to disable (or even change) the logger that oxy uses?  If so, say so by :+1_tone3:ing this issue.

Not being able to disable or reroute logging is really annoying.

Would you be interested in merging these changes? If not, would you be interested in merging changes that allow swapping out the logger?

yes, go for it

First up, thanks for writing oxy! It's neat and helped us quite a bit so far.

Glad it was helpful!


ollama not show my model.

What is the issue?
ollama working well with chatbox but when i install open-webui at first it working well but after few day ollama forget all of my model. the model file still in my ssd but ollama not detect them!, i pull model again but one again ollama not detect them in 2 days
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.1.41

@tuantupharma sorry for the slow response in your issue. Are you still having the problem? Can you get a list of the files on the file system as well as the logs?

hmm, i think the bug is gone. i fixed is by just restart the windows system after update ollama and all model comeback.


[QUESTION] undefined reference to `YAML::detail::node_data::empty_scalarabi:cxx11'

while I was building kimera_pgmo_ros package, it always report
/usr/bin/ld: /home/lyxichigoichie/Documents/Scene_Graph/Hydra/devel/lib/libconfig_utilities.so: undefined reference to `YAML::detail::node_data::empty_scalar[abi:cxx11]()

and then failed to build the project. Anyone has the same problem?
OS: Ubuntu20
ROS: noetic

Hello，i meet the same problem，do you solve your problem？

I encountered the same kind of problem and found that the culprit had something to do with using the Conda Virtual Environment.
I somehow solved it by commenting out the lines "export PATH=~/miniconda3/bin:$PATH" and "source ~/miniconda3/bin/activate" in the ~/.bashrc file (which I had added for convenience), and then restarting the terminal.
*(My error log in the terminal was extremely long, comprising probably hundreds of lines of error reports, but almost all of them followed the format /usr/bin/ld: ..... : undefined reference to YAML::detail:: ......)
OS: Ubuntu 20.04 in VMWare
ROS distro: Noetic
Conda used: Miniconda

I encountered the same kind of problem and my guess is that the culprit is using Conda Virtual Environment, because
I somehow solved it by commenting out the lines like "export PATH=~/miniconda3/bin:$PATH" and "source ~/miniconda3/bin/activate" in the ~/.bashrc file (which I had added for convenience), and then restarting the terminal.
*(My error log in the terminal was extremely long, comprising probably hundreds of lines of error reports, but almost all of them followed the format '/usr/bin/ld: ..... : undefined reference to YAML::detail:: ......' , which applies to the issue.)
OS: Ubuntu 20.04 in VMWare
ROS distro: Noetic
Conda used: Miniconda

I encountered the same kind of problem when building the config_utilities package, and the culprit for me was adding the Conda virtual environment to PATH.
I solved the problem by simply commenting out the line export PATH=~/miniconda3/bin:$PATH in the ~/.bashrc file (which I had added for convenience) and then restarting the terminal.
Additionally, the problem can be reproduced by executing export PATH=~/miniconda3/bin:$PATH in the terminal and build again.
 The full log is extremely long, comprising probably hundreds of lines of error reports, but almost all of them follow the format:
/usr/bin/ld: ..... : undefined reference to 'YAML::detail::......'
which applies to the current issue.

OS: Ubuntu 20.04 in VMware
ROS distro: Noetic
Conda used: Miniconda

I encountered a similar problem when building the config_utilities package, and the culprit for me was adding the Conda virtual environment to PATH. I solved the problem by simply commenting out the line export PATH=~/miniconda3/bin:$PATH in the ~/.bashrc file (which I had added for convenience) and then restarting the terminal. Additionally, the problem can be reproduced by executing export PATH=~/miniconda3/bin:$PATH in the terminal and rebuilding the package.
The image below is a piece of my error log in the terminal. The full log is extremely long, comprising probably hundreds of lines of error reports, but almost all of them follow the format: /usr/bin/ld: ..... : undefined reference to 'YAML::detail::......' which also applies to the current issue. I hope these information proves helpful to someone.
OS: Ubuntu 20.04 in VMware ROS distro: Noetic Conda used: Miniconda

Thank you for your help. With your help, I solved this problem! I wish you good luck in your research.


XCode8 not work

when I upgrade XCode to 8.1,it fail to change code sign.
this is log:
The IDEFoundation framework failed to load: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation): Library not loaded: @rpath/DVTAnalytics.framework/Versions/A/DVTAnalytics
Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation): Library not loaded: @rpath/DVTAnalytics.framework/Versions/A/DVTAnalytics
Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework, NSLocalizedDescription=The bundle “IDEFoundation” couldn’t be loaded because it is damaged or missing necessary resources.}

I can not reproduce this problem on my end. Are you using the latest version of xcproj from the develop branch?

@0xced  I use the last release version 0.2,so i should use develop branch?

Yes, please try with the develop branch.

ok,thx


Avoid sequential nest interactions from students

As we saw during the playtesting, sometimes there are multiple nest interactions with only the initial interaction adding anything meaningful to the simulation. We can avoid this by

disabling the intearction option with a nest barcode when the bee's pollen count is at 0.
Having a note like "Gather pollen to deposit them in your nest"

The reason I think we should disable the button is any visual or textual feedback might guide users but won't ultimately guarantee avoiding the behavior. Also when low on a time, it is expected students to be hurriedly tapping the button as they get to their nest, so any sort of feedback would just be another layer that would get repeated with every extra nest Interaction.
The one reason I can think against disabling the button is if in our research we want to observe how easy it for students to follow textual or visual instructions. Perhaps even compare whether textual or visual feedback is more effective in stopping extra interactions.

We can discuss whether we want to go with this approach during Monday's meeting. Until then, doesn't make much sense to ask people to review this throughly.

We can discuss whether we want to go with this approach during Monday's meeting. Until then, doesn't make much sense to ask people to review this throughly.


function countAllBots

There is onlineCount to get all online users. This one will distinguish bots, having optionable bool argument which by default is true and counts all bots, but set to false, counts only online bots.

this wont work on "large" servers (above 2.5k) since the bot wont have offline members cached
for now you could just do onlineCountBots

did not know of that, basically it makes this function pointless in general concept

so maybe this, changed the code more simple

change it to onlineCountBots and make sure they're online (essentially the same as onlineCount but with the bot check) while generally offline members aren't cached, they can be in some cases.

so something like this?

one final change

looks good now


Create 0000-01-02-veraxyj.md

created a branch, created a file and made a commit, and opened a pull request


OpenWeather unambiguous locations

In the default currentweather and weatherforecast modules you use a location name for your searching.  I have an update that will look to see if a user puts in a locationID.  The new getParams() function will handle the request.  If the user doesn't put in a locationID, it will default to the typed out location.
Is this something you'd like me to make a pull request for?

Yes, please!

Okay, now since this is my first time using git hub to add code to someone else's project, would you mind letting me know how to?  Or I can just send you the new .js files directly.

Thanks! Merged to develop.


Lost Funds with Lightning Pool

Tried to Fund an account for the Lightning Pool. Funds were withdrawn but not credited. I am user Gotagreatdog.

Did you try the account recovery?

Might need to increase the number of keys we scan by default, this has been added to pool with this PR: https://github.com/lightninglabs/pool/pull/436

Closing due to inactivity. I helped a bunch of people on chat solving similar issues, maybe you were one of them (with a different user name). Feel free to re-open if recovery doesn't work.


Bqu cr

Add 3 new field in CR for BQU automation project

/lgtm

needs a make check-license otherwise looks good

needs a make check-license otherwise looks good

Done


Added Fastify example

Created this tiny pull request in order to expose the capabilities of Fastify. Keep in mind that there is also a great Fastify plugin integrated with Next.js

Thanks a lot @timneutkens . Cheers :)