face-api.js ERROR: Based on the provided shape, [256,128], the tensor should have 32768 values but has 29076

Hello.
i have a problem with this API. I dont know why, but localhost work very well, but in production not.
I uploaded the files directly to the server
The error says:
tf-core.esm.js:17 Uncaught (in promise) Error: Based on the provided shape, [256,128], the tensor should have 32768 values but has 29076
at g (tf-core.esm.js:17)
at kn (tf-core.esm.js:17)
at In (tf-core.esm.js:17)
at o (tf-core.esm.js:17)
at Ph (tf-core.esm.js:17)
at tf-core.esm.js:17
at Array.forEach ()
at tf-core.esm.js:17
at Array.forEach ()
at tf-core.esm.js:17
i know this error is on side face-api.js, but i don't know how to fix.
i use hostgator to server
Best Regards

Yes, I have the same issue. Works perfectly on local, but not on production.

Yes, I have the same issue. Works perfectly on local, but not on production.
For some reason, I think the model did not load all of the content. It should load 2MB instead of bytes.

i fixed.
i changed the save file.
I moved Model file to the root folder.
Sorry, i don't know if you understand me, because i'm Brazilian. LOL

I understand you just fine. I fixed it too, the model wasn't loading correctly because I misconfigure URL settings so it doesn't load the model. It's a bad error message making us think the error comes from the javascript program.

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

How to do that?

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

How to do that?

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

How to do that?

Hello, using filezilla client, transfer> transfer type > binary

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

How to do that?

Hello, using filezilla client, transfer> transfer type > binary

I faced same issue when I loaded models from git repository. To solve this I made archive of models and committed to git. Once I setup I extract the zip to appropriate directory.

I have the same problem with a dotnet SPA React app, deployed in AWS Elastic Beanstalk the json files are there but I get the error ' Error: Based on the provided shape, [1,1,256,24], the tensor should have 6144 values but has 4841'

Hello, if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer. We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

thanks, it's worked

Hello,
For me this issue was being caused because the shards had no extension and therefore had no MIME mapping. You can can update the shard files to .bin but you need to update the manifest.json files as well. You can also add a new MIME map for extensionless files to that which would be for binary files but that might be a bit more cumbersome: Solution found here https://github.com/justadudewhohacks/face-api.js/issues/131#issuecomment-561738466

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

I solved transfering the shard files forcing the ftp transfer using binary mode.

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

Attaching my working models for the next person to find themselves here, so they don't make the same mistake.
models.zip

Hello, if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer. We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

Congs.., How did you achive to find out that? :)

Hello, if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer. We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

Congs.., How did you achive to find out that? :)

Wow. I really don't remember :D

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

Attaching my working models for the next person to find themselves here, so they don't make the same mistake.
models.zip

Hey! Can you pls share the amplify build settings. (Must sanitise...)

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

Attaching my working models for the next person to find themselves here, so they don't make the same mistake.
models.zip

Hey! Can you pls share the amplify build settings. (Must sanitise...)

These models worked perfect , thanks

I solved transfering the shard files forcing the ftp transfer to use binary mode.

We have the similar avatar.

Hello,
if someone got here with the same problem, in my case, it was working on local but not on hosted. So, after a long time, I've found out the problem was on the ftp transfer.
We must pay atention to transfer the shard files in binary mode. I am using filezila and it was transfering the shards in text mode. Forcing it to binary solved.

How to do that?

Hello, using filezilla client, transfer> transfer type > binary

Worked for me, thanks!

using filezilla client, transfer> transfer type > binary

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

Attaching my working models for the next person to find themselves here, so they don't make the same mistake.
models.zip

worked for me thankssss

I tried:

zipping the files before committing to git, and using amplify build settings to unzip the files during the prebuild frontend stage.
using wget to grab the zip file from S3, then unzipping it, bypassing transfer to git
giving the shard files an extension and updated the respective manifest.json files.

No change. Everything works great locally, but for some reason I'm still getting this error once it's hosted...
Uncaught (in promise) Error: Based on the provided shape, [1,1,512,9], the tensor should have 4608 values but has 1288
This is a React.js project with the files located in Public/models

Did you try adding the .bin extension to the shard files?

I had tried adding a .shard extension, but I just tried adding the .bin (and updating the respective JSON), but unfortunately no change.
I also confirmed the file sizes of everything in "models" (both the JSON and the shards) were the same before/after build.

Attaching my working models for the next person to find themselves here, so they don't make the same mistake.
models.zip

Thank you very much! It worked for me.


fix: empty queue before publishing AggregationResultReady

Description
References

Codecov Report

Merging #516 (4ae6990) into main (21978a1) will decrease coverage by 67.61%.
Report is 197 commits behind head on main.
The diff coverage is 15.16%.

@@             Coverage Diff             @@
##             main     #516       +/-   ##
===========================================
- Coverage   83.07%   15.47%   -67.61%
===========================================
  Files         456      286      -170
  Lines       10418     5176     -5242
===========================================
- Hits         8655      801     -7854
- Misses       1438     4361     +2923
+ Partials      325       14      -311

Files
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <ø> (ø)

source/Api/Common/HttpHeadersExtensions.cs
0.00% <ø> (ø)

...iddleware/Authentication/ActorForAuthentication.cs
0.00% <ø> (ø)

...ntication/Bearer/BearerAuthenticationMiddleware.cs
0.00% <ø> (ø)

...MarketActors/MarketActorAuthenticatorMiddleware.cs
0.00% <ø> (ø)

...ation/Middleware/Correlation/CorrelationContext.cs
66.66% <ø> (ø)

.../Middleware/Correlation/CorrelationIdMiddleware.cs
0.00% <ø> (ø)

...iguration/Middleware/Correlation/UserProperties.cs
0.00% <ø> (ø)

...figuration/Middleware/FunctionContextExtensions.cs
0.00% <ø> (ø)

...rce/Api/Configuration/ServiceBusMessageMetadata.cs
0.00% <ø> (ø)

... and 84 more

... and 400 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Miss 'Add Metadata' action in the Properties dialog for one blob container

Storage Explorer Version: 1.16.0-dev
Build: 20200916.1
Branch: main
Platform/OS: Windows 10 / CentOS 7.6.1810 (Core) / MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release (1.15.1)
Steps to reproduce:

Expand one storage account -> Blob Containers.
Create a new blob container -> Right click it -> Click 'Properties...'.
Check the Properties dialog.

Expect Experience:
The Properties dialog shows well.

Actual Experience:
Miss 'Add Metadata' action in the Properties dialog.

More Info:
This issue also reproduces for one folder under one file share.

Verified on build 20200922.5. This issue has been fixed. So close it.


Backported Spawnegg Fix to 1.17

I applied the spawnegg custom texture hotfix to the 1.17 version.
Is there the possibility to add this fix as a release on modrinth etc? Or would I be allowed to publish the file myself?

May I ask why this is that important?
All it does is allow for cits with texture instead of model to show up on spawn eggs. Why not just make a small model file instead if this is specifically for 1.17?

I came across this bug specifically in combination with adventure maps,primarily one called Drehmal.
The devs of this map (and some others) heavily rely on textures applied to spawneggs for specific story items.
While I could modify these items from textures to models, fixing it in the mod seemed like the more straightforward solution, as I wasn't aware that models would still apply before.
The release for the 1.17 version isn't super high priority,but I know of community members that would like it so they can finally drop optifabric.
Thank you so much for your work so far on this!

Sorry about the delay, this is a very specific edge case and while I could merge it, I am not going to test it and definitely not intending on releasing a 1.17 update as of right now.


Defensive ops API design

The current API design for the DefensiveSaturating trait isn't great - it's unnecessarily monolithic. It should be split into several smaller traits, and then DefensiveSaturating can be retained as a super trait so this won't be a breaking change.
I propose DefensiveSaturating{Add,Sub,Mul}, and then DefensiveSaturatingInc as a super trait of DefensiveSaturatingAdd + One and DefensiveSaturatingDec as a super trait of DefensiveSaturatingSub + One. This will allow users more granular control over the functionality they need, and removes this issue: https://github.com/paritytech/substrate/blob/master/frame/support/src/traits/misc.rs#L367-L368 (why does a type need to me Mul to use defensive_saturating_sub?)
I'm happy to implement this if it's accepted :slightly_smiling_face:

Please, go ahead :)

So after some experimentation, I've hit the following blockers:

DefensiveSaturating's blanket impl depends on Saturating, and Saturating has the same API issues as mentioned in this issue.

