[Bug]: Goal Edit Fragment UI collapses

Contact Details
<EMAIL_ADDRESS>What happened?
A bug happened! UI of Edit Goal Collapses in screen

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@binayshaw7777 Hmm understand this is really good point
Here we need improve


Using sum types in Model

I'm trying to make a text-based game using monomer, but I'm struggling a bit with making different views. For example, when the app is launched, I want the user to be in the main menu view. From there they can click on a button to move into the game view or the options view. The way I would implement this is to define the app model as a sum type like this:
data AppModel
  = MainMenuView MainMenuModel
  | GameView GameModel
  | OptionsView OptionsModel

Now when I want to add fields to the options view, the most convenient way to do this would be to use lenses, but since AppModel is a sum type, I only have access to a prism, which is not accepted by, say, numericField.
I also considered adding a data kind parameter to the app model so that I can keep track which view I'm in on the type level, but then I get stuck whenever I need to switch from one view to another, because the EventHandler can only switch to a new model if it has the exact same type.
So my question is, what's the monomer way to make apps with multiple views?

Ahh, I wasn't aware of singular, I'll try it out.

@Soupstraw I'll close the issue for now. Please re-open if needed or create a new one. Thanks!


->schema and create-dataframe should support fields of struct array

[x] I have read through the quick start and installation sections of the README.

Info
Geni Version: 0.0.38
Problem / Steps to reproduce
user=> (require '[zero-one.geni.core.dataset-creation :as g] :reload)
nil
user=> (g/->schema {:coords [{:x :int :y :int}]})
Execution error (IllegalArgumentException) at org.apache.spark.sql.types.DataTypes/createArrayType (DataTypes.java:114).
elementType should not be null.

Expected results
user=> (g/->schema {:coords [{:x :int :y :int}]})
#object[org.apache.spark.sql.types.StructType 0x5cb6297e "StructType(StructField(coords,ArrayType(StructType(StructField(x,IntegerType,true), StructField(y,IntegerType,true)),true),true))"]

Proposed solution
At the moment, array-type supports only simple val-type listed in data-type->spark-type. E.g. :bool, :string.
We can extend array-type to support any Spark SQL DataType, in the same fashion we are already doing in struct-field.

Please help reviewing pull request #334


install failure

happens during
yarn install
warning Workspaces can only be enabled in private projects.
error An unexpected error occurred: "EEXIST: file already exists, mkdir '/Users/me/my/node_modules/@nxtend/capacitor/node_modules'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/me/my/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

This project is no longer maintained and these plugins have been moved to https://nxext.dev. There are migrations guides on the docs for each plugin. Try that out, and report any issues on that repo.


Find an exact time of an aspect

First of all, thank you João for making this an open source project.
Sorry if I miss something. Is there a way of finding a date and time of an astrological event such as exact aspects or sign ingress?
Many thanks,
Mark

Hi Mark, I do not have anything like that in this library, but you can try to implement something like I did for finding the date of prev/next solar returns: https://github.com/flatangle/flatlib/blob/master/flatlib/ephem/tools.py#L75


Dotty: test dotty bootstrapped and non-bootstrapped separately.

@adriaanm please review.

is the removal of the validate/scalastyle job intentional? if so, lgtm

Yes it is.

I'll put this into production shortly...

done, https://scala-ci.typesafe.com/view/dotty/job/dotty-master-validate-partest-bootstrapped/ exists now

@DarkDimius : I think we also need to update https://github.com/scala/scala-jenkins-infra/blob/master/templates/default/jobs/lampepfl/validate/main.xml.erb to replace scalastyle with partest-bootstrapped


can't Import XWebView

Hi guys,
I've installed by pod, but it the line Import XWemView in code gives "/iosapp/ViewController.swift:11:8: Cannot load underlying module for 'XWebView'
see attachment

How can I solve this issue?
Thanx

xcode 7.3.1

seems it started to work for me.
So, what I did?

uninstalled all other frameworks (firebase, in my case) and other thirdpath plists (GoogleService-Info in may case)
quite xcode
installed XWebView
opened and closed xcode
installed other frameworks back


Rename phase.Fn to phase.Initialize

Fixes #759

Codecov Report

Merging #780 (8d2aaa8) into master (7f9afd4) will decrease coverage by 4.01%.
The diff coverage is 47.77%.

@@            Coverage Diff             @@
##           master     #780      +/-   ##
==========================================
- Coverage   52.34%   48.32%   -4.02%
==========================================
  Files         132      141       +9
  Lines        7499     6975     -524
==========================================
- Hits         3925     3371     -554
+ Misses       3063     3006      -57
- Partials      511      598      +87

Impacted Files
Coverage Δ

pkg/config/consts.go
0.00% <0.00%> (ø)

pkg/core/chain/legacy.go
0.00% <0.00%> (ø)

pkg/core/consensus/agreement/store.go
62.12% <0.00%> (+2.81%)
:arrow_up:

...kg/core/consensus/blockgenerator/candidate/mock.go
0.00% <0.00%> (ø)

pkg/core/consensus/blockgenerator/score/mock.go
0.00% <0.00%> (ø)

pkg/core/consensus/comms.go
0.00% <0.00%> (ø)

pkg/core/consensus/fixtures.go
0.00% <0.00%> (ø)

pkg/core/consensus/msg/validation.go
50.00% <ø> (+20.58%)
:arrow_up:

pkg/core/consensus/publisher.go
0.00% <0.00%> (ø)

pkg/core/consensus/queue.go
0.00% <ø> (-100.00%)
:arrow_down:

... and 198 more

Continue to review full report at Codecov.

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


✨ Syntax highlighted diff output ✨

A bit hacky but it works, I haven't completely tested it with diff-shades but have tested the _diff.py lib separately.
Btw, I am logged out of discord and can't log in back (my phone broke and I can't find the recovery codes :pensive:), so keep the conversation here.
And happy new year! (a bit late)

Thanks for working on this. I'm not a big fan of how much complexity this introduces for just the diff functionality especially as I'm a bit worried about the maintainability of it. I actually just had another idea how do this inspired from this article. It's pretty likely it won't work as I'd want it to but if it does the benefits are 1) way less hacky code, and 2) correct behaviour with multiline strings and similar constructs. Performance will suffer but performance doesn't matter too much if we're displaying a colored diff to the user anyway. I'll look into this later this week.
Concretely, this branch is a bit out of date (which is important because I just refactored the whole test suite), it needs some typing fixes, and quite a bit of glue code with the commands to handle light themed terminals. I can take over and see if I can resolve these issues myself. I know I've described diff-shades as a hacky bit of software but I'm trying to slowly undo that (eg. see the brand new test suite on main) :slightly_smiling_face:

Sure, that would be great. Let me know if you come across any difficulty :+1:

Light

Dark

Would appreciate another look at this, bumping in case you forgot this PR exists :D

Hey @ichard26, hope you are doing well. Do you have any plans on proceeding with this addition?


Is it possible to use this in agentic way?

I think the project should strive to adopt modern approaches and make them accessible to the less sophisticated parts of the development community.

We will only use this feature if it is an agent!


Moving docs to separate repository

