CoreCLR: Reborn

Reimplementation of original PR (#218) using current alpha-development (0.5.5 RC) as a base, description below copied from there, may need cleaning up.
This PR represents mine and Rin's painful attempts to replace the mono domain with a modern dotnet runtime when running on an IL2CPP game.
It's mostly backwards-compatible - of a random sample of 51 mods for VRChat I've tested, 49 seem to function as intended, with one not working due to poor code, and one not working due to some confusion around cctors.
Muse dash custom album mod works, but fails to load charts from zipped files - they have to be unzipped. This is due to the fact that it bundles a netframework-targeting build of Ionic.Zip, which attempts to load the IBM437 encoding, which isn't supported on modern .NET. A simple recompilation of the mod, targeting net6, should fix this.
The Long Dark mods are loading and working fine in my tests.
A lot of BTD6 mods are not working due to exceptions in the mod helper's harmony patches, but that mod uses old-style csproj files and can't be compiled against this branch and I'm not willing to spend the time required to fix compilation and then diagnose the issue. However mods that don't use the helper seem to work (as much as can be expected). Mod helper seems to have been updated and works now.
So far from this limited sample set, compatibility seems to be > 96% of all mods.
However, due to the removal of the mono reference remapper, very old mods, such as those which require MelonLoader.ModHandler.dll, which was removed in 0.3.0, will no longer work, but the likelyhood of most of them working regardless, considering how much your average game's codebase changes in 15 months, is slim. I've implemented specifically ModHandler backwards-compat.
There is also a somewhat-limited mechanism in a class called NativeStackWalk to attempt to obtain a native stack trace, which would theoretically allow modders to work out where their harmony patches are being called from if combined with a PDB (e.g. generated by unhollower)
Minor things left to do

[x] Move ML welcome message to managed
[x] Add a PrintEnvironment method to MelonEnvironment, replacing the game path printing in the unmanaged log
[x] (Potentially?) move analytics blocker to unmanaged
[x] Hook AssemblyVerifier up to AssemblyLoadContext
[x] Rename bootstrap's log to Latest_Bootstrap.log
[x] Rename managed log to Latest.log
[x] Potentially move hash code calc to managed
[x] Switch managed log to ANSI color code-style system, allowing full use of 32-bit colour in log files.
[ ] Clean up remaining internal calls used on mono to make sure mono still works
[ ] Consider redistributing the runtime if users don't have it installed (legally should be ok, tModLoader does it)
[ ] Test x86 il2cpp games.
[ ] Investigate potential user experience improvements when no .net runtime installed, when incorrect version/arch, when corrupt, etc.
[ ] Consider moving to Il2CppInterop
[ ] Stretch goal/unlikely: Investigate loading each melon into its own load context, and pulling dependent assemblies across the boundary between them, thus making them shared, and allowing unloading of entire contexts and thus melons.

Implementation Notes

The assembly generator is currently using a build from my forked branch of Il2CppAssemblyUnhollower, which contains changes required to get the assemblies to load in the new runtime (which is must stricter than mono).
The new bootstrap DotnetRuntime manager creates and spins up a coreclr 6.0 runtime, grabs a reference to the new MelonLoader.NativeHost assembly, and calls an entry point in there. This assembly has to be separate because the method has to be marked as [UnmanagedCallersOnly], which was added in .NET 5.0
Compiling currently requires you to have specifically .NET 6.0.9 SDK (SDK 6.0.304) installed to the default location, as it will look for that path for the header and lib files.
Launching ML also currently requires an installed .NET 6.0.9 runtime.
The change of runtime allows mods for IL2CPP games, and parts of ML itself, to target net6, and get all the performance optimizations made by the .NET foundation in the last 6 years.
Debugging works out of the box, and I've added a new command-line argument, --melonloader.launchdebugger, which calls Debugger.Launch() very early in the load process, allowing Visual Studio to attach to the process.

Breakpoints seem to work entirely as expected.
Hot reload needs more investigation - the button appears but didn't function the one time I tried it.
Other debuggers such as the one built in to JetBrains Rider didn't seem to work when I tried them - investigating why would be nice.

A non-trivial number of mods (about 5 of my sample size of 51, for VRChat, and the CustomAlbums mod for Muse Dash) call MelonUtils.NativeHookAttach with the detour being a pointer to a managed method. This worked (for god knows what reason) under mono but crashes the entire runtime when the method is called under CoreCLR.

A system is implemented to attempt to wrap these bad hooks in a [UnmanagedFunctionPointer]-annotated delegate type, and call Marshal.GetFunctionPointerForDelegate (which is what these mods should be doing) before attaching the hook, as well as logging a warning (or error and skip the hook attach, if the hook can't be wrapped) but having it enabled slows down the hook process considerably (to about 500ms per hook on my PC, which is no slouch) as each call must have its method pointer evaluated to see if it can be mapped to a managed method, which requires taking a snapshot of the runtime status.
I'm debating DISABLING this wrapping functionality by default, and requiring communities which refuse to fix their mods to tell their users to specify a new launch option (e.g. --melonloader.hookfix) to enable it, at the cost of (startup) performance.

Updating the runtime to future .NET versions (e.g. 7.0) should be trivial, and it may even be automatic as long as the user has a newer one installed.

Other Considerations

Some general code cleanup of both managed and unmanaged sides would probably not go amiss - moving things to c# where possible, splitting out il2cpp-specific code into a separate (non-net3.5) assembly, etc.
I've been investigating a way to obtain a full stacktrace, including native frames, where desired (e.g. find what's calling a harmony patch) but this seems to be very difficult to do. Kind of implemented, see note above about NativeStackWalk

Just rebased on latest alpha-development


Mouse Pointer Updates

Overview

Added notification when mouse device manager is started about how to regain mouse control.
Cached the ray in BasePointer

Changes

Fixes: #2832
FIxes: #2756

Conflicts @StephenHodgson , do you want to resolve so this can get approved again and merged?

Bump @SimonDarksideJ


iOS Archive to Distribute Fails - exit code 1 - not armv7 arm64. Running lipo -info

Steps to Reproduce
I am ready to submit my iOS app to iTunes Connect but not able to Archive to send to Apple.

Run flutter build ios --release
Open Runner.xcworkspace in Xcode v 9.3
Make sure Bundle Identifier is the correct App ID in Apple Developer Portal
Product->Archive Menu Option
Receive Warnings about Swift 3 @object and Error exit code 1 (see below)

Error
Non-fat binary /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is not armv7 arm64. Running lipo -info:
Non-fat file: /Users/marco/Library/Developer/Xcode/DerivedData/Runner-asytzrlvctklzifuuprykzalkakh/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Runner.app/Frameworks/App.framework/App is architecture: arm64
Command /bin/sh failed with exit code 1

Warnings
ld: warning: ignoring file /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App, file was built for arm64 which is not the architecture being linked (armv7): /Volumes/Data/Flutter/fatima_prayers/ios/Flutter/App.framework/App

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.

The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.

Logs
iMac:fatima_prayers marco$ flutter analyze
Analyzing /Volumes/Data/Flutter/fatima_prayers...
No issues found!
Ran in 5.2s

Flutter Doctor
iMac:fatima_prayers marco$ flutter doctor -v
[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.4 17E202, locale en-US)
    • Flutter version 0.3.1 at /Users/marco/Development/flutter
    • Framework revision 12bbaba9ae (6 days ago), 2018-04-19 23:36:15 -0700
    • Engine revision 09d05a3891
    • Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/marco/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 23.2.2
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.22.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.11.2

[✓] Connected devices (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 8.1.0 (API 27) (emulator)
    • iPhone X                  • ABCDEdddd.... • ios         • iOS 11.3 (simulator)

• No issues found!

Any Ideas?

ps:  in iOS 11 (and soon above) 32-bit armv7 is no longer supported.

How did you solve this? I opened it in build-settings in xcode & changed the architectures to standard architectures (the only option in there). Still getting the same error.

Never mind. This is a duplicate of #2089 . I see that armv7 support is coming soon. 🤘


Continue analysis from where we left

Need a mechanism to save the GPA module analysis, reload and continue from where it is left. While analysis is fast for demo sets, it takes a while for larger samples sizes, and customization (labels, etc) are lost.

Since a results file is written out for each run, the module can restore its state from the contents of the folder. Added functions to recover the analysis from the output results file in commit 36fa27ce1913b4a7e032fcc6b9d19c6b61af675e.


Feature Request: Toggling managed worker in local launch

Description
During development, to test/profile a managed worker, we sometimes need to manually run the worker outside of SpatialOS runtime. To stop a managed worker from being auto startup, we have to remove the worker completely from SpatialOS config file and regenerate code (What makes it worse: .json does not support commenting!)
It'd very handy to have a easy way to temporally toggle off a managed worker.

Hey @No3371, sorry for the delayed response.
From what you've described it seems as if the manual_worker_connection_only option in the load balancing config does what you are looking for?
If this flag is set to true, it will signal the runtime not to start the workers itself and instead wait for you to start and connect them.
You can find an example in https://github.com/spatialos/gdk-for-unity/blob/master/default_launch.json#L37
Toggling this shouldn't require you to regenerate code, but only restart the deployment.

OK, thanks for the info!
I've made a lot of issues 🤦 So I'm gonna just ask another question here: Is it possible to replace a managed worker with one running inside Unity Editor?

Is it possible to replace a managed worker with one running inside Unity Editor?

You can use the spatial CLI to 'replace' a worker running in the cloud - https://documentation.improbable.io/spatialos-tools/docs/cli-reference#section-spatial-project-deployment-worker-replace 😄

Thanks! I thought that command is starting a new process, didn't notice it's swapping 2 connected workers.


py_examples error

Hi Everyone
I am getting error like below , could you please help me? Camera light is on and I installed OPENCV that was explained in 'http://milq.github.io/install-opencv-ubuntu-debian/' with OPTION 2. All examples work fine but I am still getting error like below. (ValueError: cannot reshape array of size 16922 into shape (7,7,2,4) this line looks like in trouble but I dont know how I can solve.)
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>25824
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>21728
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>17632
[DEBUG/MainProcess] Queue._after_fork()
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>13536
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>09440
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>05344
[DEBUG/MainProcess] Queue._after_fork()
Found stale device, resetting
Device 0 Address: 1.3.3 - VID/PID 03e7:2150
Starting wait for connect with 2000ms timeout
Found Address: 1.3.3 - VID/PID 03e7:2150
Found EP 0x81 : max packet size is 512 bytes
Found EP 0x01 : max packet size is 512 bytes
Found and opened device
Performing bulk write of 865724 bytes...
Successfully sent 865724 bytes of data in 214.364144 ms (3.851478 MB/s)
Boot successful, device address 1.3.3
Found Address: 1.3.3 - VID/PID 03e7:f63b
done
Booted 1.3.3 -> VSC
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>01248
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>97152
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>93056
[DEBUG/MainProcess] created semlock with handle<PHONE_NUMBER>88960
[DEBUG/MainProcess] added worker
[DEBUG/ForkPoolWorker-1] Queue._after_fork()
[DEBUG/ForkPoolWorker-1] Queue._after_fork()
[INFO/ForkPoolWorker-1] child process calling self.run()
[DEBUG/MainProcess] added worker
[DEBUG/ForkPoolWorker-2] Queue._after_fork()
[DEBUG/ForkPoolWorker-2] Queue._after_fork()
[INFO/ForkPoolWorker-2] child process calling self.run()
[DEBUG/MainProcess] Queue._start_thread()
[DEBUG/MainProcess] doing self._thread.start()
[DEBUG/MainProcess] starting thread to feed data to pipe
[DEBUG/MainProcess] ... done self._thread.start()
/usr/local/lib/python3.5/dist-packages/skimage/transform/_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
warn("The default mode, 'constant', will be changed to 'reflect' in "
[INFO/ForkPoolWorker-1] process shutting down
[DEBUG/ForkPoolWorker-1] running all "atexit" finalizers with priority >= 0
[DEBUG/ForkPoolWorker-1] running the remaining "atexit" finalizers
Process ForkPoolWorker-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.5/multiprocessing/pool.py", line 103, in worker
initializer(*initargs)
File "py_examples/object_detection_app.py", line 115, in worker
results = interpret_output(out.astype(np.float32), frame.shape[1], frame.shape[0])
File "py_examples/object_detection_app.py", line 55, in interpret_output
boxes = (np.reshape(output[1078:],(7,7,2,4)))
File "/usr/local/lib/python3.5/dist-packages/numpy/core/fromnumeric.py", line 232, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "/usr/local/lib/python3.5/dist-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 16922 into shape (7,7,2,4)
[INFO/ForkPoolWorker-1] process exiting with exitcode 1
[DEBUG/MainProcess] cleaning up worker 0
[Level 5/MainProcess] finalizer calling  with args (19,) and kwargs {}
[DEBUG/MainProcess] added worker
[DEBUG/ForkPoolWorker-3] Queue._after_fork()
[DEBUG/ForkPoolWorker-3] Queue._after_fork()
[INFO/ForkPoolWorker-3] child process calling self.run()

Hello burakipekk,
I'm having the same problem, could you solve it? Or do you have any idea of how to?
Thanks in advance!
Best regards.


Caffe over OpenCL with clBLAS / CLBlast / ViennaCL

Hi,
It seems that there are 3 ways to use Caffe over OpenCL:
(1) clBLAS
(2) CLBlast
(3) ViennaCL
Is this correct? If yes, how can I be sure which one I was using when compiling and running the benchmarks? For example, is the configuration logged in the log file, or displayed in the ck environment?

@kindloaf
First, you need to find out which Caffe variant you installed. For example, on my machine I have only one variant built for android21-arm64:
$ ck show env --tags=lib,caffe
Env UID:         Target OS:      Bits: Name:                                 Version:      Tags:

cc5a35adbf43b8a5        linux-64    64 BVLC Caffe framework (opencl,clblast) trunk-8a80a89 64bits,bvlc,caffe,host-os-linux-64,lib,target-os-linux-64,v0,v0.0,vclblast,vopencl
17a825aef037ab15        linux-64    64 BVLC Caffe framework (cudnn)          trunk-8007349 64bits,bvlc,caffe,host-os-linux-64,lib,target-os-linux-64,v0,v0.8007349,vcuda,vcudnn,vmaster
4151d44fa8a64479        linux-64    64 BVLC Caffe framework (cpu)            trunk-8007349 64bits,bvlc,caffe,host-os-linux-64,lib,target-os-linux-64,v0,v0.8007349,vcpu,vmaster
d013a448284fc10f android21-arm64    64 BVLC Caffe framework (opencl,clblast) trunk-dc07695 64bits,bvlc,caffe,host-os-linux-64,lib,target-os-android21-arm64,v0,v0.0,vclblast,vopencl

In fact, the line for d013a448284fc10f already suggests that this variant was built with CLBlast (BVLC Caffe framework (opencl,clblast)) but you can verify this by looking up in its environment entry:
ck load env:d013a448284fc10f | grep CAFFE_INSTALL_DIR
      "CAFFE_INSTALL_DIR": "/home/anton/CK_TOOLS/lib-caffe-bvlc-opencl-clblast-trunk-android-ndk-4.9.x-android21-arm64/install",

Moreover, you could have had several CLBlast versions (e.g. built from the development branch or a stable version e.g. 0.10.0). To find out which one exactly was used, look up the ck-install.sh file in the installation directory (e.g. home/anton/CK_TOOLS/lib-caffe-bvlc-opencl-clblast-trunk-android-ndk-4.9.x-android21-arm64 above).

It seems that there are 3 ways to use Caffe over OpenCL

Actually, more since you can also use libDNN (although I haven't tested this for a while)! For example, you can install the lib-caffe-bvlc-opencl-libdnn-clblast-universal package which uses libDNN for convolutional layers and CLBlast for fully-connected layers:
$ ck install package:lib-caffe-bvlc-opencl-libdnn-clblast-universal

Thanks for the help.

BTW, also feel free to ask questions at the CK mailing list:

https://groups.google.com/forum/#!forum/collective-knowledge
We have more users there who may help or will be interested to know such things too ;) ...


Add more retries in case of download failure

In some rare cases 3 retries isn't enough but 6 is. This should really be made configurable but creating this pr as a quick fix in case nobody else feels like creating a better one.

Those tests look somewhat unrelated since the failing tests don't even import the code that was changed. But looks like the failures are consistent and main hasn't failed with the same, though last test run for main was a long time ago so could be something has broken since.

I'll revert the change to rohmu, it was creating some issues in some dev environments as well.

Added a constant for max retries to get rid of the magic numbers spread around the code.

@rikonen I encountered a similar issue in this escalation, but I also had to increase the allowed stalled time to get it to complete.


Incompatibility with Auth0 accounts connection

Hello there!
I'm developing a Deep Link using Branch IO, and in the application I also perform authentication using Auth0, and this includes the connection with the user's LinkedIn account.
There was no problem during the development of the DeepLink for the Android app.
Unfortunately, I'm having some issues in the iOS app. If I try to use the initSession method, the requests to connect with the user's LinkedIn account fails.
When I try to connect with LinkedIn account, the webview is suddenly finished and this is only console output I receive :
params @: ["+clicked_branch_link": 0, "+is_first_session": 0]
This is the AppDelegate's code related to BranchIO and Auth0:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        ...
        getBranchIOInfo(launchOptions: options)
        ...
        return true
    }

func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey: Any] = [:]) -> Bool {
        if url.absoluteString.starts(with: "myapplink") {
            DeepLinkHelper.shared.currentDeepLink = DeepLink()

            guard let rootViewController = window?.rootViewController, let loading = UIStoryboard(name: "Main", bundle: nil).instantiateInitialViewController() else { return false }

            if let snapshot = loading.view.snapshotView(afterScreenUpdates: true) {
                rootViewController.view.addSubview(snapshot)
                snapshot.layer.opacity = 0
                UIView.animate(withDuration: 0.3, animations: {
                    snapshot.layer.opacity = 1
                }, completion: { _ in
                    snapshot.removeFromSuperview()
                    self.window?.rootViewController = loading
                    self.window?.makeKeyAndVisible()
                })
            }

            return true
        } else {
            return Auth0.resumeAuth(url, options: options)
        }

    }