sp_arithmetic::Saturating methods take self (and other, where applicable) by value, and num_traits::Saturating{Add, Sub, Mul} take them by reference. The original num_traits::Saturating trait, (which I'm assuming sp_arithmetic::Saturating was originally based off of), takes it's parameters by value, but it's been pseudo-deprecated (not sure why it's not fully deprecated, see https://github.com/rust-num/num-traits/issues/255). To attempt to work around this (since all uses of sp_arithmetic::Saturating take their arguments by value), I created Saturating{Add, Sub, Mul} traits mirroring the current implementation, but that caused more issues than it solved (name collisions and ambiguous method resolution, oh boy!)

Super-traits are a bit of a pain. See this playground link for a full example of the issue: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=134e923ebec434a4996a6934e8274a9c

TLDR is that this can't be done in a backwards-incompatible way (afaict on a Friday night :stuck_out_tongue:). If I'm missing something, please let me know! Otherwise, if this refactor is deemed worthy of a breaking change (which IMO it is, lest these traits get even larger and more unwieldy) then I can open a PR with the changes and relevant fixes. (mostly just replacing sp_arithmetic::traits::Saturating with the required Saturating* traits, and adding a bunch of &)

Arithmetic crates like num_traits should support big nums, so they should pass by reference.  You might as well pass by value if you're just trying to be even more precise than regular Rust about how you handle u64s.

Arithmetic crates like num_traits should support big nums, so they should pass by reference. You might as well pass by value if you're just trying to be even more precise than regular Rust about how you handle u64s.

IMO, the traits should take their parameters by reference, since the traits should be usable by types that aren't Copy. There are currently a few structs within substrate that impl Saturating (that also just so happen to be Copy):

https://github.com/paritytech/substrate/blob/fdff2b23009f25dd42d3a12fee6c998864399de3/frame/democracy/src/types.rs#L50
https://github.com/paritytech/substrate/blob/fdff2b23009f25dd42d3a12fee6c998864399de3/frame/conviction-voting/src/types.rs#L230
but I don't think that take by value should be enforced.


fixes typing errors in auto_restart.py

What does this PR do?

Fixes typing errors in pytorch_lightning/utilities/auto_restart.py as a part of #13445.
Well, this was quite a tough one, as the type of state_dict is not consistent throughout the file. Sometimes its type is Dict[str, Any], the other times, it is Dict[int, Any].
Also, the state attribute in MergedIteratorState can have two types: Dict[int, IteratorState] or Dict[str, Dict[int, IteratorState]], depending on whether the dataset is map-based or iterable. I have applied a band-aid fix which initially sets the type of state to Dict and then conditionally sets it to a more specific type in update method later.
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@carmocca mind review as code-owner?


Use apps/v1 instead of extensions/v1beta1 (required for k8s 1.16)

Issue
As part of installing calico on a kubernetes-in-docker (kind) cluster with version 1.16.1, I ended up with an error of about the use of a now removed apiVersion: extensions/v1beta1 for a DaemonSet. The change required is to use apps/v1 instead as apiVersion.
I failed to locate where I would need to make the change, so I've not submitted a PR to fix it. I'd look for the use of extensions/v1beta1 all over and not only in these files.
Future CI testing of these matters
helm-kubeval or kubeval standalone can help you test for the validity of various k8s manifests on various k8s versions.
Error
kubectl apply -f https://docs.projectcalico.org/v3.10/getting-started/kubernetes/installation/hosted/etcd.yaml

error: unable to recognize "https://docs.projectcalico.org/v3.10/getting-started/kubernetes/installation/hosted/etcd.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"

Relevant yaml
Valid k8s 1.16 yaml (calico.yaml)
# from https://docs.projectcalico.org/v3.10/getting-started/kubernetes/installation/hosted/calico.yaml
# ...
# Source: calico/templates/calico-node.yaml
# This manifest installs the calico-node container, as well
# as the CNI plugins and network config on
# each master and worker node in a Kubernetes cluster.
kind: DaemonSet
apiVersion: apps/v1
# ...

Invalid k8s 1.16 yaml (etcd.yaml)
# from https://docs.projectcalico.org/v3.10/getting-started/kubernetes/installation/hosted/etcd.yaml
# ...
# This manifest installs the Calico etcd on the kubeadm master.  This uses a DaemonSet
# to force it to run on the master even when the master isn't schedulable, and uses
# nodeSelector to ensure it only runs on the master.
apiVersion: extensions/v1beta1
kind: DaemonSet
# ...

@consideRatio we fixed this in Calico v3.8. Please see this similar issue here: https://github.com/projectcalico/calico/issues/2814

https://docs.projectcalico.org/v3.10/getting-started/kubernetes/installation/hosted/etcd.yaml
This specific resource tagged 3.10 still contains old stuff, the same goes for 3.9.

Interesting. That manifest should just be removed - I don't think it's part of out installation process and hasn't been for a long time.

It is referenced here in the v3.9 documentation: https://docs.projectcalico.org/v3.9/getting-started/kubernetes/installation/calico#installing-with-the-etcd-datastore

The etcd.yaml file in question is something that we used to include a long time ago to install a simple etcd cluster for use in demo systems. It was really just meant for our quickstart guide. We removed it a while back since it's not really production ready and we switched our quickstart guide to use the Kubernetes API data store instead of etcd.
We recommend installing etcd following the upstream etcd instructions.
Also worth noting that we have a mode of operation that doesn't need a dedicated etcd cluster at all (using the Kubernetes API / CRDs).


support arrow functions

Demonstrate usage of custom operators, waiting for https://github.com/apache/datafusion/pull/11137

replaced by #26.


fix: make loading animations smoother

Issue: #1003
@HADES-01 noted that the animations in select loading buttons is twitchy and does not seem to animate as expected.
This PR makes minor edits to timing and animation settings for all loading button types except the spin type with the goal of smoothing out animations.
Original:

What this PR proposes:

Resolves #1003

Looks much better thanks!
@all-contributors please add @karleypetracca for code


Page title not displaying correctly.

For some reason it's showing up as "localhost:8000" even though the actual app title should be interpolated into the html in the right place (see https://github.com/lbraun/csr_lookup/blob/master/nodeapp/app/index.html#L11)

Here's a screenshot:


Automatic upgrades

Be able to support automatic upgrades by perhaps developing a system container that periodically probe for new versions and initiate the upgrade...

+1. When can we have docker v1.12?

@SydOps Docker 1.12 hasn't been released yet. If you want to try one of the RCs on RancherOS checkout the docs on using a custom version of Docker.

@joshwget
The document is nice, I will have a try.  Thanks.


galachain init command error/network test error on Windows

Hi everyone!
I'm testing sdk in windows and when i try to initialize a new project the prompt shows me an error as below

basically this errors tells me that cp command are not recognized by windows
when i try in the git bash prompt it's work fine but even ok when a try to run npm run network:start its shows me another error

OS: Windows 11
NodeJS: v18.17.0
Npm: 9.6.7

hey @w3-labs !
here is a 'getting started' documentation that might help you on that.
https://galahackathon.com/v1.0.8/getting-started/
you'll need to use WSL on Windows to initialize the network.

hey @w3-labs !
here is a 'getting started' documentation that might help you on that. https://galahackathon.com/v1.0.8/getting-started/
you'll need to use WSL on Windows to initialize the network.

After use WSL it works fine! thank you


default Y axis has too many tics

Reported by jonathan.s.callahan on 9 Oct 2006 18:45 UTC
Try the following with the attached file:
plot/vs longitude,latitude
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1452

Attachment from<EMAIL_ADDRESS>on 9 Oct 2006 18:47 UTC
shows a Y axis with too many tics
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1452_GIT_727/bug_ytics.gif

Attachment from<EMAIL_ADDRESS>on 9 Oct 2006 18:48 UTC
netCDF file from which the image was generated
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1452_GIT_727/correlation.nc

This no longer happens, pyferret 7.63; the ticket can be closed.


Question about LayerNorm in Wav2vec

Hi @TParcollet ,
I have a question about the layer normalization used in wav2vec for both HF and Fairseq implementations. Why using it on all (batch_size, sequence_length, hidden_size) dimensions of the wav2vec last_hidden_state output instead of just on the hidden_size dimension, as showed in the examples of pytorch doc here (maybe better call it InstanceNorm).
Thanks in advance !
https://github.com/speechbrain/speechbrain/blob/424e7921531b0ea6523557ef0fd6ca249936bd26/speechbrain/lobes/models/huggingface_wav2vec.py#L280-L285
https://github.com/speechbrain/speechbrain/blob/424e7921531b0ea6523557ef0fd6ca249936bd26/speechbrain/lobes/models/fairseq_wav2vec.py#L172-L176

Hi !
I think you are right, I did a mistake like this once if I remember correctly. Do you already know if this has an impact? I don't feel like retraining a model with the change as it is extremely expensive. Could you also provide the correct implementation example ? (With a PR it would be awesome!!!)
Thanks again !

Hi,
Thanks for your response. I didn't test it yet. Let me first run an ASR recipe on it before making the PR :)

Hello again,
I came back with several results on LibriSpeech with this ctc recipe. The new layer_norm of wav2vec output has been done only on the last hidden_size dimension.
I also found that the normalization of wav is done across the wavs in the current code.
https://github.com/speechbrain/speechbrain/blob/424e7921531b0ea6523557ef0fd6ca249936bd26/speechbrain/lobes/models/huggingface_wav2vec.py#L277-L278
But in HF this has been done on each wav. So I also ran some tests with this setup.
https://github.com/huggingface/transformers/blob/a26114777ee1c2802e91bd9cb26a3b39974d52ba/src/transformers/models/wav2vec2/feature_extraction_wav2vec2.py#L81-L100
Here are the results with batch_size=6 and  batch_size=8.
# -- bs6
# current version
Test-clean: %WER 2.05 [ 1079 / 52576, 158 ins, 88 del, 833 sub ]
Test-other: %WER 4.18 [ 2187 / 52343, 307 ins, 131 del, 1749 sub ]
# w/ new layernorm
Test-clean: %WER 1.91 [ 1005 / 52576, 114 ins, 63 del, 828 sub ]
Test-other: %WER 4.00 [ 2092 / 52343, 258 ins, 100 del, 1734 sub ]
# w/ new layernorm, new normalization
Test-clean: %WER 1.87 [ 984 / 52576, 97 ins, 74 del, 813 sub ]
Test-other: %WER 3.92 [ 2053 / 52343, 217 ins, 114 del, 1722 sub ]

# -- bs8
# current version
Test-clean: %WER 1.92 [ 1012 / 52576, 104 ins, 75 del, 833 sub ]
Test-other: %WER 3.99 [ 2088 / 52343, 244 ins, 114 del, 1730 sub ]
# w/ new layernorm
Test-clean: %WER 1.97 [ 1037 / 52576, 108 ins, 78 del, 851 sub ]
Test-other: %WER 4.10 [ 2148 / 52343, 279 ins, 121 del, 1748 sub ]
# w/ new layernorm, new normalization
Test-clean: %WER 2.04 [ 1071 / 52576, 90 ins, 119 del, 862 sub ]
Test-other: %WER 4.00 [ 2092 / 52343, 202 ins, 140 del, 1750 sub ]

The impact seems to be completely different on two batch sizes. What's your idea about that @TParcollet ?

Hehehe no idea! The thing being that currently, the batch size impacts decoding (this will change with the next major release). But I think that we should remain closer to the original implementation ...

Should we make a PR about new layer normalization and wav normalization? The model trained with these changes got 1.87% WER, slightly better than the model in README, using only one epoch.
Looking forward to the new release :)

