Run with Local LLM Models

We tried many local models like LLAMA, VICUNA, OPENASSIST, GPT4ALL in their 7b versions. None seem to give results like the CHATGPT API.
we would like to try to test new models, which can be loaded in a maximum of 16gm of RAM, to allow accessibility to anyone without discrimination.
Any advice for LLM models with fine tuning for high performance instructions?

Does this project support third-party OpenAI interfaces (such as poe.com)? If it does, are there any other requirements for these interfaces, such as message format, context memory, and number of conversations?

We tried many local models like LLAMA, VICUNA, OPENASSIST, GPT4ALL in their 7b versions. None seem to give results like the CHATGPT API.
we would like to try to test new models, which can be loaded in a maximum of 16gm of RAM, to allow accessibility to anyone without discrimination.
Any advice for LLM models with fine tuning for high performance instructions?

https://huggingface.co/CRD716/ggml-vicuna-1.1-quantized/blob/main/ggml-vicuna-7b-1.1-q4_0.bin

Have you tested mosaicml/mpt-7b-chat, or mosaicml/mpt-7b-instruct? Seems promising

What do you think about : Cerebras
https://huggingface.co/cerebras

Any other LLM model support? Trying to use new mega13b

currently, Starling is the best 7B model to date:
https://huggingface.co/bartowski/Starling-LM-7B-beta-GGUF

Any progress on this? I'll be home shortly and will look into this again but have been using other tools as of late... I lost track of where autogpt was going with all the forge stuff... A year ago...

I'm the same, I have been too busy so I stopped keeping up. but recently, I found an AI agent called evo.ninja it has workspace and great interface and currently it's ranked as the top autoGPT agent. unfortunately, it requires OpenAI API.
so I looked into alternatives and this is how I came here


PI-718 added subdomain check

@jwineman Don't merge since the requirements are not given yet the PR could change

How come you didn't implement this as a hook around the GET /zones call?
https://github.com/cloudflare/CloudFlare-Wordpress/blob/master/src/WordPress/ClientActions.php#L38
What you could do is loop through the results of GET /zones in returnWordPressDomain(), if the root domain is a substring of the domain in CF\WordPress\WordPressClientAPI::getDomainList() then you know you're dealing with a subdomain and you can return that domain.
Then on cloudflare/cloudflare-frontend you can just check the domain returned by the backend (which will always be a root domain now) against the current URL if have a react component that displays conditionally if they're not equal.

How come you didn't implement this as a hook around the GET /zones call?
https://github.com/cloudflare/CloudFlare-Wordpress/blob/master/src/WordPress/ClientActions.php#L38

That wouldn't work. We've hooks which rely on WordPressAPI::getDomainList. Since hooks can be called anytime we needed to have a global domain checker which checks if the domain is subdomain even before a single request is made.
For example purgeCache functions works in a hook which is activated when you change the WordPress template and it requires WordPressAPI::getDomainList function. This is a WordPress issue.

What you could do is loop through the results of GET /zones in returnWordPressDomain(), if the root domain is a substring of the domain in CF\WordPress\WordPressClientAPI::getDomainList() then you know you're dealing with a subdomain and you can return that domain.
Then on cloudflare/cloudflare-frontend you can just check the domain returned by the backend (which will always be a root domain now) against the current URL if have a react component that displays conditionally if they're not equal.

On the other hand we can do the solution you suggested and have another logic in the frontend to handle subdomains info messages which we can have in all integrations.

I'll leave it up to you to decide.  I had envisioned it as separate logic on the frontend but either solution is fine.


Zookeeper python client cannot work with go client when using lock

We are using zookeeper Go client and Python client in different pod in kubernetes but using the same zookeeper infrastructure. Two pods are trying to use a lock with the same path. But the znode created by Python and Go have very different prefix and thus I think zookeeper somehow failed to figure out which is smaller so the lock was not implemented correctly.
As the result, they cannot lock each other and work properly.
_c_38553bd6d1d57f710ae70ddcc3d24715-lock-0000000000 # Go lock
da5719988c244fc793f49ec3aa29b566__lock__0000000003 # Python lock

Is there anything I could do to get Go client working with Python client?

Fixed by https://github.com/python-zk/kazoo/pull/599


Create a contact/appointment form

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in path of the file.
If you need to use any icon please use it from Hero Icons
Good luck.

@Rajdip019  I would like to work on this issue

Go ahead @nishit3134


Licensing of String+MD5 is incorrect

I appreciate that this is a tedious t crossing issue.
However strictly this file should be licensed under the Apache license as that's the licence on the project it comes from.

Hi,
Thanks for pointing it out!
In fact this file is not quite different from the one being used in HanekeSwift. It's now more likely another derivation from the original one in CryptoSwift. I will check whether I can remove the description about Haneke and make it following CryptoSwift's license directly.
Thank you for pointing it out!

Cool :).

See #310 for more.

Thanks :).


About yolov7_qat, report a bug for cmd_sensitive_analysis in qat.py

Very appreciate having such a good job.  I want to report a bug for cmd_sensitive_analysis in qat.py
When calling the quantize.calibrate_model function, a device parameter is underwritten, causing the run to fail. https://github.com/NVIDIA-AI-IOT/yolo_deepstream/blob/bd731fd3e2e65d775e0086373a8d94426b3d56cd/yolov7_qat/scripts/qat.py#L243

@darrenzhang1007
How yolov7_qat.onnx was obtained during the Run QAT benchmark process.

After you finish the qat training via qat.py, You could got the qat.onnx.  The guidance is mainly telling you: For current version of TensorRT, User can always got the best perf on PTQ(onnx model without QDQ nodes), But QAT will not, In this way, if we want to get the same perf as PTQ in QAT model(model with QDQ nodes), We should adjust the QDQ placement to let the TensorRT have the same behavior as PTQ(they export the same graph)
The input dimensions of the onnx exported in the two tutorials are different. It makes me confuse!

you can see the https://github.com/WongKinYiu/yolov7.git, When running the evaluation, it will run with 13672*672(that will got the best accuracy, seems all the yolo will do this), we just keep aligned with them.


⚠ Bofrost.de has degraded performance

In 68f0007, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 837 ms

Resolved: Bofrost.de performance has improved in adbe913.


Pygame_gui is compatible with Linux?

I know that in the ISSUES they do not have the option to leave a question, but I would like to know if Pygame_gui is compatible with Linux, because in their documentation it does not tell me if it is, I ask why I know that a Pygame project made in Windows does not go 100% work at Linux or Mac without making some settings

I've been using it in Linux just fine.

Hello, there is a discussions area for asking questions.
Yes, the library generally works on desktop flavours of linux. I develop on windows generally but it's all python code and there are only a few little bits of platform specific stuff here and there (including some linux platform specific stuff). The only linux testing I've personally done has been on raspberry Pi computers.
I'll move this over to discussions.


Repeated Junk output generated using gemma-2b-it-gpu-int4.bin on Mobile device

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
Android 14
Mobile device if the issue happens on mobile device
Android Mobile device (Motorola edge 50 Ultra)
Browser and version if the issue happens on browser
No response
Programming Language and version
Kotlin
MediaPipe version
0.10.14
Bazel version
No response
Solution
LLMInference
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Gemma GPU model giving Junk output from the 2nd query
Describe the expected behaviour
Model needs to give relevant response to the user Query
Standalone code/steps you may have used to try to get what you need
Tested on Android Mobile device .
Followed the steps mentioned at -https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/android-
1.Used  LLMInference example  app from  the git https://github.com/googlesamples/mediapipe
2. Added Maven dependency in the build gradle -
 dependencies {
    implementation 'com.google.mediapipe:tasks-genai:0.10.14'
}
https://mvnrepository.com/artifact/com.google.mediapipe/tasks-genai
3 GPU model used in the LlmInference example- gemma-2b-it-gpu-int4.bin(downloaded from https://www.kaggle.com/models/google/gemma/tfLite)

4.Run the LLmInference APP on Mobile device.
5. Enter any query and the model gives response
6.Enter the second query either related to the context of the first query or any other query
Continuous Junk response results are shown with out Done being sent .
LLm inference App needs to be restarted to use it again

I am getting response only for one query and from second query getting the Junk output

Other info / Complete Logs
out put of the partial results from LLmInference -

36489: 07-15 16:42:41.352 24038 24072 D ChatViewModel: partialresult first message: катеринакатеринакатерина
	Line 36514: 07-15 16:42:41.455 24038 24072 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36650: 07-15 16:42:41.565 24038 24071 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36680: 07-15 16:42:41.666 24038 24073 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36692: 07-15 16:42:41.771 24038 24308 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36693: 07-15 16:42:41.873 24038 24073 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36699: 07-15 16:42:41.977 24038 24072 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36709: 07-15 16:42:42.081 24038 24071 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36710: 07-15 16:42:42.186 24038 24071 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36711: 07-15 16:42:42.286 24038 24073 D ChatViewModel: partialresult append message: катеринакатеринакатерина
	Line 36714: 07-15 16:42:42.387 24038 24071 D ChatViewModel: partialresult append message: катеринакатеринакатерина

Hi @KosuriSireesha,
Could you please try running this sample app frome her https://github.com/google-ai-edge/mediapipe-samples/tree/main/examples/llm_inference/android and let us know if you encounter the same issue there as well?
Thank you!!

Hi @kuaashish ,
Yes , I do tested the sampleapp from  https://github.com/google-ai-edge/mediapipe-samples/tree/main/examples/llm_inference/android
Issue is still reproducible
Note :On com.google.mediapipe:tasks-genai:0.10.11 , GPU model is working fine .On 0.10.14 version it failed .

Reopened the issue .

Hi @PaulTR,
Could you please look into this issue? Currently, we do not have a real device to reproduce it. Additionally, we are not sure if the issue is specific to a particular device. It seems that the sample app is also behaving the same way based on the input received.
Thank you!!

Hi @KosuriSireesha,
Could you please confirm if this issue is still unresolved on your end? If so, kindly try using the latest version 0.10.15 and update us on the status.
Thank you!!


Pre-registration email's link failed

Using AM, I tried the pre-registration feature, cliecking in the email link, response page said Error description : invalid_token and gateway logs contains:
09:14:48.095 [vert.x-eventloop-thread-0] [] ERROR i.g.a.g.handler.jwt.impl.JJwtParser - An error occurs while parsing JWT token : eyJraWQiOiJkZWZhdWx0LWdyYXZpdGVlLUFNLWtleSIsImFsZyI6IkhTNTEyIn0.eyJzdWIiOiI0YWMyZDZhMC1mMGYyLTRkMWQtODJkNi1hMGYwZjJjZDFkNzMiLCJleHAiOjE1NTM1OTE2MDAsImdpdmVuX25hbWUiOiJMYXVyZW50IiwiaWF0IjoxNTUzNTA1MjAwLCJmYW1pbHlfbmFtZSI6IkJyZXVpbGxhcmQiLCJlbWFpbCI6ImxhdXJlbnQuYnJldWlsbGFyZEBwaWVycmUtZmFicmUuY29tIn0.JFQjF_EHSfuWV2-qMn72d7agCuyAOeRyVZ9q1jLUcQO_tMNXSxz6cZUw68HUFxGmQ38b7cxm9aYG1iLqBkglCg
opensi2-am-dev_gateway-i1.1.5ofkw84vpzb1@docker-pfnet-prd-node7    | io.jsonwebtoken.security.WeakKeyException: The verification key's size is 256 bits which is not secure enough for the HS512 algorithm.  The JWT JWA Specification (RFC 7518, Section 3.2) states that keys used with HS512 MUST have a size >= 512 bits (the key size must be greater than or equal to the hash output size).  Consider using the io.jsonwebtoken.security.Keys class's 'secretKeyFor(SignatureAlgorithm.HS512)' method to create a key guaranteed to be secure enough for HS512.  See https://tools.ietf.org/html/rfc7518#section-3.2 for more information.

Any idea how to fixe this JWT algorithm diff between the email generator and the gateway validation?
Than you.

Hi @mielune ,
Did you change the default key ? :
# JWT used to generate signed token for management security mechanism (Bearer Token) and to verify emails
jwt:
  secret: s3cR3t4grAv1t3310AMS1g1ingDftK3y # jwt secret used to sign JWT tokens (HMAC algorithm)


Properly handle failing discovery on unsupported servers

sorry if opening an issue is not a right way to deal with this.
you can close it then.
so, i have tried it wtih two jids - one at spyurk.am, other at joindiaspora.com.
after entering jid on the first screen, i see the continuously loading screen, forever.
os: lineageos-17.1, it is android 10

https://version.diaspora.social/spyurk.am

The pod runs on <IP_ADDRESS>.

https://version.diaspora.social/joindiaspora.com

The pod runs on <IP_ADDRESS>.

README.md:

This is still in preview. You will need a pod on the latest develop branch.

I guess the error handling around this could be better though :)