func getBranchIOInfo(launchOptions: [AnyHashable: Any]?) {
        // TODO: Remove configuration to use Test Key before releasing to Production
        Branch.setUseTestBranchKey(true)
        let branch: Branch = Branch.getInstance()
        branch.initSession(launchOptions: launchOptions, andRegisterDeepLinkHandler: {params, error in
            if error == nil {
                guard let data = params as? [String: AnyObject], let deepLinkInfo = DeepLink(JSON: data) else { return }

                print("params @: \(data)")

                if deepLinkInfo.linkType != .unknown {
                    DeepLinkHelper.shared.currentDeepLink = deepLinkInfo
                }
                DeepLinkHelper.shared.processDeepLink {
                    self.setupRootModule()
                    self.presentInitialScreen()
                }
            }
            branch.resetUserSession()
        })

    }

I already tried the other options from the documentation, and the closer option was the getLatestReferringParams,  but, as documentation says, it gets the previous session info...
I also tried the getLatestReferringParamsSynchronous but it never returned...
Can you please help me with this out?
Thanks!

Check that data["+clicked_branch_link"] is true to make sure that it's a Branch link before handling it, else pass the link to the login auth handler.
Also, look at the Branch iOS SDK GitHub which has iOS specific answers, examples and is a better to ask questions.
https://github.com/BranchMetrics/ios-branch-deep-linking
Here's a rough example:
func getBranchIOInfo(launchOptions: [AnyHashable: Any]?) {
    // TODO: Remove configuration to use Test Key before releasing to Production
    Branch.setUseTestBranchKey(true)
    let branch: Branch = Branch.getInstance()
    branch.initSession(launchOptions: launchOptions, andRegisterDeepLinkHandler: {params, error in
        if error !=  nil {
            print("Deep link error: \(error)")
            return
        }
        print("params @: \(data)")
        if let data = params as? [String: AnyObject],
           let deepLinkInfo = DeepLink(JSON: data),
           let bool: isBranchLink = data["+clicked_branch_link"] {
           if isBranchLink {
              // It's a Branch link! Handle it:
              DoBranchDeepLinkStuff(deepLinkInfo)
           } else {
              // Do the rest of auth or whatever here:
           }
        }
    })
}

