Remove unneeded ioctl crate dependency.

All ioctl calls are in the C file so this dependency is not really needed. Stumbled over this due to cargo complaining it can't find the ioctl crate anymore (has been fully yanked). That error itself is probably a bug in Cargo but I didn't bother to investigate it.

@dschatzberg do you think its possible to integrate these changes and release a new version of the crate?

Hey Gerd, hope you are doing well. A few months back folks from https://chromium.googlesource.com/chromiumos/platform/crosvm/ asked to take over ownership of this crate as they have a more complete implementation so I transferred ownership but I see that they have not released a new version.
I'll reach out to them and see if they still have intentions here(In which case it's probably best you publish a new crate from your own branch) or otherwise to assign it back to me (in which case I'll gladly do a new release).

Thanks Dan, all good I hope you are good too :). That will work let me know if you don't hear anything, I can release a version (I'm also ok doing maintenance on the crate if you are no longer interested in maintaining it). Thanks!

@gz Touched base with the crosvm folks - they still have intentions of taking on the kvm crate and publishing it.
I think the best move is for you to publish a new crate.

Sounds good, thanks for checking!


Add ABP initializations for Asian Frequency Plans

For AS_920_923:
923200000, 923400000, 922200000, 922400000, 922600000, 922800000, 923000000, 922000000 DR 0-5
For AS_923_925:
923200000, 923400000, 923600000, 923800000, 924000000, 924200000, 924400000, 924600000 DR 0-5
For KR_920_923:
922100000, 922300000, 922500000, 922700000, 922900000, 923100000, 923300000 DR 0-5

@jpmeijers

See https://github.com/TheThingsNetwork/arduino-device-lib/pull/199

Currently supported frequency plans are:
  TTN_FP_EU868,
  TTN_FP_US915,
  TTN_FP_AS920_923,
  TTN_FP_AS923_925,
  TTN_FP_KR920_923

This issue is therefore solved. Let's open new, separate issues for the IN865-867 and AU915-928.


Hook script failed: pre_gen_project hook script didn't exit successfully

I've installed cookiecutter-data-science in my global environment and tried running ccds command but it failed abruptly. Can't able to debug it. The error which I'm getting is below:
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

The python version which I'm using is 3.9.0 and cookiecutter version is 2.6.0
I'm attaching the full set of commands below
PS C:\Users\HarshVardhan> cookiecutter --version
Cookiecutter 2.6.0 from c:\users\harshvardhan\appdata\local\programs\python\python39\lib\site-packages (Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)])
PS C:\Users\HarshVardhan> python --version
Python 3.9.0
PS C:\Users\HarshVardhan> ccds
You've downloaded C:\Users\HarshVardhan\.cookiecutters\cookiecutter-data-science before. Is it okay to delete and re-download it? [y/n] (y): y
project_name (project_name): demo
repo_name (demo): demo
module_name (demo): demo
author_name (Your name (or your organization/company/team)): demo
description (A short description of the project.): demo
python_version_number (3.10): 3.9.0
Select dataset_storage
    1 - none
    2 - azure
    3 - s3
    4 - gcs
    Choose from [1/2/3/4] (1):
Select environment_manager
    1 - virtualenv
    2 - conda
    3 - pipenv
    4 - none
    Choose from [1/2/3/4] (1):
Select dependency_file
    1 - requirements.txt
    2 - environment.yml
    3 - Pipfile
    Choose from [1/2/3] (1):
Select pydata_packages
    1 - none
    2 - basic
    Choose from [1/2] (1):
Select open_source_license
    1 - No license file
    2 - MIT
    3 - BSD-3-Clause
    Choose from [1/2/3] (1):
Select docs
    1 - mkdocs
    2 - none
    Choose from [1/2] (1):
Select include_code_scaffold
    1 - Yes
    2 - No
    Choose from [1/2] (1):
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Note: I've checked the environment variables for python and it's perfectly fine there.

Hey @phoeniXharsh, can you try with a more recently released version of Python 3.9? We test on Windows back to Python 3.9 but only against the most recent versions, and 3.9.0 is nearly 4 years old.

@chrisjkuch I tried it will another Python version I had in my system i.e Python 3.11.4 which was release last year. Got the same error
(myenv) PS D:\Python_ML\MLOps\nyc-taxi-trip-analysis\test> cookiecutter --version
Cookiecutter 2.6.0 from D:\Python_ML\MLOps\nyc-taxi-trip-analysis\test\myenv\Lib\site-packages (Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)])
(myenv) PS D:\Python_ML\MLOps\nyc-taxi-trip-analysis\test> python --version
Python 3.11.4
(myenv) PS D:\Python_ML\MLOps\nyc-taxi-trip-analysis\test> ccds
You've downloaded C:\Users\HarshVardhan\.cookiecutters\cookiecutter-data-science before. Is it okay to delete
and re-download it? [y/n] (y): y
project_name (project_name): demo
repo_name (demo): demo
module_name (demo): demo
author_name (Your name (or your organization/company/team)): demo
description (A short description of the project.): demo
python_version_number (3.10): 3.11.4
Select dataset_storage
    1 - none
    2 - azure
    3 - s3
    4 - gcs
    Choose from [1/2/3/4] (1):
Select environment_manager
    1 - virtualenv
    2 - conda
    3 - pipenv
    4 - none
    Choose from [1/2/3/4] (1):
Select dependency_file
    1 - requirements.txt
    2 - environment.yml
    3 - Pipfile
    Choose from [1/2/3] (1):
Select pydata_packages
    1 - none
    2 - basic
    Choose from [1/2] (1):
Select open_source_license
    1 - No license file
    2 - MIT
    3 - BSD-3-Clause
    Choose from [1/2/3] (1):
Select docs
    1 - mkdocs
    2 - none
    Choose from [1/2] (1):
Select include_code_scaffold
    1 - Yes
    2 - No
    Choose from [1/2] (1):
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Can you make sure the ccds you're using comes from that environment? Something like which ccds? Can you also try running verbosely (ccds -v) our outputting to a debug file?


Reduce path length of swift_build_sdk_interfaces Catalyst fixtures

#31342 moved a file to a path that’s too long for our Windows builders. Collapse the directory structure a bit to get it under the limit.
Hopefully replaces #31389.

@swift-ci please test


API structure

There's an existing /data.json file, which will continue to exist for compatibility purposes.
I'd like to also start dumping more data out though:

/api/all.xml → an RSS feed of all releases
/api/all.json → like the existing data.json file
/api/latest.xml → an RSS feed of ~10 most recent releases
/api/latest.json → a JSON dump of ~10 most recent releases
/api/gm.xml → an RSS feed of GM releases
/api/gm.json → a JSON dump of GM releases

It might also be interesting to consider having stuff like /api/11/latest.json or /api/11A420a.json, for those interested in getting details about a specific version.

An /api/index.html file would be good too, to document the structure of the JSON/XML, as well as list out the available endpoints.

/api/11/latest.json

Just a FYI, I thought this was for all versions that start with 11, ie 11.0 and 11.1 etc

I'd suggest:

Move API endpoints under /api/xcode - gives you the option to add /api/clang/, /api/swift/, /api/sdks/ios/, etc in the future.
Extension for RSS feed be .atom and not .xml - this will also result in a correct MIME type. I believe pages uses this database to map extensions to media types. https://github.com/jshttp/mime-db/blob/master/db.json#L83-L86
/api/latest be api/recent
Have /api/version/{{version.build}} for a specific release
Include that hyperlink in the generated json/atom
Consider a HTML rendering for browsers hitting the api endpoints directly, e.g. /api/all.html. This might recycle any presentation in the atom rendering

It would be nice if requests without a file extension could use the accepts header, but that is a decidedly non-static site feature.
You might also considering changing your dates to ISO 8601 format (aka "YYYY-MM-DD") in the future.
I would have suggested JSON Feeds as well,  but that spec unfortunately doesn't specify a custom extension or mime type. That makes it harder to recommend for expansion of an existing API.

At CircleCI we would love if you could send us a webhook when there is a new release, so that we can kick off a new image build.


Message view: Adds reports spam feature

Implemented feature for reporting spam
to realm administrators. It sends PM to admins
after spam has been reported with copy of the spam
message content. If no realm administrator are
online it deactivates spammer when several
reports has been recieved from distinct users during
last 24 hours. Deactivated user will be informed by email.
Fixes #9172

[x] Added item to the "message actions" drop down menu
[x] Clicking that item pops up a confirmation modal
[x] "Report spam" generates a notification to the organization's administrators with a copy of the content that was reported sent by Notification bot
[x] All messages reported as spam get tagged in the "reactions" part of the UI
[x] To handle cases where no admin is online, an effect of "report spam" is that if a user has had their messages reported as spam by at least 2 distinct users (added setting for amount of users) that have had accounts for at least a month (added setting for that too), then the user's account is marked as a potential spammer and their account gets immediately deactivated. They also get an email letting them know that they've been deactivated and that they can contact an organization administrator if they'd like to appeal
[ ] Organization setting for the "Report Spam" feature

Thanks for working on this @zy964c it's a really good start. I've left few comments if they get cleared we can do a more deep code review. I think the complexity of this implementation will reduce further if we don't need an emoji here. You can discuss at chat.zulip.org if you think needs reconsideration.

@shubhamdhama I've split initial commit into three separate commits. First one adds functionality to send spam reports, second adds auto-deactivation logic and the third one adds spam emoji. Emoji was added because of the following requirement set by @timabbott in #9172

Possibly all messages reported as spam get tagged with something visible in the "reactions" part of the UI (or maybe the user area?) to make clear what's going on.

But as I understand adding new item "confirm spam" to the "message actions" menu of realm administrator and then replacing content of spam message with {deleted as spam} is the preferable option now so I'll do it next. Thanks for reviewing it!


Add docs link to dashboard header

Closes #917

Does it make more sense to have the documentation open in a new tab? I'm assuming that the user is trying to do something in the dashboard, can't figure it out or wants to see the API, I'd assume they'd still want to keep their place.
Not married to that, up to you!

@pglowacky ah yes good call!


Fix custom controlled versions of SelectOracles and QubitizationWalkOperators

On top of #903
fixes #886

@dstrain115 can you advise on how to fix the type issues

