First cut at a Spring Cloud Deployer SPI implementation for Kubernetes

Based on the Data Flow module deployer for Kubernetes
Implements the SPI and passes the TCK

Resolves spring-cloud/spring-cloud-dataflow-admin-kubernetes#53

For Kubernetes installation and testing:
http://kubernetes.io/docs/getting-started-guides/vagrant/
I downloaded https://github.com/kubernetes/kubernetes/releases/download/v1.1.8/kubernetes.tar.gz (there is now a newer version 1.2.0 that I haven't tested with)
Extract the tar and follow installation instructions
NOTE: there is an issue with the SaltStack reported here: https://github.com/kubernetes/kubernetes/issues/8019 and to work around that you need to modify cluster/vagrant/provision-master.sh and cluster/vagrant/provision-minion.sh by changing the URL from https://bootstrap.saltstack.com to https://gist.githubusercontent.com/rmohr/43941d0881f0682b99a7/raw/5b5e075e373cd81689e991eaef6cd95beb7b2d2a/bootstrap-salt.sh in both files (the master file has two references)
I used this:
cd kubernetes
export KUBERNETES_PROVIDER=vagrant
export KUBERNETES_MASTER_MEMORY=1024
export KUBERNETES_MINION_MEMORY=2048
export NUM_MINIONS=3
./cluster/kube-up.sh

You should eventually see something like:
Kubernetes master is running at https://<IP_ADDRESS>
Heapster is running at https://<IP_ADDRESS>/api/v1/proxy/namespaces/kube-system/services/heapster
KubeDNS is running at https://<IP_ADDRESS>/api/v1/proxy/namespaces/kube-system/services/kube-dns
KubeUI is running at https://<IP_ADDRESS>/api/v1/proxy/namespaces/kube-system/services/kube-ui
Grafana is running at https://<IP_ADDRESS>/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana
InfluxDB is running at https://<IP_ADDRESS>/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb

cd to the spring-cloud-kubernetes-deployer project
before running ./mvnw clean install set the following env vars:
export KUBERNETES_MASTER=https://<IP_ADDRESS>
export KUBERNETES_NAMESPACE=default

There is a difference in k8s 1.1.8 and 1.2.0 that is causing a failing test (testFailedDeployment) when using 1.2.0.
The condition in KubernetesAppInstanceStatus line 89 works against 1.1.8 but not against 1.2.0.  Here is the value of ContainerStatus on 1.1.8 when the app is failing on purpose
ContainerStatus(containerID=docker://e1e8f9fa19809af342c2b096ea5d71e008b2cea6f2dff7ff9de87fb0a2493e88,
                image=trisberg/deployer-test-app:latest,
                imageID=docker://a84c1c735f731a79f99836024bf089884a7f546240b98dd6af078e9c249567aa,
                lastState=ContainerState(running=null,
                                         terminated=ContainerStateTerminated(containerID=docker://e1e8f9fa19809af342c2b096ea5d71e008b2cea6f2dff7ff9de87fb0a2493e88,
                                                                             exitCode=1,
                                                                             finishedAt=2016-03-24T01:49:32Z,
                                                                             message=null,
                                                                             reason=Error,
                                                                             signal=null,
                                                                             startedAt=2016-03-24T01:49:25Z,
                                                                             additionalProperties={}),
                                         waiting=null, additionalProperties={}),
                name=app-4826af6b-ce7a-498c,
                ready=false,
                restartCount=3,
                state=ContainerState(running=null,
                                     terminated=ContainerStateTerminated(containerID=docker://e1e8f9fa19809af342c2b096ea5d71e008b2cea6f2dff7ff9de87fb0a2493e88,
                                                                         exitCode=1,
                                                                         finishedAt=2016-03-24T01:49:32Z,
                                                                         message=null,
                                                                         reason=Error,
                                                                         signal=null,
                                                                         startedAt=2016-03-24T01:49:25Z, additionalProperties={}),
                                     waiting=ContainerStateWaiting(message=Back-off 20s restarting failed container=app-4826af6b-ce7a-498c
                                                                   pod=app-4826af6b-ce7a-498c-z2o0b_default,
                                                                   reason=CrashLoopBackOff,
                                                                   additionalProperties={}),
                                     additionalProperties={}),
                additionalProperties={})

and here for 1.2.0
ContainerStatus(containerID=docker://2a762f9e035f8155b11b4fefc74bc56b1971c30e2aa28808f8b00c314ab47d3c,
                image=trisberg/deployer-test-app:latest,
                imageID=docker://a84c1c735f731a79f99836024bf089884a7f546240b98dd6af078e9c249567aa,
                lastState=ContainerState(running=null,
                                         terminated=ContainerStateTerminated(containerID=docker://2a762f9e035f8155b11b4fefc74bc56b1971c30e2aa28808f8b00c314ab47d3c,
                                                                             exitCode=1,
                                                                             finishedAt=2016-03-23T21:50:07Z,
                                                                             message=null,
                                                                             reason=Error,
                                                                             signal=null,
                                                                             startedAt=2016-03-23T21:49:57Z,
                                                                             additionalProperties={})
                                         waiting=null, additionalProperties={}),
                 name=app-7f17d86e-30d3-43f8,
                 ready=false,
                 restartCount=5,
                 state=ContainerState(running=null,
                                      terminated=null,
                                      waiting=ContainerStateWaiting(message=Back-off 2m40s restarting failed container=app-7f17d86e-30d3-43f8
                                                                    pod=app-7f17d86e-30d3-43f8-2z0cl_default(acc7aa5f-f140-11e5-af8f-42010af001b7),
                                                                    reason=CrashLoopBackOff,
                                                                    additionalProperties={}),
                                      additionalProperties={}),
                 additionalProperties={})

In 1.1.8 the state.terminated field not null, where in 1.2.0 is is null.  Maybe testing against the field - state.wating.reason=CrashLoopBackOff would be sufficient for both version.
Also, we should compare against https://github.com/spinnaker/clouddriver/blob/master/clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/deploy/ops/servergroup/DeployKubernetesAtomicOperation.groovy wrt to deployment as I see it is including something that I believe we had in the previous version but don't now (the liveliness probe) but there are also other things in there wrt to secrets/volumes that are probably also relevant.

Worked!

Refactored the Docker Resource and the use of its URI

Made some additional changes and squashed/merged as f2083091ad518faf6d87d085913e2531d1cd85dc


Add support for python 3.10.x

Python 3.10.x is available on the dep server - we should add support for it to this buildpack.
3.10.2
  {
    "name": "python",
    "version": "3.10.2",
    "sha256": "7ae1fb92a9238571466d66b0a22cafa20e6cdb45816ebe476499a1f6bc9f11ef",
    "uri": "https://deps.paketo.io/python/python_3.10.2_linux_x64_bionic_7ae1fb92.tgz",
    "stacks": [
      {
        "id": "io.buildpacks.stacks.bionic"
      }
    ],
    "source": "https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz",
    "source_sha256": "3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97",
    "deprecation_date": "2026-10-01T00:00:00Z",
    "created_at": "2022-01-14T22:15:25+00:00",
    "modified_at": "2022-01-14T22:15:25+00:00",
    "cpe": "cpe:2.3:a:python:python:3.10.2:*:*:*:*:*:*:*",
    "purl": "pkg:generic/python@3.10.2?checksum=3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97&download_url=https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz",
    "licenses": [
      "0BSD",
      "CNRI-Python-GPL-Compatible"
    ]
  },

3.10.1
  {
    "name": "python",
    "version": "3.10.1",
    "sha256": "48a90f8cee9950491fb815fc73a0529cfbafad2cd14fd08674adaaaae072ec39",
    "uri": "https://deps.paketo.io/python/python_3.10.1_linux_x64_bionic_48a90f8c.tgz",
    "stacks": [
      {
        "id": "io.buildpacks.stacks.bionic"
      }
    ],
    "source": "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz",
    "source_sha256": "b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3",
    "deprecation_date": "2026-10-01T00:00:00Z",
    "created_at": "2021-12-06T21:13:38+00:00",
    "modified_at": "2022-01-24T16:56:37+00:00",
    "cpe": "cpe:2.3:a:python:python:3.10.1:*:*:*:*:*:*:*",
    "purl": "pkg:generic/python@3.10.1?checksum=b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3&download_url=https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz",
    "licenses": [
      "0BSD",
      "CNRI-Python-GPL-Compatible"
    ]
  },

@thitch97 do you know why we don't yet support this? Any reason for us not to go ahead and add it?

Also, It seems like 3.6 just went out of support as of last month (2021-12-23) https://www.python.org/dev/peps/pep-0494/#lifespan. So great time to swap in 3.10 for 3.6!

Hey! I did a preliminary exploration into this. Check out my findings which I summarized in this comment. I think we can compile it with --disable-test-modules possibly, reducing the size of the dependency as well, but wanted general 3.10 support first.


Add TickTick Integration

Description:
Related issue (if applicable): fixes # n/a
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here> not yet
Example entry for configuration.yaml (if applicable):
ticktick:
  username<EMAIL_ADDRESS>  password: foo

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @BeryJu,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Sorry for the duplicate Pull Request, I created the the closed one with the wrong E-Mail Address.

Hello @BeryJu,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