Thanks for the quick answer!
I only can test it again in Monday, but I believe that your example will help a lot!
Sorry for posting it in the android repo, got confused working in both platforms and didn't notice that was posting in the wrong repo.
Thanks again!

Hey @E-B-Smith
Got it to work!
I added the isBranchLink check that you suggested.
Couldn't perform the Auth0 logics on the Branch callback because I need the URL, but it is working as expected in the application with URL delegate.
Thank you very much!


Updated and Simplified Steps for Installation🤓

Updated Readme.md for better installation
Simplified a lot of steps
Added some extra resources for when stuck during installation

Have a great day!

also you should probably update the EFI with newer versions of kexts, the older one's don't seem to work in late 2023.

Since the pull request hasn't been updated for ~3 months, i will close this pull request. Please ask me if you want me to reopen the pull request so you can do the changes.

yo @RaphProductions  i forgot about this pr i made sry, i made the requested changes in my main can you reopen if possible.


Timeouts and HTTP errors when trying to open profile

Hi,
I have been unable to open my profile https://sourcerer.io/obahareth
For a couple of days now. I either get timeouts or 502 bad gateway errors.

I have the same problem (

The similar for https://sourcerer.io/asterite

Or a blank (white) page.
net::ERR_SPDY_PROTOCOL_ERROR

It now works for me but takes quite a while to open.

Yep, /asterite is working now after many seconds:

folks, we are working on optimizing this. yes, for some profiles loading times are bad at the moment.


Is this project active?

Hi all.
I want to help, but I want to know if this project is active. Is this project active?

I'm one of the maintainers and, even though my time for this project is limited, I should be able to handle some pull requests and conversations.
If you come up with PRs, try to make those small and without including unrelated changes like refactorings or lint fixes (create separate PRs for those if needed).
Also feel free to discuss your intended changes beforehand to avoid extra work on both sides.


Update README.md

clarifying information

Ha, You remind me.  Could please tell more more about this change? I do not get it.
If possible, I will redesign this library, probably several months later. And the purpose of the library is to make the implementation of my school assignments easier.

Ok. In Poland we have popular website Allegro.pl (similar to eBay and Amazon). It has REST API.
I added clarification so people will know that despite name this is not for this website

Obviously，haha, it is not for Allegro.pl. Thank you for your notification.
Sorry about that. I will think about the pr because it probably confused
you.
qqgg231<EMAIL_ADDRESS>于 2018年10月31日周三 19:34写道：

Ok. In Poland we have popular website Allegro.pl (similar to eBay and
Amazon). It has REST API.
I added clarification so people will know that despite name this is not
for this website
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Alecyrus/Allegro/pull/3#issuecomment-434653864, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANOSbeL0ZcQEoqgXCI0O7F9J3JYNxIdTks5uqYqzgaJpZM4X_CKX
.


Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745

Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745

Coverage decreased (-0.02%) to 98.549% when pulling 4c1a949fd3fdaccd9ed4510f228566d34757b882 on string-array-wrapper-default-parameter into 47263a4c1c3d2d51f835c6a5f1d61c11f032482a on master.


#23 Option to pass custom headers

https://github.com/observing/thor/issues/23

Considering this project as dead.

Cool.

No activity on PRs for one year.
I say that the project is dead, and then magically someone appears and start to process them :)
Sorry if I looked agressive, this wasn't my intent. I was juste cleaning my open PRs. If you are interested in those PRs I can reopen them.
I know that maintaining a project is hard ;)


#96: move weburl logic from template

This MR introduced a callback functions for sarif module and to-html command.
sarif and git modules don't know anything about vcs web url structure. And this callback function allows to move this logic right inside main command. It also allowed us to remove web url logic from html templates. So html template are vcs agnostic now.
The functions that were introduced in to-html (buildWebURLToBranch, buildWebURLToCommit), runtime callback function (locationWebURLCallback) and existing (gitURLtoWebURL) should be used in future for vcs specific logic.
For now generic logic was introduced, that should work for most cloud vcs solutions (gitlab, github, bitbucket cloud).

PyYAML issue: https://github.com/yaml/pyyaml/issues/724


[WIP] Use overlay2 for gitlab ci

Signed-off-by: Bogdan Dobrelya<EMAIL_ADDRESS>

CI runner can't use that mode yet


unit url support

relative images are still resolved based on the code not content

This was handled by other PRs. We ended up not adding support for URLs relative to the section files themselves. The URLs are relative to a parent folder.


When an alarm was triggered several times, then do event handling.

Hi,
I have a problem using kapacitor in such a scenario:
I need to check the number of times the alarm is triggered to prevent false positives

e.g.
I create a task what monitor the load of CPU. The taks similar to this: if the value greater than 1.0, and
this alert happened two times, a alarm may be triggered, and then handle the event.

What should I use kapacitor?
Thanks!

See #764


Move deprecated operations to separate file and flatten decorators file

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@azure-tools/typespec-azure-core

Show changes

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/776/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/776/


Remove dependency on snap LXD

Bravetools seems to have enforced snap dependency on LXD. This needs to be a general lxd binary
https://github.com/bravetools/bravetools/issues/32#issuecomment-1949630775

I've attempted to address this here: https://github.com/bravetools/bravetools/pull/258

Fixed via #258 Thanks @JayBusch !


403 Error downloading from youtube qrdpliMfoAM

Hi,
I was trying to download from youtube: qrdpliMfoAM but I am getting the following error. I'm on latest version (v2<IP_ADDRESS>)
youtube-dl -f 171 https://www.youtube.com/watch?v=qrdpliMfoAM --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'171', u'https://www.youtube.com/watch?v=qrdpliMfoAM', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.6 - Linux-3.14.2-031402-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] qrdpliMfoAM: Downloading webpage
[youtube] qrdpliMfoAM: Downloading video info webpage
[youtube] qrdpliMfoAM: Extracting video information
[youtube] {43} signature length 40.42, html5 player new
[youtube] {18} signature length 40.42, html5 player new
[youtube] {5} signature length 40.42, html5 player new
[youtube] {36} signature length 40.42, html5 player new
[youtube] {17} signature length 40.42, html5 player new
[youtube] {135} signature length 40.42, html5 player new
[youtube] {244} signature length 40.42, html5 player new
[youtube] {134} signature length 40.42, html5 player new
[youtube] {243} signature length 40.42, html5 player new
[youtube] {133} signature length 40.42, html5 player new
[youtube] {242} signature length 40.42, html5 player new
[youtube] {160} signature length 40.42, html5 player new
[youtube] {140} signature length 40.42, html5 player new
[youtube] {171} signature length 40.42, html5 player new
[youtube] qrdpliMfoAM: Downloading DASH manifest
WARNING: [youtube] qrdpliMfoAM: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)
[debug] Invoking downloader on u'https://r3---sn-gxap5ojx-qxae.googlevideo.com/videoplayback?initcwndbps=2946250&gir=yes&source=youtube&pl=24&mt=1440094346&mv=m&clen=2723782&ms=au&sver=3&expire=1440116030&requiressl=yes&mm=31&mn=sn-gxap5ojx-qxae&ipbits=0&itag=171&id=o-ACvIPid3vdoGEekdXAaYNvy4UVHeAYG8dL5H78FQh2xI&key=yt5&ip=<IP_ADDRESS>&lmt=1392720422884786&dur=233.025&pcm2cms=yes&fexp=9408087%2C9408710%2C9409069%2C9415365%2C9415485%2C9416023%2C9416126%2C9416347%2C9417116%2C9417707%2C9418153%2C9418220%2C9418449%2C9418493%2C9419446%2C9419506&keepalive=yes&mime=audio%2Fwebm&upn=2ux_By1GSwc&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=5AA5245D8E6587F5EE7973A21BDE764778BCE356.618F37674A241A35556D67C7A81623CB3388A550&ratebypass=yes'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1585, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1527, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 60, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1860, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Duplicate of #6451. Remove the cache with youtube-dl --rm-cache-dir and try again.


