Profile SSO app utilization under load

Background:
We would like to gather historical resource usage detail from the Production SSO deployment to better target the resource requests/limits for both the front end application deployment, and the postgres DB.
Tasks:

capture SSO app pod daily resource consumption pattern (check sysdig for historical consumption metrics)
capture prod SSO DB daily resource consumption metrics (check sysdig for historical consumption metrics)
Document average/Peak resource targets for each component after reviewing historical metrics

whats the end point for sysdig :O

we should ask Redhat for guidance on the best way to load test KC

sysdig dashboard updated for SSO prod to demonstrate avg & max cpu/memory utilization for postgres and keycloak pods


Next version is 3.0.0

Overview
Trivial bump to version.mk in prep for v3.
Checklist

[x] Code is written and works correctly
[x] Changes are covered by tests
[x] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[x] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

Duplicate of #2193 - would you +1 my PR instead? thanks :)

(you also missed rel/reltool.config)


fix: Potential DOS attack by sending invalid UTF8 byte sequences

why not make the new UTF8Encoding second parameter 'false' instead?

Because it is useful for debugging, and @MichalPetryka says it is recommended by Microsoft.

To elaborate, creating an encoding object instance with the flag set to false takes more than twice as long according to @MichalPetryka 's timings. Additionally, from the page where Microsoft recommends setting it to true:
For security reasons, you should enable error detection by calling a constructor that includes a throwOnInvalidBytes parameter and setting that parameter to true

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


Instance revision stuck in running state if the job fails to pull image

Version: main
UI: dev-1a87bd6
Commit ID: 115598ec6675a9d65936b159eaefb199df5e8d5d
Env: Ubuntu 22.04 amd64, aws EC2
Test Steps:

Select a revision and modify the status to Running.

Create a job yaml file my-job.yaml, and modify the seal.io/application-revision-id to the id of the revision in step 1.

apiVersion: batch/v1
kind: Job
metadata:
  name: my-job
  labels:
    seal.io/application-revision-id: "459992795550056450"
  namespace: "seal-system"
spec:
  ttlSecondsAfterFinished: 0
  template:
    spec:
      containers:
        - name: alpine
          image: alpddd:3.6
          command: ["/bin/sh", "-c", "echo Hello Kubernetes! && sleep 1"]
      restartPolicy: Never

Deploy the job on the embedded Kubernetes of seal. kubectl apply -f my-job.yaml.
Wait for a while and view the revision status.

Test Result:

The revision stuck in running state.

No more valid in the latest version


Cannot display multiple map components on the same page

when I try to do this

to show 2 map picker components on the same page. It only display the first one and the second one is blank like this

any idea how to solve this. thank you in advance
The error says "You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors."

hi @pugun , sorry for the late reply. I think the bug has been fixed in version 1.2.2. But this version uses react 17. If you can not use it, I can create another fix for react 16. Thanks!


Show which component is used?

Hey,
the scene Hierarchie view is quite nice, but would it be also somehow possible to see which components/script is used on each game object?

Yes probably, but someone would have to implement it.

Already working on it

nice, thanks for the answer :)

No ETA, I have started the basic groundwork but a lot more has to be done.

alright, thanks for your hard work!

yes that would be great to see the data connections and scripts in hierarchie

Any update on this feature ?

Yeah I'm frustrated with the scene hierarchy as it doesn't give me any info other than the contents of a scene. Going to do a spike where you can get the details from the objects in the hierarchy and cross reference them with the gameobject/asset. If you guys want it will issue a PR. Thanks.


Transaction.prison updated from prisoner location upload

This changes the logic behind the Transaction.prison field.
When new transactions get uploaded and created, they don't have the the notion of 'assigned prison'. This information is in an extra file called prisoner location upload containing a list of (prisoner_number, prisoner_dob, prison).
The actual prison of a transaction is the left outer join between the tables transaction and prisoner location on (prisoner_number, prisoner_dob).
I tried changing the queries so that the prison would be calculated by executing the above join every time but it wasn't working well so we decided to pre-calculate the prison and store it in the Transaction.prison field instead.
As transactions and prisoner location records are created at different times though, it was hard to determine when to update prison field so we decided to update it either when a new transaction gets created AND/OR when an new prisoner location file gets uploaded.
During this process, we ignore the transactions which have been locked, credited or refunded so that we don't change any work in progress.
Finally, if a transaction gets unlocked without being credited or refunded, we update the prison field to make sure that we have the latest version.
I had to change the test data as we need dummy prisoner location records now when creating dummy transactions.

@ibrechin finally finished, ready to be core reviewed

We might want to think about adding some new DB indexes for that query but that's probably best done in post-release tuning.
:+1:


test: Add test to call async callback

Adds a test to call an asynchronous callback
  callbackAsyncPromise(callback: () => Promise<number>): Promise<number>

With this change, I can now reproduce the memory corruption bug:
- NitroExample(36309,0x104f4c580) malloc: Heap corruption detected, free list is damaged at 0x281e3f5a0
*** Incorrect guard value:<PHONE_NUMBER>8897
- NitroExample(36309,0x104f4c580) malloc: *** set a breakpoint in malloc_error_break to debug

With this new test we now have this bug: https://github.com/swiftlang/swift/issues/78292


Type Parser system should allow the platform to specify arguments

What is the feature you'd like to have?
When the clang type parser determines its list of arguments, currently it is only specified by the private internal code, leaving no ability for plugins to include other arguments for clang to enable them to have types parsed correctly. Indeed the only way to actually get the correct triple is by naming your platform exactly the same as what clang expects (or have a hard-coded patch in the core, not exactly accessible).
Is your feature request related to a problem?
#4817 and related
Are any alternative solutions acceptable?
Could keep hard coding new platforms forever, but that doesn't seem very extensible to me.
Proposed solution
Add an additional callback to Platform for changing the arguments. I'm thinking some sort of back-and-forth, where the Parser gives the Platform all of the arguments it plans to use, and the Platform can modify them however it desires and send them back. That way platforms can have full control over what goes into Clang. Signature something like this:
std::vector<std::string> Platform::AdjustTypeParserArguments(Ref<TypeParser> parser, const std::vector<std::string>& existingArguments); // TBD: Pass source too?

And this would be called within the type parser code, right before the compiler invocation is created, roughly at clang_svcs.cpp:1246

Dev builds >= 4.1.4923 have a setting analysis.types.parserDefaultArgs which allows users to specify custom arguments used for all type parser operations. Unfortunately for now, this setting is only applied globally and there is not an easy way for it to apply to a specific BinaryView or Project. With a UIContextNotification plugin, this can be worked around, though. Leaving this issue open as it tracks a proper solution, as detailed above.

Further investigation suggests the proper solution to this is blocked by Platforms not actually having a callback system. There are a couple solutions to that:

Block on #1977 introducing this system
Write this system, but only for this one function
Use a less powerful solution (platform can specify static string args?)

Sounds like the plan for this for now is going to be Block on #1977 since it sounds like progress is being made on that which will enable this soon.

This has been implemented as of >= 4.1.5408-dev. Platforms can now implement Platform::AdjustTypeParserInput (or Platform.adjust_type_parser_input in Python) and make adjustments to both the parser arguments and the source files/contents. A sample usage was added to the Windows platforms which fixes the clang target to -pc-windows-msvc if it would have been -unknown-windows-unknown


Przygotowanie do segmentacji

[ ] użyć maksimum i sumy po kanałach jako podstawy segmentacji z MSO
[ ] sprawdzić co lepiej: najpierw sum/maks na kolorach i potem MSO, czy najmpierw MSO na każdym kolorze, a potem jakoś połączyć
[ ] sprawdzić, czy da się poprawić multiscale opening, żeby działało na wielowymiarowych danych bez ich spłaszczenia sum/maks lepiej niż w a)

@Czaki coś się udało? Mógłbyś proszę napisać co próbowałeś?

Based on my test, the mode for sum does not work promising. When checking the publication, it also shows that there are neurons marked with only single weak probe

The tries with combined channels (either sum or maximum) struggles with regions like this:

But if we take a look at rendering as separate channels, the nucleus is looking mire clearly separated.

However, the problems are still nucleus, like most left, that are barely visible. Maybe I need to sit again to try to read Matlab code from the original paper.

@Czaki i udało się z tym kodem z matlaba?

From the paper, I have landed on NeuroPAL webpage https://www.hobertlab.org/neuropal/
The code for autodetect neurons is here: https://github.com/amin-nejat/CELL_ID/blob/759898d3b0f4265afdf0a03249fc111c5553b52a/%2BMethods/AutoDetect.m
This what I found is that they are using edge detection, and thresholding. I need to investigate edge detection for better split of cells. However, you may see on above screenshots, that there are edges inside nucleus territory.
After digging teaching materials I have found that there is zenodo community for neuropal https://zenodo.org/search?q=neuropal&l=list&p=1&s=10&sort=bestmatch, so my next steep is to download data from there and compare it with our data, then check its quality and format.
But initial check shows much better quality of data:

Good catch. The more data to test ideas on the better. Any progress?
PS. I do not understand this sentence: "However, you may see on above screenshots, that there are edges inside nucleus territory."

Are you trying anything? How about other algorithms? You told me during the summer holidays that you were working on manually preparing the data for testing. Where is this dataset? Can you run different algorithms on it and prepare a summary of the results (what metric would be appropriate?)?


Feature/rename params for consistency

Hi @kissedcode!
First of all, thanks for the contribution.
Regarding the changes, I'd prefer to not integrate them because of the next reasons:

The sendXXX (photo, audio, document, etc...) methods offered by Telegram Bot API allow sending the correspondent media in three different ways; by sending the file id, the file url or by sending the file itself as a part of a multipart request. In those methods, we currently support sending the file as file id or as file url. Therefore, using file id as parameter name won't be correct at all because it can be either a file id or a file url.
To keep consistency with Telegram Bot API. We use the current names they're using in the API methods.
To avoid breaking changes in the library API. Adding these changes will force to all users that update the library to the release version that which includes these changes to update all the code where they were referencing the updated code without any direct benefit.

What's your opinion about this?


AppWindow.IsShownInSwitchers crash when explorer.exe is not running or responsive

Describe the bug
Calling this API will crash the app if explorer.exe is not responsive.
Steps to reproduce the bug

Kill explorer.exe
Call this api in Window constructor, like

class MainWindow
{
    public MainWindow()
    {
        //get app window
       appWindow.IsShownInSwitchers = false;
    }
}

Launch the app, it crashes immediately

Expected behavior
The app should continue to run
Screenshots

NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

