DETECT EMAIL_ADDRESS

An email address is a piece of information that can directly or indirectly identify an individual. It can reveal the name, location, organization, or preferences of the owner. Email addresses are often used as login credentials for various online services, which can expose them to hacking or phishing attacks. Email addresses can also be linked to other sensitive data, such as financial records, health records, or social media profiles. Therefore, email address PII should be protected with encryption, authentication, and access control measures to prevent unauthorized disclosure or misuse.
Email addresses can be used to track, target, or spam individuals with unwanted messages, advertisements, or malicious links. They can also be used to access other online accounts or services that are linked to the email address, such as social media, banking, or shopping. This can lead to identity theft, fraud, or other cybercrimes. To prevent these risks, email addresses should be encrypted, anonymized, or pseudonymized when stored or transmitted, and users should be careful about sharing their email addresses online or clicking on suspicious links or attachments.
For more information on email address protection, please refer to this link (https://www.kiteworks.com/secure-email/protecting-pii-email-best-practices-for-cybersecurity/).
Please note that the example email address<EMAIL_ADDRESS>is used for demonstration purposes only and does not correspond to an actual email address.

You're suppose to add Sprint 1 as a milestone and assign yourself this issue. Other than that, your assigned PII is clear and simple.

Looks good

Hello, Kehniah. Great job on your explanation of the importance of safeguarding emails. Do you believe implementing encryption and authentication can enhance the security of an email address?

Do you believe implementing encryption and authentication can enhance the security of an email address?

Yes, implementing encryption scrambles email addresses into unreadable formats, protecting them from unauthorized access, while authentication ensures only authorized individuals can use or access the email address, enhancing overall security.


Add ~/.clang-tidy to enable linting in YCM

I've added a barebones clang-tidy config, which is linked to home by the general install script. This enables clang-tidy linting of some common bugs and coding practices via YCM. To enable this manually without running the whole install script, just symlink linux-setup/appconfig/cland/dotclang-tidy to ~/, where clang-tidy will find it for any files below the home folder. I strongly recommend doing this.

This is super useful!!! We should force update this to everybody, I already found some potentially "crashing" bugs thanks to this. Thanks!


some additional packages

Someone reached out to me and suggested that we add:

xr (and xr-hyper) for splitting main and appendix for conference submissions
thmtools, especially for restateable theorems

I'm not sold on adding them necessarily, but figured I'd document it here for now pending further thought.

thmtools was added at some point, so that's moot now. xr and xr-hyper still could be added

note: xr-hyper is moving into the xr package, and xr-hyper will be deprecated (per https://muug.ca/mirror/ctan/macros/latex/contrib/hyperref/doc/xr-hyper.pdf on 2024-01-20)

According to https://tex.stackexchange.com/questions/244239/correct-ordering-of-xr-hyper-hyperref-and-cleveref we need to load xr-hyper prior to hyperref and then finally cleveref. I'll give that a shot for now and see how it works while testing other things.


Search#repos method lacks support for per_page param

Guessing some others might as well. If per_page is accepted for all requests is there a way to support this without adding to all routes.json definitions?

updated: https://mikedeboer.github.io/node-github/#api-search-repos


V2 - add  to the list of returned values

This commit: https://github.com/TreeMama/iSeaTree-React-Prototype/commit/1b949e3a85d56e76978d82ffe0ec91a107f6e005
which is live in testflight as of 1/11/2021 has an error where it is missing the values from:

Expected result:
Return iTree API values  in all cases that there is a VALID API call. Otherwise - return

Hello.
I go the issue, correctly.
I can fix it quickly.
Please assign it to me.
Thank you.

Hello.
I go the issue, correctly.
I can fix it quickly.
Please assign it to me.
Thank you.

Please do this work in a separate feature branch, and then merge that feature branch when the work is done.
Do not commit directly to develop or master. See the branching guidelines in the README.

Please do this work in a separate feature branch, and then merge that feature branch when the work is done.
Do not commit directly to develop or master. See the branching guidelines in the README.

ok, no problem.

ok, no problem.


How grids inside grids behave?

Please, document how grids inside grids behave. Should it happen? If so, how?

Please look for "Nesting Grids" in the official docs.


[iqiyi]something wrong with vip video

when I try to download some VIP videos, I got the message WARNING: unable to log in: please login via the web interface and enter the CAPTCHA code, and I try to login in with web but no CAPTCHA.(before the video, I have already download 2 VIP videos.)
I guess, the IQIYI may be check the interval of login, because there are many block a video. and a download URL only has 20 minutes. so I have to login many times to download a video.
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-v', u'http://www.iqiyi.com/v_19rrkbqj9o.html#vfrm=7-2-0-1']
[debug] Encodings: locale cp936, fs mbcs, out None, pref cp936
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.11 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-77197-gdf2ce13, ffprobe N-77197-gdf2ce13
[debug] Proxy map: {}
[iqiyi] Get token for logging
[iqiyi] Validate credentials
WARNING: unable to log in: please login via the web interface and enter the CAPTCHA code
[iqiyi] temp_id: download video page
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading JSON metadata
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Download video info of segment 1 for format h3
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
WARNING: [iqiyi] Needs a VIP account for full video
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Download video info of segment 1 for format h5
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Download video info of segment 1 for format h2
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Download video info of segment 1 for format h6
[iqiyi] 2eed74a640b8c0e9dc27d79dc66d6ae8: Downloading video authentication JSON
[debug] Invoking downloader on u'http://<IP_ADDRESS>/videos/vip/20151201/cc/07/84d2b2ecd9c061ab1f5da161c8f9d6de.f4v?key=0dead0ab7b22a7f04b39d61ae07b3e67b&src=iqiyi.com&qd_tvid=423061600&qd_vipres=2&qd_index=1&qd_aid=423061600&qd_stert=0&qd_scc=fd4cd7279f52b591d201e726a1b36edd&qd_sc=1c5469d9c7a905980efad06b12747818&qd_src=1006665ba7c0d860bc9fe79944dbc0da&qd_ip=700b4341&qd_uid=0&qd_tm=1456387518000&qd_vip=0&tn=1456387515&qyid=83d24718a6b64b34a7082598aeb5455f&vid=2eed74a640b8c0e9dc27d79dc66d6ae8&cid=afbe8fd3d73448c9&QY00001=1023108576&su=e01e5fb65ec84d758ccf6a88b12197bd&bt=&client=&t=1456387519_e30c6f06b69f4f7a762e26a99822b6fe&z=&ct=&uuid=700b4341-56ceb5bf-a0'
[download] 夏洛特烦恼-2eed74a640b8c0e9dc27d79dc66d6ae8.f4v has already been downloaded
[download] 100% of 125.63MiB

youtube-dl should handle CAPTCHA gracefully. See  #154. Current workaround is using --cookies. For example: (cookie.txt will be created automatically)
$ youtube-dl --cookies cookie.txt --username<EMAIL_ADDRESS>--password some_password http://www.iqiyi.com/v_19rrny4w8w.html -vF
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'cookie.txt', '--username', 'PRIVATE', '--password', 'PRIVATE', 'http://www.iqiyi.com/v_19rrny4w8w.html', '-vF']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Git HEAD: a774a51
[debug] Python version 3.5.1 - Linux-4.4.1-2-ARCH-x86_64-with-arch-Arch-Linux
[debug] exe versions: avconv v12_dev0-2381-g8caadfc, avprobe v12_dev0-2381-g8caadfc, ffmpeg 3.0, ffprobe 3.0, rtmpdump 2.4
[debug] Proxy map: {}
[iqiyi] Get token for logging
[iqiyi] Validate credentials
[iqiyi] temp_id: download video page
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading JSON metadata
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 1 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 2 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 3 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 4 for format h6
^C
ERROR: Interrupted by user

$ youtube-dl --cookies cookie.txt http://www.iqiyi.com/v_19rrny4w8w.html -vF
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'cookie.txt', 'http://www.iqiyi.com/v_19rrny4w8w.html', '-vF']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Git HEAD: a774a51
[debug] Python version 3.5.1 - Linux-4.4.1-2-ARCH-x86_64-with-arch-Arch-Linux
[debug] exe versions: avconv v12_dev0-2381-g8caadfc, avprobe v12_dev0-2381-g8caadfc, ffmpeg 3.0, ffprobe 3.0, rtmpdump 2.4
[debug] Proxy map: {}
[iqiyi] temp_id: download video page
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading JSON metadata
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 1 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 2 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 3 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Download video info of segment 4 for format h6
[iqiyi] f3cf468b39dddb30d676f89a91200dc1: Downloading video authentication JSON
^C
ERROR: Interrupted by user