Create Author class with its constructor

Description
closes #10

[x] Create the Author class that inherits from the Type class and initialize its parameters in the constructor
[x] Add a pull_request_template for better workflow automation.

Cheers,

Thanks @mirouhml


Feat: Support for native ES modules (Node)

Building on https://github.com/open-runtimes/open-runtimes/pull/67 which added support for ES modules compiled from TypeScript back to CommonJS, what about adding support for Nodes ES modules as well?

If this is appealing, does anyone know how to add variants in the test suite to cover both CommonJS and ESM for the Node runtimes? 🤔

We now support ESM in Open Runtimes v3


pre/post execute hooks fail due to world age

When trying to use PyPlot with IJulia notebook, I get the following error (after fixing https://github.com/JuliaLang/IJulia.jl/issues/504):
MethodError: no method matching display_figs()
The applicable method may be too new: running in world age 21524, while current world is 21536.
Closest candidates are:
  display_figs() at /home/adam/.julia/v0.6/PyPlot/src/PyPlot.jl:110 (method too new to be called from this world context.)

Stacktrace:
 [1] execute_request(::ZMQ.Socket, ::IJulia.Msg) at /home/adam/.julia/v0.6/IJulia/src/execute_request.jl:175
 [2] eventloop(::ZMQ.Socket) at /home/adam/.julia/v0.6/IJulia/src/eventloop.jl:8
 [3] (::IJulia.##9#12)() at ./task.jl:335

I'm not totally clear how the new world age stuff is supposed to work, but this three line patch gets IJulia + PyPlot back to working on today's master.

Is it possible to tag a new version that includes this fix?

I just tagged 1.5.0: https://github.com/JuliaLang/METADATA.jl/pull/8937

This should be changed to use Compat.invokelatest


Run 2.0.0-preview1 on windows docker with linux settings - invalid interpolation

Hi,
I am trying to develop .net core web app that will be run on linux with docker. Development however will be done on windows machine.
I have created blank project with docker support for linux and when I try to run i get error:
Invalid interpolation format for "volumes" option in service "webapplication2": "${NUGET_PACKAGES}:/root/.nuget/packages:ro".

Does it happen on more than 1 machine? Is it maybe some weird setup or distro?

Can you share either your Dockerfile or share how you have mounted volumes?

I'm going to close this now because its been a while without a response. Please let us know if you can provide more details.


xfsettingsd / xfce4-power-man crashes

Issue description
[58934.974801] xfsettingsd[4668]: segfault at 0 ip 00007fd897c7bde9 sp 00007ffdedd61290 error 4 in libupower-glib.so.3.0.1[7fd897c6b000+25000]

causing the theme to be resetted to the (ugly) default.
Steps to reproduce
Try to use an alternative theme (doesn't matter which, AFAICS) in xfce4-12.
Technical details

System: 17.03pre99626.f1ba2c8 (Gorilla)
Nix version: nix-env (Nix) 1.11.6
Nixpkgs version: "17.03pre99626.f1ba2c8"

When running either of them with --no-daemon:
(xfsettingsd:6464): libupower-glib-WARNING **: Couldn't connect to proxy: Fehler beim Aufruf von StartServiceByName für org.freedesktop.UPower: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.UPower': timed out
Segmentation fault

From what I find with google, this issue is known. Either way, I'm not sure how to work around.
I tried explicitely installing the upower daemon and starting it... didn't help.

Probably a consequence of https://github.com/NixOS/nixpkgs/issues/22302

From what I read in the whole chain of issues - would a reboot fix my problem?

The issue was fixed for me after a reboot.


[SPARK-19246][SQL]CataLogTable's partitionSchema order and exist check

What changes were proposed in this pull request?
CataLogTable's partitionSchema should check if each column name in partitionColumnNames must match one and only one field in schema, if not we should throw an exception
and CataLogTable's partitionSchema should keep order with partitionColumnNames
How was this patch tested?

Test build #71451 has started for PR 16606 at commit eaf18ce.

Test build #71451 has finished for PR 16606 at commit eaf18ce.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #71453 has started for PR 16606 at commit 9296624.

Test build #71453 has finished for PR 16606 at commit 9296624.

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

Merged build finished. Test FAILed.

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

Test build #71483 has started for PR 16606 at commit 4260f84.

Merged build finished. Test FAILed.

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

retest this please

Test build #71494 has started for PR 16606 at commit 4260f84.

Test build #71497 has started for PR 16606 at commit 6f2816e.

Test build #71494 has finished for PR 16606 at commit 4260f84.

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

Merged build finished. Test PASSed.

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

Test build #71497 has finished for PR 16606 at commit 6f2816e.

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

Merged build finished. Test PASSed.

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

Test build #71519 has started for PR 16606 at commit c08e1c9.

Test build #71519 has finished for PR 16606 at commit c08e1c9.

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

Merged build finished. Test PASSed.

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

Test build #71552 has started for PR 16606 at commit 8cbee32.

Test build #71552 has finished for PR 16606 at commit 8cbee32.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #71554 has started for PR 16606 at commit 79e2e3f.

Test build #71554 has finished for PR 16606 at commit 79e2e3f.

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

Merged build finished. Test PASSed.

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

Test build #71580 has started for PR 16606 at commit 5e60f14.

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

Merged build finished. Test FAILed.

Test build #71853 has started for PR 16606 at commit 206b232.

how about we just add an assert? assert(schema.takeRight(partitionColumnNames.length) == partitionColumnNames)

Test build #71853 has finished for PR 16606 at commit 206b232.

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

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

Merged build finished. Test PASSed.

Test build #71889 has started for PR 16606 at commit 7e30cc7.

Test build #71889 has finished for PR 16606 at commit 7e30cc7.

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

Merged build finished. Test PASSed.

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

Test build #71902 has started for PR 16606 at commit 04d3940.

LGTM pending test

Test build #71902 has finished for PR 16606 at commit 04d3940.

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

Merged build finished. Test PASSed.

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

Test build #71912 has started for PR 16606 at commit 72164eb.

LGTM, pending tests

Merged build finished. Test FAILed.

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

retest this please

Test build #71922 has started for PR 16606 at commit 72164eb.

Test build #71922 has finished for PR 16606 at commit 72164eb.

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

Merged build finished. Test PASSed.

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

thanks, merging to master!


Error: Could not open file lib.yaoui/fonts/OpenSans-Light.ttf. Does not exist.

i mean it's pretty obvious what happens here

The OpenSans-Light font is there though. How do the other fonts load but not that one?

I mean there's no such folder as lib.yaoui, there's lib/yaoui, but since you use ... for the path that's what happens

I don't understand. Is yaoui in the lib folder? Also, why does OpenSans-Light not load but the other fonts load, even though they're in the same folder?

local yaoui_path = (...):sub(1, -12) - this gives "lib.yaoui" if yaoui is in lib directory.
so when you're doing this:
YaouiTheme.font_awesome_path = yaoui_path .. '/fonts/fontawesome-webfont.ttf'
YaouiTheme.open_sans_regular = yaoui_path .. '/fonts/OpenSans-Regular.ttf'
YaouiTheme.open_sans_light = yaoui_path .. '/fonts/OpenSans-Light.ttf'
YaouiTheme.open_sans_bold = yaoui_path .. '/fonts/OpenSans-Bold.ttf'
YaouiTheme.open_sans_semibold = yaoui_path .. '/fonts/OpenSans-Semibold.ttf'

you're using an incorrect path since there is no lib.yaoui directory. you need to replace the . with /.
and it crashes for opensans-light because this is the first loaded font.

now this will be wrong, won't it?

I don't know, I don't have a Linux system to test. Does it work or does it bug out?

I don't have a Linux system either. But you should change it to use periods instead of slashes.

When someone complains :cyclone:


Icon Path Changes Coming Soon

I just wanted to give you a heads up. As I approach the beta release of the icon set there will be a breaking change. The paths are being modified to match the popular Font Awesome icon set.
https://github.com/Templarian/MaterialDesign/issues/126
Could be an issue for your users not using bower and just downloading the latest icon set manually.
I'll comment on this issue once this change is made.

Hi, first of all, we'd like to thank for your work :-)
No problem for the breaking change, we'll update our documentation when it will be done.
We really appreciate.

The changes went into v0.9.21-alpha.
Please tell users to reference css/materialdesignicons.min.css. This will be the only breaking update.
This release only contains the SASS files. LESS is being worked on for the next release. I'll leave this open for you to track the change in documentation.

Thank you very much !
After updating  to v0.9.21-alpha, icons are rendering strangely.
On before pseudo element, icon is left-aligned whereas it was centered...
You can see an exemple in our buttons:

That was a fix in my stylesheet. I did my best to match how font-awesome does things. They appear to let the external CSS [user defined or framework] handle these things.
Is this something you can fix CSS? I'm trying to keep it keep it inlined with Font Awesome so it can be more plug and play.

I just looked to see if you have any classes on the top level that identify it as a lumX app for a temporary fix, but I'm not seeing anything. That would have been the quickest fix until lumX released a version with CSS to handle the missing centering.

Thanks for your quick answer :-)
I think i can't do anything with CSS.
The icon in pseudo element is left-aligned unlike font-awesome.

.fa vs .mdi:

The pseudo element:

I'm not seeing any centering in Dave's FontAwesome CSS.

Maybe it comes from the font ?
I'm going to invest tomorrow !
Le mardi 24 février 2015, Austin Andrews<EMAIL_ADDRESS>a
écrit :

.fa vs .mdi:
[image: image]
https://cloud.githubusercontent.com/assets/338885/6339821/e8e5a5d4-bb7e-11e4-9661-3b068a182856.png
The pseudo element:
[image: image]
https://cloud.githubusercontent.com/assets/338885/6339832/037cdf7a-bb7f-11e4-88d7-0fee90c3da9e.png
[image: image]
https://cloud.githubusercontent.com/assets/338885/6339880/7b7c184c-bb7f-11e4-957e-fa290dcb7875.png [image:
image]
https://cloud.githubusercontent.com/assets/338885/6339844/1fd572d6-bb7f-11e4-8819-470511856d91.png
I'm not seeing any centering in Dave's FontAwesome CSS.
—
Reply to this email directly or view it on GitHub
https://github.com/lumapps/lumX/issues/151#issuecomment-75659330.

Hi,
After deeper invest, it seems really impossible to fix it with CSS.
I really think it comes from the webfont...

Your current HTML / CSS
<i class="icon icon--l icon--grey icon--circled mdi mdi-android"></i>

Line 4793 in lumx.css
.icon {
vertical-align: top;
text-align: center;
}

I edited my message above to show both places the text-align: center is defined. This should be working... I've double checked the Material Design Icons css does not define a text-align.

I found the issue. The woff2 build is broken I believe. I'll  have to look into it after the bar tonight.

I didn't understand what you meant by left aligning till I actually started to inspect the other icons. Not sure why the grunt-webfont is doing this. All previous builds have used the same configs. They must have changed something recently.

I pushed a fix with a woff2 file that works. v0.9.22-alpha. I have to figure out what is going on with the grunt-webfont package still (I generated the woff2 with another solution).
Just got back from the bar, so I'll investigate what is going on with grunt-webfont tomorrow. I submitted a bug to their repo after running it again seeing the same results. :confused:

Thank you very much !!
Works like a charm since last update :-)


