Fix turn screen off on Android 14

This PR is on top of #4441, so just consider the last commits.
On Android 14, execute a separate process with a different classpath and LD_PRELOAD to execute the methods required to turn the device screen off.
Fixes https://github.com/Genymobile/scrcpy/issues/3927
Refs https://github.com/Genymobile/scrcpy/issues/3927#issuecomment-1790031953
Tested on Pixel 8 with Android 14.
Binary for Windows:

scrcpy-turnscreenoff-android14.v1.zip SHA-256: d74020bd6e094168d84f1fa3e031341fb5850e078d9299e8ea583a5537c69c4a
(old: 1 process per request)

scrcpy-turnscreenoff-android14.v2.zip SHA-256: dbef9c49d165eb96b7a098d9e9bbbf7f0ffe1668ad7e7825380dafd20e426972
(new: 1 process for all, better reactivity)

screen off "mod o" works on my pixel 6 Android 14

Confirm worked on Poco F5 (Redmi Note 12 Turbo)
Android 14 Evolution X

but command line flags "-Swf" don't work
I don't have problem with -Swf flags.

but command line flags "-Swf" don't work

I don't have problem with -Swf flags.

correction, flags do work for me as well, mistake on my end

working on Google Pixel 6 Pro Android 14

Fixed on Pixel 6 Pro Android 14

It takes few hundred milliseconds to execute a new java process.
If I add services.jar to the classpath and libandroid_servers.so to LD_PRELOAD for the main scrcpy-server process, and execute the code directly, it is slightly faster to turn the screen off an on when using shortcuts (it is noticeable). But it fails to run scrcpy on older devices:
CANNOT LINK EXECUTABLE: library "/system/lib64/libandroid_servers.so" not found
page record for 0xb6f4f00c was not found (block_size=64)

Maybe I could start the process once (the first time the device screen is turned off), and keep it alive for further requests.
Or just accept the few hundred milliseconds latency when turning the screen on and off.

Maybe I could start the process once (the first time the device screen is turned off), and keep it alive for further requests.

I just did this: e844c6810b38c8455d4afb3a53e3bf1ce3b385e6
Please test the new binary :)

Maybe I could start the process once (the first time the device screen is turned off), and keep it alive for further requests.

I just did this: c5c2734db9c843708041307b7890b79b173cd8ed
Please test the new binary :)

This might work (I only tested in emulator) without new processes, LD_PRELOAD and multiple CLASSPATH
var classLoaderFactoryClass = Class.forName("com.android.internal.os.ClassLoaderFactory");
var createClassLoaderMethod = classLoaderFactoryClass.getDeclaredMethod("createClassLoader", String.class, String.class, String.class, ClassLoader.class, int.class, boolean.class, String.class);
var classLoader = (PathClassLoader) createClassLoaderMethod.invoke(null, "/system/framework/services.jar", "", "", ClassLoader.getSystemClassLoader(), 10000, true, null);

var displayControlClass = Class.forName("com.android.server.display.DisplayControl", true, classLoader);

var loadLibraryMethod = Runtime.class.getDeclaredMethod("loadLibrary0", Class.class, String.class);
loadLibraryMethod.setAccessible(true);
loadLibraryMethod.invoke(Runtime.getRuntime(), displayControlClass, "android_servers");

@yume-chan Wow, that works! Thanks :tada:
I will rework my PR without a separate process then :smile:  (even if this adds a lot of private calls)
Could you please detail why this particular ClassLoader with these arguments? (I will investigate later)

Just a note to match the parameter names:
    public static ClassLoader createClassLoader(String dexPath,
            String librarySearchPath, String libraryPermittedPath, ClassLoader parent,
            int targetSdkVersion, boolean isNamespaceShared, String classLoaderName) {

https://github.com/aosp-mirror/platform_frameworks_base/blob/0e28d56b1493b67ed0e1524065c07408f7608f99/core/java/com/android/internal/os/ClassLoaderFactory.java#L110-L112

First I found Android has its own dynamic library linker (libdl) in bionic, and it has a feature called linker namespace, that can limit which libraries a caller can load.
Android Runtime utilizes this feature by associating class loaders with linker namespaces. app_process will create a class loader for services.jar with a shared linker namespace, but create a class loader for user code (for example scrcpy-server.jar) with an isolated and limited linker namespace. That's why calling System.loadLibrary("android_servers") in our code will fail. (by using LD_PRELOAD, the library is loaded immediately using the "default" linker namespace, so it succeeds)
A shared namespace means it can load all libraries from its parent namespace. For app_process, the parent namespace should be "default", which can load libraries from any locations.
In Android Runtime, the call stack is System.loadLibrary -> JavaVMExt::LoadNativeLibrary -> android::OpenNativeLibrary. The last method finds the associated linker namespace for class_loader parameter (or create an isolated one if it doesn't have one, this is the case for the class loader that loads user code), then calls android_dlopen_ext in bionic to load the library using that linker namespace.
So we need a class loader that 1) has a shared linker namespace so it can load libandroid_servers.so and its dependencies in /apex folder and 2) has Java classes from services.jar so JNI initialization in libandroid_servers.so can find the classes it wants.
The dexPath argument includes "/system/framework/services.jar" to satisfy 2), and isNamespaceShared argument is true to satisfy 1). Other arguments don't seem to matter, with parent: null and targetSdkVersion: 0 it still works.
We also need to actually load libandroid_servers.so using that class loader. com.android.server.SystemServer.main contains System.loadLibrary("android_servers");, but calling it using reflection fails with initializing system services.System.loadLibrary (internally Runtime.loadLibrary) uses caller class's class loader, so I have to call Runtime.loadLibrary0 using reflection, as it accepts a custom class (and class loader).

Superseded by #4456

FYI, using direct communication with SurfaceFlinger
var serviceManagerClass = Class.forName("android.os.ServiceManager");
var getServiceMethod = serviceManagerClass.getDeclaredMethod("getService", String.class);
var surfaceComposer = (IBinder) getServiceMethod.invoke(null, "SurfaceFlingerAIDL");

long[] displayIds;
{
    var data = Parcel.obtain();
    var reply = Parcel.obtain();
    try {
        data.writeInterfaceToken("android.gui.ISurfaceComposer");
        surfaceComposer.transact(IBinder.FIRST_CALL_TRANSACTION + 5, data, reply, 0);
        reply.readException();
        var size = reply.readInt();
        displayIds = new long[size];
        for (var i = 0; i < size; i += 1) {
            displayIds[i] = reply.readLong();
        }
    } finally {
        data.recycle();
        reply.recycle();
    }
}

var surfaceControlClass = Class.forName("android.view.SurfaceControl");
var setDisplayPowerModeMethod = surfaceControlClass.getDeclaredMethod("setDisplayPowerMode", IBinder.class, int.class);

for (long displayId : displayIds) {
    IBinder token;
    {
        var data = Parcel.obtain();
        var reply = Parcel.obtain();
        try {
            data.writeInterfaceToken("android.gui.ISurfaceComposer");
            data.writeLong(displayId);
            surfaceComposer.transact(IBinder.FIRST_CALL_TRANSACTION + 6, data, reply, 0);
            reply.readException();
            token = reply.readStrongBinder();
        } finally {
            data.recycle();
            reply.recycle();
        }
    }

    setDisplayPowerModeMethod.invoke(null, token, 0);
}

Thank you for the sample. It's great to have several ways to access it :+1:
But I'm afraid that it would be too "fragile" (and will fail on some devices without useful error messages if the transaction id doesn't match).
Moreover, this commit says:

Additonal service, named as "SurfaceFlingerAIDL", is added to surfaceflinger during the process of migrating ISurfaceComposer interface to AIDL. New changes are put into namespace, android::gui. Once migration is complete, this service will be deleted.

So IIUC, this solution may not be permanent.


Fixed typo

Retrieve instead of Retrive https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1936

Also covers this issue https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1935

@DaniHalfin - can you please assist to check, approve and merge the content for this PR based on issue #1935 & #1936?
Thank you.


Screenshots not showing up   😞       [ISSUE]

Feature Requested
They successfully append the image file name into obsidian but they don't show up as screenshots but rather just the file names, like so:
Relevant Screenshot

Checklist

[X] The feature would be useful to more users than just me.
[X] I have checked the feature overview and the feature doesn't already exist.
[X] Feature Requests regarding daily notes will not be implemented, since there are other Alfred workflows that do focus on daily notes already.
[X] If it is an entirely new feature: The requested feature makes more sense to be implemented in Alfred than in a plugin. Please also explain why.

fixed in the latest release: https://github.com/chrisgrieser/shimmering-obsidian/releases/tag/3.6.1
also, please submit bugs as bug reports and not as feature requests. The form may be longer, but the requested information is often necessary.

@chrisgrieser Yeah man I tried a few times to find the bug report section, it just wasn't popping up on my Firefox to be honest. The only thing it allowed was a feature request, hence why I wrote "[ISSUE]" in the title. Apologies for that, I just had no other way of bringing attention to this. Sorry about that. And thank you for your quick response man, much appreciated. Will support this project this week.
Peace.

Oh that's weird. I'll look into it what is causing that. Thanks for letting me know!

figured it out, now the bug report form should be available again 🙂

@chrisgrieser Yeah that was weird, what was it? From your end maybe? Thanks for fixing the bug that allows us to use bugs hehe.