There's no need to provide crendentials after the first time. Cookies may get expired after some time. Just delete cookie.txt and run the first command again.


Jobs do not support both dedicated and low priority nodes

I use aztk from current master: https://github.com/Azure/aztk/commit/bcefca3d2f13138b5135481972a212e80365edf4
Creating mixed cluster for a job
I get this error message when trying to use mix of dedicated and low priority nodes in job cluster config:
2018-03-14  15:35:26: ERROR: Jobs do not support both dedicated and low priority nodes.
JobConfiguration fields max_dedicated_nodes and max_low_pri_nodes are mutually exclusive values.

The error seems to originate here:
https://github.com/Azure/aztk/blob/2bed496c398c7c3860ad62b1ce7d9fc14ee299bb/aztk/spark/client.py#L201-L202
On the other hand, in the Enable VNET project, the following item is marked as "Done":

Allow users to create MixedMode clusters (specify dedicated and low-pri in the same cluster).

Master node should always be provisioned on a dedicated node.

Creating mixed standalone cluster
When I try to create a cluster from the following cluster.yaml file using aztk spark cluster create --id pi-test1,
#cluster.yaml
vm_size: standard_e4_v3
size: 2
size_low_pri: 2
username: spark
docker_repo:
wait: false

I get a cluster only with low priority nodes:
Cluster         pi-test1
------------------------------------------
State:          active
Node Size:      standard_e4_v3
Nodes:          2
| Dedicated:    0
| Low priority: 2

|               Nodes                |        State        |        IP:Port       | Dedicated  |  Master  |
|------------------------------------|---------------------|----------------------|------------|----------|
|tvm-1512202362_1-20180314t155215z-p |        idle         | <IP_ADDRESS>:50000 |            |    *     |
|tvm-1512202362_2-20180314t155215z-p |        idle         | <IP_ADDRESS>:50001 |            |          |

This behaviour seems to be caused by the following code:
https://github.com/Azure/aztk/blob/c237501a9f9ab20d213c8377956de1a2f8043570/aztk_cli/config.py#L154-L160
Questions

Can I create mixed clusters at all?
What are the changes required to make jobs support mixed clusters?

Due to limitations cluster can only work with mixed mode if you have a subnet provided. Though It should throw you an error if you don't have it setup and try to use mixed mode so this sounds like a bug. Doc for mixed mode
For job submission we don't support it yet though it shouldn't be a big change to enable now

@timotheeguerin Thank you for the link
Yeah, I got the error:

You must configure a VNET to use AZTK in mixed mode (dedicated and low priority nodes). Set the VNET's subnet_id in your cluster.yaml

after I hacked config not to set  output.vm_count = 0
https://github.com/Azure/aztk/blob/c237501a9f9ab20d213c8377956de1a2f8043570/aztk_cli/config.py#L158-L160
Let me try this with a subnet.

Thanks, adding a subnet worked for the standalone cluster.
Now I'm trying to do the same with the jobs.
I've replaced this
https://github.com/Azure/aztk/blob/2bed496c398c7c3860ad62b1ce7d9fc14ee299bb/aztk/spark/client.py#L192-L202
with
            autoscale_formula = "$TargetDedicatedNodes={0}; $TargetLowPriorityNodes={1}".format(
                    job_configuration.max_dedicated_nodes, job_configuration.max_low_pri_nodes
            )

But now the job is stuck in "Cluster provisioning" state for about 25 minutes:
$ aztk spark job get --id test-job-3
Job               test-job-3
------------------------------------------
State:            active
Transition Time:  17:23PM 14/03/18

Cluster                             | Provisioning

Applications
------------------------------------------
scheduling:       1

No Spark applications will be scheduled until the master is selected.

There is some extra configuration checks that are required to support mixed mode with Jobs. I put this on the backlog for the next release, so you can expect it soon.

if the cluster is stuck provisioning it probably means the master wasn't elected because something failed in the start task. To see that you go check the files startup/stderr.txt and startup/wd/logs/docker.log on one of the nodes with BatchLabs or the Azure Portal

@timotheeguerin I'm actually seeing the same bug, but it appears to be because the cluster is not being created at all. The job schedule and job are active, with a autopool spec that looks right, but no cluster is created. I'm investigating.

Was the cluster provisioning issue caused by the enable_node_intercommunication flag?

Yes, that was the issue. Batch requires that pools created with both dedicated and low priority nodes have that flag disabled.
It was interesting that the service did not throw an error when this was done by way of an autopool created through a job schedule. I believe that should not be allowed.

Yeah, sounds like a bug.
Thanks a lot for fixing this so fast! Much appreciated. I'll try submitting the job again on Monday.


Random Battle: Improve STAB detection/rejection

Fixes Golem-Alola's Return not being counted as STAB, which would cause the set Return/Earthquake/Stealth Rock/Toxic to have a move rejected in favor of STAB.
Having Conversion in Porygon-Z's moveset now counts for exactly once for STAB and Adaptability, instead of making every move count as STAB but not for Adaptability.
Fixes Protean making moves that are STAB anyway count as two STABs each.
Now STAB moves (except those granted by Conversion and Protean) count for 0.1 extra move in their category for the purposes of determining a moveset's setupType. This means that, in the case of a tie between physical and special setup, the tie will be broken by which side has more STABs, instead of such a tie always going to special setup by default. This fixes a case where Arceus-Dragon could end up with no STAB moves via the following events:

Roll Judgment, Earth Power, Swords Dance, and Outrage in that order
Reject Judgment due to the presence of another STAB and physical setup type
Roll Calm Mind; moves are now Earth Power, Swords Dance, Outrage, and Calm Mind
Reject Swords Dance due to the tie between physical and special setup having been settled in special setup's favor by default
Roll Fire Blast; moves are now Earth Power, Outrage, Calm Mind, and Fire Blast
Reject Outrage for not matching the special setup type, and being the only attack to do so
Roll Extreme Speed or Earthquake and reject it for the same reason as Outrage
Roll Recover and reject it for not being a STAB or a setup move, despite there being none such moves left in movePool

This change fixes this scenario by settling the tie in favor of the physical side because it has the only STAB move, resulting in Earth Power being rejected instead of Swords Dance. This leads to the subsequent rejection of Calm Mind, which happens regardless of what move is chosen to replace Earth Power, because with Judgment already gone, there is no way for the setup type to change to anything other than physical.

Nice work! I was thinking about Porygon-Z myself. This is one solution but it doesn’t guarantee which move is first. I had an idea to remove the Tri Attack rejection and then modify the moveset later on by replacing Tri Attack with Shadow Ball for example and then setting it in slot 1. This means removing Shadow Ball from the movepool off course.

Hey @MacChaeger,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because something unrelated to the tests, like a problem a dependency or the build process itself.

I think that happens when you merge before the test finishes.
On Fri, Apr 13, 2018 at 4:29 AM, Travis Buddy<EMAIL_ADDRESS>wrote:

Hey @MacChaeger https://github.com/MacChaeger,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed
because something unrelated to the tests, like a problem a dependency or
the build process itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Zarel/Pokemon-Showdown/pull/4541#issuecomment-381079957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AULj4HEYamky_vq8wAS3rZQomZmPIJgMks5toG_6gaJpZM4TEpeV
.


Hard to find default configurations for schedulers

I'm running the MOBSTER scheduler and I find it hard to figure out what the default configuration is, say the reduction factor between rungs. There's several reasons for that:

The docstring of MOBSTER doesn't actually explain all the options, but refers to HyperBandScheduler instead (and neither on the website nor in VSCode there's an easy way to jump to that). Maybe adding a see also link would be good or using some docstring replication logic to repeat all the kwargs docs? There might be some package that does that for you?

Finding the API docs for MOBSTER or HyperBandScheduler on the website is hard. Some searching found this but there was also this less helpful page.

There's no links to the docstrings in the tutorial: https://syne-tune.readthedocs.io/en/latest/tutorials/multifidelity/mf_async_model.html#asynchronous-mobster

The code in the examples isn't clickable to jump to the docstrings. I think intersphinx is the right plugin for that?

Once I found the documentation of the paramteters it was actually quite helpful. But still not sure how to easily reach it.
This might seem nitpicks but if you care about broader adoption of your awesome package, I think documentation and navigation of documentation are really important topics.

Hello Andreas,
the docstring for MOBSTER contains links to HyperbandScheduler docstring, which work for me. But I can add some additional "see also" links, good point.
I can also add links to docstrings in the tutorial, this makes sense as well.
Thanks for the feedback.

Hey Matthias. Where do you view the MOBSTER docstring? Is it either of the links I shared above?

Closed by #787


