[Bug]: Appsmith server is taking too long to respond

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Installed on Ubuntu 20.04
sudo docker ps
CONTAINER ID   IMAGE                         COMMAND                  CREATED        STATUS                  PORTS                                                                      NAMES
76284bf62841   appsmith/appsmith-ce:latest   "/opt/appsmith/entry…"   23 hours ago   Up 23 hours (healthy)   <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp   appsmith
d7a2e3340eed   containrrr/watchtower         "/watchtower --sched…"   41 hours ago   Up 40 hours             8080/tcp                                                                   appsmith_auto_update_1
When I try to edit my first App

Logs:
editor stdout | <IP_ADDRESS> - - [08/Jun/2023:06:51:48 +0000] "GET /api/v1/pages?pageId=647f441bb9009d5e1ccb6841&mode=EDIT HTTP/1.1" 200 497 "http://<IP_ADDRESS>/app/my-first-application/page1-647f441bb9009d5e1ccb6841/edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>" editor stdout |  rts stdout | ns:/# socket _uR-aKx-o11UwoKEAAAB joined the room app:647f441bb9009d5e1ccb683e rts stdout |  redis stdout | 1676:M 08 Jun 2023 06:51:48.280 * Background saving terminated with success redis stdout |  backend stdout | [2023-06-08 06:51:48,320]<EMAIL_ADDRESS>sessionId=b80a75a0-0c6e-4a3e-9eed-889424b3bdea, thread=lettuce-epollEventLoop-6-1, requestId=2350f68b-1c57-4481-8a1c-44e5910607ea - Going to get all unpublished action collections with params: {applicationId=[647f441bb9009d5e1ccb683e]}, branch: null backend stdout |  editor stdout | <IP_ADDRESS> - - [08/Jun/2023:06:51:48 +0000] "GET /api/v1/collections/actions?applicationId=647f441bb9009d5e1ccb683e HTTP/1.1" 200 101 "http://<IP_ADDRESS>/app/my-first-application/page1-647f441bb9009d5e1ccb6841/edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>" editor stdout |  editor stdout | <IP_ADDRESS> - - [08/Jun/2023:06:51:48 +0000] "GET /api/v1/themes/applications/647f441bb9009d5e1ccb683e/current?mode=EDIT HTTP/1.1" 200 1442 "http://<IP_ADDRESS>/app/my-first-application/page1-647f441bb9009d5e1ccb6841/edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>" editor stdout |  editor stdout | <IP_ADDRESS> - - [08/Jun/2023:06:51:48 +0000] "GET /api/v1/pages/647f441bb9009d5e1ccb6841 HTTP/1.1" 200 518 "http://<IP_ADDRESS>/app/my-first-application/page1-647f441bb9009d5e1ccb6841/edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>" editor stdout |  rts stdout | ns:/# socket _uR-aKx-o11UwoKEAAAB left the room app:647f441bb9009d5e1ccb683e rts stdout |  editor stdout | <IP_ADDRESS> - - [08/Jun/2023:06:51:48 +0000] "GET /api/v1/themes/applications/647f441bb9009d5e1ccb683e HTTP/1.1" 200 4624 "http://<IP_ADDRESS>/app/my-first-application/page1-647f441bb9009d5e1ccb6841/edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>" editor stdout |  rts stdout | ns:/# socket _uR-aKx-o11UwoKEAAAB joined the room app:647f441bb9009d5e1ccb683e rts stdout |  backend stdout | [2023-06-08 06:51:48,397]<EMAIL_ADDRESS>sessionId=b80a75a0-0c6e-4a3e-9eed-889424b3bdea, thread=lettuce-epollEventLoop-6-1, requestId=4910e92d-c69a-4077-bf8b-da19a27cc71d - Going to get snapshot with application id: 647f441bb9009d5e1ccb683e, branch: null backend stdout |  backend stdout | [2023-06-08 06:51:48,404]<EMAIL_ADDRESS>sessionId=b80a75a0-0c6e-4a3e-9eed-889424b3bdea, thread=nioEventLoopGroup-3-5, requestId=4910e92d-c69a-4077-bf8b-da19a27cc71d -  backend stdout | com.appsmith.server.exceptions.AppsmithException: Unable to find application 647f441bb9009d5e1ccb683e backend stdout | 	at com.appsmith.server.services.ce.ApplicationSnapshotServiceCEImpl.getWithoutDataByApplicationId(ApplicationSnapshotServiceCEImpl.java:73) backend stdout | 	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:  backend stdout | Error has been observed at the following site(s): backend stdout | 	*__checkpoint ⇢ Handler com.appsmith.server.controllers.ApplicationController#getSnapshotWithoutApplicationJson(String, String) [DispatcherHandler] backend stdout | Original Stack Trace: backend stdout | 		at com.appsmith.server.services.ce.ApplicationSnapshotServiceCEImpl.getWithoutDataByApplicationId(ApplicationSnapshotServiceCEImpl.java:73) backend stdout | 		at com.appsmith.server.controllers.ce.ApplicationControllerCE.getSnapshotWithoutApplicationJson(ApplicationControllerCE.java:216) backend stdout | 		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) backend stdout | 		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) backend stdout | 		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) backend stdout | 		at java.base/java.lang.reflect.Method.invoke(Method.java:568) backend stdout | 		at org.springframework.web.reactive.result.method.InvocableHandlerMethod.lambda$invoke$0(InvocableHandlerMethod.java:145) backend stdout | 		at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53) backend stdout | 		at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:293) backend stdout | 		at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:474) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53) backend stdout | 		at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onNext(MonoPeekTerminal.java:180) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53) backend stdout | 		at reactor.core.publisher.Operators$BaseFluxToMonoOperator.completePossiblyEmpty(Operators.java:2071) backend stdout | 		at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onComplete(FluxDefaultIfEmpty.java:134) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onComplete(MDCConfig.java:63) backend stdout | 		at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:85) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onComplete(MDCConfig.java:63) backend stdout | 		at reactor.core.publisher.MonoSupplier$MonoSupplierSubscription.request(MonoSupplier.java:148) backend stdout | 		at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:2341) backend stdout | 		at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:2215) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onSubscribe(MDCConfig.java:47) backend stdout | 		at reactor.core.publisher.MonoSupplier.subscribe(MonoSupplier.java:48) backend stdout | 		at reactor.core.publisher.Mono.subscribe(Mono.java:4485) backend stdout | 		at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:82) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onComplete(MDCConfig.java:63) backend stdout | 		at reactor.core.publisher.Operators.complete(Operators.java:137) backend stdout | 		at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:145) backend stdout | 		at reactor.core.publisher.MonoFlatMap.subscribeOrReturn(MonoFlatMap.java:53) backend stdout | 		at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57) backend stdout | 		at reactor.core.publisher.MonoZip$ZipCoordinator.request(MonoZip.java:216) backend stdout | 		at reactor.core.publisher.MonoFlatMap$FlatMapMain.request(MonoFlatMap.java:194) backend stdout | 		at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onSubscribe(MonoIgnoreThen.java:134) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onSubscribe(MDCConfig.java:47) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onSubscribe(MDCConfig.java:47) backend stdout | 		at reactor.core.publisher.MonoFlatMap$FlatMapMain.onSubscribe(MonoFlatMap.java:117) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onSubscribe(MDCConfig.java:47) backend stdout | 		at reactor.core.publisher.MonoZip.subscribe(MonoZip.java:125) backend stdout | 		at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64) backend stdout | 		at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52) backend stdout | 		at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64) backend stdout | 		at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:240) backend stdout | 		at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:203) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onComplete(MDCConfig.java:63) backend stdout | 		at reactor.core.publisher.MonoFlatMap$FlatMapMain.onComplete(MonoFlatMap.java:189) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onComplete(MDCConfig.java:63) backend stdout | 		at reactor.core.publisher.Operators.complete(Operators.java:137) backend stdout | 		at reactor.core.publisher.MonoZip.subscribe(MonoZip.java:121) backend stdout | 		at reactor.core.publisher.Mono.subscribe(Mono.java:4485) backend stdout | 		at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:263) backend stdout | 		at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51) backend stdout | 		at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64) backend stdout | 		at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:165) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53) backend stdout | 		at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79) backend stdout | 		at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53)
Steps To Reproduce
login
go to first app
Public Sample App
No response
Environment
Deploy Preview
Issue video log
No response
Version
Self hosted with docker and autoupdate

@marcheschi When do encounter this error? Is it during installation or when you try to open some app?
Also, please use this document to provide detailed container logs - https://docs.appsmith.com/learning-and-resources/how-to-guides/how-to-get-container-logs#docusaurus_skipToContent_fallback

@marcheschi, sorry you're facing trouble here. Can you confirm the system capacity of the server you're running with? Like vCPU count, available memory etc., and if there's any other applications also running on this server, along with Appsmith please? Also, please share full logs as indicated in prev. message. Thanks!

Thank you @pranavkanade @sharat87
I used a dedicated VM with 8 CPU and 16 GB of ram with 20 GB of disk
appsmith is the only app on the server.
The installation runs fine, and I can login
but when I try to edit my first app appears the message and the editor is not shown.
Logs:
https://drive.google.com/file/d/1rAleXljvo0edsNP8c8GPWarirWCt35ev/view?usp=sharing