I think you can add "#type: ignore" to all of them.  The first is because it doesn't know whether it is an attrs class, so it can't attrs.evolve it.
The others are because qualtran and cirq disagree on the definition of "controlled" and the classes inherit from both.   The current order should prefer Qualtran's definition to cirq's which seems fine to me.

The others are because qualtran and cirq disagree on the definition of "controlled" and the classes inherit from both. The current order should prefer Qualtran's definition to cirq's which seems fine to me.

I added type: ignore to the class definition line. It's strange that the issue does not show up in GateWithRegisters, but only here. For example:
class SpecializedSingleQubitControlledGate(GateWithRegisters):
  ...

class QubitizationWalkOperator(SpecializedSingleQubitControlledGate, GateWithRegisters): # <- type check fails here
  ...

I'm not totally sure.  It's something with the multiple inheritance and the function definitions not matching.


Explore enclaves for secure command buffer execution

Intel SGX and a hypervisor-based VBS is exposed on windows via CreateEnclave. We should see what a command buffer implementation that could interface with these looks like, where DEVICE_LOCAL && !HOST_VISIBLE buffers can live entirely in the enclave, HOST_LOCAL buffers can be copied via iree_hal_command_buffer_copy_buffer into the enclave, and dispatches can be performed on executables loaded into the enclave.
This would be modeled as a unique HAL driver reusing the iree_hal_executable_library_t (#3580). If the enclave APIs exposed aren't good enough (don't interact well with threading, etc) we can implement the HAL driver within the enclave and run the thread pool in there, and then just marshal across command buffers. This is the approach that we can take as a fallback too for sandboxing/out-of-process execution, so it may net out to the same exact API.
Not sure what the ARM/RISCV story is here - that's the other thing to look into.

AMD's version is SEV (Secure Encrypted Virtualization), and looks to be better representative of the performance we want:
https://arxiv.org/pdf/1903.04203.pdf
https://caslab.csl.yale.edu/workshops/hasp2018/HASP18_a9-mofrad_slides.pdf
would be good to compare with ARM TrustZone - or find someone internally who has :P

Sending to backlog due to the date of the issue - please reprioritize if needed.


Fixes to recent version of MCDex

This pull request fixes mod.list, pack.list commands and forge lookup being not working properly, and adds new error, when tool cannot find mod's file for pack's Minecraft version.

Hi @TrashboxBobylev - thanks for this! I missed it completely and wound up fixing independently. I've credited you in the one part of the commit(37d674ac8a71fbbdfe1b73bd2e2de2b3b05d483c) I did take. :)


[BUG] Conda setup - GDAL problems

Package version
0.3.4.post1
Describe the bug
Conda installation of package leads to a problem with read_file() function of geopandas(), but problem is inherited from gdal and "missing" libtiledb package (that exists in the conda environment itself). Linked issue: https://stackoverflow.com/questions/71904252/gdalinfo-error-while-loading-shared-libraries-libtiledb-so-2-2-cannot-open-sh
To Reproduce
Steps to reproduce the behavior:

Install the package from conda-forge.
Use geopandas read_file() function or any function that uses it.

Expected behavior
The function should work.
Desktop (please complete the following information):

OS: Ubuntu

Additional context
See comment below

For now, the best idea is to create a conda environment, install pip within it and use pip to install pyinterpolate. I'm also checking what will happen if I install GeoPandas only.

GeoPandas has been updated, and now everything works fine! It was a problem with a low-level package tiledb (which is a dependency of gdal which is a dependency of fiona which is a dependency of GeoPandas which is a dependency of pyinterpolate :smiling_face_with_tear: ) More here: https://github.com/geopandas/geopandas/pull/2609


Add Class to noty element / change width of noty

Hey, I was looking for a simple way of adding some CSS style to an entire noty element, for example, to change the default width of a single noty. I did not find a very easy way to go about doing this.
My suggestion would be to create an attribute for noty's to be able to addClass (like there is for buttons) or a css attribute.
Likewise, is there an easier way to go about changing just the width of a noty?

Hi guys.  Was this ever resolved or changed?  I'm finding that I need several notification containers of different sizes.  Being able to adjust appearance via css classes would be great.  Creating a new layout each time just to change the width of the noty container seems like overkill.
Great plugin, otherwise.  Thanks.

I know this is a super old question, but I ran into the same need (expand notification window dimensions), and was able to easily solve it by adding a bit of jQuery right after Noty.show().
var n = new Noty({
   ...
   ...
   ...
});

n.show();

$('#' + n.id).css({ width: '600px' });

Hope that helps!

I know this is a super old question, but I ran into the same need (expand notification window dimensions), and was able to easily solve it by adding a bit of jQuery right after Noty.show().
var n = new Noty({
   ...
   ...
   ...
});

n.show();

$('#' + n.id).css({ width: '600px' });

Hope that helps!

Hey! I tried this but it is not helping me. Does it work with the default themes ?

It's working for me.  I'm using the bootstrap-v3 theme.
For instance, I have:-
`var n = new Noty({
theme: 'bootstrap-v3',
text: 'Are you sure you want to cancel this booking?',
layout: 'center',
animation: {
open: 'animated bounceInDown', // Animate.css class names
close: 'animated bounceOutRight' // Animate.css class names
},
modal: true,
buttons: [
Noty.button('YES', 'btn btn-success', function () {
// console.log('button 1 clicked');
n.close();
                                                                            				// Do the Cancel button postback
                                                                                // alert('hello');
                                                                                __doPostBack($('[id*=btnCancel]')[0].id, '');
                                                                                }, {id: 'button1', 'data-status': 'ok'}),

                                                                                Noty.button('NO', 'btn btn-error', function () {
                                                                                // console.log('button 2 clicked');
                                                                                n.close();
                                                                                })
                                                                                ]
                                                                                });
                                                                                n.show();

                                                                                $('#' + n.id).css({ width: '600px' });
                                                                                $('#' + n.id + ' .noty_buttons').addClass('pull-right');`

This increases the width of the confirmation prompt and also pulls the Yes/No buttons to the right-hand side.


Textual Inversion, concept embeddings, whatever we're calling it: that thing where a prompt can include some tokens that aren't included in the base model, and we load the vectors for them from some auxiliary data source and include them in the embeddings we pass to the model for conditioning.
EmbeddingManager has no direct counterpart in the diffusers model, nor do the model configurations for diffusers models have any personalization_config element.
#1583 currently includes a crude patch adding an EmbeddingManager, but I'm not sure if it is sufficient or appropriate.
We need, at the very least, some test cases we can use to evaluate whether that's working. They should include single-token/single-vector embeddings as well as the multi-token or multi-vector kind.
The good news is that both the legacy implementation and diffusers-flavored models use the same CLIP models from transformers for tokenizing and embedding, so none of this should require much new code.
Related reading:

https://github.com/huggingface/diffusers/pull/661
https://github.com/huggingface/diffusers/issues/799#issuecomment-1332672708

🙋 i can do this.

Work started in #2018

done 💀💀💀💀💀💀💀💀💀💀💀


CVE-2022-41923 Discussion

Issue description
This issue has been opened to facilitate discussion about CVE-2022-41923.
Technical details have not yet been released. We are providing a period of time for users to patch their applications before providing any technical details.
Patch
For information on patches, please see the Grails blog post.
Workaround
For a workaround, please see the Workaround repo.
More Information
If you have comments and/or questions, please add them here.

Is this considered a local or remote vulnerability?  Understanding the scope can help determine how to mitigate.

The CVSS details are here: CVSS for CVE-2022-41923
Attack vector: network
Attack complexity: low
Privileges required: none
User interaction: none
If your application is vulnerable and is exposed to the remote network/Internet, then it can be attacked remotely.

I updated the plugin from version 4.0.3 to 4.0.5 and now I'm getting the following error: ExceptionLog.txt
Any ideas? Been stuck with this issue for a while now.
Thank you.

@jaabax
The base cause of that exception is that it cannot find org.springframework.web.util.UrlPathHelper.defaultInstance which is available in UrlPathHelper of the Spring Framework v5.2.9 and later.
Please check that your project has at least that version of the Spring Framework. You can determine what versions of each dependency are being used for each configuration by running a gradle dependency report.

Additional details are available from Synacktiv who discovered this issue:
https://www.synacktiv.com/sites/default/files/2023-03/Synacktiv-Grails-Spring-Security-CVE-2022-41923.pdf


Update python dependency to reflect version required for numpy1.26.4

Ran into an issue installing requirements on python 3.8

Updated readme to reflect python version requirement
numpy 1.26.4 requires at least python3.9 - https://numpy.org/devdocs/release/1.26.4-notes.html

Sign commits required


handoff user experience improvement

In this PR, we introduce the handoff screen (browser UI/API).
There are two points we would like to improve:

the Go routines are kept open, and main Go routine will kill it in the end. We want to gracefully handle go routines using a join point (channel or waitgroup).
The HTTP/API is kept open because of a second function that is not related to the Go routines (reports.HandoffScreen), when the user exits the console UI screen, the API and UI(browser) will also be killed. If the user tries to load the UI(browser) url, it will fail, and he won't know the reason.

Proposal:

tell the user after exiting the handoff screen that the UI(browser) is still running, and it can be killed by executing "ctrl+c"
add a channel to listen to os.Signal on the "ctrl+c" keyboard command to kill the main thread and exit gracefully
tell the user that he can load the UI(browser) again by using kubefirst command-name

Just an update: #340 was merged without the code in question enabled. The code is at #348 to allow tests of the new feature.

this is necessary since the go routines should not rely on another function that will hold the go routine forks. if someone touches/changes the handoff screen, it will create a bug for the go routines that hosts the API.
go routines rely on a fork join model, every time there is a fork, it might have a reconciliation/join point.

I can't agree, but let's move it to a later point to discuss since 1.9 release is high priority now.

Next release won't have the handoff screen with the CLI rewrite done by @CristhianF7 so closing this issue as invalid.


Changing email and username

[ ] Email change should trigger account activation flow again, just without locking the account

The "username" part is mostly just back-end, as there's no way of setting your username anyway and it's just always hard-wired to email.


NIFI-7590 Fix CassandraSessionProvider breaking after disable + re-enable

https://issues.apache.org/jira/browse/NIFI-7590
In 'CassandraSessionProvider.onDisabled' setting Cassandra-related references properly to null after closing them so that they can be renewed in 'onEnabled' (which creates them only if set to 'null', leaving them closed otherwise).
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

@OnDisabled works properly now. Thanks for the fix.
I would get rid of the @OnStopped method because it is not applicable to Controller Services (only Processors and Reporting Tasks).


Improve the retry logic in event publisher

Description:
In the retrying connection logic after time waiting, of the  OutputAdapterRuntime class in the event publisher component should be improved to establish the connection. The codebase is pointed in[1]
Hope this can be fixed by following lines.

else {
log.error("Connection unavailable for Output Adopter '" + name + "' reconnection will be retried in " + (timer.returnTimeToWait()) + " milliseconds.", e);
Thread.sleep(timer.returnTimeToWait());
publish(message, dynamicProperties);
}

[1] https://github.com/wso2/carbon-analytics-common/blob/5.1.x/components/event-publisher/org.wso2.carbon.event.output.adapter.core/src/main/java/org/wso2/carbon/event/output/adapter/core/internal/OutputAdapterRuntime.java#L95

Please find the pull request[1].
[1] https://github.com/wso2-support/carbon-analytics-common/pull/153

Please find the pull request[1]
[1] https://github.com/wso2/carbon-analytics-common/pull/728


fan.getFactorySettingsChanged() and fan.getMode() report wronmg lenght

Need to comment those two lines in cmdline.py to get it to work with my fans:
`root@e-linux01:/opt/src/pycalima# python3 cmdline.py -m 58:2b:db:01:b0:3b -p 12234107 -s
[0x3] Device Name (READ ) = (10)<PHONE_NUMBER>616c696d61
[0x5] Appearance (READ ) = (2) 0000
[0x7] Peripheral Preferred Connection Parameters (READ ) = (8)<PHONE_NUMBER>00e803
[0xb] Serial Number String (READ ) = (8)<PHONE_NUMBER>303000
[0xd] Model Number String (READ ) = (2) 3130
[0xf] Hardware Revision String (READ ) = (6) 30312e303000
[0x11] Firmware Revision String (READ ) = (6) 30312e303200
[0x13] Software Revision String (READ ) = (5) 30312e3035
[0x15] Manufacturer Name String (READ ) = (3) 504158
[0x18] 4cad343a-209a-40b7-b911-4d9b3df569b2 (WRITE )
[0x1a] d1ae6b70-ee12-4f6d-b166-d2063dcaffe1 (READ ) = (1) 01
[0x1c] b85fa07a-9382-4838-871c-81d045dcc2ff (READ WRITE ) = (20) 53686f7765720000000000000000000000000000
[0x1e] 638ff62c-3823-4e0f-8179-1695c46ee8af (READ ) = (6) 582bdb01b03b
[0x21] 25a824ad-3021-4de9-9f2f-60cf8d17bded (READ ) = (1) 00
[0x23] 528b80e8-c47a-4c0a-bdf1-916a7748f412 (READ ) = (12) 250052000a00000001000000
[0x26] 63b04af9-24c0-4e5d-a69c-94eb9c5707b4 (READ ) = (1) 01
[0x28] 90cabcd1-bcda-4167-85d8-16dcd8ab6a6b (READ WRITE ) = (1) 00
[0x2a] 1488a757-35bc-4ec8-9a6b-9ecf1502778e (READ WRITE ) = (6) 9808e8030000
[0x2c] e782e131-6ce1-4191-a8db-f4304d7610f1 (READ WRITE ) = (4) 01030101
[0x2e] 49c616de-02b1-4b67-b237-90f66793a6f2 (READ WRITE ) = (2) 001e
[0x30] a22eae12-dba8-49f3-9c69-1721dcff1d96 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x32] 118c949c-28c8-4139-b0b3-36657fd055a9 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x34] 8b850c04-dc18-44d2-9501-7662d65ba36e (READ WRITE ) = (2) 0000
[0x36] f508408a-508b-41c6-aa57-61d1fd0d5c39 (READ WRITE ) = (1) 00
[0x38] 6dec478e-ae0b-4186-9d82-13dda03c0682 (READ WRITE ) = (4) 070e0c02
[0x3a] b5836b55-57bd-433e-8480-46e4993c5ac0 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x3c] faa49e09-a79c-4725-b197-bdc57c67dc32 (READ WRITE ) = (2) 0101
[0x3e] ff5f7c4f-2606-4c69-b360-15aaea58ad5f (READ WRITE ) = (1) 00
root@e-linux01:/opt/src/pycalima# python3 cmdline.py -m 58:2b:db:01:b0:3b -p 12234107
Device Name:  PAX Calima
Model Number:  10
Serial Number:  0000000
Hardware Revision:  01.00
Firmware Revision:  01.02
Software Revision:  01.05
Manufacturer:  PAX
Alias:  Shower
Traceback (most recent call last):
File "cmdline.py", line 135, in
main()
File "cmdline.py", line 111, in main
print("Factory Settings Changed: ", fan.getFactorySettingsChanged())
File "/opt/src/pycalima/pycalima/Calima.py", line 174, in getFactorySettingsChanged
return bool(unpack('<I', self._readUUID(CHARACTERISTIC_FACTORY_SETTINGS_CHANGED)))
struct.error: unpack requires a bytes object of length 4
root@e-linux01:/opt/src/pycalima# python3 cmdline.py -m 58:2b:db:01:b0:3b -p 12234107
Device Name:  PAX Calima
Model Number:  10
Serial Number:  0000000
Hardware Revision:  01.00
Firmware Revision:  01.02
Software Revision:  01.05
Manufacturer:  PAX
Alias:  Shower
Traceback (most recent call last):
File "cmdline.py", line 135, in
main()
File "cmdline.py", line 112, in main
print("Mode: ", fan.getMode())
File "/opt/src/pycalima/pycalima/Calima.py", line 177, in getMode
v = unpack('<H', self._readUUID(CHARACTERISTIC_MODE))
struct.error: unpack requires a bytes object of length 2
root@e-linux01:/opt/src/pycalima# python3 cmdline.py -m 58:2b:db:01:b0:3b -p 12234107
Device Name:  PAX Calima
Model Number:  10
Serial Number:  0000000
Hardware Revision:  01.00
Firmware Revision:  01.02
Software Revision:  01.05
Manufacturer:  PAX
Alias:  Shower
Fan Speed Settings:  Fanspeeds(Humidity=2200, Light=1000, Trickle=0)
Sensors Sensitivity:  Sensitivity(HumidityOn=1, Humidity=3, LightOn=1, Light=1)
Light Sensor Settings:  LightSensorSettings(DelayedStart=0, RunningTime=30)
Heat Distributor:  HeatDistributorSettings(TemperatureLimit=25, FanSpeedBelow=0, FanSpeedAbove=2100)
Boost Mode:  BoostMode(OnOff=0, Speed=900, Seconds=0)
Led:  0000
Automatic Cycles:  0
Time:  Time(DayOfWeek=7, Hour=14, Minute=27, Second=33)
Silent Hours:  SilentHours(On=0, StartingHour=22, StartingMinute=0, EndingHour=6, EndingMinute=0)
Trickle Days:  TrickleDays(Weekdays=1, Weekends=1)
FanState(Humidity=31, Temp=21.0, Light=11, RPM=0, Mode='Trickle ventilation')
FanState(Humidity=31, Temp=21.0, Light=11, RPM=0, Mode='Trickle ventilation')`

Thanks, working now.


Honor  Geolocation in Sparql-based matchers

This would have to be done using a sparql extension: https://wiki.blazegraph.com/wiki/index.php/GeoSpatial

i saw this addon already and we could profit immensly from it, we could implement whatsaround needs that actually dont have anything but needs from a specific area (afaik geospatial even works with polygon queries).

The documentation states they have only implemented circle and rectangle searches so far.

maybe i was refering to this one: http://www.opengeospatial.org/standards/geosparql but i could be wrong i just browsed through this recently and probably didnt understand it

I don't know if we should include this matching behaviour in the sparql-matcher directly, since it has no concept of how a location should be matched. Using it in the custom queries attached to needs and enabling the extension seems desirable though.

An additional problem is that this approach is specific to blazegraph. If we use it in embedded queries, those will not work for other matchers. We need some kind of translation or generation happening in the matcher in both cases (if it's the generic sparql matcher or another one).


Update vip flag visual

Fixes #75
Removes VIP text label from bottom of comment field in the Person card.
Add VIP flag besides name label.

LGTM


ignore handshake timestamp.

Ignore the timestamp in the handshake in case the server changed it.

I suspect there may be some drawbacks for this. Have you tested it's working in all cases?

I have not tested all cases, but it should definitely cover the case where a bad server writes its own timestamp.
How can you check that a server has this "bad" behaviour?


[e2e]: go tag main adversarial-asset-provenance slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v11.0.57
Run: https://github.com/slsa-framework/example-package/actions/runs/2633785462
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Trigger: push
Branch: v11.0.57
Date: Fri Jul  8 04:01:14 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v11.0.58
Run: https://github.com/slsa-framework/example-package/actions/runs/2639743076
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Trigger: push
Branch: v11.0.58
Date: Sat Jul  9 03:45:35 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v11.0.60
Run: https://github.com/slsa-framework/example-package/actions/runs/2647122445
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Trigger: push
Branch: v11.0.60
Date: Mon Jul 11 03:57:48 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v11.0.61
Run: https://github.com/slsa-framework/example-package/actions/runs/2654058485
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.adversarial-asset-provenance.slsa3.yml
Trigger: push
Branch: v11.0.61
Date: Tue Jul 12 04:18:07 UTC 2022
Tests are passing now. Closing this issue.


Also check mixed case SQL keywords in master slave check

1. Why is this change necessary?
When you write your SQL with lower case or run your migrations in a non-dev environment, you won't run into this exception.
2. What does this change do, exactly?
It allows lower-cased SQL queries getting profiling tested(?).
3. Describe each step to reproduce the issue or behaviour.

 Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Rebased and added changelog :)

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-16629
Please use this issue to track the state of your pull request.

Hey, your contribution is now merged, thanks :blue_heart:

Woop woop :) thanks @jakob-kruse for the merge


