AddAfter unhandled exception

When I add some new action after some existing, all is ok. When I try to add another action after the added action, compiler ends with:

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Nav.CodeAnalysis.Emitter.Utility.ActionAddMetadataBuilder.ContainerGetter(ActionSymbol anchor) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\Utility\ActionAddMetadataBuilder.cs:line 33
at Microsoft.Dynamics.Nav.CodeAnalysis.Emitter.Utility.ContentDestinationMetadataBuilder2.SetContentMetadata(ContentDestinationMetadata& metadata, ChangeKind changeKind, TV anchor) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\Utility\ContentDestinationMetadataBuilder.cs:line 70
at Microsoft.Dynamics.Nav.CodeAnalysis.Emitter.Utility.ContentAddMetadataBuilder3.SetContentMetadata(ContentAddMetadata& metadata) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\Utility\ContentAddMetadataBuilder.cs:line 101
at Microsoft.Dynamics.Nav.CodeAnalysis.Emit.PageExtensionMetadataEmitter.WriteContentAdd(XmlWriter xmlWriter, SourceChangeAddSymbol addContentSymbol) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\PageExtensionMetadataEmitter.cs:line 170
at Microsoft.Dynamics.Nav.CodeAnalysis.Emit.PageExtensionMetadataEmitter.HandleChangeSymbols(XmlWriter xmlWriter, Symbol sym) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\PageExtensionMetadataEmitter.cs:line 104
at Microsoft.Dynamics.Nav.CodeAnalysis.Emit.PageExtensionMetadataEmitter.b__2_0(XmlWriter xmlWriter) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\PageExtensionMetadataEmitter.cs:line 52
at Microsoft.Dynamics.Nav.CodeAnalysis.Emit.ApplicationObjectMetadataEmitter.EmitMetadata(Action1 content) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Emitter\ApplicationObjectMetadataEmitter.cs:line 134
at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileApplicationObject(ApplicationObjectTypeSymbol containingType) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 237
at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass14_0.b__0() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 200
at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.UICultureUtilities.<>c__DisplayClass5_0.b__0() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\UICultureUtilities.cs:line 150
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.WaitForWorkers() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 160
at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethodBodies(Compilation compilation, ModuleBuilder moduleBeingBuiltOpt, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate1 filterOpt, CancellationToken cancellationToken) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 144
at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.CompileImpl(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate1 filterOpt, CancellationToken cancellationToken) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compilation\Compilation.cs:line 747
at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Compile(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate1 filterOpt, CancellationToken cancellationToken) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compilation\Compilation.cs:line 724
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 423
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 300
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.d__1.MoveNext() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\CreatePackageRequestHandler.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase1.d__1.MoveNext() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\GenericRequestHandlerBase.cs:line 23
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.d__4.MoveNext() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 55
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestDispatcher.d__18.MoveNext() in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestDispatcher.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.Utility.AsyncContext.Start(Func1 asyncMainFunc) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Utility\AsyncContext.cs:line 29
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Prod.EditorServices.Host.Program.Main(String[] args) in C:\Agent_work\2\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Host\Program.cs:line 100
[Info  - 10:19:23] Connection to server got closed. Server will restart.
You can try with adding this code at the end of HelloWorld.al demo created by the Go! function:

pageextension 70770078 RoleCenterExt extends "Order Processor Role Center"
{
actions
{
addafter("Transfer Orders")
{
action(ExtensionAction1)
{
trigger OnAction();
begin
Message('Ext1');
end;
}
}
}
}
pageextension 70770079 RoleCenterExt2 extends "Order Processor Role Center"
{
layout
{
// Add changes to page layout here
}
actions
{
    addafter(ExtensionAction1)
    {
        action(ExtensionAction2) {
            trigger OnAction();
            begin
                Message('Ext2');
            end;
        }
    }
}

}

Sorry for the styling, seems that it is somehow broken with the text and code....

This is a bug, we will look into it.
A slightly unrelated question prompted by your repro steps - do you foresee scenarios which require page extension objects for the same target within the same package? We are considering blocking that possibility and keep things simple - 1 extension object for a given target per 1 package.