@marcheschi, thank you for the details. It looks like your server isn't connected to the Internet. Appsmith is unable to reach cs.appsmith.com, which is required for it's operation. More details about this in the callout at https://docs.appsmith.com/getting-started/setup#self-hosting-benefits.
Can you please confirm if your server has access to reach external endpoints in the Internet? If not, can we allow that access and restart Appsmith please?

The server has internet access, via proxy .

It does not work either.
I tried to recreate the container twice.
Too difficult and is a nonsense it needs a connection to the internet.
I'm sorry, Thank you for your assistance.

Hey @marcheschi, sorry you feel that way. We need Internet access to make some features possible, and some others convenient. I hope you managed to resolve the issue, if not, we can help you out if you can share the logs and what's failing now. Thank you!

Thanks @marcheschi for confirming. We actually have a provision to allow you to configure proxy in upper or lower case. We accept both. I'm wondering if uppercase env variables wasn't working for you? 🤔
Relevant code is in this function: https://github.com/appsmithorg/appsmith/blob/c4b9e272dbc0b08f307931c71c24e897435975a1/deploy/docker/entrypoint.sh#L97-L113


'self' used before super.init call in swift 3.0

I got this BUG.. xcode 8.3.3

Please use Xcode +9

I have this bug too, on Xcode 9.3

I ll fix this problem


[SPARK-19886] Fix reportDataLoss if statement in SS KafkaSource

What changes were proposed in this pull request?
Fix the throw new IllegalStateException if statement part.
How is this patch tested
Regression test

Test build #74275 has started for PR 17228 at commit 1fb14aa.

Test build #74276 has started for PR 17228 at commit 5fe604b.

Test build #74277 has started for PR 17228 at commit 233c3f1.

Test build #74275 has finished for PR 17228 at commit 1fb14aa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74275/
Test PASSed.

Test build #74276 has finished for PR 17228 at commit 5fe604b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74276/
Test FAILed.

LGTM too

Test build #74277 has finished for PR 17228 at commit 233c3f1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74277/
Test FAILed.

Test build #74279 has started for PR 17228 at commit f831360.

Test build #74279 has finished for PR 17228 at commit f831360.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74279/
Test PASSed.

Merging to master and 2.1.


All generated colors are opaque

All color values generated by the tool have an alpha value of 255, compared to the default system colors that are partially transparent. This creates issues for example for the NavigationView if transparency effects are disabled (the pointer over effect is not visible with a color scheme exported by the tool).

The default colours use a base colour be it Chrome or Alt etc and these vary in opacity to distinguish from each other.
The tool replaces those with shades of opaque colours derived from your chosen base colour with white or black added to create shades to distinguish them.
If is extra effort of course, but it would be nice to have a checkmark option set to Opaque by default which would switch between Transparent shades, or Opaque ones.  That is providing ColorPalletteResources support alpha shades

It does support alpha, in the same way that an 8 character color hex code does. The properties on ColorPaletteResources are Colors, so it doesn't have the notion of opacity (like our SystemBrushes do).
This means that any SystemBrushes with opacities set on them will not get overwritten when you use the generated theme. But any SystemColors that would have previously had alphas defined in their hex will be overwritten.
I'll look into adding a way to toggle them on/off.

Having an opacity option would make it easier to create tweaked versions of the Light and Dark themes, where the Blacks and Whites are not pure #FFF and #000

To reproduce the issue you can use the default color scheme exported by the editor and the following markup:
	<NavigationView>
		<NavigationView.MenuItems>
			<NavigationViewItem Icon="Add" >Test</NavigationViewItem>
			<NavigationViewItem Icon="Add" >Test2</NavigationViewItem>
		</NavigationView.MenuItems>
		<NavigationView.Content>
			<TextBlock></TextBlock>
		</NavigationView.Content>
	</NavigationView>

After disabling transparency effects in the windows color settings, the pointer over effect of the navigation menu items is gone. Without the exported color scheme, the pointer over effect is shown.

so does that mean it cannot support acrylic?

Acrylic colors are not an attached property on ColorPaletteResources, but all of our default AcrylicBrushes draw from three SystemColors: SystemAccentColor, SystemChromeAlteMediumHighColor, and SystemChromeAltHighColor.
Accent color is already covered in the API, but if you put any of other two definitions within the ColorPaletteResources' tag, like this:
<ColorPaletteResources Accent="#FF0073CF" AltHigh="#FF000000" AltLow="#FF000000" AltMedium="#FF000000"
                       AltMediumHigh="#FF000000" AltMediumLow="#FF000000" BaseHigh="#FFFFFFFF"
                       BaseLow="#FF333333" BaseMedium="#FF9A9A9A" BaseMediumHigh="#FFB4B4B4"
                       BaseMediumLow="#FF676767" ChromeAltLow="#FFB4B4B4" ChromeBlackHigh="#FF000000"
                       ChromeBlackLow="#FFB4B4B4" ChromeBlackMedium="#FF000000" ChromeBlackMediumLow="#FF000000"
                       ChromeDisabledHigh="#FF333333" ChromeDisabledLow="#FF9A9A9A" ChromeGray="#FF808080"
                       ChromeHigh="#FF808080" ChromeLow="#FF151515" ChromeMedium="#FF1D1D1D" ChromeMediumLow="#FF2C2C2C"
                       ChromeWhite="#FFFFFFFF" ListLow="#FF1D1D1D" ListMedium="#FF333333" >

    <Color x:Key="SystemChromeAltHighColor">#ff33e527</Color>
    <Color x:Key="SystemChromeAltMediumHighColor">#ff33e527</Color>

</ColorPaletteResources>

You will overwrite the system default Acrylic colors and your definition will also get the ColorPaletteResources' scoping behavior.

Question : Why are these 2 colors not being generated by the theme editor, any specific reason for that?

Partly because there is some ambiguity between whether or not an AcrylicBrush's coloring system falls into the category of "Primary" or "Base", in terms of the editor's capabilities. And partly because of an oversight 😅
Feel free to open a separate issue on this editor for that request.

I have hit this problem with the ContentDialog - after using Fluent XAML Theme Editor-generated theme, all dialogs have a solid black or solid white background (depending on the theme), instead of semi-transparent one. At least in this particular case the transparency is quite vital.

Yikes! Thanks for point this out, I'll go and see what's up with applied generated themes.

I have the same issue with flyouts when using the LightDismissOverlayMode.

Was this ever resolved?


Add Matrix alert provider

Summary

Adds support to use Matrix as an alert provider. Requires a user account and a room to send messages to, and optionally a custom homeserver.
Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[X] Added the documentation in README.md, if applicable.

Sorry, I realized I have VS Code set to trim trailing spaces and it wrecked havoc on the README. Let me know and I can try to revert the whitespace changes.


Build failed

The following build commands failed:
CompileC build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.o control_led/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make[2]: *** [all] Error 65
make[1]: *** [all] Error 2
make: *** [build] Error 2

Interestingly, I'm having the same error. Build system conforms to the readme.

Did you install boost-header properly?

I've downloaded boost from the website and placed the headers in /opt/local/include/boost like you specified.

Hmm, please attach the result log of the following command in the project top directory.
make -C appendix/control_led clean all

