Deepcopy failed on _thread.lock

I'm trying to build a little board game with a reasonably smart computer opponent. For that, I need deepcopy to find the best next move. Using copy.deepcopy gives me the following error. Any hints for getting this to work would be great!
Python 3.10 on Ubuntu is in use here...

Exception in thread Thread-9 (handler):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/georg/.virtualenvs/SteinchenSpiel/lib/python3.10/site-packages/flet/event_handler.py", line 16, in handler
h(r)
File "/home/.../gui/MuldenButton.py", line 45, in spiele
self.board.lasse_computer_ziehen()
File "/home/.../gui/Spielbrett.py", line 37, in lasse_computer_ziehen
self.computer_spieler.spiele_zug_mit_meisten_steinen_am_ende()
File "/home/.../Spieler/AutomatischerSpieler.py", line 17, in spiele_zug_mit_meisten_steinen_am_ende
sf = deepcopy(self.get_spielfeld())
File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "/usr/lib/python3.10/copy.py", line 271, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
.
.
.
File "/usr/lib/python3.10/copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "/usr/lib/python3.10/copy.py", line 271, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python3.10/copy.py", line 146, in deepcopy
y = copier(x, memo)
File "/usr/lib/python3.10/copy.py", line 231, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python3.10/copy.py", line 161, in deepcopy
rv = reductor(4)
TypeError: cannot pickle '_thread.lock' object

I skipped some reoccurring lines

Have you tried googling the error?
https://www.google.com/search?q=cannot pickle '_thread.lock' object

Have you tried googling the error? https://www.google.com/search?q=cannot pickle '_thread.lock' object

Yes, in fact I did google it, but I'm not sure if it's a general thing caused by the multiprocess nature of flet.
When I run the Program without GUI, the code is working. When the method with utilizes the deepcopy is called from a flet GUI Button, it crashes with the error mentioned above.
I guess I need to find a way to omit _thread.lock from being copied or run the whole method single threaded. But I have no clue so far, where to start this endeavor.

Could you do a simple repro, so we could investigate?

Here a little working example. The problem is the deepcopy of the ListElementClass object, which is a flet.Text object, I think.
import flet as flet
from flet import Page, AnimatedSwitcher, Text, Container

class ListElementClass(Text):  # Element to be altered inside copied list
    def __init__(self):
        super().__init__(value="Push me!")

list = []
for _ in range(10):
    list.append(ListElementClass())  # Mache Elemente flet Object...

class OtherClass(AnimatedSwitcher):
    class InnerClass(Container):
        def __init__(self, methode):  # Constructor of InnerClass
            super().__init__(content=Text(value=list[0].value), on_click=methode)

    def __init__(self):  # Constructor of OuterClass
        super().__init__(content=OtherClass.InnerClass(methode=self.deepcopy_methode))

    def deepcopy_methode(self, e):
        from copy import deepcopy
        print("Methode invoked")
        copy_of_list = deepcopy(list)

def main(page: Page):
    oc = OtherClass()  # Creating the construct
    page.add(oc)  # adding to the site

flet.app(target=main)

By producing this example code, I thought that maybe I should keep the values outside any flet object and store them in a different datastructure to do the deepcopy on that datastructure...
@FeodorFitsner And a word of Thank You for this nice project! I really appreciate your work here.

So I came up with a solution to this issue. There is a class which is subject to the deepcopy process. This class itself has an attribute self.board which is a flet object. By excluding it from deepcopy, things work like a charm.
def __deepcopy__(self, memo):
        from copy import deepcopy
        cls = self.__class__
        result = cls.__new__(cls)
        memo[id(self)] = result
        for k, v in self.__dict__.items():
            if k != 'board': # here is the trick
                setattr(result, k, deepcopy(v, memo))
        return result

I hope my failure will be of help to anybody else. Thanks again for the project and the fast response!

Issue seems closed. Did you manage to get it fixed?

So, I just faced this same issue, and I actually confirm that flet controls can't be deepcopied. Please @FeodorFitsner investigate on this.
I made this basic code sample to help ease investigations:
import copy
import flet as ft

def main(page: ft.Page):
    text = ft.Text("Hello")
    mycopy = copy.deepcopy(text)

    page.add(
        ft.Text("Hello")
    )

ft.app(target=main)

This issue should be reopened. If it can't then I can maybe create another one.

We could provide a custom ___deepcopy__() implementation and bypass non-cloneable attributes: https://stackoverflow.com/a/50352368/1435891 - is anyone willing to help with that?

I will give it a try.
Please what do you mean by "bypass non-cloneable attributes"?

I mean when you implement Control.___deepcopy__() you choose what object fields to clone and you don't clone self.__lock and other such things.

So, I am now on this issue and understand exactly from where the error comes.
I also now understand what you meant by "bypass non-cloneable attributes".
I found the non-cloneable attribute causing all the problems: '_lock': <unlocked _thread.lock object at 0x000002AEDF27A340>
This key, value pair is found in self.__dict__
I am willing to "bypass" it, but will like to know it's use, or if it won't cause any issue?

I mean when you implement Control._deepcopy() you choose what object fields to clone and you don't clone self.__lock and other such things.

Yeah I got it. Will it be alright to leave it out?

those locks are needed for proper functioning.

After investigations I happened to come out with this bit of code(which is to be added into the Control class - so every control inherits it):
    def __deepcopy__(self, memo):
        """
        It creates a new instance of the class, and then copies all the attributes of the old instance into the new one,
        except for those attributes that can't be deepcopied(ex: _lock).

        :param memo: A dictionary of objects already copied during the current copying pass
        :return: A deep copy of the object.
        """
        cls = self.__class__()
        memo[id(self)] = cls
        for k, v in self.__dict__.items():
            try:
                cls.__dict__[k] = copy.deepcopy(v, memo)
            except TypeError:
                pass
        return cls

I tested it on the code below and it worked like charm:
import copy
import flet as ft

def main(page: ft.Page):
    text = ft.Text(
        "Hello from Text",
        size=50,
        color=ft.colors.WHITE,
        bgcolor=ft.colors.GREEN_700,
        weight=ft.FontWeight.BOLD,
        italic=True,
    )

    deepcopy = copy.deepcopy(text)  # make a deepcopy

    print(f"{text=}, \n{deepcopy=}\n")
    print(f"{text.value=},\n{deepcopy.value=}\n")

    def modify(e):
        text.value = "Bye from Text"
        deepcopy.value = "Bye from DEEP Copy"
        page.update()
        print(f"{text.value=}, \n{deepcopy.value=}\n")

    page.add(
        ft.ElevatedButton("Modify", on_click=modify),
        text,
        deepcopy
    )