All is question of code separation to specific files. If I have app having e.g. 3 areas, I expect to have extension in 3 separate files/folder to structure the code. And I want to have the entries in specific order. Limit this is just temporal workaround. Target must be to be able to structure the app into e.g. 3 separate modules, which are linked.
Sent from my Windows 10 phone
From: Stanislaw<EMAIL_ADDRESS>Sent: úterý 14. března 2017 16:49
To<EMAIL_ADDRESS>Cc: Kamil<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Microsoft/AL] AddAfter unhandled exception (#109)
This is a bug, we will look into it.
A slightly unrelated question prompted by your repro steps - do you foresee scenarios which require page extension objects for the same target within the same package? We are considering blocking that possibility and keep things simple - 1 extension object for a given target per 1 package.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/109#issuecomment-286464587, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAGujZ1eloW__ibElIKqynZ-X83mGlKFks5rlrbygaJpZM4MbAm0.

A slightly unrelated question prompted by your repro steps - do you foresee scenarios which require page extension objects for the same target within the same package? We are considering blocking that possibility and keep things simple - 1 extension object for a given target per 1 package.

As @kine stated the ability to have multiple extensions for one object would be very nice when considering separation of functionality. If I had an extension that would use the same object but for completely different reasons/result I would extend the object twice to make it clear that the two things have nothing in common.


i think this pull request might be adding an extension

this extension is so epic
Q: why should this extension be added over other extensions
A: this extension is so epic
Q: what does this extension add
A: blocks
Q: question
A: answer
Q: why is there eval
A: because its fake (get pranked)

Looking at this is making me MR BEASSST all over the place, such great extension!

McUtils was funny, but harmless
This one will cause us to get very scared bug reports


Make an ARM image available

Hi,
I looked at https://hub.docker.com/r/chambm/pwiz-skyline-i-agree-to-the-vendor-licenses, which is really great but there is no ARM image available. Would it be feasible to push one?
Best,

No, because Wine doesn't work on ARM and even if it did, the vendor libraries we use to read vendor data are x86 as well. If you know of some emulation layer we can put in so that Wine thinks it's running on x86, that's a possibility.

Don't know if suits your needs, but https://github.com/AndreRH/hangover or https://github.com/ptitSeb/box86 eventually?

Does Hangover work for 64-bit Wine?

Box86 and Box64 are compatible with x86/x86_64 AppImage (it that helps)

Box64 does look like a possibility. But I don't have any ARM hardware to test this with so someone who does would have to take the lead.

I can test, but don't have the necessary background to implement it

I did not manage doing it, but here is what I started with...maybe it can help:
install.sh:
#!/bin/bash

	# NOTE: Can only run on aarch64 (since box64 can only run on aarch64)
	# box64 runs wine-amd64, box86 runs wine-i386.

	### User-defined Wine version variables ################
	# - Replace the variables below with your system's info.
	# - Note that we need the amd64 version for Box64 even though we're installing it on our ARM processor.
	# - Note that we need the i386 version for Box86 even though we're installing it on our ARM processor.
	# - Wine download links from WineHQ: https://dl.winehq.org/wine-builds/

	local branch="devel" #example: devel, staging, or stable (wine-staging 4.5+ requires libfaudio0:i386)
	local version="7.1" #example: "7.1"
	local id="debian" #example: debian, ubuntu
	local dist="bullseye" #example (for debian): bullseye, buster, jessie, wheezy, ${VERSION_CODENAME}, etc
	local tag="-1" #example: -1 (some wine .deb files have -1 tag on the end and some don't)

  ########################################################

	# Clean up any old wine instances
	wineserver -k # stop any old wine installations from running
	rm -rf ~/.cache/wine # remove any old wine-mono/wine-gecko install files
	rm -rf ~/.local/share/applications/wine # remove any old program shortcuts

	# Backup any old wine installs
	rm -rf ~/wine-old 2>/dev/null; mv ~/wine ~/wine-old 2>/dev/null
	rm -rf ~/.wine-old 2>/dev/null; mv ~/.wine ~/.wine-old 2>/dev/null
	sudo mv /usr/local/bin/wine /usr/local/bin/wine-old 2>/dev/null
	sudo mv /usr/local/bin/wine64 /usr/local/bin/wine-old 2>/dev/null
	sudo mv /usr/local/bin/wineboot /usr/local/bin/wineboot-old 2>/dev/null
	sudo mv /usr/local/bin/winecfg /usr/local/bin/winecfg-old 2>/dev/null
	sudo mv /usr/local/bin/wineserver /usr/local/bin/wineserver-old 2>/dev/null

	# Wine download links from WineHQ: https://dl.winehq.org/wine-builds/
	LNKA="https://dl.winehq.org/wine-builds/${id}/dists/${dist}/main/binary-amd64/" #amd64-wine links
	DEB_A1="wine-${branch}-amd64_${version}~${dist}${tag}_amd64.deb" #wine64 main bin
	DEB_A2="wine-${branch}_${version}~${dist}${tag}_amd64.deb" #wine64 support files (required for wine64 / can work alongside wine_i386 main bin)
		#DEB_A3="winehq-${branch}_${version}~${dist}${tag}_amd64.deb" #shortcuts & docs
	LNKB="https://dl.winehq.org/wine-builds/${id}/dists/${dist}/main/binary-i386/" #i386-wine links
	DEB_B1="wine-${branch}-i386_${version}~${dist}${tag}_i386.deb" #wine_i386 main bin
	DEB_B2="wine-${branch}_${version}~${dist}${tag}_i386.deb" #wine_i386 support files (required for wine_i386 if no wine64 / CONFLICTS WITH wine64 support files)
		#DEB_B3="winehq-${branch}_${version}~${dist}${tag}_i386.deb" #shortcuts & docs

	# Install amd64-wine (64-bit) alongside i386-wine (32-bit)
	echo -e "Downloading wine . . ."
	wget -q ${LNKA}${DEB_A1}
	wget -q ${LNKA}${DEB_A2}
	wget -q ${LNKB}${DEB_B1}
	echo -e "Extracting wine . . ."
	dpkg-deb -x ${DEB_A1} wine-installer
	dpkg-deb -x ${DEB_A2} wine-installer
	dpkg-deb -x ${DEB_B1} wine-installer
	echo -e "Installing wine . . ."
	mv wine-installer/opt/wine* ~/wine

	# Download wine dependencies
	# - these packages are needed for running box86/wine-i386 on a 64-bit RPiOS via multiarch
	sudo dpkg --add-architecture armhf && sudo apt-get update # enable multi-arch
	sudo apt-get install -y libasound2:armhf libc6:armhf libglib2.0-0:armhf libgphoto2-6:armhf libgphoto2-port12:armhf \
		libgstreamer-plugins-base1.0-0:armhf libgstreamer1.0-0:armhf libldap-2.4-2:armhf libopenal1:armhf libpcap0.8:armhf \
		libpulse0:armhf libsane1:armhf libudev1:armhf libusb-1.0-0:armhf libvkd3d1:armhf libx11-6:armhf libxext6:armhf \
		libasound2-plugins:armhf ocl-icd-libopencl1:armhf libncurses6:armhf libncurses5:armhf libcap2-bin:armhf libcups2:armhf \
		libdbus-1-3:armhf libfontconfig1:armhf libfreetype6:armhf libglu1-mesa:armhf libglu1:armhf libgnutls30:armhf \
		libgssapi-krb5-2:armhf libkrb5-3:armhf libodbc1:armhf libosmesa6:armhf libsdl2-2.0-0:armhf libv4l-0:armhf \
		libxcomposite1:armhf libxcursor1:armhf libxfixes3:armhf libxi6:armhf libxinerama1:armhf libxrandr2:armhf \
		libxrender1:armhf libxxf86vm1 libc6:armhf libcap2-bin:armhf # to run wine-i386 through box86:armhf on aarch64
		# This list found by downloading...
		#	wget https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-i386/wine-devel-i386_7.1~bullseye-1_i386.deb
		#	wget https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-i386/winehq-devel_7.1~bullseye-1_i386.deb
		#	wget https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-i386/wine-devel_7.1~bullseye-1_i386.deb
		# then `dpkg-deb -I package.deb`. Read output, add `:armhf` to packages in dep list, then try installing them on Pi aarch64.

	# - these packages are needed for running box64/wine-amd64 on RPiOS (box64 only runs on 64-bit OS's)
	sudo apt-get install -y libasound2:arm64 libc6:arm64 libglib2.0-0:arm64 libgphoto2-6:arm64 libgphoto2-port12:arm64 \
		libgstreamer-plugins-base1.0-0:arm64 libgstreamer1.0-0:arm64 libldap-2.4-2:arm64 libopenal1:arm64 libpcap0.8:arm64 \
		libpulse0:arm64 libsane1:arm64 libudev1:arm64 libunwind8:arm64 libusb-1.0-0:arm64 libvkd3d1:arm64 libx11-6:arm64 libxext6:arm64 \
		ocl-icd-libopencl1:arm64 libasound2-plugins:arm64 libncurses6:arm64 libncurses5:arm64 libcups2:arm64 \
		libdbus-1-3:arm64 libfontconfig1:arm64 libfreetype6:arm64 libglu1-mesa:arm64 libgnutls30:arm64 \
		libgssapi-krb5-2:arm64 libjpeg62-turbo:arm64 libkrb5-3:arm64 libodbc1:arm64 libosmesa6:arm64 libsdl2-2.0-0:arm64 libv4l-0:arm64 \
		libxcomposite1:arm64 libxcursor1:arm64 libxfixes3:arm64 libxi6:arm64 libxinerama1:arm64 libxrandr2:arm64 \
		libxrender1:arm64 libxxf86vm1:arm64 libc6:arm64 libcap2-bin:arm64
		# This list found by downloading...
		#	wget https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-amd64/wine-devel_7.1~bullseye-1_amd64.deb
		#	wget https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-amd64/wine-devel-amd64_7.1~bullseye-1_amd64.deb
		# then `dpkg-deb -I package.deb`. Read output, add `:arm64` to packages in dep list, then try installing them on Pi aarch64.

	# These packages are needed for running wine-staging on RPiOS (Credits: chills340)
	sudo apt install libstb0 -y
	cd ~/Downloads
	wget -r -l1 -np -nd -A "libfaudio0_*~bpo10+1_i386.deb" http://ftp.us.debian.org/debian/pool/main/f/faudio/ # Download libfaudio i386 no matter its version number
	dpkg-deb -xv libfaudio0_*~bpo10+1_i386.deb libfaudio
	sudo cp -TRv libfaudio/usr/ /usr/
	rm libfaudio0_*~bpo10+1_i386.deb # clean up
	rm -rf libfaudio # clean up

	# Install symlinks
	sudo ln -s ~/wine/bin/wine /usr/local/bin/wine
	sudo ln -s ~/wine/bin/wine64 /usr/local/bin/wine64
	sudo ln -s ~/wine/bin/wineboot /usr/local/bin/wineboot
	sudo ln -s ~/wine/bin/winecfg /usr/local/bin/winecfg
	sudo ln -s ~/wine/bin/wineserver /usr/local/bin/wineserver
	sudo chmod +x /usr/local/bin/wine /usr/local/bin/wine64 /usr/local/bin/wineboot /usr/local/bin/winecfg /usr/local/bin/wineserver

and
Dockerfile:
# Use a base ARM64 image (e.g., Ubuntu ARM64)
FROM arm64v8/ubuntu:latest

# Update and install necessary packages
RUN dpkg --add-architecture armhf \
    && apt-get update \
    && apt-get install -y software-properties-common winbind cabextract p7zip unzip wget zenity xvfb \
    && apt-get -y clean \
    && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/doc-base /usr/share/man /usr/share/locale /usr/share/zoneinfo

# Set up a non-root user (optional but recommended)
RUN useradd -m -s /bin/bash wineuser
USER wineuser

# Set the environment variables for Wine and Box64
ENV WINEARCH=win32
ENV WINEPREFIX=/home/wineuser/.wine
ENV BOX64_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/box64

# Install Box64
RUN wget https://github.com/ptitSeb/box64/releases/download/v0.2.4/box64-GENERIC_ARM-RelWithDebInfo.zip -O /tmp/box64.zip \
    && unzip /tmp/box64.zip -d /tmp/box64 \
    && chmod +x /tmp/box64/box64 \
    && mkdir -p /home/wineuser/bin \
    && mv /tmp/box64/box64 /home/wineuser/bin/box64 \
    && rm -rf /tmp/box64 /tmp/box64.zip

# Set the user as the owner of the box64 binary
RUN chown wineuser:wineuser /home/wineuser/bin/box64

# Install Wine and related dependencies using the provided script
RUN mkdir -p /home/wineuser/.wine

# Copy the script to the user's home directory
COPY install_wine.sh /home/wineuser/install_wine.sh

# Run the script without changing permissions
RUN /bin/bash /home/wineuser/install_wine.sh

# Set the working directory
WORKDIR /home/wineuser/

# Configure Wine
RUN winecfg

# Install .NET, Windows components, fonts, etc.
RUN winetricks -q dotnet48 && wineserver -w && winetricks -q win7 && xvfb-run winetricks -q vcrun2008 vcrun2017 corefonts && wineserver -w && rm -fr /root/.cache/winetricks

# Could not test it?
# COPY dir:b59a1bb699b1fb537248f5d825117750c24a83f2bc35bb5cca983a806b2a8c54 in /wineprefix64/drive_c/pwiz

# Set environment variables for Wine
ENV WINEDEBUG=-all
ENV WINEPATH=C:\pwiz;C:\pwiz\skyline

# Additional setup if required
RUN apt-get update && apt-get -y install sudo && apt-get -y clean && echo "ALL     ALL=NOPASSWD:  ALL" >> /etc/sudoers && echo '#!/bin/sh\nsudo -E -H -u root wine64 "$@"' > /usr/bin/wine64_anyuser && echo '#!/bin/sh\nsudo -E -H -u root wine "$@"' > /usr/bin/wine_anyuser && chmod ugo+rx /usr/bin/wine*anyuser && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/doc-base /usr/share/man /usr/share/locale /usr/share/zoneinfo

# Create a directory for data
RUN mkdir /data

# Set the working directory
WORKDIR /data

# Specify the default command (you can change this to your application)
CMD ["wine64_anyuser", "msconvert"]

Oh, I think I found the needed gem:
https://gitlab.com/Linaro/windowsonarm/woa-linux/-/blob/master/containers/unified.Dockerfile


No tree for JRC2018u template on v2a

or hemibrain

Support info:
Wed Jun 03 2020 17:49:39 GMT 0100 (British Summer Time)
Chrome 83.0.4103.61 [1215,624]
https://v2a.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00101567&i=VFB_00101567
+ Buffered 18000 tiles
+ Buffered 18277 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles
+ Buffered 18000 tiles

My bad; was pointing at pdb which doesn't have the new templates yet. I'll switch back on release


Fixing docs - typos, broken link

Pull Request Test Coverage Report for Build 114594906

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 114044335:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


do not allow files that cross package boundaries

protoc-gen-go tries to disallow multiple files if they cross package boundaries -- it wants to be invoked for a single package at a time, and with all files for that package at the same time.
But it doesn't do a very good job checking for this condition. It simply verifies that the package name for all files is the same, but it does not check that all files emit code to the same package path (which is what Go really considers to be the identity of a package).
That means I can supply different files that have the same package name but live in different folders, and the generated code is simply wrong. Because it assumes they are the same package (including same package path), references from one to the other will result in code that uses naked symbol references (no package qualifier/alias) and also not produce an import statement.
So this change will cause the plugin to issue an error message if the files it produces would be in different Go packages.

@dsnet or @zombiezen: would either of you be the right person to take a look at this?

cc: @sanjaybv

@jhump I'd imagine this needs to go to the dev branch, since that's where all ongoing development is happening.

@tamird, yes, I know. I just never bothered rebasing this. It isn't urgent. I left it open as a reminder to myself to rebase it after dev finally gets merged to master.

I was pleasantly surprised that this rebased cleanly. But CLA bot got confused when I pushed the changes. Opening a different PR for this...

See #527 instead


Add MultiplayerRoomPlayer to StartGame payload

Fixes #44

Moved updating client player state to new function update_room_players
Changed ServerMessagePayload::StartGame type from Vec<NetIdentifier> to Vec<(NetIdentifier, MultiplayerRoomPlayer)>
Changed parsing of StartGame in client_network.rs to try to update player count

Please let me know if I made any mistakes with the logic or implementation. I was able to reproduce #44 without this change, and I am currently unable to reproduce it after the change. That said, it should be tested further.
Namely, I'm not completely sure whether the let Some(_) = system_data.multiplayer_game_state.read_updated_players() should be included.

Works flawlessly! I've got only 1 minor request: rebase this branch against the latest master (I've enabled CI checks for pull requests in the latest commit) and check your changes with clippy and fmt.
See https://github.com/amethyst/grumpy_visitors/blob/master/.github/workflows/check_game.yml#L40 to get the idea how to run these commands

