Error: processing vignette 'CrossTalkeR.Rmd' failed with diagnostics:

Hi All,
I had an error when creating vignettes. Please see the error below. Any idea how to fix it?
Thanks!
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\Yan Liu\AppData\Local\Temp\RtmpkxR5Qo\remotes63a05faf5839\CostaLab-CrossTalkeR-312e957/DESCRIPTION' ...
─  preparing 'CrossTalkeR':
✔  checking DESCRIPTION meta-information ...
─  installing the package to build vignettes
E  creating vignettes (57.9s)
--- re-building 'CrossTalkeR.Rmd' using rmarkdown
Quitting from lines 45-71 (./Comparative_Condition_cci.Rmd)
Error: processing vignette 'CrossTalkeR.Rmd' failed with diagnostics:
Length of new attribute value must be 1 or 25, the number of target edges, not 24
--- failed re-building 'CrossTalkeR.Rmd'
SUMMARY: processing the following file failed:
'CrossTalkeR.Rmd'
Error: Vignette re-building failed.
Execution halted
Error: Failed to install 'CrossTalkeR' from GitHub:
! System command 'Rcmd.exe' failed

Dear @yl315504,
We are working to make a new release of CrossTalkeR soon. The most updated version can be found using the lttf-branch. If not too much work, would it be possible to test this one instead
devtools::install_github("CostaLab/CrossTalkeR",ref="lttf-devel")
Best

Dear @yl315504 ,
you can retry installing with building the vignette with the master branch. The issue should be fixed now. If the issue still occurs please let us know.
Best


Add spawn command

Fixes #477
Demo video
https://www.dropbox.com/scl/fi/h5tcxhehys48c6v322skk/tarkov.spawn.command.mp4?rlkey=wi037fm11unokyj3o0kpdaews&dl=0

nice work. do these get marked as found in raid at the end or is more tinkering still required?

With the following commit, items are properly marked as found in raid: b763b4d

Awesome nicely done sir.


<_overlapped.Overlapped object at 0x000002430C626430> still has pending operation at deallocation, the process may crash

You: 你好
Sydney: Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 444, in select
self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000002430C626430> still has pending operation at deallocation, the process may crash
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 444, in select
self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000002430C626430> still has pending operation at deallocation, the process may crash
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 444, in select
self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000002430C626430> still has pending operation at deallocation, the process may crash

import asyncio
from sydney import SydneyClient
BING_COOKIE = '1bZMhNoRSHVsRB5ZxQXxy1TYbKxS3Ma4XNTgliR0V-JTG1o2yVaNXWbEu0vwfWtxOBkoRLMkoOSSaWFTNOiOQFgNAQY24aI2PgVjdJY_-NATsn56mK7aHXeHHl851ePSZL0UNX4m2zhY5qzXWGx5krS8-OitG9RDb_9NxI3l3hr4Wec-gG_mz3vdruI7jeytCZkOO0npdz1nU505f6Zdedg' # or set it to anything if you don't want to use cookies!
async def main() -> None:
async with SydneyClient(bing_u_cookie=BING_COOKIE) as sydney:
while True:
prompt = input("You: ")
        if prompt == "!reset":
            await sydney.reset_conversation()
            continue
        elif prompt == "!exit":
            break

        print("Sydney: ", end="", flush=True)
        async for response in sydney.ask_stream(prompt):
            print(response, end="", flush=True)
        print("\n")

if name == "main":
asyncio.run(main())

`import asyncio
from sydney import SydneyClient
os.environ["BING_U_COOKIE"] = "1bZMhNoRSHVsRB5ZxQXxy1TYbKxS3Ma4XNTgliR0V-JTG1o2yVaNXWbEu0vwfWtxOBkoRLMkoOSSaWFTNOiOQFgNAQY24aI2PgVjdJY_-NATsn56mK7aHXeHHl851ePSZL0UNX4m2zhY5qzXWGx5krS8-OitG9RDb_9NxI3l3hr4Wec-gG_mz3vdruI7jeytCZkOO0npdz1nU505f6Zdedg"
BING_COOKIE = '1bZMhNoRSHVsRB5ZxQXxy1TYbKxS3Ma4XNTgliR0V-JTG1o2yVaNXWbEu0vwfWtxOBkoRLMkoOSSaWFTNOiOQFgNAQY24aI2PgVjdJY_-NATsn56mK7aHXeHHl851ePSZL0UNX4m2zhY5qzXWGx5krS8-OitG9RDb_9NxI3l3hr4Wec-gG_mz3vdruI7jeytCZkOO0npdz1nU505f6Zdedg' # or set it to anything if you don't want to use cookies!
async def main() -> None:
async with SydneyClient(bing_u_cookie=BING_COOKIE) as sydney:
while True:
prompt = input("You: ")
        if prompt == "!reset":
            await sydney.reset_conversation()
            continue
        elif prompt == "!exit":
            break

        print("Sydney: ", end="", flush=True)
        async for response in sydney.ask_stream(prompt):
            print(response, end="", flush=True)
        print("\n")

if name == "main":
asyncio.run(main())`

import asyncio
from sydney import SydneyClient
BING_COOKIE = '1bZMhNoRSHVsRB5ZxQXxy1TYbKxS3Ma4XNTgliR0V-JTG1o2yVaNXWbEu0vwfWtxOBkoRLMkoOSSaWFTNOiOQFgNAQY24aI2PgVjdJY_-NATsn56mK7aHXeHHl851ePSZL0UNX4m2zhY5qzXWGx5krS8-OitG9RDb_9NxI3l3hr4Wec-gG_mz3vdruI7jeytCZkOO0npdz1nU505f6Zdedg' # or set it to anything if you don't want to use cookies!
async def main() -> None:
async with SydneyClient(bing_u_cookie=BING_COOKIE) as sydney:
while True:
prompt = input("You: ")
if prompt == "!reset":
await sydney.reset_conversation()
continue
elif prompt == "!exit":
break
print("Sydney: ", end="", flush=True)
async for response in sydney.ask_stream(prompt):
print(response, end="", flush=True)
print("\n")
if name == "main":
asyncio.run(main())

if platform.system() == 'Windows':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

You: 给我一个笑话
Sydney: Traceback (most recent call last):
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site
                                                                                e-packages\websockets\legacy\client.py", line 662, in __await_impl__