It calls :
ITaskbarList::HrInit
ITaskbarList::DeleteTab
and crashes at ITaskbarList::HrInit
If you call this directly (P/Invoke in C# with  [PreserveSig] in the declaration), it does not crash (HRESULT returns E_NOTIMPL, which can be intercepted)
(tested on Windows 10 22H2)

The really silly question is, have you tried wrapping the IsShownInSwitchers call in a try/catch block?
Because this is a WinRT component, the projection works in a pretty predictable fashion.
            [contract(Microsoft.Foundation.WindowsAppSDKContract, 1.0)]
            [exclusiveto(Microsoft.UI.Windowing.AppWindow)]
            [uuid(CFA788B3-643B-5C5E-AD4E-321D48A82ACD)]
            interface IAppWindow : IInspectable
            {
                [propget] HRESULT Id([out] [retval] Microsoft.UI.WindowId* value);
                [propget] HRESULT IsShownInSwitchers([out] [retval] boolean* value);
                [propput] HRESULT IsShownInSwitchers([in] boolean value);
                [propget] HRESULT IsVisible([out] [retval] boolean* value);
                [propget] HRESULT OwnerWindowId([out] [retval] Microsoft.UI.WindowId* value);
                [propget] HRESULT Position([out] [retval] Windows.Graphics.PointInt32* value);
                [propget] HRESULT Presenter([out] [retval] Microsoft.UI.Windowing.AppWindowPresenter** value);
                [propget] HRESULT Size([out] [retval] Windows.Graphics.SizeInt32* value);
                [propget] HRESULT Title([out] [retval] HSTRING* value);
                [propput] HRESULT Title([in] HSTRING value);
                [propget] HRESULT TitleBar([out] [retval] Microsoft.UI.Windowing.AppWindowTitleBar** value);
                HRESULT Destroy();
                HRESULT Hide();
                HRESULT Move([in] Windows.Graphics.PointInt32 position);
                [overload("MoveAndResize")] HRESULT MoveAndResize([in] Windows.Graphics.RectInt32 rect);
                [overload("MoveAndResize")] HRESULT MoveAndResizeRelativeToDisplayArea([in] Windows.Graphics.RectInt32 rect, [in] Microsoft.UI.Windowing.DisplayArea* displayarea);
                HRESULT Resize([in] Windows.Graphics.SizeInt32 size);
                [default_overload] [overload("SetIcon")] HRESULT SetIcon([in] HSTRING iconPath);
                [overload("SetIcon")] HRESULT SetIconWithIconId([in] Microsoft.UI.IconId iconId);
                [default_overload] [overload("SetPresenter")] HRESULT SetPresenter([in] Microsoft.UI.Windowing.AppWindowPresenter* appWindowPresenter);
                [overload("SetPresenter")] HRESULT SetPresenterByKind([in] Microsoft.UI.Windowing.AppWindowPresenterKind appWindowPresenterKind);
                [overload("Show")] HRESULT Show();
                [overload("Show")] HRESULT ShowWithActivation([in] boolean activateWindow);
                [eventadd] HRESULT Changed([in] Windows.Foundation.TypedEventHandler<Microsoft.UI.Windowing.AppWindow*, Microsoft.UI.Windowing.AppWindowChangedEventArgs*>* handler, [out] [retval] EventRegistrationToken* token);
                [eventremove] HRESULT Changed([in] EventRegistrationToken token);
                [eventadd] HRESULT Closing([in] Windows.Foundation.TypedEventHandler<Microsoft.UI.Windowing.AppWindow*, Microsoft.UI.Windowing.AppWindowClosingEventArgs*>* handler, [out] [retval] EventRegistrationToken* token);
                [eventremove] HRESULT Closing([in] EventRegistrationToken token);
                [eventadd] HRESULT Destroying([in] Windows.Foundation.TypedEventHandler<Microsoft.UI.Windowing.AppWindow*, IInspectable*>* handler, [out] [retval] EventRegistrationToken* token);
                [eventremove] HRESULT Destroying([in] EventRegistrationToken token);
            }

This is the interface definition for IAppWindow, which is one of the interfaces that backs the AppWindow runtime class. You can see that the second and third members are IsShownInSwitchers, they are the property getter and setter respectively. The projection for a language ends up calling through to this interface. Using the C++ projection as an example, because it is easier to get the source of, they get projected as:
    template <typename D> auto consume_Microsoft_UI_Windowing_IAppWindow<D>::IsShownInSwitchers() const
    {
        bool value{};
        check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Windowing::IAppWindow)->get_IsShownInSwitchers(&value));
        return value;
    }
    template <typename D> auto consume_Microsoft_UI_Windowing_IAppWindow<D>::IsShownInSwitchers(bool value) const
    {
        check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Windowing::IAppWindow)->put_IsShownInSwitchers(value));
    }

The check_hresult basically throws an exception if the ABI call fails.
    inline hresult check_hresult(hresult const result WINRT_IMPL_SOURCE_LOCATION_ARGS_NO_DEFAULT)
    {
        if (result < 0)
        {
            throw_hresult(result WINRT_IMPL_SOURCE_LOCATION_FORWARD);
        }
        return result;
    }

The C# language projection works like this too. This means that the exception that comes out of IsShownInSwitchers will be catchable by the language's exception handling mechanics. I personally do not class a noisy failure as a bug in this case. It is especially true because IsShownInSwitchers is documented to interact with the shell.
Gets or sets a value that indicates whether this window will appear in various system representations, such as ALT+TAB and taskbar.

So failing when the shell is unavailable should be expected. It might not be as well known, but the WinRT projections do convert ABI failures into exceptions for the language you are working in. While a brief search doesn't result in anything definitive, .NET mappings of WinRT types in C#/WinRT does state that HRESULTS get mapped to System.Exception. In other words, you should always be ready to handle exceptions when working with WinRT components.

The thing is, you don't need explorer.exe to be present to show the switcher, just like it mentioned in Alt+Tab.

As it calls ITaskbarList::HrInit, this mainly calls FindWindow with "Shell_TrayWnd" and returns E_NOTIMPL if it cannot get it...

@HO-COOH
It is documented that you need explorer.exe to be present, just in a roundabout way. Consider what happens if the first instance of explorer.exe dies. It is possible to configure explorer to show folders in a second process.
Anyway, if explorer dies you lose the entire desktop and taskbar.

What is harder to show is that you also lose the pretty alt+tab representation too. So considering that the existence of the taskbar and the modern alt+tab is dependent on explorer.exe running, how is it possible that you don't need it running to call IsShownInSwitchers?

I am just randomly looking through the issues again. I just wanted to express my opinion that, they really should document the possible exception in a clear fashion to avoid wasting everyone's time (imagine when a customer's installing some software which might restart explorer.exe, and your app crash because you didn't put it in a try catch block, and the crash dump is just a messy trash)


Named/Designated Initializers in C99

When using a compile_commands.json specifying C99 (though I believe clang will still allow designated initializers albeit with a warning in -Wpedantic even without specifying C99..), designated initializer members are not suggested.
Unsure if its unimplemented or requires a toggle.
vkCmdBeginRenderPass(buffer, &(VkRenderPassBeginInfo){
  . // NOTE: When completing here, no members are suggested
}, c);

Client is:
vim version: NVIM v0.4.0-715-g4658e9c1d
coc.nvim version: 0.0.65-6efe8037a6

Clangd is:
$ clangd --version
clangd version 8.0.1 (tags/RELEASE_801/final)

unfortunately it is not implemented in clang at all. Checked the layering and stuff around, a possible way forward looks like:

Handle code completion tokens while parsing field designators
This requires the knowledge about the decl currently being parsed for initializers in Sema, I suppose the safest way is to add a stack into Sema that will be modified by ActOnCXX{Enter,Exit}DeclInitializer.
Later on we can generate any completions looking at the decl.

wdyt @ilya-biryukov ?

Are there plans to implement this feature?

Any news on this?

This has been implemented a while ago, see:

Please re-open if this doesn't work with a recent enough clangd (i think this should be available in clangd-10, but you can also try clangd-11 to be sure), while providing your logs.

I still have this issue.
If you take the example above by @Moggers
vkCmdBeginRenderPass(buffer, &(VkRenderPassBeginInfo){
  . // NOTE: When completing here, no members are suggested
}, c);

Applied to @kadircet example

Looks like we forgot CompundLiteralExprs in the initial patch. Sent out https://reviews.llvm.org/D92370 to address the issue.
In the meanwhile, you can use FunctionalCastExprs i.e. bar(Foo{.x =1, .y = 2}) if you must mention the type name.

Built from source and it works like a dream.
Thank you very much for this, I like it a lot.

@kadircet @Moggers, hi! Is this fix is present in 11.1.0?
Only designators in simple assignments seem to function correctly.
The majority of these cases doesn't offer completion:
#include <stdio.h>

struct Inner {
	int inner1;
	int inner2;
};

struct Struct {
	int value1;
	int value2;
	struct Inner nest;
};

static void func1(struct Struct param) {
	printf("%d\n", param.value1);
}

static void func2(struct Struct const * param) {
	printf("%d\n", param->value1);
}

int main (int argc, char * argv[]) {
	(void)argc; (void)argv;

	struct Struct local1 = {
		.value1 = 100, // offers completion
		.nest = {
			.inner1 = 900, // doesn't offer completion
		}
	}; (void)local1;

	struct Struct local2 = (struct Struct){
		.value1 = 100, // doesn't offer completion
		.nest = (struct Inner){
			.inner1 = 500, // doesn't offer completion
		}
	}; (void)local2;

	func1((struct Struct){
		.value1 = 1, // doesn't offer completion
	});

	func2(&(struct Struct){
		.value2 = 2, // doesn't offer completion
	});

	return 0;
}

Settings: https://github.com/Feacur/game_prototype/tree/master/__sublime_project