Documentation enhancement

Research integrating with something like ESDOCS

ESDOCS what be hot.

A wiki could be another idea.

integrated ESDOCS [not for tests since they don't support ava - only mocha]

Closed with #58


How to use doesn't work

Uncaught Error: Cannot find module 'base_object'
p2phlsstats.min.js:1 Uncaught Error: Cannot find module 'ui_container_plugin'
test.html:9 Uncaught ReferenceError: Clappr is not defined

@Charuru it seems to be related to the version of clappr you're using. The last version supported is 0.0.62

Thanks, you should probably update your readme to reflect that.

its seem that clapper is no longer working . there is a link for claper cor js file in the official documentation at
clapper official documentation  but even the link for library is not working and if you try to download the library via npm the library raise the error "index.html:21 Uncaught ReferenceError: Clappr is not defined"


[MINOR][ML][DOC] Improved Naive Bayes user guide explanation

What changes were proposed in this pull request?
This copies the material from the spark.mllib user guide page for Naive Bayes to the spark.ml user guide page.  I also improved the wording and organization slightly.
How was this patch tested?
Built docs locally.

Test build #90385 has started for PR 21272 at commit 987448d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3053/
Test PASSed.

LGTM!

Thanks for the LGTM!  Merging with master


2nd room level design change

I think the first hole should be deeper, so the player gets forced to jump and learn how it works before the spikes. Also, the block over the column should be higher, so the player don't get smashed there.

That's true. Also, this room should teach the player about changing the worlds.


Spaces in new template engine

Up to W1.2.3 in the template the spaces between the html code and the python code were respected. For example

      {{= some}}

but with W1.2.4, the space between  and {{= ...}} disappears when rendered.

@josejachuf that's strange. 1.2.4 should be better than 1.2.3 on html preservation.
Anyway, I can't reproduce this. I've just tried in bloggy to add something similar:
{{for post in posts:}}

{{=post.title}}

        Read more {{='foo'}}

{{pass}}

and this is the page source rendered in browser:

foo2

Read more foo

only the indentation is dropped.

@josejachuf anyway, if you can't find out what's going on, you can also change your app configuration
app.config.templates_prettify = True

And this should keep html in the original format. The rendering will be a bit slower in this way.

@gi0baro
Weppy 1.2.3
 1
Weppy 1.2.4
<a href="xxx" class="btn btn-success"1
now I will try to change
app.config.templates_prettify = True

with w1.2.4 and
app.config.templates_prettify = True
works fine

@josejachuf hmm why is the second line missing a bracket?

@josejachuf ok, I figured out. There's a typo in one of the last commits. 1.2.5 is on its way!

@josejachuf this is fixed both in master and in v1.2.5
You should now be able to have well formatted html even without the prettify option.


Add a UISheet constructor for intrinsic and fixed sizes

@SAnatoliiS @savelichalex I'll merge without a second approve as at the moment without this PR Surf crashes on some sheets ;)


Experiment.py -> move loadExperimentFromCif to EDL

EDL now contains all the parsing for both phase and experiment


Pattern for strings not working for digits only

I tried to use pattern to use digits only and it doesn't work as expected. Here is a demo: https://codesandbox.io/s/436957zpo7

Pattern for digits should be "^\\d+$", you are matching "d" literally, it will only match d's.


Retry after encountering a recoverable error when reading.

Fixes d11wtq/dockerpty#32.

Can this be merged? I have applied this patch to our CI farm as a hot-fix and it has completely resolved this issue: https://github.com/d11wtq/dockerpty/issues/26

LGTM

LGTM

Thanks very much. We should get this into Compose ASAP to see if it fixes #26 for others.


VSCode shell integration disables posh-git prompt

System Details

posh-git version/path: 1.1.0 ~\Documents\PowerShell\Modules\posh-git\1.1.0
PowerShell version: 7.2.7
Git version: 2.38.1.windows.1
Operating system name and version: Microsoft Windows NT 10.0.19045.0

Issue Description
I am experiencing a problem with VSCode Terminal Shell Integration, the new feature that shows color coded dots in the margin for successfull/failed command executions. Read more here. It prevents the prompt from being adapted by Posh-Git. So on loading of Posh-Git, the prompt stays the same. (posh-git does load, and stuff like branch name completion does work, it's just the apdaptation of the prompt function that fails.)
I realize this is not a problem of Posh-Git per se. I just wanted to make you aware of this.
Work-around
I found a work-around by setting terminal.integrated.shellIntegration.enabled to false, and restarting the terminal.
Remarks
What is maybe interesting, is that you can see the injected script that VSCode uses for the decorations etc by running code (code --locate-shell-integration-path pwsh). I wouldn't know how to adapt that so that it displays posh-git prompt style too.

Try swapping Import-Module posh-git after what VS Code injects. Does posh-git prompt win, but the VS Code feature breaks?
Looks like there are custom escape sequences, which could either be customized or built into posh-git.

I have the same problem. Even when import posh-git after loading of the terminal, there is no posh-git prompt available in terminal.
Thanks for the workaround. It works!

thanks for the workaround :)

This might be unrelated to OP, but I landed here having posh-git in ~\Documents\PowerShell\Modules\posh-git\1.1.0 and wondering why it's not showing up in my PS7/vscode shell, and so others will probably arrive here for the same reasons. For those people:
Each shell is its own environment.
For each shell you want posh-git in, run
PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
and Add-PoshGitToProfile


feat(site): add search bar

Codecov Report

Merging #52 (44277a2) into main (e9bba77) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   99.31%   99.31%
=======================================
  Files          38       38
  Lines         873      873
  Branches      276      276
=======================================
  Hits          867      867
  Misses          5        5
  Partials        1        1

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 e9bba77...44277a2. Read the comment docs.


Object spread unsound w.r.t. width subtyping of object types

TypeScript Version:  Whatever is running on TypeScript Playground
Code
var o1: { p: string, q: number } = { p: "", q: 0 };
var o2: { p: string } = o1;
var o3: { p: string, q: string } = { q: "", ...o2 };

Expected behavior:
Some type error somewhere. o3 has type {p: string, q: number} at runtime, but we think q has type string.
Actual behavior:
No error. Potential runtime type error.

"somewhere" is doing a lot of work there 😉 . Where specifically should the error be (and by what process)?

Hah, fair! I thought the example was small enough to make it clear :)
One option would be to forbid width subtyping between object types, so the error would be on line 2. This is pretty limiting, so not a great option.
Another option would be to error on line 3. Because the p property of o2 could be anything as far as TS knows, you could infer the type of the spread to be { p: string, q: {} }, which would be incompatible with { p: string, q: string }.

Without closed types, that's effectively the same as "don't allow spreading, ever", which doesn't really seem helpful.

Just confirming this is by design.

Yep

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


RecentDownloads

Hi! I got a new MacBook and now the RecentDownloads Workflow does not work, debugging shows this error:
[STDERR: input.scriptfilter] HTML/Entities.pm did not return a true value. BEGIN failed--compilation aborted.

I installed the latest workflow from Github. I’m on Alfred 3.5.1. Thanks for your help!

Try the version just released. The Workflow was rewritten from the ground up.


Adding a license

This project doesn't have ANY license.
Could a license of your choice be added, to prevent any legal issues?

Will do, thank you :)


Warnings report post process actions

Changelog Description
This pull request introduces a warnings report and post-process actions in the ayon-core project.
The primary change is the addition of the PublishValidationException class, designed to handle validation errors and warnings during the publishing process (it serves as a parent to the pre-existing PublishValidationError class and the new PublishValidationWarning class).
Actions are now listed after the plugin process to incorporate dynamically added actions based on the process results.
Additionally, there are updates to color codes and UI elements to enhance visual clarity.
Additional info
The PublishValidationException class is now the base for specific validation error and warning classes, offering detailed error messages and descriptions using Markdown syntax. This change enhances error handling and user communication in the publishing workflow. Actions listed after the plugin process ensure that any actions added dynamically based on the process results are captured and executed appropriately.

