AndroidView not working properly on a Samsung Galaxy S6

Steps to Reproduce
On Samsung Galaxy S6 the google maps plug in causes the device to freeze and the screen shows flickering black pixels.
Minimal Repro
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class MapTest extends StatelessWidget {
  final LatLng center = const LatLng(32.0, 34.9);
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Center(
        child: SizedBox(
          width: 300.0,
          height: 300.0,
          child: GoogleMap(
            onMapCreated: onMapCreated,
            options: GoogleMapOptions(
              cameraPosition: CameraPosition(
                target: center,
                zoom: 11.0
              )
            ),
            gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>[
              Factory<OneSequenceGestureRecognizer>(
                () => EagerGestureRecognizer()
              )
            ].toSet(),
          ),
        ),
      ),
    );
  }

  void onMapCreated(GoogleMapController controller) {
    controller.addMarker(MarkerOptions(
      position: LatLng(
        center.latitude,
        center.longitude
      ),
      infoWindowText: const InfoWindowText("Test Location", 'AA')
    ));
  }

}

[√] Flutter (Channel dev, v0.10.2, on Microsoft Windows [Version 10.0.17134.345], locale en-CA)
    • Flutter version 0.10.2 at D:\flutter
    • Framework revision d8cbb80206 (8 days ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[√] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at C:\Users\kusay\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] VS Code, 64-bit edition (version 1.28.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.20.0

[√] Connected device (1 available)
    • SM G920W8 • 0216029abaa90a03 • android-arm64 • Android 6.0.1 (API 23)

• No issues found!

I can't use Factory in <Factory<OneSequenceGestureRecognizer>> where is it coming from?

Thanks for the report @kunit1!
Would you mind trying the android_views integration test on that device? I'm curious to see if embedding a simple view causes the same issue on the device.
From your local flutter checkout:
cd dev/integration_tests/android_views
flutter run

Does your device freeze when launching this app?

Try running flutter drive in the android_views directory, it should clone the goldens repo.

I ran the test on the device. This is the result:
https://drive.google.com/open?id=1ZKb6zO12Sn02wyiH3bLbUU7_UntB41yc
Touching the screen causes the black portion to flicker. The device is not frozen but the view is corrupted as far as I can see.
With google maps, similar view corruption occurs but the phone becomes unresponsive to any action including the power button. It eventually restarts on its own after a few minutes.

It seems that this has regressed with the Skia roll at flutter/engine#6652
I'm continuing to bisect the individual Skia commits on that roll.

The issue was introduced with google/skia@dc82994 (which also introduced #24402)
@bsalomon

I ran all of Skia's image tests on a GSM (Mali) S6 and don't see any image differences when using sampler objects.

Just wanted to mention this issue only happens on Galaxy S6 running android 6.0.x
Same device with android 7.0, no issue.

@berosoboy Can you install this app on the LG K4 X230 and post the GL_VERSION string here?
https://play.google.com/store/apps/details?id=com.realtechvr.glview&hl=en_US

Of course, @bsalomon .
Here is the screenshot:

Thanks! Looks like it's a similar driver version to the S6 running Android 6, which has "OpenGL ES 3.1 v1.r7p0-03rel0.b596bd02e7d0169c10574b57180c8b57"

I have a speculative fix for this:
https://skia-review.googlesource.com/c/skia/+/172405
It should land in Skia soon.

Fixed by https://skia.googlesource.com/skia/+/a6dddeaac902114677b21cb39f423db0f5557b10 (as soon as that rolls into Flutter)

I'm keeping this open until we confirm the Skia fix fixes the AndroidView issue.

@amirh the Skia roll has landed in flutter/flutter - are you still seeing the issue?

Ok, second take... can you please try v0.11.11 (on the latest dev and beta channels - available via flutter upgrade)?  Thanks!

Confirmed that this is fixed on master (for a Samsung Galaxy S6).

In Huawei VNS-L23 android 6 Works Fine, with update now. FIX Thanks
[✓] Flutter (Channel master, v0.11.12-pre.5, on Mac OS X 10.13.6 17G65, locale
en-EC)
• Flutter version 0.11.12-pre.5 at /Users/aldo/flutter
• Framework revision 06ec8d3b41 (71 minutes ago), 2018-11-28 15:56:58 -0800
• Engine revision 72c7a75672
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/aldo/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.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-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
[✓] Connected device (1 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 8.0.0
(API 26) (emulator)

Hi，the same problem happens in Oppo R15，but my oneplus 5 is correct。
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ CocoaPods installed but not initialized.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To initialize CocoaPods, run:
        pod setup
      once to finalize CocoaPods' installation.
[✓] Android Studio (version 3.2)
[!] IntelliJ IDEA Community Edition (version 2017.3.6)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)

Hi，the same problem happens in Oppo R15，but my oneplus 5 is correct。
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ CocoaPods installed but not initialized.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To initialize CocoaPods, run:
        pod setup
      once to finalize CocoaPods' installation.
[✓] Android Studio (version 3.2)
[!] IntelliJ IDEA Community Edition (version 2017.3.6)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)

I created #24974

I am facing the same problem, have you solved it?

Hi，the same problem happens in Oppo R15，but my oneplus 5 is correct。
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ CocoaPods installed but not initialized.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To initialize CocoaPods, run:
        pod setup
      once to finalize CocoaPods' installation.
[✓] Android Studio (version 3.2)
[!] IntelliJ IDEA Community Edition (version 2017.3.6)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)

I created #24974

I am facing the same problem, have you solved it?

any solutions?


Fix handling of --no-color to apply defaults when not present

What does this PR do?
Fixes automatic detection of whether color is supported, when --no-color is not present
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
⸩ echo | agent version | cat -e
Agent 7.40.0-rc.2 - Meta: git.76.7df2688 - Commit: 7df268847e - Serialization version: v5.0.29 - Go version: go1.18.6$

(should not have any color codes visibile)
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

TestGatewayLookupSubnetLookupError in kitchen_test_system_probe_linux_x64: [ubuntu, ubuntu-16-04-4.4,ubuntu-18-04,ubuntu-20-04,ubuntu-22-04] is a known intermittent and can be ignored.  The others also look like intermittents but I'm re-running them.


Estimate gas to prevent failed reinforcement

@coccoinomane
Came across this question and tried to implement it. I couldn't be able to detect a transaction that will fail but maybe it helps you to figure it out.
In Web3Client.py / buildContractTransaction()
baseTx = self.buildBaseTransaction()
try:
    result = contractFunction.estimateGas(baseTx, "pending")
    logger.debug(f"Estimate gas result: {result}")
except Exception as err:
    logger.warning(f"Transaction will probably fail!", exc_info=True)

return contractFunction.buildTransaction(baseTx)

without "pending":
result = contractFunction.estimateGas(baseTx)

and without "baseTx" parameters when estimating gas:
try:
    result = contractFunction.estimateGas()
    logger.debug(f"Estimate gas result: {result}")
except Exception as err:
    logger.warning(f"Transaction will probably fail!", exc_info=True)

baseTx = self.buildBaseTransaction()
return contractFunction.buildTransaction(baseTx)

All raised the same exception :  execution reverted: GAME:NOT OWNER
Originally posted by @yigitest in https://github.com/coccoinomane/crabada.py/issues/12#issuecomment-1081652424

Hi @yigitest !
I opened a new issue from your comment in https://github.com/coccoinomane/crabada.py/issues/12#issuecomment-1081652424
I'll do some tests and see where that leads us :-)

@yigitest
I am getting the GAME:NOT OWNER error, too.
I could not find anything related to this error either in the Discord or by inspecting the JS code in play.crabada.com.
We have to assume that the error is generated by some internal check in the smart contract which prevents any kind of execution without signing the transaction.
If this is the case, we will probably need to focus in finding the endpoint used by play.crabada.com to reinforce.

I have inspected my Metamask transactions in the browser, and Crabada does indeed use estimate_gas() before sending the transaction.
Therefore, I have further debugged my code and found that the client omitted the from field in certain transactions, which in turn generated the NOT TEAM OWNER error.
Me: 🤦🏻♂
I have fixed the bug in https://github.com/coccoinomane/crabada.py/tree/2022-04-03_web3-client-refresh.
Now, when you try to reinforce with a crab that has already been taken, the bot returns an error without sending the transactions, just like the UI does.
At the moment, the error is not handled, meaning that the bot will just exit without attempting with other crabs.
An improvement would be for the strategy to automatically pick the next-best available crab, up to a certain number of attempts.
Let me know if you have further thoughts about this :-)

Awesome find 👏.
I am now wondering which block should we use, "latest" or "pending". I will repeat my original tests and report back my findings in a day or two.

Hi @yigitest, and thanks for your feedback!
Right now, I do not use estimateGas explicitly.
Instead, I let web3.py do the estimation for me, by omitting the gas parameter in the tx (code).
In turn, web3.py calls estimateGas, without the optional "block" parameter.
I am not sure whether the node will select the "latest" or the "pending" block, but, based on the tests I have done so far, it seems that it does the right thing for us.
Let me know if your tests suggest otherwise :-)
Cheers,
Cocco

Hi @yigitest, thanks for your feedback!
Right now, I do not use estimateGas explicitly.
Instead, I let web3.py do the estimation for me, by omitting the gas parameter in the tx (code https://github.com/coccoinomane/crabada.py/blob/2022-04-03_web3-client-refresh/src/libs/Web3Client/Web3Client.py#L88-L92).
In turn, web3.py calls estimateGas without the optional "block" parameter.
I am not sure whether the mode will select the "latest" or the "pending" block, but based on the tests I have done so far, it seems that it does the right thing for us.
Let me know if your tests suggest otherwise :-)
Cheers,
Cocco

On 4 Apr 2022, at 12:27, yigiter @.***> wrote:
Awesome find 👏.
I am now wondering which block should we use, "latest" or "pending". I will repeat my original tests and report back my findings in a day or two.
—
Reply to this email directly, view it on GitHub https://github.com/coccoinomane/crabada.py/issues/40#issuecomment-1087381774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA55ENBCAXSEXBTMKPLE7SDVDK7XXANCNFSM5SNMYLDQ.
You are receiving this because you were mentioned.