Cool, thanks for the fixes. No worries about the clippy issues, I'll fix those later


Questions regarding replication handling

Before asking a question, make sure you have

[X] Searched existing Stack Overflow questions
[X] Googled your question
[X] Searched open and closed GitHub issues
[X] Read the documentation

What is your question?
Hi all,
I am researching the internal of TiCDC and also reading your code. I have some questions:

Each processor manages multiple table pipelines, but you have only the backend Sink for all table Sink, so is it a bottleneck of the system?
Each table only has one puller, Is it a bottleneck of system?
You use PD (etcd) to manage changefeeds for TiCDC, What is the table assignment strategy for the captures? Are tables belonging to the same database assigned to the same snapshot or to the same processor of a snapshot?
Before flushing to MySQL downstream, you group by RowChangedEvent list by the table and assigned them for workers in the backend Sink. The RowChangedEvent list is sorted by the commitTs. If the RowChangedEvent element has commitTs is the same, they are the same transaction. Each worker will handle RowChangedEvent list of a specific table. And I see that you prepare SQL for multiple rows (rows have the same as commitTs or no) and create transactions for them. If we have RowChangedEvent list that is the same transaction, they are performed in the same transaction in MySQL downstream?
If the upstream rollback transaction, Did TiCDC receives changelogs from TiKV?
Because the TiCDC use table unit to replication strategy, if the transaction performs many queries (insert, update) on different tables and some queries are replicated failed to downstream, the data of these tables is lost? How does the TiCDC handle this case?

I have more questions, so currently, I chose the above questions.
Can you help me answer? Thank you.

@amyangfei Can you help me?


Entrypoint output for css not found

Summary
Having any CSS file defined in the content script section results in an error that the entrypoint output could not be found.

Looking in the dist folder does show a style.css, even though I have no such file, that contains the correct css for 1 css file. If I have multiple css files all but one seems lost as well.

