Thought: GTM slaves & automated failover

How can GTM Slaves and automated failover be achieved?

Still not tested in 0.2.0. If anyone has or would like to investigate this, please say! :)

I am looking at this now.

Okay, sounds good. I haven't looked into this much, myself, so it would be interesting to hear anything interesting you find out during research. :)

I propose closing this, unless it's being actively worked on; it's been open for 2.5 years, without a clear goal (entirely my fault). :)

OK makes sense to close it.
The way I was doing it if for reference was:
#!/bin/sh -eu
if [ ${PG_MASTER_HOST+"false"} ]
then
        test -d "$PGDATA" || docker-init-gtm
        sed -i "s|#startup = ACT|startup = STANDBY|" "${PGDATA}/gtm.conf"
        sed -i "s|#active_host = ''|active_host = '${PG_MASTER_HOST}'|" "${PGDATA}/gtm.conf"
        sed -i "s|#active_port =|active_port = 6666|" "${PGDATA}/gtm.conf"
else
        test -d "$PGDATA" || docker-init-gtm
        sed -i "s|startup = STANDBY|#startup = ACT|" "${PGDATA}/gtm.conf"
        sed -i "s|active_host = '*|#active_host = ''|" "${PGDATA}/gtm.conf"
        sed -i "s|active_port = 6666|#active_port =|" "${PGDATA}/gtm.conf"
fi

exec "$@"


Problem with go to top button

It works perfectly fine . The green circle is for top and the white one is to switch between dark and light mode . Its cool .

yes i want to contribute


Add an option to add BEGIN and COMMIT around migrations when generating them for PostgreSQL

Sister issue of https://github.com/prisma/prisma/issues/7641, which is specific to SQL Server. Prompted by comments in https://github.com/prisma/prisma/discussions/3774. I believe that migrations running outside of a transaction must be an exception, not a rule, since guaranteeing 100% clean state (so the migration is all or nothing) is more important than higher performance or higher chance of success. Where it's really impractical to keep the migration in a transaction, e.g. when touching too many rows in a table that's too busy, the relevant statements can be put outside the transaction manually.

From internal discussions, we see a lot of advantages to having the option to wrap migrations in a transaction have the effect of manually adding a BEGIN and a COMMIT to generated migrations by default, rather than affecting how Migrate applies migrations directly: it's less complex to implement (applying migrations should be very predictable and deterministic), it's persisted in the migration itself, and it's more flexible, since users can opt in or out on a per-migration basis (or even for parts of a migration).

This could also be a parameter for commands that create a migration, --wrap-in-transaction or --use-transaction for example that would then cause these to be rendered in the migration SQL by default.

I'm not sure I understand what's going on here, because on one hand I'm seeing a request to put migrations inside transactions by default (implying that migrations don't run inside a transaction) but then this discussion question implies that they are being run: https://github.com/prisma/prisma/discussions/10601
What's the current behavior?

From this blogpost it seems that the transaction wrapping behavior is database engine specific.

SQL Server and Azure SQL: Migrate explicitly wraps the generated migration in a transaction.
PostgreSQL: You can opt-in by adding BEGIN; and COMMIT; to the generated schema migrations. By default, Migrate does not wrap migrations in a transaction.
MySQL: Transactional DDL is not supported.

Yeah I think that blog post is incorrect in light of the behavior I saw in #10601 (and have myself seen). It would be helpful to have this behavior in documentation, whereas in blog posts which are point-in0time.

also this "explicit" transaction mode would fix the problem when trying to create concurrent indexes currently:
Database error:
ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block

DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E25001), message: "CREATE INDEX CONCURRENTLY cannot run inside a transaction block", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("xact.c"), line: Some(3389), routine: Some("PreventInTransactionBlock") }

+1 Would love to see this.

Any update on at least explicitly documenting whether prisma applies migrations in a transaction?

+1 on documenting if a transaction is being applied or not

+1 Transactionally safe migrations feels like a necessary feature before I would support full adoption of prisma in my professional projects

Just to document more weirdness around this subject--
PostgreSQL enum migrations do wrap with BEGIN/COMMIT. Yet based on this thread, it seems redundant...

based on this thread, it seems redundant

No, it's not redundant. Wrapping migrations in transactions (implicitly on execution) is implemented only for MSSQL
Here is actual code: https://github.com/search?q=repo%3Aprisma%2Fprisma-engines render_begin_transaction&type=code
So the summary in https://github.com/prisma/prisma/issues/8080#issuecomment-1245083538 is actual.

I wrote this comment in a discussion; copying here if this issue is a better place. (Apologies if not!)
+1 to all the requests asking for transactions by default. Just got bitten by this, and it really sucks to have to debug and fix a DB with a half-migrated schema.
The lack of this safe behavior is what results in the need for prisma migrate diff and resolve complexity. In 99% of cases, I just want my migrations to succeed all-or-nothing. And in the few times where I need to make a change that can't run in a transaction (like CREATE INDEX CONCURRENTLY), I'd rather wrap that transaction in COMMIT; ...; BEGIN; rather than wrap every other transaction in BEGIN; ...; COMMIT;
Explicit BEGIN and COMMIT statements in every generated migration by default is also reasonable, and would be great to have as a bare minimum.
Thank you!


Refactor test-cmd-devfile-debug

What type of PR is this?
/kind tests
What does this PR do / why we need it:
Test refactoring
Which issue(s) this PR fixes:
Fixes #5304
PR acceptance criteria:

[x] Unit test
[x] Integration test
[ ] Documentation
[x] I have read the [test guidelines](https://github.com/redhat-developer/odo/blob/master/docs/dev/test-architecture.adoc

How to test changes / Special notes to the reviewer:

I noticed that there is a tests/integration/devfile/debug/cmd_devfile_debug_test.go as well, can you refactor that as well?

/lgtm
/approve

/test v4.9-integration-e2e

/retest


[util] Add script and first template to autogen (some) testutils.

This partially addresses #9038 by auto-generating a higher-level
testutils library to service ISRs. Specifically this commit:

adds a Python script, util/autogen_testutils.py, that renders any
testutils templates that live in util/autogen_testutils/, and
adds a isr_testutils.h.tpl header template.

Signed-off-by: Timothy Trippel<EMAIL_ADDRESS>

Ohh, we are actually doing this? It was just an idea I wanted to float.

Ohh, we are actually doing this? It was just an idea I wanted to float.

I can mark as draft PR and we can discuss. Wanted to get a PR out to demonstrate how it would be done.


Environments settings are not reflected.

Problem Description
Environments settings are not reflected.
What is actually happening
I described the Environments settings with reference to README.md, but the settings are not reflected.
environments:
  - name: production
  - name: development

Is there anything wrong?
What is the expected behavior
Environments settings should be reflected.
Error output, if available
N/A
Context
Are you using the hosted instance of repository-settings/app or running your own?
hosted instance of repository-settings/app
If running your own instance, are you using it with github.com or GitHub Enterprise?
github.com
Version of repository-settings/app
N/A
Version of GitHub Enterprise
N/A

This page says that I need the authority of actions:read . Could you please put it on?
https://docs.github.com/ja/rest/deployments/environments?apiVersion=2022-11-28#get-an-environment

Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint.

@travi
I am sorry to bother you, but could you please check this?

@kkasai Is this on a personal private repo? If so, environments are not available for those repos (see the green box at the top of the documentation). For environments to be available, the repo needs to either be public OR the repo needs to be on GitHub Pro, Team, or Enterprise. Furthermore, some environment features (such as approvers) are only available on Enterprise.

@rlmartin

Is this on a personal private repo?
No.

This is on a GitHub Enterprise.
I already use Environments, but I want to manage with settings.yml .

i've added actions:read to the permissions requested by the hosted settings app

i've also captured this need in the deployment doc for consumers. closing since i believe the need is covered, but please mention if you think there are other details that need attention.


Migrated Java 8 code to Java 17 syntax improvements.

Codecov Report

Merging #696 (1db4098) into main (a484889) will increase coverage by 0.00%.
The diff coverage is 91.22%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##               main     #696   +/-   ##
=========================================
  Coverage     92.40%   92.40%
+ Complexity     2603     2602    -1
=========================================
  Files           283      283
  Lines          5318     5295   -23
  Branches        573      568    -5
=========================================
- Hits           4914     4893   -21
- Misses          254      255    +1
+ Partials        150      147    -3

Impacted Files
Coverage Δ

.../datafaker/transformations/sql/SqlTransformer.java
85.19% <60.00%> (ø)

...c/main/java/net/datafaker/providers/base/Code.java
97.70% <75.00%> (ø)

...ain/java/net/datafaker/providers/base/Barcode.java
90.47% <80.00%> (ø)

.../main/java/net/datafaker/idnumbers/NricNumber.java
95.65% <100.00%> (-0.78%)
:arrow_down:

...main/java/net/datafaker/idnumbers/PeselNumber.java
100.00% <100.00%> (ø)

...java/net/datafaker/providers/base/DateAndTime.java
98.57% <100.00%> (ø)

...ain/java/net/datafaker/providers/base/Finance.java
98.52% <100.00%> (ø)

...ain/java/net/datafaker/providers/base/Hashing.java
85.71% <100.00%> (ø)

...in/java/net/datafaker/providers/base/Internet.java
91.66% <100.00%> (-0.11%)
:arrow_down:

...in/java/net/datafaker/providers/base/Locality.java
64.81% <100.00%> (ø)

... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[EUWE] Fix failing specs on euwe following #14079

@lpichler @gtanzillo @simon3z @simaishi PTAL

@zeari Thanks!


feat: support refactoring opportunities

There're some refactoring opportunities that could be supported

[ ] PipeChainStart - https://hexdocs.pm/credo/Credo.Check.Refactor.PipeChainStart.html
[ ] UnlessWithElse - https://hexdocs.pm/credo/Credo.Check.Refactor.UnlessWithElse.html
[ ] FilterCount - https://hexdocs.pm/credo/Credo.Check.Refactor.FilterCount.html
[ ] FilterFilter - https://hexdocs.pm/credo/Credo.Check.Refactor.FilterFilter.html

@wesleimp can you split these into 4 separate issues for me?

@wesleimp can you split these into 4 separate issues for me?

Yes, I'll do this ASAP

Thanks, no rush at all.

Closing this due to #16 #17 #18 #19


role:acme_sh: is acme.sh automatically updated?

should we enable this? -> needs to documented

Yes, that would be nice. Question is how: using a systemd-timer just for acme.sh (once a month would be sufficient), or using a common/more generalized LFOps systemd update-timer which tries to update all non-package-manager-installed-software on a regulary basis one by one (I prefer the former).

we could run the update command before renewal (once a month, as a ExecStartPre in the existing service), and before issuing new certs in the ansible role

Would be elegant, something like ExecStartPre=acme_sh --upgrade (hint: there is also an --auto-upgrade parameter).
$ acme.sh --help | grep upgrade
  --upgrade                Upgrade acme.sh to the latest code from https://github.com/acmesh-official/acme.sh.
  --auto-upgrade [0|1]              Valid for '--upgrade' command, indicating whether to upgrade automatically in future. Defaults to 1 if argument is omitted.


Chore/rename judgment specific templates to document/1152

Changes in this PR:
Rename judgment specific html templates, css classes and translation msgids to refer to document
Update: also made it so static text about downloading the docs refer to document rather than needing to dynamically determine whether to display the same text but with judgment or press_summary
Trello card / Rollbar error (etc)
https://trello.com/c/s6nPDKx6/1152-chore-generalise-pui-references-to-judgment-to-document

Codecov Report

Merging #837 (5060582) into main (49b1974) will increase coverage by 0.06%.
The diff coverage is 98.42%.

:exclamation: Current head 5060582 differs from pull request most recent head fabfbe3. Consider uploading reports for the commit fabfbe3 to get more accurate results

@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
+ Coverage   93.33%   93.40%   +0.06%
==========================================
  Files          32       32
  Lines        1366     1379      +13
  Branches       74      220     +146
==========================================
+ Hits         1275     1288      +13
  Misses         71       71
  Partials       20       20

Impacted Files
Coverage Δ

judgments/urls.py
100.00% <ø> (ø)

judgments/utils.py
89.38% <75.00%> (+0.09%)
:arrow_up:

judgments/views/detail.py
94.04% <97.05%> (ø)

judgments/feeds.py
92.10% <100.00%> (ø)

judgments/tests/test_detail.py
97.50% <100.00%> (+0.13%)
:arrow_up:

judgments/tests/tests.py
97.81% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

All looks good to me, thank you - just one little gotcha to check, just in case you weren't aware :-)


[v5] Update docs for iDeep constraints

context: #5600, #5592

Jenkins, test this please.

Jenkins CI test (for commit 7465ff2f428cb9a4340d02716e7f405f2f88986a, target branch v5) succeeded!


Update IAM docs to use separate terminal sessions for admin commands

Small update IAM in docs to highlight switching between different terminal sessions, as the administrative IAM commands need to be run with the default root user.
As an alternative, we could also keep it in a single code listing and add switches to temporarily set/unset the access credential environment variables. Feels like it is a bit more clear to have it separated into separate listings with two terminals (as in this PR). Thoughts @dfangl , which one makes more sense?

Great point @dfangl , totally agree that this was a bit confusing. Added some overall restructuring to the docs, and added clearer distinction between the two terminal sessions - please check again! 👍


feat(plugin-chart-table): implement conditional formatting

Adds conditional formatting to Table chart.
Conditional formatting feature is described in https://github.com/apache/superset/pull/15651
In the case of Table chart, if conditional formatting is defined (at least 1 formatter has been added), cell bars are disabled and replaced with formatter's colors.
https://user-images.githubusercontent.com/15073128/125609934-3a04ff76-c8a2-48f3-916e-23c5ca567fd0.mov
CC @junlincc @rusackas @michael-s-molina

@ktmud would love your review and approval. 🙏

Thanks for the suggestions Jesse! I agree that there's still a lot to improve, but that was meant to be an MVP version - we'll build up on it in the future.


Possible to filter nearest element with SelectToken?

I'm making a game where some data is read from jsons. I'm allowing users to specify where in the json the data resides. I'm using SelectToken for that.
Some of the json files I get have arrays of objects, and I would like to select one of the element. Though it would be nice if I could select the one with its name closest to some give value.
So for instance:
JObject o = JObject.Parse(@"{
  ""Manufacturers"": [
    {
      ""Name"": ""Acme Co"",
      ""Products"": [
        {
          ""Name"": ""Anvil"",
          ""Price"": 50
        }
      ]
    },
    {
      ""Name"": ""Contoso"",
      ""Products"": [
        {
          ""Name"": ""Elbow Grease"",
          ""Price"": 99.95
        },
        {
          ""Name"": ""Headlight Fluid"",
          ""Price"": 4
        }
      ]
    }
  ]
}");

// manufacturer with the name closest to 'Ocme Ca'
var acme =<EMAIL_ADDRESS>closest to 'Ocme Ca')]");
// This would give Acme Co
// or:
var contoso=<EMAIL_ADDRESS>closest to 'Conto')]");
// would return Contoso.

Is something like this possible? Or is there a way I can define this as an additional filter my players can use?
Thanks!
Note: I also asked this on stackoverflow, but though this might be a better place.

https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md#question


error when searching

When making a search i get the following error on the console and no results show up:
INFO     Searching YouTube for query 'Lescop - La Foret'
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus
INFO     cannot import name unquote_plus

duplicates issue #57


Unreal SDK

Is there a plan for an Unreal SDK based on the Rust SDK.

It's not currently planned. We certainly would like one though!


split off howfairis repo from github action repo

Currently we're doing 2 things in this repo. We should split off the howfairis package into its own repo, preferably while retaining github history. I've done that before, so i can do it, but let's first see what PRs we need to merge before splitting.

Was implemented in https://github.com/fair-software/badge/tree/9f498ab6827e124b0ad16a1e04d9f6dc159d9c57, closing this issue.
howfairis content is now in a new repository (while retaining contributor history): https://github.com/fair-software/howfairis


Allow error text to wrap or reenable word wrap after disappearing

I am using word wrap and it is annoying when you get long error message and it turns off word wrap and you need to scroll horizontally, at least let it turn word wrap back on after message is disappeared.

and it turns off word wrap

AFIAK, extension doesn't touch editor.wordWrap vscode setting.
If you're talking about error message to follow editor setting and wrap the same way the text does - there's simply no API to do that.

Ok good know


Try grpc-web

Might be better to use this for nodejs:
https://github.com/grpc/grpc-web
Instead or with grpc-tools and grpc_tools_node_protoc_ts

Typescript support is experimental...

Think not for now.


Update de.flapdoodle.embed.mongo to 4.13.1 in main

About this PR
📦 Updates de.flapdoodle.embed:de.flapdoodle.embed.mongo from 4.12.6 to 4.13.1
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "de.flapdoodle.embed", artifactId = "de.flapdoodle.embed.mongo" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "de.flapdoodle.embed", artifactId = "de.flapdoodle.embed.mongo" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #315.


Make one package.json for Kitchensink example

** Do **
Apply what we discussed about the PR#162 and on Slack.

Coverage remained the same at 97.363% when pulling d34c3c82345a530d6a2f9b4e38e8af64b81b594d on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling d34c3c82345a530d6a2f9b4e38e8af64b81b594d on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling 3975c80076e2d5090881b2c39942df1194586f46 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

It introduces 3 new commands:

make serve-kitchensink-example
make serve-counter-example
make serve-multiple-widgets-example

Coverage remained the same at 97.363% when pulling cab477dac307f1e37b10eb31dd7bee8ff34255b0 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling cab477dac307f1e37b10eb31dd7bee8ff34255b0 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

I'm unable to make the kitchensink example run by following the instructions, even after doing a npm install and npm run bootstrap on the root of the repo. Can you try to build from scratch, I mean, from a clean repo?

Coverage remained the same at 97.363% when pulling 3681c61156a1d770cd5e724001c5560374b6ce48 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling ec9b58fe4db065c1da3169599a390cc7a54bbeba on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling 5ee488c64fd629f1cfed09297d9e9d9d74d963c0 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Verified to work on Windows:
npm i from the root, cd to the corresponding example directory and make serve.

Coverage remained the same at 97.363% when pulling a7555bdd56ea92f92b626e9c9e12151209ea5109 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling f22aa797e7c7a5f340cc80e4addd804eb180172c on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling ba105b115dfece7b08996386af5c8b8af8382af3 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling 08d4a3ddd711f9c27cfc2ca12d5cc20a0db3b159 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling 08d4a3ddd711f9c27cfc2ca12d5cc20a0db3b159 on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.

Coverage remained the same at 97.363% when pulling 181ff1b541268a13883aa57e824aced7348e0fbf on package-json-examples into c4dd810d6be057e67ff945e2d98b3fc9511cf92e on master.


#1612 fix wildcard topic subscription

Fixes #1612
There was an error in the early elimination of wildcard topics. It worked under the assumption that the same topic hash will have the same topic hash mask, which is not always the case for wildcard topics. This is fixed by storing wildcard subscriptions by topic hash mask and by comparing against the correct hash mask at the elimination stage. Unit test added also.

👍


Incorrect logic on multiple SMSTART calls

