 I've noticed that since the extension was updated with the popout it seems to no longer be able to detect messages. I've been using the messages from staff preset and no matter how many moderator or owner messages are sent in chat ytc does not pick up any of them.
I've tried using other presets and custom presets and it cannot detect any messages. Uninstalling and reinstalling does not fix it either.
It might have something to do with it being the archives of streams that I'm watching but I'm not too sure.
Would appreciate any help you can give me.
Edit: I tried testing it out and it does work on live streams, but not archived ones. Might just be an issue with owner/moderator messages on archives on youtubes side, not the extension.

Strange, I usually test with VOD because I don't have always have a livestream. If you have a link to a specific video, I could test with it.
I would also like a copy of your configuration. In order to have one in 2.1.3, you need to open the Popout, then with focus in it, the Debugger with F12. There is a console tab in which you paste
chrome.storage.local.get(s => console.log(JSON.stringify(s)))

Strange, I usually test with VOD because I don't have always have a livestream. If you have a link to a specific video, I could test with it.
I would also like a copy of your configuration. In order to have one in 2.1.3, you need to open the Popout, then with focus in it, the Debugger with F12. There is a console tab in which you paste
chrome.storage.local.get(s => console.log(JSON.stringify(s)))

I'm assuming this is what you were after?
{"@@vwe-persistence":{"global":{"compactPopout":{"height":800,"width":1200},"darkMode":true,"defaultPerChannel":{},"fullPopout":{"height":1407,"width":1294},"globalDefault":"7lefkqjry","limitMsgPerVideo":100,"profiles":{"7lefkqjry":{"filters":[{"caseSensitive":false,"type":"isModerator","value":null},{"caseSensitive":false,"type":"isOwner","value":null}],"key":"7lefkqjry","name":"Streams","options":{"autoOpen":true,"autoScroll":true}},"alphanumeric":{"filters":[{"type":"regex","value":"/[a-z0-9]/i"}],"key":"alphanumeric","name":"Messages with alphanumeric","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"englishtag":{"filters":[{"type":"regex","value":"/^[[(]?(?:eng?|t(?:(rans|l))+|英訳)(?:/(?:eng?|t(?:(rans|l))?|英訳))?[\]): -]/i"}],"key":"englishtag","name":"English tagged messages","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"japanese":{"filters":[{"type":"regex","value":"/[一-龠]|[ぁ-ゔ]|[ァ-ヴー]|[ａ-ｚＡ-Ｚ０-９]|[々〆〤]/u"}],"key":"japanese","name":"日本語/Messages with japanese characters","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"staff":{"filters":[{"type":"isModerator"},{"type":"isOwner"}],"key":"staff","name":"Messages from staff","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}}},"storageLifetime":7,"version":"2.1.3"},"helpAlert":{"filterHelp":false,"profileDefaultHelp":true,"profileHelp":false,"welcome":false},"videoSettings":{"L1a0zYpKRHQ":{"channelId":"UCHsx4Hqa-1ORjQTh9TYDhww","channelName":"Takanashi Kiara Ch. hololive-EN","feeds":{"default":{"deduplication":{},"filters":[{"type":"isModerator"},{"type":"isOwner"}],"messages":[]}},"id":"L1a0zYpKRHQ","lastViewed":"2021-01-30T13:20:59.314Z","name":"【#HOLOTALK】With our 5th guest: Sakura Miko #EliTori #エリー鳥","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}}}}}

I'm assuming this is what you were after?
{"@@vwe-persistence":{"global":{"compactPopout":{"height":800,"width":1200},"darkMode":true,"defaultPerChannel":{},"fullPopout":{"height":1407,"width":1294},"globalDefault":"7lefkqjry","limitMsgPerVideo":100,"profiles":{"7lefkqjry":{"filters":[{"caseSensitive":false,"type":"isModerator","value":null},{"caseSensitive":false,"type":"isOwner","value":null}],"key":"7lefkqjry","name":"Streams","options":{"autoOpen":true,"autoScroll":true}},"alphanumeric":{"filters":[{"type":"regex","value":"/[a-z0-9]/i"}],"key":"alphanumeric","name":"Messages with alphanumeric","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"englishtag":{"filters":[{"type":"regex","value":"/^[[(]?(?:eng?|t(?:(rans|l))+|英訳)(?:/(?:eng?|t(?:(rans|l))?|英訳))?[\]): -]/i"}],"key":"englishtag","name":"English tagged messages","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"japanese":{"filters":[{"type":"regex","value":"/[一-龠]|[ぁ-ゔ]|[ァ-ヴー]|[ａ-ｚＡ-Ｚ０-９]|[々〆〤]/u"}],"key":"japanese","name":"日本語/Messages with japanese characters","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}},"staff":{"filters":[{"type":"isModerator"},{"type":"isOwner"}],"key":"staff","name":"Messages from staff","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}}},"storageLifetime":7,"version":"2.1.3"},"helpAlert":{"filterHelp":false,"profileDefaultHelp":true,"profileHelp":false,"welcome":false},"videoSettings":{"L1a0zYpKRHQ":{"channelId":"UCHsx4Hqa-1ORjQTh9TYDhww","channelName":"Takanashi Kiara Ch. hololive-EN","feeds":{"default":{"deduplication":{},"filters":[{"type":"isModerator"},{"type":"isOwner"}],"messages":[]}},"id":"L1a0zYpKRHQ","lastViewed":"2021-01-30T13:20:59.314Z","name":"【#HOLOTALK】With our 5th guest: Sakura Miko #EliTori #エリー鳥","options":{"autoMaxHeight":false,"autoOpen":false,"autoScroll":true,"height":100}}}}}

Yes thank you. Indeed you have a very empty archive. On any of these stream, is the statistic counter in the bottom right at least increasing? Also, do you have any other extension which modify Youtube? I take you are on Chrome since you are still on 2.1.3.

Yes thank you. Indeed you have a very empty archive. On any of these stream, is the statistic counter in the bottom right at least increasing? Also, do you have any other extension which modify Youtube? I take you are on Chrome since you are still on 2.1.3.

The statistic counter in the bottom right does increase as the video goes on, so I assume it is reading the messages. The only other extension I have installed is an ad-blocker, so it shouldn't be causing any problems.
This is the error code that pops up in the console:
DevTools failed to load SourceMap: Could not load content for chrome-extension://mnldnbhgfocmkehnlkeanlhfmopepnko/popper.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

The statistic counter in the bottom right does increase as the video goes on, so I assume it is reading the messages. The only other extension I have installed is an ad-blocker, so it shouldn't be causing any problems.
This is the error code that pops up in the console:
DevTools failed to load SourceMap: Could not load content for chrome-extension://mnldnbhgfocmkehnlkeanlhfmopepnko/popper.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

I've had the same issue. I created a test profile to show every message with 'e' in it just to make sure, and I got nothing. (Also having to open the popout every time I want to switch profiles really sucks)
The counter DOES go up, but I see messages like these in the console. Testing on Gura's stream happening live right now, but these messages are from around 40 minutes in.
https://www.youtube.com/watch?v=eJ5OuEhbNcE
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI9PbTvZLF7gIVKZ6cCh3FLgsd", addChatItemAction: {…}}
VM26111 inject.js:4646
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI9PbTvZLF7gIVKZ6cCh3FLgsd", addLiveChatTickerItemAction: {…}}
I closed the chat and reopened it and the full console logs from that point (with the filter set to 'message contains e' are:
[ytcFilter] DOM loaded.
content.js:46191 [ytcFilter] Primary element: true  Message Mount from DOM loaded
content.js:45445 [ytcFilter] Mounted hook start
content.js:46197 [ytcFilter] Mounting
content.js:45460 [ytcFilter] Bootstraping
content.js:45700 [ytcFilter] Last version detected: 2.1.3
content.js:45593 [ytcFilter] Mounted hook end
content.js:40154 [ytcFilter] Message List mounting. Video id: eJ5OuEhbNcE
DevTools failed to load SourceMap: Could not load content for chrome-extension://mnldnbhgfocmkehnlkeanlhfmopepnko/FileSaver.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
content.js:45568 [ytcFilter] Switching to fetch interceptor
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI7d7y9JPF7gIVmAXWAB1RWQeZ", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI2dPB-pPF7gIV8cXBCh099Aqh", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addChatItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addLiveChatTickerItemAction: {…}}
I disabled all extensions that interact with Youtube, including ad blocking, though the previous version worked with all my extensions.
It also seems to be increasing CPU usage a LOT whenever chat is open for more than a few minutes. Like to where the video stops playing until I close chat.

I've had the same issue. I created a test profile to show every message with 'e' in it just to make sure, and I got nothing. (Also having to open the popout every time I want to switch profiles really sucks)
The counter DOES go up, but I see messages like these in the console. Testing on Gura's stream happening live right now, but these messages are from around 40 minutes in.
https://www.youtube.com/watch?v=eJ5OuEhbNcE
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI9PbTvZLF7gIVKZ6cCh3FLgsd", addChatItemAction: {…}}
VM26111 inject.js:4646
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI9PbTvZLF7gIVKZ6cCh3FLgsd", addLiveChatTickerItemAction: {…}}
I closed the chat and reopened it and the full console logs from that point (with the filter set to 'message contains e' are:
[ytcFilter] DOM loaded.
content.js:46191 [ytcFilter] Primary element: true  Message Mount from DOM loaded
content.js:45445 [ytcFilter] Mounted hook start
content.js:46197 [ytcFilter] Mounting
content.js:45460 [ytcFilter] Bootstraping
content.js:45700 [ytcFilter] Last version detected: 2.1.3
content.js:45593 [ytcFilter] Mounted hook end
content.js:40154 [ytcFilter] Message List mounting. Video id: eJ5OuEhbNcE
DevTools failed to load SourceMap: Could not load content for chrome-extension://mnldnbhgfocmkehnlkeanlhfmopepnko/FileSaver.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
content.js:45568 [ytcFilter] Switching to fetch interceptor
[ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI7d7y9JPF7gIVmAXWAB1RWQeZ", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMI2dPB-pPF7gIV8cXBCh099Aqh", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addLiveChatTickerItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addChatItemAction: {…}}
inject.js:4646 [ytcFilter] Unsupported chat action {clickTrackingParams: "CAEQl98BIhMIjKO3_ZPF7gIVGfDBCh3XyQc6", addLiveChatTickerItemAction: {…}}
I disabled all extensions that interact with Youtube, including ad blocking, though the previous version worked with all my extensions.
It also seems to be increasing CPU usage a LOT whenever chat is open for more than a few minutes. Like to where the video stops playing until I close chat.

Huh... interestingly if I go to Kiara's debut stream I DO see my default filters working... I don't think it's a live/archive thing as I watched the Holotalk archive and people were saying that Amelia said something in chat but nothing was filtered. I'll do some more testing.

Huh... interestingly if I go to Kiara's debut stream I DO see my default filters working... I don't think it's a live/archive thing as I watched the Holotalk archive and people were saying that Amelia said something in chat but nothing was filtered. I'll do some more testing.

@HeyHeyHayden
For your error about SourceMap, it's not important, that's just a file which the debugger can use, but it has no effect on the inner working of ytcFilter
Youtube's chat is also a natural CPU burner... I have seen people optimize it and it's possible I will have to do it too :(
@koriar
I have some plan to add some quick config option, using that useless ytcFilter button in the toolbar.
The unsupported chat action is normal, it's for message like paid stickers, which today ytcFilter doesn't have any filter for. I have removed those logs in the latest version.
On Coco stream I have used your regex ".*" and got all of them ( 1002/1002 currently ). However I actually suspect that's because I'm on VOD, and if you were on Livestream, there is some difference. Youtube can add some garbage in its server message during livestream compared to VOD, especially for fast chat.
Can you try updating to the latest version 2.1.6? There is a fix for invisible characters, and also message without author which invalidate a whole batch.
https://github.com/RomainLK/ytc-filter/releases
I will wait for another live with fast chat to test some more.
Also, just for my curiosity, can you paste this in the console:
window.ytcfg.data_.INNERTUBE_CLIENT_VERSION
This will give me the version of Youtube normally (I just discovered this like right now)

@HeyHeyHayden
For your error about SourceMap, it's not important, that's just a file which the debugger can use, but it has no effect on the inner working of ytcFilter
Youtube's chat is also a natural CPU burner... I have seen people optimize it and it's possible I will have to do it too :(
@koriar
I have some plan to add some quick config option, using that useless ytcFilter button in the toolbar.
The unsupported chat action is normal, it's for message like paid stickers, which today ytcFilter doesn't have any filter for. I have removed those logs in the latest version.
On Coco stream I have used your regex ".*" and got all of them ( 1002/1002 currently ). However I actually suspect that's because I'm on VOD, and if you were on Livestream, there is some difference. Youtube can add some garbage in its server message during livestream compared to VOD, especially for fast chat.
Can you try updating to the latest version 2.1.6? There is a fix for invisible characters, and also message without author which invalidate a whole batch.
https://github.com/RomainLK/ytc-filter/releases
I will wait for another live with fast chat to test some more.
Also, just for my curiosity, can you paste this in the console:
window.ytcfg.data_.INNERTUBE_CLIENT_VERSION
This will give me the version of Youtube normally (I just discovered this like right now)

@RomainLK
I've never installed an extension outside of the official channels so I might be doing this wrong. I grabbed the zip file, extracted it to a folder, and used "Load unpacked" from the Manage Extensions page to load it in.
It appeared in the list, but I got an error.

Here's the output of that in the console from Ina's stream happening right now.
window.ytcfg.data_.INNERTUBE_CLIENT_VERSION
"2.20210128.02.00"

@RomainLK
I've never installed an extension outside of the official channels so I might be doing this wrong. I grabbed the zip file, extracted it to a folder, and used "Load unpacked" from the Manage Extensions page to load it in.
It appeared in the list, but I got an error.

Here's the output of that in the console from Ina's stream happening right now.
window.ytcfg.data_.INNERTUBE_CLIENT_VERSION
"2.20210128.02.00"

Ah, looks like that error didn't actually prevent me from using the extension. I can confirm that I'm getting 100% of the messages with the .* regex now, though Ina stream has a lot slower chat than Coco or Gura's big streams.
I tried the console command with both the new and old versions and they both had the same output.

Ah, looks like that error didn't actually prevent me from using the extension. I can confirm that I'm getting 100% of the messages with the .* regex now, though Ina stream has a lot slower chat than Coco or Gura's big streams.
I tried the console command with both the new and old versions and they both had the same output.

Ok thanks. Good to know that the new version improves the situation. It's still in review by Google at the moment so it will take some time until it's released.
As for the unrecognized manifest error, that's normal; it's a configuration specific to Firefox, and Chrome doesn't understand it.
Otherwise same version as me for the innertube, whatever it's.

Ok thanks. Good to know that the new version improves the situation. It's still in review by Google at the moment so it will take some time until it's released.
As for the unrecognized manifest error, that's normal; it's a configuration specific to Firefox, and Chrome doesn't understand it.
Otherwise same version as me for the innertube, whatever it's.

2.1.6 was released after 5 days in Google review hell!


optim

Relocate kotlin
Make methods static and add static plugin instance field
Use getInt for integer configurations value
Register permission in plugin.yml

Hi,
Thanks for your contribution! Your changes are nice. However there was one issue:
private val min = plugin.config.getInt("minrage", 50_000)
private val max = plugin.config.getInt("maxrange", 50_000)

The second argument passed 50_000 makes the variable always return either 50,000 or -50,000. I fixed this for you. Your changes are merged.


Code Indents in w-code Component

We will get additional indents if w-code element is indented.

I think this is pretty natural and reasonable, like using native <pre> tag. (I use CSS white-space: pre to achieve this btw.)
Or in contrary, how do you preserve indents if that's what user intended to?


Demo DNSPolicy Geo and Weighted Loadbalancing

What
Put together a demo showing how to use DNSPolicy to setup to balance traffic based on geolocation and also with custom weights


Update-Help does not work with partial locale

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Update-Help does not work if the provided locale is a partial match (i.e. parent) of the available one. This means that if en-US is available, you have to provide exactly en-US and cannot just do en. I believe this is a bug for 2 reasons:

It Makes Sense™ that if user says "I want to use English locale", they mean "Any English variant will do", not "I want to use English not associated with any country".
Update-Help with implicit locale has mechanism to fall back to parents. That is, if you don't provide explicit -UICulture, it uses the system, e.g. en-GB, then if that fails it tries en. The described bug means that fallbacks will always fail, unless the module uses exactly locale en without any country suffix, which they never do.

This can be fixed by changing string.Equals to string.Contains or some other function in UpdatableHelpInfo.IsCultureSupported.
Expected behavior
> Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets' -Force -UICulture 'en-US'
> Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets' -Force -UICulture 'en'
> # No error reported means success

Actual behavior
> Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets' -Force -UICulture 'en-US'
> Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets' -Force -UICulture 'en'
Update-Help: Failed to update Help for the module(s) 'Microsoft.PowerShell.Core' with UI culture(s) {en} : Unable to retrieve the HelpInfo XML file for UI culture en. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again..
English-US help content is available and can be installed using: Update-Help -UICulture en-US.

Error details
Type        : System.Management.Automation.ActionPreferenceStopException
ErrorRecord :
    Exception             :
        Type    : System.Exception
        Message : Failed to update Help for the module(s) 'Microsoft.PowerShell.Core' with UI culture(s) {en} : Unable to retrieve the HelpInfo XML file for UI culture en. Make sure the HelpInfoUri property
in the module manifest is valid or check your network connection and then try the command again..
                  English-US help content is available and can be installed using: Update-Help -UICulture en-US.
        HResult : -2146233088
    CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
    InvocationInfo        :
        MyCommand        : Update-Help
        ScriptLineNumber : 1
        OffsetInLine     : 1
        HistoryId        : 38
        Line             : Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets' -Force -ErrorAction Stop -Scope 'CurrentUser' -UICulture 'en'
        PositionMessage  : At line:1 char:1
                           + Update-Help -Module 'Microsoft.PowerShell.Core' -SourcePath 'assets'  …
                           + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        InvocationName   : Update-Help
        CommandOrigin    : Internal
    ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    PipelineIterationInfo :

TargetSite  :
    Name          : Invoke
    DeclaringType : System.Management.Automation.Runspaces.PipelineBase, System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    MemberType    : Method
    Module        : System.Management.Automation.dll
Message     : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to update Help for the module(s) 'Microsoft.PowerShell.Core' with
UI culture(s) {en} : Unable to retrieve the HelpInfo XML file for UI culture en. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command
again..
              English-US help content is available and can be installed using: Update-Help -UICulture en-US.
Data        : System.Collections.ListDictionaryInternal
Source      : System.Management.Automation
HResult     : -2146233087
StackTrace  :
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) in /home/dkaszews/code/PowerShell/src/System.Management.Automation/engine/hostifaces/pipelinebase.cs:line 411
   at System.Management.Automation.Runspaces.Pipeline.Invoke() in /home/dkaszews/code/PowerShell/src/System.Management.Automation/engine/hostifaces/Pipeline.cs:line 528
   at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown, ExecutionOptions options) in
/home/dkaszews/code/PowerShell/src/Microsoft.PowerShell.ConsoleHost/host/msh/Executor.cs:line 403

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.0-preview.3
PSEdition                      Core
GitCommitId                    7.3.0-preview.3-311-g7f6b78257ebecc44ca2c3847b1241e91a61d0c97
OS                             Linux 5.15.0-1013-raspi #15-Ubuntu SMP PREEMPT Mon Aug 8 06:33:06 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Found reason #3: locales are compared by globbing in UpdatableHelpSystem.CreateHelpInfo, and if you add "*" to currentCulture in the glob, partial locales will work. So someone implemented it as suggested, but incorrectly
IEnumerable<WildcardPattern> patternList = SessionStateUtilities.CreateWildcardsFromStrings(
    globPatterns: new[] { currentCulture },
    options: WildcardOptions.IgnoreCase | WildcardOptions.CultureInvariant);


nginx: Adjust default gzip level.

The default compression level is 1; increasing this to 3 takes a small amount more CPU time (single-digit ms on multi-MB transfers), but results in a small but noticeable (4-7%) percentage better compression in JSON content.
Assuming a 25 megabit connection (the current average data rate for cell phones in the U.S.), a 2MB file which is shrunk an additional 4% saves approximately 25 milliseconds of transfer time; thus the additional few milliseconds of CPU-time is well worth the cost.  For faster connections (e.g. 100 megabit), the tradeoff is more or less a wash.

The CI failures look like flakes, but rerunning them just in case. Marked to merge once CI passes and as a backport candidate.

Backported to 9.x in #31238.


Content NOT SUPPORTED: keyword "id", use "$id" for schema ID

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
I'am using the Apicurio Schema Registry. After I create a JSON schema and try to send a message, I get the following error message:
Content NOT SUPPORTED: keyword "id", use "$id" for schema ID
JSON Schema:
{
  "$id": "https://training.com/EmployeeHasBeenCreatedEvent.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EmployeeHasBeenCreatedEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "The employee's id."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "The employee's name."
    }
  }
}

Reading messages based on the schema works well.

Generates mock JSON based on schema:

Expected behavior
Send the message.
Your installation details
83b5a60 v0.7.2
  schema-registry:
    image: apicurio/apicurio-registry-mem:2.6.1.Final
    ports:
      - "8081:8080"
  kafka-ui:
    image: provectuslabs/kafka-ui:v0.7.2
    depends_on:
      - kafka
    ports:
      - 8082:8080
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9093
      - KAFKA_CLUSTERS_0_SCHEMAREGISTRY=http://schema-registry:8080/apis/ccompat/v7
      - DYNAMIC_CONFIG_ENABLED='true'

Steps to reproduce

Create schema
Create topic
Send message

Screenshots
No response
Logs
Nothing appears in the log.
Additional context
No response

Thank you, I moved there, see https://github.com/kafbat/kafka-ui/issues/476


update dependencies

Update to next.js v10.1, webpack 5 and use @tailwindcss/jit

Huh, I thought prose was broken with jit, but it seems to work fine in your new build.
The React upgrade to 17 suppresses the error message about Next 11 (from npm run dev).
It should permit removing import React from 'React' statements from the codebase (though I'm not sure if Preact in production changes that at all).


volume envelope not updated in realtime

changes to volume envelope apply only after stopping playback

hmm sadly seems like doing this right will need some refactoring...
can't just simulate a stop / restart because it'll reset some other parameters too (e.g. some sample offsets, ongoing echoes)


Problem with nullable DateTime

I think the library might have a problem with nullable DataTime values and their validation.
For example, if I create a view model with the following field:
[Display(Name = "Earliest Date")]
public DateTime? EarliestDate { get; set; }

and then render it using Razor:
@Html.EditorFor(m => m.EarliestDate, new {CssClass = "form-control"})

The library appears to add a validation error if the field is left blank/empty.  This is the HTML that gets emitted:
<input type="text" value="" name="Filter.EarliestDate" id="Filter_EarliestDate" data-val-date="The field Earliest Date must be a date." data-val="true" class="form-control input-validation-error" kl_virtual_keyboard_secure_input="on" aria-describedby="Filter_EarliestDate-error Filter_EarliestDate-error" aria-invalid="true">

I hope you can help with this issue, as I have come to rely on this library and Bootstrap as my presentation layer of choice.

My mistake, this is actually a problem with jquery.validate.
My apologies.


Is there a way to add a horizontal line or vertical line similar to matplotlib?

Something similar to this https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.axhline.html
Is there any intention for this to be added or should we go through accessing layout?

Also wondering if this is in the works! Maybe something along the lines of:
.update_layout(hline=5)
.update_layout(vline=-1)
```?

You can indeed add horizontal and vertical lines to plots in general, but we don't have a "facet-aware" way of doing this yet unfortunately, so this only really works well/easily with a single plot:
import plotly.express as px

df = px.data.tips()
fig = px.scatter(df, x="total_bill", y="tip")
fig.update_layout(shapes=[
    dict(
      type= 'line',
      yref= 'paper', y0= 0, y1= 1,
      xref= 'x', x0= 5, x1= 5
    )
])

This adds a vertical line at x=5

I'm finding that if you add fig.show(config={"showLink":False}), you receive duplicate charts:
import plotly.express as px

df = px.data.tips()
fig = px.scatter(df, x="total_bill", y="tip")
fig.update_layout(shapes=[
    dict(
      type= 'line',
      yref= 'paper', y0= 0, y1= 1,
      xref= 'x', x0= 5, x1= 5
    )
])
fig.show(config={"showLink":False})

Is this behavior intended/build in to .update_layout(...)?

I'm not sure what you mean by "duplicate charts" here...? Also note that the "showLink: False" is redundant in Plotly.py v4, as this is the default :)

Ah, if you mean that fig.update_layout() returns fig then yes, this is intentional, so if you have a notebook cell that ends with this call, then fig.show() is optional. But in a single notebook cell, your code above should output only a single chart.

Nice @nicolaskruchten ! Is there a way to add more than one xref or yref? Because my express px.scatter have multiple facets.

we don't have a "facet-aware" way of doing this yet unfortunately

@nicolaskruchten Is there any plans of implementing this? It's very useful when trying to display thresholds across facets (Either constant value across all facets, or generated upon grouping for facets). yintercept or xintercept values could be used and just utilize the trend line functionality to just display a constant trend.

Yes, we will implement a nice .add_hlines() and .add_vlines() in an upcoming version, as the current way is pretty clunky.

You can follow the development here: https://github.com/plotly/plotly.py/issues/2141

        fig.update_layout(shapes=[         # Line Diagonal
            dict(
                type="line",
                yref='y1',
                y0=200,
                y1=200,
                xref='x1',
                x0=min_x*0.8,
                x1=max_x*1.2,
                line=dict(
                    color="Red",
                    width=4,
                    dash="dashdot",
                )
        ),
            dict(
                type="line",
                yref='y2',
                y0=200,
                y1=200,
                xref='x2',
                x0=min_x*0.8,
                x1=max_x*1.2,
                line=dict(
                    color="Red",
                    width=4,
                    dash="dashdot",
                )
        )
        ])

@vcmorini Thanks for the idea. A more generalized solution based off this:
fig.layout.update(
    shapes=[{'type': 'line',
                    'y0':y_intercept,' y1': y_intercept,
                    'x0':str(df.x_value.min()), 'x1':str(df.x_value.max()),
                    'xref':'x' + str(i + 1), 'yref':'y' + str(i + 1),
                    'line': {'color': 'black', 'width': 1, 'dash': 'dot'}}
               for i, member in enumerate(pd.unique(df.x_value))])

I was using go.Scatter to generate a plot. One solution, which is also clunky, for go is adding another plot with
trace2 = go.Scatter(
       x = [df.Date.min(),df.Date.max()],
       y = [df.Close.mean(),df.Close.mean()]
       mode = "lines",
       name = "Close price",
       marker = dict(color = 'rgba(80, 26, 80, 0.8)')
)

.add_hlines() is just finding the x_min and x_max with two fixed y
.add_vlines() vice versa.
BTW, looking forward to upcoming versions!

It somehow bugs with Plotly Express with multiple facets:

Is there a way to add a label on the x-axis for each vertical line?

There should also be an option to resize v/h lines to fit the plot's min and max y/x axis respectively. I notice that when I add a vline over an existing plot, it runs off the plot (as I presume is happening in the screenshots provided in this thread)

I would like to know too.

In R, there is an easy way that could be adapted to python.
vline <- function(x = 0, color = "red") {
  list(
    type = "line",
    y0 = 0,
    y1 = 1,
    yref = "paper",
    x0 = x,
    x1 = x,
    line = list(color = color)
  )
}

hline <- function(y = 0, color = "blue") {
  list(
    type = "line",
    x0 = 0,
    x1 = 1,
    xref = "paper",
    y0 = y,
    y1 = y,
    line = list(color = color)
  )
}

plot_ly() %>%
  layout(shapes = list(vline(4), hline(5)))

@SpyderRivera thanks!
We've got a PR almost ready to merge that introduces a fig.add_hline(y=...) API which will make this much easier... should be out in Plotly.py 4.11 by the end of September. Stay tuned! :)

added a horizontal line using fig.add_shape(), however, the line was disabled once i specified the 'seaborn' template, is there a way around this? @nicolaskruchten, thanks in advance

@SpyderRivera thanks!
We've got a PR almost ready to merge that introduces a fig.add_hline(y=...) API which will make this much easier... should be out in Plotly.py 4.11 by the end of September. Stay tuned! :)

great to hear that! I'm looking forward for 4.11 release! are there any dates already?

This feature has been moved to 4.12, but I estimate that within 2 weeks we should have it out :)

OK took longer than two weeks, sorry folks :) But it's out now in 4.12! https://community.plotly.com/t/announcing-plotly-py-4-12-horizontal-and-vertical-lines-and-rectangles/46783

Will this also work in Rstudio?

OK took longer than two weeks, sorry folks :) But it's out now in 4.12! https://community.plotly.com/t/announcing-plotly-py-4-12-horizontal-and-vertical-lines-and-rectangles/46783

Guys, you all rock. Thanks for your dedication and commitment :tada:

OK took longer than two weeks, sorry folks :) But it's out now in 4.12! https://community.plotly.com/t/announcing-plotly-py-4-12-horizontal-and-vertical-lines-and-rectangles/46783

Guys, you all rock. Thanks for your dedication and commitment :tada:


Fixed broken relative image path

Fixed broken relative image path

Q
A

content fix?
yes

New article?
no

Related issues?
-

What's in this Pull Request?
Fixed broken relative image path (I suspect more of those might be in the docs if some restructuring has been going on...)

@heinrich-ulbricht,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Heinrich, appreciated. Please submit possible future submissions towards staging branch, like mentioned in our contribution guidance. This will reduce the possibility of conflicts and does give us time to test content in staging. I'll do the cross-merging now manually but would appreciate this adjustment in the future. Thx.
Notice also that all content is intended to be viewed from dev.office.com where this issue is not visible. No harm though also fixing md file rendering - https://dev.office.com/sharepoint/docs/spfx/toolchain/sharepoint-framework-toolchain


Improve querying

This PR allows other fields (in addition to process and commodity) to be passed as lists to query. It also allows column-wise control of which dataframe entries should be exploded if a comma is found.

Wow, this PR also improves runtime by around 50%! Do you have any idea what is responsible for the speedup? 🤩

Wow, this PR also improves runtime by around 50%! Do you have any idea what is responsible for the speedup? 🤩

Good question! TIMES-NZ runs are responsible for the reported wild improment. It's runtimes have varied a lot before. As far as I can see from the log, the time it takes to run convert_to_string transform went down significantly with the changes in this PR. Let me check what changed for it...

I'm wondering if we need to remove the old match_uc_wildcards test though? It's common practice to test a function by comparing its results to a slower-but-simpler implementation, and I think we don't have unit tests that test the new code on a series of small examples, do we? So why not leave it in.

The changes in this PR brake the test, because some inputs change. Since we have had the faster version running for a while now, without ever having any issues with it, I thought it was okay just to delete the test. I could try to fix it instead, if you think it is worth keeping it?

Wow, this PR also improves runtime by around 50%! Do you have any idea what is responsible for the speedup? 🤩

Good question! TIMES-NZ runs are responsible for the reported wild improment. It's runtimes have varied a lot before. As far as I can see from the log, the time it takes to run convert_to_string transform went down significantly with the changes in this PR. Let me check what changed for it...

I've timed it: convert_to_string take less time on the mig table now. It is probably because the table has fewer rows, since we keep previously exploded entries as lists for querying.

Thanks for looking into it! And no, not worth spending too much time on the test. It might be easier to write unit tests once we've converted many transforms into methods of the TimesModel class, perhaps.


Make install fails with error about python module

Is there some prerequisites missing? I am running this from RHEL8.6.
$ make install
make -f common/Makefile deploy
make[1]: Entering directory '/home/jwilms/code/multicloud-gitops'
Checking repo https://github.com/jwilms1971/multicloud-gitops.git - branch main
https://github.com/jwilms1971/multicloud-gitops.git - main exists
helm upgrade --install multicloud-gitops common/install/ -f values-global.yaml --set main.git.repoURL="https://github.com/jwilms1971/multicloud-gitops.git" --set main.git.revision=main --set global.hubClusterDomain=apps.hub-cluster-1.aws.jwilms.net
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/jwilms/clusters/hub-cluster-1/auth/kubeconfig
Release "multicloud-gitops" does not exist. Installing it now.
I0718 11:29:54.700962  120604 request.go:601] Waited for 1.179609528s due to client-side throttling, not priority and fairness, request: GET:https://api.hub-cluster-1.aws.jwilms.net:6443/apis/network.operator.openshift.io/v1?timeout=32s
NAME: multicloud-gitops
LAST DEPLOYED: Mon Jul 18 11:30:00 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
make[1]: Leaving directory '/home/jwilms/code/multicloud-gitops'
make[1]: Entering directory '/home/jwilms/code/multicloud-gitops'
make -f common/Makefile vault-init
make[2]: Entering directory '/home/jwilms/code/multicloud-gitops'
common/scripts/vault-utils.sh vault_init common/pattern-vault.init
PLAY [Vault initialization] ***********************************************************************************************************************************
TASK [vault_utils : include_tasks] ****************************************************************************************************************************
included: /home/jwilms/code/multicloud-gitops/common/ansible/roles/vault_utils/tasks/pre_check.yaml for localhost
TASK [vault_utils : Check if the kubernetes python module is usable from ansible] *****************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/python3.8", "-c", "import kubernetes"], "delta": "0:00:00.011533", "end": "2022-07-18 11:30:03.800305", "msg": "non-zero return code", "rc": 1, "start": "2022-07-18 11:30:03.788772", "stderr": "Traceback (most recent call last):\n  File "", line 1, in \nModuleNotFoundError: No module named 'kubernetes'", "stderr_lines": ["Traceback (most recent call last):", "  File "", line 1, in ", "ModuleNotFoundError: No module named 'kubernetes'"], "stdout": "", "stdout_lines": []}
PLAY RECAP ****************************************************************************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
make[2]: *** [common/Makefile:61: vault-init] Error 2
make[2]: Leaving directory '/home/jwilms/code/multicloud-gitops'
make[1]: *** [Makefile:10: vault-init] Error 2
make[1]: Leaving directory '/home/jwilms/code/multicloud-gitops'
make: *** [Makefile:13: install] Error 2

@mbaldessari I thought vault-init was no longer needed from the makefile

@mbaldessari I thought vault-init was no longer needed from the makefile

Only if you set "clusterGroup.insecureUnsealVaultInsideCluster: true" in your values-hub file. But even then you'll need the requirements for running 'make load-secrets'
@jwilms1971 Thanks for the report. I'll make sure these are checked and documented. In the meantime they are:

helm
oc
make
ansible + kubernetes.core (collection)

Ok so with the common/ update in multicloud-gitops I just did, there is a prereq check that will verify this things.
I will close this now. Thanks for the report!


Read an account from the service

As a customer
I need to view my account information
So that I can verify the details stored in my profile
Details and Assumptions

Only authenticated customers can view their account information.
The system should display accurate data from the database.

Acceptance Criteria
Given a logged-in customer
When they request to view their account
Then the system should return the correct account information

Story Points: 5


Can’t run when adding the project as sub-project

Successfully builds, but then on run time it crashes with the following error:
dyld: Library not loaded: @rpath/TLStoryCameraFramework.framework/TLStoryCameraFramework
  Referenced from: /var/containers/Bundle/Application/58611AD6-F3FB-48D3-85EE-9C92AB0F6E61/<app_file_name>.app/<app_name>
  Reason: image not found

Ok, was able to solve it by adding the framework on the Embedded Binaries section, but now:
let bundlePath = Bundle.main.path(forResource: "TLStoryCameraResources", ofType: "bundle") on TLStoryOverlayOutputView returns nil, making the app crash

The link of How to build this project is broken...

Solved it eventually by adding the resource bundle itself to main project


add the theorem of mahler lech and polya

common result from thinking about recursion in a language

this would actually need to be in a different section.


[libgnutls] Update to 3.7.8

What does your PR fix?
Updates libgnutls to 3.7.8. Fixes CVEs.
libgnutls documentation indicates that 3.7.x is a development branch. But it is commonly used and packaged instead of the "stable" 3.6.x branch releases. 3.6.x hasn't been updated in a while and lacks security fixes. References:
https://repology.org/project/gnutls/related
https://github.com/repology/repology-rules/pull/636

Which triplets are supported/not supported?


Is there a mistake in the "no indexing" example?

I tried to remove indexing from one of my collections using the "no indexing" example in this page that says: {"indexingPolicy": "none"}, but I don't think it worked. Then I tried writing {"indexingMode": "none"} and I think this one worked. Is there a mistake in the document, or am I doing something wrong? Your thoughts/help would be appreciated.
Regards,

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

ID: f1c7d0e0-b932-085e-6816-0b2219a1f37b
Version Independent ID: b463dc0b-313c-d90a-b8aa-c2b64004f812
Content: Manage indexing policies in Azure Cosmos DB
Content Source: articles/cosmos-db/how-to-manage-indexing-policy.md
Service: cosmos-db
GitHub Login: @ThomasWeiss
Microsoft Alias: thweiss

And, to add some more context, this is the command I tried running on the azure website, using the built-in console: az cosmosdb collection update --subscription $subscription --resource-group-name $resourceGroupName --name $accountName --db-name $databaseName --collection-name $containerName --indexing-policy "{"indexingPolicy": "none"}"
If I change the last part to say "indexingMode" instead of "indexingPolicy" it seems to work

@Nutriadmin Thank you for reporting this issue.
We are actively investigating and will get back to you shortly.

@Nutriadmin Thomas submitted a PR to fix the issue. We will now close it.
#please-close

@Nutriadmin That was a typo, thanks for pointing it out!


Remove Unnecessary Note on KeyValidatorClientType

Description:
Please remove below Note from the document, which information is no longer valid from apim-3.0 onwards

[1] https://apim.docs.wso2.com/en/latest/install-and-setup/setup/distributed-deployment/understanding-the-distributed-deployment-of-wso2-api-m/#understanding-the-distributed-deployment

Fixed with https://github.com/wso2/docs-apim/pull/1224 & https://github.com/wso2/docs-apim/pull/1223


Not able to /dump and no traces are collected.

Hi, this is an awesome project. I just tried it to memory profile my iOS app, but when I do a dump I get the following:
/dump -v
command handled by DotNet.Meteor.Debug.GCDumpLaunchAgent
Writing gcdump to '/Users/<myuser>/code/<myproject>/src/<myproject>/.meteor/<myproject>.gcdump'...
0,0s: Creating type table flushing task
0,0s: [Error] Exception during gcdump: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt16()
at Microsoft.Diagnostics.NETCore.Client.IpcHeader.Parse(BinaryReader reader) in /Users/runner/work/1/s/src/DotNet.Diagnostics/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcHeader.cs:line 55
at Microsoft.Diagnostics.NETCore.Client.IpcMessage.Parse(Stream stream) in /Users/runner/work/1/s/src/DotNet.Diagnostics/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcMessage.cs:line 117

Note; <myproject> is just me obfuscating.

I do get a connected successfully of dotnet-dsrouter:
info: dotnet-dsrouter-17120[0]
Starting dotnet-dsrouter using pid=17120
info: dotnet-dsrouter-17120[0]
Starting IPC server (/Users/<myuser>/ios-port.lock) <--> TCP client (<IP_ADDRESS>:11000) router.
info: dotnet-dsrouter-17120[0]
Successfully connected new device, id=3.

I've also tried the trace profiling, but no luck there as well :(
I've tried the troubleshooting, but no luck :(
Android works fine, but not iOS :(

➤ dotnet workload list
Installed Workload Id      Manifest Version       Installation Source
ios                        17.5.8020/8.0.100      SDK 8.0.300
maui                       8.0.72/8.0.100         SDK 8.0.300
android                    34.0.113/8.0.100       SDK 8.0.300

Hi, @haavamoa !

I've also tried the trace profiling, but no luck there as well :(

Let's try to find the problem using the trace mode:

Run your iOS application with trace. Can you see the following messages?

Can you see the Output File:  message?

If you don't see this message, is your app currently showing your MainPage or .NET SplashScreen?

Hi, @haavamoa !

I've also tried the trace profiling, but no luck there as well :(

Let's try to find the problem using the trace mode:

Run your iOS application (you can use debug + simulator) with trace. Can you see the following messages?

* Can you see the `Output File: ` message?
* If you **don't see** this message, is your app currently showing your MainPage or it is .NET SplashScreen?

Unfortunately , trace seems to exit my application once the splash screen is gone.

Can you check this behavior with simulator?

I just did, now I get a infamous clang+++ error with AppCenter package when building.
usr/local/share/dotnet/x64/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8020/targets/Xamarin.Shared.Sdk.targets(1641,3): error : clang++ exited with code 1: [<my-repo-patch>/<my-csproj>csproj::TargetFramework=net8.0-ios]
/usr/local/share/dotnet/x64/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8020/targets/Xamarin.Shared.Sdk.targets(1641,3): error : ld: in <my-repo-patch>/obj/Debug/net8.0-ios/iossimulator-arm64/linker-cache/AppCenter.a(MSACAppCenter.o), building for iOS Simulator, but linking in object file built for iOS, file '<my-repo-path>/obj/Debug/net8.0-ios/iossimulator-arm64/linker-cache/AppCenter.a' [<my-repo-path>/<my-csproj>csproj::TargetFramework=net8.0-ios]
/usr/local/share/dotnet/x64/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8020/targets/Xamarin.Shared.Sdk.targets(1641,3): error : clang: error: linker command failed with exit code 1 (use -v to see invocation) [<my-repo-path>/<my-csproj>csproj::TargetFramework=net8.0-ios]

This is fixed by adding this to the csproj, which makes sure I can build in Rider, but somehow not when I am using .NET Meteor in VSCode :(
    <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'">
        <RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
    </PropertyGroup>

Ah yeah, I notice that in VSCode it sets -p:RuntimeIdentifier=iossimulator-arm64 when building, and my property will get overridden.
I forgot to mention I run on Apple Sillicon.

Yes, you can override it. Update to the latest version (5.3.1 and higher) and use the following workaround:

Create .vscode/tasks.json file

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "dotnet-meteor.task",
			"target": "build",
			"problemMatcher": [
				"$dotnet-meteor.problemMatcher"
			],
			"label": "dotnet-meteor: Build",
			"args": [
                               // It removes auto provided value
				"-p:RuntimeIdentifier="
			],
			"group": {
				"kind": "build",
				"isDefault": true
			}
		}
	]
}

And update your launch.json file
{
    "version": "0.2.0",
    "configurations": [
        {
        ...
        },
        // Your new configuration for simulator-x64 only
        {
            "name": "(simX64) .NET Meteor Debugger",
            "type": "dotnet-meteor.debugger",
            "request": "launch",
            // You can specify path to the application here
            "program": "${workspaceFolder}/bin/Debug/net8.0-ios/iossimulator-x64/MauiTestApp.app",
            "preLaunchTask": "dotnet-meteor: Build",
        }
    ]
}

And you can select your new configuration here:

Thanks, now It builds but it's unable to launch due to looking in the wrong folders:
Failed to launch the simulator: Could not find file '<my-repo-path>/bin/Debug/net8.0-ios/iossimulator-arm64/<myapp>.

We can continue trying to solve this, or can we focus on device? Testing simulator is nice, but device is what I will have to run on when collecting memory dumps in the end of the day.

Also you can try to reproduce it in the new empty project (dotnet new maui). Maybe some library is reason of this behavior.
I can't reproduce this on a simulator or device with the latest version of iOS.

Just tested with this project: https://github.com/DIPSAS/DIPS.Mobile.UI , and it works.

Its nice, but at the same time not as the actual app I want to profile does not work :(
Originally, I  wanted to test gcdump on my project. As you see it runs, but it throws exceptions when I dump. Is there anything I can do to get some more details regarding that exception?
/dump -v
command handled by DotNet.Meteor.Debug.GCDumpLaunchAgent
Writing gcdump to '/Users/<myuser>/code/<myproject>/src/<myproject>/.meteor/<myproject>.gcdump'...
0,0s: Creating type table flushing task
0,0s: [Error] Exception during gcdump: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt16()
at Microsoft.Diagnostics.NETCore.Client.IpcHeader.Parse(BinaryReader reader) in /Users/runner/work/1/s/src/DotNet.Diagnostics/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcHeader.cs:line 55
at Microsoft.Diagnostics.NETCore.Client.IpcMessage.Parse(Stream stream) in /Users/runner/work/1/s/src/DotNet.Diagnostics/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcMessage.cs:line 117


Login / register page changes

Description
Convert existing login / register pages to use redux.
Add form validation with yup
Cleaned up code a bit
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)

How Has This Been Tested?

[x] Manually tested redux actions and observed form validation in action

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

 Add more verification to Login and Register forms

 Setup login / register to use redux


Paging for search results

Change the UX so it works with dense and sparse results: No radius so we get results even if the results are few and far between. Paging gives us good performance when there are many results.
Acceptance Criteria

[ ]  Service search related to topic (our server): Remove search argument setting the radius to 25km
[ ]  Service search related to topic: Set parameter per_page to 10 results
[ ]  Service search related to topic: Add a button "More results" to the client service list. Clicking the button loads the next page of data from the server and adds it to the list in the client, i.e. after clicking the "more" button twice, the list will contain 30 results
[ ]  Service search related to topic: Add google analytics hook to the "More" button
[ ]  Service search by keyword (algolia): Make sure no max radius is used (it's an option, but we're not using it, so no change required)

Outstanding issues related to search:

[ ] Me: Algolia search order bug https://github.com/pg-irc/pathways-frontend/issues/919
[ ] Aron: Empty screen for when the search term is empty, with mocks
[ ] Aron: Search input (both items) on the main search screen
[ ] Me: Remove max radius on search result in both algolia and our server, implement paging with a load more button with analytics on it https://github.com/pg-irc/pathways-frontend/issues/918
[ ] Arti: Search results analytics (edited)

tracked under #936


Get user's location using geolocation api

Resolves #3
Called the geolocation api in App.js and fetched co-ordinates of the user.
Please, go through these steps before you submit a PR.

[x] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Will work on these. The project is running fine in the local machine ! @Devansu-Yadav. Let me see what's the issue !

@Devansu-Yadav Done the changes!

@Devansu-Yadav remember to resolve conversations once you're satisfied with that particular change


Compile failed with build.sh and clang 6.0

It seems that clang treat all enum variable as unsigned, so compare unsigned to 0 should always be >=
[  0%] Building CXX object pal/src/CMakeFiles/Chakra.Pal.Singular.dir/shmemory/shmemory.cpp.o
/home/xm1994/ChakraCore/pal/src/shmemory/shmemory.cpp:904:16: error: comparison of unsigned enum expression < 0 is always false [-Werror,-Wtautological-unsigned-enum-zero-compare]
    if(element < 0 || element >= SIID_LAST)
       ~~~~~~~ ^ ~
/home/xm1994/ChakraCore/pal/src/shmemory/shmemory.cpp:946:16: error: comparison of unsigned enum expression < 0 is always false [-Werror,-Wtautological-unsigned-enum-zero-compare]
    if(element < 0 || element >= SIID_LAST)
       ~~~~~~~ ^ ~
2 errors generated.

@summershrimp thanks for reporting this. Would you like to contribute the fix? just remove the element < 0 ||  part from both of them and shoot the PR ?

@obastemur Would this affect other compiler？ Just wondering why somebody write a enum var < 0 here.

@summershrimp I don't see a reason to break and I'm not sure the original intention though

@obastemur Okay, I will make a PR off duty.

I think MSVC treats enum variables as signed (even if the enum is zero-based) while GCC/clang treats them as unsigned.  I have similar checks to this in my own code and clang annoyingly warns me about them too.


Allow for using python -m pyjs_code_runner.cli

This should allow for invoking the tool with  python -m pyjs_code_runner.cli`, which is also common for running Python applications.

Will probably be better to get https://github.com/emscripten-forge/pyjs-code-runner/pull/8 in first before undrafting.


Does not work with  macOS 12.3 Beta (21E5196i) Mail Version 16.0 (36<IP_ADDRESS>.1)

As happens from time to time MailTrackerBlocker is incompatible after an upgrade to a new beta OS.
MailTrackerBlocker is still the best way to block trackers - the inbuilt private relay stuff does not work in my environment due to something in my network settings.  Something Apple is too polite to mention.

Could you provide this value from 12.3?
defaults read /System/Applications/Mail.app/Contents/Info.plist PluginCompatibilityUUID

Of course!
$ defaults read /System/Applications/Mail.app/Contents/Info.plist PluginCompatibilityUUID
A4B49485-0377-4FAB-8D8E-E3B8018CFC21

Try 0.5.8

Confirmed working.  Thanks!
On 31 Jan 2022, 10:50 +0930, Aaron Lee @.***>, wrote:

Try 0.5.8
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

the inbuilt private relay stuff does not work in my environment due to something in my network settings

Possibly of assistance: https://developer.apple.com/support/prepare-your-network-for-icloud-private-relay/


Implement multi pk support

Hello!
This pull request adds multi primary key support to SQLAdmin.
Multi pk support is implemented using a function to convert a model instance into a single "identifier" and another function to split an identifier string back into individual pk values.
If a model has a single primary key, then the identifier is simply that field's value, which should mean these changes are compatible with existing code. When a model has multiple primary keys, their values are joined together to a string separated by semi-colons. Escaping applied to the primary key values in case they contain a semi-colon.
https://github.com/dexter-dopping-ekco/sqladmin/blob/4928a47c2e4ddf19cd6ba53d5bc2f53dc4c0d830/sqladmin/helpers.py#L192-L202
The rest of the changes are pretty simple. Wherever the old code used a single primary key, use the helper functions to make the code work with multiple primary keys instead.
Some things that are specific to single primary keys were kept in case users of SQLAdmin rely on those things in their code. I also tried to make sure the queries don't significantly change, for instance queries._get_to_many_stmt constructs the SQL statement in the same way as before if the model has a single primary key.
The existing test suite succeeds and I added some new tests. Let me know what you think.
Thanks,
Dexter

Hi Amin,
I pushed a bugfix for the _set_many_to_one function. This used the local_columns field which returns a set. A set is unordered but the code relied on the column order matching with that of the identifier. During my development/testing these happened to always match so I didn't catch the issue.
I'm now using local_remote_pairs along with a dict to lookup the values, instead of assuming there's a property that returns the FKs in the order of the corresponding PKs.
Apologies for the oversight.

Thank you for merging!


[bug] Error on or near line 182: the current account must have Owner privilege on the subscription to deploy launchpad.; exiting with status 2

Describe the bug
while executing the below command:
rover -lz /tf/caf/landingzones/caf_launchpad
-launchpad
-var-folder /tf/caf/landingzones/caf_launchpad/scenario/100
-parallelism=30
-a apply
I get the following error:
Expanding variable files: /tf/caf/landingzones/caf_launchpad/scenario/100/*.tfvars
@calling verify_azure_session
Checking existing Azure session
@calling process_target_subscription
Set TF_VAR_tfstate_subscription_id variable to current session's subscription.
caf_command launchpad
target_subscription_id caad40e7-aeb4-ZZZZZZZZZZZZZZ
TF_VAR_tfstate_subscription_id caad40e7-aeb4-ZZZZZZZZZZZZZZZ
Resources from this landing zone are going to be deployed in the following subscription:
{
"environmentName": "AzureCloud",
"homeTenantId": "781d7403-47b4-4193-ZZZZZZZZZZZZZ",
"id": "caad40e7-aeb4-4c18-ZZZZZZZZZZZZ",
"isDefault": true,
"managedByTenants": [],
"name": "ZZZZZZZZZZZZ",
"state": "Enabled",
"tenantId": "781d7403-47b4-4193-ZZZZZZZZZZZZZZZZ",
"user": {
"name"<EMAIL_ADDRESS>"type": "user"
}
}
debug: caad40e7-aeb4-4c18-ZZZZZZZZZZZZZ
Tfstates subscription set to caad40e7-aeb4-YYYY-82d5-XXXXXXXXXXXXXX (XXXXXXXXXXXX)
mode                          : 'launchpad'
terraform command output file : ''
tf_action                     : 'apply'
command and parameters        : '-var-file /tf/caf/landingzones/caf_launchpad/scenario/100/configuration.tfvars -var-file /tf/caf/landingzones/caf_launchpad/scenario/100/dynamic_secrets.tfvars -var-file /tf/caf/landingzones/caf_launchpad/scenario/100/iam_role_mapping.tfvars -var-file /tf/caf/landingzones/caf_launchpad/scenario/100/keyvaults.tfvars -var-file /tf/caf/landingzones/caf_launchpad/scenario/100/storage_accounts.tfvars'
level (current)               : 'level0'
environment                   : 'sandpit'
workspace                     : 'tfstate'
tfstate                       : 'caf_launchpad.tfstate'
tfstate subscription id       : 'caad40e7-aeb4-4c18-YYYYY-XXXXXXXXXX'
target subscription           : 'RajXXXXXXXXXXXX'
@calling process_actions
@calling verify_parameters
landingzone                   : '/tf/caf/landingzones/caf_launchpad'
@calling_deploy
@calling get_storage_id
@calling_get_logged_user_object_id

logged in user objectId: 63de8ec5-3db3-4fe1-YYYYY-XXXX<EMAIL_ADDRESS>Initializing state with user<EMAIL_ADDRESS>No launchpad found.
Deploying from scratch the launchpad
@calling initialize_state
Checking required permissions
@checking if current user (object_id: 63de8ec5-3db3-4fe1-ZZZZZZZZZZZZZZZZZZZZZ) is Owner of the subscription - only for launchpad
Error on or near line 182: the current account must have Owner privilege on the subscription to deploy launchpad.; exiting with status 2

To Reproduce
Steps to reproduce the behavior:
Execute the command from Rover on VisualStudio Code.
rover -lz /tf/caf/landingzones/caf_launchpad
-launchpad
-var-folder /tf/caf/landingzones/caf_launchpad/scenario/100
-parallelism=30
-a apply
Expected behavior
Should create the resources and exit with no error.
Screenshots
Attached screenshot with error
Configuration (please complete the following information):

OS and version: Windows 10
Version of the rover:  aztfmod/rover:2102.0100
Version of the landing zone:latest

I had the same issue and it's as the error says. You just have to add yourself as an Owner on your subscription. I was added as an Administrator on my subscription and I've added myself as Owner and after that it worked

Hi,
Can you please tell me how to add myself as owner? From the screenshot below it looks like I am Account admin

Can't remember exactly. I remember I've google it. https://www.msb365.blog/?p=83#:~:text=Azure portal%2B&text=On the Hub menu%2C select,user%2C and then click Select.

Hi cchiriac518,
Finally it worked. I added my user id again as owner.

Post adding the userid as owner to the subscription it works now.
Thanks and Regards
Rajendra


PFS 5-13 Wisp Swarm Hazards Are Missing Routines

Both the Helpful Wisp Swarm and Extremely Helpful Wisp Swarm hazards are missing the Routine entry.
Helpful Wisp Swarm
Routine (3 actions) The wisp swarm loses one action for eachsuccessful check to disable it. The wisps swarm to work on each of their actions, making a headbutt Strike against any creature within 10 feet of the tree and destroying 2d4 pages of notes.
Extremely Helpful Wisp Swarm
Routine (3 actions) The wisp swarm loses one action for each successful check to disable it. The wisps swarm to work on each of their actions, making a headbutt Strike against any creature within 10 feet of the tree and destroying 2d4 pages of notes.

This can be closed. Ninja'ed by an hour ;) #14382

I even looked for another ticket! Sorry for the extra junk.


Question : Why did you not use React.forwardRef() ?

I am confused why you don't use React.forwardRef for some components like , what is the logic behing this decision ?

Hi @bricejar,
Funny you ask, I just removed all use of forwardRef just yesterday: see commit.
I figgured out that the ref could just be an optional prop on every component. No need to forwardRef.
https://stackoverflow.com/questions/62931216/why-exactly-do-we-need-react-forwardref

I tried this:

import React, { ForwardedRef } from "react";

function Test({ ref }: { ref?: ForwardedRef<HTMLDivElement> }) {
  return
Test
;
}

export default function App() {
  const ref = React.useRef<HTMLDivElement>(null);

  return (

      <Test ref={ref}></Test>

  );
}

And I am getting this warning,

Why does it work in your case ?

Oh gosh, my Bad!
I'll rollback to using fotwardRef asap.
Thanks for reporting!

I just rollded back to using forwardRef everywhere.


error message when offline

When offline and trying to 'convert' something, the following error is reported:
"URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>"
Is it possible to add: "Do you have a working internet connection" to that error? I believe the error message comes from outside COW, so I couldn't directly add it myself.

No longer important: we now have cattle :)


Gut client of Topology integration

The purpose of this was to remove Topology integrations from the client and rely instead solely on the director. This was accomplished by getting rid of the namespaces package.
The big picture change here is that instead of having the client construct and pass around namespace objects, it now constructs and passes around a director response object, which is designed to have all the information needed to perform various client actions.
While working on this, I realized the Director also stopped responding with the base-paths key in the X-Pelican-Token-Generation header, so I lumped that into this (which I kind of had to do for some of the changes to make sense). That issue is tracked here, but I'll note this is only a partial, temporary fix to stop potential bleeding -- more thought should be given to it longterm.
While reviewing, it's safe to ignore the many thousands of lines of deleted code from the namespaces module. This is all legacy, and the goal of this was to remove it all and replace it with director equivalents.
I also fixed up a few duplicated Director requests I found, such as was the case with recursive downloads that called the Director twice -- once to construct namespace info, and once to get the collections URL. Now this is all done in the same query.
Closes #752

Also closed #1475


[issue #441] overlapblock Creator - Web design #32

upload html file and image sources for issue #441.
Here's the page preview:

Please help to review the codes and let me know if there's any problems, thanks!

Heartfelt Thanks for Your Contribution to Our Open Source Project!
            Dear @JoanLn,

            I trust this message finds you in good health and high spirits. I am reaching out with a heart full of gratitude for your recent contribution to our open source project. Your dedication has not only elevated the functionality of our project but has also exemplified the collaborative spirit that lies at the core of thriving open source communities.

            A heartfelt congratulations are in order for your exceptional work! Your commitment and expertise have played a pivotal role in the success of our project, and we consider ourselves truly fortunate to count you among our community members.

            I must extend my sincere apologies for the delay in responding to your pull request. Your patience and understanding during this time are immensely appreciated. As our project continues to grow, we acknowledge the imperative need to enhance the quality and response time for contributions. To address this, we've kickstarted a call for maintainers and reviewers who can help us uphold the high standards of our project and ensure swift responses to pull requests.

            Your involvement and insights would be invaluable in this initiative. If you, or someone you know, is interested in taking on a more active role in the project, please don't hesitate to reach out. We firmly believe that with a robust team of maintainers and reviewers, we can elevate both the quality of the project and the speed of our responses.

            On an exciting note, I am thrilled to share that we have activated the sponsorship button for our project. This development allows supporters like yourself to contribute to the sustainability and growth of the project. Your ongoing support, whether through code contributions or sponsorship, is genuinely appreciated.

            Once again, congratulations on your outstanding contribution, and thank you for being an indispensable part of our open source community. We eagerly anticipate your continued collaboration and shared success.

            Best regards,

            Ntem Kenyor K.
            Lead
            Kwickerhub


Test file 76ae1.json with duplicated item make test failing

Hello,
The file 76ae1.json has a duplicated entry, which to me should be incorrect json. Can you confirm ?
Duplication is at https://github.com/quicktype/quicktype/blob/master/test/inputs/json/misc/76ae1.json#L1665, "topic" element is provided twice.
I have notice this make my test failing (working on cJSON implementation), and I see several language skip this file, maybe for this reason ?
I can do a PR but first I would like to have a confirmation. Thanks.
Joel

@dvdsgl maybe you can help here ?

Fine to remove! Good catch.

Thanks for the reply, done at https://github.com/quicktype/quicktype/pull/2203!

PR merged, closing.


[DRAFT][Portal] Portal's Morse <> Shannon Feature Parity

Objective
Achieve feature parity between Morse & Shannon.
Origin Document
[ Why? Justify the issue in 1-2 sentences. Consider adding a link or a screenshot.]
Goals

Grove Gateway should be on a 1:1 feature parity between Morse & Shannon

Deliverables

[ ] Portal is running locally, outside of Tilt
[ ] Documentation in dev.poktroll.com so others can run Portal as well
[ ] Functional E2E relay w/ a make target that runs a curl script and retrieves a result

Non-goals / Non-deliverables

Not aiming to integrate Portal into Tilt
Not aiming to deploy Portal on DevNet

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @Olshansk
Co-Owners: @ezeike

Unused draft.


Implement Entry

An entry should contain variables like date, teacher, module, time, content, expectation.

Implemented in #7


[CLI-3172] TF: Authn API Key for Tableflow (WORK IN PROGRESS, DO NOT MERGE)

Link to JIRA Ticket:
https://confluentinc.atlassian.net/browse/CLI-3172

One particular difference between TF and CLI I notice is that, in CLI, we have to populate the key.Spec.Resource.Id regardless of if the key is resource specific:
https://github.com/confluentinc/cli/blob/main/internal/api-key/command_create.go#L115-L142
However I didn't noticed that in Terraform, since we didn't specify the Resource.Id during api key creation, can you please investigate to see if we are still able to create api-key without Resource.Id? If yes, what kind of key is that.


Fix docker build and prow testing

All changes were to correct issues with prow results and binary/container building. This will get the code base to a good state which will allow for others to be able to contribute code changes, and have healthy results in PR's and be able to merge.
Issues addressed:

Pulls in Katherines changes from PR 8
Local binary builds were failing due to package import declarations
Container builds were failing due to some needed directories not being copied over to the build container (pkg, config)
Prow Lint tests were fixed by either commenting out sections of unused logic/code, or exporting objects in packages that were not used in those packages (lint saw them as being unused -- many of these we may want to keep exported anyway)
Local runs of prow validate, coverage, lint, and test were all successful after changes (can be tested using make container-lint, make container-test, make container-validate, make container-coverage)
Bumps ubi-micro version (renders PR 6 obsolete)

/label tide/merge-method-squash

In order to fix the coverage test, I think we'll need to ensure these steps were done, looks like some are not setup yet
https://github.com/openshift/ops-sop/blob/master/services/codecov.md#generate-the-codecovio-token

/retest

/retest

/test ?

/test coverage

/retest coverage

/test coverage

/test coverage

A go mod tidy should fix this + https://github.com/openshift/release/pull/39842

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@adf5216). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##             main      #9   +/-   ##
======================================
  Coverage        ?   1.30%
======================================
  Files           ?      10
  Lines           ?     384
  Branches        ?       0
======================================
  Hits            ?       5
  Misses          ?     379
  Partials        ?       0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/lgtm


you should add shuffle

its not exactly a huge issue or anything but shuffle would be nice to have. i havent really toyed around with the web player to see its full potential and capabilities, but im very truly impressed with what youve managed to do thus far! keep up the good work man.
(also if there already is a shuffle feature that im being ignorant to, please let me know)

Thank you!
Regarding shuffle - at the time I built this, it wasn't ready for use. I will have to check again and see if it's been implemented within MusicKit JS. There is a temporary "shuffle" feature for albums/playlists at the top called "Shuffle All". (See #7 for more info)


Wave2Letter+

Hello, I have came up with a problem while training Wave2Letter+ on the LibriSpeech dataset from scratch. The terminal displays:

WARNING: tensorflow: It seems that global step (tf.train.get_global_step) has not been increased. Current value (could be stable): 10835 vs. previous value: 10835. You could increase the global step by passing tf.train.get_global_step() to Optimiser.apply_gradients or Optimiser.minimize.

This has happened twice in a row. The first time I thought something may have gone wrong so I restarted the training and when it reached the same step again, it displayed the same error. The training is ran on 4 GPUs Tesla K80.

This is related to mixed precision. K80 does not support float16, so you’d better switch to float.

Thank you @borisgin

@borisgin I am facing the same issue but on Tesla T4. Any pointers?


block js like window.alert()

Can vex.dialog.alert be made to block execution like the native alert box?

No, there is no browser API that would make this possible. Any custom dialog must be asynchronous.


Support for DEEP Trades?

Seems like an easy addition to include a method for DEEP trades, since book is already in there.
https://iexcloud.io/docs/api/#deep-trades

PRs are welcome!


image build broken on jenkins

Multiple pull requests are seeing the image build fail on Jenkins, e.g.,

https://jenkinsci.upbound.io/blue/organizations/jenkins/crossplane%2Fbuild/detail/PR-363/1/pipeline
https://jenkinsci.upbound.io/blue/organizations/jenkins/crossplane%2Fbuild/detail/PR-362/2/pipeline

[2019-04-02T16:45:46.752Z] Step 2/8 : RUN apk --no-cache add ca-certificates bash
[2019-04-02T16:45:46.752Z]  ---> Running in c627ed56a895
[2019-04-02T16:45:46.752Z] standard_init_linux.go:190: exec user process caused "no such file or directory"
[2019-04-02T16:45:46.752Z] The command '/bin/sh -c apk --no-cache add ca-certificates bash' returned a non-zero code: 1
[2019-04-02T16:45:46.752Z] 16:45:46 [FAIL]
[2019-04-02T16:45:46.752Z] Makefile:16: recipe for target 'img.build' failed
[2019-04-02T16:45:46.752Z] make[6]: *** [img.build] Error 1
[2019-04-02T16:45:46.752Z] make[5]: *** [do.build.artifacts.linux_arm64] Error 2

Google searches indicate it's a line endings issue, but I don't think the Dockerfile has changed at all recently.  Has the Jenkins instance/slave or docker daemon been updated recently? Do they need to be restarted?
This is blocking the v0.2 release that we want to get out this week.

This issue occurred when the qemu container stopped running on the slave Jenkins node. As the system is persistent, it is susceptible to gradual changes (OS/Application updates) which seem to have affected the Docker daemon. After rebooting the slave node, builds started running again.
Long Term Fixes:

[ ] Cycle slave node regularly (every other week)
[ ] Use configuration management (Chef) to keep slave configs in a declared state
[ ] Implement automate Packer process to generate updated templates used by slave nodes

Thanks for looking into this issue @Defilan, it looks like the builds are running again OK.  Are you tracking those "long term fixes" somewhere already so we don't forget them? Thanks!
Closing this issue for v0.2 since the builds are working again.


run/markdown-preview: use %w error handling

This PR is a test to see if build tags allow the go 1.13 %w error wrapping feature to be used in a Cloud Run sample app. It is a "litmus test" for a new contribution pattern around using newer golang language features.

I think the %w portion of this change can move forward following #1552.

Removed build tag and marked as ready for review.


Breaking changes in EF Core 3

Hi!
I have been trying to use GenericServices with EF Core 3 but there are breaking changes which make GenericServices incompatible. First issue I have found is that IEntityType.IsQueryType is no longer available in EF Core 3. There may be additional issues I have not found yet. You may want to take a look at this page for a list of changes:
https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes

Hi @MarcoGaribaldi,
I was pretty sure there would be breaking changes with EF Core 3. I'm quite busy at the moment so I don't plan to update GenericServices (or my other libs) until later. Maybe until its released.

Hi @MarcoGaribaldi ,
I'll keep this open as it reminds me of one of the changes I need to do for NET Core 3.

Sure, makes sense. Sorry for stepping in.
From: Jon P Smith<EMAIL_ADDRESS>Sent: Friday, May 3, 2019 11:22
To: JonPSmith/GenericServices<EMAIL_ADDRESS>Cc: Marco Garibaldi<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [JonPSmith/GenericServices] Breaking changes in EF Core 3 (#20)
Hi @MarcoGaribaldihttps://github.com/MarcoGaribaldi ,
I'll keep this open as it reminds me of one of the changes I need to do for NET Core 3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JonPSmith/GenericServices/issues/20#issuecomment-489026228, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABDOVPX32KNDQVJIBUM6CD3PTP745ANCNFSM4HJEJMEQ.


Add validations

...and test coverage for them

Coverage increased (+4.8%) to 74.359% when pulling 10ac1979c55a89f7c601616f643d443548e22e35 on validation into a8dd0e2f4d52d7f1f1fa42737417c0e4c0b46c56 on master.


automatically changing simulation parameters

It seems that changing the simulation parameters from time to time can support evolutionary adaptation to overcome local optima. A mechanism should be implemented that automatically changes the parameters but keeps an eye on the working replicators. If the number of replicators decreases too much, the parameters that ensure more friendly conditions should be used for a while.

A simple solution has been developed in feature branch simulation_changer and merge to the developer branch.


Remove the hacky value field and from_value method of axis-like inputs in favor of a new input mocking API

should be merged once #514 was merged.
renamed MockInput::send_input method to MockInput::press_input to better reflect its current functionality for clarity.
removed the hacky value field and from_value method from SingleAxis and DualAxis, in favor of a new input mocking API.
added new methods for sending value changed events to each axis of the input:

fn send_axis_values(&self, input: UserInput, values: impl IntoIterator<Item = f32>).
fn send_axis_values_as_gamepad(&self, input: UserInput, values: impl IntoIterator<Item = f32>, gamepad: Option<Gamepad>).

Oh thank goodness I hated that design!

Oh thank goodness I hated that design!谢天谢地，我讨厌这个设计。

Hmm, which way is better? I feel like adding a value field to the input is even stranger.

Broadly in favor of the refactor: I like how this looks, and the split is cleaner. The diff is quite messy still: can you rebase?


openapi client generator friendly

First of all I love how you wrote the project! Congrats!
I tried using Kompendium for a ktor microservice but I am having some issues with "org.openapi.generator" gradle plugin.
Because you are writing all the schemas inline (rather than referencing it from "components" tag) the models generated by the plugin have bad generated names (e.g. InlineResponse2001).
Maybe there is something that I am missing but please accept my 2 cents.
If you could:

Extract schemas in components
Name them appropriately, based on the class name
Reference the schemas from components using #ref
I think you would be the best project for generating Api Documentation for ktor :).

I'll fork your project, have a look at it and see if I can contribute.
In the meantime, keep up the good work! I'll follow you closely! :)

Thanks for the kind words :) glad you like the project!
This was actually how V1 was implemented, storing everything as referenced schemas. Unfortunately, as far as I can tell, you cannot have any kind of validation on reference schemas.
So for v2, I decided to make them all inline.  However, there are a couple potential ways you can get around this.

If you choose, you can annotate any class with @Referenced.  This will cause a reference type to be generated instead of the inline.  This would break any validation annotations, but this is more a limitation of OpenAPI than Kompendium as far as I'm aware.
There is an operationId that was added in this PR #106 I've never actually used it but my understanding is that it gives you a way to override method names when generated by openapi generators.  Might not help you because I think you want to adjust actual data class names, but still good to know :)

I was toying with the idea of adding an optional name parameter to @Referenced so that users could explicitly customize the reference name as well... do you think that would be helpful?

Although... in playing with https://editor.swagger.io just now... it does seem like you can add things like minimum and maximum to fields listed in the #components/schema array... so maybe we can go back to the approach where default is to have a reference.

I tried annotating my data class with @Referenced but it still serializes it inline. Here is the class:
@Referenced
@Serializable
data class CommonVehicle(
val vin: String,
val vehicleNumber: String,
val fbId: Long? = null,
val dfId: Long? = null
)

Ah you're right... annotating with referenced won't do anything at the moment due to a minor bug where the first level of a referenced class gets printed inline.
Referenced was added to help prevent stack overflows for recursive objects.
As for the serialization framework, it shouldn't matter :) Kompendium uses whichever content negotiator the api uses, and I've tested it with Jackson, Gson and Kotlinx and they're all supported.
Good news tho is that I think we can move everything to referenced without breaking the constraint annotations that I added in V2.
Not really sure why I thought the two couldn't coexist... guess I just got confused.

Hey, above is a draft PR that would update Kompendium to take every complex object and hydrate the reference array with them.  Then, on generation of the schema, we just convert the type to it's reference slug rather than populating the array with the object reference in line.
It is pretty much untested, and is going to break every test when I do :') but, i think this is a viable path forward.
There are a couple of things I need to figure out

All schemas need to be updated accordingly (array, map, etc.)
Recursive objects need to be supported

but neither of those should be that bad.  @geirsagberg Just a heads up, I'm thinking about deprecating @Referenced and adding an annotation @Recursive since this PR would make every complex object a reference object.  It was a glorious week long lifespan for our Referenced annotation :)

Thanks a bunch for the heads up! I will have a look at it and if it works I'll switch back to Kompendium.
Will come back with feedback! Wish you the best of luck! :)


Update node-static dependency in step4

This updates to last available version and fixes #47

Duplicate of PR 43. Closing.


Project ERROR: Cannot run compiler 'cl'. Output:

I have a really hard time getting this running on Windows.
Let me first say that I'm not really knowing what I'm doing, C++ is not my comfort zone and Qt even less.
I'm just trying to get this running on Windows too and hope you can maybe help.
https://github.com/Vampire/svn2git/runs/879715535 works fine with the setup on Linux.
Now I try to get it running on Windows.
But here is the problem: https://github.com/Vampire/svn2git/runs/879875430
Qt is installed fine, but when trying to run qmake the error from the title is raised and I'm kind of lost. :-/

You need to call the batch script that imports the visual studio paths on Windows. Something like this:
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

Ah, thanks, I needed that and that the call works shell: cmd.
With that qmake was able to run through.
Now make is failing though, so I have to dig further.
But regarding the bat I have to call.
Wouldn't it make sense you do this in the action?
I thought the intention of the action is, that you can then simply build with Qt without the installation and setup hassle you otherwise have to get it running.
Or do I just miss something because I'm not familiar with the toolchain?

On windows, to use the MSVC compiler you have to call that batch file which loads all the relevant files into path. This is just a fact of life on windows, but I think it is out of scope for my project because you may want to use a different sort of compiler.
As for your trouble with make, try using nmake instead (again, with that batch file already run).

I see, thanks.
Why must building C++ stuff always be so hard?
I'm very grateful for your help so far.
Unfortunately just replacing make with nmake did not do the trick.
With make I got https://github.com/Vampire/svn2git/runs/880239440
/usr/bin/bash: -c: line 1: syntax error: unexpected end of file
mingw32-make: *** [Makefile:51: sub-src-make_first] Error 1

With nmake I get https://github.com/Vampire/svn2git/runs/880257458
 Microsoft (R) Program Maintenance Utility Version 14.26.28806.0
Copyright (C) Microsoft Corporation.  All rights reserved.

	cd src\ && ( if not exist Makefile d:\a\svn2git\Qt\5.15.0\msvc2019_64\bin\qmake.exe -o Makefile D:\a\svn2git\svn2git\src\src.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe" -f Makefile

Microsoft (R) Program Maintenance Utility Version 14.26.28806.0
Copyright (C) Microsoft Corporation.  All rights reserved.
	"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe" -f Makefile.Release

	rc /NOLOGO -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DVER="\"a6144278283d9a9906aa7c085409679be8ed15f6\"" -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -fo release\svn-all-fast-export_resource.res svn-all-fast-export_resource.rc
Microsoft (R) Program Maintenance Utility Version 14.26.28806.0
Copyright (C) Microsoft Corporation.  All rights reserved.

svn-all-fast-export_resource.rc(4) : error RC2104 : undefined keyword or key name: a6144278283d9a9906aa7c085409679be8ed15f6

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.EXE"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"' : return code '0x2'

If you have further tips for me, that would be great, if not, then just close this issue, as the question regarding your project actually was answered. :-)

I'm happy to help any way I can.
I think maybe you should try running vcvars and qmake in the same step. There is some kind of an issue with an invalid .rc file being generated it seems, so i might try that.

I'm happy to help any way I can.

That's great, thanks. :-)

I think maybe you should try running vcvars and qmake in the same step.

I do, otherwise it would not work at all as a separate step means separate environment,
except if I would export the variables of interest through workflow command messages.
You can see the the workflow file in the run, can't you?
Also it is not failing in the qmake step now, but in the nmake step.

There is some kind of an issue with an invalid .rc file being generated it seems, so i might try that.

What it complains about, the  svn-all-fast-export_resource.rc(4) : error RC2104 : undefined keyword or key name: a6144278283d9a9906aa7c085409679be8ed15f6 is the Git commit SHA that is used as version. It is given as -DVER="\"a6144278283d9a9906aa7c085409679be8ed15f6\"" to rc and is defined in src.pro as
if(!defined(VERSION, var)) {
  VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
}
VERSTR = '\\"$${VERSION}\\"'  # place quotes around the version string
DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string

Ah, having looked a bit further I'm now under the impression I should instead use one of the mingw archs and build the binary with that.
If I use win64_mingw73 I get aqt.archives.ArchiveListError: Error while parsing package information!
But with win64_mingw81 installation worked, qmake worked (without the VS BAT file) and also make progressed until it couldn't find the apr headers that are not yet available, so seems this is the way to go.
Now I just have to find out how to get the apr and svn available.

Sorry for not replying, I've been busy for a while. Is there anything you still need help with?

Hi, I have the same issue:
Project ERROR: Cannot run compiler 'cl'. Output:

but I do not understand the solution. Can you please explain 😀
Thanks a lot in advance

Hi, I have the same issue:
Project ERROR: Cannot run compiler 'cl'. Output:

but I do not understand the solution. Can you please explain 😀
Thanks a lot in advance

What's the output?

What's the output?

Project ERROR: Cannot run compiler 'cl'. Output:
37
===================
38
===================
39
Maybe you forgot to setup the environment?

Project ERROR: Cannot run compiler 'cl'. Output:
37
===================
38
===================
39
Maybe you forgot to setup the environment?

Did you run vcvars?

Did you run vcvars?

no, should I? :/

no, should I? :/

Yes, you need to run that to get the visual studio tools in path. You can alternatively use mingw qt if you prefer.

Yes, you need to run that to get the visual studio tools in path. You can alternatively use mingw qt if you prefer.

Something like this: call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars%arch:~3,2%.bat"

Something like this: call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars%arch:~3,2%.bat"

how do I run this
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

just with a run: ?

how do I run this
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

just with a run: ?

it is using powershell by default, when call is only good for cmd prompt. I forgot about that.
use
shell: cmd with run

it is using powershell by default, when call is only good for cmd prompt. I forgot about that.
use
shell: cmd with run

I still don't get it:
run: shell: cmd "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

produces the following error:
Line |
16
   2 |  shell: cmd "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterpri …
17
     |  ~~~~~~
18
     | The term 'shell:' is not recognized as a name of a cmdlet, function, script file, or executable
19
     | program. Check the spelling of the name, or if a path was included, verify that the path is correct
20
     | and try again.

I still don't get it:
run: shell: cmd "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

produces the following error:
Line |
16
   2 |  shell: cmd "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterpri …
17
     |  ~~~~~~
18
     | The term 'shell:' is not recognized as a name of a cmdlet, function, script file, or executable
19
     | program. Check the spelling of the name, or if a path was included, verify that the path is correct
20
     | and try again.

maybe like this?
shell: cmd
run: call ...

maybe like this?
shell: cmd
run: call ...

Like this:
- name: Run vcvars (and presumably build after you edit this)
  run: |
    call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
  shell: cmd

Like this:
- name: Run vcvars (and presumably build after you edit this)
  run: |
    call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
  shell: cmd

      - name: Run vcvars
        run: |
          call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
        shell: cmd

      - name: Generate Makefile
        run: |
          qmake -o Makefile Test.pro

Result:
Run call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
10
**********************************************************************
11
** Visual Studio 2019 Developer Command Prompt v16.8.3
12
** Copyright (c) 2020 Microsoft Corporation
13
**********************************************************************
14
[vcvarsall.bat] Environment initialized for: 'x64'

but still
Project ERROR: Cannot run compiler 'cl'. Output:
32
===================
33
===================
34
Maybe you forgot to setup the environment?

      - name: Run vcvars
        run: |
          call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
        shell: cmd

      - name: Generate Makefile
        run: |
          qmake -o Makefile Test.pro

Result:
Run call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
10
**********************************************************************
11
** Visual Studio 2019 Developer Command Prompt v16.8.3
12
** Copyright (c) 2020 Microsoft Corporation
13
**********************************************************************
14
[vcvarsall.bat] Environment initialized for: 'x64'

but still
Project ERROR: Cannot run compiler 'cl'. Output:
32
===================
33
===================
34
Maybe you forgot to setup the environment?

You have to run qmake in the same step, because the environment is not transferred between steps.

You have to run qmake in the same step, because the environment is not transferred between steps.

Works. Thank you very much, especially for the super fast support.

Works. Thank you very much, especially for the super fast support.

Sure thing, no problem!

Sure thing, no problem!

could you provide a full example of a running QT flow on windows? Thanks

could you provide a full example of a running QT flow on windows? Thanks

check this
https://github.com/xiaoyifang/goldendict/blob/staged/.github/workflows/windows.yml

Thanks @xiaoyifang I also fixed my repo https://github.com/cagnulein/qdomyos-zwift/commit/fc1c246e8cce20e09eac8cd70fdf83b2cbb9a5e5