`make -C appendix/control_led clean all` log with XCode 8 tools
```
➜  Karabiner-Elements git:(master) make -C appendix/control_led clean all
rm -rf build
rm -f *.xcodeproj/*.mode1
rm -f *.xcodeproj/*.mode1v3
rm -f *.xcodeproj/*.pbxuser
rm -rf *.xcodeproj/xcuserdata
rm -rf *.xcodeproj/project.xcworkspace/xcuserdata
rm -f *.app.zip
xcodebuild -alltargets -configuration Release build
=== BUILD TARGET control_led OF PROJECT control_led WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
/bin/mkdir -p /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/Objects-normal/x86_64
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/Objects-normal/x86_64/control_led.LinkFileList
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-all-target-headers.hmap
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-own-target-headers.hmap
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-generated-files.hmap
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-all-non-framework-target-headers.hmap
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-project-headers.hmap
write-file /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led.hmap
CompileC build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.o control_led/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led
export LANG=en_US.US-ASCII
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=117 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++1y -stdlib=libc++ -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/g8/51c73qys5wv41x5f8td4bhnm0000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wmissing-prototypes -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.9 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -iquote /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-generated-files.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-own-target-headers.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-all-target-headers.hmap -iquote /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-project-headers.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/Release/include -I../../src/userspace/vendor -I/opt/local/include -I/usr/local/include -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/DerivedSources/x86_64 -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/DerivedSources -F/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/Release -MMD -MT dependencies -MF /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.dia -c /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/control_led/main.cpp -o /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.o
In file included from /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/control_led/main.cpp:3:
/Users/nixin/Documents/Projects/Karabiner-Elements/src/userspace/share/human_interface_device.hpp:114:81: error:
null passed to a callee that requires a non-null argument [-Werror,-Wnonnull]
IOHIDDeviceRegisterInputReportCallback(device_, nullptr, 0, nullptr, nullptr);
~~~~~~~                     ^
/Users/nixin/Documents/Projects/Karabiner-Elements/src/userspace/share/human_interface_device.hpp:142:72: error:
null passed to a callee that requires a non-null argument [-Werror,-Wnonnull]
IOHIDQueueRegisterValueAvailableCallback(queue_, nullptr, nullptr);
~~~~~~~         ^
2 errors generated.
AnalyzeShallow control_led/main.cpp
cd /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led
export LANG=en_US.US-ASCII
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=117 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++1y -stdlib=libc++ -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/g8/51c73qys5wv41x5f8td4bhnm0000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wmissing-prototypes -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.9 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-config -Xclang nullability:NoDiagnoseCallsToSystemHeaders=true -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-generated-files.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-own-target-headers.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-all-target-headers.hmap -iquote /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/control_led-project-headers.hmap -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/Release/include -I../../src/userspace/vendor -I/opt/local/include -I/usr/local/include -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/DerivedSources/x86_64 -I/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/DerivedSources -F/Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/Release -MMD -MT dependencies -MF /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/StaticAnalyzer/control_led/control_led/normal/x86_64/main.d --analyze /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/control_led/main.cpp -o /Users/nixin/Documents/Projects/Karabiner-Elements/appendix/control_led/build/control_led.build/Release/control_led.build/StaticAnalyzer/control_led/control_led/normal/x86_64/main.plist
** BUILD FAILED **
The following build commands failed:
CompileC build/control_led.build/Release/control_led.build/Objects-normal/x86_64/main.o control_led/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make: *** [all] Error 65
</details>

<details>
<summary>`make -C appendix/control_led clean all` log with XCode 7.3 tools</summary>
➜  Karabiner-Elements git:(master) make -C appendix/control_led clean all
rm -rf build
rm -f *.xcodeproj/*.mode1
rm -f *.xcodeproj/*.mode1v3
rm -f *.xcodeproj/*.pbxuser
rm -rf *.xcodeproj/xcuserdata
rm -rf *.xcodeproj/project.xcworkspace/xcuserdata
rm -f *.app.zip
xcodebuild -alltargets -configuration Release build
2016-09-03 12:38:16.253 xcodebuild[63595:3165905] CoreSimulator is attempting to unload a stale CoreSimulatorService job.  Detected Xcode.app relocation or CoreSimulatorService version change.  Framework path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (209.19) does not match existing job path (/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService) and version (303.7).
2016-09-03 12:38:16.526 xcodebuild[63595:3165905] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.
I've fixed this issue at e8a615a13e34331f68c43c50e7083424c14a4e4d

Awesome! It compiles now @tekezo. I think this issue can be closed.
Any tips on how you sign the kexts/bins locally for testing without an Apple certificate? (I'm getting complaints from codesign, I saw the identity is hardcoded in ./scripts/codesign*).
Also, is there anything worth testing yet, or is the implementation in the current repo still unusable for anything? What I care about the most is flipping CTRL and FN buttons.

@niieani Works great now with the latest dmg and
{
    "profiles": [
        {
            "name": "Default profile",
            "selected": true,
            "simple_modifications": {
                "fn": "left_control",
                "left_control" : "fn"
            }
        }
    ]
}


make graphviz diagram a link

closes #9223
This is hackish because the graphviz-generated image has a dynamically generated filename like ../../_images/graphviz-7483cb1cf41f06e2a4ef451b17f073dbe584ba30.png. It appears to be deterministic though (same filename on the live site as is generated for me locally), so as long as the diagram's source code remains the same (and possibly, as long as the same version of graphviz is in use?), the link should work.
I think the right way to do it would be for someone to enhance sphinx.ext.graphviz to add a new option :href: or :link: or similar that would cause an <a> tag to get generated that wraps around the <img> (instead of what's done here, which wraps around the img and 2 containing divs).  But I'm skeptical whether such an enhancement would be accepted upstream, since SVG output can have links on specific graph elements...  not sure how that would play out.

Thanks @drammock !


Broken builder method when validation is not enabled.

If validation is not enabled, then the validator property is not added.
Still the builder method referenves the validator breaking the builder.

This is no longer the case.


Countdown

Hi,
This little app is amazing! Having what's on preview and the current clock is super helpful is a big studio setup! Can we had an option to have the clock countdown or show the countdown alongside the other times. I often need to count camera operators in so easier to have a counting down clock rather than a counting up

Hi @ScarlettCode
What clock are you referring to? The Production Clock from inside vMix? With start time set?
If yes, then I will try and test out if I can see if it is possible to fetch from the vMix API - I have honestly not tried that before, but I can give it a go.
If not - can you elaborate a bit on what clock you expect to show? The time of day?

Hi @jensstigaard
Sorry for the confusion. When I say clock I meant the timer of the current playing media. It currently shows
(Current Time In Video / Total Video Time)
I'd like to add remaining time so
(Current Time In Video / Total Video Time / Remaining Time)
Hope that makes sense?

Hi @ScarlettCode
Ah okay, yeah that makes totally sense. As it is already more or less presented for current playing media in preview or program in vMix.
I will make the update tonight. I will try and remember to comment this post whenever I have made the changes and pushed it as a release.

Hi @ScarlettCode
Just uploaded a new release with the desired changes.
Check out https://github.com/jensstigaard/vinproma/releases
Will close issue when confirmed working for you or after a few days without activity.

Used it during our production today and it was great! It's sometimes half a second fast or slow but think that's just the nature of it being over the network and web sockets. Thank you for the update!

@ScarlettCode the current release is using a refresh frequency of 1000 ms (only once a second), meaning that what is shown can almost be "a second behind". The frequency can be changed to e.g. 300 ms, and thereby the delay will be much smaller, and the app will thereby be more accurate.
I will release a updated version tomorrow.

@ScarlettCode I have now released version 0.3 which have lowered fetch interval to 200 ms. In my system I saw no major changes in CPU usage, and I found it suitable in regard to the latency experienced. https://github.com/jensstigaard/vinproma/releases

@ScarlettCode any feedback on the changes?

Been using it and it's been great! Haven't noticed any issues so far!
Thanks again

Sounds good. I will close this issue now.


New version: ShiningLight.OpenSSL version 3.1.3

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

It's wrong again... wth is going on


Compile a survey of host-pathogen dual RNA-Seq data sets

We will complete and publish a survey of the available dual RNA-Seq data that is in the
public domain. (Option 3)

3/28: Andrew working on it, almost done.

3/29:  Andrew sent out draft document.  Need to review.

it seems like we no longer tracking this activity here. closing.


Blisp not building on ArchLinux

I just downloaded the program so I can flash my Pinecil V2 and tried to build it from source but when I run cmake -DBLISP_BUILD_CLI=ON .., I get this error
  The source directory

    /home/novaviper/Downloads/blisp-master/vendor/argtable3

  does not contain a CMakeLists.txt file.

Then if I try to run the subsequent cmake command, it tells me there's no makefile (assuming because the first cmake command didn't complete successfully).
Here is the Cmake log output:
CMakeOutput.log
System information:
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20NT000GUS
System Version: ThinkPad L390

Hi @NovaViper, I develop the tool on the Arch 😁 and yes, I forgot to add git submodule update --init --recursive to the instructions. Will add it, thanks

Ah ok, thanks for the info! I got to build 👍🏾


Added libraries/models.

Added the sklearn-jax-kernels library and two normalising flow libraries (NuX, jax-flows).
Also added a link to a blog post.

Thanks @jejjohnson for the contribution!


Adding the alumni.mioti.es domain

This the domain for the students from MIOTI Tech & Business School

@lemartinez2245 First stage of verification passed, official domain is mioti.es as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lemartinez2245 Could you please upload here via the browser, or provide an URL of a document that confirm an official recognition of your organization as an educational? It does not look like a university or a college. It looks more like a training center.
If this organization is a training center please apply for an appropriate licensing option (which may also be free) at https://www.jetbrains.com/community/education/#courses.

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

I'm actually a student at this Institute, they give post-graduated degrees courses, masters. What do you mean with an URL or document that confirms official recognition? Sorry if I misunderstood this but I don't know what you call a training center. I might better go the the link you gave me.

@lemartinez2245 Thank you for the reply.

they give post-graduated degrees courses, masters.

Please reply this comment with an URL of the page that says it. I did not find an information regarding masters there. Are these masters in subjects related to the informational technologies or software development?

What do you mean with an URL or document that confirms official recognition

The domain alumni.mioti.es is not mentioned anywhere at the website mioti.es. I need to see something that proves that the school provides the students there with email addresses in this domain.
You can prove it with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Thank you!

@lemartinez2245 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


[BUG] At zoom >= 5 I see nothing

Describe the bug
At zoom level at and above 5 I see no features.
To Reproduce

Visit https://onthegomap.github.io/flatmap-demo/#5/40.75/-108.36

Expected behavior
I see something similar to what I see at https://onthegomap.github.io/flatmap-demo/#4.9/40.75/-108.36
Screenshots
This is what I see when I follow the to reproduce steps:

Environment (please complete the following information):

Hardware: Moto One 5G Ace
OS: Android 10 (build QZKS30.Q4-40-95-2)
Java version and distribution: n/a
Maven version: n/a

Additional context
I can reproduce in mobile Firefox and mobile Chrome. I haven't tested anything else.

Oops, I didn't have my notifications configured right and missed this issue at first. I tried to keep the data stored in the github pages repo below the 1GB limit so there's just a small subset in there.  I added a note to the demo when you're out of bounds to a bit more clear.


Compare to Tilt

https://tilt.dev/
Looks like it does similar stuff, albeit somewhat better.
https://docs.tilt.dev/example_python

Tilt supports Helm: https://blog.tilt.dev/2022/01/26/helm-improvements.html
... and even can be made to work with Helmfiles: https://docs.tilt.dev/helm.html

Add new page "reference/alternatives"


Portfolio Live Version

Hi,
The link to live portfolio is : https://mailsg.github.io.
Thanks.

Hi @mailsg,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request

You have submitted a new repository for a milestone that should continue from a previous project. Kindly implement the deployment on your portfolio project repository without creating a new repo. Also, make sure the readme is updated with the deployment link.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


How to play unlisted videos?

Is it possible to play unlisted videos in this format
https://vimeo.com/11111111/aaaaaaa ?
Can be played with vimeo player in WebView, but I am not sure how to play it with this lib.
Thanks

you need to change url become to https://vimeo.com/11111111?h=aaaaaaa


Does it support flux regularization training?

Does aitoolkit support regularization training for flux Lora?

flux lora

Yes! See https://github.com/ostris/ai-toolkit/issues/140


Update Moq to 4.11.0

This is the latest version of Moq, should have a fix for
https://github.com/aspnet/Home/issues/3569

To verify this, I ran this locally with MVC. MVC has pretty substantial usage of Moq

cc @Eilon for OSS approval

@natemcmaster @ryanbrandenburg - any advade about these cool build failures:

D:\a\1\s\build\repo.targets(229,5): error : The SDK 'Internal.AspNetCore.Sdk' specified could not be found.  > D:\a\1\s\modules\Mvc\src\Microsoft.AspNetCore.Mvc.RazorPages\Microsoft.AspNetCore.Mvc.RazorPages.csproj [D:\a.dotnet\buildtools\korebuild\2.2.0-preview2-20181004.6\KoreBuild.proj]
2018-10-09T16:30:39.7512999Z D:\a\1\s\build\repo.targets(229,5): error : The SDK 'Internal.AspNetCore.Sdk' specified could not be found.  > D:\a\1\s\modules\Scaffolding\test\VS.Web.CG.EFCore.Test\VS.Web.CG.EFCore.Test.csproj [D:\a.dotnet\buildtools\korebuild\2.2.0-preview2-20181004.6\KoreBuild.proj]
2018-10-09T16:30:43.5434313Z   Finished design-time build in 45311ms

@natemcmaster thinks we've fixed it with https://github.com/aspnet/Universe/pull/1469.

Um, where do we get Moq 4.11? The latest on nuget.org is 4.10


feat: implement configurable API key storage

Introduce an APIKeyStorage interface with two concrete implementations: KeyringAPIKeyStorage and FileAPIKeyStorage.
The FileAPIKeyStorage implementation is first of all intended for WSL2 environments where keyring does not work that well, so temporarly storing to the file-system is the most user-friendly option.
The ResolveAPIKeyStorage function resolves which storage mechanism to use. If the system is WSL2, automatically use FileAPIKeyStorage.
Refactor config package to align with the new storage mechanism.

Hello @nkzk,
Thank you for your contribution!
Your work is a great step towards enhancing the versatility of cwc, enabling it to function seamlessly across a wider range of environments. However, I must inform you that some recent updates have led to merge conflicts with your pull request. The silver lining is that these updates actually simplify the integration of your feature by leveraging the existing APIKeyStorage abstraction.
Would you prefer to update your pull request to resolve these conflicts, or would you rather wait and revisit your contribution later? I apologize for the inconvenience caused by these unforeseen changes that have affected your pull request.

I'll resolve the merge conflict and pull it in, thanks @nkzk


SpringLiquibase ResourceAccessor is now overridable

SpringLiquibase createResourceOpener() now returns a ResourceAccessor, which allows it to be overridden with any kind of ResourceAccessor.
The reason for this change is that I would like SpringLiquibase to be able use the regular ClassLoaderResourceAccessor. Since it appears that SpringLiquibase handles classpath resources differently, which makes it incompatible with other methods of running liquibase (i.e. command line or maven-plugin).
This change itself does not change the behaviour of SpringLiquibase at all, it only allows classes overriding it to use a different ResourceAccessor
Notes:
It should be possible to merge this change to master too, however it appears that changes have already been made, such that the SpringResourceAccessor no longer overrides any methods from ClassLoaderResourceAccessor, making their behaviour identical.
┆Issue is synchronized with this Jira Story by Unito
┆Fix Versions: Liquibase 4.0 GA

@SteveDonie it looks like 3.8.3 and 3.8.4 have been released, but it seems that this change was not included.
I would apprecriate it if this would be included in an upcoming release

Ping @SteveDonie

Hi @WellingR , sorry for the delay, I am looking to get this PR conditioned and scheduled.
Would you be willing to add unit test to the PR as well so we could prioritize merging this PR faster?
Looks like we stubbed out the tests here:
liquibase-core/src/test/java/liquibase/integration/spring/SpringLiquibaseTest.java
Thanks,
Ronak

@ro-rah what do you want me to test?
All this change does is relax a type declaration which is verified by the java compiler.

Hi @WellingR , that is a good question.  I am not a unit test expert but I was thinking is it possible to assert if the type declaration returned by SpringLiquibase is ClassLoaderResourceAccessor and not ResourceAccessor?
Or maybe I am thinking about it all wrong, perhaps we have a integration test that shows that SpringLiquibase is compatible with other ways of running liquibase.
Or, if none of those are appropriate, I would love suggestions on how we test out this fix :)
Thanks!
Ronak

riskMed to figure out if we need tests.

There isn't really anything to test with it, it's just making a return type from a method more broad.
However, the change in signature is going to be an API incompatible change for anyone already extending SpringLiquibase, so this can't go into a patch release like 3.10.1. It'll have to go into 4.0

FYI, this change does not affect those who are already extending this class. Since the return type is more broad, java does allow subclasses to declare and return a subtype (such as the existing SpringResourceOpener ).
So unless I am missing something, this change is source (API) compatible. However I am not completely sure about binary compatibility of this signature change.

@nvoxland wasn't this going to be part of 4.0.0?


Find second largest number in an array

Description
Write a program to find second largest number in an array
Input  : [1, 2, 3, 4, 5]
Output : 4

Tracking Issues

[ ] #3558
[ ] #3559
[ ] #3560
[ ] #3561
[ ] #3562
[ ] #3563
[ ] #3564
[ ] #3565
[ ] #3566
[ ] #3567
[ ] #3568
[ ] #3569
[ ] #3570
[ ] #3571
[ ] #3572
[ ] #3573
[ ] #3574
[ ] #3575
[ ] #3576
[ ] #3577

@harshraj8843
Github: https://github.com/pradip-bhoskar/iNeuron_Blockchain
JavaScript Assignment 6
Question 2:
Write a javascript function find_largest to return the nth largest number in an array-
eg- given an array of integers- [3,45,6,7,23,5,7,8]
find_largest(3) will return third largest number from the above array - which is 8.
`function find_largest(num){
let arr = [3, 45, 6, 7, 23, 5, 7, 8];
arr.sort(function(a,b){return b-a});
console.log(arr[num-1]);
return arr[num-1];
}
find_largest(2); `

Hey @pradip-bhoskar
To add a new program, please create a separate issue 👉🏻 here
Thanks for contributing 👍🏻


WTD #31433 updated add-sharepoint-datasources.md

updated to remove gendered language

@rachrobins : Thanks for your contribution! The author, @tulasim88, has been notified to review your proposed change.


[QUERY] Torn write when using BlobClient's UploadAsync

Is it possible to run into a situation where a piece of code writes using BlobClient's UploadAsync, while a consumer using the DownloadAsync would end up with garbled text?
An example: say a writer uploads 20 MB to a block blob, and a reader starts downloading the blob before the writer completes. Will the result of the read be part of those 20 MB, or would the reader be blocked until the upload completes?

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Hi,
The download request will return an empty stream.  The BlobClient.Upload() API is really calling Put Block and Put Block List under the coverts.  The blob content does not become "real" until Put Block List is called.
-Sean

@seanmcc-msft thanks! In other words, there's no need to concern myself with a synchronization mechanism, eg locks.

Hi @luckerby, not in this case.  You would need to be careful though if you ended up writing to the same blob from multiple threads.

@seanmcc-msft For the multiple writers case, it's probably due to the fact that one of them will "win" when doing Put Block List, essentially overriding what others did.
Is there some synchronization attributes that could be used in the types present in the Azure SDK, or would using standard locking mechanisms (eg lock) be the way to go, in this multiple-writers scenario?

@luckeryby, that is correct.  I recommend avoiding having multiple writers write to the same blob at the same time if possible.  If you can't avoid this, I think using lock would be the best way to go.


If I assign argv:i to a variable it works:
STORE argv:i IN n
IF n IS LESS THAN local.min THEN

Is this a bug or a feature?

Hi there! That's the intended behavior. Argv is a TEXT vector, so you should first store the value in a NUMBER variable, thus converting it to a NUMBER, and then use it in the IF.

Hi, thank you for your reply. I don't think that the documentation makes that clear - it may be worth amending the documentation with a note on correct usage of Argv.

Hi, thank you! It's noted here: http://ldpl.lartu.net/reference/#cliargs. Argv is just like any other TEXT VECTOR. Is there anything in particular you think is not clear enough so I can correct it?

If I understand you correctly the issue in my code wasn't using IF argv:i but that I was doing a NUMBER comparison on a TEXT type value therefore necessitating the STORE as a NUMBER variable in order to work on it.
That does make sense and the documentation as a whole does describe type conversion very well. I figured out the issue almost as soon as the error returned - I look forward to better errors ;)


API info requests

Sorry for various issues post!. how can i 'extract' more infos about profile?
{
  "data": {
    "id": "1574083",
    "username": "snoopdogg",
    "full_name": "Snoop Dogg",
    "profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1574083_75sq_1295469061.jpg",
    "bio": "This is my bio",
    "website": "http://snoopdogg.com",
    "is_business": false,
    "counts": {
      "media": 1320,
      "follows": 420,
      "followed_by": 3410
    }
  }
}

How can a use this? i tired to put this on strings = <string name="follows">%1$s</string>
Or i need to create new java to get those informations?

UserInfo object holds all the data from that response:
AuthManager.getInstance().getUserInfoAsync(new AuthManager.Callback<UserInfo>() {
    @Override
    public void onSuccess(UserInfo userInfo) {
        String id = userInfo.getId();
        String userName = userInfo.getUserName();
        String fullName = userInfo.getFullName();
        String photoUrl = userInfo.getPhotoUrl();
        String bio = userInfo.getBio();
        String website = userInfo.getWebsite();
        boolean isBusiness = userInfo.isBusiness();
        int media = userInfo.getCounts.getMedia();
        int follows = userInfo.getCounts.getFollows();
        int followedBy = userInfo.getCounts.getFollowedBy();

        nameTextView.setText("Name: " + userName);
        followingTextView.setText("Following: " + follows);
        followersTextView.setText("Followers: " + followedBy);
        . . .
    }

@nikolajakshic Another noob question! how can i get media things?  int media = userInfo.getCounts.getMedia();         int follows = userInfo.getCounts.getFollows();         int followedBy = userInfo.getCounts.getFollowedBy();
Why getCounts says 'Cannot resolve symbol 'getCounts'

Another noob question sorry :'( but how can i get the image?

@nikolajakshic Thanks <3 no homo.


python3Packages.wandb: hardcode git path

Description of changes

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 174832 run on x86_64-linux 1

12 packages built:

openai (python39Packages.openai)
python310Packages.openai
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-transformers
python310Packages.textacy
python310Packages.wandb
python39Packages.spacy
python39Packages.spacy-loggers
python39Packages.spacy-transformers
python39Packages.textacy
python39Packages.wandb

I generally prefer using substituteInPlace instead of patches since patches tend to code rot more quickly in my experience. That said I think this is a positive change, and I'm fine keeping it as a patch file in this case.

I thought about using substituteInPlace but there are many instances of "git and even of "git" that shouldn't be substituted.


Error: System.NullReferenceException: Object reference not set to an instance of an object.

Good day, anyone else run into this error System.NullReferenceException: Object reference not set to an instance of an object running this command?
dotnet cq sarif codeanalysis.1-0.sarif codeanalysis.gitlab.1-0.sarif.json c:\dev
We currently assume that the given Sarif v1.0, Sarif 2.0 is not supported
Could not convert {"SarifNodeKindVersionOne": "ResultVersionOne", "RuleId": "C26451", "RuleKey": null, "Level": "Default", "Message": "Arithmetic overflow: Using operator '+'
on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).",
"FormattedRuleMessage": null, "Locations": [{"SarifNodeKindVersionOne": "LocationVersionOne", "AnalysisTarget": null, "ResultFile": {"SarifNodeKindVersionOne":
"PhysicalLocationVersionOne", "Uri": null, "UriBaseId": null, "Region": {"SarifNodeKindVersionOne": "RegionVersionOne", "StartLine": 86, "StartColumn": 65, "EndLine": 86,
"EndColumn": 77, "Offset": 0, "Length": 0, "$type": "RegionVersionOne"}, "$type": "PhysicalLocationVersionOne"}, "FullyQualifiedLogicalName": null,
"LogicalLocationKey": null, "DecoratedName": null, "PropertyNames": [], "Tags": [], "$type": "LocationVersionOne"}], "Snippet": null, "Id": null, "ToolFingerprintContribution"
: null, "Stacks": null, "CodeFlows": null, "RelatedLocations": null, "SuppressionStates": "None", "BaselineState": "None", "Fixes": null, "PropertyNames": [], "Tags": [],
"$type": "ResultVersionOne"}, skipping

System.NullReferenceException: Object reference not set to an instance of an object.
   at CodeQualityToGitlab.SarifConverter.GetPath(String pathRoot, LocationVersionOne begin) in
	/home/runner/work/dotnet_gitlab_code_quality/dotnet_gitlab_code_quality/CodeQualityToGitlab/SarifConverter.cs:line 64
   at CodeQualityToGitlab.SarifConverter.ConvertToCodeQualityRaw(FileInfo source, String pathRoot) in
	/home/runner/work/dotnet_gitlab_code_quality/dotnet_gitlab_code_quality/CodeQualityToGitlab/SarifConverter.cs:line 35

Hi, can I have the original sarif or a ideally a small repro sarif file? Will take a look
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg

From: calicoder77 @.>
Sent: Friday, March 31, 2023 6:21:06 PM
To: codecentric/dotnet_gitlab_code_quality @.>
Cc: Subscribed @.***>
Subject: [codecentric/dotnet_gitlab_code_quality] Error: System.NullReferenceException: Object reference not set to an instance of an object. (Issue #2)
Good day, anyone else run into this error System.NullReferenceException: Object reference not set to an instance of an object running this command?
dotnet cq sarif codeanalysis.1-0.sarif codeanalysis.gitlab.1-0.sarif.json c:\dev
We currently assume that the given Sarif v1.0, Sarif 2.0 is not supported
Could not convert {"SarifNodeKindVersionOne": "ResultVersionOne", "RuleId": "C26451", "RuleKey": null, "Level": "Default", "Message": "Arithmetic overflow: Using operator '+'
on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).",
"FormattedRuleMessage": null, "Locations": [{"SarifNodeKindVersionOne": "LocationVersionOne", "AnalysisTarget": null, "ResultFile": {"SarifNodeKindVersionOne":
"PhysicalLocationVersionOne", "Uri": null, "UriBaseId": null, "Region": {"SarifNodeKindVersionOne": "RegionVersionOne", "StartLine": 86, "StartColumn": 65, "EndLine": 86,
"EndColumn": 77, "Offset": 0, "Length": 0, "$type": "RegionVersionOne"}, "$type": "PhysicalLocationVersionOne"}, "FullyQualifiedLogicalName": null,
"LogicalLocationKey": null, "DecoratedName": null, "PropertyNames": [], "Tags": [], "$type": "LocationVersionOne"}], "Snippet": null, "Id": null, "ToolFingerprintContribution"
: null, "Stacks": null, "CodeFlows": null, "RelatedLocations": null, "SuppressionStates": "None", "BaselineState": "None", "Fixes": null, "PropertyNames": [], "Tags": [],
"$type": "ResultVersionOne"}, skipping
System.NullReferenceException: Object reference not set to an instance of an object.
at CodeQualityToGitlab.SarifConverter.GetPath(String pathRoot, LocationVersionOne begin) in
/home/runner/work/dotnet_gitlab_code_quality/dotnet_gitlab_code_quality/CodeQualityToGitlab/SarifConverter.cs:line 64
at CodeQualityToGitlab.SarifConverter.ConvertToCodeQualityRaw(FileInfo source, String pathRoot) in
/home/runner/work/dotnet_gitlab_code_quality/dotnet_gitlab_code_quality/CodeQualityToGitlab/SarifConverter.cs:line 35
—
Reply to this email directly, view it on GitHubhttps://github.com/codecentric/dotnet_gitlab_code_quality/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXKCSOYV65X6KSQOKVFXPDW6377FANCNFSM6AAAAAAWO3UITM.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for the quick reply, here's the file:
{
  "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-1.0.0.json",
  "version": "1.0.0",
  "runs": [
    {
      "tool": {
        "name": "PREfast",
        "fullName": "PREfast Code Analysis",
        "version": "14.29.30148.0",
        "language": "en-US"
      },
      "invocation": {
        "commandLine": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\c1xx.dll\" ...
      },
      "files": {
        "file:///c:/dev/app/stdafx.cpp": {
          "hashes": [
            {
              "value": "72febd207eaaf204298b40f071737e0c",
              "algorithm": "unknown"
            }
          ]
        }
      },
      "results": []
    },
    {
      "tool": {
        "name": "PREfast",
        "fullName": "PREfast Code Analysis",
        "version": "14.29.30148.0",
        "language": "en-US"
      },
      "invocation": {
        "commandLine": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\c1xx.dll\" ...
      },
      "files": {
        "file:///c:/dev/app/mainApp.cpp": {
          "hashes": [
            {
              "value": "6f448b3da75733e7b8e86ef60c97894e",
              "algorithm": "unknown"
            }
          ]
        }
      },
      "results": [
        {
          "ruleId": "C26451",
          "message": "Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).",
          "locations": [
            {
              "resultFile": {
                "region": {
                  "startLine": 86,
                  "startColumn": 65,
                  "endLine": 86,
                  "endColumn": 77
                }
              }
            }
          ]
        }
      ]
    }
  ]
}

I am pusing Version 0.5.0 which mitigates this. Cq will no longer break, but the issue is more with the generating tool than Cq.
Your 'result.locations[0].resultFile.region` lacks an 'uri', which should be there.
I am now logging an Error and add a dummy file location but ideally your tool should add that uri, because otherwise there is no way to identify the file.