When adding or modifying test cases or translations, I almost always run some scripts to update the documentation and visually inspect the changes. This works well in terms of quality assurance but tends to clutter commits and make inspection of changes using tools such as gitk or Sublime Merge more tedious than it should be.
I have thus decided to more the documentation to a separate repository (visible at https://aroberge.github.io/friendly-traceback-docs/docs/html/).
However, updating the documentation using the scripts included in this repository assumes that both this repository and the documentation directory are found at the same level on a local computer, with hard-coded names:
    base_path/
            +- friendly-traceback/
            +- friendly-traceback-docs/
```

The text on Pypi probably needs updating as it still links to this tickets
https://pypi.org/project/friendly-traceback/

Thank you @stuaxo for reporting this.


feat(design-land): added radio examples to design-land

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@Nolan-Arnold needs a rebase after #915

@damienwebdev rebased


Reject public IP's which are in the private ranges and remove existing instances of this

Currently IP's such as <IP_ADDRESS> are accepted for public IP's, while these are obviously private. Same for CIDR's and IPv6
see https://docs.rs/valip/0.3.0/valip/ip4/struct.Ip.html#method.is_public for example

The issue is still valid on devnet and private ips are accepted.
Node Public Config

Farm Ips

It's not deployed on devnet yet


PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'objective' in 'where clause'

I use datatables as Service
In my current project I need to create some columns based on information on the database but mixed or transformed. I use SQL for that but it seems that when filtering datatables is unable to find those new columns I create via SQL.
This is the most basic example of what I am trying to do.
Code:
public function ajax()
{
    return $this->datatables
        ->eloquent($this->query())
        ->addColumn('action', function($row) {
            return view('admin.externaloffers._actions', compact('row'))->render();
        })
        ->filterColumn('objectives', function ($query, $keyword) {
            $query->whereRaw(
                "objectives  like ?",
                [
                    "%{$keyword}%",
                ]
            );
        })
        ->make(true);
}

public function query()
{
    $query = Externaloffer::select([
        DB::raw('externaloffers.*, CASE WHEN user_type = \'patient\'  THEN \'Paciente\' ELSE \'Clinica\' END AS objectives')
    ]);
    return $this->applyScopes($query);
}

The information is correctly displayed in the view but any attemp of search ends up with an
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'objective' in 'where clause'
I looked examples, read the documentation but I do not find the issue.
System details

Operating System Ubuntu 16.04
PHP Version 7.1
Laravel Version 5.2
Laravel-Datatables Version 6.29.0

By the way, sorting works as expected out of the box.
The same SQL run from the database creates these columns:
id |name |description |url |code |user_type |published |created_at |updated_at |deleted_at |objectives |

Your query is invalid as the error stated. AFAIK, searching on column alias is not allowed but sorting is supported thus it works. You need to update your query builder appropriately. Try using query builder when statements.

Query builder doesn't work either.
I will figure out another way to filter that column.
Thanks.

Hi !
I think this might be related to the issue i'm facing to : https://github.com/yajra/laravel-datatables/issues/1648
Did you found a solution ?
Thanks !


Feature: app_id in hyprctl clients

good day to you!
suggestion to add app_id in hyprctl clients.
example usecase:
ensure single instance of application with defined app_id
thank you!

added in 2cd2f8b5b5d7109577f9776996c6e7bc2713abdb


"The passed in policy has a statement with no principals!"

I'm confused by an error I get from Terraform, and not sure how to proceed.
Releasing state lock. This may take a few moments...

Error: Error applying plan:

1 error(s) occurred:

* module.cloudtrail_cloudwatch_logs.aws_iam_role.default: 1 error(s) occurred:

* aws_iam_role.default: Error creating IAM Role abra-dev-cloudtrail-log-group: MalformedPolicyDocument: Invalid principal in policy: com.amazon.balsa.error.InvalidPolicyException: The passed in policy has a statement with no principals!
        status code: 400, request id: 811c7a79-5188-11e9-b106-f5be55899e5d

Results from this code:
module "cloudtrail_cloudwatch_logs" {
  source = "cloudposse/cloudwatch-logs/aws"
  version = "0.2.2"

  name = "cloudtrail"
  namespace = "Abra"
  stage = "${var.env_name}"
  #stream_names = [ "cloudtrail" ]
}

$ terraform --version
Terraform v0.11.13
+ provider.aws v2.3.0
+ provider.null v2.1.0

I'm happy to give more environment information as you need it. Thanks in advance! Cheers!

AFAICT, using Terraform Landscape ruby gem, I see this in my plan:
+ module.cloudtrail_cloudwatch_logs.aws_iam_role.default
    id:                      "<computed>"
    arn:                     "<computed>"
    assume_role_policy:      {
                               "Statement": [
                                 {
                                   "Action": "sts:AssumeRole",
                                   "Effect": "Allow",
                                   "Principal": {
                                     "Service": "ec2.amazonaws.com"
                                   },
                                   "Sid": ""
                                 },
                                 {
                                   "Action": "sts:AssumeRole",
                                   "Effect": "Allow",
                                   "Principal": {
                                     "AWS": [

                                     ]
                                   },
                                   "Sid": ""
                                 }
                               ],
                               "Version": "2012-10-17"
                             }
    create_date:             "<computed>"
    force_detach_policies:   "false"
    max_session_duration:    "3600"
    name:                    "abra-dev-cloudtrail-log-group"
    path:                    "/"

I do not have "var. trusted_roles" set, and the README.md says it is not required input, but it appears to actually be required? The default, in variables.tf in this module, is to leave it null/empty... and iam.tf doesn't check if it is null/empty.

Just checking in to see if you-all need more information to start digging. :) Cheers.


Move documentation files to own subdirectory

Closes https://github.com/kinvolk/inspektor-gadget/issues/15

Try out: rendered

Moved the YAML files in an example folder

@pothos Instead of moving all the files in the directory Documentation/assets, I would have split assets in two:

Documentation/demos/
Documentation/architecture/

Sure, done :)

Thanks for your comments here, both of you :)


Signer generation for keep sometimes continues although the public key is submitted

One of our stakers reported the following warning in logs (time in UTC):

Sep 23, 2020 @ 07:16:12.824 signer generation for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]; attempt [90]

That was eventually followed by:

Sep 23, 2020 @ 07:16:12.952failed to generate signer for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]: [key generation timeout exceeded]

I inspected it at 07:16 UTC and I see that all member nodes of that keep are up and operating.
What's more, the keep already has the public key generated and published:

keep address: 0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a
keep index:   96
pubkey:       0x4ff83f5e701c10c94b6f8f8d93ae5f8bd01eece8dec0cdcab5010f139126754fd88d99f949bea392e2105735aabf22234a71f175eca47f16cf97f1838b4d39ce
members: 0xA79827813Da962f5A4C95AF40550259EE868d202,0x5CA1F949c75833432d6BC8E3cb6FB23386F63426,0x2eBE08379f4fD866E871A9b9E1d5C695154C6A9F
isActive:     true
bond [wei]:<PHONE_NUMBER>6350000000
bond [eth]:   45.92914663635

What's even more interesting, that public key was submitted 5 hours earlier by all members around Sep-23-2020 02:16:31 AM UTC, see https://etherscan.io/address/0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a.
It seems that in certain circumstances, some nodes may attempt to continue key generation although the key is already there. I confirmed that at least 2 out of 3 nodes still try to generate the key and they fail on the announce protocol, most probably because the 3rd member does correctly recognize the fact the key has been published.
I was able to confirm the key generation for that keep went pretty smooth and nothing weird was observed during that.

Confirmed at least two out of three nodes have the key share stored locally.

Logs from the moment of generating keep's public key:
Sep 23, 2020 @ 04:18:13.090signer generation for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]; attempt [2]
Sep 23, 2020 @ 04:18:12.953signer generation for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]; attempt [2]
(...)
Sep 23, 2020 @ 04:16:42.934public key [4ff83f5e701c10c94b6f8f8d93ae5f8bd01eece8dec0cdcab5010f139126754fd88d99f949bea392e2105735aabf22234a71f175eca47f16cf97f1838b4d39ce] has been accepted by keep: [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]
Sep 23, 2020 @ 04:16:42.672public key [4ff83f5e701c10c94b6f8f8d93ae5f8bd01eece8dec0cdcab5010f139126754fd88d99f949bea392e2105735aabf22234a71f175eca47f16cf97f1838b4d39ce] has been accepted by keep: [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]
Sep 23, 2020 @ 04:16:39.790transaction [71cb8a…997b5c] mined with status [1] at block [<nil>]
Sep 23, 2020 @ 04:16:39.666transaction [b20551…9e20a0] mined with status [0] at block [<nil>]
(...)
Sep 23, 2020 @ 04:16:11.824member [0x2eBE08379f4fD866E871A9b9E1d5C695154C6A9F] is starting signer generation for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]...
Sep 23, 2020 @ 04:16:11.812member [0x5CA1F949c75833432d6BC8E3cb6FB23386F63426] is starting signer generation for keep [0x9D200A3Ff21F0A1e383e5D78B6b9BC1c6e59b82a]...


Add page account security and update page account profile

Account Security

What do I do?

Create an account security page
Add account security to the sidebar menu

Account Profile

What was fixed?

Removed the Upload Image button
Added birthday date input
Added gender selection input
Add name and bio below profile photo

Desktop Mode

Tablet Mode

Mobile Mode


Add diagnostic to build.jl

This PR adds a common diagnostic to the Gurobi install. It tries to catch and inform the user about common errors.
Closes #221

I'll merge this tomorrow unless there are objections.


Unable to load BeautifulSoup HTML Formatter

I've instaled this python tool "BeautifulSoup 4.4.1", but still show message:

Code Formatter
Unable to load BeautifulSoup HTML Formatter. The old RegExp-based....
How can I make work?
Tnks

BeautifulSoup is being included in the CodeFormatter plugin, but there is an error occurring while compiling the code when formatting. To not see that message every time you try to format, add "formatter_version": "regexp" to your settings.


"passwd" is not allowed to be empty

nni version:  0.5.2
nni mode(local|pai|remote): remote
OS:   centos7
python version: 3.6.6
is conda or virtualenv used:  conda used
is running in docker?:  yes

ERROR: Failed! Error is: {"statusCode":400,"error":"Bad Request","message":"child "body" fails because [child "machine_list" fails because ["machine_list" at position 0 fails because [child "passwd" fails because ["passwd" is not allowed to be empty]]]]"}

@husimple What's the solution for this?

Also, I see this commit, but it does not seem to be part of version 1.5.


removed UI tests by only keeping the check, build and run pass

Hey there, I just went through this whole file by checking whether these tests are missing.
This issue was mentioned here.

//@ check-pass
//@ build-pass
//@ run-pass

And I found the following files that were missing all three of them.
Line No. 34 - tests/ui/parser/unclosed-delimiter-in-dep.rs
Line No. 35 - tests/ui/consts/missing_span_in_backtrace.rs
Line No. 63 - tests/ui/async-await/in-trait/dont-project-to-specializable-projection.rs
Line No. 64 - tests/ui/consts/try-operator.rs
Line No. 68 - tests/ui/consts/issue-miri-1910.rs
Line No. 71 - tests/ui/consts/issue-73976-monomorphic.rs
Line No. 72 - tests/ui/consts/issue-94675.rs
Line No. 73 - tests/ui/rfcs/rfc-2632-const-trait-impl/const-drop-fail.rs
Line No. 93 - tests/ui/consts/const-eval/parse_ints.rs

Hey @antoyo, is this PR worthy or should I close this PR and just write this

//@ check-pass
//@ build-pass
//@ run-pass

in place of this.

//@ error-pattern",
//@ build-fail
//@ run-fail

I don't think this will work since that function is used to remove the tests with errors while we want to keep the tests without errors, so you'll probably need to invert a condition somewhere.

First of all, I request you to keep your English simple. I am not a native speaker.
Now there are two things that I understood and maybe I am wrong in this.

I went through all the test files that did not have the pass markers and I removed those files.
You said in the comment that these pass markers are not the current behavior. They are the desired behavior. So I thought maybe I needed to update them.

Hi. Thanks for your contribution.

This issue was mentioned here.

//@ check-pass
//@ build-pass
//@ run-pass

The above is the desired behavior, not the current behavior. You will need to update the code around here in order to get this desired behavior.

Now my question is, should I keep these changes and update this file with the pass markers?
If nothing above is required then just give me an idea in simple words. I will be happy to contribute.
Thank you!


Feature request: merge repos into one

The whole project is split into too many small repos. It would be more convenient to follow the development if they can be merged.
Currently I rely on a script to merge them, you can see the inconsistency in the layout of each sub repo.
command.py.txt

Thanks for your feedback.
We split the development in many repositories to be able to maintain access rights particularly.
This is required for us, since not all repositories are public as they may be not allowed for us to be published.
So the current approach will be retained.
Each plugin has and will have it's own repository, as they are generally independent of each other. They main development resides however on pyroll-core, so if you have general questions or suggestions post it there. Topics targeting single plugins should be posted in the respective repository.

I have made a repo using submules with symlinks here
git@github.com:QiangF/pyroll-projects.git

Please let me know if it is inappropriate.
Thank you!


Add search paths for Kenlm components when Kenlm is installed, fix wr…

Original Issue: [253]
Summary

Adds search paths for Kenlm when pointing to the installation directory
Removes unnecessary variables
Fix error messages

closes #[issue number]

Thanks for the contribution, @alealv!


Notify users when trying to use a banned status

To be nitpicky I would flip the condition and make it if forStatus else


feat(gitlab): parsing private gitlab repo urls, closes #7

Adds support for<EMAIL_ADDRESS>urls

Coverage remained the same at 100.0% when pulling 1fd9902142452dc6eed86db7173dd7b78f7d78d5 on bahmutov:master into a3bd20ef755b05ef381dbebff659314498cc95eb on stevemao:master.

Thanks!


404 - The requested URL timed out

Probably my server is blocking the weserv IP. Can you tell me the IP to check?

A complete list of the IPs we use for outbound traffic can be found here: https://images.weserv.nl/ips.txt

I hope this information helped. Please feel free to re-open if questions remain.


Make Disassembly and SourceCode view non-modal

As requested by users, the code views should be non-modal such that the user can interact with Orbit while one or multiple code views are open in the background or on a different screen.
To make this happen, the code viewer dialog needs to own all its required resources. And it needs to delete itself when the dialog is closed.
The former is solved by introducing orbit_code_viewer::OwningDialog, a variant of orbit_code_viewer::Dialog that owns all its resources.
The latter can solved by Qt which offers the attribute Qt::WA_DeleteOnClose for a classes inheriting from QWidget. To make this somehow safe to handle, I introduced a free function OpenAndDeleteOnClose. It takes a unique pointer to an OwningDialog by value. It will open the dialog, ensure it will be deleted on close, and will release the unique pointer.

Thanks Florian! I just rebased. If the CI agrees I'm going to merge soon.


Impl cow_trie based on trie

This is incomplete, documentation needs to be updated. I just wanted to see if this was something other people would be interested in adding to this library.
This is the TrieMap with all the Boxed pointers replaced with Arc references. This lets people modify a small number of nodes in a CowTrieMap without having to clone the entire CowTrieMap. Nodes are then shared between the old copy of the old copy and the new one.
When modifying the CowTrieMap at a slow rate (a few keys per generation) I have benched marked this as about ~250 times faster then a the standard TrieMap.

 If I don't look at this tomorrow someone poke me.

@Gankro poke

Ah sorry, got super sick and have been high on cough medecine for a while. So is this basically just "toss and Arc in TrieMap", or is it more complex than that?

CC @michaelsproul

One concern is that I think there's a general agreement that TrieMap is kinda weird (only works with uint, doesn't have path compression), so building out other stuff that duplicates its design is a bit nasty.

I am of the personal opinion that the TrieMap code should be respectfully abandoned. I think our efforts would be better concentrated on a Patricia Trie, and I have started work to that end here:
https://github.com/michaelsproul/rust_patricia_trie
So far I just have an insert method, but it seems to work and I am hopeful about the chosen representation.
If anyone would like to help, I'd greatly appreciate it! I'm devoting my time to a whole lot of projects for uni and won't really be able to work on the Trie again until April.

@Gankro It's pretty straight forward. There is some changes needed to support mutation using make_unique but other then that it is just a TrieMap with Arc pointers. I have been using it in one of my projects as the primary way to store generational data-sets with good success. Since I am mapping uints to values this is very close to an ideal data-structure.
I could also maintain this library outside of collect-rs. I just felt it fell into the description of collect-rs

Ideas that are too niche, crazy, or experimental to land in libcollections

That being said, I do agree that TrieMap could be better. I'm just would rather have a good enough data structure now, rather then questing for the perfect data structure; at the cost of working on the problems I want to actually invest time in.

:(
I was just typing up that I was reasonably convinced that we could land this.

In particular I'm interested in exploring the space of persistent collections.
Although we're getting kinda bloaty, I think I need to do what @huonw suggested with adding a feature-per-collection.

Sorry, I might have been premature in closing this. I should probably rebase these changes ontop of of the current TrieMap as there has been a number of changes done in the last two weeks since I hacked this together.


An unexpected Error occured [OR_BFFPCPSD_01]

I implemented google pay in my application but i am getting an error. the error is that : " Request failed: An unexpected error occured. Please try again letter. [OR_BFFPCPSD_01].
I am testing google pay in Test envrionment.
Here is my Json:
{
"apiVersion": 2,
"apiVersionMinor": 0,
"allowedPaymentMethods": [
{
"type": "CARD",
"parameters": {
"allowedAuthMethods": [
"PAN_ONLY",
"CRYPTOGRAM_3DS"
],
"allowedCardNetworks": [
"AMEX",
"DISCOVER",
"JCB",
"MASTERCARD",
"VISA"
],
"billingAddressRequired": true,
"billingAddressParameters": {
"format": "FULL"
}
},
"tokenizationSpecification": {
"type": "PAYMENT_GATEWAY",
"parameters": {
"gateway": "example",
"gatewayMerchantId": "BCSDFG2DF3HP7EJS"
}
}
}
],
"transactionInfo": {
"totalPrice": "1000",
"totalPriceStatus": "FINAL",
"countryCode": "US",
"currencyCode": "USD"
},
"merchantInfo": {
"merchantName": "example"
},
"shippingAddressParameters": {
"phoneNumberRequired": false,
"allowedCountryCodes": [
"US",
"GB"
]
},
"shippingAddressRequired": true
}
HOW TO SOLVE THIS ERROR PLEASE HELP

Having same issue.
Is there any solution?

check the solution here:-
https://stackoverflow.com/questions/75862955/we-couldnt-complete-this-action-try-a-different-payment-method-or-contact-us?noredirect=1#comment133871510_75862955

I am using live real time card with test enviorment
it was working fine earlier
but now i got the following unxpected error
On Thu, Apr 20, 2023 at 12:03 PM ShubhAppentus @.***>
wrote:

check the solution here:-
https://stackoverflow.com/questions/75862955/we-couldnt-complete-this-action-try-a-different-payment-method-or-contact-us?noredirect=1#comment133871510_75862955
—
Reply to this email directly, view it on GitHub
https://github.com/google-pay/flutter-plugin/issues/189#issuecomment-1515784037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYRCZIFH7LSVBA2ML27NM3XCDKBXANCNFSM6AAAAAAWKMXMPQ
.
You are receiving this because you commented.Message ID:
@.***>

You need to join groups.google.com/g/googlepay-test-mode-stub-data in order to see test cards in the payment sheet. google provide test cards for testing environment.

Thank you for your response
In demo its working fine with demo test card.
If it's all good in demo then is there any modification for live app with
live card?
On Thu, Apr 20, 2023 at 3:28 PM ShubhAppentus @.***>
wrote:

You need to join groups.google.com/g/googlepay-test-mode-stub-data in
order to see test cards in the payment sheet. google provide test cards for
testing environment.
—
Reply to this email directly, view it on GitHub
https://github.com/google-pay/flutter-plugin/issues/189#issuecomment-1516054121,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYRCZJV6WBECRFP3YB55GTXCECF5ANCNFSM6AAAAAAWKMXMPQ
.
You are receiving this because you commented.Message ID:
@.***>

Before you switch to production you need to add "merchantId" and "public key" in your code and also need to verify your payflow by google.

Yeah i already added merchantId and public key into code
So my question is how to verify payflow to google
is there any steps for verification?
if then please send me
On Thu, Apr 20, 2023 at 5:38 PM ShubhAppentus @.***>
wrote:

Before you switch to production you need to add "merchantId" and "public
key" in your code and also need to verify your payflow by google.
—
Reply to this email directly, view it on GitHub
https://github.com/google-pay/flutter-plugin/issues/189#issuecomment-1516216886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYRCZPTS4R3RWYJ2IRRMW3XCERLDANCNFSM6AAAAAAWKMXMPQ
.
You are receiving this because you commented.Message ID:
@.***>

okay then, you need to open google pay console https://pay.google.com/business/console/profiles . and go in google pay api tab, and clicked on manage as you seen on screenshot atteched. from there you can add all neccessory info and submit for review.

Yeah it will help me a lot
thank you so much for helping me
let me come back again if is there any issue comes :D
On Thu, Apr 20, 2023 at 5:58 PM ShubhAppentus @.***>
wrote:

okay then, you need to open google pay console
https://pay.google.com/business/console/profiles . and go in google pay
api tab, and clicked on manage as you seen on screenshot atteched. from
there you can add all neccessory info and submit for review.
[image: image]
https://user-images.githubusercontent.com/124139857/233365302-d8cc2c1a-e4c5-47e1-b9a7-e0ce89c354cb.png
—
Reply to this email directly, view it on GitHub
https://github.com/google-pay/flutter-plugin/issues/189#issuecomment-1516241873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYRCZLDNFKZZHDGDDXXKXTXCETWVANCNFSM6AAAAAAWKMXMPQ
.
You are receiving this because you commented.Message ID:
@.***>


Adds a callback to user code when resolving a polymorphic type

fixes: https://github.com/mbknor/mbknor-jackson-jsonSchema/issues/137
Alternative fix: (which I think I prefer) #139
Adds a callback to SubclassesResolver that is invoked when the generator is about to search for subtypes of a type annotated with @JsonTypeInfo, passing the type being resolved:
  def resolving(_type: JavaType)def resolving(_type: JavaType) = {}

This allows users to, optionally, execute custom code before ClassGraph attempts to determine the subtypes.

Thoughts on this change @mbknor. Feel free to close the PR is you're not going to merge / adopt...

Thoughts on this change @mbknor. Feel free to close the PR is you're not going to merge / adopt...


Add scheduling to default and addon hosts

Breaking change

Proposed change

This adds scheduling extensions to default hosts.
Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

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

[ ] Documentation added/updated for www.home-assistant.io

Codecov Report

Merging #606 (806861a) into dev (5ccd1db) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #606   +/-   ##
=======================================
  Coverage   80.63%   80.63%
=======================================
  Files         110      110
  Lines        2876     2876
  Branches      307      307
=======================================
  Hits         2319     2319
  Misses        434      434
  Partials      123      123

Flag
Coverage Δ

unittests
80.63% <ø> (ø)

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

Continue to review full report at Codecov.

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


how to implement LS in another language?

hi, vscode noob here.
I'm at home with implementing CGI servers in c++ and running them locally (on an air gapped machine).
my understanding is that a vscode language client sends queries to a server.
if I implement a language server and have it running at, say, http://localhost:123456 how does the client get the servers url? is this possible? is that how it works?
tia

if I implement a language server and have it running at, say, http://localhost:123456 how does the client get the servers url?

Not sure what you are trying to ask here. The client would have to know where the language server is and how to connect to it.
When you write your extension/plug-in for your language server in your LSP client of choice, you'll need to feed that information to the client somewhere.

ok, I was thinking vscode had to connect to my server.
so the situation is that when my client is invoked  it has to connect to my server, do the necessary, then hand back to vscode?

In practice, the "server" is usually a subprocess of the editor ("client"). So, the client starts the subprocess (your server binary), and then starts communicating with your subprocess either via stdin/stdout, or via a tcp socket, or via some other streaming method. The client is then also responsible for terminating the subprocess. You could also run your language server separately on another machine (or perhaps in a Docker container), awaiting new client connections, but that adds all sorts of complexity: how are you aware of the client's workspace? Should the client do path translation/mapping? Should the server do path translation? How do you handle more than one client?

I think I'm getting there!
for my purposes everything will (ok, might) run on a single air gapped machine. the first half of your reply is plenty to go at thanks.


error in reverse_words beam search?

Hi all,
First of all, thanks for the incredible work! I was running the reverse_words example, and everything works, but when I run:
python -m reverse_words beam_search  <path_to_my_model>
I get an error:
Traceback (most recent call last):
  File "/ichec/home/users/chokamp/programs/anaconda/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/ichec/home/users/chokamp/programs/anaconda/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/ichec/home/users/chokamp/projects/blocks-examples/reverse_words/__main__.py", line 35, in <module>
    main(**vars(args))
  File "reverse_words/__init__.py", line 327, in main
    batch_size, axis=1))
  File "reverse_words/__init__.py", line 285, in generate
    ComputationGraph(generated[1]))
ValueError: too many values to unpack

After digging around a bit, I can fix it by changing these lines to:
                (initial_states, samples) = VariableFilter(
                    bricks=[reverser.generator], name="outputs")(
                        ComputationGraph(generated[1]))

I.e. adding the intial_states so that samples is the correct variable. I'd love to submit a pull request but wanted to check first if there's anything I'm missing.
Cheers!

Thanks for reporting this issue! It is a consequence of a recent Blocks refactoring. A better fix would be to follow the fix in beam search test, that is instead of filtering by the brick filtering by the application should be used.
A PR would be appreciated, and if you want to do it really, really nice, we should test the beam search, at least with random parameters. Currently we only test training.

Oops, forgot about that one. Just fixed this issue in #47


aws volume snapshot image not working

Created a snapshot in aws volumes then created a image and then created a instance from that image, but that image is not working. Not able to ping even that have public ip and all ports opened. Not able to login using ssh command also.

Hi SaiRaj,
Please follow below steps to create volume and snapshot::

create an Amazon AMI t2 micro machine

root volume create by default

create extra volume for 4GB after that you can mount it

stop the machine take snapshot

from this snap shot create Volume

for ping to the EC2  machine::
Add a new EC2 security group inbound rule:
Type: Custom ICMP rule
Protocol: Echo Request
Port: N/A
Source: your choice (select Anywhere to be able to ping from any machine)

For SSH coonectivity to EC2 machine::
Please Check Once in your region
If you do not have an Internet gateway,
create one and attach it to Default VPC.
Thanks
Ravi

Hi,
Is it cleared?
Thanks
Revathi


Updated template.ipynb, improved hourofci.py, and added js files

Modifications:

An interactive D3 example was added to template.ipynb;
JavaScript for the toggle button (the one used to hide code input) was moved to custom.js in "supplementary";
JavaScript for cell initialization and user agent string was moved to custom.js;
The play button on the left of a code cell will be displayed in slides (rise.css) and the function to its click event was changed (custom.js);
hourofci.py was improved so that it can run for both JupyterHub and Jupyter Notebook.

Looks great. The template header cell is much cleaner. We will test it with our Gateway and Beginner notebooks to ensure it works as expected. May have to make small modifications in the future, but this is a huge improvement toward sustainable development by moving most of the hard coded initialize processes into imported libraries.


Reduce test memory footprint

Current coverage is 59.87% (diff: 100%)

No coverage report found for dev at 639c552.

Powered by Codecov. Last update 639c552...48ed5e7

If we're going to be modifying these snapshots with this kind of reckless abandon, then are they really providing any value?

Any snapshots stick out to you? I checked over most of them.

Also, this PR was made so that tests could actually finish on TravisCI. Compromises were obviously going to be made.


Create a timeline page

Create a timeline page to list down the events happened so far and also the upcoming events.

I will do it.

@akshayk17 What is the status? Are you done with it?

@akshayk17  @SriHarshaGajavalli  Currently @Lashuk1729  is working on this issue


//fixed JS dialogs and changed NFT token from ERC721 to ERC1155, added

built and deployed smart contract for erc1155
added abi file
built dialog for confirmation with transation link
added metadata input in nft mint dialog

Looks like there are some conflicts. Please rebase off the latest main branch and resolve them. Thanks!


Add project level settings for containers and queues

This allows for setting different limits on projects in docker containers, as
well as project level build queues for future use.

:+1:


No Extensions Found

Issue Type: Bug
I can't find any extensions to install.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:31:26.156Z)
OS version: Darwin x64 18.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz (4 x 2600)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 2

Memory (System)
8.00GB (0.34GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

material-icon-theme
PKi
3.5.3

VS Code reports not finding extensions (that I haven't installed) on monthly or Insider, on my  Windows and Linux installations.

I also got this problem , https://marketplace.visualstudio.com/VSCode  is not availble

See https://github.com/Microsoft/vscode/issues/57851

Duplicate of #57851


sd-local: 1.0.20 -> 1.0.21

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/screwdriver-cd/sd-local/releases.
meta.description for sd-local is: "screwdriver.cd local mode"
meta.homepage for sd-local is: "https://github.com/screwdriver-cd/sd-local"
meta.changelog for sd-local is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/e749c6d4fd606724fd379195057037b5

du listing: https://gist.github.com/e01b81b1edc50d5ce2cc75406a2f22da

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
sd-local

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8mn7cam0cv985hww8g0ylicz00n0sl8m-sd-local-1.0.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sd-local https://github.com/r-ryantm/nixpkgs/archive/44f6502712d6d4e639f7d56e9dc68acea6d62787.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8mn7cam0cv985hww8g0ylicz00n0sl8m-sd-local-1.0.21
ls -la /nix/store/8mn7cam0cv985hww8g0ylicz00n0sl8m-sd-local-1.0.21/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sd-local

Maintainer pings
cc @midchildan @kalbasit for testing.

Result of nixpkgs-review pr 113609 at 44f65027 run on aarch64-linux 1

1 package built:

sd-local


TODO TODAY [enter] returns empty

TODO TODAY [enter] returns empty
All the other lists works
Great workflow!
How to fix "today"? :)

I can't reproduce your issue. Any chance you have a great amount of to-dos on Today list? In this case, the workflow can need some time to fetch your to-dos, so you just need waiting enough time.
If that is not the cause of your issue, please provide the logs by using the workflow debugger.

Hah, that fixed it, I had to let it sit for close to a minute. After that, now everything works instantly. Great workflow!

Good to know is everything ok to you. I'm closing the issue.


fix windows development environment

Describe the bug
A clear and concise description of what the bug is.
I can't start the development environment on a windows os. the bug is due to a failure to compile.
To Reproduce
Steps to reproduce the behavior:
on a windows os :

Go to ' dzcode.io\frontend''
run yarn dev '
See error ' Failed to compile. '

Expected behavior
start a development environment and compile successfully.
Screenshots

Desktop:

OS: windows 10
Version	10.0.10240 Build 10240
.

It should be fixed by this commit

I find out I had to build the full stack folder since the file config is referenced in the import. the files do compile successfully. however the server on http://<IP_ADDRESS>:8080/ gives me an error site can't be reached and on http://localhost:8080/ it fails to load the components.


Request new feature for supporting ipv6 enviroment

What is the purpose of the change
The advantage of IPv6 is that it greatly expands the available space of addresses. IPv6 addresses are 128 bits long. If the earth's surface (including land and water) is covered with computers, IPv6 allows 7*10^ 23 IP addresses per square metre; if the address allocation rate is 1 million per microsecond, it will take 10^ 19 years to complete all the addresses.
Nowdays,many countries are promoting IPv6 network enviroment,including China.According to the statistics,especially since the beginning of 19 years,many IT technology projects will be used in IPV6 enviroment.So,I think it's very important to support IPV6 enviroment in RocketMQ.
Brief changelog
1.Fix some codes in RocketMQ Remoting model.
2.Fix some codes in RocketMQ Common model.
3.Fix some codes in RocketMQ Store model（here,in store model,the offsetMsgId is generated by the IP addrerss、port and offset value in commitlog）.
I'm developping the feature of supporting ipv6 enviroment for rocketmq.This PR will be committed in a few days.
Verifying this change
3.I can run the nameserver and broker components in IPV6 enviroment to verify some rocketmq original features.

Today,I find a helpful util tool which called IPAddress.And its github address is:https://github.com/seancfoley/IPAddress.git.I think we can import this ip utils to rocketmq projects pom to optimize netwoking codes.


Fix parse_failure method in workflows.rb

If workflows.rb encounters a problem parsing a parameter -- e.g., if
an element is nil -- it will call the parse_failure method. That
method tries to print out the values of the "wfparam" and "parameter"
Ruby variables. But it fails because those variables are not passed in
to that method (and are out of scope). So Test Kitchen exits with this
cryptic error:
Failed to complete #create action: [undefined local variable or
method `wfparam' for VcoWorkflows::Workflow:Class]
This PR simply passes those variables in to the parse_failure method
so it can display those values.

I see this error occurred three times in the Travis CI build:
Gem::InstallError: ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.

I regret that I'm not knowledgeable enough to know how to fix that.

Changes Unknown when pulling a9ff808615c16d1d4cfb107e74216e822258ebc4 on newatlantis:fix-parse-failure-method into ** on activenetwork-automation:master**.


How to apply transformation to a signed imgproxy URL

Is it possible to apply transformations to a signed imgproxy url?
Say I have a url := http://imgproxy.example.com/oKfUtW34Dvo2BGQehJFR4Nr0_rIjOtdtzJ3QFsUcXH8/rs:fill:1080:1080:0/g:sm/aHR0cDovL2V4YW1w/bGUuY29tL2ltYWdl/cy9jdXJpb3NpdHku/anBn.png which has been signed after specifying env variables IMGPROXY_KEY and IMGPROXY_SALT, how might I go about changing the dimension to rs:fit:760:760:0/g:no?

OK thanks


Unable to run test locally

% ./gradlew test --parallel

Version catalog 'mnTest' can be automatically imported. You can remove it from settings.gradle(.kts) file.
Type-safe project accessors is an incubating feature.
Project accessors enabled, but root project name not explicitly set for 'buildSrc'. Checking out the project in different folders will impact the generated code and implicitly the buildscript classpath, breaking caching.

> Task :test-suite-consul-graal:internalStartTestResourcesService
[1.312s][warning][cds] Preload Warning: Cannot find io/netty/channel/$Proxy12
[1.767s][warning][cds] Skipping jdk/internal/event/Event: JFR event class
[1.769s][warning][cds] Skipping jdk/internal/event/ProcessStartEvent: JFR event class
[1.769s][warning][cds] Skipping jdk/internal/event/SecurityProviderServiceEvent: JFR event class

[test-resources-service] 12:00:33.272 [ForkJoinPool.commonPool-worker-20] INFO  i.m.t.e.TestResourcesResolverLoader - Loaded 1 test resources resolvers: io.micronaut.testresources.testcontainers.GenericTestContainerProvider

> Task :micronaut-discovery-client:testecuting test io.micronaut.discovery.consul.ConsulMockAutoRegistrationSpec

Predictive Test Selection: all test classes selected
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test mock server PASSED

  SLF4J: No SLF4J providers were found.
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that the service is automatically registered with Consul PASSED
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that the service is automatically de-registered with Consul PASSED
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with tags PASSED

[test-resources-service] 12:00:33.373 [main] INFO  i.m.t.server.TestResourcesService - A Micronaut Test Resources server is listening on port 65349, started in 153ms
[test-resources-service] 12:00:34.600 [default-nioEventLoopGroup-1-2] INFO  i.m.t.e.TestResourcesResolverLoader - Loaded 1 test resources resolvers: io.micronaut.testresources.testcontainers.GenericTestContainerProvider
[test-resources-service] 12:00:34.843 [default-nioEventLoopGroup-1-2] INFO  o.t.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')eted
[test-resources-service] 12:00:34.845 [default-nioEventLoopGroup-1-2] INFO  i.m.t.testcontainers.TestContainers - Starting test container consul
[test-resources-service] 12:00:34.958 [default-nioEventLoopGroup-1-2] INFO  o.t.d.DockerClientProviderStrategy - Found Docker environment with Testcontainers Host with tc.host=tcp://<IP_ADDRESS>:65500
[test-resources-service] 12:00:34.959 [default-nioEventLoopGroup-1-2] INFO  o.testcontainers.DockerClientFactory - Docker host IP address is <IP_ADDRESS>
[test-resources-service] 12:00:34.962 [default-nioEventLoopGroup-1-2] INFO  o.testcontainers.DockerClientFactory - Connected to docker:
  Server Version: 24.0.6 (via Testcontainers Desktop 1.4.16)
  API Version: 1.43l-graal:test > Executing test io.micronaut.consul.graal.ConsulTest
  Operating System: Docker Desktop
  Total Memory: 48105 MB
[test-resources-service] 12:00:34.964 [default-nioEventLoopGroup-1-2] INFO  o.testcontainers.DockerClientFactory - Checking the system...
[test-resources-service] 12:00:34.964 [default-nioEventLoopGroup-1-2] INFO  o.testcontainers.DockerClientFactory - ✔ Docker server version should be at least 1.6.0
[test-resources-service] 12:00:34.979 [default-nioEventLoopGroup-1-2] INFO  tc.consul:1.9.0 - Creating container for image: consul:1.9.0
[test-resources-service] 12:00:35.112 [default-nioEventLoopGroup-1-2] INFO  tc.testcontainers/ryuk:0.5.1 - Creating container for image: testcontainers/ryuk:0.5.1
[test-resources-service] 12:00:40.040 [default-nioEventLoopGroup-1-2] INFO  tc.testcontainers/ryuk:0.5.1 - Container testcontainers/ryuk:0.5.1 is starting: ccc3906f6ec98de7e8355b9d87f71e1b7547356ed3651e3258ca95d7254776b9
[test-resources-service] 12:00:41.246 [default-nioEventLoopGroup-1-2] INFO  tc.testcontainers/ryuk:0.5.1 - Container testcontainers/ryuk:0.5.1 started in PT6.134272S
[test-resources-service] 12:00:41.270 [default-nioEventLoopGroup-1-2] INFO  tc.consul:1.9.0 - Container consul:1.9.0 is starting: e9ed335d684538878ee6ee8a7a22e743c4bc42f1492794a558aa85c2556cabd1
[test-resources-service] 12:00:41.397 [default-nioEventLoopGroup-1-2] INFO  o.t.c.wait.strategy.HttpWaitStrategy - /inspiring_lalande: Waiting for 60 seconds for URL: http://<IP_ADDRESS>:65393/v1/status/leader (where port 65393 maps to container port 8500)l:test > 0 tests completed
[test-resources-service] 12:00:42.411 [default-nioEventLoopGroup-1-2] INFO  tc.consul:1.9.0 - Container consul:1.9.0 started in PT7.446201S

> Task :micronaut-discovery-client:test
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with metadata PASSED (30s)
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with an HTTP health check PASSED
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with an HTTP health check and deregisterCriticalServiceAfter PASSEDDLE
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with an HTTP health check and tlsSkipVerify PASSED
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a service can be registered with an HTTP health check and HTTP method PASSED
Test Run :micronaut-discovery-client:test > Partition 1 in session 1 on localhost-executor-1 > ConsulMockAutoRegistrationSpec test that a asl token can be configured PASSED
Test Run :micronaut-discovery-client:test > Partition 2 in session 1 on localhost-executor-1 > EurekaAutoRegistrationSpec test that an application can be registered and de-registered with Eureka PASSED (17.1s)
Test Run :micronaut-discovery-client:test > Partition 3 in session 1 on localhost-executor-1 > EurekaClientSpec test is a discovery client PASSED
Test Run :micronaut-discovery-client:test > Partition 3 in session 1 on localhost-executor-1 > EurekaClientSpec test validation PASSED
Test Run :micronaut-discovery-client:test > Partition 3 in session 1 on localhost-executor-1 > EurekaClientSpec test register and de-register instance PASSED
Test Run :micronaut-discovery-client:test > Partition 6 in session 1 on localhost-executor-1 > VaultJacksonIntegrationTest test list secrets from vault PASSED (1.3s)
Test Run :micronaut-discovery-client:test > Partition 6 in session 1 on localhost-executor-1 > ClientScopeSpec test that a client can be discovered using @Client scope PASSED (3.1s)
Test Run :micronaut-discovery-client:test > Partition 6 in session 1 on localhost-executor-1 > ClientScopeSpec test that a client can be discovered using @Client scope with Consul  SKIPPED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test that the service is automatically registered with Consul with a TTL configuration PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test that the service is automatically registered with Consul with a HTTP configuration PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test that a service can be registered with tags and queried with tags PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test that a service can be registered with metadata PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test that when Consul is explicitly configured, no AWS service discovery stuff is registered PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > ConsulAutoRegistrationSpec test auto-registration with checks PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec test that an application can be registered and de-registered with Eureka hyphenated PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec test that an application can be registered and de-registered with Eureka PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec > test that an application can be registered and de-registered with Eureka with metadata test that an application can be registered and de-registered with Eureka with metadata [serviceId: myService, configuration: [asgName:test, vipAddress:myVip, secureVipAddress:mySecureVip, appGroupName:myAppGroup, status:STARTING], #0] PASSE
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec > test that an application can be registered and de-registered with Eureka with metadata test that an application can be registered and de-registered with Eureka with metadata [serviceId: myService, configuration: [homePageUrl:http://home, statusPageUrl:http://status, healthCheckUrl:http://health, secureHealthCheckUrl:http://securehealth], #1] PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec > test that an application can be registered and de-registered with Eureka with metadata test that an application can be registered and de-registered with Eureka with metadata [serviceId: myService, configuration: [metadata:[foo:bar]], #2] PASSED
Test Run :micronaut-discovery-client:test > Partition 7 in session 1 on localhost-executor-1 > EurekaMockAutoRegistrationSpec > test that an application can be registered and de-registered with Eureka with metadata test that an application can be registered and de-registered with Eureka with metadata [serviceId: myService, configuration: [port:9999, securePort:9998], #3] PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test is a discovery client PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test list services PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test register and deregister catalog entry PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test register and deregister service entry PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test register service with health check PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test list members PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulClientSpec test get self PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EagerInitSpec test run with eager init PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > ConsulHealthStatusSpec test the consul service's health status is correct PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaMockHeartbeatSpec test that the server reports a heartbeat to Eureka PASSED (5s)
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > test configure default zone test configure default zone [value: localhost:8087, result: [http://localhost:8087 (eureka)], #0] PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > test configure default zone test configure default zone [value: localhost:8087,localhost:8088, result: [http://localhost:8087 (eureka), http://localhost:8088 (eureka)], #1] PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > test configure other zones test configure other zones [value: localhost:8087, result: [http://localhost:8087 (eureka)], #0] PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > test configure other zones test configure other zones [value: localhost:8087,localhost:8088, result: [http://localhost:8087 (eureka), http://localhost:8088 (eureka)], #1] PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec test configure registration client PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > should correctly setup instance info (prefer ip-addr: #preferIpAddr) should correctly setup instance info (prefer ip-addr: true) PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > should correctly setup instance info (prefer ip-addr: #preferIpAddr) should correctly setup instance info (prefer ip-addr: false) PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > should correctly setup instance info with overrides from configuration properties (prefer ip-addr: #preferIpAddr) should correctly setup instance info with overrides from configuration properties (prefer ip-addr: true) PASSED
Test Run :micronaut-discovery-client:test > Partition 8 in session 1 on localhost-executor-1 > EurekaClientConfigSpec > should correctly setup instance info with overrides from configuration properties (prefer ip-addr: #preferIpAddr) should correctly setup instance info with overrides from configuration properties (prefer ip-addr: false) PASSED
Test Run :micronaut-discovery-client:test > Partition 4 in session 1 on localhost-executor-1 > TtlHeartbeatSpec test that the server reports a TTL heartbeat when configured to do so PASSED (5.1s)
Test Run :micronaut-discovery-client:test > Partition 4 in session 1 on localhost-executor-1 > TtlHeartbeatSpec test that if the consul server goes down and comes back up the application re-registers SKIPPED
Test Run :micronaut-discovery-client:test > Partition 5 in session 1 on localhost-executor-1 > EurekaContextPathSpec test that the server reports a heartbeat to Eureka PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > MockConfigurationDiscoverySpec test read application configuration from Consul PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > MockConfigurationDiscoverySpec test multiple environment precedence PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > MockConfigurationDiscoverySpec test disable application configuration from Consul PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientFilesSpec test discovery property sources from Consul with YAML handling PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaMockBasicAuthSpec test authentication works PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigSecuredTest test spring name configuration field when server secured and authorization provided PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigSecuredTest test when cloud server secured and authorization not provided PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigSecuredTest test when cloud server secured and only username is provided PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigSecuredTest test when cloud server secured and invalid user credentials provided PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > CompositeDiscoverySpec test multiple service discovery clients PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockHealthStatusSpec test the consul service's health status is correct PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > VaultClientV2ConfigTest test configuration order PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > VaultClientV2ConfigTest test prefixed configuration order PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > DigitalOceanMetadataResolverSpec test building digital ocean compute metadata PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is not enabled with no config PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is enabled with service discovery settings PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is enabled with service discovery enabled PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is enabled with registration settings PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is enabled with registration enabled PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaEnabledSpec test client is disabled if both registration and discovery are disabled PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > VaultClientV1ConfigTest test configuration order PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > VaultClientV1ConfigTest test prefixed configuration order PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaHealthIndicatorSpec test eureka health indicator PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigTest test configuration order PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > SpringCloudConfigTest test spring name configuration field PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientYamlSpec initializationError FAILED

  java.lang.IllegalStateException: failed to create a child event loop
      at app//io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88)
      at app//io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:60)
      at app//io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:49)
      at app//io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
      at app//io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:87)
      at app//io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:82)
      at app//io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:69)
      at app//io.micronaut.http.netty.channel.NioEventLoopGroupFactory.createEventLoopGroup(NioEventLoopGroupFactory.java:56)
      at app//io.micronaut.http.netty.channel.EventLoopGroupFactory.createEventLoopGroup(EventLoopGroupFactory.java:75)
      at app//io.micronaut.http.netty.channel.DefaultEventLoopGroupFactory.createEventLoopGroup(DefaultEventLoopGroupFactory.java:96)
      at app//io.micronaut.http.server.netty.DefaultNettyEmbeddedServerFactory.createEventLoopGroup(DefaultNettyEmbeddedServerFactory.java:284)
      at app//io.micronaut.http.server.netty.NettyHttpServer.newEventLoopGroup(NettyHttpServer.java:688)
      at app//io.micronaut.http.server.netty.NettyHttpServer.lambda$createParentEventLoopGroup$11(NettyHttpServer.java:478)
      at java.base@17.0.8/java.util.Optional.orElseGet(Optional.java:364)
      at app//io.micronaut.http.server.netty.NettyHttpServer.createParentEventLoopGroup(NettyHttpServer.java:477)
      at app//io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:272)
      at app//io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:104)
      at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:238)
      at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
      at app//io.micronaut.discovery.consul.ConsulMockConfigurationClientYamlSpec.$spock_initializeSharedFields(ConsulMockConfigurationClientYamlSpec.groovy:36)
  Caused by: io.netty.channel.ChannelException: failed to open a new selector
      at app//io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:179)
      at app//io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:146)
      at app//io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:183)
      at app//io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:38)
      at app//io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
      ... 19 more
  Caused by: java.io.IOException: Too many open files
      at java.base@17.0.8/sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:82)
      at java.base@17.0.8/sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:36)
      at app//io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:177)
      ... 23 more

Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientJsonSpec test discovery property sources from Consul with JSON handling PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientJsonSpec test discovery property sources from Consul with invalid JSON PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientNativeSpec test read and write key values with ConsulClient PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientNativeSpec test discovery property sources from Consul with native property handling PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > EurekaInstanceInfoSpec test deserialize amazon instance info PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > DiscoveryClientHealthIndicatorConfigurationSpec test that the health indicator configuration is not available when disabled via config PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > DiscoveryClientHealthIndicatorConfigurationSpec test that the health indicator configuration is available when no entry is in config PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > ConsulMockConfigurationClientPropertiesSpec test discovery property sources from Consul with Properties file handling PASSED
Test Run :micronaut-discovery-client:test > Partition 9 in session 1 on localhost-executor-1 > InstanceInfoSpec test instance info PASSED

FAILURE: Executed 86 tests in 1m 33s (1 failed, 2 skipped)

86 tests completed, 1 failed, 2 skipped

> Task :micronaut-discovery-client:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':micronaut-discovery-client:test'.
> There were failing tests. See the report at: file:///Users/sdelamo/github/micronaut-projects/micronaut-discovery-client/discovery-client/build/reports/tests/test/index.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 34s
22 actionable tasks: 4 executed, 2 from cache, 16 up-to-date

Publishing build scan...
https://ge.micronaut.io/s/xkc4dflt7k5dk

I think it is better to split the tests in multiple project but I am no longer able to reproduce this issue.


This library is defunct: prove me wrong

Hi it looks like gorgonia is defunct: no activity of any significance in the last 6 months. That's a shame! What are people using instead?

https://github.com/gorgonia/gorgonia/tree/v0.10.0-working-simplifiedengine

Why not merge all the tested changes into the main branch so new people can see that the project is still alive?

confirmed 🆗


Issues related to MXCSR register

I found some issues related to MXCSR register:

Here, native alias for SIMDE_MM_GET_FLUSH_ZERO_MODE (_MM_GET_FLUSH_ZERO_MODE) should be defined, but instead _MM_SET_FLUSH_ZERO_MODE is defined.
Definition of SIMDE_MM_ROUND_MASK is missing (and the native alias _MM_ROUND_MASK).
In function simde_mm_setcsr, when calling SIMDE_MM_SET_ROUNDING_MODE (here), the input parameter should be masked with SIMDE_MM_ROUND_MASK, otherwise an incorrect rounding mode can be set.

Fixed in #1060

Whoops, I thought 1060 had merged already


Duplication fixes + config

A lot of lines were duplicate, they've been simplified. Config parameters couldn't be reached because there was no global defined.

I will hold off this pull request for a bit, because I'm expecting a larger commit and pull request tonight by a different author. We can compare the commits then, and merge them if needed.

Haven't tested it, To do list is finished with my commit.

We'll see if we can merge your code improvements with the larger commit tonight.


Investigate bug while passing input parameter as json string

This is actually working.
node dist/os-cli.js d q -i my_index -p '{ "query": { "match_all": {} } }'


Fix tutorial API links

Build failed because I created PR from a fork.
Expect a separate PR soon that fixes it so that PRs from forks skip the signing for local maven installs.

Build will be fixed after #343 is merged.


waybar: add option for en-/disabling niri support

Support for the niri compositor is optional (e.g. when using sway) and thus add the possibility for users to disable it (even if it [currently] does not pull in any additional dependencies).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build waybar

@ofborg eval


Added FontFamily constructor that takes a Skin as a parameter.

This PR enables creating a FontFamily from a Scene2D.UI Skin. This is a convenience method to expedite the use of font switching as the names of fonts in a Skin are already known.

Wow, and there's a test! This looks very useful for working with existing scene2d.ui code. Merging!


Remove internal_logging.context_logger

Context: internal logs is a mechanism that allows to measure Mina node's performance by analyzing time difference spent between callsites. Unlike other approaches to profiling/metrics gathering, Logger.t interface is used to record entries to callsites.
Motivation: some internal logs in pickles library use an internal_logging.context_logger library to get a logger object on callsite without passing it explicitly down the call stack. This isn't the nicest design.
Solution: Instead of using thread-local-variable-like trick, simply pass ~logger parameter down the callstack.
Explain how you tested your changes:

[ ] Internal logging from Pickles continues to be logged
[ ] Tests pass

Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[x] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[x] Does this close issues? None

!ci-build-me

Closed in favor of #15960


Are the webApiPermissionRequests delegated permission requests?

Category

[ x] Question
[ ] Typo
[ ] Additional article idea

Question
Hi
I am trying to convert a doc/excel file in a sharepoint site to pdf and upload the file to an external API. I am using the MSGraphClient for accessing the graph api endpoint for pdf conversion (/drives/${driveId}/items/${driveItemId}/content?format=pdf).
To read the file I added Files.Read.All permission.

What I cannot find for sure is that, is this permission a delegated permission or not. I read the following doc:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient
What I understand is these requests impersonate a user but I am not sure if it is the same thing as delegated permissions. Could anyone please clarify whether these permissions are delegated permission or not as per azure AD context.
Environment details (development & target environment)

Your Developer Environment: Windows 10
Target Environment: SharePoint Online
Framework: Node.js v10
Browser(s): Chrome v79
Tooling:VS Code | SPFx v1.10.0
Additional details: Graph client permission request in Spfx ContextMenu Extension

Files.Read.All is Delegated permissions:

Reference:
Microsoft Graph permissions reference

But there's also this.

SPFX solution needs user log in and then perform file read, so it's delegated permissions, please check out the explaination about the difference between Delegate and Application Permissions:
Azure AD App Application Permissions vs Delegated Permissions


Upgrade to flask 2

I noticed in issue #1759 that the flask version was pinned to the 1.x branch to fix compatibility issues. This PR introduces the necessary changes to bump Flask and werkzeug to version 2.x .

Cool stuff! Right now there is just so much more flask 1.x running out there (that people might be running in the same env as locust or inside locust), so I dont think we want to merge this right now, but it is nice to know we can.

Cool stuff! Right now there is just so much more flask 1.x running out there (that people might be running in the same env as locust or inside locust), so I dont think we want to merge this right now, but it is nice to know we can.

Thanks for the feedback :) Maybe I can add conditions to see which version of Flask is used and adapt the changes depending on this, to allow running with both Flask 1.x and Flask 2.x ?

Thanks for the feedback :) Maybe I can add conditions to see which version of Flask is used and adapt the changes depending on this, to allow running with both Flask 1.x and Flask 2.x ?

That would be nice. We'd still have to depend on 1.x in setup.py, but I guess it might still be useful for some people.

Actually, I'm thinking about making a 2.0 release soon and it makes total sense to update flask at the same time. can you fix the formatting errors though?

Actually, I'm thinking about making a 2.0 release soon and it makes total sense to update flask at the same time. can you fix the formatting errors though?

Sure ! I just pushed an update with formatting fixed

Thanks for the PR. I ran into this error just now when I try to run locust.
app.jinja_options["extensions"].append("jinja2.ext.do")
KeyError: 'extensions'

It was working for me a few hours ago, then all in sudden ran into this error. Nothing has changed on my side.
When is this PR going to be released? Hope it will fix the issue.

Thanks for the PR. I ran into this error just now when I try to run locust.
app.jinja_options["extensions"].append("jinja2.ext.do")
KeyError: 'extensions'

It was working for me a few hours ago, then all in sudden ran into this error. Nothing has changed on my side.
When is this PR going to be released? Hope it will fix the issue.

I want to do this in 2.0, because it may be a breaking change for some people. Locust 1.5.3 uses a pinned 1.x version of Flask, so you shouldnt have this issue?

Thanks for the PR. I ran into this error just now when I try to run locust.
app.jinja_options["extensions"].append("jinja2.ext.do")
KeyError: 'extensions'

It was working for me a few hours ago, then all in sudden ran into this error. Nothing has changed on my side.
When is this PR going to be released? Hope it will fix the issue.

I want to do this in 2.0, because it may be a breaking change for some people. Locust 1.5.3 uses a pinned 1.x version of Flask, so you shouldnt have this issue?

Ah my locust is 1.4.4. I'll update and see if it works. Thank you!

Thanks for the PR. I ran into this error just now when I try to run locust.
app.jinja_options["extensions"].append("jinja2.ext.do")
KeyError: 'extensions'

It was working for me a few hours ago, then all in sudden ran into this error. Nothing has changed on my side.
When is this PR going to be released? Hope it will fix the issue.

I want to do this in 2.0, because it may be a breaking change for some people. Locust 1.5.3 uses a pinned 1.x version of Flask, so you shouldnt have this issue?

update to 1.5.3 fixed my problem. Thank you!


Add upsert and/or fetchByKey(Class, Object...) methods to Session

I'm just exploring this library on Informix and it's basically working though it doesn't have "official" support - so that good :-).
What I'm missing is a kind of upsert-statement: if an object is alread in the database I'd like to update it, if it's not there I'd like to insert it, e.g.:
try (Session session = new Session(dataSource.getConnection())) {
    session.upsert(customer);
}

I tried to work around it by using fetch first and then deciding if I need to insert or update. But I couldn't find a method which I could pass in the requested class and the key, e.g.:
   Customer customer = session.fetch(Customer.class, 5);
Actually -- I found exactly that method, but it's commented out, as it doesn't work together with the variant that accepts an sql as a second parameter)... so that's a method that I'm missing, too.
There is a fetch-method with a single POJO parameter, but it needs to be filled with the primary key first and when querying it, it will overwrite all contents contained in it. I could work around it by cloning the object, but that would require the POJO to be Cloneable, and it doesn't feel very right conceptually:
    Customer customerThrowAway = customer.clone();
    if (session.fetch(customerThrowAway)) {
        session.update(customer);
    } else {
        session.insert(customer);
    }

So I'm kind of stuck here. I can of course write a simple SELECT myself and use the fetch-method with the SQL as a second parameter, but that doesn't really fit into the concept of simplicity with zero ceremony ;-) ...
So I'd propose

to "wake up" the commented out fetch-method, probably with a new name
(an alternative to using a different name would be to change the existing fetch(Class, String, Object...) signature to fetch(String, Class, Object...) -- it should avoid the clash of signatures, but would break backwards compatibility).
consider adding an upsert-method

So what do you think? Thanks for consdidering :-)
[Background: My usage szenario is that I'm offering a REST webservice where the consumer can request a PUT some special field value. This value is usually just some optional add-one to some other POJO. In the GET-request we simply provide a default value if there's no value available, but we need to offer the option to store something explicitly.]