Reproduction
Have any CSS file defined in the content script section. If really needed, I can provide a very minimal GitHub repo.
Environment
  System:
    OS: Linux 6.3 Fedora Linux 38 (Workstation Edition)
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    Memory: 4.53 GB / 15.31 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.6.7 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.106
    Firefox: 114.0
  npmPackages:
    vite: ^4.3.9 => 4.3.9
    vite-plugin-web-extension: ^3.0.1 => 3.0.9 ```

Didn't know that importing the css from the javascript would work that way.
Tested it out with 3 different stylesheets for 2 pages and it now builds, but style.css is registered for both pages and only contains the style for 1 page. It combined the styles for both just fine, if that's meant to happen though.

Thanks for the repro, I'll get it working when I have some free time

@DeKleineKobini Ok, I've looked into this and have a solution. It will change the output directory structure, so I'm not going to include the fix until the next major release (no timeline for this, probably will happen after Vite's next major release).
In the meantime, you can use the following config to create separate CSS files for your content scripts:
    webExtension({
      manifest: generateManifest,
      disableAutoLaunch: true,
      scriptViteConfig: {
        build: {
          rollupOptions: {
            output: {
              assetFileNames: "[name]-[hash][ext]",
            },
          },
        },
      },
    })

Tested with your reproduction, and everything is working 👍
Essentially, it will just add the cache-busting hash back to the end of the CSS filename. So if the contents are different, it will result in two different style-[hash].css files. I don't know if cache-busting is necessary, harmless, or harmful for extensions. The only thing I can think of is slowing down the store review process because the diff will be bigger. But since it's a CSS file... there shouldn't be any security concerns, and I wouldn't think it would need reviewed for anything.


Support Display Vertical Font API

How to display fonts vertically, use the Text label, and the mouse cursor is displayed normally. Thank you.
Can we add some apis? Such as
radix-ui is so good

What are you looking to achieve exactly? Do you have examples?

What are you looking to achieve exactly? Do you have examples?
Thank you for your reply.

Like this "radix-ui"
The result is as follows
r
a
d
i
x
u
i
Also the feature I want to implement is the width of the component according to the width of each word.

You can achieve that style with normal CSS. We have no plans do add this as a prop, as it's pretty niche.


Model binding on circular referenced model, cpu usage 100% and memory usage grow until die

Title
A short description of the bug that becomes the issue title
Model binding on circular referenced model, cpu usage 100% and memory usage grow until die
Functional impact
Does the bug result in any actual functional issue, if so, what?
The program dies when I am using dotnet core for aspnet web application on machine with configuration as follows:
os: OS X El Capitan 10.11.6
dotnet core: .NET Command Line Tools (1.0.0-preview2-003121)

My project.json dependencies contain:
{
  ...
  "dependencies": {
    ...
    "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
    ...
  },
  ...
}

I have circular referenced model as follows:
public class Foo
{
  public List<Bar> Bars { get; set; }
  public string Baz { get; set; }
}

public class Bar
{
  public Foo Foo { get; set; }
}

my controller is
public class FooController
{
  [HttpPost("Create")]
  [ValidateAntiForgeryToken]
  public async Task<IActionResult> Create(Foo model)
  {
    ...
  }
}

when I request with POST data
Baz=something

The program will stuck after controller constructor call. Apparently Create method invocation never happened.
I read in https://docs.asp.net/en/latest/mvc/models/model-binding.html

... It uses reflection and recursion to traverse the properties of complex types looking for matches. Model binding looks for the pattern parameter_name.property_name to bind values to properties.  ...

Here come our problems:

I dont think that traversing into property that I dont specified from request is necessary.
Even though it is necessary and must to do, I think the problem is on reflecting Foo and Bar and Foo and Bar so on repeatedly. IMHO, is not necessary.

I know I can use [BindNever] annotation to avoid the property never been binded.
public class Foo
{
  [BindNever]
  public List<Bar> Bars { get; set; }
  public string Baz { get; set; }
}

But it will leave me unable to bind that property.
Do you think this issue can be resolved with slight changes on model binding mechanism for next release?
Thank you.
Minimal repro steps
What is the smallest, simplest set of steps to reproduce the issue. If needed, provide a project that demonstrates the issue.

Add two classes that have recursive reference between them.
Add controller with POST action that use one of model class.
Request POST to the action.
Open resources information management tool (htop) and see resources usage
Wait for the program to die

Expected result
What would you expect to happen if there wasn't a bug
The request works as usual
Actual result
What is actually happening
The program hang, CPU usage 100% and memory usage grows until die.
Further technical details
Optional, details of the root cause if known
This docs

... It uses reflection and recursion to traverse the properties of complex types looking for matches. Model binding looks for the pattern parameter_name.property_name to bind values to properties.  ...

@reekoheek could you update to the RTM builds of Microsoft.AspNetCore.Mvc? The RC2 build which you're referencing had an issue that was fixed - https://github.com/aspnet/Mvc/issues/4666, you might be hitting it.

Thanks, @pranavkm. It's working now. :)
I couldn't manage to update just single Microsoft.AspNetCore.Mvc latest version (1.0.1) individually. So I did update whole dependencies to 1.0.0. And it is working now.
What I have done:

Update project.json
Run dotnet restore

My project.json is
{
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
    "Microsoft.AspNetCore.Session": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
    "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.0.0-preview1-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
    "Microsoft.EntityFrameworkCore.Tools": {
      "version": "1.0.0-preview1-final",
      "type": "build"
    },
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
      "version": "1.0.0-preview1-final",
      "type": "build"
    },
    "MailKit" : {
      "version": "1.4.0"
    },
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0"

  },

  "tools": {
    "BundlerMinifier.Core": "2.0.238",
    "Microsoft.DotNet.Watcher.Tools": "1.0.0-preview2-final",
    "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview1-final",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview1-final",
    "Microsoft.Extensions.SecretManager.Tools": "1.0.0-preview1-final",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.0.0-preview2-final",
      "imports": [
        "portable-net45+win8+dnxcore50",
        "portable-net45+win8"
      ]
    }

  },
...
}

All the tool packages such as Microsoft.EntityFrameworkCore.Tools have a 1.0.0-preview2-final version available. I'd recommend updating to this version to avoid similar tooling \ design time issues. You should be able to find and replace 1.0.0-preview1-final with 1.0.0-preview2-final in your project.


Enhancements for Drain

a second "dirty" texture...could do. burn like netherreack when filled with hootch and use it up...could do. explode when lit on fire with rocket fuel in it...could do
fill with water when its raining. fill with sewage when it exists and there are animals atop

hootch and rocket fuel done in eioa 0.6


Create package.json to enable installation via MicroPython mip installer

Micropython v1.20 (April 2023) comes with their mip installer tool for package maintenance.
Adding a trivial package.json file to the repo will enable installation of picozero by means of the mip installer.
[Note this PR is based off the main branch at v 0.4.1, which is behind the version available via PyPi.]

@martinohanlon are you happy for this to be merged?


[FLINK-17748][table] Remove registration of TableSource/TableSink in Table Env

What is the purpose of the change
This PR is a workaround to remove all registration of TableSource/TableSink in Table Env. We introduces utility methods to register TableSource/TableSink since descriptor APIs is not enough to fulfill some testing scenarios.
Brief change log

b4d44da introduces utility methods to register table source and sink
809c003 - c0a733e removes all registration of TableSource/TableSink in Table Env
b3cc76c  removes deprecated registerTableSource and registerTableSink APIs in TableEnvironment and related classes

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@KurtYoung Could you have a look at this if you have time?

@flinkbot run azure

I fixed the compilation error and python tests, AZP: https://dev.azure.com/ykt836/Flink/_build/results?buildId=7&view=results


BEAM-7141: add key value timer callback

Key parameter was missing from the callback method. It makes the debugging harder because developer does not have enough context about the callback and its associated data. Key and window parameter will provide enough information in the callback and developer can successfully debug issue.

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

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---
---

Java

Python

---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@pabloem @robertwb Can you review this?

@tweise

R: @aaltay
I think I have taken care of all required comments. Let me know if I have missed anything.


add dynamic editorial calendar to navigation

I added the link to the "Editorial Calendar" on the hamburger menu.

@flaviogalizia I would double check the build errors on this, looks like you're missing spaces before the closing }'s


stargazer: init at 1.0.5

Description of changes

Add the Gemini server stargazer
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks, and welcome to Nixpkgs!
Please study the possibility of adding a module to NixOS subsystem.

Thanks, and welcome to Nixpkgs!
Please study the possibility of adding a module to NixOS subsystem.

Thx! I was planning on looking into that next.


Avoid potential compatability issues by not changing the stack type in PocketUmbrellaController

Unsure why I didnt do it like this in the first place.
Changed the emitted delegate to the exact same one I use in the public version of this entity

Tested, works fine!


The Extract Method and Extract Variable keyboard shortcut does not work after setting.

VS Code version
1.63.0-insider (user setup)
Extension version
Build of python-insider: v2021.12.1482249642-dev
OS type
Windows
OS version
Win10
Python distribution
python.org
Python version
3.9.9
Language server
Default
Expected behaviour
The keyboard shortcut working.
Actual behaviour
The Extract Method and Extract Variable keyboard shortcut does not work.
Steps to reproduce

Go to File -> Preferences -> Keyboard Shortcuts [Ctrl+K Ctrl+S]
Assign a keyboard shortcut to the python.refactorExtractVariable command

Logs
No response
Code of Conduct

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

the keybinds way doesn't provide any arguments.
[Trace - 11:16:58 AM] Sending request 'workspace/executeCommand - (77)'.
Params: {
    "command": "pylance.extractVariable",
    "arguments": []
}

maybe need to add shortcut to python refactor

the shortcut to use is the code action trigger on a selection when its a valid extraction. "ctrl+."

On further thought.. the is no need for shortcut, because a code action is available on a valid extraction

I find it a bit lacking to not be able to have a direct shortcut for that since I use it very often. also feels a bit inconsistent to not have a possibility to assign a shortcut.


Prepare settings and imprint page

The app is still lacking an imprint page (which we should have for our first study) and a place where we could list the used open source libraries and licenses. Those could be sub-pages of a settings page.
Please implement a settings page that can be opened from the upper right corner of the start screen (e.g. by clicking on a cog-icon). The user should be able to navigate back to the front page with an arrow icon that is located in the top left corner (please see existing pages in the app). On this page should be two options / buttons that open separate pages:

an "Imprint" button that opens the imprint page
an "Open source licenses" button that opens the license page
For now, it is sufficient if both pages contain Lorem ipsum text that we replace with meaningful text later (not part of this card). You could, for example, use https://loremipsum.io/generator/ to create some placeholder text.

To implement this feature, you'd need to familiarize yourself first with the basics of Angular (like creation and use of models, components, pages and navigation). Here, I'd suggest to try out the Angular "Tour of heroes" tutorial (https://angular.io/tutorial) and the Ionic/Angular tutorial (https://ionicframework.com/docs/angular/your-first-app). This will teach you some basic concepts that will help you for implement the settings and imprint page.
Todos:

[x] Angular "Tour of heroes" tutorial (https://angular.io/tutorial)
[x] Ionic/Angular tutorial (https://ionicframework.com/docs/angular/your-first-app)
[x] add settings button to front page of app with cog icon
[x] "Settings" page is opened on button press
[x] "Settings" page allows to navigate back to previous page
[x] button that opens "Imprint" page (filled with lorem ipsum text)
[x] button that opens "Open source licenses" page (filled with lorm ipsum text)

Hints:

When implementing the tutorials, it could make sense to track them in an own github repository where you commit you changes bit by bit.
When working on the actual feature, please create an extra branch (e.g. "feature/settings-page") and commit your changes step by step with meaningful commit messages (e.g. #130: add settings button to main page).
In case sth. is unclear, you are stuck or you feel that you need some feedback, please get in touch with one of us. :-)
You can edit this comment to adjust the proposed todos in the list.

Added settings button to start page.

Created settings page with back button.

Added buttons to settings page and functions.

Created the imprint and open source licenses page wit back button.

@JuanFFranco In case your feature is ready for review, please also create a pull request and link it to this issue. This way, the review process is easier for the reviewer.


Translucent Taskbar - No package found matching input criteria

Description
When trying to install 'Translucent Taskbar' Winget gives the error message:
No package found matching input criteria
Would assume that this is low priority. 👍
Reproduction steps
Steps to reproduce the behavior:

Check only 'Translucent Taskbar'
Tap 'Install Selection'

Expected behavior
The installer grabs the package and installs it.
Screenshots

Additional context

OS: Windows 11 Pro
Version: 22H2
Build: 22621.2070 ni_release
Experience: Windows Feature Experience Pack 1000.22659.1000.0
Status: Queued for unenrollment from preview builds
Note 1: As per #890 Winget is updated
Note 2: FWIW, I've not been able to get 'Security (Recommended)Settings' to stick and only push sec updates. I assume that's because of the darned preview builds. Thought I was being clever there, when I CLEARLY wasn't. 😩

TranslucentTB has to be installed using choco.
It has been removed from winget repo since 2022 https://github.com/microsoft/winget-pkgs/commit/23a8fca370f9119bd9af1b826331d037222c5e03

@Velosofy interesting ... because choco is installed. Thanks, though!

The toolbox doesn't have a failover to choco, so it failed. You have to do it yourself.

@Velosofy , aha ... I see ... sorry, I wasn't aware that this was a thing that you had to do when tapping an install. When it starts up it checks for (and finds) choco, so I assumed that was fine.
Not saying any of that sarcastically, I assumed that it would just install, is all.
So in ITIL terms:

This was an incident (tt doesn't install)
- Closable with a workaround (install manually)
Inferring a problem be raised (tt installs via wrong medium)
- Requiring a fix (point script at choco) at a later date

In normal people terms:
Close this, add a task to switch the script. 😅
((( obvious jovial tone is hopefully obvious, not speaking for anyone i've no skin in the game )))


Edit this page links are wrong for https://cert-manager.io/v*-docs/*

Actual

https://github.com/cert-manager/website/edit/master/content/en/v1.6-docs/installation/helm.md

Expected

https://github.com/cert-manager/website/edit/release-1.6/content/en/docs/installation/helm.md

where (content/en/)v([^-]*)-docs maps to release-$2/$1/docs

Thanks for the heads up on this @jsoref - good spot!
That said, I'm gonna close this without a fix, since the whole version-on-a-branch thing will ideally be going away (:pray:) and I'm not sure if we'll maintain the "edit this page" link after the website refresh in any case.


Set GOPROXY env variable

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/lgtm

This change will be tracked with this PR,
https://github.com/aws/eks-distro-prow-jobs/pull/46

This change will be tracked with this PR,
https://github.com/aws/eks-distro-prow-jobs/pull/46


ERR_NAME_NOT_RESOLVED

Hello, I'm using Vue JS in the front-end (through akryum package) and in the console appears each second the same error:
GET http://meteor/socket.io/?EIO=3&transport=polling&t=NRWgWGL net::ERR_NAME_NOT_RESOLVED

Another issue is that HMR/HCP is not working, because I make some modification in the code and it is not reflected (neither if I reload the page with cmd + R). I have to restart meteor-desktop process in order to see the changes.
I hope you can help me with these issues since in the other repo of wojtkowiak, it seems that it isn't maintained.

In the server log it appears that everything is ok:
INFO  meteorApp:  meteor build finished
INFO  electronApp:  running
info: [main] app data dir is: /Users/diavrank/Library/Application Support/MyMeteorApp
info: [main] initial desktop version is  5c39b86036bd2e2d72f246a3d6acf869578ffe99_dev
info: [main] will use desktop.asar from initial version because the initial version of meteor app has changed: /Users/diavrank/Documents/scaffold-meteor-vue/.meteor/desktop-build/desktop.asar
debug: [main] skeleton version 2.2.14
info: [main] ready fired
debug: [main] loading plugin: meteor-desktop-splash-screen
info: [meteor-desktop-splash-screen] [splashScreenHtml] preparing splash screen
info: [meteor-desktop-splash-screen] [splashScreenHtml] splash screen prepared
info: [meteor-desktop-splash-screen] [splashWindow] displaying splash screen from file:///Users/diavrank/Library/Application Support/MyMeteorApp/splash.html
debug: [main] loading internal module: autoupdate
debug: [main] loading internal module: dummy
debug: [main] loading internal module: localServer
info: [localServer] last used port is 57206
debug: [main] loading module: example => example
verbose: [autoupdate] initializing autoupdate module
verbose: [autoupdate] trying to read initial bundle version
verbose: [autoupdate] [AssetBundle] making bundle object for /Users/diavrank/Documents/scaffold-meteor-vue/.meteor/desktop-build/meteor.asar
verbose: [autoupdate] [AssetBundle] loading manifest from /Users/diavrank/Documents/scaffold-meteor-vue/.meteor/desktop-build/meteor.asar
debug: [autoupdate] [AssetManifest] 131 entries. (Version: bd49e1f39129c992637da1f75e1e6463b15b79b1)
verbose: [autoupdate] [AssetBundle] trying to read desktop version for bd49e1f39129c992637da1f75e1e6463b15b79b1
verbose: [autoupdate] [AssetBundle] the desktop version is 5c39b86036bd2e2d72f246a3d6acf869578ffe99_dev
info: [autoupdate] detected new bundled version, removing versions directory if it exists
info: [autoupdate] created versions dir
verbose: [autoupdate] using initial asset bundle
debug: [main] desktop loaded
info: [localServer] will serve from:  /Users/diavrank/Documents/scaffold-meteor-vue/.meteor/desktop-build/meteor.asar
info: [localServer] assigned port 57206
verbose: [autoupdate] started startup timer
debug: [autoupdate] timer set to 60000
debug: [main] protocol meteor:// registered
debug: [main] opening meteor://desktop
verbose: [meteor-desktop-splash-screen] [splashWindow] enabling click through
verbose: [autoupdate] startup did complete, stopping startup timer (startup took 1257ms)
info: [main] assuming meteor webapp has loaded
startup took: 1669.119ms
debug: [main] showing main window
debug: [main] received did-stop-loading
info: [main] assuming meteor webapp has loaded
debug: [main] window already loaded

Tested on Meteor 1.12.1

Resolved it here

Resolved it here


Feature3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

433 of 433 (100.0%)  changed or added relevant lines in 27 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.6%) to 99.409%

Files with Coverage Reduction
New Missed Lines
%

repository/IngSoft2-Model/Board.class.st
4
92.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
673

Relevant Lines:
677

💛  - Coveralls


Make guideline items identifiable

Some kind of ID, also in the documentation, would be helpful for references to the document.

Hi @veitveit,
Do you mean one id per item or one id (something like a version) for the whole document?

Sorry, that wasn't clear. I meant per item.
This could also help to integrate the items into the given or an even more sophisticated hierarchy.
The document can be taken care by the usual github versioning

That's a very good idea!
How about a simply X.Y.Z numbering? Do you think that would do?


feat: cart Items Quantity in SfHeader

Related issue
#654
Scope of work

Created badge
Updated stories

Checklist

[x] I followed composition rules for my component
[x] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)

@aniamusial please check SfCircleIcon :) it has badge 👍 can you check it and try to adjust this issues 💚
<slot v-if="hasBadge" name="badge">

</slot>

Moved to #734 as way too many merge conflicts to be resolved

sorry @aniamusial  😞


[Feature Request]: Flatten function to separate into "flatten" and "rasterise"

Feature Description
I believe before an update, the flatten function only "flattens" the pdf and not converting it into image as per current implementation.
However, I am not sure that the flatten function flattens only forms or also flatten pdf comments as well.
Why is this feature valuable?
Flatten function without converting pdf into image will produce a pdf that is smaller in size but is still sufficient to deter most people from accidentally editing forms and pdf comments.
Suggested Implementation
Suggest to add a "rasterise" check box at the current flatten function page for users that intend to create pdf that is converted into images if it is practical.
Additional Information
No response
No Duplicate of the Feature

[X] I have verified that there are no existing features requests similar to my request.

"flattern only forms" actually means "Dont rasterise"  and do previous functionality

Oh. Understood.
May I know if the flatten using “flatten only forms” will also flatten pdf comments in previous version?
if it’s not, should I close this and create another new issue for that?

Honestly been a while since I used it
You are best off testing and telling me 😂

I have tried a pdf with “flatten only forms” and pdf comments are not flattened.
However, I am not sure to place "flattening pdf comments" under "enhancement" or "bug"


.jshintignore, .jshintrc

After running npm run clean-build and npm run create-build there were two new files created, .jshintignore and .jshintrc.  I don't know the best practice for handling these files in version control (or what they do, frankly), so perhaps we can decide if they should be added to the .gitignore or committed into the repository?

@brenmcnamara I intended to assign this to you but it doesn't look like you're a collaborator yet.  To make that happen check this link: https://github.com/bchurchill/badi-cal/invitations.

.jshintrc includes the instructions on how to Run the Commands (RC) of JSHint, a linting project which I think has fallen out of favor a bit with the predominance now of ESLint. .jshintignore should indicate the files or directories that should be exempt from JSHint linting (e.g., node_modules).
Since you're already using ESLint, I don't think you actually want those files created, and from a quick glance at your code, I don't see how they were created as it seems it should be making ESLint files instead.

Btw, feel free to start a wiki page on @bahaidev listing Baha'i-related repos such as this one (if not the repo itself).

Btw, +9 for your project's use of ES6/Babel!

You can thank @brenmcnamara for that!  I'm a foreigner in these vast and spacious lands of javascript...

Sorry for responding so late. I'm not sure how they got created but you don't want those files. We are using ESLint. These files are for configuring rules that check for javascript code quality. I can try to see why these files were created.
This isn't a breaking issue though. Whether you commit those files or not, things should work fine.

@brettz9 - It doesn't look like the Baha'i Dev organization has any owners. How can we add or get access to repos? Thanks!

When logging on recently, Github suggested renaming the "Owners" team since that team is no longer used to determine ownership (that is instead now handled by "roles").
I did just now add a "Collaborators" team as a general umbrella group and added my TextBrowser repo to it (though if our numbers start getting unwieldy (a welcome development!), I might change to have teams for each repository along with any teams that combine repository access for related projects or teams for long-time team members).
For future reference, as long is one is already a member of the organization (in this case, bahaidev), one can ask to join any (non-"secret") team in the organization.
But in this case, I've already added you both as members to that umbrella team (though in your case, @brenmcnamara , you'll first need to agree to join the organization, but after that, you should already have access to the group, and thus to TextBrowser (and any other repos you might wish to add for that team)).


Page is shown with no assets

I've had this issue since adding the plugin to Nuxt 3 on Netlify.
When returning to the site, no styles or scripts are shown.
Am I missing something? Happy to share any more details.
The development site is here.
Repro:

Visit site on Mobile Safari on iOS
Close Safari from App Switcher
Reopen Safari
See page with no styles or scripts

When visited:

When returning:

@jasonhibbs your sw is broken, check image below.
check https://github.com/antfu/vitesse-nuxt3/pull/98 and https://github.com/vite-pwa/nuxt/pull/66
EDIT: some explanations here with SvelteKit (same problem with same solution): https://github.com/vite-pwa/sveltekit/issues/65#issuecomment-1734213190

Thanks for a quick response and reference, looks like I have some reading to do!


Use replicaCount from .Values in statefulset template

The idea is to have a way of switching the backups on and off based by scaling replicas.
Allowed values for this parameter are 0 and 1

Thanks for making this PR


[BUG] Systray menu shows untranslated option: Available Updates

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
The systray menu option Available Updates is not translated
Steps to reproduce the issue
Setup WingetUI in non-English UI language.
Open the system tray and RMB click WingetUI.
The menu shows the option "Available Updates"  in English whilst the other menu options are properly translated in the selected language. See screenshot below.

WingetUI Log
NA

Package Managers Logs
NA

Relevant information
WingetUI version 3.0.1
Windows 11
Screenshots and videos
No response

Duplicate of #1983

Also reported here: https://github.com/marticliment/WingetUI/issues/1983


Fix exception when building atlas on Unity 2022.2

The CreateSprite method, that is called using reflection, has added an additional argument in Unity 2022.2 and building a sprite atlas fails with an exception. This just sets the new secondaryTextures argument to its default null value.
(Looking at the new feature, this makes it possible to define multiple textures per sprite. I guess this could be used in SpriteDicing for single sprites to use dices from multiple atlases? I'm looking into using SpriteDicing in a project with big background textures and not having to pre-split textures could be useful.)

Thanks for the PR! Will merge it after figuring #30.
Regarding splitting textures: the plugin will automatically try to pack all the dices of a sprite into single atlas and throw exception when it's not possible, in which you can try increasing max. atlas size. secondaryTextures could work as a fallback option in case dices from a sprite can't be packed into a single atlas, though it seems like a very rare use case to me.


Add student loan plan and amount to approver view

This should make it easier for an approver to see all the information they need to approve a claim without having to download the CSV

 Add student loan plan and amount to approver view of claim

Got the OK from Matt 👍


🐞 panic: runtime error: slice bounds out of range [:77] with capacity 64

What is the issue?
This is the first time that I'm seeing this in our CI, wanted to flag it up:
dagger call --source=.:default --host-docker-config=file:/home/runner/.docker/config.json engine container export --path=./bin/engine.tar --forced-compression=Gzip
panic: runtime error: slice bounds out of range [:77] with capacity 64

goroutine 1[19](https://github.com/dagger/dagger/actions/runs/9186832417/job/25263267560#step:4:20) [running]:
bytes.(*Buffer).grow(0xc00041b350, 0x4d)
	/usr/local/go/src/bytes/buffer.go:155 +0x1e5
bytes.(*Buffer).Write(0xc00041b350, {0xc00051c000, 0x4d, 0x8000?})
	/usr/local/go/src/bytes/buffer.go:179 +0x59
io.(*multiWriter).Write(0xc000306128?, {0xc00051c000, 0x4d, 0x8000})
	/usr/local/go/src/io/multi.go:85 +0x6d
io.copyBuffer({0x1411ba0, 0xc0003785b8}, {0x1411a00, 0xc000306128}, {0x0, 0x0, 0x0})
	/usr/local/go/src/io/io.go:432 +0x1f4
io.Copy(...)
	/usr/local/go/src/io/io.go:389
os/exec.(*Cmd).writerDescriptor.func1()
	/usr/local/go/src/os/exec/exec.go:560 +0x34
os/exec.(*Cmd).Start.func2(0xc000190001?)
	/usr/local/go/src/os/exec/exec.go:717 +0x2c
created by os/exec.(*Cmd).Start in goroutine 1
	/usr/local/go/src/os/exec/exec.go:716 +0xa0a
Error: exit status 2
exit status 1

This is definitely different from:

https://github.com/dagger/dagger/issues/5909
https://github.com/dagger/dagger/issues/6893

BTW, do you think that we can close these @vito ? I think so since:

https://github.com/dagger/dagger/pull/6835

Dagger version
dagger v0.11.4 (registry.dagger.io/engine) linux/amd64
Steps to reproduce
https://github.com/dagger/dagger/actions/runs/9186832417/job/25263267560

Closing since we are on v0.12.4 today, and none else hit this since (no new comment).
OK to reopen if needed.


All Boyne resorts moved to an Azure API

Boyne resorts need to be changed from HTML scraping to using their Azure API.

Thank you - released in 3.52.10


Some breaking changes ahead ?

I've just answered a question on stack overflow about using and overriding minima theme.

The github tuto is somewhere wrong about copying master files to override gem current 2.5.1 release.
If this code is released, it will break some current users developments if they don't have a correct config.

Shouldn't copy the master branch since the current released version of Minima is 2.5.1 and the master branch is already going far ahead that. You should copy the 2.5.1 version to do overriding if you don't want to break your current configurations.


Docs: adding SNP prerequisites to CoCo website

Adding the required prerequisites to run CoCo using SEV-SNP.

@fitzthum is this more along the lines of what you're looking for?


Added Govt. Polytechnic College, Tikamgarh India

@coderbond007 I am sorry for a delay with processing your request.
Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@coderbond007 You might miss my previous comment. Please react.

Hey @philipto
sorry I forgot to update on this one. We do not have a dedicated college website. I think you can close this ticket. Thanks for the concern. Is there any other way out? I can try for that.

@coderbond007 Thank you! Yes, I have to close this request without merging. Certainly, you can get your free license without adding your school domain to this repository. Please apply with official document using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you!


Update base docker image

Using nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04 adds CUDA support for newer graphic chips.
imutils popped up as a missing dependency for me.

This might also fix the broken GPG key error that comes with the older image

Confirmed that it does fix the NVIDIA public key rotation issue in older images, but I notice that the build fails trying to cd weights because that folder is never copied or created. Unsure how the original Dockerfile ever built without that step.


⚠ ClamAV has degraded performance

In 3a2572c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 178 ms

Resolved: ClamAV performance has improved in 3214dc5.


[Suggestion] Server list align center

Request to make server list align center

Now possible with:
--HSL-server-alignment: center;

Add that inside the :root of your .theme.css file.

thank you


Fix inspect() for objects w/o hasOwnProperty()

var obj = Object.create(null);
obj.foo = 'bar';
inspect(obj);
// fun stops

Cherry-picked. Will be published in<EMAIL_ADDRESS>


Re-add map to Sub and Html and remove Reader, fix #12

This fixes #12

Oh, I see. But wouldn't it be confusing that map of Html is fundamentally different than map of Reader, even though Html is a Reader in every other way?
May I ask, what benefit are you seeing in Html being a Reader?
If I can get to that, I might rethink all that I said in the issue.

@gcanti if your only concern is that it's a breaking change, it could sit for a while.
There are obvious ways around the issue, and I'm really focused on #3 working on integration with redux-devtools-extension, so some more issues might come up (although I don't expect it. It's really smooth from elm-ts's side, but I'm running into lots of small issues from redux-devtools-extension's side :( )

Ok, in the meanwhile I'll think about this

May I ask, what benefit are you seeing in Html being a Reader?

and try to come up with a decent example

try to come up with a decent example

I give up, in the end all my examples are a bit silly. Let's remove Reader and prepare version 0.4.
Speaking of which, what about swapping the arguments of all maps for a better DX?
export declare function map<a, msg>(ha: Html<a>, f: (a: a) => msg): Html<msg>
//                                                      ^ better type inference here

instead of
export declare function map<a, msg>(f: (a: a) => msg ha: Html<a>): Html<msg>

Also, is there a reason why you changed Html.Html<dom, msg> and React.Html<msg> from interface to type?

what about swapping the arguments of all maps for a better DX?

No automatic currying and pipeline operator in JS (yet), so no harm would be done.
(just curious, is the importance of parameters order just some glitch in Typescript type inference? Is there an existing issue? I am just switching from flow, so glitches are not unfamiliar :) )

is there a reason why you changed Html.Html<dom, msg> and React.Html from interface to type

Three reasons:

It was a type before switching it to Reader
It's just a function.
I am switching from flow to Typescript, and still learning some Typescript specifics

@minedeljkovic let me know if you want me to release 0.4 or you got any more changes

@gcanti I'm still fiddling with some debugging scenarios using redux-devtools-extension, and it could take a while.
OTOH, I think 0.4 is conceptually 100% equal to elm 0.18, elm 0.18 has a great debugger, so I don't see any significant changes (especially breaking ones) needed to support those scenarios.

@minedeljkovic released 0.4 (and updated elm-ts-todomvc)
Thanks


UnixResolverDnsServerAddressStreamProvider should allow for empty /et…

…c/resolver dir
Motivation:
UnixResolverDnsServerAddressStreamProvider currently throws an exception if /etc/resolver exists but it empty. This shouldn't be an exception and can be tolerated as if there is no contribution from /etc/resolver.
Modifications:

Treat /etc/resolver as present and empty the same as not being present

Result:
UnixResolverDnsServerAddressStreamProvider initialization can tolerate empty /etc/resolver directory.

@normanmaurer - Unit test added.

4.1 (d3581b575)


detect doi

10.1109/access.2022.3220241

https://www.crossref.org/blog/dois-and-matching-regular-expressions/


IOS 10 transparency issue

Hi! This is what I get for IOS 10 png images, transparency seems broken. Is that known issue?

Phaser version is 2.4.7

Yes this is an iOS10 bug. As it's still in beta and not yet released I'll be amazed if they don't fix it.
It manifests in all versions of Pixi too (see upstream issue here https://github.com/pixijs/pixi.js/issues/2726)

This appears to be fixed in the latest iOS10 beta. Closing off.


feat: PublicKeys struct

Improving code legibility by introducing a PublicKey struct.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6333  👈
#6323
#6219 : 2 other dependent PRs (#6184 , #6221 )
#6322
#6300
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on  Graphite

Docs Preview
Hey there! 👋 You can check your preview at https://664210f6bb469b0377603e21--aztec-docs-dev.netlify.app


Version 3.0 : Why not close

Hello,
I am following the different releases of ASP .NET CORE, especially on the Blazor side.
I can see the different milestones. Why is section 3.0.0 not closed and completed?
Is there a particular reason? There has already been an official version for version 3.0.
Thanks for any answer.

@mkArtakMSFT - you usually do this?  Any reason not to this time?

The 3.0.0 milestone is now closed.


Fix retain cycle during scheduling causing extra runs

This is a fix for https://github.com/matryer/bitbar/issues/195
The references to self were stopping the plugins from being deallocated,
which would cause an extra set of plugins to linger upon each refresh.
Pretty informative stack overflow post below.
http://stackoverflow.com/questions/20030873/always-pass-weak-reference-of-self-into-block-in-arc

I'm still seeing the same issues running the sample plugin provided in #195 ... Seems like we are missing something somewhere...
I can confirm that it is running multiple threads and that the reference count appears static (at 4.)  Besides that though, I don't know what else would potentially be holding a reference.  I'll dig some more tomorrow.

closing in favor of https://github.com/matryer/bitbar/pull/278


Fixed code to use all metadata features. Added comments and cleaned c…

This is a dataset I currently use my research and I realized some features are not being returned.
Previous code was not using all available metadata and was kind of messy
I fixed code to use all metadata and made some modification to be more efficient and better formatted.
Please let me know if I need to make any changes.

@yjernite Pushed all the changes you recommended. Thank you for your help!


enhance Provide guidance log when user encounters no default vault situation.

Proposed changes

Provide more detailed guidance log for user who might encounter no default vault situation.

run buildall

run buildall

run buildall


[Alpine Linux] Throttled daemon lacks executable permission out of the box

I am running Alpine Linux on Edge branch with testing repository enabled.
When attempting to run rc-update add throttled as root, the error shows up:
 * rc-update: service `throttled' is not executable