Thank you for the quick fix. I'm using MS Build cl.exe analyze to create the SARIF file. It only supports 2.1 from what I see and have to use the Microsoft Sarif SDK converter tool to make it a SARIF 1.0 file which is what I feed to cq. I'll dig deeper into this and post an update if I find anything. Thanks

Sure, I can add a test SARIF 2.1 file here

Here's a SARIF 2.1 sample file I use from the Sarif SDK project
{
  "version": "2.1.0",
  "$schema": "http://json.schemastore.org/sarif-2.1.0-rtm.4",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "ESLint",
          "informationUri": "https://eslint.org",
          "rules": [
            {
              "id": "no-unused-vars",
              "shortDescription": {
                "text": "disallow unused variables"
              },
              "helpUri": "https://eslint.org/docs/rules/no-unused-vars",
              "properties": {
                "category": "Variables"
              }
            }
          ]
        }
      },
      "artifacts": [
        {
          "location": {
            "uri": "file:///C:/dev/sarif/sarif-tutorials/samples/Introduction/simple-example.js"
          }
        }
      ],
      "results": [
        {
          "level": "error",
          "message": {
            "text": "'x' is assigned a value but never used."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "file:///C:/dev/sarif/sarif-tutorials/samples/Introduction/simple-example.js",
                  "index": 0
                },
                "region": {
                  "startLine": 1,
                  "startColumn": 5
                }
              }
            }
          ],
          "ruleId": "no-unused-vars",
          "ruleIndex": 0
        }
      ]
    }
  ]
}