oh probably the dev branch contains client api?
then close the thread. (:

oh probably the dev branch contains client api?

Yeah exactly. Let me dig into why it gets stuck though, will be useful for the transition phase after the release to get this right :)

Required upstream fix to properly handle this: https://github.com/openid/AppAuth-Android/pull/611

Looks much better with #22 Timeout was originally set tp 60sec with seems to be almost infinite. You'll get a error message either a nice 'timeout' or a hint that pod does not run a v0.8 pod. (Which is currently in beta stage)
@jhass request to close this issue?

No, I want to change the message and more properly detect this case (well, that's likely covered by #22 then) once upstream is fixed to allow to do so.

Timeout was originally set to 60sec

Quite OT here, but I can tell you from five years of professional app development that a connection latency of 30 seconds or more is not unseen on mobile networks, especially as the user is roaming between cells (= walking or driving around).

spyurk.am (now) runs on 7.99 dev branch and should support this App. As v1.0.0 looms on the horizon it is unlikely that unsupported pods will be supported in insporation.


Make GitHub detect *.spf as Forth.

Same thing...

Strange, even without linguist overrides, github detects this files as forth.

There is one .f file which GitHub detects as Forth.  This made the entire repository classified as Forth.

O, thanks for pointing to this file. I'll fix it.

Can I ask a favour?  I'm trying to reach @whiteTigr about this pull request: https://github.com/whiteTigr/A-whole-new-ball-game/pull/1.
Do you know him?

Yes, I know him ) I sended him a message via forum, but I don't know if he read it fast.

Great, thanks!


Missing props from RN Image

I don't know if there are other missing props or if it's intended, but there's at least this one missing from original RN Image component:
Failed prop type: Invalid props.style key 'overlayColor' supplied to 'FastImage'.

It's not intended to be a 100% drop-in replacement. There is no support for overlayColor right now.


correcting documentation for dotnet pack

dotnet pack does not run the same code as nuget pack

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Tools/dotnet-Commands.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Tools/dotnet-Commands.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Network errors, mixin errors in server log

Modloader
Fabric
Minecraft Version
1.19.2
Modloader Version
fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar
No Chat Reports Version
NoChatReports-FABRIC-1.19.2-v1.13.12.jar
Modpack Info
No response
The latest.log File
No response
Bug Description
19:09:10] [Server thread/INFO]: Sending reload packet to clients
[19:48:51] [Netty Server IO #2/INFO]: Mixing common.MixinServerStatusSerializer from nochatreports.mixins.json into net.minecraft.class_2926$class_2929
[19:55:57] [Netty Server IO #3/ERROR]: Exception occurred in netty pipeline
io.netty.handler.timeout.ReadTimeoutException: null
[19:59:10] [Netty Server IO #4/ERROR]: Exception occurred in netty pipeline
java.net.SocketException: Connection reset
at sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) ~[?:?]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) ~[?:?]
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258) ~[netty-buffer-4.1.77.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-buffer-4.1.77.Final.jar:?]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357) ~[netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.77.Final.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
[20:07:35] [Netty Server IO #5/ERROR]: Exception occurred in netty pipeline
io.netty.handler.timeout.ReadTimeoutException: null
[20:31:30] [Netty Server IO #6/ERROR]: Exception occurred in netty pipeline
io.netty.handler.timeout.ReadTimeoutException: null
Steps to Reproduce
I just installed the mod yesterday and I see these errors in the console.
Other Information
All of my traffic goes through a VPN appliance, so is there some server that you're trying to reach that is blocking something because it comes from a VPN?

Related to #418
My guess is that NCR is not causing the errors in itself, but rather displaying the errors that you would not see otherwise. Have you tried it and can reproduce on newer Minecraft versions as well?

This doesn't look like NCR issue at all. The only line from an NCR mixin indicates that the mixin has loaded successfully. Further errors from Netty that occur below are not related to it, as evidenced by difference in time at which the lines were logged.


Upgrade several dependencies

These upgrades did not change the operation of the scripts mkdocs or test.
Remove rimraf, which appears to be unused.

Should i check these changes locally and see if they are working fine ?

Should i check these changes locally and see if they are working fine ?

@Neelterminusdb Yes, please.

Working fine for me 👍


Little or almost no documentation

It's overwhelming to deal with this package, I'm too slow in trying to understand how this works.
The Yoast SEO plugin does something like this:
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": [
                "Organization",
                "Place"
            ],
            "@id": "http://localhost/wordpress/#organization",
            "name": "Shoropio Inc",
            "url": "http://localhost/wordpress/",
            "sameAs": [
                "https://www.facebook.com/shoropio"
            ],
            "logo": {
                "@id": "http://localhost/wordpress/blog/#local-main-organization-logo"
            },
            "image": {
                "@id": "http://localhost/wordpress/blog/#local-main-organization-logo"
            },
            "address": {
                "@id": "http://localhost/wordpress/blog/#local-main-place-address"
            },
            "geo": {
                "@type": "GeoCoordinates",
                "latitude": "10.263940278522158",
                "longitude": "-83.75811073229389"
            },
            "telephone": [
                "8769-4710"
            ],
            "openingHoursSpecification": [
                {
                    "@type": "OpeningHoursSpecification",
                    "dayOfWeek": [
                        "Monday",
                        "Tuesday",
                        "Wednesday",
                        "Thursday",
                        "Friday",
                        "Saturday"
                    ],
                    "opens": "09:00",
                    "closes": "20:00"
                },
                {
                    "@type": "OpeningHoursSpecification",
                    "dayOfWeek": [
                        "Sunday"
                    ],
                    "opens": "00:00",
                    "closes": "00:00"
                }
            ],
            "email"<EMAIL_ADDRESS>        },
        {
            "@type": "WebSite",
            "@id": "http://localhost/wordpress/#website",
            "url": "http://localhost/wordpress/",
            "name": "WordPress",
            "description": "Esta es la meta descripción del sitio.",
            "publisher": {
                "@id": "http://localhost/wordpress/#organization"
            },
            "potentialAction": [
                {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "http://localhost/wordpress/?s={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            ],
            "inLanguage": "es"
        },
        {
            "@type": [
                "WebPage",
                "CollectionPage"
            ],
            "@id": "http://localhost/wordpress/blog/#webpage",
            "url": "http://localhost/wordpress/blog/",
            "name": "Blog | WordPress",
            "isPartOf": {
                "@id": "http://localhost/wordpress/#website"
            },
            "datePublished": "2022-03-12T18:06:36+00:00",
            "dateModified": "2022-03-12T18:06:49+00:00",
            "description": "Meta descripción de la pagina del blog aquí.",
            "breadcrumb": {
                "@id": "http://localhost/wordpress/blog/#breadcrumb"
            },
            "inLanguage": "es",
            "potentialAction": [
                {
                    "@type": "ReadAction",
                    "target": [
                        "http://localhost/wordpress/blog/"
                    ]
                }
            ]
        },
        {
            "@type": "BreadcrumbList",
            "@id": "http://localhost/wordpress/blog/#breadcrumb",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "http://localhost/wordpress/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Blog"
                }
            ]
        },
        {
            "@type": "PostalAddress",
            "@id": "http://localhost/wordpress/blog/#local-main-place-address",
            "streetAddress": "Leesville de Roxana, Guápiles, Limón, Costa Rica.",
            "addressLocality": "Guápiles",
            "postalCode": "70204",
            "addressRegion": "Limón",
            "addressCountry": "CR"
        },
        {
            "@type": "ImageObject",
            "@id": "http://localhost/wordpress/blog/#local-main-organization-logo",
            "inLanguage": "es",
            "url": "http://localhost/wordpress/wp-content/uploads/2022/03/imagen-por-defecto.webp",
            "contentUrl": "http://localhost/wordpress/wp-content/uploads/2022/03/imagen-por-defecto.webp",
            "width": 1200,
            "height": 500,
            "caption": "Shoropio Inc"
        }
    ]
}