f69757c16b0c66717bd95ca7b8fd576b1f0bbc0f - This commit has something that looks like an email address (jens.langhammer@haufe-lexware.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

oh god never mind this I messed it up lol lemme start again from a clean slate


Adding new Fevicon.

Related Issue

New Fevicon

Closes: #[issue number 294]
Changes I have made
I have added new and required fevicon.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

@Vishal-raj-1 this is my pull request for issue #294 .
I have added a perfect fevicon according to our project.
Thank you.

@sahilempire Resolve merge conflicts

@urvashi-code1255 done,
Thank you.


[RFC] Extending CastSpacesFixer to remove space after casting

Hi,
what do you thing about extending CastSpacesFixer so it can be configured similarly to ConcatSpaceFixer:

spacing ('none', 'one'): spacing to apply around concatenation operator;
defaults to 'none'

Both fixers are part of Symfony's codings standars, yet only the later one we can modify.

Adding the configuration option sounds good to me.


Collapse Element Only Opens/Closes When Clicking One Specific Area

When using the following collapse element:
"[#]Custom colors for collapse that works with checkbox"
The element only opens/closes when I click on one specific area to the left of the text, and not when I click any other area of the div box.
I get this issue when trying to use any of collapse with checkbox elements.

the issue from tailwindcss form plugin
[type="checkbox"], [type="radio"]{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 0;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
display: inline-block;
vertical-align: middle;
background-origin: border-box;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
flex-shrink: 0;
height: 1rem;
width: 1rem; //comment this
color: #2563eb;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
--tw-shadow: 0 0 #0000;
}


48584629.0这个浮点数数据类型转换精度丢失

tf.cast(48584629.0,tf.float64)  转换后变成48584628

@HelloWorld19930113 ,
Looks like this is duplicate of issue #50888.Can you please close this issue, since it is already being tracked there? Thanks!


Feature/checkpoint 1D

Updated saving/loading for 1d layers

Did you provide unit tests for the functionality?

#256


Controller helpers

This is an experimental PR to see if some of the bits common to all the GOTK controllers can be factored out into embeddable structs.
Among other things, this will

reduce duplication
standardise how these common bits are done

It is a bit rough around the edges:
You have to supply an ObjectReference to both the metrics and the events methods. This is because all the constituent bits calculated this for themselves, and had different ways of dealing with errors. This way, the error handling is done once, up front, and the ref only has to be calculated once. But it would be nice to do this behind the scenes, in some way.
You have to pass logs in to the Events helper. This is a bit awkward, as getting logs to funcs always is. It'd be nice if the setup could just do this for you.

@hiddeco, @seaneagan: is this useful enough to be worth persevering, wdyt?

I think that with our comments addressed it would be really useful to get good Kubernetes events and metadata rich notifications. So, yes!


Installation failure with ruby-2.4.0

Thank you for your great gem!
I can't install it with ruby-2.4.0. I believe it needs to bump yajl-ruby to 1.3.0. See https://github.com/brianmario/yajl-ruby/pull/165
current directory: /Users/masutaka/src/github.com/masutaka/dotfiles/vendor/bundle/gems/yajl-ruby-1.1.0/ext/yajl
/Users/masutaka/.rbenv/versions/2.4.0/bin/ruby -r ./siteconf20161231-77571-1bi4alv.rb extconf.rb
creating Makefile

current directory: /Users/masutaka/src/github.com/masutaka/dotfiles/vendor/bundle/gems/yajl-ruby-1.1.0/ext/yajl
make "DESTDIR=" clean

current directory: /Users/masutaka/src/github.com/masutaka/dotfiles/vendor/bundle/gems/yajl-ruby-1.1.0/ext/yajl
make "DESTDIR="
compiling yajl.c
compiling yajl_alloc.c
compiling yajl_buf.c
compiling yajl_encode.c
compiling yajl_ext.c
yajl_ext.c:852:22: error: use of undeclared identifier 'rb_cFixnum'
    rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json, -1);
                     ^
1 error generated.
make: *** [yajl_ext.o] Error 1

make failed, exit code 2

+1
thank you.