await protocol.handshake(

File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py", line 329, in handshake
raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py", line 655, in await_impl_timeout
return await self.await_impl()
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py", line 676, in await_impl
await protocol.wait_closed()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\sydney.py-master\sydney.py-master\tests\testSydeny.py", line 31, in
asyncio.run(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "d:\sydney.py-master\sydney.py-master\tests\testSydeny.py", line 25, in main
async for response in sydney.ask_stream(prompt):
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\sydney\sydney.py", line 511, in ask_stream
async for response, suggested_responses in self._ask(
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\sydney\sydney.py", line 308, in _ask
self.wss_client = await websockets.connect(
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py", line 654, in await_impl_timeout
async with asyncio_timeout(self.open_timeout):
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\async_timeout.py", line 169, in aexit
self._do_exit(exc_type)
File "C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\async_timeout.py", line 252, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError


Shellpref for sshconfig import

The shell preference did not properly work with the imported ssh config options. This fixes that and makes it possible to manually edit the shell preference after the fact.

It might be worth adding a database migration to this. Just to ensure all previously imported remotes without a default shell preference get it automatically


Media Player integration won't load with HA 7.0 (core-2021.12.1)

After update from Home Assistant to newest version (core-2021.12.1) the integration of Alexa-Media-Player won't load anymore.
To Reproduce
I can deactivate it, restart core and try to activate it, but nothing changed. I also can't deinstall!
System details

Home-assistant (core-2021.12.1):
Hassio (Yes)
alexa_media  (version from const.py or HA startup):
Amazon [2FA is enabled]
(https://github.com/custom-components/alexa_media_player/wiki/Configuration#enable-two-factor-authentication-for-your-amazon-account)

HACS was not actual - sorry


Fix code scanning alert per Log Injection

Tracking issue for:

[x] https://github.com/NASA-PDS/search-ui-legacy/security/code-scanning/10

Skipping I&T. Testing review occurred during PR merge


MNW-276 Refactor config

removed useless infrastructure files (dockerfiles, sh scripts, etc)
removed useless near-wallet/utilities packages
removed feature-flags package
refactor config to TypeScript, make single entry point for all config variables

Empty?
packages/frontend/src/components/wallet/ExploreApps.js


feat(wmg): Remove the "Tissue" and "Gene" labels

Reason for Change

#4208
If the reason for this PR's code changes are not clear in the issue, state value/impact

Changes

add
remove

Removing label text above add tissue/gene buttons

modify

Testing steps

Either list QA steps or reasoning you feel QA is unnecessary
Describe how you made sure to know that your changes worked. Should allow someone else to go verify your code without in depth knowledge.
"Unit tested only", "tested in rdev by a, b, c, verifying feature worked by... ", "manually ran pipeline locally with these results: ..."

Notes for Reviewer

@ashin-czi sorry can you add a screenshot please 🙏 Just wanted to double check how the buttons line up with the Source Data one 😄 Thank you!

@ashin-czi sorry can you add a screenshot please 🙏 Just wanted to double check how the buttons line up with the Source Data one 😄 Thank you!

good call! This is how it looks currently:

Thanks so much, @ashin-czi ! @hthomas-czi does that look good to you? Thanks!

waiting on Harley approval

@tihuan @ashin-czi Looks great!

Thanks so much @hthomas-czi ! Mergingg


Clarify usage of yarn vs npm in contributing.md

Right now, it's not clear in contributing.md whether yarn or npm should be used. Since yarn was chosen to be the package manager, we should more clearly indicate that in contributing.

Hey @xhlulu
sorry for being so silent in the last weeks but I am right now in a job transition phase
and therefore very busy with preparing a proper handover + doing all the necessary paperwork
for moving to Barcelona.
Anyway long story short:
I just want to give you a heads up that at least in my old project building with Yarn
lead to a buggy behaviour of the compound nodes.
Meaning if I dragged a compound node I would not move any longer the whole comound node
but each element individually
When using npm everything worked as expected.
Best,
Ivo


New Plugin: User Registration

With the plugin, a user should be able to register with a registration form and the double opt in workflow. The admin should be able to customize the registration form basically.

nearly ready, but there are other prios now.

published today with 1.4.3

published today with 1.4.3


Function name typo

Not sure how it went through. Won't compile with this name error.
Cheers.

My bad, thanks!


Option to ignore description/title changes

Problem
I have the same (in theory) API spec generated from two different sources, which have different descriptions (and summary) and schema titles, due to differences in style conventions and other minor reasons. This causes oasdiff to report these differences, contributing to diff noise, even though the API isn't any different.
Proposal
Add an option to ignore description, title, and summary modifications, so they won't be included in the output.
Alternatives
Deal with the aforementioned modifications in the output.

Could you please provide the specs and cmd-line to replicate this?

@reuvenharrison Here:

a.openapi.yml
openapi: 3.0.0

info:
  title: My API
  version: '0.1'

paths:
  /books:
    get:
      summary: list books
      description: get a list of all books, including author and title

      responses:
        '200':
          description: books list

          content:
            application/json:
              schema:
                title: books list
                description: list of books' identifiying information
                type: array

                items:
                  title: book identifiying information
                  description: book author name and title
                  type: object

                  required:
                    - author
                    - title

                  properties:
                    author:
                      title: book author name
                      type: string

                    title:
                      title: book title
                      type: string

b.openapi.yml
openapi: 3.0.0

info:
  title: My API
  version: '0.1'

paths:
  /books:
    get:
      summary: list books
      description: Get a list of all books, including author and title.

      responses:
        '200':
          description: Books list.

          content:
            application/json:
              schema:
                description: List of books' identifiying information.
                type: array

                items:
                  description: Book author name and title.
                  type: object

                  required:
                    - author
                    - title

                  properties:
                    author:
                      description: Book author name.
                      type: string

                    title:
                      description: Book title.
                      type: string

Text
docker run -v $(pwd):/wd -w /wd --rm -i tufin/oasdiff:latest -format text -base a.openapi.yml -revision b.openapi.yml

Output
### New Endpoints: None
-----------------------

### Deleted Endpoints: None
---------------------------

### Modified Endpoints: 1
-------------------------
GET /books
- Description changed from 'get a list of all books, including author and title' to 'Get a list of all books, including author and title.'
- Responses changed
  - Modified response: 200
    - Description changed from 'books list' to 'Books list.'
    - Content changed
      - Modified media type: application/json
        - Schema changed
          - Title changed from 'books list' to ''
          - Description changed from 'list of books' identifiying information' to 'List of books' identifiying information.'
          - Items changed
            - Title changed from 'book identifiying information' to ''
            - Description changed from 'book author name and title' to 'Book author name and title.'
            - Properties changed
              - Modified property: author
                - Title changed from 'book author name' to ''
                - Description changed from '' to 'Book author name.'
              - Modified property: title
                - Title changed from 'book title' to ''
                - Description changed from '' to 'Book title.'

YAML
docker run -v $(pwd):/wd -w /wd --rm -i tufin/oasdiff:latest -format yaml -base a.openapi.yml -revision b.openapi.yml

Output
paths:
    modified:
        /books:
            operations:
                modified:
                    GET:
                        description:
                            from: get a list of all books, including author and title
                            to: Get a list of all books, including author and title.
                        responses:
                            modified:
                                "200":
                                    description:
                                        from: books list
                                        to: Books list.
                                    content:
                                        mediaTypeModified:
                                            application/json:
                                                schema:
                                                    title:
                                                        from: books list
                                                        to: ""
                                                    description:
                                                        from: list of books' identifiying information
                                                        to: List of books' identifiying information.
                                                    items:
                                                        title:
                                                            from: book identifiying information
                                                            to: ""
                                                        description:
                                                            from: book author name and title
                                                            to: Book author name and title.
                                                        properties:
                                                            modified:
                                                                author:
                                                                    title:
                                                                        from: book author name
                                                                        to: ""
                                                                    description:
                                                                        from: ""
                                                                        to: Book author name.
                                                                title:
                                                                    title:
                                                                        from: book title
                                                                        to: ""
                                                                    description:
                                                                        from: ""
                                                                        to: Book title.
endpoints:
    modified:
        ?   method: GET
            path: /books
        :   description:
                from: get a list of all books, including author and title
                to: Get a list of all books, including author and title.
            responses:
                modified:
                    "200":
                        description:
                            from: books list
                            to: Books list.
                        content:
                            mediaTypeModified:
                                application/json:
                                    schema:
                                        title:
                                            from: books list
                                            to: ""
                                        description:
                                            from: list of books' identifiying information
                                            to: List of books' identifiying information.
                                        items:
                                            title:
                                                from: book identifiying information
                                                to: ""
                                            description:
                                                from: book author name and title
                                                to: Book author name and title.
                                            properties:
                                                modified:
                                                    author:
                                                        title:
                                                            from: book author name
                                                            to: ""
                                                        description:
                                                            from: ""
                                                            to: Book author name.
                                                    title:
                                                        title:
                                                            from: book title
                                                            to: ""
                                                        description:
                                                            from: ""
                                                            to: Book title.

Fixed by https://github.com/Tufin/oasdiff/pull/209


refactor(README): change README - issue#106

Signed-off-by: Parikshit Hooda<EMAIL_ADDRESS>Issue #
change readme to fix typo
Changes

optionall -> optional

Flags

Related Issues

Issue #106
Pull Request #

@sstone1 @mbwhite @dselman  Guys, please merge this as part of hacktoberfest.

In #114


test(pip): add testdata for poetry

Adds testdata for poetry

@puerco @nishakm can you have a look at this?

/lgtm


Detect whether the build is as a crate or the toplevel?

Thinking about where I'd like to use this crate, I figured out that I'd love to be using it in crates that I'm also uploading on crates.io. However, this would mean that the crate uploaded to crates.io would stop compiling after some time, which is Bad(tm). So I'm wondering, do you think there's a chance to detect whether the crate is being built directly or as a crates.io dependency, and (dis)able the warnings depending on that?
My guess would be it's not reasonably doable, but maybe I'm wrong and there's a solution? Besides that, the only other idea I can think of would be to have a feature to enable the todo-or-die, but then one'd have to remember to build with that feature from time to time to check new todos haven't triggered.
What do you think about this?

Publishing things to crates.io that uses todo-or-die doesn't sound like a good idea no matter what 😅
But I'm not actually sure this is possible 🤔

I do this, and run tests in CI:
[dev-dependencies]
todo-or-die = {version = "0.1", features = ["github"]}

#[cfg(test)]
todo_or_die::issue_closed!("rust-lang", "rust", 54725); // span.join()

Works great!


feat(MediumPosts): ta da

This brings in the MediumPosts component from the Gatsby Theme that I whipped up for w3/design a while ago. Every time we build the site, it will pull in the last three Medium posts.

Awesome! So glad you decided to bring this in 🥳
Do we want to add it to this page also? https://www.carbondesignsystem.com/whats-happening/news-and-articles/
Where does the imagery come from if we're using the component? I noticed this one didn't have one.

Awesome! So glad you decided to bring this in 🥳 Do we want to add it to this page also? https://www.carbondesignsystem.com/whats-happening/news-and-articles/
Where does the imagery come from if we're using the component? I noticed this one didn't have one.

We absolutely can. It can only grab a max of 10 posts though, which honestly is more than enough. I'll set it up with 9 just to keep a 3x3 grid of them.
The reason you don't see an image is because that article doesn't have one.

Hmm, we need a way to make sure nothing is posted to the website without an image. 🤔

Hmm, we need a way to make sure nothing is posted to the website without an image. 🤔

We can just make that part of our Medium publication release process.

I think I can create an image and we can update that, I think Mike would want it. But the option to have a backup image would be great too


Show form error message in New Project Form

Fixes #132
http://localhost:3000/admin/projects/new
Shows the error message on form submission

@Pranshu1902 react query removes the hustle of making a separate state to track errors. You can simply use mutation.error


[DEMO][Swarm of Manufacturing Agents to manage an entire factory]

Goals

[ ] Showcase the power of fully automated manufacturing with multi modal autonomous agents
[ ] Make Demo code
[ ] Make demo video and post on youtube, twitter, and agora

Swarm of multi modal autonomous agents for manufacturing!

Health Security agent: Agent that monitors the health of working conditions: input image of factory output: health safety index 0.0 - 1.0 being the highest

Quality Control agent: Agent that monitors the quality of the product: input image of product output: quality index 0.0 - 1.0 being the highest

Productivity agent: Agent that monitors the productivity of the factory: input image of factory output: productivity index 0.0 - 1.0 being the highest

Safety agent: Agent that monitors the safety of the factory: input image of factory output: safety index 0.0 - 1.0 being the highest

Security agent: Agent that monitors the security of the factory: input image of factory output: security index 0.0 - 1.0 being the highest

Sustainability agent: Agent that monitors the sustainability of the factory: input image of factory output: sustainability index 0.0 - 1.0 being the highest

Efficiency agent: Agent that monitors the efficiency of the factory: input image of factory output: efficiency index 0.0 - 1.0 being the highest

Flow:
health security agent -> quality control agent -> productivity agent -> safety agent -> security agent -> sustainability agent -> efficiency agent

Todo

[ ] Make SOPs for each agent
[ ] Gather images of safe and unsafe environments
[ ] Align outputs with one another and benchmark


Issues with Boxen Java and maven

So, I've been having a long standing issue with boxen and maven.
For example, I clone: https://github.com/scobal/seyren
I run mvn clean verify
I get:
exceptionGettingDataFromGraphiteIsHandled(com.seyren.core.util.graphite.GraphiteHttpClientTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 51.0

All the things I'm reading are basically saying "You're pointing at the wrong version of java"
And someone then said "Check your maven bin script, it's probably setting $JAVA_HOME incorrectly"
So I look and I see this:
# OS specific support.  $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
  CYGWIN*) cygwin=true ;;
  MINGW*) mingw=true;;
  Darwin*) darwin=true
           #
           # Look for the Apple JDKs first to preserve the existing behaviour, and then look
           # for the new JDKs provided by Oracle.
           #
           if [[ -z "$JAVA_HOME" && -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ]] ; then
             #
             # Apple JDKs
             #
             export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
           fi

           if [[ -z "$JAVA_HOME" && -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ]] ; then
             #
             # Apple JDKs
             #
             export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
           fi

           if [[ -z "$JAVA_HOME" && -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ]] ; then
             #
             # Oracle JDKs
             #
             export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
           fi

           if [[ -z "$JAVA_HOME" && -x "/usr/libexec/java_home" ]] ; then
             #
             # Apple JDKs
             #
             export JAVA_HOME=/usr/libexec/java_home
           fi
           ;;
esac

Is there a way to fix how we set the java home so maven can work?

I dunno, that's all from the maven install done by default with brew...


Update docs about debugging native code

Hi guys, I just update the docs adding info about debugging native code with a way to use the IDE debuggers on running RN applications.
Inglish is not my native language, so if there is something wrong appoint me 😅

Thanks @tuliocll, this solved my problem!!! <3

Hello @tuliocll, thank you for providing an additional information! 🙏
Left a few minor suggestion related to the formatting, but overall this looks good.
Can you also update at least the latest stable release versioned doc?

https://github.com/facebook/react-native-website/tree/main/website/versioned_docs/version-0.71

Done!


Pass timeout to rmw_wait

Connects to ros2/ros2#73

This needs a rebase since the commit list contains other commits.

+1

+1

+1

+1 with rebase/squash


I'm getting the errorNum :8 while sending the push notifications to ios devices.

`var apn = require('apn');
var gcm = require('android-gcm');
export default function notification( devicetype, devicetoken, alert, userid, action, profilepic,  image, youtubeimage, id ) {
if(devicetoken != "(null)") {
    var androidApiKey = '', cert = '', key = '', passphrase = '';

    if(process.env.NODE_ENV.toLowerCase() == "production") {
      cert = '/../config/ios_support/apns-cert.pem';
      key = '/../config/ios_support/apns-key.pem';
      passphrase = '*****';
      androidApiKey = "*******";
    }
    else {
      cert = '/../config/ios_support/apns-dev-cert.pem';
      key = '/../config/ios_support/apns-dev-key.pem';
      passphrase = '*******';
      androidApiKey = "********";
    }

    if(devicetype == "ios"){
        var myDevice = new apn.Device(devicetoken);

        var note = new apn.Notification();
        note.badge = 1;
        note.sound = "notification-beep.wav";

        note.alert = alert;

        note.category = "respond"

        note.device = myDevice;

        note.payload = { 'action': action, 'userid': userid, 'profilepic': profilepic, 'id':id};

        console.log("note.payload: "+ JSON.stringify(note.payload));

        //, 'WatchKit Simulator Actions': [{"title": "Show", "identifier": "showButtonAction"}]

        var callback = function (errorNum, notification) {
            console.log('Error is:.....', errorNum);
        }

        var options = {
            gateway: 'gateway.push.apple.com',
            //'gateway.sandbox.push.apple.com',
            // this URL is different for Apple's Production Servers and changes when you go to production
            errorCallback: callback,
            cert: __dirname.split('src/')[0] + cert,
            key: __dirname.split('src/')[0] + key,
            passphrase: passphrase,
            port: ****,
            cacheLength: 100
        }

        var apnsConnection = new apn.Connection(options);
        apnsConnection.sendNotification(note);
    }
    else if(devicetype == "android"){

        var gcmObject = new gcm.AndroidGcm(androidApiKey);
        var message = new gcm.Message({
            registration_ids: [devicetoken],
            data: {
                body: alert,
                action: action,
                userid: userid,
                profilepic: profilepic,
                id: id
            }
        });

        gcmObject.send(message, function(err, response) {
            if(err) console.error("error: "+err);
    //        else    console.log("response: "+response);
        });
    }
}

}`

Above is my code. In console, I'm getting all the stuff and device token is also fine. Android mobiles are getting notifications. But notifications are not sending to ios devices.

I'm getting this error in console : Error is:...... 8.
One more thing is, for the same device I'm able to send the notification for other functionality with other code. Really I'm pulling my hair out for this issue. And can't understand what's wrong with my code. Anyone please give solution for this.

I've tested in : github.com/noodlewerk/NWPusher. notifications are sending while testing from pusher.That means certificates are fine and device token is also fine. But while using my code notifications are not sending.


Murder on the dancefloor

I think this line https://github.com/volmer/bootsy/blob/master/app/uploaders/bootsy/image_uploader.rb#L11 makes any portrait-format image look very blurry.
Original:

Large:

@volmer or am I missing a setting?

Same issue, was doing double processing! Sorry @volmer!

Glad to know you managed to fix it! Sorry for the delay :bow:


what is default database creds

I can't run php artisan migrate because I don't know Docker database creds. Please help.

This project is only aimed at providing a php environment to run Laravel. Perhaps try looking into laradock.io

Hi there 👋 Yes you should use a different docker image for your database. I hope this helps.


Validate Template Parameter File

I think it would be useful to add support for validating a template's parameter file, similar to how Test-AzDeployment works. Are there any plans to implement such a feature?

We have some in #240 - what kinds of things would you want to test for?

If a deployment template has a parameters template, make sure the parameters template contains all the parameters listed in its deployment template. Must be a 1:1 match.
Verify that the parameters file has the correct JSON structure and syntax.

I think covering these things would be sufficient for most cases.

Thanks - for the first bullet (matching the template & param file) - would you expect a default (like the example in your 3rd bullet) or always expect that param to be supplied?

I think it would make sense for the default behavior to auto locate a deployment template's param file by naming convention, like how it works now. If the ttk param -TemplateParametersPath is specified, override the default behavior and expect the -TemplatePath param to take a single deployment template file. In this case, maybe have the tool verify that the deployment template file is really a deployment template by ensuring its $schema key matches a proper deployment URI (e.g., https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#).

Also, for the 1:1 param match, here's an excerpt of code I made to accomplish what I'm describing:
<#
Assume the following:
$template and $paramTemplate contain the current json objects represented as hash tables in a foreach loop
$currentTemplate contains the json file name of the template currently being processed
#>

# If the deployment template doesn't have a parameters key, skip all this
    if ($template.parameters) {
        # Check that parameters template contains all params listed in the main template
        if ($paramTemplate) {
            $missingParams = Compare-Object `
                -ReferenceObject ($template.parameters.GetEnumerator().Name | Sort-Object) `
                -DifferenceObject ($paramTemplate.parameters.GetEnumerator().Name | Sort-Object) `
                -IncludeEqual

            if ($missingParams.SideIndicator -match '<=|=>') {
                $missingParams | ForEach-Object {
                    if ($_.SideIndicator -eq "<=") {
                        Write-Output "The parameter '$($_.InputObject)' was present in deployment template '$currentTemplate' but was missing from the parameters template '$currentParamTemplate'"
                    }
                    if ($_.SideIndicator -eq "=>") {
                        Write-Output "The parameter '$($_.InputObject)' was present in parameters template '$currentParamTemplate' but was missing from the deployment template '$currentTemplate"
                    }
                }

                Write-Output "Please fix the parameters mismatch and try again"
                Exit
            } else {
                Write-Output "The parameters template matches the deployment template"
            }
        }
    } else {
        Write-Log "The deployment template '$currentTemplate' doesn't have parameters to process"
    }

Hang on to this and you can send a PR for it when the other one gets merged ;)

Closed as parameter file testing is now possible


Fix QhullError warning

Manually cherry-picked from v4 branch, PR https://github.com/BlueBrain/NeuroM/pull/1048

Codecov Report

Merging #1063 (94b2b71) into master (acbba0f) will not change coverage.
The diff coverage is 100.00%.


Support for ES 2.3.2?

Hi David,
Any plan on releasing support for ES 2.3.2?
Trying to follow the documentation I could not find a link to such version..
Thanks,
Omer
@Branor

Sure, here you go: https://github.com/couchbaselabs/elasticsearch-transport-couchbase/releases/tag/<IP_ADDRESS>-update1


[MM-16122] Floating date indicator doesn't change the date to reflect the messages being viewed

Summary
Floating indicator should be dependent on latest postId above and including the visibleStart post. It is depending on the util getOldestPostId which would return oldest post in the visble posts starting from visibleStartIndex
Ticket Link
https://mattermost.atlassian.net/browse/MM-16122
Related Pull Requests
This Pr is based off of https://github.com/mattermost/mattermost-webapp/pull/2932. Changes specific to this PR can be seen at  https://github.com/mattermost/mattermost-webapp/commit/195c35f97c22f93571edf98902699e4efb21a76c

@enahum. @migbot I merged master which has the changes i needed from the other PP. ATM git history will have those commit hashes but i will remove those commit messages when merging.

@sudheerDev perfect


Open serial monitor in tmux instead of screen?

Any chance of having support for opening the serial monitor in tmux instead of screen?

`tmux

This is probably because tmux does not support becoming a serial console. (The main developer views it as bloat that violates the UNIX philosophy)


feat: add fish theme

I think this time is very nice, so I add a fish version 😄

Thanks for the PR!


Can't install in a fresh laravel application

Just tried this package in a fresh version of the latest Laravel and immediately hit issues with Composer:
Using version ^1.1 for proxeuse/fortify-tabler
./composer.json has been updated
Running composer update proxeuse/fortify-tabler --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laravel/framework ^8.40, found laravel/framework[v8.40.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - laravel/tinker is locked to version v2.6.1 and an update of this package was not requested.
    - laravel/tinker v2.6.1 requires illuminate/console ^6.0|^7.0|^8.0 -> found illuminate/console[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - laravel/sail is locked to version v1.8.3 and an update of this package was not requested.
    - laravel/sail v1.8.3 requires illuminate/console ^8.0|^9.0 -> found illuminate/console[dev-master, v8.0.0, ..., 8.x-dev, 9.x-dev (alias of dev-master)] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - facade/flare-client-php 1.8.1 requires illuminate/pipeline ^5.5|^6.0|^7.0|^8.0 -> found illuminate/pipeline[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - facade/ignition 2.10.2 requires facade/flare-client-php ^1.6 -> satisfiable by facade/flare-client-php[1.8.1].
    - facade/ignition is locked to version 2.10.2 and an update of this package was not requested.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Perhaps you're using Laravel 7.x. Try it on Laravel 8, should be fine.

为什么安装上只是最初的版本  也没办法升级？？？

Perhaps you're using Laravel 7.x. Try it on Laravel 8, should be fine.

I am on Laravel 8:
Root composer.json requires laravel/framework ^8.40, found laravel/framework[v8.40.0, ..., 8.x-dev]


[FLINK-4228][yarn/s3a] fix yarn resource upload s3a defaultFs

What is the purpose of the change
If YARN is configured to use the s3a default file system, upload of the Flink jars will fail since its org.apache.hadoop.fs.FileSystem#copyFromLocalFile() does not work recursively on the given lib folder.
Brief change log

implement our own recursive upload (a slightly different solution compared to #2288)
add unit tests to verify its behaviour for both hdfs:// and s3:// (via S3A) resource uploads

Verifying this change
This change added tests and can be verified as follows:

added a unit test for HDFS uploads via our MiniDFSCluster
added integration test to verify S3 uploads (via the S3A filesystem implementation of the flink-s3-fs-hadoop sub-project)
manually verified the test on YARN with both S3A and HDFS default file systems being set

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes - internally)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (JavaDocs)

ok, finally, this seems to be in shape
My try to fool Travis in running for every commit though resulted in all those failed runs (which should really be read as "cancelled" since they never ran).
FYI: If desired, I could also create separate issues for the missing cleanup in the HadoopS3FileSystemITCase and the flink dist.jar delivered twice.

@tillrohrmann can you have a second look at the changes? (Travis already gave a green light on my branch with S3 tests enabled, the PR results will give the results without S3 tests due to missing credentials)

yes, I have tested the changes on a YARN cluster as described in the PR comment (before the changes on the unit tests)
regarding the pom.xml changes: I actually took those from 991af3652479f85f732cbbade46bed7df1c5d819 and 36b663f4561458408ee68902a1db6a5cd539e1c2 and can only guess why @StephanEwen and @zentol used this way except for what you proposed. Maybe they can clarify.

I think excluding dependencies without declaring them explicitly has the disadvantage that this relies implicitly on another dependency to pull in the right versions. Once this dependency is removed or its version bumped the whole build might fail because it no longer pulls in the dependency.

At the same time, pinning a dependency version can cause problems if a dependency is upgraded and requires another jackson version.
There isn't a perfect solution. The current approach works as long as the aws dependency pulls in jackson, which is less likely to change compared to it bumping the version used.

This is true, however, I think that in case of doubt the more explicit solution should be preferred, because it is more predictable.

So we pin the version, update aws at some point (and forget to check the dependency), and now we got a sleeper failure because there may be a single code-path that fails due to a version mismatch.
On the other hand, a missing dependency fails on every single code path that uses it.

Shouldn't we already have the problem of the sleeper failure by excluding Hadoop's dependency?
Agreed that a dependency management entry would require comments to explain it, but so does the exclusion, too.

yes there could be a sleeper failure in hadoop, but there's nothing we can do to fix that besides relocation jackson in either hadoop or aws, which is probably not possible.

I'm actually with Chesnay on the part of using exclusions (and letting AWS pull them in with the right version) rather than adding explicit dependencies because it will be easier to debug than an error due to a version conflict.
We can immediately spot those ClassNotFoundException instances in the failing unit tests (recall that those dependencies are all in test scope!) while as a version conflict may show up more subtle and be less easy to spot.

Alright, then we'll do it as you've proposed. I'll merge this PR. Thanks for your work @NicoK and the review @zentol and @StephanEwen.


error runing

root@scw-nostalgic-ganguly:~# docker run --name counter-strike_server -p 27015:27015/udp -p 27015:27015 counter-strike_server
I get this error
Unable to find image 'counter-strike_server:latest' locally
docker: Error response from daemon: pull access denied for counter-strike_server, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

I'll have a look at it this weekend.
Thanks for reporting.

The solution is quiet simple, I wrote the wrong command into the README.md.
Just try this:
docker run --name counter-strike_server -p 27015:27015/udp -p 27015:27015 febley/counter-strike_server:latest

Ok how i can add new map to this.can we know where the location is located.and how I can login as admin to manage the server.thank you

I recommend you to run this via the docker-compose command.
https://github.com/febLey/counter-strike_server#docker-compose
The other settings can be done via the server.cfg. Have a look at the README.md
I'm not sure how you add custom maps but I think you can mount a volume with a folder of custom maps.


Create mobkills.php

create a mobkills module so it can be include in themes

add the table-sorted class and remove the data tables pagination init from it. Then I'll merge. Pagination will be handled by the theme.


Updated descriptions for base_path and source

Hey there,
I was setting up my crowdin github actions and noticed this, so I thought I'd update the descriptions. 😊
The action failed when starting with a "/". For example:
source: "/src/i18n/languages/en/**/*.*" - action failed ❌
Removing the "/" solved it:
source: "src/i18n/languages/en/**/*.*" - works! ✅

Same thing for the base_path as well.

Hi @blairbodnar. Thank you for letting us know. It's great to hear that now everything is great on your side 😊

Thanks @zozulka!
Sorry,  I just now realized that the "/" actually doesn't matter for the translations. Only the base_path and source need the "/" in my latest testing! I rebased my commits and force pushed the change to keep it clean. 😊

Dear @blairbodnar. Thank you for sharing with us your latest testing. We appreciate it!

Hi @blairbodnar, could you please show the error when the Action was failed? It's ok if base_path or source contains the slash.

Hi @andrii-bodnar
I hope this helps. I got it to fail just now with this example:
My action is:
name: Upload sources on Crowdin

on:
  push:
    branches: [develop]
    paths:
      - 'src/i18n/languages/en/**'

jobs:
  upload-sources-on-crowdin:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: crowdin action
        uses<EMAIL_ADDRESS>        with:
          upload_sources: true
          upload_translations: false
          download_translations: false
          crowdin_branch_name: "customer-web-app-ga"
          source: "/src/i18n/languages/en/**/*.*"
          translation: "/src/i18n/languages/%locale%/**/%original_file_name%"
          token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
          project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Action error:

@andrii-bodnar
And tried it just now, the same but remove the "/" and action completed ok!
name: Upload sources on Crowdin

on:
  push:
    branches: [develop]
    paths:
      - 'src/i18n/languages/en/**'

jobs:
  upload-sources-on-crowdin:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: crowdin action
        uses<EMAIL_ADDRESS>        with:
          upload_sources: true
          upload_translations: false
          download_translations: false
          crowdin_branch_name: "customer-web-app-ga"
          source: "src/i18n/languages/en/**/*.*"
          translation: "src/i18n/languages/%locale%/**/%original_file_name%"
          token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
          project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@blairbodnar thanks a lot for the details provided! Let me clarify - are you using only the GH Action config without the crowdin.yml config?

@andrii-bodnar Yes - only the GH action config. No crowdin.yml 😊


fix bug in issue 973 - check linked key in jitbinding before inject with parent

Fix issue 973 and add test for it. #973
Bug in issue 973 is happened because not inject correct
injector into the instance.
It can be solved by just check whether child injector
already has linked key before use parent to

Not sure why the CI not passed because 404 not found

Hello. Any ETA on this getting into release? We are affected by this bug.

While I sympathize with the issue and the PR (and agree that the binding API leads the user down the wrong path here), this unfortunately is not submittable.
If we force linked bindings to stay in the child, then this can materially alter graphs such that:

Two sibling children will stop sharing an implementation in a scenario of (child1: bind Foo to Impl, child2: bind Foo to Impl]. You could argue that they never intended to share an impl... but we can't know that ahead of time.
A parent injector may later need to access the RHS of the binding, which it can do today (if not explicitly bound in the child). If we change that, the parent injector's usage will break.

I'll instead submit some documentation updates warning of this.


Use named import of 'history' module to fix #5576.

Fixes https://github.com/ReactTraining/react-router/issues/5576
The issue is when we have something like
import createBrowserHistory from  'history/createBrowserHistory'
you get file included into the result dist:
 node_modules/history/createBrowserHistory.js
And then when you import something like
import {smth} from 'history'
and your webpack or other build tool is configured to read packages.json>module property then it includes node_modules/history/es/index.js and then node_modules/history/es/createBrowserHistory.js
So both files are included:
node_modules/history/createBrowserHistory.js
node_modules/history/es/createBrowserHistory.js

Duplicated #5576

@pshrmn, yes, after these changes project includes only one copy of code from history/es directory.
@timdorr, I've added missing spaces.

Thanks!


DBZ-594 Stop copy threads after initial sync is completed

https://issues.jboss.org/browse/DBZ-594

Rebased and applied. Thanks, @jpechane!


x/sys: add darwin/arm support

Original syscall CL is http://golang.org/cl/2123 , but these files should be re-generated for x/sys.

I think this issue is moot because it's not possible to generate all
the required definitions for iOS.
A lot of facilities implemented on desktop darwin are lacking headers
in the official iOS SDK. Most notably, the bpf, ptrace and low-level
networking headers are missing.
Moreover, why would someone want to use ptrace, bpf or raw socket
on iOS?


[improve][storage] Periodically rollover Cursor ledgers

Motivation
Each ManagedCursor stores its own status on a BookKeeper ledger and this ledger is rolled over when one of these conditions are met: some time passed or too many entries have been written.
The problem is that the condition is checked only while writing to the ledger: if no consumer sends acknowledgments then the ledger is never rolled over.
This may become a problem because there will be a long lived ledger that doesn't respect the configuration set by the administrator for "ledger rollover".
Creating a new ledger allows the Bookies to reclaim space, especially thanks to the GC (Garbage collection) mechanism, and then with the Compaction.
Having a long lived ledger prevents the Bookie to release disk space promplty with the GC, and so only Compaction can release space, but compaction is an expensive operation.
For this reason in some usecases you want to configure a frequent rollover of the ledgers for the topics, and thus you want that such rollover happens at the same frequency also for the cursor ledgers.
Modifications
This patch simply allows the broker to periodically check every ManagedCursor and apply the rollover configuration even when there is no consumer activity.
Verifying this change
This change added tests
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/eolivelli/pulsar/pull/26

LGTM.
I agree that we should find out the long live ledgers and shorten their lifecycle, so that we do not need to speed lots of effort on compaction.
According to my finding, the space reclaimed by compaction take up a large part of the total space reclaimed, which will spend lots of I/O resource. We should increase the ratio of space reclaimed by deleting the entire entry log.


New clear selection button is styled as a button by Chrome and looks terrible

Using version 4.1.0-rc.0 and bootstrap 5 gives this:-

Caused by the element now being a button instead of a span

With v4.0.13 the clear selection X is still a span and looks perfect:-

Styling appears to be coming from Chrome user agent stylesheet.
Can be fixed with:-
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    padding: 0;
    border: none;
}

See https://apalfrey.github.io/select2-bootstrap-5-theme/ on how to use select2 with bootstrap 5.


Sync toy alternative

Description of the new feature / enhancement
So i know you can still technically install synctoy, but it has not been maintained for years.
Basically like synctoy, select two folders, select oneway or twoway sync, and then manual and scheduled runs or possible even run based on file system event.
Scenario when this would be used?
So my current usecase for this is i have Itunes installed on a VM that i use to manage the music i own, sometimes i purchase a new song or sometimes i delete a song. Itunes keeps the song on a folder on the VM so i then copy that folder to my onedrive so i can have access to it anywhere.
There are also some files on my server that i would like to just have a simple copy of on my NAS.
Supporting information
No response

/dup #26


IOT TRAINING

Hey! @dualpower19  could you describe the issue

I believe in the near future it's available


[🐛 BUG] "Xplora server not responding" error some days after installation

System Health details
System Information

version
core-2022.8.3

installation_type
Home Assistant Supervised

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.10.5

os_name
Linux

os_version
5.10.0-0.bpo.15-arm64

arch
aarch64

timezone
Europe/Stockholm

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
pending

GitHub API Calls Remaining
4831

Installed Version
1.26.2

Stage
running

Available Repositories
1120

Downloaded Repositories
27

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
pending

Home Assistant Supervisor

host_os
Debian GNU/Linux 10 (buster)

update_channel
stable

supervisor_version
supervisor-2022.08.6

agent_version
null

docker_version
20.10.17

disk_total
58.3 GB

disk_used
23.5 GB

healthy
true

supported
failed to load: Unsupported

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.3.3), Samba share (10.0.0), SSH & Web Terminal (12.0.1), Duck DNS (1.15.0), Eufy Home Assistant MQTT Bridge (1.24.0), Mosquitto broker (6.1.2), MariaDB (2.4.0), phpMyAdmin (0.8.0), SONOS AudioClip TTS (2.0.3), Node-RED (12.0.2)

Dashboards

dashboards
4

resources
28

views
4

mode
yaml

Recorder

oldest_recorder_run
5 September 2022, 07:09

current_recorder_run
10 September 2022, 12:14

estimated_db_size
279.21 MiB

database_engine
sqlite

database_version
3.38.5

Spotify

api_endpoint_reachable
pending

Checklist

[X] I have enabled debug logging for my installation.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue
Hi, trying to reach out here as well as a last resort.
I've been struggling with the xplora integration since July when we first got the watch. Setting up and installing the integration worked perfect, but after a couple of days we (on both mine and my wifes phone) couldn't get into the xplora app in order to add new contacts, respond to text messages etc. We were met at the login with the message "Xplora server not responding." And in Home Assistant it also gives errors and is not working:

This error originated from a custom integration.
Logger: custom_components.xplora_watch.binary_sensor
Source: custom_components/xplora_watch/binary_sensor.py:175
Integration: Xplora® Watch (documentation, issues)
First occurred: 07:37:42 (13 occurrences)
Last logged: 08:23:02
Login to Xplora® API failed. Check your input! Server error.
Login to Xplora® API failed. Check your input! Failed.
Login to Xplora® API failed. Check your input! Authentication failed.

I first thought the issue was at xploras end, so I've been having a lot of communications with their support - which led to nothing (it did seem they were familiar with HA.) However, after disabling the xplora integration in Home Assistant the xplora app started working again after a couple of days. After reinstalling the integration again in HA, a couple of days went by with both the integration/app working perfect - but then we're again met with the same error message in the xplora app and errors in Home Assistant. Rinse and repeat 3-4 times again with same results.
And now I've had the integration disabled for about 1 month and the app has worked without issues. And this Monday I again installed the integration - and yes, the errors are back. I'm using the minimal configuration at the moment and are using the child phonenumber, as a seperate account, to login (the workaround to avoid getting logged out from the app on my phone)
So I'm wondering if the xplora server is temporary banning our account because the integration is sending too much requests or something? This is something I couldn't get a reply from the xplora support.
Reproduction steps

Install xplora integration in HA
Works fine for a couple of days
After a couple of days I'm getting login errors in log and can't use the integration or the xplora app
...

Debug logs
2022-09-14 08:49:12.349 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xplora_watch which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-09-14 08:49:42.051 DEBUG (MainThread) [custom_components.xplora_watch] init Xplora® Watch
2022-09-14 08:49:42.051 DEBUG (MainThread) [custom_components.xplora_watch] set Entity-Types: ['charging', 'safezone', 'state', 'dt_watch', 'battery', 'step_day', 'xcoin', 'alarms', 'silents']
2022-09-14 08:49:42.051 DEBUG (MainThread) [custom_components.xplora_watch] init API-Controller from Library
2022-09-14 08:49:42.051 DEBUG (MainThread) [custom_components.xplora_watch] Xplora® Api-Library Version: 2.0.117-1267
2022-09-14 08:49:42.965 DEBUG (MainThread) [custom_components.xplora_watch] Xplora® Watch IDs: ['********']
2022-09-14 08:49:42.965 DEBUG (MainThread) [custom_components.xplora_watch] set Update interval Sensors: 0:03:00
2022-09-14 08:49:42.965 DEBUG (MainThread) [custom_components.xplora_watch] set Update interval Tracker: 0:01:00
2022-09-14 08:49:43.076 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] set Tracker
2022-09-14 08:49:43.076 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] set WatchScanner
2022-09-14 08:49:43.076 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] set async_init
2022-09-14 08:49:43.076 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:49:43.100 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] set Binary Sensor: charging
2022-09-14 08:49:43.100 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] set Binary Sensor: safezone
2022-09-14 08:49:43.100 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] set Binary Sensor: state
2022-09-14 08:49:43.101 DEBUG (MainThread) [custom_components.xplora_watch.sensor] set Sensor: battery
2022-09-14 08:49:43.101 DEBUG (MainThread) [custom_components.xplora_watch.sensor] set Sensor: step_day
2022-09-14 08:49:43.101 DEBUG (MainThread) [custom_components.xplora_watch.sensor] set Sensor: xcoin
2022-09-14 08:49:43.159 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Xcoin ******** | XCoins: 291
2022-09-14 08:49:43.418 DEBUG (MainThread) [custom_components.xplora_watch.entity] init switch silent Zoey Watch Silent 08:00-15:30 ********
2022-09-14 08:49:43.421 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch State ******** | State: True
2022-09-14 08:49:43.459 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Step_Day ******** | Step per Day: 0
2022-09-14 08:49:43.613 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:49:43.615 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Charging ******** | State: False
2022-09-14 08:49:43.628 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Safezone ******** | State: True
2022-09-14 08:49:45.506 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Battery 01103B2C452F5F5F775F5F6869057979 | Battery: 100 | Charging False
2022-09-14 08:49:45.678 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:50:45.869 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:50:46.195 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:50:46.583 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:51:55.875 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:51:56.233 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:51:56.630 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:52:45.517 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Xcoin ******** | XCoins: 291
2022-09-14 08:52:45.720 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Step_Day ******** | Step per Day: 0
2022-09-14 08:52:46.252 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Battery ******** | Battery: 100 | Charging False
2022-09-14 08:53:05.881 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:53:06.250 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:53:06.970 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:53:13.782 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch State ******** | State: True
2022-09-14 08:53:13.979 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Charging ******** | State: False
2022-09-14 08:53:14.033 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Safezone ******** | State: True
2022-09-14 08:54:15.891 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:54:16.228 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:54:16.658 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:55:25.901 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:55:26.268 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:55:26.681 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:56:15.525 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Xcoin ******** | XCoins: 291
2022-09-14 08:56:15.690 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Step_Day ******** | Step per Day: 0
2022-09-14 08:56:16.226 DEBUG (MainThread) [custom_components.xplora_watch.sensor] Updating sensor: Zoey Watch Battery ******** | Battery: 100 | Charging False
2022-09-14 08:56:35.918 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:56:36.271 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:56:36.713 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********
2022-09-14 08:56:43.789 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch State ******** | State: True
2022-09-14 08:56:43.944 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Charging ******** | State: False
2022-09-14 08:56:43.966 DEBUG (MainThread) [custom_components.xplora_watch.binary_sensor] Updating sensor: Zoey Watch Safezone ******** | State: True
2022-09-14 08:57:45.926 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] xplora_tracker_switch
2022-09-14 08:57:46.293 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] Updating device data ********
2022-09-14 08:57:46.689 DEBUG (MainThread) [custom_components.xplora_watch.device_tracker] load address from openstreetmapData © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright ********