As part of the SME AArch64 extension, Streaming SVE Mode was introduced. This is enabled via SMSTART and disabled by SMSTOP. For any SME instruction to be executed the core must be in Streaming SVE mode.
SMSTART/SMSTOP is composed of 2 parts: SM and ZA (not to be confused with the register za). When SM goes from an enabled state (=1) to a disabled state (=0) or vice versa then all Vector (z, and subsequently v, b, h, s, d regs) and Predicate (p) registers are set to 0. Similarly, when ZA goes from an enabled state (=1) to a disabled state (=0) or vice versa then the za matrix register is zeroed out.
Currently within SimEng, on any execution of SMSTART or SMSTOP the register clearing functionality is performed for SM or ZA or both; which ever is appropriate for the instruction variation executed. However, this zeroing functionality should only be performed when the state changes from 1 to 0 or 0 to 1, not on any call.
For example, the trace below is what currently would happen in SimEng
SMSTART                    // Enter Streaming SVE mode. Zero all vector, fp, scalar, neon, predicate, and za matrix registers
dup z0.s, #3               // Duplicate the number 3 in all elements of z0 :  `z0.s = {3, 3, 3, 3}`
dup z1.s, #2               // Duplicate the number 2 in all elements of z1 : `z1.s = {2, 2, 2, 2}`
SMSTART                  // Enter Streaming SVE mode, zero all vector, fp, scalar, neon, predicate, and za matrix registers
add z2.s, z1.s, z0.s   // Add z0.s and z1.s element wise : `z2.s = {0, 0, 0, 0}`
SMSTOP                    // Exit Streaming mode. Zero all vector, fp, scalar, neon, predicate, and za matrix registers

However, the following should happen instead - effectively making the second SMSTART have no affect:
SMSTART                    // Enter Streaming SVE mode. Zero all vector, fp, scalar, neon, predicate, and za matrix registers
dup z0.s, #3               // Duplicate the number 3 in all elements of z0 :  `z0.s = {3, 3, 3, 3}`
dup z1.s, #2               // Duplicate the number 2 in all elements of z1 : `z1.s = {2, 2, 2, 2}`
SMSTART                  // Already in Streaming SVE mode. Do nothing
add z2.s, z1.s, z0.s   // Add z0.s and z1.s element wise : `z2.s = {5, 5, 5, 5}`
SMSTOP                    // Exit Streaming mode. Zero all vector, fp, scalar, neon, predicate, and za matrix registers