When attempting to manually start throttled with rc-service throttled start as root, the error shows up:
 * rc-service: Permission denied

Throttled is indeed installed in /usr/lib/throttled/throttled.py and marked as executable and can be run as root. I guess as a temporary workaround I can run it directly.

Update: the daemon can be successfully started/enabled once I mark it as executable too. OpenRC daemons normally have executable permissions, but for some reason throttled doesn't.
This fixes it:
chmod +x /etc/init.d/throttled

I can now start/enable the service rc-update and rc-service

I moved this issue to the Alpine package issues so I will close this one.

https://gitlab.alpinelinux.org/alpine/aports/-/issues/16670


An item with the same key has already been added.

Is it possible to parse where the same key appears several times? I'm only getting An item with the same key has already been added. Its an email sent by mailgun to http where there are several Content-Disposition: form-data; name="Received"

Hi senikk, I had the same issue and ended up just changing the way I name and handle fields.  The spec does not say it would be wrong to support this though - see "5.5 Ordered fields and duplicated field names" https://www.ietf.org/rfc/rfc2388.txt

It's definitely possible to handle this. In particular if you use the new StreamingMultipartFormDataParser you can handle as many files and parameters as you want regardless of their name. However the simple MultipartParser can't support it without changing the interface through which you access Parameters.