nah, the bug report issue was because I made a type in the yaml-file configuring the bug report form, which apparently makes GitHub completely ignore it 🙈
Ok, found the issue. Indeed overlooked a case when you have configured the screenshot path (which I didn't think of, cause you could not use a bug report form, where your config would have be apparent 😅 ) Should be fixed in the latest release: https://github.com/chrisgrieser/shimmering-obsidian/releases/tag/3.6.2

@chrisgrieser Awesome, just double checked it and was freaked out when it didn't work at first. But IT WORKS BEAUTIFULLY. You the man Chris. Great job.
For anyone that may still have some issues after updating, MAKE SURE TO REINITIALIZE THE SETUP PROCESS AGAIN via Alfred!!


Add thumbnail attribute to tweet object

Fetch the thumbnail of a video in a tweet

#peru sar
#  how are you so peru

Teach me

Missing support for:

[ ] Pandas
[ ] SQLite
[ ] CSV
[ ] JSON
[ ] Elasticsearch

Missing support for:

[ ]  Pandas
[ ]  SQLite
[ ]  CSV
[ ]  JSON
[ ]  Elasticsearch

Last commit adds support for SQLite, CSV, JSON and Elasticsearch. I have not updated Pandas because similar data fields: URLs, Photos and Videos are already missing for some reason.

Thanks for the updates; about Pandas, I guess it's not a must also people can load from JSON/CSV so there's still a way
If you want to add the few missing fields, it'd be great otherwise don't worry about that. (Anyway is just a dict so not that hard)

I made an amend to last commit with that db.py fix and also updated elasticsearch/index-tweets.json.
I've also made a update.py commit to add the missing data fields. (which should solve #737)


Add cachekey latest features to 8 1 x

Cherry-picked the following features (commits) into 8.1.x branch:

db8cd14ac cachekey: allow multiple values for --key-type
af7299dd0 cachekey: added --key-type (for parent selection)
0f86efc76 cachekey: added --canonical-prefix parameter

In addition cherry-picked some isolated cachekey related changes
from the following commits to branck 8.1.x:

aa58b6eb8 Ran clang-format
4cfd5a738 Ran make clang-tidy
8e451b774 Fixes spelling in plugins
7651e269d Ran clang-tidy with modernize-use-default-member-init
d77cd7316 Ran clang-tidy

[approve ci]

[approve ci clang-format]

[approve ci autest]


Delba - Add Redux and dependencies

Add Redux and Thunk for state management (add Logger as an optional aid).

@delbaoliveira I think you accidentally updated package.json in the client folder and not in the app folder.

Yep, I did. @Velsu please ignore this pull request.


OAuth2

Authentication with OAuth2 added. Integrated authentication changed so that both kind of authntication can be proceed in a request. First spring security tries to read JWT access token of the build in authentication of coderadar. If no header ist found, it tries to authenticate the user via OAuth2.0 of GitHub.
What does not work yet:

logout with OAuth by coderadar
principal extaction and user acount binding

Please add this to the circle.yml in your branch, so that we can monitor the memory usage:
machine:
  post:
    - FILE=$CIRCLE_ARTIFACTS/memory-usage-actual.txt; while true; do ps -u ubuntu eo pid,%cpu,%mem,args,uname --sort=-%mem >> $FILE; echo "----------" >> $FILE; sleep 1; done:
        background: true

reference: https://discuss.circleci.com/t/logging-memory-usage-in-the-builds/442/4

Closing as this PR is outdated.


Out of memory: Tries to allocate unrealistic amount of memory on analyzis request

I'm looking for ways to set up a pipeline for a big project to show warnings when unused assets are being pushed to repository.
This plugin's Python API is really useful for that, however when running on the actual project that has around 200-300 GB of assets  (which is why we're trying to reduce it) both the editor and the commandlet crash with "Out of memory" trying to allocate 80-100 GB array.
I'm not really sure what percent of assets are loaded at the point of the crash, but I expect that even if i had 128 GB of RAM available, I would still probably run out of it on the next array allocation when more assets are loaded.
Is it possible to introduce some sort of dynamic loading of assets while they're being checked and unloading when the check is done? Or maybe some other way to drastically reduce ram usage?
Here is the stack trace from Crash Reporter:
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 241] Ran out of memory allocating<PHONE_NUMBER>6 bytes with alignment 8. Last error msg: The paging file is too small for this operation to complete..

UnrealEditor_Core!<lambda_a20f43b083803437f2d783b89afde082>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp:242]
UnrealEditor_Core!FGenericPlatformMemory::OnOutOfMemory() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp:244]
UnrealEditor_Core!FMallocMimalloc::OutOfMemory() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\HAL\MallocMimalloc.h:50]
UnrealEditor_Core!FMallocMimalloc::Realloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\MallocMimalloc.cpp:137]
UnrealEditor_Core!FMemory::Realloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl:56]
UnrealEditor_ProjectCleaner!TArray<FAssetData,TSizedDefaultAllocator<32> >::ResizeTo() [D:\RocketSync\5.1.0-23058290+++UE5+Release-5.1\Working\Engine\Source\Runtime\Core\Public\Containers\Array.h:3045]
UnrealEditor_ProjectCleaner!FProjectCleanerDataManager::FindAllAssets() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ProjectCleaner\Source\ProjectCleaner\Private\Core\ProjectCleanerDataManager.cpp:450]
UnrealEditor_ProjectCleaner!FProjectCleanerDataManager::AnalyzeProject() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ProjectCleaner\Source\ProjectCleaner\Private\Core\ProjectCleanerDataManager.cpp:56]
UnrealEditor_ProjectCleaner!FProjectCleanerManager::Update() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ProjectCleaner\Source\ProjectCleaner\Private\Core\ProjectCleanerManager.cpp:38]
UnrealEditor_ProjectCleaner!SProjectCleanerMainUI::OnRefreshBtnClick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ProjectCleaner\Source\ProjectCleaner\Private\UI\ProjectCleanerMainUI.cpp:339]
UnrealEditor_ProjectCleaner!TBaseRawMethodDelegateInstance<1,SProjectCleanerMainUI const ,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() [D:\RocketSync\5.1.0-23058290+++UE5+Release-5.1\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:459]
UnrealEditor_Slate!SButton::ExecuteOnClick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:465]
UnrealEditor_Slate!SButton::OnMouseButtonUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:390]
UnrealEditor_Slate!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5046]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:412]
UnrealEditor_Slate!FSlateApplication::RoutePointerUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5032]
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5601]
UnrealEditor_Slate!FSlateApplication::OnMouseUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5566]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2219]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2726]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1895]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:925]
user32
user32
InkObj
atlthunk
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:142]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5293]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Hello @flotsamarch
First as a note I would recommend you to use v2 of plugin if your project version is higher 4.27 version. I have done multiple optimization in scanning cleaning operations.  Try to use and see if same issue arises. I personally tested on 150GB project and its seems to works fine. Tested on my laptop also with  32GB of RAM.
In general when you just scanning project , plugin not loading any asset. Loading begins when you deleting them. I am using unreal engine API for that and its recursively loads asset and its dependencies, when its trying to delete. To prevent loading all assets at once, I am just loading in 500 assets at a time. But problem is in old version I didnt turn off shader compilation, so maybe extensive RAM usage can be related to that. In new version I have fixed that.
Keep me posted , if you have still have same issue or any other questions.

PS.  Command line interface parameters changed a bit , I will update docs for that later on.


reflect: reflect.StructOf fields with Anonymous=true has not got Their func

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

$ go version
go version go1.19.5 windows/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\wang\AppData\Local\go-build
set GOENV=C:\Users\wang\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\wang\go\pkg\mod
set GONOPROXY=*.gitlab.com,*.gitee.com
set GONOSUMDB=*.gitlab.com,*.gitee.com
set GOOS=windows
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\PROJECTS\GO\gateway_test\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\wang\AppData\Local\Temp\go-build881389354=/tmp/go-build -gno-record-gcc-switches

What did you do?

I have a piece of code that has unexpected execution results
refer to the example in https://github.com/golang/go/blob/9ae97f8b8b07c63d354ac41cd37771d87c679df7/src/reflect/all_test.go#L5920
package main

import (
	"bytes"
	"reflect"
	"time"
)

func main() {
	tt := reflect.StructOf([]reflect.StructField{
		{Name: "Time", Type: reflect.TypeOf(time.Time{}), Anonymous: true},
	})

	if _, present := tt.MethodByName("After"); present {
		println("tt has After func")
	} else {
		println("tt has not After func")
	}

	bt := reflect.StructOf([]reflect.StructField{
		{Name: "Buffer", Type: reflect.TypeOf(bytes.Buffer{}), Anonymous: true},
	})

	if _, present := bt.MethodByName("Write"); present {
		println("bt has Write func")
	} else {
		println("bt has not Write func")
	}
}

What did you expect to see?
// output
// tt has After func
// bt has Write func

What did you see instead?
// output
// tt has After func
// bt has not Write func

Here's the methods signature of Time.After and Buffer.Write:
https://github.com/golang/go/blob/71f82df19a7595b422d9dbc7d05530bd824a9114/src/bytes/buffer.go#L175
https://github.com/golang/go/blob/71f82df19a7595b422d9dbc7d05530bd824a9114/src/time/time.go#L250
You can see their receivers are not the same type,  if you expect to see "bt has Write func", change type of Buffer to *Buffer:
bt := reflect.StructOf([]reflect.StructField{
	{Name: "Buffer", Type: reflect.PtrTo(reflect.TypeOf(bytes.Buffer{})), Anonymous: true},  // <=
})

Thanks


[mpg123] build failure

Host Environment

OS: [e.g. Windows/Linux etc...] Azure hosted runners (on Windows, Linux and Mac-OS)
Compiler: cl.exe (Windows), /usr/bin/c++ (Linux), XCode C++ (Mac)

To Reproduce
Steps to reproduce the behavior:
./vcpkg install sdl2 sdl2-image sdl2-image[libjpeg-turbo] sdl2-image[tiff] sdl2-image[libwebp] sdl2-mixer sdl2-mixer[dynamic-load] sdl2-mixer[libflac] sdl2-mixer[mpg123] sdl2-mixer[libmodplug] sdl2-mixer[libvorbis] sdl2-mixer[opusfile] sdl2-ttf nlohmann-json sol2 fmt
Failure logs
-Cut and past the appropriate build messages from the console output.
On Linux runner:

-Please attach any additional failure logs mentioned in the console output.
On Windows runner:

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

See issue #10523

The yasm executable binary needs to be in one of the paths used by vcpkg.
On windows I created a symlink to yasm as shown in the issue, but I am not sure how to solve the issue on Linux (I am not as versed on Linux as windows)
Maybe this info will help figure out where to put a symlink at and if so, please post to help others solve the issue on Linux.
Have a wonderful day :)