Thanks for the all the great work you're putting into this integration @Ludy87 !
I installed version 2 and at first it worked great, but now we're again met with the same error message while trying to use the xplora app ("Unknown network error. Server was not responding. Please try again later")
Do you think it could have something to do with the "Scan interval"  setting? I just left it on the standard 180, but perhaps I need to increase it? It's however hard to experiment at the moment since we're locked out from the app, and it will be like that for a couple of days after disabling the integration if it behaves like previous times.

You will not be excluded, you will only be logged out. You can log into the app at any time.
"Unknown network error. Server was not responding. Please try again later" It's a problem with Xplora, I don't think adjusting the scan intervals would improve it.


Use Native Add-Ons to boost performance

This PR adds native add-ons to speed up some functions of Meerkat DSA, particularly those that were performance bottlenecks:

Decoding Object Identifiers from bytes and strings.
String preparation and DirectoryString comparison.

I still need to get the build of the native add-ons working, publish the packages, then incorporate them into the build.


Support custom compendium for imports

Sometimes, when importing, I want to use a modified class feature or item from my own compendium. A good example of this is the Rogue Sneak Attack. The default one in the pf1 system doesn't include any damage roll, so I want to override with my own feature.
The current functionality means that every time my Rogue (and other players) updates his character sheet in Hero Lab and re-imports it, the Sneak Attack is broken again.
Suggested Implementation: Allow compendiums that are part of the current world to be processed first, so that any custom items added to the world will be preferred when matching up entries for the import. This could be enabled/disabled by a configuration checkbox.
Alternate (Less Desirable) Implementation: Only allow imports for a compendium with a specific name.
I think this would be a really small change to the codebase. I appreciate your consideration.