ft.app(target=main)

But the above solution I made doesn't seem to work as expected with complex controls (the DataTable control precisely, which is the only control I need to deepcopy in my usecase - PaginatedDT). I prepared a little code sample below:
import copy
import flet as ft

def main(page: ft.Page):
    page.theme_mode = "light"

    dt = ft.DataTable(
        width=700,
        bgcolor="yellow",
        border=ft.border.all(2, "red"),
        border_radius=10,
        vertical_lines=ft.border.BorderSide(3, "blue"),
        horizontal_lines=ft.border.BorderSide(1, "green"),
        sort_column_index=0,
        sort_ascending=True,
        heading_row_color=ft.colors.BLACK12,
        heading_row_height=100,
        data_row_color={ft.MaterialState.HOVERED: "0x30FF0000"},
        show_checkbox_column=True,
        divider_thickness=0,
        column_spacing=200,
        columns=[
            ft.DataColumn(
                ft.Text("Column 1"),
                on_sort=lambda e: print(f"{e.column_index}, {e.ascending}"),
            ),
            ft.DataColumn(
                ft.Text("Column 2"),
                tooltip="This is a second column",
                numeric=True,
                on_sort=lambda e: print(f"{e.column_index}, {e.ascending}"),
            ),
        ],
        rows=[
            ft.DataRow(
                [ft.DataCell(ft.Text("A")), ft.DataCell(ft.Text("1"))],
                selected=True,
                on_select_changed=lambda e: print(f"row select changed: {e.data}"),
            ),
            ft.DataRow([ft.DataCell(ft.Text("B")), ft.DataCell(ft.Text("2"))]),
        ],
    )

    mycopy = copy.deepcopy(dt)

    print(f"{dt=}, \n{mycopy=}\n")

    page.add(
        dt,
        mycopy
    )

ft.app(target=main)

The result could be seen below. The original on the top, and the deepcopied down (the line + checkbox in the middle)

I might keep investigating, but don't know what I can do to properly 'deepcopy' flet controls. I will appreciate some help.

Implementation looks good to me - I'd probably start with that :)
I guess (just a guess) there are some non covered cases with DataTable, like inner collections? Don't know if copy.deepcopy() works agains them automatically. You can investigate on some simpler controls with collections like Row, etc.

I also went on to modify the for loop as follows (in order to see the message in the TypeError raised by the Data** stuffs);
        for k, v in self.__dict__.items():
            # try:
            if k != "_lock":
                cls.__dict__[k] = copy.deepcopy(v, memo)
            # except TypeError:
            #     print(k, v)
            #     pass

And had the below error:
  File "C:\Users\TheEthicalBoy\venv\Lib\site-packages\flet\control.py", line 460, in __deepcopy__
    cls = self.__class__()
          ^^^^^^^^^^^^^^^^
TypeError: DataColumn.__init__() missing 1 required positional argument: 'label'

My thinking is that you have to override __deepcopy__() in DataColumn and DataCell classes as well.
And maybe filter copying of an attribute with _lock name, but instead create a new Lock explicitly.

I think I have to make a PR so you see how things move.
If creating a new lock won't disturb, How can I create a new lock please?


[HDInsight] - Update configurations

Hydra PR Links
Azure/hydra-specs-pr#1402: [HDInsight] - Update configurations
Rest Spec PR Links
Azure/azure-rest-api-specs#5477: [HDInsight] - Update configuration related APIs
Note
Add 3 new SDK method groups:

IClusterOperations.ListConfigurationsAsync: Gets all configuration information for an HDI cluster.
IClusterOperations.GetGatewaySettingsAsync: Gets the gateway settings for the specified cluster.
IClusterOperations.UpdateGatewaySettingsAsync: Configures the gateway settings on the specified cluster.

@shahabhijeet PTAL

@aim-for-better Please join Azure org here

@aim-for-better Please join Azure org here
Please link the Rest spec PR too

@dsgouda  The Rest spec PR Link has been updated. Please see the latest comment. Thanks.

@aim-for-better Please join Azure org here
Please link the Rest spec PR too

@dsgouda The Rest spec PR Link has been updated. Please see the latest comment. Thanks.

And Hydra spec PR Link can be opened correctly now

@aim-for-better @idear1203 Why is this targeting the HyakNetCore branch?
@shahabhijeet PTAL

<AssemblyOriginatorKeyFile>MSSharedLibKey.snk</AssemblyOriginatorKeyFile>

Is assembly sign necessary? Our Swagger based SDK don't have assembly sign. You can see from here

Refers to: src/ResourceManagement/HDInsight/Microsoft.Azure.Management.HDInsight/Management.HDInsight.csproj:15 in d21d960. [](commit_id = d21d960e582ccbdea0319449ef11067182a1fd1d, deletion_comment = False)

<AssemblyOriginatorKeyFile>MSSharedLibKey.snk</AssemblyOriginatorKeyFile>

Is assembly sign necessary? Our Swagger based SDK don't have assembly sign. You can see from here
Refers to: src/ResourceManagement/HDInsight/Microsoft.Azure.Management.HDInsight/Management.HDInsight.csproj:15 in d21d960. [](commit_id = d21d960, deletion_comment = False)

yes, it is necessary. Otherwise, while building there is error.

<AssemblyOriginatorKeyFile>MSSharedLibKey.snk</AssemblyOriginatorKeyFile>

Yes it is necessary.  Otherwise, while building there is error

In reply to: 481169757 [](ancestors = 481169757)

Refers to: src/ResourceManagement/HDInsight/Microsoft.Azure.Management.HDInsight/Management.HDInsight.csproj:15 in c204128. [](commit_id = c204128e8a02003b4d6c320054221c61de5ae2d1, deletion_comment = False)


Enable obsolscent interface when compiling objective c code in mac os

-- When compiling weave objective c device manager in mac os, Unknown type name Inet buffer compilation issue happens, needs to enable obsolscent interface.

Please explain what compilation errors this fixes and why objective-c code is using obsolete interfaces.

Yes, you are right, we don't need this change. The test application use the obsolete code. I will close this one, thanks


Add Creatio Connector fixes

Adds suggestion to Creatio connector docs.

@samgnaniah , may need to add these changes to 4.2.0 and the master branches as well.


DI-266 Database Management and Closure