@TerensTare
test the patch, whether it works or not, and unsubscribe
https://github.com/microsoft/vcpkg/pull/10929/files
https://github.com/microsoft/vcpkg/pull/10929.patch

I found a workaround for it @timautry  and @Voskrese . I just added a variable on a matrix named get_yasm. On linux it is equivalent to sudo apt-get install yasm. On Mac it is brew install yasm, meanwhile on Windows it is just echo, as apparently, vcpkg automatically installs yasm on Windows if needed.


Updated broken link to Microsoft Support.

@dynamicwebpaige,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Host DNS configuration should consider NetworkManager on Fedora

If you have dns=dnsmasq in the [main] section of /etc/NetworkManager/NetworkManager.conf landrush does not play well.
It should write the config to /etc/NetworkManager/dnsmasq.d rather than /etc/dnsmasq.d and restart (maybe reload?)  NetworkManager rather than dnsmasq as NetworkManager already manages a dnsmasq process on <IP_ADDRESS>.

@jmontleon, thanks for your feedback. Much appreciated. There were other reports around problems on Fedora, but yours has so far the most concrete solution.
Mind you, the automatic host DNS configuration is really quite new (it only used to for for OS X out of the box) and given the wide variety of operation systems and how they are configured, it is hard to get this part right, especially if oneself is not using say Fedora as main development platform.
That said, you can always set config.landrush.host_redirect_dns = false to false and prevent Landrush to do any sort of host configuration. You can then do the setup yourself.
If your suggested solution works, maybe you would be interested in providing a pull request ;-)?
Last, but not least, what is the Fedora version you are running and do you know whether what you suggest will work for any version?

Most likely a duplicate of #260

Hi, just to add a lesson learnt related to this:

Even after doing a workaround with network manager, landrush causes dnsmasq to be installed if you forget config.landrush.host_redirect_dns = false in the Vagrantfile.
Watch out for dnsmasq distro package update file default config - it can end up flooding syslog.

For context, a while ago I manually setup the dnsmasq settings landrush needs via NetworkManager's dnsmasq
$ sudo sh -c 'echo "server=/vagrant.test/<IP_ADDRESS>#10053" > /etc/NetworkManager/dnsmasq.d/vagrant-landrush'
$ sudo systemctl restart NetworkManager
$ grep '<IP_ADDRESS>#10053' /var/log/syslog | tail -n 1
Sep 27 00:05:47 <myhostname> dnsmasq[17285]: using nameserver <IP_ADDRESS>#10053 for domain vagrant.test

But at some point I must have forgotten to put config.landrush.host_redirect_dns = false in one of my Vagrantfiles. The result:

dnsmasq got installed
/etc/dnsmasq.d/vagrant-landrush-vagrant.test got created

So both the standard dnsmasq and NetworkManager's dnsmasq processes were pointing landrush at <IP_ADDRESS>:10053.
In addition, to mess things up even more, I tried my luck with vagrant and the docker provider. This ended up causing:
Dec 31 13:05:31 <hostname> dnsmasq[1707]: failed to create listening socket for <IP_ADDRESS>: Permission denied
Dec 31 13:05:31  <hostname>  dnsmasq[1707]: failed to create listening socket for <IP_ADDRESS>: Permission denied

Some other chaos resulted when the dnsmasq package was updated via apt, and dpkg.old and dpkg.new default config files caused dnsmasq to have extra config in /etc/dnsmasq.d/...
Hundreds of thousands of dnsmasq error messages (e.g. 200K in one day!)
$ for f in /var/log/syslog*; do ls -lh $f; zgrep -c dnsmasq $f; echo; done
-rw-r----- 1 syslog adm 851K Dec 31 13:40 /var/log/syslog
6861

-rw-r----- 1 syslog adm 32M Dec 31 13:05 /var/log/syslog.1
270044

-rw-r----- 1 syslog adm 277K Dec 30 10:16 /var/log/syslog.2.gz
3683

-rw-r----- 1 syslog adm 67K Dec 28 10:06 /var/log/syslog.3.gz
46

Note the inclusion of extra config with the default daemon for dnsmaq in Ubuntu (I assume Debian as well)
$ ps -p 1707 -o ppid,user,cmd | more
 PPID USER     CMD
    1 dnsmasq  /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /
var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --l
ocal-service --trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A4185
5200FD2CE1CDDE32F24E8FB5

As per the man page -7

-7, --conf-dir=[,......],
Read  all  the  files  in  the  given directory as configuration
files.

So I think the issue was the extra dnsmasq process was reading in all the config files for various other VM and container dnsmaq instances like libvirt, lxc and NetworkManager, and those already have their own dnsmasq processes running?
$ ls /etc/dnsmasq.d
libvirt-bin  lxc  network-manager  vagrant-landrush-vagrant.test

To fix and revert to using a custom/manual dnsmasq with NetworkManager, I removed the default daemon
$ sudo apt-get remove --purge dnsmasq
$ sudo rm /etc/dnsmasq.d/vagrant-landrush-vagrant.test

Hi, just to add a lesson learnt related to this:

Even after doing a workaround with network manager, landrush causes dnsmasq to be installed if you forget config.landrush.host_redirect_dns = false in the Vagrantfile.
Watch out for dnsmasq distro package update file default config - it can end up flooding syslog.

For context, a while ago I manually setup the dnsmasq settings landrush needs via NetworkManager's dnsmasq
$ sudo sh -c 'echo "server=/vagrant.test/<IP_ADDRESS>#10053" > /etc/NetworkManager/dnsmasq.d/vagrant-landrush'
$ sudo systemctl restart NetworkManager
$ grep '<IP_ADDRESS>#10053' /var/log/syslog | tail -n 1
Sep 27 00:05:47 <myhostname> dnsmasq[17285]: using nameserver <IP_ADDRESS>#10053 for domain vagrant.test

But at some point I must have forgotten to put config.landrush.host_redirect_dns = false in one of my Vagrantfiles. The result:

dnsmasq got installed
/etc/dnsmasq.d/vagrant-landrush-vagrant.test got created

So both the standard dnsmasq and NetworkManager's dnsmasq processes were pointing landrush at <IP_ADDRESS>:10053.
In addition, to mess things up even more, I tried my luck with vagrant and the docker provider. This ended up causing:
Dec 31 13:05:31 <hostname> dnsmasq[1707]: failed to create listening socket for <IP_ADDRESS>: Permission denied
Dec 31 13:05:31  <hostname>  dnsmasq[1707]: failed to create listening socket for <IP_ADDRESS>: Permission denied

Some other chaos resulted when the dnsmasq package was updated via apt, and dpkg.old and dpkg.new default config files caused dnsmasq to have extra config in /etc/dnsmasq.d/...
Hundreds of thousands of dnsmasq error messages (e.g. 200K in one day!)
$ for f in /var/log/syslog*; do ls -lh $f; zgrep -c dnsmasq $f; echo; done
-rw-r----- 1 syslog adm 851K Dec 31 13:40 /var/log/syslog
6861

-rw-r----- 1 syslog adm 32M Dec 31 13:05 /var/log/syslog.1
270044

-rw-r----- 1 syslog adm 277K Dec 30 10:16 /var/log/syslog.2.gz
3683

-rw-r----- 1 syslog adm 67K Dec 28 10:06 /var/log/syslog.3.gz
46

Note the inclusion of extra config with the default daemon for dnsmaq in Ubuntu (I assume Debian as well)
$ ps -p 1707 -o ppid,user,cmd | more
 PPID USER     CMD
    1 dnsmasq  /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /
var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --l
ocal-service --trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A4185
5200FD2CE1CDDE32F24E8FB5

As per the man page -7

-7, --conf-dir=[,......],
Read  all  the  files  in  the  given directory as configuration
files.

So I think the issue was the extra dnsmasq process was reading in all the config files for various other VM and container dnsmaq instances like libvirt, lxc and NetworkManager, and those already have their own dnsmasq processes running?
$ ls /etc/dnsmasq.d
libvirt-bin  lxc  network-manager  vagrant-landrush-vagrant.test

To fix and revert to using a custom/manual dnsmasq with NetworkManager, I removed the default daemon
$ sudo apt-get remove --purge dnsmasq
$ sudo rm /etc/dnsmasq.d/vagrant-landrush-vagrant.test

Merged via pull request #275


not starting at 0.25

hi, i'm loving rawaccel, i was just wondering, i'm used to 400 dpi so i do 1600 with 0.25, acc on 0.04 and cap at 4. The output starts at 0.25 but the red dot never actually is on 0.25 is that just visual? What do i have to do to fix it if not. It works fine with acc on 0.025 but thats to slow for me.

it's visual, the red dot just shows an approximation of your speed/input.


Ability to omit list of not-yet-implemented examples

Another way to improve the signal-to-noise level would be an easy way to not list all the pending/not-implemented examples at the end of the report ... just show me the failures and the final summary.
Basically, I tend to care about the pendings when I run a full test suite over all my test cases, but it's just clutter (and more scroll back) when I'm in an iterative test-fix loop at the REPL.

Totally agree, this would be a handy option when practicing TDD and having a lot of pendings. @slagyr, would you be open to such a feature?

Sure.  Presumably this would be a command line option.  I have no problem with that.

On Feb 13, 2015, at 4:15 PM, Steven Degutis<EMAIL_ADDRESS>wrote:
Totally agree, this would be a handy option when practicing TDD and having a lot of pendings. @slagyr https://github.com/slagyr, would you be open to such a feature?
—
Reply to this email directly or view it on GitHub https://github.com/slagyr/speclj/issues/121#issuecomment-74336706.

I kind of see this as an additional argument to run-specs, with a default I can easily set somewhere.
I run my tests two ways:

frequently, in IDE, one namespace at a time (using Cursive)
occasionally, from command prompt, using leiningen