apply pmid lora only once for multiple txt2img calls

This PR fixed an issue found by a user. The use case is to call txt2img multiple times and Photomaker lora's should ONLY be applied once.

Thank you for your contribution


JSC: general code cleanup

Originally implemented as part of trac #22 and isolated for CCB review purposes.
General code clean up modifications:

Make all if/then/else as compound statements
add "void" to functions that do not take parameters
add final "else" to all "else if" constructs
make sure all cases in switch stametents have break
add explicit casting where the compiler may emit warnings
Add "static" and "extern" keywords where needed

Imported from trac issue 118.  Created by jphickey on 2015-11-06T17:27:04, last modified: 2015-12-09T11:13:56

Trac comment by jphickey on 2015-11-09 12:19:50:
Commit [changeset:1f9e588] is ready for CCB review.  Branch trac-118-jsc-general-cleanup

Trac comment by jphickey on 2015-11-09 12:20:33:
I have reviewed this and recommend ACCEPT.  Changes look benign, assuming this is the coding standard(s) that CCB wants to adopt.

Trac comment by sstrege on 2015-11-16 18:08:35:
Approve/accept

Trac comment by sduran on 2015-11-17 11:05:21:
recommend accept

Trac comment by sstrege on 2015-11-18 13:40:29:
11/10/15 CCB: Need to ensure use of "VOIDFUNCPTR" is safe before accepting this particular code change (/vxworks6/osnetwork.c, line 313)