Took a long time but should be in 1.0.0

Took a long time but should be in 1.0.0

Thank you so much


Relationships handling for updates generating replacement

√ Properly remove nested docs and rels
That's a simple case. I'm not evaluating if the connected node has another rel
\cc @johnymontana

In the documentation it would be nice to have an image of the property graph after the updates are applied for each case. We can use this easy tool to ensure we have a consistent style throughout the docs: http://www.apcjones.com/arrows/#

@johnymontana  I had to consider an extra case for the updates, involving $unset. When unset targets nested documents, we should remove the connected rels and nodes. This is implemented into  6fbcec7


Jiggle mouse

Description of the new feature / enhancement
A mouse movement would be simulated with configurable level of movement, visibility, and trigger conditions like time interval with/without inactivity, while program is running, etc.
Scenario when this would be used?
My work uses a locked down value for Microsoft Teams to mark you as away after 2 minutes of inactivity. After 5 minutes of "inactivity" the machine locks automatically. I think any developer knows that 2 minutes isnt even long enough for some build processes to run on local code projects. So when I kick off my build in powershell and Im kind of watching the log I get marked as away because Im not physically interacting with my computer. My boss doesnt read into this status and knows the flaw behind this 2 minute setting mindset but other coworkers will say oh Brian is "always" away because they have the setting on to "Notify when available". Too much focus on watching other peoples status that dont reflect the remote world we live in at times. Im not trying to get away with anything and look like Im working when Im not, I just want a way to stop the inactivity trigger when its time setting is not well paired to my actual job workflow. I dont like thinking through a problem on my screen and have my status go to away or even my screen lock because I am assumed to only be productive when Im providing input to the computer.
Supporting information
No response