I just can't with that much complexity.

Yoast is hooked up to Wordpress directly & understands how it's working under the hood. It is entirely possible to still put out that graph with this library.
For instance, breadcrumbs, which can be seen here in the Yoast SEO Library leverage wordpress API's directly under the hood to understand what to output.
Same for organization data. Organization data is stored in Yoast's plugin settings. To do the same here your app would need to store that information then simply output a graph with an organization type. I'd suggest going over to the yoast repo to utilize what they have built out for wordpress rather than using this if more automation is what you're after.


Listing of reserved IP addresses per subnet is incorrect.

Under the section titled "Are there any restrictions on using IP addresses within these subnets?" it states the following.
Yes. Azure reserves 5 IP addresses within each subnet. These are x.x.x.0-x.x.x.3 and the last address of the subnet. x.x.x.1-x.x.x.3 is reserved in each subnet for Azure services.
x.x.x.0: Network address
x.x.x.1: Reserved by Azure for the default gateway
x.x.x.2, x.x.x.3: Reserved by Azure to map the Azure DNS IPs to the VNet space
x.x.x.255: Network broadcast address for subnets of size /25 and larger. This will be a different address in smaller subnets.
Unless the Azure IPv4 address range implementation is different from the RFC 4632, the above examples are only accurate for a traditional Class C or CIDR /24 IP address range.
For example, for IP address range <IP_ADDRESS>/27, the following would be the reserved IP list.
<IP_ADDRESS> : Network address
<IP_ADDRESS> : Reserved by Azure for the default gateway
<IP_ADDRESS>, <IP_ADDRESS> : Reserved by Azure to map the Azure DNS IPs to the VNet space
<IP_ADDRESS> : Network broadcast address.
Please advise, thanks!

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

ID: 07cec477-f584-400f-889c-9a5403f34bad
Version Independent ID: f777fdfd-2f5a-56b9-574f-ae6d2b19f130
Content: Azure Virtual Network FAQ
Content Source: articles/virtual-network/virtual-networks-faq.md
Service: virtual-network
GitHub Login: @KumudD
Microsoft Alias: kumud

@quekmc , you are right that for IP address range <IP_ADDRESS>/27, the following would be the reserved IP list.
<IP_ADDRESS> : Network address
<IP_ADDRESS> : Reserved by Azure for the default gateway
<IP_ADDRESS>, <IP_ADDRESS> : Reserved by Azure to map the Azure DNS IPs to the VNet space
<IP_ADDRESS> : Network broadcast address.
No matter the IP address range, the fact the first 4 IP addresses & the last IP address of that range are reserved remains unchanged:

Since, it is not possible to provide examples for each unique subnet range, x.x.x.0,1,2 & 3 can be considered the first 4 IP addresses of the subnet irrespective of the address range and the last IP address can be different depending on the range and that is mentioned as below:

The same is also mentioned in the below article:
https://docs.microsoft.com/en-us/azure/virtual-network/private-ip-addresses#allocation-method

We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

Hi Gitarani
Thanks for the response and my apologies for the slow response.
The second document that you have attached in your response is clear and accurate in that it is the first four and last IP address of any subnet is being reserved.  However the article I'm referencing wasn't as clear.  The way that section of the document is phrased is ambiguous.

Am using the same image you have attached to explain why.  Where the last statement highlighted in Yellow is placed, it gives the impression that for CIDR range of /25 or smaller subnet the broadcast address is different; that is incorrect.  For example in the case of CIDR address range of <IP_ADDRESS>/25 the broadcast address is <IP_ADDRESS> not <IP_ADDRESS>.  Even if that statement was to be applied to the entire section in the picture, that is incorrect as per my first example of <IP_ADDRESS>/27
We are in agreement that it is not feasible to list every conceivable CIDR range example.  May I suggest the following so that the ambiguity is removed.  This will be consistent with the document you quoted.
https://docs.microsoft.com/en-us/azure/virtual-network/private-ip-addresses#allocation-method.  Specifically this section.

Are there any restrictions on using IP addresses within these subnets?
Yes. Azure reserves the first four and last IP address for a total of 5 IP addresses within each subnet.  E.g. for the IP address range <IP_ADDRESS>/24.
<IP_ADDRESS> : Network address
<IP_ADDRESS> : Reserved by Azure for the default gateway
<IP_ADDRESS>, <IP_ADDRESS> : Reserved by Azure to map the Azure DNS IPs to the VNet space
<IP_ADDRESS> : Network broadcast address.
Please advise, thanks!

#reassign: @mbender-ms

Thanks for the feedback and suggestions @quekmc.
Doc will be updated after content freeze is lifted on 05/24/2020.
#please-close


Upgrade json-path to 2.4.0 (from 2.0.0)

This supports .size()
Also fix the json-path dependency, to exclude conflicting versions.
The .size() is very useful for things like a CouchDB cluster - we can easily add a sensor that retrieves json for the members of the cluster. We'd also like a sensor for the size of that list (so we can check that all CouchDB nodes know about each other at startup).

LGTM - needs minidev missing requirement issue fixed

Thanks @duncangrant - fixed the minidev issue; itest now passes. Merging.


Which terminal should work ? (Hardcoded value)

Hello,
In your code:
os.system(f"{terminal} -e '{environment} -c \"{command}; exec {environment}\"'")

Not all terminal run that way. For mine for example:
$ footclient -t foot -L -H -e ls

Is it possible to make it dynamic instead of hardcoded ?

It seems this got implemented in https://github.com/Hoaper/ulauncher-zh0per/commit/e960c5466d8bf3c8ea225f96ae2225ab4d81a4f1


Implement pem_read_key directly through OSSL_DECODER

Using OSSL_STORE is too heavy and breaks things.
There were also needed various fixes mainly for missing proper
handling of the SM2 keys in the OSSL_DECODER.
Fixes #14788
Checklist

[x] tests are added or updated

This is still WIP because there is missing legacy PEM handling.

This is still WIP because there is missing legacy PEM handling.

As reflected in the external GOST engine test failure.

As reflected in the external GOST engine test failure.

Yes :)

Ready for review now.

I do not think the non-caching build failure is relevant. This seems to be some intermittent leak.

Ping for reviews

This pull request is ready to merge

Rebased to resolve the conflict in checksums

One more clean rebase to test the FIPS checksums action

And one more

Hooray! The labeling works.

Merged to master. Thank you for the review!


java.lang.NoClassDefFoundError: org/apache/skywalking/apm/dependencies/io/grpc/internal/DelayedStream$7

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Agent logs had errors like this:
ERROR 2019-06-11 09:39:24:748 DataCarrier.DEFAULT.Consumser.0.Thread TraceSegmentServiceClient :  Transform and send UpstreamSegment to collector fail.
java.lang.NoClassDefFoundError: org/apache/skywalking/apm/dependencies/io/grpc/internal/DelayedStream$7
at org.apache.skywalking.apm.dependencies.io.grpc.internal.DelayedStream.flush(DelayedStream.java:240)
at org.apache.skywalking.apm.dependencies.io.grpc.internal.ClientCallImpl.sendMessage(ClientCallImpl.java:435)
at org.apache.skywalking.apm.dependencies.io.grpc.ForwardingClientCall.sendMessage(ForwardingClientCall.java:37)
at org.apache.skywalking.apm.dependencies.io.grpc.ForwardingClientCall.sendMessage(ForwardingClientCall.java:37)
at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls$CallToStreamObserverAdapter.onNext(ClientCalls.java:321)
at org.apache.skywalking.apm.agent.core.remote.TraceSegmentServiceClient.consume(TraceSegmentServiceClient.java:111)
at org.apache.skywalking.apm.commons.datacarrier.consumer.ConsumerThread.consume(ConsumerThread.java:101)
at org.apache.skywalking.apm.commons.datacarrier.consumer.ConsumerThread.run(ConsumerThread.java:68)

We have this class in agent jar, you could check. I am not sure why you have this issue.


Release first version of npm package

With our latest changes to the npm deployment package: https://github.com/beamer-bridge/beamer/pull/1816 we are in a state that we can release our first "stable" version to npm.
We had a meeting and agreed that we basically will follow this strategy:

whenever something in the artifacts folder change - we automatically release a dev release. The dev release version number is a prerelease and also contains the commit prepended)
we only release a new "stable" release whenever we change the package.json file and we update the version number there (once the PR is merged in main).

The version number for "stable" releases would be always a major version - this way it is clear that any new release can contain breaking changes.

[x] we need to put the commit ID into a file in the dist. This way we can figure out which commit generated a release.

@compojoom docs still need to be added


Examples for serializer services in documentation

@AymDev @joker806 Could you provide a basic example of a valid serializer service for messages in a queue/topic in the README?
It would be helpful for a quick start

Sorry for the response delay. I don't think that this kind of example would be relevant in the documentation as it is purely related to how Messenger works. Check the documentation which links to the SerializerInterface
But here is a dummy example:
<?php

namespace App\Messenger\MyQueueOrTopic;

use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\Transport\Serialization\SerializerInterface;

