generates errors, does not generate files required for IoT Hub

This guide cannot be followed as written. Step 5 generates an error since no key for device2 has been created.

The very next document in this series discusses uploading .pem certificate files to IoT Hub for authentication. This guide has the user create .crt files which are unusable.

It would be awesome if documentation existed that actually works, and for people who are interested in IoT but don't want to become TLS/SSL experts.
Thank you.

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

ID: e69945e1-871e-72a6-2eb7-cf866ffe827e
Version Independent ID: cf788488-8385-09c8-218e-f46c57a433b3
Content: Tutorial - Use OpenSSL to create self signed certificates for Azure IoT Hub
Content Source: articles/iot-hub/tutorial-x509-self-sign.md
Service: iot-hub
GitHub Login: @v-gpettibone
Microsoft Alias: robinsh

Added another step to create a key for the second certificate. See step 5 in https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-x509-self-sign.
.crt certificates created in these examples are the same as .pem certificates except for the filename extension. You can just change the extension or use OpenSSL to make a conversion. This is now documented in a note to step 7 in https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-x509-openssl.

@RonMatsu I would like to close this now if you have no other concerns. Please advise.

@v-gpettibone Yes! Sorry - I wasn't paying attention there. Thanks for the quick response!


Index of examples to create

Suggestions for scenarios that we could create examples for.

Info examples

[ ] Valid Version numbers
[ ] Example License identifiers

Servers Examples

[ ] Sandbox vs Prod

Paths Examples
Parameter Examples

[ ] Non escaped path parameter
[ ] JSON Object query parameter
[ ] Date query parameter
[ ] Boolean query parameter

Content examples

[ ] Heterogenous collection of JSON objects
[ ] Empty collection
[ ] Paged Collection

Response Examples

[ ] Long running operation (202)
[ ] Created example (201)
[ ]

Security Examples

[ ] Using scopes
[ ] API Key
[ ] Client Credential OAuth2
[ ] Auth Code OAuth2

Tags Examples

[ ] Global Tags
[ ] Inline Tags

Asides from adding an example of examples for multipart/form-data requestBody (#2734) I would also like to suggest adding an example of examples for parameters using pattern to describe URL parameter nested objects (#1706) like url.com?filter[query][eq]=value.
Since deeply nested objects are not agreed on or supported by OAS, but are widely used, even a "simple" regex example would convey that this is not officially supported, whilst still providing a starting point that users can use to implement some basic validation when using tooling.

Where were these examples going to be used? I wonder if these might be something for learn.openapis.org

@darrelmiller Could you please put this one on the Learn repo? I think we're more likely to be able to action it there.


Question: How can we enumerate the open Windows in an application?

I need to be able to get a list of all the Window objects that are open in the WinUI application.  However I'm not seeing anything on Window or Application that will accomplish this, unlike in WPF.  Is there any API available in WinUI to get the list of Windows that are open?
The reason I need the Windows is that setting Application.RequestedTheme cannot be done at run-time right now (which is necessary for dynamic theme changes during an application session), and the only workaround is to set the RequestedTheme property on the child element of each Window.

I don't think there is an API to do this.. But the list should be constructable yourself, given you've probably created all of the window objects yourself, correct?  @MikeHillberg thoughts?

The problem is that as a commercial component developer, we aren't writing the apps ourselves.  We are building theme functionality that would ideally be applied to Windows that are open.  We can't do that without heavily involving our customers (the application developers) if we don't have access to the list of open windows.
It wouldn't be much of an issue though if Application.RequestedTheme could be set at any time after first initialization without throwing an exception like it does now per the linked issue.


EditContext proposal: use "inputmode" to align with corresponding HTML attribute

The text has been updated with a bigger perspective, thanks.  My PR is irrelevant now.


Plug-In never turns on, client log complaining about shader storage buffer binding value

Installed plugin
2, clicked the "on" switch
Game pauses...
Switch is set to "off" again, no HD graphic :c

Client log below
frump's error - client.log
Thank you, cheers to your great work 😄

Duplicate of #19

closing since this is a duplicate


[Question] Mark as invalid on JWT_CREATED event

Hello,
I have many frontends, each one with a different url, and a single backend which serves data from a database to the frontends.
What i'm trying to do is avoid user's from frontendA can login into frontendB.
I'm using JWT_CREATED event to capture the request and check if the frontend url is the correct one.
Once I detect that the user can not login into this instance of the frontend, I want to invalidate/mark as invalid/whatever the token.
Any idea on how to proceed to achieve that?
Any idea will be helpful.
Thanks for the awesome work with this bundle!

Solved. AUTHENTICATION_SUCCESS event fits on my needs.
Thanks for the awesome work!


Range Rings Radials LPKXs

Adding LPKXs for RR/R - note schema change - had to add a field for Type
of RR feature in order to only label the rings. Note that label class
has a SQL query on it, and Arcade expression is only applied for the
rings.

@csmoore - here are range rings and radials LPKXs. Note schema change...


websocket disconnected Errors while sending a message are eaten and are not thrown back

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.13.1
Describe the bug
when using a bot with telephony/DLS speech enabled and are having a conversation over websockets today when the send message fails due to websocket being disconnected the error is not being thrown back to the runtime. would like it to be thrown back so we can build a mechanism to resend all the messages when channel reconnects!
https://github.com/microsoft/botbuilder-dotnet/blob/402bc02b4cbbd2f4ec359134640e99211367e4a5/libraries/Microsoft.Bot.Builder/Streaming/StreamingRequestHandler.cs
line 406-427
Expected behavior
throw original exceptions back to the runtime
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

We're doing a patch to fix this this week.


All kernels say 'ipython kernel' when starting

Open a julia notebook
Start the kernel
It says 'Starting IPython kernel'

I believe this has already been done.
Moving to validate.

Validated.


Proposed Revisions

I think this project should address these points in the next major revision, which will definitely be breaking changes.

Take a dependency on PowerShell 5.1
Modify configurations to use PSDscResources instead of PSDesiredStateConfiguration
Re-organize configuration data per Missy's suggestions
Functions in PSAutolab should have standard names. Use existing names as aliases.

1-3 is on the dev list I'm working on now for the next version. 4. is a challenge as there are conflicts with Lability, but I agree and will attempt to resolve.

The naming issue should be easy to resolve - use a prefix for the autolab commands. Perhaps AL or PSAL. Then, as I've suggested before, create aliases so the setup scripts don't break.


OverrideUtxos for wallet created makeWalletFromAddress

Hi, I see that overrideUtxos for a makeWalletFromAddress has a TODO. Is there a plan to implement this function or do we need to create the wallet using new utxos before every transaction while chaining?

Yes we’re planning to do it, we’re a bit tight with other things, but we’ll work on it soon

fixed https://github.com/Anastasia-Labs/lucid-evolution/pull/178


Whether external users can call APIs by themselves

Whether external users can call APIs by themselves? And thanks for such a good open source project!

What do you mean by this? If you clone & deploy this project, you can use your own OPENAI_API_KEY – if that's what you're asking about :)
Closing this for now but lmk if I misunderstood you!


Use AnySceneImporter for loading arbitrary formats

Motivation and Context
As mentioned in #54, current code had hardcoded only support for glTF files and in order to import other formats, users were forced to convert them to glTF. That's making users' life unnecessarily hard -- we're using Assimp anyway, so why not use it for general data as well. This PR enables effortless import of "any" formats using AnySceneImporter -- FBX, Blend, ..., basically anything it can recognize (and load a plugin for).
On the buildsystem side it's just re-enabling AnySceneImporter and AssimpImporter that were commented out right now, plus making the Assimp finding & linking a bit more robust.
Some formats (such as OBJ or PLY) don't provide scene hierarchy, in that case the code takes a wild guess and tries to import the first found mesh with the first found material.
How Has This Been Tested
Built and tested with both system and embedded Assimp.
Loading PLY, OBJ and various other formats in the viewer utility, explicitly verified also with files that have no meshes and/or no materials, however I'm a bit unsure about the bounds checks -- let me know if these are okay.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

in the changes I've been making in #53 I've actually separated out assimp as a dependency as it was only used for building the datatool binary

@msavva actually, checking the SceneLoader.cpp, I propose rewriting the code to use AnySceneImporter as well instead of Assimp directly -- it only does manual mesh data import + fixing up the gravity orientation, right? Then we're depending on Assimp only as an (optional) plugin.

OTOH, maybe we ought to try out building assimp on emscripten anyways. :smile:

I'm not saying it's impossible, but once it's just a plugin it's easy to replace it with dedicated importers for just the formats we want to support on the web (for example PLY, OBJ and glTF), saving several megabytes (the native binary is 8.5 MB on my machine, for reference). Assimp has a lot of functionality we don't need at all, it's not just import but also export and several complex tools for mesh processing.

in the changes I've been making in #53 I've actually separated out assimp as a dependency as it was only used for building the datatool binary

@msavva actually, checking the SceneLoader.cpp, I propose rewriting the code to use AnySceneImporter as well instead of Assimp directly -- it only does manual mesh data import + fixing up the gravity orientation, right? Then we're depending on Assimp only as an (optional) plugin.

OTOH, maybe we ought to try out building assimp on emscripten anyways. 😄

I'm not saying it's impossible, but once it's just a plugin it's easy to replace it with dedicated importers for just the formats we want to support on the web (for example PLY, OBJ and glTF), saving several megabytes (the native binary is 8.5 MB on my machine, for reference). Assimp has a lot of functionality we don't need at all, it's not just import but also export and several complex tools for mesh processing.

Sounds good on both counts!

If this PR will be rebased on the latest master we will get proper CI testing.

Rebased on master, adapted to the change from #61.

@mosra now that this PR is rebased and passed through CI, it should be ready to land on master and take advantage of the additional format support. 🙂
Please squash-and-merge into the master branch.


GH Action tests are not triggered by CompatHelper PR 2

#387 is still not fixed:
https://github.com/JuliaPluto/PlutoSliderServer.jl/pull/62, with the workflow file

Another example: https://github.com/JuliaPluto/PlutoSliderServer.jl/pull/85