Related to #76

Version 2.8 now looks in WORLD compendiums for Items before looking in the SYSTEM or MODULE compendiums.


Allow passing empty containers in Cachito params

Cachito handles empty lists passed to pkg_managers in a special manner.
We want to lose aotmic-reactor restrictions when passing parameters to
cachito, since an empty array may have a different meaning from a null
value.
Signed-off-by: Athos Ribeiro<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

Docs PR: https://github.com/containerbuildsystem/osbs-docs/pull/159

I included a reference to a CLOUDBLD story.

RN added:

allow passing empty containers in Cachito params


Selection management

Testing #223152

set a selection within a given cell
ESC -> cell gets focus
Cmd+/ -> selection from step 1 is lost and all content of the cell is selected
Arrow-up or down
Cmd+/ -> now you have two cells with fully selected content

I would expect that the selection from step 1 is retained/restored. And, if I don't have a selection after step 3, no selection would be visible.

It looks like step 2 still causes the selection to be lost and step 3 still comments out everything.

pair verified with @Yoyokrazy


[HIVE-22634]Improperly SemanticException when filter is optimized to False on a partition table

When filter is optimized to False on a partition table, it will throw improperly SemanticException reporting that there is no partition predicate found.
The step to reproduce is
set hive.strict.checks.no.partition.filter=true;
CREATE TABLE test(id int, name string)PARTITIONED BY (`date` string);
select * from test where `date` = '20191201' and 1<>1;