Yup. I have changed it myself to my needs and fixed the other issue with files not working anymore. Just a bit more code to get what I want like parser.Parameters.Find(p => p.Name.ToLower() == "subject") but not its not failing anymore :)

Yeah. I'm not going to support this with the MultipartFormDataParser but it's simple to create another derivation from StreamingMultipartFormDataParser with the behaviour you want (or use StreamingMultipartFormDataParser directly). If there's a lot of demand I could create another derivation with the correct interface but I don't want to break any existing interfaces.
I'm going to close this now but if you've got any other questions or can see a reason why a new interface should be created let me know!

You could do a small fix the current interface checking if the key exists before adding it for paramteres so it doesn't fail reading multiparts with several equal keys. Som times you don't need the extra information given anyway.

The issue in letting it silently fail is that it could lead to very confusing situations where you're losing data silently without knowing why. I'd rather to fail loudly if you're doing something that makes you lose data instead of letting it silently continue.

If you use it to manage forwarded emails from mailgun you can´t use this library as it is because your http body contains several equal parameter keys like "Received" etc.

For cases like that you can use the streaming multipart parser like so:
var parser = new StreamingMultipartFormDataParser(stream);
parser.ParameterHandler += parameter =>
{
    // Do something with the parameter. We don't care if it has the same name.
};
parser.FileHandler += (name, fileName, type, disposition, buffer, bytes) =>
{
    // Write the part of the file we've recieved to a file stream. (Or do something else)
    filestream.Write(buffer, 0, bytes);
};