https://github.com/JuliaPluto/PlutoSliderServer.jl/blob/6eb427ff0071273bab23b4c8038639537b63eec4/.github/workflows/CompatHelper.yml#L31
Does your repo have a secret named DOCUMENTER_KEY?

Ah I see, thanks!


feat: added env variables for gaming

:tada: This PR is included in version 1.65.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Skip barlesque?

Unfortunately when I run this locally I get a chunk of errors from Barlesque. Obviously the true solution is to fix the Barlesque errors but they are outside of my control.
I only really want to see errors for issues that I could fix.

Looks like this is also covered by #52


debug sampling interval parameter

The CompVis code exposed a parameter called sampling interval that would write intermediate (decoded) results during the sampling iteration process. I think this could be useful for a variety of reasons so it might be nice to expose.
It might also be the best way to handle the general idea of getting debug images, which would need to be gathered at some step interval in the sampling process anyway.

This doesn't actually work the way people think it does. There's actually two problems:
A) The output after 24 steps of a 24 step generation is nothing like the output after 24 steps of a 48 step generation
B) Taking intermediate outputs affects future results
However there are solutions I've seen floating around for this (specifically a custom GAN to produce previews). I'll add it to the backlog.

I'm not sure why, but does decoding the latent space representation really cause non-determinism? That's bizarre.

B) Taking intermediate outputs affects future results

I'm with parlance on this one; that would be very bizarre indeed.
:firecracker: diffusers 0.4.0 did add a callback to the pipeline to expose the latents during the process.

I'm going from memory on B, haven't confirmed it. My guess was VAE draws from the generator, affecting noise. If it doesn't, then yay :).

As far as how to implement, it'll need a little capability negotiation to not break clients that don't expect it, but we can easily just return more Answers than the Request specified samples. If we give all the images the same answer_id (or maybe a formatted answer_id like main_id:sub_id) it'll be easy to track them as intermediate outputs.


Implement Field Components

Summary
Part Two of Terra Forms.
This pull requests introduces the following components

TextField
Textarea
TextareaField
NumberField

Additional Details
There will be another pull requests that introduces Control, and the possibility of a RadioGroup
Deployment Link:
https://terra-core-deployed-pr-410.herokuapp.com/

Nice test coverage. I'm a little confused to understand the difference between Default TextareaField and Populated TextareaField Uncontrolled nightwatch test. It seems uncontrolled test is already good enough. What's the objective of the default test?

Thanks!
I had the default test to ensure that something gets displayed if nothing is passed in at all into the field.

Populated TextareaField Controlled and Populated TextareaField Uncontrolled test links do not work. Also, I have recently had a lot of questions regarding test examples when context isn't provided. Might be good to add context to the controlled and uncontrolled examples to make functional verification quick and clear.

@JakeLaCombe With https://github.com/cerner/terra-core/pull/414 merged down to master, we'll want to delete the lib directory in packages/terra-form.

@bjankord It's removed here. https://github.com/cerner/terra-core/pull/410/commits/0eb1c0e1f1417f75f3f91337b026fa9800f0281d

Unitless line height was fixed here. https://github.com/cerner/terra-core/commit/f5da306f2387053cbc5e3d9207b9d8a82b54eee8

Functional verification completed. All form examples and test pages display and function correctly. Since the form examples page is getting quite large, logged issue #447 to break it and other large pages into more usable subpages.

+1 for checkpoint UX Review


Add IPNetSlice and unit tests

This adds slices for IPNet.
This is needed for IPv4, IPv6 dual stack in kubernetes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

ping @eparis @spf13 ptal 🤗

@eparis If you have a chance, can you take another look at this?
This is needed for the Dual Stack feature in Kubernetes - https://github.com/kubernetes/community/pull/2254

ping @spf13 @eparis

ping @spf13 @eparis PTAL; is there anything outstanding to get this merged?

@thaJeztah @eparis can we merge this? I believe @rpothier is no longer working on the dual-stack work in kubernetes but this feature would be very helpful to others who are. Thank you.

I'm not a maintainer in this repository, and don't have write access.
@spf13 any way your could help getting this moving?

Yea, I've been reassigned and no longer on Kubernetes.
Still I hope this goes in.

@therealmitchconnors @eparis PTAL 🙏

Thanks!


社区有些不活跃了，还在继续维护吗？？

Please provide an in-depth description of the question you have:
What do you think about this question?:
Environment:

Kurator version:
Others:

Yes, we do maintian it.  We have some undergoing features being discussed.