The above sql will throw "Queries against partitioned tables without a partition filter"  exception.

+1

@WangGuangxin , can we add the test to the PR?


What about AIML ?

I know about AIML, but nowhere could I find a mention of the chatbot in combination with the AIМL.
Let's say I have a database of dialogs in the language of AIML and I want to use a chatterbot to work with it.
Tell me, what do I need to do for this?

Sounds similar to #137


added azure web site manual cert plugin.

Hi
I have created a plugin that can be used to generate a letsencrypt cert for an azure website and automatically apply it to the site.
It will use the certificate store on the machine it is running on, and store some local files there as well (i didn't want to rewrite everything), so it is currently only for manual use.
It will upload the certificate to azure website and assign it to the hostname (note, the app service plan have to be standard for it to work).
I intend to make real unattended solution that can run in azure, but it will take some more time, so just wanted to share this for now.
I have tested it on this site: https://ssltest.sjkp.dk/

Hi I am Trying to install SSL using Using your letsencrypt-win-simple package code
I made all thing ready It is going smooth till I select my site host name and local path to store the certificate. once i cross the step its showing error.so kindly help me to solve the issue,

please .

@sjkp it does not support to retrieve subscriptions from other tenants

@draviyam just put empty string to the temp folder

@hazzik what do you mean by other tenants? Do the account you login (which is an organizational account) have access to more than one tenant?

@hazzik the easiest way around it would be to just use the tenant you want to login to instead of common on line 127 in AzureWebSitesPlugin.cs
var authContext = new AuthenticationContext(settings.AuthenticationEndpoint + "YOURTENANT.onmicrosoft.com");

I don't know how to list the tenants with meaningful names with the ARM libaries, if I figure it out I will update the pull request.

I tried re-writing the code the results are not positive.Sorry

I am having accesses to account details without errors in normal code if I rename(rewrite) my account(credentials) as you said the result is shown as bad request during power shell azure login.Please help me to sort out the problem

@hazzik  If I tried as You said I get the following response

I checked my web page directory using FTP I can't see any uploads there I Donna whether this will show any upload but said this info. may be it will be useful for you to trace the problem caused.

@draviyam my comment about line 127 was for @hazzik
Sound strange that it isn't working. Are you sure nothing is uploaded, you can e.g. check using yoursitename.scm.azurewebsites.net go to debug console and you can browse into site\wwwroot.well-known?
It should look something like this (the challenge file should be named differently)

Can you browse the URL http://apartmentz360.com/.well-known/acme-challenge that is printed to the console?
Are your site written in PHP? I can see a request header, X-Powered-By:PHP/5.6.10 I don't know how PHP handle the web.config file that I write to the acme-challenge folder.

@sjkp I have only trial subscription of azure, and default tennant does not show this subscription. If I try to get that subscription explicitly (client.Subscriptions.Get(mySubscriptionId)) I receive following error:

{"The access token is from the wrong issuer 'https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/'. It must match the tenant 'https://sts.windows.net/f8e7c348-af14-40aa-b2e7-99d4519d49d6/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/f8e7c348-af14-40aa-b2e7-99d4519d49d6' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later."}

The tenant "f8e7c348-af14-40aa-b2e7-99d4519d49d6" can be found in client.Tenants.List(), where client is SubscriptionClient.
I fixed the error by authorizing like this:
var authContext = new AuthenticationContext(settings.AuthenticationEndpoint + "f8e7c348-af14-40aa-b2e7-99d4519d49d6", settings.ValidateAuthority);

I will try to come up with a generic solution

@draviyam just try again, it worked only from second time (I'm not sure why).

@hazzik  and @sjkp  Thank you so much finally we succeded sucessfully got ssl
@sjkp  it was my mistake I changed the root folder of my site so the kit uploaded content was inside root and not identified
and as @hazzik said the certificate installs on second time
once again thank you guys :)

@draviyam please take note, that you have to remember to renew your lets encrypt certificat with the tool before it expires, the tool in its current version doesn't automatically update it. I have been working on a site extension, that automatically updates the certificate, but it is a little more involved to setup at first. Just search for "Letsencrypt" under site extension in azure preview portal if you want to try it out.

@sjkp  sure I will try and let you know the result tanks again :)