class MyQueueOrTopicSerializer implements SerializerInterface
{
    /**
     * @param mixed[]|array{body: string, headers: array<string, array<int, string>>} $encodedEnvelope
     */
    public function decode(array $encodedEnvelope): Envelope
    {
        $data = json_decode($encodedEnvelope['body']);
        $message = new MyQueueOrTopicMessage($data);
        return new Envelope($message);
    }

    /**
     * @return mixed[]
     */
    public function encode(Envelope $envelope): array
    {
        /** @var MyQueueOrTopicMessage $message */
        $message = $envelope->getMessage();
        $data = $message->getData();
        return [
            'body' => json_encode($data),
        ];
    }
}

I'd also use the Symfony Serializer component instead of the json_* functions, that can help to encode/decode to DTO, etc.

Thanks for the example! Managed to get it working a while ago. Indeed, it's just a matter of understanding the serialization/deserialization workflow.


Show file extensions where available in resource landing page

It is disconcerting to not see the file extension. If a file has a file extension it should be shown in the file listing. Hiding of file extensions is done on some operating systems by default so as to avoid confusing unsophisticated computer users. Our users are smart enough to understand file extensions and to want to see them.

@danames - the extensions are shown in the file grid view if the filename is short.

Also, you can switch to list view and see the extensions if the file names are longer.

Finally - you can hover over any file to get the full file name, type, and size.
The issue here is that we are shortening long file names to only display part of them so that every file icon displays with the same height and width in the grid view. A potential solution that could be implemented would be to do something like what the MacOS does to shorten file names for display in grid view:

We are just truncating the end of the file name. MacOS truncates the middle of the name so that the extension is still shown.

Apparently I didn't see the file extensions since they were being cut off in all the display modes I was using. Also the geotiff's weren't showing extensions because they were aggregations not just a single geotiff.
Let's leave this issue open though so that we can improve the shortening method so that it follows the MacOS approach as @horsburgh noted.

Clarifying here for @MSDrao: the scope of this issue is now to:

improve the shortening method so that it follows the MacOS approach as @horsburgh noted.

making a note that we witnessed inconsistencies in file extensions/names when viewing this resource:
https://www.hydroshare.org/resource/65ac72dd2ce8474983e21a5396159f7b/


Use PHP 7.1 in AppVeyor builds