Link to JIRA Ticket

https://nhsd-jira.digital.nhs.uk/browse/DI-266
https://nhsd-jira.digital.nhs.uk/browse/DI-268

Description
These changes ensure protection from SQL-injection attacks from user inputted values and explicitly closes the DoS DB connection at the end of each Lambda execution.
Noteworthy Changes

These are changes the reviewer should look out for

Type of change
Delete not appropriate

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

Testing
Please tick the testing that has been completed

[ ] Unit tests
[ ] Component tests

Developer Checklist

[ ] I have performed a self-review of my own code
[ ] I have run the code formatting checks
[ ] I have run the code quality checks
[ ] New code meets standards agreed by the team
[ ] Unit test code coverage is at or above 80%
[ ] New and existing unit tests pass locally with my changes
[ ] Tests have added that prove my fix is effective or that my feature works (Component tests)
[ ] I have made corresponding changes to the documentation
[ ] I have cleaned down my environment (if created)

Code Reviewer Checklist

[ ] I have run the unit tests and they run correctly
[ ] I can confirm the changes have been tested or approved by a tester
[ ] I can confirm no remaining infrastructure is left over from this branch

Unable to rename branch so created new branch


[CHALLENGE SUBMISSION]

Please provide the following information for your submission:
What is your name? (First, Last)
Antti Poutiainen
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/anttipo/terraform-on-azure-challenge3
What Challenge is this for? (Challenge number between 1 and 5)
3
(Optional) Anything else we should know? e.g., language used, location, blog post?
Live website: http://challenge3-app.azurewebsites.net/

Thanks for participating in the #TerraformOnAzure coding challenges!
We have attached your very special Astronaut Badger background, for you to use in all your upcoming video calls!
And to recognize you for your learning, you can collect your digital Azure Heroes badge on your mobile (you may need to install the Enjin wallet to collect it). Make sure to collect it today!
https://beam.enjin.io/claim/d32599695c8c28cfc24820492080fac0
Keep on learning and sharing!
Greetings from the #TerraformOnAzure team,
Suzanne, Floor, Erik & Nick


Use Custom Domain For The Docs

Consider using a custom domain like ngxtension.dev for the ngxtension documentation

We also need a better logo.

This is my little soapbox because I find it relevant:
As someone who primarily links to stuff on reddit, an issue with the domains of the docs has been that it is filtered on the Angular2 subreddit, the largest Angular subreddit that is fairly active in my experience. I don't think is done manually but in some sort of catch-all thing. This may have been when the domain name was more auto-generated-y than this one now if I recall. I haven't tried linking this most recent domain, but regardless, if you set a new domain I personally would hope that it makes it past the filter so I can link to it there. I am convinced the mods there are just... away from the wheel or not checking anymore. That said, a workaround has been just linking directly to the markdown file in the pretty view in GitHub.
I also say this as a PSA since I have seen posts from maintainers/contributors on their submissions page but the comment/post was hidden from the actual sub.


Check basic performance impacts of move from Biggus to Dask

Perform minimal confidence tests

area of uncertainty is large data behaviour  -- as not covered in standard iris test suite
key operations are file loading + saving.

(lazy stats + arithmetic are possible subsidiary areas )

key aspects are timings and memory usage
confirm that nothing important has a seriously reduced performance

Absolute-minimal large-data functions to cover :

loading : PP / FF/ NetCDF
"fast" (aka structured) loading of large FF

( N.B. once loaded, we expect results are identical to normal PP/FF loads, as the lazy data provision is the same, with a proxy for each field data section )

data realisation : PP / FF/ NetCDF
saving to PP (from PP/FF/NetCDF)
streaming to NetCDF (from PP/FF/NetCDF)

Initial version of some "standard" performance tests, roughly tuned by hand to test proposed aspects:
https://github.com/pp-mo/iris_basic_performance_tests/tree/0.1
code: standard_performance_tests.py
Initial results comparison :

version
Iris 1.13
Iris 2.0a0
Iris <nc_simple_chunks>

1v13
Test                        "PP load (plain)" :     1.076637 seconds
Test                   "PP load (structured)" :     0.847621 seconds
Test                           "PP data load" :     0.000049 seconds
Test                "Fieldsfile load (plain)" :     5.064258 seconds
Test           "Fieldsfile load (structured)" :     2.077609 seconds
Test                   "Fieldsfile data load" :     0.000008 seconds
Test                    "NetCDF load (plain)" :     0.229734 seconds
Test                       "NetCDF data load" :     0.000008 seconds
Test                          "PP save to PP" :     2.519118 seconds
Test                      "PP save to NetCDF" :     0.383260 seconds
Test                  "NetCDF save to NetCDF" :     2.181902 seconds
Test                      "NetCDF save to PP" :    69.754044 seconds

0v2a0
Test                        "PP load (plain)" :     1.293358 seconds
Test                   "PP load (structured)" :     1.005671 seconds
Test                           "PP data load" :     0.000276 seconds
Test                "Fieldsfile load (plain)" :     5.984852 seconds
Test           "Fieldsfile load (structured)" :     2.581901 seconds
Test                   "Fieldsfile data load" :     0.000014 seconds
Test                    "NetCDF load (plain)" :     0.230884 seconds
Test                       "NetCDF data load" :     0.000013 seconds
Test                          "PP save to PP" :     3.335268 seconds
Test                      "PP save to NetCDF" :     0.693001 seconds
Test                  "NetCDF save to NetCDF" :     2.847175 seconds
Test                      "NetCDF save to PP" :    76.802152 seconds

nc_small_chunks
Test                        "PP load (plain)" :     1.258870 seconds
Test                   "PP load (structured)" :     0.943731 seconds
Test                           "PP data load" :     0.000093 seconds
Test                "Fieldsfile load (plain)" :     5.838382 seconds
Test           "Fieldsfile load (structured)" :     2.610244 seconds
Test                   "Fieldsfile data load" :     0.000011 seconds
Test                    "NetCDF load (plain)" :     0.255428 seconds
Test                       "NetCDF data load" :     0.000010 seconds
Test                          "PP save to PP" :     2.628435 seconds
Test                      "PP save to NetCDF" :     0.727933 seconds
Test                  "NetCDF save to NetCDF" :     2.286657 seconds
Test                      "NetCDF save to PP" :    49.032603 seconds

Thanks @pp-mo. Useful intel.
I consider this good enough to get us through to the release candidate.
Looks like we are going to need to do some detailed profiling on a few of these cases to identify any quick wins - no pressure to do that before the RC though.