Sounds like you could use the Awake tool, which is already in PowerToys! :) Does that work for you? /needinfo

As far as I can tell, that doesn't simulate anything that resets the inactivity timer. I don't know all of what specifically Microsoft Teams looks at for activity but some of the things I know of that keep it active or reset the inactivity timers are keyboard, mouse, being on a call within Teams, etc. The Awake tool does keep my PC awake and monitor on as expected but does not have any impact on that status going to inactive and it does not keep it from locking automatically. I have tried running power toys as administrator and in standard mode with the same results.

FWD @dend

@brycebba thank you for your report.
In the meantime, have you tried Move Mouse? It has positive feedback.

I, personally, would prefer not to have this functionality - at least not without the ability to disable individual tools from the installer.
If Move Mouse is blocked, consider that the same may happen to PowerToys once it gains the same feature.
As it is, Awake is considered too risky for general availability by some workplaces because of concerns it circumvents screen-lock policy.

I, personally, would prefer not to have this functionality - at least not without the ability to disable individual tools from the installer.
If Move Mouse is blocked, consider that the same may happen to PowerToys once it gains the same feature.
As it is, Awake is considered too risky for general availability by some workplaces because of concerns it circumvents screen-lock policy.

Move Mouse was blocked by my company because at the time (maybe still) it was not signed by a verified publisher. PowerToys doesn't have this problem. It isn't the nature of the software that got it flagged, it's just standard security best practices that unsigned apps are deemed risky.

The use case is to fake user presence which I don’t think we’d build out.

The use case is to fake user presence which I don’t think we’d build out.

That's fine to decide not to create the feature of course but your comment on the use case isn't accurate and the intent is no different than the Awake feature in effect, just the means to produce the effect.

Awake uses APIs to prevent a computer form sleeping, no different than watching a YouTube video. It was never intended to show user activity. It was designed to make it so long running workloads wouldn’t cut out


Group Advanced Settings - Transfer

What does this PR do and why?
Created a transfer group section on the group settings page. Fixes the second half of https://github.com/phac-nml/irida-next/issues/75.
Screenshots or screen recordings

How to set up and validate locally

Navigate to a group that is owned by the logged-in user.
Hit Settings on the left side menu.
Under Advanced settings you will see a Transfer Group section. Select a new parent group from the drop-down.
Hit the Transfer group button.
A confirmation dialog should appear. Type the group path and hit Confirm.

PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[x] I have evaluated
the PR acceptance checklist for this PR.

Take a look at my PR for Transfering projects to a different namespace for the layout that we want to adopt for the setting panels.

From playing around with this, I found a bug.  If you try to transfer the group to a namespace that the user does not have permissions to, you get the error message, but the layout is updated to the default application layout.

From playing around with this, I found a bug.  If you try to transfer the group to a namespace that the user does not have permissions to, you get the error message, but the layout is updated to the default application layout.

I think you're asking me to add 'transfer' to the  resolve_layout method, but 110e9c449274c36172d8ee8f77a4ebb6f0b9feec fixes it.


Lines numbers in jest error report are incorrect [Cannot reproduce in minimal repo]

Issue

I have a project fully functional project and the lines numbers in the jest error report are shown incorrectly. (It shows the JS line numbers). It makes difficult to debug and test.
I have created a commit with a failing test in my full project:
https://github.com/jhm-ciberman/docs_gm/commit/5e2920bbde2be9b227afcddf085c8e18a938399d
you need to clone the repo, checkout into the branch and commit, install and run the the tests:
git clone https://github.com/jhm-ciberman/docs_gm.git
cd docs_gm
git checkout 5e2920b
npm install
npm test

The output will be like this:
><EMAIL_ADDRESS>pretest F:\repos\public\docs_gm
> npm run lint

><EMAIL_ADDRESS>lint F:\repos\public\docs_gm
> tslint --project . -t verbose

><EMAIL_ADDRESS>test F:\repos\public\docs_gm
> jest

 FAIL  src\doc_generator\Template.spec.ts
  ● Template › should load from a file

    expect(received).toBe(expected)

    Expected value to be (using ===):
      "My design____"
    Received:
      "My design"

      at Template_1.default.loadFrom.then.template (src/doc_generator/Template.spec.ts:36:49)
          at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

 PASS  src\gms2\GMS2Project.spec.ts
 PASS  src\gms1\GMS1Project.spec.ts
 PASS  src\doc_generator\Page.spec.ts
 PASS  src\doc_generator\StringUtils.spec.ts
 PASS  src\docs_models\doc_models.spec.ts
 PASS  src\doc_generator\ScriptParser.spec.ts
 PASS  src\gms1\GMS1Folder.spec.ts
 PASS  src\doc_generator\Design.spec.ts
 PASS  src\gms2\GMS2Resource.spec.ts
 PASS  src\gms1\GMS1Script.spec.ts
 PASS  src\gms2\GMS2Script.spec.ts
 PASS  src\gms2\GMS2Folder.spec.ts
 PASS  src\gms1\GMS1Resource.spec.ts

Test Suites: 1 failed, 13 passed, 14 total
Tests:       1 failed, 41 passed, 42 total
Snapshots:   0 total
Time:        5.814s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test: `jest`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\javie\AppData\Roaming\npm-cache\_logs\2017-12-29T22_08_54_782Z-debug.log
The terminal process terminated with exit code: 1

The lines numbers should be 40 Link to Line 40
But the line number shown is 36 Link to line 36
The line 36 is the correct line in the js output, not in the *.spec.ts file.
src/doc_generator/Template.spec.ts:36:49