Alternatively if you look at the source code of MultipartFormDataParser (https://github.com/Vodurden/Http-Multipart-Data-Parser/blob/master/HttpMultipartParser/MultipartFormDataParser.cs) at around line 200 in the Constructor you can see it's fairly easy to define your own wrapper around the StreamingMultipartFormDataParser that can handle this situation. The issue is I don't want to create an entire new class just for handling parameters with multiple names in the simple way. If I were designing this library again from scratch this would certainly be something I would include but I don't want to break the existing interface for this when the StreamingMultipartFormDataParser can handle this case.

I did it on friday myself so its in production allready ;)

Awesome :) If you do ever think of another reason why I should change my stance on this make sure to let me know! Just because this particular issue is closed doesn't mean I don't want to be receptive to feedback about improving the library.
Thanks for taking the time to contribute!


Added advanced label check

Test Workflow
/wandb 82700_00000

Test Workflow
Forgot Issue/PR Scope in PAT
/wandb 82700_00000


Calculated fields not updating

Issue Body
SUMMARY

I have a number of calculated fields in a PDF template I am filling.
The field updates do not run, and I have been unable to find something in the API that will update them for me.
Here is a video describing the problem.

I would like to find:

A method that can do this.
An explanation as to why we cannot do this.
Or an explanation as to what changes would need to be made to support this.

Hello @tewen! You managed to create this issue right in the middle of me revamping how issues/PRs/discussions work for this repo 😄. Going forward, issues are used for three purposes:

Reporting bugs
Tracking work
Sharing proposals

I'm still working on templates for the second and third categories.
Which of the three categories best describes this issue?

@Hopding I would be interested in the solution later, but I first need to determine if we're even heading this direction with the project in question. For now, closing it made the most sense.
As for the video, I agree. I use them for everything. Threadit.app is excellent & free.


perf(avm): minor benchmarking

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#9869  👈
#9798
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @IlyasRidhuan and the rest of your teammates on  Graphite


StartService failed (1056)

PS C:\Windows\system32> C:\Users\dev\Desktop\StopDefender.exe
[+] SeDebugPrivilege enabled!
[+] OpenSCManager success!
[-] StartService failed (1056)
PS C:\Windows\system32> C:\Users\dev\Desktop\StopDefender.exe
[+] SeDebugPrivilege enabled!
[+] OpenSCManager success!
[-] StartService failed (1056)
windows 10 1909 x64

1056 error means that the Service is already started. I'll check it and fix it ASAP.

Fixed in #39565d68


“fix#788-Add-API-Template”

Signed-off-by: cwillum<EMAIL_ADDRESS>Fixes #788
Description
Added API Guide template to repository.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This combines notes from the quip "OpenSearch Style Guide - API sections and formats" and an outline Alice put together. So if I've missed or confused something, I'm ready for another pass. Thanks.

@hdhalter Thanks for the reminder. I've submitted the request.

@kolchfa-aws Incorporated those latest changes. Thanks.

@Naarcha-AWS according to the workflow we talked about yesterday, this would be ready to merge after editorial review. I think the team wanted your eyes on this one last time, mainly for language. Thanks.

I wanted to clarify that not all APIs - in fact, very few if any - will include all sections described in the guide. So I changed some language at the beginning. One more editorial look, and then I'll "ship it!"


Docker listener setting is not available in 4.8.0 in Server Managment > Settings

Describe the bug
Docker listener setting is not available in 4.8.0 in Server Managment > Settings in the Manager Dashboard
To Reproduce
Following the instructions at https://documentation.wazuh.com/current/user-manual/capabilities/container-security/monitoring-docker.html.
Connecting an agent with docker, with the referred dependencies and activating the docker listener.
Expected behavior
You should allow Docker listener activation from Server Management > Settings or the option should not appear directly
Screenshots

Additional context
Events raised on the agent by manipulating docker following this documentation https://documentation.wazuh.com/current/user-manual/capabilities/container-security/use-cases.html do not work
Querying the API with
GET /agents/<AGENT_ID>/config/wmodules/wmodules
The following result could be obtained:

{
  "data": {
    "wmodules": [
      {
        "agent-upgrade": {
          "enabled": "yes",
          "ca_verification": "yes",
          "ca_store": [
            "etc/wpk_root.pem"
          ]
        }
      },
      {
        "docker-listener": {
          "interval": 60,
          "disabled": "no",
          "run_on_start": "no",
          "attempts": 5
        }
      },
      {
        "cis-cat": {
          "disabled": "yes",
          "scan-on-start": "yes",
          "interval": 86400,
          "java_path": "wodles/java",
          "ciscat_path": "wodles/ciscat",
          "ciscat_binary": "CIS-CAT.sh",
          "timeout": 1800
        }
      },
      {
        "osquery": {
          "disabled": "yes",
          "run_daemon": "yes",
          "add_labels": "yes",
          "log_path": "/var/log/osquery/osqueryd.results.log",
          "config_path": "/etc/osquery/osquery.conf"
        }
      },
      {
        "syscollector": {
          "disabled": "no",
          "scan-on-start": "yes",
          "interval": 3600,
          "network": "yes",
          "os": "yes",
          "hardware": "yes",
          "packages": "yes",
          "ports": "yes",
          "ports_all": "no",
          "processes": "yes",
          "sync_max_eps": 10
        }
      },
      {
        "sca": {
          "interval": 43200,
          "enabled": "yes",
          "scan_on_start": "yes",
          "skip_nfs": "yes",
          "policies": [
            "/var/ossec/ruleset/sca/cis_ubuntu20-04.yml"
          ]
        }
      },
      {
        "wazuh_control": {
          "enabled": "yes"
        }
      }
    ]
  },
  "error": 0
}

In the agent you can also observe the activation
root@mediumubuntu:/home/vagrant# cat /var/ossec/logs/ossec.log | grep docker
2024/06/20 11:40:16 wazuh-modulesd:docker-listener: INFO: Module docker-listener started.
2024/06/20 11:41:16 wazuh-modulesd:docker-listener: INFO: Starting to listening Docker events.