2019 winrt builds are broken :(

When I execute
aqt install 5.15.2 windows winrt win64_msvc2019_winrt_x86
OR
aqt install 5.15.2 windows winrt win64_msvc2019_winrt_x64
on either Linux or Windows, the installation fails with:
FileNotFoundError: [Errno 2] No such file or directory: '/home/test/5.15.2/msvc2019_winrt_x64/mkspecs/qconfig.pri'
This is because the actual directory path is:
/home/test/5.15.2/winrt_x64_msvc2019/mkspecs/qconfig.pri
test@hp14:~$ ls -al /home/test/5.15.2/winrt_x64_msvc2019/mkspecs/qconfig.pri
-rw-r--r-- 1 test test 963 Nov 12  2020 /home/test/5.15.2/winrt_x64_msvc2019/mkspecs/qconfig.pri

Example traceback on Windows:
2021-07-12T18:17:47.4968319Z Traceback (most recent call last):
2021-07-12T18:17:47.4969363Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\runpy.py", line 193, in _run_module_as_main
2021-07-12T18:17:47.4970108Z     "__main__", mod_spec)
2021-07-12T18:17:47.4970793Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\runpy.py", line 85, in _run_code
2021-07-12T18:17:47.4971472Z     exec(code, run_globals)
2021-07-12T18:17:47.4972306Z   File "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\aqt.exe\__main__.py", line 7, in <module>
2021-07-12T18:17:47.4973316Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\__init__.py", line 31, in main
2021-07-12T18:17:47.4974012Z     return cli.run()
2021-07-12T18:17:47.4974769Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\installer.py", line 675, in run
2021-07-12T18:17:47.4975535Z     result = args.func(args)
2021-07-12T18:17:47.4976323Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\installer.py", line 285, in run_install
2021-07-12T18:17:47.4977181Z     Updater.update(target_config, base_dir)
2021-07-12T18:17:47.4978038Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\updater.py", line 321, in update
2021-07-12T18:17:47.4978741Z     raise e
2021-07-12T18:17:47.4979481Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\updater.py", line 291, in update
2021-07-12T18:17:47.4980366Z     updater.set_license(base_dir, target.version, arch_dir)
2021-07-12T18:17:47.4981286Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\aqt\updater.py", line 235, in set_license
2021-07-12T18:17:47.4982252Z     os.path.join(base_dir, qt_version, arch_dir, "mkspecs", "qconfig.pri"), "r+"
2021-07-12T18:17:47.4983171Z FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Qt\\5.15.2\\msvc2019_winrt_x64\\mkspecs\\qconfig.pri'

Does a change in #311 work for you?

Thanks!
I tried doing a manual patch, but I seem to have another error now - I can't judge if the first one is fixed....
I'll post the whole traceback so you can get an idea of what's going on.
tester@hp14:~/test_qt$ aqt install  5.15.2 windows winrt win64_msvc2019_winrt_x64
aqtinstall(aqt) v1.2.2 on Python 3.9.5 [CPython GCC 10.3.0]
Downloading qtbase...
Downloading qtwebchannel...
Downloading qttranslations...
Downloading qtsvg...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtwebchannel-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.86922790
Downloading qtmultimedia...
Finished installation of qtsvg-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 4.46899881
Downloading qtdeclarative...
Finished installation of qttranslations-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 4.94983746
Downloading qtgraphicaleffects...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtmultimedia-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 4.78283529
Downloading qtwebsockets...
Finished installation of qtgraphicaleffects-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.69875127
Downloading qttools...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtwebsockets-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.41539220
Downloading qtimageformats...
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtdeclarative-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 22.62518431
Downloading qtsensors...
Finished installation of qtimageformats-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 18.35928330
Downloading qtquickcontrols...
Downloading qt3d...
Finished installation of qtbase-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 33.11511275
Downloading qtconnectivity...
Finished installation of qttools-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 25.97016341
Downloading qtxmlpatterns...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtquickcontrols-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 6.86102334
Downloading qtquickcontrols2...
Finished installation of qtconnectivity-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 4.20966259
Downloading qtscxml...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtxmlpatterns-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 9.19081039
Downloading qtspeech...
Finished installation of qtscxml-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 6.89807419
Downloading qtgamepad...
Finished installation of qt3d-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 13.33291069
Downloading qtwebview...
Redirected: qtproject.mirror.liquidtelecom.com
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtspeech-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.34935586
Downloading qtremoteobjects...
Finished installation of qtquickcontrols2-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 10.16986200
Finished installation of qtgamepad-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.33033766
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtwebview-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 3.54453655
Redirected: qtproject.mirror.liquidtelecom.com
Finished installation of qtremoteobjects-Windows-Windows_10-MSVC2019-WinRT-WinRT_10-X86_64.7z in 4.48872815
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 428, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:1112: The handshake operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 385, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=3.5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/helper.py", line 55, in getUrl
    r = requests.get(url, allow_redirects=False, timeout=timeout)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=3.5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/installer.py", line 724, in installer
    hash = binascii.unhexlify(getUrl(hashurl, timeout, logger))
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/helper.py", line 70, in getUrl
    raise ArchiveConnectionError()
aqt.exceptions.ArchiveConnectionError
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/tester/.local/bin/aqt", line 8, in <module>
    sys.exit(main())
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/__init__.py", line 31, in main
    return cli.run()
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/installer.py", line 675, in run
    result = args.func(args)
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/installer.py", line 283, in run_install
    self.call_installer(qt_archives, base_dir, sevenzip, keep)
  File "/home/tester/.local/lib/python3.9/site-packages/aqt/installer.py", line 688, in call_installer
    pool.starmap(installer, tasks)
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 771, in get
    raise self._value
aqt.exceptions.ArchiveConnectionError
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner

Update: it just succeeded with
aqt install  5.15.1 windows winrt win64_msvc2019_winrt_x64 -b https://mirrors.ocf.berkeley.edu/qt/
so likely I am experiencing network issues.
Confirming now with 5.15.2 ...

yes, this works fine :)
Any chance of an update soon, so I don't have to patch my CI workflow? ;)

v1.2.3 is out with the fix.

I noticed - thanks a lot for the quick turnaround :)


[JOSS Review] Minor comments

Hello! I've gone through the examples and such, and really only have minor comments.

The first is that HS94_Makie.jl didn't run for me. I get the error message

ArgumentError: No file exists at given path: /var/folders/7h/kw60pdp92yv7z_x6hjb4b0mr0000gq/T/HS94_animation_link/run/HS94.jld2

when trying to run the Pluto notebook

The second, and really minor, is that in the documentation when looking through "Functionalities" a couple functions are listed as ClimateModels.function where they should be MITgcm.function, if that make sense. These are specifically the functions build, clean, compile, and setup.