This pull request is being closed because a new branch, plugins_view_actions, has been created based on it. The new branch includes the features from the warnings-report_post-process-actions branch as well as new functionality.
The plugins_view_actions branch introduces actions available in the plugins list in the "Details" tab of the publisher. This feature allows actions not only for plugins with errors or warnings but for all plugins with actions.
The warnings-report_post-process-actions branch featured the handling of non-blocking publish errors (warnings) in the report, with the ability to ignore them and proceed with publishing. It also included adding actions to PublishPluginsProxy after the plugins have been processed, to account for actions created dynamically during the process based on the results.
A new pull request will be created for the plugins_view_actions branch, with all changes from this pull request, along with the new features.


typo fix

simple typo fix in terra/summary_of_quantum_operations notebook

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix a typo in the failure message

A typo was introduced in packit/packit-service#1658 where the namespace and repo were in the wrong order.
Also removed the parameter url as the default value for url in report_status_to_tests is already an empty string.
TODO:

[ ] Write new tests or update the old ones to cover new functionality.
[ ] Update doc-strings where appropriate.
[ ] Update or write new documentation in packit/packit.dev.
[ ] ‹fill in›

Fixes
Related to
Merge before/after

RELEASE NOTES BEGIN
￼
RELEASE NOTES END

Oh, I clicked the update branch through the github ui. Is that a problem? I can undo and do a rebase locally.


[type: refactor] ignore upstream check unit test

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2521 (2757857) into master (817ff4a) will decrease coverage by 0.44%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2521      +/-   ##
============================================
- Coverage     60.37%   59.93%   -0.45%
+ Complexity     4192     4158      -34
============================================
  Files           651      651
  Lines         18331    18331
  Branches       1658     1657       -1
============================================
- Hits          11068    10986      -82
- Misses         6428     6504      +76
- Partials        835      841       +6

Impacted Files
Coverage Δ