The simple fetch you see commented out is because the overload collides if you have a primary key that is a string. The usual method is fetch(class, sql, params)  so you can just use fetch(class, "select * from table where id = ?", 123)
Or if you know the primary key value to find it
Customer customer = new Customer();
customer.setId(123);
if (session.fetch(customer)) {
update();
} else {
insert();
}
But you're right. I could have an "upsert" method.
Yeah I've been looking at that fetch method. I was thinking of writing a Parameter class to capture the parameters as a type. Then later add named parameters as a feature. I know it would break the existing API but it might be OK in a 1.1 or 2.0 release to do that.
Also I'm adding a withTransaction() which simplifies transactions and getting records to work. ;)
In terms of writing the SQL yourself. I consider that to be feature, not a bug. I think most ORMs fail on trying too hard to abstract away SQL.
Good ideas! If I have time this weekend I'll work on getting Informix added to the test suite.

Thanks for the quick response!
[I definitely like to have the ability to write the SQL myself -- actually that's why I'm looking into alternatives to JPA like your library. We've implemented a webservice to abstract away various tables from different databases (and even other systems), but so far only for read (GET) requests. We use dbutils so far and some homebrewn framework to use some SQL-templates and "fill in" dynamically some additions to the WHERE clause, depending on the requests needs, and that has been working extremely well. (We have a parallel "sibling"-project with another team doing something similar, but using mostly JPA, and so far I like the plain-SQL-approach much better than fighting with the Criteria API or JPQL ...)]
Anyhow: I'm looking for something generic regarding the CUD-part of CRUD now, as we need to write some things back into the database. And I'd very much like to have the SQL generated automatically for these cases ...
I'll consider your proposal, but it requires me for my implementation of an upsert to not be able to write it generically for any POJO -- that's what's concerns me, as I'd like to write it just once.
Another idea: Maybe we can better live without the fetch with parameters if there would be an exist-method, that doesn't touch the POJO, but merely checks if a record is in the database, e.g. like this:
if (session.exists(customer)) {
    update(customer);
} else {
    insert(customer);
}

Otherwise I need to know about all the details of the customer, the id, the table name etc. -- and that's actually all handled by Persism already for insert/update anyhow ... so why would I bother to do that manually?!? ;-)
Actually implementing a generic upsert in Persism might benefit from some transaction handling to prevent race conditions, so I'm curious what you're up to.
[Informix is working good so far for my simple test cases, so I'm already satisfied with that ;-) ...]

I found a generic way to implement my upsert:
if (session.update(dto) == 0) {
  session.insert(dto);
}

This could be added as an out-of-the-box solution, though I'm happy with it in my use case.
And I'd still enjoy the exists()-method anyhow ...

FYI - The update would usually always return 1 unless you implement Persistable or extend PersistableObject since these do the check for changed fields.

Can't confirm it's always reporting '1' -- it rather reports the number of affected rows, as JDBC does. I"m not implementing Persistable yet.
But it's a good point to take care of: what happens with the optimizations of Persistable? Maybe my logic doesn't hold then any more ...

I would recommend for now to use if (fetch()) which returns true if found. Or use the other one and check for null.

Right now I'd looking for a generic way without needing to write individual SQLs for it, and as fetch() overwrites the original content, I'm not happy with that. It all calls for an exists()-method ;-) ....
I'll stick with my current solution for now and add a check for Persistable, as that might result in returning 0 if no fields are modified.

Check out my experimental branch. It's a new API. Let me know what you think.

So regarding this issue we're mainly talking about this method, right? (I also found some more query-methods and overloaded variations of fetch)
public <T> T fetch(Class<T> objectClass, Parameters parameters)
I appreciate the automatic SQL-generation involved which then gets filled with the primary-key-parameter.
I've been thinking about it a little more and looked into the source code. If there's only one primary key column this will be fine.
But if we have a composite primary key, there an issue, that might bite back: the order of the parameters depends on the order of the primary key columns as stored in Persism's metadata. What I could see from the source code is that this order seems to be determined by the order of the columns in the database table. This might differ from the order of the fields in the POJO-class.
While this doesn't need to be a problem, there are two concerns:

It needs to be documented, as it's not obvious.
It will make an application program break if the order of the pk-columns in the database changes while all the rest remains the same
It's a candidate to introduce brittleness, as it breaks encapsulation by exposing the internal implementation detail (order of columns) via the interface of fetch. If the internal order of columns changes (which is only provided by the LinkedHashMap, but not by the used interface Map), it will break the interface of fetch.

Thinking about it I start to appreciate the original fetch-method that gets a POJO in a QBE-style, as the order of the columns isn't relevant there.
Here are some options that come to mind:

specify the required order of the pk columns explicitly in the documentation (what would a programmer expect? Order of the table fields or rather order of the fields in the POJO-class?)
supply parameters in a key-value-style (e.g. map) which makes the order irrelevant -- unfortunately it makes the method signature somewhat more clumsy (though Map.of() for Java 9+ helps).
provide the pks in form of a POJO-QBE-object (as before), but return a new instance.

What do you think about it?
Thanks for putting efforts into this issue!

NON standard sql.

Don't know how this feature request is dependent on an Sql upsert command.
There are sql dialects with upsert of course, but this is not meant here.

Hi, hope you're doing well!
Yeah MySQL for example has REPLACE.


Cannot select Flight Simulator 2020 (Microsoft Store Edition)

Not sure if this is a bug with the Windows UMP apps but I cannot select Flight Simulator 2020.exe. It will give an error saying I don't have permissions. Tried the new beta Xbox app, which lets you relocate the folder outside the WindowsApp protected one, but the issue still occurs. Open to suggestions!

UWP applications are technically not individual processes in the classic sense. It's a sandboxed overly complicated mess. I'm afraid this type of game is not affectable by HidHide.

Hope it's ok to bump an old issue. I was having the same problem with Fallout 76, what I did was copy a random exe to the FO76 folder, renamed the game's exe (Project76_GamePass.exe) to Project76_GamePass.bak, renamed my random exe to Project76_GamePass.exe then added it via the Hidhide interface. Then deleted the random exe and returned Project76_GamePass.bak to the correct name. And then when I ran FO76 it correctly detected my DS4 and worked with it despite hidhide being enabled :)
Yes a convoluted method but it worked! :)


new installation instructions

inbo/... ipv stijnvanhoey/...
I hope I changed in the right place.

Coverage remained the same at 94.694% when pulling 7be1db0791ace24b6b7f3692d0875340deb37333 on new-installation-instructions into 1a2b96a3aaa9c504cb50b1f67f4efe81b6d5d3f8 on master.


Add backend translations

Closes #41 per investigation in #22

Still need to add tests for all of this new infrastructure.  Also, current messages (mainly errors) need to be localized.

For some reason, this has caused major coverage reporting regressions.  Working on resolving the issues with jacoco.

Regression resolved; now just fixing remaining coverage gaps.


Please delete this issue: Please elaborate api details for method spotifyService.getMySavedTracks ()

EDIT: My error was that the retrofit classes were unavailable, and then I misinterpreted the cause of error to be stemming from maladjustment to the change in the api.

I know this is old, but how do you fix the 'Retrofit' classes not being available. I think I am having the same issue.


feat: add --no-bigint

#17

thank you for raising! and apologies for delay, will merge once i have some time to test due a work deadline 🙈. Which should ideally be sometime this week with a publish shortly after!