Avoid usage of the non monotonic clock System.currentTimeMillis() in favor for System.nanoTime()

In Java, System.currentTimeMillis() is a non-monotonic clock, which means that
long start = System.currentTimeMillis();
...
long end = System.currentTimeMillis();

System.println.out(end - start);

might print a number smaller than zero !
This is due to the fact that the internal clock of computer if not accurate and it is put back on the "right" time thanks to the UDP protocol.
Additional read: https://superuser.com/questions/759730/how-much-clock-drift-is-considered-normal-for-a-non-networked-windows-7-pc
Instead, System.nanoTime() should be prefer for timing purpose, as it will guarantee that two successive calls to it are greater than zero

The comment https://github.com/testcontainers/testcontainers-java/pull/6392/files#diff-1cb71d0ebd85bd607c3da0c4e693f353e5d0b9c947a2396ffc32042f3ccbb63eL45 is now incorrect, but a good estimate is hard to guess

Thanks for providing a PR @Nateckert. Is this an issue you have observed in your system while using Testcontainers?

Thanks for providing a PR @Nateckert. Is this an issue you have observed in your system while using Testcontainers?
Could you please run ./gradlew :database-commons:spotlessApply to fix the failing CI job?

I ran the formatter.
I actually don't know if we encounter that issue, but we are currently trying to sanitize our CI and this was a quick fix to a unlikely problem that can be almost impossible to debug (looks random, there is no associated logs, ...), so that's why I wanted to contribute

The comment https://github.com/testcontainers/testcontainers-java/pull/6392/files#diff-1cb71d0ebd85bd607c3da0c4e693f353e5d0b9c947a2396ffc32042f3ccbb63eL45 is now incorrect, but a good estimate is hard to guess

With the changes after @jtnord's feedback, I manage to update the estimate

Thanks for your contribution, @Nateckert !


Russian translation for video "Aragon: Fight for freedom" (subs)

Good morning, Aragon!
I have created a Russian translation for video "Aragon - Fight for freedom".
However, I need your help to make this translation available to the public: please fix YouTube settings for this video and allow users to translate subtitles/metadata. (I am asked for it about this a year ago - but problem still persists).
If there is not possible to enable subtitles/metadata translation (for some reason), you can use my .srt file from here: https://github.com/uniconstructor/aragon-subs-translation/blob/master/Aragon - The Fight for freedom[ru].srt and add translation manually.
And one final question: is there a standard way to translate Aragon videos? I am checked out Aragon wiki and Aragon developer portal but didn't find any relevant information about this.
Best regards, Ilia.

OK, I got it, will wait for review


stampit___default.a(...).props is not a function in Webpack 3

Not sure if this is a problem with webpack or stampit, but I created an issue for it on the webpack repo.
https://github.com/webpack/webpack/issues/5241

Great bug reporting! Thank you
I'm out of computer for the next few weeks. Can't run the example.
Can you show full stack trace? Preferably with minification.

