help multiple row list serve as input

@hsun3163 please review the code above and comment.

The new mechanism of using the indexes to subset samples in the susie() step will cause a misalignment of x and y. please fix it as I described in slack and resend the PR.


accepts_literals_for_json_escape_sequences: NO (error: invalid character '\n' in quoted string)

this tester sends events with all of the control characters that are specified in the section just before the https://github.com/nostr-protocol/nips/blob/master/01.md#tags section of nip-01:

To prevent implementation differences from creating a different event ID for the same event, the following rules MUST be followed while serializing:

UTF-8 should be used for encoding.
Whitespace, line breaks or other unnecessary formatting should not be included in the output JSON.
The following characters in the content field must be escaped as shown, and all other characters must be included verbatim:

A line break (0x0A), use \n
A double quote (0x22), use \"
A backslash (0x5C), use \\
A carriage return (0x0D), use \r
A tab character (0x09), use \t
A backspace, (0x08), use \b
A form feed, (0x0C), use \f

an event with these in it is not strictly correct JSON at all and definitely not valid by nip-01
this one:
Sending: Text(["EVENT",{"id":"73460cba9258a25e53d5556541ce977a2b02312608899e960d6d83760cc63ef1","pubkey":"40b52e50ca141ebf4c09785aedd8664ae1f78a4081d9405a316373dbc54998dd","created_at":1723840461,"kind":1,"tags":[],"content":"linebreak
tabblequbackspacformfeedrraigereturn
                        end","sig":"f90f051a84db4b38b100080fa34a92409662ce268705fdf72caafd30bda025059a0ba10d2f95df26d8675797003bd129f2c4a047d2160b292e57779c8064ec03"}])

gives this in the result:
accepts_literals_for_json_escape_sequences: NO (error: invalid character '\n' in quoted string)

i assumed that this test was to confirm that such an event should be rejected but unless i'm mistaken, that's not allowed by nip-01 (and i'm sure you know that no web app or any other with a compliant JSON codec will make such an encoding)
i'm happy to be wrong about this but i've tentatively put error handling into my codec to flag this as an error because it should be, at least as far as i can tell

just to clarify, this is the binary form of the data that is received, and it fails at the first incorrect character:
1723845418.123195445 INF ([]uint8) (len=214 cap=301) {
 00000000  22 6c 69 6e 65 62 72 65  61 6b 0a 64 6f 75 62 6c  |"linebreak.doubl|
 00000010  65 71 75 6f 74 65 22 62  61 63 6b 73 6c 61 73 68  |equote"backslash|
 00000020  5c 63 61 72 72 61 69 67  65 72 65 74 75 72 6e 0d  |\carraigereturn.|
 00000030  74 61 62 09 62 61 63 6b  73 70 61 63 65 08 66 6f  |tab.backspace.fo|
 00000040  72 6d 66 65 65 64 0c 65  6e 64 22 2c 22 73 69 67  |rmfeed.end","sig|
 00000050  22 3a 22 61 37 34 31 39  65 32 38 34 32 36 63 63  |":"a7419e28426cc|
 00000060  34 34 64 36 32 36 30 65  63 36 31 64 34 36 32 62  |44d6260ec61d462b|
 00000070  30 66 34 37 33 64 63 30  37 64 62 31 39 65 37 35  |0f473dc07db19e75|
 00000080  33 63 62 30 33 64 38 32  37 37 64 61 38 61 30 33  |3cb03d8277da8a03|
 00000090  64 61 36 38 64 62 33 35  65 35 33 38 35 39 31 66  |da68db35e538591f|
 000000a0  34 64 33 32 39 64 35 32  62 31 33 33 30 61 62 61  |4d329d52b1330aba|
 000000b0  62 37 34 33 31 64 36 65  32 38 63 66 62 36 33 65  |b7431d6e28cfb63e|
 000000c0  30 35 31 35 64 39 64 30  39 30 66 61 33 36 64 30  |0515d9d090fa36d0|
 000000d0  37 31 30 22 7d 5d                                 |710"}]|
}

you can see that is 0a which is ascii 10 or \n and it doesn't continue from that point, the test result seems to imply that it should tolerate this?
accepts_literals_for_json_escape_sequences: NO (error: invalid character '\n' in quoted string)

there is nothing in nip-01 that says it is allowed... this is from stack overflow:
https://stackoverflow.com/a/2392888/12565170
the same rule applies in Go as well, but you can have line breaks in strings if you use the ` instead of " but this still makes zero difference to whether a backspace or form feed are allowed, they just don't make sense anyway... but the first error IS the newline and this breask the whole string
not only that, the double quote shortly after breaks the json quoting altogether... so i'm just wondering why it does not expect an error, as it seems it should for the input.

The test is just testing if it happens to accept literals.  You are right, the spec forbids these literals.  But it can be informative to see what a relay will do if given literals.
I made a distinction between PASS/FAIL and YES/NO.   FAIL means the relay is non-compliant, whereas NO just means the relay doesn't do the thing being tested for.
So don't worry about it.  You should expect to be seeing NO on most correct relays.
Sorry for the confusion.

I guess the double-quote literal breaks the whole thing though as you say. I should take that out.

yeah, but even still, this from RFC 8259:

The representation of strings is similar to conventions used in the C family of programming languages.  A string begins and ends with quotation marks.  All Unicode characters may be placed within the quotation marks, except for the characters that MUST be escaped: quotation mark, reverse solidus, and the control characters (U+0000 through U+001F).

strictly speaking this should be the minimal spec in NIP-01 as well, but for simplicity i think only the escapes that are represented as a single character \t \n \b \f \ " are specified
but yes, in fact everything until the space character (0x20) "should" be escaped.
standard json stringification will do this, though it does vary for what kind of escaping might be used, but i think if i were to make any clarifications in the spec, i'd keep the use of the single letter escapes (which are standard in most programming languages), specify that all characters below 0x20 are invalid at all, and stipulate that if binary data is stored it MUST be in base64, which obviates any need for characters under 32 in this way.
in practice, only line breaks \n are actually used, and far less frequently \ and \t but tab tends to be left out because of its use as a cursor-forward in web browsers.
i think the test should be omitted, really, or at least, it should fail, either way

anyhow, i think the main thing is that while nip-01 escape rules SHOULD be enforced, the encoders have to correctly handle all forms of escaping by rendering them back into JSON as they arrived...
my code failed the \uXXXX escapes and i modified it to recognise and retain them as they are (since full utf8 32 bit encoding is lol wtf) by the u, and another of the tests had a / sequence which is also handled correctly... probably strictly speaking it should recognise an octal escape and leave it alone too, perhaps add the octal escape pattern to the test as well?


[QA] Angzaar Outpost scenes are not rendering

Explorer Alpha build version:
0.3.383-g852675f1-main
Issue Description:

When teleporting to Angzaar Outpost (-9,-91, part of SDK7 scenes) since the scene is not rendering, we enter in a soft lock state in which the UI is almost all white and can't perform any actions.
The chat is still usable, so in order to leave that state, typing /goto 0,0 will let us leave the scene.
Steps to reproduce:

Go to -9,-91 and observe

Expected behaviour:
The Angzaar Outpost plaza loads as expected
Current behaviour:
The screen's white UI creates a soft lock
Evidence:
https://github.com/decentraland/unity-explorer/assets/139157886/a10c2ab5-2429-4ff8-b24e-674c98f71195
Additional Notes:

Even though the scene is not loading, the white screen is no longer present and the soft lock is fixed.


[Improvement][Monitor] Show master && worker Busy Or Normal Status and Show Commands table list

close #15977

Please put some pictures in the document. @qingwli

OK, Will update later

Codecov Report
Attention: Patch coverage is 6.66667% with 42 lines in your changes are missing coverage. Please review.

Project coverage is 39.86%.  Consider uploading reports for the commit 4b7553e to get more accurate results

Files
Patch %
Lines

...uler/api/service/impl/DataAnalysisServiceImpl.java
0.00%
33 Missing :warning:

...heduler/api/controller/DataAnalysisController.java
0.00%
8 Missing :warning:

...cheduler/api/service/impl/ExecutorServiceImpl.java
50.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15978      +/-   ##
============================================
- Coverage     39.86%   39.86%   -0.01%
- Complexity     5060     5073      +13
============================================
  Files          1369     1369
  Lines         45635    45582      -53
  Branches       4869     4863       -6
============================================
- Hits          18193    18171      -22
+ Misses        25544    25511      -33
- Partials       1898     1900       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@SbloodyS  Done

Since this is compatible with 3.2.1, so I change the milestone to 3.2.2.

I will add some UT later


Quick fix context menu only displays “consider” for inconsistent_digit_grouping warnings

See the following screenshot:

Can it be something like “consider: 1_000_000_000”?
OS: Windows 10.

That's probably a bug with the labeling in rustc/clippy.

That's probably a bug with the labeling in rustc/clippy.

@EFanZh What does cargo clippy output on the terminal for this?

@EFanZh What does cargo clippy output on the terminal for this?

Clippy seems file:
warning: long literal lacking separators
 --> src\main.rs:2:13
  |
2 |     let _ =<PHONE_NUMBER>;
  |             ^^^^^^^^^^ help: consider: `1_000_000_000`
  |
  = note: `-W clippy::unreadable-literal` implied by `-W clippy::pedantic`
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.03s

We're getting this:
{
    "reason": "compiler-message",
    "package_id": "hello 0.1.0 (path+file:///C:/Users/Lauren%C8%9Biu/Source/hello)",
    "target": {
        "kind": [
            "bin"
        ],
        "crate_types": [
            "bin"
        ],
        "name": "hello",
        "src_path": "C:\\Users\\Laurențiu\\Source\\hello\\src\\main.rs",
        "edition": "2018",
        "doctest": false,
        "test": true
    },
    "message": {
        "rendered": "error: long literal lacking separators\n --> src\\main.rs:5:16\n  |\n5 |     let _foo =<PHONE_NUMBER>;\n  |                ^^^^^^^^^^ help: consider: `1_000_000_000`\n  |\nnote: the lint level is defined here\n --> src\\main.rs:1:9\n  |\n1 | #![deny(clippy::clippy::clippy::unreadable_literal)]\n  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal\n\n",
        "children": [
            {
                "children": [],
                "code": null,
                "level": "note",
                "message": "the lint level is defined here",
                "rendered": null,
                "spans": [
                    {
                        "byte_end": 50,
                        "byte_start": 8,
                        "column_end": 51,
                        "column_start": 9,
                        "expansion": null,
                        "file_name": "src\\main.rs",
                        "is_primary": true,
                        "label": null,
                        "line_end": 1,
                        "line_start": 1,
                        "suggested_replacement": null,
                        "suggestion_applicability": null,
                        "text": [
                            {
                                "highlight_end": 51,
                                "highlight_start": 9,
                                "text": "#![deny(clippy::clippy::clippy::unreadable_literal)]"
                            }
                        ]
                    }
                ]
            },
            {
                "children": [],
                "code": null,
                "level": "help",
                "message": "for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal",
                "rendered": null,
                "spans": []
            },
            {
                "children": [],
                "code": null,
                "level": "help",
                "message": "consider",
                "rendered": null,
                "spans": [
                    {
                        "byte_end": 122,
                        "byte_start": 112,
                        "column_end": 26,
                        "column_start": 16,
                        "expansion": null,
                        "file_name": "src\\main.rs",
                        "is_primary": true,
                        "label": null,
                        "line_end": 5,
                        "line_start": 5,
                        "suggested_replacement": "1_000_000_000",
                        "suggestion_applicability": "MachineApplicable",
                        "text": [
                            {
                                "highlight_end": 26,
                                "highlight_start": 16,
                                "text": "    let _foo =<PHONE_NUMBER>;"
                            }
                        ]
                    }
                ]
            }
        ],
        "code": {
            "code": "clippy::unreadable_literal",
            "explanation": null
        },
        "level": "error",
        "message": "long literal lacking separators",
        "spans": [
            {
                "byte_end": 122,
                "byte_start": 112,
                "column_end": 26,
                "column_start": 16,
                "expansion": null,
                "file_name": "src\\main.rs",
                "is_primary": true,
                "label": null,
                "line_end": 5,
                "line_start": 5,
                "suggested_replacement": null,
                "suggestion_applicability": null,
                "text": [
                    {
                        "highlight_end": 26,
                        "highlight_start": 16,
                        "text": "    let _foo =<PHONE_NUMBER>;"
                    }
                ]
            }
        ]
    }
}

Notice how the inner message actually says consider, but we don't display the outer one.
Duplicate of #6851, I guess? CC @jonas-schievink.

We're getting this:
{
    "reason": "compiler-message",
    "package_id": "hello 0.1.0 (path+file:///C:/Users/Lauren%C8%9Biu/Source/hello)",
    "target": {
        "kind": [
            "bin"
        ],
        "crate_types": [
            "bin"
        ],
        "name": "hello",
        "src_path": "C:\\Users\\Laurențiu\\Source\\hello\\src\\main.rs",
        "edition": "2018",
        "doctest": false,
        "test": true
    },
    "message": {
        "rendered": "error: long literal lacking separators\n --> src\\main.rs:5:16\n  |\n5 |     let _foo =<PHONE_NUMBER>;\n  |                ^^^^^^^^^^ help: consider: `1_000_000_000`\n  |\nnote: the lint level is defined here\n --> src\\main.rs:1:9\n  |\n1 | #![deny(clippy::clippy::clippy::unreadable_literal)]\n  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal\n\n",
        "children": [
            {
                "children": [],
                "code": null,
                "level": "note",
                "message": "the lint level is defined here",
                "rendered": null,
                "spans": [
                    {
                        "byte_end": 50,
                        "byte_start": 8,
                        "column_end": 51,
                        "column_start": 9,
                        "expansion": null,
                        "file_name": "src\\main.rs",
                        "is_primary": true,
                        "label": null,
                        "line_end": 1,
                        "line_start": 1,
                        "suggested_replacement": null,
                        "suggestion_applicability": null,
                        "text": [
                            {
                                "highlight_end": 51,
                                "highlight_start": 9,
                                "text": "#![deny(clippy::clippy::clippy::unreadable_literal)]"
                            }
                        ]
                    }
                ]
            },
            {
                "children": [],
                "code": null,
                "level": "help",
                "message": "for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal",
                "rendered": null,
                "spans": []
            },
            {
                "children": [],
                "code": null,
                "level": "help",
                "message": "consider",
                "rendered": null,
                "spans": [
                    {
                        "byte_end": 122,
                        "byte_start": 112,
                        "column_end": 26,
                        "column_start": 16,
                        "expansion": null,
                        "file_name": "src\\main.rs",
                        "is_primary": true,
                        "label": null,
                        "line_end": 5,
                        "line_start": 5,
                        "suggested_replacement": "1_000_000_000",
                        "suggestion_applicability": "MachineApplicable",
                        "text": [
                            {
                                "highlight_end": 26,
                                "highlight_start": 16,
                                "text": "    let _foo =<PHONE_NUMBER>;"
                            }
                        ]
                    }
                ]
            }
        ],
        "code": {
            "code": "clippy::unreadable_literal",
            "explanation": null
        },
        "level": "error",
        "message": "long literal lacking separators",
        "spans": [
            {
                "byte_end": 122,
                "byte_start": 112,
                "column_end": 26,
                "column_start": 16,
                "expansion": null,
                "file_name": "src\\main.rs",
                "is_primary": true,
                "label": null,
                "line_end": 5,
                "line_start": 5,
                "suggested_replacement": null,
                "suggestion_applicability": null,
                "text": [
                    {
                        "highlight_end": 26,
                        "highlight_start": 16,
                        "text": "    let _foo =<PHONE_NUMBER>;"
                    }
                ]
            }
        ]
    }
}

Notice how the inner message actually says consider, but we don't display the outer one.
Duplicate of #6851, I guess? CC @jonas-schievink.

Notice how the inner message actually says consider, but we don't display the outer one.

There could be multiple fixes for the same error, which would each get their own sub-diagnostic within the error diagnostic, so we shouldn't use the message of the outer diagnostic.

Notice how the inner message actually says consider, but we don't display the outer one.

There could be multiple fixes for the same error, which would each get their own sub-diagnostic within the error diagnostic, so we shouldn't use the message of the outer diagnostic.

Hmm, why are we showing consider twice, if it's only once in the JSON?

Hmm, why are we showing consider twice, if it's only once in the JSON?

Anyway, I think we can close this. We're showing the message as reported by clippy.

Anyway, I think we can close this. We're showing the message as reported by clippy.

So is this a bug from clippy? Should I open a bug report there?

So is this a bug from clippy? Should I open a bug report there?

It seems like an unfortunate design: the clippy message is only consider, but when printing the warning as text it includes the fixed code. We don't do that because the showing the replacements isn't really needed for rustc warnings (and I'm not sure if they're always single-line or not).

It seems like an unfortunate design: the clippy message is only consider, but when printing the warning as text it includes the fixed code. We don't do that because the showing the replacements isn't really needed for rustc warnings (and I'm not sure if they're always single-line or not).


microkit tool tries to include non-LOAD segments in output.

Symptom is
Traceback (most recent call last):
  File "runpy", line 196, in _run_module_as_main
  File "runpy", line 86, in _run_code
  File "microkit.__main__", line 2138, in <module>
  File "microkit.__main__", line 1986, in main
  File "microkit.__main__", line 673, in build_system
  File "microkit.__main__", line 674, in <dictcomp>
  File "microkit.elf", line 304, in from_path
ValueError: negative count

from an ELF file that looks like:
$ readelf -l deadlocked.elf

Elf file type is EXEC (Executable file)
Entry point 0x200000
There are 3 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr              FileSiz            MemSiz              Flags  Align
  RISCV_ATTRIBUT 0x000000000000d33a 0x0000000000000000 0x0000000000000000    0x0000000000000034 0x0000000000000000  R      0x1
  LOAD           0x0000000000001000 0x0000000000200000 0x0000000000200000    0x0000000000003fa8 0x0000000000003fa8  R E    0x1000
  LOAD           0x0000000000005000 0x0000000000204000 0x0000000000204000    0x0000000000000100 0x0000000000001282  RW     0x1000

PR #24

Fixed in mainline Microkit.


Do bluetooth and wifi measurements get recognized seperately?

Hello,
i am planning to add bluetooth or wifi measurements seperately via the API
Some devices support wifi and bluetooth others only bluetooth (e.g. ios)
Is it bad for the AI model when there are fingerprints of the same location, some with wifi and bluetooth, some only bluetooth (in learning mode)?
So when i track devices (some with wifi and bluetooth, some only bluetooth) do the sources get analyzed seperately? Or is there a bad guessing rate because in case of only bluetooth tracking it is missing the wifi signals?
Thanks in advance
suiluj

I think it should still work

okay thanks. then i will just try it out.

HI,
Does this system differentiate between WIFI and beacons data? If both beacons data and wifi data is there and does it predict locations based on beacon and wifi separately and then take the average?

HI,


Submit the code

No merge issues.
flake8 linting errors
 ./hypnotic-hedgehogs/a_brief_history_of_web/win95/models.py:1:1: F401 'django.db.models' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/win95/urls.py:8:2: E225 missing whitespace around operator
./hypnotic-hedgehogs/a_brief_history_of_web/win95/admin.py:1:1: F401 'django.contrib.admin' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/win95/views.py:1:1: F401 'django.shortcuts.HttpResponse' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/win95/tests.py:1:1: F401 'django.test.TestCase' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_twitter/models.py:11:29: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_twitter/urls.py:8:2: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_twitter/admin.py:5:26: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_twitter/views.py:9:32: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_twitter/tests.py:1:1: F401 'django.test.TestCase' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/a_brief_history_of_web/settings.py:64:10: E131 continuation line unaligned for hanging indent
./hypnotic-hedgehogs/a_brief_history_of_web/a_brief_history_of_web/settings.py:73:9: E122 continuation line missing indentation or outdented
./hypnotic-hedgehogs/a_brief_history_of_web/a_brief_history_of_web/settings.py:137:36: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/a_brief_history_of_web/urls.py:28:15: E126 continuation line over-indented for hanging indent
./hypnotic-hedgehogs/a_brief_history_of_web/a_brief_history_of_web/urls.py:31:81: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_google/models.py:1:1: F401 'django.db.models' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_google/admin.py:1:1: F401 'django.contrib.admin' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_google/views.py:1:1: F401 'django.shortcuts.redirect' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_google/tests.py:1:1: F401 'django.test.TestCase' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/models.py:7:47: E231 missing whitespace after ','
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/models.py:9:5: E301 expected 1 blank line, found 0
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/models.py:22:1: W391 blank line at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/urls.py:8:2: E225 missing whitespace around operator
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/admin.py:6:27: W292 no newline at end of file
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/forms.py:1:1: F401 'django.forms.Textarea' imported but unused
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/forms.py:9:20: E231 missing whitespace after ':'
./hypnotic-hedgehogs/a_brief_history_of_web/first_youtube/forms.py:12:5: E301 expected 1 blank line, found 0


fix(command): only add TransientTransactionError label when in a transaction

Fixes NODE-2089
Description
The transaction specification states that we must add the TransientTransactionError label to any MongoNetworkError that occurs within a transaction. Previously, we were adding the label for any MongoNetworkError, regardless of whether we were in a transaction or not. This led to a confusing MongoNetworkError with a TransientTransactionError label, which implied that we were adding transactions automatically (which we were not).
What changed?
Now, we only apply a TransientTransactionError label when a MongoNetworkError occurs within a transaction.
Are there any files to ignore?

I added a test that is currently not working and I'd appreciate some guidance on whether it looks correct or if there's an obvious mistake. I am expecting an error on L154, but it doesn't appear, even though I see that error with a console.log on L103 of wireprotocol/command.js.

Closing in favor of #2205


Microsoft Edge not response to Customer Voice

Hi everyone,
Today I just logged in Customer Voice using Microsoft Edge and it seem like the browser is not response to CV. When I try to log in CV using Chrome and New Microsoft Edge browser, it run well. Despite I can not use Customer Voice, I can use D365 for Customer Engagement. So my current version of Microsoft Edge  is not supported for Customer Voice anymore? If yes, can you please inform me the latest version or required version details of Microsoft Edge for Customer Voice?
My current Microsoft Edge version:
Microsoft Edge 44.17763.831.0
Microsoft EdgeHTML 18.17763
Thanks & regards.

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: https://docs.microsoft.com/dynamics365/get-started/support/
Closing this issue.”


drivers: clock_control: nrf_power_clock: Make isr function global

Some tests are failing because nrf_power_clock_isr was static.
Apparently, some tests are using irq function (https://github.com/zephyrproject-rtos/zephyr/blob/288940dbbda5b8b9f5ca1f0a335a04be4ef91194/tests/arch/arm/arm_irq_vector_table/src/arm_irq_vector_table.c#L165) which was declared static in the driver.
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

@ioannisg comment was present but at isr implementation. It was earlier declared to be used earlier and declaration was static. I moved the comment there.

@ioannisg comment was present but at isr implementation. It was earlier declared to be used earlier and declaration was static. I moved the comment there.

Right, that's exactly what I wanted


Will "In App Purchase" be updated to comply with Google's billing changes effective Nov 2021?

I noticed warning from Google Play Store that this is coming so wanted to check to see if it is on the roadmap before I consider using it for an upcoming project.

Hi @rss181919
I see there's an open issue addressing the case you described. https://github.com/flutter/flutter/issues/75204
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


Remove task_pool parameter from par_for_each(_mut)

Objective
Requiring a &TaskPool parameter is sort of meaningless if the only correct one is to use the one provided by Res<ComputeTaskPool> all the time.
Solution
Have QueryState::par_for_each_unchecked_manual read and clone the ComputeTaskPool before each execution.
Adds a small overhead of the internal Arc clone as a part of the startup, but the ergonomics win should be well worth this hardly-noticable overhead.
Updated the docs to note that it will panic the task pool is not present as a resource.
Future Work
If https://github.com/bevyengine/rfcs/pull/54 is approved, we can replace these resource lookups with a static function call instead to get the ComputeTaskPool.

Changelog
Removed: The task_pool parameter of Query(State)::par_for_each(_mut). These calls will use the World's ComputeTaskPool resource instead.
Migration Guide
The task_pool parameter for Query(State)::par_for_each(_mut) has been removed. Remove these parameters from all calls to these functions.
Before:
fn parallel_system(
   task_pool: Res<ComputeTaskPool>,
   query: Query<&MyComponent>,
) {
   query.par_for_each(&task_pool, 32, |comp| {
        ...
   });
}

After:
fn parallel_system(query: Query<&MyComponent>) {
   query.par_for_each(32, |comp| {
        ...
   });
}

If you're using bevy_ecs outside of bevy-proper or if not using CorePlugins, using these functions will require initializing ComputeTaskPool before any systems with queries.

Could you add a short code snippet with a before and after in the migration guide section? It's not a big deal, but it makes writing the full migration guide much easier when examples are already taken care of.

Done!

I'm not sure if I'm missing it, but does this make it so that queries take a read lock on the ComputeTaskPool?

This probably adds a small perf cost for cloning the task pool to each query even if it isn't being used.

The clone was removed. This only affects queries that use the par_for_each functions. Typical iteration and for_each are not impacted.

@james7132 can you:

Fix doc nits.
Rebase.
Discuss the clone a bit more, ideally in a comment on that line of code.


[IMPROVEMENT] Make SPDK more resilient to IO copy errors while executing shallow copy

Is your improvement request related to a feature? Please describe (👍 if you like this request)
The purpose of this ticket is to improve the resiliency of the replica rebuilding process in the face of IO copy errors. Currently, if an error occurs during shallow copy execution, the replica rebuilding process will fail and trigger a retried rebuilding, resulting in increased system load and reduced rebuilding performance. To address this issue, the proposed solution involves introducing an IO retry mechanism to handle such errors and ensure a smoother and more reliable rebuilding process.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
https://github.com/longhorn/spdk/pull/1

What kind of error do you mean?
If you are talking about this, other operations that can be in progress are snapshot, clone, inflate, ... and cannot be executed during a shallow copy because they can change the cluster map.

What kind of error do you mean? If you are talking about this, other operations that can be in progress are snapshot, clone, inflate, ... and cannot be executed during a shallow copy because they can change the cluster map.

I mean if a single blob copy fails, the shallow copy will error out. Is it correct? If yes, we can think how to retry the blob copy instead of directly exiting the shallow copy.

Every shallow_copy operation copy one single layer of a logical volume snapshots stack.

What kind of error do you mean? If you are talking about this, other operations that can be in progress are snapshot, clone, inflate, ... and cannot be executed during a shallow copy because they can change the cluster map.

I mean if a single blob copy fails, the shallow copy will error out. Is it correct? If yes, we can think how to retry the blob copy instead of directly exiting the shallow copy.

Hi @derekbit, do you mean a retry in longhorn-spdk-engine? Because on spdk side, as mentioned above, a single shallow copy call copy only a single blob, it's in longhorn-spdk-engine that we drive the process to copy all the snapshots of a volume.


Why a + sign is prepended to the name when the name is a string of Chinese word?

With this:
wk.register {
  ['<C-w>'] = {
    name = "視窗指令",
    -- basic
    ['s'] = "向 j 方向分割視窗",
    ['v'] = "向 l 方向分割視窗",
    -- custom
    ['<C-w>'] = "向 l 方向分割視窗",
  }
}

I got this:

Problem solved:
wk.setup {
  icons = {
    group = '',


Celery logs full of execptions.

For example:
Sep 10 11:21:15 ores-worker-01 celery[17746]: Traceback (most recent call last):
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/celery/app/trace.py", line 240, in trace_task
Sep 10 11:21:15 ores-worker-01 celery[17746]: R = retval = fun(*args, **kwargs)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/celery/app/trace.py", line 438, in __protected_call__
Sep 10 11:21:15 ores-worker-01 celery[17746]: return self.run(*args, **kwargs)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/celery.py", line 38, in _score_task
Sep 10 11:21:15 ores-worker-01 celery[17746]: return Timeout._score(self, context, model, rev_id, cache=cache)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/score_processor.py", line 44, in _score
Sep 10 11:21:15 ores-worker-01 celery[17746]: return self._process(context, model, process_cache)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/timeout.py", line 21, in _process
Sep 10 11:21:15 ores-worker-01 celery[17746]: seconds=self.timeout)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/timeout.py", line 62, in timeout
Sep 10 11:21:15 ores-worker-01 celery[17746]: result = func(*args, **kwargs)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/score_processor.py", line 31, in _process
Sep 10 11:21:15 ores-worker-01 celery[17746]: score = scoring_context.score(model, cache)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/scoring_contexts/scoring_context.py", line 45, in score
Sep 10 11:21:15 ores-worker-01 celery[17746]: feature_values = list(self.solve(model, cache))
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 251, in _solve_many
Sep 10 11:21:15 ores-worker-01 celery[17746]: value, cache, history = _solve(dependent, context, cache)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 229, in _solve
Sep 10 11:21:15 ores-worker-01 celery[17746]: cache=cache, history=history)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 229, in _solve
Sep 10 11:21:15 ores-worker-01 celery[17746]: cache=cache, history=history)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 229, in _solve
Sep 10 11:21:15 ores-worker-01 celery[17746]: cache=cache, history=history)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 229, in _solve
Sep 10 11:21:15 ores-worker-01 celery[17746]: cache=cache, history=history)
Sep 10 11:21:15 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/dependencies/functions.py", line 241, in _solve
Sep 10 11:21:15 ores-worker-01 celery[17746]: raise CaughtDependencyError(message, e, tb)
Sep 10 11:21:15 ores-worker-01 celery[17746]: revscoring.errors.CaughtDependencyError: TimeoutException: Failed to process <revscoring.languages.english.parent_revision.badwords>:

and
Sep 10 10:41:05 ores-worker-01 celery[17746]: [2015-09-10 10:41:05,212: ERROR/MainProcess] Task ores.score_processors.celery._score_task[frwiki:reverted:118516900:0.3.0] raised unex
pected: AttributeError("'NoneType' object has no attribute 'json'",)
Sep 10 10:41:05 ores-worker-01 celery[17746]: Traceback (most recent call last):
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/celery/app/trace.py", line 240, in trace_task
Sep 10 10:41:05 ores-worker-01 celery[17746]: R = retval = fun(*args, **kwargs)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/celery/app/trace.py", line 438, in __protected_call__
Sep 10 10:41:05 ores-worker-01 celery[17746]: return self.run(*args, **kwargs)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/celery.py", line 38, in _score_task
Sep 10 10:41:05 ores-worker-01 celery[17746]: return Timeout._score(self, context, model, rev_id, cache=cache)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/score_processor.py", line 39, in _score
Sep 10 10:41:05 ores-worker-01 celery[17746]: caches={rev_id: cache})[rev_id]
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/score_processors/score_processor.py", line 23, in _get_root_ds
Sep 10 10:41:05 ores-worker-01 celery[17746]: return scoring_context.extract_roots(model, rev_ids, caches=caches)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/ores/scoring_contexts/scoring_context.py", line 76, in extract_roots
Sep 10 10:41:05 ores-worker-01 celery[17746]: for rev_id, (error, root_vals) in zip(rev_ids, error_root_vals):
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/extractors/api.py", line 140, in _extract_many
Sep 10 10:41:05 ores-worker-01 celery[17746]: rev_docs = self.get_rev_doc_map(rev_ids_missing_data)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/extractors/api.py", line 197, in get_rev_doc_map
Sep 10 10:41:05 ores-worker-01 celery[17746]: properties=props)}
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/revscoring/extractors/api.py", line 194, in <dictcomp>
Sep 10 10:41:05 ores-worker-01 celery[17746]: return {rd['revid']: rd
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/mw/api/collections/revisions.py", line 131, in query
Sep 10 10:41:05 ores-worker-01 celery[17746]: rev_docs, rvcontinue = self._query(*args, **kwargs)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/mw/api/collections/revisions.py", line 188, in _query
Sep 10 10:41:05 ores-worker-01 celery[17746]: doc = self.session.get(params)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/mw/util/api.py", line 30, in get
Sep 10 10:41:05 ores-worker-01 celery[17746]: return self.request('GET', params, **kwargs)
Sep 10 10:41:05 ores-worker-01 celery[17746]: File "/srv/ores/venv/lib/python3.4/site-packages/mw/api/session.py", line 129, in request
Sep 10 10:41:05 ores-worker-01 celery[17746]: doc = super().request(type, params, **kwargs).json()
Sep 10 10:41:05 ores-worker-01 celery[17746]: AttributeError: 'NoneType' object has no attribute 'json'

The latter should be handled better.

Yup, any 'expected' exception that's passed back to web shouldn't be in the logs.

Every exception is passed back to the web, so maybe we should just mark all children of Exception as expected?

'every exception' - even ones like, 'redis connection failed'? How do they pass back to the web?

Good point.  I've never seen that one.  If an exception occurs while the score is being generated (no redis connection used there) then the exception description is formatted and sent back to the client.  If an exception is raised outside of the context of score() generation, that would be unexpected.

Indeed, and those are the ones that are 'interesting' from an ops perspective and should be listed out separately, IMO. A redis connection failure / socket overrun / etc. They can't be sent back to the client in some cases (when redis is dead, as an example).

Yeah.  I'm still a little worried of catching every error that can happen in the context of scoring.  For now, I'll just try to catch all the common ones.

Sorry... tell celery that they are "Expected" -- I always catch the errors either way.

I've got an open PR to pyenchant to get rid of the "This UTF-8 encoding can't convert to UTF-16:" warning.
See https://github.com/rfk/pyenchant/pull/59

The last issue was addressed here: https://github.com/wiki-ai/revscoring/pull/191


Add Dockerfile and Upgrade to Purescript 0.10.5

Nice work with the docker image.  I was able to get it up and running really easily.  This PR updates to the latest 0.10.5 release.  Also was I was wondering what your throughts are on installing psvm in the container instead of pulling in a specific version.  I've been using it for a while, and it's nice to be able to switch between versions.

Thanks for the PR :slightly_smiling_face: Yeah psvm sounds like a good idea. While we're at it we might as well preinstall purescript-psa as well.
I'm looking at my current approach, and I'm not sure pureuser is really necessary. I left it there so that it doesn't break anyone's build that uses this Dockerfile and might be relying on that user being there. But the user in Docker is based on the uid, so leaving the node user there should be ok and should work the same way with volumes and ownership.
The only thing that would need to be done for backwards-compatibility is symlinking /home/pureuser to /home/node. In a rare situation it might break someone's build if they switch to a different user and back to pureuser with USER pureuser, but that's a rarer situation and it might be worth the sacrifice.

I think also that it might be unnecessary to grab the tar file and run the checksum, since it can use the precompiled binaries from the purescript npm package


chore(generator): update dependencies

Thank you @andrewmcwatters!

The updated dependencies broke the generator because some items were deprecated in the newer packages.
I have released v0.6.0 with updated dependencies and fixes.

I had to decrease the yeoman-generator version to 0.22 because 0.23 was breaking on node v5 and v6.
I think it may have to do with https://github.com/yeoman/generator/releases/tag/v0.23.0.


WFCORE-1467 This commit avoids call two times a suspend operation when suspend-servers is used with a timeout parameter different than 0

In a domain mode :suspend-servers command with a timeout parameter different than 0 executes two suspend operations for each server in the domain. It first executes a suspend with 0ms and later a suspend with the timeout specified.
Jira issue:
https://issues.jboss.org/browse/WFCORE-1467

Full integration - Windows Build 1376 outcome was FAILURE using a merge of 198ab45883dac80c737e87db1220d53a537af63c
Summary: Tests failed: 7 (7 new), passed: 3215, ignored: 194 Build time: 00:53:43
Failed tests
org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap620.MixedDomain620TestSuite: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Could not start container
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.awaitHostController(DomainLifecycleUtil.java:466)
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.start(DomainLifecycleUtil.java:256)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startAndAdjust(MixedDomainTestSupport.java:160)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:86)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:96)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:59)
	at org.jboss.as.test.integration.domain.mixed.eap620.MixedDomain620TestSuite.initializeDomain(MixedDomain620TestSuite.java:43)
------- Stdout: -------
[Host Controller] 00:46:14,096 WARN  [org.jboss.as.protocol.connection] (management task-6) WFLYPRT0018: No such request (34) associated with channel Channel ID 3b2f157b (inbound) of Remoting connection 010ca2fd to /0:0:0:0:0:0:0:1:62599
[Host Controller] 00:46:14,096 WARN  [org.jboss.as.protocol.connection] (Remoting "build03-win:MANAGEMENT" task-3) JBAS012118: No such request (34) associated with channel Channel ID bb2f157b (outbound) of Remoting connection 01f936e5 to 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:9999
00:46:15,085 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
00:46:15,264 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 00:46:15,759 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
[Host Controller] 00:46:15,970 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
[Host Controller] 00:46:16,022 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) starting
[Host Controller] 00:46:16,570 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:16,571 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:16,601 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 00:46:16,604 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.3.6.Final
[Host Controller] 00:46:16,609 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.3.6.Final
[Host Controller] 00:46:16,665 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.18.Final
[Host Controller] 00:46:16,689 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 00:46:17,857 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management
[Host Controller] 00:46:17,858 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 00:46:17,858 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) (Host Controller) started in 2480ms - Started 44 of 47 services (14 services are lazy, passive or on-demand)
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 3366 ms
[Host Controller] 00:46:20,357 WARN  [org.jboss.as.messaging] (management-handler-thread - 3) WFLYMSG0071: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
[Host Controller] 00:46:20,357 WARN  [org.jboss.as.messaging] (management-handler-thread - 3) WFLYMSG0072: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!
[Host Controller] 00:46:21,141 INFO  [org.jboss.as.controller.management-deprecated] (management-handler-thread - 2) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:21,582 INFO  [org.jboss.as.controller.management-deprecated] (management-handler-thread - 3) WFLYCTL0028: Attribute 'stack' in the resource at address '/' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:21,916 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) stopped in 15ms
[Host Controller] 00:46:21,917 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) starting
[Host Controller] 00:46:21,932 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:21,932 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:21,935 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 00:46:21,963 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 00:46:22,053 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/profile=full-ha/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 00:46:22,143 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management
[Host Controller] 00:46:22,143 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://[::1]:9990
[Host Controller] 00:46:22,143 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) (Host Controller) started in 226ms - Started 44 of 47 services (14 services are lazy, passive or on-demand)
00:46:23,079 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2
00:46:23,223 INFO  [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
[Host Controller] 00:46:23,664 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2
[Host Controller] 00:46:23,792 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
[Host Controller] 00:46:23,834 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) starting
[Host Controller] 00:46:24,370 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.7.GA-redhat-1
[Host Controller] 00:46:24,374 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
[Host Controller] 00:46:24,381 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.18.GA-redhat-1
[Host Controller] 00:46:24,467 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on [::1]:19999
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] All servers started in 2313 ms

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap630.KernelBehavior630TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_3_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.KernelBehaviorTestSuite.getSupport(KernelBehaviorTestSuite.java:40)
	at org.jboss.as.test.integration.domain.mixed.eap630.KernelBehavior630TestSuite.initializeDomain(KernelBehavior630TestSuite.java:44)

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap630.LegacyConfig630TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_3_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:75)
	at org.jboss.as.test.integration.domain.mixed.eap630.LegacyConfig630TestSuite.initializeDomain(LegacyConfig630TestSuite.java:37)

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap630.MixedDomain630TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_3_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:59)
	at org.jboss.as.test.integration.domain.mixed.eap630.MixedDomain630TestSuite.initializeDomain(MixedDomain630TestSuite.java:44)

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.KernelBehaviorTestSuite.getSupport(KernelBehaviorTestSuite.java:40)
	at org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite.initializeDomain(KernelBehavior640TestSuite.java:42)

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:75)
	at org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite.initializeDomain(LegacyConfig640TestSuite.java:37)

org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: java.lang.AssertionError: expected:<EAP_6_2_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:45)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:83)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:59)
	at org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite.initializeDomain(MixedDomain640TestSuite.java:44)

retest this please
Failure was due to unrelated issue WFCORE-1270.

I think a deeper change is needed. ServerInventoryImpl.awaitServerSuspend is using the timeout param as the overall timeout for the set of servers. It then loops and uses the remaining time as the time param to ManagedServer.awaitSuspended. If the overall timeout is used up, for some servers awaitSuspended won't even be invoked.
Also, ManagedServer.awaitSuspended is taking its timeout param, which is in ms, and sending it to the server in the management op's timeout param, which is in seconds. This is why the logging on the server is "10000000ms" when it should be "10000ms".
I think the way this needs to work is:
ManagedServer provides a method with this signature:
BlockingQueueOperationListener<TransactionalProtocolClient.Operation> suspend(int timeoutInSeconds)
It just sends the op to the server and returns the BlockingQueueOperationListener. At this point the requests have been sent to each server, but responses have not been sent.
ServerInventoryImpl.awaitServerSuspend loops through the servers calling that and caches the results in a list. From this point it starts tracking elapsed time and iterates through the cached BlockingQueueOperationListeners, calling retrievePreparedOperation(final long timeout, final TimeUnit timeUnit) with whatever time is left as the 'timeout' param. It also does the commit etc of the prepared operation, similar to what ManagedServer.suspend and awaitSuspended do.
Also, org.jboss.as.host.controller.operations.ServerSuspendHandler has the same problem that you're fixing in SuspendServersLifecycleHandler.

I am closing this one, since I am attempting what you suggested in #1490


Set response status code to 0 if status-code is missing in status line

This avoids undefined offset if status code is missing (issue)

This would allow the code to fail silently.
I would suggest throwing a parsing error if the statuscode is missing. (This was also suggested by @alexeyshockov here)

As mentioned in #1910, I would be happy to accept a PR implementing the suggested solution. Until then, closing this.


ingest fails with Cannot read properties of undefined (reading 'text')

The README says:
Visit [pinecone](https://pinecone.io/) to create and retrieve your API keys, and also retrieve your environment and index name from the dashboard.

but I do not see an "environment" variable.
I create a pinecone account, I get the api key (and I use it for OPENAI_API_KEY), I create an index with name "index1" (and I use it for PINECONE_INDEX_NAME), with default parameters. I see a "Region" parameter with value "us-east-1". Is that what I need to use for PINECONE_ENVIRONMENT ?

but then, the ingest fails with Cannot read properties of undefined (reading 'text').
$ yarn run ingest

creating vector store...
error TypeError: Cannot read properties of undefined (reading 'text')
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:44:57
    at step (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:33:23)
    at Object.next (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:14:53)
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:4:12)
    at extractMessage (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/utils.js:40:48)
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:66:70
    at step (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:33:23)
    at Object.next (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:14:53)

file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:46
    throw new Error('Failed to ingest your data');
          ^
Error: Failed to ingest your data
    at run (file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:46:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:51:3

thanks for the answer.
The "Region" parameter "us-east-1" was indeed not correct.
I now tried with the value "us-east1-gcp", and it works better, but it still fails.
(by the way, in the pinecone website, I don't see this "us-east1-gcp" value anywhere, nor a "Environment" parameter. Maybe because I have the free account with the Default project? Where do I see the name of the environment, can you please make a screenshot?)
Anyway, using the value "us-east1-gcp" as PINECONE_ENVIRONMENT works a bit better, but it still fails:
the documents returned by textSplitter.splitDocuments(rawDocs) do not have a 'text' property. They have a pageContent instead. Is this ok? Anyway, it does not complain about the text property anymore. It complains about "Verify you have the correct environment, project id, and index name configured.".
The index name is correct, I guess, as shown in the screenshot in the previous message. The API key is also correct, I think. The environment, I am not sure. If I use "us-east-1" or something like "hahha", I get the text error. However, using the "us-east1-gcp" value, if fails with something different. Again, I checked all the web console of my pinecone account (free account), and I don't see a Environment parameter anywhere.
$ cat .env
OPENAI_API_KEY=sk-proj-QPLoQyqRqnNtzklWHrqFT3BlbkFJKm...
PINECONE_API_KEY=ae9ac4c6-fa87-49c2-bde0-21....
PINECONE_ENVIRONMENT=us-east1-gcp
PINECONE_INDEX_NAME=index1

$ yarn run ingest
yarn run v1.22.22
$ tsx -r dotenv/config scripts/ingest-data.ts
(node:2096485) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
rawDocs [
  Document {
    pageContent: '  \n' +
      '                                          Non-chemical                                          crop                                          protection                                           \n' +
      '6   \n' +
      '1     Introduction \n' +
      '1.1    What is this booklet about?  \n' +
      'As  a  farmer  of  arable  crops  or  vegetables,  you  strive  to  achieve  the   \n' +
      'highest  yield  and  the  best  quality  product  possible.  Of  course  you   \n' +
      'would prefer to do this with a minimum investment of energy and re- \n' +
      'sources,  but  you  are  continuously  bothered  by  all  kinds  of  harmful   \n' +
      'organisms (pests) that threaten to  reduce the quality and yield of your  \n' +
      'crops.  Protecting  your  crops  from  these  pests  is  extremely  important,   \n' +
      'but  it  is  difficult  to  achieve  maximum  results  with  a  minimum  of  ef- \n' +
      'fort.  You  have  to  look  not  only  at  a  measure’s  immediate  effect,  but   \n' +
      'also at its long-term effect.   \n' +
      'This  booklet  gives  an  overview  of  the  main  non-chemical  measures   \n' +
      'you can take to protect your crops from pests. Most of these measures  \n' +
      'are  preventive:  they  involve  planning  and  farming  practices  that  will   \n' +
      'help you to keep pest numbers down and limit the damage they do.  \n' +
      '1.2    Why publish a booklet about non-chemical  \n' +
      'crop protection?  \n' +
      'Non-chemical methods of crop protection have always been practised,  \n' +
      'but the introduction of chemical pesticides a few decades ago seemed  \n' +
      'to  make  crop  protection  a  lot  easier.  As  a  farmer,  you  suddenly  only   \n' +
      'needed  to  know  which  particular  pests  you  were  dealing  with,  which   \n' +
      'pesticides  were  available  to  control  them,  and  how  to  apply  these   \n' +
      'products safely. These products were so effective that it looked at first  \n' +
      'as  though  all  pests  could  be  eradicated  in  this  way.  In  practice,  how- \n' +
      'ever,  the  pests  were  not  actually  eradicated,  because  they  came  back   \n' +
      'every growing season. Many natural enemies were temporarily wiped  \n' +
      'out along with the pests, which gave the pests the opportunity to mul- \n' +
      'tiply even more explosively than before (see case 1 for an example).  \n' +
      'To ensure a healthy crop, it was often necessary to spray several times  \n' +
      'per season just to control one type of pest. Eventually, some pesticides ',
    metadata: {
      source: '/home/david/test1/gpt4-pdf-chatbot-langchain/docs/sample.pdf',
      pdf: [Object],
      loc: [Object]
    }
  }
]
split docs [
  Document {
    pageContent: 'Non-chemical                                          crop                                          protection                                           \n' +
      '6   \n' +
      '1     Introduction \n' +
      '1.1    What is this booklet about?  \n' +
      'As  a  farmer  of  arable  crops  or  vegetables,  you  strive  to  achieve  the   \n' +
      'highest  yield  and  the  best  quality  product  possible.  Of  course  you   \n' +
      'would prefer to do this with a minimum investment of energy and re- \n' +
      'sources,  but  you  are  continuously  bothered  by  all  kinds  of  harmful   \n' +
      'organisms (pests) that threaten to  reduce the quality and yield of your  \n' +
      'crops.  Protecting  your  crops  from  these  pests  is  extremely  important,   \n' +
      'but  it  is  difficult  to  achieve  maximum  results  with  a  minimum  of  ef- \n' +
      'fort.  You  have  to  look  not  only  at  a  measure’s  immediate  effect,  but   \n' +
      'also at its long-term effect.',
    metadata: {
      source: '/home/david/test1/gpt4-pdf-chatbot-langchain/docs/sample.pdf',
      pdf: [Object],
      loc: [Object]
    }
  },
  Document {
    pageContent: 'but  it  is  difficult  to  achieve  maximum  results  with  a  minimum  of  ef- \n' +
      'fort.  You  have  to  look  not  only  at  a  measure’s  immediate  effect,  but   \n' +
      'also at its long-term effect.   \n' +
      'This  booklet  gives  an  overview  of  the  main  non-chemical  measures   \n' +
      'you can take to protect your crops from pests. Most of these measures  \n' +
      'are  preventive:  they  involve  planning  and  farming  practices  that  will   \n' +
      'help you to keep pest numbers down and limit the damage they do.  \n' +
      '1.2    Why publish a booklet about non-chemical  \n' +
      'crop protection?  \n' +
      'Non-chemical methods of crop protection have always been practised,  \n' +
      'but the introduction of chemical pesticides a few decades ago seemed  \n' +
      'to  make  crop  protection  a  lot  easier.  As  a  farmer,  you  suddenly  only   \n' +
      'needed  to  know  which  particular  pests  you  were  dealing  with,  which   \n' +
      'pesticides  were  available  to  control  them,  and  how  to  apply  these',
    metadata: {
      source: '/home/david/test1/gpt4-pdf-chatbot-langchain/docs/sample.pdf',
      pdf: [Object],
      loc: [Object]
    }
  },
  Document {
    pageContent: 'needed  to  know  which  particular  pests  you  were  dealing  with,  which   \n' +
      'pesticides  were  available  to  control  them,  and  how  to  apply  these   \n' +
      'products safely. These products were so effective that it looked at first  \n' +
      'as  though  all  pests  could  be  eradicated  in  this  way.  In  practice,  how- \n' +
      'ever,  the  pests  were  not  actually  eradicated,  because  they  came  back   \n' +
      'every growing season. Many natural enemies were temporarily wiped  \n' +
      'out along with the pests, which gave the pests the opportunity to mul- \n' +
      'tiply even more explosively than before (see case 1 for an example).  \n' +
      'To ensure a healthy crop, it was often necessary to spray several times  \n' +
      'per season just to control one type of pest. Eventually, some pesticides',
    metadata: {
      source: '/home/david/test1/gpt4-pdf-chatbot-langchain/docs/sample.pdf',
      pdf: [Object],
      loc: [Object]
    }
  }
]
creating vector store...
error PineconeConnectionError: Request failed to reach Pinecone. Verify you have the correct environment, project id, and index name configured.
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:52:39
    at step (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:33:23)
    at Object.next (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:14:53)
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:4:12)
    at handleFetchError (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:47:67)
    at /home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:62:54
    at step (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:33:23)
    at Object.next (/home/david/test1/gpt4-pdf-chatbot-langchain/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:14:53) {
  attemptNumber: 7,
  retriesLeft: 0
}

file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:47
    throw new Error('Failed to ingest your data');
          ^
Error: Failed to ingest your data
    at run (file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:47:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at file:///home/david/test1/gpt4-pdf-chatbot-langchain/scripts/ingest-data.ts:52:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I asked Pinecone about it:
https://community.pinecone.io/t/how-to-find-out-what-is-my-environment-name-in-a-free-pinecone-account/6253
Reply:
It looks like that code is using the older connection method which is not supported with Serverless indexes.
gpt4-pdf-chatbot-langchain needs to be updated to use the latest version of the NodeJS SDK.

I close this issue, as the original subject was solved, and I created a new ticket with the current issue.
https://github.com/mayooear/gpt4-pdf-chatbot-langchain/issues/473


change speak speed

is there any way to change the speak (tts) speed? its talking a bit slow

From what I can tell that's done on Google Translate by changing the playback speed.

Closed because its stale


Error when setting up 2FA and redirecting to account management

I have tried to set up an authenticator app and when I enter the code and the theme s redirecting to the account/account-security/signing-in url the error page not found occurs. Why? In standard theme it is working but standard theme uses hashtags in url??

Hello @fabianrochelt,
You'll have to give me some more context.
What are you talking about?
The Account Single-Page theme?
What are you doing exactly, what version of Keycloakify and Keycloak are you using.
Please provide as much detail as you can.

Thanks for your response, so here is what I am trying to do:
I am using keycloakify v11 starter and keycloak 24 running on my digitalocean droplet as container. I have created an account theme SPA which is working nicely so far. However, it shows some unexpected behaviour when redirecting during changes in the account page from the user whereas the standard theme is handling it correct.
When the user opens his account management page and sings out the theme shows an error message "sorry page not found" although the url looks correct the only difference between standard theme and customized theme is the hashtag after the account:
Url standard theme:
https://auth.mydomain.at/realms/myrealm/account/#/account-security/signing-in
Url customized theme:
https://auth.mydomain.at/realms/myrealm/account/account-security/signing-in

The same thing is happening when the user sets up a 2FA authenticator like SMS or Google authenticator. When redirecting also the page not found error occurs.
Additional question, when I set up the SMS authenticator I have seen that the mobile phone config screen and the sms code input screen are not customized with my theme. Why is that and how can I customize them?

I'm glad the problem was solved. It would be nice to have aditional infos though for pepole that might face the same issue.

Open question: How can I customize the mobile phone config screen and the sms code input screen to adhere with my customized
theme?

I don't know. Account theme or login theme?

I added now the custom pages and locally with vite they look good. I build the theme now with:
'npx keycloakify build' and with 'npm run build-keycloak-theme' but there are no .ftl files added in the dist-keycloak folder and the screens are also not customized on my website. Why? You write something about bundling and build?

Show me your src/login/KcContext.ts file

yes sure:
here is the code:
`/* eslint-disable @typescript-eslint/ban-types */
import type { ExtendKcContext } from "keycloakify/login";
import type { KcEnvName, ThemeName } from "../kc.gen";
export type KcContextExtension = {
themeName: ThemeName;
properties: Record<KcEnvName, string> & {};
// NOTE: Here you can declare more properties to extend the KcContext
// See: https://docs.keycloakify.dev/faq-and-help/some-values-you-need-are-missing-from-in-kccontext
};
export type KcContextExtensionPerPage = {
"login-sms.ftl": {
auth: {
attemptedUsername: string;
};
url: {
loginRestartFlowUrl: string;
loginAction: string;
};
};
"mobile_number_form.ftl": {
    auth: {
        attemptedUsername: string;
    };
    url: {
        loginRestartFlowUrl: string;
        loginAction: string;
    };
};

};
export type KcContext = ExtendKcContext<KcContextExtension, KcContextExtensionPerPage>;
`

@fabianrochelt It looks ok to me, it should work.
If you can give me access to the repo I can tell you what's wrong.

Hi Joseph,
alright here I attached the repo as zip I just removed the images. Please let me know what's wrong with my setup. Thanks in advance.
custom-theme.zip

Hello @fabianrochelt,
Well the page are indeed generated by Keycloakify:

which build command did you use?

cleaned the .jar files in the docker container and now it seems the correct .jar is selected from the providers folder and everything is working fine. thank you very much and I close this issue right away.


fix for test case PTX-17727

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:

2023-06-14 16:04:14 +0530:[INFO] [{ExpandMultiplePoolWithIOsInClusterAtOnce}] [tests.DeleteVolumes.func1:#1517] - destroy the fio app's volumes
2023-06-14 16:04:14 +0530:[INFO] [{ExpandMultiplePoolWithIOsInClusterAtOnce}] [k8s.(*K8s).DeleteVolumes:#3745] - [fio] Destroyed storage class: fio-sc
2023-06-14 16:04:14 +0530:[INFO] [{ExpandMultiplePoolWithIOsInClusterAtOnce}] [k8s.(*K8s).DeleteVolumes:#3745] - [fio] Destroyed storage class: fio-log
2023-06-14 16:04:14 +0530:[INFO] [{ExpandMultiplePoolWithIOsInClusterAtOnce}] [k8s.(*K8s).DeleteVolumes:#3849] - [fio] Destroyed PVCs for StatefulSet: fio
INFO[2023-06-14 16:04:15] Verifying : Description : Test completed successfully ?
INFO[2023-06-14 16:04:15] Actual:PASS, Expected: PASS
INFO[2023-06-14 16:04:16] --------Test End------
INFO[2023-06-14 16:04:16] #Test: ExpandMultiplePoolWithIOsInClusterAtOnce
INFO[2023-06-14 16:04:16] #Description: Expand multiple pool in the cluster at once in parallel
INFO[2023-06-14 16:04:16] ------------------------

• [SLOW TEST:7640.250 seconds]
{ExpandMultiplePoolWithIOsInClusterAtOnce}
/Users/vprabhakar/Desktop/work/torpedo/torpedo/torpedo/tests/basic/storage_pool_test.go:9224
  Resync volume after rebalance
  /Users/vprabhakar/Desktop/work/torpedo/torpedo/torpedo/tests/basic/storage_pool_test.go:9236
------------------------------

closing : PTX-15697, PTX-12272


Opening a non-ts/js buffer after typescript tools is running, triggers a notificiation about codelens

I have configured my typescript tools codelens like so:
require("typescript-tools").setup {
  settings = {
    code_lens = "all",
    disable_member_code_lens = false,
  },
}

This works fine when opening a JS or TS buffer. But once the server is running,
as soon as I open a new non-JS/TS buffer, it triggers the following
notification:
method textDocument/codeLens is not supported by any of the servers registered for the current buffer

The expectation is that typescript-tools does not try to trigger codelens in
buffers where the server is not active.

@kmoschcau Ok so, I cannot reproduce it but in this pr I added additional filter to autocmd which call vim.lsp.codelens.refresh().
If this won't fix your issue then it is probably something in your config, by this I mean some LSP which wrongly declare support for codelens.
We only call vim.lsp.codelens.refresh() and it should ask all attached buffers for codelens, this logic isn't on our end.
Please take a look and let me know if it helps.

Jep, that change fixes it.


node: Refactor how services are stored on the node

Right now, services are stored as such on the node:
        BlockServ  *block.Service  `optional:"true"`
	ShareServ  share.Service   // not optional
	HeaderServ *header.Service // not optional

Sometimes, the services are nil (for Bridge and Light node, block service will always be nil, for example), while ShareServ is an interface -- it's not uniform.

Proposed solution:
Store the lifecycles on the node rather than the actual services themselves as the node doesn't necessarily need to care about its services, just needs to be able to start and stop them (which is done with the fx app anyway at the moment).

No longer an issue thanks to turning everything into a Module


NullPointerException thrown from MultithreadedMapper when a null value is returned from a reader.

See #4 for stack and fix.

Verified by back porting macp-da-test15.xml and observed few differences so logged new Issue#28


If customer update his address at time of checkout and save this address then address doesn't get save and also on checkout page old address displays.

Bug report
Title
If customer update his address at time of checkout and save this address then address doesn't get save and also on checkout page old address displays.
Issue Description
If customer update his address at time of checkout and save this address then address doesn't get save and also on checkout page old address displays.
Preconditions
1. framework Version.-0.2.1

Steps to reproduce
1. step1- Login with your account and proceed to checkout after shipping method go back to your information page and update the address, also select the option to save this address and proceed to checkout.
2. step2- On checkout page check the address

Expected result
Updated address should display on checkout page
Actual result
Updated address doesn't appear on checkout page.

@jyoti-webkul
This issue is not exist now, you can check for the same in latest version.


with redux

report: Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider>
why?

put that line before any component rendering
---Original---
From: @.>
Date: Thu, May 27, 2021 18:56 PM
To: @.>;
Cc: @.***>;
Subject: [magicismight/react-native-root-siblings] with redux  (#72)
report: Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider>
why?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

put that line before any component rendering

Sorry, I still don't get it

rendering

Is there a simple example to refer to?

This is right

But you need 2 provider, one for main app, one for rootsiblings.
setSiblingWrapper(
   //  This provider is for elements inside root-siblings
)

const App = () => {
  // This rendering function will invoke frequently. So *DO NOTt* put any one-time use function here.
  return (
              <RootSiblingParent>
                <Provider
                   // .......
                   //  This provider is for elements not inside root-siblings
                    >
                 <App />
                </Provider>
              </RootSiblingParent>
  )
}

But you need 2 providers, one for main app, one for rootsiblings.
setSiblingWrapper(
   //  This provider is for elements inside root-siblings
)

const App = () => {
  // This rendering function will invoke frequently. So *DO NOT* put any one-time use function here.
  return (
              <RootSiblingParent>
                <Provider
                   // .......
                   //  This provider is for elements not inside root-siblings
                    >
                 <App />
                </Provider>
              </RootSiblingParent>
  )
}

so there is another way seems more simpler:
render() {
    return (
        <Provider store={store}>
             <RootSiblingParent>
                     <App />
             </RootSiblingParent>
        </Provider>
    )
}

@wiseqingyang Unfortunately, that wont work


Eliminating the use of --config with every konduit-serving python cli command

I would prefer we create a cli using vertx Launcher and extending it. But this is the simpler solution for #210

@ShamsUlAzeem Given our Vertx CLI plans - do we merge this (once tests are passing)?

Yup I think so. This one should do until we have the new CLI done


Default branch not recognised with Gogs

Using Gogs, here seems to be an issue that abapGit doesn’t recognise the default branch. When comparing a debug of Github vs Gogs, the branch list parser in zcl_abapgit_git_branch_list finds a name HEAD from Github where Gogs sends refs/heads/main. Some of the code seems to look for this pattern to put it into head_symref, but it doesn't find the Gogs variant.
I can't list the branches on Gogs, but I can switch to one so it's not a showstopper. However it looks like something that should fixable. Will have a more detailed look when I find more time.

can the error be reproduced on the gogs demo platform?

Hmm, having a spot of bother attaching to it as my NPL system doesn't want to connect via SSL, even after importing all possible PEMs into STRUST. Have created an account and test repo on https://try.gogs.io/ user abapGit, pw via Slack

From what I can see this is the bit that could be changed, but am not 100% certain about side-effects. In the case of Gogs, the lv_name already contains the head_symref, and the parse_head_params doesn't find it because it's not in the parameters.
https://github.com/abapGit/abapGit/blob/f18a8ee82b693513b9c0cb7e24d5f5cc6676acd2/src/git/zcl_abapgit_git_branch_list.clas.abap#L269-L275

OK, I figured the cause is possibly a small bug in the way I created the Gogs repo. But I can also reproduce it by putting the remote repo in a detached head state, which I'm guessing may not be specific to Gogs.
In detail: I created a bare repo on the server which defaults to a branch master. I created a local repo, set the remote and pushed with a new branch main.
If I look in the server repo, I can see refs/heads only contains one entry main - as expected. But HEAD still refers to /refs/heads/master. I may raise this on Gogs (a really good local Git Server BTW).
Now Gogs kindof does the right thing here when abapGit tries to pull, and won't send HEAD (presumably because it's invalid), and sends the refs/heads/main as the object name instead.  I can't git clone it in this state either.
So the big question is whether we should cater for this or this is just too obscure? A simple hack would be if we can't find a symref then see if we find a lv_name starting with refs/heads/ and use that as a default branch. Is it worthwhile or opens up too much guesswork?


Updating stuff for deployment outside initial plant

Redo :

install script
update script
correct bugs at startup

Update globals variable and their use in email and other stuff.


Add polygonToCellsNoHoles fuzzer

Based on #553. This adds a second fuzzer for polygonToCells which does not require the fuzzer to guess the correct number of cells.

Coverage decreased (-0.04%) to 98.141% when pulling d3261563d6e4e062a23239cd15be1cfecc2e6492 on isaacbrodsky:llvm-fuzzer-polygon-to-cells-2 into a1157d8ee6c1b671c33066c8c5b9519f023414f3 on uber:master.


Added dark mode to navigationController of Activity tab

Tap activity on tab bar at bottom of screen.

 Just "Add dark mode to Activity tab". Prefer that to class names which changes more often

Updated. @hboon

@eviltofu Why does it not affect Settings tab though?


2.1 ctrtransfer issue

in part 2 the link to troubleshooting a failed transfer is now gone

What exactly are you referring to?

There use to be a troubleshooting link for people to click if the ctr transfer failed, It's gone. Had someone message me last night because his failed. I went to grab the link for him to read and it was gone. He was smart and didn't shut it off when it happened, so I was able to walk him through fixing it.

Could you find it in an old commit? I don' t know what you're talking about.

I think he's talking about the 9.2 ctrnand transfer:
https://github.com/Plailect/Guide/wiki/9.2.0-ctrtransfer

Searching the Troubleshooting.md file history for the phrase "ctrtransfer" does not yield what you're referring to
dev /mnt/e/3ds/Guide.wiki (master) $ git grep ctrtransfer -- Troubleshooting.md $(git rev-list --all)
Troubleshooting.md:9. Try following [9.2.0 ctrtransfer](9.2.0-ctrtransfer) starting on Step 4.

Searching Part-2-(2.1.0-ctrtransfer).md for the phrase "failed" yields no results
dev /mnt/e/3ds/Guide.wiki (master) $ git grep failed -- Part-2-\(2.1.0-ctrtransfer\).md $(git rev-list --all)


fix #1981, Support OAuth2 Social login

OAuth2 authentication PR for discussion.
How to test

enable OAuth2 by changing "gearpump.ui-security.oauth2-authenticator-enabled" to true in gear.conf
Set proxy before starting UI server, for example: export JAVA_OPTS=-Dhttp.proxyHost=xx.com -Dhttp.proxyPort=8088 -Dhttps.proxyHost=xx.com -Dhttps.proxyPort=8088

Start the UI server by bin\services
It will then show the "social login" buttons.

Currently, only Google account and Cloudfoundry icons are showed. (NOTE: Cloudfoundry  not tested on real server yet)
Click the "Google" icon and see what happens.

How to configure
Each OAuth2Authenticator has a config like this:
"google" {
        "class" = "io.gearpump.services.security.oauth2.impl.GoogleOAuth2Authenticator"

        ## Replace "<IP_ADDRESS>:8090" with your actual project site root URL.
        "callback" = "http://<IP_ADDRESS>:8090/login/oauth2/google/callback"

        ## !!NOTE!! Replace clientID and clientSecret with your own Application to avoid
        ## potential privacy leakage.
        "clientId" = "xxxxxxxxxxxxxxxxxxx"
        "clientSecret" = "xxxx"

        ## Available values for default user role: guest, user, admin
        "defaultUserRole" = "guest"

        ## ICon for this OAuth2 provider
        icon = "/icons/google.png"
      }

TODO

Add unit test
Find a working cloudfoundry UAA server to test whether the UAA OAuth2 authentication works.

@karol-brejna-i
Please find me a test env for UAA.

I tried it but failed with the following errors.

Any hints?

Have you set the proxy?
export JAVA_OPTS=-Dhttp.proxyHost=xx.com -Dhttp.proxyPort=8088 -Dhttps.proxyHost=xx.com -Dhttps.proxyPort=8088

Yes.

+1 for the google part

@clockfly credentials sent via e-mail. Thanks for the great pace!

Current coverage is 59.76%

Merging #2005 into master will decrease coverage by -5.20% as of fc3e64e

@@            master   #2005   diff @@
======================================
  Files          175     179     +4
  Stmts         5451    5590   +139
  Branches       610     630    +20
  Methods
======================================
- Hit           3541    3341   -200
  Partial          0       0
- Missed        1910    2249   +339

Review entire Coverage Diff as of fc3e64e

Uncovered Suggestions

+0.27% via ...cutor/Executor.scala#283...297
+0.25% via ...MetricsService.scala#118...131
+0.20% via .../MasterService.scala#130...140
See 7 more...

Powered by Codecov. Updated on successful CI builds.

@karol-brejna-i
The UAA authenticator works on my env. Can you help to verify it at your env?

@clockfly, Sure. Let me build your branch (https://github.com/clockfly/gearpump/tree/issue_1981) and use the binaries with TAP's Gearpump broker to spawn testing cluster instance.

@karol-brejna-i  It is very easy to test. No special setup needed. I will brief the steps here:

Download the branch https://github.com/clockfly/gearpump/tree/issue_1981, and make the build.
Change gear.conf to

oauth2-authenticator-enabled = true

Open the UI server, http://<IP_ADDRESS>:8090
4.Click the icon next to google icon.
It will redirect you to http://login.gearpump.gotapaas.eu
Login with admin there, it will redirect you back to Gearpump UI.

NOTE: Please set the proxy for service if you are behind firewall.

@karol-brejna-i
I have updated the rest api document, please check.

Lgtm +1


Create windows.yml

testing. do not merge.

everything works up to the actual build details. will merge internally for next release. closing PR.


[T3A2][T15-A3] Lai Yingchen

Ready for review

@yingchen0505 Good start. Here are my comments:

Remember to add getter/ setter functions for private/ protected members of a class.
Change instances of access to the data member with the getter/ setter functions.
As mentioned earlier, use commit messages which inform about the changes within the code.


Strange behaviour with fleksy keyboard

Your Rocket.Chat.Android version:  latest on play store.
I'm having some issues with fleksy keyboard from playstore. The keyboard has a "swipe left to delete" and a "swipe up or down to change the corrected word" features.
Using those features on the rocket chat input field sometimes exhibits some strange behaviour. I don't know how to explain the issue in technical terms, but in general it messes up the input filed.
If more details are required, please ask :)

@5N44P Do you mind posting a video with this issues happening?

I believe that this behaviour it's a keyboard problem, as it showed in other apps. For now I'm using rocketchat+. I'll close this issue for now


License?

Hi @MaikKlein, this project looks super exciting, please keep up the great work!
I'm currently working on a creative coding framework and would love to allow users to use something like RLSL in the future for graphics and compute. I'd like to contribute at some point, but would appreciate it if you could clarify your plans for the licensing of RLSL first. FWIW, I'd love something close to the license used by Rust itself, but this is of course just my opinion!

Oops thanks for the catch. I'll add the license in a few minutes, it will be the same license that rustc uses. This should be MIT / APACHE

I added the MIT and APACHE license. If that doesn't suit you feel free to reopen the issue or open a new one.
I'll keep an eye on your creative coding framework, and I'll let you know when rlsl is ready to be tested.


Cannot read property 'insertBefore' of null errors in Opera, Chrome, Mozilla, Safari.

Esri-Loader Team redirects me here.
Started issue closed without any help answer:
https://github.com/Esri/esri-loader/issues/154
Expected behavior
User should see map always without any limitations.
Project setup - angular, esri-loader v2.6.0, arcgis js ver. 4.13
Steps to reproduce
Create a localhost server however you choose with a simple esri-loader implementation.
  loadModules(["esri/Map",         "esri/views/MapView",         "esri/layers/WebTileLayer",         "esri/Basemap",         "esri/geometry/support/webMercatorUtils",         "esri/geometry/Point",         "esri/layers/GraphicsLayer",     ], {}).then (([            Map, MapView, WebTileLayer, Basemap, webMercatorUtils, Point, GraphicsLayer]     ) => {            console.log("MapView:" + MapView)
The rest of the code doesn't really matter because the error happens during the loading/fetching of the resource files.
Actual behavior
If a developer or CLIENT ON PRODUCTION refreshes the map frequently while making changes and testing, they can encounter an error originating in the dojo.js script used by the loader.

Resources downloaded when everything goes fine:

Resources downloaded on error:

Do you have a repro app this happens with? This looks like the AMD loader can't add the scripts to the page during load for some reason, but I'm unsure why that would happen. This probably happens here.
I tried with angular-cli and cra without issue after multiple refreshes.

Hi there @odoe I am trying to reproduce minimal version with that error. What I investigated for now:
It happens on most browsers when i use:
preloadingStrategy: PreloadAllModules in my app routing and map is in separate module.
When i disable it and map module is lazy loaded the problem stay only on Safari browser.

@odoe So I investigated more and more, system is complex. It is hard task to create example.  I use Pusher.js for some communications, after few refreshes I found that it is trying to inject url to pusher script.. the screenshot for evidence. That caused the error described in ticket. My  question is how to workaround that problem.

Workaround is to add empty script in head section  or any other script (if all of your scripts are in body).
We have encountered similiar problem recently when we migrated our repo to webpack 5.
This piece of code takes first script in document, which has type != dojo:
var ya = x.getElementsByTagName("script");
for (d = 0; !Oa; )
   /^dojo/.test((e = ya[d++]) && e.type) || (Oa = e);

Then this script is used in injectUrl method to get parentNode and then insert esri scripts before it. In our case sometimes dynamic chunk script (added temporarily to html document head) was selected. But since dynamic chunks are removed from DOM (parent node becomes undefined) code fails and throws error.