[FLAG-685] Planet obscures data layers

Overview
This is a test branch to debug a possible dataset misconfiguration that causes layers to disappear in a very particular scenario. Notes on how to reproduce the original bug below.
Bug

When Planet imagery is displayed with any other dataset, we’re finding that toggling PTW will cause that dataset to disappear. It will appear if that dataset is toggled on after PTW is toggled on or if the datasets are rearranged in the legend.
When Planet is displayed, the PTW icons disappear when zooming in past zoom level 8.
Occurs across the following browsers: Edge, Edge in Private, Chrome, and Chrome incognito.

Notes
The layer configuration changes that seem to fix the bug can be found here: https://github.com/Vizzuality/gfw/pull/4533/commits/10065b93de5470ff0c3929f9a471f9e945f5db88 .
At the moment, this PR has mocked datasets in order to allow us to test the bug resolution.
Tracking
FLAG-685 | Planet obscures data layers
Testing
Direct link to the a setup to replicate the bug

Removed the mocked datasets & dataset test changes.
No longer needed - changes implemented upstream by the science team.

Testing the updates, all of them work as intended and respond to different configurations.

@AngelArcones Thank you so much for taking a look!


Recorder: compile errors in generated scala: not found: value uri1

I got something looking like this:
val scn = scenario("RecordedSimulation")
		.exec(http("request_0")
			.get("/")
			.headers(headers_0)
			.resources(http("request_1")
			.get(uri1 + "/img/glyphicons-halflings.png")
			.headers(headers_1)))

…

which doesn't compile. uri1 is not in scope…

Could you provide a procedure to reproduce, please?

And mention the version you're using.

Ran from bundle 2.2.0-SNAPSHOT:
"gatling-charts-highcharts-bundle-2.2.0-SNAPSHOT"
I'll be back with repro.

@hedefalk ping :)

Sorry, I haven't had the opportunity to dig any further in this. I just went ahead and wrote manual code (which was my plan anyways). Please feel free to close, otherwise I might come back with repro at a later time. Thanks for a great tool, helped me nail a serious memory leak :)

Thanks!


Simplify git submodule command

Fixes #39

This PR was also just to make sure the PR actions was working properly :-)
Just missing the CodeCov connection

Py36 support fixed in PR #41


[VS Code] Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.

<!--
For Visual Studio problems/feedback, please use the Report

@AbhijeetBhilare777 Is this happening every time? Can you please share your logs?
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

@AbhijeetBhilare777: thanks for reporting this issue! I'm going to close this issue as a duplicate of #2037. If you're still able to repro it, and have time to help, it would be much appreciated if can add the information requested above to that issue.


Copy activity limitation.

Hi. I wonder whether copy activity has any size limitation.
For instance, Azure SQL Sync case, there are very clear limitation.

30 databases
up to 500 tables in any database
I understand that in copy activity cases, source and sink scopes are too broad than Azure SQL Sync.  If source and target are both SQL server or Azure SQL, do we have such limitation?
Thanks.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0bbd66af-d49f-e595-a7bc-c48cd3675ddc
Version Independent ID: d3e43062-2f4e-a7a9-17f0-9c3e05d36f27
Content: Copy Activity performance and tuning guide in Azure Data Factory
Content Source: articles/data-factory/copy-activity-performance.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@junpark12 Thanks for the feedback!
You may go through the Data Factory limitations for more details.


Chunking and longer context support (>8192 tokens or whatever under the hood limit)

Feature description
I would like to use gpt-engineer to improve my project, currently all my files has 31418 tokens which well exceed the 8192 tokens limit. With this solved I see a practical application of this tool. We can use vector db integrations like AutoGPT.
Motivation/Application
This makes the tool usable for real use cases.

This is really a needed feature, which I claim is already requested in #716 . If you think #716 (including its discussion) does not address this, let me know and I'll reopen.


credentials should default to false

Because
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true

is invalid by fetch spec (section 3.2.5).
IMO, user must config origin and manually change credentials to true.

Thanks, at the day I created this I surf a lot of RFC specs, and I think I forgot this one.
Here's fixed at #7629c47, and published as 0.0.0-experimental.1


docs: Update quick-start logging info

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message: docs: Update quick-start logging info
Additional Description:
Follow up from #13935
Provides basic info/example of access logging
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

worth  mentioning - this makes Envoy work similar to other comparable containers:
https://docs.docker.com/config/containers/logging/

latest render is here:
https://storage.googleapis.com/envoy-pr/1125923/docs/start/quick-start/run-envoy.html#envoy-logging

eek! just spotted some places where changing the config messes up - ill pr to clean up


Issue Loading SVG

Hi,
I am creating SVG programatically:
let vectorView = SVGView.init(frame: CGRect(x: 0, y: 0, width:50, height: 50))
vectorView.backgroundColor = .red
vectorView.fileName = "cameraIcon"
vectorView.isUserInteractionEnabled = false
However no image is showing... Any ideas?

Sorry.
Of course I also added: self.view.addSubview(vectorView)

Your code looks correct, so you probably has an issue of loading your SVG file. To find it you can parse SVG manually and use MacawView to render it:
let node = try! SVGParser.parse(path: "cameraIcon")
let vectorView = MacawView(node: node, frame: CGRect(x: 0, y: 0, width:50, height: 50))
vectorView.backgroundColor = .red
vectorView.isUserInteractionEnabled = false
self.view.addSubview(vectorView)

With this code you'll catch an runtime error in case of SVG loading problems. If it will be parsed correctly, but still nothing is showing then you can attach your SVG file and we'll check it's supported by Macaw.

Closing this issue. Please let us know if you have any other questions/problems.


SMP Nrf52832 Error