Ok, it is nice to hear that. It is good news.
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: hzxuzhonghu @.>
发送时间: Monday, July 1, 2024 9:19:01 AM
收件人: kurator-dev/kurator @.>
抄送: Bodkin Quan @.>; Author @.>
主题: Re: [kurator-dev/kurator] 社区有些不活跃了，还在继续维护吗？？ (Issue #647)
Yes, we do maintian it. We have some undergoing features being discussed.
―
Reply to this email directly, view it on GitHubhttps://github.com/kurator-dev/kurator/issues/647#issuecomment-2198863701, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB7CR5M4S7LVSOBJTPZGZHLZKCVALAVCNFSM6AAAAABKDV5RMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYHA3DGNZQGE.
You are receiving this because you authored the thread.Message ID: @.***>

What features do you mostly concern about? We want some feedbacks

Cluster Management, Cluster backup & restore,  app logs, app monitor
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: hzxuzhonghu @.>
发送时间: Monday, July 1, 2024 9:26:30 AM
收件人: kurator-dev/kurator @.>
抄送: Bodkin Quan @.>; Author @.>
主题: Re: [kurator-dev/kurator] 社区有些不活跃了，还在继续维护吗？？ (Issue #647)
What features do you mostly concern about? We want some feedbacks
―
Reply to this email directly, view it on GitHubhttps://github.com/kurator-dev/kurator/issues/647#issuecomment-2198869459, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB7CR5O2HYIZAML656YUTOTZKCV4NAVCNFSM6AAAAABKDV5RMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYHA3DSNBVHE.
You are receiving this because you authored the thread.Message ID: @.***>

Good to know that, which indurstry do you use those functionalities

/close


Add more state sensors for DomesticHotWaterProduction

Fixes #568

Did you take a look at what #617 does? I'd like to merge it before we finish the enums as it fixes a bug in away mode and introduces boost mode (or the other way around).

Did you take a look at what #617 does? I'd like to merge it before we finish the enums as it fixes a bug in away mode and introduces boost mode (or the other way around).

You can merge that if is works :). This one will just add a few optional sensors, I don't think it has duplicate functionality?


ImportError bug in Release 0.2.4

I am using Python 3.10.0 and installed QDD (qdd-0.2.4) with default options on a fresh Python virtual environment by running: pip install qdd.
However, running import qdd from Python REPL unexpectedly raises an ImportError exception. The stacktrace is:
>>> import qdd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcos/qar/QDD/qdd/__init__.py", line 3, in <module>
    from .qdd_backend import QddBackend
  File "/home/marcos/qar/QDD/qdd/qdd_backend.py", line 26, in <module>
    from qdd import pyQDD
ImportError: cannot import name 'pyQDD' from partially initialized module 'qdd' (most likely due to a circular import) (/home/marcos/qar/QDD/qdd/__init__.py)

I obtain the same error also in Python 3.11.0 and 3.12.5.
Installing QDD via pip install qdd seems to have some issue.

Thanks for reporting the issue.
I feel that there are two causes, but not sure. Please help us to solve this problem.
1. Compatibility problem?
It may be the compatibility issue, so could you share your environment? (e.g., Ubuntu 22.04 x86_64 or RHEL8 arm64)
2. Conflict?
It seems you have downloaded QDD manually to /home/marcos/qar/QDD. If you are in that directory, pip's QDD and the manually-downloaded QDD may conflict each other.
Could you run python under an empty directory?

Update:

I was using a machine with Ubuntu 20.04 LTS. I think there is no compatibility problem.
I tried running the example Python code import qdd from a different directory and saw no issue. So indeed the issue seems to be that the git-cloned version shadows the pip-installed version.

I tried reinstalling qdd (develop) using Python 3.12.5. The installation works but only if done from source using cmake. However, I needed to run python -m pip install . (the installation instructions in README do not mention this step after python -m build).


Flame Graph Report - Indicate frame with exits

Keep the same color but use different fill strategy - like hatched fill?
Add exit type information into pop-out

Fixed by e6f79c497f8f3eb6290a91859821ddb9dd8fcffc


Chore: update deps

Re: #69
This updates our dependencies for the "core" helpers and Gulp tasks. They are now published on npm and referenced accordingly on our package info and Gulpfile.
There was also a little tweak needed in one of the pattern templates due to the new {{math}} helper.

LGTM! 👍

LGTM :+1:


F2 Shortcut key for renaming focused tab

Description of the new feature/enhancement
A shortcut key for renaming the currently focused tab most probably the F2 key

Currently, users have to right-click the tab to rename it, and renaming a large number of tabs can be frustrating especially by using a mouse. This enhancement can let users rename the tab without leaving the keyboard.
Proposed technical implementation details (optional)

There's already the renameTab action

Yep!
If you add the following action/key binding to your settings.json, it will work:
{ "command": "openTabRenamer", "keys": "f2" },

Worked 😊


Exchange 2019 Page file size check

For Exchange 2019, the Page file size recommendation has changed, it is now 25% of installed memory:
https://docs.microsoft.com/en-us/exchange/plan-and-deploy/system-requirements?view=exchserver-2019
Currently this configuration generates a failure on the Health Check, I suppose it is expecting Memory + 10% as was best practice in earlier versions.

@ChrisMKV it should be checking for 25% of the installed memory for 2019. Please email<EMAIL_ADDRESS>with the output of the 2 files so i can look it over.

https://github.com/dpaulson45/HealthChecker/issues/85
6f581119ebf253ed33ff3a3cf20e05517702d9b0

@ChrisMKV make sure that you use the latest HealthChecker release (https://github.com/dpaulson45/HealthChecker/releases/tag/v2.43.0). If you're already using it, follow David's instructions. Thanks.

Thanks @lusassl-msft , looks like I had an older version of the script. In the latest one the check is passed.
Cheers!


accessing pagination permalink path?

The original jekyll paginate implementation had a single permalink which we can access in our includes/layouts with site.paginate_path
Does jekyll-paginate-v2 provide the permalink path down?
My goal is to be able to provide a list of links: similar to the below.
Previous, 1, 2, 3, 4, 5, Next
The example files only show Previous/Next and I'm unable to generate links for 1-5 without access to the paginate_path. I can hardcode it, but that prevents me from using the same includes file for everything I want paged.
Thanks

Hi Raymond, this is a great idea! :+1:
The implementation will be a little different due to the difference in complexity between the old gem and this new one but I'll do this.

Done, available in v1.7.0 of the gem

@sverrirs is there an example of how we can enable this feature in a page?

@emeraldjava please consult the docs under "pagination trails" and example project  03 for the details https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#creating-pagination-trails

Do we need to count total pages always when we create new page so that we can put "before and after" in front matter. Then it is tedious.

@justinechacko Please create a new ticket for your issue and elaborate a little more on what you're trying to do.


Revert "RWA-1955-wa-task-management-api url standardized"

Reverts hmcts/wa-workflow-api#494

Not required


[Bug] Can't use RepVGG with AutoSlim

It's very similar to #79, it's a bug of the parser, except the exception is that it reached maximum recursion when calling trace_bn_conv_links (https://github.com/open-mmlab/mmrazor/blob/master/mmrazor/models/pruners/structure_pruning.py#L124).
To reproduce, simply replace the model (https://github.com/open-mmlab/mmrazor/blob/master/configs/pruning/autoslim/autoslim_mbv2_supernet_8xb256_in1k.py) with RepVGG.
I am refactoring the parser to make it more general and easily to debug. Stay tuned.

Sorry for taking so long to get back to you.
Next, I will focus on MMRazor, and solve the related issues you raised as soon as possible.


feat(kai): Make reset button work

Current dependencies on/for this PR:

main

PR #2242   👈

This comment was auto-generated by Graphite.


Apple Customer Privacy Policy

The apple Privacy policy requires a list of privacy items that you want to add to the project, otherwise a warning will be issued during the review

如果有需要，我可以支持它。但是SmartCodable没有使用任何跟隐私相关的。并且我也没收到警告信息。 你可以提供它么？ 如果可以请加QQ群： 865036731

It's easy to download from other third-party projects, such as MJRefresh

我的意思是SmartCodable没有使用任何涉及隐私的api，不应该收到警告。这一点也从多个使用者证实过。 你可以同步一下你遇到的警告信息么?

https://developer.apple.com/cn/support/third-party-SDK-requirements/ Only these SDKs have requirements, the others do not have strict requirements.  @AJ-song

OK, thank you. @faimin


[terra-core] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible'

Feature Request
Description

WCAG 2.1 (Level AA) introduced criterion 2.4.11: Focus Visible (Enhanced) which raises the WCAG 2 (Level A) 2.4.7: Focus Visible criterion standard of when a user interface element displays a visible keyboard focus that it's color contrast ratio be at least 3:1 or thickness of at least 2 CSS pixels.
All interactive terra elements have a visible keyboard focus style present, but not tested to see if they meet automated AXE testing for the 2.4.7 /  2.4.11 criterion. All components in tera-core need to be audited and provide updated styling as needed, as well as adding any appropriate additional tests for confirmation of pass/fail.

.
Reference Context / Screenshots
Example: focus styling for terra-button does not meet the color contrast ratio or thickness rule when tested:

Example: focus styling for an Icon Button using the information icon:

Solution

Audit, Add testing, and UX to provide appropriate changes to all components in terra-core
Components affected:

[ ] TODO: list out each component needing update here...

Related Issues
add related issue numbers

terra-core #3168 (closed)
terra-toolkit #443
terra-clinical #705
terra-framework #1262
terra-application #93
terra-core #3304 (closed)

Keeping blocked on needing UX + A11Y input. Backlogging as future enhancement.

Closing a duplicate issue terra-core #3304 (closed) and transferring the details to this issue as it's replacement.

Closing a duplicate issue terra-core #3304 (closed) and transferring the details to this issue as it's replacement.


[5.6] Disable a flaky part of the unit test PackageToolTests.testPluginCompilationBeforeBuilding

This is a 5.6 cherry-pick of https://github.com/apple/swift-package-manager/pull/4103 after being asked to cherry-pick this change since it's also affecting 5.6 CI.  It was already merged in main.
As in main, we don't want to skip the entire test since there are other good things being tested here that are not flaky, such as some of the other output as well as the exit code of the subprocess.
(cherry picked from commit 9cad76e765436ed580d459c66dbf980a4323b5e6)

@swift-ci please test

Force merging to unblock CI. The rick is "Extremely low"


Allow Homebrew/brew(.git)? to ignore the case.

When people opt to install in their home directory this can be all lowercase (as Github doesn't enforce case on their URL's for anything but file names), and this will popup as a warning, even though the repository is perfectly valid.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Thanks for the PR but I'd rather we are still notified on this in brew doctor.


⚠ Samsung has degraded performance

In d95ae8b, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2784 ms

Resolved: Samsung performance has improved in 05fedef.


[SPARK-39844][SQL] Restrict adding DEFAULT columns for existing tables to allowlist of supported data source types

What changes were proposed in this pull request?
Restrict adding DEFAULT columns for existing tables to allowlist of supported data source types.
Why are the changes needed?
When ALTER TABLE ... ADD COLUMNS commands assign column DEFAULT values, Spark constant-folds these values and stores the result in the EXISTS_DEFAULT column metadata. This allows the target data source to substitute this value for rows where the corresponding field is not present in storage. This responsibility is up to each data source.
In order to grant flexibility to certain data sources that are not yet ready to support this functionality, in this PR we add the new SQLConf ADD_DEFAULT_COLUMN_EXISTING_TABLE_BANNED_PROVIDERS as spark.sql.defaultColumn.addColumnExistingTableBannedProviders. Adding a table provider to this list as well as DEFAULT_COLUMN_ALLOWED_PROVIDERS will allow Spark to assign default column values only upon either (1) initial table creation or (2) later with ALTER TABLE ... SET DEFAULT ... commands.
Does this PR introduce any user-facing change?
Yes.
How was this patch tested?
Existing column DEFAULT test coverage + new unit test coverage.

Hi @gengliangwang, this PR allows Spark administrators to configure table providers that allow assigning column DEFAULT values in all cases except for adding new columns to existing tables. This lets data sources that do not yet support existence default value scanning to otherwise work with column DEFAULT values in DML commands.

Can one of the admins verify this patch?

Looking at the CI result, it appears to be internal infrastructure breakage; no actual tests appear to have failed. Pushing an empty commit to re-run them again.

Looks like the Apache Spark CI is broken in general temporarily .___. will wait a bit.

@dtenedor we should update the PR description as well

LGTM overall. I will merge it after comments addressed

Thanks @gengliangwang, addressed the comments and updated the PR description.

@dtenedor Thanks for the work! Merging to master


record legal names

@seanlinsley on #3088:

We really need to be recording people's legal names, even if we don't publicly display them.

Related to #987.

Yes, I think this is a good idea.

+1
On January 12, 2015, at 3:39 PM, Ben Holden-Crowther<EMAIL_ADDRESS>wrote:
Yes, I think this is a good idea.
—
Reply to this email directly or view it on GitHub.￼

What is the cause for that +1's? The less private information we scavenge, the more resistant we are to what happened to Sony etc.

@techtonik, I think comparing this to Sony is wrong.

@techtonik We already ask for it on credit card forms.  Unfortunately, it may also be a necessary evil to have it, along with some other info, privately for tax reasons.  It shouldn't ever be displayed publicly though, since there's no good reason to do so.

Closing in favor of #2449.


Support translation (form constraint "( mandatory )" .etc)

Related with the following smash side issue/pull request,

https://github.com/moovida/smash/issues/2
https://github.com/moovida/smash/pull/108

smashlibs side translation support (like form constraint ( mandatory ) => ( 必須 )) is also preferable.

Hi @sanak . You mean that you would like to have this translated in the GUI or you would like to be able to use it translated also in the json file? I am not that happy if it is the second case, but we can talk about it.

@moovida (CC: @dkastl, @mbasa-georepublic)
Oh, I meant the first case (translated in the GUI).
I tried to translate it, once, and the following direct modification worked as expected (although it is only for Japanese...).
commit diff: https://github.com/hyakumori/smashlibs/commit/830c5bd5d2a7960f1783df68d8b541230a005dd3
-   String _description = "mandatory"; //$NON-NLS-1$
+   String _description = "必須"; //$NON-NLS-1$

I am not sure the the meaning of $NON-NLS-n$ comment, but does this relate with smash side internationalization topic (https://github.com/moovida/smash/issues/2) ?

@sanak , I completely agree with that change then.
PS: the //$NON-NLS-1$ comes from the initial geopaparazzi development. It is what the eclipse IDE uses for strings for which to ignore translation.

@moovida (CC: @dkastl, @mbasa-georepublic)

I completely agree with that change then.

Okay, thanks for confirmation!

PS: the //$NON-NLS-1$ comes from the initial geopaparazzi development. It is what the eclipse IDE uses for strings for which to ignore translation.

Okay, thanks for information!
I haven't used Eclipse IDE in a few years, but I will try geopaparazzi build/debug when I have time. 😅

Closing this as taken care of.


chore(master): release 1.0.3

:robot: I have created a release beep boop
1.0.3 (2023-08-08)
Miscellaneous

deps: update dependency phpstan/phpstan to v1.10.28 (cfcfce0)
move test classes to app dir (652d72f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-webhook-client/releases/tag/v1.0.3 :sunflower:


2.3.1 is broken, I downgraded to 2.2.0 and everything works

2.3.1 is broken, i downloaded to 2.2.0 and everything works

I had to do the same, waiting fo a fix soon!


Support for GPT3 based models

Requesting for GPT3 based model support in worker

Hi,
GPT-3 is not open source.
The following GPT architectures are supported:

GPT-2 (gpt2, gpt2-xl, etc.)
GPT BigCode (bigcode/starcoder, bigcode/gpt_bigcode-santacoder, etc.)
GPT-J (EleutherAI/gpt-j-6b, nomic-ai/gpt4all-j, etc.)
GPT-NeoX (EleutherAI/gpt-neox-20b, databricks/dolly-v2-12b, stabilityai/stablelm-tuned-alpha-7b, etc.)


make maze-en fails

Hi all,
I think I have make deps successfully, but when I make maze-en, I run into a strange error.
(I am currently using jdk1.7 because of Issue #21)
(jdk1.8 previously had a similar error)
make maze-en
java -jar third-party/SoyToJsSrcCompiler.jar --shouldProvideRequireSoyNamespaces --isUsingIjData --outputPathFormat appengine/generated/en/soy.js --srcs appengine/template.soy
java -jar third-party/SoyToJsSrcCompiler.jar --shouldProvideRequireSoyNamespaces --isUsingIjData --outputPathFormat appengine/maze/generated/en/soy.js --srcs appengine/maze/template.soy
python build-app.py maze en

Maze - en - uncompressed:
third-party/build/closurebuilder.py: Scanning paths...
third-party/build/closurebuilder.py: 2241 sources scanned.
third-party/build/closurebuilder.py: Building dependency tree..

Maze - en - compressed:
third-party/build/closurebuilder.py: Scanning paths...
third-party/build/closurebuilder.py: 2241 sources scanned.
third-party/build/closurebuilder.py: Building dependency tree..
third-party/build/closurebuilder.py: Closure Compiler now natively understands and orders Closure dependencies and
is prefererred over using this script for performing JavaScript compilation.

Please migrate your codebase.

See:
https://github.com/google/closure-compiler/wiki/Managing-Dependencies

third-party/build/closurebuilder.py: Compiling with the following command: java -client -jar third-party/closure-compiler.jar --flagfile /var/folders/nz/_cdyftyx577ff3rh6k1z0rs40000gn/T/tmps7UlJG
appengine/js/lib-dialogs.js:90: WARNING - Access to private property bindEvent_ of Blockly not allowed here.
        Blockly.bindEvent_(header, 'mousedown', null,
        ^^^^^^^^^^^^^^^^^^

appengine/js/lib-dialogs.js:142: WARNING - Access to private property bindEvent_ of Blockly not allowed here.
  BlocklyDialogs.dialogMouseUpWrapper_ = Blockly.bindEvent_(document,
                                         ^^^^^^^^^^^^^^^^^^

appengine/js/lib-dialogs.js:144: WARNING - Access to private property bindEvent_ of Blockly not allowed here.
  BlocklyDialogs.dialogMouseMoveWrapper_ = Blockly.bindEvent_(document,
                                           ^^^^^^^^^^^^^^^^^^

appengine/js/lib-dialogs.js:173: WARNING - Access to private property unbindEvent_ of Blockly not allowed here.
    Blockly.unbindEvent_(BlocklyDialogs.dialogMouseUpWrapper_);
    ^^^^^^^^^^^^^^^^^^^^

appengine/js/lib-dialogs.js:177: WARNING - Access to private property unbindEvent_ of Blockly not allowed here.
    Blockly.unbindEvent_(BlocklyDialogs.dialogMouseMoveWrapper_);
    ^^^^^^^^^^^^^^^^^^^^

/ ************************************************************************* /
/ *                               … …                                     * /
/ *                      LOTS OF OTHER WARNINGS                           * /
/ *                               … …                                     * /
/ ************************************************************************* /

externs/interpreter-externs.js:114: WARNING - Bad type annotation. Unknown type Interpreter.Primitive
 * @return {!Interpreter.Object|!Interpreter.Primitive} The equivalent
                                 ^

externs/interpreter-externs.js:122: WARNING - Bad type annotation. Unknown type Interpreter.Object
 * @param {!Interpreter.Object} pseudoObj The JS interpreter object to be
            ^

externs/svg-externs.js:407: WARNING - mismatch of the addEventListener property type and the type of the property it overrides from interface EventTarget
original: function (this:EventTarget, string, (EventListener|function (Event): (boolean|undefined)|null), boolean): undefined
override: function (this:SVGElementInstance, string, (EventListener|function ((Event|null)): (boolean|undefined)|null), boolean=): undefined
SVGElementInstance.prototype.addEventListener = function(type, listener, opt_useCapture){};
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

externs/svg-externs.js:415: WARNING - mismatch of the removeEventListener property type and the type of the property it overrides from interface EventTarget
original: function (this:EventTarget, string, (EventListener|function (Event): (boolean|undefined)|null), boolean): undefined
override: function (this:SVGElementInstance, string, (EventListener|function ((Event|null)): (boolean|undefined)|null), boolean=): undefined
SVGElementInstance.prototype.removeEventListener = function(type, listener, opt_useCapture){};
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

appengine/third-party/blockly/core/workspace.js:321: ERROR - functions can only be declared at top level or immediately within another function in ES5 strict mode
    function doDeletion() {
    ^^^^^^^^^^^^^^^^^^^^^^^

1 error(s), 794 warning(s), 96.4% typed
Traceback (most recent call last):
  File "third-party/build/closurebuilder.py", line 293, in <module>
    main()
  File "third-party/build/closurebuilder.py", line 282, in main
    compiler_flags=options.compiler_flags)
  File "/Users/codegakko/blockly-games/third-party/build/jscompiler.py", line 160, in Compile
    raise JsCompilerError('JavaScript compilation failed.')
jscompiler.JsCompilerError: JavaScript compilation failed.

Can anyone make sense of this? Any help would be greatly appreciated. Thank you very much.

running into the same problem .. have you found the solution ??

No, sorry. I'm going to close this because it's really old.


Fix clean up resource workflow; fix XVR Flink

The test_data table got accidentally deleted when manually clean up test tables, because https://github.com/apache/beam/actions/workflows/beam_CancelStaleDataflowJobs.yml?page=2 shows there were tables cannot be cleaned by the cron cleaner job
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Clean up gcp resources: https://github.com/apache/beam/actions/runs/6826209994/job/18565628607
XVR Flink: https://github.com/apache/beam/actions/runs/6826215764/job/18565648261
both running.

I am thinking about having a dedicate service account to execute clean up jobs. Currently it would fail when the temp BigQuery/spanner dataset are created by other service account so our GHA service account does not have permission to delete them
Or, if the migration is done there should no longer be this case happening
R: @volatilemolotov

I am thinking about having a dedicate service account to execute clean up jobs. Currently it would fail when the temp BigQuery/spanner dataset are created by other service account so our GHA service account does not have permission to delete them
Or, if the migration is done there should no longer be this case happening

Not sure, the account used is either one that is specified within the job using auth step or the one used by GKE (beam-actions-wheel, this will probably change in the future).

tests finished. XVR flink passed on highmem, merging for now


Fix compilation on 32-bits arch

This is a fix for the issues we are facing on Debian and Ubuntu, where genwqe fails to build on 32-bits architectures.

We should also take the travis fixes I did to test that this stuff really works.


Memory leak in Pixi v5 ?

Hi,
I think I'm facing a memory leak in Pixi v5.
I have a code which was working just fine on some mid-end Android tablets in Pixi v4, but in v5 I get GL_OUT_OF_MEMORY errors.
The code that triggers the error uses a Rendertexture on which I draw sprites ; it's basically an avatar customization script, where I draw the base character, then draw the outfits on top of it.
I explicitely destroy the temporary textures I use, and checked that the number of textures in renderer.texture.managedTextures doesn't grow.
but I feel that, even if the textures are destroyed, they keep using memory leading to an out of memory error.
Note : I had the same behavior on Pixiv4 when I was not destroying the textures, but after adding code to destroy them, everything worked perfectly.
Could you please give me hints on how to debug this ? for example with a tool/code that allows me to check if destroyed textures are actually removed from gl context ? or which texture is leaking ?
Many thanks

dev tool will allow to check your reference ,objet in memory and find your issue
it allow to see what stuff retain object.
example here, the GC will can't remove this object ref because it retain by 3 other ref.

if is not a web app, you will need found a tool that's allow easily emulate the apk for debug from your pc to your tablet.

I fixed stencil buffer leaks in v5 before, they were fixed. I believe that you found another memory leak, I can look at the code again, make a pass over everything, but im not sure that i'll find it. If you reproduce it and make smaller example, then it'll be easier for me.

Thank you @djmisterjon  for the hints, my game is both playable on browser and tablets, but the issue is only noticable on mid-end tablets (I guess because of limited Graphics memory), I'm able to debug the application remotely and I'm aware of memory allocations, but I think that what you pointed here is the main memory not the GPU one : The Texture instances are JS Objects I guess and not gl.texImage2D instances .  but you're right I can start here and check what's going on.
@ivanpopelyshev yes I read some older issues about memory leaks and saw that they were fixed, I'll try to reproduce mine with a simpler example.
what's pretty sure is that the issue is somehow related to RenderTexture instances . when I instantiate many (and destroy them) .... at a certain point I get the GL_OUT_OF_MEMORY error.

I managed to fix my issue by writing the code differently.
I was previously creating a renderTexture for each new player skin, and destroy the old one ==> this causes the leak.
in my new implementation, I clear the renderTexture and reuse it ==> no leak.
so this solves my problem, but the memory leak is actually present, seems that some data is not released when we destroy a renderTexture.
I'll close this issue, and reopen another when I manage to write a simple code that reproduce the issue.
I think it's a very specific case since I'm playing with textures and basetextures in my code.


[Testerina] - Service ports does not gets down after test finishes

Description:

I have multiple tests (unit and integration) in a project, with multiple modules. These modules use separate ports for their services, and unit test are running fine with it. But when it comes to the integration test, the test fails due to address already in use error. (I do not have any other services using this address:port)
When I change the port number in the integration test or If I run the integration test alone, it does not throw this error. Hence this should be a bug where the service port is not closed after the test finishes.

Steps to reproduce:

Try two service tests using the same ports.
Used the BBG Parallel Service Orchestration

Affected Versions:

Ballerina 0.999.0 RC1

OS, DB, other environment details and versions:

OS: Mac OS

Suggested Labels (optional):

type/bug, component/testerina

@hasithaa
It seems this is not a bug, nevertheless, this is an improvement. This works as the Testerina and Ballerina is finalized.
Ballerina finalized way now: When run "ballerina run" in project level, it starts up all the services defined in each of the module. User has to manually kill or stop each modules' services.
Testerina finalized way now: Testerina does not involve in starting up or stopping down any services from any module. It uses Ballerina internally to do so. Thus, to run module's tests, it uses already started up service from the same module. When running integration test in project level with mock service to mock 1 of the above service with the same port number, it will say the ports is already in use.
This is an other place where the tester wants services to start up and stop down manually as the tester wants.

Fix with 1.0.0-alpha3 the services will shutdown after the tests.


Update .travis.yml and README.md

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@76c3703). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #3   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         2
  Lines             ?        46
  Branches          ?         0
==========================================
  Hits              ?        46
  Misses            ?         0
  Partials          ?         0

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 76c3703...613aa2f. Read the comment docs.


how to run this zipkin example

can some one please help me how to run the example which was given

Hi @byeswanth,
I'm not sure to understand which example you are referring to. If you're talking about an example with zipkin4net, you can find a step by step instruction manual here

@byeswanth Did it answer your question ?

thank you very much @fedj for your early reply . can you tell me how to pass the span id and trace id along with the http request .

You can have a look at https://github.com/criteo/zipkin4net#b3-headers-propagation
ZipkinHttpInjector allows you to inject a trace to a carrier (http headers basically) while the ZipkingHttpTraceExtractor allows you to extract the trace from headers.


No negative nthroot's

Hi,
I Use DDMathParser in my App but currently there is a issue and the result is not correct.
When I write:
NSNumber *number = [@"nthroot(-27,3)" numberByEvaluatingString];
NSLog(@"%@", number);

Is number "nan". Why? The third root from "-27" is possible and is "-3". What can I do that it works?
Best regards
Nils

This is fixed on the 2.0 branch, which will be merged in to master in the coming weeks.


Performance

Thanks for sharing the code for this utility. I'm concerned about performance and how it compares to the built in coroutine so it would probably help if some benchmarks were published on it.

Good point, I'm going to work on it if I have some time (not recently).
But on the other hand, I don't think coroutine is a good choice if performance is critical since new object is created for every yield instruction.


Add Svelte 5 Support

Fixes: #22
Modifying script loading to accommodate the upcoming release of Svelte 5. The on:load event for scripts placed inside <svelte:head> does not fire in Svelte 5 as a result of this bug:
https://github.com/sveltejs/svelte/issues/8301
Instead of loading the Cloudfare Turnstile script in <svelte:head>, load the script dynamically during mount. This is functionally equivalent to using <svelte:head> but accommodates an operational load event handler. If Svelte 5 resolves Issue 8301, this is not needed.

This pull request can be reviewed on

Please merge this, thanks :)

Thanks! Sorry for the delay :sweat_smile:


Unable to succeed at "Storing Values with the Assignment Operator"

Challenge Storing Values with the Assignment Operator has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Write the code I've written below and attempt to run the test.
My code:

// Setup
var a;
var b = 2;

// Only change code below this line
var a = 7;
var b = var a;

The code you have mentioned has got a syntax error and hence no tests would be run.
I think the code stub has intentionally kept the syntax error, so that students can resolve it, before running any tests.
If you change your code to following, then the tests would pass.
// Setup
var a;
var b = 2;

// Only change code below this line
var a = 7;
var b = a;

Please use the Help chat room for getting challenge related help. Happy Coding!

I have also run into the issue described above even without the syntax error.
`// Setup
var a;
var b = 2;
// Only change code below this line
b += 5;
a = b;`

here is the answer
// Setup
var a;
var b = 2;
// Only change code below this line
var b = 7;
var a = 7;
b = a;

@aj-willi
Please do not post your solution on here. You could help people at FreeCodeCamp Chat Room or Forum. GitHub Issues are for reporting bugs on the website only.
Happy Coding!

First pass:
a = 7; b = 7;
// ^^^^^ Read.

// Setup
var a;
var b = 2;
// Only change code below this line
var a = 7;
var b = a;

i had problem with this and I put
// Setup
var a;
var b = 2;
// Only change code below this line
var a = 7;
var b = a;


[Question]: Backend considerations

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
For a production ready RAG application, would there be a noticeable difference in performance if I were to use an S3 bucket to store a knowledge graph and vector index instead of a combination of managed solutions such as Neo4j and Pinecone? I'm trying to create something that's fast and can manage ~40GB of data. Are there other considerations here?

@dosu-bot thank you.


[collector] add automountServiceAccountToken param for sa

Fixes #1111

New contributor here.
Just a quick question: Should I bump the chart version now or after the PR is approved?

Hey @povilasv I'm sorry for the misunderstanding. I think now it's fixed


This integration seems no longer supported

Looking at the issues posted over many months none seem to have been replied to.
Does anyone now any other possible support routes please ?

This integration is still supported, but last months I had no time to work on this.


run function on button click

Hello,
How can I run function on button click,
and on Form page how to catch the data that user entered on variables and print it

Functions must be registered with the JsonWidgetRegistry and are referenced by surrounding the text with ## on both sides.
You can see an example of this in action inside of the https://github.com/peiffer-innovations/json_dynamic_widget/blob/main/example/assets/pages/conditional.json file.  In that example, it will change the value displayed based on the button that has been clicked.
Additionally the https://github.com/peiffer-innovations/json_dynamic_widget/blob/main/example/assets/pages/form.json example gives an example of a form with validation.
I'd be happy to post an example closer to what you're looking for if you can provide me more details of what the screen you'd like to see looks like as well as an example of the output you'd like to see from it.

Hello jpeiffer,
Thanks for helping me :)
I want to make post request to send data to server after submitting form

Assuming you stick to the built in widgets, here's a high level...

Give an ID to each input element
Whenever the input value changes the JsonWidgetRegistry will get a value set on it with the ID as the key.  You can get these values using the getValue(String) function.
You likely need to register a custom function.  Let's call it "submitForm".  On the JsonWidgetRegistry.  It'll probably look something like...

var registry = JsonWidgetRegistry.instance;
registry.registerFunction('submitForm', (args, registry) {
  // get all the values then post them to the server
});

If your values are fully dynamic then you might want to give the form some name.  Then you can prefix all the ids with that name.  That may look like...

var registry = JsonWidgetRegistry.instance;
registry.registerFunction('submitForm', (args, registry) {
  var values = registry.values;
  var formValues = {};
  values.forEach((key, value) => if (key.startsWith('$myFormId_') formValues[key] = value);

  http.post(body: formValues, url: myUrl);
});

The last thing you need is to wire up the function call.  Then you will probably need some sort of a button.

{
  "type": "flat_button",
  "args": {
    "onPressed": "##submitForm()##"
  }
}

If you need to perform validation, take a look at the example app and the form.json example asset.  That provides code for performing form validation.

Please let me know if you need anything else or if you think this issue should be closed.


routine load bug

Steps to reproduce the behavior (Required)
When using routine load to synchronize Kafka data. Kafka downtime caused starrocks to fail to link normally. Need to restart before it can be normal
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

What do you mean "Kafka downtime caused starrocks to fail to link normally"? Are all services unavailable? Or is it just the routine load that doesn't work?

The link is not available through JDBC, but the viewing status and page are fine. The log always reports that the kafka link is abnormal
发自我的iPhone
------------------ Original ------------------
From: gengjun-git @.>
Date: Tue,Nov 23,2021 7:30 PM
To: StarRocks/starrocks @.>
Cc: gaigaikuaipao @.>, Author @.>
Subject: Re: [StarRocks/starrocks] routine load bug (Issue #1501)
What do you mean "Kafka downtime caused starrocks to fail to link normally"? Are all services unavailable? Or is it just the routine load that doesn't work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Thank you, we will try to reproduce the problem and fix it.


Update Readme.md

Removed onOpen event, because it´s not supported anymore.
Correct me if I´m wrong, but the onOpen() event seems to be missing. I guess the beforeopen-event is doing the job now. So the README is outdated and will confuse users, hence needs to be fixed.

Hey @hw-df
The remove of open event was a mistaken. Got back by #238
Thanks anyway!


Add Google Sign-in domain allow list

Author the user story for this feature
As an administrator, I want to make sure that only users from certain organizations can log in to the app so I can make sure that data protected.
Is your feature request related to a problem? Please describe.
It's related to data protection and access control.
Describe the solution you'd like
As a user, I can only login via Google Sign-in if my email domain is in the allow list. Allow list should be configurable via Firebase and we need to make sure that the data is protected reliably as Firebase appears to not provide domain validation out of the box, so it most likely will be a custom implementation using security rules.
Describe alternatives you've considered
Use cloud functions to generate tokens.
Additional context
All relevant security tests should be added for Firebase security rules.

I noticed 2 things:

Error message when email is not in the allowed list should be more specific:
"Your email domain is not allowed. Please contact the Site Administrator if you need to have access."
When I try to log in with not allowed email domain - it return me to the login page with a message, but when I try to log in using different user - Google Sign in window is not presented. I think user should be able to select another user with a proper email domain to use the site.


Make gifencoder a dependency in package.json

This would help greatly for offline-usage, where including a file from a CDN is not an option. Also many people who use webpack/browserify don't want to include another file if they can have everything in one javascript bundle. Alternatively create a new npm package gif-recorder and make it a (optional?) dependency.

Found out that a npm package exists for GIFEncoder, named gifencoder.

Unfortunately, the newest version of GIFEncoder found on npm seems to be incompatible with RecordRTC.

gif-recorder.js is now included in the<EMAIL_ADDRESS>NPM package.
More info here: https://www.npmjs.com/package/recordrtc#npm-package

I cannot include gif-recorder.js inside RecordRTC.js because it requires extra work (and fixes).
I can't even make it a standalone NPM package.
Following will always fail until gif-recorder.js is modified to handle AMD codes.
var GifEncoder = require('recordrtc').GifEncoder.

var GifEncoder = require('gif-recorder');

The only option (currently) is:
<script src="node_modules/recordrtc/gif-recorder.js"></script>

It works at least with webpack's require. That's enough for me, thanks so much for the fast response :)

Seems WontFix in https://www.npmjs.com/package/recordrtc.


[Mono] Dictionary conversion constructors

I was surprised to find that this works perfectly after pretty much just triplicating the constructor. I would have done this earlier if it was going to be so easy. Closes #22300
Test code:
using Godot;
using GDict = Godot.Collections.Dictionary<int, int>;
using SDict = System.Collections.Generic.Dictionary<int, int>;

public class Test : Node
{
    public override void _Ready()
    {
        GDict g = new GDict();
        g.Add(1, 2);
        g.Add(3, 4);

        g = new GDict(g); // Copy constructor
        GD.Print(g);

        SDict s = new SDict(g); // To my surprise, this works easily!
        s = new SDict(s); // System.C.G dictionaries don't print easily...
        g = new GDict(s);
        GD.Print(g); // but we know they work because this works.
    }
}

Output:
{1:2, 3:4}
{1:2, 3:4}

Also, I fit in a few nitpicking changes, like fixing the internal "Quant", and whitespace.

We already have a constructor that takes IDictionary<TKey, TValue>, isn't this enough for this to work? The only reason I can think of for adding a more specific constructor is in the case of Godot.Collections.Dictionary<TKey, TValue> , as it can be optimized to do the duplication in a single internal call (as it's just a wrapper around the native Dictionary) instead of the foreach+Add way in C#.

We already have a constructor that takes IDictionary<TKey, TValue>, isn't this enough for this to work?

At first glance I thought that too, but for some reason, it just doesn't work. Neither new GDict(g); nor new GDict(s); will compile without these constructors. The error for new GDict(g); is
cannot convert from 'Godot.Collections.Dictionary<int, int>' to 'Godot.Collections.Dictionary'

It acts like it's trying to convert to Dictionary without the <> generics even though the constructor explicitly includes them in the argument's type.

That's weird. If you don't mind, I would prefer to leave this PR waiting until I have some time to check that.

This is really weird. For some reason, the following constructors are not visible:

Godot.Collections.Dictionary -> Dictionary(IDictionary)
Godot.Collections.Dictionary<TKey, TValue> -> Dictionary(IDictionary<TKey, TValue>)

I have no idea why. All I know is those classes happen to implement the interface that is being passed to the constructor. Not sure if that could have something to do with it.

I cannot reproduce the above on Linux somehow... These constructors are visible in the editor and the it builds fine :confused:

@neikeq I'm extremely confused. I tried reverting to master one month before I opened this PR and ran a git clean and rebuilt Godot... and the bug that this PR is supposed to fix doesn't exist anymore.
The only thing that I could think of is maybe this was a Mono bug that has since been fixed? My system has updated to Mono <IP_ADDRESS>3. I don't want to downgrade Mono just to test this, but if there are noticeable bugs that only occur on previous versions, we should consider requiring a newer version of Mono, or at least do some investigating to see what causes this bug (and note it in the docs).

Forget what I said. Looks like I tested this on Windows before this fix: 4e84478f4e4176a945c0a986524e019db18541c3, so there was still this bug that prevented the new assemblies from being referenced and it was still referencing the old ones.
Can you check on latest master? You should be able to construct a Godot.Collections.Dictionary<K, V> from IDictionary<K, V>.
Regarding the constructor for duplicating the dictionary, can you implement that as a single internal call? Something like godot_icall_Dictionary_AddAll(dstDictPtr, srcDictPtr).

@neikeq I did check on latest master, just as my above comment reports everything works fine and I'm able to construct dictionaries from other dictionaries and the bug doesn't exist anymore. It's very strange indeed. But having these extra constructors present doesn't seem to hurt anything either, in case the problem is because of old Mono versions being bugged (still my best guess).
I tried to implement it as an internal call, but I was unable to figure it out. I didn't see any equivalent to KeyValuePair, and I tried just getting the keys and values as arrays, but I couldn't figure out how to add them into the new dictionary.

I don't think it was a bug. It was most likely an outdated assembly as in my case.


explain howto use it with array of images

Sorry, the sentence is not write very well. don't hesitate to suggest me modification.

Nice catch!
Fixed now. Thanks

@peernohell awesome PR. How we'll show img thumbs now?


view execute sql has ; throw exception

sql: select ',' t from a
exception:
StatementCallback; bad SQL grammar [' t from bdl_online.dim_city]; nested exception is org.postgresql.util.PSQLException: Unterminated string literal started at position 0 in SQL ' t from a. Expectead  char

https://edp963.github.io/davinci/docs/zh/1.1-deployment#31-自定义数据源

@scottsut sql分号截取有问题，会截取非结束符的分号；我重新改了问题描述：
sql: select ';' t from a
exception:
StatementCallback; bad SQL grammar [' t from bdl_online.dim_city]; nested exception is org.postgresql.util.PSQLException: Unterminated string literal started at position 0 in SQL ' t from a. Expectead  char


chore: handle failed tx execution

this PR aims to show the error thrown from contract, instead of showing the entire logs
example:
send transfer without enough balance

swap token without enough balance

this is a first iteration, i am thinking how we might improve this... i tried to do an LLM call passing the error but it might not be very efficient

IMO we should add console colors in another PR

IMO we should add console colors in another PR

added! now it look like this:


How do I use the fonts that come with my system?

Question
My scenario is that after generating a pdf on the server side, the user downloads it locally and views it using the system's Chinese fonts. like STBaoliTC-Regular
Is it possible to do that?
Description
When I try to do this, it reports an error no such file or directory, open 'STBaoliTC-Regular'
doc.font('STBaoliTC-Regular')

Code sample

const doc = new PDFDocument({
  size: [595, 842],
})
doc.pipe(fs.createWriteStream('output.pdf'))
doc.font('STBaoliTC-Regular')
doc.text('你好，世界！')
doc.end()

Your environment

pdfkit version: 0.15.0
Node version: v20.12.2
Browser version (if applicable):
Operating System: macOs 14.1 (23B2073)

Is it possible to do that?

No. You have to embed the font at server side using doc.registerFont


DRAFT: Add mypy

@schmidtfa Some of the functions are not typed yet, so I disabled that check. Otherwise this one is ready now...

sounds good! Then I am merging and adding annotations afterwards :) Thx!

You can check for unannotated function by setting
disallow_untyped_defs = true

in the pyproject.toml
Also see #18


MQTT Updates

How often should data published via mqtt be updated, or is data only updated when an actual change takes place? Asking as I see some data that gets updated every few seconds, and then other points that seem to get 2 or 3 updates, and then never update again.
A good example of this is cooling set point. It gets updated when started, and then never updates again.

Any particular value is only published to MQTT when it changes (and at startup, to set the initial state). All messages are sent retained, so even if a subscriber wasn't around when it was originally sent, they'll still get the most recent value.

Well right after posting I was able to resolve this. For anyone else who hits this under the query options you can choose a fill option and select previous for it to just backfill the value


build: Update Vulkan-Headers and -Tools to 1.3.212

CI Vulkan-ExtensionLayer build queued with queue ID 5553.

CI Vulkan-ExtensionLayer build # 148 running.

CI Vulkan-ExtensionLayer build # 148 passed.


Label - Design System

Prerequisites
⚠ This ticket can only be start once the ticket 451 is completed

Label element will have the .dcx-label class name

Label element will have the .dcx-label--[state] class name

Overview
Possible states:

Default
Error
Filled

Variants:
NONE
Keeping in mind we have the elements:

Label (element itself) -> formcontrol_label

Note that the tokens already exists. They were created for FormSelect. We can simply reuse them here.
Storybook
Create the pages for:

Playground
Default
AccessibleTheme
DarkTheme
MaterialTheme

On each MDX page make examples for:

Default label with a related Input.
Error label with a related error input.
Filled input with label

Token definition
Considerations:

Take as reference the FormSelect component. Take into consideration FormSelect will be refactored to follow the token names as described bellow in "possible tokens".
Add the tokens to src/design-system/tokens.json
Define all styles in src/design-system/label.css
Add import to the new CSS file in src/design-system/index.css

Possible tokens:

color-text-formcontrol_label
font-family-formcontrol_label
color-text-formcontrol_label-error
font-weight-formcontrol_label
font-size-formcontrol_label
etc.

Follow the naming pattern:
[token_category]-[property]-[element]-[variant]-[state]

F.e. for font-size-formcontrol_label-error we have:

category: font
property: size
element: formcontrol_label
variant: default -> not necessary to show in name
state: error

Please follow these steps to create your branch:
git checkout release/0.8
git pull
git checkout -b 'feature/ds-label'

closed by https://github.com/Capgemini/dcx-react-library/pull/483

closed by https://github.com/Capgemini/dcx-react-library/pull/515


use cache in AuthnTableBasedService

What this PR does:
Introduces cache in the AuthnTableBasedService so that token must not be validated against the data store each time.
Which issue(s) this PR fixes:
Fixes performance for all the calls that end-up on this path.

I made updates to the PR, fixing most of the stuff as @tomekl007 is on holiday:

Fixed comments
Fixed types
Update TTL in async way
Fixed tests

I'm wondering if this is something we want to pursue? The REST/DocDB cache other things along with the authentication. In gRPC, I'm using a similar approach and caching the whole Connection object (which is also expensive) instead of just the AuthenticationSubject https://github.com/stargate/stargate/commit/6818f6a51a1432fb2079730c73b60db6d9b993aa

I'm wondering if this is something we want to pursue? The REST/DocDB cache other things along with the authentication token. In gRPC, I'm using a similar approach and caching the whole Connection object (which is also expensive) instead of just the AuthenticationSubject 6818f6a

I think from this module perspective is good that we have caching here.. It's even better that other modules cache more high-level things (like Connection or DocumentDB).. It's win win for me..

I am up for shipping this 👍

I also think that we may benefit from caching at this layer. Firstly, all the APIs that need to validate the token, will benefit from it. Secondly, assuming that someone from the OS community (e.g. when adding a new module) will want to integrate with our Auth, they will also benefit from this optimization. @mpenick @dougwettlaufer wdyt?


i2c: Asynchronous Transfers

Provides i2c_transfer_async as an optional API. Adds async helper functions and data types to enable async with semaphore/mutex/k_work/k_poll_signal/etc notification of completion.
Notably i2c_transfer_async should not block so it can be initiated from an ISR if so desired as done in the frdm_k64f example. If it would block, returning -EWOULDBLOCK is expected.
async.c adds 8 bytes of overhead when I look at rom_report for the frdm_k64f i2c example that uses async_semaphore_fn and struct async_sem

split off the async helpers into #45562 and moved them to lib/os like sys_notify
Will revisit this once people look at it and are happy with it.

In place of a common set of callback helpers, provide a direct k_poll_signal wrapper alongside the callback version of i2c_transfer, so adds i2c_transfer_cb (callback) and i2c_transfer_signal (k_poll_signal, wraps the callback API).

I did spend some time trying to make the k_poll_signal i2c_transfer_signal a user space friendly syscall with some success. The downsides came to needing to alloc/free things when user space was being used to keep the life of a copy of the i2c_msg array around long enough.
It's certainly something that can be addressed in a future PR.


Build docs are out of date

https://github.com/Metaswitch/calico-docker/blob/master/docs/Building.md
They should be using the Makefile

@robbrockbank / @TrimBiggs  didn't one of you just fix this?

Closed with PR #315


Why Would you remove Paperclip?

At one point Feather had a Paperclip icon. Not sure why it would've been removed 😞

Oh, I copied over a lot of the old icons into the new set but I must have missed the paper clip icon. I'll add it back soon 👍

Thanks!


Encoding failed

Hello,
I have a problem with the encode. I was coding on my windows computer and every things was fine. Since I put my laravel website on internet, ffmpeg can't encode my videos.
Here is the errors :
- ffmpeg failed to execute command './ffmpeg/ffmpeg' '-y' '-i' '/tmp/phpSANJ06' '-async' '1' '-metadata:s:v:0' 'start_time=0' '-f' 'webm' '-vcodec' 'libvpx' '-acodec' 'libvorbis' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-vf' '[in]scale=256:144 [out]' '/home/slatsh/public_html/storage/app/files/lR5Wu12LSeE/videos/lR5Wu12LSeE_144.webm' (0)
And
The process has been signaled with signal "9". (0)
Do you have any idea why my website, when in my host don't want to encode ?
Regards

Could you manually execute './ffmpeg/ffmpeg' '-y' '-i' '/tmp/phpSANJ06' '-async' '1' '-metadata:s:v:0' 'start_time=0' '-f' 'webm' '-vcodec' 'libvpx' '-acodec' 'libvorbis' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-vf' '[in]scale=256:144 [out]' '/home/slatsh/public_html/storage/app/files/lR5Wu12LSeE/videos/lR5Wu12LSeE_144.webm' and append the full output?


*: check memory locks for replica read only on the leader

What is changed and how it works?

Issue Number: Close #12109
What's Changed:

Consider a reader sends read index to the leader it supposed to be, but when
the leader receives the read index message, it has stepped down to a
follower. Without this commit, a peer will check the locks and re-fill the
read index context with the result no matter what role it is. So, when the
read index request is redirected to the new leader again, it no longer carries
the context of lock checking.

This commmit changes to only do the check when the peer is a leader. Then, the
read index request will remain unchanged before being redirected to the leader.

If the lease of the leader expires, it is still safe to check on the
uncertained leader. If the heartbeat check passes and no new leader is elected,
then the check works fine. If there is a new leader, when the old leader
becomes a follower, it will clear its pending read index. Then, the reader has
to resend the read index again to the correct leader. So, generally it is safe
as long as we guarantee the check only happens on the leader.

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Integration test

Release note
Fix potential linearizability violation in replica reads.

/merge

/test

Just find a test is unstable... Let me see...
https://ci.pingcap.net/blue/rest/organizations/jenkins/pipelines/tikv_ghpr_test/runs/17277/nodes/103/steps/179/log/?start=0


Fix TypeError when using babel-node or ts-node on node.js 7+

Error.captureStackTrace() call in Step consturctor causes
Step.prototype.toString() to be called when step.args is not
initialized yet. This happens on node.js 7+ when
source-map-support is installed.
Fixes #576

Thanks!

Any idea when a new package will get released with this fix?


Display Sleep = keyboard manager breaks

Microsoft PowerToys version
0.81.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
Whenever my display goes to sleep on my desktop PC and I wake it up the keyboard manager breaks and all the keys are randomly mapped to different commands, I have to end the task and reopen for it to work again. It's becoming very frustrating.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
I'm currently using Windows 11 23H2

I've tried my best to repo this but have failed.
Steps taken (Windows 11, admin and non-admin):

Set up a Keyboard shortcut (Alt F3 -> R) and a Keyboard key (T-> Y).
Let display switch off; switch it back on.
Test that the shortcut / key mappings work and also that they look correct on the UI.

To help us better understand the issue, could you:

Provide us with as much detail as possible on the problem? For example, do you actually "see" these re-mappings on the Keyboard Manager UI? Or is it just that mappings have stopped working? How have they been re-mapped - have they been swapped with each other?
Provide us with a bug report? (see below)

/bugreport

I've tried my best to repo this but have failed.
Steps taken (Windows 11, admin and non-admin):

Set up a Keyboard shortcut (Alt F3 -> R) and a Keyboard key (T-> Y).
Let display switch off; switch it back on.
Test that the shortcut / key mappings work and also that they look correct on the UI.

To help us better understand the issue, could you:

Provide us with as much detail as possible on the problem? For example, do you actually "see" these re-mappings on the Keyboard Manager UI? Or is it just that mappings have stopped working? How have they been re-mapped - have they been swapped with each other?
Provide us with a bug report? (see below)

I have the same issue.
It work normally after restart powertoys.
And th mapping look correct on the UI.
But it breaks after the pc sleep.

/dup https://github.com/microsoft/PowerToys/issues/17344


add RuneSummary for Chinese and Japanese summary Fix #1377

Now can use {{ .RuneSummary }} for Chinese and Japanese , or other languages. Fix #1377

Can you rebase this against master and squash the two commits into one?

Done. .WordCount and .Summary (70 words) works good for Chinese now.

Looks good, but could you:

Rebase against master so there is only one commit in it.
Run go fmt on your code
Add "Fixes #issueid" at the end or your commit message.

OK, I will do it tomorrow.

Sorry for dragging this one out, but:

I would love to have as few methods in this area as possible.
When I thought about the RuneCount vs. WordCount problem earlier, I found them incompatible -- so I added another method. *I would love to be proven wrong here so we can remove the RuneCount method.
As to Summary. I'm pretty sure that we can create one method that fits both Western languages and Japanese and Chinese. Having two methods is not optimal for theme authors etc.

/cc @RickCogley

Totally agree. But the reason why I add another RuneSummary method as RuneCount is that:

Count words by other language takes a litter more performance impact. With two methods, Western languages users can keep the same performance by the origin method.
Summary with fixed words count or make a whole sentence is not as much important as I think. Particular in Chinese language. The important thing is how long the characters takes, how much space it takes in my website. So Summary split the content by rune works for me.

But, I toally agree with you that keep as few method as possible. And I am looking forward to your implement like WordCount, ReadingTime and Summary that fits both Western languages and Japanese and Chinese.

Let me think a little about this.

@bep What do you think about this one?

@spf13 I think:

Having double set of these funcs is bad for theme interop
Implementing something like isCJKLanguage() will probably kill performance.

So a configuration flag, maybe? Default to traditional word-counting, but use runes if this flag is set?
@tatsushid any thoughts?

I think default configuration which is over-writable by frontmatter is reasonable. If someone want to make multi-language site, it should be benefit that someone don't need to modify a template, just changing the content metadata.
In Hugo, we can expect UTF-8 input so detecting including CJK is not so difficult, just checking a specific character code point range is included and less space characters rate of an article but still have the potential of mis-detecting therefore configuration value should be needed if we implement auto-detecting.

OK, so here is how we are going to do this:

Introduce a global config flag: isCJKLanguage, default false.
For .Summary: If isCJKLanguage is true, use the runes as basis for truncation, else keep as today.
For WordCount:  If isCJKLanguage is true, use the runes as basis for calculation, else keep as today.
Unexport RuneCount

The caching
@coderzh is this something you could do?
/cc @RickCogley

@bep OK, I can do it.

Is there a friendlier name than that or is CJKLanguage well know enough?
On Tue, Oct 6, 2015 at 6:39 AM coderzh<EMAIL_ADDRESS>wrote:

@bep https://github.com/bep OK, I can do it.
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/pull/1399#issuecomment-145818475.

@spf13 it is a unfriendly term, but much better than isChineseOrJapaneseOrKoreanLanguage.
It is a new term for me (I learn a lot from Hugo), but a common enough term in  internationalization:
https://en.wikipedia.org/wiki/CJK_characters

Done:

Auto detect isCJKLanguage by regex
add isCJKLanguage frontmatter to force specify whether is CJKLanguage or not
For .Summary: If isCJKLanguage is true, use the runes as basis for truncation, else keep as today.
For WordCount: If isCJKLanguage is true, use the runes as basis for calculation, else keep as today.
Unexport RuneCount

I think frontmatter is better than global config about isCJKLanguage, because someone may write posts both in English and CJK Languague. And auto detecting is working most of time, event you write main English with a litter Chinese in one article.

@coderzh Two comments:

By global config flag, I meant global - as in config.toml / Viper. It may make sense to add an override to Page later, but we have to rethink that one -- I'm not a fan of adding attributes for every new flag.
Get rid of the Regexp check.

My two yen: CJKLanguage is well known to those who deal with those
languages.
On Oct 7, 2015, at 00:35, Steve Francia<EMAIL_ADDRESS>wrote:
Is there a friendlier name than that or is CJKLanguage well know enough?
On Tue, Oct 6, 2015 at 6:39 AM coderzh<EMAIL_ADDRESS>wrote:

@bep https://github.com/bep OK, I can do it.
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/pull/1399#issuecomment-145818475.

—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/pull/1399#issuecomment-145903027.

@bep agree with most of your opinions. Well, there are two points need to confirm:

Global config flag(config.yml) or FrontMatter or Both, or nether? I don't like adding any more config flag too. I have considered about it, seems that both global config and FrontMatter are helpful(FrontMatter can overwrite the global config).
Is auto-detecting needed? Or is there a better way to detect CJKLanguage than regex? For performance thinking, should remove auto-detecting, and then check CJKLanguage all by config flag?

I think it should be...

a global config saying "has CJKLanguage"

If this flag is enabled it would auto-detect CJK languages in the content
automatically.

A frontmatter setting saying explicitly to treat this content as CJKLang.

Thoughts?
--
Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13
On Tue, Oct 6, 2015 at 10:27 PM, coderzh<EMAIL_ADDRESS>wrote:

@bep https://github.com/bep agree with most of your opinions. Well,
there are two points need to confirm:

Global config flag(config.yml) or FrontMatter or Both, or nether? I
don't like adding any more config flag too. I have considered about it,
seems that both global config and FrontMatter are helpful(FrontMatter can
overwrite the global config).
Is auto-detecting needed? Or is there a better way to detect
CJKLanguage than regex? For performance thinking, should remove
auto-detecting, and then check CJKLanguage all by config flag?

—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/pull/1399#issuecomment-146060888.

The suggestion from @spf13 works. My main concern is that for western-language sites it should behave as today. I don't want Hugo to scan every page for CJK characters that isn't there. (I have spent enough time with premature optimization to want to see that go to waste :-)).

Agree, I think it's a better solution than the others. But after I finished the code, I have done some performance testing, the result was very interesting.
When the CJKLanguage flag turned on in global settings(means turn on auto-detecting CJKLang), the performance turned out to be a little better! (My Chinese blog)
Here are the performance testing details:
Test 276 posts(my Chinese blog) (ms)

CJKLanguage Detect On
Origin Hugo

433
477

436
470

434
457

455
464

453
462

Test 2751 posts (ms)

CJKLanguage Detect On
Origin Hugo

3334
3528

3353
3556

3426
3493

3413
3441

3378
3457

Then, I cloned spf13's blog (English Blog) and do the test again:
git clone https://github.com/spf13/spf13.com
Test 149 posts(spf13.com) (ms)

CJKLanguage Detect On
Origin Hugo

1274
1312

1292
1301

1338
1230

1286
1264

1348
1288

(All tests on my Windows PC)
The result shows that, CJKLanguage auto-detecting nearly took no performance impact, and even better performance in Chinese posts.(Count and Truncation by runes maybe even quicker)
It will be easier to use with no CJKLanguage config flag, all is automation, any thoughts?

@coderzh the thing is: the potential penalty will be for non-CJK sites -- and I guess only noticeable for large sites / big content. But that is a common use case for Hugo (spf13's blog is small). If you don't see a penalty hit when comparing if flag set to scan all the bytes in the document for cjk characters, then you are testing with wrong data. Try Go´s benchmark tool (there are examples in Hugo) for before/after tests.

@bep I pushed the code followed spf13's suggestion.
I copied spf13's posts ten times,  nearly 2241 post files, and run with hugo benchmark  A/B testing again. The performance impact is also little. Maybe you can review my code, pull and then test again.

Very good. Merged in 8233348
A line or two for the documentation would be welcomed.


fix: [#528] Handle capital greek letters in PubMed authors to pass author field validation

fixes #528
Introduces a translator that replaces visually similar or identical characters from the set of greek capital letters) with their counterparts from the regular latin characters.

https://github.com/spring-projects/spring-boot/issues/36029


@session with tags=... doesn't typecheck

The session decorator now takes an optional tags argument. Please update the types to reflect this.

Unless there are some pitfalls I am unaware of, this should just amount to adding "tags: Sequence[str] = ...," to 'sessions.pyi'.


Introduce DiagnosticSourceListener

Addresses #89

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

CC: @lmolkova


Clarify why posts deleted by Data Retention job are visible in the webapp

Summary
Posts that got deleted by the Data Retention job are still shown in the UI, until the user refreshes the webapp. The user might also need to clear their browser cache in order to see the posts.
Ticket Link
https://mattermost.zendesk.com/agent/tickets/42430

Unrelated to my PR: The docs on this page talk about a "deletion job". I suppose they mean "data retention job", right?

@cwarnermm what do you think about my question above? https://github.com/mattermost/docs/pull/6823#issuecomment-1847031857


Foursquare Component

Description: This adds a Foursquare component which accepts push notifications from Foursquare and provides a user checkin service.
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):
foursquare:
  access_token: "accesstoken"
  push_secret: "pushsecret"

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

@balloob Fixed!

Looks good! :dolphin: can merge when coveragerc fixed

@balloob All good


allow multi-valued parameters to @Find & @Delete methods

interpreted as defining an "in" condition
allows a methods of BasicRepository to be redefined in terms of @Find & @Delete

This change is completely obvious, now that it occurs to me.
And it leaves existsById() as the only method we can't currently define in terms of annotations.

(Rebased to pick up Otavio's changes .)

After implementing this I decided that Iterable is just so painful to work with that we should migrate to either List or Collection as the type we support here and also in lifecycle methods. I understand the desire to be as general as possible, but Iterable is just useless: you can't stream it, you can't easily convert it to an array or list, and there are almost no useful types which implement Iterable and not Collection. There's a good reason people rarely use it in APIs.
Therefore: 8b26ecb

@njr-11 Read the way I've specified this more carefully. There's no ambiguity.
If Thing has a field is of type String[], then this:
@Find Thing find(String[] field)

is an equals-style condition, and this:
@Find Thing find(String[][] field)

is an in-style condition.
We know the type of the entity field.

I'll admit that I don't see use ever having an equals capability for collections

Just to clarify, what is allowed in JPA is an AttributeConverter for a persistent field of type List<String> or String[] or whatever.  So I can totally have a field of "collection" type in my entity. Hell, Hibernate even allows this as a default mapping for native SQL array types.
So yes, we do need to cover this case. But it's covered :-)

Rebased on main to pick up merged changes the repository interfaces.

This proposal would have me doing something like,
    @Find
    List<Product> sized(@By(_Product.SIZE) List<Size> sizes);

versus what we might consider adding in the future, which could be something like,
    @Find
    List<Product> sized(@By(_Product.SIZE) @In List<Size> sizes);

The meaning of the latter is clearer.  I might naturally read the former as looking for a product that is available in all of the sizes listed.  The latter makes it clear that the product need only be available in any of the sizes in the list to match.
Either way, we will eventually have a solution that we could put on BasicRepository.find/deleteByIdIn, so I would be okay with adding those methods method, and we can add annotations to it in the future. I do not want to add the multi-valued parameters in 1.0 because I expect we will regret it later.

The meaning of the latter is clearer.

I mean, to me it's just unnecessarily more verbose. The meaning is already perfectly clear from the type of the parameter, and, in your code example, by the name of the parameter. I really don't see where the confusion could possibly arise.
What I mean is, when I see this method signature:
@Find
List<Product> sized(@By(_Product.SIZE) List<Size> sizes);

I know exactly what it does and so do you. And so does everyone else, even Java developers who don't know Jakarta Data. Adding @In to the signature here is just adding noise.
But, OK, let's say we aren't going to do this now. That's in principle completely fine by me.
But then I insist we need to remove the methods of BasicRepository which depend on this functionality, which are:
void deleteByIdIn(Iterable<K> ids);

Stream<T> findByIdIn(Iterable<K> ids);

Now:

the loss of deleteByIdIn() doesn't seem to be any great loss at all—I struggle to see this how this is generally useful (except perhaps in tests) [FTR I would also happily remove existsById() which similarly only looks useful for tests],
but findByIdIn() looks really quite useful to me, and enables optimized fetching, so it would be a at least a bit annoying to see it go.

And the issue is that, as you showed the other day, we can't really come back and add these operations later because that would be a breaking change.

now relying on Query by Method Name

No, that doesn't work. Because deleteByIdIn() and existsById() are no longer legal Query by Method Name methods. As we agreed on the last call (you yourself told me explicitly to make this change), we removed the special-casing of Id. (And I think this was the right thing to do, and I don't think we should roll back that change.)

(There's a third option, of course: we could solve the problem by going ahead and adding an @In annotation, against my best judgment.)

No, that doesn't work. Because deleteByIdIn() and existsById() are no longer legal Query by Method Name methods. As we agreed on the last call (you yourself told me explicitly to make this change), we removed the special-casing of Id. (And I think this was the right thing to do, and I don't think we should roll back that change.)

Yes, good point. Somehow I managed to forget that we had removed the Id alias when writing that.  So temporarily relying on Query by Method Name is not an option.


Need instructions for android integration

I am integrating this code in android. I need to call SSE2 instructions in my c++ code on arm cpu platform. What else files do I need apart from the below listed files:
a) hedley.h
b) mmx.h
c) simde-arch.h
d) simde-common.h
e) sse.h
f) sse2.h

If all you need is SSE2 I believe that should be sufficient.  In the future I may make more of an effort to use the SIMD.js stuff as a common layer, but that's pretty far off.
That said, I'd suggest either just copying the entire tree into a subdirectory of your project.  Better yet, if you're using git you can use a submodule or subtree, or if you're using svn you can use external items (GitHub supports subversion clients).  This makes it much easier to track changes in SIMDe, such as bug fixes, optimizations, and support for new implementations (e.g., NEON/POWER/MSA/etc. implementations of SSE2 functions).

I copies the entire simd directory. Now, unlike the other SSE2NEON library which mentioned to replace
//#include <emmintrin.h>
//#include <pmmintrin.h>
with the SSE2NEON.h file.
Which header file should I include now for this library?

For SSE2, you just need to include simde/x86/sse2.h; it will include its dependencies.
See https://github.com/nemequ/simde#usage for more information.


Support DataFrames and Timestamps with Requires package

This allows these conversion methods without requiring the other packages with Quandl.

Nice! Are you planning to use @lazymod and load modules only if necessary?

@require from the Requires package