Whilst such a scenario (or a variation of it where single SMSTART and SMSTOP pairs aren't used in a code block) is unlikely, it would be a valid execution path and as such could cause an unexpected bug in the future.

Issue fixed via commit e0bd27e1347e1da6e3cd2655d7da2f6170266750 into dev branch


Implementing a callback when the hotword is detected while using snowboy

I made the suggestion in #380 . This is the implementation and it seems to work ok.
I also made the change suggested by  #306 addressing #312 . I was not able  to run examples without this change.

Hi @wibimaster ,
I am now a maintainer of the library too and will merge the PR soon. Can you, however, test the change by implementing some simple application using it. I've been using the code in the PR for a while now I don't see any weird behavior but I am not quite sure if it's not messing the time calculations somehow.

I'm using it, I cannot confirm there isn't any problem ; I'm using SPeechRecognition + Snowboy, and have some weird behavior like 100% CPU and lag on hotword detection when it runs from some minutes..
But I had this behaviors before implementing this PR
(CPU down to 50% after implementing #395)

Any progress on this PR?


rpm: ensure whether old key has been imported

If you didn't import public key yet, verifying
with rpm -K fails (digests SIGNATURES NOT OK)
It help step how to fix missing import key.

Instead of A || B && C,  it should be A || (B && C)  to work as expected.


Implement: add function to allow split within groups

The /add function now can take both group expenses and individual expenses. If taken as a group, it asks for the group name and then asks the user for the date and category. After adding the expense, the user will get the total and the split spend.


Initial test framework

There is quite a bit of difference between azure test core for Java and azure test core for .NET
One of them being that Test framework for java doesn't support encrypted user configuration.
For the time being we have to store the configurations as environment variables until I hash out a path forward to make that a lot more convenient.

There is quite a bit of difference between azure test core for Java and azure test core for .NET
One of them being that Test framework for java doesn't support encrypted user configuration.
For the time being we have to store the configurations as environment variables until I hash out a path forward to make that a lot more convenient.

Have you reached out to Pavel and Srikanta to ask about feature parity in Java for encrypted user config?

There is quite a bit of difference between azure test core for Java and azure test core for .NET
One of them being that Test framework for java doesn't support encrypted user configuration.
For the time being we have to store the configurations as environment variables until I hash out a path forward to make that a lot more convenient.

Have you reached out to Pavel and Srikanta to ask about feature parity in Java for encrypted user config?

I talked to someone on the JAVA SDK team and he encouraged me to open an issue against the test framework. In the meanwhile, I will start a conversation between myself, Pavel and Srikanta to raise this issue.

There is quite a bit of difference between azure test core for Java and azure test core for .NET
One of them being that Test framework for java doesn't support encrypted user configuration.
For the time being we have to store the configurations as environment variables until I hash out a path forward to make that a lot more convenient.

Have you reached out to Pavel and Srikanta to ask about feature parity in Java for encrypted user config?

I talked to someone on the JAVA SDK team and he encouraged me to open an issue against the test framework. In the meanwhile, I will start a conversation between myself, Pavel and Srikanta to raise this issue.

I guess my bigger question is, when we get a feature in one language repo, is it automatically in the backlog for other languages, or do we have to ask for it explicitly?


[BUG]User updating does not work

Detailed Description
key in user.__dict__ always returns False except the first entry
Screenshots

@thealphadollar  Please see.


React Native support?

not clear if this has support for React Native?

Seems to be addressed in #78
Closing


AttributeError: 'Namespace' object has no attribute 'verbose'

Describe the Problem
With counterparty-client v10.0.0-beta.1 counterparty-client --help returns a traceback ending in the error: AttributeError: \'Namespace\' object has no attribute \'verbose\'
Steps To Reproduce
Steps to reproduce the behavior:

run counterparty-client --help

Screenshots and Logfiles
Traceback (most recent call last):
  File /home//.local/bin/counterparty-client, line 8, in <module>
    sys.exit(client_main())
             ^^^^^^^^^^^^^
  File /home//counterparty/counterparty-core/counterparty-cli/counterpartycli/__init__.py, line 16, in client_main
    client.main()
  File /home//counterparty/counterparty-core/counterparty-cli/counterpartycli/client.py, line 220, in main
    log.set_up(verbose=args.verbose)
                       ^^^^^^^^^^^^
AttributeError: \'Namespace\' object has no attribute \'verbose\'

fixed here https://github.com/CounterpartyXCP/counterparty-core/pull/1563


Add 173-Binary-Search-Tree-Iterator.java

File(s) Modified: 173-Binary-Search-Tree-Iterator, 513-Find-Bottom-Left-Tree-Value
Language(s) Used: java
Submission URL: https://leetcode.com/submissions/detail/822141553/ , https://leetcode.com/submissions/detail/822200735/

Thanks for contributing!


Xcode 16b1 • Undefined symbols

Using Xcode 16b1 we are currently unable to compile because of:
Undefined symbols for architecture arm64:
  "methodInfo.unsafeMutableAddressor : Reproducer.RCTMethodInfo in Static #1 in static Reproducer.CalendarModule.__rct_export__createEvent() -> Swift.UnsafePointer<Reproducer.RCTMethodInfo>?", referenced from:
      static Reproducer.CalendarModule.__rct_export__createEvent() -> Swift.UnsafePointer<Reproducer.RCTMethodInfo>? in noop-file.o
ld: symbol(s) not found for architecture arm64

Reproducer:
@ReactModule(jsName: "Calendar")
class CalendarModule: NSObject, RCTBridgeModule {

  @ReactMethod
  @objc func createEvent(title: String, location: String) {
    print("Create event '\(title)' at '\(location)'")
  }
}

Workaround, inline the macro source:
@ReactModule(jsName: "Calendar")
class CalendarModule: NSObject, RCTBridgeModule {
  @objc func createEvent(title: String, location: String) {
    print("Create event '\(title)' at '\(location)'")
  }

  @objc static func __rct_export__createEvent() -> UnsafePointer<RCTMethodInfo>? {
    struct Static {
      static let jsName = strdup("createEvent")
      static let objcName = strdup("createEventWithTitle:(NSString * _Nonnull)title location:(NSString * _Nonnull)location")
      nonisolated (unsafe) static var methodInfo = RCTMethodInfo(jsName: jsName, objcName: objcName, isSync: false)
    }
    return withUnsafePointer(to: &Static.methodInfo) {
      $0
    }
  }

Feels like an Xcode and/or Swift bug at this point given the inlined source works fine.

Hi!
I'm able to reproduce the same on Xcode 16 beta and it looks like a Xcode's issue with macros because it throws the error for both Swift 5/6. Lets wait next beta to test.

Yeah agreed, I'll get a feedback raised and TSI with Apple and post any updates I receive 🙂

The issue is fixed on Xcode 16 beta in 1.2.0. Thanks.


chore/build: update process used to download native libsodium

This replaces the two different methods used to download libsodium (a Powershell command for Windows
and a curl command otherwise) with a single one implemented in Rust via the reqwest crate.

Closed in favour of #29.


Update setup.sh

Metallb is among the minikube addons. I think it is cleaner to remove the installation via manifest and add the installation in a simple command as you have for dashboard, metrics-server and logviewer.

I have taken the liberty of making your code cleaner.

Nice implementación. I will merge it, it's a cleaner code 😋


Add test cases

Hey @alexanderniebuhr, this is the initial attempt of adding the test cases please give me feedback.
I have added description to each file but the names are not descriptive because each case is too specific, is it okay to have very long names? I also thought of grouping them by folder?

looks good :)
you are right, long file names are not that good.
Maybe some folders, if we have some main topics, which are similar.
I'll merge this later today.

Perfect I have added some other test cases and split them into folders one for the windi related cases and the other for the class attribute


hotkeys: p narrows to next unread PM thread

Similar to n hotkey.

@zulipbot claim

@zulipbot abandon

@zulipbot claim

@zulipbot abandon

Now that #8333 has been merged, this should be a fairly easy change.

@zulipbot claim --force
Edit - Not receiving the invite for being assigned to a issue, see issue here. But I am currently working on this issue despite not being assigned.

We now have the "p" key.  It's possible we may change this to have the "n" key cycle through PMs as well as streams, but my hunch is that people will like having two separate keys here.


updated Resolver.sol to include approvals

Maybe we should add tests for Resolver.sol? I didn't see any tests to update when I added the functions. @jefflau

Happy for some tests to be written. I'll merge this in first so it can be used.


Reintroduce engine version file

Right now if you boot up MeiliSearch and point it to a DB directory created with a previous version of MeiliSearch the existing indexes will be deleted. This used to be prevented by a startup check which would compare the current engine version vs what was stored in the DB directory's version file, but this functionality seems to have been lost after a few refactorings of the code.
In order to go back to the old behavior we'll need to reintroduce the VERSION file that used to be present; I considered reusing the metadata.json file used in the dumps feature, but this seemed like the simpler and more approach. As the intent is just to restore functionality, the implementation is quite basic. I imagine that in the future we could build on this and do things like compatibility across major/minor versions and even migrating between formats.
Closes #1840

Hello @mbStavola thanks for your PR
We need to discuss with the team how we want to solve this properly. We'll come back to you! 🙂

@irevoire I'm definitely interested in following through and the changes suggested seem relatively minor. Please note, it might take me a day or two to get back to this, so use your best judgement/sense of urgency to determine if you'd like for me to finish this up or not.

Yeeoos thank you 🎉
I don’t really know if we are in a hurry for this PR. What do you think @curquiza?

We need this bug not to be present in the next version (v0.25.0) -> the pre-release is December 6th :) According to this date, if you don't have the time @mbStavola (we would completely understand), @irevoire will need to take your branch and continue your work :)
Is it ok for you @irevoire and @mbStavola?

Hello @mbStavola we do not have much time left before the release so I'm going to take back this PR.
I'm going to cherry-pick your commits so you'll still be listed as a contributor, thanks for your contribution! :tada:

Closing this PR in favor of  #1965

@irevoire Sorry! This was a bit of a miscommunication, when I reacted to @curquiza 's comment it was to signify that I was okay handing it off since you had a deadline you wanted to meet. In retrospect a direct comment would've been better 😅
Apologies for any confusion!

No problem 👍


Is the test folder misleading?

I opened the folder expecting spec file examples and found what the main ASF repo puts in a folder called example, would it make more sense to call it demo or example rather than test?
A standard best practise way to write jasmine tests could be included in a test folder instead perhaps.

This sounds lika a good idea! Will do this for 0.1.4

:+1: sweet!

This is currently in develop branch.. will release with some package.json and bower.json improvements as a patch release!


Correction for raw affiliation Department of Cardiology, University of Rennes, CHU Rennes, Corelab, CIC INSERM 1414, Rennes, France

Correction needed for raw affiliation Department of Cardiology, University of Rennes, CHU Rennes, Corelab, CIC INSERM 1414, Rennes, France
raw_affiliation_name: Department of Cardiology, University of Rennes, CHU Rennes, Corelab, CIC INSERM 1414, Rennes, France
new_rors: 02vjkv261;015m7wh34;05qec5a53;02baj6743
previous_rors: 02vjkv261;015m7wh34;05qec5a53
works_examples: W4388658347
contact: 2a5d681ac2dc9950cb65d442f2c5f29b:650952bfed02c90a8e1fa68f6c272590 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


cv2.addWeighted(image, 1, lane_image, 1, 0)

Hii
I tried implementating the code with another video and got this error.

can you tell me how did you solve this problem ?

Make sure the input video resolution is greater than 720p, that fixed the issue for me


Fix a doc-nits failure

PR #22253 added a new include file into the d2i_PKCS8PrivateKey_bio man page (openssl/pem.h). This now means there are two include files which doc-nits complains about.
The old include (openssl/evp.h) is no longer necessary since pem.h includes it anyway, so we remove the old one.
Marked as urgent because this is causing the CI on PRs to fail.

Closing. Dupe of #22276.


[Feature] How to create rootCA to commission device to custome fabric like in cloud.

Feature description
...
I want to use Cloud to create NOC for device, but I have to have a rootCA.crt and rootCA.key in cloud, how to create them using openssl?
Platform
all, darwin
Platform Version(s)
No response
Anything else?
No response

When I create my own rootCA, it always pop up error: convertX509Certificate: src/credentials/CHIPCertFromX509.cpp:449: Error 0x00000305


refactor: migrate theme.js to js.build

Close #346

The migration has not been fully done yet. But I decide to merge it first, since the basic building pipeline configuration has been finished.


mam/trits: use memcpy and memset

How about moving these functions to header mam/v2/trits/trits.h as static inline ones?


chore(release): 📢 0.4.1

:tada: This PR is included in version 0.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added support for lock connected to Verisure system.

Add support for Verisure locks.
Combine with this PR: https://github.com/balloob/home-assistant-polymer/pull/25

@turbokongen is it any possibility to store the lock code somewhere so I can automatically control it?
Is the any settings available from Verisure? I will rather control the automatic locking on and off from HA than from Verisure.

You can probably use a template switch to do just that.

switch:
    platform: template
    switches:
        yale_lock:
            friendly_name: 'Skylight'
            value_template: '{{ states.lock.yale_entity_id.state }}'
            turn_on:
                service: lock.lock
                data:
                  entity_id: lock.yale_entity_id
                  code: 123456
            turn_off:
                service: lock.unlock
                data:
                  entity_id: lock.yale_entity_id
                  code: 123456


unit tests don't compile

There are currently quite a lot of unit tests that don't compile. I can only imagine that this is the result of heavy refactoring and the hard work done after the hard fork of Sia? I suppose this is not new to you, but I was wondering what to do with this? Should this be ignored for now, or should I help in fixing this?

Some of this is related to issue #37, and could be solved (partially) together.

Added a wip on a separate branch:

Fixed some tests which have just been renamed
Placed a comment on tests which call removed/reworked methods with a link to the commit in which they have been removed

No effort has been done to fix failing unit tests, I guess that should be handled in separate issues

packages that are fine now( in the fix unit tests branch):

build
crypto
encoding
modules
modules/gateway
persist
rivinec
rivined
sync
types

still broken:
-api

modules/blockcreator
modules/consensus
modules/explorer
modules/transactionpool
modules/wallet

Partly fixed by 9d4bb5a1ce661c144bbd60ea26555e35a8b2f689 (squashed merge result of PR #75).


Fixing wrong placeholders in string

fixes #1139
All placeholders in the $"" string that had a format of ${myVar} were replaced by {myVar}.

Also fixes #1139


Range Requests support

https://aspnet.codeplex.com/SourceControl/latest#Samples/WebApi/HttpRangeRequestSample/ReadMe.txt
| 92 | 10188 | Reported By: Kiran Challa |

@Eilon I think we can close this as a duplicate of #4786. I believe the main scenario for range requests is partial file downloads.

We can revisit adding more general support for range requests based on customer feedback.


Multiple partial charges calculations

It is possible to use Antechamber with different calculation methods to extract partial charges from a structure. We should investigate if there are other methods that can be used to generate partial charges faster than the current method (am1bcc).

gasteiger is a faster charge method, however it is much lower quality than am1bcc

Thank you! I will give it a try. Having something faster than am1bcc can be useful for tests, as you suggest.


cnt update

More explanation for the cnt update command with the detail of the involved directories and files

readme.md now have update description


Fix installer paths in msi-deployment.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9491.
@andrew-welch

Learn Build status updates of commit 34b35a4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/msi-deployment.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 75b6231:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/msi-deployment.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

It's been a while but from memory 'Program Files (x86)' doesn't exist on 32-bit Windows.


Improvement/how to: Use form placeholders in notification recipient and sender email address

Maybe it's a good idea to add the possibility to add support for the usages of Form values as Recipient adres and sender e-mail for the notification e-mail. Right now only the Email subject of the notification mail can be set.
For a client I need to change the recipient address dynamically. Could you tell me how to do this?

Found a way to:

Only send the notification email to other address
Only do this when a specific form field is found
Only do this when the override field is not empty

    public class UmbracoEvents : ApplicationEventHandler
    {
        protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
        {
            // Form editor change notification email
            FormModel.BeforeSendMail += FormModelOnBeforeSendMail;
        }

        private void FormModelOnBeforeSendMail(FormModel sender, FormEditorMailCancelEventArgs args)
        {
            // set the from address on the email
            string rayonEmail = UmbracoLite.Controllers.API.RegionController.StaticGet() != null ? UmbracoLite.Controllers.API.RegionController.StaticGet().TeamMemberEmail : null;
            // Only the notification e-mail
            if(args.EmailType == "notification")
            {
                // Only change the notification receivers when field rayon is found in form
                if (!string.IsNullOrEmpty(rayonEmail) && sender.AllValueFields().Where(n => n.Name.ToLower().Trim() == "rayon" && n.Type.ToLower() == "custom.objectinfo").Count() == 1)
                {
                    var oldAddresses = args.MailMessage.To.ToList();
                    if (oldAddresses.Count() > 0)
                    {
                        // Remove other enteries
                        foreach (var address in oldAddresses)
                        {
                            args.MailMessage.To.Remove(address); // delete old value from to list
                            args.MailMessage.CC.Add(address); // set old value as cc list
                        }
                        // Set rayon / regio as name
                        args.MailMessage.To.Add(new MailAddress(rayonEmail));
                    }
                }
            }
        }
    }

@RunnicFusion awesome 😄
Looks like you found the EmailType property on the FormEditorMailCancelEventArgs 👍
Can this issue be closed?


Google auth dao

This will align google authentication and dao with github one, and supports role assignment from the configuration.
This also prevents the quetz create command to fail if the directory specified exists but it's not already a deployment.
Also, I updated the httpx version in environment.yml to fix #203

Awesome! We'll give this a review and merge.


Remove semi-convoluted wizard & model structure from before-you-claim

This results in no functional changes, just code reorganization/deletion.
Tests and functional tests should pass.

Any interest in building out the tests in https://github.com/cfpb/consumerfinance.gov/blob/main/test/cypress/integration/consumer-tools/before-you-claim/before-you-claim.cy.js to check the slider, the Step 2 tips + popups, and Step 3 selection?

I think that would be good if we were planning to totally rewrite this tool and is probably even necessary to pull jquery out, but out of scope for this PR, imo.

Agreed it's out of scope for this PR, but in general it would be a nice to have to catch regressions in the tool, since I don't believe how it should work is monitored carefully.

hah! I tried to get too cute in the commit before this and removed some substr calls which SEEMED pointless..... 😅 Fixed and added a test for that behavior which now passes.


Added first VS blog post on natural resources, with associated images.

Great, thanks! Can you just change  in the first sentence "both here and on their website" -> "both here and on the Vital Signs website". 'Their' is not so clear 'whose' at first read.

Thanks! Did you intend to close it? I can reopen and merge?

@woylunk Should we reopen this and merge it? The change that you added was automatically applied to the older PR so no need to open a new one. Let me know.


build breaking with moment.js error.

I have a fresh clone of angular2-seed project from @mgechev and i am installing ng2-bootstrap and the typings for moment.js as below:
npm install --save ng2-bootstrap
typings install moment --save

I also added the following mapping in System Js Configuration:
map: {
      moment: 'node_modules/moment/moment.js'
    }

But during application start i get the below errors:

Error: XHR error (404 Not Found) loading http://localhost:5555/node_modules/moment.js(…)

Can you please help me resolve this issue.

hm, I will have to reproduce it
was working fine before
please check your fix against
system.js version here
https://github.com/valor-software/angular2-quickstart

@valorkin you can close this issue, there is a PR created and it was tested and working for me. I didn't close this issue, since the PR was open.


NSOperationQueue.operationCount always return 0

NSOperationQueue maintain different queues based on priority and a queue 'all' to maintain operations of all priorities.
NSOperationQueue.operationCount is nothing but the no.of operations in 'all' queue. However, addOperation() doesn't add Operations to 'all' queue and thereby NSOperationQueue.operationCount is always 0.
Currently, there is no testsuite for NSOperationQueue. I've added test case for this scenario (partially, as it would require Dispatch support to add more scenarios to it).

small correction in dequeue() method. Will push changes shortly.

done


upgrade akka

Fixes #5097

This patch does not fix the issue #5097, because akka v2.3.15 actually does not include the fix(https://github.com/akka/akka/pull/20435), you will have that fix if you are using v2.4.5 akka(Find the details here:https://akka.io/blog/news/2016/05/17/akka-2.4.5-released)
Thus, Using Marathon v1.1.7 will still have the time issue.


"Valea Bistrii" is listed in the drop-down menu

Description:
"Valea Bistrii" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

The steps and the expected result are missing from the test cases.

Step 1
Type "Valea Bistrii" in the search bar.

Expected results
The location is listed in the drop-down menu as "Valea Bistrii, Alba (Câmpeni)".


MXNET version unsupprted

I think the mxnet version in requirements.txt should be changed to 11.0.
The 10.0 does not support Deformable Operator.

Thank you for pointing it out. I made a mistake indeed.


solve #2658 SeataRestTemplateAutoConfiguration Circular dependency in

Describe what this PR does / why we need it
Fixed #2658
Does this pull request fix one issue?
#2658
solve seataresttemplateautoconfiguration  circular dependencies
Describe how you did it
Separate seataresttemplateautoconfiguration from seataresttemplateinterceptorconfiguration,
seataresttemplateinterceptorconfiguration change SeataRestTemplateInterceptorAfterPropertiesSet

hi @poo0054 , Can you similarly commit a pr to solve this problem in the 2021.x branch?

@yuhuangbin Yes, with pleasure


ppci-ld: library parameter does not work

The linker ppci-ld has a --library parameter to specify library files to fulfill potential unresolved references.
Although the parameter is checked, it is not processed to the linker.

This is added now.


Paginate listerWatcher's in slo-monitor, upgrade to modern k8s version, use go modules

Fixes #479 by paginating the listerWatchers, which prevents the slo-monitor listing arbitrarily large #s of events from etcd. The bulk of the changes here are to get the slo-monitor to depend on a recent version of kubernetes. Rather than attempting to upgrade the Godeps dependencies, I've switched over to go modules.
cc @wojtek-t

@gmarek, @ihmccreery Do you know who would be an appropriate reviewer/approver for this? Any pointers on how to test?

@jpbetz - seems like gofmt is failing.
This is great change - I think the right way to test that is to build an experimental image and run it against some tests (ideally scalability, but I think as a first step any random test suite is fine).

Thanks @wojtek-t I'll sort out the fmt issues and the get the test image created and start testing that.

Testing done:

Sanity check

published this change as gcr.io/jpbetz-public-images/slo-monitor:0.11.1
Spin up a cluster, start the slo-monitor pod
Create a pod
curl -s localhost:9090/metrics
Verify slomonitor_pod_e2e_startup_latency_seconds_bucket and slomonitor_pod_full_startup_latency_seconds_bucket metrics both record the pod startup latency via curl -s localhost:<port>/metrics
Verify docker logs <container> contains no errors (it just has watch of *v1.Event ended with: The resourceVersion for the provided watch is too old. and Saw negative startup time for <podname>

kubetest e2e test suite

/lgtm
/approve
Thanks Joe!


Add a search API to Minerva

Add a search API to Minerva - drive front page and Annotation Review Tool  which might be the same thing.
Endpoint
api/search

Default sorting is date DESC (recent models)
Default n models per page
All the parameters are optional and by default it should bring recent n models with 'Date DESC'

Parameters

Parameter
Format
Comments

gps (optional)
list<gp>
A list of one or more gps in a model (AND operator)

goterms  (optional)
list<goterm>
A list of one or more GO terms in a model (AND operator)

pmids (optional)
list<pmid>
A list of one or more pmids in a model (AND operator)

taxa (optional)
list<taxon>
A list of one or more taxon

Model Meta

title (optional)
string
Partial String (contains) so it works like the current landing page

states (optional)
list<state>
A list of one or more model states 'development, production, closed, review, delete' (OR operator)

contributors (optional)
list<contributor>
A list of one or more contributors in a model (AND operator)

groups (optional)
list<group>
A list of one or more groups(provided by) in a model (AND operator)

date (optional)
date
model date

Pagination (optional, none or all)

page
int
Page number

offset
int
Page Offset

limit
int
Page Size

Return
total count matched models for progressive pagination when one needs second page
A list of

Parameter
Format
Comments

model id
iri
A model id

matched nodes
list<iri>
A list of one or more matched individual nodes

Model Meta

model title
string
A model title, first title annotation is fine if many

model state
string
A model's state

model date
string
A model modified date

model contributors
List<contributor>
A list of model's contributors

model groups
List<groups>
A list of model's groups (provided by)

Implementation:
a sparql query composer
response object model
Web Access- This is either accessed by a new Jersey service (e.g. /search like this sparql endpoint) or a new  handler for current route /M3Batch (using the main existing protocol)

Need conversation with @cmungall @kltm @balhoff to resolve question about how the service will be accessed.

@tmushayahama I'm looking at the contributors and groups query.  Do you really need that to be an AND operator ?  Its hard to imagine users really needing or wanting that level of specificity on that query.  I would imagine that an OR would actually be more in line with what they would want to see happen.
Let me know.  Also.  On date.  a) what specific format will this arrive in - e.g. string YY/MM/dd and b) is this supposed to be an equals, >, or < request ?

@tmushayahama @kltm this branch https://github.com/geneontology/minerva/tree/api_hack_1 now contains a service that implements the above requested API with some differences as follows:

The parameter names are in singular form, even for potential lists, e.g. the parameter for gene product ids is "gp", not "gps" and "goterm" not "goterms", etc.
When sending lists, repeat the parameter in the query e.g. http://<IP_ADDRESS>:6800/search/?gp=http://identifiers.org/wormbase/WBGene00002246&gp=http://identifiers.org/wormbase/WBGene00002247&gp=http://identifiers.org/wormbase/WBGene00002248
I have not implemented taxa yet.  This requires gaining access to information that is not currently stored in the Minerva blazegraph and will thus require further development.  I am curious how important this really is to users.
For contributors and groups, the search is currently doing an OR query rather than the requested AND.  This is my intuition about how users would prefer the interface to work.  If wrong, let me know and I will fix.
The date parameter will produce all models more recent than the specified date
I did not add a 'Page' parameter.  Paging can be achieved by iterated requests using the offset and limit parameters.  This lets the client control how large the page blocks are.  e.g. to iterate through results 2 at a time, query like this, in order:
http://<IP_ADDRESS>:6800/search/?date=2019-03-06&offset=0&limit=2
http://<IP_ADDRESS>:6800/search/?date=2019-03-06&offset=2&limit=2
etc.
you will get the same thing you would get from the following request, but in two steps instead of one.
http://<IP_ADDRESS>:6800/search/?date=2019-03-06&offset=0&limit=4
As it stands at this moment, it is expecting Get requests.  If its useful I will add the equivalent Post.
Parameters may be combined arbitrarily and will result in an AND query that combines them.
Exact parameter list: gp, goterm, pmid, title, state, contributor, group, date, offset, limit
endpoint /search  which I have been accessing at :6800 - not sure what the root is if passing through barista on the way.  ping @kltm on that.
the 'query_match' map element in the response indicates what nodes in the model matched the query terms.  When the query parameters are at the model level (e.g. title, group) this will be empty

I think that is it.  Right now there is absolutely no error handling or other such niceties.  But, it would be an appropriate time for client developers to take it for a spin and see if it meets their needs.
A response block looks like this:
{   "n": 2,   "models": [     {       "id": "gomodel:5ce58dde00001253",       "date": "2019-06-26",       "title": "test same BP",       "state": "development",       "contributors": [         "http://orcid.org/0000-0002-1706-4196",         "http://orcid.org/0000-0003-1813-6857"       ],       "groups": [         "http://www.wormbase.org",         "http://geneontology.org"       ],       "query_match": {         "http://identifiers.org/wormbase/WBGene00002246": [           "http://model.geneontology.org/5ce58dde00001253/5ce58dde00001259"         ]       }     },     {       "id": "gomodel:5941cdbd00000002",       "date": "2019-03-05",       "title": "LAG-2 - GLP-1 Signaling in C. elegans germline proliferation - Notch signaling part 1",       "state": "development",       "contributors": [         "http://orcid.org/0000-0002-1706-4196",         "http://orcid.org/0000-0001-7476-6306"       ],       "groups": [         "http://informatics.jax.org",         "http://www.wormbase.org"       ],       "query_match": {         "http://identifiers.org/wormbase/WBGene00002246": [           "http://model.geneontology.org/5941cdbd00000002/5941cdbd00000003"         ]       }     }   ] }

Now being blocked by my https://github.com/geneontology/noctua/issues/619

(and note it currently wants URIs for gene products and goterms) if clients need it, we can add support for curies.

@goodb I've tried switching noctua-dev over to your api_hack_1 branch, but am running into trouble. For all queries, e.g.:
http "http://wok.lbl.gov:6800/search"
http "http://wok.lbl.gov:6800/search?date=2019-03-06&offset=0&limit=2"
I get a return of
HTTP/1.1 500 Request failed.
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 290
Content-Type: text/html; charset=ISO-8859-1
Date: Wed, 03 Jul 2019 23:23:17 GMT
Server: Jetty(9.2.z-SNAPSHOT)

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>

HTTP ERROR: 500

Problem accessing /search. Reason:

    Request failed.

Powered by Jetty://

likely caused by a timeout in minerva
...
2019-07-03 16:25:18,608 WARN  (HttpChannel:483) Could not send response error 500: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: org.openrdf.query.QueryInterruptedException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.bigdata.bop.engine.QueryTimeoutException: Query deadline is expired.
2019-07-03 16:25:18,681 INFO  (LoggingApplicationEventListener:44) Request 20 started.

I guess a side request would be that exceptions like this are caught so that clients can get a little more information without have to fully parse (like other errors that minerva sends). More importantly would be that I'm guessing that this is timing out as there are too many models to handle in its (10s?) timeout window?

Discussion with @goodb , while slowness is being looked at, I can continue with faster queries such as:
/search/?gp=http://identifiers.org/wormbase/WBGene00002246&offset=0&limit=2

@kltm I think I fixed slowness.  Some sparql tuning and all queries are now working very fast on my laptop against the whole collection in noctua-dev, including text queries.  I also added some exception handling and reporting; and returning the constructed sparql for debugging purposes.

Have added this issue https://github.com/geneontology/minerva/issues/235

I believe this issue can be closed.  Unless @tmushayahama is missing anything?

@goodb  I think species and title is still missing. Also I will let @vanaukenk close it after testing ART.

@tmushayahama title and model id are in the response - see e.g. http://wok.lbl.gov:6800/search?date=2019-03-06&offset=0&limit=2
Species is not likely to happen in the near term unless we get a high priority push from PIs.  This is because it is the only parameter that is not currently present to access in the Minerva blazegraph that stores the models.  We can figure it out, but a good solution probably requires some broader changes that touch things outside of what the API deals with (e.g. tagging models on save with species information).

@goodb is it because neo was not loaded in the minerva triplestore (https://github.com/geneontology/minerva/issues/226), hence you have no access to the taxon of a gene and hence can not perform a species search ?

Correct, no ontologies are loaded into the minerva blazegraph triplestore.

@tmushayahama FYI, when the latest PR is merged, I believe the search api results will be sorted based on date.

Going to close this.  Search API exists, lets move on to more specific tickets now.  Documentation consolidated at https://github.com/geneontology/minerva/wiki/Minerva-Model-Search-API

@goodb @lpalbou  where should I ask or report api specific questions from the wiki?
Param &expanded means any subtype for a term? So far everything is expanded by default and the param is not yet in use, is that correct? From the returned Sparql. In this case
I tested the extreme case and it is timing out.
Test
Search using Root Molecular Function
http://barista-dev.berkeleybop.org/search?offset=0&limit=50&term=GO:0003674 or
http://barista-dev.berkeleybop.org/search?offset=0&limit=50&term=GO:0003674&count
or http://barista-dev.berkeleybop.org/search?offset=0&limit=50&term=GO:0003674&expand
Results
Query Timeout Exception

Search to get the full response, it's large to post here
Thoughts
@lpalbou @goodb  I can use UI tricks to slow down user, like have a toggle button for exact term and subtypes controlled by &expand param. Or a limit to a depth of subtypes or prompt a user to select reasonable amount of terms from subtypes.

@tmushayahama this should be over on:  https://github.com/geneontology/minerva/issues/291  - will respond there.


Incorrect management of set-cookie in Headers class

I was trying to proceed with the implementation of Headers#getSetCookie() and noticed that the set-cookie header is not managed correctly.
At this time, llrt can only manage values as String types, and there is no way to split multiple set-cookie.
Running the reproduced code in bun shows the difference.
Execution result with set-cookie:
// reproduction.js
const headers = new Headers();

headers.append("Set-Cookie", "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly");
headers.append("Set-Cookie", "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly");
console.log(headers);

shinya@MBA2022M2 llrt-test % bun reproduction.js
Headers {
  "set-cookie": [ "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly",
    "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly"
  ],
}

Execution results except for set-cookie:
// reproduction.js
const headers = new Headers();

headers.append("Except-Set-Cookie", "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly");
headers.append("Except-Set-Cookie", "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly");
console.log(headers);

shinya@MBA2022M2 llrt-test % bun reproduction.js
Headers {
  "except-set-cookie": "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.sample.com; HttpOnly",
}

We believe that the solution is to manage values in the following way.
enum HeaderValue {
    Single(String),
    Multiple(Vec<String>),
}

pub struct Headers {
    headers: BTreeMap<String, HeaderValue>,
}

If this idea is correct, please assign it to me. :)

Multiple header values are just appended to the old value if present. Are you expecting a different behavior? F.Y.I headers should be refactored to use a Vec<(String,String)> instead of BTreeMap<String, String> to preserve insertion order and improve performance (a map is more effective when dealing with +100 items and that's not likely to happen). But I see no reason to use the enum of we simply need to append the value like the current implementation:
pub fn append(&mut self, key: String, value: String) {
    let key = key.to_lowercase();

    self.headers
        .entry(key)
        .and_modify(|header| *header = format!("{}, {}", header, &value))
        .or_insert_with(|| value);
}

Thank you for your prompt confirmation.
For normal headers (other than set-cookie), we believe the current implementation() is appropriate.
In other words, the implementation is to connect them with comma delimiters.
However, set-cookie accepts all characters that can be used as delimiters, including commas.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

A  can optionally be wrapped in double quotes and include any US-ASCII character excluding control characters (ASCII characters 0 up to 31 and ASCII character 127), Whitespace, double quotes, commas, semicolons, and backslashes.

It could also be a way to find a 'magical character' that does not conflict with this rule.
Additionally, there is a way to manage it with Vec<(String,String)> but I don't think it's a good idea since it would not be iterative and would require searching in everything.

In addition, we have tested other implementations.
// reproduction.js
const headers = new Headers();

headers.append("Set-Cookie", "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly");
headers.append("Set-Cookie", "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly");
headers.append("accept-encoding", "zstd");
headers.append("accept-encoding", "br");

console.log(headers.getSetCookie());
console.log("---");
console.log(headers.get("Set-Cookie"));
console.log("---");
console.log(headers);

node:
shinya@MBA2022M2 llrt-test % node reproduction.js
[
  'AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly',
  'BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly'
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  'Set-Cookie': 'AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly',
  'accept-encoding': 'zstd, br'
}

bun:
shinya@MBA2022M2 llrt-test % bun reproduction.js
[ "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
  "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  "accept-encoding": "zstd, br",
  "set-cookie": [ "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
    "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
  ],
}

deno:
shinya@MBA2022M2 llrt-test % deno run reproduction.js
[
  "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
  "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  "accept-encoding": "zstd, br",
  "set-cookie": "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
}

Only in deno's console.log(header); is the last value in the array displayed (due to a bug or spec), but it seems unlikely that this output can be achieved without managing the set-cookie in an array (or implementing an internally divisible implementation with some characters).

We were testing a few more other implementations.
// reproduction.js
const headers = new Headers();

headers.append("Set-Cookie", "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly");
headers.append("Set-Cookie", "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly");
headers.append("accept-encoding", "zstd");
headers.append("accept-encoding", "br");

console.log(headers.getSetCookie());
console.log("---");
console.log(headers.get("Set-Cookie"));
console.log("---");
console.log(headers);

node: getSetCookie() -> Array format, get() -> String format, String format in Headers
shinya@MBA2022M2 llrt-test % node reproduction.js
[
  'AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly',
  'BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly'
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  'Set-Cookie': 'AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly',
  'accept-encoding': 'zstd, br'
}

bun: getSetCookie()->Array format, get() -> String format, Array format in Headers
shinya@MBA2022M2 llrt-test % bun reproduction.js
[ "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
  "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  "accept-encoding": "zstd, br",
  "set-cookie": [ "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
    "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
  ],
}

deno: getSetCookie()->Array format, get() -> String format, String format(And the last value) in Headers
shinya@MBA2022M2 llrt-test % deno run reproduction.js
[
  "AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly",
  "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
]
---
AAA=123; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly, BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly
---
Headers {
  "accept-encoding": "zstd, br",
  "set-cookie": "BBB=456; expires=Sun, 10-Nov-2024 12:29:35 GMT; path=/; domain=.google.com; HttpOnly"
}

It seems to be affecting more places than I thought, but I'll do my best to work on it. :)


Add support for executing multiple commands

It would be useful if exec.CommandLine supported execution of multiple commands as a single unit (cf. https://github.com/mdklatt/idea-ansible-plugin/issues/1#issuecomment-1328130922). The only way to achieve this now is by joining individual command lines like <command1> && <command2>, i.e. for *nix.
Multiple commands should share the same environment and working directory. Upon the first failure processing stops, and the failing command's return status determines the CommandLine return status. There might be use cases where or'ing commands is appropriate, although what should the return status be if one or more commands fail? For now, focus on the and use case.

Commit 660f76a3dc2380665f71bac52a086ef3365becd6 adds the chainCommands, andCommands, and orCommands companion methods to both PosixCommandLine and WindowsCommandLine. The methods join commands using the stated shell operator. Shell operators are escaped by the GeneralCommandLine base class, so the joined command string has to be given as an argument to a subshell command, e.g. sh -c 'cmd1 & cmd2'. This delegates multiple execution to the shell, but is at least a short-term solution for this feature.
In the long term, a "native" approach could be better as it would offer more control over execution, although it would require managing multiple exit statuses and merging STDOUT and STDERR.


add changeset workflow, and update UnoCSS

This PR does the following:

Add new changeset workflow for automation
Removes the "The package hasn't been published yet." from main readme.
Update UnoCSS and UnoCSS DaisyUI preset to latest versions.

!coauthor


Design and use random oracle interface

Currently the API for PC schemes follows the definition in the Marlin paper. This means that instead of generating an opening challenge for batch verification via a random oracle, methods on PolynomialCommitment explicitly take as input an opening challenge.
This reduces flexibility in challenge generation, and also increases the chance of mistakes in challenge generation due to incorrect domain separation or incorrect state chaining
Hence, we should define a common random oracle interface, and should use this interface consistently in PolynomialCommitment, as well as downstream in marlin. Goals include making the construction modular with respect to choice of concrete random oracle (eg: blake2s, Poseidon, etc), and enabling optimizations like sampling short linear combination coefficients, instead of sampling them as powers of opening_challenge.
Prior art include libraries like merlin, and the ad-hoc impl in marlin

Done in #82


Bug report:  Unable to export VRM model if the mesh has both modifiers and shapekeys

Describe the bug
In Blender 4.3,  Unable to export a VRM 0.x model, if the model has both modifiers and shapekeys.
However, in Blender 4.1, it was still possible to export a VRM 0.x model with both modifiers and shapekeys by simply ignoring the warning message.
To Reproduce
Steps to reproduce the behavior:

add cube to vrm0.x Armature
add Subdivision modifier to cube
add any shapekeys to cube
export .vrm
See error

Screenshots

Desktop (please complete the following information)

OS: Windows
Blender 4.3.1
Addon Version 2.33.0

Additional context

Thanks for your report!
The bug has been fixed in the latest version 2.33.1 just released. Please try it!

Thank you very much!


P2P Android Replication getting 406 Error; CBL 1.3.0

While doing some small stress tests using the basic TodoLite Ionic app, I came across an error that has not ever occurred before (before 1.3.0 release). When trying to replicate between two android devices (Samsung Galaxy Tab A), the replication does not return an error, but when getting _active_tasks:
[
  {
    "source": "test2",
    "task": "repl001",
    "status": "Idle",
    "progress": 0,
    "continuous": true,
    "target": "http://<IP_ADDRESS>:4321/test2",
    "error": [
      406,
      "com.couchbase.lite.replicator.RemoteRequestResponseException: Not acceptable"
    ],
    "type": "Replication"
  }
]

is returned, and no documents are replicated.
Pushing and/or pulling form either device gets the same error. Both devices can sync with sync gateway properly using the same replication method. Listener authentication has been set to null, and all url's are correct and tested with simple post and get requests.
I tried using 1.3.1-28 and the same error occured, and another error appeared when trying to revert to 1.2.1, which I am currently trying to debug. Any help is appreciated.

Upon further tests, this seems to be only a 1.3.x problem. Using the same environment, 1.2.1 properly replicates between devices.

Hi @hls97,
Thank you for reporting issue. What kind of authentication are you using?
Thanks!

No authentication (set to null when creating listener).

ATTN: @sethrosetter,
Have you ever seen this error with your Peer to Peer  (Android to Android) test?
Thanks,
Hideki

Hi @hls97,
Http Error (406) is Not Acceptable.  I believe error message should be printed in logcat. Can you capture error message from logcat?
Thanks,
Hideki

We haven't added automated test to replication between the same platform. We have support for replication between different platform types. We are very close to doing that. Here is a tracking ticket for test support - https://github.com/couchbaselabs/mobile-testkit/issues/667

log.txt
That should be the log you're looking for @hideki

Hi @hls97,
Thank you for sharing log file.
It seems http://<IP_ADDRESS>:5984 is not accessible from the device you were testing. Can you verify the connectivity between two device?
log.txt captured ConnectException, but it is not 406 http error. I am wondering where 406 error came from.
Thanks,
Hideki

Hi @hls97,
Thank you for sharing log file.
It seems http://<IP_ADDRESS>:5984 is not accessible from the device you were testing. Can you verify the connectivity between two device?
log.txt captured ConnectException, but it is not 406 http error. I am wondering where 406 error came from.
Thanks,
Hideki

Hi @hideki ,
I'm not too sure how to ensure connectivity. Both are capable of connecting to the same sync gateway, and on 1.2.1 they replicate/connect properly. The 406 error only shows up when I run a GET on '_active_tasks'. Any suggestions on other tests?

can you verify if opponent URL (Ex http://<IP_ADDRESS>:5984) is accessible from the browser in the device? Or you can use adb shell and ping <IP_ADDRESS>.
If you can write simple app that reproduce this issue, it helps us a lot.

Both devices can view each other's documents/databases in the browser. The app that I am using that creates the issue is the TodoLite Ionic app from couchbaselabs. The only changes I made were to make the listener use null authentication (in the CBLite.java file), and instead of replicating to the default url (in www/js/app.js), I replicate to
todoDatabase.replicate("todo", "http://<IP_ADDRESS>:5984/todo", true); and to <IP_ADDRESS> for the other device.
No other changes were made. If you need the app with the changes I made let me know.

@nraboy, Can you help @hls97 to run ToDoLite Ionic?

Pulling @hodgreeley in

I believe this issue is fixed by PR. To verify the fix please use  1.3.1-52 which was built from master branch.


[5.4] Set connection while retrieving models

In https://github.com/laravel/framework/pull/17395 we moved the model's create() and forceCreate() methods to the Builder to allow something like User::on('myCustomConnection')->create();, before that creating a model on a different collection was a bit hacky.
After that it was pretty obvious that hydrate() and fromQuery() can be moved to the builder instance as well, since we won't have to pass that $connection argument and we just get it from the Builder instance, that's when https://github.com/laravel/framework/commit/1ae29d9d83a0345e44437237d1c492532b5bcde0 was committed.
However in that commit we removed the argument but forgot to pass the connection name from the Builder instance, leaving the connection as null when we retrieve a model.
In this PR we simply set the connection using $this->query->getConnection()->getName(), just like we do in create() and forceCreate().
This will solve the failing test in https://github.com/laravel/framework/pull/18760 without having to re-introduce the $connection argument to the hydrate() method.

Perfect, thanks @themsaid!

Looks like there's a good opportunity to extract this to a method:
$instance = $this->model->newInstance($attributes)->setConnection(
    $this->query->getConnection()->getName()
);

Appears 7 times! 😄

@themsaid if you see a good way to extract that method go for it :smile:

@adamwathan yeah looks like a great candidate for having an own method, will PR that in a while :)


DNS Update RR-1.1 to use right ACL before attempting to read Groups Cluster

Problem: https://github.com/project-chip/connectedhomeip/issues/25532

#25789 is the real fix (along with one PR that is already merged)


766 support raw api specification linting

Closes #766

Codecov Report

Merging #769 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #769      +/-   ##
============================================
- Coverage     85.74%   85.73%   -0.02%
- Complexity     1020     1021       +1
============================================
  Files           170      170
  Lines          2715     2713       -2
  Branches        390      391       +1
============================================
- Hits           2328     2326       -2
  Misses          193      193
  Partials        194      194

Impacted Files
Coverage Δ
Complexity Δ

.../java/de/zalando/zally/dto/ApiDefinitionRequest.kt
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...e/zalando/zally/apireview/ApiDefinitionReader.java
100% <100%> (ø)
10 <4> (+1)
:arrow_up:

cli/zally/commands/lint.go
80% <100%> (-1.34%)
0 <0> (ø)

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 c40bd66...8c6173e. Read the comment docs.

@tkrop I've renamed the new field and rebased the branch. Please have another look.

👍

:+1:


[rewrite] If a tag property of a vnode is a component, is it always the same instance of that component?

Just a question asking for clarification.  The documentation notes:

If tag is a Javascript object with a view method, the vnode represents the DOM generated by rendering the component.

Does this mean that the tag object is the same object as the originally defined component object, or is it a copy?
The reason that I'm asking is that I'd like to write a wrapper component that can utilize the methods defined on the child components, if the methods are available.

The tag is literally the object. Give it a try:
http://jsbin.com/gilucamizo/edit?js,console
It is also the case when the component is passed to m(...).
vnode.state is a shallow copy of vnode.tag (performed before oninit is called) that is preserved from render to render.

@pygy Awesome, thanks a ton.  I boogered around with it a little bit but couldn't manage to convince myself and I'm a bit of a dunce and couldn't follow the source all that well.


Issue getting the connection detail from PowerBI API

When we use the command Get-PowerBIDatasource -datasetid XXXXXXX  -Scope Organization
The connection details doesnt fetch the shared Api connection details
Name              :
ConnectionString  :
DatasourceType    : Sql
ConnectionDetails : Microsoft.PowerBI.Common.Api.Shared.DatasourceConnectionDetails
GatewayId         : XXXXX-XXX-XXXX-XXXX-XXXXXXXX
DatasourceId      : XXXXX-XXX-XXXXX-XXXX-XXXXXXXX

This repo is for public document only, please share your functionality issue on https://github.com/microsoft/powerbi-powershell.
Please test on https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasources-as-admin see what's your response and share update on repo mentioned in 1)


Creating a custom control

How would I go about creating a reusable custom control? For instance, if I wanted to take the "IP Address" sample and wrap those 4 textboxes, character filtering, and error checking into a single control that could be added to a window in a single step, how would I do that?

Hi Mike!
Thanks for the feedback and for using NAppGUI.
The IP-Input control works the way you describe. The editboxes, buttons, and logic are encapsulated in a Panel object, which is itself an individual control (or widget) that can be linked to any window.
Panel *ip_input(void);

If you want to get rid of the buttons, and keep only the 4 editboxes and the '.''s, you should remove the buttons and the layout(1,3) in ipinput.c.
You have a more advanced example in layoubind.h/.c where data structures are also linked within the panel itself
Panel *layoutbind(void);

Custom rehusable Panel

On the other hand, if what you are looking for is a "custom control" that allows you to draw whatever you want and have control of the mouse and/or keyboard, take a look at listbox.h/.c. This control uses a generic View and internally manages all the logic and drawing of the control. A more advanced example of a Custom Control would be tableview.h/.c.
Custom Control

I hope I've helped
Greetings.


Support a global spf13-vim installation and user-specific overrides

On my workstation and some remote servers, I use Vim as a user other than myself (notably as root via sudo, but sometimes other users), and I want to have the same spf13-vim configuration across users on the same system. This pull request is a first take at distinguishing global and user-specific configurations on a given system.
If the spf13-vim base configuration files (.vimrc, .vimrc.bundles, etc.) are not stored in the current user's home directory, then a global configuration is assumed. If the configuration is global, then user-specific overrides are stored in $HOME/{spf13_vim_config}.user e.g., $HOME/.vimrc.local.user, $HOME/.vimrc.before.local.user, etc.
I can write documentation after this request is approved.

 You should sign our Contributor License Agreement in order to get your pull request merged.


TypeError: overlay.velocity is not a function

When including Materialize with webpack like this
import './bower_components/materialize/dist/js/materialize'
and using in html the lightbox component like this
<img src="image.png" class="responsive-img materialboxed" />
I got this JS error in console:
materialize.js:1163 Uncaught TypeError: overlay.velocity is not a function
I already tried solutions proposed in other issues, like
window.jQuery = window.$ = require("./bower_components/jquery/dist/jquery.min");
but without luck.
Any idea on how to solve that error?
Thanks in advance for any help

Did you try the master branch?
Which version of Materialize do you use?
How does your webpack config look like?
Velocity should be part of Materialbox.
Do you import any other js files after import './bower_components/materialize/dist/js/materialize'?

related issues
https://github.com/Dogfalo/materialize/issues/2949
https://github.com/Dogfalo/materialize/issues/3812

I resolved importing Materialbox like that:
import './bower_components/materialize/js/materialbox'
and it works like a charm.
I thought that importing materialize would import all components.
Thanks for help


sus toolbox on kutjevo

Description
there is a suspicious syndicate toolbox on kutjevo. It can hold tools and fit in a backpack, which is nested storage.
Additional context
I don't know where it is, and it seemingly has a whitelist so it can only fit tools, but it exists and it's still nested storage, it lets you fit a full tool set in a single large-size item.

this is intended, it's an item from 13

this is intended, it's an item from 13

nested storage is intentional too?

this is intended, it's an item from 13

nested storage is intentional too?

It says so in its item description

Intended, parity, it has nested inventory on cm13 as well
one of the wonders of OP gear on kutjevo


Hardware Prototyping

This issue addresses the creation of an initial hardware prototype. The following steps have been identified as part of this implementation:

Hardware Setup on a Protoboard: The hardware components must be assembled on a protoboard for the use on the proeject.
Software Integration: A foundational software layer has to be developed to interface with the hardware, enabling data capture from the setup.

Tasks:

Validate the hardware setup and ensure stability on the protoboard.
Test the data capture functionality to verify the accuracy and consistency of the information collected.
Document any issues or limitations observed during the testing phase.

28/10/2024 We established an initial connection prototype between the ESP32 and the fingerprint sensor to familiarize ourselves with the hardware. We verified the correct functionality of the sensor by capturing a few test fingerprints.
Spent 🍅 6+

Is this task done?

05/12/2024 A prototype was built by connecting the main components. Some components were excluded due to budget and time issues. Only those essential for operation were included. Basic operational tests were performed, connecting the ESP32 and loading simple codes to verify that we could communicate with each component using known libraries.
We consider the task complete
Spent 🍅 5+


feat: add and use error boundary component

:tada: This PR is included in version 0.85.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Analysis with a smaller arena size

I'm currently working with the tracking system of Buridan's Paradigm. In my experiment I'm using a roof to also test the behaviour in flies with wings. The roof has a diameter of 16mm, which is a lot smaller than the original platform in the Buridan (115mm). When I first analysed the data, the chart of speed was wrong, because I didn't set the smaller diameter of my arena in the tracking settings, so the tracking systems calculated the results refering to a diameter of 115mm. I analysed it again with the right settings and now i got a smaller transition plot which is too small to see anything. What else do I have to change to get both, the right chart of speed and the normal sized transition plot?
Another issue i have with the analysis of centrophobism moving. I tested two groups of flies and the individual tests clearly show which group is more centrophobic. But the graph tells the opposite. Than i analysed the data only of moving flies, because in the more centrophobic group there where many flies which didn't move at all. As a result we got the graph that we expected. So could this also be caused by changing the size of the arena?

you could modify the gaussian value of the transition plot probably (weights = c(21,16,4,1)), or changing the axis in the plotting change 60 in
x = c(xy_table[xy_table$group==group_names[i],]$x,-60,60)
y = c(xy_table[xy_table$group==group_names[i],]$y,-60,60)
hbin = hexbin(x,y,xbins=60)

this should help


Update CODE_OF_CONDUCT to OSSF CoC

Updates CODE_OF_CONDUCT to be OpenSSF's CoC as published here: https://openssf.org/community/code-of-conduct/
Partially resolves Issue #3

LGTM
I also suggest breaking out the enforcement ladder into a separate document, and adding reporting guidelines also in a separate document. FWIW, both suggestions are under discussion in the upstream project ( https://github.com/EthicalSource/contributor_covenant/issues/910  and https://github.com/EthicalSource/contributor_covenant/issues/958 )


Split wasm part into a -sys version of this crate

I was just considering implementing something like this when I remembered to search crates.io first. Thanks for implementing this!
Would you be ok with me splitting out the wasm part into a crate that just exposes free functions hiding the raw wasm opts and making quad-storage use that new crate on wasm?

Hm, why do you need this? If you need this for quad ecosystem, it's better to add features to this crate. If you need it for your projects, it maybe better to use web-sys from wasm-bindgen which is already have local_storage function.

My use case is that I would like to use an entirely different file storage system on non-wasm (and not use lazy_static either), but I also don't want to duplicate what you did here for wasm.
I am using it for the quad ecosystem indeed.
My plans for non-wasm are:

use the directories crate to find the appropriate project directory for save files
instead of using a single save file and serialize a map, create one file per key, and use a directory structure to store keys. On wasm that directory structure would not exist, instead the paths would get serialized as strings, so you get keys like "player/x" and "player/y"

My generic plans for all areas are to make all the save/load operations generic over Display and FromStr for more convenience.

Go ahead, I will accept PR with -sys crate.

Done, quad-storage-sys 0.1.0 and quad-storage 0.1.3 are published!


Update FHIR Engine

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Release | Other)
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

Pull Request Test Coverage Report for Build #195

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

Totals

Change from base Build #194:
0.0%

Covered Lines:
1222

Relevant Lines:
1411

💛  - Coveralls


Fixed broken link to wiki for examples

Examples page did not exist specifically in the wiki, so just routed to the homepage of the wiki.

@ericnewton76 So what is the situation now?

I need to get the @gsscoder wiki migrated into commandlineparser/commandline and add this.

6 years later. 😊 Can't this be closed? Because I do think that the wiki has been migrated:
https://github.com/commandlineparser/commandline/wiki


google_sign_in plugin support prompt  parameter

Unable to force the account to be selected again, this is because the plugin no support setCustomParameters.
When the user does signout and then signin it does not allow you to select the account.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@martinvarelaaaa
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/736. Any further collaboration will be done there.