Trac comment by sstrege on 2015-11-18 15:21:31:
Correction to comment 5 above, this was agreed to at the 11/17/15 CCB

Trac comment by jphickey on 2015-11-20 17:05:05:
To re-iterate the comment above - the VOIDFUNCPTR cast absolutely needs to be double-checked by someone with access to the VxWorks API documentation for its timer_connect() call, before we accept this into development branch.
If timer_connect truly wants a function with a void return/void argument and OSAL is passing a function that has a void return/int argument, then that is a real bona-fide bug and a cast will only shut off the warning about it.  If that is the case (as it appears to be) then we need a fix for the bug and not to cast away the warning about it.

Trac comment by glimes on 2015-11-20 16:13:33:
now part of ic-2015-11-20

Trac comment by jphickey on 2015-11-20 17:27:03:
Backed this out of the "ic-2015-11-20" merge pending verification of VOIDFUNCPTR cast.

Trac comment by jphickey on 2015-11-20 17:28:18:
IIRC it was Steve who was going to check the VxWorks doc on this -- If I got that wrong please pass it to whoever was going to double check this.

Trac comment by sduran on 2015-11-23 12:12:11:
From the VxWorks 6.7 man page:
 int timer_connect
     (
     timer_t     timerid,  /* timer ID      */
     VOIDFUNCPTR routine,  /* user routine  */
     int         arg       /* user argument */
     )

where "routine" is the signal handler, defined on line 149 in ostime.c
void OS_TimerSignalHandler(int host_timer_id)
ic-ccb-review has the handler declared as void, but trac-22 had changed this to static void, due to the MISRA rule that wants all local functions declared as static.
Recommend changing void back to static void as in trac-22.
The cast to VOIDFUNCPTR appears unecessary.  A compiler warning is not generated without it.  MISRA, I'm sure does not require a cast like this.  Not sure why it was added.
I did note however, that the possible_tid type is mismatched from the expected type of timer_connect.  I believe this has always been the case in this code.  Not sure if we want to do anything about that now.  possible_tid is declared as uint32, the the argument timer_id (which gets the value of possible_tid before return) is declared uint32, however the expected argument type for timer_connect is int.

Trac comment by jphickey on 2015-11-23 23:19:51:
In this case, we may actually have a mismatch in the VxWorks coverage stubs.  This defines the VOIDFUNCPTR type as:
{{{
typedef void (*VCS_VOIDFUNCPTR) (void);
}}}
i.e. a function taking no arguments, returning void.
However, it looks from this timer_connect API that a VOIDFUNCPTR here is intended to take a single int argument, perhaps this needs to be:
{{{
typedef void (*VCS_VOIDFUNCPTR) (int);
}}}
With respect to this function being static -- the static keyword is included in this changeset, but not in ic-ccb-review as we were awaiting the final word on this type cast before merging it.
I also agree that the type for the host_timerid field of the internal structure should be timer_t as opposed to uint32 which it is right now.  This should probably be separate ticket.

Trac comment by glimes on 2015-11-24 13:47:52:
''TLDR: casts are what you use on broken code, and this VxWorks API is broken,
so applying a cast here is unfortunate but probably appropriate :(''
Notes on VOIDFUNCPTR ...
This was a bit confusing, as the code as it stands follows the common
idiom and can be expected to run correctly.
HOWEVER, static analysis tools and some compilers can be really picky
about category errors in type matching. So here is the story.
The actual implementation in VxWorks eventually needs a pointer to a
function that takes an integer and returns void; and our callback
function is in fact matching that signature.
The issue arises that VxWorks defines the API in its time.h file
as taking a VOIDFUNCPTR as its second argument, and in host.h
it defines VOIDFUNCPTR as typedef void (*VOIDFUNCPTR)(); ...
Picky tools will decide that the type of a function taking (int) does
not match a () (''arguments unspecified'') declaration. This makes
some sense when doing very strict checking, as passing over this
without a warning means I might be passing a function taking (double)
where you are expecting a function taking (char *foo, int bar) ...
Note that strict analysis may also warn about VOIDFUNCPTR itself,
as it defines a function type but is not itself a valid function
prototype indicating parameter types.

Trac comment by jphickey on 2015-11-24 00:07:25:
Replying to [comment:11 sduran]:

The cast to VOIDFUNCPTR appears unecessary.  A compiler warning is not generated without it.  MISRA, I'm sure does not require a cast like this.  Not sure why it was added.

With this I have added a new commit [changeset:94f1adc] that reverts the "VOIDFUNCPTR" cast only.
This timer_connect() code still looks suspicious to me -- not sure how much this code has actually been tested.... Assuming that VOIDFUNCPTR does indeed take an int argument, this is passing possible_tid as the user argument and then inside OS_TimerSignalHandler it is comparing this to host_timerid in the table.  I wouldn't expect these to match, except by luck if the OS hands out an ID of "0" first just like OSAL does.
At any rate, someone more familiar with VxWorks would have to look at that, and this ticket will not change the behavior.
I have merged this to "ic-ccb-review" and I think this is good to go.

Trac comment by glimes on 2015-12-09 10:56:06:
Commit [changeset:1f9e588] containing the bulk of the work was included via [changeset:57cd4e8a] into merge [changeset:961b061] which is now the development branch.

Trac comment by glimes on 2015-12-09 11:13:56:
Merge of #113 #115 #116 #118 and #119 (2015-12-01) is now development.


feat: add xrender.crossplane.io/runtime-docker-pull-policy annotation

Description of your changes

Supersedes #9.
Adds an annotation that can be set on Functions to specify whether the image should be pulled Always, IfNotPresent or Never, with the same semantic as Kubernetes' imagePullPolicy.
---
apiVersion: pkg.crossplane.io/v1beta1
kind: Function
metadata:
  name: function-dummy
  annotations:
    xrender.crossplane.io/runtime-docker-pull-policy: IfNotPresent
spec:
  package: xpkg.upbound.io/crossplane-contrib/function-dummy:v0.2.1

I have:

[x] Read and followed Crossplane's contribution process.
[ ] ~Added or updated unit and E2E tests for my change.~
[x] Run make reviewable to ensure this PR is ready for review.

Thanks @phisco!I have a few things I'd suggest tweaking, but they're all stylistic. In the interests of having this ready for the hack day tomorrow I'll merge it and open a PR to capture my suggestions.


remove uv headers from CMakeLists.txt

Trivial: remove uv headers from CMakeLists. They were originally added here: https://github.com/awslabs/aws-c-io/pull/110/files but are no longer necessary.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.18%. Comparing base (9678fce) to head (6d1be3e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #660   +/-   ##
=======================================
  Coverage   80.18%   80.18%
=======================================
  Files          28       28
  Lines        5966     5966
=======================================
  Hits         4784     4784
  Misses       1182     1182

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


Hide/Display given column

User Story: Hide/Display Column Feature with Eye Icon
As a User
I want to hide or display a given column using an eye icon
So that I can manage the visibility of columns and keep the interface clean and focused on the relevant information.
Acceptance Criteria:

[ ] Each column should have an eye icon next to its header.
[ ] Clicking the eye icon should hide the column and compact it to the side with just the title visible.
[ ] The compacted column should display the title vertically on the side.
[ ] Clicking the eye icon again should display the column back to its original state.

@LissiEitel & @PhilipLeddin feel free to change the acceptance criteria according to updated vision of this feature.

@LissiEitel how should the column collapse ?
We have two options in mind :

horizontal collapse, easy to be done and no jumping columns when using the feature, but also one win no free place.
vertical collapse, the layout changes dynamically and the user wins free place.

@LissiEitel I saw your new designs ;)

Building first prototype according to the early design build above


45 auto enable jwt when re deploy edge functions

Im trying to do the same, and its not really working. When you redeploy, does it keep the verification disabled?

Im trying to do the same, and its not really working. When you redeploy, does it keep the verification disabled?

https://github.com/tuphan-dn/openblocks-wallet/blob/fd0e73af31b5436c5e2685b53662c4f5fe8e2bbd/supabase/config.toml#L197
Let’s say I have an api named ‘health’, then I must put a config as the file.

Lol same time. Thank you for the quick reply!


[HOLD for payment 2023-07-14] [$1000] mWeb- Link is not working for Viewing all receipts/Viewing all bills option

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app
Go to settings > Workspace >Reimbursements
Click to View All receipts

Expected Result:
Link is working for Viewing all receipts option
Actual Result:
Link is not working for Viewing all receipts option
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[x] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.27-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/99197946-5454-456c-bb89-7ec568f8515c
https://github.com/Expensify/App/assets/93399543/a1246985-0ec2-4657-a1f4-ce8dd7821fd7
https://github.com/Expensify/App/assets/93399543/adcb77fb-c4b2-457a-a8e9-9ea0bdf9912d
Expensify/Expensify Issue URL:
Issue reported by: @narzullome
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686726774076549
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c9e23c776186a8a6
Upwork Job ID:<PHONE_NUMBER>528816640
Last Price Increase: 2023-06-23