AppVeyor builds are currently failing, because chocolatey started to install PHP 7.2 as default.
Besides the wrong path, the PHPUnit tests are not yet ready for PHP 7.2 (they require non-namespaced version of PHPUnit, however there isn't one for PHP 7.2 - the minimal version of PHPUnit running on PHP 7.2 is PHPUnit 6, which uses namespaces) - this is why the build isn't just upgraded to PHP 7.2 and rather forced to use PHP 7.1.

This should be committed.  Other PRs are blocked from being approved until this gets fixed.

@OndraM thank you


chore: remove gpu-provisioner chart from kaito repo

Reason for Change:

Since gpu-provisioner provided a way to install the hosted chart, this PR is to remove the duplicate helm chart.
Karpenter and gpu-provisioner CRDs is added to the Kaito chart.
Update the doc.

Requirements

[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Notes for Reviewers:

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

Project coverage is 61.74%. Comparing base (fde6369) to head (6a45ab9).
Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
- Coverage   62.89%   61.74%   -1.15%
==========================================
  Files          14       29      +15
  Lines        1307     2227     +920
==========================================
+ Hits          822     1375     +553
- Misses        447      785     +338
- Partials       38       67      +29

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


can't install

when i try to install from exention menu or copy link add url, i have this message: GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v -n --separate-git-dir=E:/SDXL/webui/tmp/miaoshouai-assistant/.git/modules/assets -- https://e.coding.net/miaoshouai/miaoshou-stable-diffusion-webui/assets.git E:\SDXL\webui\tmp\miaoshouai-assistant\assets stderr: 'Cloning into 'E:\SDXL\webui\tmp\miaoshouai-assistant\assets'... POST git-upload-pack (185 bytes) POST git-upload-pack (277 bytes) error: RPC failed; curl 52 Empty reply from server fatal: expected 'packfile' '

Same here, it should be moved somewhere else - why not here?

When I hit download from either A1111 extensions directly or from the mentioned URL in readme the downloading part of the UI hangs up and nothing happens (even in terminal)


Migrate OpenAPI project pipelines

We need to migrate the OpenAPI project pipelines from https://msazure.visualstudio.com/OpenApi/_build?definitionId=19888 to https://dev.azure.com/microsoftgraph/Graph Developer Experiences/_build
AB#9279

Talk to @MIchaelMainer about this.  He and I discussed this move the other day.

Here's the pipeline: https://github.com/microsoft/OpenAPI.NET/pull/586. It is setup to run on commit into master. Once the generated packages have been reviewed, and our team has shared ownership of the NuGet packages, we can finalize the release definition.


Static plugins

🎉 New feature
Summary
This change adds support to register plugins statically and load them from a library that is directly linked into the main program. Two new macros are added for static plugin registration: GZ_ADD_STATIC_PLUGIN and GZ_ADD_STATIC_PLUGIN_ALIAS which are functionally identical to their runtime-loading equivalents GZ_ADD_PLUGIN and GZ_ADD_PLUGIN_ALIAS respectively. Users can use this feature by invoking the static registration macros to register their plugin, and force-linking the plugin library into the program where they wish to load the plugin. The existing Loader class can be used to load plugins that have been linked in statically (see test/integration/static_plugins.cc for example).
Note that this change refactors the implementation of the following:

register/include/gz/plugin/detail/Register.hh to share code with register/include/gz/plugin/detail/RegisterStatic.hh, and
loader/src/Loader.cc to share code between querying and instantiating plugins from libraries which are loaded from files and linked-in libraries. A Registry class is introduced which acts as a store for a list of plugin Infos. A singleton StaticRegistry class is derived from Registry to maintain the store of statically registered plugin Infos.

Test it

Checklist

[x] Signed all commits for DCO
[x] Added tests
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Thanks for the clean up and Windows fixes Michael!

I made a sketch of how this can be used in gz-sim, to be fleshed out after feature freeze (for first Garden minor release): https://github.com/gazebosim/gz-sim/pull/1623


Issue when there is only one object instead of a collection of items

If we try to parse this
<?xml version="1.0" encoding="utf-8"?>
<CumulativeOperatingHoursMessages >
    <Links>
        <rel>self</rel>
    </Links>
    <CumulativeOperatingHours datetime="2019-09-12T05:55:15Z">
        <Hour>634.24</Hour>
    </CumulativeOperatingHours>
    <CumulativeOperatingHours datetime="2019-09-12T05:55:15Z">
        <Hour>634.24</Hour>
    </CumulativeOperatingHours>
</CumulativeOperatingHoursMessages>

Its parsed like an array of items -> OK
But if we parse this
<?xml version="1.0" encoding="utf-8"?>
<CumulativeOperatingHoursMessages >
    <Links>
        <rel>self</rel>
    </Links>
    <CumulativeOperatingHours datetime="2019-09-12T05:55:15Z">
        <Hour>634.24</Hour>
    </CumulativeOperatingHours>
</CumulativeOperatingHoursMessages>

It's not parsed as an array and also the keys / indexes are duplicated..... -> Issue
T

This is intended functionality. You can test this package against an online XML to JSON converter and it will look very similar. https://www.freeformatter.com/xml-to-json-converter.html


Edit multilingual content in Design Studio

Hello,
I din't find any information about editing multilingual content directly in Design Studio. Do you know if it is possible or is it planned in a next release wave ?
Thanks a lot
Best Regards,
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 6edd1052-c2bb-3647-7534-94e43ca62bd5
Version Independent ID: 6edd1052-c2bb-3647-7534-94e43ca62bd5
Content: Use design studio
Content Source: power-pages-docs/getting-started/use-design-studio.md
Service: power-pages
GitHub Login: @clromano
Microsoft Alias: clromano

Thank you for your inquiry.
Currently, multilingual content cannot be edited directly in Design studio and would need to be done in the Portals Management App.
Here is a link to the release plan so you can stay up-to-date on upcoming features:
https://learn.microsoft.com/en-us/power-platform/release-plan/2023wave1/power-pages/planned-features
Closing this issue.


Add CUDA dependency fetch to cmake.

To get back to a state where we have CUDA enabled by default we can use the same technique the CI is using to fetch the CUDA deps directly and make cmake do that using its file(DOWNLOAD) command. This would avoid the need for 95% of users to touch CUDA deps at all, and for those with more customized setups (the CI which we want to use the copy in the docker image or people using their own locally installed toolkits) we can skip it.
We do similar cmake-time fetches of some dependencies such as spirv-tools/tint already:
https://github.com/google/iree/blob/main/build_tools/third_party/tint/CMakeLists.txt#L9
This is the CI script doing the downloading:
https://github.com/google/iree/blob/main/build_tools/docker/base/fetch_cuda_deps.sh
The issue there is that it's assuming bash/linux/etc; if we used the native cmake utils (file(ARCHIVE_EXTRACT)) we could avoid this so that it works on all platforms uniformly. Something like
build_tools/third_party/cuda/CMakeLists.txt:
# if cuda is not enabled in IREE then don't bother
if(NOT IREE_ENABLE_CUDA ...) return()

# allow CI/users to specify things explicitly
if(IREE_CUDA_DEPS_FLAG_THING) return()

# try to use the user's local install, if they have one
FindCUDAToolkit(...)
if(CUDAToolkit_FOUND) return()

# otherwise fetch each component
file(DOWNLOAD parse_redist.py)
add_custom_command(... "${PYTHON_EXECUTABLE} parse_redist.py ... cuda_nvcc")
add_custom_command(... "${PYTHON_EXECUTABLE} parse_redist.py ... cuda_cudart")
# and move the files we use to the build dir (or just leave them all there)

I think this is now done and functioning as intended (see build_tools/third_party/cuda). On CMake, the necessary SDK parts are auto-downloaded, and on Bazel, flags/env vars are available to build against an SDK.


Drop down values for take on Text should be shortened

Discord username
No response
How important is this feature to you?
2 – Somewhat important, but I can live without it
Describe the idea you'd like to see implemented.
We a shortening drop down values for take on a Vector but for Text we are displaying FQN. It's hard to read (specially because longer names are cut).

Is your feature request related to a problem?
No response
Screenshots, screencasts, mockups.
No response
Would you be willing to help us implement this feature?
No

@Frizi am I correct that it is a bug? If I understand the idea correctly, every access chain should be shortened, so on the screenshot, even the Index_Sub_Range values should be much shorter.

@Frizi bump


Can't deploy artifacts

This is more of a question. Sorry.
According to the getting started instructions, one must define a repository.

You need to configure parameters such as repository

This implies we must deploy from a repository and therefore cannot deploy artifacts. Can Deployer deploy artifacts (e.g. compressed archives) or not?

Yes, just override deploy:upload_code task.

Rather than override deploy:update_code, I replaced it with my own deploy:artifact. This works well for me.

One thing to note is that whilst most stuff related to Git is self-contained in the deploy:update_code task, there is some Git-specific stuff in common.php as well, which is inherited by everyone unless they avoid extending common altogether. It might be a good idea to split out the Git-specific stuff from common.php, e.g. tag/branch/revision options and repository URL, to avoid assuming everyone wants to use Git to deploy (hint: Git was never designed for that).


db free_result

How will it be in new version free_result

You can still write comments on your closed issue. no need to make useless issues for non-issues/comments.


Update README.md

Would you comment my repository??
https://github.com/0khaki0/TellMeYourFavoriteAnime

Thank you for your pull request.
Vitz is a good car.
(The name has been changed from Vitz to Yaris in Japan)
I will buy GR Yaris after graduating NAIST.


Update README.md

adding CONNECT TECH and DataSciCon.Tech

Ya it should. My bad. Thanks for checking
Cheers
Vincent
@vincentmayers

On Aug 16, 2018, at 8:56 AM, Steven<EMAIL_ADDRESS>wrote:
@styfle commented on this pull request.
In README.md:

@@ -236,6 +236,7 @@ Thank you 🙏
| RuhrJS | Essen, Germany 🇩🇪 | October 13-14 | JavaScript | ✅ | ✅ |
| International JavaScript Conference | Munich, Germany 🇩🇪 | October 15-19 | JavaScript, Web Development & Architecture | ❌ | ✅ |
| Mirror Conf | Braga, Portugal 🇵🇹 | October 15-19 | Web, Design, Frontend | ✅ | ✅ |
+| CONNECT.TECH | Atlanta, USA 🇺🇸 | October 17-19 | Web, Design, Frontend, JavaScrpit, Vue.js, React, Angular, Node, Frameworks, Mobile Dev | ❌ | ✅ |
Should the comma be a period?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


fix(version): update fabric8-runtime-console to 0.17.3

There were the following issues with your Pull Request

Commit: a86d85040c4ec952a54938eafa15ffc32337b893
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


CI: add prettier --check ui/ to the pipeline

We would use Prettier to help enforce a standard code format for UI.

Closed as it's already there in the CI.


LineProfile : express distance from start of line in percentage.

Show percent distance along line from start.
This may decrease measurement steps to calculate the importance of an arterial stenosis.
(Though not all types of stenosis are concerned here, namely, concentric stenosis.)

So, logic.updateOutputTable would compute all the columns

This part is done.

move the checkbox near the plotting or make it clear in the name or tooltip

I'm afraid I don't fully understand what you mean here, as well as the motivation.

move the checkbox near the plotting or make it clear in the name or tooltip

I'm afraid I don't fully understand what you mean here, as well as the motivation.

The checkbox may still be useful for choosing which column to use as X axis in the plot (absolute or relative). It is easy to change the x axis in Plots module, too, so it is also OK to remove the checkbox and always use absolute distance as X axis in plots.

It is easy to change the x axis in Plots module, too,

You mean, interactively in the Plot widget ? Can't figure out how. I saw there can be multiple 'Plot data series' that are checkable.
Ideally, there could be a second X-axis, one scaled on the absolute distance and the second one on the relative distance. Don't if it's possible.

I've made a few small adjustments and merged. Thanks a lot for your contribution!


Can't access randr functions

I can't figure out how to access https://docs.rs/x11rb/0.6.0/x11rb/protocol/randr/fn.get_screen_resources.html
Every time I try, randr does not exist on protocol

Did you enable the randr feature flag? https://docs.rs/x11rb/0.6.0/x11rb/index.html#feature-flags

@ShayBox ping? Did you have time to investigate enabling the randr feature?

Yeah it works now, I swear I enabled that and another feature but it worked when I re-typed it, must have just been tired


Increase IPv6 mcast table size for coaps_client sample app

Default value 2 was not enough for mcast addresses table. Core stack adding mcast addresses on various reasons. Also coaps_client trying to create mcast context for some purpose. mcast address is not in lookup table, so binding fails. Added CoAP sample related mcast address to table and then bind the context.
However it throws mbedtls_handshake error but still able to get CoAP message and replies to client.
sample output
***** Booting Zephyr OS v1.12.0-1102-g80e828b98 *****
failed!
mbedtls_ssl_handshake returned -0x7900

type: 0 code 1 id 1

connection was closed gracefully
done
coaps_server and coaps_client are one of those old samples which uses mbedtls_apis directly. It would be better to convert these samples sockets+tls apis. That's why I didn't spend much time on handshake error.

Codecov Report

Merging #9272 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9272   +/-   ##
=======================================
  Coverage   52.46%   52.46%
=======================================
  Files         201      201
  Lines       25290    25290
  Branches     5286     5286
=======================================
  Hits        13268    13268
  Misses       9938     9938
  Partials     2084     2084

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 504584a...a98ab68. Read the comment docs.


[QUESTION] query parameters with dashes instead of underscores

Simple question that I can't seem to find an answer to. The standard for python variables is to use underscores but when it comes to url part or query parameters it's often you'll see dashes instead. This is what I use everywhere else. In PyCharm I'm getting an error declaring my view parameters as such: "Illegal target for variable annotation".
Realize this isn't FastAPI's fault but wasn't sure where to ask tbh. Any way to use dashes?

Thanks for the help here @dmontagu ! :cake: :bowing_man:
Thanks @Subaku for reporting back and closing the issue :+1:

@dmontagu he was asking about query params, not path params!!

@Subaku @tiangolo @dmontagu I found a little hack to get dashed query parameters without having to specify a hundred different aliases:
def HackedQuery(default: Any, *, convert_underscores=True, **kwargs) -> Any:
    query = Query(default, **kwargs)
    query.convert_underscores = convert_underscores
    return query

Couldn't this be supported out of the box with just a 1 or 2-line tweak since the functionality is already present for Header?


add listener tcp metadata exchange filter only when enabled

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
9950098be92b4b0bdb77de865c3ce8bbdc65d190
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
9950098be92b4b0bdb77de865c3ce8bbdc65d190
link
true
/test release-notes_istio

unit-tests_istio
9950098be92b4b0bdb77de865c3ce8bbdc65d190
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio

/test unit-tests_istio

I think this will not remove mx from alpn, which will cause issue

I think cluster has same alpns but we control with flag. It does not create issue. So should be fine

Also probably should also control the cluster network filter and alpn at upstream context.

This is already controlled

I think cluster has same alpns but we control with flag. It does not create issue. So should be fine

But still it is incorrect config. The listener will claim something that it is not capable of. I can think of cases where someone switch this env var from true to false, and in the transition state, some cluster might still have mx in alpn, and connect with listeners which has mx in alpn but no mx filter. Request / TCP connection will fail during that brief period.

But still it is incorrect config. The listener will claim something that it is not capable of. I can think of cases where someone switch this env var from true to false, and in the transition state, some cluster might still have mx in alpn, and connect with listeners which has mx in alpn but no mx filter. Request / TCP connection will fail during that brief period.

Is n't that the case already? This PR is trying to fix that inconsistency.

I don't think features.MetadataExchange controls listener alpn, so this PR actually make the filter chain and its alpn claim inconsistent? (i.e. alpn has istio-peer-exchange but no network mx filter in the chain). And looking at the code, it seems the same problem already exists at cluster, that istio-peer-exchange is always added to the alpn but client side tcp mx is controlled by features.MetadataExchange.

And looking at the code, it seems the same problem already exists at cluster, that istio-peer-exchange is always added to the alpn but client side tcp mx is controlled by features.MetadataExchange.

This is what I meant. If this is a problem, I think we should control ALPNs also with this flag?

This is what I meant. If this is a problem, I think we should control ALPNs also with this flag?

Yeah I think we should fix that instead of deepening the inconsistency.

@bianpengyuan Fixed  - ALPN is also controlled by that flag. PTAL.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
75c6f095d7e297b141d957cdbd68205960097cf1
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bianpengyuan Can you PTAL when you get chance?

@bianpengyuan Np
@howardjohn Can you please review this as well?

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-k8s-tests_istio
ff2d8e638736bcc5bb0b9d389049e84b3f46dfae
link
unknown
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest

/ test integ-pilot-k8s-tests_istio

In response to a cherrypick label: #36756 failed to apply on top of branch "release-1.12":
Applying: add listener tcp metadata exchange filter only when enabled
Using index info to reconstruct a base tree...
M	pilot/pkg/networking/core/v1alpha3/networkfilter.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/networking/core/v1alpha3/networkfilter.go
CONFLICT (content): Merge conflict in pilot/pkg/networking/core/v1alpha3/networkfilter.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 add listener tcp metadata exchange filter only when enabled
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #38601


Pipeline applyAppConfig step fails when attempting to upgrade app deployed from project scoped catalog

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Spin up simple single-node Rancher v2.2.4 instance:

Add a catalog at both the default project and global level
Add a pipeline with a simple .rancher-pipeline.yml per below to deploy application from the catalog
Run the pipeline and observe global level catalog and project level catalog apps both deployed successfully
Run the pipeline and observe global level catalog upgraded successfully, but project level catalog app fails with 13:03:53 time="2019-07-02T13:03:52Z" level=fatal msg="version 0.0.3 is not valid"

stages:
- name: Global Level
  steps:
  - applyAppConfig:
      catalogTemplate: cattle-global-data:test-test
      version: 0.0.3
      name: global
      targetNamespace: global
- name: Project Level
  steps:
  - applyAppConfig:
      catalogTemplate: p-dkq27:test-test
      version: 0.0.3
      name: project
      targetNamespace: project
branch:
  include:
  - pipeline
  exclude:
  - master

Result:
Global level catalog app upgrades successfully, project level catalog app fails to upgrade with following output:
13:03:39 [pipeline_p-xvq49-8] Running shell script
13:03:41 + apply-app
13:03:41 [INFO]check done...
13:03:41 [INFO]prepare config done...
13:03:42 time="2019-07-02T13:03:42Z" level=info msg="Saving config to /root/.rancher/cli2.json"
13:03:42 [INFO]refreshing catalog
13:03:52 [INFO]upgrading the "project" app
13:03:53 time="2019-07-02T13:03:52Z" level=fatal msg="version 0.0.3 is not valid"

Other details that may be helpful:
Similar behaviour previously reported and a CLI patch made re. https://github.com/rancher/rancher/issues/17511
Environment information
Rancher v2.2.4

Related to this cli issue: https://github.com/rancher/rancher/issues/21253

Also, reproducible in 2.2.0

Same issue occurred here, even after waiting 50 seconds for Rancher to refresh catalog.

Blocked by https://github.com/rancher/rancher/issues/21253
AZ team owns the cli for catalog.

rancher/rancher:master-head 57508ebba

Reproduced in v2.2.4
Deploy Rancher master-head
Create a cluster
Add a global catalog
Add a project catalog
Use example from original issue to create pipeline deploy an app from global and projects
Re-run pipeline
Both apps upgrade successfully:

[INFO]refreshing catalog
[INFO]upgrading the "global" app
[INFO]waiting global to be active...
[INFO]successfully upgraded the "global" app
---
[INFO]refreshing catalog
[INFO]upgrading the "project" app
[INFO]waiting project to be active...
[INFO]successfully upgraded the "project" app


Update commons-compress version

Describe the issue:
Upgrade commons-compress version from 1.22.0 to 1.25.0

Closed with https://github.com/wso2/carbon-identity-framework/pull/5230


Add unit tests for displaying complex types

relates to https://github.com/facebook/presto/commit/8a97b144eac4131225cda815c0561a0b9982bfab

Thanks for the review!  Addressed comments.

Merged, thanks!


Remove ESLint, rely entirely on Prettier?

I was hacking on a side project this weekend to learn RN. I created a repo directly from https://expo.io based on their tab navigation template (directly from their XDE desktop workflow). Then, I created an app from the thoughtbot template. I played with both for a while.
One thing I've been liking as a newcomer to RN is to simply have Prettier format the file on save. When I've tried to have ESLint w/ ALE in addition to Prettier on projects, it's been difficult to get both the ESLint rules and Prettier configured together so they don't clash.
While hacking, it's been much more pleasant to turn off editor linting entirely and just let Prettier format the file on save. Thoughts on dropping ESLint entirely for a similar flow here?
https://github.com/croaky/dotfiles/commit/e0cbf7852267e5044b6834f941c68896c89a90ef

I have yet to try Prettier yet but I'm pretty optimistic about it and would be interested in trying it on some projects.
One of my concerns about it was lack of TypeScript support but it's looking like that may be working shortly https://github.com/prettier/prettier/issues/13 🎉

Nice, yeah, I've seen some TypeScript support being merged into Prettier recently (as recently as 5 minutes ago!). It's been a really nice experience, reminds me of working with Go.
Now there needs to be a tool like goimports for JavaScript! To automatically add and delete imports based on usage in the file... use AsyncStorage in the file? Save and import { AsyncStorage } from "react-native"; could be added to the right spot in the fit.

Looks like the React team recommends Prettier over style guides: https://twitter.com/dan_abramov/status/871420769947049984
TypeScript and CSS support landed in Prettier 1.4 this week https://github.com/prettier/prettier/releases/tag/1.4.0

Badass. I set it up on my current client this week so I'll have a more thorough understanding and opinion on it shortly. So far so good (with Flow). I'll have to experiment with the TypeScript support in this project. Pretty exciting stuff though!

 Remove ESLint, rely entirely on Prettier?

Got a notification because I opened this. I've worked on a couple TypeScript React Native projects since then. The rough mix of tooling for linting has been:
tsconfig.json:
{
  "compilerOptions": {
    "baseUrl": "src",
    "esModuleInterop": true,
    "jsx": "react",
    "lib": ["es2015", "es2016", "esnext"],
    "module": "commonjs",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "plugins": [
      {
        "configFile": "./tslint.json",
        "name": "typescript-tslint-plugin"
      }
    "strict": true,
    "target": "es5"
    ],
    "typeRoots": ["node_modules/@types"],
    "types": ["react", "react-native", "jest"]
  },
  "include": ["src/**/*"]
}

tslint.json:
{
  "defaultSeverity": "error",
  "extends": [
    "tslint:recommended",
    "tslint-config-prettier",
    "./tsconfig.json"
  ],
  "jsRules": {},
  "linterOptions": {
    "exclude": ["*.json", "**/*.json"]
  },
  "rules": {
    "interface-name": [false],
    "max-classes-per-file": [false],
    "member-ordering": false,
    "no-bitwise": false,
    "no-console": [false],
    "no-default-export": true,
    "no-unused-expression": {
      "options": ["allow-fast-null-checks"]
    },
    "no-var-requires": false,
    "object-literal-sort-keys": false,
    "one-variable-per-declaration": false,
    "ordered-imports": true,
    "trailing-comma": [
      true,
      {
        "multiline": {
          "typeLiterals": "never",
          "objects": "always",
          "arrays": "always"
        },
        "singleline": "never"
      }
    ],
    "semicolon": [true, "never"],
    "variable-name": [false]
  }
}

Some core package.json parts:
{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "android": "$(npm bin)/expo start --android",
    "eject": "$(npm bin)/expo eject",
    "ios": "$(npm bin)/expo start --ios",
    "start": "$(npm bin)/expo start"
  },
  "dependencies": {
    "expo": "^32.0.0",
    "moment": "^2.24.0",
    "react": "16.5.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
    "react-navigation": "^3.3.0",
    "react-redux": "^6.0.1",
    "redux": "^4.0.1",
    "redux-persist": "^5.10.0",
    "styled-components": "^4.1.3"
  },
  "devDependencies": {
    "@types/expo": "^32.0.7",
    "@types/jest": "^24.0.11",
    "@types/react": "^16.7.6",
    "@types/react-native": "^0.57.11",
    "@types/react-navigation": "^3.0.3",
    "@types/react-redux": "7.0.1",
    "@types/react-test-renderer": "^16.8.1",
    "@types/redux-mock-store": "^1.0.0",
    "@types/styled-components": "^4.1.11",
    "babel-preset-expo": "^5.0.0",
    "expo-cli": "^2.13.0",
    "jest": "^24.6.0",
    "jest-expo": "^32.0.0",
    "prettier": "^1.15.2",
    "react-test-renderer": "^16.8.3",
    "redux-mock-store": "^1.5.3",
    "ts-jest": "^24.0.0",
    "tslint": "^5.11.0",
    "tslint-config-prettier": "^1.16.0",
    "typescript": "^3.1.6"
  },
  "private": true
}

Hope that's helpful!


Epic/interactive pathways

Jira
https://app.asana.com/0/1126340469288208/1129426257662815/f
Summary
Fix the nav line strikethrough so it doesn't go through the last nav item, fixing spacing on last item.
How to test
Compare against the comps and review in light of the ticket.

Hey @joekarasek @glassdimly one quick comment on some of the prop names I’m seeing here: what’s the thought process behind having namespaces on the prop names themselves?
I think it should be pretty clear that an animation-name prop on the <bolt-animation> component is a specific prop name to this component (vs the current bolt-animation-name prop I’m seeing). ^ this also keeps the naming convention across existing and future components more consistent and concise.
TLDR: There shouldn’t be a need to prefix Bolt-specific prop names or prop values on Bolt web components!
PS. Namespacing custom prop values that can get added by a consumer of Bolt would probably be fair game.
CC @mikemai2awesome @danielamorse

Added http://vjira2:8080/browse/BDS-1714 and http://vjira2:8080/browse/BDS-1715 for @sghoweri and @mikemai2awesome to review.

@sghoweri Didn't notice your comment above till now; sorry!

Hey @joekarasek @glassdimly one quick comment on some of the prop names I’m seeing here: what’s the thought process behind having namespaces on the prop names themselves?
I think it should be pretty clear that an animation-name prop on the  component is a specific prop name to this component (vs the current bolt-animation-name prop I’m seeing). ^ this also keeps the naming convention across existing and future components more consistent and concise.

This is all taken care of now, the component has build in and build out animations that are used like this:
<bolt-animate in="fade-in" in-duration="750" out="fade-out-slide-down">
  anything goes here
</bolt-animate>

Full details in it's schema file: https://github.com/bolt-design-system/bolt/blob/epic/interactive-pathways/packages/components/bolt-animate/animate.schema.js

@sghoweri @mikemai2awesome OK, we've got a bit of a GitHub PR tangle going on; please bear with us while we do some housekeeping on all this! Here's what's up:

This is not the main Epic branch for Interactive Pathways (aka Micro Journeys), that branch is epic/interactive-pathways and the Draft PR is #1207
This is a fix PR for that branch; however the git merge direction is backwards and you can't flip that in the GitHub UI; so I made a new PR that supersedes this one: #1316

I'm going to close this PR out now; but I'll be capturing your feedback for discussion in the main PR #1207 or addressing it directly in-line; thanks for the thoughts!

@mikemai2awesome The component names, package names, file and folder locations are in the middle of a refactor and cleanup currently. We are on the same page; these are the final NPM packages that will be added by us:

@bolt/animations Visual Styles for animations
@bolt/animate Web Component that animates children
@bolt/editor Editor template (it will have Twig template) and JS app
@bolt/micro-journeys Collection of multiple Web Components that are highly animatable

@mikemai2awesome So this code enables some awesome stuff with the editor; it makes the dropzones animatable - makes for a better user experience when building these UI via GUI instead of code.
<bolt-character
  characterUrl="https://github.com/basaltinc/temp-pega-dummy-assets/raw/master/animated-bands-ltr.png"
>
  <bolt-animate slot="top" idle="pulse">
  </bolt-animate>
  <bolt-animate slot="left" idle="pulse">
  </bolt-animate>
  <bolt-animate slot="right" idle="pulse">
  </bolt-animate>
  <bolt-animate slot="bottom" idle="pulse">
  </bolt-animate>
  <bolt-icon slot="icon" idle="none">
  </bolt-icon>
</bolt-character>


Using find sometimes throws an exception

There seems to be an unsafe assumption on valid _impl on line 491.  If I add a check for valid _impl, it seems to work.
if ( _impl && !_impl->get()->has_value() ) { ++( *this ); }
Also on VS 2017, the type on line 44 needs to be int/auto rather than unsigned to compile.

Line 491 -- do you mean normalize() or key() ? For key() no check needed, for normalize() probably you are right.
44 -- least_uncolliding_size() . Right, should be fixed.

I ran into the issue on line 491 when doing a find operation prior to inserting.  It usually happened after the first operation.


page refresh on first uploaded entity on map

when you upload a uc-entity to the map there is a black page refresh that catches the eye.

Can you add the code you are trying to run?

this.circles$ = Observable.create((observer) => {
  this.cesiumService.cesiumEntityNotification
    .subscribe((acNotification: AcNotification) => {
      if (acNotification.entity instanceof OmnCesiumCircle) {
        observer.next(acNotification);
      }
    });
});

@IOZD the code seems fine, can you show the html template?
strange, does it happen all the time? on updates? on creation?


Deflake the e2e tests

How to categorize this PR?

/kind bug
What this PR does / why we need it:
We noticed an e2e test failure such as:
 [FAILED] Expected to find image e2e-test-images/nginx@sha256:db048754ae68ae337d8fa96494c96d2a1204c3320f5dcf7e8e71085adec85da6 in the registry's scheduler-state.json file
  Expected
      <map[string]interface {} | len:4>: {
          "e2e-test-images/busybox@sha256:2e0f836850e09b8b7cc937681d6194537a09fbd5f6b9e08f4d646a85128e8937": <map[string]interface {} | len:3>{
              "Key": <string>"e2e-test-images/busybox@sha256:2e0f836850e09b8b7cc937681d6194537a09fbd5f6b9e08f4d646a85128e8937",
              "ExpiryData": <string>"2023-11-01T11:03:30.64130655Z",
              "EntryType": <float64>1,
          },
          "e2e-test-images/busybox@sha256:4cdffea536d503c58d7e087bab34a43e63a11dcfa4132b5a1b838885f08fb730": <map[string]interface {} | len:3>{
              "Key": <string>"e2e-test-images/busybox@sha256:4cdffea536d503c58d7e087bab34a43e63a11dcfa4132b5a1b838885f08fb730",
              "ExpiryData": <string>"2023-11-01T11:03:30.727002792Z",
              "EntryType": <float64>1,
          },
          "e2e-test-images/busybox@sha256:b4a6e23922ddc3d105fee9afff80151a13fe058143351a8e9294286575f2f37e": <map[string]interface {} | len:3>{
              "Key": <string>"e2e-test-images/busybox@sha256:b4a6e23922ddc3d105fee9afff80151a13fe058143351a8e9294286575f2f37e",
              "ExpiryData": <string>"2023-11-01T11:03:31.257924742Z",
              "EntryType": <float64>0,
          },
          "e2e-test-images/busybox@sha256:d59c675982d8692814ec9e1486d4c645cd86ad825ef33975a5db196cf2801592": <map[string]interface {} | len:3>{
              "Key": <string>"e2e-test-images/busybox@sha256:d59c675982d8692814ec9e1486d4c645cd86ad825ef33975a5db196cf2801592",
              "ExpiryData": <string>"2023-11-01T11:03:31.036146623Z",
              "EntryType": <float64>0,
          },
      }
  to have key
      <string>: e2e-test-images/nginx@sha256:db048754ae68ae337d8fa96494c96d2a1204c3320f5dcf7e8e71085adec85da6
  In [It] at: /home/prow/go/src/github.com/gardener/gardener-extension-registry-cache/test/e2e/create_enabled_delete_shoot_system_components_test.go:61 @ 10/25/23 11:04:05.434
------------------------------
Summarizing 1 Failure:
  [FAIL] Registry Cache Extension Tests [It] should create Shoot with registry-cache extension enabled with caches for Shoot system components, delete Shoot
  /home/prow/go/src/github.com/gardener/gardener-extension-registry-cache/test/e2e/create_enabled_delete_shoot_system_components_test.go:61
Ran 3 of 3 Specs in 1186.654 seconds
FAIL! -- 2 Passed | 1 Failed | 0 Pending | 0 Skipped

As described in https://github.com/gardener/gardener-extension-registry-cache/pull/37/commits/36ef9e2d00fd82a489565032f877147cf8ab2e14, in<EMAIL_ADDRESS>the image pull happens 2 times and the 2nd image pull is async and the one that writes the record to the scheduler-state.json file.

On initial request an image seems to be pulled twice - once to return it to the requestor, and one more time to store it locally in the cache. The image pull for the local cache seems to happen async, in a dedicated goroutine. See https://github.com/distribution/distribution/blob/152af63ec5c569f074e9cf5d0e409d6928e034d8/registry/proxy/proxyblobstore.go#L111-L164
Writes to the scheduler-state.json file are performed on given interval - 5 seconds currently. See https://github.com/distribution/distribution/blob/152af63ec5c569f074e9cf5d0e409d6928e034d8/registry/proxy/scheduler/scheduler.go#L21

Previously we had only e2e tests that are using only docker.io. Usually the nginx image was the first docker.io image in the cluster. Hence, it was enough to wait for the shceduler-state.json file creation.
Now we have e2e tests for eu.gcr.io and regsitry.k8s.io. It might be the case that the scheduler-state.json file is already created (because of other image pull) and it still does not contain the corresponding nginx image key.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

/approve


[ALS-4736] Update to override named dataset changes from core.

Reviewed in office hours, 09/11/2023.


Allow job concurrency to be set in config

Closes #1108

Thanks! Could you also add some words to src/doc/config.md?
(travis build is also failing)

I ended up rolling this into #1172, thanks!

Whoops, slipped my mind. Thanks!
On Thu, Jan 15, 2015 at 3:21 AM, Alex Crichton<EMAIL_ADDRESS>wrote:

I ended up rolling this into #1172
https://github.com/rust-lang/cargo/pull/1172, thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/1114#issuecomment-70053325.

--
http://octayn.net/


Use max-training-framework package

Removed MAX training framework code
Updated training README
Closes #77

LGTM.
Done with Jenkins testing


Change default to OutputRendering.Host and remove OutputRendering.Automatic

PR Summary
The original behavior of Automatic was borrowed from Linux where redirection kept ANSI codes and you would need to explicitly suppress it.  macOS, on the other hand, did the opposite.  I think for most users, particularly Windows users, it would be better to default to Host so that ANSI is only written to the host and never to the pipeline.  This will reduce confusion for users when they redirect text to a file and see ANSI codes in it.  Users who want to keep the ANSI codes can always use $PSStyle.OutputRendering = 'Ansi' to force it.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[x] Issue filed: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/7926

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Formally it is a breaking change.

The other usage of OutputRendering.Ansi is expected.

@SteveL-MSFT Since now Automatic is default to Host, any reason to keep OutputRendering.Automatic? Could we just use Host as the default value for $PSStyle.OutputRendering?

Yeah, we should probably get rid of Automatic now since it works the same as Host.  I'll make that change.

What if we want to change the default behavior for different systems after receiving feedback?

@iSazonov perhaps not "ideal", but we can always add a Automatic back later (it would not have enum value 0 though), but I'm convinced now that macOS got it right and Linux is just maintaining compat.


Can't use custom cell in TableView

App crash with custom cell (ImageView with Label)

Probably you are not register the nib class properly

@VladK9 Do you have any sample project which can be reproducible?

@rizwankce No, but I'm try later
Sent with GitHawk


Quaternion array handling

Is there a way for the SO3 class to be applied to not just one quaternion but to a whole array of them and be able to use all the functions like multiplication column-wise?

CC @Giulero

Sorry @misofey for the late reply! :)
Actually, I never thought about this use case. For now it shouldn't be possible. I guess that a possible workaround could be to wrap the SO3 objects in a list and iterate on it.
Could you provide an example?