btw: looks like this is something you are addressing in the feature-rewrite branch.
I have tried working from that. Bundle install now works,  but I get an error when running tests or the server.
this seems to be related to rspec. I'm not using rspec myself - but I have tried adding rspec to my gemfile for development/test. I also did an rspec --init That doesn't make a difference.
/Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require': cannot load such file -- spec_helper (LoadError)
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `block in require'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
	from /Users/rob/.rvm/gems/ruby-2.4.0/bundler/gems/pushover-3ffe8218f164/lib/pushover/api.rb:1:in `<top (required)>'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `block in require'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
	from /Users/rob/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
	from /Users/rob/.rvm/gems/ruby-2.4.0/bundler/gems/pushover-3ffe8218f164/lib/pushover.rb:2:in `<top (required)>'

Hi, yeah, this is the major reason I'm doing this.   Getting everything upto date.
I've suddenly had quite a few more users since aws started using pushover.
It's going to take me a bit of time, the rewrite will take several weeks as I only work on it in my spare time.
I'll spend some time this weekend making sure the old version can run on the newest ruby.

thank you!

Are you still refactoring or need help?

@erniebrodeur
Do you need some help?


hook vm.runInContext

fix issue #85 along with this pull request to istanbuljs. The CI check on this pull request will fail because of dependency on the other pull request.

@bcoe Could you please merge this PR? Or nyc won't work with hookRunInContext.

@pangrr mind taking a look at the failing tests? Once we're green I'll happily merge this.

Changes Unknown when pulling 5612e2e1cecaa853523c24624e573e6e53aaac39 on bloomberg:master into ** on istanbuljs:master**.

@bcoe here you go

@pangrr give this a shot:
npm i nyc@next --save-dev

@bcoe looks good!


[BUG] No description on the game page if open game via download list

Describe the bug
No description on the game page if opens the game in the download list
Steps to Reproduce

Open the download page
Chose the game

Expected behavior
Expected description of the game
Screenshots

Operating System
windows 11
Hydra Version
1.2.4
Additional Information
Lang: RU

Hydra gets the game texts and most images from Steam page. If the game is blocked in your region on Steam, Hydra won't be able to gather this information. Currently, you would need to use a VPN to load all the game info.

https://github.com/hydralauncher/hydra/assets/33422772/cfa78f7a-2890-4e1b-8ebf-cfbeb8b07d7d
Ok. But why do I have a description of an open game page from the sidebar library list?
And I don't need VPN for this game in steam

combined.log
Of course

Sorry, I read again your issue and you mentioned that you were in the Downloads page and then navigated to the game details. This was already fixed in the code and the issue should no longer happen in the next update

Solved in 2.0.


Exclude velox/vector/arrow/Abi.h from headers

velox/vector/arrow/Abi.h and arrow/c/abi.h have the same definition for the ABI structs. The patch is to exclude Velox's Abi.h from public headers then user could choose to include the canonical Arrow ABI header arrow/c/abi.h without encountering redefinition compilation errors.

@rui-mo @pedroerp Thanks

@pedroerp Would you take another look? Comment addressed. Thanks.

cc @xiaoxmeng @mbasmanova Thanks

Maybe I'm missing something here, but isn't the real issue that we don't have the "ARROW_C_DATA_INTERFACE" and ifdef macros that protect double definition in our vendored Abi.h file? Seems like this was more recently added to Arrow.

Maybe I'm missing something here, but isn't the real issue that we don't have the "ARROW_C_DATA_INTERFACE" and ifdef macros that protect double definition in our vendored Abi.h file? Seems like this was more recently added to Arrow.

Aha. I just went through Arrow's dev history and the macro guard was added since Arrow 9.0.0.
So let's just do a sync for file Abi.h? But that might mean we can directly include Abi.h from Bridge.h since we have been using struct declarations in Bridge.h to go around the issue for long time.

So let's just do a sync for file Abi.h?

We just got this merged today:
https://github.com/facebookincubator/velox/pull/8217
Can you validate that this solves the issue you are trying to prevent?

So let's just do a sync for file Abi.h?

We just got this merged today:
#8217
Can you validate that this solves the issue you are trying to prevent?

That looks good enough to get things work. I'll have a test tomorrow. Thanks.

Closing. Will reopen if still needed.


This project is amazing

I was looking through Rust synthesisers projects to gain some inspiration and discover good patterns.
Just browsing through the code I find it really well thought implementation of how synths should be build in Rust.
I learned a lot just reading it.
I wanted to experiment with resynthesis -> wave to patch. Your code would be ideal to experiment with it.
I thought I could contribute AST to define signals as expressions that can be converted to signals.
Have you thought about a license?

Oops haha I forgot to add a license. I'll add one. Also heads up that I'm currently in the process of rewriting most of this project in the *-next crates

Added a license.

Oh cool!
Do you plan on generating Signal<f64>s or something from the asts?
In the *-next crates I've made a change where signals are unboxed, so patch functions would typically return something like SigBuf<impl Sig<Item=f32>>. To translate from an ast to one of these at runtime you would need to explicitly box the signals again (e.g. implement the Sig trait for Box<dyn Sig<Item=f32>> or something and then box each signal in the generated patch. That would have a performance cost but might make it easier to quickly experiment.
Also if you plan to build on top of the *-next crates bear in mind that I'm constantly rearranging and renaming things at the moment!

You can take a look here https://github.com/pjankiewicz/caw/tree/main/core/src/ast
Basically Expr can be converted to Value (all signal types). What I struggled a bit and this is far from being finished are all ways how you can convert one type of a signal to another (needed as input to a node). From this perspective it makes sense to implement TryFrom for everything almost - because when I convert the expression to a signal it is not guaranteed that I will get a proper type as the result of some signal graph.
From the ast perspective it probably doesn't matter if the signal is buffered or not - or so I think.
My big plan was to create an ast to start evolving patches with some evolutionary algorithms. I implemented Cartesian Genetic Programming and it can create some random patches although it is not very efficient search. But even then ast can be useful to serialize/deserialize patches if you planned to do it.

Ooh evolving patches sounds really interesting. I'd love to see/hear some of the patches produced by your search!


updatepassword page not centered

It appears the boxes that show: old password, new password, confirm are out by a few pixels.

Thanks for catching this! We have a fix in review now.


Fix patternfly select controls

Signed-off-by: James Talton<EMAIL_ADDRESS>

Can you please provide some explanation on what this does?

Can you please provide some explanation on what this does?

Fixes missing borders.

/lgtm


Create Typescript bindings from rust/rebase and rust/rebase_witness_sdk and make then available in js/rebase-client

The ergonomics and dev experience of using rebase-client could be greatly improved with generated type bindings using ts_rs.
This would allow the arguments into the client to be well specified (rather than as they are today, as stringified JSON) and the results to be well-typed as well (again, currently stringified JSON). A lot of work that was done in demo/dapp would also be covered by the use of ts_rs bindings. When starting new dapp projects that use rebase-client, I find I am copying a lot of the type definitions from demo/dapp, and I wish I were instead just using bindings provided from rebase-client.
My proposal would be working from the initial progress in the feat/ts-types-in-client branch which has added the TS as a trait for all public, serializable types, and the new work would be adding the ts(export, export_to = "../../js/rebase-client/bindings/..") in rust/rebase and rust/rebase_witness_sdk, and adding the binding generation step (cargo test) to the build process of rebase-client.
There would likely need to be some work to clean up the naming of some of the types and make sure the output file structure lines up, but from initial experiments, it seems like very little actually needs to be done. In a recent project, I generated the bindings, made some small edits (as a result of serde_json renaming rules that could probably be changed to support this build process), then just dropped them into the app consuming rebase-client and it worked great. I'd like that level of support to be available out of the box.

Closed by PR #67


Replace _.zipObject with vanilla JS

TODO:

[ ] decide with which solution to go (1st or 2nd patch); I haven't done any benchmarks, so any help to decide is welcome
[x] add more tests (help welcome!)

Refs #604

@XhmikosR I vote for second patch. I think It's just clearer.


Responsible AI native plugin blocking no harm content

Fix Responsible AI native plugin (content filtering part) when it is blocking content that has no harm.

@placerda , @gbecerra1982 - PR for review https://github.com/Azure/gpt-rag-orchestrator/pull/105


Error: Webpack Compilation Error when we set const mongo = require('cypress-mongodb'); mongo.addCommands();

As per your provided configuration, When we added the below lines and run our spec file we got this error.
In your cypress/support/e2e.js add the following:
const mongo = require('cypress-mongodb');
mongo.addCommands();
Spec file snapshot attahced for refernece.

Error snapshot is attached for reference.

Pakage,json
{   "name": "cypress",   "version": "1.0.0",   "description": "",   "main": "index.js",   "scripts": {     "test": "echo \"Error: no test specified\" && exit 1"   },   "keywords": [],   "author": "",   "license": "ISC",   "dependencies": {     "cypress": "^10.9.0",     "cypress-downloadfile": "^1.2.3",     "npm-check-updates": "^16.3.11"   },   "devDependencies": {     "cypress-file-upload": "^5.0.8",     "cypress-mochawesome-reporter": "^3.2.3",     "cypress-xpath": "^2.0.1",     "multiple-cucumber-html-reporter": "^3.0.1"   } }

I too have this same problem.  When I comment out the two commands matifniaz mentions, the error goes away and cypress will run tests as long as they do not reference one of the cypress-mongodb commands.

Thanks for raising the issue, will take a look over the weekend.

If you come across any way to get around it please share.  I cant use Cypress without turning off a lot of tests and cypress-mongodb

I found a workaround by renaming the node_modules/@aws-sdk folder.  After that I could run tests

I found another temporary workaround by removing all references to @aws-sdk from package-lock.json and running npm install again.

For anyone else running into this, in latest mongodb release 4.11.0 they made aws-sdk dependencies optional.
To fix this error you can update to latest mongodb version and re-install dependencies with yarn install --ignore-optional. You may need to delete node_modules and yarn.lock for this to work.

Hi, I'm having the same problem.

As @wilson208 wrote, it is the mongodb dependency which causes the issue.
I downgraded to version 4.10.0, and it works.

Should be fixed with the latest version I just publish, but I'm not quite sure tbh, this was a tricky one. Please let me know if you encounter more issues


chore(main): release 2.0.0

:robot: I have created a release beep boop
2.0.0 (2023-04-14)
⚠ BREAKING CHANGES

update ST hal drivers (#102)

Features

Update ST hal drivers (#102) (6987d83)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philips-software/amp-hal-st/releases/tag/v2.0.0 :sunflower:


Error in triangulation

Got this error while running robotcar pipeline :
Traceback (most recent call last):
File "pipe_test.py", line 78, in
triangulation.main(
File "/home/ubuntu/Hierarchical-Localization/hloc/triangulation.py", line 181, in main
stats = run_triangulation(
File "/home/ubuntu/Hierarchical-Localization/hloc/triangulation.py", line 138, in run_triangulation
subprocess.run(cmd, check=True)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['colmap', 'point_triangulator', '--database_path', 'outputs/robotcar_test/sfm_superpoint+superglue/database.db', '--image_path', 'datasets/robotcar_test/images', '--input_path', 'outputs/robotcar_test/sfm_superpoint+superglue/empty', '--output_path', 'outputs/robotcar_test/sfm_superpoint+superglue', '--Mapper.ba_refine_focal_length', '0', '--Mapper.ba_refine_principal_point', '0', '--Mapper.ba_refine_extra_params', '0']' died with <Signals.SIGKILL: 9>.

Maybe your machine ran out of memory? Can you enable verbose with verbose=True?

Thank you for your response. In which .py file should I enable verbose ?

Thank you for your response. I will try debugging.
Do you think there is any memory leakage in the trangulation code?

triangulation.main(..., verbose=True). No afaik there is no memory leak.

Traceback (most recent call last):
File "pipe_test.py", line 75, in
triangulation.main(
TypeError: main() got an unexpected keyword argument 'verbose'

The code gets stuck during bundle adjustment


Invalid script path - mark it as failed job

Currently when passing an invalid path for a job to the scheduler (php only), it is throwing an InvalidArgumentException straight away.
It would be a nice to have to instead of throwing the exception (and preventing other valid jobs to run) it will mark it as failed job and it will keep running the other jobs.
This is something already covered when scheduling Closures, so it should be handled only when scheduling php scripts.

Is this still up for grabs?
If so I have one question before I can send it: I noticed php and raw jobs are simply run thru exec, should this PR also apply this behavior to raw commands?

Tried to keep it as generic as possible, so in the future there might be room to also add a check on raw scripts running which $command in the raw method.

@Harumaro thank you for your contribution, @mbiagetti submitted a PR before yours, but I also understand you were probably already working on that.
To reply to your first question, there is no need to validate a script path when running raw commands because it could be anything and it's not clear how to understand if the raw command is executing a file. Anyway if someone schedules a raw command, it should also make sure his command is correct (with a valid file if required). The Scheduler class can also be extended to e.g. add a python method that executes a python script (and the same check can be added to that method).
I've reviewed both PRs, although @Harumaro your is interesting (as it will allow better flexibility when extending the class and not repeat checks that can be done at the Job level), I'll go for the one from @mbiagetti as it is what I was looking for.

Hi @Harumaro sorry for the mistake: i didn't see your comment before submit my pr

No worries! Having choices is good for the sake of opensource, that's why I went on and submitted it anyway :)


Password protected Podcasts didnt show up.

Hi,
I have two podcasts in my overcast which requieres authentication. Sadly they didnt show up in the Sonos App. I only have two entries named "Podcast not found"

Yeah, sorry, but only public feeds are supported.

Do you have any hints or ideas where to look at the code to try and figure this out? Or what makes it impractical? I could take a shot at it.


Sdsayani/private assignment

Please set the title of your pull request in the following format: [Project id/Independent study/Issue fix/...]. project name, eg., E904. Integrating courses and assignments on Expertiza with Moodle
We suggest you including the below information in your pull request:

A description of the changes proposed in the pull request.
@mentions of the person or team responsible for reviewing proposed changes.

About Expertiza Bot

If you have any questions about comments given by the expertiza-bot (example), you could create a comment in your pull request with the format /dispute [UUID1] [UUID2] (example) then the professor and TAs will be notified.
Here is a video about how to communicate to expertiza-bot.

          1 Message

:speech_balloon:
Thanks for the pull request, and welcome! :tada: The Expertiza team is excited to review your changes, and you should hear from us soon.
This repository is being automatically checked for code quality issues using Code Climate.
You can see results for this analysis in the PR status below. Newly introduced issues should be fixed before a pull request is considered ready to review.
If you have any questions, please send email to<EMAIL_ADDRESS>

  Generated by expertiza-bot

          1 Message

:speech_balloon:
Thanks for the pull request, and welcome! :tada: The Expertiza team is excited to review your changes, and you should hear from us soon.
This repository is being automatically checked for code quality issues using Code Climate.
You can see results for this analysis in the PR status below. Newly introduced issues should be fixed before a pull request is considered ready to review.
If you have any questions, please send email to<EMAIL_ADDRESS>

  Generated by expertiza-bot


Using ID as Primary key and foreign key at same time.

I have two entites, Prospect and person, what I'm trying to do is use Prospect.ID as primary key on ProspectTable  and as foreignkey of PersonID, my ideia is use the same ID for both entities without the need of a PersonID on my Prospect entity. When the prospect is being saved on database, it tries to save a PersonID even I not have this property on my Prospect entity, I would like to know if ef core supports this kind of relationship.
Here's what I got on my model builder.
 modelBuilder.Entity<ProspectDto>(builder =>             {                 builder.ToTable("Prospects");                 builder.HasKey(prospect => prospect.ID);             });
modelBuilder.Entity<PersonDto>(builder =>             {                 builder.HasOne(p => p.Prospect).WithOne().HasForeignKey<ProspectDto>(pe => pe.ID);             });
Here's what is being executed on database:
INSERT INTO [Prospects] ([ID], [PersonID]) VALUES (@p421, @p422),
Thanks.

@brunneus I created this console app using your code and I correctly get ID used as the foreign key. Maybe you can look at this and see what needs to be changed to reproduce the issue you are seeing?
public class ProspectDto
{
    public int ID { get; set; }
}

public class PersonDto
{
    public int ID { get; set; }

    public ProspectDto Prospect { get; set; }
}

public class PersonContext : DbContext
{
    public DbSet<ProspectDto> Blogs { get; set; }
    public DbSet<PersonDto> Posts { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseSqlServer(
            @"Server=(localdb)\mssqllocaldb;Database=CollectionsTest;Trusted_Connection=True;ConnectRetryCount=0");
    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        modelBuilder
            .Entity<ProspectDto>(
                builder =>
                    {
                        builder.ToTable("Prospects");
                        builder.HasKey(prospect => prospect.ID);
                    });

        modelBuilder
            .Entity<PersonDto>(
                builder =>
                    {
                        builder
                        .HasOne(p => p.Prospect)
                        .WithOne()
                        .HasForeignKey<ProspectDto>(pe => pe.ID);
                    });
    }
}

class Program
{
    static void Main(string[] args)
    {
        using (var context = new PersonContext())
        {
            context.Database.EnsureDeleted();
            context.Database.EnsureCreated();

            context.GetService<ILoggerFactory>().AddProvider(new MyLoggerProvider());

            context.Add(new PersonDto { Prospect = new ProspectDto() });
            context.SaveChanges();
        }

        using (var context = new PersonContext())
        {
            foreach (var person in context.Set<PersonDto>().Include(e => e.Prospect))
            {
                Console.WriteLine("Person: {0}", person.ID);
                Console.WriteLine("Prospect: {0}", person.Prospect.ID);
            }
        }
    }
}

public class MyLoggerProvider : ILoggerProvider
{
    public ILogger CreateLogger(string categoryName) => new MyLogger();

    public void Dispose()
    {
    }

    private class MyLogger : ILogger
    {
        public bool IsEnabled(LogLevel logLevel) => true;

        public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
            => Console.WriteLine(formatter(state, exception));

        public IDisposable BeginScope<TState>(TState state) => null;
    }
}

Hi @ajcvickers first of all thank you for the answer.
I tried your code, but without success, for some reason, the ef core is "guessing" that I need to have a PersonID on my prospect entity.
just one side note, on my prospect entity, I have a person property navigation.
Here's what my model looks like.
` public class PersonDto : DtoBase
{
public PersonDto()
{
    }

    public ProspectDto Prospect { get; set; }
}`

`public class ProspectDto : DtoBase
{
public ProspectDto()
{
    }

    public PersonDto Person { get; set; } = new PersonDto();
}`

public abstract class DtoBase     {         public Guid ID { get; protected set; }     }
And here is what ef core is trying to do.
`INSERT INTO [Prospects] ([ID], [PersonID)
VALUES (@p79, @p80),
(@p82, @p83,,
(@p85, @p86),
(@p88, @p89);
Invalid column name: PersonID`

Just by adding an attribute ForeignKey("ID") on my ProspectDto everthing works.
Here's what my model looks like now.
 public class ProspectDto : DtoBase     {         [ForeignKey("ID")]         public PersonDto Person { get; set; } = new PersonDto();     }
And no configuration onModelBuilder are need, this is a little weird actually, because what I was trying to do on modelBuilder is exactly what I did with the attribute, but for some reason it didnt work.
This behavior is some bug,  or I miss some configuration on OnModelBuilder?
Thanks.

@brunneus The problem is in this piece of model building code:
modelBuilder
    .Entity<PersonDto>(
        builder =>
        {
            builder
                .HasOne(p => p.Prospect)
                .WithOne()
                .HasForeignKey<ProspectDto>(pe => pe.ID);
        });

The call to WithOne without any argument tells EF to configure the relationship with no navigation property pointing from ProspectDto to PersonDto. Specifically, it tells EF that the ProspectDto.Person property is not associated with this relationship. EF therefore creates another relationship for this, including creating the FK for it.
To tell EF that the Person property is a navigation property for this relationship you need to add it to the WithOne call:
modelBuilder
    .Entity<PersonDto>(
        builder =>
        {
            builder
                .HasOne(p => p.Prospect)
                .WithOne(p => p.Person)
                .HasForeignKey<ProspectDto>(pe => pe.ID);
        });

I think there's still a bug here in that EF sometimes assumes there is a foreign key property that doesn't really exist. In practice, I see it in a database-first scenario where SQL Server complains about an EF query containing a column that doesn't exist. The false column name is a concatenation of a navigation property and a key column.
I don't have a simple repro for the real-world case. Fortunately, there is simple repro that exposes what seems to be the same underlying bug. Consider a Dog entity and an corresponding extension entity, which is only present for certain superdogs:
public class Dog
{
	public int Id { get; set; }

	[ForeignKey("Id"), InverseProperty("Dog")]
	public DogEx DogEx { get; set; }
}

public class DogEx
{
	public int Id { get; set; }

	[ForeignKey("Id")]
	public Dog Dog { get; set; }
}

Building the DbContext fails with this error:

Invalid relationship has been specified using InverseProperty and ForeignKey. The navigation 'Dog' in entity type 'DogEx' and the navigation 'DogEx' in entity type 'Dog' are related by InversePropertyAttribute but the ForeignKeyAttribute specified for both navigations have different values.

The given model is ambiguous. It doesn't specify which side is principal end. And ForeignKey attribute fails to resolve the ambiguity. Though exception message can be improved.

The same error occurs even if I specify the principle end using the Fluent API:
builder.Entity<DogEx>().HasOne(e => e.Dog).WithOne(e => e.DogEx)
    .HasForeignKey<DogEx>(e => e.Id)
    .HasPrincipalKey<Dog>(e => e.Id);

However, if I use only the Fluent API and remove the annotations on the model, then I don't get the error at initialization. Instead EF tries to use DogId in its generated SQL for certain queries.

@breyed - It is ambiguous not just because of being one-to-one but also the property specified in FK attribute being present on both side. Whenever combination of ForeignKeyAttribute & InverseProperty causes ambiguous/incorrect model configuration, we throw exception because we don't know what to make out from those attribute. It cannot be overridden by fluent API, the attribute combination needs to be corrected to be consistent.
Therefore removing annotations removes the exception. If you specifying relationship using fluent API only and facing issues then please file a new issue with relevant details

I'm pretty sure now that the issues with EF trying to use nonexistent columns were due to HasForeignKey and HasPrincipalKey not being specified. Thanks for the help. Based on my experience, I added #7561 as a feature request to help with troubleshooting these kinds of problems.


add customisable tags on scripts

We should be able to add customisable tags when creating prompts to add specific tags for specific purposes. Namely, we want to be able to add "Collection-Code" or "Description" tags to create collections on BazAR.

Confirmar que todas as tags não têm mais que 4kb.

The specific rules are:
By default, you can't change or add tags with names that we have by default. For example, if we have the tag "App-Name", an user can't override it or add a new tag with the same name. So, if the user inserts that tag on the customisable field, it's ignored.
However, these tags can be override if the user specifies in this new customisable tags:

App-Name;
App-Version;
Contract-Src;
Init-State;
Title;
Description;
Type;
License;
Derivation;
Commercial-Use.

Maintaining a specific order for the tags would be a nice feature. So we would have all our main tags, then the custom tags that were added, then the license-specific tags, and then the topics.


Unable to login Ackee deployed to Netlify

🐞 Describe the bug
I got everything working locally, and I deployed successfully to Netlify.
But when trying to login using the credentials defined in the env variables I get the following error:
Response not successful: Received status code 502

📚 To Reproduce
I just deployed to Netlify using the button in the docs...
💡 Expected behavior
I should be able to login and see my dashboard.
🖼 Screenshots
Ackee login screen:

This is what I'm seeing in the Chrome dev tools:

And this is what I'm seeing in the Netlify functions olg:

⚙ Environment

Installation: Netlify
Ackee version: v3.1.1

📋 Additional context
Please let me know if I can provide any more info on this issue
Thanks 🙏

Hello, how are you?
At MongoDB Atlas, did you set up your user to be access from all internet (on sidebar, at Network configurations) and your user to have permission to read and write any database?
I did the same problem, because I've configured ackee database user to be an administrator, so they can't be able to write anything. Solved when I gave that permissions.

Thanks @carvalholeo
My DB user was configured as admin. I thought admin should have read and write privileges....
Any way it's working now!
🙏

YESSS, I thought it too in my case.
I'm happy that you fix your problem. Happy coding and happy data!

I've used the Deploy to Netlify button and receive the same 502 error.
Could someone please explain how to find the correct  ACKEE_MONGODB   URL info?
I created a database, user and password but I can't find the database URL.

I created a database, user and password but I can't find the database URL.

That depends on the platform you use. The URL usually looks like this: https://docs.mongodb.com/manual/reference/connection-string/


urlscan: init at 0.8.3

Motivation for this change
urlscan improves upon urlview by a few features like showing context around each selectable url.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Merged to master.


The messy / regex benchmarks are in outdated format

The benchmarks in messy/regex are still in the old format. My understanding is that these benchmarks are auto-generated, so those scripts should be updated to generate benchmarks in the new format.
I think @WileyCorning might have been working on this at one point?

@rahulk64 - Loris mentioned you were working on similar regex benchmarks. Can you look into fixing the scripts that generate these Messy benchmarks to be in the new format?


Can't set headers after they are sent

Error: Can't set headers after they are sent.

Hi @ycg520520, could you provide some example code?

Closing this as it's very old and there's been no further information.


[BUG] - PROJECT_ID env variable is not working for GCP deployment

Describe the bug
According to the doc, the PROJECT_ID env variable is required for gcp deployment. But during deployment, terraform throw an error
[terraform]: module.terraform-state.module.gcs.google_storage_bucket.static-site: Creating...
[terraform]: ╷
[terraform]: │ Error: project: required field is not set
[terraform]: │
[terraform]: │   with module.terraform-state.module.gcs.google_storage_bucket.static-site,
[terraform]: │   on modules/gcs/main.tf line 1, in resource "google_storage_bucket" "static-site":
[terraform]: │    1: resource "google_storage_bucket" "static-site" {

To fix it, another env variable GOOGLE_PROJECT also needs to be set to the project id.
Expected behavior
We need to determine the exact variable or set of variables required for gcp deployment and modify the doc/code accordingly.
OS and architecture in which you are running Nebari
M1 mac
How to Reproduce the problem?
Following the nebari deployment doc.
Command output
No response
Versions and dependencies used.
conda 23.7.3
Client Version: v1.28.1
2023.7.2.dev43+gf6d6a1b3
Compute environment
GCP
Integrations
No response
Anything else?
part of #1952

Thanks @fangchenli! I will test as soon as I can and provide some feedback.


showrootmenu isn't working

Hi
I have set key combos to show the root menu in ~/.bbkeysrc:
[showRootMenu] (Control-Mod1-Escape)
[showRootMenu] (Control-Mod1-0)
But No matter what keys I try I cannot get the menu to show in blackbox.  With debugging enabled I see output in blackbox and bbkeys that shows a signal is getting through:
bbkeys: action fired: [action: [showrootmenu], key: [0], mask: [12], string: []]
BlackboxWindow::exposeEvent() for 0x1400005
Any ideas?
(The mouse works fine)

I couldn't install BBKeys so I found this trick via Xbindkeys and Xdotools:
[showRootMenu]
xdotool click –window 1923 3

[showWorkspaceMenu]
xdotool click –window 1923 2

[showIconMenu]
xdotool click –window 1923 1

[showFrameMenu]
xdotool keydown Super ; xdotool click 3 ; sleep 0.2 && xdotool keyup Super:

https://xblackbox.noblogs.org/post/2022/07/07/blackbox-simulate-mouse-root-click-→-menu-workspaces-icons-→-button-1-2-3/?preview_id=21&preview_nonce=05f99daecd&_thumbnail_id=-1&preview=true

I couldn't get it to work in BB keys long ago either.  I don't think that it ever really worked.  Not sure what the problem is.

Sorry, I think this "workaround" just  work for me, because 1923 is the PID oof my "root window" (I guess)...
So... a more general solution to invoke blackbox menu from command-line.... (there's other ways, like settings the name of root window with xsetroot -name and send a click via xdotool.. works fine..)
xdotool click --window "$(xwininfo -root|grep "Window id:"|awk '{print $4}')" 3
xdotool click --window "$(xwininfo -root|grep "Window id:"|awk '{print $4}')" 2
xdotool click --window "$(xwininfo -root|grep "Window id:"|awk '{print $4}')" 1


Implement IntIsObjectId typehint annotation

Annotation already existing in: PropertyTypeHintAnnotation.kt (already there, needs to be uncommented.
Add typehint and typelimiting support in PropertyHintTypeMapper.kt

Closing in favor of #155


Use correct spring boot test starter

Pull Request Test Coverage Report for Build 5

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.111%

Totals

Change from base Build 3:
0.0%

Covered Lines:
31

Relevant Lines:
36

💛  - Coveralls


Unable to use JWT::JWK::Set

I'm reading through the docs and I see that I can use a JWT::JWK::Set to represent a set of JWKs and pass them to the JWT.decode method for validation purposed. however, I'm getting NameError (uninitialized constant JWT::JWK::Set) when I try to use it, and I see that the file here on this repo is 20-something days old while the last release was in august. so is this released? when can we expect this to be available?
I also don't suppose that the jwks param on JWT.decode works either so are there any viable workarounds in the meantime?
thank you.

Hi, you are correct this feature is unfortunately not released just yet. As soon as someone has a little extra time to release a new version of the gem it will be available. Now when there is some demand there is slightly more motivation to spend a moment to make a new release :)

Finally got around releasing 2.6.0 with the new JWK features.

@anakinj Thank you!


Rename /code to /edit?

Since the command has changed to edit foo, should the URL be updated to match?

Closing on the basis of subdomains.


multisignature management tool

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below 30k at the time of submission.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi. Thanks for the application. subscan.io is a nice explorer. I just added it to the tech stack. Are you willing to get paid in BTC? If not I suggest to apply via the general grants program. Regarding the multisignature module, could you link to it? I think there are multiple versions. Also are you aware of the following psp https://github.com/w3f/PSPs/pull/7

We are very excited that you like subscan, and we are constantly updating it to make it better. Because we hope that users can use the multi-sign tool as soon as possible, so this time we applied for Open-Grants-Program, and we accept BTC payment. About multiple versions, subscan has the function of scanning source code for version confirmation, which can be automatically adapted to the matching version. What we are currently doing is non-cryptographic multisig pallet, which will follow the standards of the community. We are also interested in developing and supporting other methods. If there is an opportunity, it may be put in a new grant later.

Thank you for your interest in subscan! We have added the BTC address to the document and revised the project description. We are currently link to [as_multi] (https://github.com/paritytech/substrate/blob/v2.0.0-alpha.4/frame/utility/src/lib.rs#L321>) module, and will follow community standards in the future, such as [w3f/PSPs#7] (https://github.com/w3f/PSPs/pull/7).

Sorry for the late reply here. I think in general we are interested in the application. But, as you already pointed out, you should try to make the interface easily adaptable to other multisig solutions (see for example), since there is still a lot under development. I also have a few additional comments/remarks:

I noticed that you did not use the template for everything. Could you maybe update at least the milestone according to the template. The tables make it easier to evaluate the deliveries later.
Also could you add some basic documentation/readme to every milestone (see the guide of the general program as a reference)
If possible integrate unit tests
What kind of tutorial are you planning to create and in which language(s)?
Is it possible to reduce the overall costs to 3 BTC?

@Noc2 The adaptable to other multisignature solutions you mentioned is indeed a problem. Our goal is to make a multisignature tool with good compatibility, and there are still many uncertain factors now, so we decided to temporarily delay the project. After the new version of multisignature solutions is determined, we will consider restarting this project.

Thanks for the update. I think this makes a lot of sense at this stage. I will also reach out to you once we feel the multisig modules have reached a certain majority. Feel free to contribute to the PSP in the meantime.

Hi @carlhong Would you still be interested in this? At this stage, I think we would be interested in a better UI specifically for the as_multi module.

@Noc2 I've updated payment to receive only BTC. As for call data, we are planing to build an opensourced user-friendly UI to list decoded call data with its hash for users who participated in the multi-signatures. For more convenience, we consider using database or other back-end service to store the index data. Data will be verified by hash on frontend.

BTC amount and call data info have been updated in application

Hi @carlhong
As part of our new grant guidelines, we require that the teams submit the designs and specifications as part of the application Project Details. As David mentioned, we are interested in funding your idea, but in order to accept the proposal, we would need to see more specifics. This will also help us evaluate your submission later.
Therefore, please provide:

the envisioned UI designs
more technical details on how you plan to use the database/backend

In addition, please note that we require the submission to contain unit tests for the code logic and integration tests for the overall application.
I hope to see an updated proposal soon!

@mmagician Sorry for the late reply. UI design, backend doc and test part have been added.

@carlhong Thank you for the updates. It makes it much easier to grasp your proposal now.

Congratulations. As part of the Open Grants Program, we want to help winning teams acknowledge their grants publicly while observing the foundation’s guidelines. To that end, we’ve created a badge for grant-winning teams. Here is a link to the download and guidelines.
If you are interested in making an announcement about your grant and you would like us to broadcast it on our  media channels then please get in touch with us at<EMAIL_ADDRESS>prior to making the announcement (at least two weeks notice is preferred) so that we can coordinate on timing and content.

@carlhong  any update regarding this grant? You so far only delivered milestone 1 (https://github.com/w3f/Grant-Milestone-Delivery/blob/master/deliveries/multisignature_management_tool_milestone_1.md) Are you still planning to deliver the second milestone? Otherwise we would terminate the grant within the next two weeks.

@Noc2 Sorry for late reply, we've completed the features required in milestone 2,  and the project is in final test stage. We'll pr the delivery as soon as possible after fixing some issues.

Sounds great. Thanks for the quick reply.


Add TicTacToeReactHooks

Fixes #251

Looks great!
Bummer that the TPS package set is still too old for this example. Hopefully this will be fixed along with 0.14 updates.
https://github.com/purescript/trypurescript/blob/master/staging/packages.dhall
Will create a fixme issue after this recipe is merged.

Miles approved this, so I'm going to trust him and merge this. Thanks for the example. It looks really nice!


Support Apple Silicon simulators

Not entirely sure this is correct but I've tried it locally and it seems to work, I just followed the existing pattern and this: https://kotlinlang.org/docs/mpp-share-on-platforms.html#target-shortcuts-and-arm64-apple-silicon-simulators
This is needed so that projects that use Orbit can run the iOS app on iOS Simulators on Apple Silicon (M1) Macs.

Closing as re-opened as #100 with fix for detekt


Decouple dependency on using peer segment download scheme for doing metadata pushes to controller

Description
This PR removes the need to enable peer segment download scheme for doing metadata push to controller in realtime tables.
Testing pending
Release Notes

Introducing a new table level config to explicitly enable uploading segments to filesystem uploadToFileSystem

Label: enhancement , refactor

Codecov Report

Merging #10136 (ab4db8d) into master (d63508d) will decrease coverage by 54.86%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #10136       +/-   ##
=============================================
- Coverage     68.53%   13.67%   -54.86%
+ Complexity     5126      176     -4950
=============================================
  Files          2000     1944       -56
  Lines        108476   105995     -2481
  Branches      16484    16190      -294
=============================================
- Hits          74341    14498    -59843
- Misses        28865    90353    +61488
+ Partials       5270     1144     -4126

Flag
Coverage Δ

integration1
?

unittests1
?

unittests2
13.67% <0.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

 Learn more

@Jackie-Jiang I don't think we need 2 new configs, as we discussed. We can make do with 1 new config. Please review!

Please check the test failure. I think it is related to the current change

Yes will fix it. Ty

Please update the PR description to reflect the current change. Also add some documentations in the pinot doc about the new config.


Reference to database and/or server name in 'KIOSK.sys.schemas' is not supported in this version of SQL Server

System information:

Operating system (distribution) and version
Windows 10 1803

DBeaver version
<IP_ADDRESS>902031804

Java version
OpenJDK 11.0.2

Additional extensions
None

Connection specification:

Database name and version
SQL Server(Azure) 12.0.2000.8

Driver name
Azure SQL Server

Do you use tunnels or proxies (SSH, SOCKS, etc)?
None

Describe the problem you're observing:
After I connect to a SQL Azure, I can't open 'Schemas' folder.
Steps to reproduce, if exist:

Add a new connection to SQL Azure and connect to it.
Open any DB but 'master'.
Try to open 'Schemas' folder. Following error messages occur.

SQL Error [40515] [S0001]: Reference to database and/or server name in 'KIOSK.sys.schemas' is not supported in this version of SQL Server.
  Reference to database and/or server name in 'KIOSK.sys.schemas' is not supported in this version of SQL Server.

Include any warning/errors/backtraces from the logs
dbeaver-debug.log

I'm having the same Issue. Why this is happening?

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently Azure SQL doesn't allow database switching on an active connection.

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently Azure SQL doesn't allow database switching on an active connection.

Thanks to @runemoennike, I found an official document about this(link). It says that Azure doesn't support USE statement.

In Azure SQL Database, the database parameter can only refer to the current database. If a database other than the current database is provided, the USE statement does not switch between databases, and error code 40508 is returned. To change databases, you must directly connect to the database. The USE statement is marked as not applicable to SQL Database at the top of this page, because even though you can have the USE statement in a batch, it doesn't do anything.

Even so, I hope DBeaver notify this info from the application or at least has a document about this.

FYI, I have been also using Jetbrain Datagrip and it has the same issue. But it was all working fine a couple of months ago. I think it might be something changed on Azure SQL.

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently, Azure SQL doesn't allow database switching on an active connection.

So workaround which I got is out of "Master" or your personal database Schema like "AzureDB" you can only set 1 at a time in DBeaver. I have set "AzureDB" in DataBase/Schema option it is working now.

@uslss can we get a comment on why this was closed? Has it been fixed? :)

I find that specifying the database does not work for the {SQL Server} driver, but does work for the {ODBC Driver 17 for SQL Server} driver.  I am connecting from Microsoft Access.

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently Azure SQL doesn't allow database switching on an active connection.

Thanks! Simple and effective work around :-) ... still would be nice if you could switch during an active connection. Any updates on this? Cheers to all!

Is this issue reproducible against in DBeaver 21.3 version?

@LonwoLonwo This still happens in Version <IP_ADDRESS>204170718. The workaround does work for me.

Ok @amurphy-tpc
Let's try to figure out your problem.
You can't open the schemas list in a non-default database? Like on the screen?

As I can see on the Internet: "Cross-database queries aren't supported in SQL Azure."

In this case, you can create connections for other databases which you have. You can specify the database name in the connection settings:

That is correct. The real issue is that I have at least 22 databases on one dev server. It is not ideal to have to create so many connections. Other DB IDEs don't seem to have this problem, but I prefer to use DBeaver.

As I can see on the Internet: "Cross-database queries aren't supported in SQL Azure."

To be clear, I don't need to run queries cross-database, just connect, view, and edit tables.

Ok.

At first step we can remove non default databases (with option in Connection settings), as we did it to PostgreSQL, Oracle and Netezza.

When is this bug going to be fixed? It's been 4 years now. Why other IDEs don't have such an issue?
It's not about running cross-database queries, but simply switching between several databases on the same Azure server.

but simply switching between several databases on the same Azure server

And how can we do this without the USE statement? Do you know the solution?

Hi everyone.
Options to use the ability to see all databases of connection implemented in this ticket and will be available in the next release, 22.1.4
By default, only specified in the connections setting database will be shown in the Database navigator tree.
And we created another ticket to solve the main issue of this ticket: https://github.com/dbeaver/dbeaver/issues/17263

I have DBeaver 23.0.2 and this issue is still around. Is there any plan to fix it? Thanks. (BTW, I've used the workaround, but I have many databases, and creating a connection for each one is too difficult to maintain)

@y2jhotaru did you created connection using host and port configuration or by url?

I used url as I'm connecting to a native Azure Instance. With managed instance or on premise SQL, I have no problem.

Multi-database support does not work for UREL-configured connections since 23.0.0.
An issue about making this works here #19241
So please just use host and port for connection configuration

To resolve this issue, simple change the name of Database?Schema field in Edit Connection from master, i renamed from master to i.e mars_db which i have under master->Databases->.
Alter the name and then use it.

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently Azure SQL doesn't allow database switching on an active connection.

Worked for me, thank you!

As a workaround, you can put the name of the database you want to connect to in the database connection settings (the field "Database/Schema" just under "Host".) Apparently Azure SQL doesn't allow database switching on an active connection.

Man, you saved me!
Thank you!


Runtime error  CUDA out of memory

I was trying to run this model on 2080ti，but it always said I do not have enough GPU memory.
There is no other process using GPU

Hello, are you sure, you check nvidia-smi, than the procces still working?
I'm checking and rewriting this repo few time and this repo unfortunately has a little bit small mistackes, like CUDA out of memory when evaluating model, because there isn't with torch.no_grad().
Also, be sure, you use light version of model, only batch_size=1 and other paramaters, which are affect to the model architecture - try to decrease them until your model can stored on GPU device.

Same problem

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

On my opinion, there is better solution to unpaired transfer style, like VSAIT: Unpaired Image Translation via Vector Symbolic Architectures for example.

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

On my opinion, there is better solution to unpaired transfer style, like VSAIT: Unpaired Image Translation via Vector Symbolic Architectures for example.

Thanks @kirill-ionkin for pointing it out, I was trying VSAIT recently; for reference I found it here: https://github.com/facebookresearch/vsait

Yeah,and I've noticed that after a certain number of iterations, the GPU memory requirement grows. I'm training with single-channel images, batch_size is 2, and about 1000 pairs of images. And, it ends up needing around 20GB of VRAM,so big.


Test item MakeCredentialCredParamsTest

test item:　MakeCredentialCredParamsTest
{
"description": "Tests entries in the credential parameters list.",
"error_message": "Falsely rejected cred params list with 1 good and 1 bad element.",
"id": "make_credential_cred_params",
"observations": [
"A prompt was expected, but not performed. Sometimes it is just not recognized if performed too fast.",
"The failing error code is CTAP2_ERR_UNSUPPORTED_ALGORITHM."
],
"result": "fail",
"tags": []
},
Webauthn specs says below in https://www.w3.org/TR/webauthn-2/#dom-publickeycredentialdescriptor-type

client platforms MUST ignore any PublicKeyCredentialDescriptor with an unknown type.

ctap2 spec has description for pubKeyCredParams(0x04) of authenticatorMakeCredential's command

PublicKeyCredentialParameters' algorithm identifiers are values that SHOULD be registered in the IANA COSE Algorithms registry

So authenticator should not accept type="non-existing type" with the alg value of COSE.

make_credential_cred_params needs to be looked at.
In principal, for algorithm adjility we don't want authenticators blowing up when seeing an unknown /unsupported alg.
YK ignores unsupported algs so we need to look at why this test is failing.
We may need to clarify the test in CTAP2.1 as I can see that the "PublicKeyCredentialParameters' algorithm identifiers are values that SHOULD be registered in the IANA COSE Algorithms registry" that was intended for RP might be misinterpreted by authenticators as a reason to reject unknown values.
From what I can make of it I think the intent of the test is correct.

Looking at the test https://github.com/google/CTAP2-test-tool/blob/master/src/tests/make_credential.cc#L359
It is the unknown type that is causing errors not the unknown alg.
I am guessing most authenticators will reject type values that "public-key".
We should clarify in CTAP 2.1 if unknown type and unknown algs MUST both be ignored when processing pubKeyCredParams.

It is the unknown type that is causing errors not the unknown alg.

How do you know? In the test, the invalid PublicKeyCredentialParameters sequence element contains both an invalid alg value and an invalid type value, and the authenticator only returns an error that does not indicate which of the PublicKeyCredentialParameters instance's members caused the error.
If we changed the test code's L359 to have cbor::Value("public-key") rather than cbor::Value("non-existing type") (leaving the invalid agl value of cbor::Value(-1) unaltered), we could see whether the invalid alg value causes a misbehaving authnr to return the error (which it should not do because the test's PublicKeyCredentialParameters sequence does contain one valid PublicKeyCredentialParameters instance.

For the sake of debugging, I could split this test into 2. Both with 1 valid entry, and an invalid entry with only type or alg being unknown.
However, the question still stands if we want both. Since an authenticator's behaviour shouldn't depend on knowing the current IANA COSE Algorithms registry, I don't see why it should be different.
I think this test makes authenticators more compatible with future versions. Or, to put it differently: Why even have an enum with 1 variant if we can't extend it?

Why even have an enum with 1 variant if we can't extend it?

Well, IIUC, the relevant CTAP makeCred step is implicitly saying to ignore invalid values, i.e., if there's at least one  PublicKeyCredentialParameters instance containing a valid COSEAlgorithmIdentifier value.  Please see https://github.com/fido-alliance/fido-2-specs/issues/1113#issuecomment-731836851.

For the sake of debugging, I could split this test into 2. Both with 1 valid entry, and an invalid entry with only type or alg being unknown.

Sure, that'd aid in determining what in particular an improperly-operating authenticator is getting wrong.

Since an authenticator's behaviour shouldn't depend on knowing the current IANA COSE Algorithms registry, I don't see why it should be different.

IIUC, what you mean is that an authnr ought to be considering a given PublicKeyCredentialParameters instance as invalid if it contains an alg member whose value is an alg that the authenticator does not implement, rather than whether the alg is a valid alg as defined by the IANA COSE Algorithms registry ...?
If so, I agree.
Though, for the purposes picking an alg value that presumably an authnr would not support, picking one from the IANA COSE Algorithms registry (as you have done) that is "unassigned" seems nominally reasonable, although it could become assigned and a future authnr could conceivably implement it.  Perhaps it would be slightly better to pick 0 since it is denoted as "reserved" and perhaps is less likely to be assigned someday?

It is the unknown type that is causing errors not the unknown alg.

How do you know? In the test, the invalid PublicKeyCredentialParameters sequence element contains both an invalid alg value and an invalid type value, and the authenticator returns an error that does not indicate which of the PublicKeyCredentialParameters instance's members caused the error.

I checked our code.
We get the RSA alg which is unknown for the YK CTAP2.1_Pre keys from the MS RP and we have successfully ignored it.
I know the YK will error on any type value that is not"public-key".

If we changed the test code's L359 to have cbor::Value("public-key") rather than cbor::Value("non-existing type") (leaving the invalid alg value of cbor::Value(-1) unaltered), we could see whether the invalid alg value causes a misbehaving authnr to return the error, which it should not do because the test's PublicKeyCredentialParameters sequence does contain one valid PublicKeyCredentialParameters instance.
See also: fido-alliance/fido-2-specs#1113 (comment)

0 is probably a safe alg for testing.

My point is webauthn spec says "Currently one credential type is defined, namely "public-key", link.
And I agree authenticator must ignore unknown IANA COSE Algorithms registry and I think this is a common way most authenticators implement.

@nuno0529 So your point is that a type different from public-key should not be ignored? The point against this behaviour is what I meant with

Why even have an enum with 1 variant if we can't extend it?

If later protocol versions introduce a different type and make that valid, your security key would stop working whenever this new type is in the list?

I prefer the way to have the positive response (if it's still valid) than to have error end/response. I think this behavior on some authenticators is to comply fido2-conformance-module test item to not allow non-"public-key" case.

My general approach is to try to constrain allowed behaviour more tightly. I think this has a long-term benefit. And you can pass both tools with one implementation.

@kaczmarczyck I support your point that a type different from public-key should be ignored for more compatible with future versions. So I think the fido-2-specs, PR#1124 is a good change and we should also push this change into fido2-conformance-tool.


[BUG]: Models ArcFace, Dlib, and others are not working. VGG-Face is the only model working for me

Before You Report a Bug, Please Confirm You Have Done The Following...

[X] I have updated to the latest version of the packages.
[X] I have searched for both existing issues and closed issues and found none that matched my issue.

DeepFace's version
v0.0.90
Python version
3.9.19
Operating System
Ubuntu 20.04
Dependencies
Some packages versions I am currently using.
Name                    Version                   Build  Channel
cuda-version              11.8                 h70ddcb2_3    conda-forge
cudatoolkit               11.8.0              h4ba93d1_13    conda-forge
cudnn                     <IP_ADDRESS>             hbc23b4c_3    conda-forge
deepface                  0.0.90                   pypi_0    pypi
distributed               2023.10.1          pyhd8ed1ab_0    conda-forge
dlib                      19.24.4         cuda118py39ha3e66a0_0    conda-forge
easydict                  1.9                        py_0    conda-forge
expat                     2.6.2                h59595ed_0    conda-forge
facemodels                0.1.0rc0                 pypi_0    pypi
facenet-pytorch           2.5.3                    pypi_0    pypi
ffmpeg                    6.1.1           gpl_h8007c5b_104    conda-forge
fsspec                    2024.3.1           pyhca7485f_0    conda-forge
gdown                     5.1.0                    pypi_0    pypi
h5py                      3.10.0          nompi_py39h2c511df_101    conda-forge
hdf5                      1.14.3          nompi_h4f84152_100    conda-forge
imagecodecs               2024.1.1         py39hd694e17_2    conda-forge
imageio                   2.34.0             pyh4b66e23_0    conda-forge
insightface               0.1.5                    pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
itsdangerous              2.2.0                    pypi_0    pypi
jasper                    4.2.2                he6dfbbe_0    conda-forge
jax                       0.4.26                   pypi_0    pypi
jaxlib                    0.4.26                   pypi_0    pypi
json5                     0.9.24                   pypi_0    pypi
jsonpointer               2.4                      pypi_0    pypi
jsonschema                4.21.1             pyhd8ed1ab_0    conda-forge
keras                     3.2.1                    pypi_0    pypi
matplotlib                3.8.3            py39hf3d152e_0    conda-forge
mediapipe                 0.10.11                  pypi_0    pypi
mtcnn                     0.1.1                    pypi_0    pypi
mxnet                     1.9.1                    pypi_0    pypi
numpy                     1.23.5                   pypi_0    pypi
numpy-base                1.26.4           py39h8a23956_0
onnx                      1.15.0           py39h868dac8_0    conda-forge
onnx2torch                1.5.12                   pypi_0    pypi
onnxruntime               1.17.1          py39h465c7e1_202_cuda    conda-forge
opencv                    4.9.0           qt5_py39h8123b4e_510    conda-forge
opencv-contrib-python     <IP_ADDRESS>                 pypi_0    pypi
pandas                    2.2.1            py39hddac248_0    conda-forge
pillow                    10.2.0           py39had0adad_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
pytorch                   2.1.0           cuda112_py39h53f755c_303    conda-forge
pytorch-gpu               2.1.0           cuda112py39h398211c_303    conda-forge
pytorch-lightning         2.2.1              pyhd8ed1ab_0    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pywavelets                1.4.1            py39h44dd56e_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
retina-face               0.0.17                   pypi_0    pypi
scikit-image              0.22.0           py39hddac248_2    conda-forge
scikit-learn              1.1.3                    pypi_0    pypi
scipy                     1.12.0           py39h474f0d3_2    conda-forge
seaborn                   0.13.2                   pypi_0    pypi
tensorboard               2.16.2                   pypi_0    pypi
tensorboard-data-server   0.7.0            py39hd4f0224_1    conda-forge
tensorboardx              <IP_ADDRESS>            pyhd8ed1ab_0    conda-forge
tensorflow                2.16.1                   pypi_0    pypi
tensorflow-cpu            2.15.0          cpu_py39h718b53a_2    conda-forge
tensorflow-estimator      2.12.0                   pypi_0    pypi
tensorflow-io-gcs-filesystem 0.36.0                   pypi_0    pypi
tf-keras                  2.16.0                   pypi_0    pypi
torchmetrics              1.3.2              pyhd8ed1ab_0    conda-forge
torchvision               0.16.1          cuda112py39h4572277_2    conda-forge
tqdm                      4.66.2             pyhd8ed1ab_0    conda-forge
Reproducible example
from sklearn.datasets import fetch_lfw_pairs
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score, confusion_matrix
import matplotlib.pyplot as plt
from deepface import DeepFace
from tqdm import tqdm
import pandas as pd

#load LFW data
fetch_lfw_pairs = fetch_lfw_pairs(subset = 'test', color = True, resize = 1)

pairs = fetch_lfw_pairs.pairs
labels = fetch_lfw_pairs.target
target_names = fetch_lfw_pairs.target_names

instances = pairs.shape[0]
print("instances: ", instances)

# Evaluate results
actuals = []; predictions = []; distances = []
pbar = tqdm(range(0, instances))

for i in pbar:
    pair = pairs[i]
    img1 = pair[0]; img2 = pair[1]
    img1 = img1[:,:,::-1]; img2 = img2[:,:,::-1] #opencv expects bgr instead of rgb

    #obj = DeepFace.verify(img1, img2, model_name = 'VGG-Face', model = vgg_model)
    obj = DeepFace.verify(img1, img2, model_name = 'Dlib', distance_metric = 'euclidean', enforce_detection=False)
    # obj = DeepFace.verify(img1, img2, model_name = 'ArcFace', distance_metric = 'cosine', enforce_detection=False, normalization="ArcFace")
    prediction = obj["verified"]
    predictions.append(prediction)

    distances.append(obj["distance"])

    label = target_names[labels[i]]
    actual = True if labels[i] == 1 else False
    actuals.append(actual)

accuracy = 100*accuracy_score(actuals, predictions)
precision = 100*precision_score(actuals, predictions)
recall = 100*recall_score(actuals, predictions)
f1 = 100*f1_score(actuals, predictions)

print("instances: ",len(actuals))
print("accuracy: " , accuracy, "%")
print("precision: ", precision, "%")
print("recall: ", recall,"%")
print("f1: ",f1,"%")

Relevant Log Output
Log Output for Model Dlib:
instances:  1000
100%|███████████████████████████████████████████████████████████████| 1000/1000 [00:07<00:00, 128.84it/s]
instances:  1000
accuracy:  50.0 %
precision:  50.0 %
recall:  100.0 %
f1:  66.66666666666666 %
Log Output for Model ArcFace:
2024-04-26 11:14:20.836879: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-04-26 11:14:21.529540: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
instances:  1000
0%|                                                                           | 0/1000 [00:00<?, ?it/s]2024-04-26 11:14:23.486832: W tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
100%|████████████████████████████████████████████████████████████████| 1000/1000 [05:18<00:00,  3.14it/s]
instances:  1000
accuracy:  50.0 %
precision:  50.0 %
recall:  100.0 %
f1:  66.66666666666666 %
Expected Result
The code example is from your LFW Tutorial. I was expecting the results to be similar to the ones reported (or atleast greater than 95%).
What happened instead?
The model performances are very poor around 50% even after finetuning the thresholds. Can you help me identify what is going wrong?
Additional Info
No response

you are referencing an external study as a bug. deepface's issue tracker is not right place to report this.
try to save the coming image from lfw to your file system then pass the image's path to deepface.

you should ask your questions on stackoverflow as mentioned in issue templates.
Do you know why saving the images to a file and passing the image path might work differently? > Most probably sklearn stores them as compressed. Once they are saved, DeepFace can use them correctly.


fatal infantile encephalocardiomyopathy ancestry

4 | fatal infantile encephalocardiomyopathy (MONDO:0015487)
51 | cardiomyopathy (MONDO:0004994)
I have annotations to both of these terms, but nothing in the  intersection.
0 | (cardiomyopathy (MONDO:0004994) AND fatal infantile encephalocardiomyopathy (MONDO:0015487)) | ...
Should MONDO:0015487 be a type of MONDO:0004994?

should MONDO:0004994 also be a
mitochondrial disease with hypertrophic cardiomyopathy (MONDO:0016327)
(historically I had COX15 which is MONDO:0014051 annotated to MONDO:0016327 too)

I added cardiomyopathy as a superclass of 'fatal infantile encephalocardiomyopathy'
I don't think it makes sense for MONDO:0004994 cardiomyopathy to be a child of mitochondrial disease with hypertrophic cardiomyopathy (MONDO:0016327).


Update _help.py

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

We will not accept PRs to the master branch. Please reopen against dev. cc/ @dendeli-msft


Chat - Part to in IOU preview money request can be moved

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App
Login with any account
Create money request
Open IOU preview
Swipe down with your finger

Expected Result:
Part to in the IOU preview money request NOT moves
Actual Result:
Part to in the IOU preview money request can be moved
Split bill the same
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/38a81137-ee7a-4c25-8300-b73c4d897ab6
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I'm going to remove the deploy blocker label, this can be worked on now but isn't stopping from using the app.
PS: @c3024 can you tell if this is a regression from a recent PR?

I will apply the Bug label here to follow the BZ process

Oh thanks @aimane-chnaif, given that's being refactored, I'm leaning towards closing this GH, what do you think?


Error while adding new company

Summary
Error while adding new company
Background
Provide context to the issue - provide steps to reproduce the behavior, such as:

Launch Corporate Console in dev environment
Login as CLA manager
Click on Get Started under "Associate yourself with a company in Easy CLA" section to add company
Type the company name in Select Company field for e.g "Framework"
Click on ADD COMPANY button
Observed the spinning icon keeps spinning and page is stuck there
Also observed errors in console and also post request for add company failed. Please see the screenshot for the errors

NOTE: Company was added successfully even if there were errors and cla manager could view the company in the companies page
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

@ngozi-ekekwe can you review/confirm. Maybe we simply need to confirm the response is good or bad, and then update the user by showing a message or continue/close?

Verified that user is able to add Company from Corporate console without any issues. Verified in FF, Chrome and IE


Make Minecraft localisations arrays and randomly select them?

It might be nice to have randomly selected emoji on the death of death messages.
For example:

Person fell out of the world 💀
Person fell out of the world 👻
Person fell out of the world 😿

Done.


options: add a missing static

Also remove an outdated todo

does not work for cryptic python related reasons, closing.


not an issue but question

i must re-jailbreak my phone every 7days or??

No, unless you restart it. #162

noo i didnt meen that,i know that becose is semi-unthedeard (sorry for my bad english i am from croatia)
i ask this becose itwe4kz say you must re-jailbreak you idevice evey 7days now i asking you people if this is true??

#162

U must reload the ipa on to your device every 7 days. However if you are in jb mode and 7 days has past, Nothing bad will happen until you reboot. Look on r/jailbreak for more info #162
On 30 jan. 2017 20:36 +0100, Matoo69<EMAIL_ADDRESS>wrote:

noo i didnt meen that,i know that becose is semi-unthedeard (sorry for my bad english i am from croatia)
i ask this becose itwe4kz say you must re-jailbreak you idevice evey 7days now i asking you people if this is true??
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/kpwn/yalu102/issues/300#issuecomment-276166376), or mute the thread (https://github.com/notifications/unsubscribe-auth/ARGTBugCXVvNNGriWL5yq6rWZzYLNutLks5rXjuugaJpZM4Lx0aY).

will this be fix??

No
Close issue please


v1.3 - Add findevent Command

Fixes #129
Fixes #146
Key Changes
Add support for findevent command, along with relevant tests.
The command works by generating a FilterEventPredicate object and using it to filter the filteredEventList in the ModelManager, which consequently affects what is displayed to the UI.
I have also added most tests for this component, with the key exception of the FilterEventPredicate object - I will add this in a future PR.
Finally, minor fix that makes the comparison of event names now case-insensitive.

Codecov Report

Merging #148 (054b988) into master (9abedda) will increase coverage by 0.56%.
The diff coverage is 88.23%.

@@             Coverage Diff              @@
##             master     #148      +/-   ##
============================================
+ Coverage     70.86%   71.43%   +0.56%
- Complexity      689      724      +35
============================================
  Files           106      109       +3
  Lines          2475     2552      +77
  Branches        363      379      +16
============================================
+ Hits           1754     1823      +69
- Misses          572      573       +1
- Partials        149      156       +7

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...rc/main/java/seedu/address/logic/LogicManager.java
71.42% <0.00%> (ø)

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
98.55% <ø> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...eedu/address/model/event/EventFilterPredicate.java
80.64% <80.64%> (ø)

...seedu/address/logic/commands/FindEventCommand.java
90.00% <90.00%> (ø)

...u/address/logic/parser/FindEventCommandParser.java
94.73% <94.73%> (ø)

...edu/address/logic/commands/DeleteEventCommand.java
91.66% <100.00%> (ø)

...seedu/address/logic/commands/EditEventCommand.java
82.05% <100.00%> (ø)

... and 8 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Please add license information to your repository

Hey @tazatwell,
I really like your cfn macro to solve the problem of missing SecureString support in CloudFormation, thanks for your work!
Unfortunately there isn't a license attached to the repository or mentioned in your README or the source code.
This makes it impossible for others to use your macro. It's not enough to make it public on GitHub.
Personally I would suggest MIT for such a project. To manage the license compliance I prefer https://reuse.software.
If you are unsure, pages like https://choosealicense.com/ can help you to select a open source license.
Dom

Hi , thank you for the helpful links, this is my first licensed repository.
Sorry for the delay, license is added.


Update patch versions of dependencies

Updates to the latest patch versions of the included dependencies. Since no major or minor versions are update to, the impact should be confined to bug and security fixes.

Hi @larsnaesbye, thank you for your PR ! 🚀
I close it because it has been resolved by https://github.com/gravitee-io/gravitee-bom/pull/8.


[LiveComponent] Fix minor misalignment in documentation

Q
A

Bug fix?
no

New feature?
no

License
MIT

One the LiveComponent document page, two following blocs were not aligned at the end of the Rendering Quirks with List of Embedded Components section.

Before
After (preview mode)

Thanks for fixing that Simon!


issue with main.py

file "main.py", line 163,in
keyerror: 'data'

you use windows or linux ?

windows my buddy

you use main.exe ?

yes

vblackout now the bot work, i don't know why did that before

ok great ;)

can i recommend something about a function of bot?

You can always be if I have time I would improve

ok, can you add that the bot, every hour, hack the dev? and can you accept my friendship? XD


bug: clients can connect to inexistent database

Describe the bug
$ psql -h localhost -p 4566 dev
psql (14.2, server 9.5.0)
Type "help" for help.

dev=> \c xxx
psql (14.2, server 9.5.0)
You are now connected to database "xxx" as user "eric".
xxx=> \c yyy
psql (14.2, server 9.5.0)
You are now connected to database "yyy" as user "eric".
yyy=>

To Reproduce
See above
Expected behavior
Should raise an error: database "xxx" does not exist
$ psql -h localhost -p 5432 xxx
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL:  database "xxx" does not exist

Additional context
related #2751

I think that's a feature instead 🤣 Currently, we don't need to specify database on psql. So psql will always connect using the current user's username. If we fix this issue, all user-facing docs need to be changed.


Navigating Back to the Calendar Page

New functionality should include:

New message should appear above the Calendar Container

"To change your selections, remove some days first"

This message should be styled like the Error Messages currently present on the Calendar Page, but without a red border.
The remove date circles should be black when navigating back to the page.
The focus of the browser should also be set to the new message when navigating back.

 Calendar Page functionality while navigating back to page after saving data [S/M]

Closing issue as it was merged into PR #379


End of lines characters are altered by fixes

The end of line characters are altered by fixes if they aren't the OS native line endings.
The current line endings should be maintained instead of assuming that the user wants the current OS default.

Capturing issues as I find them on my debugging spree 😄

+1! I also support this idea!