Yes please !

(we could use the ckpt of the model as well to update HF and GDRIVE).

It can be done in the dataloader. But I already noted that we should add our padded-compatible layernorm on these recipes. Honestly, I wouldn't expect this to impact to much the results ... It's adding regularization.


Bixolon SPP-R210

Thank you Giorgio Fellipe!!  I owe you a beer mate! :)

Thank you dude! I'm glad to help 💃
I'll add this model to the list, thanks!


I'm interested in maintaining this package

Hi @johno,
Chris Alley, author of the Pundit Matchers gem here. I'm a TypeScript developer who is reviewing options for creating "Pundit for JavaScript" that would be used in at least one production application. Rather than creating more fragmentation on npm, I'm interested in adopting or helping to maintain this package.
Some ideas that I have to improve the project include:

Modernise development dependencies (in progress)
Add React tests (in progress)
Add further tests for policy.ts
Host the repo on the Pundit Community GitHub organisation, with multiple maintainers who can come and go.
Split the React code into a seperate package, for example @pundit/react. This would give us the option to create other integrations for Svelte, Vue, etc without increasing the size of the package.
Convert the project to a monorepo, for example managed via pnpm workspaces.
Create Jest/Vitest matchers, similar to Pundit Matchers.
Investigate recreating other parts of Pundit (policy scopes, permitted attributes).
Investigate alternative policy syntax using class methods for policy actions.

Please let me know what your thoughts are. Would this be a welcome future for the project, or better suited to a seperate project?

Hey Chris, that all sounds great to me. I'll add you as an owner to the repo now.
I had plans to revive this puppy sometime in the next couple months since I have a production need as well, so the timing is great!