@parasharrajat proposal from @bernhardoj ready for review when you get a chance - thanks!

Nice catch, sounds like this is a regression right?
The approach looks good to me, but we probably need to do something different in the failure case than .catch(() => buildOldDotURL(url)), because in that case we're gonna end up opening a link that doesn't work. In the commit you linked we do Growl.show(response.message, CONST.GROWL.WARNING); if the request fails, where I believe the message comes from the exception we throw in the backend and says "Cannot redirect to Expensify.com at the moment, please try again"

sounds like this is a regression right?

Yes

we do Growl.show

I think we want to remove all Growls. I also think redirecting the user without shortLivedAuthToken is fine. It just won't auto logging-in the user (if the user is signed out).

As long as they land on the right page after signing in, I think that's good!

PR is ready.
cc: @parasharrajat

Offers have been sent out

@bfitzexpensify Accepted thank you

I like those @parasharrajat. Proposed they be added in https://github.com/Expensify/Expensify/issues/300649. Cool, we're all done here - thanks everyone!

@bfitzexpensify Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @eVoloshchak's and @parasharrajat's NewDot payments. More information on this compliance process in Slack.

Sorry, was OOO on Friday.
Payments for each party:
Reporting: $250 for @narzullome, paid via Upwork ✅
Contributor: $1,500 (completion + #urgency bonus) for @bernhardoj, paid via Upwork ✅
C+: $1,500 (completion + #urgency bonus) for @parasharrajat, which will need to be paid via NewDot

Reviewed details for @parasharrajat. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.


Docs.MS CI Updates for Azure.Security.KeyVault.Certificates

CI Update for release of Azure.Security.KeyVault.Certificates

Docs Build status updates of commit 234a30c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 4a7c557:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Possibility to include a script tag only for the static build?

Is it possible to have some markup only executed on in the static build? In my case I need host the kirby version for admin purpose as well as the static version for production. I would like to have a tracking code only on the static enviroment. Is this somehow doable? I did see this mentioned on the best practises page but for me it seems that the constant 'STATIC_BUILD' does not exist.
Thanks.

This should be working, I’ll look into it.
Note that for tracking scripts, if you want to restrict it to a given domain you can do that in JS:

I tend to do that for Google Analytics because it doesn’t filter hits depending on the hostname, and I’ve had my pages (with tracking code) copied and modified, which led to visitors for a different website showing up in my stats.

Yes I actually did that with javascript. But it ends up being a little bit fragile if the site will be moved. Placing a PHP condition for including only on a build would be awesome and cleaner for the frontend. The 'STATIC_BUILD' constant is maybe not capable of this?

What version of the Kirby and of this plugin are you using?
Tested successfully on both Kirby 3.3.2 and 3.4.0, in a template:
<?php
if (defined('STATIC_BUILD')) {
    echo "Template: detected a static build
\n";
} else {
    echo "Template: not a static build
\n";
}
?>

It’s also working, as far as I could test, in snippets and in controllers.

Closing as I could not reproduce.


Jimin - Edits (grammar and wordings)

Purpose/implementation Section
What changes are being implemented in this Pull Request?
**Edits mostly on Grammar and sentence structure/understandability of descriptions
Comments tagged AVOCADO
New illustration (pending review) at the end of file
**
What was your approach?
I reviewed the documents and fixed some run-on sentences, etc. Also added definitions to the terminology that seemed necessary
What GitHub issue does your pull request address?
Grammar and Sentence structure
Tell potential reviewers what kind of feedback you are soliciting.
I marked "AVOCADO" and put comments/questions in some of the places. Definitions may not be accurate so I think it would be safer if reviewed.
New Content Checklist

[ ] New content/chapter is in an Rmd file with this kind of format and headers.

[ ] New content/chapter contains Learning Objectives and are in the correct format.

[ ] Bookdown successfully re-renders and any new content files have been added to the _bookdown.yml.

[ ] Spell check runs successfully in Github actions style-n-check).

[ ] Any newly necessary packages that are needed have been added to the Dockerfile and image.

[ ] Images are in the correct format for rendering.

[ ] Every new image has alt text and is in a Google Slide.

[ ] Each slide is described in the notes of the slide so learners relying on a screen reader can access the content. See https://lastcallmedia.com/blog/accessible-comics for more guidance on this.

[ ] The color palette choices of the slide are contrasted in a way that is friendly to those with color vision deficiencies.
You can check this using Color Oracle.

you will need the updated css code  (in your case the one in the  style_sets/itcr dir) and the images added to the assets directory - ideally if we could sync  the image files with the repos made from the template that would be good

you will need the updated css code (in your case the one in the style-sets/itcr dir) from the template and the images added to the assets directory of the template (of course though you just need the github image if that is the only box you need for this course). I can move these from assets to style-sets because that is already set up to sync. If we do that... then after the sync you just need to recopy the css file to the main dir from the style-sets dir

I started this process so that we can do this more easily - there is a new PR - I instead made a new folder in assets for the box images because I think this will be less confusing to people after they copy the css file as I think most people will want the option to do these boxes


SNC fails with "qemu-kvm: -fw_cfg: invalid option" on RHEL 7.8

Detailed error output from run of snc.sh
DEBUG libvirt_domain.master[0]: Creating...
ERROR
ERROR Error: Error creating libvirt domain: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: qemu-kvm: -fw_cfg: invalid option')
ERROR
ERROR   on ../../../tmp/openshift-install-612248565/main.tf line 75, in resource "libvirt_domain" "master":
ERROR   75: resource "libvirt_domain" "master" {
ERROR
ERROR
ERROR
ERROR Error: Error creating libvirt domain: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: qemu-kvm: -fw_cfg: invalid option')
ERROR
ERROR   on ../../../tmp/openshift-install-612248565/bootstrap/main.tf line 13, in resource "libvirt_domain" "bootstrap":
ERROR   13: resource "libvirt_domain" "bootstrap" {
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
+ echo 'failed to create the cluster, but that is expected.  We will block on a successful cluster via a future wait-for.'
failed to create the cluster, but that is expected.  We will block on a successful cluster via a future wait-for.
+ export KUBECONFIG=crc-tmp-install-data/auth/kubeconfig
+ KUBECONFIG=crc-tmp-install-data/auth/kubeconfig
+ renew_certificates
+ echo '{"auths":{"cloud.openshift.com":{"auth":" .....<secret-text-elided> x@i.com"},"registry.redhat.io":
++ ./oc adm release -a pull-secret info quay.io/openshift-release-dev/ocp-release@sha256:039a4ef7c128a049ccf916a1d68ce93e8f5494b44d5a75df60c85e9e7191dacc --image-for=cli
+ cli_image=quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:431ac8ceb82975a918467f6f2dd797cd5052b38f8de15ff7d144987cf8303093
+ rm pull-secret
+ ./yq write --inplace kubelet-bootstrap-cred-manager-ds.yaml 'spec.template.spec.containers[0].image' quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:431ac8ceb82975a918467f6f2dd797cd5052b38f8de15ff7d144987cf8303093
+ ./oc apply -f kubelet-bootstrap-cred-manager-ds.yaml
error: unable to recognize "kubelet-bootstrap-cred-manager-ds.yaml": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp <IP_ADDRESS>:6443: i/o timeout

Also on the same system,
/usr/libexec/qemu-kvm -fw_cfg
qemu-kvm: -fw_cfg: invalid option

You need an alternative version of the qemu-kvm binary that understnads passingf in the Ignition config.

@gbraad Hey thanks!, for a quick response. This worked now.

Opened https://github.com/openshift/installer/pull/3586 to correct this.

What do you mean to correct this. This is expected and documented.
the Libvirt driver is for development purposes only
On Tue, May 12, 2020 at 4:30 PM Prashant Sharma<EMAIL_ADDRESS>wrote:

Opened openshift/installer#3586
https://github.com/openshift/installer/pull/3586 to correct this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/code-ready/snc/issues/176#issuecomment-627195281, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAOZV3JEVNT6PJYPRJ2B3RRECLDANCNFSM4M6R757Q
.

--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]


DCXY-18990 don't load stylesheets if they're inlined by the edge worker

Codecov Report

Merging #440 (b4c064f) into stage (f129762) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##            stage     #440   +/-   ##
=======================================
  Coverage   96.57%   96.58%
=======================================
  Files          26       26
  Lines        2865     2867    +2
=======================================
+ Hits         2767     2769    +2
  Misses         98       98

Files
Coverage Δ

acrobat/scripts/scripts.js
96.91% <100.00%> (+0.01%)
:arrow_up:

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


Test services like k8s sanity tester

ref: https://github.com/kubernetes-csi/csi-test/blob/master/pkg/sanity/README.md

May be built upon https://github.com/smartystreets/goconvey


Boost.Python.ArgumentError: Python argument types in     VehicleControl.init(VehicleControl) did not match C++ signature:     init(struct _object * __ptr64, float throttle=0.0, float steer=0.0, float brake=0.0, bool hand_brake=False, bool reverse=False, bool manual_gear_shift=False, int gear=0)     init(struct _object * __ptr64)

CARLA version: 0.9.15
Platform/OS: Windows 11
I am implementing an RL algorithm in order to make the car learn to follow a certain route but in my step function I am facing this error:
Traceback (most recent call last):
  File "C:\Users\Caty\Documents\Transfer-Reinforcement-Learning-for-Enhanced-Autonomy-in-Vehicles\main.py", line 81, in <module>
    main()
  File "C:\Users\Caty\Documents\Transfer-Reinforcement-Learning-for-Enhanced-Autonomy-in-Vehicles\main.py", line 74, in main
    ppo.learn(total_timesteps=100) # Train the PPO algorithm
  File "C:\Users\Caty\Documents\Transfer-Reinforcement-Learning-for-Enhanced-Autonomy-in-Vehicles\ppo.py", line 315, in learn
    return super().learn(
  File "C:\Users\Caty\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\stable_baselines3\common\on_policy_algorithm.py", line 300, in learn
    continue_training = self.collect_rollouts(self.env, callback, self.rollout_buffer, n_rollout_steps=self.n_steps)
  File "C:\Users\Caty\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\stable_baselines3\common\on_policy_algorithm.py", line 195, in collect_rollouts
    new_obs, rewards, dones, infos = env.step(clipped_actions)
  File "C:\Users\Caty\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\stable_baselines3\common\vec_env\base_vec_env.py", line 206, in step
    return self.step_wait()
  File "C:\Users\Caty\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\stable_baselines3\common\vec_env\dummy_vec_env.py", line 58, in step_wait
    obs, self.buf_rews[env_idx], terminated, truncated, self.buf_infos[env_idx] = self.envs[env_idx].step(
  File "C:\Users\Caty\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\stable_baselines3\common\monitor.py", line 94, in step
    observation, reward, terminated, truncated, info = self.env.step(action)
  File "C:\Users\Caty\Documents\Transfer-Reinforcement-Learning-for-Enhanced-Autonomy-in-Vehicles\environment.py", line 276, in step
    ego_vehicle_control = carla.VehicleControl(throttle=linear_velocity, steer=angular_velocity) # DEU ERRO PORQUE PASSEI PARA FLOAT
Boost.Python.ArgumentError: Python argument types in
    VehicleControl.__init__(VehicleControl)
did not match C++ signature:
    __init__(struct _object * __ptr64, float throttle=0.0, float steer=0.0, float brake=0.0, bool hand_brake=False, bool reverse=False, bool manual_gear_shift=False, int gear=0)
    __init__(struct _object * __ptr64)

The step function is the following:
    def step(self, action):
        print(action)
        linear_velocity = action[0]  # Access the first element of the action array
        angular_velocity = action[1]  # Access the second element of the action array
        print(type(linear_velocity), type(angular_velocity)) # <class 'numpy.float32'>
        # Apply the control to the ego vehicle
        ego_vehicle_control = carla.VehicleControl(throttle=linear_velocity, steer=angular_velocity)
        self.ego_vehicle.apply_control(ego_vehicle_control)

        # Get the observations
        observation = self.get_obs()
        distance_to_next_waypoint = observation[0]
        angle_toward_next_waypoint = observation[1]
        len_route = observation[2]
        collision_occured = observation[3]

        self.calculate_reward(linear_velocity, distance_to_next_waypoint, angle_toward_next_waypoint, len_route, collision_occured)

        return observation, self.reward, self.terminated

What should I do?

The arguments to VehicleControl should be float values, seems like you are passing float arrays to it instead.

The arguments to VehicleControl should be float values, seems like you are passing float arrays to it instead.

In that case I get the following:
Assertion failed: (_clients.find(token.get_stream_id())) ==(_clients.end()), file C:\workspace\carla\LibCarla\cmake\..\source\carla/streaming/low_level/Client.h, line 56
:/

@catarinam93 As @GoodarzMehr has said this error means there is a mismatch in the python arguments types your are sending to the carla.VehicleControl.
From your code it seems you are using a numpy.float32 type instead of float. Please, convert these values to float first:
ego_vehicle_control = carla.VehicleControl(throttle=float(linear_velocity), steer=float(angular_velocity))

@catarinam93 As @GoodarzMehr has said this error means there is a mismatch in the python arguments types your are sending to the carla.VehicleControl.
From your code it seems you are using a numpy.float32 type instead of float. Please, convert these values to float first:
ego_vehicle_control = carla.VehicleControl(throttle=float(linear_velocity), steer=float(angular_velocity))

Passing as floats I get the following:
Assertion failed: (_clients.find(token.get_stream_id())) ==(_clients.end()), file C:\workspace\carla\LibCarla\cmake..\source\carla/streaming/low_level/Client.h, line 56
What should I do?

Can you print the full stack trace please? It's hard to know what happened based on a single line of error.

Can you print the full stack trace please? It's hard to know what happened based on a single line of error.

C:\Users\Caty\Documents\Transfer-Reinforcement-Learning-for-Enhanced-Autonomy-in-Vehicles>python main.py INFO:  Found the required file in cache!  Carla/Maps/Nav/Town01.bin INFO: Connection has been setup successfully. INFO:  Found the required file in cache!  Carla/Maps/TM/Town01.bin Car Spawned Path Generated Sensors Spawned Using cpu device Wrapping the env with a Monitor wrapper Wrapping the env in a DummyVecEnv. Assertion failed: (_clients.find(token.get_stream_id())) == (_clients.end()), file C:\workspace\carla\LibCarla\cmake\..\source\carla/streaming/low_level/Client.h, line 56
I am using a gymnasium environment btw

Since the error is somewhat coming out of nowhere, using the traceback package might be helpful in debugging the code. You can use something like this in your main file:
try:
    ...
except Exception:
    print(traceback.format_exc())

Given where the error is coming from, there is a good chance it is unrelated to VehicleControl and perhaps more related to how you've set up your Gymnasium environment. I've used VehicleControl in a Gymnasium environment before and everything worked fine (I was using Ubuntu though, don't know about Windows).

Since the error is somewhat coming out of nowhere, using the traceback package might be helpful in debugging the code. You can use something like this in your main file:
try:
    ...
except Exception:
    print(traceback.format_exc())

Given where the error is coming from, there is a good chance it is unrelated to VehicleControl and perhaps more related to how you've set up your Gymnasium environment. I've used VehicleControl in a Gymnasium environment before and everything worked fine (I was using Ubuntu though, don't know about Windows).

I did that (I think:)) in my main file:
`...
try:
# ----------------------------------------------- PPO Algorithm ----------------------------------------------
    ppo = PPO(policy="MlpPolicy", env=env, verbose=1) # Instantiate PPO algorithm
    ppo.learn(total_timesteps=100) # Train the PPO algorithm

    # ppo.save("trained_ppo_model") # Save the trained model
    # ppo.evaluate(env, n_eval_episodes=10) # Evaluate the trained model
except Exception:
    print(traceback.format_exc())`

but the outcome on the cmd was exactly the same :/

I'm not really sure what to make of this, perhaps someone like @joel-mb from the CARLA team can help you better. There isn't a lot of information in that specific Client.h file apart from the fact that a client cannot subscribe twice to the same stream. I also found #7295 but there isn't much information in that either. Based on these two, the only thing I can think of is that perhaps your client is somehow listening to a sensor's datastream twice.
I doubt this new error is related to your use of VehicleControl, so one thing you could do is use a debugger (e.g. VSCode's Python Debugger) to see how your code progresses and where the problematic line is. Or you can just put print() lines along your code and see what gets printed and what doesn't to see which lines get executed and which line throws out the error.

This seems ok to me. Since you mentioned the problem comes from the get_obs() function (which I don't see in the code you printed), you may want to look further into that function and see if you find anything problematic.

This seems ok to me. Since you mentioned the problem comes from the get_obs() function (which I don't see in the code you printed), you may want to look further into that function and see if you find anything problematic.

The strangest thing is that the get_obs function is called in the reset function (in the beginning) without any problem. Then it is called inside the step function and that is when the error occurs.
I will share it anyway:
    # Get the observations of the environment
    def get_obs(self):
        distance, angle = self.distance_angle_towards_waypoint()
        self.camera.listen(lambda data: self.process_img(data))
        self.collision_sensor.listen(lambda event: self.on_collision())

        while len(self.features_accumulator) == 0:
            time.sleep(0.05)

        if self.features_accumulator:
            average_features = sum(self.features_accumulator) / len(self.features_accumulator) # Get the average of the features
            self.features_accumulator = [] # Reset the accumulator

        # Concatenate and flatten all observation components into a single array
        observation = np.concatenate([average_features.cpu().numpy().flatten(), np.array([distance, angle, len(self.route), self.collision_occured])])

        return observation

Ok, I think I've figured out what's going on. You only need to define the listen() method for each sensor once, telling it what to do with the data stream. This is why the get_obs() function works fine the first time around. When you try to define the listen() method a second time around in the 'step()' function you get the error because as I said earlier 'a client cannot subscribe twice to the same stream'.

That solved the problem!!! Thank you so much!! <3


⚠ deces.matchid.io search API has degraded performance

In bcb4eaf, deces.matchid.io search API (https://deces.matchid.io/deces/api/v1/search?q=pompidou) experienced degraded performance:

HTTP code: 200
Response time: 4746 ms

Resolved: deces.matchid.io search API performance has improved in 1c4b358.


error on run with a fresh install

What's the problem (or question)?
included in the output is the following string:
error: invalid character '<' looking for beginning of value
How can we reproduce the issue?

install golang 1.10.2 in a debian system
go get github.com/Ice3man543/subfinder
$GOPATH/bin/subfinder -d reddit.com

before the domains are output, the error message presents itself.

Am I correct in assuming that results are still outputted at the duration of the scan and that this isn't throwing an exception?

correct

Although I haven't tested this yet I received the following over slack, looks to be a problem with master:
[anon:~]$ subfinder -d supershady.ru

   ____     __   _____         __
  / __/_ __/ /  / __(_)__  ___/ /__ ____
 _\ \/ // / _ \/ _// / _ \/ _  / -_) __/
/___/\_,_/_.__/_/ /_/_//_/\_,_/\__/_/

SubFinder v0.1.0       Made with ❤ by @Ice3man
==================================================

[-] Searching For Subdomains in Censys
[-] Searching For Subdomains in Crt.sh
[-] Searching For Subdomains in CertDB
[-] Searching For Subdomains in Certspotter
[-] Searching For Subdomains in Threatcrowd
[-] Searching For Subdomains in Findsubdomains
[-] Searching For Subdomains in DNSDumpster
[-] Searching For Subdomains in PassiveTotal
[-] Searching For Subdomains in PTRArchive
[-] Searching For Subdomains in Hackertarget
[-] Searching For Subdomains in Virustotal
[-] Searching For Subdomains in Securitytrails
[-] Searching For Subdomains in WaybackArchive
[-] Searching For Subdomains in ThreatMiner
[-] Searching For Subdomains in Riddler
[-] Searching For Subdomains in Netcraft
[-] Searching For Subdomains in Dnsdb
[-] Searching For Subdomains in Baidu
[-] Searching For Subdomains in Bing
[-] Searching For Subdomains in Ask

[+] Finding subdomains for : supershady.rupanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x123c71b]

goroutine 33 [running]:
github.com/Ice3man543/subfinder/libsubfinder/sources/riddler.Query(0xc42012c000, 0xc4200b6120)
    /Users/anon/go/src/github.com/Ice3man543/subfinder/libsubfinder/sources/riddler/riddler.go:56 +0x24b
created by github.com/Ice3man543/subfinder/libsubfinder/engines/passive.Discover
    /Users/anon/go/src/github.com/Ice3man543/subfinder/libsubfinder/engines/passive/passive.go:136 +0x824


Fix issues with CliRunner's echo_stdin

Fixes #1101 and some related issues with CliRunner(echo_stdin=True).
As raised in #1101, with Python 2 any prompted input appears twice in the output recorded by CliRunner when using echo_stdin=True. It appears to work with Python 3 because EchoingStdin does not always echo. For example, using input instead of click.prompt:
@click.command()
def test():
    foo = input("Foo: ")
    click.echo("foo={}".format(foo))

runner = CliRunner(echo_stdin=True)
result = runner.invoke(test, input="bar\n")
print(result.output)

Expected output:
Foo: bar
foo=bar

Actual output:
Foo: foo=bar

Environment: Click 7.1.2, Python 3.7.7
Here the problem was that TextIOWrapper tries to call read1 on the underlying input stream, which wasn't being overridden in EchoingStdin. After adding an echoing read1, both Python 2 and Python 3 double-echo with click.prompt.
I've modified visible_input not to echo when echo_stdin=True. To get consistent behaviour for hidden prompts (which should not echo even if echo_stdin=True) I also added a way to temporarily turn off echoing inside hidden_input. This is also used in _getchar if it gets passed echo=False.
Finally, there was one more subtle problem in Python 3. TextIOWrapper provides a buffered stream that reads a large chunk from the input before parsing out individual lines. When the underlying input stream is EchoingStdin, this causes all input (up to the chunk size) to be echoed at once. Here's another example:
@click.command()
def test():
    click.prompt("a")
    click.prompt("b")

runner = CliRunner(echo_stdin=True)
result = runner.invoke(test, input="foo\nbar\n")
print(result.output)

Expected output:
a: foo
b: bar

Actual output:
a: foo
bar
b:

Environment: commit 21cde2f (after the previously mentioned issues are fixed), Python 3.7.7
The only solution I found for this was to set the _CHUNK_SIZE attribute of TextIOWrapper, which is not documented (I found it here) and I guess that means it might not be compatible with all Python implementations. It would be great if someone knows a cleaner approach, otherwise I hope it's okay to contribute something like this.

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code. (n/a)
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[x] Add .. versionchanged:: entries in any relevant code docs. (n/a)
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

src/click/utils.py:129:9: B014 Redundant exception types in `except (IOError, OSError) as e:`.  Write `except OSError as e:`, which catches exactly the same exceptions.

Not sure about this one as I haven't made any changes to src/click/utils.py. I can see on master that it has been changed to just OSError as suggested. Should I do the same here even though it's unrelated to the main issue? New to this so guidance appreciated!

You should target this pr at master, not 7.x.

Thanks @davidism, I've updated the base branch. I thought since this is a bugfix the contributing guide said to target the latest maintenance branch.

You need to rebase, in addition to changing it in github.

#1836 changed how the prompt was echoed to work around a readline issue. Splitting echoing the prompt from the space after it seems to mess up the tests you wrote. I changed to unconditionally disabling echo_stdin behavior during the visible_input, hidden_input, and _getchar functions, and this seems to have fixed it. Used a context decorator instead of managing the flag manually.


fix: Commit sled state in a transaction

Fixes a race condition between the height and hash tree AddBlock updates,
when they are executed simultaneously with GetDepth.
This is a temporary fix, until we implement serialised state reads.
Closes #932.

Did you tried to sync again with this patch and can confirm panics are gone ?

It seems to be a really rare race condition. I have never seen it before. Maybe some recent changes made it happen more often.
I haven't seen thepanic again, but I am also having trouble getting sync to work reliably.


When splitting a window, the highlighting does not take effect globally.

Hi! This is a very helpful Vim plugin, thank you.
But when I used it, I encountered some problems, maybe I used it incorrectly?
When the screen is split, highlight a word in the original panel, but it will not take effect in the new panel.
However, after highlighting a word in the new panel, and then highlighting the word in any panel, both panels will take effect.

How to fix this problem please? Thanks!

Hi @Virus-V, thank you for reporting this issue. This is a bug, I have already fixed It. Please pull the latest code and try.


Revert "arch: arm: userspace: minor refactor in z_arch_is_user_context"

This reverts commit 48fa076a56fdde42adcd572215f9fc85fb076c48.
That commit pulls in a header that causes the following failure on
many platforms/tests:
sanitycheck -p stm32f469i_disco -T tests/kernel/workq/work_queue_api
Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
In file included from /scratch/zephyr/zp1/zephyr/include/arch/arm/syscall.h:29,
from /scratch/zephyr/zp1/zephyr/include/arch/syscall.h:15,
from /scratch/zephyr/zp1/zephyr/include/syscall.h:12,
from /scratch/zephyr/zp1/zephyr/include/kernel_includes.h:32,
from /scratch/zephyr/zp1/zephyr/include/kernel.h:17,
from /scratch/zephyr/zp1/zephyr/kernel/include/kernel_structs.h:10,
from /scratch/zephyr/zp1/zephyr/arch/arm/core/offsets/offsets.c:26:
/scratch/zephyr/zp1/zephyr/include/arch/arm/cortex_m/cmsis.h:92:2: error: #error "DT_NUM_IRQ_PRIO_BITS and __NVIC_PRIO_BITS are not set to the same value"
#error "DT_NUM_IRQ_PRIO_BITS and __NVIC_PRIO_BITS are not set to the same value"
^~~~~
Signed-off-by: Peter Bigot<EMAIL_ADDRESS>

@pabigot @nashif  I realize that some platforms are failing due to the clean-up patch I 've sent, but there is a reason not to revert this; we need to fix the cycle inclusion issues for ARM, due to /include/arch/arm/cmsis.h including soc.h.
I've basically broken this cycle, but, some SoCs might have missed the fix, and CI has not detected the failures. So I'll work on that, to fix this as soon as possible.
We really need to fix this, so please, defer from merging this revert.

@ioannisg and I have discussed this.  While the problem is easy to replicate there's a reasonable chance it won't show up in "shippable test configurations" related to actual PRs (I discovered it with sanitycheck --all to reveal failing platforms).  If it does, we can re-evaluate then based on the severity of impediment.

we do run sanitycheck --all every night, so this issue should have been visible there, I guess not many are following the results from the nightly run. The issue seems to be causing over 1000 fails, so we need to fix it ASAP or revert and provide a fixed cleanup patch.

for reference:
https://app.shippable.com/github/zephyrproject-rtos/ci-test/runs/3123/summary/console

for reference:
https://app.shippable.com/github/zephyrproject-rtos/ci-test/runs/3123/summary/console

Thanks a lot @nashif
FYI: I went through the failures already Job 1, and seems its' only the two stm32f4x platforms failing the builds (96b_stm32_sensor_mez, and 96_carbon), for which #19357 should be fixing the issues
I'll continue with the rest

We really need to fix this, so please, defer from merging this revert.

nononono that's not how this works.
If something goes in which starts breaking other people, we revert it ASAP!
We don't sit around with a broken tree waiting for a root cause fix unless you already have one ready to go.
And these are not mutually exclusive anyway. We can revert this, and you can on your own time, submit a corrected PR which doesn't cause these issues.

Superseded by #19357.


test Optimize doris container log print

Proposed changes
Optimize doris container log print
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

I think we can add another pipeline to run 1.2 and 2.0 at the same time.


Sending Fahrenheit

My Friedrich ductless AC device seems to be sending the temperature reading (and settings) through TUYA in Fahrenheit, but then when I look in homebridge GUI, instead of showing 70 degrees F, it shows 158 degrees F, which means the plugin (or homebridge) is treating the F temp value being sent as though it is in C, and converting it into F (erroneously). In homebridge GUI and the home app, it shows 158F, while the aircon shows 70F. Is there a way to ensure that the plugin is specifying that the value it is receiving from Tuya is already in F?
As a test, if I switch the air conditioner to C, then homebridge GUI and Home show the correct temp amount for F (even though the device is set to C on device and in Home). This means that the plug-in is converting from C to F, regardless of what the input is from Tuya. Could you provide a setting that allows us to specify what the device is sending and receiving in?

To clarify, this is definitely a Friedrich issue, which they confirmed when I called them. That said, if the Tuya plugin had the ability to compensate for that fact (meaning, recognize that F values are being sent, even if it says they are C), then it would work. Could the plugin have a setting (Friedrich y/n)?

I have a similar problem with a atomi heater, the unit is operating in Fahrenheit. I believe the relevant Tuya api end point is described as follows:
      {         "code": "temp_set",         "desc": "{\"unit\":\"℉\",\"min\":60,\"max\":86,\"scale\":0,\"step\":1}",         "name": "设置温度",         "type": "Integer",         "values": "{\"unit\":\"℉\",\"min\":60,\"max\":86,\"scale\":0,\"step\":1}"       },


Batch Editing

How will one go about batch editing? Selecting multiple rows and editing their values?
For example if you want to change a category for multiple items.

Hi, i think you could refer to the Products page in NorthWind module. use SlickGrid Formatter. you also can refer to this guide How To: Use a SlickGrid Formatter.


Add limits resource to api

Adds the limits resource to api.rb.
This also adds a version_guard method that will raise an exception if you aren't connected at a version that supports this feature. It was written in a way that can be re-used for other resources.
https://www.salesforce.com/us/developer/docs/api_rest/Content/dome_limits.htm

Closing this as the same stuff appears in the other PR.


Error processor when run sample Python-scripts

Hi! when i try to run any scripts from the folder /tsduck/sample/sample-python/ then the script stop with error:
File "/usr/share/tsduck/python/tsduck.py", line 1416, in start
raise TSPStartError("Error starting TS processor").
I tried any system Debian 10, Ubuntu 19, but all the same.
TSDuck version 3.28-2520.
Thanks for the answer.

https://dvb.by/photo_2021-09-10_11-28-46.jpg
Python version 3.8.10

Hi @dvbshka
These scripts are sample scripts. They are here to provide guidelines for the Python programmer. Did you read them and check what they do? For example, the script sample-analyze-ts.py that you use on your picture, specifies the input plugin file and specify the parameter file.ts:
tsp.input = ['file', 'file.ts']
tsp.plugins = [ ['analyze', '--json-line=' + json_marker] ]
tsp.output = ['drop']

As you see, this is just an example. Do you have a TS file named file.ts in your current directory? If yes, the script will probably work. If not, the ugly Python error reporting will blow up with its usual useless traceback.
BTW, it would have been more practical to post a copy/paste of your command and its output rather than a truncated photo of your screen.


The method run_range_formatting on RubyLsp::Requests::Support::Formatter is declared as abstract

Description

I'm using VSCode
When open a Ruby file and editing this crash happen
I'm using standard for formatter and linters
Suspect that can be standard gem

Code snippet or error message
#<Thread:0x000000015c8975f8 /Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/ruby-lsp-0.20.0/lib/ruby_lsp/base_server.rb:141 run> terminated with exception (report_on_exception is true):
/Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/sorbet-runtime-0.5.11602/lib/types/private/methods/call_validation.rb:23:in `block in wrap_method_if_needed': The method `run_range_formatting` on RubyLsp::Requests::Support::Formatter is declared as `abstract`. It does not have an implementation. (NotImplementedError)
	from /Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/ruby-lsp-0.20.0/lib/ruby_lsp/requests/range_formatting.rb:30:in `perform'
	from /Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/ruby-lsp-0.20.0/lib/ruby_lsp/server.rb:555:in `text_document_range_formatting'
	from /Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/ruby-lsp-0.20.0/lib/ruby_lsp/server.rb:47:in `process_message'
	from /Users/danieldocki/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/ruby-lsp-0.20.0/lib/ruby_lsp/base_server.rb:154:in `block in new_worker'

Thank you for the report! This is due to the addition of range formatting to the LSP, but the Standard add-on doesn't support that yet.
The fix is to add the following declaration to this class.
def run_range_formatting(uri, source, base_indentation)
  # Not yet supported. Should return the formatted version of `source` is a partial selection of the
  # entire document. For example, it should not try to add a frozen_string_literal magic comment and all
  # style corrections should start from the `base_indentation`
  nil
end


Remove package-lock.json

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Right now we are including package-lock.json in the repo and adding it will just make the things harder like keeping the package-lock.json up to date every time. I agree that using package-lock.json makes it easy and happy for users with npm>5. But this is a trade-off which we have to consider.
What is the expected behavior?
Remove package-lock.json from the repo.
Please mention other relevant information.

node version: 8.2.1
npm version: 5.x
Operating system: macOS

I think we can remove it. But, again as @SaraVieira has mentioned in https://github.com/siddharthkp/bundlesize/pull/126#issuecomment-325933500, we might or might not get issues in the future in Travis CI.
I think this has to be a ongoing test process to figure if it would be future proof like:

Create a test repo or branch for this purpose.
Add package-lock.json to .gitignore on this branch
Add few dependencies and dev depedencies in package.json.
Add few commits based on this new package.json
See if the CI build is passing.
Add few more dependencies and dev depedencies in package.json and remove some of the old ones.
Repeat steps 4-5


whether can put .bam file as a input

can fastq/fasta as a reads input, as well .bam file can?

you can't use bam as input. If you have a bam, convert to fast using "samtools fastq".
We need to align the reads using specific options and keep track what fasta/q file each read came from.
-Chris


i'd like to have an explanation about this problem

https://www.virustotal.com/gui/file/4ee1215868df906df34ab448dceba76e7260121c062db4d1d911b4220ec85920/detection

most probably this is because of native asus libraries make calls to rundll32


Add procedure to clear _MEI files in temp upon closing or add to --clear_all

I've noticed as long as I have been using SHARK that it generates, but does not remove, a lot of _MEI folders in C:\Users[USERNAME]\AppData\Local\Temp which can be quite sizable and use a lot of storage space over time.
I've been using a .bat file script I made to remove them (See below). Would it be possible to add a similar feature into the .exe for cleanup?
.bat script:
@echo off
setlocal
set "dir=C:\Users\dtrou\AppData\Local\Temp"
set "prefix=_MEI"
echo Deleting folders starting with %prefix% in %dir%...
REM Disable confirmation prompt before deleting folders
set "confirm_flag=/s /q"
for /f "delims=" %%f in ('dir /b /ad "%dir%%prefix%*"') do (
echo Deleted: "%dir%%%f"
rd %confirm_flag% "%dir%%%f"
)
echo Deletion complete. This window will close in 3 seconds.
timeout /t 3 > nul
endlocal
Thanks Darrell (Ramz)

Hello, i will look at this if you dont mind. How often should these files get deleted for example after each generation or program close?

I think after program close should be sufficient. That is usually when I run my script.

I think after program close should be sufficient. That is usually when I run my script.


Escape characters are not properly decoded in tags

I've been using this library to write a program that records Twitch chat for later playback. Pydle has been a big help, but I ran into a problem. It seems like the escape characters for IRCv3 tags (described here) are improperly interpreted. Rather than taking on the character they represent, they are given an extra backslash, so \s becomes \\s.
For example, if a message like the following is sent,
@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel :some message
the value of message.tags['extradata'] is This\\sis\\sescaped when I would have expected This is escaped.
I can work around this by replacing \\ + an escape character with the appropriate character, but it would be nice if this wasn't necessary.

Hm, are you sure this isn't just python's escape sequences? \ is used as the escape sequence character in python's strings, so if a \ occurs within a string its stored as \\, which shouldn't effect parsing.
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: data = r"@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel
   ...:  :some message"

In [2]: data
Out[2]: '@extradata=This\\sis\\sescaped :test.example.com PRIVMSG #channel :some message'

In [3]: print(data)
@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel :some message

I was thinking the same. Regardless, escape parsing is something that’d need to be implemented.
It wasn’t in the spec when I first implemented IRCv3 message tags, if I recall correctly.

On Aug 5, 1 Reiwa, at 22:18, Joshua Salzedo<EMAIL_ADDRESS>wrote:
Hm, are you sure this isn't just python's escape sequences? \ is used as the escape sequence character in python's strings, so if a \ occurs within a string its stored as \, which shouldn't effect parsing.
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: data = r"@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel
...:  :some message"
In [2]: data
Out[2]: '@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel :some message'
In [3]: print(data)
@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel :some message

ahh, \s should become a  , yep this will require some additional logic added to IRCv3 message handling

Hm, are you sure this isn't just python's escape sequences? \ is used as the escape sequence character in python's strings, so if a \ occurs within a string and isn't an escape sequence its stored escaped as \\, which shouldn't effect parsing.
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: data = r"@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel
   ...:  :some message"

In [2]: data
Out[2]: '@extradata=This\\sis\\sescaped :test.example.com PRIVMSG #channel :some message'

In [3]: print(data)
@extradata=This\sis\sescaped :test.example.com PRIVMSG #channel :some message

You're correct! I wasn't familiar with how Python handled that.
Also, thank you both for considering additional support for this.


[SPARK-34183][SS] DataSource V2: Required distribution and ordering in micro-batch execution

What changes were proposed in this pull request?

This PR adjusts existing logical plans for micro-batch writes to support required distribution and ordering. This change implements what was discussed in PR #31700. In particular, the consensus was to adapt existing streaming plans to support write requirements instead of introducing new logical plans for Structured Streaming. That's a separate item and must be addressed independently.
Why are the changes needed?

These changes are needed so that data sources can request a specific distribution and ordering not only for batch but also for micro-batch writes.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

This PR extends existing tests to cover micro-batch cases.

cc @cloud-fan @HeartSaVioR @dongjoon-hyun @viirya @sunchao @HyukjinKwon @huaxingao

BTW I found that we hadn't closed SPARK-23889. Would it be OK for you to resolve the ticket with target version to 3.2.0 since all sub-tasks are done in 3.2.0?

I actually forgot about SPARK-23889. I can make SPARK-34183 a sub-task of that or we can keep them separate and close SPARK-23889 now. No preference from my side.

@HeartSaVioR, I've added validation for continuous execution mode and added tests for update output mode.

Thanks! Merging to master.

Thanks for reviewing, @HeartSaVioR!


OpenComputers Raw Circuitboard Recipe Requires Un-craftable Vanilla Clay Block

Or is there some alternative way of creating vanilla clay blocks?

Fixed for next update.

Also, the tier 2 computer case requires a vanilla chest, and a tier 3 case requires a tier two case. Would you be able to look at the tier 2 recipe as well please? Thank you Bunsan :) Am loving the modpack!

Fixed. Thanks for reports. Glad you are enjoying pack.


Updates seeds directory  with data directory for storing seed files

Seed files are now stored in the data directory under the project root directory. This commit makes changes to the following lines to reflect this new project setup:

Line 13: typically in your seeds directory --> typically in your data directory

Line 32: Add the file... seeds directory... e.g. seeds/country_codes.csv --> Add the files...data directory...e.g. data/country_codes.csv

Line 34: File name='seeds/country_codes.csv' --> File name='data/country_codes.csv'

Line 69: -- This refers to...seeds/country_codes.csv --> -- This refers to ...data/country_codes.csv

What are you changing in this pull request and why?
Seed files are now stored in the data directory under the project root directory and no longer the seeds directory. The seeds directory no longer exists and is confusing when the seeds directory is mentioned as the location for storing seeds.

Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

hey @sdopoku , great PR and awesome to see your first contribution 💪
wanted to double check this change - are seeds now stored in data ? i thought in v1.0 we changed the values from data-paths to seed-paths so I'm trying to verify. before we put this info in the docs, can you let me now how you identified this? many thanks 🙏

Hey @mirnawong1 , You're right. That's an oversight on my end.
I had it backward based on coincidentally referring to a couple of legacy projects (internal-analytics, technical-instructor which are still using the old naming convention.
You can reject this PR as well as https://github.com/dbt-labs/docs.getdbt.com/pull/5567.

Thanks again for thi pr @sdopoku , really appreciate your diligence here! Closing this pr as discussed since seeds is the correct path 🙏