@sjkp I took a look at your code and I tested it with regular IIS sites, I don't have any Azure sites to test it with as i'm running too many Azure VMs and using up all of my credit.
A couple of things I would like to see.
First, since it has been switched to use the web_config.xml file in the app root instead of a hard coded webConfig constant, could you change your code in AzureWebSitesPlugin.cs Lines 62-68 to reflect that?
Second, could you create a wiki page on how to use the Azure WebSites Plugin? That's not needed before I approve the pull, but that would probably be helpful to anyone who wants to use it with Azure WebSites in the future.

Due to the changes made for supporting SAN, there are going to have to be even more changes made as the base plugin has been changed with new methods that will have to be supported.

@rkerber it's okay - im not gonna maintain this plugin, it was mostly a proof of concept. I have created a site extension that is better suited for using lets encrypts certs on azure websites. https://github.com/sjkp/letsencrypt-siteextension


date32 type not supported using infer_schema

Describe the bug
A clear and concise description of what the bug is.

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pandera.

Hoping that pandera can handle date32 types, but this appears to raise an error.
Code Sample, a copy-pastable example
import pandas as pd
import pyarrow as pa
from io import BytesIO
import pandera

df = pd.DataFrame([pd.Timestamp.now().date()], columns=['mydate'])

pqtypes = {
    'mydate': pa.date32(),
}