I haven't heard back from npm regarding the pundit npm organisation, however they did communicate there could be
"significant wait times of up to multiple months". Once I've implemented #43 and #44 the featureset and test coverage should be good enough for me to start using this package in a React project. We can move to multiple packages as a later change.
I suggest we call the project Pundit.js in a formal context to differentiate it from the Ruby gem, while keeping the package name as pundit (similar to Ember's naming approach). If you're happy to do so, you could move the GitHub repo to pundit-community/pundit.js and add me as a maintainer of the package on npm. We have one other owner of the community organisation, @tagliala, who has contributed significantly to the Pundit Matchers gem.

I’m chrisalley  on npm.

Added!

Hi @johno, it looks as if I haven't been granted permission on npm to publish the package. Can you please double check the permissions?
When I run npm publish I see the following after logging in:

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/pundit - You do not have permission to publish "pundit". > Are you logged in as the correct user?
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.

To get the ball rolling I've published version 0.2.0 under the pundit-js package. I'll test this out on a project in the coming weeks.
I mentioned in my original post that it was my preference not to create fragmentation by forking the project, so please let me know if you're interested in sharing the pundit package. Otherwise I'll maintain pundit-js as a fork. In either case, I appreciate the initial work and code reviews.

v0.2.0 has now been successfully published to the pundit package. 🥳
Thanks for sending the invite again. It looks like these invite emails from npm have been going into my junk folder and expire after 1 week.

@johno GitHub has transferred ownership of the pundit organisation on npm to my account. I've sent you an invite to join the organisation.
I'll look into splitting out the React code into a seperate package under the pundit organisation (@pundit/react).

The invite I sent you for the pundit npm organisation expired @johno, so I've just sent another one. I believe they expire after 1 week.

let's go guys
Comming from ruby to now doing js full time (nestJS) it's astonishing how things are complicated for no reason
We need this
If you are looking for help, I might have a few hours per week to give

Hi @ngouy, thanks for the offer. I think the initial React implementation is mostly there and my intent is to iron out any remaining issues and then split the React code into a seperate package. It would be great to get some perspective on using this from a NestJS perspective. What framework you using for the frontend?


docs(card-media): update readme with aspect ratio requirement

Codecov Report

Merging #752 into rc0.11.0 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           rc0.11.0    #752   +/-   ##
========================================
  Coverage      94.8%   94.8%
========================================
  Files            73      73
  Lines          2928    2928
  Branches        448     448
========================================
  Hits           2776    2776
  Misses           50      50
  Partials        102     102

Continue to review full report at Codecov.

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


Add Quobyte software storage to cloud-native landscape (cloud-native storage)

Deploy preview for landscape ready!
Built with commit 7c5fa4bdf60741e8b3808402f0f0ac154ba28724
https://deploy-preview-359--landscape.netlify.com


Issues Template: Redirects users to union repository

This PR changes ISSUES_TEMPLATE.md to redirect users to file issues in union repository.

This change is

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

ISSUE_TEMPLATE.md, line 1 at r1 (raw file):

If you would like to get help from the community, our [Google group](https://groups.google.com/a/tensorflow.org/forum/#!forum/tfjs) might be a better fit.

can you leave this bit about the google group?

Comments from Reviewable

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from Reviewable


documentaion: no proper techstack

there is no proper maintain techstack row . i wil make it  properly for user can find it our code

i am new at gssoc24 . can you assigned it to me

share SS or any preview of how it will look after doing changes.

Hey @Debayan-Ghosh2005 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Fix #59 Use Posix for slasher

We should use Posix for path normalization (a.k.a. slasher).
Currently, we are using glob-slash. But the project has not been maintained for the last 4 years, I think it make sense to make part of the code to serve-handler and we fix it here.
This will fix #59 since redirects and rewrites are essentially not working at all on Windows.

I've tested this change locally in a Windows project, and am able to confirm that both rewrites and headers are functional with this change.

Hello @leo, would be a huge help if you get a chance to review this. Thanks.

Thanks for writing and reviewing this, folks! I rewrote it a little and removed the glob-slash dependency.


Use snabbdom as render instead of virtual-dom

snabbdom is faster, lighter and has internal suport for animations. Nowdays cycle is using this library.

PR coming soon, I hope? 😉

Looks interesting, thanks for the heads up!

Alex Mingoia researched some more alternatives: https://github.com/alexmingoia/purescript-pux/issues/45#issuecomment-229181252

Since we build an intermediate HTML representation anyway for our own uses, maybe it makes sense to use something like incremental-dom to directly interpret it into DOM updates rather than into another virtual representation.

Closing this now as there was a similar discussion recently in #350. Hopefully we'll just be providing a driver for https://github.com/slamdata/purescript-halogen-vdom with Halogen, and then can have other projects for React/virtual-dom/snabbdom/etc drivers for those who prefer to use them.


es-module-shims script tag inserted above import map by htmlInject()

Hi Guy,
Using the es-module-shims tag I'm finding that in some cases it doesn't kick in correctly - specifically on Firefox. I get an error:
Uncaught TypeError: Error resolving module specifier “react/jsx-runtime”. Relative module specifiers must start with “./”, “../” or “/”.

From what I understand, this is because the generator outputs the import map script below the es-module-shim script in the HTML head, instead of the other way around:
<!-- Generated by @jspm/generator - https://github.com/jspm/generator -->
<script async src="[https://ga.jspm.io/npm:es-module-shims@1.5.13/dist/es-module-shims.js](view-source:https://ga.jspm.io/npm:es-module-shims@1.5.13/dist/es-module-shims.js)" crossorigin="anonymous"></script>
<script type="importmap">
{
  "scopes": {
    "../": {
      "@apollo/client": "https://ga.jspm.io/npm<EMAIL_ADDRESS>      "@emotion/cache": "https://ga.jspm.io/npm<EMAIL_ADDRESS>      "@emotion/react": "https://ga.jspm.io/npm<EMAIL_ADDRESS>      "@mdi/js": "https://ga.jspm.io ...

From what I understand, this is because the generator outputs the import map script below the es-module-shim script in the HTML head, instead of the other way around

This is actually a bug in ES Module Shims, and was supposed to have been fixed in the latest version. Can you share a replication of the case that isn't working?

This is now resolved in<EMAIL_ADDRESS>


Chats in compare mode are renamed on "Regenerate response" button; second regenerate causes exceptions and created two extra chats

EPAM AI DIAL chat version
0.6.0
What happened?

Create two conversations in compare mode (use corresponding button at the bottom)
Type and sent a message. e.g. test-> two chats are created with names "test" and "test 1"
Click on "Regenerate response" button -> two chats are renamed to "test 2"-> bug
If to click on "Regenerate response" again, exception in console appears and compare is totally broken

Expected result: no chat renaming on Regenerate response
Confidential information

[X] I confirm that do not share any confidential information

Verified this particular case successfully, but reported #921  The second chat in compare mode is renamed each time if to send new messages #921


Added flag for event to be able to add grouping for talks

Once we add a same flag for certian talks we can mark them as track, base filters etc...

Codecov Report

Merging #327 into v2.0 will increase coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##            v2.0     #327      +/-   ##
=========================================
+ Coverage   84.1%   84.19%   +0.09%
=========================================
  Files         27       28       +1
  Lines       1019     1025       +6
=========================================
+ Hits         857      863       +6
  Misses       162      162

Impacted Files
Coverage Δ

konfera/models/talk.py
100% <100%> (ø)
:arrow_up:

konfera/migrations/0002_auto_20170921_0846.py
100% <100%> (ø)

Continue to review full report at Codecov.

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

Yes, you are right. Thanks for spotting it.


Fix GO:0060966 regulation of gene silencing by RNA branch to be consistent with the non-regulatory branch

[ ] GO:0060964
-name: regulation of gene silencing by miRNA
+name: regulation of  miRNA-mediated gene silencing
[ ] GO:0060965
-name: negative regulation of gene silencing by miRNA
+name: negative regulation of  miRNA-mediated gene silencing
[ ] GO:2000637
-name: positive regulation of gene silencing by miRNA
+name: positive regulation of  miRNA-mediated gene silencing


How --strictAny will support any in a contravariant position?

I'm very sorry if this is not the place for this, but since #24593 is closed I am opening a new, more specific issue.
This is all related to #24423 (--strictAny).
In #24593 @DanielRosenwasser said:

There are some issues with signatures like (x: any, y: any, ...zs: any[]) => any.

Now any is subject to contravariant checking.
Again, can tell users to use never instead of any.

For me this is a major concern since the pattern (...args: any[]) => any is now the best way to represent a generic function type.
I suppose this can be a generic type-safe function (in the type-safe sense that neither arguments nor return can be used freely without an assertion of some kind):
(...args: never[]) => unknown

Assuming an unknown type as described here #24439. Again as mentioned, never seems very counterintuitive in this scenarios, the same for
foo({ /*...*/ } as never)

Semantically, that seems you telling "don't worry, type-checker, that value can never occur". I believe the weird part is the name never and not the semantics of never itself.
So I guess my questions are:
With the --strictAny flag enbled, which is the preferred idiom to any in a contravariant position? Will be never a more prominent type and suggested by the TypeScript team? Maybe there are plans to support a different pattern for this (should variadic types help here?)?
Thank you very much in advance.

FWIW you can always comment in closed issues; we do read/reply to those, especially design meeting notes.
The PR notes mention special-casing ...args: any[], which I think is what we'd have to do.
Usually for never, I explain it as "the type of a value that is never observed", which is true of e.g. the return type of functions that always throw, but the explanation holds if you slightly reinterpret "observed" to mean "looked at" - you can have a value of type never so long as you never actually look directly at it.

For what it's worth, I don't think that --strictAny is a direction that we're going to be taking given the sorts of hoops it often forces users to jump through. Details to come.

@RyanCavanaugh

FWIW you can always comment in closed issues; we do read/reply to those, especially design meeting notes.

Ok, thank you. I'll take note of that, I'm sorry :blush:

The PR notes mention special-casing ...args: any[], which I think is what we'd have to do.

Yes, you're right. But since there was suggested the possibility to remove that exception and encourage to use never instead I asked about those.

Usually for never, I explain it as "the type of a value that is never observed", which is true of e.g. the return type of functions that always throw, but the explanation holds if you slightly reinterpret "observed" to mean "looked at" - you can have a value of type never so long as you never actually look directly at it.

I like that interpretation of never. I have to admit the code still looks a little strange, but I think it's just a thing of get used to it. Was never planned for this kind of uses?

@DanielRosenwasser

For what it's worth, I don't think that --strictAny is a direction that we're going to be taking given the sorts of hoops it often forces users to jump through. Details to come.

Oh, well, I'll be expecting those details then.
Was the main issue the proliferation of any's in the libraries and type definitions out there?

I think a lot of the conversation in the design meeting notes actually elaborates on it, but very offhandedly, I'd sum it up as

General pain
Widespread assumptions about bidirectional assignability for any (even in the compiler!)
Reluctance to prescribe never.
Incompatibility in existing declaration files.

In addition to the above, I think the results of turning on the flag inside the compiler were informative. Our general policy is never to use any to "shut up" the type system, we generally write very explicit types, and we don't have any community-written .d.ts files mixing in "external" anys.
Turning the flag on found some assumptions in the tsconfig parser that no one has really noticed (i.e. it looks like you will crash the compiler if the top-level tsconfig content is the literal string "null"), and a bunch of what I would consider noise. There was one instance of new Array that we didn't realize was making an any[]. Every other strict flag we've turned on has found at least one real bug (or at least a "true unsoundness" where something only happened to work) with reasonably minimal noise.
I would honestly hate for this flag to be turned on automatically in a codebase I was maintaining - I just wouldn't expect it to yield any value; teams that are "careful" about not introducing anys tend to be very successful at having that not happen, and are only using any where they really don't get value from the type system.

@InExtremaRes Sorry for the silly question: when you say that (...args: any[]) => any is the best way to represent a generic function, do mean generic in the sense that you can call it with any input and the output can be used in anyway?
I know you define type-safe when you say generic type-safe, but I'm not sure what you mean by generic. I feel this is obvious to others, I'm just not really sure I understand all the issues with any in contravariant positions.

@jack-williams

[...] do mean generic in the sense that you can call it with any input and the output can be used in anyway?

Yes, basically. Maybe you are trying to constraint a generic to be an any function type, just like the ReturnType<T> type.
Maybe you need to pass a printf-like function (don't know why):
function setLogger(prinftLike: (m: string, ...args: any[]) => void) { /*...*/ }

Perhaps you have a curry function that currifies the first argument; without variadic types this can be:
function curry<U, R>(fn: (a1: U, ...args: any[]) => R, a: U) {
    return (...b: any[]) => fn(a, ...b);
}

Or just any time you need a function of any kind, even if you are not going to call it yourself. I am not saying these are good patterns or that it is the best way to do it, just giving examples of what I mean.

I'm just not really sure I understand all the issues with any in contravariant positions.

As you probably known, with --strictFunctionTypes flag the arguments positions are checked contravariantly:
declare let f1: (arg: T1) => void;
declare let f2: (arg: T2) => void;
f1 = f2;

So for that last assignment to work T1 must be assignable to T2.
If any cannot be assigned to anything and without an exception as noted in the PR, then this would happen:
declare function bar(a1: string, b2: number): void;
function foo1(fn: (...args: any[]) => void) { /*...*/ }
function foo2(fn: (...args: {}[]) => void) { /*...*/ }

foo1(bar); // :)
foo2(bar) // type '{}' not assignable to type 'string' :C

I am using the empty object type {} since is a type that cannot be assigned to anything but anything can be assigned to it, similar to how any could work in this situations with --strictAny enabled.
I am sorry if I'm over explaining here or I'm not answering your question at all.

@InExtremaRes

I am sorry if I'm over explaining here or I'm not answering your question at all.

No at all, I appreciate the very detailed explanation. I now understand the problem. Where I was getting lost is that in your example:
declare function bar(a1: string, b2: number): void;
function foo1(fn: (...args: any[]) => void) { /*...*/ }
function foo2(fn: (...args: {}[]) => void) { /*...*/ }

foo1(bar); // :)
foo2(bar) // type '{}' not assignable to type 'string' :C

I think of the any as being in a covariant position rather than contravariant; the any is contravariant in fn, which is itself contravariant in foo1.

@DanielRosenwasser should we remove it from the 3.0 roadmap for now?

@mhegazy removed it from the roadmap. I've elaborated on the decision here: https://github.com/Microsoft/TypeScript/issues/24737


api plugin arrange

LGTM
but we need another PR to improve the params of the plugin/Init() function:
Init(Param_1, Param_2, Param_3)

Still we don't have a good way of separation  between a plugin and main program, somehow mixed together both design and coding perspective.

@cmingxu   in my opinion that was we definition plugin too arbitrary. some plugin like a pkg such as registryauth, and we import it in the main program

/cc @vitan


#100 add host disk metrics to measurements

As part of completing #100 needed to refactor quite a bit with measurements, including:

grabbing the unit description from the API
Changing the _friendly method to use the unit description to properly render bytes of numbers.
Moved measurements classes to its own module (measurements.py)
had to refactor tests

Cancelling this, and will merge with the PR for #92


BL702 usb device not working

usb cdc example freeze after request device descriptor

Works good, no problem.

Crash is there: https://github.com/bouffalolab/bl_mcu_sdk/blob/master/drivers/lhal/src/bflb_usb_v1.c#L548

host is MacOS, presumably endpoint control data readed as out data.

No other information i cannot help you.

@andryblack it seems that macOS have some weird issue with USB CDC generally. I was forced to reduce CDC buffer sizes to get anything to work at all during ISP omde.

It is not cdc issue, crash occur on early, enumeration stage after request first descriptor. CDC on Mac OS works perfectly with correct code, for example with stm32 chips. I can produce minimal example.

@andryblack it seems that macOS have some weird issue with USB CDC generally. I was forced to reduce CDC buffer sizes to get anything to work at all during ISP omde.

I'm having the same problem on macos, can't upgrade via BLDevCude, how did you reduce the cdc buffer sizes to get the ISP to work, can you share? thanks

I am experiencing the same issue.
SOC: BL702 Board:RV-Debugger Plus.
I think it may relevant to clock or host os.
I 'm less occur this issue on linux.
However, I found the old sdk which sipeed used to develop RV-Debugger Plus are very stable.
https://github.com/sipeed/bl_mcu_sdk/tree/1cf3d1455b3baf66a9e3237365fcdfd69d821487
Demo project:
https://github.com/metro94/RV-DAP-Plus


/confirm-address typo - please add a question mark after 'Is this your current address?'

tagging @joannesouthern to this

done in test


Short solution needed: "How to catch exceptions" (lua)

Please help us write most modern and shortest code solution for this issue:
How to catch exceptions (technology: lua)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to catch exceptions


MATLAB & Objective-C confused

I haven't written a lick of code in Objective-C, but Sourcerer sure thinks I do :-) I can understand why, but it would be great if there's a way to do a more advanced syntax analysis to differentiate between the two languages with unfortunately identical file suffixes.

@mcg1969 could you please provide an example of your matlab code which is recognized as objective-c. I believe our samples [1] don't cover your case.
[1] https://github.com/sourcerer-io/sourcerer-app/tree/develop/src/test/resources/samples/Matlab

Feel free to take anything from either of these:

https://github.com/cvxr/CVX
https://github.com/cvxr/TFOCS
Again, I've written no Objective-C, so all of the 681 commits and 110775 LOC being reported on my profile are actually MATLAB.

I imported all samples above, and no one of '.m' files was recognized as 'objective-c' (there's two of them recognized as mathematica, but it is a different story). @yaronskaya any ideas, where where it gets broken then?

here's matlab samples pull request - https://github.com/sourcerer-io/sourcerer-app/pull/342

@asurkov if this is merged and deployed, could you close the issue?

All I know is that my profile still claims I'm a prolific Objective-C developer.
https://sourcerer.io/mcg1969

@sergey48k right, PR is merged, but the issue is not fixed yet. Let me follow up with @yaronskaya on this.

Hi @mcg1969!
Your profile was updated. It's a proper Matlab developer profile now :)
Feel free to reopen the issue if you have any other problems.

Thank you for working on this! Unfortunately, something still seems amiss.
For one thing, my pie chart has a nice big section for "Wolfram". I've never programmed in that language, ever.
Secondly, my most "important" repository, subjectively, is CVX; and for some reason, in the "Repository Facts" section, it claims that it's HTML (it's Matlab, though there is some auto-generated HTML documentation) and that it use "cookie" technology, which as far as I know, it doesn't. Again, it's fair to detect that there is HTML in there; but that seems like a reasonable pattern to expect HTML documentation (and, in my case, ReStructured Text as well) inside a code repo.
So it still seems like the language detection logic isn't quite there yet.

@anatolystansler for some reason I can't reopen the issue; your permissions must be set to disallow that.

@mcg1969 Wolfram is used as a fallback language, when content of *.m or *.nb file extensions is not recognized. Do you have repos other than CVX and TFOCS, which have *.m or *.nb files?

I'm afraid I do not. But I'm quite surprised that there isn't enough distinctive MATLAB in either of these modules to properly alert you!

Actually, I've contributed to the repos in this org as well, but less: https://github.com/sqlp


Remove deprecated functions

Current coverage is 85.37%

Merging #77 into master will increase coverage by +0.70% as of c84d142

@@            master     #77   diff @@
======================================
  Files           78      78
  Stmts         5376    5326    -50
  Branches         0       0
  Methods        318     310     -8
======================================
- Hit           4552    4547     -5
  Partial          0       0
+ Missed         824     779    -45

Review entire Coverage Diff as of c84d142

Powered by Codecov. Updated on successful CI builds.

I have added the code. It's kind of dirty but it compiles.


Add configuration for stale probot

This PR configures https://probot.github.io/apps/stale/ (which I installed separately) to mark all tickets inactive for 90s as stale - and to close stale tickets 7 days later.
This is a step towards applying discipline to the influxdb repository issue cruft.
Separately, Russ and I are creating a triage process for new issues and community PRs.

LGTM. in the future, i can see us adding a "support" label.


Ensure we ignore the case of the answer

Came across this while working on #52, testing it against blog.wyrihaximus.net (which is a CNAME for my blog hosted on amazon cloudfront) yielded Blog.wyrihaximus.net as answer. The filter used in the resolver is case sensitive, this PR ensure's it isn't.

@clue next release makes most sense to me to set it to v0.4.5


Initial commit of home-assistant-solarfocus custom integration

[ ] Implement client library (https://pypi.org/project/pysolarfocus/ / https://github.com/LavermanJJ/pysolarfocus)
[ ] PR for home-assistant wheeler repo (https://github.com/LavermanJJ/wheels-custom-integrations)
[ ] PR for home-assistant brand repo (https://github.com/LavermanJJ/brands)
[ ] Write up readme

https://github.com/home-assistant/brands/pull/3463

https://github.com/home-assistant/wheels-custom-integrations/pull/633


Enable Strong Mode

Ultimate problem:
This package was not strong mode compliant (see: here for more explanation).
And it looks like Dart SDK 1.16.0 will include the dev_complier so it would be good to get react-dart in compliance sooner rather than later.
How it was fixed:

Added .analysis_options file (see: here for more explanation).
Got rid of strong mode warnings.

Most fixes were just making explicit conversions rather than implicit.

Testing suggestions:

Pull this down in Atom or WebStrom there should be only one hint which is the use of getDomNode which is deprecated.

If not using Atom or WebStrom run dartanalyzer --strong lib/**.dart.

Areas of regression:
N/A

FYA: @hleumas @trentgrover-wf
FYI: @aaronlademann-wf @greglittlefield-wf @clairesarsam-wf @joelleibow-wf @dianachen-wf

+1

+1

+1

merging

@jacehensley-wf I merged this too quickly - it looks like there are 2 failing unit tests here.  can you fix them in another PR and then I'll tag 1.1.0


[Packaging] Making this wallet available as flatpak package on FlatHub

Hi. It will be very useful for Linux users if this wallet become available as flatpak on FlatHub.
Flatpak is a universal secure package system support most of Linux distros & users. If this wallet become available on FlatHub as flatpak, then it will be available for almost all Linux users.
Flatpak on FlatHub will allow easy & TRUSTED installation of applications.
All applications on FlatHub are protected by a signature system that insure that no hacker intrusion happened for flatpak packages hosted on it.
With FlatHub no need for manual verification of downloaded package, all done automatically.
The head members of FlatHub prefer from packagers - if their packages are of open source applications - they prefer them to make their flatpak packages as deterministic (reproducible) packages .....
Flatpak allow for automatic updating which is much better than the case of with AppImage formate.
FlatHub home address:
https://www.flathub.org/home
FlatHub repositories are:
https://github.com/flathub
You can post your PR to add this repositories at:
https://github.com/flathub/flathub/pulls
Flatpak sites are:
https://flatpak.org/
https://github.com/flatpak/flatpak
https://docs.flatpak.org/en/latest/

@reubenyap
Thank you too much for taking this issue on your road !
Please notice that I'm posted about the same at https://github.com/zcoinofficial/zcoin-client/issues/127
So, please take action for what should be done with above link: should be closed ?


调用CharTabel，把“幺”改为“么”不合理

Describe the bug
A clear and concise description of what the bug is.
调用CharTabel，把“幺”改为“么”不合理，虽然 么 也有1的意思，且也有发音为yao的，但是么通常不代表幺的意思，且幺字已经是正则化的，没有必要进一步改变，需要去掉CharTable.txt里面幺=么
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
 System.out.println(CharTable.convert("幺妹的手机号码是幺三二开头的"));

Describe the current behavior
A clear and concise description of what happened.
么妹的手机号码是么三二开头的
Expected behavior
A clear and concise description of what you expected to happen.
幺妹的手机号码是幺三二开头的
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): win10
Python version: java
HanLP version: 1.7.6

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

[x] I've completed this form and searched the web for solutions.

感谢反馈，已经修复，请参考上面的commit。
如果还有问题，欢迎重开issue。


User want's a visualization of the audio paying on a screen

[thgreasi] This issue has attached support thread<EMAIL_ADDRESS>

Hi @chrisys and @thgreasi
I thought about this and did some research. 👓
balena-io-projects has a project named balena dash: https://github.com/balena-io-projects/balena-dash
It uses this image for displaying the browser: marhoy/balena-wpe
The image is very minimalistic and has only the needed commands.
After some more research i found this project, also from balena: https://github.com/balena-io-projects/balena-wpe
It has the code for building the image above.
I also found a visualizer for this request: https://github.com/dpayne/cli-visualize
I tried to install it, but found a huge problem:
The image has no apt and no resources like make gcc autoconf and cmake for building anything.
Is there a way to build this image and to add apt in it?
If there is a way let me now.
By the way: I have no fast PC, so if you want me to build the image it wouldn´t work. :)

Found a better way: https://github.com/balena-io-playground/x11-window-manager

Hey @AlexProgrammerDE ,
Which Dockerfile.template did you try and there is no apt? For example for the Bluetooth audo container of this repo, I expect apt to be available, since it's bases on debian strech. You will probably need to run an update first (apt-get update && apt-get install gcc for example), since the base images have an empty apt cache, so that their size doesn't increase with data that will eventually become outdated.
Anyway, in balenalib base images we additionally provide the install_packages helper, which streamlines the process of installing a package & clearing all caches, so that the image size stays to the minumum.
You can see that this is already used in:
https://github.com/balena-io-projects/balena-sound/blob/45619d135ce0997a025ebf23a7d020b3ef70b358/bluetooth-audio/Dockerfile.template#L7-L13

Sorry for the noise of accidentally closing & re-opening, is was because of a miss-click :disappointed:

Yeah, i know what you mean. In the image i mentioned in my long message is different from the one in the bluetooth container, but i found this project: https://github.com/balena-io-playground/x11-window-manager , which is very usefull for your idea. It installs a desktop and some other features. It is also compatible with the touchscreen. I am searching for a application, which implements audio visualisation. I found projects like cava, cli-visualizer and glava, but dont know how to implement them. :(


Fix bug in framing timestamps

@jorshi mainly it's me being paranoid due to trying to reverse engineer the actual hop size from code that doesn't explicitly return timestamps. agree that it's not a bug, just a potential gotcha for users.


Add field conversion for Patient - contact:relationship

Hey Paul, added the contact_relationship field to the Patient model class.


DistributedStorageMixin.exists() is called twice

HEAD request is sent twice to webdav server upon file upload. I believe this is due to DistributedStorage._save method:
def _save(self, name, content):
    # This is really prone to race conditions - see README.
    name = self.get_available_name(name)
    DistributedStorageMixin._save(self, name, content)
    return name

The line "name = self.get_available_name(name)" is probably not necessary, because django default Storage.save() method already calls it (https://docs.djangoproject.com/en/1.3/howto/custom-file-storage/#save-name-content ):
def save(self, name, content):
    """
    Saves new content to the file specified by name. The content should be a
    proper File object, ready to be read from the beginning.
    """
    # Get the proper name for the file, as it will actually be saved.
    if name is None:
        name = content.name

    name = self.get_available_name(name)
    name = self._save(name, content)

    # Store filenames with forward slashes, even on Windows
    return force_unicode(name.replace('\\', '/'))

Is this a bug?

Indeed, this appears to be a bug. I'll double-check and write a patch as soon as possible. Thanks for noticing!

I added extensive tests in cdb2f11edb to validate that there are no other similar problems.


Create a single nox command to setup & run a manual test environment

Description
Right now it's too error-prone to setup your local dev environment for manual testing. If you're comfortable with nox, docker, and using Postman to manually setup data via the API, you can make it work, but it's not a repeatable setup that we can rely on for release-level verification or building more sophisticated, reliable automated E2E test suites.
For this ticket, we need to create a single nox build command to setup & run a "manual test" environment locally (e.g. nox -s manual_test) to be used for manual regression testing, which:

Runs all Fides services (server, ui, shell, privacy center)
Automatically injects the necessary secrets
Runs the basic “test setup scripts” (see #1291)
Allows the engineer to manually test CLI commands and UI features with no additional steps required

Acceptance Criteria

MUST be a single nox command (e.g. nox -s manual_test or similar)
MUST run webserver, Admin UI, Privacy Center, and shell
MUST run the basic "test setup scripts" to configure the environment with data for both data mapping & privacy request automation

@NevilleS given the performance issues on M1 chips with SQL Server enabled, do we want to have separate "slow and everything"/"fast and missing sqlserver" commands here? Or truly a single command that spins up everything always and has a performance penalty for M1 users?


Where would the imagenet weights saved from the training?

I would like to use them for DRLwithTL-Real on the physical drone.

When you run the training, it outputs the path where the weights will be saved. The path name depends on yout configuration. Usually it is saved at
models\trained\<env-type>\<env-name>
example:
models\trained\Indoor/indoor_vanleer/

How would you use the files from the path saved and where would you save them in DRLwithTL-Real?


API as a service?

Hi @abi,
I have been working on an AI-driven automatic website generation platform which looks roughly like the following:

users submit ideas on website topics (e.g., "smart mailboxes");
a language model and a text-to-image model work together generating website screenshot proposals;
users may select the preferred proposal or discard them all going back to step 2.;
users may refine the preferred proposal going back to step 2.;
users finalize the proposal with a model generating the website code in the preferred JS framework.

Thus far, I am keeping things simple allowing only single-page webapps (SPAs) and completing step 4. manually on the website.
Are there any plans of exposing the screenshot-to-code website functionality as a REST API?

@DiTo97 hey, that's a really cool idea. I'm not planning to support an API at the moment but I'm interested in hearing if others have a similar use case. For now, since this is an open source project, you can deploy the backend to something like Render (which is what I use) and host the API yourself. Does that work for you?

Please do share it. That would be great!


Update request: go 1.21.8 → 1.22.1

Package name: go
Latest released version: 1.22.1

Current version on the unstable channel: 1.21.7
Current version on the stable/release channel: 1.21.8

[x] Checked the nixpkgs pull requests

Notify maintainers
@zowoq @kalbasit @Mic92 @qbit @mfrw

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

go 1_22 is availble on unstable channel
nix run nixpkgs#go_1_22 -- version
go version go1.22.1 linux/amd64

default go 1_22 has been also been merged https://github.com/NixOS/nixpkgs/pull/290212
it just going to take a while before it lands unto unstable, since it requires to ensure that all go packages in nixpkgs build with go_1_22
you can read more about staging workflow
https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging


consider teaching this lesson at the beginning and at the end of the workshop

first show the problems with reproduciblity, and at the end what we have learned to increase reproducibility

Good idea but now we converged towards having this on the second day. We may reconsider later but now I close this.


Error no implicit conversion of nil into String for upgrade --greedy

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.18-16-g6c80308
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6c8030829094a5d3f41dd92caddefd45711b68c3
Last commit: 9 hours ago
Core tap JSON: 15 May 04:09 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_AUTO_UPDATE_SECS: 300
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /usr/bin/env nvim
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit skylake
Clang: 14.0.0 build 1400
Git: 2.40.1 => /usr/local/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 12.6.6-x86_64
CLT: <IP_ADDRESS>.1.1668646533
Xcode: N/A

What were you trying to do (and why)?
Update software with brew upgrade --greedy
What happened (include all command output)?
% brew upgrade --greedy
==> Upgrading 4 outdated packages:
Error: no implicit conversion of nil into String
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:84:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:84:in `Pathname'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:84:in `can_load?'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:175:in `can_load?'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:419:in `block in for'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:418:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:418:in `for'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:405:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/upgrade.rb:105:in `block in upgrade_casks'
/usr/local/Homebrew/Library/Homebrew/cask/upgrade.rb:97:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/upgrade.rb:97:in `upgrade_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:253:in `upgrade_outdated_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:137:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'

What did you expect to happen?
The command to run without error
Step-by-step reproduction instructions (by running brew commands)
brew upgrade --greedy

same here

Please post the output of brew outdated --greedy.

% brew outdated --greedy
arduino-ide-nightly (latest) != latest
firefox-nightly () != latest
google-chrome-canary (115.0.5763.0) != 115.0.5771.0
tor-browser (12.0.5) != 12.0.6

It doesn't seem to be related to a specific program

It should be related to those that show (), which means no installed version is found.
Please brew install tree and post the output of tree -a "$(brew --caskroom)/<cask>/.metadata" for a <cask> that shows ().

❯ tree -a "$(brew --caskroom)/font-fira-mono/.metadata"
/opt/homebrew/Caskroom/font-fira-mono/.metadata  [error opening dir]

0 directories, 0 files

Running brew reinstall font-fira-mono seems to have fixed font-fira-mono now
❯ tree -a "$(brew --caskroom)/font-fira-mono/.metadata"
/opt/homebrew/Caskroom/font-fira-mono/.metadata
├── 3.206,4.202
│   └──<PHONE_NUMBER>0911.334
│       └── Casks
│           └── font-fira-mono.rb
└── config.json

4 directories, 2 files

Yes, brew reinstall should fix this. Should be addressed by https://github.com/Homebrew/brew/pull/15432 so the correct error message is actually shown for this case.

Thanks! An reason why it broke in the first place plz?

I assume these were silently broken for a while, but recently the logic for determining the installed version changed and is now more strict, which is why it broke now.

hmm, I installed both of the broken ones for me literally last week on a new laptop. ¯_(ツ)_/¯

As to why they were silently broken: Maybe a previous failed installation/upgrade.

 According to my Time Machine backup, this was already the case since at least March. No idea how they got broken though.


Add edit buttons to Name and Websites sections

As called out in the 1/20/2022 meeting notes and in issue #295, there is currently no icon indicator for editing a person's name or website list.
Edit Name
Name is managed by ODR. Clicking the button should take them directly there (just like the Roles edit button).
Edit Websites
Websites are managed by Elements. Since accessing accessing and using Elements tends to be more involved, include pop-up that says:
Websites  are managed via the "Web addresses and social media" section of your UC Publication Management System profile. Clicking the "Edit Websites" button below will redirect you to the UC Publication Management System. Any changes made there will be reflected on your Aggie Experts profile.
Lay out and style this pop-up just like the one that you see when you click on the edit button for Subjects:

Profile Editor View Mockup

@sbagg T hs already quite similar to the other oapolicy link.


Add the Iodine server + Websocket support feature + suggestion for Static File feature

I'm the author of iodine and I love using it in my apps, especially with it's native Websocket support.
I thought I'd share the joy.
I also added a suggestion for the Static File server feature. Both iodine and passenger support this (iodine supports pre-compressed gzip detection as well). It's something people sometimes look for, so I think it would be helpful to mention.
While I was editing the file, I also added the Websocket support column.
It might be a bit early to add it, but iodine supports native Websockets and I was discussing it a while back both with the Puma and the Passenger teams and we came up with an outline for the Websocket Rack Specification...
I guess each server will probably implement variations on the theme proposed, but it might take a bit of time before some road blocks related to the C10K issue are cleared.
Anyway, I was hoping that adding the feature to the list will push things forward.
Thanks for a great listing and all the details.
B.

@boazsegev Thanks for Lodine. Thanks for updating the awesome page. Keep it up. Cheers.

@geraldb  Thanks for the quick response! 🙏🏻☺


Ubuntu PPA

Hello!
I see you're distributing Debian packages as GitHub downloads.  Would you please create an Ubuntu PPA for the convenience of your users?
Thanks,

We don't have experience on setting up Ubuntu PPA. Contributions are welcome.


Datatable Search with filter options

Summary of problem or feature request
We had a working datatable with the default search function and we implemented an extra filter option to limit the results based on the filters.
Once we implemented the filters the default search stopped working. If we disable the ->filter() option the search works again.
How we can have both filter and search working together?
System details

Operating System: centos Linux 8.5
PHP Version: 8.0.18
Laravel Version: 8
Laravel-Datatables Version
"yajra/laravel-datatables": "^1.5",
"yajra/laravel-datatables-oracle": "~9.0"

In order the search to work I have added a named property on the default search field and then on the filter options on the controller together with the rest filters I have added the search.

In order the search to work I have added a named property on the default search field and then on the filter options on the controller together with the rest filters I have added the search.

You can use https://yajrabox.com/docs/laravel-datatables/master/manual-search#with-global-search or https://yajrabox.com/docs/laravel-datatables/master/filter-column for this. Thanks!


pin pytorch version, update remote_gen

pytorch version reference: https://pytorch.org/get-started/previous-versions/#linux-and-windows-7
confirmed was able to serve and deploy locally:

should also fix this issue: https://github.com/modal-labs/quillman/issues/12


Create routes, controller, and views for users and posts

For each URL I create:
A route.
An action in the correct controller.
A view file.
View files include only placeholders written in plain HTML, e.g:
I added code to handle only the 4 required URLs.

Bro from my site it is working fine, I don't see any issue in my migration, may be you can meet me on slack to find out the problem


FYI for the USA Audience

Just an FYI,
You have to change the dates in the Headway.SeedData project's _products.csv file to an American date format or it will crash on line 311.

I have updated the _products.csv seed file with dates persisted in the universal format "yyyy-MM-ddTHH:mm:ss.fffz". It is parsed at startup using DateTime.ParseExact(dateString, "yyyy-MM-ddTHH:mm:ss.fffz", null) where passing null for the provider specify the current culture be used for parsing the string - MSDN.

Awesome response time. U rock!


Fix not closing after data received

In many cases, we receive data and then the stream end. The ReadableResourceStream was not closing the stream on end as it's expected to be done.
This commit adds a test that exposes the problem and suggests a fix in the related class.

@Nek- Thanks for reporting, but I'm not sure I can currently reproduce the problem you're seeing.
It's expected behavior that the stream emits a final data event with some data and then only detects the end in the next loop tick. Is this the problem you're seeing?

@clue checkout the test case I suggested. It's failing in this case.

@Nek- That's right. It should report an end event just fine the second time its handleData() method is called (that's the event-loop listener attached via addReadStream()). Can you confirm this? :+1:

If I understand correctly what you are saying, I made a mistake in my test-case and it should be the following, right?
        $conn = new ReadableResourceStream($stream, $loop);
        $conn->on('data', function ($data) use (&$capturedData) {
            $capturedData = $data;
        });
        $hasEnded = false;
        $conn->on('end', function () use (&$hasEnded) {
            $hasEnded = true;
        });

        $conn->handleData();
+        $conn->handleData();
        $this->assertTrue($hasEnded);
        $this->assertSame("hello\n", $capturedData);

But this case is not reflecting the reality, if in the tests handleData is called by ourself (for test purpose) in the real world, it's called by the event loop, which will not call it one more time if there is no more data and the stream is finished.
You could basically replace my test case with the following:
        $conn = new ReadableResourceStream($stream, $loop);
        $conn->on('data', function ($data) use (&$capturedData) {
            $capturedData = $data;
        });
        $hasEnded = false;
        $conn->on('end', function () use (&$hasEnded) {
            $hasEnded = true;
        });

        while (!feof($stream)) {
            $conn->handleData();
        }

        $this->assertTrue($hasEnded);
        $this->assertSame("hello\n", $capturedData);

Without my changes, it will fail the same way. Because once the stream is ended the handleData is not called anymore.

If I understand correctly what you are saying, I made a mistake in my test-case and it should be the following, right?

Correct. The event-loop will invoke the readable listener when the file descriptor is in a "readable" state. This includes both the data event and an empty read which will emit the end event. I encourage you to try this in a simple example that uses an actual loop instance to reproduce this. This should also be covered by the existing test suite and we're not currently aware of any related issues.
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can always reopen this :+1:

@clue
No, you miss-understand me. I was telling you that my PR is useful:

Take a look at this example, end is never called!
Take a further look at my code, it will call handleData only once, even with the loop!
That's exactly what does the event loop: only calling handleData when there is data to send, otherwise, it's not called (basically, on end of stream, handleData is not called)

This is a bug reporting as well as the related fix.


bugfix/IIA-994-dnd-notworking-post-merge

both double click and drag and drop pattern summoning are working

also check that existing concept drag and drop is working:

next gen dnd still working:

right click populate on next gen search still working:

Looks good to me!

Looks good. Have question, How did changing Entity to EntityFacade fix this any issue?

it was a class cast exception.


Add ns record gateway handling

When resolving a did dht this change allows it to look at the ns records and find the authoritative gateways.
It will try to use these gateways, and accumulate errors if it fails. It will keep trying until all gateway uris are exhausted and then will return the accumulated errors.

Do a resolution with default gateway to get dns records for did
If there are NS records, get all of them into an array of endpoints
Loop over all endpoints, if you successfully get dns records for did from endpoint, return and continue to resolve did, otherwise try the next endpoint

Reference
https://did-dht.com/#resolution-gateways

I will wait to merge until vector 3 is in, and then I will resolve conflict and finish testing missing lines


[ALLUXIO-1934] Replaced  with <>

Replaced all instances of  with <> for conciseness.

Can one of the admins verify this patch?

Jenkins, add to whitelist

ok to test

Thanks @ilganeli for the improvement! Could you also add a link back to the JIRA ticket in the PR description?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9584/
Test PASSed.

Merged build finished. Test PASSed.

LGTM

LGTM


Merge from upstream/master 20211028

Merge from upstream/master.
There was a conflict in Makefile here but it was just us updating something upstream updated too.  I took upstreams change.

Story [sc-78903]


Investment SPI Report

Issue number: DHI-13
Description of change
This one provides functionality to once a day automatically generate SPI Report and uploads it to S3, which can be downloaded from Django admin, by anyone having access to it.
The report is a CSV file that contains 4 SPI metrics along with basic investment project details.
SPI 1

investment project created on date
earliest one of 8 SPI interactions

SPI 2

earliest one of 2 SPI interactions that start SPI 2
when project manager was first assigned (only IST project managers)

SPI 3

formatted list of propositions, only created by IST

SPI 5

when project has been moved to won
earliest interaction when aftercare was offered, only for new investor, only for IST managed projects

This contains work from removed commit to restrict who can move investment project from Active to Verify Win and from Verify Win to Won.
IST team is determined if the team name contains "IST" - that seems to be enough.
There is Report Configuration model, that contains reference to the Service type that ends SPI 5, as we haven't got that added programmatically.
It uses its own credentials to access S3 as the bucket uses different key and secret that the document's one.
There is also additional environment variable that can enable report generation.
Checklist

[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[X] Has the admin site been updated (for new models, fields etc.)?
[X] Has the README been updated (if needed)?

Codecov Report

Merging #973 into develop will decrease coverage by 0.67%.
The diff coverage is 77.83%.

@@             Coverage Diff             @@
##           develop     #973      +/-   ##
===========================================
- Coverage    96.63%   95.96%   -0.68%
===========================================
  Files          193      198       +5
  Lines         5443     5645     +202
  Branches       515      540      +25
===========================================
+ Hits          5260     5417     +157
- Misses         120      158      +38
- Partials        63       70       +7

Impacted Files
Coverage Δ

datahub/investment/report/tasks.py
0% <0%> (ø)

datahub/admin_report/csv.py
100% <100%> (ø)

datahub/admin_report/views.py
100% <100%> (ø)
:arrow_up:

datahub/core/constants.py
100% <100%> (ø)
:arrow_up:

datahub/core/admin.py
84.61% <100%> (+2%)
:arrow_up:

datahub/investment/report/utils.py
42.85% <42.85%> (ø)

datahub/investment/report/admin.py
71.42% <71.42%> (ø)

datahub/investment/report/spi.py
89.14% <89.14%> (ø)

datahub/search/company/serializers.py
100% <0%> (ø)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


C++/WinRT code compiles but doesn't run

Your C++/WinRT code compiles but doesn't run.
There is an exception:
"Unhandled exception at 0x00007FFEFD74CD29 in ND2D1DX11.exe: Microsoft C++ exception: winrt::hresult_wrong_thread at memory location 0x000000D4EFD2ED08."

Exception thrown at 0x00007FFEFD74CD29 (KernelBase.dll) in ND2D1DX11.exe: WinRT originate error - 0x8001010E: 'The application object must initially be accessible from the multi-threaded apartment.'.
'ND2D1DX11.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
onecoreuap\shell\coreapplication\application\lib\ApartmentHelpers.h(22)\twinapi.appcore.dll!00007FFEF62F60DC: (caller: 00007FFEF62C3F32) ReturnHr(1) tid(50fc) 8001010E The application called an interface that was maintained order for a different thread.
CallContext:[\AppRunOrActivateView]
onecoreuap\shell\coreapplication\application\lib\coreapplication.cpp(77)\twinapi.appcore.dll!00007FFEF62F60F7: (caller: 00007FFEF62C3F32) ReturnHr(2) tid(50fc) 8001010E The application called an interface that was maintained order for a different thread.
CallContext:[\AppRunOrActivateView]
onecoreuap\shell\coreapplication\application\lib\coreapplicationfactory.cpp(147)\twinapi.appcore.dll!00007FFEF630FCA8: (caller: 00007FF67DE729D2) ReturnHr(3) tid(50fc) 8001010E The application called an interface that was maintained order for a different thread.
Exception thrown at 0x00007FFEFD74CD29 in ND2D1DX11.exe: Microsoft C++ exception: winrt::hresult_wrong_thread at memory location 0x00000058DC2FED28.
Unhandled exception at 0x00007FFEFD74CD29 in ND2D1DX11.exe: Microsoft C++ exception: winrt::hresult_wrong_thread at memory location 0x00000058DC2FED28.
Exception thrown at 0x00007FFEFD74CD29 (KernelBase.dll) in ND2D1DX11.exe: WinRT originate error - 0x8001010E: 'The application called an interface that was being held in order for a different thread.'.
Exception thrown at 0x00007FFEFD74CD29 in ND2D1DX11.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000058DC2FEF68.
Unhandled exception at 0x00007FFEFD74CD29 in ND2D1DX11.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00000058DC2FEF68.
Thread 0x1e1c terminated with code 0 (0x0).
Thread 0x5a98 terminated with code 0 (0x0).
Thread 0x6154 terminated with code 0 (0x0).
Thread 0x1138 terminated with code 0 (0x0).
Program '[15580] ND2D1DX11.exe' exited with code 0 (0x0).

https://learn.microsoft.com/en-us/windows/uwp/composition/composition-native-interop
Microsoft Visual Studio Community 2022
Version 17.5.3
VisualStudio.17.Release/17.5.3+33516.290
Microsoft .NET Framework
Version 4.8.04084
Visual C++ 2022   00482-90000-00000-AA996
Microsoft Visual C++ 2022

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

ID: 4a3cc41b-0198-62e8-47be-4a76b7d4b112
Version Independent ID: 548d8b37-819f-557b-173b-66e7188f9205
Content: Composition native interoperation - UWP applications
Content Source: uwp/composition/composition-native-interop.md
Product: uwp
Technology: platform
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Hi, @Gottfried007, and thanks for filing this issue. I just followed along with the topic, and everything worked as expected. No exception.
I'm using an up-to-date version of Visual Studio 2022. There's a link in the "C++/WinRT usage example" section of this topic to info about Visual Studio support for C++/WinRT, so I confirmed that I have the right bits installed. And I created a new Core App (C++/WinRT) project, and accepted the defaults. I then pasted in the source code from the topic. It built and ran as expected.
I'll go ahead and close this particular issue, as I don't find anything wrong with the docs.
Here are all of the developer support resources, in case they're of help/interest:

Microsoft Q&A is the right place to lobby for a change or a new feature, to make a suggestion, or to ask a product question.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

-Steve

"I created a new Core App (C++/WinRT) project"
I think that is the part I am not able to achieve because I can't find the template in all the lists I have.
Do I need to install the "Universal Windows Platform Development" Workload to access that template by any chance???
Because I thought that C++/WinRT being a header only technology/API, I would simply need to tinker a bit with the configuration file of any regular project. Several other C++/WinRT projects seem to compile and work completely fine with my current setup.
In any case, installing the whole "Universal Windows Platform Development" Workload needs 16Go of space on my system hard drive which I currently absolutely do not have. It's such a shame that such simple projects need so much unnecessary other stuff.
Also, I have no idea why so many Microsoft tools need to cram everything specifically on the system hard drive. I am absolutely tired of tinkering with NTFS links. I would have hoped windows 10 made progress in comparison to windows 7 in that aspect.


Setting constant colors for glyphs is non-intuitive

The current mechanism for making a glyph (e.g. barb, contour line, flow tube, etc.) is non-intuitive. There is no way to set the color variable to 'none', and the only way to achieve constant color is to delete one of the control points from the TFE, which many users may not realize is possible. Let's go back to something like a check box that enables/disables constant color vs pseudo coloring.

Possibly set this via the gearbox pull down

Possibly set this via the gearbox pull down


implement field.unique

fix #223

Codecov Report

Merging #236 (be8be13) into master (418c0bf) will decrease coverage by 0.13%.
The diff coverage is 55.10%.

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
- Coverage   75.88%   75.75%   -0.14%
==========================================
  Files          44       44
  Lines       13593    13667      +74
==========================================
+ Hits        10315    10353      +38
- Misses       3278     3314      +36

Impacted Files
Coverage Δ

exetera/core/operations.py
35.68% <26.08%> (-0.32%)
:arrow_down:

exetera/core/fields.py
78.95% <52.72%> (-0.75%)
:arrow_down:

exetera/core/abstract_types.py
63.19% <66.66%> (+0.03%)
:arrow_up:

tests/test_fields.py
99.80% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Documentation missing for EVP_PKEY_CTX_get0_pkey and EVP_PKEY_CTX_get0_peerkey

Documentation or info seems to be missing for EVP_PKEY_CTX_get0_pkey and EVP_PKEY_CTX_get0_peerkey in https://www.openssl.org/docs/man3.1/man3/
These APIs are mentioned in include/openssl/evp.h
Came across using EVP_PKEY_CTX_get0_pkey as I was writing code to validate the parameters of EVP_PKEY_CTX's reference pkey, so I think it would be useful to document this formally.

Yes, we know that. There are still many undocumented API calls listed in util/missing{crypto,macro,ssl}.txt

If it is okay, I could try and take this up.

Please do

For adding documentation for this, I'll need to create a .pod file for the same inside doc/man3/

Yes. Or possibly add them to an existing page if appropriate.

and remove the mention of these 2 APIs from missingcrypto.txt and missingcrypto111.txt in the util/ directory?

Just missingcrypto.txt. You shouldn't need to touch missingcrypto111.txt.

Documentation PR is merged.


geothermal temperature gradient class

Hi @wouterpeere,
I have implemented a geothermal gradient class in contrast to ther geothermal heat flux class. So the temperature gradient can be used without any recalculation.

This has been implemented in branch issue45-restructure-package