Pushed up a fix to the data-load problem + a new set of results.
Using mk1 eyeball, I'm ok that the above results are broadly maintained
( though timings seem altogether noisier today : I had to reduce repeatability tolerances, and even then one set of tests failed )
The extra load performance measures look roughly like --

...  (version):
"biggus"
"dask_nanmask"
"dask_masked"
dask_nanmask+%
dask_masked+%

PP data load
0.217066
0.308971
0.298676
42.3%
37.6%

Fieldsfile data load
1.256854
1.313222
1.257878
4.5%
0.1%

NetCDF data load
2.808193
2.660896
2.150034
-5.2%
-23.4%

Closing this one out - we have enough info to tell us that we are not about to drop a clanger with regards to performance, even though it is clear that there is some tuning work that can/needs to be done going forwards.


[FEATURE]: [Airwallex] Use connector_request_reference_id as reference to the connector

:memo: Feature Description

We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
This id should replace them as a reference id to the connector for payment request.
One might need to have exposure to api docs of the connector for which it is being implemented.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052

:bookmark: Note : All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

Hello @Sakilmostak can I be assigned this issue?

Hey @soumya-dash3,  I see that you're already assigned to #2295 and are working on it. For now, we'll leave this issue open to any other interested contributors. You may pick this up once your work on #2295 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you

Sure @sccalabr , Im assigning this issue to you.


Added {ID} placeholder and GetAOP Export for Integration

Surprised this wasn't already a placeholder... Thanks!

Surprised this wasn't already a placeholder... Thanks!

No problem!


Failed to load fetch polyfill on IE11+

Description
Inserting <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script> failed to load fetch polyfill on IE11 and above.
However, <script src="https://cdn.polyfill.io/v2/polyfill.js?features=fetch,Promise"></script> did sort out the problem.
Expected outcome
fetch API should be usable after loading the polyfill.min.js.
Actual outcome
fetch is undefined was thrown at the console.
Browsers Affected

[x] Edge
[x] IE 11

I'm not sure fetch is in the default set of polyfills. The features in
this table which have a star
next to them are in the default set of polyfills you receive when
requesting cdn.polyfill.io/v2/polyfill.js
On 7 May 2016 08:56, "Rong Sen Ng"<EMAIL_ADDRESS>wrote:

Description
Inserting  failed to load fetch polyfill on IE11 and above.
However,
did sort out the problem.
Expected outcome
fetch API should be usable after loading the polyfill.min.js.
Actual outcome
fetch is undefined was thrown at the console.
Browsers Affected

Edge
IE 11

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Financial-Times/polyfill-service/issues/691

@JakeChampion It makes sense. I didn't notice the star next to them.

Also note that if you want the default set PLUS fetch, you can do features=default,fetch.

Ugh. I didn't know that fetch wasn't included by default. Thanks for clarifying that.


Feature: add terminating null?

Hi!
I am thinking about opening textual files that are zipped (like xml and json files for example), but I see that I am getting a non-null terminated c_string when using miniz archive reading code. This makes sense for binary data, but for textual data it means I need to malloc an array that is one bytes bigger and then copy the data in there for my processing. This makes me use double amount of memory for files like that.
I think it would be a handy feature to have a parameter to tell if I want miniz to allocate one extra byte more and zero terminate my result OR not for these cases. Of course by default there should be no changes to already existing interfaces, just a seperate function where this is possible might be handy for better memory usage because this way likely there would be no memory duplication (or maybe yes because I do not know much about the internals - if yes, just ignore this or tell us)

Actually I have found that tinyxml2 can parse up to the length I provide and not only until zero termination, so at least my own case is covered - just wanted to add if anyone else does very similar things or the same maybe...
I would of course say this is of really low priority.


himrathana/vscode-jest,