buffer = BytesIO()
df.to_parquet(
    buffer,
    engine='pyarrow',
    schema=pa.schema([pa.field(x, y) for x, y in pqtypes.items()])
    )

buffer.seek(0)
del df

df2 = pd.read_parquet(buffer)
pandera.infer_schema(df2)

Traceback (most recent call last):
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\engines\pandas_engine.py", line 137, in dtype
    return engine.Engine.dtype(cls, data_type)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\engines\engine.py", line 210, in dtype
    raise TypeError(
TypeError: Data type 'date' not understood by Engine.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users//AppData/Roaming/JetBrains/PyCharmCE2021.3/scratches/scratch.py", line 25, in <module>
    pandera.infer_schema(df2)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\schema_inference.py", line 38, in infer_schema
    return infer_dataframe_schema(pandas_obj)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\schema_inference.py", line 72, in infer_dataframe_schema
    df_statistics = infer_dataframe_statistics(df)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\schema_statistics.py", line 15, in infer_dataframe_statistics
    inferred_column_dtypes = {col: _get_array_type(df[col]) for col in df}
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\schema_statistics.py", line 15, in <dictcomp>
    inferred_column_dtypes = {col: _get_array_type(df[col]) for col in df}
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\schema_statistics.py", line 185, in _get_array_type
    data_type = pandas_engine.Engine.dtype(inferred_alias)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandera\engines\pandas_engine.py", line 155, in dtype
    np_or_pd_dtype = pd.api.types.pandas_dtype(data_type)
  File "C:\Users\\AppData\Local\pypoetry\Cache\virtualenvs\ge-test-EiC6WPHn-py3.8\lib\site-packages\pandas\core\dtypes\common.py", line 1777, in pandas_dtype
    npdtype = np.dtype(dtype)
TypeError: data type 'date' not understood

Expected behavior
Hoping basic date32 types can be handled along with timestamps.
Desktop (please complete the following information):

OS: Windows
pandera: 0.11.0
pandas 1.4.2
pyarrow: 8.0.0

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @andycarter85. Thanks for the reproducible example.
Pyarrow supports  date types (date32 and date64) but pandas does not. Pandas only supports date times with  numpy.datetime64.
However, pandas does allow to wrap any python object in the numpy.object data type. That's how pyarrow can translate its own date types to pandas.
If I expand your example:
df2.info()
#> <class 'pandas.core.frame.DataFrame'>
#> RangeIndex: 1 entries, 0 to 0
#> Data columns (total 1 columns):
#>  #   Column  Non-Null Count  Dtype
#> ---  ------  --------------  -----
#>  0   mydate  1 non-null      object
#> dtypes: object(1)
#> memory usage: 136.0+ bytes

# looking at the first element of the "date32" column
print(f"{type(df2.iloc[0,0])=}")
#> type(df2.iloc[0,0])=<class 'datetime.date'>

You see that pd.read_parquet (pyarrow under the hood) has translated date32 to python's standard datetime.date.
We recently added support for logical data types, a mechanism to cover extra data types not officially supported by pandas. For example, we added a Decimal data type, which pyarrow supports but is also boxed in an object column. Logical data types should be part of the next release.
@cosmicBboy @andycarter85 tl;dr: I can add support for a Date logical type to extend the coverage of pyarrow types.

I can add support for a Date logical type to extend the coverage of pyarrow types.

Yes, that would be awesome!
@andycarter85 does using the object type work for you as a temporary workaround?

@andycarter85 how are you using infer_schema in your workflow?

I am just getting started with pandera tbh, we have some large pre-existing datasets that I wanted to try inferring a yaml schema for, and then iterate from there, rather than start building a schema from scratch .
As it looks like the issue has been resolved in #887 then happy to wait for the next release and try again then.

Not sure if the pa.date32 type is important in your use case, but a workaround here would be to convert all the columns containing dates into pandas-supported datetime64 before calling infer_schema.
import pandas as pd
import pyarrow as pa
from io import BytesIO
import pandera

df = pd.DataFrame([pd.Timestamp.now().date()], columns=['mydate'])

pqtypes = {
    'mydate': pa.date32(),
}

buffer = BytesIO()
df.to_parquet(
    buffer,
    engine='pyarrow',
    schema=pa.schema([pa.field(x, y) for x, y in pqtypes.items()])
    )

buffer.seek(0)

df2 = pd.read_parquet(buffer).astype({k: "datetime64[ns]" for k in pqtypes})
schema = pandera.infer_schema(df2)
print(schema.to_script())

Another thing to do would be to register a custom dtype (see https://pandera.readthedocs.io/en/stable/dtypes.html#example) but it would inherit from pandas_enginer.DateTime. The coerce method would then handle the conversion of datetime.date objects into pandas-supported datetime64[ns].


Bump API versions for client-side throttling

This is a fairly big, but rather mechanical piece of work: Review the existing requests and ensure that the bump for https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication is done (i.e. the throttleTime is reported as clientSideThrottleTime), and for all APIs used by KafkaJS that didn't support the client-side throttling yet add the needed API versions.
The first commit of the PR ensures that when adding the new APIs I didn't accidentally miss a bump somewhere, by moving the 'metadata about the API' test from the individual request.spec.js files into src/prototol/requests/index.spec.js, and making it generic over all requests defined.

Thanks for taking on this unbelievably boring task. I had been meaning to do it for a while now, but I just never could bring myself to it. 😅


CSS bug code aligning on the left [Docs, Bug]

On this part:
https://reacttraining.com/react-router/native/api/MemoryRouter/initialindex-number#Redirect-from-string

Expected Behavior
The code has been aligned to the left, Instead it should be on the right.

Apply labels docs and bug


v1.10 Appears to still be 1.9.5

I updated from an internal build to the 1.10 package and it appears to still be the 1.9.5 dlls. Extracted the dlls and decompiled - missing the interfaces included from my pull request a while back. Can we double check that the build went as expected?

Please check 1.10.1

All good, thanks!


No information on the SAP System is offered in the SAP Systems view

http://demo.trento-project.io/sapsystems
At moment we don't have Health information at page SAP Systems.

My two cents on this: I can see the value of having a health section in the SAP systems view similar to the one we have in the Hosts view or the Pacemaker Cluster view. But we have to be careful when we give a SAP system a green status. Trento is designed to collect information at OS level but a SAP system lives in other layers as well (e.g. the application or the database layer). A SAP system may have all its instances in green status (based in sapcontrol RCs) but being inoperable due to a syntax error in the ABAP code.

A SAP system may have all its instances in green status (based in sapcontrol RCs) but being inoperable due to a syntax error in the ABAP code.

I can definitely say that this level of insights is out-of-scope at the moment.
If SAPControl tells us it's green, then we tell the user it's green. 🙂

A SAP system may have all its instances in green status (based in sapcontrol RCs) but being inoperable due to a syntax error in the ABAP code.

I can definitely say that this level of insights is out-of-scope at the moment.
If SAPControl tells us it's green, then we tell the user it's green. 🙂

And that's perfectly fine. We just need to ensure that it is somewhere well documented that a SAP system in green status means that all its instances are in green status.

I see this as a potential enhancement but not necessarily something to be addressed right now. I've registered the suggestion under https://confluence.suse.com/display/SAP/Collection+point+for+potential+Trento+enhancements. The issue can be closed for now.

Closing as for the comment above


HHH-13527 Remove contention from StatisticsImpl

https://hibernate.atlassian.net/browse/HHH-13527

The backported version for 5.3 branch version needs to be a bit different, sending a separate PR.

don't merge this as it needs to incorporate feedback from review on https://github.com/hibernate/hibernate-orm/pull/2976


System unavailable: build-osuosl-aix72-ppc64-1 (<IP_ADDRESS>)

The machine : build-osuosl-aix72-ppc64-1 (<IP_ADDRESS>) can not currently be connected to via ssh.
The machine is pingable, and is showing as online in Jenkins.

System has been returned to service.


Add EnableXMLDataCapture to contenttype, add tests

Description
This adds EnableXMLDataCapture which adds two additional headers to check for XML.
(I think we want to be relatively precise with the types we want to capture, so we don't inadvertently capture application/html+xml, or svg+xml, or other variations) - so it is limited it to just text/xml and application/xml
Let me know if we would prefer just a blanket xml instead.
https://www.ietf.org/rfc/rfc2376.txt
As far as configuration goes, I think there were two high level options:
1.) Add a field to agent-config repo, maybe data_capture.xml_capture_enable - the only downside is that since XML support is not planned for other language agents a config flag could result in unexpected user behavior
(i.e, the config option not doing anything)
2.) In code option to enable, no impact on other agents, but requires an additional line of code to enable.  (since Go is used as an SDK I thought this approach would be okay)
Let me know if we'd prefer the agent-config route.

@prodion23 can we go with agent-config route with a field like allowedContentTypes? By default it should just be json and x-www-form-urlencoded. Enabling xml data capture would mean specifying json , x-www-form-urlencoded, and maybe xml or up to the use case I guess if they want to restrict to just application/xml, or application/soap+xml or others.


Linux offline app

Request from a partner, EndlessOS, who is doing outreach programs in emerging markets with no internet access.
They have their own Linux computers they take to these countries and would like an offline app of Arcade that works on Linux machines.  @manuq

Hey @Jaqster, I'm a partner success engineer at the Endless OS Foundation, and am also a volunteer for Flathub, the Linux app store we ship on Endless OS, comes as the default app source for the Steam Deck desktop mode, and is supported across almost every Linux distribution.
My EOSF colleague @manuq shared some notes about your meeting together, and I wanted to chime in to let you know that I'm here to help you and your team out when it comes to the Flatpak or Flathub side. I might not have all the answers personally, but I am in pretty constant communication with the rest of the folks at Flathub and can help point you in the right direction, to the right documentation, to the right person, etc.
I'd love to collaborate on bringing Microsoft MakeCode Arcade to Linux via Flathub. I'm happy to answer any questions here on this issue, or to connect via email at<EMAIL_ADDRESS>

Hi Cassidy, nice to meet you :-)  What might help is to get an idea of how many Linux devices you guys distribute per year, just to get a feel for scale, if that's public information.  Thanks!  @abchatra FYI