However, in the manager the result of the use case replication was:
[root@wazuh-server wazuh-user]# cat /var/ossec/logs/alerts/alerts.json | grep container
{"timestamp":"2024-06-20T12:37:38.774+0000","rule":{"level":3,"description":"CIS Ubuntu Linux 20.04 LTS Benchmark v2.0.0: Ensure nftables base chains exist.","id":"19009","firedtimes":7,"mail":false,"groups":["sca"],"gdpr":["IV_35.7.d"],"pci_dss":["2.2"],"nist_800_53":["CM.1"],"tsc":["CC7.1","CC7.2"],"cis":["<IP_ADDRESS>"],"cis_csc_v8":["4.4","4.5"],"cis_csc_v7":["9.4"],"iso_27001-2013":["A.13.1.1"],"mitre_tactics":["TA0005"],"mitre_techniques":["T1562","T1562.004"],"nist_sp_800-53":["SC-7(5)"],"soc_2":["CC6.6"]},"agent":{"id":"002","name":"ubunt","ip":"<IP_ADDRESS>"},"manager":{"name":"wazuh-server"},"id":"1718887058.326785","decoder":{"name":"sca"},"data":{"sca":{"type":"check","scan_id":"797803356","policy":"CIS Ubuntu Linux 20.04 LTS Benchmark v2.0.0","check":{"id":"19088","title":"Ensure nftables base chains exist.","description":"Chains are containers for rules. They exist in two kinds, base chains and regular chains. A base chain is an entry point for packets from the networking stack, a regular chain may be used as jump target and is used for better rule organization.","rationale":"If a base chain doesn't exist with a hook for input, forward, and delete, packets that would flow through those chains will not be touched by nftables.","remediation":"Run the following command to create the base chains: # nft create chain inet <table name> <base chain name> { type filter hook <(input|forward|output)> priority 0 \\; } Example: # nft create chain inet filter input { type filter hook input priority 0 \\; } # nft create chain inet filter forward { type filter hook forward priority 0 \\; } # nft create chain inet filter output { type filter hook output priority 0 \\; }.","compliance":{"cis":"<IP_ADDRESS>","cis_csc_v8":"4.4,4.5","cis_csc_v7":"9.4","cmmc_v2":{"0":"AC.L1-3.1.20,CM.L2-3.4.7,SC.L1-3.13.1,SC.L2-3.13.6"},"iso_27001-2013":"A.13.1.1","mitre_tactics":"TA0005","mitre_techniques":"T1562,T1562.004","nist_sp_800-53":"SC-7(5)","pci_dss_v3":{"2":{"1":"1.1.4,1.3.1,1.4"}},"pci_dss_v4":{"0":"1.2.1,1.4.1"},"soc_2":"CC6.6"},"command":["nft list ruleset"],"result":"not applicable","reason":"Invalid path or wrong permissions to run command 'nft list ruleset'"}}},"location":"sca"}
[root@wazuh-server wazuh-user]# cat /var/ossec/logs/alerts/alerts.json | grep docker
[root@wazuh-server wazuh-user]# cat /var/ossec/logs/alerts/alerts.json | grep httpd

Research
I deployed 4.8.0 and I configured following a Wazuh agent enabling the Docker listener and installing the required dependencies.
Regarding the configuration of Docker listener for the agent, this is visible on the specific configuration view of the agent accessible through the Endpoints Summary:

Update
Thank you very much @Desvelao for the information, I found that with the change of screens in version 4.8.0 and the update of the documentation, it is difficult to understand that there is a docker listener for the manager and another for the agent quickly.
On the other hand, by repeating the use-case attached in the official documentation, I cannot reproduce the same alerts, so some change will probably have to be made.
I will be checking if the absence of events that reach the alert level is due to some change or failure. Taking this into account, I will inform you if any documentation changes will have to be made or this situation will have to be addressed to a fix.

@pro-akim we will close this issue, as there is no action to take. Re-open it if there is further information.

Hi, i installed ubuntu 22.04 lts with wazuh 4.8.0, this is the server, another ubuntu 22.04 lts with docker, in linux with docker i installed wazuh agent and linked it to server, in /var/ossec/etc/ossec.conf i added:

no

and restarted the agent.
In wazuh server i dont have any events from docker.
Anything else need to be enabled anywhere else?
thank you

Hi, i installed ubuntu 22.04 lts with wazuh 4.8.0, this is the server, another ubuntu 22.04 lts with docker, in linux with docker i installed wazuh agent and linked it to server, in /var/ossec/etc/ossec.conf i added: <wodle name="docker-listener"> <disabled>no</disabled> </wodle> and restarted the agent. In wazuh server i dont have any events from docker. Anything else need to be enabled anywhere else? thank you

I met same problem


USER biodocker do not have permission to access /data

The /data/ folder set up as WORKDIR do not provide the biodocker user proper working permissions. I did some tests with the DIA_Umpire program and the software could not write the outputs on /data/. After removing the USER biodocker command, everything went back to normal.

http://stackoverflow.com/questions/23544282/what-is-the-best-way-to-manage-permissions-for-docker-shared-volumes
RUN chown -R biodocker:biodocker /data /config
Also, change the UID/GID from 1001 to 1000 once it is the default ID to single user debian


Only the first server in a media pool is ever asked for media

Even if it's down. serious issue @DerZombiiie

Actually we can just make this a feature. Unreachability will lead to errors when joining ("content multiplexing failed") just like unreachability of regular servers.
On the other hand it would be useful if any reachable member of that pool could supply the media.


Code availability

Hi, I would like to test your solution for a dataset of imbalanced distribution that I have. Do you think that you could make it available?

Hi - thanks for your interest! The code will be released within several weeks. Please stay tuned!

@YyzHarry thanks for the feedback. Looking forward to the release.

I too need to apply on a  imbalanced regression dataset. Please let me know when the code will be available


memory leak in verify_tuple

Describe the bug
verify_tuple allocates memory for expected_msg but does not free it. I assume that is also the root cause for https://github.com/vmware/splinterdb/issues/306
Updated that diff just now to remove the "//"
This is fixed by:
diff --git a/tests/test_common.c b/tests/test_common.c
index b57cbc4..69c5995 100644
--- a/tests/test_common.c
+++ b/tests/test_common.c
@@ -55,6 +55,7 @@ verify_tuple(trunk_handle           *spl,
          platform_error_log("expected data: %s\n", data_str);
          platform_assert(FALSE);
       }
+      merge_accumulator_deinit(&expected_msg);
    }
 }

Reproduction steps
Run this and watch process RSS. It is stable during the insert stage, close to 5G but grows once the lookup stage begins. With a large enough number of lookups I get OOM on my 16G server.

build/release/bin/driver_test splinter_test --perf --max-async-inflight 0 --num-insert-threads 1 --num-lookup-threads 1 --num-range-lookup-threads 0 --db-capacity-gib 250 --key-size 20 --data-size 200 --db-location /data/m/db  --cache-capacity-gib 5  --num-inserts 50000000

Run with valgrind --tool=massif and I get reports like that show the sources of the allocations and test_common.c is verify_tuple.
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 87 490,274,083,607    3,804,596,048    3,354,196,432   450,399,616            0
 88 494,269,690,703    3,876,520,272    3,416,870,212   459,650,060            0
 89 496,409,647,753    3,917,957,056    3,452,978,272   464,978,784            0
88.13% (3,452,978,272B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->80.41% (3,150,335,904B) 0x4892587: UnknownInlinedFun (platform_inline.h:430)
| ->80.41% (3,150,335,904B) 0x4892587: UnknownInlinedFun (util.c:24)
|   ->80.41% (3,150,335,904B) 0x4892587: writable_buffer_resize (util.c:43)
|     ->80.41% (3,150,335,904B) 0x488E3C0: merge_accumulator_resize (data_internal.c:50)
|     | ->80.41% (3,150,335,904B) 0x116BF3: UnknownInlinedFun (test.h:177)
|     | | ->80.41% (3,150,335,904B) 0x116BF3: UnknownInlinedFun (test_common.c:48)
|     | |   ->80.41% (3,150,335,904B) 0x116BF3: test_trunk_lookup_thread (splinter_test.c:302)
|     | |     ->80.41% (3,150,335,904B) 0x48954E3: task_invoke_with_hooks (task.c:181)
|     | |       ->80.41% (3,150,335,904B) 0x498AB42: start_thread (pthread_create.c:442)
|     | |         ->80.41% (3,150,335,904B) 0x4A1BBB3: clone (clone.S:100)
|     | |
|     | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|     |
|     ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->06.69% (262,144,000B) 0x488A0EE: UnknownInlinedFun (platform_inline.h:419)
| ->06.69% (262,144,000B) 0x488A0EE: clockcache_init (clockcache.c:1850)
|   ->06.69% (262,144,000B) 0x11EF82: splinter_test (splinter_test.c:2806)
|     ->06.69% (262,144,000B) 0x491FD8F: (below main) (libc_start_call_main.h:58)
|
->01.03% (40,498,368B) in 42 places, all below massif's threshold (1.00%)

### Expected behavior

I expect process RSS to be not much larger than sizeof(write buffer) + sizeof(block cache), regardless it shouldn't grow forever.

### Additional context

_No response_

Thanks @mdcallag!  I've opened pull-request #442 with your suggested fix and will merge it once CI passes.


Support for embeddables

Can we support embeddable bins for code examples? Something like this: https://blog.codepen.io/documentation/features/embedded-pens/

Added in a51569d.