...henyu/admin/service/impl/UpstreamCheckService.java
54.40% <0.00%> (-23.20%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
61.38% <0.00%> (-19.81%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...in/response/strategy/NettyClientMessageWriter.java
69.56% <0.00%> (-4.35%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
62.50% <0.00%> (-4.17%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

...rg/apache/shenyu/admin/model/page/CommonPager.java
44.82% <0.00%> (-3.45%)
:arrow_down:

... and 21 more

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 817ff4a...2757857. Read the comment docs.


[Doc] There is no SimpleBus\Message\Type\Event

Changes Unknown when pulling 0fb0f28b7f28aa70dba175fe79dd657a94f38407 on Nyholm:patch-3 into ** on SimpleBus:master**.

Changes Unknown when pulling 0fb0f28b7f28aa70dba175fe79dd657a94f38407 on Nyholm:patch-3 into ** on SimpleBus:master**.

Changes Unknown when pulling 0fb0f28b7f28aa70dba175fe79dd657a94f38407 on Nyholm:patch-3 into ** on SimpleBus:master**.

Could you change "event listener" to "event subscriber" please? This is what other parts of the docs call it.

Of course, sorry for that. I've changed now.

Of course, no problem.


update and fix the current version

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin please merge

@conda-forge-admin please rerender

Blocked by https://github.com/conda-forge/spatialdata-feedstock/pull/5

@conda-forge-admin please rerender


Enabled strict concurrency

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.42%. Comparing base (bbb8a12) to head (5ed490e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   95.65%   96.42%   +0.77%
==========================================
  Files           1        1
  Lines          23       28       +5
==========================================
+ Hits           22       27       +5
  Misses          1        1

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


Figure out which produce commands can replicate manual setup

If someone doesn't have a Mac, they need to manually create an app id on the dev portal and an app in iTC. If someone does have a Mac, produce can do this automatically.
See my note file for specific instructions for doing this manually

Nah, creating app IDs manually is fine


Custom Search String

Just a feature request that allow users to enter their own search strings, e.g. self-hosted searx.

Is there any update on this issue?

+1

Will this feature be released?

It's was implemented but not in a way that I requested, more like hard coded search instead of letting me enter my own custom search string. I guess I'll have to look elsewhere.

It's was implemented

What do you mean? Your issue is still open


0.8.15 Release Notes

Also includes the SE website homepage changes.

@whiskeyjay,
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


elixir-ls: rename elixir_ls to elixir-ls

(cherry picked from commit 1f24ebb428c036ebc01b9da6b106b79f93957d6d)
Backport of #222248 to 22.11.
Reason: Make compatible to unstable nix channel (package naming).
Description of changes
See #222248.

This is a breaking change on a channel that is supposed to be stable though. I appreciate the effort, but i would prefer not to do it.

Let me know if you really feel strongly about it, your efforts are appreciated

Ok, so maybe we have to add a condition in our default.nix, using this package (some of us are on nixos-22.11 others on unstable).
I'll get your point @happysalada.

This is a breaking change on a channel that is supposed to be stable though.

Wouldn't the addition of an alias make it a non-breaking change?

@superherointj Ah nice.
@happysalada Alias was already added by @superherointj.

Could it be that the build was broken with this backport?
Here is the build log with the breackage:

 builder for '/nix/store/pb92bl90yiff0px3zylz2jdb43hls4p1-elixir-ls-0.12.0.drv' failed with exit code 1;
       last 10 log lines:
       >
       > Generated language_server app
       > configurePhase completed in 1 minutes 13 seconds
       > building
       > warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
       > ==> elixir_ls_utils
       > Generated elixir_ls_utils app
       > ==> elixir_ls_debugger
       > Generated elixir_ls_debugger app
       > ** (Mix) The task "elixir-ls.release" could not be found. Did you mean "elixir_ls.release"?
       For full logs, run 'nix log /nix/store/pb92bl90yiff0px3zylz2jdb43hls4p1-elixir-ls-0.12.0.drv'.

I believe the build step shouldn't have been changed

Unfortunately the fix at #222687 was not back-ported. And I failed to mention to it. So an expected non-breaking change ended up (temporarily) breaking this for stable. Stable will be fixed when #222687 is back-ported. Whoever can back-port #222687 to stable should do it, IMO.

@superherointj Thanks for this hint. The fix was also backported (see #222687).


when i register 1 service to consul ,Why does consul display two instances

when i register 1 service to consul ,Why does consul display two instances

I don't know, it generally doesn't do that and you provided no information to help. What exactly are you seeing in consul? What versions are you using? What is your configuration? If you'd like us to spend time helping, please spend some time describing in detail what is happing and how you got there.

sorry， my consul version is 1.4.1 ,springboot 2.1.2.RELEASE ,
I want to know why spring-cloud-consul-producer service  is on Consul  have two instances ,Is it normal ?，I'm testing spring bootadmin monitoring consul for service startup， but springboot admin does not monitor service startup ，so I raised this question

I wanted spring cloud version as well.
Screenshots aren't real helpful. But I can't see two instances of one service.

spring cloud:Finchley.SR2

Your screenshot doesn't show a problem to me

Re-adding the same screenshot that I said doesn't show me a problem isn't helpful. Please describe why you think it is wrong.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


[microTVM][Target]Consolidate stm32 target to micro target

This PR consolidates stm32 targets into micro targets and renames some of the STM micro targets with generalized name. In addition it adds -keys=arm_cpu,cpu by default to all ARM micro targets.

cc @areusch for review


[IOS] Error can't build project

Hi @TatankaConCube
I build and work good for android . But ion IOS
Undefined symbols for architecture armv7:
"_AVAudioSessionInterruptionTypeKey", referenced from:
-[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o
"_AVAudioSessionInterruptionOptionKey", referenced from:
-[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o
"_AVAudioSessionInterruptionNotification", referenced from:
-[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o
"_AVAudioSessionCategoryPlayAndRecord", referenced from:
-[FlutterCallKitPlugin configureAudioSession] in FlutterCallKitPlugin.o
"_AVAudioSessionModeVoiceChat", referenced from:
-[FlutterCallKitPlugin configureAudioSession] in FlutterCallKitPlugin.o
"OBJC_CLASS$_AVAudioSession", referenced from:
objc-class-ref in FlutterCallKitPlugin.o
ld: symbol(s) not found for architecture armv7
Please, help me this issue.

it is the same issue with https://github.com/ConnectyCube/connectycube-flutter-samples/issues/112, try to use this version of FlutterCallKitPlugin
flutter_call_kit:
    git:
      url: git://github.com/raj457036/flutter_call_kit.git
      ref: master

@TatankaConCube  I have fixed issue. Thanks


[SPARK-34203][SQL][TESTS][3.1] Forward port tests for null partition values

What changes were proposed in this pull request?
Forward port changes in tests from https://github.com/apache/spark/pull/31326.
Why are the changes needed?
This fixes a test failure.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running the affected test suite:
$ build/sbt -Phive -Phive-thriftserver "test:testOnly *CatalogedDDLSuite"

Thank you, @MaxGekk !

Thank you, @MaxGekk !

Test build #134462 has started for PR 31331 at commit 0d42da4.

Test build #134462 has started for PR 31331 at commit 0d42da4.

BTW, @MaxGekk . I revised the PR title because we cannot use forward-port because #31326 is not merged yet. This is a normal follow-up for the broken UT during backport.

BTW, @MaxGekk . I revised the PR title because we cannot use forward-port because #31326 is not merged yet. This is a normal follow-up for the broken UT during backport.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39049/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39049/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39049/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39049/

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

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

Test build #134462 has finished for PR 31331 at commit 0d42da4.

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

Test build #134462 has finished for PR 31331 at commit 0d42da4.

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

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

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


Lehins/attempt to fix regression

There's a problem with the optimization in sumStakePool. ie commit acff545

Dropped the commit, I'll investigate it in a separate PR. For now this PR fixes the regression and that was the priority.


Download Maven from apache.org archives [databricks]

Fixes #10224
Replace broken install using apt by downloading Maven from apache.org.
Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build

Looking into 330db build failure on Databricks Azure 11.3

Rerunning with skip-ci because 330db will fail due to #10228 and non-Databricks CI is not affected by this change

build


There is a need for rpc call that lists all wallet's open orders

Could we make wallet_market_order_list to return all open orders when called without parameters?

@valzav Does wallet_account_order_list work?

It requires a market to be specified - this doesn't work when I need to show all user's orders

@valzav Are you sure you are looking at wallet_account_order_list and not wallet_market_order_list? The former has no required arguments.

my bad - I was looking at wallet_market_order_list


Improve load_dataframe

Description
I cleaned up and extended the load_dataframe functions in utils.io, now it supports also downloading data from the web (check if the string contains http)
By default, it deletes the file after it has loaded (I also added a delete_download keyword to change this behavior).
I think it might be useful for having tutorials that use data from published papers to pull them from the related repos.

Codecov Report

Merging #41 (e2b5e59) into lightning (aa4595c) will not change coverage.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

i also changed the tests to skip it if there is no internet connection


Scan postgres images on all branches

All other images are scanned on all branches

yeah, probably... but only because this flow pushes to dockerhub and forks won't have credentials.   and that's unrelated to this change.


Migrate workbox-build to TypeScript

Placeholder to track the migration.

Any progress (Just about declaration files)? I asked this feature in V4, but  V6 still seems not supports it.

Not yet. Apologies. Out of our build tools, only workbox-cli has been migrated.


Syntactic Java integration

Pull Request Description
Allows to call Java methods constructors using built-in language constructs rather than the dynamic polyglot library.
Important Notes

The "import all jars from java dir" functionality is not tested automatically, because there aren't really good facilities to that currently. I've tested it manually, will test automatically with an in-Enso test framework.

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, Rust or Haskell style guides as appropriate.
[x] All code has been tested where possible.

Closes #686


How we can prevent External service interaction (DNS) using your gem?

Hi,
Can you please give more details on what the particular need for your app is?
Thank you!

Closing due to lack of feedback.
Happy to re-open if we get more information.


Notifications always on when deleting ALL history

The notifications preference is ignored when behavior is set to delete all history. See background.ts line 165.

Exactly the same problem on LibreWolf 122


Unable to connect to my server

When I install the server either by using Steam Client or SteamCMD the server starts up without errors. However, I am unable to connect to it using the "connect localhost" command in-game, I also tried "connect [my IP]", but I always get the "The specified host is not available" error. This does not happen with the normal dedicated server, as I am immediately connected to the server.
The server is hosted on my machine and I followed the installation instructions, there are also no errors in the console apart from "server not verified" at startup.

You have to change app id to 996560 and I also removed beta tags from the script. I don't know if that is the right solution but at least it worked to me.

Hi.
Currently, Smod is outdated and has been abandoned. You shouldn't use the installation instructions and follow them when installing vanilla game on your host.

ServerMod has been updated.  And is also available for the current SCPSL public beta.


pkgsStatic.doas: fix build

Patch configure script to not die on unrecognized --disable-shared
Pass -laudit when building statically with PAM support. Upstream buiild
system does not use pkg-config, unfortunately.

@ofborg build pkgsStatic.doas


Add api-conf schema for vscode

Codecov Report
Patch coverage has no change and project coverage change: +47.34 :tada:

Comparison is base (fb05115) 32.76% compared to head (c2c98f9) 80.10%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1249       +/-   ##
===========================================
+ Coverage   32.76%   80.10%   +47.34%
===========================================
  Files         187        9      -178
  Lines       21962      548    -21414
  Branches     7078      246     -6832
===========================================
- Hits         7196      439     -6757
+ Misses      14638      109    -14529
+ Partials      128        0      -128

Flag
Coverage Δ

adapter
?

admin-domain-service
?

backoffice-domain-service
?

devportal-domain-service
?

idp-domain-service
80.10% <ø> (ø)

runtime-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 178 files with indirect coverage changes

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

Fix https://github.com/wso2/apk/issues/1222


Not working in an up-to-date dokuwiki

Hi,
I have just installed your extension, and it seems that the rendering is not working anymore:
https://triglav.ouvaton.org/magus/doku.php?id=wiki:fanart:start

Hi,
It seems that it's the same issue as #1 due to sub folder, I'll definitely have to take a look.

Thanks anyway for this quick answer.
I hope you'll find the answer.

You can monkey patch as explained in #1

Not sure to understand what you are suggesting.
I am already with an up-to-date Dokuwiki

Sorry, I was referencing the wrong issue.
You can edit syntax.php of the deployed plugin and try what is suggested on
https://github.com/babs/dokuwiki-plugin-stlviewer/issues/3#issuecomment-800402475 while I bootstrap a new instance to fix this.

Hi,
I already tried these modifications, but it is not working.
Here is my modified syntax.php, maybe i did something wrong ?
syntax.php.txt

Hi there, any news ?

I didn't had the time to bootstrap my new env to check that, so no :/
I hope soon.


[Android] Build failing with RN 0.72

Description
Android build is failing with a project that uses RN 0.72:
FAILURE: Build failed with an exception.

* Where:
Script '/Users/fabiohenriques/Documents/Work/OSS/ReactNative/RN0720RC1/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle' line: 108

* What went wrong:
A problem occurred configuring project ':lottie-react-native'.
> Could not set unknown property 'classifier' for task ':lottie-react-native:androidJavadocsJar' of type org.gradle.api.tasks.bundling.Jar.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
error Failed to install the app. Command failed with exit code 1: ./gradlew tasks FAILURE: Build failed with an exception. * Where:
Script '/Users/fabiohenriques/Documents/Work/OSS/ReactNative/RN0720RC1/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle' line: 108 * What went wrong:
A problem occurred configuring project ':lottie-react-native'.
> Could not set unknown property 'classifier' for task ':lottie-react-native:androidJavadocsJar' of type org.gradle.api.tasks.bundling.Jar. * Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 3s
> Task :gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:jar UP-TO-DATE
> Task :gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE > Configure project :lottie-react-native
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
5 actionable tasks: 5 up-to-date.

Applying this patch on src/android/gradle-maven-push.gradle file will solve the problem:
diff --git a/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle b/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle
index 6c97bcf..166e73b 100644
--- a/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle
+++ b/node_modules/lottie-react-native/src/android/gradle-maven-push.gradle
@@ -105,12 +105,12 @@ afterEvaluate { project ->
   }

   task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
-    classifier = 'javadoc'
+    archiveClassifier = 'javadoc'
     from androidJavadocs.destinationDir
   }

   task androidSourcesJar(type: Jar) {
-    classifier = 'sources'
+    archiveClassifier = 'sources'
     from android.sourceSets.main.java.sourceFiles
   }

The building is failing because now RN 0.72 uses Gradle 8.0, and there is breaking change where classifier was removed and archiveClassifier must be used instead.
I tried to fix the problem by myself and raise a PR but wasn't able to find this file in the repo, which makes me wondering if it's something generated during a release.
Steps to Reproduce

Setup a RN project with the 0.72 release candidate.
Add lottie-react-native library to project.
Run the Android build.

Expected behavior: The project should build without problems.
Actual behavior: The project is failing during build.
Versions
"lottie-react-native": "^5.1.5",
"react": "18.2.0",
"react-native": "0.72.0-rc.1"

gradle-maven-push.gradle file is removed and it will not be available in the next major release. I will try to apply this patch for v5.

Backported the fix in release 5.1.6.

Can this also be backported for v4.1.3?

Can this also be backported for v4.1.3?

Is there any reason for you to keep using the old version?
We are not going to support v4 anymore.

Thank You

"react-native": "0.68.5",
"react-native-reanimated": "3.6.1",
getting this error
Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'classifier' for task ':lottie-react-native:androidJavadocsJar' of type org.gradle.api.tasks.bundling.Jar.

@TassainRasool  hi, did you fix the error? i facing same error now.
lottie-react-native : v5.1.4
react-native: v0.74.2

@nolife08021 , hello No I couldn't fix the error but I used reanimated library and applied some patch and then it worked fine.

@nolife08021 , hello No I couldn't fix the error but I used reanimated library and applied some patch and then it worked fine.

@TassainRasool do you mind to you share me the patch you made ? i still having that issue ..thanks


Missing type definition for the createKey operation

There is no type definition that would match the body of the create key operation. Example shows:
const body = {
    metadata: {
      collectionType: 'application/vnd.ibm.kms.key+json',
      collectionTotal: 1,
    },
    resources: [
      {
        type: 'application/vnd.ibm.kms.key+json',
        name: 'nodejsKey',
        extractable: false,
      },
    ],
  };

What would be the TS type for this data structure?

Thanks for pointing out the issue, we will provide a fix in the future release.


Update base to buildx

@jichenjc , @rootfs by this PR, I plan to make base image with buildx support.

use buildx to build images.
use a make script for different cpu arch.
is there any approach to install nvidia on x86 via yum? @rootfs
do we need to have golang in base image?
and further more, I want to pr base to main, and make the base image change trigger by workflow_dispatch

related with #586 586

@SamYuan1990 thanks, let me know anything I can help, maybe some local test with the PR?

@SamYuan1990

is there any approach to install nvidia on x86 via yum? @rootfs

Let's skip nvml first

do we need to have golang in base image?

I think amd64 golang binary can cross compile arm64 and s390x, but please double check (cc @jichenjc)
If so, we can use the same builder image

@SamYuan1990

is there any approach to install nvidia on x86 via yum? @rootfs

Let's skip nvml first

do we need to have golang in base image?

I think amd64 golang binary can cross compile arm64 and s390x, but please double check (cc @jichenjc) If so, we can use the same builder image

I don't think amd64 golang .... even if amd64 golang works but sh may not, hence I will build s390 image.

https://github.com/sustainable-computing-io/kepler/actions/runs/4448617366/jobs/7811660723?pr=587#step:7:1827
if we build on GHA, the kernel will be 5.15.0-1034-azure and we can't find linux header for this.
@rootfs, for yum install kernel-devel on build image, how are we pass it in the past?

odd, it works well on my end. But the rpm is in a repository (rhel-8-for-x86_64-baseos-rpms) that is not listed in github action workflow

it looks an OS dependent issue,  yum install kernel-devel can get it from the rhel yum repo if the container is running on RHEL, but not work if the container runs on ubuntu.

@SamYuan1990 let's create a script to build multi arch base image offline, and use GHA to build kepler image

@SamYuan1990 let's create a script to build multi arch base image offline, and use GHA to build kepler image

@rootfs , could you please current base image and build image works for x86 and arm64 without gpu support?
@jichenjc , could you please help test if base image and build image works for s390x?
following next, I will add GPU support according to https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=RHEL&target_version=8&target_type=rpm_network
test steps: (CMD=docker or podman)

checkout this pr
build base image $CMD build -f ./build/Dockerfile.base -t quay.io/sustainable_computing_io/kepler_base:ubi-8.6-bcc-0.24 .
build builder image $CMD build -f ./build/Dockerfile.builder -t quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18 .
checkout to latest main
build kepler image make container_build

GPU support for x86 and arm64 added.

[root@gustily1 kepler]# vi build/Dockerfile
[root@gustily1 kepler]# docker pull quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Trying to pull quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18...
Getting image source signatures
Copying blob d8b38d01ad98 skipped: already exists
Copying blob 75abf9e8bd60 skipped: already exists
Copying blob 649e58dac065 skipped: already exists
Copying blob 92d1494c70bb skipped: already exists
Copying blob e759802f8f09 skipped: already exists
Copying blob bb724c460796 skipped: already exists
Copying blob 953dd1512a72 skipped: already exists
Copying blob 04a9758c7322 skipped: already exists
Copying config 1ceb9c1220 done
Writing manifest to image destination
Storing signatures
WARNING: image platform ({amd64 linux  [] }) does not match the expected platform ({s390x linux  [] })
1ceb9c1220cb175bfbf6e32b85af7f4caae539bcaeddabc134239625ab52b983
[root@gustily1 kepler]# docker run quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARNING: image platform ({amd64 linux  [] }) does not match the expected platform ({s390x linux  [] })
{"msg":"exec container process `/bin/bash`: Exec format error","level":"error","time":"2023-03-21T00:36:01.000586425Z"}

do you build quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18 ?
I run on 390x platform and pull other images, it works fine ,but this image seems only have x86 version?
@SamYuan1990

Thanks for the tip, @rootfs , I did some test like following:
prove x86 works fine
change from make build to make cross-build-linux-s390x and re-run docker build
# cat Dockerfile
FROM quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18 as builder

ARG BIN_TIMESTAMP
ARG SOURCE_GIT_TAG

LABEL name=kepler-builder

ENV GOPATH=/opt/app-root GO111MODULE=on GOROOT=/usr/local/go

ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH

WORKDIR $GOPATH/src/github.com/sustainable-computing-io/kepler

COPY . .
RUN mkdir -p data

# Build kepler
RUN make cross-build-linux-s390x SOURCE_GIT_TAG=$SOURCE_GIT_TAG BIN_TIMESTAMP=$BIN_TIMESTAMP     ===> change to cross compile
RUN ls ./_output/bin

still something in the golang code for bcc
...
go: downloading github.com/go-openapi/jsonreference v0.19.6
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/josharian/intern v1.0.0
go mod vendor
./automation/presubmit-tests/gofmt.sh
Checking go format
package command-line-arguments
        imports github.com/sustainable-computing-io/kepler/pkg/collector/metric
        imports github.com/sustainable-computing-io/kepler/pkg/bpfassets/attacher
        imports github.com/iovisor/gobpf/bcc: build constraints exclude all Go files in /opt/app-root/src/github.com/sustainable-computing-io/kepler/vendor/github.com/iovisor/gobpf/bcc
make[1]: *** [Makefile:139: _build_local] Error 1
make[1]: Leaving directory '/opt/app-root/src/github.com/sustainable-computing-io/kepler'
make: *** [Makefile:188: cross-build-linux-s390x] Error 2

not sure why I have this error even though I checked the code
https://github.com/iovisor/gobpf/blob/master/bcc/module.go seems nothing special...
@SamYuan1990 given you already have base image, can you paste here so we can use it to build kepler ?Thanks

I see, the builder needs bcc library too.

@jichenjc I think we have to create a platform dependent builder image for s390x to include bcc like this

ok, let me give a try through the link you provide soon :)

@jichenjc can we build kepler binary in the builder container with cross compilation on x86, and add the s390x kepler binary to the s390x base image?

@rootfs , @jichenjc  some comments:

We can try with cross build. Which is true.
Before we copy the binary into ... but you know, it's not cross build anyway, Sorry I want to be kind and nice but I feel like we may have some thing different from the basic understanding, forgive me. @rootfs , @jichenjc

Our target is to have a kepler binary in a specific platform and running in a a specific platform container, in following I will use s390x as an example, which means

kepler binary in "s390x" for this binary build, or in general to build a go bianry, which can build from

your host machine. by cross build. go build ...., docker build .  the docker file looks like copy .
a build docker image as golang:alpha by cross build or not. (from golang:alpha as build, .... copy from build ....)
your image with golang and Run go build in your docker file.

But, we can't run docker build as builder image
which means, if the host, as GHA is x86.
we can try with option 1, as build binary and copy it via buildx. but it's not a best option. Or nearly won't works.
as docker file
ADD keplerbinary

which here nearly we don't want to have CPU arch here. Or say
ADD keplerbinary-${goarch}
RUN mv keplerbinary-${goarch} keplerbinary

As option 2 and option 3 are the same, which means we build binary and docker image base on a specific platefrom.
But don't expect that option 1 mix with option 2 works.
I mean:
From image as builder
RUN go build --platform

From base
Copy from builder ...

when we run this on x86 to build s390x image, well we can pass from builder image. but for base image, it's x86 which means the base image still not s390x.
Hence by buildx, we have an environment to build s390x image, why we use go cross build?
I suppose this is the most question to @rootfs

the binary able to running in a "s390x" container
@jichenjc , even if we use option 1, I mean build runnable s390x binary on GHA and copy it with buildx.
we still need to ensure base image works with all dependency there. such as bcc, kernel.

Thanks for the tip, @rootfs , I did some test like following:
prove x86 works fine change from make build to make cross-build-linux-s390x and re-run docker build
# cat Dockerfile
FROM quay.io/sustainable_computing_io/kepler_builder:ubi-8.6-bcc-0.24-go1.18 as builder

ARG BIN_TIMESTAMP
ARG SOURCE_GIT_TAG

LABEL name=kepler-builder

ENV GOPATH=/opt/app-root GO111MODULE=on GOROOT=/usr/local/go

ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH

WORKDIR $GOPATH/src/github.com/sustainable-computing-io/kepler

COPY . .
RUN mkdir -p data

# Build kepler
RUN make cross-build-linux-s390x SOURCE_GIT_TAG=$SOURCE_GIT_TAG BIN_TIMESTAMP=$BIN_TIMESTAMP     ===> change to cross compile
RUN ls ./_output/bin

still something in the golang code for bcc
...
go: downloading github.com/go-openapi/jsonreference v0.19.6
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/josharian/intern v1.0.0
go mod vendor
./automation/presubmit-tests/gofmt.sh
Checking go format
package command-line-arguments
        imports github.com/sustainable-computing-io/kepler/pkg/collector/metric
        imports github.com/sustainable-computing-io/kepler/pkg/bpfassets/attacher
        imports github.com/iovisor/gobpf/bcc: build constraints exclude all Go files in /opt/app-root/src/github.com/sustainable-computing-io/kepler/vendor/github.com/iovisor/gobpf/bcc
make[1]: *** [Makefile:139: _build_local] Error 1
make[1]: Leaving directory '/opt/app-root/src/github.com/sustainable-computing-io/kepler'
make: *** [Makefile:188: cross-build-linux-s390x] Error 2

not sure why I have this error even though I checked the code https://github.com/iovisor/gobpf/blob/master/bcc/module.go seems nothing special...
@SamYuan1990 given you already have base image, can you paste here so we can use it to build kepler ?Thanks

With the information and reason as you know, I can't public it for now. Sorry.

@SamYuan1990 are you still working on it?

@SamYuan1990 are you still working on it?

yes. but...