Ignore 'lost+found' folder when initialising DB

This is a quick fix required when installing an instance via this operator on cloud
platforms such as AWS, in which the filesystem as presented might not be
truly empty.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: yankcrime
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fabianbaier
If they are not already assigned, you can assign the PR to them by writing /assign @fabianbaier in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Nice. In light of this, should we remove my workaround for kind for this and then make sure all operators still work? https://github.com/kudobuilder/operators/blob/master/test/manifests/local-path-storage.yaml

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jbarrick-mesosphere, yankcrime
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jbarrick-mesosphere]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I think your workaround still applies @jbarrick-mesosphere - the problem here is specifically MySQL's database initialisation process which expects an entirely empty folder.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jbarrick-mesosphere, kensipe, yankcrime
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jbarrick-mesosphere,kensipe]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

I think your workaround still applies @jbarrick-mesosphere - the problem here is specifically MySQL's database initialisation process which expects an entirely empty folder.

That's right, I got this confused with a separate issue.

/kind bug


DEV: Specify cuda10.2 for mxnet

I'm not sure why we have mxnet twice. It should be Cuda 10.2 now. Should we get completely rid of these two lines?

Can you open a notebook, say https://d2l.ai/chapter_convolutional-neural-networks/lenet.html, via Colab and SageMaker by following the instructions in the appendix, and pip install mxnet-cu102 to test if that works?