Aside from those I didn't run into issues running the code/examples given. I have some thoughts on the documentation itself, but don't feel that this should prevent the paper from being published so maybe take the remainder as "potential considerations for future versions of the documentation" :)
I really like MITgcm_workflow.jl and HS94_animation.jl, since they both provide a good walkthrough of how to run specific model configurations and read the output. I do think that it would be helpful though to provide a bit more info on what's going on.
For example, in MITgcm_workflow.jl when we get to analyzing results the user is shown a list of (what I think are all) outputs from running the configuration, in my case this was tutorial_global_oce_biogeo. However what the variables are is sort of vague, I don't really know what's contained in something like "surfDiag.0005184004.001.002.data" and it could be useful to have a reference point on what exactly I'm looking at/what the MITgcm returns to the user. I'm guessing that this is all documented in the MITgcm documentation itself, so maybe providing a link to the relevant location?
Going to HS94_animation.jl, I have a somewhat similar comment. In the block on Workflow Steps, we're shown sort of three things. First we setup the directory, then compile, and then how to modify parameters. Setting up the directory and compiling the model is fine since this is, I'm guessing, fairly uniform across the different configurations, but the tunable parameters likely change between model configurations. It could be helpful to describe to the user what options they have, so again just a link to the MITgcm documentation and/or providing an explanation here. It’s also still not overly clear to me how one goes about changing parameters. In this example I can piece together what was done, but for example in the line
fil1=joinpath(PICKUP_hs94_path,"pickup.0000043200.data”)
I don’t know where the path PICKUP_hs94_path came from, or how we knew that this is how to adjust the initial state.
I guess in summary, providing information on the MITgcm and what capabilities it has, especially considering there will be people who come to use MITgcm.jl who (like me) have never used the MITgcm before. So reading pickups and building models are all sort of foreign concepts when you’re used to Julia ocean models. As a bit of a side note, it would also be really cool if there was an example that demonstrated the adjoint capabilities the MITgcm (ECCO?) has. I’m guessing this would be computationally expensive, but still really neat to see in Julia.

cross-linking : https://github.com/openjournals/joss-reviews/issues/6710

Thanks @swilliamson7 for the very useful feedback.

The first is that HS94_Makie.jl didn't run for me. I get the error message

The reason for this is that the 3 HS94*jl tutorials need to be run in sequence. This is indicated in the docs but, within each notebook, the error message you get is not sufficient.
in https://github.com/gaelforget/MITgcm.jl/pull/130
I added switches to by pass running the code cells that would error out + a message that provides users direction on the notebooks they need to run first. I added another warning in the docs about this too.

The second, and really minor, is that in the documentation when looking through "Functionalities" a couple functions are listed as ClimateModels.function where they should be MITgcm.function, if that make sense. These are specifically the functions build, clean, compile, and setup.

I am not sure that this is an issue to fix, as these are methods that are imported from ClimateModels.jl and are specialized for MITgcm here. Also the source code links point to the right code within MITgcm.jl.
With this said, I added a statement that The following three methods implement the ClimateModels.jl's interface for MITgcm. just before these doc strings in the online docs.
In PR tbd ...

I really like MITgcm_workflow.jl and HS94_animation.jl, since they both provide a good walkthrough of how to run specific model configurations and read the output. I do think that it would be helpful though to provide a bit more info on what's going on.

Great to hear! Thank you!!

For example, in MITgcm_workflow.jl when we get to analyzing results the user is shown a list of (what I think are all) outputs from running the configuration, in my case this was tutorial_global_oce_biogeo. However what the variables are is sort of vague, I don't really know what's contained in something like "surfDiag.0005184004.001.002.data" and it could be useful to have a reference point on what exactly I'm looking at/what the MITgcm returns to the user. I'm guessing that this is all documented in the MITgcm documentation itself, so maybe providing a link to the relevant location?

will do

Going to HS94_animation.jl, I have a somewhat similar comment. In the block on Workflow Steps, we're shown sort of three things. First we setup the directory, then compile, and then how to modify parameters. Setting up the directory and compiling the model is fine since this is, I'm guessing, fairly uniform across the different configurations, but the tunable parameters likely change between model configurations. It could be helpful to describe to the user what options they have, so again just a link to the MITgcm documentation and/or providing an explanation here. It’s also still not overly clear to me how one goes about changing parameters. In this example I can piece together what was done, but for example in the line
fil1=joinpath(PICKUP_hs94_path,"pickup.0000043200.data”)
I don’t know where the path PICKUP_hs94_path came from, or how we knew that this is how to adjust the initial state.

will do

I guess in summary, providing information on the MITgcm and what capabilities it has, especially considering there will be people who come to use MITgcm.jl who (like me) have never used the MITgcm before.

agreed

So reading pickups and building models are all sort of foreign concepts when you’re used to Julia ocean models.

I tend to think that it's not so different -- initial conditions might be in jld2, and the build step via a constructor in Julia. That's the thinking behind the design of ClimateModels.jl.

As a bit of a side note, it would also be really cool if there was an example that demonstrated the adjoint capabilities the MITgcm (ECCO?) has. I’m guessing this would be computationally expensive, but still really neat to see in Julia.

Agreed, but if that's ok I'd like to separate this out as an issue for later. Adjoint examples are in fact listed in https://github.com/gaelforget/MITgcm.jl/issues/117 with other features that I feel could be good to add.

Maybe we are ready to close this issue? Please let me know

Yes, issue can be closed! Sorry that my first comment was just me missing instructions 😅

Yes, issue can be closed!

Cool!

Sorry that my first comment was just me missing instructions 😅

Not at all. It's helped improve the notebooks & was totally fair comment. Thank you again


Support template

Closes #42
Description

Template drafted for Question/Help/Support
Consists of attributes for criticality of the support and description

Check List (Check all the applicable boxes)

[ ] I understand that my contributions needs to pass the checks.
[ ] If I created new functions / methods, I documented them and add type hints.
[ ] If I modified already existing code, I updated the documentation accordingly.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Sure! That makes sense. Have merged the changes suggested!

Thanks @harisaisundhar ! Now merging this


chore(main): release 2.2.0

:robot: I have created a release beep boop
2.2.0 (2024-07-21)
Features

add support to monitor multiple instances of pg-promise and underlying pg-client and pg-pool instances (13b4008)

Bug Fixes

check if duration is available in receive event (717c1cb)
check if duration is available in receive event (deee1bf)
check if duration is available in receive event (d92b5d3)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.2.0
:sunflower:


[windows] port of Siconos

An issue for an open discussion about a port of siconos on Windows.
For the moment, possible ways might be

use the Ubuntu Console in Windows to perform installation as on Linux Machine
full port through visual studio
a conda package
docker vm
standard vm

What do you think ?

I was able to compile siconos on windows using visual studio a few years ago. I was closed to make it work on appveyor (see the appveyor.yml file), to have a windows CI.
I also had some binaries created using cross-compilation, but 5 or 6 years ago.
Recently I had good success using LLVM to cross-compile from Linux to windows, using the Visual Studio SDK. It looks really sturdy.
I think that a conda package would be also great to allow people to install siconos easily.
VM are rather limited in usefulness.

Also see the other packaging issues for ideas on Windows https://github.com/siconos/siconos/labels/packaging

I added here issue #47
NSIS has some scripting capabilities that could be leverage to provide a nice NSIS installer for Siconos with some dependencies "automatically" installed, like the MSVC C++ redistribuable kit.
Freecad seems to be using this technique and we could use their NSIS-related file as templates.

I transfer here the issue #56
See https://blog.kitware.com/create-dlls-on-windows-without-declspec-using-new-cmake-export-all-feature/
It would enable us to remove a few hacks if it is does the job.

Transferred in https://github.com/siconos/siconos/wiki/Wish-list-and-enhancement


Fix Bug where mobile number can be deleted on update even if required

See https://praekeltorg.atlassian.net/browse/MOLO-378?focusedCommentId=29986&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-29986

👍  🍰  🍰


Instance backup missing some data?

I recently did a fresh install to try and get around the python 3.12 issue with octolapse and arcwelder, but after restoring my previous backup to the new instance it's missing all of my uploaded gcode files, timelapses, and within octoprint backups. Is this normal behavior for the octoprint_deploy instance backups? If I had known I would have saved the within octoprint backup to a usb or something, I lost a lot of data to this.

I tried making a new instance and using the same backup, but this time it included the Gcode files, but not timelapses or achievements. not really sure what data is saved in the backup, and what isn't.

It excludes timelapses, but everything else should be there.


[BUG] iPhone12Mini 16.2 Bluez disconnected immediately for darwin chip-tool with rasp4 chip-lighting-app

Reproduction steps
1.run rasp4 chip-lighting-app
2.run darwin chip-tool on iPhone12mini with iOS 16.2
3.scan the qrcode generated with chip-lighting-app link https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0YXE00KA0648G00
4.the terminal for ssh rasp4 shows:
[1671008257.766338][3359:3362] CHIP:DL: Device 4B:50:01:11:8C:5D (Path: /org/bluez/hci0/dev_4B_50_01_11_8C_5D) Connected
[1671008258.866166][3359:3362] CHIP:DL: Bluez disconnected
[1671008258.866251][3359:3362] CHIP:DL: Bluez notify CHIPoBluez connection disconnected

Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
9c0ca13 - Fix Linux standalone job. (#23897)
Platform
darwin
Platform Version(s)
iOS 16.2
Anything else?
rasp4 full log:
ubuntu@ubuntu:~$ apps/chip-lighting-app
[1671008251.647105][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1671008251.652608][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1671008251.652661][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
[1671008251.658982][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
[1671008251.659342][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
[1671008251.659516][3359:3359] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
[1671008251.659910][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-IabAmT)
[1671008251.660617][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1671008251.660690][3359:3359] CHIP:DL: NVS set: chip-counters/reboot-count = 2 (0x2)
[1671008251.661705][3359:3359] CHIP:DL: Got Ethernet interface: eth0
[1671008251.662408][3359:3359] CHIP:DL: Found the primary Ethernet interface:eth0
[1671008251.663146][3359:3359] CHIP:DL: Got WiFi interface: wlan0
[1671008251.663231][3359:3359] CHIP:DL: Failed to reset WiFi statistic counts
[1671008251.663276][3359:3359] CHIP:SPT: *** WARNING: Using temporary passcode 20202021 due to no neither --passcode or --spake2p-verifier-base64 given on command line. This is temporary and will disappear. Please update your scripts to explicitly configure onboarding credentials. ***
[1671008251.663306][3359:3359] CHIP:SPT: *** WARNING: Using temporary test discriminator 3840 due to --discriminator not given on command line. This is temporary and will disappear. Please update your scripts to explicitly configure discriminator. ***
[1671008251.663331][3359:3359] CHIP:SPT: PASE PBKDF iterations set to 1000
[1671008251.663376][3359:3359] CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one.
[1671008251.671166][3359:3359] CHIP:DL: Device Configuration:
[1671008251.671235][3359:3359] CHIP:DL:   Serial Number: TEST_SN
[1671008251.671272][3359:3359] CHIP:DL:   Vendor Id: 65521 (0xFFF1)
[1671008251.671309][3359:3359] CHIP:DL:   Product Id: 32769 (0x8001)
[1671008251.671345][3359:3359] CHIP:DL:   Hardware Version: 0
[1671008251.671369][3359:3359] CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
[1671008251.671392][3359:3359] CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
[1671008251.671423][3359:3359] CHIP:DL:   Manufacturing Date: (not set)
[1671008251.671447][3359:3359] CHIP:DL:   Device Type: 257 (0x101)
[1671008251.671469][3359:3359] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ====
[1671008251.671509][3359:3359] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00]
[1671008251.671559][3359:3359] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
[1671008251.671582][3359:3359] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00
[1671008251.671615][3359:3359] CHIP:SVR: Manual pairing code: [34970112332]
[1671008251.671650][3359:3359] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ====
[1671008251.671705][3359:3359] CHIP:SVR: SetupQRCode: [MT:-24J0YXE00KA0648G00]
[1671008251.671745][3359:3359] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
[1671008251.671768][3359:3359] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0YXE00KA0648G00
[1671008251.671803][3359:3359] CHIP:SVR: Manual pairing code: [749701123365521327694]
[1671008251.671880][3359:3359] CHIP:SVR: Server initializing...
[1671008251.671919][3359:3359] CHIP:FP: Initializing FabricTable from persistent storage
[1671008251.672043][3359:3359] CHIP:TS: Last Known Good Time: 2022-09-26T18:50:21
[1671008251.672107][3359:3359] CHIP:DMG: AccessControl: initializing
[1671008251.672132][3359:3359] CHIP:DMG: Examples::AccessControlDelegate::Init
[1671008251.672165][3359:3359] CHIP:DMG: AccessControl: setting
[1671008251.672190][3359:3359] CHIP:DMG: DefaultAclStorage: initializing
[1671008251.672224][3359:3359] CHIP:DMG: DefaultAclStorage: 0 entries loaded
[1671008251.672296][3359:3359] CHIP:IN: UDP::Init bind&listen port=5540
[1671008251.672463][3359:3359] CHIP:IN: UDP::Init bound to port=5540
[1671008251.672503][3359:3359] CHIP:IN: BLEBase::Init - setting/overriding transport
[1671008251.672529][3359:3359] CHIP:IN: TransportMgr initialized
[1671008251.672833][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_kvs-ZtuVi6)
[1671008251.673554][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1671008251.673709][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_kvs-9BWWa8)
[1671008251.675931][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1671008251.678476][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_kvs-yA2ohf)
[1671008251.679175][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1671008251.679241][3359:3359] CHIP:ZCL: Using ZAP configuration...
[1671008251.679355][3359:3359] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0005: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679419][3359:3359] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0010: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679495][3359:3359] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0000: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679549][3359:3359] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0001: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679621][3359:3359] CHIP:DMG: Failed to read stored attribute (1, 0x0000_0006, 0x0000_0000: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679673][3359:3359] CHIP:DMG: Failed to read stored attribute (1, 0x0000_0006, 0x0000_4003: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679743][3359:3359] CHIP:DMG: Failed to read stored attribute (1, 0x0000_0008, 0x0000_4000: ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1671008251.679799][3359:3359] CHIP:DMG: AccessControlCluster: initializing
[1671008251.679828][3359:3359] CHIP:DMG: Endpoint 0, Cluster 0x0000_0030 update version to a494d15
[1671008251.679887][3359:3359] CHIP:ZCL: GeneralDiagnostics: OnDeviceReboot
[1671008251.679913][3359:3359] CHIP:DMG: Endpoint 0, Cluster 0x0000_0033 update version to 27e88779
[1671008251.680027][3359:3359] CHIP:EVL: LogEvent event number: 0x0000000000010000 priority: 2, endpoint id:  0x0 cluster id: 0x0000_0033 event id: 0x3 Sys timestamp: 0x00000000007CE233
[1671008251.680059][3359:3359] CHIP:ZCL: Initiating Admin Commissioning cluster.
[1671008251.680098][3359:3359] CHIP:DMG: Endpoint 0, Cluster 0x0000_0004 update version to 351043ac
[1671008251.680122][3359:3359] CHIP:DMG: Endpoint 0, Cluster 0x0000_0004 update version to 351043ad
[1671008251.680313][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_kvs-QXpGRl)
[1671008251.681244][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1671008251.681312][3359:3359] CHIP:DMG: Endpoint 0, Cluster 0x0000_002B update version to 814580e6
[1671008251.681359][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to 39f6f3e2
[1671008251.681386][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to 39f6f3e3
[1671008251.681426][3359:3359] CHIP:ZCL: On/Off set value: 1 0
[1671008251.681450][3359:3359] CHIP:ZCL: On/off already set to new value
[1671008251.681736][3359:3359] CHIP:DL: writing settings to file (/tmp/chip_kvs-PqLLjY)
[1671008251.683345][3359:3359] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1671008251.683456][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0008 update version to 4b854eb0
[1671008251.683509][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to 89b4a254
[1671008251.683539][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to 89b4a255
[1671008251.683567][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0300 update version to 89b4a256
[1671008251.683611][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0406 update version to 756ce94b
[1671008251.683639][3359:3359] CHIP:DMG: Endpoint 1, Cluster 0x0000_0406 update version to 756ce94c
[1671008251.683799][3359:3359] CHIP:IN: SecureSession[0xaaaabb72ee10]: Allocated Type:1 LSID:42237
[1671008251.683841][3359:3359] CHIP:SC: Assigned local session key ID 42237
[1671008251.683878][3359:3359] CHIP:SC: Waiting for PBKDF param request
[1671008251.683916][3359:3359] CHIP:DIS: Updating services using commissioning mode 1
[1671008251.688040][3359:3359] CHIP:DIS: CHIP minimal mDNS started advertising.
[1671008251.690627][3359:3359] CHIP:DL: Using wifi MAC for hostname
[1671008251.690752][3359:3359] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32769 discriminator=3840/15 cm=1
[1671008251.692515][3359:3359] CHIP:DIS: Responding with _matterc._udp.local
[1671008251.692555][3359:3359] CHIP:DIS: Responding with D5D182C98095B00C._matterc._udp.local
[1671008251.692581][3359:3359] CHIP:DIS: Responding with DCA63256709A0000.local
[1671008251.692606][3359:3359] CHIP:DIS: Responding with DCA63256709A0000.local
[1671008251.692638][3359:3359] CHIP:DIS: Responding with _V65521._sub._matterc._udp.local
[1671008251.692669][3359:3359] CHIP:DIS: Responding with _T257._sub._matterc._udp.local
[1671008251.692697][3359:3359] CHIP:DIS: Responding with _S15._sub._matterc._udp.local
[1671008251.692724][3359:3359] CHIP:DIS: Responding with _L3840._sub._matterc._udp.local
[1671008251.692766][3359:3359] CHIP:DIS: Responding with _CM._sub._matterc._udp.local
[1671008251.692808][3359:3359] CHIP:DIS: Responding with D5D182C98095B00C._matterc._udp.local
[1671008251.692833][3359:3359] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'.
[1671008251.695809][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::dea6:32ff:fe56:709a
[1671008251.698490][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:32ff:fea1:f788
[1671008251.701141][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.701393][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.703951][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.704160][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.706734][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.706958][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.709254][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::644f:9fff:fe17:43dd
[1671008251.711618][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::40e8:9bff:fe85:7e61
[1671008251.714445][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b06c:72ff:fef3:e08e
[1671008251.716953][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::8061:22ff:feda:be00
[1671008251.719398][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b8c6:3ff:fe1e:a53f
[1671008251.719614][3359:3359] CHIP:DIS: mDNS service published: _matterc._udp
[1671008251.719676][3359:3359] CHIP:DIS: Updating services using commissioning mode 1
[1671008251.724225][3359:3359] CHIP:DIS: CHIP minimal mDNS started advertising.
[1671008251.727187][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::dea6:32ff:fe56:709a
[1671008251.729591][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:32ff:fea1:f788
[1671008251.732039][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.732372][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.734853][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.735052][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.738015][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.738272][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.740623][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::644f:9fff:fe17:43dd
[1671008251.742916][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::40e8:9bff:fe85:7e61
[1671008251.745209][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b06c:72ff:fef3:e08e
[1671008251.747512][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::8061:22ff:feda:be00
[1671008251.749801][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b8c6:3ff:fe1e:a53f
[1671008251.750517][3359:3359] CHIP:DL: Using wifi MAC for hostname
[1671008251.750631][3359:3359] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32769 discriminator=3840/15 cm=1
[1671008251.752071][3359:3359] CHIP:DIS: Responding with _matterc._udp.local
[1671008251.752104][3359:3359] CHIP:DIS: Responding with D5D182C98095B00C._matterc._udp.local
[1671008251.752126][3359:3359] CHIP:DIS: Responding with DCA63256709A0000.local
[1671008251.752148][3359:3359] CHIP:DIS: Responding with DCA63256709A0000.local
[1671008251.752174][3359:3359] CHIP:DIS: Responding with _V65521._sub._matterc._udp.local
[1671008251.752200][3359:3359] CHIP:DIS: Responding with _T257._sub._matterc._udp.local
[1671008251.752224][3359:3359] CHIP:DIS: Responding with _S15._sub._matterc._udp.local
[1671008251.752248][3359:3359] CHIP:DIS: Responding with _L3840._sub._matterc._udp.local
[1671008251.752748][3359:3359] CHIP:DIS: Responding with _CM._sub._matterc._udp.local
[1671008251.752788][3359:3359] CHIP:DIS: Responding with D5D182C98095B00C._matterc._udp.local
[1671008251.752809][3359:3359] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'.
[1671008251.755474][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::dea6:32ff:fe56:709a
[1671008251.757889][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:32ff:fea1:f788
[1671008251.760335][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.760580][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fd00:6d61:7474:6572::1
[1671008251.762968][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.763174][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::42:7dff:fe87:26d9
[1671008251.765566][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.765796][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::1
[1671008251.768089][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::644f:9fff:fe17:43dd
[1671008251.770440][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::40e8:9bff:fe85:7e61
[1671008251.773668][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b06c:72ff:fef3:e08e
[1671008251.776057][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::8061:22ff:feda:be00
[1671008251.778407][3359:3359] CHIP:DIS: Broadcasting mDns reply for query from fe80::b8c6:3ff:fe1e:a53f
[1671008251.778592][3359:3359] CHIP:DIS: mDNS service published: _matterc._udp
[1671008251.778648][3359:3359] CHIP:IN: CASE Server enabling CASE session setups
[1671008251.778727][3359:3359] CHIP:IN: SecureSession[0xaaaabb7f7ac0]: Allocated Type:2 LSID:42238
[1671008251.778777][3359:3359] CHIP:SC: Allocated SecureSession (0xaaaabb7f7ac0) - waiting for Sigma1 msg
[1671008251.778806][3359:3359] CHIP:SVR: Joining Multicast groups
[1671008251.778833][3359:3359] CHIP:ZCL: Emitting StartUp event
[1671008251.778906][3359:3359] CHIP:EVL: LogEvent event number: 0x0000000000010001 priority: 2, endpoint id:  0x0 cluster id: 0x0000_0028 event id: 0x0 Sys timestamp: 0x00000000007CE296
[1671008251.778936][3359:3359] CHIP:SVR: Server Listening...
[1671008251.778965][3359:3359] CHIP:DL: Device Configuration:
[1671008251.779022][3359:3359] CHIP:DL:   Serial Number: TEST_SN
[1671008251.779077][3359:3359] CHIP:DL:   Vendor Id: 65521 (0xFFF1)
[1671008251.779112][3359:3359] CHIP:DL:   Product Id: 32769 (0x8001)
[1671008251.779155][3359:3359] CHIP:DL:   Hardware Version: 0
[1671008251.779177][3359:3359] CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
[1671008251.779206][3359:3359] CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
[1671008251.779234][3359:3359] CHIP:DL:   Manufacturing Date: (not set)
[1671008251.779255][3359:3359] CHIP:DL:   Device Type: 257 (0x101)
[1671008251.779299][3359:3359] CHIP:SVR: SetupQRCode: [MT:-24J0YXE00KA0648G00]
[1671008251.779326][3359:3359] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
[1671008251.779345][3359:3359] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0YXE00KA0648G00
[1671008251.779391][3359:3359] CHIP:SVR: Manual pairing code: [749701123365521327694]
[1671008251.780764][3359:3364] CHIP:DL: TRACE: Bluez mainloop starting Thread
[1671008251.780902][3359:3362] CHIP:DL: TRACE: Bus acquired for name MATTER-3840
[1671008251.781170][3359:3362] CHIP:DL: CREATE service object at /chipoble/0d1f/service
[1671008251.781941][3359:3362] CHIP:DL: Create characteristic object at /chipoble/0d1f/service/c1
[1671008251.782498][3359:3362] CHIP:DL: Create characteristic object at /chipoble/0d1f/service/c2
[1671008251.782842][3359:3362] CHIP:DL: CHIP BTP C1 /chipoble/0d1f/service
[1671008251.782872][3359:3362] CHIP:DL: CHIP BTP C2 /chipoble/0d1f/service
[1671008251.782897][3359:3362] CHIP:DL: CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING is FALSE
[1671008251.815398][3359:3359] CHIP:DL: PlatformBlueZInit init success
[1671008251.821402][3359:3362] CHIP:DL: BluezPeripheralRegisterAppDone done
[1671008251.821786][3359:3359] CHIP:DL: HandlePlatformSpecificBLEEvent 16392
[1671008251.821868][3359:3362] CHIP:DL: Create adv object at /chipoble/0d1f/advertising
[1671008251.822311][3359:3362] CHIP:DL: SET service data to {'0xFFF6': <[byte 0x00, 0x00, 0x0f, 0xf1, 0xff, 0x01, 0x80, 0x00]>}
[1671008251.823687][3359:3359] CHIP:DL: HandlePlatformSpecificBLEEvent 16393
[1671008251.823739][3359:3359] CHIP:DL: CHIPoBLE advertising config complete
[1671008251.834162][3359:3362] CHIP:DL: RegisterAdvertisement complete
[1671008251.834494][3359:3359] CHIP:DL: HandlePlatformSpecificBLEEvent 16394
[1671008257.766338][3359:3362] CHIP:DL: Device 4B:50:01:11:8C:5D (Path: /org/bluez/hci0/dev_4B_50_01_11_8C_5D) Connected
[1671008258.866166][3359:3362] CHIP:DL: Bluez disconnected
[1671008258.866251][3359:3362] CHIP:DL: Bluez notify CHIPoBluez connection disconnected

I found it show:
[Ble] BLE:Error writing Characteristics in Chip service on the device: [The specified UUID is not allowed for this operation.]

but if I use iPhone SE iOS16.0, it runs well, and pair success with buletooth.

@robinmo Please see documentation at https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/darwin.md and in particular you need to enable developer mode on your phone and follow the steps https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/darwin.md#profile-installation for this to work.

@bzbarsky-apple thanks. This error dismiss, after I installed the Bluetooth Central Matter Client Developer mode profile.
However, how can I help the app user install this profile if I distribute a matter app? Is it needed for app distributed through Apple App store?

However, how can I help the app user install this profile if I distribute a matter app?

If you're distributing a Matter app through the app store, it needs to be using the MatterSupport framework.  See https://developer.apple.com/documentation/mattersupport

However, how can I help the app user install this profile if I distribute a matter app?

If you're distributing a Matter app through the app store, it needs to be using the MatterSupport framework. See https://developer.apple.com/documentation/mattersupport

Hi, @bzbarsky-apple mattersupport is unavailable until 16.1, so if I try to use matter in lower versions of iOS(such as 15.3), how can I fulfill it?

@robinmo Matter.framework is not available there either, so if you are targeting those versions presumably you are shipping your own version of the whole Matter stack.  On versions before MatterSupport is available, you would use that; on versions where MatterSupport is available you use MatterSupport.

@bzbarsky-apple Thanks. So, go back to  the Bluetooth Central Matter Client Developer mode profile, how can I help the app (download from App Store) user install it.

@robinmo You can't.  But that profile is also not needed on iOS versions where MatterSupport does not exist.

@robinmo You can't. But that profile is also not needed on iOS versions where MatterSupport does not exist.

Hi, @bzbarsky-apple I upload a app version with this repo whole matter stack, while without Bluetooth Central Matter Client Developer mode profile commission will fail, and after installing the ble profile it turns out success. So, the profile is needed for  iOS versions where MatterSupport does not exist? Then should I deal with installing the profile through my app?

So, the profile is needed for iOS versions where MatterSupport does not exist?

Again, no.  The profile is only needed in 16.1 or newer, where MatterSupport exists.
So for things before 16.1 you can use your own Matter.framework (which you are presumably shipping, since that also does not exist before 16.1) and commission over BLE.  Starting with 16.1 you need to use MatterSupport.  If you want to support both, that needs to be a runtime decision.

Then should I deal with installing the profile through my app?

Normal users should not be installing this profile, period.  For one thing, the profile only works if you enable Developer Mode on your device, and normal users should not be doing that.

The profile is only needed in 16

So, the profile is needed for iOS versions where MatterSupport does not exist?

Again, no. The profile is only needed in 16.1 or newer, where MatterSupport exists.
So for things before 16.1 you can use your own Matter.framework (which you are presumably shipping, since that also does not exist before 16.1) and commission over BLE. Starting with 16.1 you need to use MatterSupport. If you want to support both, that needs to be a runtime decision.

Then should I deal with installing the profile through my app?

Normal users should not be installing this profile, period. For one thing, the profile only works if you enable Developer Mode on your device, and normal users should not be doing that.

Got it, many thanks!

Hi，@bzbarsky-apple
In the CHIP Tool iOS Sample Commissioner App readme doc says:

Requires building and running the app to a physical device on iOS >= 15.4.
Does it mean that the sample app matter framework cannot support iOS < 15.4?
I have just changed the sample project configuration mini deployment version to iOS 11.0,

built and ran, soon the app crashed

@robinmo I am pretty sure no one has tested Matter.framework on anything before iOS 13.
MatterSupport.framework does not exist before 15.x.

@robinmo I am pretty sure no one has tested Matter.framework on anything before iOS 13.

@balducci-apple Many thanks.
Got it.

However, I found that MatterSupport.h still contains nothing but Foundation in Xcode 14.3 beta.
should I use Matter.h instead?

@robinmo My understanding is that MatterSupport is a Swift-only API.

@bzbarsky-apple

And just to be clear, you would use MatterSupport.framework to generate a setup code and then Matter.framework to commission using that setup code and interact with the device.

Generate a setup code? You mean pairing code or a QR code payload?
I run the sample code as doc https://developer.apple.com/documentation/mattersupport?changes=latest_minor
import MatterSupport

let request = MatterAddDeviceRequest(
    topology: .init(ecosystemName: "Acme SmartHome", homes: [
        .init(displayName: "Default Acme Home"),
    ])
)

do {
    try await request.perform()
    print("Successfully set up a device!")
} catch {
    print("Failed to set up a device with error: \(error)")
}

it runs but stuck in the scene below, never get the callback.

Another issue about MatterSupport, when integrated with objective-c the bridge file(eg xx-Swift.h) turn out to show error
Cannot find interface declaration for 'MatterAddDeviceExtensionRequestHandler', superclass of 'MatterAddDeviceHandler'

My code:
//
//  MatterHelper.swift
//  xx
//
//  Created by Robin on 2023/3/21.
//

import Foundation
import MatterSupport

@available(iOS 16.1, *)
class MatterHelper: NSObject
{
    @objc class func commission()
    {
        let request = MatterAddDeviceRequest(
            topology: .init(ecosystemName: "RRRRRR", homes: [
                .init(displayName: "R11111"), .init(displayName: "R222222")
            ])
        )
        Task.init
        {
            do
            {
                try await request.perform()
                print("Successfully set up a device!")
            }
            catch
            {
                print("Failed to set up a device with error: \(error)")
            }
        }

    }
}

@available(iOS 16.1, *)
class MatterAddDeviceHandler: MatterAddDeviceExtensionRequestHandler
{
    override func validateDeviceCredential(_ deviceCredential: MatterAddDeviceExtensionRequestHandler.DeviceCredential) async throws
    {
        print("validateDeviceCredential \(deviceCredential)")
    }

    override func selectThreadNetwork(from threadScanResults: [MatterAddDeviceExtensionRequestHandler.ThreadScanResult]) async throws -> MatterAddDeviceExtensionRequestHandler.ThreadNetworkAssociation
    {
        print("selectThreadNetwork \(threadScanResults)")
        return ThreadNetworkAssociation.defaultSystemNetwork
    }

    override func commissionDevice(in home: MatterAddDeviceRequest.Home?, onboardingPayload: String, commissioningID: UUID) async throws
    {
        print("Home: \(String(describing: home)) " + "payload: \(onboardingPayload) "  + "commissionID: \(commissioningID)")
    }
}

Many thanks for your help.

Generate a setup code? You mean pairing code or a QR code payload?

I mean that you use MatterSupport.framework to generate a QR code payload, yes.
Past that, I'm afraid I can't help you much with MatterSupport, sorry....

@robinmo  please file a Feedback Assistant request and attach the iOS logs to the ticket.
Feedback assistant ticket:
- File a feedback assistant ticket.
https://developer.apple.com/bug-reporting/#feedback-assistant
- Click on the link below using your account:
https://feedbackassistant.apple.com/new-form-response
- Choose iOS/iPadOS to file an issue
- Choose the area as Home App and fill in the details of the type of issue and the description
* Technical Information
Please provide the following
a) Sysdiagnose logs for iPhone / iPad with the timestamp / timeframe of the issue
b) Sysdiagnose logs for all the Home Hubs (HomePod mini / HomePod / Apple TV) with the timestamp / timeframe of the issue
c) Accessory logs with the timestamp / timeframe of the issue
d) mDNS network logs with timestamp / timeframe of the issue
e) Video or screenshot describing the issue (optional but beneficial)
Please make sure you download and install the profiles for iOS and tvOS as provided here. The instructions are also in these links.
* iOS:
- https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=homekit
 - https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=network
 - https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=mdns
* tvOS:
- https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=homekit
- https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=network
- https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=mdns
For installation instructions, refer to https://developer.apple.com/bug-reporting/profiles-and-logs.
Note: Once you have the profile on the iPhone, it will ask you if you want to install it on other devices. Follow the prompts to install on the HomePod, Apple TV, etc., where you have the described issue and reproduce it.
Apple Developer
Bug Reporting - Apple Developer
Now with Feedback Assistant available on iPhone, iPad, Mac, and the web, it's easier to submit effective bug reports and request enhancements to APIs and tools. (71 kB)
https://developer.apple.com/bug-reporting/#feedback-assistant
developer.apple.com
Profiles and Logs - Bug Reporting - Apple Developer
Get details on providing logs, reproducible test cases, and other information that will help us investigate and diagnose your reported issues.
developer.apple.com
Profiles and Logs - Bug Reporting - Apple Developer
Get details on providing logs, reproducible test cases, and other information that will help us investigate and diagnose your reported issues.
developer.apple.com
Profiles and Logs - Bug Reporting - Apple Developer
Get details on providing logs, reproducible test cases, and other information that will help us investigate and diagnose your reported issues.

@robinmo I am pretty sure no one has tested Matter.framework on anything before iOS 13.
MatterSupport.framework does not exist before 15.x.

@bzbarsky-apple Hi，I found CHIP can support iOS from iOS11.0, the sample app darwin/CHIPTool use the CoreNFC framework, just need to change its Link Binary With Libraries status to optional

Then run and commission is OK.🎉🎉🎉

Hi, @aajain-com @bzbarsky-apple
MatterSupport issue has been resolved by adding a matter extension.
However here is another problem:
we just want to make our mesh device hub  to be a controller and it do all the distribution of Node IDs and certificates(such as RAC ICAC). But with MatterSupport for now, I haven't found a way to configure these just as the CHIP do.
Do you have any suggestion?

@robinmo What MatterSupport does is bring the device onto the IP network, open a commissioning window, and hand you a setup code you can use to commission the device into your fabric.
After that you use Matter.framework to do the commissioning, and you can do your own certificates/etc via that.

@robinmo What MatterSupport does is bring the device onto the IP network, open a commissioning window, and hand you a setup code you can use to commission the device into your fabric.
After that you use Matter.framework to do the commissioning, and you can do your own certificates/etc via that.

So, could you provide OCW command related API in MatterSupport? If no? What's the duration of announcement(As the matter specification says, 5-15min)? And, if expired, how to trigger OCW and get the setup code?

So, could you provide OCW command related API in MatterSupport?

I'm not sure what you're asking for, exactly.

Is it in MTRBaseDevice

The API you quote will open a commissioning window, yes, if you already have an MTRBaseDevice for an operational device.  But that does not sound like your situation, if you have not commissioned the device yet.

What's the duration of announcement

The "duration" bit in the selector there.

Is it the only way to do this

It is, yes, for devices that need to be commissioned over BLE.  Again: use MatterSupport, which will bring the device onto the IP network, open a commissioning window, and give you an onboarding payload that you can use to commission.  Then commission using that onboarding payload.

@bzbarsky-apple Got it. Many thanks.

@bzbarsky-apple
I found MTRDevice initialization need params nodeID and controller. And to make a controller need some startup params.
At the first, I suppose to get these info from the MatterAddDeviceExtensionRequestHandler delegate, but found nothing about that.
MTRClusterAdministratorCommissioning has to open commission window(OCW) too, BUT the  init?(device: MTRDevice, endpoint: UInt16, queue: DispatchQueue) indicate demand of the MTRDevice instance.
How could I get these info?
How could I construct a MTRDevice to invoke opening commission window?
Or there is another way？

And to make a controller need some startup params.

Yes... The controller represents the fabric you are trying to bring the device onto, so you need to configure it for that fabric.

At the first, I suppose to get these info from the MatterAddDeviceExtensionRequestHandler delegate

How could that possibly work? Again, the controller is supposed to represent your fabric, and you're the only one who knows what the state of that fabric should be.

How could I construct a MTRDevice to invoke opening commission window?

MatterSupport is supposed to open a commissioning window for you. You just need to create a controller representing your fabric, and then commission the device using that controller....

OMG, I supposed the controller is the one that has already commissioned the device.😅
Got it.


Client pong timed out & Server ping timed out

EDIT: Turns out I forgot to update my socketcluster client to v3.0.0
My clients are not sending a ping back to the server or something.
I've replicated the sample app in this repo in my cordova app and I'm getting this on my server:

And this on my client:

I can raise the pingTimeout when starting the server but that defeats the purpose of having it for clients that time out.
Here's my server:
var SocketCluster = require( 'socketcluster' ).SocketCluster
var socketCluster = new SocketCluster( {
    workers: 1,
    brokers: 1,
    host: process.env.host,
    port: process.env.port,
    appName: process.env.dname,
    workerController: __dirname + '/worker.js',
    brokerController: __dirname + '/broker.js',
    socketChannelLimit: 1000
} )

Broker:
module.exports.run = function ( broker ) {
    console.log( '   >> Broker PID:', process.pid );
}

Worker:
module.exports.run = function ( worker ) {

    /*================================
    =            SCSERVER            =
    ================================*/
    var scServer = worker.scServer

    scServer.on( 'connection', function ( socket ) {

        // Some sample logic to show how to handle client events,
        // replace this with your own logic

        socket.on( 'sampleClientEvent', function ( data ) {
            count++
            console.log( 'Handled sampleClientEvent', data )
            scServer.exchange.publish( 'sample', count )
        } )

        var interval = setInterval( function () {
            socket.emit( 'rand', {
                rand: Math.floor( Math.random() * 5 )
            } )
        }, 1000 )

        socket.on( 'disconnect', function () {
            clearInterval( interval )
        } )
    } )
}

Client:
var _$socket = {}
var self = {}

self.opts = {
    hostname: '<IP_ADDRESS>',
    port: 8337
}

_$socket.init = function () {
    self.socket = socketCluster.connect( self.opts )

    self.socket.on( 'error', function ( err ) {
        throw 'Socket error - ' + err
    } )

    self.socket.on( 'connect', function () {
        console.log( 'CONNECTED' )
    } )
    self.socket.on( 'rand', function ( data ) {
        console.log( 'RANDOM STREAM: ' + data.rand )
    } )
    var sampleChannel = self.socket.subscribe( 'sample' )
    sampleChannel.on( 'subscribeFail', function ( err ) {
        console.log( 'Failed to subscribe to the sample channel due to error: ' + err )
    } )
    sampleChannel.watch( function ( num ) {
        console.log( 'Sample channel message:', num )
    } )

    self.socket.on( 'disconnect', function () {
        socketCluster.SCSocket.prototype.disconnect()
        console.warn( 'disconnected' )
    } )
}

I have no idea why I can't sustain a connection for longer than the server timeout property. Any ideas?

Turns out I forgot to update my socketcluster client to v3.0.0
I hate my life lol

What was the issue? Facing the same problem


Fix innocuous typo in variable names

This change fixes the variable names holding the tsdb_head_max_time and
tsdb_head_min_time metrics. It is a cosmetic change to improve the
code readability as the metric values are taken from the correct
variables.
This PR is pure nit-picking from my side and doesn't solve any concrete issue except my own perplexity when I've read these lines.

Thanks 👍


Not able to sign up and login to the application

I tried signing up. After i press the sign up button, it doesnt give any confirmation of sign up.
Nevertheless i tried to login using those credentials. It returned a popup "Invalid Credentials" with the same creds i used to sign up.

Hi,
Can you try signing up again?
Fixed the issue. Also, we do not have any loaders in the UI. So the only confirmation is when the page state changes, which it will.
Thanks,
Alakh

Closed the issue by mistake.

Hi Alakh,
Still not able to login.
Thanks,
Gattu

I am able to login to the application. Keeping issue open until Gattu is able to login

I spoke to @gattur . He was in the search page. He was able to login.
Thanks,
Alakh


fix(TDI-45505): "useDataSource" property is not processed by tJDBCOutput correctly

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-45505
What is the new behavior?
https://jira.talendforge.org/browse/TDI-45505
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

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

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: failure :x:

Pull request test result: failure :x:

https://ci-common.datapwn.com/job/components_wwang-talend_TDI-45505/

https://ci-common.datapwn.com/job/components_wwang-talend_TDI-45505/


feat(catalog-backend-module-gitlab): create url location only if file exists

Hey, I just made a Pull Request!
gitlab-discovery create many url location objects, even for projects, that do not contains file with component definitions
in this PR added additional checks for file existing, and after that url location if emited
it's decrease number of 404 requests to gitlab server
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

You seem to have some odd unrelated changes in this pull request, double check what was committed.
Also note the DCO check failing - there's more details in the check itself below on how to do the signing.

You seem to have some odd unrelated changes in this pull request, double check what was committed.
Also note the DCO check failing - there's more details in the check itself below on how to do the signing.

DCO fixed.
I'm not understand about "some odd unrelated changes", what do you meen?

Check your own pull request's changed files. You have stuff from the microsite and ADOPTERS.md in there, which are not related to what you wanted to do.

Check your own pull request's changed files. You have stuff from the microsite and ADOPTERS.md in there, which are not related to what you wanted to do.

sorry, fixed it


Remove config-seed service from nexus docker-compose files

Coordinate with changes made in https://github.com/edgexfoundry/edgex-go/issues/2236.
Dependent upon completion of https://github.com/edgexfoundry/go-mod-bootstrap/issues/14.

Also have to apply additional environment overrides for removal of Docker profiles.

PR for this ADR edgexfoundry/edgex-docs#115 has consensus and in process of TSC approval, so moving forward with a PR for this which covers all the config-seed removal and env overrides portions for the ADR.


How to obtain meteorological data

would be appreciated to know whether there are any data banks or sites to download the data of wind velocity, temperature, and cloud thickness, the most important of them all, for about two years( from 2019 to 2020).**

Hi @salehi1234 could you post this question to the pvlib googlegroup or to stackoverflow with the pvlib tag? We try to keep github issues related to software, and discuss usage in the other forums.
I think we'd need to know which region of the world you are interested in.


fix(components): responsive Overall

Summary

Related Links
closes #172

Checklist

[x] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

At this width, it seems there is room to display all items, can we display all items

At this width, it seems there is room to display all items, can we display all items

@chenjiahan The latest update is shown below

LGTM👍🏻


Fix typo in 'application plugin' chapter of user guide

All in the title :-) this fixes a small typo I ran into in the "application plugin" chapter of the user guide.

Thanks for the contribution @jjst. Do you mind signing our Contributor License Agreement? We require this even for documentation improvements.

Hey Mark,
I think I did already, I can see the confirmation email in my inbox. Is there a link I need to send you or anything?

@jjst, yep I see it now. Thanks, again. This will be included in the 2.13 release.


[hotfix] Align the parameter pattern of retry_times with retry_times_…

…with_backoff_and_cleanup

What is the purpose of the change
This PR align the parameter pattern of retry_times and retry_times_with_backoff_and_cleanup.
Brief change log
Change the parameter pattern of retry_times.
Edit the relevant e2e tests.
Verifying this change

Trigger e2e tests.

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

Dependencies (does it add or upgrade a dependency): no
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: no
The S3 file system connector: no

Documentation

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

cc @tillrohrmann @zhijiangW

Travis gives green light to relevant e2e tests here

Kindly ping @tillrohrmann