Link to a minimal repo that reproduces this issue

Sorry, I have tryed for several hours to create a minimal repo with the issue but I cannot. Maybe you that knows the ts-jest internals can identify what is the issue in my full project repo.
INFO: the ts-jest bug is in the branch feature/add-jest, not in master.
Use this link to view the tree of the commit with the error
I will try to run git bisect later, but I haven't commited enough.

I got to replicate it in a minimal repo. It seems to be related to the mock-fs package.
Link to the new issue:
https://github.com/kulshekhar/ts-jest/issues/405


trigger the progressbar every time we click on a button

Hi,
thanks a lot for the work.
I wondering if it's possible to trigger  the progress bar everytime we click on a button or we define a action (as if the progress bar was loaded the first time with the first values)
My issue is that once the progress bar is triggered, I can't reload it for the same div/class because the values have been saved.
For example, on the demo page, when you click on the "start" button, the progress bar is triggered. But if you click again on the "start" button, nothing happens ( first you have to reset the values to trigger once again the progress bar).
I would like the progress bar triggers everytime you click on the start button, with the animation, from the begining values. (for example, aria-valuemin ="0" data-transitiongoal="75")
Is it possible ? And how I can program this ?
Thanks

Sort of an old question, but I've done this in BS3 by resetting the bar with:
$('.progress .progress-bar').attr('data-transitiongoal', 0).progressbar();
Keep in mind that if you are using css transitions to animate your bar (e.g., five-sec-ease-in-out) it will take that many seconds to reset to zero.

In my case $('.progress .progress-bar').attr('data-transitiongoal', 0).progressbar(); wouldnt help
i would really need a destroy function


Request: allow the provided GPL plugins to build by default

Currently debian, ubuntu etc. packages do not build the fast float or threading plugins.
This results in added complexity for GPL projects wishing to use the plugins:

Automated builds of self-contained binaries. The lcms2 packages provided by the build environment don't contain the plugins.
Compilation from source by users. The OS packages the user have installed don't contain the plugins.
Similarly the -dev package doesn't contain the specific plugin headers.

For the CI we could manually rebuild the package enabling the GPL plugins, but this doesn't help users who want to compile the project that uses lcms2 themselves - they have the additional task of recompiling lcms2, which ideally would not be necessary. So currently I'm copy & pasting the whole fast float and threading plugins' code into my (GPL) project purely so that it's guaranteed to be there and gets built as part of the project. That works, but it introduces the added burden of checking for updates to the plugins and updating the files in my project as necessary.
I know the licence is different for the plugin than the main library code and non-GPL projects have to purchase an alternative licence for the plugin, and that's obviously fine, but it would make life a lot easier for GPL projects wishing to use the GPL plugins if it could be set to build and install by default. I can't see a downside - there's clearly no issue including GPL software in debian / ubuntu packages, and non-GPL projects would still be required to obtain a licence - but GPL projects would be saved all of the admin burden of manually keeping the code in sync.

I have been thinking carefully about your proposal. Unfortunately I cannot accept it. The package is distributed and advertised as MIT, so when you install by default you get binaries over MIT code. In addition, there is the possibility to install commercial plug-ins that I am also distributing under GPL3. I have other plug-ins that are not even open source, and therefore not there, but I allow GPL3 use of those two. Doing a default install of those GPL3 components would create non-MIT binaries, which could be very bad for commercial packages that only use core code. Please understand that I fully support open source, but I am an industry professional and have to favor my customers first.
My recommendation for your project is to keep a private copy of the plug-ins you use. There is a version tracking in the plug-in system, so if the system tries to use an outdated liblcms.so you will get an error.

OK, understood - I had forgotten about the issue of mixing licences within a package. But I take it there's no issue requesting of the distributions that they produce separate packages for lcms2 and lcms2-plugins-gpl, so that the MIT code is all in one package and the GPL code is all in a different one (and each would have their own separate -dev packages). That should address your concerns and is a similar way that gstreamer has a number of different plugin packages). It's a bit more work for the packager to set up a packaging script but that should be a one-time job.


Change save/import interface to menu

Presently, the Save/Import players buttons are hidden and appear when the user presses --s repeatedly. The buttons allow the developer/user to save a copy of the player data. It is useful for the user if (s)he wants to transfer player data to another browser or computer as this data is saved on the client side.
Until now, the feature was hidden in order to prevent the user from screwing up things. It was only supposed to be used by developers to import and modify data. However we think it can be useful for the user, too. And the error reporting for a faulty .json file is acceptable.

Won't be done. Too many failsafes are needed in order to prevent an average user from screwing up things by playing with the JSON file and reimporting it.


[stdlib] Outline a few slow-path bridged array methods

Mostly for benchmark testing at this point

@swift-ci please benchmark

@swift-ci please smoke test

Build failed before running benchmark.

:shakes fist at SwiftOnoneSupport.swift:

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Extended example to use all functions

Merged. Wish there was a notebook diff function in github, :grin:


[WIP] Integrate k8s production

work in progress, don't merge

@aviklai @sa1omon can you please review?
Thanks!

@OriHoch Thank you again for your help! Seems like you're progressing and that is amazing!
Regarding the db backups - We prefer to have 2 backups:

A full backup of the db with all of the tables and schemas, and with all priviliges which will be available only for production purposes