Hello,
I am trying to update my Nrf52832 via ble with my rpi4 but I get this error and I don't understand what it is.
Connecting to SMP server at D4:D1:86:BA:11:3A...2024-08-29 09:00:22.142 INFO     smp_characteristic.max_write_without_response_size=249
2024-08-29 09:00:22.144 INFO     self._max_write_without_response_size=249
2024-08-29 09:00:22.703 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header.
2024-08-29 09:00:22.703 WARNING  Error reading MCUMgr parameters: header=Header(op=<OP.READ_RSP: 1>, version=<Version.V1: 0>, flags=<Flag: 0>, length=6, group_id=0, sequence=0, command_id=6) version=<Version.V1: 0> sequence=0 smp_data=b'\x01\x00\x00\x06\x00\x00\x00\x06\xbfbrc\x08\xff' rc=<MGMT_ERR.ENOTSUP: 8> rsn=None
OK
Sending request...2024-08-29 09:00:22.849 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header.
OK
Received response: <bound method make_hash_func..hash_func of ImageStatesReadResponse(header=Header(op=<OP.READ_RSP: 1>, version=<Version.V1: 0>, flags=<Flag: 0>, length=134, group_id=1, sequence=1, command_id=0), version=<Version.V1: 0>, sequence=1, smp_data=b'\x01\x00\x00\x86\x00\x01\x01\x00\xbffimages\x9f\xbfdslot\x00gversione0.0.0dhashX \x01\xf6"\x86DU\x0f\x19{\x10\xe0\x99|<\x00\xc1\xc6\xfb\xa9\xf6*V\xe9\x1b\':y,\xe9\xdd\x10hbootable\xf5gpending\xf4iconfirmed\xf5factive\xf5ipermanent\xf4\xff\xffksplitStatus\x00\xff', images=[ImageState(slot=0, version='0.0.0', image=None, hash=b'\x01\xf6"\x86DU\x0f\x19{\x10\xe0\x99|<\x00\xc1\xc6\xfb\xa9\xf6*V\xe9\x1b':y,\xe9\xdd\x10', bootable=True, pending=False, confirmed=True, active=True, permanent=False)], splitStatus=0)>
2024-08-29 09:00:23.045 ERROR    Response could not by parsed as one of <class 'smp.image_management.ImageUploadWriteResponse'>, <class 'smp.image_management.ImageManagementErrorV1'>, or <class 'smp.image_management.ImageManagementErrorV2'>. header=Header(op=<OP.WRITE_RSP: 3>, version=<Version.V1: 0>, flags=<Flag: 0>, length=12, group_id=1, sequence=2, command_id=1) frame=b'\x03\x00\x00\x0c\x00\x01\x02\x01\xbfbrc\x00coff\x18\xa5\xff'
2024-08-29 09:00:23.045 ERROR    Exception in SMPClient: exc_type=<class 'TypeError'>, exc_value=TypeError('No constructor defined'), traceback=<traceback object at 0x7fa16af4c0>
2024-08-29 09:00:25.288 WARNING  Disconnected from D4:D1:86:BA:11:3A

Additionally i can update the device wtih same binary file via nrf Connect app.

TypeError: SMPClient.aexit() takes 1 positional argument but 4 were given

It looks like aexit is defined with only 1 argument instead of 4.
Did this test work?  It reports 1kBps which is very slow, 15kBps - 25kBps is possible.

2024-08-29 09:00:23.045 ERROR Response could not by parsed as one of <class 'smp.image_management.ImageUploadWriteResponse'>, <class 'smp.image_management.ImageManagementErrorV1'>, or <class 'smp.image_management.ImageManagementErrorV2'>. header=Header(op=<OP.WRITE_RSP: 3>, version=<Version.V1: 0>, flags=<Flag: 0>, length=12, group_id=1, sequence=2, command_id=1) frame=b'\x03\x00\x00\x0c\x00\x01\x02\x01\xbfbrc\x00coff\x18\xa5\xff'

This is interesting.  I believe that this response is out of spec.  It appears be sending "rc=0" along with the offset.  This is the CBOR: \xbfbrc\x00coff\x18\xa5\xff

OK, can confirm
import cbor2
print(cbor2.loads(b"\xbfbrc\x00coff\x18\xa5\xff"))

output:
{'rc': 0, 'off': 165}

No form of an Image Upload Response should include rc and off: https://docs.zephyrproject.org/latest/services/device_mgmt/smp_groups/smp_group_1.html#image-upload-response
What version of Zephyr / NCS are you using?
I see that it will do this on latest if CONFIG_MCUMGR_SMP_LEGACY_RC_BEHAVIOUR is enabled: https://github.com/zephyrproject-rtos/zephyr/blob/91a1e706535b2f99433280513c5bc66dfb918506/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c#L397-L400
Since this problem may exist in the wild I will update smp and smpclient to allow this incorrect response.

Thank you for answer. I have another question. After uploading image should I do anything else to nrf52832 run the new image cuz I can confirm that image is uploaded via nrfConnect hash code but can't make it run the upload image.

Thank you for answer. I have another question. After uploading image should I do anything else to nrf52832 run the new image cuz I can confirm that image is uploaded via nrfConnect hash code but can't make it run the uploaded image.

Yes, you would need to mark the image for swap and then reset the device allowing MCUBoot to do the swap.  Take a look at the example script: https://github.com/intercreate/smpclient/blob/main/examples/ble/upgrade.py.  You could also run the script if you have a compatible board.
You could also look at smpmgr's upgrade abstraction: https://github.com/intercreate/smpmgr/blob/41683521f850e39f2ce838250483699b16507f76/smpmgr/main.py#L83-L145
If you have time, I'd love to troublshoot why the speeds are so slow!
Note: I think I saw that you are marking the image confirmed before uploading - this is dangerous and can brick your device if the image is bad.

If you have time, I'd love to troublshoot why the speeds are so slow!

I'd love that but my setup is in my office i won't be there until monday.

Yes, you would need to mark the image for swap and then reset the device allowing MCUBoot to do the swap. Take a look at the example script: https://github.com/intercreate/smpclient/blob/main/examples/ble/upgrade.py. You could also run the example script if you have a compatible board.

I'll try this first thing

I installed version 4.1.1 I updated my Nrf successfully but i am getting warnings constantly and upload speed is really low.
Uploaded 200,778 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:05.917 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 201,002 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:06.112 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 201,226 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:06.307 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 201,450 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:06.502 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 201,674 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:06.794 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 201,898 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:06.989 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 202,122 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:07.184 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 202,346 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:07.379 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 202,570 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:07.623 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 202,794 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:07.818 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 203,018 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.013 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 203,242 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.208 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 203,466 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.403 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 203,690 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.598 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 203,914 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.793 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 204,138 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:08.988 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 204,362 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.183 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 204,586 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.378 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 204,810 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.573 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 205,034 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.769 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 205,258 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.865 WARNING  Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header. Uploaded 205,351 / 205,351 Bytes | 1.12 KB/s           2024-09-02 08:07:09.865 INFO     Upload complete

smp_characteristic.max_write_without_response_size=249
2024-08-29 09:00:22.144 INFO self._max_write_without_response_size=249
2024-08-29 09:00:22.703 WARNING Overriding self.version=<Version.V2: 1> with self.header.version=<Version.V1: 0> from the provided header.
2024-08-29 09:00:22.703 WARNING Error reading MCUMgr parameters: header=Header(op=<OP.READ_RSP: 1>, version=<Version.V1: 0>, flags=<Flag: 0>, length=6, group_id=0, sequence=0, command_id=6) version=<Version.V1: 0> sequence=0 smp_data=b'\x01\x00\x00\x06\x00\x00\x00\x06\xbfbrc\x08\xff' rc=<MGMT_ERR.ENOTSUP: 8> rsn=None

I do see from the initial logs that MTU is 252 and the SMP parameters request failed as not supported.  This means that 249 byte packets will be sent without any SMP frame reassembly.

I think that the standard overlay-bt.conf from the Zephyr SMP server examples folder has the KConfigs for fast BLE uploads.

Yeah I guess it's about that rpi4 mtu size is small that is what causing slow upload.

Yeah I guess it's about that rpi4 mtu size is small that is what causing slow upload.

Perhaps! But it is the FW that's controlling the MTU.
I'm curious about this since I have tested on an RPi and I wonder if there's something making it significantly slower than BLE on Windows, Linux or Mac.
But first thing is to update the FW with Nordic's fast DFU config.

I have noticed something when i upload the same image with mynewt-mcumgr
it uploads almost twice as fast using same bluetooth adapter.


Replace e2ectl with integration-test job from architect-orb

Towards https://github.com/giantswarm/giantswarm/issues/9517

Closing in favor of https://github.com/giantswarm/nginx-ingress-controller-app/pull/81


Remove network_config_override

The edpm_network_config_override variable has been removed from the network_config role. This functionality is now provided exclusively by the edpm_network_config_template variable.

recheck

config/samples/dataplane_v1beta1_openstackdataplanenodeset_sriov.yaml also needs to be updated. Looks like that may have merged after you started this one.

Yeah true. Updated it now.

❌ cifmw-crc-podified-edpm-baremetal FAILURE in 11m 53s

Baremetal job is broken with a recent install_yamls change, there is a WA  to make the job green has been proposed https://github.com/openstack-k8s-operators/install_yamls/pull/554. However, ci team is also working on a fix on their side in ci-framework.

recheck
ci-framwork fix merged.

recheck

  * could not run steps: step dataplane-operator-build-deploy-kuttl failed: "dataplane-operator-build-deploy-kuttl" post steps failed: failed to create or restart dataplane-operator-build-deploy-kuttl-openstack-k8s-operators-node-hold pod: unable to create pod: Internal error occurred: admission plugin "image.openshift.io/ImagePolicy" failed to complete mutation in 13s

/test dataplane-operator-build-deploy-kuttl


Fix travis-ci build

It seems to me that the issue is related to travis, since previous build was successful:
https://travis-ci.org/zummenix/KeyboardWrapper/builds/223237054

This is resolved in 278054fe8c46a6642cf6fe7d4ce666b11e10e65b


ACL does not check for client ID

Hi everyone!
I am using the MongoDB auth-ACL plugin, and I detected something weird:

In database, I save different ACLs depending not only on the username, but also on the client ID.
In plugin configuration, I have set the following: auth.mongo.acl_query.selector: username=%u,clientid=%c

However, I have found out that the broker does not differ between different client IDs.
Is this functionality set or not?
In case it is possible to filter by client IDs, what am I doing wrong?
Thanks in advance.

Hi  romancardenas. Which branch of emq-auth-mongo did you use? The enterprise branch of emq-auth-mongo is well performed while other branches of emq-auth-mongo have some problems, please use enterprise branch.

I am using EMQ-docker, so, in order to use the enterprise branch I did the following:

I forked emq-relx and changed line 31:
dep_emq_auth_mongo    = git https://github.com/emqtt/emq-auth-mongo enterprise
Next, I forked emu-docker and modified the repository to be downloaded in order to point to my forked version of emq-relx

However, it does not seem to work as I expected: different clients that share username have the same permissions, even thought there are different documents for each of them in MongoDB

@romancardenas,
Has been fixed and released at v2.3.11.Please download the latest version for verification, if there is no problem, please close this issue.

Checked, it runs well.
Thank you very much for your attention


Dropdown component

As the title already suggests, this component should create a basic Dropdown.
It should accept at least one prop which is the position of where the Dropdown should slide in.
Bottom to bottom or top to top for example.

Please assign me this issue. Excited to work on this :)

@hackto-dev
Go for it 💪🏻

I would like to work on this issue.

@rathorenikita123
This issue is already assigned to @hackto-dev
But we have a few others left.


Test failure in TestKnnGraph.testMultiThreadedSearch

Description
@msokolov Please take a look when you get a chance!
Gradle command to reproduce
./gradlew test --tests TestKnnGraph.testMultiThreadedSearch -Dtests.seed=15C41D6B3378DF2B -Dtests.locale=qu-Latn-PE -Dtests.timezone=CST6CDT -Dtests.asserts=true -Dtests.file.encoding=UTF-8

Thanks @vsop-479, it reproduces for me as well, both on main and 9x branches. The same test passes on 9.8.0 release. I'll try git bisect ... and it blames this commit:
[a47ba3369f402690ea9418b6f9c4c0cf367eab8d] Refactoring HNSW to use a new internal FlatVectorFormat (#12729)

https://github.com/apache/lucene/pull/12943
@msokolov LOL

We both figured it out at the same time.

I can see that in this test run we are using a quantizing scorer, but I don't think the test case explicitly calls for that. I wonder if we beefed up the test framework to randomly use quantization and it is introducing "rounding" errors or something here?

ah, thanks @benwtrent I'll check your fix then

I can see that in this test run we are using a quantizing scorer, but I don't think the test case explicitly calls for that. I wonder if we beefed up the test framework to randomly use quantization and it is introducing "rounding" errors or something here?

Your instincts are correct :)


How to define custom error responses in docs?

 I have tried responses={}, but with no luck. What's the correct thing to do here? Create a custom pydantic model just for it to show on docs?

Why doesn't responses work for you? There is no need to create a pydantic model for that, you can just add a dict object for each error status code. The only limitation (AFAIK) is that each status can have at most one desciption.
@router.get(
    "/users",
    response_model=list[UserResponse],
    responses={
        404: {"description": "The token was not found"},
    },
    dependencies=[Depends(valid_jwt_user_data)],
)
async def get_users():
  pass


flet build failed to download required packages with pip

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
When building an Android app with flet in the new version 0.25.0, the build crashes at the stage of installing the required libraries
These are pure Python libraries, which worked fine in the previous version
Code sample
Code
flet build apk core --include-packages flet_permission_handler -v --android-permissions android.permission.READ_EXTERNAL_STORAGE=True android.permission.WRITE_EXTERNAL_STORAGE=True android.permission.READ_MEDIA_IMAGES=True android.permission.ACCESS_MEDIA_LOCATION=True android.permission.MANAGE_EXTERNAL_STORAGE=True --compile-app --compile-packages --cleanup-on-compile

the error:
(  ●   ) Packaging Python app ⏳... Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
Installing [-r, C:\Users\me\first-flet-app\core\requirements.txt] with pip command to C:\Users\me\first-flet-app\core\build\site-packages\arm64-v8a
( ●    ) Packaging Python app ⏳... ERROR: Ignored the following yanked versions: 0.1, 1.0
ERROR: Could not find a version that satisfies the requirement music_tag==1.4.1 (from versions: 1.1)
ERROR: No matching distribution found for music_tag==1.4.1
[02:53:43] Error building Flet app - see the log of failed command above.

To reproduce

Run the build code
The error will appear during the build process

Expected behavior
Proper construction of the application
Operating System
Windows
Operating system details
win11
Flet version
0.25.0
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Logs
Logs
[02:53:06] Additional Flutter dependencies: {'flet_permission_handler': 'any'}
[02:53:11] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.25.0 ✅
           Copying C:\Users\me\first-flet-app\core\assets\icon.png to
           C:\Users\me\first-flet-app\core\build\flutter\images
           Customized app icons and splash images ✅
           Run subprocess:
           ['C:\\Users\\Public\\flutter_windows_3.19.6-stable\\flutter\\bin\\dart.BAT', 'run',
           'flutter_launcher_icons']
(  ●   ) Generating app icons ⏳... Resolving dependencies in `C:\Users\me\first-flet-app\core\build\f(●     ) Generating app icons (3.3s)
Downloading packages...
Got dependencies in `C:\Users\me\first-flet-app\core\build\flutter`.
(   ●  ) Generating app icons ⏳...
Built flutter_launcher_icons:flutter_launcher_icons.
(●     ) Generating app icons ⏳...   ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.14.1)
  ════════════════════════════════════════════

( ●    ) Generating app icons ⏳... • Creating default icons Android
• Overwriting the default Android launcher icon with a new icon
(  ●   ) Generating app icons ⏳... • Creating adaptive icons Android
(    ● ) Generating app icons ⏳... • No colors.xml file found in your Android project
• Creating colors.xml file and adding it to your Android project
• Creating mipmap xml file Android
(     ●) Generating app icons ⏳... • Overwriting default iOS launcher icon with new icon
(   ●  ) Generating app icons ⏳... Creating Icons for Web...
(    ● ) Generating app icons ⏳... Creating Icons for Windows...
(     ●) Generating app icons ⏳... Creating Icons for MacOS...
(  ●   ) Generating app icons ⏳...
✓ Successfully generated launcher icons
[02:53:21] Generated app icons ✅
           Run subprocess:
           ['C:\\Users\\Public\\flutter_windows_3.19.6-stable\\flutter\\bin\\dart.BAT', 'run',
           'flutter_native_splash:create']
(    ● ) Generating splash screens ⏳...
Built flutter_native_splash:create.
(  ●   ) Generating splash screens ⏳... [Android] Creating default splash images
(    ● ) Generating splash screens ⏳... [Android] Creating dark mode splash images
(     ●) Generating splash screens ⏳... [Android] Creating default android12splash images
(    ● ) Generating splash screens ⏳... [Android] Creating dark mode android12splash images
(    ● ) Generating splash screens ⏳... [Android] Updating launch background(s) with splash image path...
(   ●  ) Generating splash screens ⏳... [Android]  - android/app/src/main/res/drawable/launch_background.xml
(   ●  ) Generating splash screens ⏳... [Android]  - android/app/src/main/res/drawable-night/launch_background.xml
[Android]  - android/app/src/main/res/drawable-v21/launch_background.xml
[Android]  - android/app/src/main/res/drawable-night-v21/launch_background.xml
[Android] Updating styles...
[Android]  - android/app/src/main/res/values-v31/styles.xml
[Android] No android/app/src/main/res/values-v31/styles.xml found in your Android project
[Android] Creating android/app/src/main/res/values-v31/styles.xml and adding it to your Android project
[Android]  - android/app/src/main/res/values-night-v31/styles.xml
[Android] No android/app/src/main/res/values-night-v31/styles.xml found in your Android project
[Android] Creating android/app/src/main/res/values-night-v31/styles.xml and adding it to your Android project
[Android]  - android/app/src/main/res/values/styles.xml
[Android]  - android/app/src/main/res/values-night/styles.xml
[iOS] Creating  images
[iOS] Creating dark mode  images
(    ● ) Generating splash screens ⏳... [iOS] Updating ios/Runner/Info.plist for status bar hidden/visible
[Web] Creating images
(    ● ) Generating splash screens ⏳... [Web] Creating images
(  ●   ) Generating splash screens ⏳... [Web] Creating background images
[Web] Creating CSS
[Web] Updating index.html
( ●    ) Generating splash screens ⏳...
✅ Native splash complete.
Now go finish building something awesome! 💪 You rock! 🤘🤩
Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash

[02:53:26] Generated splash screens ✅
           Run subprocess:
           ['C:\\Users\\Public\\flutter_windows_3.19.6-stable\\flutter\\bin\\dart.BAT', 'run',
           'serious_python:main', 'package', 'C:\\Users\\me\\first-flet-app\\core', '--platform',
           'Android', '--requirements', '-r,C:\\Users\\me\\first-flet-app\\core\\requirements.txt',
           '--exclude', 'build', '--compile-app', '--compile-packages', '--cleanup']
(    ● ) Packaging Python app ⏳...
Built serious_python:main.
( ●    ) Packaging Python app ⏳... Running package command
Extra PyPi indexes: [https://pypi.flet.dev]
Creating asset directory: C:\Users\me\first-flet-app\core\build\flutter\app
Created temp directory: C:\Users\me\AppData\Local\Temp\serious_python_temp8ef4d320
Copying Python app from C:\Users\me\first-flet-app\core to a temp directory
(  ●   ) Packaging Python app ⏳... Compiling Python sources in a temp directory
Downloading Python distributive from https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6+20240909-x86_64-pc-windows-msvc-shared-install_only_stripped.tar.gz to a build directory
(●     ) Packaging Python app ⏳... Extracting Python distributive
(  ●   ) Packaging Python app ⏳... Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
Installing [-r, C:\Users\me\first-flet-app\core\requirements.txt] with pip command to C:\Users\me\first-flet-app\core\build\site-packages\arm64-v8a
( ●    ) Packaging Python app ⏳... ERROR: Ignored the following yanked versions: 0.1, 1.0
ERROR: Could not find a version that satisfies the requirement jibrish_to_hebrew==1.4.1 (from versions: 1.1)
ERROR: No matching distribution found for jibrish_to_hebrew==1.4.1
[02:53:43] Error building Flet app - see the log of failed command above.
           Run subprocess:
           ['C:\\Users\\Public\\flutter_windows_3.19.6-stable\\flutter\\bin\\flutter.BAT', 'doctor']
[02:53:47] Doctor summary (to see all details, run flutter doctor -v):
           [√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.26120.2415], locale
           he-IL)
           [√] Windows Version (Installed version of Windows is version 10 or higher)
           [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
           [√] Chrome - develop for the web
           [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.6)
           [√] Android Studio (version 2022.2)
           [√] VS Code (version 1.95.3)
           [√] Connected device (3 available)
           [√] Network resources

           • No issues found!

Additional details
The build worked well with the previous version - 0.24.1 and also with other versions. The requirements document includes pure Python libraries only. The problem persisted even when I removed the requirement for the specific library - with the additional libraries in the requirements document

No matching distribution found for music_tag==1.4.1
This lib doesnt seem to have a version 1.4.1
Can you please share your requirements/pyproject file?

music_tag==0.4.3
jibrish_to_hebrew==1.4.1
requests==2.32.2
chardet==5.2.0

music-tag should be available for mobile now.
I see you are maintainer of jibrish_to_hebrew? Could you upload a wheel for that package to support it on mobile?

Why should a special wheel be created for a mobile? These are pure Python packages that worked smoothly in previous versions!

The error for music-tag has indeed been resolved. But this is a problem that shouldn't exist in the first place, since it's a pure Python package that also doesn't require non-pure packages!


Add withDone decorator

Closes #24

Looks good, give me a couple of days to test it out.

Amazing, works great! 🎉


Improvements: docs & units

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   96.77%   96.77%
=======================================
  Files           1        1
  Lines          62       62
=======================================
  Hits           60       60
  Misses          2        2

Impacted Files
Coverage Δ

ntpdshm/__init__.py
96.77% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f5cc05a...91dddaf. Read the comment docs.

I moved house last week and my computers are still in boxes. So please be a bit patient before I can merge this pull request. Thanks, Markus.


fix: allow protocol in url

Codecov Report

Merging #76 into next will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             next      #76   +/-   ##
=======================================
  Coverage   91.85%   91.85%
=======================================
  Files          32       32
  Lines         921      921
  Branches      179      179
=======================================
  Hits          846      846
  Misses         75       75

Impacted Files
Coverage Δ

src/ResourceUtils.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f363bc...503e2ca. Read the comment docs.


Re-enable ALPN check in gRPC C core SSL stack.

ALPN check is incorrectly disabled in #16963 which results in gRPC releases 1.17.0 through 1.19.0 do not perform peer's ALPN validation. This PR fixes the issue and re-enable the ALPN check in C core stack. This change will affect all wrapped language implementations.

This looks like an easy mistake that could have been avoided. Maybe we should try adding a test to avoid future regression?

We have ALPN unit tests on ssl transport security, but not on security connector. We could add one test on this.

I added a unit test in security_connector_test.cc w.r.t. peer alpn check, and verified its correctness in both situations when DISABLE_ALPN is set and unset.

https://github.com/grpc/grpc/issues/16135

It seems this deserves release notes. It fixed a regression in 1.17.0 that a user noticed. And a Java user even noticed in grpc/grpc-java/issues/5543 .

@ejona86 Good point. I updated the PR description with more details.

@yihuazhang, please merge this to v1.19.x and v.1.20x branches and cc me and @lidizheng.


If the DOM is a hidden initial failure

Such as use v-show

yes, the documentation has this exceptions.
https://github.com/NightCatSama/vue-slider-component#exceptions

I read about the solutions, is total 4 steps required to get around the issue or just one of them? In my case, using show in combine with v-show does work.

@gnhuy91 Just need one.


Displaying events

Usage
Basic Example
render(
  <InfiniteCalendar
    events={[
      new Date(2018, 0, 26),
      new Date(2018, 0, 24),
    ]}
    width={Math.min(window.innerWidth, 600)}

  />
, document.querySelector('#demo'));

Result

Would be great if this could be merged :-)

This works great! I have emailed the maintainer but haven't gotten any answers yet. If anyone would like to help me ask if @clauderic still wants to maintain this package I'd be glad.
If he still doesn't answer after a while, would anyone be interested in helping maintain a similar calendar basedon/forked from this codebase? My thoughts being that this project is way to good to just die.
There's already quite a few PRs that would help get the project up to date and even. I have used this PR in production with a simple function to match the selected days against an array of dates and only display the ones that selection match.

@Makashov ehy, thanks for the fork!
Can i ask you in which way this resolves #6 ?
Could you provide us a little snippet in which it is shown the event name in the day of the event?
Thanks!

@giggioz Hi there!
Sorry but it can't show event names :(
It can take array of dates from events attribute and display them like in the picture.
I think best way to display event name is using onSelect event.

Hi @MathiasKandelborg!
Sorry but i am not going to maintain this project, i just wanted to make it a little bit better.

when would your pull request get merge? whats happening with this @Makashov

Hi @daiky00, I don't know when it will be merged. I am not even sure will it be merged. Looks like @clauderic is too busy for a long time. I did this changes for my own project and created merge request, because i thought it will usefull for others.

I also got caught in work. I'll have the time to make a release with this PR soon. Would that interest anyone?

I'm using @Makashov's solution in production (internal app) for a few months and it works like a charm :-) (https://github.com/gopeter/react-infinite-calendar)
I've also added few more things:

Added currentDate param to onScrollEnd: https://github.com/gopeter/react-infinite-calendar/commit/8d6aaaa5d573bf6290fc489607e827eacbc89c63
Updated dependencies: https://github.com/gopeter/react-infinite-calendar/commit/352a7dde18105e30641a1318fc18d8339f31ca22

I think somebody with more time should take this project on @clauderic . can you assign someone to help you?!

@daiky00 no need to publish it to npm, you can use @Makashov's or my branch in your package.json. It wasn't updated since April, but it works very well with the newest React version (16.6).

@gopeter While I agree, some people might find it unnecessarily difficult and would want the process of adding react-infinite-calendar to be the same as every other- npm install
I've also been using a local version instead, but it is an extra step, which we could get rid of by having this merged or getting a new release on npm.

For sure, but without @clauderic‘s feedback we can‘t do much on this :-(

@daiky00 no need to publish it to npm, you can use @Makashov's or my branch in your package.json. It wasn't updated since April, but it works very well with the newest React version (16.6).

Hi @gopeter I am very new to react/npm/git. Would you be so kind as to provide more clarity. I have @clauderic npm loaded, and I want to get to your version. Would I use a npm command like npm install git://github.com/gopeter/react-infinite-calendar, or should I download your version manually and do an npm install inside the directory. I'm just not sure what you meant by 'use my branch in your package.json' Thanks.


docs: add more testing guidance

Integrated and adapted Adrian's testing post into the docs

Thanks for that!

Thanks for that!

glad to help. any other issues or tasks you think would be good for me to work on? as somewhat of a newbie to the repo

Thanks! If you're up for another docs change, yesterday, we added support for function calls in string attribute expressions, but there's no documentation for it at https://templ.guide/syntax-and-usage/attributes#string-expression-attributes
We try to keep the issues labelled appropriately - to identify stuff we need to think about, discuss, and label stuff that we think is OK to pick up.
However, I think we might do well to start running a regular planning session, like the Go team does with proposals, e.g. https://github.com/golang/go/issues/33502#issuecomment-1973634667

Thanks! If you're up for another docs change, yesterday, we added support for function calls in string attribute expressions, but there's no documentation for it at https://templ.guide/syntax-and-usage/attributes#string-expression-attributes
We try to keep the issues labelled appropriately - to identify stuff we need to think about, discuss, and label stuff that we think is OK to pick up.
However, I think we might do well to start running a regular planning session, like the Go team does with proposals, e.g. golang/go#33502 (comment)

yeah, i can do that for sure! and i'd be down to join planning sessions as well


Updated readme

Updated to the latest working version 1.3.4
Version 1.3.0 is broken on jitpack.io and won't sync Gradle

Thanks


Nested Flatlist in ScrollView doesn't work with TextInput focused

If you nest a FlatList in a ScrollView then focus a TextInput you can only scroll the outer ScrollView.
If the TextInput is not focused the nested FlatList can be scrolled.
Here is a very simple snack showing the bug: https://snack.expo.io/Byvj5DCoB
React Native version: v0.61.2
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz
Memory: 368.29 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.14.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 24, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.3, 29.0.1
System Images: android-16 | Intel x86 Atom, android-21 | Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6<IP_ADDRESS>92245
Xcode: 11.2/11B52 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Steps To Reproduce

Make a ScrollView
Add a FlatList to the ScrollView which has more content than it's fixed height
Add a TextInput to the ScrollView
Focus the TextInput
Try to scroll the FlatList

Here's the code to repro:
<ScrollView>
    <TextInput />
    <FlatList
         data={data}
         style={{height: 45}}
         renderItem={({ item }) => <Text>{item}</Text>}
     />
</ScrollView>

Describe what you expected to happen:
I expect when you focus the TextInput that the FlatList can be scrolled this is necessary for creating a good autocomplete UI that sometime must be nested in a scrollview.
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/Byvj5DCoB
TextInput seems to really mess up touch events. Does anyone know of a better alternative to TextInput?
Potential Fixes

Disable scroll view scroll using scrollEnabled={false}. Unfortunately this does not work. It just makes the scrollview also not respond to scroll gestures.
Use an animated view and handle scrolling yourself. I haven't tested this but it might work but seems like a terrible solution.
Using an absolute layout to render the FlatList in the correct location on the screen does work (the list still can not be a child of the ScrollView) but is a bit wonky depending on what you're trying to do.

As far as I know you shouldn't be nesting ScrollViews and FlatLists like that (at least not since the 0.61 version). What I do to work around this issue is to put your my components inside the FlatList header component.
I have made some changes to your example, hope it's helpful
https://snack.expo.io/B1nkQOlhB

@edferreira
Yeah I'm seeing a warning now about nesting a virtualized list inside a plain scroll view. I'm not sure how you would create a text input with suggestions without doing this though (assuming the text input must be inside a scroll view).
Your example doesn't work. It has the same issue. Focus the text input and you can't scroll the flatlist only the outer scroll view.

Sorry, I don't understand the problem.
The example I've made doesn't have a ScrollView, only a FlatList with your input as a sticky header. This way you only have a FlatList to scroll and your TextInput will always be shown on top of the screen

@edferreira The snack you made does have a ScrollView maybe you left it there by mistake?
The problem is that I want to make a TextInput that has a dropdown of suggestions. The dropdown has a defined size and should be scrollable.
This works fine as long as this component is not placed inside a ScrollView. The suggestions need to scroll independent of the outer ScrollView.

maybe this answer can help you

@edferreira Thanks but as I mentioned in my original report scrollEnabled doesn't have any effect on the issue. Setting the outer scrollview to scrollEnabled to false just make neither the scroll view or the listview scrollable when the text input is focused.


Don't assume ordering of maps in test results.

This is causing flaky tests.

@jskeet I updated the tests to use an "expected dictionary" where possible but the integration tests only assert the trace id is not null.  I think leaving that as is is easier then setting up a matcher.


File dates should be the upload dates of videos

So I can ls -lart to see all the dates sorted by upload time.
Great project BTW!  Thanks for working on it!

Good point. Will be implemented immediately.
Thanks for kind words :)


Fix HTML5 validation error

Removed itemprop from canonical url due html validation error
See it in [this sample page] (http://cgarces.github.io/jekyll-seo-tag-test/jekyll/update/2016/01/29/welcome-to-jekyll.html) and  the validation
The url is already send in the ld+json data when seo_site_title is not null. Usually seo_site_title always will have a value assigned,

:+1:

Thanks @CGarces!


Unable to edit or send new messages when there is an error

When the API returns an error, I'm unable to edit my message or type a new message.
 Please try again in a few moments.

Error message: Failed to send message. HTTP 413 - {"detail":{"message":"The message you submitted was too long, please reload the conversation and submit something shorter.","code":"message_length_exceeds_limit"}}

Get stuck and have to start a new thread

so every time you try to edit your message, you get this same error?

I missed the edit button (since the text was so long), sorry about that!


Installing from ssh git repo fails

Output of bower -v && npm -v && node -v:
1.8.0
3.8.9
v4.4.3

Additional environment details (proxy, private registry, etc.):
Windows 10
Steps to reproduce the issue:

Attempt to install a package from a git repository via ssh.  The following commands return the following results:

bower install git@bitbucket.org:team/repo.git -V
bower                        ENOTFOUND Package git not found

Describe the results you expected:
In version 1.7.9 this same command is successful and pulls down the dependency.  Further, according to the documentation it appears that this command should have worked.
Additional information:

Having the same issue.  Maybe it has to do with @ now being supported as a version delimiter?

It looks like this pull request may fix the issue:
https://github.com/bower/bower/pull/2395

Can confirm this also affects OSX.

This should be fixed already as #2395 was merged


fixed the gap issue in login and overlapping in booklist for swapping webpage

Related Issue
Fixes:  #2565
Description
fixed the gap issue in login and booklist for swapping webpage

Type of PR

[x] Documentation update

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x] I have made this change from my own.

[x] My code follows the style guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have made corresponding changes to the documentation.

[x] My changes generate no new warnings.

[x] I have tested the changes thoroughly before submitting this pull request.

[x] I have provided relevant issue numbers and screenshots after making the changes.

sorry but as GSSOC guidelines the change is too basic to have a level!


[Tachyon-1261] add double flush testcases

https://tachyon.atlassian.net/browse/TACHYON-1261

+1 LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6776/
Test PASSed.

LGTM


Twitter Authentication Failing on Python 3.6

The following works on Python 3.5
service = OAuth1Service(
    name='twitter',
    consumer_key=os.environ['TWITTER_APP_KEY'],
    consumer_secret=os.environ['TWITTER_APP_SECRET'],
    request_token_url='https://api.twitter.com/oauth/request_token',
    authorize_url='https://api.twitter.com/oauth/authorize',
    access_token_url='https://api.twitter.com/oauth/access_token',
    base_url='https://api.twitter.com/1.1/'
)

request_token = service.get_request_token(params={'oauth_callback': callback_url})
service.get_authorize_url(request_token[0])

# in callback
oauth_session = service.get_auth_session(
    request_token[0], request_token[1],
    data={'oauth_verifier': oauth_verifier}
)

On Python 3.6 I get:
  File "/project/app/auth/providers.py", line 77, in callback
data={'oauth_verifier': oauth_verifier}
  File "/project/lib/python3.6/site-packages/rauth/service.py", line 359, in get_auth_session
**kwargs)
  File "/project/lib/python3.6/site-packages/rauth/service.py", line 332, in get_access_token
process_token_request(r, decoder, key_token, key_token_secret)
  File "/project/lib/python3.6/site-packages/rauth/service.py", line 24, in process_token_request
raise KeyError(PROCESS_TOKEN_ERROR.format(key=bad_key, raw=r.content))
KeyError: "Decoder failed to handle oauth_token_secret with data as returned by provider. A different decoder may be needed. Provider returned: b'oauth_token=[some_auth_token]&oauth_token_secret=[some_secret]&user_id=[number]&screen_name=[name]&x_auth_expires=0'"

Both using rauth 0.7.2

The problem is here. You are changing a dictionary as you are iterating over it. The dict type has been reimplemented in Python 3.6 to be more memory efficient, following an enhancement by the PyPy team. So something about this internal change has caused the oauth_token_secret key to get skipped by parse_utf8_qsl (it is not converted and is still bytes at the end). The solution should be to produce a new dict instead of trying to modify the one in place.

Nice catch @TwoBitAlchemist! 👍

Glad I could help actually find the bug instead of only being able to complain :)
Closing this issue since it's fixed in 0.7.3

Thanks!


Add support for topic field in gerrit trigger

Gerrit trigger plugin now support specifiying a topic.
Add the necessary code to support this feature in the DSL plugin.

Are you interested in picking this up or shall I close the pull request?


frame reload function

type Frame , need a Reload() func like page.Reload()

I don't think frame is supported by playwright js also: https://playwright.dev/docs/api/class-frame

yes, i should post a issue on playwright.dev


Sample search: request types and defaults

At the moment the sample search uses the same mechanism and the same configuration as beacon+
See bellow a screenshot of the current state:

I'm evaluating how I should structure the configuration files. If possible I would prevent duplicated configurations, and extend a base configuration for each use cases: beacon-plus and sample search.
My current understanding is the the current sample search seems to behave like the variantFusionRequest type. At least it works when selecting it.
Questions:

What are the request types for the sample search, in which order, and what is the default one?
How should it behave when having query parameters, for example when coming from the subsets selection?

As discussed, the request types are more of a demonstrator for Beacon than a requirement by the protocol. May evolve; but solved for current implementation through discussions. Closing.


search / filter feature on templates page

Provide an ability to search templates. Presently you have to use the browser's search functionality to find templates from an extremely long (and growing) list.

More broadly, the interface for selecting a template needs reconsideration.

@justinlittman are you suggesting reconsidering this UI for current grant period?

see also #1296

This page has 2 problems:

It is very difficult to find a template, as all templates are listed (most of which are always embedded and a user would never use to create a resource). This results in trickery like prefixing the names of certain templates with underscores.
Rendering this page requires loading every single resource template.

As this page grows (i.e., the number of resource templates increases), the impact of both of these problems will increase. I'd suggest that we evaluate whether additional work on this page needs to be prioritized in the upcoming work cycle.

see #1322 for idea for easier access to Profiles (Resource Templates) without having to redesign page

Not sure that #1322 really solves this issue. Being able to directly access a resource template from entering a URI is one access method but we would still have the problem of displaying the long list of resource templates and poor navigation of this long list.

Some ideas:

Split the list into pages. Allow 25 line items per page.
Add internal anchors at the top (A-B, C-D, E-F, G-H, etc)
Add search on the page.
Place most frequently used or 'last 10 used' by user or institution at the top.
Allow user to 'favorite' or 'bookmark' top 20, which will always appear at the top.

more ideas:
designate certain templates as more important, base set. where would this be designated? in RT itself? config file? upon upload?

Typeahead search on RT page:

Typeahead search with most frequently used RTs. I put it in a collapsible section in case the user does not need it. If the user searches with the typeahead, the most frequently used section would collapse so user can see the results of the search.

change "most frequently used" to "recently used" because we are not maintaining overall list of the user's (or anyone's) most frequently used, just the ones they recently used in the current session

another idea raised in discussion, recording here only for future work: could have URLs that are essentially bookmarks to a predefined search, like "all RTs that contain the string 'yale'" as a way to meet user desire to "see only the resource templates relevant to me"

A possible option for 'favoriting' rt's would be to have a star next to them. If you click the star, it fills in. Stars that are not favorites are not filled in. See item at bottom.

You could also have a star in the resource template itself so the user can favorite it while they're working on it.

Those are nice. But I think favoriting is out of scope right now because it would involve tracking the user across sessions right?

they could favorite w/in the session and just never logout.

oooooooooo

Here's another suggestion that combines several of the above. If you look at the GH's typeahead search for files (https://github.com/LD4P/sinopia_editor/find/master), it starts with an alpha list of all files and then narrows down as you type.
What if instead of starting with an alpha list of RTs, we started with the most recently used? (Which grows as the user uses more RTs.) This allows us to have a single component / list on the screen and doesn't require that we provide an explanation of what is mean by "most popular" or "most recently used".
Just a thought.

the only things we're doing right now are:
bookmarks (done)
typeahead search (ticket TBD)
most recent in this session (ticket TBD)


Stickers not generating in 0.6.2, worked in 0.5.10

I'm just getting default stickers in 0.6.x with a bunch of generic character mods that showed generated stickers properly in 0.5.10.

Yeah, there's a bug that I introduced when merging the old sticker gen and the new entity sheet functionality. It doesn't regen when the regular character sheets are changed. Have a fix locally that I will submit with the Lua beta in a few days.
For now you either live with this or you delete your sticker DDS file in Packs/.Db manually

Lua beta in a few days

:eyes:

For now you either live with this or you delete your sticker DDS file in Packs/.Db manually

That's the thing, I didn't have any .db folders.

That is very odd... Clean packs and a bunch of old style character mods works on my end. I'll try to figure out if I can find out what's going on for you.

Can you try v0.7.0-beta?

Closing because we determined on Discord that this works again for all of us


Merge latest from master to ios9 branch?

That will be very helpful. Thank you. :)

Should be done.

Thank you 👍


feat: now when you delete a workspace, you're redirected to the /

Description
Now if you delete a workspace, you're redirected to the root of the site. Middleware kicks in and will redirect you to the first workspace you are a part of, otherwise, it'll redirect you to create a new one. This is the flow short term. Once personal workspaces are implemented, this is where you'll get redirected to after deleting a workspace.
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Relates to #2584
Relates to #2621
Mobile & Desktop Screenshots/Recordings

Steps to QA

Create at least two workspaces via /workspaces/new.
Go to the settings of one of the workspaces, `/workspaces/some-id/settings
Go to the danger zone section and delete the workspace.

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

I'm thinking this should be an HTTP only cookie and when we delete a workspace, we hit a delete workspace API route that calls our API and then deletes the cookie server side.


Change edge types

change edge type to Restrict issue traversal

Can one of the admins verify this patch?

no worries - Dentsu is the only customer using this namespace and i will clean up once merged.

no worries - Dentsu is the only customer using this namespace and i will clean up once merged.

Once merged, the graph will have illegal stuff in it that it can not even validate and I wouldn't even count on being able to clean certain things up. You can add edge definitions all you want but deleting them is a no-go operation in ogit. Write-Only, no undo. Not going to discuss this. If you don't want to use "uses" here anymore, fine by me, don't use it - try to delete stuff from the ontology and I will raise a red flag anytime for anything as it might f**k up internal consistencies.

I have added "ogit:contains" for BidAdjustmentGroup and left ogit:consistsOf as suggested by you.
Regarding "ogit:uses" for Advertising:BidAdjustment: This was a copy-paste error to begin with. Actually, the requirement specifies "ogit:consistsOf". This edge is not in used by now (and was never), otherwise this error would have popped up already.

"validationtest" job had an issue because SDF validator was broken. It is fixed now… But job needs to be retriggered either by reopening pull request/ if there is new commit.

https://github.com/arago/OGIT/pull/619


option no_auto_user_creation

Describe the bug
option no_auto_user_creation doesn't work as describe here and must be true for enabling the Auto Create Artifactory Users.
Requirements for and issue

The our code:
resource "artifactory_saml_settings" "saml" {
enable                = true
service_provider_name = "our_atrifactory_fqdn"
login_url             = "our_saml_service"
logout_url            = ""
certificate           = "our_saml_certificate"
email_attribute       = "email"
group_attribute       = "groups"
no_auto_user_creation        = true
allow_user_to_access_profile = true
auto_redirect                = false
sync_groups                  = true
verify_audience_restriction  = true
use_encrypted_assertion      = false
}

Our version of artifactory is 7.38.10
Our version of terraform is 1.2.2
Our version of artifactory terraform provider is 6.6.0

So, no_auto_user_creation = true actually ends up auto creating the user anyways?
This second part I don't get:

must be true for enabling the Auto Create Artifactory Users.

Yes, with the option no_auto_user_creation = true users auto created inside the artifactory.
Auto Create Artifactory Users - this is the option on the SAML page in artifactory.


[Decoding] Support repetition penalty

The repetition penalty (introduced in CTRL) can help prevent the LLM from generating repetitive tokens.
This PR implements the repetition penalty.
Note
Previous the logits softmax is performed on GPU, this PR moves it to CPU to accommodate the repetition penalty.

Will likely need to bring some computation to GPU side as a future enhancement.


FIx: PDF, Phone hacker, checkbox order

Patch Notes

Which issue(s) this PR fixes (optional)

Fixes #
References #
Additional Notes (optional)

Some questions

[ ] I have read the contributing guidelines
[ ] I abide by this repository Code of Conduct
[ ] I understand that my PR won't be merged until GitHub gives a "green light"

PR Ready to review, abans de fer merge, borreu el commented code.
TODO (not fixed yet): el custom msg "Please enter a valid URL"


Fix setting state back to DISABLED when vpn fails to start

Task/Issue URL: https://app.asana.com/0/488551667048375/1203586092184943/f
Description
This PR includes resetting the VPN state to DISABLED when any error occurs before the VPN successfully starts.
Steps to test this PR
Smoke test AppTP
Attempt repro 2 tun interface bug

[ ] Open an app and then force close it
[ ] Disable protection for it
[ ] Re-enable protection
[ ] Rinse and repeat ~10 times
[ ] See "VPN is already being started, abort" in the logs

Current dependencies on/for this PR:

develop

PR #2672   👈

This comment was auto-generated by Graphite.

LGTM! I manage to repro the issue with two VPN tun(s) created and we still handle that well.
@nshuba, can you take a second pass here, given that this code is pretty critical

@aitorvs @nshuba Thanks for the review and good finds! I agree with the points you mentioned and I've updated the PR.


how to classification

can not find add class button , only can find car, truck and van.
Please tell me how to add customized categories, like ground or sign.

You need to go to the ontology tab of your dataset, and set ground or sign. as a class, or set Weather as a classification


Add option to disable schema install

I was just about to try this backplane, thanks a lot for building it.
However, I cannot make use of the backplane's EnsureSqlServerConnection() as I don't have the permissions to alter the database in production systems from my app - this is done with migrations upfront.
So I came across the install.sql script which I could add to my migrations. Perfect.
I also added the permissions like this:
GRANT SELECT ON [SignalR].[Schema] TO «User»;
GRANT SELECT, DELETE, UPDATE, INSERT ON [SignalR].[Messages_0] TO «User»;
GRANT SELECT, DELETE, UPDATE, INSERT ON [SignalR].[Messages_0_Id] TO «User»;

But the next issue is this:

So it says the current version is 1 and it's about to install version 1 and I guess the IFs are not meant the way they are implemented:
-- Install tables, etc.
IF @CURRENT_SCHEMA_VERSION IS NULL OR @CURRENT_SCHEMA_VERSION <= @TARGET_SCHEMA_VERSION
	BEGIN
		IF @CURRENT_SCHEMA_VERSION IS NULL OR @CURRENT_SCHEMA_VERSION = @TARGET_SCHEMA_VERSION
			BEGIN
				-- Install version 1
				PRINT 'Installing schema version 1';

Right now, it's checking if 1 <= 1 in the first IF which is true for my case. The next IF checks if 1=1 which is also true and leads to schema installation. Shouldn't it be one single IF that checks if the current schema is older than the target schema only?
This leads to two questions:

it seems like unintended behavior to me, is there a way to fix it?
it seems reasonable to me to have apps that may not alter the SQL-Server schema, wouldn't it be great, to have an option to turn the schema migration off completely?

The install script is correct. It is identical to https://github.com/aspnet/SignalR-SqlServer/blob/dev/src/Microsoft.AspNetCore.SignalR.SqlServer/install.sql except for a comment and an error message string.
There is only one schema version, and there are no current plans or need to have a version 2 of the schema, just as there was no v2 of the legacy aspnet backplane upon which this project is based.
The main part of the schema install script is creating additional tables up to @MESSAGE_TABLE_COUNT, which is needed any time the table count increases, not only when the schema version were to hypothetically rev.
A setting to disable auto install could be added, yes.

A setting to disable auto install could be added, yes.

Would be awesome. I patched SqlInstaller.Install() to just return a completed task and scripted the tables upfront and everything works as expected.

Awesome, thanks a thousand times for this.
I'll be reporting back to the team 👏


Blog- App: Data model

In this milestone, I :

Created a new app
Initialize the project with Git.
Make sure that the project has Postgres database set up.
Built the project schema.

Created and ran the necessary migration files.
Ensured the table and column names match the ERD diagram.

Included Foreign keys.
Ensured that all columns that are foreign keys have a corresponding index.

The errors have nothing to do with my code. any ideas on why thy are there? I have not come across this before.


MalformedInputException seen when running forked JUnit5 tests.

Bug first seen in upgrade to version 0.13.0 (was 0.11.4 for last successful build).
Repository - Americium
Observed in Git commit SHA: 36f61a49a58c29fa083385924bf372334b2ba42f
Log of failing build: https://github.com/sageserpent-open/americium/runs/28895471763
This is also reproducible locally.

Excerpt from build.sbt (mixed Scala and Java project, uses both JUnit5 suites and Scalatest suites):
  Test / testOptions += Tests.Argument(jupiterTestFramework, "-q"),
  Test / testGrouping := {
    val tests = (Test / definedTests).value

    tests
      .groupBy(_.name)
      .map { case (groupName, group) =>
        new Group(
          groupName,
          group,
          SubProcess(
            (Test / forkOptions).value
              .withRunJVMOptions(
                Vector(
                  s"-Dtrials.runDatabase=trialsRunDatabaseForGroup$groupName"
                )
              )
              .withOutputStrategy(
                OutputStrategy.CustomOutput(OutputStream.nullOutputStream)
              )
          )
        )
      }
      .toSeq
  },
  Global / concurrentRestrictions := Seq(Tags.limit(Tags.ForkedTestGroup, 6)),
  Test / fork                     := true,
  Test / testForkedParallel       := false,

  ....

  libraryDependencies += "org.scalatest"  %% "scalatest"  % "3.2.19" % Test,
  libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.18.0" % Test,
  libraryDependencies += "org.scalatestplus" %% "scalacheck-1-16" % "<IP_ADDRESS>" % Test,
  libraryDependencies += "org.mockito" % "mockito-core" % "5.12.0" % Test,
  libraryDependencies += "org.mockito" % "mockito-junit-jupiter" % "5.12.0" % Test,
  libraryDependencies += "com.github.seregamorph" % "hamcrest-more-matchers" % "0.1" % Test,
  libraryDependencies += "com.github.sbt.junit" % "jupiter-interface" % JupiterKeys.jupiterVersion.value % Test,
  libraryDependencies ++= Seq(
    "org.junit.platform" % "junit-platform-runner" % "1.11.0" % Test,
    "org.junit.jupiter"  % "junit-jupiter-engine"  % "5.11.0" % Test
  ),
  libraryDependencies += "org.hamcrest"          % "hamcrest" % "3.0"    % Test,
  libraryDependencies += "com.eed3si9n.expecty" %% "expecty"  % "0.16.0" % Test

Plugins.sbt:
addDependencyTreePlugin

addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.13.0")
addSbtPlugin("org.scalameta"        % "sbt-scalafmt"          % "2.5.2")
addSbtPlugin("com.github.sbt"       % "sbt-release"           % "1.4.0")
addSbtPlugin("com.github.sbt"       % "sbt-pgp"               % "2.2.1")
addSbtPlugin("org.xerial.sbt"       % "sbt-sonatype"          % "3.11.2")
addSbtPlugin("org.scoverage"        % "sbt-scoverage"         % "2.1.0")

Also seen in version 0.12.0.
I shall try to debug into this with a local build / minimize the failure.

Presumably the changes made in https://github.com/sbt/sbt-jupiter-interface/pull/94/files#diff-114898290f2f9ece1e9a21ec71f569775778ad0464e713a10ec28771a4f9ca29 as part of the 0.12.0 release started passing the full test names down to saving the XML?

Tweaking the project definition in build.sbt by disabling the XML report generation (.disablePlugins(plugins.JUnitXmlReportPlugin)) was an effective workaround for this.
I'll leave this issue open in case it's of wider interest, but feel free to close it otherwise.


Copy Lighthouse templates from Lighthouse service to va.gov service

Value Statement
As a Lighthouse Business Line customer
I want to my templates to temporarily live on the va.gov service
So that I can use the VANotify service in vets-api code base
Acceptance Criteria
GIVEN the Lighthouse template is called
WHEN an app is connected or disconnected from a Veteran's profile
THEN the template used will be apart of va.gov service
Checklist

[x] Create in Dev
[x] Create in Staging
[x] Create in Production

Assumptions

Additional Info/Resources

Out of Scope

Open Questions

I copied Lighthouse templates to va.gov service in all environments. Below is the info:
Development
- id: 7c9811af-7665-45be-a60d-fee576b1091d
   template_type: "email"
   name: "Lighthouse - On Application Disconnect "
   subject: "Your VA profile is disconnected from ((application))."
   content: "Dear ((first_name)),\n\nYour VA profile was disconnected from ((application)) on ((time)). This app can't access any new information from your VA.gov profile, but some apps may still store information you've already shared. To learn about how this application stores your information, including what information it stores, if any, and what steps are available to you, review ((application))'s [privacy policy](((privacy_policy))).\n\nIf you did not perform this disconnection, you may manage your [connected apps](https://www.va.gov/profile/connected-applications). We also advise you to [change your password](https://www.va.gov/resources/signing-in-to-vagov/).\n\n\n\nSincerely,\nva.gov\n___\nYou are receiving this email because you disconnected an application from your profile on VA.gov. Please do not reply to this email. If you need to contact us, please visit https://va.gov.",

- id: d6f1ec0f-c131-46d9-80b0-e8d3efc4703d
   template_type: "email"
   name: "Lighthouse - On Application Connect"
   subject: "Your VA profile is connected to ((application))."
   content: "Dear ((first_name)),\n\nYour VA profile was connected to ((application)) on ((time)).\n You can learn about how this application stores your information by reviewing its [privacy policy](((privacy_policy))).\n\nIf you did not perform this connection, you may disconnect from the application on our [connected applications page](https://www.va.gov/profile/connected-applications). We also advise you to [change your password](https://www.va.gov/resources/signing-in-to-vagov/).\n\n\n\nSincerely,\nva.gov\n___\nYou are receiving this email because you connected an application from your profile on VA.gov. Please do not reply to this email. If you need to contact us, please visit https://va.gov."

Sent new templates IDs to Lighthouse and awaiting responses .

Does not need QA. Still awaiting Lighthouse team response.

Blocked while waiting for Lighthouse testing


Update confidential-vm-faq-amd.yml typo

Should be disk, not desk - right?

Learn Build status updates of commit ac5e856:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/confidential-computing/confidential-vm-faq-amd.yml
: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 the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@runcai
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


Please do a release

Hey, I saw you updated sctk to 0.19 some days ago, I would like to use 0.19 and want to ask if you could make an release any time soon?

Done


Possible NullReferenceException in API Models

I am doing a sweep through as much of the code as possible, and have identified a couple of lines that may result in eventual NullReferenceExceptions in the BankService model during the deserialization process.
https://github.com/thenewboston-developers/dotnetcore-sdk/blob/44f9ff20f4e1a83feb97ff4c7906956fbe2ecda1/src/Thenewboston/Bank/Api/BankService.cs#L26
https://github.com/thenewboston-developers/dotnetcore-sdk/blob/44f9ff20f4e1a83feb97ff4c7906956fbe2ecda1/src/Thenewboston/Bank/Api/BankService.cs#L45
I will submit a pull request with suggested fixes.

I have located a few more instances of the same issue that I am adding to the issue:
https://github.com/thenewboston-developers/dotnetcore-sdk/blob/44f9ff20f4e1a83feb97ff4c7906956fbe2ecda1/src/Thenewboston/Validator/Api/ValidatorService.cs#L22
https://github.com/thenewboston-developers/dotnetcore-sdk/blob/44f9ff20f4e1a83feb97ff4c7906956fbe2ecda1/src/Thenewboston/Validator/Api/ValidatorService.cs#L38
https://github.com/thenewboston-developers/dotnetcore-sdk/blob/44f9ff20f4e1a83feb97ff4c7906956fbe2ecda1/src/Thenewboston/Validator/Api/ValidatorService.cs#L54

Great work!

Honored to help! Thank you guys for giving us the opportunity.


Add prompt to exit the script

Prevent the script to be closed automatically if you run it by right clicking the file and choose Run with PowerShell

Thanks! 👍


On actual device android and iPhone - unable to input phone number as flag dropdown list opens

Great plugin. Thanks. Works awesome.
One issue I am facing is:
All goes well in desktop. In FF responsive mode, in mobile screen width, all works fine. But in case of actual device, android and iphone, when i touch the input area to enter number, the flag-click event fires and I have to then select some other flag and then my respective flag and then focus goes into the input box.
On load, my desired flag and number format appears, so i dont need to change the flag, so I want to enter the number only. When I do that, the flag-div click event gets fired.
Have you faced this issue?

I have not faced this issue. Do you experience the problem on the demo page?

Closing due to inactivity.

I can reproduce this bug.. but only on own site.. not on the demo site.. Probably some custom css rules playing games...

Can you reproduce a minimal test case in a codepen?
On Wed, 12 Aug 2015 8:08 am MaZZly<EMAIL_ADDRESS>wrote:

I can reproduce this bug.. but only on own site.. not on the demo site..
Probably some custom css rules playing games...
—
Reply to this email directly or view it on GitHub
https://github.com/Bluefieldscom/intl-tel-input/issues/207#issuecomment-130336535
.

--
Jack O'Connor - Mitoo

I found the problem on my side.
Had a css rule:
select { width: auto !important; }
which made the flag dropdown take up invisible space over the input and therefore be "clicked" instead.
For me the fix was to do a
select.iti-mobile-select {   width: 42px !important; }
afterwards.. not maybe the best practice but it works since the width:auto was required for other styling.
Odd tho that it only happened on mobile and not on desktop...

Seems cleaner to do
select:not(.iti-mobile-select) { width: auto !important; }

Yes, or safer yet is to not apply blanket rules like that in the first place - you should only apply those rules to select elements with a specific class. For example, see how Bootstrap do forms.

Hi Jack, Awesome Plugin. By chance, Do you know similar lib for iOS native development?

Hi @jayhm, glad you like it. I'm afraid I do not know about any iOS port. Why don't you start one? ;)


fix bind sort key priority problem

Proposed changes
Problem summary

add strict mode for SlotBinder. in strict mode, binding must matches qualifier
for sort key binding, we first use strict mode, then loose mode

cases:
table t (int a, int b)
case1. select a as b from t order by t.b
case2. select a as b from t order by b
case3. select a as b from t order by t.b + b
TODO:

bind on grandson

currently,
sort
+---project
+-----grandSon
sort key can be bound on project.output and grandSon.output.
But there are some cases in which sort key should be bound on the output of grandSon's children.
For example grandSon is
t1 join ( t2 join t3)
and order key is t3.x

similar problems in group by
case1. select a as b from t group by t.b
case2. select a as b from t group by b
case3. select a as b from t group by t.b + b

Issue Number: close #xxx
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 (If Yes, please explain WHY)
[ ] 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...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.02 seconds
load time: 480 seconds
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230105112058_clickbench_pr_74202.html


Possibility to configure latency prober as GAUGE

Currently Latency prober is a CUMULATIVE metric (or it can be configured as distribution). This is useful for high frequency probing, however there are more simple use cases that only require to monitor an onprem to cloud connectivity so a metric non-cumulative would be enough and simpler to configure in Cloud Monitoring (stackdriver)

This also can be helpful if surfacer is PostgreSQL (not need to us window functions like LAG() or LEAD())

Testing a way to do this for stackdriver surfacer in https://github.com/google/cloudprober/tree/sd_gauge

#604 should solve this. You can simply add "export_as_gauge" to any surfacer config and surfacer will export metrics as gauge metrics.

Closing this as it is done now.


125 update roadmap

Pull Request Template
Description
Updated roadmap in README.md.
Added TODO points.
closes #125
Type of change
Please delete options that are not relevant.

[ x] This change requires a documentation update

Checklist:

[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ x] I have made corresponding changes to the documentation
[x ] My changes generate no new warnings

Add All Contributors Command
Remember to acknowledge your contributions, replace contribution_type with your contribution (code, doc, etc.):
@all-contributors please add @<your-username> for <contribution_type>

It seems like this PR accidentally contains commits from multiple PR. Accidental push?
Can you kindly untangle this?

Just rebased against main, should be g2g!

Just rebased against main, should be g2g!

My recommendation is merging from main. I know there are differring schools here, I just feel the risk for unintended reverts (like the above?) is less if you do things quickly.

Some random ideas for roadmap:
integration

using arbitrary sktime forecaster in forecaster based bootstraps
using tsbootstrap bootstraps to create a distribution or sampler-like object (skpro or sktime proba distribution over time series)

boilerplate/sugar

fractions for block lengths etc
ability to pass pd.DataFrame. "core" behaviour is np.ndarray, but if pd.DataFrame is passed, produces the output to have same index and columns

refactor

there is some legacy entanglement of classes. These should be refactored to be "flatter".
the block bootstraps look like they should be composites

API extension

update/stream
panels and hierarchical data
exogenous data (API supports but there is no logic except for forecasters)
fittable or pretrained

adjacent areas

time series augmentation
full proba models that can be sampled from
time series data generation

Hmm this is after reading against main.
Maybe let's focus on the readme.md file for now given the time constraints?
On Mon, Apr 22, 2024, 5:34 PM Franz Király @.***> wrote:

@.**** requested changes on this pull request.
still something weird going on with all files being changed.
—
Reply to this email directly, view it on GitHub
https://github.com/astrogilda/tsbootstrap/pull/126#pullrequestreview-2015841406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTOOHQXUOI5QDLEAABPU63Y6V65BAVCNFSM6AAAAABF2ZTWXOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMJVHA2DCNBQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

it's linked in the updated readme.py

Just tried, I guess you can't. I'll put it here.

you could just add an ordinary link, like [name](URL)


Fix edge cases of nearest_po2()

Expanded nearest_po2() so that it doesn't have to do manual work figuring out GDScript's int is 64-bit. This optimization is already done in C#.

It'd be great if you could also update the Mathf.NearestPo2 method in C# :pray:. Keep in mind we use 32-bit int in C# and I don't think we want to change that to 64-bit.
Also, we should add some unit tests for this method.

@raulsntos C# already uses this PR's optimization, but keeps the edge cases. I could add if (value <= 1) { return 1; } at the beginning though, perhaps at a slight performance cost but not too relevant. Should I though? If we're fine with those edge cases, I can only keep this PR's optimization and keep the function's return values as they are.
I would like some sort of consensus on thisbefore proceeding and adding test cases.

I could add if (value <= 1) { return 1; } at the beginning

Yeah, that's what I meant, if we're changing the behavior for GDScript we should also change it for C#.

I would like some sort of consensus on this before proceeding with adding test cases.

Makes total sense, I just wanted to note that this method doesn't currently have unit tests.

Also I don't really know where to add such tests. We have tests on the engine funcs, but I can't find anything for the GlobalScope. Few of the functions in variant_utility aren't carbon copies of the ones used in the engine.

Stripped this PR a bit and its compat-breaking aspects. Now it's just a performance boost and documentation tweak.

Weirdly enough, I don't measure the performance boost I previously did. I have no idea why, previously I measured a 30% boost when I had extra steps.
Anyway, I'm yet again reshaping this. Now it's just a documentation PR lol

pokey pokey!

Thanks!


Hide back button during navigation

Hello,
Thanks for sharing this great lib. How can I hide the back navigation button and the title during the navigation?
I have a navbar modifier in swifui which has .navigationBarBackButtonHidden(true) and it doesn't work during the transition
Best regards

Hey @nunocaseiro, thanks for reaching out.
Can you maybe share a specific SwiftUI code example?

This scenario is simple to recreate. I also used your example project to test if the behavior is the same.
So I have a view A and a view B. In both views I added the .navigationBarBackButtonHiddedn(true) and I always see the back button during the push animation.
Can you help me?
Thank you

@nunocaseiro I would suggest using .navigationBarHidden(true) which will also hide it during the transition.
You can take a look here:
https://github.com/user-attachments/assets/947f5810-0ec3-418b-8241-30b125786673

@nunocaseiro
Can add this piece of code to the RouteHostingController and check whether it works for you?
public override func viewWillAppear(_ animated: Bool) {
     super.viewWillAppear(animated)
     // Hide the back button
    self.navigationItem.setHidesBackButton(true, animated: true)
}

public override func viewWillDisappear(_ animated: Bool) {
    super.viewWillDisappear(animated)
    // Show the back button again when this view is about to disappear
    self.navigationItem.setHidesBackButton(false, animated: true)
}

Yes, it works! Keep up your excellent work
It's really useful, thank you

@nunocaseiro If you have time, you can add a route parameter to hide the back button during navigation. Then, submit a PR to close this issue.


Need help !

Trying to scrape video providers but facing cors and cloudflare blocked errors
I learnt many things from your scraping logic and tried to implement some of the provider's scarping logic in my private api, but I'm facing errors like cors and cloudflare 403, for eg. while requesting smashystream's fizzzz1.php server I faced 403 cloudflare error, and while requsting the hash froim vidsrc.me with its v2 rcp url I got the 404 error always.
Note  : Im using node js with axios and cheerio, and for cors error I used corsproxy.io but then also got blocked
sorry of contacting you like this I'm new to this and didnt find your email to contact you.

I think all of those errors are because the URLs require a "referer" header

I used the referer but then also, it would be better if you try it in a
sandbox heres the link : axios sandbox
https://codesandbox.io/s/ecstatic-williams-5v47sl?file=/src/App.js
On Tue, 19 Sept 2023 at 22:42, Jorrin @.***> wrote:

I think all of those errors are because the URLs require a "referer" header
—
Reply to this email directly, view it on GitHub
https://github.com/JorrinKievit/restreamer/issues/9#issuecomment-1726112293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUEIX3JZENEEF5SVH4DFNZ3X3HG75ANCNFSM6AAAAAA447II5A
.
You are receiving this because you authored the thread.Message ID:
@.***>

Full code to get the url and subtitles:
async function getEms(url) {
  const res = await axios.get(url, {
    headers: {
      referer: url,
    },
  });
  const config = JSON.parse(
    res.data.match(/new\s+Playerjs\((\{[^]*?\})\);/)[1].replace(/'/g, '"')
  );
  const fileUrl = config.file;
  const subtitleArray = config.subtitle
    .split(",")
    .map((entry) => {
      const nameRegex = /\[([^\]]*)\]/;
      const urlRegex = /(https:\/\/[^\s,]+)/;
      const nameMatch = nameRegex.exec(entry);
      const urlMatch = urlRegex.exec(entry);
      const name =
        nameMatch && nameMatch[1].trim()
          ? nameMatch[1].trim()
          : urlMatch && urlMatch[1];
      const url = urlMatch && urlMatch[0].trim();
      return { name, url };
    })
    .filter((subtitle) => subtitle.name !== null);
  console.log(fileUrl, subtitleArray);
}

getEms(
  "https://embed.smashystream.com/ems.php?imdb=tt2306299&season=1&episode=1"
);

Also btw you should read about doing requests from the browser, and why you can't do requests from the browser with headers like referer.

@JorrinKievit thanks for your help I just tried to request it again now it works fine, can't say what was the issue but I will look forward to implement proxy rotation logic to prevent the risk of getting blocked, any suggesstions how I should do it ?

I have no idea 😄

@JorrinKievit I don't want to annoy you but do you know why its getting 404 error, - `import { load } from "cheerio";
import client from "../helpers/client";
const url: string = "https://vidsrc.me/";
const rcpUrl: string = "https://rcp.vidsrc.me/rcp/";
const rcpHls: string = "https://v2.vidsrc.me/srcrcp/";
const referer: string = "https://vidsrc.me/";
const referer2: string = "https://vidsrc.stream/";
const embedUrl: string = ${url}/embed/;
const vidsrc = async (id: number | string) => {
if (!id) return "No id provided !";
let hash: string = "";
try {
const data = await client(${embedUrl}${id});
if (!data) return console.error("No data found !");
const $ = load(data);
const firstHash = $("#sources div.source").first().attr("data-hash");
hash = firstHash;

} catch (err) {
console.error(err.message);
}
// console.log(hash, rcpHls+hash)
// if (!hash) return console.error("No hash found !");
// console.log(rcpHls+hash)
let hlsData: string;
try {
hlsData = await client(rcpHls + hash, {
Referer: rcpHls + hash,
"User-Agent":
"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0",
});
} catch (err) {
console.error(err.message);
}
console.log(hlsData);
// if (!hlsData) return console.error("Error calling v2 rcp !");
// const matchHls = hlsData.match(//g)
};
export default vidsrc;
`

I have no idea 😄

ohk no problem , thanks for your help !


How to add custom mode of thermostats

I have two additional mode like "fan only" and "Emergency Heat" in my thermostat.
How can I add support in my implementation that user can change it to that mode as well via google assistance?
I tried adding availableThermostatModes: 'off,heat,cool,heatcool, fan only, emergency heat', but not helped it.

You cannot add additional availableThermostatModes other than the ones defined, but you should be able to add the Modes trait for additional modes (as long as the modes are already defined).

Thanks, @Fleker  for the suggestion,
I am trying to add Auto mode as my customers are used to call heat-cool mode to Auto mode but google doesn't support it. I tried it by Mode trait but did not help would you please verify below JSON and let me know where I miss something?
availableModes: [
        {
          name: 'Auto',
          name_values: [
            {
              name_synonym: [
                'auto'
              ],
              lang: 'en'
            }
          ],
          settings: [
            {
              setting_name: 'Auto',
              setting_values: [
                {
                  setting_synonym: [
                    'auto'
                  ],
                  lang: 'en'
                }
              ]
            }
          ]
        }
      ]

Thanks in advance.

@Fleker Can you please share sample JSON if I need to add a custom mode like 'Auto', I read a documentation but looks somewhat confusing to me. Can you please help me to understand this?

Good morning,
Since this issue was last updated, there's been a few new modes for the thermostat. auto and fan-only should sync as availableThermostatModes.
We're looking to add emergency heating.

@Fleker This is really awesome, Thanks a lot for adding modes. Please do let me know when you add emergency heat
When the device is in auto mode and when we QUERY its mode ('What is home set to') it just says "The Home is set to auto mode" unlike heat-cool response like "Heat-cool mode is set to keep the temperature between N and N degrees"
Can we make auto mode response like heat-cool like "auto mode is set to keep the temperature between N and N degrees"?

Hello,
Just want to +1 for the Em Heat.
Some of our supporting devices have this mode, for example, http://pdf.lowes.com/useandcareguides/085267182287_use.pdf, page 8.
Thanks.

Going thru the back of issues, this sounds like a feature request with the Smart Home platform, and not something specific to the sample code hosted in the repo.
I order to give more visibility, I would suggest following the instructions about filing issues in the public issue tracker at https://developers.google.com/assistant/smarthome/support.

Going thru the back of issues, this sounds like a feature request with the Smart Home platform, and not something specific to the sample code hosted in the repo.
I order to give more visibility, I would suggest following the instructions about filing issues in the public issue tracker at https://developers.google.com/assistant/smarthome/support.


Add interface to allow regalloc to query proper slot number for combined slot

As per discussion with @julian-seward1 on Zulip, this allows the register allocator to query the client: when it needs to use an N-slot space (e.g., two slots, for a 128-bit vector reg), it needs to know how to refer to this combined slot in spill and reload instructions. Depending on the underlying address computation / stack frame layout that the client uses, this may be base (first constituent slot), base + len - 1 (last constituent slot), or maybe even something else.

Thanks!
I had just been considering something even simpler.  Could the client simply pass (maybe on request) to the RA, one of the following two values:
enum SpillAreaOrientation { SpillAreaIndexedFromTop, SpillAreaIndexFromBottom }
(where the current implied semantics is SpillAreaIndexedFromTop)
and we specify in the interface:
for the case SpillAreaIndexedFromBottom, the RA can assume that &spill_slot[0] is 16-aligned
and
for the case SpillAreaIndexedFromTop, the RA can assume that &spill_slot[0] + sizeof(spill_slot[0]) is 16-aligned
and then let the RA take care of creating the correct numbers for spill/reload insns
(it's hardly a big deal).

Closing outdated PR.


Visualization of attributes

@chufengt  thanks for sharing the code i have few queries, i am able to get the attributes correctly but want to visualize the attributes detected or classified, i followed your reference of #29 #31 which go to one of the examples but not able to obtain the results as the feature size of sub_feature of stn is (1,768,32,16) and the image size if of (1,3,256,128) which feature to visualization ??

You can directly apply the theta computed for sub_feature (3216) to the full image (256128), since the STN operation is scale-agnostic.

THanks for the response , based on the input i returned the theta_i values from the model and used the below code
grid = F.affine_grid(output[6][10], torch.Size((1,3,256,128)),align_corners=None)
x = F.grid_sample(input, grid,padding_mode='border')
x= x.detach().cpu().numpy()
and ploted the output which i am currently getting like this

is there any error in my code/ understanding

output[6][10] is theta? there is a 'green' region centered in the input.
have you checked the input? is it a black image?

@chufengt i am having proper input , can you share the visualization code it would be good to validate

We didn't use the ALM module for main_pred, thus there is no theta for main_pred.
Actually, main_pred is in a typical multi-label classification manner, all attributes using the same full-image feature.


下载音频文件时报错

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

下mp3,flac,m4a等文件时出现Error: not_whitelisted

@yaowu1st
check this out, #8

@tvcat Thank you for your help!


Add option to allow unkown versions or fields

I added two new options, so that you can allow un-supported versions or field-types. There is a console information to warn the user that an unsupported field was read / written, but the process itself will not fail if enabled.
off-topic
I updated the README api section file to match the current types used by this lib.
/** Options that may be passed to `DBFFile.open` and `DBFFile.create`. */
interface Options {

    /** The file version to open or create. Currently versions 0x03, 0x83 and 0x8b are supported. */
    fileVersion?: FileVersion;

    /** The character encoding(s) to use when reading/writing the DBF file. Defaults to ISO-8859-1. */
    encoding: Encoding;

    /** Do not fail if trying to parse or write a version that is not officially supported. (This may still fail on other things)  */
    allowUnkownVersion?: boolean;

    /** Do not fail if trying to parse or write un-supported field types. */
    allowUnkownFields?: boolean;
}

Hi @anbraten, I've just implemented 'loose' read mode in #41. I think it should cover your original issue. I wanted to go a slightly different direction to this PR, so I'm really sorry that your contribution here won't get merged. There were a number of differences in how I was envisioning it lead to the PR in #41 having a number of differences to this one. I hoping the approach in #41 will keep things simple but also open to future extension (eg custom read mode where the user can provide their own handlers).
#41 has been published in v1.5.0. Please let me know if that version solves your original problem.
Thanks for you efforts on this and sorry again for not merging this one.


selectDate: doesn't work on Swift

How to regenerate:
1.) Manually init a new instance of FSCalendar view and added to self.view
2.) adjust frame on viewDidLayoutSubviews ( Optional )
3.) call selectDate(NSDate) , which I have tried multiple combination of NSDate, all come with the same result
4.) FSCalendar instance just didn't has any effect
My investigation / temporary solution:
1.) call [self collectionView:_collectionView didSelectItemAtIndexPath:selectedIndexPath]; after every selectDate calls, to force triggering the effect
Discussion:
As I traced the source file, I saw that after [_collectionView selectItemAtIndexPath:selectedIndexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone]; is called ,
the didSelectItemAtIndexPath hasn't be triggered successfully.

One more finding:
- (BOOL)collectionView:(UICollectionView *)collectionView shouldSelectItemAtIndexPath:(NSIndexPath *)indexPath has not being called too after calling selectDate:


feat: add Node.js 22

Closes: https://github.com/zakodium/workflows/issues/12

Test passed on https://github.com/cheminfo/test-package/pull/17