Nice catch, colab doesn't support cuda10.2. I'll close this in that case.


proficient equipped item weight multiplier doesn't seem to do anything

I haven't raised this as a bug as this could be user error, but i cant get the Proficient equipped item weight multiplier to do anything.
behaviour -
Unequipped Item weight multiplier is 1
Equipped item weight multiplier is 1
Proficient equipped Item Weight multiplier is 0
Equipping or unequipping a proficient weapon does not change the weight calculated.
If equipped item weight multiplier is set to 0, then equipping/.unequipping a weapon does change weight calculated but then the setting applies to ALL items equipped/not equipped, not just weapons.
I have proficient armour as 0 weight using the Do Not apply weight for equipped armour, and that works, but is there a valid set up to have 0 weight for equipped proficient weapons but other equipped items still have full weight?

V11.315 of foundry
V2.4.1 Dnd5e
V0.13.9 of Variant encumbrance+midi

so just for cover all use case you need these additional settings:

Do Not apply weight for proficient armour
Do Not apply weight for equipped weapon
Do Not apply weight for proficient weapon

or something like that right ?

Add some new module settings for cover the equipped and the proficient use cases on 0.14.0
I was trying to use the existing settings so that “proficient equipped” weapons has no weight, but it seems that the “equipped item” multiplier overrides it.
Seem to be solved on 0.14.0 i haven't replicate the issue
_unequipped armour to have 0 weight too as an option (for players who aren’t sleeping in armour but don’t want to take it off their sheet, etc), _
Do not make any sense if the armor is unequipped is just weight, i add on 0.14.0 some hooks you can use for apply your own rule
and possibly proficient items to be 0 weight, whether equipped or not?
Do not make any sense the weapon or armor must be equipped to be proficient , i add on 0.14.0 some hooks you can use for apply your own rule.