Sure @Jaqster! Flathub, the Linux app store that ships on Endless OS, Steam Deck desktop mode, Fedora, etc. has an estimated 1 million active users (based on public stats of the number of updates to a near universal dependency… I'm checking to see if we can get that announced publicly!).
For Endless OS specifically we estimate around 70,000 active users: 20,000 online users and 50,000 additional offline users (based on downloads and distribution arrangements with other vendors; since our solution is targeted to work well entirely offline, it's not possible to get an exact number of offline active users).
The beauty of Flathub is that it is an independent but centralized app store for all Linux distributions; it comes enabled out of the box on many distros and is usable with just a couple of steps on all others, with the same compatibility and sandboxing guarantees across all platforms. And in most cases, apps on Flathub are discoverable and automatically updatable from the OS's default app store client.

@Jaqster apologies for neglecting to update here; we announced over at Flathub in January that we have over a million active Linux installs of the Flathub app store itself. From a quick look at the stats again today, it looks like we'll hit 5 million active installs by this fall. This is driven by more Linux distributions shipping Flatpak and Flathub out of the box, as well as by the continued success of the Steam Deck which ships Flathub as its desktop mode app store.


nbdev testing documentation

I had a pretty hard time figuring out that the documentation for the nbdev tests (e.g. test_eq) is actually in fastcore, could there be some link or some bold sentence near the top of the nbdev test documentation explaining this?

@cedarmora - see the tip in https://nbdev.fast.ai/example.html#Where-The-Magic-Happens:-Write-Documentation-And-Tests and https://github.com/fastai/nbdev/blob/master/CONTRIBUTING.md
That might be a good way to get started.

Ok I see those two, thank you for pointing that out.
But as somebody who is just learning nbdev, that's not where I would have expected to learn about the tests, I would have expected to find this information on this page since it's the only tab in the nbdev documentation that has the word "tests" in it.
I'll see if I can whip up a PR

Good luck. I'm just learning this system as well.
I've found https://nbdev.fast.ai/nbdev_comments.html to be a great
reference, once you're really diving in beyond the tutorials.
You may find a typo or two there as well. 😉
On Thu, Aug 12, 2021 at 8:46 PM Cedar Mora @.***> wrote:

Ok I see those two, thank you for pointing that out.
But as somebody who is just learning nbdev, that's not where I would have
expected to learn about the tests, I would have expected to find this
information on this page https://nbdev.fast.ai/test.html since it's the
only tab in the nbdev documentation that has the word "tests" in it.
I'll see if I can whip up a PR
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fastai/nbdev/issues/517#issuecomment-898068451, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACHPQUTT3W4SBJTDWBU2NDT4RTM7ANCNFSM5CCF3SPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I see the source of your confusion, but just to help you clarify it:
https://nbdev.fast.ai/test.html is actually part of the documentation for the source code of nbdev itself.
Specifically, it documents the module called test:

https://github.com/fastai/nbdev/blob/master/nbs/04_test.ipynb (the test notebook)
https://github.com/fastai/nbdev/blob/master/nbdev/test.py (and the generated code for test)

As the documentation there says, the test module is there to let nbdev "extract tests".


Release v1.3.0

Revisions to ReCiPe LCIA mapping:

Add beta-cyfluthrin as target for cyfluthrin in https://github.com/USEPA/fedelemflowlist/pull/165
expand recipe glufosinate-ammonium to FEDEFL glufosinate in https://github.com/USEPA/fedelemflowlist/pull/169
expanding recipe nitrogen oxides (as nitrogen dioxide) to fedefl nitrogen oxides in https://github.com/USEPA/fedelemflowlist/pull/168
Added proxies to emissions of elementary metals in https://github.com/USEPA/fedelemflowlist/pull/167
expand recipe fenoxaprop-ethyl to fedefl fenoxaprop-p-ethyl in https://github.com/USEPA/fedelemflowlist/pull/171
pasture and managed forest as proxies for land use grassland/shrubland in https://github.com/USEPA/fedelemflowlist/pull/166
expand recipe vanadium(v) to fedefl vanadium(v) in https://github.com/USEPA/fedelemflowlist/pull/173
recipe2016: direct expansions for Ba(II), Be(II) and Tin(II) in https://github.com/USEPA/fedelemflowlist/pull/187

New flows:

Add 'Aldehydes, unspecified' as flowable in https://github.com/USEPA/fedelemflowlist/pull/163
new flowables and primary contexts from ecoinvent3.10 in https://github.com/USEPA/fedelemflowlist/pull/186
Adds flows for Cumulative Energy Demand LCIA method in https://github.com/USEPA/fedelemflowlist/pull/207
Adds new toxic organic flows (#202)
Adds Wood, primary forest (#196)
Fixes spelling error for Copper(I) sulfide (#206

Other updates:

Distinguish list from tool version; bump to v1.3.0 in https://github.com/USEPA/fedelemflowlist/pull/209

openLCA mapping for Manganese-55 needs to be updated to resolve failure


[AVM Module Issue]: compute/virtual-machine needs support for VMSS Flex

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/compute/virtual-machine
(Optional) Module Version
current
Description
I want to use this module to add VMs to an existing VMSS.  There seems to be no way to actually do this, though the documentation refers multiple times to things that are not compatible with VMSS such as explicit zone assignments and putting the VM into an availability set.
The ARM reference for Microsoft.Compute/virtualMachines shows that all that's needed is the resource ID of the target VMSS so hopefully this is an easy add.  I may take a shot at it myself.
virtualMachineScaleSet: {
id: 'string'
}
(Optional) Correlation Id
No response

@hooverken thanks! I will invesigate

@hooverken will be solved with #1835