A backup for volunteers, which does not include some tables and one schema, and is done with the -Fc flags for the custom format which reduces the dump size (see command below)
This is the command I used, but we might want to improve it?
pg_dump -U postgres --no-privileges -N topology -T users -T roles -T roles_users -T locationsubscribers -T report_preferences -T general_preferences -Fc anyway  > anyway_public.pgdump
(Perhaps we need to add the "--no-owner" flag? I think I tried to use it but it messed things up in the restore stage, so I didn't use it eventually).

Regarding saving the db_backups - ideally I think we should save it in S3 - seems like this is where you'll be saving it right?
Regarding the process of restoring the db_backups locally for volunteers - right now it's done using a dump I made in our google drive. However, this is not ideal since it's not updating daily, and we want our volunteers who restore the db locally to be able to do it with updated data. Hence, we want this restore process to be from the volunteers dump you will create with S3, and we want to make sure this dump is open just for volunteers, meaning we'll manage access to this dump (perhaps using a key that only our volunteers will be exposed to).
What do you think?

@atalyaalon ready for merge, it would be best to merge to dev and master as soon as possible so we can move forward with the integration. Can fix any additional issues after the initial integration is done.

@OriHoch amazing, should I Squash and Merge?


feat: Use extensions-lib v14

Note: (almost) zero extensions will be bumped up, as most of them hardcode the libVersion in their build.gradle files (unfortunately).
This introduces a TON of deprecation warnings, and I'll submit a general refactoration PR addressing (some) of them + global libVersion bump later.
If this gets rejected, I'm going to appear in jmir's house with a lawnmower, a wood stick and a broken Makita XSC03Z 18V LXT Lithium-Ion cordless 5-3/8" metal cutting saw at midnight, and stare him for 10 hours non-stop.

why


Compare the performance of Harshit's accel patch to GPU manager

Original author: Prateek Jindal
Original issue: https://charm.cs.illinois.edu/redmine/issues/978

Harshit has a patch for accel: ~~https://charm.cs.illinois.edu/gerrit/#/c/824/~~ https://github.com/UIUC-PPL/charm/commit/a1c966e32e1decf76560422301f1bd63f01d65973
This needs to be tested and compared with GPU manager.

Original date: 2018-02-16 06:00:14

Is this still relevant? If not, close the issue.


Add auto merge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/py-find-1st-feedstock#3.


Add github pull request template

We do not have github a pull request template,
User can write pull request freely.
So I would like to add a pull request template.
ISSUE=#176

Wow, you found it. LGTM. :D
How do you think giving more info like as below?

First letter should be capital.
one line shouldn't exceed 72 bytes.

In addition, there are many good things we can apply. :D
Github building a strong community.
Thanks again.

@nadongguri Thanks for your review.
IMHO Your suggestions are probably something to add to CONTRIBUTING.md files.
This is for only pull request body template. So I would like to do not add guideline in the body.
How do you think?

@nadongguri please refer to https://help.github.com/articles/setting-guidelines-for-repository-contributors/

@romandev please review

@yjaeseok,
IMHO, I'm not sure if it's a good idea to put this template in.
If your patch is applied, when creating a pull request, the template will overwrite original commit description.
I think it might provide a bad UX for contributos.
For example, I usually using a Vim editor in my case.
Then, I will check line-break-rule for commit description(<72bytes) and send a pull request.
BTW, the commit description will be overwritten due to pull_request_template.md.
So, I'll have to fix the commit description again.
WDYT?

@yjaeseok I think we need issue_template.md as well. (or only need it)
Also, I'd prefer to putting the template files into docs/ and using lower cases as an file name.

OMG!! @romandev your opinion is good!!!
I was not worried about your opinion !
As you mention, pull request template make you uncomfortable.
But I will consider how to force our rule (eg: title is must be under 72 bytes, add issue number) when writing my first commit description in Vim editor.
Thank you for your opinion.
Maybe I seem to have focused too much on one commit. ;(

@yjaeseok Thank you for understanding me :)
IMHO, we still needs issue_template.md and it's very useful to us, I think!


feat: adding TwoEventsWashover base class and was modified validate c…

base class and was modified validate columns

Codecov Report
Attention: Patch coverage is 17.64706% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 95.53%. Comparing base (414133a) to head (1b95d25).

Files
Patch %
Lines

cluster_experiments/washover.py
17.64%
14 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #167      +/-   ##
==========================================
- Coverage   97.00%   95.53%   -1.47%
==========================================
  Files           9        9
  Lines         902      919      +17
==========================================
+ Hits          875      878       +3
- Misses         27       41      +14

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


Interstitials work fine, banners not showing

Hello,
I am creating a simple test app in Ionic / Cordova and I am using your Admob Pro plugin to display ads.
Interstitial ads show up as intended. However banners don't show up no matter what changes I make to the AdMob.createBanner() method.
I am using Genymotion to test - Could that be the problem?
Here is my code below:

$scope.showBanner = function()
  {
    var admobid = {};

    if(/(android)/i.test(navigator.userAgent) )
    {
        admobid =
        {
            banner: 'ca-app-pub-XXXXXXXXXXX/YYYYYYYYYY',
            interstitial: 'ca-app-pub-XXXXXXXXXXX/AAAAAAAAAAAAAA'
        };
    } else if(/(ipod|iphone|ipad)/i.test(navigator.userAgent))
    {
        admobid =
        {
            banner: 'ca-app-pub-XXXXXXXXXXX/CCCCCCCCCCCC',
            interstitial: 'ca-app-pub-XXXXXXXXXXX/ZZZZZZZZZZZZZZ'
        };
    }

    if(window.AdMob)
    {
        window.AdMob.createBanner({
        adId: admobid.banner,
        position: window.AdMob.AD_POSITION.BOTTOM_CENTER,
        autoShow: true});
    }
    else
    {
        //alert("Admob plugin not present");
        console.log("Admob plugin not present");
    }
 }

I did not try Genymotion, not sure what it did. Some tools may change the cordova view hierarchy and cause problem.
Maybe you can try adding one options to createBanner(), overlap:true

Hello Raymond,
thanks for the response.
I found out what the problem was. Well, sort of.
I'm writing the code in AngularJS and I was calling createBanner() on the main App Controller.
For some reason banners don't show up when I call the function from there there.
I called createBanner on a second, random controller and it works fine... Now I have to figure out it doesn't work with the main controller.

Ok, then it's not the plugin problem, I'd like to close this issue.


informationUri not always populated by scanners (semgrep)

https://github.com/HollowMan6/sarif4reviewdog/blob/70fd54da0c00b0e4b807de395cc60b42e34c5453/convert.py#L14C8-L14C8
Seems like that key in the dict doesn't exist for semgrep SARIF, so it can't be converted.
Could we put a default value "" or something configurable via the with inputs of the action maybe ?

Should be fixed in https://github.com/HollowMan6/sarif4reviewdog/releases/tag/v1.0.1
Thanks for raising this issue!


Header position bug

🐛 Bug Report
Header position fixed break side nav panel

To Reproduce
(Write your steps here:)

npx @docusaurus/init@next init docs classic
yarn start
on site go to Docs

Expected behavior
Header position fixed break side nav panel
Actual Behavior
Header position fixed dont break layout
Reproducible Demo
zero project from npx

@endiliey this is another side-effect of the other effects of https://github.com/facebook/docusaurus/issues/2141. Also only local.

@endiliey same in gitpod


Missing check of point validity

I realised that we are missing a check that decoded points on the elliptic curves are valid.
This is needed in connection with commitment and ZK validation. If this is not checked then there is a chance that malicious parties can send bad points and learn secret information if an honest party computes on these.
However, I don't think there are currently situations where a party receives a EC point and computes on it using their secret information, since we only use elliptic curves to check public information and construct proofs.
Still it is good to have this fixed.
See https://github.com/TokenScript/attestation/blob/ffb818fc58b32234c482de2e3cf49f8e58c8ed76/src/main/java/org/tokenscript/attestation/core/AttestationCrypto.java#L278
as reference.
This should be implemented in relevant JS parts.

This is actually handled in Point.ts.validate() and thus the issue is not relevant.


Intercom

Hello,
Thanks for your beautiful work.
Is it possible to manage intercom like DS-KV6113 ?
Here you can find any information and my method to get call status
intercom.pdf

Unfortunately it looks like call status is not delivered over the normal event stream. I don't own an intercom, but I've been weighing up getting one. If I do, I'll add it in.


notifications are not being dismissed after hitting delete

Expected behavior
When tapping on the delete button on a mail in the notification bar it should dismissed the notification.
Actual behavior
Notifications are not being dismissed.
Steps to reproduce
1 . when notification comes in tap delete on it.
2.
3.
Environment
K-9 Mail version:
5.114
Android version:
7.1.1
Account type (IMAP, POP3, WebDAV/Exchange):
imap.
screen cast of what is happening. Link> http://bit.ly/2egaRWu
Would be nice if I could have pasted this link. Firefox might be stopping me from doing so are your site don't allow pasting

Duplicate of #1588 amongst others

Thanks


[Serialization] Fix: remove context manager when loading shards + handle mlx weights

This PR fixes some failing tests in transformers when using the hfh loading helpers introduced in #2687.
See: https://app.circleci.com/pipelines/github/huggingface/transformers/113474/workflows/1a1ecbcd-26dc-4d3e-872d-79e5aedf04f2/jobs/1516443/tests#failed-test-1

in test_model_from_pretrained_from_mlx : mlx weights should be loaded as pt according to this comment : https://github.com/huggingface/transformers/blob/3d213b57fe74302e5902d68ed9478c3ad1aaa713/src/transformers/modeling_utils.py#L3966

in test_resume_training_with_safe_checkpoint : The UnboundLocalError occurred because in the context manager _load_shard_into_memory, the finally block tried to delete state_dict before it was created due to probably an exception in the try block. Instead of fixing this directly in the context manager, I'd rather remove it since a direct load-delete pattern is simpler and achieves the same memory management goals.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

🎉 tests are now passing in transformers : https://github.com/huggingface/transformers/runs/34374642187
(the failing tests seem unrelated).
I think we are good to merge and release :)
cc @LysandreJik


Merge pull request #62 from GoogleCloudPlatform/dylanmpeck-fix-ingress

Changes requested from https://buganizer.corp.google.com/issues/237801653#comment10

Lab is updated accordingly. Ready to publish when this merged.


Can you update the repository to the newest version?

Can you update the repository to the newest version?

Stop this pls.

?

Done

Thanks


fix: #6368

fix #6368
This fixes the arrow head and tail linking to the same element when creating a container from a text element.

Thanks @FadedBronze ❤


GHA is still broken

@rultor release, tag is 0.5.6

@rultor release, tag is 0.5.6

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.5.6

@yegor256 Done! FYI, the full log is here (took me 7min)


Raise if adapter does not support attachments yet

Not all adapters will support attachments right away. This makes it so that if you try to add an attachment, but are using an adapter that doesn't do anything with them, it raises letting you know that's the problem. Otherwise it would be successful, but the attachments would do nothing


Updated the LF url

Issue #92
Updated the URL for LF logo
Changes

Changed the url from img/ to /img/

Added DCO


Fix stringify error from resource deployment extension

Fixes https://github.com/microsoft/azuredatastudio/issues/14024
The root issue here is that we were modifying the extension contribution directly - which involved adding new properties to it. These properties were internal types and thus had references to things like tree views and much more complex objects than the original JSON definition.
This is a problem though because some VS Code implementations (such as withProgress) pass the entire extension contribution object over the RPC layer to the main thread - and so when it tried to convert that object to a string for passing over the RPC layer it failed converting these complex types since they had a circular reference loop.
This problem only showed up though after we parsed the extension contribution - which was only triggered by opening the resource deployment dialog. So if you started up ADS and immediately tried to do something like delete a PG instance it would work fine - but if you had opened up the deployment dialog first then it would fail because the extension contribution had been modified already.
The fix is simple - just clone the contribution object before modifying it so that any local changes the extension makes are kept within the extension itself.

Pull Request Test Coverage Report for Build 512982522

12 of 14 (85.71%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 43.158%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/common/utils.ts
9
11
81.82%

Totals

Change from base Build 512850988:
0.01%

Covered Lines:
24538

Relevant Lines:
52041

💛  - Coveralls

Pull Request Test Coverage Report for Build 512982522

12 of 14 (85.71%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 43.158%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/common/utils.ts
9
11
81.82%

Totals

Change from base Build 512850988:
0.01%

Covered Lines:
24538

Relevant Lines:
52041

💛  - Coveralls


[Bug] Broken link on Step 1 page

In step 1, in the readme this link doesn't work: 404 not found.

@gonzaloIllanWizeline Thank you for raising this issue! ✨ I'll triage this for review

I suggest this link to replace it:
https://docs.github.com/en/actions/writing-workflows/about-workflows


[easyblink]Update Kconfig to use the latest version by default

Update Kconfig to use the latest version by default

ping @Sunwancn

ping @Sunwancn


⚠ Fortnite has degraded performance

In f6ce947, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1660 ms

Resolved: Fortnite performance has improved in 0118928.