Log (Language server, init) that illustrates the issue:
:: --> clangd initialize(1): {'workspaceFolders': [{'name': 'prototype', 'uri': 'file:///F:/Projects/game_prototype/prototype'}, {'name': '__sublime_project', 'uri': 'file:///F:/Projects/game_prototype/__sublime_project'}, {'name': 'framework', 'uri': 'file:///F:/Projects/game_prototype/framework'}, {'name': 'application', 'uri': 'file:///F:/Projects/game_prototype/application'}, {'name': 'third_party', 'uri': 'file:///F:/Projects/game_prototype/third_party'}, {'name': 'assets', 'uri': 'file:///F:/Projects/game_prototype/assets'}, {'name': 'project', 'uri': 'file:///F:/Projects/game_prototype/project'}, {'name': 'bin', 'uri': 'file:///F:/Projects/game_prototype/bin'}, {'name': '__vscode_workspace', 'uri': 'file:///F:/Projects/game_prototype/__vscode_workspace'}], 'processId': 14768, 'rootPath': 'F:\\Projects\\game_prototype\\prototype', 'capabilities': {'window': {'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}, 'workDoneProgress': True}, 'experimental': {}, 'textDocument': {'rangeFormatting': {'dynamicRegistration': True}, 'completion': {'completionItem': {'snippetSupport': True}, 'completionItemKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}, 'dynamicRegistration': True}, 'publishDiagnostics': {'relatedInformation': True}, 'colorProvider': {'dynamicRegistration': True}, 'typeDefinition': {'linkSupport': True, 'dynamicRegistration': True}, 'declaration': {'linkSupport': True, 'dynamicRegistration': True}, 'implementation': {'linkSupport': True, 'dynamicRegistration': True}, 'signatureHelp': {'signatureInformation': {'documentationFormat': ['markdown', 'plaintext'], 'parameterInformation': {'labelOffsetSupport': True}}, 'dynamicRegistration': True}, 'definition': {'linkSupport': True, 'dynamicRegistration': True}, 'documentHighlight': {'dynamicRegistration': True}, 'rename': {'dynamicRegistration': True}, 'hover': {'contentFormat': ['markdown', 'plaintext'], 'dynamicRegistration': True}, 'formatting': {'dynamicRegistration': True}, 'references': {'dynamicRegistration': True}, 'synchronization': {'willSave': True, 'didSave': True, 'willSaveWaitUntil': True, 'dynamicRegistration': True}, 'documentSymbol': {'hierarchicalDocumentSymbolSupport': True, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}, 'dynamicRegistration': True}, 'codeAction': {'codeActionLiteralSupport': {'codeActionKind': {'valueSet': []}}, 'dynamicRegistration': True}}, 'workspace': {'workspaceFolders': True, 'symbol': {'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}, 'dynamicRegistration': True}, 'configuration': True, 'executeCommand': {}, 'applyEdit': True, 'workspaceEdit': {'documentChanges': True, 'failureHandling': 'abort'}, 'didChangeConfiguration': {'dynamicRegistration': True}}}, 'initializationOptions': {}, 'clientInfo': {'name': 'Sublime Text LSP', 'version': '0.14.3'}, 'rootUri': 'file:///F:/Projects/game_prototype/prototype'}
clangd: I[20:22:53.310] clangd version 11.1.0
clangd: I[20:22:53.311] PID: 31676
clangd: I[20:22:53.311] Working directory: F:\Projects\game_prototype\prototype
clangd: I[20:22:53.311] argv[0]: C:/Program Files/LLVM/bin/clangd.exe
clangd: I[20:22:53.311] argv[1]: --log=verbose
clangd: I[20:22:53.311] argv[2]: -compile-commands-dir=F:\Projects\game_prototype\__sublime_project
clangd: V[20:22:53.317] User config file is C:\Users\Feacu\AppData\Local\clangd\config.yaml
clangd: I[20:22:53.317] Starting LSP over stdin/stdout
clangd: V[20:22:53.318] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"experimental":{},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":[]}},"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"publishDiagnostics":{"relatedInformation":true},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"executeCommand":{},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort"},"workspaceFolders":true}},"clientInfo":{"name":"Sublime Text LSP","version":"0.14.3"},"initializationOptions":{},"processId":14768,"rootPath":"F:\\Projects\\game_prototype\\prototype","rootUri":"file:///F:/Projects/game_prototype/prototype","workspaceFolders":[{"name":"prototype","uri":"file:///F:/Projects/game_prototype/prototype"},{"name":"__sublime_project","uri":"file:///F:/Projects/game_prototype/__sublime_project"},{"name":"framework","uri":"file:///F:/Projects/game_prototype/framework"},{"name":"application","uri":"file:///F:/Projects/game_prototype/application"},{"name":"third_party","uri":"file:///F:/Projects/game_prototype/third_party"},{"name":"assets","uri":"file:///F:/Projects/game_prototype/assets"},{"name":"project","uri":"file:///F:/Projects/game_prototype/project"},{"name":"bin","uri":"file:///F:/Projects/game_prototype/bin"},{"name":"__vscode_workspace","uri":"file:///F:/Projects/game_prototype/__vscode_workspace"}]}}
clangd:
clangd: I[20:22:53.318] <-- initialize(1)
clangd: I[20:22:53.320] --> reply:initialize(1) 2 ms
clangd: V[20:22:53.320] >>> {"id":1,"jsonrpc":"2.0","result":{"capabilities":{"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"referencesProvider":true,"renameProvider":true,"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","member","function","member","variable","class","enum","enumConstant","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 11.1.0"}}}
clangd:
clangd: V[20:22:53.321] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
clangd:
clangd: I[20:22:53.321] <-- initialized
:: <<< clangd 1: {'capabilities': {'declarationProvider': True, 'documentFormattingProvider': True, 'documentLinkProvider': {'resolveProvider': False}, 'typeHierarchyProvider': True, 'hoverProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',']}, 'semanticTokensProvider': {'full': {'delta': True}, 'range': False, 'legend': {'tokenModifiers': [], 'tokenTypes': ['variable', 'variable', 'parameter', 'function', 'member', 'function', 'member', 'variable', 'class', 'enum', 'enumConstant', 'type', 'dependent', 'dependent', 'namespace', 'typeParameter', 'concept', 'type', 'macro', 'comment']}}, 'documentSymbolProvider': True, 'completionProvider': {'resolveProvider': False, 'allCommitCharacters': [' ', '\t', '(', ')', '[', ']', '{', '}', '<', '>', ':', ';', ',', '+', '-', '/', '*', '%', '^', '&', '#', '?', '.', '=', '"', "'", '|'], 'triggerCharacters': ['.', '<', '>', ':', '"', '/']}, 'selectionRangeProvider': True, 'workspaceSymbolProvider': True, 'referencesProvider': True, 'documentRangeFormattingProvider': True, 'executeCommandProvider': {'commands': ['clangd.applyFix', 'clangd.applyTweak']}, 'definitionProvider': True, 'textDocumentSync': {'openClose': True, 'change': 2, 'save': True}, 'renameProvider': True, 'documentOnTypeFormattingProvider': {'moreTriggerCharacter': [], 'firstTriggerCharacter': '\n'}, 'codeActionProvider': {'codeActionKinds': ['quickfix', 'refactor', 'info']}, 'documentHighlightProvider': True}, 'serverInfo': {'name': 'clangd', 'version': 'clangd version 11.1.0'}}
clangd: V[20:22:53.328] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"c","text":"#include <stdio.h>\n\nstruct Inner {\n\tint inner1;\n\tint inner2;\n};\n\nstruct Struct {\n\tint value1;\n\tint value2;\n\tstruct Inner nest;\n};\n\nstatic void func1(struct Struct param) {\n\tprintf(\"%d\\n\", param.value1);\n}\n\nstatic void func2(struct Struct const * param) {\n\tprintf(\"%d\\n\", param->value1);\n}\n\nint main (int argc, char * argv[]) {\n\t(void)argc; (void)argv;\n\n\tstruct Struct local1 = {\n\t\t.value1 = 100, // offers completion\n\t\t.nest = {\n\t\t\t.inner1 = 900, // doesn't offer completion\n\t\t}\n\t}; (void)local1;\n\n\tstruct Struct local2 = (struct Struct){\n\t\t.value1 = 100, // doesn't offer completion\n\t\t.nest = (struct Inner){\n\t\t\t.inner1 = 500, // doesn't offer completion\n\t\t}\n\t}; (void)local2;\n\n\tfunc1((struct Struct){\n\t\t.value1 = 1, // doesn't offer completion\n\t});\n\n\tfunc2(&(struct Struct){\n\t\t.value2 = 2, // doesn't offer completion\n\t});\n\n\treturn 0;\n}\n","uri":"file:///F:/Projects/game_prototype/prototype/test.c","version":0}}}
::  -> clangd initialized: {}
clangd:
clangd: I[20:22:53.328] <-- textDocument/didOpen
clangd: I[20:22:53.330] Loaded compilation database from F:\Projects\game_prototype\__sublime_project
clangd: I[20:22:53.330] --> window/workDoneProgress/create(0)
clangd: V[20:22:53.330] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
clangd:
::  -> clangd textDocument/didOpen
clangd: I[20:22:53.330] Enqueueing 0 commands for indexing
clangd: I[20:22:53.331] ASTWorker building file F:\Projects\game_prototype\prototype\test.c version 0 with command
:: <-- clangd window/workDoneProgress/create(0): {'token': 'backgroundIndexProgress'}
clangd: [F:\Projects\game_prototype\__sublime_project]
:: >>> clangd 0: None
clangd: C:\Program Files\LLVM\bin\clang-tool -std=c99 -Werror -Weverything -Wno-switch-enum -Wno-float-equal -Wno-reserved-id-macro -Wno-nonportable-system-include-path -Wno-assign-enum -Wno-bad-function-cast -I..  -I ../third_party -D GAME_TARGET_DEBUG -D _CRT_SECURE_NO_WARNINGS -D WIN32_LEAN_AND_MEAN -D NOMINMAX -D UNICODE -internal-isystem C:\Program Files\LLVM\lib\clang\11.1.0\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\atlmfc\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt -internal-isystem C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -internal-isystem C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -internal-isystem C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -Werror -Weverything -Wno-switch-enum -Wno-float-equal -Wno-reserved-id-macro -Wno-nonportable-system-include-path -Wno-assign-enum -Wno-bad-function-cast -std=c99 -fdebug-compilation-dir F:\Projects\game_prototype\__sublime_project -ferror-limit 19 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms-compatibility-version=19.28.29910 -fdelayed-template-parsing -faddrsig -x c F:\Projects\game_prototype\prototype\test.c
clangd: V[20:22:53.342] Building first preamble for F:\Projects\game_prototype\prototype\test.c version 0
clangd: V[20:22:53.419] indexed preamble AST for F:\Projects\game_prototype\prototype\test.c version 0:
clangd: symbol slab: 1654 symbols, 457584 bytes
clangd: ref slab: 0 symbols, 0 refs, 136 bytes
clangd: relations slab: 0 relations, 24 bytes
clangd: V[20:22:53.447] Build dynamic index for header symbols with estimated memory usage of 1264472 bytes
clangd: V[20:22:53.454] Built preamble of size 843672 for file F:\Projects\game_prototype\prototype\test.c version 0
clangd: V[20:22:53.477] indexed file AST for F:\Projects\game_prototype\prototype\test.c version 0:
:: <-  clangd textDocument/publishDiagnostics: {'version': 0, 'uri': 'file:///F:/Projects/game_prototype/prototype/test.c', 'diagnostics': []}
clangd: symbol slab: 10 symbols, 6544 bytes
clangd: ref slab: 1 symbols, 2 refs, 4256 bytes
clangd: relations slab: 0 relations, 24 bytes
clangd: V[20:22:53.477] Build dynamic index for main-file symbols with estimated memory usage of 15752 bytes
clangd: I[20:22:53.477] --> textDocument/publishDiagnostics
clangd: V[20:22:53.477] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///F:/Projects/game_prototype/prototype/test.c","version":0}}
clangd:

Log (Language server, correct completion) that illustrates the issue:
:: --> clangd textDocument/completion(3): {'textDocument': {'uri': 'file:///F:/Projects/game_prototype/prototype/test.c'}, 'position': {'line': 25, 'character': 7}}
clangd: V[20:23:33.803] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":25},"textDocument":{"uri":"file:///F:/Projects/game_prototype/prototype/test.c"}}}
clangd:
clangd: I[20:23:33.803] <-- textDocument/completion(3)
clangd: I[20:23:33.818] Code complete: sema context DotMemberAccess, query scopes [] (AnyScope=true), expected type <none>
clangd: I[20:23:33.819] Code complete: 2 results from Sema, 0 from Index, 0 matched, 0 from identifiers, 2 returned.
:: <<< clangd 3: {'isIncomplete': False, 'items': [{'kind': 5, 'score': 13.200000762939453, 'sortText': '3eacccccvalue1', 'insertTextFormat': 2, 'filterText': 'value1', 'textEdit': {'range': {'start': {'character': 3, 'line': 25}, 'end': {'character': 7, 'line': 25}}, 'newText': 'value1'}, 'label': ' value1', 'insertText': 'value1', 'detail': 'int'}, {'kind': 5, 'score': 13.200000762939453, 'sortText': '3eacccccvalue2', 'insertTextFormat': 2, 'filterText': 'value2', 'textEdit': {'range': {'start': {'character': 3, 'line': 25}, 'end': {'character': 7, 'line': 25}}, 'newText': 'value2'}, 'label': ' value2', 'insertText': 'value2', 'detail': 'int'}]}
clangd: I[20:23:33.819] --> reply:textDocument/completion(3) 15 ms
clangd: V[20:23:33.819] >>> {"id":3,"jsonrpc":"2.0","result":{"isIncomplete":false,"items":[{"detail":"int","filterText":"value1","insertText":"value1","insertTextFormat":2,"kind":5,"label":" value1","score":13.200000762939453,"sortText":"3eacccccvalue1","textEdit":{"newText":"value1","range":{"end":{"character":7,"line":25},"start":{"character":3,"line":25}}}},{"detail":"int","filterText":"value2","insertText":"value2","insertTextFormat":2,"kind":5,"label":" value2","score":13.200000762939453,"sortText":"3eacccccvalue2","textEdit":{"newText":"value2","range":{"end":{"character":7,"line":25},"start":{"character":3,"line":25}}}}]}}
clangd:

Log (Language server init, no completion) that illustrates the issue:
:: --> clangd textDocument/completion(5): {'textDocument': {'uri': 'file:///F:/Projects/game_prototype/prototype/test.c'}, 'position': {'line': 32, 'character': 7}}
clangd: V[20:24:08.570] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/completion","params":{"position":{"character":7,"line":32},"textDocument":{"uri":"file:///F:/Projects/game_prototype/prototype/test.c"}}}
clangd:
clangd: I[20:24:08.570] <-- textDocument/completion(5)
:: <<< clangd 5: {'isIncomplete': False, 'items': []}
clangd: I[20:24:08.582] Code complete: 0 results from Sema, 0 from Index, 0 matched, 0 from identifiers, 0 returned.
clangd: I[20:24:08.582] --> reply:textDocument/completion(5) 11 ms
clangd: V[20:24:08.582] >>> {"id":5,"jsonrpc":"2.0","result":{"isIncomplete":false,"items":[]}}
clangd:

System information
Output of clangd --version: clangd version 11.1.0
Editor/LSP plugin: Sublime Text 3 (Version 3.2.2, Build 3211) / https://packagecontrol.io/packages/LSP (1.2.13 / 0.14.3)
Operating system: Windows 10 Home, 10.0.19042 Build 19042
P.S.: the same behaviour as with libclang (https://github.com/niosus/EasyClangComplete/issues/742)

Nested initializers are handled in https://github.com/llvm/llvm-project/commit/eb4ab3358cd4
Unfortunately not in the (still pending) 12 release, need to wait for 13

That's awesome, thank you!

Hi!
Completion of named nested initializers now works as of clangd version 13.0.0.
Unfortunately, it does not seem to support anonymous structures and unions.
struct test {
	struct {
		int x;
		struct {
			int y;
		} nested;
	} nested;

	struct {
		int z,w;
	}; // anonymous struct
};

int main()
{
	struct test t = {
		.nested = { .x = 3, .nested = { .y = 6 }, }, // full completion
		. // no completion for anonymous struct members z,w
	};

 	return 0;
}```

@sam-mccall @kadircet, would you guys know if support for anonymous structures and unions is on the table?
A question for @Moggers, would you happen to be using clang-format as well? I've been trying to use clang-format to autoformat code like in your vulkan snippet, to no avail. I want clang-format to give me this result:
vkCmdBeginRenderPass(buffer, &(VkRenderPassBeginInfo){
  .
}, c);

but it formats it like this
vkCmdBeginRenderPass(
    buffer,
    &(VkRenderPassBeginInfo){
          .
    },
    c);


invalid envelope key: public key 0 on account 0x... does not have a valid signature: signature is not valid

Instructions
Since devnet23 we recive the following error when sending a transaction:
❌ Transaction Error
[Error Code: 1006] invalid proposal key: public key 0 on account 78e99faf36749018 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account 78e99faf36749018 does not have a valid signature: signature is not valid

Problem
Cant send transactions on access-002.devnet23.nodes.onflow.org:9000
Steps to Reproduce
flow transactions send --include code  ./cli_transfer_to_unlocked.cdc  --host access-002.devnet23.nodes.onflow.org:9000 --include signatures --include payload

import FungibleToken from 0x9a0766d93b6608b7
import FlowToken from 0x7e60df042a9c0868

transaction() {

    // The Vault resource that holds the tokens that are being transferred
    // let sentVault: @FungibleToken.Vault
    // let vaultRef: @FungibleToken.Vault
    let signer: AuthAccount

    prepare(signer: AuthAccount) {

        // Get a reference to the signer's stored vault

        self.signer = signer
        // Withdraw tokens from the signer's stored vault
        // self.sentVault <- vaultRef.withdraw(amount: 1.0)
    }

    execute {

        // Get the recipient's public account object
        let recipient = getAccount(0x7b3c9f4fcd02f554)

        // Get a reference to the recipient's Receiver
        let receiverRef = recipient.getCapability(/public/flowTokenReceiver)!.borrow<&{FungibleToken.Receiver}>()
			?? panic("Could not borrow receiver reference to the recipient's Vault")

        // Deposit the withdrawn tokens in the recipient's receiver
        let vaultRef = self.signer.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault)
			?? panic("Could not borrow reference to the owner's Vault!")
        receiverRef.deposit(from: <-vaultRef.withdraw(amount: 2.0))
        receiverRef.deposit(from: <-vaultRef.withdraw(amount: 3.0))

    }
}

{
    "accounts": {
        "emulator-account": {
            "address": "78e99faf36749018",
            "keys": [{
                "type": "hex",
                "index": 0,
                "signatureAlgorithm": "ECDSA_secp256k1",
                "hashAlgorithm": "SHA3_256",
                "context": {
                    "privateKey": "..."
                }
            }]
        }
    }
}

Acceptance Criteria
Context

@yagop Can you let me know your CLI version by running flow version

Sure thing @sideninja
Version: v0.21.0
Commit: cf4263be022bafcd2e5728ebc5d7ce0ff7747972

Please make sure you are connecting to the current testnet access node as listed here: https://docs.onflow.org/access-api/

Issue was open when Devnet 23 was the latest testnet.
Same error happens with devnet24:
flow-cli transactions send --include code  /tmp/scripts/cli_transfer_to_unlocked.cdc  --host access-001.devnet24.nodes.onflow.org:9000 --include signatures --include payload
Transaction ID: 4f9a268868403bdfa279b8cada194648605df48c15c714ae1e164ae34c7a8c50

❌ Transaction Error
[Error Code: 1006] invalid proposal key: public key 0 on account 78e99faf36749018 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account 78e99faf36749018 does not have a valid signature: signature is not valid

Status          ✅ SEALED
ID              4f9a268868403bdfa279b8cada194648605df48c15c714ae1e164ae34c7a8c50
Payer           78e99faf36749018
Authorizers     [78e99faf36749018]

Proposal Key:
    Address     78e99faf36749018
    Index       0
    Sequence    61

No Payload Signatures

Envelope Signature 0:
    Address     78e99faf36749018
    Signature   f05845924a3c9c4b549c667e2006d242dfe3ed51ac74cb68c0f3678be214145074d73f7b5e02ab5f8105f3101176e633c2278cfcfe6cde65411b7a1d17f082a6
    Key Index   0

Events:  None

Arguments       No arguments

Code

// docker run -v  /Users/yago/Develop/flow-gateway-bp/docker/fsg-flow/src/contracts/:/tmp/scripts -v /Users/yago/Develop/flow-gateway-bp/docker/fsg-flow/test/regtest/cli/flow.json:/root/flow.json -w /root/ --rm -it reg-kakarot.chorse.space/funding/flow-node:dev-v0.9.3 /usr/local/bin/flow-emulator transactions send --results -c /tmp/scripts/cli_transfer_to_unlocked.cdc  --host access-001.devnet17.nodes.onflow.org:9000
//  access-001.mainnet1.nodes.onflow.org:9000
import FungibleToken from 0x9a0766d93b6608b7
import FlowToken from 0x7e60df042a9c0868

transaction() {

    // The Vault resource that holds the tokens that are being transferred
    // let sentVault: @FungibleToken.Vault
    // let vaultRef: @FungibleToken.Vault
    let signer: AuthAccount

    prepare(signer: AuthAccount) {

        // Get a reference to the signer's stored vault

        self.signer = signer
        // Withdraw tokens from the signer's stored vault
        // self.sentVault <- vaultRef.withdraw(amount: 1.0)
    }

    execute {

        // Get the recipient's public account object
        let recipient = getAccount(0x7b3c9f4fcd02f554)

        // Get a reference to the recipient's Receiver
        let receiverRef = recipient.getCapability(/public/flowTokenReceiver)!.borrow<&{FungibleToken.Receiver}>()
                        ?? panic("Could not borrow receiver reference to the recipient's Vault")

        // Deposit the withdrawn tokens in the recipient's receiver
        let vaultRef = self.signer.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault)
                        ?? panic("Could not borrow reference to the owner's Vault!")
        receiverRef.deposit(from: <-vaultRef.withdraw(amount: 2.0))
        receiverRef.deposit(from: <-vaultRef.withdraw(amount: 3.0))

    }
}

Payload:
f90762f90716b906d02f2f20646f636b65722072756e202d7620202f55736572732f7961676f2f446576656c6f702f666c6f772d676174657761792d62702f646f636b65722f6673672d666c6f772f7372632f636f6e7472616374732f3a2f746d702f73637269707473202d76202f55736572732f7961676f2f446576656c6f702f666c6f772d676174657761792d62702f646f636b65722f6673672d666c6f772f746573742f726567746573742f636c692f666c6f772e6a736f6e3a2f726f6f742f666c6f772e6a736f6e202d77202f726f6f742f202d2d726d202d6974207265672d6b616b61726f742e63686f7273652e73706163652f66756e64696e672f666c6f772d6e6f64653a6465762d76302e392e33202f7573722f6c6f63616c2f62696e2f666c6f772d656d756c61746f72207472616e73616374696f6e732073656e64202d2d726573756c7473202d63202f746d702f736372697074732f636c695f7472616e736665725f746f5f756e6c6f636b65642e63646320202d2d686f7374206163636573732d3030312e6465766e657431372e6e6f6465732e6f6e666c6f772e6f72673a393030300a2f2f20206163636573732d3030312e6d61696e6e6574312e6e6f6465732e6f6e666c6f772e6f72673a393030300a696d706f72742046756e6769626c65546f6b656e2066726f6d203078396130373636643933623636303862370a696d706f727420466c6f77546f6b656e2066726f6d203078376536306466303432613963303836380a0a7472616e73616374696f6e2829207b0a0a202020202f2f20546865205661756c74207265736f75726365207468617420686f6c64732074686520746f6b656e73207468617420617265206265696e67207472616e736665727265640a202020202f2f206c65742073656e745661756c743a204046756e6769626c65546f6b656e2e5661756c740a202020202f2f206c6574207661756c745265663a204046756e6769626c65546f6b656e2e5661756c740a202020206c6574207369676e65723a20417574684163636f756e740a0a2020202070726570617265287369676e65723a20417574684163636f756e7429207b0a0a20202020202020202f2f204765742061207265666572656e636520746f20746865207369676e657227732073746f726564207661756c740a0a202020202020202073656c662e7369676e6572203d207369676e65720a20202020202020202f2f20576974686472617720746f6b656e732066726f6d20746865207369676e657227732073746f726564207661756c740a20202020202020202f2f2073656c662e73656e745661756c74203c2d207661756c745265662e776974686472617728616d6f756e743a20312e30290a202020207d0a0a2020202065786563757465207b0a0a20202020202020202f2f204765742074686520726563697069656e742773207075626c6963206163636f756e74206f626a6563740a20202020202020206c657420726563697069656e74203d206765744163636f756e7428307837623363396634666364303266353534290a0a20202020202020202f2f204765742061207265666572656e636520746f2074686520726563697069656e7427732052656365697665720a20202020202020206c6574207265636569766572526566203d20726563697069656e742e6765744361706162696c697479282f7075626c69632f666c6f77546f6b656e526563656976657229212e626f72726f773c267b46756e6769626c65546f6b656e2e52656365697665727d3e28290a0909093f3f2070616e69632822436f756c64206e6f7420626f72726f77207265636569766572207265666572656e636520746f2074686520726563697069656e742773205661756c7422290a0a20202020202020202f2f204465706f736974207468652077697468647261776e20746f6b656e7320696e2074686520726563697069656e7427732072656365697665720a20202020202020206c6574207661756c74526566203d2073656c662e7369676e65722e626f72726f773c26466c6f77546f6b656e2e5661756c743e2866726f6d3a202f73746f726167652f666c6f77546f6b656e5661756c74290a0909093f3f2070616e69632822436f756c64206e6f7420626f72726f77207265666572656e636520746f20746865206f776e65722773205661756c742122290a202020202020202072656365697665725265662e6465706f7369742866726f6d3a203c2d7661756c745265662e776974686472617728616d6f756e743a20322e3029290a202020202020202072656365697665725265662e6465706f7369742866726f6d3a203c2d7661756c745265662e776974686472617728616d6f756e743a20332e3029290a0a202020207d0a7dc0a0f8a843d7aa9ce44c883ff93cc919965017bcb202a2a06d4b019c214af55698158203e88878e99faf36749018803d8878e99faf36749018c98878e99faf36749018c0f846f8448080b840f05845924a3c9c4b549c667e2006d242dfe3ed51ac74cb68c0f3678be214145074d73f7b5e02ab5f8105f3101176e633c2278cfcfe6cde65411b7a1d17f082a6

flow-cli version
Version: v0.24.0
Commit: f10e04b2dcea3f7db4a4489cbe9cc5fb96d9a864

Hey @yagop, we'll try to reproduce this.
What signature and hash algorithms are you using? Would you be comfortable sharing a redacted version of your "accounts" configuration in flow.json? You can send it to use privately on Discord if you'd prefer.

flow.json
{
    "accounts": {
        "emulator-account": {
            "address": "78e99faf36749018",
            "keys": [{
                "type": "hex",
                "index": 0,
                "signatureAlgorithm": "ECDSA_secp256k1",
                "hashAlgorithm": "SHA3_256",
                "context": {
                    "privateKey": "..."
                }
            }]
        }
    }
}

@yagop sorry for closing the issue and waiting longer for resolution.
I did some research on this and it seems to me there are few possibilities for what is causing this problem. The most possible I think is that you have the wrong signature algorithm in the configuration for the account.
I've tried to retrieve this account from testnet and I get this:
Address	 0x78e99faf36749018
Balance<PHONE_NUMBER>0
Keys	 1

Key 0	Public Key		 4c7d13a34ccf5a5cf8254045510c685a8292dff6b1a8b69d3b5735f4ff35b677e674531a8ba5ad7ae59ee7aee157c5778ebc0d0decb664d1702da1d979e025f0
	Weight			 1000
	Signature Algorithm	 ECDSA_P256
	Hash Algorithm		 SHA3_256
	Revoked 		 false
	Sequence Number 	 61
	Index 			 0

The signature algorithm on this account is ECDSA_P256 and in your flow config you use ECDSA_secp256k1. I can not confirm the key is actually the correct one since you rightfully so didn't share it so maybe try changing signatureAlgorithm property in flow config to ECDSA_P256 and report back.
I will make sure we resolve this asap.

might have been surfaced due to upgrading to a CLI version that includes this fix: https://github.com/onflow/flow-cli/pull/121

Right @sideninja signature algorithm has to be ECDSA_P256.
We use ECDSA_secp256k1 for other account. My bad.

hello everyone, I'm still getting the same error and i tried changing both signature and hashing algorithm.. but the error is same
here's my config:
"accounts": {
 "emulator-account": {
"address": "0xf8d6e0586b0a20c7",
"key": "...",
"chain": "flow-emulator",
"sigAlgorithm": "ECDSA_P256",
"hashAlgorithm": "SHA3_256"
}
	},

Right @sideninja signature algorithm has to be ECDSA_P256.
We use ECDSA_secp256k1 for other account. My bad.

Great, happy to see this resolved.

hello everyone, I'm still getting the same error and i tried changing both signature and hashing algorithm.. but the error is same
here's my config:
"accounts": {
 "emulator-account": {
"address": "0xf8d6e0586b0a20c7",
"key": "...",
"chain": "flow-emulator",
"sigAlgorithm": "ECDSA_P256",
"hashAlgorithm": "SHA3_256"
}
 },

Hi @codeComet, could you provide the error, CLI version and on which network you are connecting (emulator, testnet, mainnet) when you receive the error?


build: tweak the conditional for section_magic (amended)

This amends #12781 by @compnerd (because he's busy) with an additional change to correct a variable checked by another section_magic-related conditional. These patches prevent host libraries (such as swiftDemangle) from unnecessarily depending on section_magic.

LGTM

@swift-ci please test and merge


.attach(elements) doesn't accept array of elements.

The documentation indicates that the attach() method accepts an 'array of DOM elements'.
However this no longer functions. Passing in an array of DOM elements does nothing. Internally I believe the array is replaced with an empty array in getWavesElements function, shown below.
var stringRepr = toString.call(nodes);

        if (stringRepr === '[object String]') {
            return $$(nodes);
        } else if (isObject(nodes) && /^\[object (HTMLCollection|NodeList|Object)\]$/.test(stringRepr) && nodes.hasOwnProperty('length')) {
            return nodes;
        } else if (isDOMNode(nodes)) {
            return [nodes];
        }

toString.call(rowItemElements);
"[object Array]"

Seen above, an array of DOM elements will not match any of the above if statements.

Good point! Thanks :+1:


Cargo features

creates optional full feature (enabled by default) to allow for optional reduced-dependency version of fastsim

Converted to draft pending review with Google.

@calbaker could we look at merging this? There are changes to vehicle import organization that I want to work on in fastsim-2 without needing to wait for abc to drag coeff organization (the last remaining thing feature-gated only by the default feature)


FATA[...] Initial server URL host is not defined for load balancer

Hi,
I'm trying to connect a K3s Node to a K8s Master.
While starting the k3s agent:
 # k3s agent -s <master IP> -t <master token>

i get the following error:

INFO[...] Starting k3s agent v1.0.0 (18bd921c)
INFO[...] module overlay was already loaded
INFO[...] module nf_conntrack was already loaded
INFO[...] module br_netfilter was already loaded
WARN[...] Error starting load balancer: Initial server URL host is not defined for load balancer
FATA[...] Initial server URL host is not defined for load balancer

Any thoughts?
Thanks!

Thanks for the info! We should probably verify the server is valid earlier in the process, but the K3S_URL or --server flag should be a complete URL with scheme and port, eg: https://<IP_ADDRESS>:6443

Yes! This was the problem.
Thank you @erikwilson for the fast reply.

This was the specific problem,
but this course is currently irrelevant because of #1110 .
Thank you @erikwilson for the fast reply.


Update CRSED FOAD

Game Title
CRSED FOAD
Game Website
No response
Anti-Cheat Software
Easy Anti-Cheat
Status of the Anti-Cheat
⭐ Supported
Proof of Mention
https://steamdb.info/app/884660/

It still doesn't work. No announcement. It was most likely listed on accident
https://user-images.githubusercontent.com/106219913/170176492-7423462e-b2e6-4903-ad5d-4e38467f533b.mp4

The game added a native Linux version, that doesn't work?


add time options for localization

closes https://github.com/microsoft/pxt-microbit/issues/4126
Thanks for your help @jwunderl!
Should I add anything in the defining-blocks.md about localizing field options?

so that file is user / extension author facing but they wouldn't really be able to do the same thing as we did here -- if we wanted to add a note on how to do it to that file we'd probably want to make it something the user can do solely from static typescript but that's more work that I'm not sure is worth doing right now.
We can add a note if you think it's right but I don't think we'd take prs adding arbitrary lfs just to support those being added in an extension or anything, and I haven't seen any extensions that would actually make use of that in the first place.


[Suggestion] Create: Backtank and Diving Gear ability for armor

If you somehow can, add a backtank and diving gear support from Create for Tinkers Construct armor.
They will use a ability slot.
If all the armor is upgraded to netherite and helmet has diving helmef ability, it will have fire resistance just like the new netherite diving gear and backtank they added in newest create update.
Backtank will use pressure
I don't know if you can make that you can place armor and make it connect but if you can, it would be so cool!

Great suggestions. I'll take a look at this. It isn't typically difficult to integrate stuff with Create, so I'll check into this soon. Working on updating another mod at the moment, so I hope to get back to this soon.


Update to OSG 3.6

And more closely align the GHA with the state-of-the-art. Unfortunately, the PR build checks won't run until the GHA bits are merged. I could split the PR up into separate commits so we get actual CI checks.

Oh I lied, PR actions are running here https://github.com/opensciencegrid/docker-central-collector/actions

Good call, moved to https://github.com/opensciencegrid/images/pull/60


About HA

Whether can deploy a highly available environment when I using this module?

This module isn't capable of deploying an HA setup yet. We're working on getting pacemaker capabilities in https://github.com/stackforge/puppet-openstack_extras and we'll be able to use that in this module eventually.
I'll add a note about that to the documentation.

@cmurphy I want to deploy a HA OpenStack environment with version Juno. Can you recommend a way? Many thanks!

Also interested in this.
I modified a previous version of the module to use non neutron, nova-network distributed (HA) mode.
Hoping to use Neutron DVR, if possible. Not as worried about other components being HA.

I don't have a good solution using puppet yet. I'd recommend reading the guide at http://docs.openstack.org/high-availability-guide/content/ch-intro.html and keeping an eye on the openstack_extras repository. Also join #openstack-operators and #puppet-openstack on freenode and talk to the folks there about their HA solutions.

Also interested in this.

I am currently deploying OpenStack HA using Puppet. Pacemaker is far from behind useful. Almost everything (everything except Ceilometer it seems) can become HA Active/Active using HAProxy, MySQL Galera and RabbitMQ HA Cluster. Even Neutron is HA with the new l3_ha feature.

Thanks @cmurphy
What modules did you use?  @Quentin-M
I have a plan to using python and depend on ansible to auto deploy a HA environment. Are you interested in this? @yongluo2013 @benh57 @Quentin-M @cmurphy

@Quentin-M Thanks! Can you share your module?

Absolutely. You can find it there : https://github.com/Quentin-M/puppet-iaas
Feel free to do everything you want.
My puppet module is currently used to deploy a 25-nodes OpenStack infrastructure (commodity servers).

@Quentin-M Thanks! I will try it:)

This limitation is documented in the README of this module: https://github.com/puppetlabs/puppetlabs-openstack/blame/5.0.0/README.md#L185
I've created https://tickets.puppetlabs.com/browse/OS-254 to put work for adding this in our backlog, but I do not expect it to be completed soon. Closing this for now.


Improvements to machine translated French translation

Due to being unable to contact the previous translators for the French translation for #42, we had to replace the French translation with a machine translation. Until we find someone who can write their own French translation for Forien's Quest Log, quality of the French translation may be degraded. Reference the current machine translation as needed, but the former translations can't be referenced in your contribution.

Uh... @rectulo from mothership  translations channel provided a fresh French translation which got into 0.7.5:
See here on Discord
@Fallayn committed the new German translation.
I should probably reverse the changes to the French translation to rectulo's.

There was an error, sorry! I see it's already reverted


[Windows] Darknet YOLO - GPU detected, but fails to infer or train with * Error message:  current CUDA error: status=15 unrecognized error code: unrecognized error code"

Hi,
After seeing the news about ZLUDA on Phoronix, I was excited to try to get Darknet to run as I wanted for a long time on my RX 6800XT. Here is the repo of the framework:
https://github.com/hank-ai/darknet
As there are no prebuilt binaries, one has to build the application. I have followed the outlied steps there, and I actually installed CUDA Toolkit (v11.8) despite it feeling wrong to do so for an AMD GPU system 😆 . Darknet can run without CUDNNN but with CUDA acceleration, which is generally not recommended for actual use but I wanted to see if it starts with just CUDA acceleration, as I know CUDNN aint supported on windows for ZLUDA.
CMAKE detected CUDA being installed, and after all the building steps were done, I could do:
Darknet v2.0-96-g5803be72 CUDA runtime version 11080 (v11.8), driver version 12020 (v12.2) cuDNN is DISABLED => 0: AMD Radeon RX 6800 XT [ZLUDA] [#8.8], 16.0 GiB OpenCV v4.8.0
This meant the GPU is actually being found and communicated with!
However, apart from showing the status with "darknet version", whenever I either try to infer or train, I get the following message:
`* Error location: C:\ai_dev\darknet\src-lib\gemm.cpp, gemm_ongpu(), line #2691

Error message:  current CUDA error: status=15 unrecognized error code: unrecognized error code
Version v2.0-96-g5803be72 built on Feb 13 2024 18:41:37`

Here is for example a full training (start) output:
`.\zluda.exe C:\Program Files\Darknet\bin\darknet.exe detector train "C:\Program Files\Darknet\bin\Rolodex.data" "C:\Program Files\Darknet\bin\Rolodex.cfg"
Darknet v2.0-96-g5803be72
CUDA runtime version 11080 (v11.8), driver version 12020 (v12.2)
cuDNN is DISABLED
=> 0: AMD Radeon RX 6800 XT [ZLUDA] [#8.8], 16.0 GiB
OpenCV v4.8.0
 0 : compute_capability = 880, cudnn_half = 0, GPU: AMD Radeon RX 6800 XT [ZLUDA]
net.optimized_memory = 0
mini_batch = 4, batch = 64, time_steps = 1, train = 1
   layer   filters  size/strd(dil)      input                output
   0 Create CUDA-stream - 0
conv     32       3 x 3/ 2    384 x 384 x   3 ->  192 x 192 x  32 0.064 BF
   1 conv     64       3 x 3/ 2    192 x 192 x  32 ->   96 x  96 x  64 0.340 BF
   2 conv     64       3 x 3/ 1     96 x  96 x  64 ->   96 x  96 x  64 0.679 BF
   3 route  2                                  1/2 ->   96 x  96 x  32
   4 conv     32       3 x 3/ 1     96 x  96 x  32 ->   96 x  96 x  32 0.170 BF
   5 conv     32       3 x 3/ 1     96 x  96 x  32 ->   96 x  96 x  32 0.170 BF
   6 route  5 4                                    ->   96 x  96 x  64
   7 conv     64       1 x 1/ 1     96 x  96 x  64 ->   96 x  96 x  64 0.075 BF
   8 route  2 7                                    ->   96 x  96 x 128
   9 max                2x 2/ 2     96 x  96 x 128 ->   48 x  48 x 128 0.001 BF
  10 conv    128       3 x 3/ 1     48 x  48 x 128 ->   48 x  48 x 128 0.679 BF
  11 route  10                                 1/2 ->   48 x  48 x  64
  12 conv     64       3 x 3/ 1     48 x  48 x  64 ->   48 x  48 x  64 0.170 BF
  13 conv     64       3 x 3/ 1     48 x  48 x  64 ->   48 x  48 x  64 0.170 BF
  14 route  13 12                                  ->   48 x  48 x 128
  15 conv    128       1 x 1/ 1     48 x  48 x 128 ->   48 x  48 x 128 0.075 BF
  16 route  10 15                                  ->   48 x  48 x 256
  17 max                2x 2/ 2     48 x  48 x 256 ->   24 x  24 x 256 0.001 BF
  18 conv    256       3 x 3/ 1     24 x  24 x 256 ->   24 x  24 x 256 0.679 BF
  19 route  18                                 1/2 ->   24 x  24 x 128
  20 conv    128       3 x 3/ 1     24 x  24 x 128 ->   24 x  24 x 128 0.170 BF
  21 conv    128       3 x 3/ 1     24 x  24 x 128 ->   24 x  24 x 128 0.170 BF
  22 route  21 20                                  ->   24 x  24 x 256
  23 conv    256       1 x 1/ 1     24 x  24 x 256 ->   24 x  24 x 256 0.075 BF
  24 route  18 23                                  ->   24 x  24 x 512
  25 max                2x 2/ 2     24 x  24 x 512 ->   12 x  12 x 512 0.000 BF
  26 conv    512       3 x 3/ 1     12 x  12 x 512 ->   12 x  12 x 512 0.679 BF
  27 conv    256       1 x 1/ 1     12 x  12 x 512 ->   12 x  12 x 256 0.038 BF
  28 conv    512       3 x 3/ 1     12 x  12 x 256 ->   12 x  12 x 512 0.340 BF
  29 conv     60       1 x 1/ 1     12 x  12 x 512 ->   12 x  12 x  60 0.009 BF
  30 yolo
[yolo] params: iou loss: ciou (4), iou_norm: 0.07, obj_norm: 1.00, cls_norm: 1.00, delta_norm: 1.00, scale_x_y: 1.05
nms_kind: greedynms (1), beta = 0.600000
  31 route  27                                     ->   12 x  12 x 256
  32 conv    128       1 x 1/ 1     12 x  12 x 256 ->   12 x  12 x 128 0.009 BF
  33 upsample                 2x    12 x  12 x 128 ->   24 x  24 x 128
  34 route  33 23                                  ->   24 x  24 x 384
  35 conv    256       3 x 3/ 1     24 x  24 x 384 ->   24 x  24 x 256 1.019 BF
  36 conv     60       1 x 1/ 1     24 x  24 x 256 ->   24 x  24 x  60 0.018 BF
  37 yolo
[yolo] params: iou loss: ciou (4), iou_norm: 0.07, obj_norm: 1.00, cls_norm: 1.00, delta_norm: 1.00, scale_x_y: 1.05
nms_kind: greedynms (1), beta = 0.600000
Total BFLOPS 5.802
avg_outputs = 256926
Allocating workspace to transfer between CPU and GPU:  20.2 MiB
Learning Rate: 0.0015, Momentum: 0.9, Decay: 0.0005
Detection layer #30 is type 28 (yolo)
Detection layer #37 is type 28 (yolo)
mAP calculations will be every 100 iterations
weights will be saved every 1000 iterations

 Create 6 permanent cpu-threads
loaded 64 images in 108.000 milliseconds

CUDA status error: C:\ai_dev\darknet\src-lib\gemm.cpp, gemm_ongpu(), line #2691

* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Error location: C:\ai_dev\darknet\src-lib\gemm.cpp, gemm_ongpu(), line #2691
* Error message:  current CUDA error: status=15 unrecognized error code: unrecognized error code
* Version v2.0-96-g5803be72 built on Feb 13 2024 18:41:37
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
backtrace (17 entries):
1/17: D()
2/17: D()
3/17: D()
4/17: D()
5/17: D()
6/17: D()
7/17: D()
8/17: D()
9/17: D()
10/17: D()
11/17: D()
12/17: D()
13/17: D()
14/17: D()
15/17: D()
16/17: BaseThreadInitThunk()
17/17: RtlUserThreadStart()`

Are there perhaps any pointers in how to proceed in making this work for the Darknet / YOLO framework? I currently do not have access to Linux on this machine, but could that potentially help due to the limited feature set supported on Windows? It would be great if we can get AMD GPUs to run Darknet Yolo in this way.

I've just looked at the repo code, basically, the problem is that some operations here fail with a cuda error code, and then cudaGetErrorString()/cudaGetErrorName() fail to recognize the error code. This says, that error code 15 means "Device can possibly copy memory and execute a kernel concurrently". I cannot say, what that means exactly, but it looks like a kind of some synchronization mechanism error.


Version 2.1 fails with ClassCastException

Following configuration in POM:
  <plugins>
    <plugin>
      <groupId>org.jvnet.jaxb2.maven2</groupId>
      <artifactId>maven-jaxb2-plugin</artifactId>
      <version>0.14.0</version>
      <configuration>
        <schemaIncludes>
          <include>**/*.xsd</include>
        </schemaIncludes>
        <bindingIncludes>
          <include>**/*.xjb</include>
        </bindingIncludes>
        <readOnly>true</readOnly>
        <episode>true</episode>
        <specVersion>2.3</specVersion>
        <extension>true</extension>
        <removeOldOutput>true</removeOldOutput>
        <locale>en</locale>
        <strict>false</strict>
        <args>
          <arg>-no-header</arg>
          <arg>-XJsr303Annotations</arg>
          <arg>-XJsr303Annotations:JSR_349=true</arg>
          <arg>-Xnamespace-prefix</arg>
          <arg>-Xcommons-lang</arg>
          <arg>-XJsr303Annotations:verbose=false</arg>
        </args>
        <plugins>
          <plugin>
            <groupId>com.fillumina</groupId>
            <artifactId>krasa-jaxb-tools</artifactId>
            <version>2.1</version>
          </plugin>
          <plugin>
            <groupId>org.jvnet.jaxb2_commons</groupId>
            <artifactId>jaxb2-namespace-prefix</artifactId>
            <version>1.2</version>
          </plugin>
          <plugin>
            <groupId>org.jvnet.jaxb2_commons</groupId>
            <artifactId>jaxb2-commons-lang</artifactId>
            <version>2.4</version>
          </plugin>
        </plugins>
      </configuration>
    </plugin>

Execution gives me:
[ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate (generate-model) on project x2tc-iec-import-input-model: A type incompatibility occurred while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate: com.sun.xml.xsom.impl.ModelGroupImpl cannot be cast to com.sun.xml.xsom.impl.ElementDecl
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/osipovmi/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.14.0/maven-jaxb2-plugin-0.14.0.jar
[ERROR] urls[1] = file:/C:/Users/osipovmi/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-core/0.14.0/maven-jaxb2-plugin-core-0.14.0.jar
[ERROR] urls[2] = file:/C:/Users/osipovmi/.m2/repository/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar
[ERROR] urls[3] = file:/C:/Users/osipovmi/.m2/repository/com/sun/org/apache/xml/internal/resolver/20050927/resolver-20050927.jar
[ERROR] urls[4] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/txw2/2.3.0/txw2-2.3.0.jar
[ERROR] urls[5] = file:/C:/Users/osipovmi/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[6] = file:/C:/Users/osipovmi/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
[ERROR] urls[7] = file:/C:/Users/osipovmi/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[8] = file:/C:/Users/osipovmi/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb23-plugin/0.14.0/maven-jaxb23-plugin-0.14.0.jar
[ERROR] urls[9] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar
[ERROR] urls[10] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/jaxb-core/2.3.0/jaxb-core-2.3.0.jar
[ERROR] urls[11] = file:/C:/Users/osipovmi/.m2/repository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar
[ERROR] urls[12] = file:/C:/Users/osipovmi/.m2/repository/org/jvnet/staxex/stax-ex/1.7.8/stax-ex-1.7.8.jar
[ERROR] urls[13] = file:/C:/Users/osipovmi/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar
[ERROR] urls[14] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/jaxb-xjc-jdk9/2.3.0/jaxb-xjc-jdk9-2.3.0.jar
[ERROR] urls[15] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.3.0/jaxb-xjc-2.3.0.jar
[ERROR] urls[16] = file:/C:/Users/osipovmi/.m2/repository/com/sun/xml/dtd-parser/dtd-parser/1.2/dtd-parser-1.2.jar
[ERROR] urls[17] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/xsom/2.3.0/xsom-2.3.0.jar
[ERROR] urls[18] = file:/C:/Users/osipovmi/.m2/repository/org/glassfish/jaxb/codemodel/2.3.0/codemodel-2.3.0.jar
[ERROR] urls[19] = file:/C:/Users/osipovmi/.m2/repository/com/sun/xml/bind/external/rngom/2.3.0/rngom-2.3.0.jar
[ERROR] urls[20] = file:/C:/Users/osipovmi/.m2/repository/com/sun/istack/istack-commons-tools/3.0.5/istack-commons-tools-3.0.5.jar
[ERROR] urls[21] = file:/C:/Users/osipovmi/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.5/istack-commons-runtime-3.0.5.jar
[ERROR] urls[22] = file:/C:/Users/osipovmi/.m2/repository/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar
[ERROR] urls[23] = file:/C:/Users/osipovmi/.m2/repository/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar
[ERROR] urls[24] = file:/C:/Users/osipovmi/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.5/maven-plugin-annotations-3.5.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

with:
PS C:\Entwicklung\workspace-2020-12\x2tc-proxy> mvn -v
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: C:\Entwicklung\Programme\apache-maven-3.8.6
Java version: 1.8.0_345, vendor: Azul Systems, Inc., runtime: C:\Program Files\Zulu\zulu-8\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

I have the feeling that this is the cause: https://github.com/fillumina/krasa-jaxb-tools/blob/master/pom.xml#L96
The JAXB2 Maven Plugin uses version 2.3.x and not 3.x.

Note: I cannot upgrade the plugin because of: https://github.com/highsource/maven-jaxb2-plugin/issues/244

Can you try using maven-jaxb2-plugin version 0.15.1 (that's the same version of the dependency maven-jaxb2-plugin-testing use by this project) ?

Can you try using maven-jaxb2-plugin version 0.15.1 (that's the same version of the dependency maven-jaxb2-plugin-testing use by this project) ?

No, I can't because of https://github.com/fillumina/krasa-jaxb-tools/issues/4#issuecomment-1225360431

I have created a test project and it works if it's compiled with JDK 11 max. The maximum allowed java version for maven-jaxb2-plugin is JDK 9 (but JDK 11 is still working).

I have created a test project and it works. Could you please check if it is working for you and if it solves your problem?

Will check...

While going through your test project one spot is invalid: https://github.com/fillumina/krasa-issue4/blob/148bbb1ece136f10dc039fd6fd10925a1e88e6b8/pom.xml#L54-L60
Looking at the plugin's META-INF/maven/plugin.xml the goal does not have any dependencies parameter. I guess this is a mistype, no? Will fix locally and continue...

Beat me, I cannot reproduce this anymore with 2.2 and 0.14.0. Tried in and out on Java 8. Darn I am angry. Sorry for the noise. Will continue to investigate the issue in JAXB2 plugin.


Fix frameworks interop

I'm not sure what this is attempting to fix. I think it should be reviewed by @CarlosMecha and the destinations team.

👍 on asking for the destination team to review.
I think it's fixing #6, we've released a similar fix in https://segment.atlassian.net/browse/LIB-303:

segment-integrations/analytics-ios-integration-google-analytics#26
segment-integrations/analytics-ios-integration-optimizely#14
segment-integrations/analytics-ios-integration-firebase#27

Correct on that ticket. The intercom one is: https://segment.atlassian.net/browse/PLATFORM-2305. Multiple reports of 'target has transitive dependencies that include static binaries' when trying to compile intercom SDK

Cool - the destinations team should review!


Missing button, fan & sensor entities on 0.1.0

Version of the custom_component
0.1.0
Configuration
HA core-2022.3.4 running on Debian
Describe the bug
I just upgraded and got the following alert :
Missing entities :
The following integrations and platforms could not be set up:
gecko.button
gecko.fan
gecko.sensor

My pump and Hot Tub: Smart Winter Mode: Risk entities are both now showing 'Unavailable' (Not sure what uses the button)
Debug log

-------------------------------------------------------------------
Gecko
Version: 0.1.0
Gecko Lib: 0.4.0
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/gazoodle/gecko-home-assistant/issues
-------------------------------------------------------------------

2022-03-15 17:01:05 DEBUG (MainThread) [custom_components.gecko] Setup entry for UUID 6102cecf-128c-4efa-a137-24fe470a14ee, ID SPA04:91:62:d3:66:b8, address None (None)
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.SPA_MAN_ENTER, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_STARTED, state GeckoSpaState.LOCATING_SPAS
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_DISCOVERED_SPA, state GeckoSpaState.LOCATING_SPAS
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_FINISHED, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_STATUS_SENSOR, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_RECONNECT_BUTTON, state GeckoSpaState.CONNECTING
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_STARTED, state GeckoSpaState.CONNECTING
2022-03-15 17:01:07 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.RUNNING_PING_RECEIVED, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_FIRMWARE_VERSION, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_PING_SENSOR, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_CHANNEL, state GeckoSpaState.CONNECTING
2022-03-15 17:01:09 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_CONFIG_FILES, state GeckoSpaState.CONNECTING
2022-03-15 17:01:09 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_INITIAL_DATA_BLOCK_REQUEST, state GeckoSpaState.CONNECTING
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_SPA_COMPLETE, state GeckoSpaState.SPA_READY
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_FACADE_IS_READY, state GeckoSpaState.CONNECTED
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_FINISHED, state GeckoSpaState.CONNECTED
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Load platforms ['binary_sensor', 'button', 'fan', 'sensor', 'switch', 'climate', 'light']
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Circulating Pump/SPA049162d366b8-CIRCULATING PUMP
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Ozone/SPA049162d366b8-OZONE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Smart Winter Mode:Active/SPA049162d366b8-SMART WINTER MODE:ACTIVE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Filter Status:Clean/SPA049162d366b8-FILTER STATUS:CLEAN
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Filter Status:Purge/SPA049162d366b8-FILTER STATUS:PURGE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Economy Mode/SPA049162d366b8-EconActive
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Heater/SPA049162d366b8-HEAT
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Lights/SPA049162d366b8-LI
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.RUNNING_PING_RECEIVED, state GeckoSpaState.CONNECTED

Ought to be fixed in v0.1.1, it was some 3.10 Python code that crept in from the development environment


FLIP-150 Hybrid source prototype

A prototype for hybrid source. This PR is for discussion purposes only.
See:
https://lists.apache.org/thread.html/r94057d19f0df2a211695820375502d60cddeeab5ad27057c1ca988d6%40<dev.flink.apache.org>
https://cwiki.apache.org/confluence/display/FLINK/FLIP-150%3A+Introduce+Hybrid+Source

@tweise , I have a cursory glance at your implementation of HybridSource. I have some question about the implementation which I would like to discuss with you offline. Could you please provide your Slack account to me?

@SteNicholas thanks for taking a look. You can find me on ASF slack, handle thw.


Support a new "summary" OpenGraph preview card type (or respect the Twitter/X standard)

When you add a link to a Bluesky post, a preview "card" is created. This works great when the OpenGraph image is a photo or a dedicated large image.
However, when you link to a blog post which has no image, that site's generic OpenGraph image is used which often doesn't look great. Here's an example:

The current behaviour of Bluesky is the same as the Twitter "summary_large_image" card type. It would be great if there was an option of a "summary" card which rendered a small image in a more compact format. Example:

Details of Twitter cards can be found here:
https://developer.x.com/en/docs/x-for-websites/cards/overview/abouts-cards
The suggested behaviour could be achieved by respecting existing Twitter meta tags (https://developer.x.com/en/docs/x-for-websites/cards/overview/markup) or by creating a new card type for Bluesky.

I would also like this behavior.  It would help keep links to my website from taking up huge amounts of space on a post.


[Integration] Amazon RDS

What is the integration resource ?
Amazon Relational Database Service is a popular managed database service that supports various popular database engines like MySQL, MariaDB, PostgreSQL, Oracle, and Microsoft SQL Server.
What is the integration source protocol ?
For MySQL and MariaDB logs, error logs, general query logs, slow query logs, and audit logs.
What is the integration target protocol ?
Unknown
Which agents would you use to ship this data ?
Fluent-bit. Siem has an ingestor for MySQL and MariaDB logs (here and here).
Would you be using an ingestion pipeline ?
Unsure
Which Dashboards would you be using ?
Dashboard:

Do you have any additional context?
#668

https://github.com/opensearch-project/dashboards-observability/assets/48943349/89ea5a51-3e77-45f8-b8b5-d5c0c0108c2c


[Bug report]: ENOENT, public/build/index.node not found

Platform
Desktop
Version
1.5
Description
open the app I get the following error
App Version: 1.5.0
platform: linux
platformVersion: 5.4.0-107-generic
platformArchitecture: x64
cpuCount: 4
totalMem: 15705.2 MB
freeMem: 1782.4 MB
Error Type: [Preload Context] Error
Error: node-loader:
Error: ENOENT, public/build/index.node not found in /tmp/.mount_fireflQETEJ8/resources/app.asar
Expected behaviour
the program to open
Actual behaviour
get error message
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
First I did the update with the software update command but got the error
Then I deleted and redownloaded and got the same error.
Operating System
Linux
Diagnostics
does not do anything

Developer Profile
No
Profile Type
Software (Stronghold)
Staking
Previously staked
Crash Status
White screen
Error Messages
App Version: 1.5.0
platform: linux
platformVersion: 5.4.0-107-generic
platformArchitecture: x64
cpuCount: 4
totalMem: 15705.2 MB
freeMem: 1782.4 MB
Error Type: [Preload Context] Error
Error: node-loader:
Error: ENOENT, public/build/index.node not found in /tmp/.mount_fireflQETEJ8/resources/app.asar
Error Logs
none

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

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

Did you update using the auto-updater? And can you check the SHA-256 hash of the AppImage against the one posted in the release notes?

yes first with the auto-updater then I downloaded from the site.
I'll check the hash.

This looks like a duplicate of #2766 . I'm still not sure of the cause though

does seem to be the same error i did check the hash is good also checked the signature also good.


No clear links to downloadable material

I want to work off-line, so I am looking for PDF, PS, ePub - whatever, even a simple TXT document would be better.

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

ID: 2637b72d-91a2-fb93-11c9-9f73b44a77a1
Version Independent ID: 11657f10-6c70-cae9-81b8-9c3a58d65d67
Content: Q# Basics - Microsoft Quantum
Content Source: articles/user-guide/basics.md
Product: quantum
GitHub Login: @gillenhaalb
Microsoft Alias<EMAIL_ADDRESS>

Hi @Biep, thanks for raising the point. That's indeed something we have seen the need for, and the struggles to getting PDF download links come primarily from the LaTeX math rendering.
I personally also enjoy working from our docs offline, and have been making use of a workaround by using the "Print" function of my browser. On Chrome/Windows at least, I am able to select "Print to PDF" as the destination printer, and then save the fully-rendered page as a PDF. I'd imagine this is likely possible on other browsers and operating systems as well. I hope this might be a suitable workaround for the time being.

True, but the result doesn't show well on an e-reader, and it is a lot of work because the information is spread over many web pages.
LaTeX to PDF can't be that hard, can it?

Possible duplicate of #776


iOS: Bitcode support

It seems that you don't support Bitcode and building an app with it enabled naturally fails.
Any plan to support it in near future?

HI @zarko-tg,
Thank you for reporting the issue!
We did an analysis and it looks like that external libraries that we use are compiled with no Bitcode support.
Hopefully will be fixed in next version.
Thank,
Ohad

Hi @zarko-tg ,
Just wanted to update you that we are working to add the Bitcode support into our next version.
Thank, Ohad

Hi @OhadBoimelIntel, I appreciate the update. Thank you

Hi @zarko-tg
App Security API supports bitcode optimization for iOS apps from v1.4.1.
Thanks,
Dan.

Thanks @DanShmulIntel, I'll be on the ball soon.


feat(app): add CODE_OF_CONDUCT

This file was introduced within #979 but I think it got blown away somehow with the recent launch of the new nextra.
Hoping it is still welcome here.

Thanks!


Feature: ONLY_TOP menu

I have created an only top menu and I have run most of the tests, all looks fine to me.

Thanks a lot, I had found an error:)
Included in version 2.0.7


feat(admin): new place generic error when "unknown" server error [EP-…

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


testing: minimized crasher is unrelated to original

What version of Go are you using (go version)?

$ go version
go version devel go1.18-7c648e2acb3 Thu Sep 9 17:28:03 2021 +0000 linux/amd64

Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/stevie/.cache/go-build"
GOENV="/home/stevie/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/stevie/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/stevie/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/stevie/sdk/gotip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/stevie/sdk/gotip/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel go1.18-7c648e2acb3 Thu Sep 9 17:28:03 2021 +0000"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/stevie/minimize/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2657391484=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Here's the simplest case I can find which reproduces the problem:
package minimize

import (
	"fmt"
	"testing"
)

//go:noinline
func branch1(i int) {
	b := []byte{1, 2, 3}
	fmt.Printf("%d\n", b[4])
}

//go:noinline
func branch2(i int) {
	panic(i)
}

func FuzzMinimizeToWrongCrash(f *testing.F) {
	f.Add(-20000) // this will force the fuzzer to crash in the the first branch
	f.Fuzz(func(t *testing.T, b int) {
		if b < -20000 {
			branch1(b)
			return
		}

		if b > 10000 {
			// the corpus will contain a crasher for this branch
			branch2(b)
			return
		}
	})
}

The test is rigged so it'll crash in branch1. Minimization kicks in and it ends up crashing in branch2:
$ ./minimize.test -test.fuzz=Fuzz -test.fuzzcachedir=./cache
found a crash, minimizing...
fuzzing, elapsed: 0.0s, execs: 85 (7363/sec), workers: 8, interesting: 0
--- FAIL: FuzzMinimizeToWrongCrash (0.01s)
        panic: %!s(int=18446)
        goroutine 57 [running]:
        runtime/debug.Stack()
        	/home/stevie/sdk/gotip/src/runtime/debug/stack.go:24 +0x90
        testing.tRunner.func1.2({0x58c480, 0xc000118a68})
        	/home/stevie/sdk/gotip/src/testing/testing.go:1288 +0x265
        testing.tRunner.func1()
        	/home/stevie/sdk/gotip/src/testing/testing.go:1295 +0x225
        panic({0x58c480, 0xc000118a68})
        	/home/stevie/sdk/gotip/src/runtime/panic.go:814 +0x207
        minimize.branch2(0x0)
        	/home/stevie/minimize/fuzz_test.go:16 +0x37
        minimize.FuzzMinimizeToWrongCrash.func1(0x0, 0x480e)
        	/home/stevie/minimize/fuzz_test.go:29 +0x86
        reflect.Value.call({0x58e720, 0x5c7c78, 0x13}, {0x5ba083, 0x4}, {0xc000116b10, 0x2, 0x2})
        	/home/stevie/sdk/gotip/src/reflect/value.go:542 +0x814
        reflect.Value.Call({0x58e720, 0x5c7c78, 0xc000113a00}, {0xc000116b10, 0x2, 0x2})
        	/home/stevie/sdk/gotip/src/reflect/value.go:338 +0xc5
        testing.(*F).Fuzz.func1.1(0x0)
        	/home/stevie/sdk/gotip/src/testing/fuzz.go:389 +0x1c6
        testing.tRunner(0xc000194680, 0xc00010c980)
        	/home/stevie/sdk/gotip/src/testing/testing.go:1342 +0x102
        created by testing.(*F).Fuzz.func1
        	/home/stevie/sdk/gotip/src/testing/fuzz.go:378 +0x4e5

        --- FAIL: FuzzMinimizeToWrongCrash (0.00s)

    Crash written to testdata/corpus/FuzzMinimizeToWrongCrash/7219f755b8af33d79397c74214a3126d25f0664bbdac3dcd511325de4cc54063
    To re-run:
    go test minimize -run=FuzzMinimizeToWrongCrash/7219f755b8af33d79397c74214a3126d25f0664bbdac3dcd511325de4cc54063
FAIL
$ cat testdata/corpus/FuzzMinimizeToWrongCrash/7219f755b8af33d79397c74214a3126d25f0664bbdac3dcd511325de4cc54063
go test fuzz v1
int(18446)

Instrumenting with this bpftrace script
uprobe:./minimize.test:"minimize.branch1" {
  printf("%d: branch 1 taken with value %d\n", tid, reg("ax"));
}
uprobe:./minimize.test:"minimize.branch2" {
  printf("%d: branch 2 taken with value %d\n", tid, reg("ax"));
}

I see that all the worker processes run branch1 first:
81977: branch 1 taken with value -20123
81965: branch 1 taken with value -20052
81959: branch 1 taken with value -20093
81952: branch 1 taken with value -20004
81959: branch 1 taken with value -20093
81959: branch 1 taken with value -20093
81959: branch 2 taken with value -1717988928
81959: branch 2 taken with value -171798893
81959: branch 2 taken with value<PHONE_NUMBER>
81959: branch 2 taken with value -1161359159
81959: branch 2 taken with value -1404626105
81959: branch 2 taken with value -140462611
81959: branch 2 taken with value<PHONE_NUMBER>
81959: branch 2 taken with value -216152991
81959: branch 2 taken with value<PHONE_NUMBER>
81959: branch 2 taken with value<PHONE_NUMBER>
81959: branch 2 taken with value 184467440
81959: branch 2 taken with value 18446744
81959: branch 2 taken with value 1844674
81959: branch 2 taken with value 184467
81959: branch 2 taken with value 18446
81968: branch 1 taken with value -20002
81989: branch 1 taken with value -20031
81948: branch 1 taken with value -20049

The tail of the log shows what looks like the negative value -20123 being cast to a large uint and then divided by 10 repeatedly to reach the value 18446 in the corpus. This may be another issue if the intention was to preserve the sign of integers on minimization :shrug:
What did you expect to see?
I expected to see the original crash recorded. The first and second crashes have different coverage and different panic messages/backtraces. There's enough information to label these as different crashes.
In a more complicated example, reducing one type of crash to another and then discarding the original wastes a lot of work. The fuzzer would need to be run again to find the original crash. It'd be really useful if the fuzzer retained the original crasher and provided a minimized version as a feature.
What did you see instead?
The original crasher is lost.

@jayconrod @katiehockman

Checking in on this issue as it's labeled a release blocker for Go 1.18. Is there any update?

Not yet. There are a lot of fuzzing issues. We'll get to them as soon as we can.

I'm going to remove the release-blocker label for this issue. I think it's a nice to have, so I'll leave it for Go 1.18, but not strictly necessary for the release. We don't currently support any detection around what kind of crash occurred in order to replicate it during minimization. This is something that we'll need down the line: namely for deduplication of crashing so that we can run in a -fuzzcontinue mode that doesn't stop after the first crash.
In the meantime, it is still reporting a crash, even if it isn't the first one found. Once that crash is fixed, then the fuzzer should be able to find the other one as well.

@katiehockman I think the problem here is that minimization is considered successful if the new value has at least one coverage bit in common with the original. This can lead to two inputs with little in common e.g for this code
if len(input) >= 1 {
    if input[0] == 'A' {
          foo(input);
    } else {
          bar(input);
    }
}

[]byte{'B'} could be considered a minimization of []byte{'A', 1, 2, 3} because they both make it into the enclosing if body and so have a coverage bit in common.
I think a minimized input never result in fewer coverage bits than we had for the original input. I experimented with enforcing this and the following patch appears to fix the bug:
diff --git a/src/internal/fuzz/coverage.go b/src/internal/fuzz/coverage.go
index 3dee73b81c..88f98a16b2 100644
--- a/src/internal/fuzz/coverage.go
+++ b/src/internal/fuzz/coverage.go
@@ -66,6 +66,17 @@ func countNewCoverageBits(base, snapshot []byte) int {
        return n
 }

+// isCoverageSubset returns true if all the base coverage bits are set in
+// snapshot
+func isCoverageSubset(base, snapshot []byte) bool {
+       for i, v := range base {
+               if v&snapshot[i] != v {
+                       return false
+               }
+       }
+       return true
+}
+
 // hasCoverageBit returns true if snapshot has at least one bit set that is
 // also set in base.
 func hasCoverageBit(base, snapshot []byte) bool {
diff --git a/src/internal/fuzz/worker.go b/src/internal/fuzz/worker.go
index e7d824bea1..b80e98bde7 100644
--- a/src/internal/fuzz/worker.go
+++ b/src/internal/fuzz/worker.go
@@ -908,7 +908,7 @@ func (ws *workerServer) minimizeInput(ctx context.Context, vals []interface{}, c
                        }
                        return true
                }
-               if keepCoverage != nil && hasCoverageBit(keepCoverage, coverageSnapshot) {
+               if keepCoverage != nil && isCoverageSubset(keepCoverage, coverageSnapshot) {
                        return true
                }

Given recent improvements in the effectiveness of the mutator by @rolandshoemaker I've been able to see that this problem with minimization actually works against the mutator. For example, this problem renders the mutator ineffective for examples which libfuzzer etc deal with easily just using coverage feedback e.g. the fuzzer can't find an input which terminates the following
var leet = []byte{1, 3, 3, 7}

func magic(input []byte) bool {
	if len(input) >= 4 && input[0] == leet[0] && input[1] == leet[1] && input[2] == leet[2] && input[3] == leet[3] {
		input = input[4:]
		return len(input) >= 4 && input[0] == leet[0] && input[1] == leet[1] && input[2] == leet[2] && input[3] == leet[3]
	}
	return false
}

func Fuzz(f *testing.F) {
	f.Fuzz(func(t *testing.T, data []byte) {
		if magic(data) {
			t.Fatalf("magic is %v", data)
		}
	})
}

With the above patch applied, the fuzzer finds a crasher right away. My interpretation is that the mutator is working to increase coverage but minimization can reduce coverage.

Thanks @stevenjohnstone for looking into this so deeply. One of us should be able to take a look at this in the next couple weeks as well, and hopefully can improve this before 1.18. If not, it'll happen for 1.19.

CC @golang/fuzzing
Looks like this didn't make 1.19.  Moving to backlog.  Please recategorize as appropriate.  Thanks.