thanks for the additional settings, I can't get the behaviour i want but not sure if it's a settings combination issue?
Can you module bet set as follows?
All regular items have standard weight (x1)
non proficient armour whether carried OR equipped have standard weight (x1)
proficient armour (not equipped) but carried, has standard weight (x1)
proficient, equipped armour have weight 0
non proficient weapons whether carried OR equipped have standard weight (x1)
proficient weapons (not equipped) but carried, has standard weight (x1)
proficient, equipped weapons have weight 0
It seems like the settings should allow for this but I can't get it to work.
thanks


Adding custom jar files for Groovy parsing

Hello.
Im receiving "Unknown parsing error" when parsing the groovy script where there is a custom import class. The classes reside in custom jar files. I tried to add the jar files to the groovy/lib folder, but still does not recognize the class.
unable to resolve class \n @ line 7, column 1.\r\n   import  \r\n   ^\r\n"  NglParseError
Is there a way to add external jar files to parse the groovy code? The error can be eliminated by adding --no-parse parameter, but would like to explore options to parse the groovy code.
Thank you.

The CodeNarc server takes only the text of the method as input parameter, no jars :/
What we need to find is a way to parse the groovy without it looking for external libraries and being unhappy to not find them


Tokenization of: there'll

Just noticed there'll doesn't get split into 2 tokens unlike i'll and he'll.
Very minor bug, but should be easy to fix?

Thanks, fixed. Sorry about the delay getting to this!

Bit of a delay, but also noticed that there're also doesn't get tokenized properly!


LaunchScreen.storyboard in iOS project from template cannot be opened

The equivalent file in F# iOS template fails with the same error. However, the version from C# successfully opens. Seems that the C# version is up-to-date.

@Happypig375 Could you open a PR with this new file from the C# template please? Thanks

After copying the C# version to an F# iOS project, a similar error popped up. Seems like an F# tooling issue 😐

Closing since this is not an issue with Fabulous.


improvement Ignore complex type by default when analyze

Proposed changes
By default, if it contains any complex type in Analyze stmt submitted by user and error would be thrown before this PR.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.62 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>8 Bytes

run buildall


Mac OS High Sierra returns "UID" rather than "PID"

ps -lx on OS X high sierra returns UID as the first column, so the parsing code returns the wrong value.

related: https://github.com/neekey/table-parser/issues/11

You can pass psargs: 'ux' to get the PID

This is probably related. I'm on a Ventura (but it's probably a bash version issue - I'm using "GNU bash, version 5.2.2(1)-release (aarch64-apple-darwin21.6.0)"), and I get the time as the command for all processes:
[
  {
    pid: '90519',
    command: '0:00.74',
    arguments: [ 'minio', 'server', '../../s3/' ],
    ppid: '90491'
  }
]

Passing psargs: 'ux' doesn't help. I just get empty objects back when searching by command either way.

Same problem here. It seem this project out of maintains.


Bug: Can not create XMTP client

Describe the bug

I used Client.create(                       account: privateKey,                       options: ClientOptions(api: .init(env: .production))) to create an XMTP client.
It does work most of the time but on rare occasions, it fails to create a client. Even after retrying it is not getting created.
If I restart the app and try, it works. I can't get the error coz most of the time it is raised on the user side.
Any help will be appreciated.

Thanks.
Expected behavior
It should always create a client and allow us to proceed further
Steps to reproduce the bug
Not have any reproduction steps. It happens suddenly and stops creating an XMTP client.

👋 Hey @ajay-simform I haven't experienced this before do you mind sharing more of your code. Otherwise this repo may be a good place to look at how an iOS app might be built https://github.com/xmtp-labs/xmtp-inbox-ios or the example app in this repo.

I've tested the XMTPiOSExample and found that the client creation works consistently. Here's the link for reference: XMTPiOSExample. I'm going to close this issue, but I'd like to hear your thoughts, @ajay-simform. Do you know of any scenarios where this might not be the case? Can share relevante code?


fix: lighten CSS border for data preview table

before

after

Codecov Report

Merging #8966 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8966   +/-   ##
=======================================
  Coverage   58.68%   58.68%
=======================================
  Files         362      362
  Lines       11415    11415
  Branches     2801     2801
=======================================
  Hits         6699     6699
  Misses       4538     4538
  Partials      178      178

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 614f133...54ee096. Read the comment docs.


Force skip_zeros to False when shaped is True in execute_view_dataframe

Due to the pivoting implementation in the function, skip_zeros must be False to ensure column order in the data frame is equivalent to column order in view.

closed with #908


Semi Circle Guage - Taking undesirable height

Codepen
Explanation

What is the behavior you expect?
Semi-circle guage should take the deisred height specified height of 'X' pixels.

What is happening instead?
If I need to plot a semi-circle gauge of height 'X' px, it takes almost '2X' px height. This leads to create lot of unwanted space in the bottom, which looks weird.

What error message are you getting?
No Error Message

Reference

Example:

I am going to rewrite the radialbar/pie spacing code to minimize the unusual spacing taken in these charts.
Related to #495

I'd like to see this fixed, too, thanks! I'm putting together a dashboard using apexcharts and having a semicircular gauge be twice its required height is a bit annoying. A simple solution might be related to the forced insertion of a min-height attribute to the parent div - without this, we should be able to force the parent div to height the excess blank space by setting overflow: hidden. But intelligently working out the intended height from the start and end angles would be even better!

Any ETA for this? Or at least an estimate. We are building big responsive app using many donut charts and with 100% width there is a lot of horizontal and vertical spacing that cannot be handled via CSS. Also axis padding has impact on this.

FWIW, here's the SASS I'm using, which enables donut charts to be cropped (here, just cutting the bottom off for my speed-dial gauges). Obviously, use whatever heights work for your context! The key here is the !important markers, which I wouldn't usually use but allow the css to over-ride the values placed on the elements themselves by the apexcharts JS code.
#YOUR-CHART-ELEMENT-ID {
    min-height: 270px !important;
    overflow:hidden;

   .apexcharts-canvas {
      height: 270px !important;
   }
}

ETA for this is around the 2nd week of June.


php-mcrypt not available from source

After cloning the repo into a folder I opened the read me to finish the install, upon running the command
"apt-get install php php-gmp php-mbstring php-mcrypt"
I was returned this error .
"Package php-mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php-mcrypt' has no installation candidate"
So is there another program that can accomplish this same thing or perhaps another source?

sorry for late response,
based on php website https://www.php.net/manual/en/book.mcrypt.php you will specify the version with it example
apt-get install php5-mcrypt

Regarding #1 check on #1 to see the solution


Webviews have native scrollbars

Open a markdown preview webview, or a notebook

Doesn't repro in master, but that was also the case a couple days ago, so I was wondering whether there was a build issue or something that would cause it to use the wrong index.html file

And the problem is from the webview not using the index.html that has the styles including margin: 0 on the body

Should be fixed by 33142d0202d018e0e5bc11304504c84c33c3e8d5


Windows freezing issue when powertoys running at background

Microsoft PowerToys version
0.79
Installation method
GitHub
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
Windows just freezes suddenly without any error sign when powertoys is running in the background.
It freezes even when nothing is running.
(Noting can be done when it freezes. What I only can do is shutting off the computer by button manually)
I had this freezing issue since last month so I reinstalled windows. Then reinstalled powetoys and found that it starts freezing again.
And after I removed powertoys it didn't freeze.
I want to solve this problem. Please let me know what I should do. I need powertoys run.....
✔ Expected Behavior
No idea....
❌ Actual Behavior
No response
Other Software
No response

/bugreport