Sure.
TypeError: __WEBPACK_IMPORTED_MODULE_0_stampit___default.a(...).props is not a function
at Object.defineProperty.value (http://localhost:63342/Webpack3StampIt/build/main.js:24:4)
at __webpack_require__ (http://localhost:63342/Webpack3StampIt/build/commons.js:55:30)
at Object. (http://localhost:63342/Webpack3StampIt/build/main.js:7:66)
at __webpack_require__ (http://localhost:63342/Webpack3StampIt/build/commons.js:55:30)
at webpackJsonpCallback (http://localhost:63342/Webpack3StampIt/build/commons.js:26:23)
at http://localhost:63342/Webpack3StampIt/build/main.js:1:1

Could you please check if it's reproducible with<EMAIL_ADDRESS>?
There was a change in it which might have caused the issue.
If it still throws - then likely it's the webpack bug.
If it doesn't - the bug is likely ours.

It appears to still throw. I tried it with<EMAIL_ADDRESS>

I received a reply on the webpack issue. Am I using it wrong now?
https://github.com/webpack/webpack/issues/5241#issuecomment-313846314

The provided workaround is correct. This appears to be stampit bug. I'll have some time to fix it in two weeks.
Does the workaround work for you?

Thanks, @koresar. Yes. The workaround will do.

Early to tell, but this might be fixed here #323

Fixed with stampit v4.


Fix minor typo in README.

Have you signed the contributor's aggreement?

Yes, my confirmation number is<PHONE_NUMBER>03103615


Check out the source of CropperJS

I was using this library cropperjs, with react-cropper I just wanted to make sure you know these options.
It works great on several devices, has lots of options, I found an issue that I could not use touch to scroll down my page, but besides that it is very good.
Now I'm going to use your library as it was recommended by the former team so, consider this issue an email.
Anyways, better than to give the user the ability to crop the image, is to just understand the image and auto-crop it, I'm not sure if we can use like https://js.tensorflow.org (old deeplearn.js) to do just that in the client-side with no server calls. That would be the perfect solution.
Thank you.

Hey @felquis , thanks for the tips, and nice to know that you are going to start using our solution! I will take a look at the resources you mentined.
I never thought of the 'auto-crop' feature too much, because my initial idea was for the user to mark each point of the cropper polygon. Could you maybe elaborate on that a little further? Are you thinking of something kind of like Photoshop's magic wand tool, where there is a little user input and a little intelligence from the software? Or are you thinking about something completely autonomous?
Also, if you have any problems upon implementation, please let me know :)

Hi :)

I never thought of the 'auto-crop' feature too much, because my initial idea was for the user to mark each point of the cropper polygon. Could you maybe elaborate on that a little further?

It is a trend in technology, to make the software intelligent because most people are not. Any intelligence you add to the software that help the client-side make sure the image is a license or at least that it looks like a license, will already prevent pictures that does not make sense. (nudity, anything not related to a license)

Are you thinking of something kind of like Photoshop's magic wand tool, where there is a little user input and a little intelligence from the software?

Yes. The goal is to remove user input completely (try it the best) and make the code do most of the job.
The ideal is to auto-detect the license, crop it, and if it is okay for the service, give a button to the customer "Is that your license? Confirm YES | NO". If we could not find the license, just say "Please, take a picture {put instructions here} and try again"..

Or are you thinking about something completely autonomous?

That must be the goal, we need to baby step until as close as possible to it in high end smartphones and fallback to a basic cropping in low end smartphones, we may have some problems with browsers support too. I don't know, I'm the dreamer right now hahaha

Remember that in Brazil we're going to have a new license model by next year, but the current one will still be used for a while. http://www.cidades.gov.br/ultimas-noticias/5425-carteira-nacional-de-habilitacao-passa-a-ter-formato-de-cartao-inteligente
That is it, just a LSD trip about what is the most ideal experience, hope you consider it as something that can be real if we put enough effort on it.


Add domain events to register events from the bounded context card-operations to the bounded context statements

Tasks:

[ ] Read about Domain Events: https://www.baeldung.com/spring-data-ddd

Issue registered: https://stackoverflow.com/questions/68791407/how-to-use-abstractaggregateroott-or-the-annotation-domainevents-with-java-rec


Better error handling when given a csproj or sln file

When I attempted to use this, I misread the command line instructions and passed in a .sln file or a .csproj file because this is how the dotnet formatter works.  This resulted in this output:
+dotnet csharpier Foo.sln
/Foo.sln                                                                                - failed to compile
total time:                                                                          243ms
Total files:                                                                           1
Failed syntax tree validation:                                                         0
Threw exceptions while formatting:                                                     0
files that threw exceptions while validating syntax tree:                              0

Which led me to believe that the sln file was not compiling, and not that I was supplying an invalid file.  I understand now how it is meant to work, but wanted to just suggest that this error message be improved.   When not given a .cs file or a directory, can it print out clearer instructions?
EDIT:  Or, alternatively, actually process csproj / sln files and format all the C# scripts inside them

I like the idea of allowing someone to pass a csproj/sln file, I created #399 for adding support for it.
Even with that implemented, if someone passes a path to csharpier that it can't format it should definitely let the user know.


Use a real dark for the dark accent

Summary

Right now, the sidebar has really low contrast compared to either the reference implementation or the old sidebar. This is because the "dark" color is actually white. This sets the dark color to a real dark color. (It was derived from Material algorithms at high contrast levels.)
Screenshots (optional)

Before:

After:

(That was a concept image and wasn't actually tested, I'll update this if it gets tested)
Documentation checklist

[ ] The documentation style guide has been adhered to.

Looks like that turns it pretty dark red / orange so it's illegible.

Let me convert this into an issue and then we can look at it from our side.

@kodster28 I believe this would be fixed if the icon was set to use the mode-independent --sl-color-text-accent (the same color the background is). However this would require further updating the Tailwind config to make it a color.


handle disconnected/redundant clients

In case the socket is not available in the current socket instance, send a disconnect event and remove it from the client list (The list that is maintained in memory.)
https://github.com/muke1908/chat-e2ee/blob/e08a23673a24cd41967c9d2d4dadb4ed1b39f0bf/backend/socket.io/index.js#L21
if(!socket)
->  delete the client form clientRecord
https://github.com/muke1908/chat-e2ee/blob/e08a23673a24cd41967c9d2d4dadb4ed1b39f0bf/backend/socket.io/clients.js#L1
-> Get receiver from the clientRecord, if avaiable, emit disconnect event receiverSocket.emit('on-alice-disconnect');
Ref: https://github.com/muke1908/chat-e2ee/blob/e08a23673a24cd41967c9d2d4dadb4ed1b39f0bf/backend/socket.io/listeners.js#L26

-> Get receiver from the clientRecord, if avaiable, emit disconnect event receiverSocket.emit('on-alice-disconnect');

Not able to understand this part

I just realized this issue is invalid. It's actually handled in https://github.com/muke1908/chat-e2ee/blob/3cae4cefcc94604b6c018216ec40c7e85d98c25f/backend/socket.io/listeners.js#L38

@nafees87n check if this is something you want to take a look on https://github.com/muke1908/chat-e2ee/issues/127

@muke1908 I am already working on that issue. Would you please assign it to me

@nafees87n write any comment on that issue (#127), then I would be able to assign you.


Vertical scaling of chart with alt + scroll

For navigation we can always use scroll to zoom horizontally, but not vertically. It would be fantastic to use alt+scroll to perform vertical scrolling.

Possibly related: #971


Set up staging ingestion server connection in Airflow

Problem

#3232 created a DAG for creating staging ES indices, which works by connecting to the staging ingestion server. In order to use the DAG we need to set up an Airflow connection to the staging ingestion server.
Description

First we should add an official DNS name to the staging data refresh server. Then we'll add the connection to Airflow using an Airflow variable AIRFLOW_CONN_STAGING_DATA_REFRESH.

This connection has been added!


Not working on ionic framework beta 14

TypeError: undefined is not a function
at angular.module.directive.compile (http://localhost:8100/js/vendor/ionic.swipecards.js:297:22)
at http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:101:300
at Z (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:101:356)
at J (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:90:484)
at g (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:83:9)
at http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:82:118
at $get.l (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:83:497)
at k (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:88:62)
at http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:266:148
at Object.fn (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:153:53)

Same problem here!

Is there any sort of update on this?

I think I found the error, but I'm not sure how to fix. see this post:
http://forum.ionicframework.com/t/how-to-update-ionic-ion-swipe-cards-to-beta-14-angular-1-3/15158

Just fixed it. Try master. Thanks!


How to get downloadUrls for Multiple files in firebase android?

storageReference = mRef.child("Images").child(mAuth.getCurrentUser().getUid()).child(image_name);
UploadTask uploadTask = storageReference.putBytes(data);
uploadTask.continueWithTask(new Continuation<UploadTask.TaskSnapshot, Task>() {
@Override
public Task then(@NonNull Task<UploadTask.TaskSnapshot> task) throws Exception {
return storageReference.getDownloadUrl();
}
}).addOnCompleteListener(new OnCompleteListener() {
@Override
public void onComplete(@NonNull Task task) {
if (task.isSuccessful()) {
Uri downloadUri = task.getResult();
//It will return the downloadUrl;
//If i tried to store them in the list
storeImageUrls.add(downloadUri.toString()); // storeImageUrls is a list
                                }
                            }

}
//If i upload different images to the storage then different images get uploaded but getting only 1 url and it get stored in the list.
So, if i upload 10 images, the images get uploaded but getting only 1 url stored like 10 images but same url for 10 images stored in the list.

I also has this condition


The Panda70M_HQ1M annotation file has captions mismatch with Panda-70M offical annotation file

I notice that the Panda70M_HQ1M.json released by Open-Sora-Plan has some differences with the Panda-70M offical annotation file (I downloaded Training (10M) csv file from Panda70M).
For example, the video id --SaHeTEmoE's captions in Panda70M_HQ1M.json  are:
  {
    "path": "panda70m_part_0/--SaHeTEmoE/--SaHeTEmoE_segment_0.mp4",
    "cap": [
      "A man with blue hair is standing on a wood floor in a library full of books."

    ],
    "size": 1099499,
    "resolution": {
      "height": 1080,
      "width": 1920
    },
    "fps": 25.0,
    "duration": 3.16,
    "display_aspect_ratio": "16:9"
  },

While in Training (10M) csv file from Panda70M, they are:
--SaHeTEmoE,https://www.youtube.com/watch?v=--SaHeTEmoE,"[['0:05:09.720', '0:05:12.040'], ['0:15:55.440', '0:15:58.840'], ['0:16:39.440', '0:16:45.320']]","['A couple of pictures of buses and people on the street.', 'A person is holding a stack of metal screws in their hand.', 'A close up of a person squeezing a blue block.']","[0.4765625, 0.4482421875, 0.4462890625]"

I haved checked the downloaded  Panda70M dataset, and found the Training (10M) csv file was correct in this case.
I am wondering if I have downloaded the wrong dataset that has the wrong video id, or there are some noises in Panda70M_HQ1M.json?

We use Training (full).
Each split from panda70m may have different timestamp.

Thanks for your quick reply. It has solved my problem perfectly.


Add amb operator

Add lisps amb for backtracking and stuff
Depends on #16

Actually should be possible to easily implement in common frontend.
amb builtin could use current evaluator to get its children histories and then choose the shortest one


Twig: Improve Getting Started Page

The Twig "Getting Started" Page essentially needs to be rewritten. I'd recommend the following structure.
Introduction
What is the Design System for Twig and when should it be used?
Usage with the ILO Base Theme
This should explain how to incorporate the Design System for Twig using the ILO Base Theme. The project README here is a good place to start drafting this.
Usage without the ILO Base Theme
Instructions on importing components directly from npm package.

@justintemps as discussed I've only kept the Drupal-related part for now. Please feel free to reorganize it as you see fit and/or merge it.

Reopening, as we still need to add the generic php section.

@justintemps I've created a follow up of this ticket here #1086. IMO we can merge this ticket's PR and close it.

Closed by #1065


[BUG] Member parser does not work in other channels then default text

The member parser does not parse the member when I use a slash command in for example an announcement channel.

In normal text channels it works fine.
My code:
@CommandController
public class Warn {
    @Command(value = "warn", desc = "Warn a member.")
    @Permission("{KICK_MEMBERS}")
    public void onWarn(CommandEvent event, @Param(name = "member", value = "The member to warn") Member user, @Optional("None") @Param(name = "reason", value = "The reason to warn the member") String reason) {
    }
}

as for version 3 (respectively version 2) this must be seen as a wontfix. However feel free to migrate to version 4 and start using interactions


Part-1 doesn't work on RPI-2

Hi Brian, thank you for your great work on this tutorial !
I'm quite new to Raspberry Pi programming and I apologize in advance if I misunderstood something in your tutorial.
 I tried your pre-build binary which is not working for me. I also tried to build the code for Rasperry PI (the old one) and it's working great.
I also noticed something strange :
The following is working on the RPI2 is waiting a few seconds before turning on the LED (which is normal) :
while(1)
{
for(tim = 0; tim < 5000000; tim++);
gpio[LED_GPSET] = (1 << LED_GPIO_BIT);
for(tim = 0; tim < 5000000; tim++);
//gpio[LED_GPCLR] = (1 << LED_GPIO_BIT);
}

Whereas , the following code is not working at all on the RPI2 (I have uncommented the instruction to turn off the LED) :
while(1)
{
for(tim = 0; tim < 5000000; tim++);
gpio[LED_GPSET] = (1 << LED_GPIO_BIT);
for(tim = 0; tim < 5000000; tim++);
gpio[LED_GPCLR] = (1 << LED_GPIO_BIT);
}

NB : The rest of the code is just like yours
NB2 : I've tested it with your start.elf and bootcode.bin AND the latest start.elf and bootcode.bin from RPI firmware.
Louis (Original Comment )

Hi Louis,
Sorry, I'm having trouble replicating this problem. I've just formatted an SD card (FAT32), and put the files from the tutorial's boot directory on the card as well as the pre-built binary from the part-1/armc-03/bin-rpi-2 directory... ...and, it works!
So I'm not sure how to understand what's going on. I'll carry on trying to break things here. Perhaps I can...
Thank-you for reporting the error.
If possible, can you forward me a compiled version that doesn't work? That way, I may be able to at least load a kernel image that doesn't work!
Best Regards,
Brian.

Could you share that binary image, Brian?

The kernel.img is in the repo already: https://github.com/BrianSidebotham/arm-tutorial-rpi/tree/master/part-1/armc-03/bin-rpi-2
Or do you want me to share a complete card image, i.e. dd if=/dev/sdb of=./rpi2-sdcard.img  ?

yes, complete card image would be great, for RPi2, with readme/info where each of the card files came from (version, url). Thanks!

Ok, no problem. Will sort that out

Hi,
Was this issue solved? I tried on a Pi2 too and had the following results:

It fails when the kernel.img file produced is put directly on the SD Card
It succeeds when the kernel.img file is wrapped into an u-boot uImage, and then kickstarted by u-boot (after obtaining the uImage via TFTP)...
When compiled in Windows using the IAR Embedded Workbench, I can place the generated binary directly on the SD Card, and it works then.

So from the above, the binary generated by my Linux build is correct, since it works when a uImage is generated from it, and therefore it must be related to how this image is loaded and kickstarted by the start.elf firmware?
When peeking into the .elf file using readelf, the entry point address is correctly set to 0x8000.
Any ideas ? Much appreciated!
KH Park.

I'm also having an issue similar to this on my RPi 2 Model B.
I haven't managed to get the LED flashing at all with any of the provided binary files, or my own compiled owns. I have also tried combinations of firmware.
One combination managed to get the LED to turn on and stay on, but when I tried to change the code to turn it off again, the LED just remains off.
Any ideas? It seems related to this issue. I'm fine to test and try out things if further troubleshooting is needed.
P.S. Do I need to have "#define RPI2 1" before the check to see if RPI2 is defined? Or is this something already defined?

@Sheepzez: The definition of the CPP symbol RPI2 is done in the .sh build script as -DRPI2

@Sheepzez Thanks for getting in touch via email. Now I have some time available we'll investigate this and get to the bottom of what's going on. These problems didn't exist before the RPI2, everything worked okay.
I'm sure we'll find out what it is. There is no stack initialisation in part-1, this was purposeful because it's something we do later in the tutorial, but perhaps the stack is being used and happens to work on some RPI and not on others. That is where I will be looking to begin with.
We have confirmed that identical code works on my RPI2, but not on @Sheepzez RPI2! So we're already closer!

Well, I just compiled and disassembled and found     8018:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!) which sucks! That means we'll have to set the stack pointer before running at least. Otherwise that's a sure fire way to go to an exception handler!
Let's do that and see if it fixes the issue. Who know's why the sp appears okay on my RPIs. I wanted to keep all of this out of part-1, but it's pointless keeping the necessary out!

I've just committed changes for part-1 which stop the code using the stack pointer so things look more sane now. Please test. I recompiled the binaries too.

Hi Brian, thanks for getting a prospective fix out so quickly! I'll test the code once I get home after work, about 6 hours from now.

Success! It successfully blinks when I compiled it myself using these flags:
-DRPI2 -O2 -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -march=armv7-a -mtune=cortex-a7 -nostartfiles -nostdlib -ffreestanding -g
I can also confirm that your pre-compiled binaries in bin-rpi-2 folder work as well.
Phew! It's been a lot of debugging work for that one-line fix, and @BrianSidebotham came up with it in a couple hours!

Ah, excellent! Thanks for your help @Sheepzez - it really helped! It's so much easier when someone can confirm the not-working to working state change! Your email coincided exactly with me having a bit of time spare.
Glad this issue is now fixed - now I can concentrate on putting the graphics code into a tutorial.

I made it under win8.1 using armc-02.There's no problem with Brian's code,My RPI2 works well,really.
I guess there's something wrong with Sheepzez's environment. Sheepzez uses -nostdlib which conflicts with Brian's spirit.We just want to reuse library,we don't want to deny other's prevous hard-working. What do you think, @BrianSidebotham ?


Timeout exception

I am getting the following error.  The CSS selector needs to be updated from what is in the code (it is now "a._1cr2e _epyes"), but that still does not solve it for me.
Any insights much appreciated!
Traceback (most recent call last):
File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 360, in
main()
File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 356, in main
authentication=args.authentication)
File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 119, in crawl
self.scroll_to_num_of_posts(number)
File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 171, in scroll_to_num_of_posts
(By.CSS_SELECTOR, CSS_LOAD_MORE))
File "C:\Users\QS-2 SARAH\Anaconda2\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
TimeoutException

**I have solved this issue. The CSS_LOAD_MORE should be "a._1cr2e._epyes"

thank you @sarahmichele  - thats works!


Start testing config v2 on our project

We'll need to activate the ALLOW_V2_CONFIG_FILE flag on the project

Flag is now set.


Custom builder on relation always returns the custom builder

Larastan Version: 0.5.5
--level used: max

Description
When calling a method on the builder instance of a relation whose model uses a CustomBuilder the return type is not inferred correctly. (With the exception of get())
Calls to e.g. ->count() and ->exists() have a return type of Relation<CustomBuilder> instead of int and bool respectively.
Laravel code where the issue was found
// tests/Features/ReturnTypes/CustomEloquentBuilderTest
public function testCustomBuilderMethodThroughRelationCount(): int
{
        $foo = new FooModel();

        return $foo->customModels()->count();
}

Gives the error:
Method Tests\\Features\\ReturnTypes\\CustomEloquentBuilderTest::testCustomBuilderMethodThroughRelationCount() should return int but returns Illuminate\\Database\\Eloquent\\Relations\\HasMany<Tests\\Features\\ReturnTypes\\ModelWithCustomBuilder>.

If we now remove the CustomBuilder from ModelWithCustomBuilder the code no longer throws an error.
Similar errors are given for other methods that do not return a builder instance but a primitive type, .e.g ->exists(), ->pluck($column)
Full code to reproduce

<?php

declare(strict_types=1);

namespace Tests\Features\ReturnTypes;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

class CustomEloquentBuilderTest
{
    public function testCustomBuilderMethodThroughRelationCount(): int
    {
        $foo = new FooModel();

        return $foo->customModels()->count();
    }
}

class FooModel extends Model
{
    public function customModels(): HasMany
    {
        return $this->hasMany(ModelWithCustomBuilder::class);
    }
}

class ModelWithCustomBuilder extends Model
{
    /**
     * @param \Illuminate\Database\Query\Builder $query
     *
     * @return CustomBuilder<ModelWithCustomBuilder>
     */
    public function newEloquentBuilder($query): CustomBuilder
    {
        return new CustomBuilder($query);
    }
}

/**
 * @template TModelClass
 * @extends Builder<TModelClass>
 */
class CustomBuilder extends Builder
{
}

@Daanra Help is coming!

Thank you both!


UI Buttons Bug

The machine UI has a very strange bug. The buttons that control electricity I/O can still be clicked even when you're in a different tab.
Video here: https://streamable.com/33kznn

Duplicate of https://github.com/Mixinors/Astromine/issues/297.


hscript errors or something

Describe your problem here.
hi. so i got a compile error and i don't know how to fix it.
source/psychlua/HScript.hx:42: characters 22-27 : Too many arguments
source/psychlua/HScript.hx:38: lines 38-50 : Missing super constructor call
can someone pls help me?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope, just started compiling for the first time (except removing the ReturnValue from the "funk.hscript" in HScript.hx)

sorry having the same issue too

fixed it

HOW did you fix it dont just say fixed it


Switch to .NET Core totally

IL2C.Core supports both netstandard20 and net45.
Command line runner switch .NET 45 project to .NET Core's netcoreapp20 and net45.


Can't install a new KDE theme

Describe the bug
Downloading and installing KDE look-and-feel themes fails silently.
To Reproduce
Steps to reproduce the behavior:

Open System Settings -> Look and Feel
Click "get new look and feel themes"
Click "install" on any theme. Wait for installation to finish.
Notice that no new theme has actually been installed.

Expected behavior
The theme would be installed.
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

system: "x86_64-linux"
host os: Linux 5.3.18, NixOS, 20.03pre206632.b0bbacb5213 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.1
channels(jon): "home-manager, nixpkgs-20.03pre203529.e8f2764fe8d"
channels(root): "nixos-20.03pre206632.b0bbacb5213"
nixpkgs: /home/jon/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

A peek into my logs reveals this error:
org.kde.knewstuff.core: Command ' "kpackagetool5 -t Plasma/LookAndFeel -i /tmp/Sweet.tar.gz" ' failed with code 4

And when I try to run that command manually, I get:
Error: Installation of /tmp/Sweet.tar.gz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1294011'

Same. Seems it has trouble getting the dependencies. Here's my info, if it matters:
nix run nixpkgs.nix-info -c nix-info -m

system: "x86_64-linux"
host os: Linux 5.4.6, NixOS, 19.09.1686.69ed29f5f41 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Also getting this on 19.09. Look related to this:
https://www.reddit.com/r/kde/comments/bp2r8h/cant_install_look_and_feel_themes/

I'm going to guess

Also getting this on 19.09. Look related to this:
https://www.reddit.com/r/kde/comments/bp2r8h/cant_install_look_and_feel_themes/

According to that link rolling back to frameworkintegration-5.57.0-1 fixed the issue.
I have the bug on current nixos unstable in 20.03pre which uses framework-integration-5.64.0.

Can also confirm that I am having the same issue.

ditto

I am not a NixOS user and wasn't able to find out where you store your knsrc files, but while trying Kubuntu and OpenSUSE I got this problem (but for a GTK3 theme dependency). In Arch, where I don't have this problem, the files are stored in /etc/xdg/ whereas in the troublesome distributions they where stored in /usr/share/knsrcfiles/. After making them available in /etc/xdg/ this problem was solved.
I don't know if this is a bug in KDE or in the distributions, just thought I share this.

This issue is still present as of today

Checking in here, issue is still present.

Finally had some time to look into this.
knsrcfiles Path
My comment above is inaccurate, the new path (including in Arch) is: /usr/share/knsrcfiles/. /etc/xdg/ is a legacy path that still works: https://phabricator.kde.org/D21259
Error
This might be more than one issue, as @JonathanReeve above had problems with colorschemes.
To check for which specific error you get, download the look-and-feel theme (now called global theme) FILENAME.tar.xz and run:
kpackagetool5 -t Plasma/LookAndFeel -i FILENAME.tar.xz

Error with GTK2/3 Themes
The problem (for me) was that the filename for the GTK2/3 themes had changed from cgctheme.knsrc and cgcgtk3.knsrc to gtk2_themes.knsrc and gtk3_themes.knsrc: https://phabricator.kde.org/D26717
As a workaround one can make a copy with the old filenames, e.g.,:
sudo cp /usr/share/knsrcfiles/gtk2_themes.knsrc /usr/share/knsrcfiles/cgctheme.knsrc
sudo cp /usr/share/knsrcfiles/gtk3_themes.knsrc /usr/share/knsrcfiles/cgcgtk3.knsrc

Solution for GTK2/3 Themes
The real solution is to update old themes. The global theme include a metadata.desktop file which includes one line with dependencies, e.g.:
X-KPackage-Dependencies=kns://cgcgtk3.knsrc/api.kde-look.org/IDNUMBER,...

which should be updated to:
X-KPackage-Dependencies=kns://gtk3_themes.knsrc/api.kde-look.org/IDNUMBER,...

For whatever reason, my mimeapps.list seems to be messed up. What program should open the kns:// protocol URIs?

I managed to understand the cause of the malfunction, but I'm new NiX user, so I don't know how to fix it correctly.
When installing the theme kpackagetool tries to install the dependencies, which are described in the package by links in the form of kns://. To handle such links, the knshandler plugin was created. This plugin is part of the frameworkintegration package.
As far as I understood, the path to search the knshandler is hard-coded to the installation location of the kpackage package. As a result, on NixOS the search for knshandler occurs along the following path
<hash>-kpackage-<version>/libexec/kf5/kpackagehandlers/knshandler.
But rigth path is:
<hash>-frameworkintegration-<version>/libexec/kf5/kpackagehandlers/knshandler
I didn't find solution to change search direction without code changes. For test purposes was created symbolic link from -kpackage-/libexec to hash>-frameworkintegration-/libexec.
akazakov@werf> ls -al /nix/store/jl55h46yf5fgh0lmz7gf3ickg8f98fam-kpackage-5.73.0                                                                                /nix/store
total 4
dr-xr-xr-x 1 root root        30 Feb  8 17:08 .
drwxrwxr-t 1 root nixbld 1080160 Feb  8 17:25 ..
dr-xr-xr-x 1 root root       114 Jan  1  1970 lib
lrwxrwxrwx 1 root root        79 Feb  8 17:08 libexec -> /nix/store/lnbhlm8a9c8xvqkr8j9l3d64dsh3kwvw-frameworkintegration-5.73.0/libexec
dr-xr-xr-x 1 root root        12 Jan  1  1970 share

Everything works without any troubles but it can't be normal solution.
There are no problem on the traditional Linux distributions i think.

Well, I also tried to make a link from kpackage to frameworkintegration, but it didn't seem to work. Now the most common error I have in strace is:
536613 access("/nix/store/ln5w42yb97m7sz2vyxr7jvc69ksvach6-frameworkintegration-5.80.0/libexec/kf5/kpackagehandlers/qt.conf", F_OK) = -1 ENOENT (No such file or directory)
536613 access("/nix/store/ln5w42yb97m7sz2vyxr7jvc69ksvach6-frameworkintegration-5.80.0/libexec/kf5/kpackagehandlers/bearer/.", F_OK) = -1 ENOENT (No such file or directory)

I have the problem too.
Installation of /tmp/pNjiBY-Edna-Light.tar.gz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1528959'

Same issue:
Installation of /tmp/WvprPu-com.github.vinceliuice.Fluent-dark.tar.xz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1499840'

Same issue:
Installation of /tmp/clEouS-Sweet.tar.xz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1294011'

Same issue:
Installation of /tmp/lTvbYf-Ant-Dark.tar.xz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1464285'

still happening

Still happening here too.
nix run nixpkgs.nix-info -c nix-info -m

system: "x86_64-linux"
host os: Linux 5.17.3, NixOS, 21.11 (Porcupine)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.16
channels(root): "nixos-21.11.337100.7b38b03d76a"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

yep, still happens on 22.05pre

When installing the theme kpackagetool tries to install the dependencies, which are described in the package by links in the form of kns://. To handle such links, the knshandler plugin was created. This plugin is part of the frameworkintegration package.
As far as I understood, the path to search the knshandler is hard-coded to the installation location of the kpackage package. As a result, on NixOS the search for knshandler occurs along the following path <hash>-kpackage-<version>/libexec/kf5/kpackagehandlers/knshandler.
But rigth path is: <hash>-frameworkintegration-<version>/libexec/kf5/kpackagehandlers/knshandler

yes. this works:
kde_version=$(kdeinit5 --version | grep KDE | cut -d' ' -f2)
knshandler=$(ls /nix/store/*-frameworkintegration-$kde_version/libexec/kf5/kpackagehandlers/knshandler | head -n1)
$knshandler kns://colorschemes.knsrc/api.kde-look.org/1528959

installing...

also this works, the message is just a warning:
$knshandler kns://colorschemes.knsrc/api.kde-look.org/1473366

installing...
kf.newstuff.core: Could not determine type of archive file ' "/tmp/MNngcQ-RedDotBlackDarkColor.colors" '

the other knshandler seems gone
find /nix/store/*kpackage* -name knshandler

trace trace trace ...

brute force ...
find /nix/store/ -name knshandler

nope
strace!
strace -f -v systemsettings 2>&1 | tee trace.txt

this is trying to open
/nix/store/*-kpackage-5.94.0/libexec/kf5/kpackagehandlers/knshandler
but no such file
metadata of installed themes are in ~/.local/share/knewstuff3/
handler programs are defined in
/nix/store/*-plasma-workspace-5.24.5/share/knsrcfiles/
~/.local/share/knsrcfiles/
/nix/store/*-systemsettings-5.24.5-bin/share/knsrcfiles/lookandfeel.knsrc
grep -hr Command /nix/store/*-plasma-workspace-5.24.5/share/knsrcfiles/
AdoptionCommand=plasma-apply-cursortheme %f
AdoptionCommand=plasma-apply-lookandfeel --apply %f
AdoptionCommand=plasma-apply-wallpaperimage %f
AdoptionCommand=plasma-apply-wallpaperimage %f
AdoptionCommand=plasma-apply-colorscheme %f
AdoptionCommand=plasma-apply-desktoptheme %f
AdoptionCommand=/nix/store/lrvjmfpl6jds4xbyzpq2yi7d2pnva0ai-plasma-workspace-5.24.5/libexec/plasma-changeicons %d

hmm. lets grep for the error message
grep "Could not install dependency" -r /nix/store/*kpackage*

grep: /nix/store/0s3jv0a4p7aqqkwnfnpz79qnamhz042q-kpackage-5.84.0/share/locale/sv/LC_MESSAGES/libkpackage5.mo: binary file matches
grep<EMAIL_ADDRESS>binary file matches
grep<EMAIL_ADDRESS>binary file matches
...

better : )
kde_version=$(kdeinit5 --version | grep KDE | cut -d' ' -f2)
ls /nix/store/*-kpackage-$kde_version* -d

/nix/store/mij35ir9d5zgfg1qkg1n4kvr9g3w1kpm-kpackage-5.94.0-bin
/nix/store/y0snsnbq4ixa3wcs6wfalinwlgfm9l88-kpackage-5.94.0

so probably, the problem is in
/nix/store/*-kpackage-5.94.0/lib/libKF5Package.so

I still get
Erreur : l'installation de /home/niels/Téléchargements/KDE/kde-store-archives/global-theme/catppuccin.tar.gz a échoué : Impossible d'installer la dépendance : « kns://colorschemes.knsrc/api.kde-look.org/1690362 »
same in terminal or in global theme settings.
on NixOS unstable

Any updates? Same here :(

in systemsettings
installing "plasma style" works for me with nixpkgs b00aa8ded743862adc8d6cd3220e91fb333b86d3
also works for the catppuccin themes
("scratchy" dark theme and "itchy" light theme)
removing themes fails with

removing theme failed: error: plugin x is not installed

I want to install Edna theme, Its a fresh install of my NixOs (minimal version) and a simple theme install fail 🥲 any workaround? Manually install dont work too...

Can confirm that this now better works on my end

kde 6 same issues

Issue is still present on KDE6 on Ubuntu 24.10


'Add' is not translated on Manage Access dialog for one ADLS Gen2 blob container

Storage Explorer Version: 1.10.1
Build: 20190926.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Language: Chinese (zh-TW) / Chinese (zh-CN)
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer using the command 'StorageExplorer.exe --lang=zh-CN'.
Expand one ADLS Gen2 storage account -> Blob Containers.
Right click one blob container -> Select 'Manage Access...'.
Check the 'Mange Access' dialog.

Expect Experience:
'Add' is translated.
Actual Experience:
Add' is not translated.

More Info:

The strings Other & Mask on the dialog are not translated.
This issue also reproduces on 'Update Access Tier' dialog for one Storagev2 account.

Do translate: the buttons
Don't translate: Mask and Other, Hot and Cool

These two buttons translated at 10/3/2019.
File: loc\en\src\components\se-adls2-extension\resources\ManagePosixAcl.json
ID: 0; "LabelAdd"
SRC: Add
TGT: 添加
File: loc\en\src\components\se-az-copy-extension\resources\Copy.json
ID: 0; "ApplyToOneConflictButton"
SRC: Apply
TGT: 应用

Both dialogs are now using localizeable strings. Any further bugs for them should be new "translation" bugs.


Should we have guidance to locate ungoverned along with Orphaned resources?

The guidance for orphaned resources is good but we should also call out you may have ungoverned resources that are not orphaned just ungoverned.
P0 - bring all subscriptions and resources into governance that are ungoverned.  Help the customer locate these.
P1 - bring all orphaned subscriptions and resources into governance or decommission them.  Help the customer locate these.
We should define what we consider a ungoverned subscription and resource.

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

ID: 5e12b36c-a12d-2e9c-88db-c9e6f7edecbe
Version Independent ID: 5e12b36c-a12d-2e9c-88db-c9e6f7edecbe
Content: Resource consistency in the Cloud Adoption Framework for Azure - Cloud Adoption Framework
Content Source: docs/govern/resource-consistency/overview.md
Service: cloud-adoption-framework
Sub-service: govern
GitHub Login: @RobBagby
Microsoft Alias: robbag

Thank you for your feedback.  We have created internal ticket 37619 to track and investigate this issue.

#please-close


[quick_actions] Enable for Android emulators

We had this test running in Android emulators, but in late December it suddenly became incredibly flake (like, <25% pass rate, maybe even <10%). This change seemed to be out-of-band, and about the same time as what's described in https://github.com/flutter/flutter/issues/140987 and with similar effect (but in a different integration test), so it may have the same underlying cause. Even if so though, we don't know what that underlying cause actually is (i.e., why we suddenly needed to add code to file_selector_android tests to dismiss dialogs, and what those dialogs were).
Unfortunately the failure log doesn't tell us much:
> Task :app:connectedDebugAndroidTest
Starting 3 tests on android_34_google_apis_x64(AVD) - 14

io.flutter.plugins.quickactionsexample.QuickActionsTest > appShortcutLaunchActivityAfterStarting[android_34_google_apis_x64(AVD) - 14] FAILED
	java.lang.AssertionError: AppShortcut:action_one does not launch the correct activity
	at org.junit.Assert.fail(Assert.java:89)
Tests on android_34_google_apis_x64(AVD) - 14 failed: There was 1 failure(s).

> Task :app:connectedDebugAndroidTest FAILED

I'm opting this package out of emulators again for now to get the tree back to a functional state. (It will continue to run on devices via FTL.)

@stuartmorgan do you know if the flake has been re-produced anywhere except our ci? It sounds like it doesn't reproduce in FTL, but I'm unaware if anyone has reproduced it locally

dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --android --no-unit --packages=quick_actions_android should be the command to test this with a local checkout.
However that command it failing for me because we are targeting java 8 and the ability to target java 8 is about to be removed (similar to https://stackoverflow.com/questions/64791058/warning-options-source-value-7-is-obsolete-and-will-be-removed-in-a-future-re) and someplace we set -Werror  so the build fails.

@stuartmorgan do you know if the flake has been re-produced anywhere except our ci? It sounds like it doesn't reproduce in FTL, but I'm unaware if anyone has reproduced it locally

I don't think so, but I don't know that anyone else has tried to repro it yet. There were a few layers of problems that built up in the packages tree over break so we've been slowly digging our way out and only recently got to this one.

watch --errexit "/Users/reidbaker/packages/packages/quick_actions/quick_actions_android/example/android/gradlew app:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=io.flutter.plugins.DartIntegrationTest --no-configuration-cache --continue --warning-mode=summary -D=org.gradle.java.home=/Applications/Android\ Studio\ with\ Blaze\ Beta.app/Contents/jbr/Contents/Home/"
Command to repeatedly run the tests over and over on my machine

I ran this for 3h this morning in a loop with no flakes. There is good evidence that the test flakes but I think something about either the emulator, or the environment is critical for making the flake happen often.


adding another google tag id

see here for context: https://dlthubinc.slack.com/archives/C05409H5X0W/p1682429538342249

@rudolfix can you review, so we can unblock Anna?


[Bug] VPC flow logs are not configured properly

Describe the bug
The 'initial-stack' CloudFormation stack generated to onboard an account to Service Workbench includes the following definition for a VPC-wide log group:
  FlowLogVPC:
    Type: AWS::EC2::FlowLog
    Condition: enableFlowLogs
    Properties:
      ResourceId:
        Ref: VPC
      ResourceType: VPC
      TrafficType: ACCEPT
      DeliverLogsPermissionArn:
        Fn::GetAtt:
          - CrossAccountRoleEnvMgmt
          - Arn
      LogGroupName: VPCLogGroup
      LogFormat: ${version} ${vpc-id} ${subnet-id} ${instance-id} ${srcaddr}
        ${dstaddr} ${srcport} ${dstport} ${protocol} ${tcp-flags} ${type}
        ${pkt-srcaddr} ${pkt-dstaddr}

A log group named VPCLogGroup doesn't exist (potentially this is meant to be !Ref VPCLogGroup, and a separate definition created for that log group?), and the CrossAccountRoleEnvMgmt role only has access to create/put to a log group with a namespaced name, which won't match the name VPCLogGroup:
              Effect: Allow
              Action:
                - logs:CreateLogGroup
                - logs:CreateLogStream
                - logs:PutLogEvents
              Resource:
                - Fn::Sub: arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:${Namespace}-*:*
                - Fn::Sub: arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:${Namespace}-*:log-stream:*

To Reproduce
Steps to reproduce the behavior:

Install Service Workbench
Onboard at least one AWS account
Verify, on the initial-stack-0000000000000 VPC, that:

the 'Destination name' for the VPC flow logs setting is VPCLogGroup,
a CloudWatch log group by that name doesn't exist, and
the IAM role attached to the flow log setting (initial-stack-0000000000000-xacc-env-mgmt) doesn't have create or put access for a log group called VPCLogGroup

Expected behavior
Flow logs configuration to use a namespaced log group, and VPC flow logs to flow through to it.
Screenshots

Versions (please complete the following information):

5.0.0

Additional context
The same problem looks to exist for PublicSubnet1LogGroup as well.

Thanks for reporting this. A pull request has been created for the fix.

Closing as fix has been merged.


Official documentation should be official

Re: the IIS cert creation instructions - It's great to include a link to an external resource in a See Also (or something similar) section, but official documentation should link to official documentation. If IIS has no official documentation for cert creation, that should be fixed.

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

ID: bd0775e7-299f-5980-f788-f94b95c54183
Version Independent ID: 361225e7-8900-cf9e-558b-535c671ece1a
Content: Cloud Services and management certificates
Content Source: articles/cloud-services/cloud-services-certs-create.md
Service: cloud-services
GitHub Login: @jpconnock
Microsoft Alias: jeconnoc

Thanks for the feedback! We are currently investigating and will update you shortly.

@grdoor Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

As a best practice, it would be great to have official documentation to cover this use case.  However, the linked article does a good job of walking the user through the required steps.  I'll leave the article as it is, but am willing to add a link to an official article if one is found.  Thanks!
#please-close


[Bug] IPv6 feature is not working

xCloud still connects to IPv4 server

What is it to see if it works on edge?
For Windows 11 you have to use canary for kiosk mode to work btw

I don't have Windows so I'm not sure. Maybe it's also chrome://webrtc-internals?

I mean to see if the IPv6 works on the Edge browser.
The other thing is just a reminder about kiosk mode

Have you tried openning chrome://webrtc-internals in Edge?
I'll add a feature to show "IPv6" and "HQ stream" statuses in the future.

Fixed in 1.3.2


rescale multiplicative update to avoid fp16 blowup

The multiplicative update multiplies these two matrices a and b with std of ~100, so the product has huge std of like 10k, which overflows fp16. We just follow this by a layer norm, so it is exactly equivalent (up to numerics) to rescale a and b; scaling by their std is natural and seems to fix the overflows.


ACCUMULO-4654 Added the ability to continue balancing even if there a…

…re pending migrations.  Also added detection for tables that have been continuously migrating for over an hour.

The description of this change makes me wonder if this is intended as a band-aid. It reads as those the root issue is that the Master orphans migrations (which causes problems in the balancer). Are we solving the right problem?

I do not believe we have orphaned migrations (that would be a bug).  Our problem is migrations that hang or should I say take a very long time (perhaps hours) because the tablet being migrated is in the process of being compacted.

Our problem is migrations that hang or should I say take a very long time (perhaps hours) because the tablet being migrated is in the process of being compacted.

Ahh, ok. Thanks for clarifying. I was assuming that migrations sitting around for order-hours was a bug :)

@ivakegg, I am seeing a similar issue where migrations are not happening but it is not compactions hold them up.  Still investigating, but it leads me ask if this should be configurable.  I fear this patch would hide the issue I am seeing.

It is configurable via HOST_BALANCER_OUTSTANDING_MIGRATIONS_KEY

ah, so if I set that 0 it is old behavior?  Thanks @ivakegg

Correct

Awesome, so perhaps that can be the default instead of 500?  I may have more to add if I ever figure out what I am seeing elsewhere.

Ok, I can do that.  However this has proven to work very well so it seems a shame to deliver this feature disabled.

Well, it is proven to work in your case which I think is compactions.  So when the compaction finishes, the tablet eventually migrates.  Is that accurate?  I am thinking my issue is different and the tablet will never migrate without a tactical 'kill -9' of the tserver that can't unload it.

Agreed that the default should be the old behavior in the 1.x releases. We can change the behavior in the 2.x release line and it should be noted in the 2.0 release notes.

Latest commit causing build to fail with test failure at:
HostRegexTableLoadBalancerReconfigurationTest.testConfigurationChanges:83 expected:<5> but was:<0>

Haven't looked at the content of the PR yet, but one initial observation: please follow git log message formatting conventions separating title/subject from body. Here's one summary of those conventions. Following these conventions make lots of git tools happy (such as git log --oneline).

@ctubbsii OK, I reworked the git comments on all of my pull requests

OK, I am going to attempt to merge this tomorrow unless anybody has more comments....

Merged into 1.8 branch and merging up into master (2.0)

@ivakegg next time (If you are unaware of it, sorry if you are already), the following is a nice little trick to clean things up for you upon merge :)
https://help.github.com/articles/closing-a-pull-request/

@joshelser Thanks...that happens to be exactly what I did.

lol, i'm sorry -- I meant to send you https://help.github.com/articles/closing-issues-using-keywords/ :)

I also did that in the commit message, however it did not close automatically for me.  I am guessing this is because this pull request is a request to merge into the mirror at https://github.com/apache/accumulo.git instead of https://git-wip-us.apache.org/repos/asf/accumulo.git.  However it could also be that I did not wait long enough for the mirror to get the update.  I will try again with my next merge (doing ACCUMULO-4643 now)


[Event Request] Codeunit 5790 Available to Promise - OnBeforeCalcGrossRequirement

Hi, in the Codeunit 5790 "Available to Promise", in the procedure CalcGrossRequirement, we would like to add our code instead of the standard code in the procedure. To do so, we would need a IsHangled flag in the already existing event publisher OnBeforeCalcGrossRequirement, like this :

With this event publisher :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add traverse kwarg to delayed

By default dask traverses builtin python collections looking for dask
objects passed to delayed. For large collections this can be
expensive. This PR adds a keyword traverse to delayed, to tell
dask to avoid doing this traversal.
Fixes #1884.

Should be good to go now.

Merging soon if no comment.


Combining a stacked and unstacked chart

I'm trying to create a v2.0 chart which has a stacked bar chart and an unstacked line chart on the same chart but at the moment all I've managed to create is a chart where both datasets are stacked.  This seems to be because the stacked option is on the scale rather than the dataset.  Here's an example showing both sets stacked:
https://jsfiddle.net/45wpjtsu/1/
I've worked around this for now by creating my own line chart type and scale that basically ignore the stacking for the line chart but I wonder if there's a better way to do this?

As the stack option is applied to the yaxes, I would advice to create a second vertical axe that would not be stacked and to associate the line charts to this new axe.
V2 supports multiple axes, but I sadly did not got time to learn howto. I hope the documentation could guide you through.
http://nnnick.github.io/Chart.js/docs-v2/#scales

I tried this but I ended up with 2 axes on the chart which wasn't all that user friendly.  Ideally I'd like a single set of vertical axes with a scale chosen to match both sets of data.  Any idea if this is possible?

Closing. The two axis solution is the recommended solution at this point. You could figure out what the axis max will be ahead of time and set that as the suggestedMax on both axes to ensure that they have the same scaling.
Then hide the 2nd axis and it will work as expected.


[Bug]: replica cluster switchover doesn't work when only object store replication is configured

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
<EMAIL_ADDRESS>Version
1.23.1
What version of Kubernetes are you using?
1.27
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
I have created 2 cluster Primary and Replica.Replica cluster is created from object storage s3.
I have inserted data into primary cluster and data is successfully  replicated into the Replica Cluster.After that I followed below steps,

Updating the Primary Cluster  by making
replica:
enabled: true
Updating the Replica Cluster by making
replica:
enabled: false.

I can see the status is changed from  Designated primary to Primary for replica cluster and also vice versa.
The issue which I am facing , when I inserted the data into new primary , data is not replicating into the replica cluster.
Cluster resource
----Primary Cluster---

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name:  primary-cluster-example
  namespace: primary
spec:
  instances: 2
  storage:
    size: 1Gi
  enableSuperuserAccess: true
  superuserSecret:
    name: superuser-secret
  backup:
    barmanObjectStore:
      destinationPath: s3://backup/primary/
      endpointURL: http://seaweedfs-s3.locals3.svc.cluster.local:8333
      s3Credentials:
        accessKeyId:
          name: primary-cluster-example-secret-s3
          key: ACCESS_KEY_ID
        secretAccessKey:
          name: primary-cluster-example-secret-s3
          key: ACCESS_SECRET_KEY
      wal:
        compression: gzip
        encryption: AES256
        maxParallel: 8

  replica:
    enabled: false
    source: secondary-cluster-example

  externalClusters:
    - name: secondary-cluster-example
      barmanObjectStore:
        destinationPath: s3://backup/secondary/
        endpointURL: http://seaweedfs-s3.locals3.svc.cluster.local:8333
        s3Credentials:
          accessKeyId:
            name: primary-cluster-example-secret-s3
            key: ACCESS_KEY_ID
          secretAccessKey:
            name: primary-cluster-example-secret-s3
            key: ACCESS_SECRET_KEY

--Replica Cluster--------------------

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name:  secondary-cluster-example
  namespace: secondary
spec:
  instances: 2
  storage:
    size: 1Gi
  enableSuperuserAccess: true
  superuserSecret:
    name: superuser-secret
  backup:
    barmanObjectStore:
      destinationPath: s3://backup/secondary/
      endpointURL: http://seaweedfs-s3.locals3.svc.cluster.local:8333
      s3Credentials:
        accessKeyId:
          name: secondary-cluster-example-secret-s3
          key: ACCESS_KEY_ID
        secretAccessKey:
          name: secondary-cluster-example-secret-s3
          key: ACCESS_SECRET_KEY
      wal:
        compression: gzip
        encryption: AES256
        maxParallel: 8

  replica:
    enabled: true
    source: primary-cluster-example

  bootstrap:
    recovery:
      source: primary-cluster-example

  externalClusters:
    - name: primary-cluster-example
      barmanObjectStore:
        destinationPath: s3://backup/primary/
        endpointURL: http://seaweedfs-s3.locals3.svc.cluster.local:8333
        s3Credentials:
          accessKeyId:
            name: secondary-cluster-example-secret-s3
            key: ACCESS_KEY_ID
          secretAccessKey:
            name: secondary-cluster-example-secret-s3
            key: ACCESS_SECRET_KEY

Relevant log output
no such logs I can see.

Code of Conduct

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

Hi @sujitkagarwal. Unfortunately, the demotion doesn't work at the moment when you are only using the object store to feed the replica cluster. This behavior is due to how PostgreSQL archives the last wal during the shutdown; see https://github.com/cloudnative-pg/cloudnative-pg/issues/4586 for the details. We are working on a fix.

@mnencia  Do you know when new version will be released 1.24 with partial fix

Jul 16 - see: https://github.com/cloudnative-pg/cloudnative-pg/milestone/22


The type of the "toBeDeleted" object should be an interface such as "List"

Describe the technical debt
A clear and concise description of what the technical debt is.
Location: services/TrackDeleteService.java
Proposed solution
If applicable:

add logcat output

Technical information

Device: [e.g. Nexus 7 (2013)]
OS: [e.g. LineageOS 15.1]
OpenTracks version: [e.g. v3.2.4]
OpenTracks commit id (only for nightly builds): [e.g. 4b333bb]

Proposed Solution:
Changed the type of toBeDeleted from ArrayList to List so a wider range of objects can be passed and type-caste it to Arraylist to preserve the functionality of the code.


Us103 create ce mandatory event dates

Motivation and Context

This change is required to test the new functionality of adding collection exercise mandatory event dates.
What has changed

Added feature for creating collection exercise mandatory event dates along with scenarios and steps for these. Added a survey controller to get survey details using short name.

How to test?

Ran the branch in response-operations-ui with the tests.

Links

[Trello] https://trello.com/c/ZPLXdgU8

https://github.com/ONSdigital/response-operations-ui/pull/190

 US103: INT User to Input Mandatory Event Dates After R17/18 (L)

@gemmai95 you're leaving your dump https://github.com/ONSdigital/rasrm-acceptance-tests/pull/141/files#diff-dc7b001ac23e7000b6ff751ccac9f5e3 in the repo 😄

@benjefferies Whoops assumed it was in the .gitignore


Fix: Array to string conversion in Zend\Log\Writer\Db

Fix for issue #7244 where Zend\Log\Writer\Db can trigger an array to string conversion.
Because the method eventIntoColumn has the same issue as mapEventIntoColumn, I applied the patch to eventIntoColumn as well.

Please don't merge this yet. I am looking into a better approach for this by changing Zend\Log\Formatter\Db and have it use Zend\Log\Formatter\Base::normalize() which seems to created for this specific issue (Normalize all non-scalar data types (except null) in a string value).

Nevermind, my other idea won't work, because the formatter is unaware of the database columns and therefore does not know if an array should be converted to string.

Merged to develop for release with 2.4.


This is available in Azure SQL DB but is marked as not available.

See title.

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

ID: b68d236e-10a5-95a3-bb8d-e2829a0b7229
Version Independent ID: 6dee421e-98a7-8645-381f-81f959a0ee4f
Content: sp_table_privileges (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-stored-procedures/sp-table-privileges-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

@LuisGonzalezLT -- Luis, thank you for your feedback.  I have updated the documentation and it should be live by tomorrow.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Add a cmake option to make flashfetch targets optional

Introduces the -DBUILD_FLASHFETCH='ON'/'OFF' build option so one can skip the flashfetch target (both from executable and install targets, option at ON by default to preserve compatibility with the current default behavior).
This is useful when distributing pre-built downstream packages (e.g. for Linux distributions packaging fastfetch) as building and shipping the flashfetch binary in such pre-built packages serves little to no purpose.

Thanks!


cargo install fails on windows

error[E0433]: failed to resolve: could not find `unix` in `os`
 --> C:\Users\mk\scoop\persist\rustup-msvc\.cargo\registry\src\github.com-1ecc6299db9ec823\gptcommit-0.1.0\src\actions\install.rs:4:27
  |
4 |     process::Command, os::unix::prelude::PermissionsExt,
  |                           ^^^^ could not find `unix` in `os`

error[E0599]: no function or associated item named `from_mode` found for struct `Permissions` in the current scope
  --> C:\Users\mk\scoop\persist\rustup-msvc\.cargo\registry\src\github.com-1ecc6299db9ec823\gptcommit-0.1.0\src\actions\install.rs:45:64
   |
45 |     fs::set_permissions(&prepare_commit_msg_path, Permissions::from_mode(0o755))?;
   |                                                                ^^^^^^^^^ function or associated item not found in `Permissions`

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `gptcommit` due to 2 previous errors
error: failed to compile `gptcommit v0.1.0`, intermediate artifacts can be found at `C:\Users\mk\AppData\Local\Temp\cargo-installdYv1GZ`

Hey @grayfallstown, looks like #3 is merged. Can we close this issue?

Yes


Fix of wrong link

@Gorlanson i can see hackerone exodus is still available

Yea, but it is not an Exodus bug bounty program, as i see in the scope, it is an Exmo bug bounty program, which is hosted on other website.


Custom Model Client class support for 'auto' speaker selection in Group Chat

Why are these changes needed?
If you are you using a custom model client class  and want to use it for the the inner speaker selection chat when using auto speaker selection, it isn't possible at the moment as it uses the GroupChatManager's config by default.
This addresses this bug by registering the custom model client class during the creation of the inner speaker_selection_agent.
To assign a custom model client class and config to the inner auto speaker selection agent you need to register the config and client class with the GroupChat object, see example below.
# Import your custom model client class
from mycustommodelclient import MyCustomModelClient

# Example llm_config
custom_llm_config = {
    "config_list":
    [
        {
            "model_client_cls": "MyCustomModelClient",
        }
    ]
}

# Updated GroupChat creation with config and client classes registered
gc = GroupChat(
    agents=[mark, alexandra, elizabeth],
    speaker_selection_method="auto",
    allow_repeat_speaker=False,
    select_speaker_auto_verbose=True,
    select_speaker_auto_llm_config=custom_llm_config,
    select_speaker_auto_model_client_cls=MyCustomModelClient,
    max_round=5,
    messages=[]
)

Two new properties exist:

select_speaker_auto_llm_config: Set this to your llm_config
select_speaker_auto_model_client_cls: Set this to the class of your custom model client

Documentation update to come.
Related issue number
Raised by Jason_DataScience on Discord.
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[X] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[X] I've made sure all auto checks have passed.

@marklysze have you tested this PR.

Hey @Hk669, yes, I've tested it and also passes pytest :)

@Hk669 Have you finished testing? Thank you!


Incorrect resolving of prettier config

Prettier uses following logic for resolving config:

The configuration file will be resolved starting from the location of the file being formatted, and searching up the file tree until a config file is (or isn't) found.

Plugin should resolve config of each file using command prettier --find-config-path ./my/file.js
This causes issues when I use following project structure:
|- node_modules/
|  |- prettier/
|- packageA/
|  |- src/
|  |  |- index.js
|  |- prettier.config.js
|- packageB/
|  |- src/
|  |  |- index.js
|  |- prettier.config.js

Plugin doesn't use configs from corresponding directories and formats both files packageA/src/index.js and packageB/src/index.js with default config.

Hi @sunflowerdeath
Thanks for reporting this issue, will try to look into it during the weekend, otherwise feel free to open a PR.
If you want to contribute I think this could be achieved by editing the CLI arguments passed to the prettier CLI on https://github.com/prettier/vim-prettier/blob/master/autoload/prettier.vim#L238 and include the following:
          \ ' --find-config-path  ' .
          \ simplify(expand("%:t"))  .

Otherwise I will look into it during the weekend

@sunflowerdeath Thanks for reporting this! Fixed this via https://github.com/prettier/vim-prettier/pull/72 and just did a new release 0.2.4 with this fix!


update marketplace home screenshot (bug 1180654)

Updated to reflect Marketplace's new design.

This looks like a new file. Shouldn't it replace https://github.com/mozilla/zamboni/blob/master/media/img/ecosystem/homescreen-partners.jpg?

Yeah, the path looks wrong. Also, can you run jpegoptim or similar tool to gain a couple kilobytes ?

Don't mean to pile on, but could you set up Zamboni if you haven't already? We shouldn't be doing blind patches. Docker should make it simpler to set up.

Good catch. Needed to crop the image locally and saved it in the wrong place. In either case setting up zamboni now.


RDNAUTOMATIC- Incorrect County for two job results on peviitor.ro

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Open the url
Type "rdnautomatic" in search field
Press on search button
Click on "Run Scraper" button
Click on "See jobs"
Check the county of the jobs
EXPECTED RESULTS:
In the job listings from "peviitor.ro" the county must be the same as on the company's website.
ACTUAL RESULTS:
In the job listings from "peviitor.ro" the county is not the same as on the company's website.
Instead of the city "Satu Mare" and the county "Satu Mare" is displayed the village "Satu Mare" and the county "Arad" .
ATTACHMENTS:

fixed can you retest

Retested.


compiler errors - help!

/usr/local/include/libkafka_asio/detail/connection_service.h: In member function ‘void libkafka_asio::detail::BasicConnectionService::construct(libkafka_asio::detail::BasicConnectionService::implementation_type&)’:
[build] /usr/local/include/libkafka_asio/detail/connection_service.h:52:28: error: there are no arguments to ‘get_io_service’ that depend on a template parameter, so a declaration of ‘get_io_service’ must be available [-fpermissive]
[build]    52 |     impl.reset(new Service(get_io_service()));
[build]       |                            ^~~~~~~~~~~~~~
[build] /usr/local/include/libkafka_asio/detail/connection_service.h:52:28: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
[build] In file included from /usr/local/include/boost/detail/endian.hpp:9,
[build]                  from /usr/local/include/libkafka_asio/detail/endian.h:15,
[build]                  from /usr/local/include/libkafka_asio/detail/impl/request_write.h:13,
[build]                  from /usr/local/include/libkafka_asio/detail/request_write.h:104,
[build]                  from /usr/local/include/libkafka_asio/detail/impl/connection_service.h:16,
[build]                  from /usr/local/include/libkafka_asio/detail/connection_service.h:250,
[build]                  from /usr/local/include/libkafka_asio/connection.h:14,
[build]                  from /usr/local/include/libkafka_asio/libkafka_asio.h:17,
[build] /usr/local/include/boost/predef/detail/endian_compat.h: At global scope:
[build] /usr/local/include/boost/predef/detail/endian_compat.h:11:161: note: #pragma message: The use of BOOST_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIANBYTE instead
[build]    11 | #pragma message("The use of BOOSTENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_BYTE instead")
[build]       |

These errors were the result of using the latest Boost libraries 1.72.0 that has deprecated
get_io_service must now by get_io_context. get_io_service is not available in 1.70 and onwards.
Similarly the ENDIAN warning was a result of deprecated in boost. Replaced with what it proposed in the #pragma message and it worked.
I made changes to my local lib and not sure yet to propose a change to main lib.


Discovering and loading NgModule at runtime.

Feature Request
Initially posted in https://github.com/angular/angular/issues/18053 and moved here.
Current behavior
It is not possible to load dynamicall NgModules that have not been compiled at the same time of the whole application.
Angular-cli and webpack currently requier all code and modules used by the application in order to best optimize the production files. It does split the application into chunks corresponding to dynamic NgModules, but chunks are closely linked together.
Expected behavior
There should be an Option in angular-cli/webpack that allow independancy and reuse of chunks it generates even though final result is less optimal regarding code size and optimization.
I believe, Dynamic Loading of NgModule has been designed with this idea in mind since it doesn't requier NgModules to be statically imported in the router. This idea seem to have been lost in the race for perfect optimization (which is great by the way).
What is the motivation / use case for changing the behavior?
Actual trend is to do MicroService that encapsulate complete buisness behaviour and interface. This allows to developp and upgrade part of large application without the need to re-compile and redeploy the wole lot. Angular should take this into account and allow NgModules exposed in different micro-serviceto be discovered and loader at run time.

This is not CLI specific, and unfortunately there's nothing we will do. The CLI does not support building libraries or individual application parts (like "just" a NgModule).
I'll talk to @robwormald who's worked with similar setup in the past and we will answer this in the Angular repo (or elsewhere if it doesn't fit in either). Leaving this open in the meantime to keep the discussion around.


Update Get-MailDetailATPReport.md

@siosulli

Docs Build status updates of commit 9e3334f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-MailDetailATPReport.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Quality Control: Filter Posts Based on Engagement Metrics

To ensure the discovered posts are of high quality, add functionality to filter the posts based on engagement metrics like the number of likes, comments, and the engagement rate. This will help users share only the best content with their audience.

This is being worked on in issue  #11


IBus.Publish not respecting CancellationToken

Is this a bug report?
Yes

Can you also reproduce the problem with the latest version?
Yes
Environment

Operating system: Windows 10 x64 Build 1809
Visual Studio version: 2019
Dotnet version: Core 3.0
MT version: 6.2.1

Steps to Reproduce

(Write your steps here:)

Setup a RabbitMQ bus instance
Create CancellationTokenSource instance that cancels after a period of time
Call IBus.Publish

Expected Behavior

I would expect either IPublishEndpoint to behave similar to ISendEndpoint where if RabbitMQ is down it throws an exception immediately or the call to Publish would hang and the task would cancel when the time span specified is reached.
Actual Behavior

The task never completes and only shows the task as being cancelled after RabbitMQ service is back up.
Reproducible Demo

static async Task Main(string[] args) {
	var cts = new CancellationTokenSource();
	var bus = Bus.Factory.CreateUsingRabbitMq(cfg => {
		cfg.Host("localhost");
		cfg.ReceiveEndpoint("value-entered", e => {
			e.Consumer<Program>();
		});
	});
	try {
		await bus.StartAsync();
		// Stop the RabbitMQ service before publish
		cts.CancelAfter(TimeSpan.FromSeconds(15));
		await bus.Publish(new ValueEntered(), cts.Token);

		// *NOTE* Using a send endpoint when RabbitMQ is down causes an exception to throw immediately
		//var sendEndpoint = await bus.GetSendEndpoint(new Uri("rabbitmq://localhost/value-entered"));
		//await sendEndpoint.Send(new ValueEntered(), cts.Token);
	}
	catch (TaskCanceledException e) {
		Console.WriteLine($"Publish cancelled.   They both are essentially the same code path.

In the code provided Publish would eventually throw but it sat and did nothing until the RabbitMQ service was running again.  Once it was running then it would catch the TaskCanceledException.  On the other hand if I put a breakpoint on await sendEndpoint.Send(), take RabbitMQ down, and then continue it would throw an exception immediately stating the endpoint wasn't responding.

Just to narrow this down, because of caching, etc., did you previous get that same endpoint address and send on it before taking RabbitMQ down and trying to get the send endpoint again?

I added an additional await bus.Publish<T>(T, CancellationToken) call.  I put a breakpoint on the second, let the first one go through, take RabbitMQ down when it hit the breakpoint, and then let it publish.  As long as something goes through initially it will throw an exception immediately with the message "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..."
It looks like it is just in an edge case where the service is up for a start and down before the first publish.  The Send method will throw an exception regardless of whether or not you had a successful send before RabbitMQ is down.

Okay, that helps a lot. Appreciate the investigation. I'm putting together a story for coming up with a consistent circuit-breaker approach to send/publish during broker disconnects.

Would the task hanging and failing to cancel be a separate bug report or are you planning on tackling those together?

It would be all-inclusive. It would also throw immediately the circuit breaker was open since there is no connection to the broker (and to be open, would have to have been disconnected for a long time and therefore no chance of it actually connecting).

Awesome.  Glad I can help you guys make this product more iron-clad.

Hi there, can you give an estimate on when the fix will be released?

No, I haven't even started looking at it yet.

I believe I have fixed this but I seriously broke the build.

Good news! When do you think a new nuget package will be published with the fix?

Thank you again @phatboyg for looking at this and fixing it so quickly.


update funder references metadata docs

features: fix search-as-you-type typo closes #391
metadata: align funding docs with current functionality in invenio-rdm-records/invenio-vocabularies

No news is good news. Merging this.


[FLINK-27105][docs] fix ChangelogStorage.uploadQueueSize metric type

What is the purpose of the change
Fix metric type of ChangelogStorage.uploadQueueSize in document.  see : FLINK-27105
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (no)

CI failure unrelated, build passed in my local branch, merging.


Mmforc idle memory leak

Running vanilla v0.1 mmforc shows a pretty aggressive memory leak of ~250MB/hr.

Going to mark this as wonfix for now as I can't reproduce it; someone please re-open if you can with some instructions.
Thanks!


JavaScript: Recognise references to the process global.

In Node.js, the process global variable contains an import of the process module from the standard library. Fortunately we can model this quite elegantly, and without hurting performance too badly (internal link).

Done.


[UX] PyPI shouldn't make setup.py-based suggestions anymore

What's the problem this feature will solve?

I noticed that PyPI suggests editing setup.py on the project settings pages.
Describe the solution you'd like

I'm not sure, but it should probably point at PEP's and mention pyproject.toml? Or maybe change the wording?
Additional context

This also caused confusion @ https://github.com/pypi/warehouse/discussions/12190 but that was never turned into an actionable task.
Affected templates:

https://github.com/pypi/warehouse/blob/ef9747c737019cd3f55d81d3a316fbaf7865643b/warehouse/templates/manage/project/settings.html#L105
https://github.com/pypi/warehouse/blob/d58e6b241ce6fd2d65da469c32189b51a5572ff8/warehouse/templates/pages/help.html#L578

Once #16258 is merged there will be no other (non-cached translated) references to setup.py left:
rg setup.py warehouse/ -g '!locale/'