In the latter case, I don't mind seeing the "pending" characteristics (though having an easy way to silence there would be good).  In the former case, which happens literally every few minutes, I'd love to not have the "meat" of my console output scrolled out of view by the "pending" messages.

Handled in #125. When 3.3.0 goes out, this should be good to go.


Region hierarchy video should use im.blobs(), not im.labels_binary()

@Tjeard0

https://robotacademy.net.au/masterclass/feature-extraction/?lesson=693

Ignore me, it does


Daedalus 3.3.2 - Kernel panic (GPUWatchdog) on macOS 10.15.7

Daedalus Mainnet Helper (GPU)_2021-03-26-152448_Mikes-Office-Mac-Mini.crash.zip
Under heavy load, I opened Daedalus.  Everything froze.  I waited, but the watchdog panic'ed the system and I got to reboot.
I'm attaching the unsymbolicated log here and can provide anything else asked.
Process:               Daedalus Mainnet Helper (GPU) [56078]
Path:                  /Applications/Daedalus Mainnet.app/Contents/Frameworks/Daedalus Mainnet Helper (GPU).app/Contents/MacOS/Daedalus Mainnet Helper (GPU)
Identifier:            Daedalus Mainnet Helper (GPU)
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        Frontend [56067]
User ID:               502

Date/Time:             2021-03-26 15:22:57.877 -0500
OS Version:            Mac OS X 10.15.7 (19H524)
Report Version:        12

Crashed Thread:        1  GpuWatchdog

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [56078]

@mreed911 can you please update to latest Daedalus 4.0.5 and try again?

@mreed911 any news?

Haven't seen it since - but only saw it once.  Only filed to submit the logs just in case.  Welcome to close/can't reproduce.

Alright! Will close it then. Feel free to re-open it in case it happens again!
Thanks for the support!


Invalidate doesn't work, even in the UI thread.

I got this work by changing targetView.invalidate(), but somehow the images overlapped letters in Textview.
Not sure why it happened.
It seems to be a strange behavior of Html.ImageGetter, will try.
After attempting for a while, setText(getText()) will mess up the layout. Invalidate() does not work.

Found a way. Instead of modify Textview with setText, do it by setTextSize. It is less verbose and work better. Apparently my attempt is
textView.setTextSize(n + 1);
textView.setTextSize(initialSize);
That way you will force the textView to invalidate with new textsize, and then set textsize back to normal.

Sorry, didn't mean to close this, I just renamed the base branch.
It's still on my todo list to investigate: https://github.com/TWiStErRob/glide-support/issues/48


cant install the environments

when I install the requirements,there are too many errors. can u order me a requirements.txt?

Hi,
the following google drive link is the zip file that contains my conda environment in linux: https://drive.google.com/file/d/1SKKSwjdEapQh5WOEpv8XkLZTTkhlKDg6/view?usp=sharing
Can you please try the following after downloading the zip file:
mkdir -p llm4poi
tar -xzf "venv.tar.gz" -C "llm4poi"
conda activate llm4poi


Cannot implement a connection pool using r2d2

I commented, in #49  which is closed, because I had a similar issue, but I thought it might not get caught up there, so I'm opening a new issue with that same comment.
I'm implementing r2d2::ManageConnection. One of its fn's, is_valid, borrows the connection, mutably. The purpose of the function is to check if the connection is still... valid. The way I want to do this is to query the SQL Server for the result of "SELECT 1" like it is suggested to do. The problem is that tiberius' SqlConnection consumes self when calling query, which inside is_valid can't happen, because it's already borrowed in this context. Any suggestions?
fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> {
    let sql_str = "SELECT 1";
    let stmt = conn.prepare(sql_str);
    let future = conn
        .query(stmt, &[])
        .for_each(move |x| {
            let result: i32 = x.get(0);
            // ...
            Ok(())
        });
    // now run the future and unwrap it
    match future.wait() {
        Ok(_) => { Ok(()) }
        Err(tiberius_error) => Err(
            MSSQLConnectionManagerError(Errors::WrappedTiberiusError(tiberius_error))
        ),
    }
}

error[E0507]: cannot move out of borrowed content
   --> src/persistence/mssql.rs:112:22
    |
112 |         let future = conn
    |                      ^^^^ cannot move out of borrowed content

error: aborting due to previous error

For more information about this error, try `rustc --explain E0507`.

r2d2 is focused/designed for a synchronous API, so this might be quite hard and only one of the easier issues.

Ah! Not it makes sense! Thank you!


Examples do not show how to configure authentication from appsettings / similar

Hi, not sure if this specific page should cover this but it should at least be somewhere around this section. I find the examples to be unrealistic in that all URLs and similar are hard-coded in source, and I'm frustrated that I can't find any documentation that covers how to do this properly. For example, in the AddJwtBearer callback I might need to access another DI service to obtain client certificates for the back channel http handler, or obtain endpoint URLs from appsettings.json. But since no IServiceProvider is passed into the callback, I'm at a loss how to get this working. All your examples are taking the easy way out by hard-coding values and are unhelpful in the real world.

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

ID: ee71441f-471a-89cd-0ef4-9b32b5dd85cf
Version Independent ID: 0096c365-2f4e-5d21-89a0-c4f10fcb0ed9
Content: Authorize with a specific scheme in ASP.NET Core
Content Source: aspnetcore/security/authorization/limitingidentitybyscheme.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@blowdart 	please respond.

This should be covered in the configuration pages, not in feature specific pages, otherwise you'd have to do it everywhere on every feature that needs configuration.

Or Add a Link to the Specific Page that will allow developers to Configure this Cases

Closing since moved to #10553 to track.


Removed a debug print statement inadvertently left in.

I just noticed this, and wanted to remove it!

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8fe10a4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #7   +/-   ##
=========================================
  Coverage          ?   91.55%
=========================================
  Files             ?        3
  Lines             ?      379
  Branches          ?        0
=========================================
  Hits              ?      347
  Misses            ?       32
  Partials          ?        0

Impacted Files
Coverage Δ

taxii2client/__init__.py
86.69% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fe10a4...c5e8f4b. Read the comment docs.


Can you provide general insert, update, delete, get method?

Feature request：
I want mapper file can provide a  simple general insert, update, delete, get method.Just like spring data save,delete,getOne etc this method.
The mapper file is extends the mybatis supply interface.The base interface contains insert,update,delete and
getByPrimaryKey,So that the mapper xml can omit the those node element.
Also the model class can use annotation such as @Table,@Id etc.

MyBatis is not an ORM. You can have a look at You can have a look at http://www.mybatis.org/generator/ which to my understanding generates some CRUD code for you.

In fact, I hope mybatis can provide some simple ORM functionality.Thanks for the answer。

See #1013. You can create the general CRUD method using  @SqlProvider.
Note: The MyBatis core module does not provide the feature that generates SQL like JPA and no plan to support it.

@dingey Thanks for your feature request! But we haven't planned this feature as mybatis core module at currently.


How to handle password reset requests for emails that do not exist?

Context
When password requests are made for emails which do not exist, one of two things tend to happen:

The system informs the user that such an email does not exist, or
The system informs the user that, if an email exists, a request will be sent.

Requirements

Determine which of the two options we want
Then, implement that logic

Tests

Tests will need added for the new logic

Docs

API documentation may need updating

Open questions

See above.

I much prefer the first option; "if an email exists, we will send it" has always left me wondering if i typed my email correctly or remembered which one I used to sign up. If possible, we should check, then tell them whether we sent the thing or not.

@josh-chamberlain So while that would be relatively simple to implement, I would point out (and note I failed to do so prior) that disclosing which usernames we have makes it easier for gremlins to perform user enumeration attacks, AKA submitting requests to determine whether specific users do or do not exist on the system. The typical recommendation is to obscure information about whether or not a username exists.
Of course, this article points out that this isn't a high risk for many consumer applications where the information that can potentially be exposed isn't high. And most places already allow for user enumeration through their sign-up pages -- most places won't allow you to sign up with a user email which already exists.
I want to make sure that's all brought to your attention, and will then defer to whether you want to stick with "Tell them we sent it" or go to "Maybe we did or maybe we didn't send it, tee-hee."

@maxachis oh, good point! That's fine, we can do the "if an email exists" message.


fix: do not run make release unless the travis build is for a git tag

The list of available travis environment variables is here.
Closes elsevier-core-engineering/replicator#235

thanks a lot @josegonzalez


Status code 400 while signing in.

When signing in by entering username and password, we're getting a 400 error, but everything works fine when signing in via google etc.

In your app, are you using the trakt.tv or the api.trakt.tv domain? (it should be the main trakt.tv domain for all authentication UI)
A 400 error could be an issue with a local ad blocker or VPN as well. I think I've seen similar errors in Android apps in the past and it ended up being an ad blocker.

I'm using the URL mentioned in docs to receive the auth token,
https://api.trakt.tv/oauth/authorize?response_type=code&client_id=%20&redirect_uri=%20&state=%20
It should be something like https://trakt.tv/oauth/authorize ?

Yep, use the https://trakt.tv/oauth/authorize one.
Sent with GitHawk

https://trakt.tv/oauth/authorize works!!
Thanks a lot.


Observers example with random_time/location_counts and sqgturb

Recommended way to specify how many times/locations you want to sample is now using random_time_counts and random_location_counts, which generates exactly that many random indices instead of using a probability of selection for each index.
Also added an example with SQGTurb

@kysolvik can/should this be merged?

Replaced by #10


WIP Update Translation

Update Translation

Adding files for base language (en)
Update spanish translations
Clean files that do not contain translation and do not need it

I have added the files OneBusAway/en.lproj/Localizable.strings because when exporting to xliff files the base language, this was taking values in Spanish.
The ideal would be to change the keys as it is doing in OBA Android for OneBusAway/en.lproj/Localizable.strings. This way we can easily update the languages by comparing the files.
For example, we have these keys to identify a string:
Some information about how you use this app is sent to Google Analytics in non-personally identifiable form to help us better understand how to improve the app. To learn more, please read our Privacy Policy.
The key can be:
msg_information_google_analytics
So on code we can use:
    analyticsSection.footerView = [OBAUIBuilder footerViewWithText:NSLocalizedString(@"msg_information_google_analytics", @"Analytics explanation on the Settings view controller.") maximumWidth:CGRectGetWidth(self.tableView.frame)];