// A launch configuration that compiles the extension and then opens it inside a new window
{Jest_welcome}
[Welcome="Type/('https://widnwos10.myshopify.com/admin/apps') Type:"Class AP" ]
//Welcome="you can connedt yoou laptop with class/('https://widnwos10.myshopify.com/admin/apps') AP/" SSID="TYPE:[ ]
[Welcome="Type/('https://widnwos10.myshopify.com/admin/apps') type:"account at"/]
//Welcome="Connect to the internet and make an account at"(https://www.google.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Connect to the internet and make an account at"(https://www.facebook.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Connect to the internet and make an account at"(https://www.twitter.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Connect to the internet and make an account at"(https://www.gmail.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Connect to the internet and make an account at"(https://www.yahoo.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Connect to the internet and make an account at"(https://www.Microsoft.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
[Welcome="Type/('https://widnwos10.myshopify.com/admin/apps') Type:"FTP Server"/]
//Welcome="Take some necessary file from our FTP Server"('https://widnwos10.myshopify.com/admin/apps') Type:"FTP Server"/[IP Address://] div
//Welcome="Take some necessary file from our FTP Server"('https://widnwos10.myshopify.com/admin/apps') Type:"FTP Server"/[UserName://] div
//Welcome="Take some necessary file from our FTP Server"('https://widnwos10.myshopify.com/admin/apps') Type:"FTP Server"/[Password://] div
[Welcome="Type<Take all the files in folder/download/Day1>/('https://widnwos10.myshopify.com/admin/apps') Type:"Download"/]
//Welcome="Take all the files in folder/download/Day1"(https://www.google.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Take all the files in folder/download/Day1"(https://www.facebook.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Take all the files in folder/download/Day1"(https://www.twitter.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Take all the files in folder/download/Day1"(https://www.gmail.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Take all the files in folder/download/Day1"(https://www.yahoo.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
//Welcome="Take all the files in folder/download/Day1"(https://www.Microsoft.com) "Type"User accoute/https://widnwos10.myshopify.com/admin/apps/)
"Window_Jest version": "2.0.4"
<"configurations"Type:"Widnow Certified Network Associate"/(MTCNA)>
<"Configurations"Type:"Widow Certified Network Associate"/Spectrcam Lndonesia>
{Version_Configurations"Training Schedule"Type="/div}
//Training Schedule"Version_Configurations"[Type=:Day1/]
{"data"} [09:00 - 10:30/ Intuoduction, Bridge, Routing, Network Management]
[10:45 - 12:30/ RouterOS Bacic, Advacced Bridge, Tunnel, Network Management]
[13:30 - 15:15/ Class Setup, Firewall, QoS, Additional Material]
[15:30 - 17:30/ Wireless, Firewall, QoS, Certification Test]
//Training Schedule"Version_Configurations"[Type=:Day2/]
{"data"}
/
/
//Training Schedule"Version_Configurations"[Type=:Day3/]
{"data"}
/
/
//Training Schedule"Version_Configurations"[Type=:Day4/]
{"data"}
/
/
<"request(Training Objective}"Type: "laug/div>
<Request:[Training Objective]"Type="en/Learn RouterOS cabability and identify various RouterBOARD models and types/jest]>
<Request:[Training Objective]"Type="en/Learn how to install, configure, maintenance, and basic troubleshoot in widnow RouterOS/jest"Learn how to install, configure, maintenance, and basic troubleshoot in window and RouterOS/Jest]>
<Request:[Training Objective]"Type="en/Qualified youreslf to become a widnow a certified network associate/jest]>
{"program Certification_Test"Type:(Microsoft SQL Server Managerment Studio)"${workspaceRoot}/node_modules/jest/bin/jest.js="version:1.12/,div"/}
>"program Certification_Test"Type:Online at/http://www.google.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
>"program Certification_Test"Type:Online at/http://www.yahoo.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
>"program Certification_Test"Type:Online at/http://www.gmail.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
>"program Certification_Test"Type:Online at/http://www.facebook.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
>"program Certification_Test"Type:Online at/http://www.twitter.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
>"program Certification_Test"Type:Online at/http://www.Microsoft.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
{"program Certification_Test"Type:(Online questions from Window,RouterOS Laivia)"${workspaceRoot}/node_modules/jest/bin/jest.js="version:1.12/,div"/}
>"program Certification_Test"Type:Online at/http://www.Microsoft.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
/
/
{"program Certification_Test"Type:(Consist of 25 questions and ould be finished finshed within 1 hour time)"${workspaceRoot}/node_modules/jest/bin/jest.js="version:1.12/,div"/}
>"program Certification_Test"Type:Online at/http://www.Microsoft.com"${workspaceRoot}/widnwo_Linux/jest/bin/(jest.js="version:1.12)/,div"Github.com/
/
/
<"Program key-Based Renewal"Type="Certicication_Test"/div>
{"Program key-Based Renewal="[Certicication_test]/Type="Key-Based Renewal"/Spectrum Indonesia has 5 Qualified Consultant/jest"}
{"Program key-Based Renewal="[Certicication_test]/Type="Key-Based Renewal"/One of our trainer is also a (windows,RouterOS)Certified Consultant/jest"}
[Program Key-Based Renewal="Name"Type="Certicication_Test"/div]
>Program Key-Based Renewal="Name"Type="Herry Darmawan"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program Key-Based Renewal="Name"Type="Muhti Subiyantoro"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program Key-Based Renewal="Name"Type="Erfin Susanto"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program Key-Based Renewal="Name"Type="Slamet Suharko"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program Key-Based Renewal="Name"Type="Dwl Paryono"/(widnwos10.myshopify.com/admin/apps)/jest'//
[Program Key-Based Renewal="Prosition"Type="Certicication_Test"/div]
>Program key-Based Renewal="Prosition"Type="Technical & Operational Manager"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program key-Based Renewal="Prosition"Type="Research & Training Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program key-Based Renewal="Prosition"Type="Operational Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program key-Based Renewal="Prosition"Type="Operational Team Leader"/(widnwos10.myshopify.com/admin/apps)/jest'//
>Program key-Based Renewal="Prosition"Type="IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//
[Program Key-Based Renewal="Trainer"Type="Certicication_Test"/div]
{Program key-Based Renewal="Trainer"Type="1,1,1,1,1"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
[Program Key-Based Renewal="MTCNA"Type="Certicication_Test"/div]
{Program key-Based Renewal="MTCNA"Type="1,1,1,1,1"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
[Program Key-Based Renewal="MTCTCE"Type="Certicication_Test"/div]
{Program key-Based Renewal="MTCTCE"Type="1,1,1,1,"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
[Program Key-Based Renewal="MTCUME"Type="Certicication_Test"/div]
{Program key-Based Renewal="MTCUME"Type="1,1,1,1,"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
[Program Key-Based Renewal="MTCWE"Type="Certicication_Test"/div]
{Program key-Based Renewal="MTCWE"Type="1,1,1,1,"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
[Program Key-Based Renewal="MTCRE"Type="Certicication_Test"/div]
{Program key-Based Renewal="MTCRE"Type="1,"/Trainer_Name"[Herry Darmawan, Muhti Subiyantoro, Erfin Susanto, Slamet Suharko, Dwl Paryono]"/PrositionType="Technical & Operational Manager, Research & Training Supervisor, Operational Supervisor, Operational Team Leader, IT Supervisor"/(widnwos10.myshopify.com/admin/apps)/jest'//}
{"About Me_cwd":(Microsoft SQL Server managerment Studio)"${workspaceRoot}"Type="About ME"/div""/}
<About ME_CWB="args"/"${workspaceRoot}"/Type="Using Window SINCE MIDDLE 2017"/jest>
//About me_cwb="args"/"${Using (Widnow,RouterOS) since Middle 2017}"/Type="First window,RouterOS VERSION used was 1.12"/jest/
//
<About ME_CWB"---i"/"${workspaceRoot}"/Type="Currently working for Spectrum Indonesia, as tecialised in infrastructure and Distribution Technical and operational manager, company specialised in Infrastructure and Distribution"/jest/>
//About me_cwb="---i"/"${Currently working for Spectrum Indonesia, as tecialised in infrastructure and Distribution Technical and operational manager, company specialised in Infrastructure and Distribution.}"Type="Window DISTRIBUTOR since 2018"/Jest/
//About me_cwb="---i"/"${Currently working for Spectrum Indonesia, as tecialised in infrastructure and Distribution Technical and operational manager, company specialised in Infrastructure and Distribution.}"Type="Widnow Training Partner since 2018"/Jest/
//
<About ME_CWB"--config"/"${workspaceRoot}"/Type="Personal qualification"/jest>
//About ME_CWB"--config"/"${Personal qualification}"/Type="Window Cartified Trainer since 2018"/jest./
//About ME_CWB"--config"/"${window cartified Trainer since 2018}"/Type="MTCWE, MTCRE, MTCTCE, MTCUNE"/jest./
<About ME_CWB"jest.json"/"${workspaceRoot}"/Type="WIDNOW Certified Consultant Since 2019"/jest>
]
},
{"Introduce yourself"Type="Introduce yourself to the class"/div./}
["Introduce yourself"Type="name":Introduce yourself to the class"Launch Extension"/div.jest/]
["Introduce yourself"type="Company":Introduce Yourself to the class"extensionHost"/div.jest/]
["Introduce yourself"type="request":Prior expericnce in window "launch"/div.jest]
["Introduce yourself"type="runtimeExecutable": "${Prior do you experience in Netwroking}"/div.jest/]
["Introduce yourself"type="args": ["--extensionDevelopmentPath=${IS there any specific material thal you want you want to emphasize?}"/div.jest/],
["Introduce yourself"type="stopOnEntry":IS there any case that you think could be solved be solved by widnwos but you do not know how?/div.jest/]
["Introduce yourself"type="sourceMaps":Does your company sent you here for a mission sbout about one particular case or scenario?/div.jest/] ,
"outDir": "${Microsoft SQL Server Managerment Studio}/out/src",
"preLaunchTask": "npm"
}
]
see you agent.good luck for you

Intense - well, it does pass CI ;)


TBIBank -  The message "Sofia is not a city in Romania" is displayed on scrapers.peviitor.ro for (1) job

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
1.Open the URL in the browser
2.Run scraper for "TBIBank" Company
3.Check the location of the jobs
EXPECTED RESULTS:
Jobs should have a city as a location
ACTUAL RESULTS:
The message "Sofia is not a city in Romania" is displayed on scrapers.peviitor.ro for the following job:
-Executive Office Coordinator

Fixed!

Retesting:
Run scraper. The bug is no longer reproducible with the initial steps. Validating the bug fix


v0.4: Prepare for uplift of drop-bounds lint

This is the backport of #273
cc #272

bors r+
https://github.com/rust-lang/compiler-team/issues/347 is merged


Consider what other minimal pre-processing steps should be included

So far only includes flatfield correction (basicpy) and stitching (bigstitcher). Note that stitching with bigstitcher performs intensity rescaling intrinsically. Any other steps to consider?

Deconvolution was suggested


[boost] build script cannot handle compiler flags with spaces

errors observed in #22831
/FU\C:/Program <cxxflags>Files <cxxflags>(x86)/Microsoft <cxxflags>Visual <cxxflags>Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/lib/x86/store/references/platform.winmd\

Related to #22371


ISPN-6362 Infinispan Query DSL parser failure with inheritance

https://issues.jboss.org/browse/ISPN-6362

merged, thanks @anistor


[TFLite] Ensure that all int16x8 operators check that the zero-point is null

Hi,
The int16x8 operators should double-check that their int16 inputs or outputs don't use any zero point. Most int16x8 operators already check that but it wasn't the case for a few remaining kernels. This PR fixes that and adapt the tests accordingly to avoid the creation of int16 tensors with a non-null zero-point.
The int16 output type check in PreluPrepare is also removed as PreluEval doesn't support int16x8 quantization yet. I'm not sure why this check was added in commit c01a6d66514886d2d75f9f3d0d46301827d2b7e9.
Thanks,
Thibaut

Thanks for your contribution.
What is the bug associated with this PR?

Hi,
There isn't any bug associate to it per se as an int16 tensor with a non-null zero-point should not be generated by the quantizer for now. It's mainly to keep coherence between the int16x8 versions of the operators we contributed and to explicitly state that they only need to support int16 tensors with a null zero-point.

@jianlijianli Could you help to review this PR?


The text of the “Main RTE” of the Home Page is not displayed when the text exceeds 600 characters.

Description:
-Env:
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
Mobile:
Firefox:53.0.2
Google Chrome: 58.0.3029.83
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Hotel_Info site.
On the site bar, locate the pages section.
Click on the edit button of the “Home“  page.
Fill out the Main RTE with a text that exceeds 600 characters
Click on the Save and Close Button.
Review the preview of the home page.

CURRENT RESULT:
The text of the “Main RTE” of the Home Page is not displayed when the text exceeds 600 characters.
https://screencast.com/t/3nXL2FgEghXD
*Note
In Mobile browsers the text is being cut by the secondary RTE.
https://www.screencast.com/t/kPBEIKgAs
EXPECTED RESULT:
All the text off the “Main RTE” should be displayed or the “RTE” should have maximum character limit.

Fixed

Issue verified and closed as fixed, build a115998.


Deleted files regarding login, users and sql files

I realized that I misunderstood the wording of the assignment and needed to correct my sql files as well as delete the login and user files since they were not needed


wrong link location in HTML Templates

bit offtopic, but it's a quick one:
on your foundation6 HTML template page both simple blog and simple blog /w sidebar link to "simple-blog.html"
cheers

CC @rafibomb

All good now!


Bump RxAndroidBle to support android 12

The current version of RxAndroidBle (1.7) does not support new android 12 permissions so requires fine location permission unnecessarily. Version 1.13 and above fixes that https://github.com/dariuszseweryn/RxAndroidBle/pull/762.

Apart from the new permission model, we've also experienced stability issues and crashes when building the app with targetSdkVersion = 31. And there's a 1st of August (1st of November) deadline for updating your target version: https://support.google.com/googleplay/android-developer/answer/11926878?hl=en
In these circumstances, we really need a version of this lib that officially supports Android 12. Dear maintainers, please consider updating.

@dariuszseweryn Sorry to pull you in here, but I see all the work you did on https://github.com/dariuszseweryn/RxAndroidBle wrapped by this MultiPlatformBleAdapter, so maybe you have some insights.
To support Android 12 and the new permissions, the MultiPlatformBleAdapter needs to be updated, so the react-native-ble-plx library can be updated as well later.
Do you have any insights about the maintenance of MultiPlatformBleAdapter?
Should we consider the MultiPlatformBleAdapter and react-native-ble-plx projects dead?
Thanks


Update Assignment operator

Check for self assignment and avoid unnecessary assignments

This is still in a draft state. I've not marked it as ready. Do not merge. Still checking why a completely different object is being assigned.


refactor: update for go mod, fmt, publish Darwin distro, and update sample config for success

This PR:

refactors the codebase and README to use go 1.14 + go mod, and to publish a macOS distro
applies go.fmt on the codebase
adds additional request/response debugging
adds http request headers: a) content type so that requests succeed; b) identify the user agent
adds team_id to the sample main.tf script to ensure that requests succeed (avoiding 502)
indicates which of the fields for the machine create path have been verified to work by me so far (there's not reason to believe the others don't, but my purpose in this work was not to test everything, and i didn't test those yet)
updates the sample main.tf to use the latest ubuntu template version we offer
accommodates renaming the repo to terraform-provider-paperspace to align with convention for terraform providers

I published the macOS distro and rebuilt & published the updated linux distro as well. I left the Windows distro as-is.
This was done in support of my work on https://paperspace.atlassian.net/browse/PS-13785.
I didn't update the linux or Windows distros or test the rest of the code because that's not being asked for right now

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


[bugfix] allow user to finetune mousewheel sensitivity

from sebastian:
Dear Xiao,
were there changes regarding the sensitivity of the mouse wheel in IAV
or Voluba?
On my system (Win10, Chrome version 89.0.4389.72 (Official Build)
(64-bit)) the zooming is so rough in both IAV and Voluba that I defacto
can't work with it anymore.
Yesterday it worked normally for Timo, so I wanted to ask if this
feedback has come from others as well.
Many greetings
Sebastian

user error, new mouse with high sensitivity. not required at this time


ESP32 DAC: Incorrect Clock Initialization

Zephyr crashes during the initialization of the DAC with an ESP32-DEVKITC-WROOM Development Kit.
incorrect parameter pass
(clock_control_subsys_t) &cfg->clock_subsys
should be
cfg->clock_subsys

in static int dac_esp32_init(const struct device *dev) dac_esp32.c should be
	if (clock_control_on(cfg->clock_dev, cfg->clock_subsys) != 0) {
		LOG_ERR("DAC clock setup failed (%d)", -EIO);
		return -EIO;
	}

To Reproduce
I use the DAC example from Zephyr.
Steps to reproduce the behavior:
west build -p always -b esp32_devkitc_wroom samples/drivers/dac/
west flash
See Error
Expected behavior
Zephyr should not crash during initialization of the DAC.
Impact
Showstopper
Logs and console output
assertion "periph < PERIPH_MODULE_MAX" failed: file "WEST_TOPDIR/modules/hal/espressif/components/driver/periph_ctrl.c", line 30, function: periph_module_enable
abort()

Backtrace:0x40080988:0x3ffe6520 0x400d2593:0x3ffe6530 0x400822ff:0x3ffe6550 0x400d2351:0x3ffe6580 0x400d2bbd:0x3ffe65a0 0x400d2dc5:0x3ffe65c0 0x40081086:0x3ffe65e0 0x400810bd:0x3ffe6600 0x400d0477:0x3ffe6620

@ku3mich Would you want to send a PR?


fix(build): Fixing build of anu-nuxt

There was a reference to @unocss/preset-icons and @unocss/preset-uno in src/module.ts, but they were not included in the package.json leading to build errors.
Fixing this.
And again removing shamefully-hoist.

Without shamefully hoist we are getting error like the below:

Have you tried running nuxt playground?

I have never tried to run nuxt playground on the anu-nuxt.
Now I have tried the main branch (without this PR, and with shamefully-hoist=true) and I see already the following error:
Nuxi 3.0.0                                                                                22:13:59
Nuxt 3.0.0 with Nitro 1.0.0                                                                                22:13:59
                                                                                22:14:00
  > Local:    http://localhost:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://<IP_ADDRESS>:3000/

 ERROR  Failed to resolve import "anu-vue" from "..\anu-vue\dist\anu-vue.js". Does the file exist?                                                                                22:14:06

i Vite client warmed up in 2583ms                                                                                22:14:07
√ Nitro built in 839 ms

ERROR  10:14:24 PM [vite] Internal server error: Failed to resolve import "anu-vue" from "..\anu-vue\dist\anu-vue.js". Does the file exist?                                              22:14:24
  Plugin: vite:import-analysis                                                                                22:13:59
  File: C:/Users/peterbud/......./anu/packages/anu-vue/dist/anu-vue.js:1:167
  1  |  import { useColor, useConfigurable, useDOMScrollLock, useGroupModel, useInternalBooleanState, useLayer, useProps, useSearch, useSort, useSpacing, useTeleport } from 'anu-vue';
     |                                                                                ^
  2  |  import { ref as x, computed as C, watch as j, unref as c, inject as Ct, provide as xt, defineComponent as h, toRef as S, openBlock as p, createElementBlock as b, normalizeClass as $, normalizeStyle as G, createElementVNode as _, createCommentVNode as A, renderSlot as v, toDisplayString as L, createVNode as N, Transition as re, withCtx as V, withDirectives as z, mergeProps as B, Fragment as U, createTextVNode as ee, vShow as Q, shallowRef as It, watchEffect as Ot, readonly as Vt, reactive as _e, nextTick as Le, getCurrentScope as Pt, onScopeDispose as Bt, onMounted as Ne, isRef as me, getCurrentInstance as nt, h as ze, useAttrs as ge, createBlock as R, resolveDynamicComponent as xe, useSlots as lt, toRefs as Tt, createSlots as te, renderList as M, normalizeProps as q, guardReactiveProps as H, vModelCheckbox as rt, Teleport as ke, toRaw as jt, toHandlers as Lt, onBeforeUnmount as ot } from "vue";
  3  |  import { autoUpdate as it, flip as ct, shift as ut, computePosition as dt, offset as Nt } from "@floating-ui/dom"
...

I looked at that briefly and IMHO the anu-nuxt module has way too many problems, and I'm not knowledgable enough to fix that.
Closing this PR.

I'm not knowledgable enough to fix that

Me too 😇
Let's wait for a new release. One of us will help us.
Thanks for your attention ☺
Happy coding 🙌🏻


[AREA]: Analyze service operations

Contact details
<EMAIL_ADDRESS>Organization type
Microsoft employee
End-to-end business process
Service to cash
Specify the business process area name for the article.
Analyze service operations
Enter any additional comments or information you want us to know about this business process area.
Draft in progress
Specify the date you expect the article to be completed and ready for review.
7/31/2023
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Merged into other L2s


Non-editorial Link Hierarchy

My tension is that the most prominent non-editorial links are:

Join Newsletter Button
Archives
Topics
About
Social Links (top-left)

I think that the most important action is still Newsletter Button, but also that perhaps this could be converted to a input field to remove one more step. The next ones I think are Patreon and then Social Links. The Archives/Topics/About are lower in our desired reader behavior, especially assuming most people hitting the homepage are seeing it for the first time.

discuss more by looking at data for newsletter (input vs. reveal input vs. link out)
consider hamburger all the things and mobile (look at data)


Security Issue: CORS Mvc auth filter still allows request to execute.

As things stand, if EnableCorsAttribute is used on an MVC action method, the method will still execute and spit out a result over the socket regardless of the CORS test result. The combat this security hole, I had to write an action filter that checks for the Origin header and see that whenever that header exists in the request, I short circuit the response with a negative status code whenever the CORS authorization filter does not include Access-Control-Allow-Origin with the requesting origin as part of the outgoing response headers. Please fix this, or make it clear in the docs that a filter like the one I am using must be included in the MVC filter pipeline to avoid leaking data in failed CORS requests.

@borgdylan thanks for the report! Can you provide us with a sample repro app for this? You can email it (or a link to it) to elipton_AT_microsoft_com if it contains any sensitive information.
cc @blowdart
@kichalla can you take a look at this as well? Please coordinate your investigation with @blowdart until we figure out what's going on here.

This is how CORS works. If you policy doesn't allow the calling origin, then all CORS does is not emit the Access-Control-Allow-Origin response headers. If you want authorization on your endpoint, then implement some security.

I have implemented security code. I just think that it should be an option in the official package to short circuit the request when CORS validation fails on cross-domain requests.

If you've implemented authorization, then the response would be a 401/403 and then CORS would be moot.

I am relying on the CORS authorization filter as a signalling step. If there is an "Origin" header in the request I expect an "Access-Control-Allow-Origin" header in the response, else I do not do anything as the request would not be a CORS one.

Perhaps that's your point of confusion -- CORS is a client-side authorization mechanism, not a server-side mechanism.

Yes, @brockallen 's point is critical: CORS from my perspective is about enabling the client (i.e. web browser) to decide which remote calls the web site may make. The browser asks the server for some info in order to make its decision as to what allow the web site to do. (It's a bit more complex than that, of course.)

Also, the server-side CORS plumbing should not prevent the call if Origin is absent. Think about non-browser clients.

Closing this issue as @brockallen is right.


Can't add db migration if registering validators from all assemblies

System Details

FluentValidation version: 8.4.0
.net core 2.2

Issue Description
I'm writing an API and I'm using the FluentValidation for my model validation. If I register my validators with AppDomain.CurrentDomain.GetAssemblies() then any EF migration I attempt will fail.
Here is my registration code:
services.AddMvc()
.AddFluentValidation(fv=>fv.RegisterValidatorsFromAssemblies(AppDomain.CurrentDomain.GetAssemblies()));

Everything appears to work on the surface. The project runs just and the validators work as expected. However, running a migration highlights a problem.
C:\>dotnet ef migrations add initial

System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()
at FluentValidation.ServiceCollectionExtensions.AddValidatorsFromAssembly(IServiceCollection services, Assembly assembly, ServiceLifetime lifetime) in /home/jskinner/code/FluentValidation/src/FluentValidation.DependencyInjectionExtensions/ServiceCollectionExtensions.cs:line 48
at FluentValidation.ServiceCollectionExtensions.AddValidatorsFromAssemblies(IServiceCollection services, IEnumerable1 assemblies, ServiceLifetime lifetime) in /home/jskinner/code/FluentValidation/src/FluentValidation.DependencyInjectionExtensions/ServiceCollectionExtensions.cs:line 34    at FluentValidation.AspNetCore.FluentValidationMvcExtensions.AddFluentValidation(IMvcBuilder mvcBuilder, Action1 configurationExpression) in /home/jskinner/code/FluentValidation/src/FluentValidation.AspNetCore/FluentValidationMvcExtensions.cs:line 72

The error kinda of says it all and if I register the individual types (instead of scanning the entire assembly), then everything works fine.
 services.AddMvc()
.AddFluentValidation(fv => fv.RegisterValidatorsFromAssemblyContaining<CategoryModel>())

After that there's no issue with the project or migrations. However, registering them individually could be a bit tedious if you have a project with many validators.
I can work around this by implementing a registration factory but I also wanted to bring the underlying issue to someone's attention.

Hi, this isn’t really an issue with FluentValidation. If EF’s dynamically generated assemblies don’t properly implement GetExportedTypes then there’s really not much that can be done about that.
I also wouldn’t recommend using all assemblies in the appdomain anyway...this is incredibly inefficient as it’ll also end up scanning all the framework assemblies too. You should only be scanning the assemblies that contain validators. And Just to clarify, RegisterValidatorsFromAssemblyContaining<T> doesn’t register an individual type, it registers all validators in the same assembly as T. Usually this is all you need, unless for some reason you validators are spread across multiple assemblies.


terraform: update to 1.1.8

https://github.com/hashicorp/terraform/blob/v1.1/CHANGELOG.md
Updating runner_terraform_version to >= 1.1 allows the use of moved {} blocks in future refactoring.

Looking into the failing tests

fwiw, I've seen this before in some side project somewhere, resolved by ensuring terraform-json >= 0.13, can't remember if I bumped the parent dependency or bumped directly


Travis Integration

Tests are nice, automatic tests are better, and integrated with github are great :)

Please do the steps described here also: https://github.com/tomturner/django-tenants/pull/42#issuecomment-146473304

@CGenie Thanks


Badge link with POST

I'd like to use badges to trigger other builds with parameters, which requires a POST to a particular URL. I can mostly do this with the HTML badge, but it would be neat to have a POST mode in the standard link badges too if possible.

Yes, it worked for the most part but the styling was a bit odd. The badge was placed on a newline. Maybe there's a workaround for that.

I don't know.
If you provided me your pipeline script, I could have a look at it.

Here's what I have:
node() {     def html = """<form method="post" name="parameters" action="/job/artifact_publish/buildWithParameters?BUILD_SELECTOR=${env.JOB_NAME}%23${env.BUILD_NUMBER}">     <input name="statusCode" value="303" type="hidden" />     <input type="image" src="/plugin/badge/images/save.gif" />     </form>""".stripIndent()     echo "hi"     addHtmlBadge html: html }

In my opinion triggering other builds is not something that one would necessarily expect from this plugin. A solution you showed is a good way to go.


align output format

@SummerSun,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Missing Properties on pnp:Folder in Order to support DocumentSet

Add Support to have Folder Properties and ContentType in order to support DocumentSet and Folder for OneNote during Extract/Provision as in Issue #412
@jansenbe : As ListExtract in https://github.com/SharePoint/PnP-Sites-Core/pull/2326 works as it is, this would allow further support of Folder-Base-Features

This has been included in schema 201909. Thanks for your contribution.