I can update this keys, and later you can review on this PR.

If you rebase on top of the latest bits in develop, you should be able to get this to pass.

I rebased and force push, but still fail.

I push a commit where change the text and message for 'keys'. The keys are generic I think it is necessary to define a format to easily identify where it is used and the content of the message.
These keys can be easy change using commands on terminal for example.
I check a bit as it has been left visually, except error messages.

Merged after squash with #879


IsPhoneRegisteredAsync could become CheckPhoneAsync and return all the CheckedPhone entity

now there is a method that returns a bool:
Task<bool> IsPhoneRegisteredAsync(string phoneNumber, CancellationToken cancellationToken = default(CancellationToken));

would be nice to avoid hiding the real method and go for the full version:
Task<ICheckedPhone> CheckPhoneAsync(string phoneNumber, CancellationToken cancellationToken = default(CancellationToken));

where TCheckedPhone is extended with also the property phone_invited that the telegram method returns:
https://core.telegram.org/method/auth.checkPhone
(auth.checkPhone "79123413132")
=
(auth.checkedPhone
  phone_registered:(boolFalse)
  phone_invited:(boolFalse)
)

what do you think?

Great thank you!


Can't export in date format

I am exporting an xlsx file and I can not get excel to recognize the dates as dates.
Here is part of my code, it is in a controller for now:
    public function getGenerateLSSReport(LSSReportExport $export){

        return $export->sheet('sheetName', function($sheet)
        {

            $issues = Issue::get();

            foreach ($issues as $issue) {
                $LSSReport[$issue->id] = [

                    //$issue->do is a carbon instance
                    'Date Opened' => PHPExcel_Shared_Date::PHPToExcel($issue->do->timestamp),

                    //$issue->date_closed is a string: January 13, 2005
                    'Date Closed' => $issue->date_closed,
                ];
            }

           $sheet->setColumnFormat(array(
                'A' => 'yyyy-mm-dd',
                'B' => 'mmmm d, yyyy'
            ))->with($LSSReport);

        })->export('xlsx');
}

The "Date Opened" is a Carbon object and the "Date Closed" is a string that appears as 'mmmm d, yyyy'. I can't for the life of me get Excel to treat either one as a date, even though the setColumnFormat() function does seem to be setting the column correctly. (Under format cells in Excel the settings match, but the data in both columns are left aligned and behave like strings).
For the 'Date Opened' I was originally just using the Carbon object $issue->do thinking Laravel Excel would parse it automatically, when that didn't work I tried using the PHPExcel_Shared_Date class as above, but I just get the error 'Class 'App\Http\Controllers\PHPExcel_Shared_Date' not found'. I don't know how to include the class to even test if that solution would work, sorry if that is Laravel 101 stuff.
I have also tried $issue->do->toDateString(); to match the format in setColumnFormat(), that didn't work either.
How do I get an excel export to format the dates properly? I have tried in Windows Office 2010 and 2013.

Introdction to namespaces: https://laracasts.com/lessons/namespacing-primer
In short: you have to import PHPExcel_Shared_Date in top of your class.

Thank you!

This solution worked for me. Thank you!


julia start-up is horribly slow in Atom

Hello, since about one month or so I the start-up of julia REPL in Atom became very slow and CPU extensive.
I.e., this program:
println("test")

runs in less than a second with julia -O3 -- test.jl but takes about 20 seconds in atom to print the result to console.
It is even worse for every program with some using statements.
This also happens to older code which started much faster in the past.
Can you give me a hint where to search for the core of the problem? I have the most recent versions:
atom: 1.22.1 (64 bit, every package updated)
julia: 0.6.1 (2017-10-24 22:15 UTC)

I have just tested. only press "Start Julia" gives me
Julia Boot: 42.23s          .atom/packages/julia-client/lib/misc.coffee:44

This is incredibly long and definitely was not the case about one month ago.

That seems excessive, and I haven't seen boot times that long yet. I will definitely look into improving boot times though.

Thanks, meanwhile, have you an idea of what I can test in order to get closer to the core of the problem?

I have just tested with a new .atom directory and the only thing I have added to initial atom is the uber-juno package which installed me everything needed for julia.
The result is sadly the same: 40 seconds to start julia...

Yes, all/most of the reported time is spend loading and connecting to Julia.
Just for reference, I usually get something like Julia Boot: 8.02s, which doesn't seem that bad if you consider
julia> @time using Atom
  5.140905 seconds (4.15 M allocations: 235.254 MiB, 4.34% gc time)

No, this is just starting the REPL. With the new version however, it get much better.

The start-up time is now again around 30 seconds vs. 1 second in terminal.

Here is what happens when I start julia in terminal:
gluon:~ $ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> @time using Atom
 35.649488 seconds (6.30 M allocations: 360.687 MiB, 2.17% gc time)

Hm, I've seen a bit of a regression here to, but nothing as massive. Will take a look soon.


How to reload Jobs.xml ina a web app?

I need create Jobs.xml in a Web App e reload, any detect changes resources in Sundial ?

I think that feature is disabled. Did you try it?

Yes, I just verified that reloading jobs.xml on the fly is not possible.


Add a new resource for a free Web3.js and Blockchain practical course

I have a new free resource which teaches blockchain and web3.js from beginner to intermediate level through practical coding.
Can i merge it with the repo?

we are merging only top-level free resources but submit your link.

sure


[Tutorial/Basic] Complete RN Todolist based on basic features

Features to be used on this app

Props
State
Style
Height and Width
Layout with Flexbox
Handling Text Input
Handling Touches
ScrollView
List Views
Networking
etc

Well, list of Advanced features already has Networking session which on your list so you don't have to add it.

Okay. Thanks for letting me know


RFP - HashTools

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://www.binaryfortress.com/HashTools/
Direct download URL for the software / installer : https://www.binaryfortress.com/Data/Download/?package=hashtools&noinstall=1&log=100&ref=995003
Software summary / short description:
HashTools computes and checks hashes with just one click! Supports CRC32, MD5, SHA1, SHA256, SHA384, SHA512 and SFV's, as well as integration into the Windows Explorer context menu for one-click access.

Difficulty is a popup "HashTools has been added to the Windows Explorer context menu" appears during install and block the install even with appropriate options /VERYSILENT /SILENT /SUPPRESSMSGBOXES /NORESTART /SP-

(Elevating permissions and running ["C:*********************************\hashtools\4.1\HashToolsSetup-4.1.exe" /VERYSILENT /SILENT /SUPPRESSMSGBOXES /NORESTART /SP- /components="" ]. This may take a while, depending on the statements.)

, needs probably to use ahk.

Under review: https://chocolatey.org/packages/hashtools

This package is approved.


Send email to confirm that book has been picked up

As an user I would like to receive an email asking me if the books has been picked up at the expected time:

[x] Create a cron job that run every day at 12 PM gmt (Midday)
[x] Check if there is any book in AwaitingPickup and if the time is BEFORE now
[x] Create a new email that includes the book name, and a button to confirm if pickup has been completed or reject
[ ] Create endpoints (that require auth) to accept Pickup (move the ledge into a status of in progress, or reject ( mark the book ledge as rejected).

@Zelig880
There's already an endpoint to accept and reject the pickup of a book:
"http://www.localhost:8000/api/ledge/request/respond/{{ $ledge->id }}"

Yes, the endpoint exist, it was created in another pr...
On Sun, 30 May 2021, 2:44 pm John, @.***> wrote:

@Zelig880 https://github.com/Zelig880
There's already an endpoint to accept and reject the pickup of a book:
"http://www.localhost:8000/api/ledge/request/respond/{{ $ledge->id }}"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Zelig880/BooksBank/issues/51#issuecomment-851002625,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACE7HAVJUY3E5DGG6Q6TMNTTQI6J7ANCNFSM444TYGMQ
.


Previous/next nav hans inconsistent width

the width of previous/next nav block is too wide.  It would be better to remove full-width class .

Done!
Configure previous_next_article_links_full_width = false in your config.toml, section or post.


ISPN-10164 Ensure that all tests are running with the correct JVM ver…

https://issues.jboss.org/browse/ISPN-10164

@diegolovison you should look at this

@danberindei for all of the junit testsuites I set parallel to none (which is the default anway) since "classes" causes multiple failures. We might want to look into it at some point.

@danberindei @diegolovison this should be ready.
I've renamed the property to pass in extra flags as testjvm.extraArgs to be consistent with the rest.

Integrated, thanks Tristan!


Here's a new site I'd like you to consider blocking

Here's a new site I'd like you to consider blocking:
myanimelist.net
still has reviews showing
(please include any other relevant details)

Did you go to the options page and update the definitions?

updated still showing reviews

Any difference since then?


CSO optimizer and batch experiments

Add implementation of competitive swarm optimization and CSO experiments results with burgers, LV, kdv, poisson equation

It is added within PR #48


Revert "Rename className prop and add to docs"

Reverts Hacker0x01/react-datepicker#370

@rafeememon

Current coverage is 92.55%

Merging #384 into master will not affect coverage as of 79b4720

@@            master    #384   diff @@
======================================
  Files            9       9
  Stmts          188     188
  Branches        38      38
  Methods         88      88
======================================
  Hit            174     174
  Partial          4       4
  Missed          10      10

Review entire Coverage Diff as of 79b4720

Powered by Codecov. Updated on successful CI builds.

Cool :+1:


Create demo project for code highlighting styles

Yesterday, we did some work to improve the code highlighting (see https://github.com/pypa/warehouse/issues/4047).
I'd like to continue to improve our code highlighting theme.
It would be great to upload a 'code-highlighting-demo' project to PyPI that we could use for testing code highlighting.  It would need to show as many colors as possible in the readme.
We could then add a section in the documentation that explains how the code highlighting works, and where to find this demo project.

Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide. If you are working on this issue and have questions, feel free to ask them here, #pypa-dev on Freenode, or the pypa-dev mailing list.
Screenshot Required:  please include a screenshot of your update. This helps our team give you feedback faster.

Related to #3939

I'm willing to take this one, good to go?

Yes, great @evemorgen :)

Two quick questions:

I guess there should be separate repo in pypa for that?
I cannot make up my mind whether it should be one big chunk of code or reasonable number of smaller ones that shows different stuff. Any suggestions?

The other demo project we have is a private project (see https://pypi.org/project/markdown-description-example/), so if you're happy to do this under your private account, I think this would be ok.
Maybe a few different ones, that include different languages? Python would be the most obvious, but some READMEs also have other languages in them - bash, JS, etc.

So the Pypi project is here: https://pypi.org/project/pypi-code-highlighting-demo/
And repo is here: https://github.com/evemorgen/pypi-code-highlighting-demo
Any suggestions would be appreciated :)
Also, which section of docs should include information about syntax highlighting? I couldn't find one

Thanks @evemorgen! That looks great, could you add my user di as a owner of the project on PyPI?

Sure thing, that's what I did

Thanks @evemorgen.
I think we can add a link to this project from the CSS section here: https://warehouse.readthedocs.io/development/frontend/#scss-style-and-structure

Can someone duplicate this upload to test.pypi.org? Then it will can included in the sanitized database dump used for local development.

@evemorgen Would you be able to do that?

Yep, there it is: https://test.pypi.org/project/pypi-code-highlighting-demo/

Thank you! I’ll create a new dev database dump today!
On August 2, 2018 at 12:39:10 PM, Patryk Gałczyński (
<EMAIL_ADDRESS>wrote:
Yep, there it is: https://test.pypi.org/project/pypi-code-highlighting-demo/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pypa/warehouse/issues/4400#issuecomment-409990692, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABJSwLrGGcjF8IHUqp7XdWXi_5eU-MV7ks5uMystgaJpZM4VlT-5
.

Closing this.  Thanks @evemorgen for setting this up!

Later today

became two months later but it finally is there! 😄


Add languages as Subproject

https://github.com/Khroki/MCEdit-Unified/tree/master/lang as Subproject

:+1: Decrease Commit and PR "Spam"
:-1: Loosing Commit History from files

This is a suggestion.

Ok, we'll make all of the translators who commit a lot a collaborator status to reduce PR spam
Thanks for the idea, though, L3ice! :D

Wow, thanks! :hushed: :blush:

You've been added, enjoy


Add CCR template

This template combines the best of the wiki process as well as
the PROJECT and EXPERIMENT documents, but rmeoves those items
that are too onerous for a change control request. This also
complies with the Paperwork Reduction Act of 1980.

minor typo, the rest looks great to me, thanks!


clarity in the variable declarations.

Leading up to Step 1, The situation is listed as an Azure site using <IP_ADDRESS>/16 and 3 sites with 10.2 10.3 and 10.4. Great. It sets up the situation. Then it does into a test vNet and a new site, site6. and this new vNet and site use different ip sets than what were being talked about in the beginning. Is the test vNet have 2 address spaces? What's this front end and back end spaces? This site6 location, does this also have 2 subnets that we'll need to be able to route to? Let's say I have an existing vNet and gateway. What can I run to get the appropriate variables and what step can I then skip to? This article is about multiple vpn devices. Where are the others? This example set up one, but not a second one? It's like we were set up for one scenario, then the documentation for another document (with some of the same issues as this) was copy and pasted into this one without being adjusted for this situation.

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

ID: b2c33f22-7243-bb33-38b9-fcf30e68ffe6
Version Independent ID: c1a3a25a-26d0-acdf-d5f2-1d1c057a3e5b
Content: Connect Azure VPN gateways to multiple on-premises policy-based VPN devices: Azure Resource Manager: PowerShell
Content Source: articles/vpn-gateway/vpn-gateway-connect-multiple-policybased-rm-ps.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

@chrisbachmann Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@chrisbachmann
Thanks for the suggestions. We will improve this doc to address the questions you raised. For now, answers to your questions below:

In the PowerShell example, the VNet also has two prefixes, with 3 subnets defined within the prefixes: 10.11/16 and 10.12/16. The subnet definitions are all declared in as PowerShell variables. We just did not add an additional diagram to illustrate those.

Same for the address prefix list for Site6. We used "$LNGPrefix61" and "$LNGPrefix62" for those.

If you already have an Azure VPN gateway and connection working, you can find those information from the Portal or using PowerShell (Get-AzVirtualNetworkGateway and Get-AzLocalNetworkGateway).

If you want to add another connection, you can repeat Step (2) with a new local network gateway definition to add a new connection. If you want to apply the policy to an existing connection, you can follow the instruction in the "Update policy-based traffic selectors for a connection" section.

Please let me know if you have further questions.
Thanks,
Yushun

Please re-open the issue if you have further questions.
#please-close


KOGITO-1373 Integrate the new StateControl API (Undo/Redo/Is Dirty) on the different channels

Tasks

https://issues.redhat.com/browse/KOGITO-1390
https://issues.redhat.com/browse/KOGITO-2169
https://issues.redhat.com/browse/KOGITO-2170
https://issues.redhat.com/browse/KOGITO-2213
https://issues.redhat.com/browse/KOGITO-2453

Description

Integrated the state control API on the embedded-editor.
Added verification of the isDirty flag when the user tries to close the editor (online and desktop).
Created a package for the KeyboardShortcutsAPI.
Added ctrl+z (undo) and ctrl+shift+z (redo) keyboard shortcuts on the embedded-editor. (online, desktop, chrome extension)

Demo
New isDirty indicator and new warning box for when an unsaved progress will be lost by closing the editor with the close button or with the logo button. (on Online and Desktop)
isDirty indicator - Online Editor

isDirty indicator - Desktop

Undo/Redo
Use the shortcuts ctrl+z and ctrl+shift+z to respectively perform the Undo or Redo commands (on Online, Desktop and Chrome Extension)

@porcelli ^

I'd appreciate it if this could wait for https://github.com/kiegroup/kogito-tooling/pull/142 to be merged.
The referenced PR moves most channels (not VSCode) to re-use a new generic embedded editor rather than duplicate a lot of the envelope/bus code in different channels. I just have a couple more tests to write.

@ljmotta Hi.. your PR can proceed.... however (not unexpectedly) there are some conflicts now the re-usable embedded editor changes have been merged (-desktop and -online now use the same core embedded editor so you will need to move some of your changes to embedded-editor but the code should look familiar, just in a different place). Also, whatever you change to embedded-editor will affect -desktop, -online and -chrome-extension so be warned!

@ljmotta  this needs a rebase!

@manstis Thank you for the heads up!

This PR isn't ready yet.

@Roberto FYI (related to our discussion)

Hi @ljmotta I did exploratory testing on Desktop Channel, see below
Desktop tests
isDirty - Works well - One issue I found:
in DMN when I added Documentation Link to the node, the file was not marked as edited and I was able to close the editor and lost the data I inputted. @jomarko Maybe it is because this property is not stored in the DMN file? Imho this is not severe, and we can report it as a bug.
stateControl - Works Well - One issue I found:
in DMN when I added Documentation Link to the node, I wasn't able to do redo - same as above
Common issue - when you edit properties and do UNDO, file stays in EDITED state, however when you edit canvas a do UNDO, the file is moved back and - EDITED is not shown in title. I think this should be consistent, so when I edit property and do UNDO, i no longer have edited state of the file.
Proceeding with online and chrome-extension testing...

Issue with annotations in DMN

Add annotation - name ends with ....notation-1
Do UNDO
DO REDO
name of the annotation is changed - ends with ....notation-2
If you continue doing undo/redo the name will always be an increment of previous one

Thanks for the review @domhanak !

Documentation Link
I confirmed here, and as I could see, the editor doesn't send a message to the channel when a Documentation Link is inserted/removed, so It's not possible to keep track of then with the StateControlAPI. This bug is Editor related (checked with the published version of the VS Code extension). Created a JIRA for this bug https://issues.redhat.com/browse/KOGITO-2555

File keep the Edited indicator after a undo operation
For now the KeybordShortcuts are being added only on the canvas. So if you edit a property and try to undo it without selecting the canvas, the text undo/redo will take action (not the StateControlAPI), and because of that, it will be a new edition. After selecting the canvas it'll be possible to undo/redo the editions on the properties. I will wait for https://github.com/kiegroup/kogito-tooling/pull/185 to be merge and then see what can be done.

Enter
This is another bug related to the Editor itself (checked with the published version of the VS Code extension). Created a JIRA for this bug https://issues.redhat.com/browse/KOGITO-2553

Private -> Public
This is another bug related to the Editor itself (checked with the published version of the VS Code extension). Seems that the editor doesn't handle the undo/redo command for the process type. Created a JIRA for this bug https://issues.redhat.com/browse/KOGITO-2554

Notation
This is another bug related to the Editor itself (checked with the published version of the VS Code extension). Probably the editor keeps count of how many notations was created, and aren't updated with the undo/redo command. Created a JIRA for this bug https://issues.redhat.com/browse/KOGITO-2557

@ljmotta Thanks for confirmation, I suspected it is editor related. :) I ll only need to check the chrome-extension now.

@domhanak  After resolving the conflicts with the https://github.com/kiegroup/kogito-tooling/pull/185 I tested again the 2) case. Appears that this is another bug related with the Editor. The same behavior occurs on the VS Code extension. I created a JIRA (https://issues.redhat.com/browse/KOGITO-2559) to keep track of this problem.
If any problem appears on the chrome-extension let me know :slightly_smiling_face:

@ljmotta Thanks for reporting. I tried chrome-extension, I didn't see anything broken, but when I try to edit the file on GitHub - (example):
https://github.com/kiegroup/kogito-examples/edit/stable/kogito-travel-agency/basic/src/main/resources/org/acme/travels/flightBooking.bpmn2
I can't use UNDO/REDO is that expected?
Use case would be:

Open file on GH in read-only mode
Click Edit (pen icon on the top-left)
Do a change, try doing UNDO or REDO
Nothing happens

@domhanak Seems like the chrome extension is using the released editor. I suppose that within the Undo/Redo functionalities none of the KeyboardShortcuts features was enabled as well?
To test this PR it's necessary to use yarn build:fast, it'll make the chrome extension use the local changes and not use the editor on GitHub.

@ljmotta well ok I ll try locally again, is there a way to fix the build so  that the artifact for chrome extension contains changes from the PR?
About the shortcuts, ENTER< DELETE worked as usual, only UNDO/REDO are not doing anything

@domhanak About create a chrome extension artifact with changes regarding the editors:
The editors weren't shipped with the chrome extension, so this wouldn't remove the necessity to run the local commands. With that in mind, I can't see the benefits to add this new artifact.


Add ShareData files member

https://wicg.github.io/web-share/#sharedata-dictionary has
dictionary ShareData {
  sequence<File> files;
  ...
};

lib/lib.dom.d.ts and src/lib/dom.generated.d.ts describe ShareData, but not the files member, which is now supported by Blink, Firefox and Safari.
I suspect the following needs to be added:
files?: File[];
CC @orta

Like the spec file needs an update over on https://github.com/microsoft/TypeScript-DOM-lib-generator/ - I'm moving this issue to that repo.


Create source field and warnings.

Is your feature request related to a problem? Please describe.
Poly does conversion to JSON and source files back beautifully. Source to other than JSON? Not so much. It's annoying to test and debug and users should really only be using JSON anyways.
Describe the solution you'd like
Sequence structs should contain a source field that labels what kind of src the file came from. If a user tries to convert from one to another just throw a warning.
Describe alternatives you've considered
Either let users discover this issue themselves and get flooded with github issues or create n2 number of regression and integration tests where n is every file format we can parse and write.

This will be deprecated entirely when #227 is merged around Go's 1.18 release. Closing.


PR: fix for arguments to be converted to string format

Description of Changes
Was add %s
logger.info("Dropping message because kernel is dead: %s", str(call_dict))

Some log arguments are not converted to string format
Causes the errors below:
Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\site-packages\spyder\plugins\ipythonconsole\widgets\client.py", line 767, in kernel_restarted_message
    self.poll_std_file_change()
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\site-packages\spyder\plugins\ipythonconsole\widgets\client.py", line 392, in poll_std_file_change
    self.shellwidget.call_kernel().flush_std()
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\site-packages\spyder_kernels\comms\commbase.py", line 554, in __call__
    return self._comms_wrapper._get_call_return_value(
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 194, in _get_call_return_value
    logger.info(
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 1446, in info
    self._log(INFO, msg, args, **kwargs)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 1589, in _log
    self.handle(record)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 1599, in handle
    self.callHandlers(record)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 1661, in callHandlers
    hdlr.handle(record)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 954, in handle
    self.emit(record)
  File "c:\users\dan-s\ciermag-system-develop\packages\pymr\pymr\core\log.py", line 101, in emit
    record_formatted = self.format(record)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 929, in format
    return fmt.format(record)
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 668, in format
    record.message = record.getMessage()
  File "C:\Users\dan-s\miniconda3\envs\ciermag-develop\lib\logging\__init__.py", line 373, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting

Hello @dan123456-eng! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/ipythonconsole/comms/kernelcomm.py:

Line 194:80: E501 line too long (90 > 79 characters)

Hey @dan123456-eng, thanks a lot for your contribution! I think it's ok and we could include it in our next version (5.3.0), to be released next month. But the problem is you did your changes against our master branch, which we use for Spyder 6, to be released in a year or so.
Could you open a new pull request but that derives from our 5.x branch? The process is explained in our Contributing guide:
https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md
Thanks!

Thank you @ccordoba12. I will open a new PR request following your recommendations.

Great! Thanks for understanding.
I'm going to close this one then.


zcat works differently on mac

Instead of:
$ zcat foo.txt.gz

it needs to be run as:
$ zcat < foo.txt.gz

CI is now all green on macOS after changing every *cat command to *cat < path/to/file. Merging into main and releasing a patch release.

Fixed in 1.0.3.


neil cicierega lemon demon

neil cicierega lemon demon

hello this is neil cicierega aka lemon demon

The reason why I haven't added Monster yet (and the character) is because I haven't implemented BPM changes correctly. Don't fret, I will keep your PR in mind.


Fix #2812: gufunc scalar output bug.

Closes #2812
Bug reason: incorrectly using all argument types as output types.
Actual fix is a one liner.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2813   +/-   ##
======================================
  Coverage    86.2%   86.2%
======================================
  Files         323     323
  Lines       66762   66762
  Branches     7455    7455
======================================
  Hits        57555   57555
  Misses       8015    8015
  Partials     1192    1192

Thanks for the fix up. This can be merged as soon as the build farm is free from LLVM6 builds!


Revert "feat(DatabaseSettingStore): only update keys that have changed"

Reverts anlutro/laravel-settings#116
Reports of no settings saving at all.

I found a solution that may work for fix this issue, see here:
https://github.com/anlutro/laravel-settings/pull/127
I am just not sure if old lists() method of Laravel works exactly as new pluck() , I can't find old docs of this method.


added hint referring to the password policy

Good day! I just wasted almost an hour with failing bulk creation figuring out what was wrong.
The error message was Request was unsuccessful. with no additional details provided. Turned out that my initial passwords in the CSV file were not complex enough (i.e. did not adhere to the password policy)
I hope this hint will help others to save some time.

@synthomat : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


colorPresentation LSP request doesn't handle line numbers properly

Issue Type: Bug
If you use color picker multiple times without closing it, the range parameter for textDocument/colorPresentation doesn't have the line number updated, which breaks your code if the color thingie is more than a single line long. Problem isn't only with the CSS files.
How to reproduce:

open CSS file
write this:

h1 {
  color: rgb(0,
  0,255);
}
thisIsSomeCodeThatIDontWantDestroyed {
}

hover over rgb
change color three times (without leaving the picker)

Result:
h1 {
  color: rgb(68, 68, 184)ntDestroyed {
}

Expected result:
h1 {
  color: rgb(68, 68, 184);
}
thisIsSomeCodeThatIDontWantDestroyed {
}

VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:22.738Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (3.63GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

gitlens
eam
9.8.1

vscode-back-forward-button
gri
0.1.2

errorlens
Phi
1.1.3

rust
rus
0.6.1

sourcekit-lsp
unp
0.0.1

vscode-lldb
vad
1.2.3

(2 theme extensions excluded)

@rebornix The problem is that the color picker reuses the same color range after applying the new color. It has to make a new request to the documentColor provider to get a the new range. Resusing the range works if the range has the same length and no new lines.


Android’s AAPT tool added for Crunching PNG

Description
Fixes #491 Smaller PNGs, and Android’s AAPT tool added
Related issues and discussion
#491
Screen-shots, if any
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[x] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[x] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .

@teolemon Please review this PR #1136

@policorn i have made changes now ,have a look at this PR #1136

Thanks @iml-v! Merged


fix: return 404 error if no aggregated attestation is available

Motivation
This API has caused a lot of confusing (https://github.com/ChainSafe/lodestar/issues/6631, https://github.com/ChainSafe/lodestar/issues/5553, https://github.com/ChainSafe/lodestar/issues/6419) due to how we currently handle the case if no aggregated attestation can be served to the client.

we throw an internal server error (500) which will be logged as error with a verbose stack trace
the log message talks about attestation but the issue is about not being able to serve the aggregated attestation

This error is somewhat expected if a validator client is connected to multiple beacon nodes as it might happen that the attestation for slot was not produced by the beacon node while the validator client could be requesting it later on due to the other (primary) beacon node being unhealthy.
This behavior has also recently been clarified in the spec, see https://github.com/ethereum/beacon-APIs/pull/380.

A 404 error must be returned if no attestation is available for the requested attestation_data_root.

Description
Return 404 error if aggregated attestation is not available for slot / data root

:tada: This PR is included in v1.18.0 :tada:


WinRMWebService class removed in earlier commit?

The WinRM::WinRMWebService class (lib/winrm/winrm_service.rb) was removed in this commit: https://github.com/WinRb/WinRM/commit/e616353aef531ff8a2cee976f7068685a084a22a
This was being used by the ServerSpec library for Windows, https://github.com/mizzy/serverspec/blob/master/WINDOWS_SUPPORT.md. It uses WinRM as in the following:
winrm = ::WinRM::WinRMWebService.new(endpoint, :ssl, :user => user, :pass => pass, :basic_auth_only => true)

Has this class been replaced? I see in the README that the example is:
opts = {
  endpoint: 'http://myhost:5985/wsman',
  user: 'administrator',
  password: 'Pass@word1'
}
conn = WinRM::Connection.new(opts)

@NickMRamirez You're correct, in WinRM gem version 2.0 the WinRM::WinRMWebService class was removed and has been superseded by the WinRM::Connection class. You can either constrain the WinRM gem to < 2.0 for your needs or make the necessary change to support WinRM gem v2.


Google Authorization using Firebase

I would like to request the addition of Google Authorization using Firebase in our project. This feature would allow users to authenticate using their Google accounts, streamlining the sign-in process and enhancing user experience. Firebase provides a robust authentication solution that can simplify the integration of Google Sign-In, making it easier for users to access the application without having to create a new account or remember another password.

@tushargupta1504 could you please assign this issue to me under gssoc-ext and hacktoberfest


Detect the timeline when a change in a background occurs

After several trials with Pyscene, I was not able to develop the ContentDetector to print only the timeline when there is a change in the background only. It detects the timeline when there is a shot change which outputs undesired results. I am wondering if there is a way to detect the timeline when a change in the background only occurs?

Do you happen to have an example that you could share?  This might be a good use case for background subtraction, which DVR-Scan does, and PySceneDetect v1.0 will be capable of.

I was trying to implement a combination between (ContentDetector + ThresholdDetector) that is similar to the Premiere Adobe Pro strategy in video processing but it was really tough.
After a lot of trials, Pyscene usually gives very close answers to Premiere Adobe Pro, for one movie approximately1500 scenes.
But, if I want to label only with those with the background change only in an original IMDB script (300 scenes) it gonna take a lot of time and iterations and it may not 100% match, how can we deploy Pyscene to detect only those 300 scenes?
I will check DVR-Scan.


SEARCH error : click on page 2 and then type few digits or text in Search box

https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Pagination&selectedStory=Custom Pagination with Search&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel
error: ["Uncaught TypeError: Cannot read property 'id' of undefined", "https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/static/preview.7a078d9cb0b542267fb2.bundle.js", 1, 463612, TypeError]
error: [TypeError]

issue with "Custom Pagination with Search"

this is happening when all my columns are formatted columns. I have
when i change above to below no error but search does not fetch any data
<ToolkitProvider search={ {
searchFormatted: true
} }
/>

still error in latest version


Stripe React Native: handle subscriptions

I'm stuck on this issue:
When I try to submit this subscription, I got an error of "subscription_payment_intent_requires_action", should I handle it on client-side or there is another way to do it?
For information: I already created setupIntent (verify 3D Secure) and return payment_method
Steps:
1 - create setupIntent
2 - generate payment_method ( verify 3D Secure)
3 - create Customer and attach payment_method to it
4 - create Subscription (on back_end) => error: "subscription_payment_intent_requires_action" shows up!
Thank you all!
// Create Subscription With Payment Method + Customer ID
router.post('/createSubscription', function (req, res){
const {payment_method, customerId} = req.body;
var stripe = require("stripe")(stripe_sk);
try{
stripe.subscriptions
.create({
customer: customerId,
items: [{
plan: 'plan_HTGCI8ljPYFTHQ'
}],
default_payment_method: payment_method,
expand: ["latest_invoice.payment_intent"],
// enable_incomplete_payments: true
}).then(subscription => {
res.send({
subscription : subscription
})
}).catch(err => {
res.send({
err
})
})
} catch (error) {
res.send("Error : ", error);
}
});

Potentially related to old API version: https://stripe.com/docs/upgrades#2019-03-14
Please only file issues here that you believe represent actual bugs or feature requests for the Stripe Payments Demo.
If you're having general trouble with your Stripe integration, please reach out to support using the form at https://support.stripe.com/ (preferred) or via email to<EMAIL_ADDRESS>If you have quick code questions I recommend checking out #stripe on Freenode (IRC). A lot of Stripe users and developers hang out there, we're happy to help and answer questions! If you need a client, you can try https://webchat.freenode.net/

Thank you for help is there any particular channel to chat to you


New properties for de Node

I have created the following properties so that they can be modified from the editor:
[X Axis export_group]
Show X Ticks: bool
Show X Numbers: bool
Show Horizontal Line: bool
[Y Axis export_group]
Show Y Ticks: bool
Show Y Numbers: bool
Show Vertical Line: bool
[Background export_group]
Grid Horizontal Color: Color
Grid Vertical Color: Color

This proposal is interesting. I merge it to the main branch. Thanks again for your contribution


Does not work on MAC having php 7.0.21

I am using Mac having php version 7.0.21 and wp 5.4.1 . But i never success to run theme sniffer.
it does not give any report. Why is that.

You'll need to add some more details. Is there any debug log or console screenshot so that we can see why it's not working?

Here is the screens shot. It is same in the server also having php 7.3.16 . No output.

On May 29, 2020, at 2:01 PM, Denis Žoljom<EMAIL_ADDRESS>wrote:
You'll need to add some more details. Is there any debug log or console screenshot so that we can see why it's not working?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-635839695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6XYXVEA5SZKHC4MY3W3RT5VONANCNFSM4NNWF3RQ.

You didn't attach any screenshot 🙈

Yes it is there , I am still doing

On May 29, 2020, at 2:55 PM, Denis Žoljom<EMAIL_ADDRESS>wrote:
You didn't attach any screenshot 🙈
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-635864634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6X3ZQ7PMLNNBBKHQ4MLRT53WRANCNFSM4NNWF3RQ.

You are answering from email. You cannot attach images on GH issues from email...

Here are the log I got from Mac
https://prnt.sc/sq3o2k https://prnt.sc/sq3o2k
Above is the screenshot

On May 29, 2020, at 4:15 PM, Denis Žoljom<EMAIL_ADDRESS>wrote:
https://user-images.githubusercontent.com/8638515/83250260-237a0b80-a1a8-11ea-9098-f2a0c71a48ba.png
You are answering from email. You cannot attach images on GH issues from email...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-635900058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6X2UMVXBWMZWEOK4GZDRT6FFLANCNFSM4NNWF3RQ.

Do you have errors when debug mode is enabled? Are there any errors in the browser dev console? It could be that it got to the minified JS file (looks like this is the older version that checks the JS) and it ran out of memory (sniffer cannot process minified files).

Debug mode is enable but there is no error.
But in console there are 4 error those are followings.
1 Failed to load resource: the server responded with a status of 400 (Bad Request) /zerodata/wp-admin/admin-ajax.php:
2 Failed to load resource: the server responded with a status of 500 (Internal Server Error) themeSniffer-f7cbb09e8557a5ea63b2.js?ver=5.4.1:8

Uncaught Error: Error: Internal Server Error: [object Object] error
at Object. (themeSniffer-f7cbb09e8557a5ea63b2.js?ver=5.4.1:8)
at Object. (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:2)
at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:2)
at Object.fireWith [as rejectWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:2)
at x (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:4)
at XMLHttpRequest.c (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4.1:4)

Wp-config.php is as follows
define('WP_DEBUG', true);
define('FS_METHOD','direct');
define('IMPORT_DEBUG', true);
define('WP_MEMORY_LIMIT','556M');
define('MAX_EXECUTION_TIME','700');
define('POST_MAX_SIZE','912M');
define('UPLOAD_MAX_FILESIZE','556M');
define('MAX_INPUT_TIME','600');
Pls advice again.
rg
Postmagthemes

On May 30, 2020, at 7:13 PM, Denis Žoljom<EMAIL_ADDRESS>wrote:
Do you have errors when debug mode is enabled? Are there any errors in the browser dev console? It could be that it got to the minified JS file (looks like this is the older version that checks the JS) and it ran out of memory (sniffer cannot process minified files).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-636330982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6XYNOR2DFDJKA4X7H7LRUECWXANCNFSM4NNWF3RQ.

Try running it, but check the sniff only PHP files and it should work. Otherwise try using the latest release: https://github.com/WPTRT/theme-sniffer/releases/download/1.1.2/theme-sniffer.zip

Now I used new version 1.1.2.
There is no option to select only php files. But it was there in oder version but same result. No success . I tried in server as well same result.
I think if this below console error is sort out then it may works
Uncaught Error: Error: : [object Object] error
at Object. (themeSniffer-f7cbb09e8557a5ea63b2.js?ver=5.2.6:8)
at Object. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at x (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:4)
at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:4)
Thanks
rg
Postmagthemes

On May 31, 2020, at 12:20 PM, Denis Žoljom<EMAIL_ADDRESS>wrote:
Try running it, but check the sniff only PHP files and it should work. Otherwise try using the latest release: https://github.com/WPTRT/theme-sniffer/releases/download/1.1.2/theme-sniffer.zip https://github.com/WPTRT/theme-sniffer/releases/download/1.1.2/theme-sniffer.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-636430023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6X5IKDPO7M57G455GA3RUH3E5ANCNFSM4NNWF3RQ.

In version 1.1.0, there is option for only PHP files. I used that then in this condition it works but no single error and  single warning. It means it still does not work.

On May 31, 2020, at 12:32 PM, simon shrestha<EMAIL_ADDRESS>wrote:
Now I used new version 1.1.2.
There is no option to select only php files. But it was there in oder version but same result. No success . I tried in server as well same result.
I think if this below console error is sort out then it may works
Uncaught Error: Error: : [object Object] error
at Object. (themeSniffer-f7cbb09e8557a5ea63b2.js?ver=5.2.6:8)
at Object. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:2)
at x (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:4)
at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.2.6:4)
Thanks
rg
Postmagthemes

On May 31, 2020, at 12:20 PM, Denis Žoljom<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Try running it, but check the sniff only PHP files and it should work. Otherwise try using the latest release: https://github.com/WPTRT/theme-sniffer/releases/download/1.1.2/theme-sniffer.zip https://github.com/WPTRT/theme-sniffer/releases/download/1.1.2/theme-sniffer.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WPTRT/theme-sniffer/issues/201#issuecomment-636430023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFE6X5IKDPO7M57G455GA3RUH3E5ANCNFSM4NNWF3RQ.

To me, it looks like out of memory issue that happens when you have some huge file that phpcs will try to tokenize and fail.
There was a case where there was a theme that had tests inside with WooCommerce mocks that had over 30k lines of code. This chocked the phpcs and caused it to fail. So my guess is that you must have some kind of file that is just too big for phpcs to tokenize properly, which causes PHP out of memory issues.
Do you have a repo that I could check to see what is happening?


Not Marked as ThreadSafe

Hello,
is it possible to make the plugin threadsafe?
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that have goals not marked   *
[WARNING] * as @threadSafe to support parallel building.                  *
[WARNING] * While this /may/ work fine, please look for plugin updates    *
[WARNING] * and/or request plugins be made thread-safe.                   *
[WARNING] * If reporting an issue, report it against the plugin in        *
[WARNING] * question, not against maven-core                              *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in gws-report-batch:
[WARNING] de.chkal.maven:gitlab-code-quality-plugin:1.0.1
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************

Thank you and best regards
Marc

@fsmherrm Sure, I think this would be possible. Are you interested in providing a pull request?

Nevermind, I already figgured out how to fix this:

The issue is fixed in version 1.0.2, which just got released. It should show up in Maven Central in a few hours.