Handle Gitlab false positive

This https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.owasp.antisamy/antisamy/CVE-2023-49093.yml started as an advisory and then became a "False positive"
Gitlab updates the description and title in these cases, and there are 150+ such advisories.
The outcome is invalid data. We should support these and update accordingly
See https://public.vulnerablecode.io/packages/pkg:maven/org.owasp.antisamy/antisamy@1.7.4?search=antisamy
There https://public.vulnerablecode.io/vulnerabilities/VCID-zx5k-4m3n-aaaj does NOT apply to antisamy

See attached for a list of patterns found in GitLab advisories
fp.txt
@julianthome gentle ping... do you know if there is a list of patterns we can track? Thanks!
In the same domain, we should also find is there are other related unstructured patterns in GitLab and also:

[ ] Handle "Disputed" markers in CVEs texts
[ ] Handle "Awaiting Analysis" in CVEs

Some input from today's weekly call:

I pointed that we would likely need to keep track of which advisory contributed to create a vulnerability and a package-relationship in all cases to track the changes of advisories from good to bad so we can know which relationship need to be amended
@Hritik14 suggested we could may be put git to good use to keep track of the records' version changes, and this would help investigate the issue more efficiently.
Using git as in FederatedCode could be a really nice thing to also help with data distribution, and we would also add advisories to get a full picture in all cases.

Adding to above,
In the git based design, the original data sources persist in our storage. The import operations do not overwrite the existing data from the same data source, instead it maintains a diff-based (call it git?) record of all the changes an advisory goes through. This shows a timeline of the advisory as it grows.
The benefits are:

Get to know how many times an advisory has changed and possibly flag such data sources. A change could potentially be a good thing about the data source if it slowly gets reflected over other sources for the same vulnerability over time. It could be a bad thing if only a single data source goes through the change or it goes through the change after every other possible data source has gone through it.
Once the cat (advisory) is out of the box, it persists for eternity on the internet. We should have a record of such advisory even if it means only to mark it as "changed" or "updated". This will help with indexing from a search engine point of view.
Hypothetically, an older revision of the advisory may be more accurate and there might be a need to revert back to this older version. This revert opinion can be driven by the decentralized project (FederatedCode). It gives a say to the users of FederatedCode about a change in an advisory.

The implementation of such a model needs to be discussed in detail after the idea sounds convincing enough.


Video Player HDR Problem

Hi,
Video player plugin is not supporting HDR videos. When you try to play HDR video, it plays like SDR and different color.
You can try it video_player plugin's example, simply try to play any HDR video, you will notice different color video.
Video Player is top of AVPlayer and AVPlayer should play HDR videos automatically, but it didn't. I tried everything to find a workaround but no luck. Maybe https://developer.apple.com/news/?id=rwbholxw this helps.
Thanks,

Hey @jmagman , I suspect about "kCVPixelFormatType_32BGRA" in FLTVideoPlayerPlugin.m > createVideoOutputAndDisplayLink() function. But I'm not sure which value should be there.

Hi @ibrahimdevs,
Can you please provide a link to any HDR videos so that I may confirm this behaviour?
Thank you

Hi @danagbemava-nc ,
Thanks for your interest. I'm really stuck in this issue and very surprise that nobody even mentioned it until now.
Example HDR video link: https://drive.google.com/file/d/12plWrjPfp1Hh1G7LHHTBXaOAi8ki7m5d/view?usp=sharing
I'm getting lots of complaints about this issue from my app. If you provide any workaround, it will be great.
I moved video_player package files to locale, so I can try your workarounds.
Screenshots:

Thank you so much again,

Hi @ibrahimdevs, thanks for the sample. I can reproduce this with the video_player: ^2.2.5.
I haven't looked dived deep into the source code of the plugin so I can't suggest a work around at the moment, I will however label it so that someone with more experience can offer some more insight.

screenshots

AVPlayer iOS
video_player ios

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.2, on macOS 11.5.1 20G80 darwin-arm, locale en-GB)
    • Flutter version 2.5.2 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3595343e20 (5 days ago), 2021-09-30 12:58:18 -0700
    • Engine revision 6ac856380f
    • Dart version 2.14.3

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.60.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.5.1 20G80 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

code sample
import 'package:video_player/video_player.dart';
import 'package:flutter/material.dart';

void main() => runApp(const VideoApp());

class VideoApp extends StatefulWidget {
  const VideoApp({Key? key}) : super(key: key);

  @override
  _VideoAppState createState() => _VideoAppState();
}

class _VideoAppState extends State<VideoApp> {
  late VideoPlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.asset('assets/hdr_video.MOV')
      ..initialize().then((_) {
        // Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
        setState(() {});
      });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: Center(
          child: _controller.value.isInitialized
              ? AspectRatio(
                  aspectRatio: _controller.value.aspectRatio,
                  child: VideoPlayer(_controller),
                )
              : Container(),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              _controller.value.isPlaying
                  ? _controller.pause()
                  : _controller.play();
            });
          },
          child: Icon(
            _controller.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
    _controller.dispose();
  }
}

video asset
hdr_video.MOV.zip

better_player displays HDR correctly for some reason, I'd be very happy if this plugin could do it too! I'll try to see if I can find something.

I have noticed that I have way too little experience in native iOS development to understand anything 😅 So any help would be greatly appreciated! I'm happy to provide assistance wherever I can help

Hi @danagbemava-nc and @stuartmorgan ,
It's been a long time, what is the latest status of this issue?

I have the same problem
but I only fix the color by tonemap,so the video color look correct
I have no idea how to fix the brightness
this is my solution ，I hope it helps
- (CVPixelBufferRef)pixelBufferFormCIImage:(CIImage *)image {
    NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:
                                    @{}, kCVPixelBufferIOSurfacePropertiesKey,
                                    @YES, kCVPixelBufferCGImageCompatibilityKey,
                                    @YES, kCVPixelBufferCGBitmapContextCompatibilityKey, nil];

    CVPixelBufferRef pixelBufferCopy = NULL;
    CVReturn status = CVPixelBufferCreate(kCFAllocatorDefault,
                                          image.extent.size.width,
                                          image.extent.size.height,
                                          kCVPixelFormatType_32BGRA,
                                          (__bridge CFDictionaryRef) options,
                                          &pixelBufferCopy);

    if (status == kCVReturnSuccess) {
        CIRenderDestination *destination = [[CIRenderDestination alloc] initWithPixelBuffer:pixelBufferCopy];
        [self.mContext startTaskToRender:image toDestination:destination error:nil];
    }
    return pixelBufferCopy;
}

- (CVPixelBufferRef)copyPixelBuffer {
    CMTime outputItemTime = [_videoOutput itemTimeForHostTime:CACurrentMediaTime()];
    if ([_videoOutput hasNewPixelBufferForItemTime:outputItemTime]) {
        if (!_isFirstFrameDisplay) {
            _isFirstFrameDisplay = YES;
            [self.utManager invokingFirstFrame];
        }
        CVPixelBufferRef p = [_videoOutput copyPixelBufferForItemTime:outputItemTime itemTimeForDisplay:NULL];
        CFTypeRef colorPrimaries = CVBufferGetAttachment(p, kCVImageBufferTransferFunctionKey, NULL);
        if (colorPrimaries && CFEqual(colorPrimaries, kCVImageBufferTransferFunction_ITU_R_2100_HLG)) {
            if (@available(iOS 14.1, *)) {
                CIImage *image = [CIImage imageWithCVPixelBuffer:p options:@{kCIImageToneMapHDRtoSDR : @(YES)}];
                CVPixelBufferRef newP = [self pixelBufferFormCIImage:image];
                CVPixelBufferRelease(p);
                return newP;
            }
        }
        return p;
    } else {
        return NULL;
    }
}

@blackox626 we take pull requests 🙂

@blackox626 Yeah tonemapping would at least help this package deal with HDR video in a decent way. As far as I understand we could only achieve HDR brightness by using an embedded native view, so I think this is the way to go for now?

you mean platform view？

@blackox626
"
if (status == kCVReturnSuccess) {
CIRenderDestination *destination = [[CIRenderDestination alloc] initWithPixelBuffer:pixelBufferCopy];
[self.mContext startTaskToRender:image toDestination:destination error:nil];
}
"
Where did you get in self mContext?

I have encountered the same problem, will it be fixed in the future?

@blackox626 " if (status == kCVReturnSuccess) { CIRenderDestination *destination = [[CIRenderDestination alloc] initWithPixelBuffer:pixelBufferCopy]; [self.mContext startTaskToRender:image toDestination:destination error:nil]; } "
Where did you get in self mContext?

@BurykinNikolay  Did you ever find out what mContext was?

anything new?

My approach is to make modifications by duplicating the plugin code and defining a new variable called mcontext to handle the pixelBuffer.

Hello everyone,
I am seeking recommendations on playing HDR videos in Flutter. Currently, I see two potential solutions:

Transcoding the video with tonemap and pixel format adjustments. However, this approach results in color loss and still doesn't leverage the HDR playback capabilities of modern smartphones.
Creating a custom UiKitView for video rendering, although this method presents other challenges as well.

I find it hard to believe that there aren't any Flutter video applications addressing this issue. So, I am curious to know how others have tackled the problem of HDR playback in Flutter. Could someone help with ideas, plz)
Thank you!

I just found this package recently, I don't know if it addresses the issue with HDR.
https://pub.dev/packages/media_kit

I just found this package recently, I don't know if it addresses the issue with HDR, I have not been able to test it. https://pub.dev/packages/media_kit

It works! https://github.com/flutter/flutter/issues/129238#issuecomment-1784501802

I just found this package recently, I don't know if it addresses the issue with HDR, I have not been able to test it. https://pub.dev/packages/media_kit

It works! #129238 (comment)

What should I do if I encounter the same problem?

@qpalzm963 You can refer to the documentation of media_kit and use it to play videos. But you should test it more to avoid other problems. I simply tested it on an HDR video.

@qpalzm963 You can refer to the documentation of media_kit and use it to play videos. But you should test it more to avoid other problems. I simply tested it on an HDR video.

i try video_player_media_kit example but same question

Estoy intentando instalar media_kit pero aparece el siguiente error:

Qué salió mal:
Se produjo un problema al evaluar el proyecto ':media_kit_libs_android_video'.

media_kit: Error en la verificación del JAR arm64-v8a.

I am trying to install media_kit but I get the following error:

Where:
Build file 'C:\Users\pc\AppData\Local\Pub\Cache\hosted\pub.dev\media_kit_libs_android_video-1.3.6\android\build.gradle' line: 102

What went wrong:
A problem occurred evaluating project ':media_kit_libs_android_video'.

media_kit: arm64-v8a JAR verification failed.

@hellohejinyu
Even with media_kit this problem still exists

Native IOS Player
media_kit

@hellohejinyu
This problem also appears on media_kit (https://github.com/media-kit/media-kit/issues/615)

This is a big issue with the explosion of HDR content in recent years, especially when it's increasingly common for phones to shoot HDR videos.
I see that the re-triage tag was recently removed from this issue. Are there any plans underway to bring HDR to Flutter? This is the single feature I'm most looking forward to.

Perhaps this would be fixed by switching to PlatformView: https://github.com/flutter/flutter/issues/86613

it's 2024, are there any ongoing efforts to integrate HDR into Flutter?

This is a huge issue in our app, and many users have reported this in other Flutter apps:

Immich app: https://github.com/immich-app/immich/issues/5120
Aves app: https://github.com/deckerst/aves/issues/924
Ente app: https://github.com/ente-io/ente/issues/1166#issuecomment-2030367991

From Apple docs: iPhone 12 models, iPhone 13 models, iPhone 14 models, and iPhone 15 models record video in HDR to capture true-to-life color and contrast, meaning that most of the videos shared by iOS users are rendering incorrectly, I think we should bring more attention to this issue especially now when HDR usage is becoming more common.

Just to underscore: And of course it's the same problem with Android phones. The friends and family, I share my Immich server with, who are using their Samsung S23U, Z Flip 5, S22FE, Google Pixel 6 Pro etc. with the Immich mobile app, are reporting the same issue with HDR videos, that are also locally available on their phone.

@bselwe Please don't just ping everyone who has ever touched the labels on a bug. The front-line triage team, for instance, is not an escalation path for already-triaged issues.

This is a huge issue in our app

Anyone for whom it is a huge issue is encouraged to contribute improvements to the plugin.

As a reminder to everyone, please read our issue guidance before commenting, in particular https://github.com/flutter/flutter/blob/master/docs/contributing/issue_hygiene/README.md#do-not-add-me-too-or-same-or-is-there-an-update-comments-to-bugs and https://github.com/flutter/flutter/blob/master/docs/contributing/issue_hygiene/README.md#escalating-an-issue-that-has-the-wrong-priority


Bump wagyu from 0.4.3 to 0.5.0

The strategy for getting this repo up to date is to take each of the ~15 outdated submodules, make a PR, test, merge, and only then proceed with the next. That way we can be sure they are tested against the latest master, and thus avoid wasting cycles on the test runners.

You still need to rebase due to conflicts :)


Backport 1.5 2019 06 13

PR: 8228 -- test: have timeout for Exec (@ianvernon) -- https://github.com/cilium/cilium/pull/8228
PR: 8147 -- test/provision: upgrade k8s 1.15 to 1.15.0-beta.2 (@aanm) -- https://github.com/cilium/cilium/pull/8147
PR: 8248 -- test: bump to k8s 1.14.3 (@aanm) -- https://github.com/cilium/cilium/pull/8248
PR: 8264 -- test: create session and run commands asynchronously (@ianvernon) -- https://github.com/cilium/cilium/pull/8264
PR: 8271 -- k8s: Fix policies with multiple From/To selectors (@gandro) -- https://github.com/cilium/cilium/pull/8271
PR: 8262 -- test: use context with timeout to ensure that Cilium log gathering takes <= 5 minutes (@ianvernon) -- https://github.com/cilium/cilium/pull/8262
PR: 7869 -- pkg/health: Fix IPv6 URL format in HTTP probe (@iffyio) -- https://github.com/cilium/cilium/pull/7869
PR: 8290 -- Preload vagrant boxes in k8s upstream jenkinsfile (@nebril) -- https://github.com/cilium/cilium/pull/8290

This change is

test-docs-please

test-me-please

test-missed-k8s

test-upstream-k8s

test-me-please

test-docs-please

test-missed-k8s

test-upstream-k8s


Client using Latest API

This is the fix for #5

What's needed to get this updated and merged-in?


No kernel for grammar C++ found

So I've followed the instructions for installing hydrogen & C++ kernel but I am still getting this error. I've tried to do the lanuage mapping but got no where. I've tried uninstalling & reinstalling atom, hydrogen, the kernel etc. I've tried so many things for about 4 hours now and can't get this thing to run my basic "hello world" program.
I am running Arch Linux & I've installed gcc & g++ compilers.
What confuses me the most is that I have python & R kernels working following the instructions from the same website (embarrassingly I can't seem to find.... Edited: Finally found the website https://nteract.io/kernels).
atom version : 1.5
hydrogen: current version, installed it today through atom
jupyter: 4.6.3
jupyter-notebook: 6.1.1

I picked doc help because after following hydrogen's instructions I am having this error. I didn't want to report it as a bug considering that it's probably something i've done so I can't consider it a "bug" in the hydrogen program.

I guess I'd better continue working on this myself...

This is a bug, as Hydrogen should be able to launch any kernel reported by jupyter kernelspec.
I'm not familiar with C++ kernels, is this the kernel used in this case?
I'll try to reproduce the issue.

Thank you for the reply, I finally found the site where I found the instructions here https://nteract.io/kernels
I believe it is xeus-cling but more strictly the I followed the instructions on the website I've provided & tried to follow the hydrogen documentation.

Hello everyone,
So I reattempted to fix this because I would really like for hydrogen to connect to my C++ kernel. I'm still having issues however I can be more precise in what I've tried this time. So I've
Installed Atom on Arch Linux OS
Installed Hydrogen from Atom packages
Installed jupyter through Arch terminal (includes jupyter-notebook, jupyterlab & their dependencies) using pacman (as opposed to AUR)
Followed instructions for C++ kernel
conda create -n cling
conda activate cling
conda install xeus-cling notebook -c QuantStack -c conda-forge
python -m ipykernel install --user --name myenv --display-name "C++ (cling)"
I've also noticed that in Atom I can run .cpp through script & that works just fine however I would like to have hydrogen's feature of seeing the results of code inside the code text like it does for R & other languages. Anyway Atom can compile .cpp code & run it so I know that isn't an issue.
When I run
jupyter kernelspec list --json
I get
{   "kernelspecs": {     "ir": {       "resource_dir": "/root/.local/share/jupyter/kernels/ir",       "spec": {         "argv": [           "/usr/lib64/R/bin/R",           "--slave",           "-e",           "IRkernel::main()",           "--args",           "{connection_file}"         ],         "env": {},         "display_name": "R",         "language": "R",         "interrupt_mode": "signal",         "metadata": {}       }     },     "myenv": {       "resource_dir": "/root/.local/share/jupyter/kernels/myenv",       "spec": {         "argv": [           "/root/anaconda3/envs/cling/bin/python",           "-m",           "ipykernel_launcher",           "-f",           "{connection_file}"         ],         "env": {},         "display_name": "C++ (cling)",         "language": "python",         "interrupt_mode": "signal",         "metadata": {}       }     },     "python3": {       "resource_dir": "/root/anaconda3/share/jupyter/kernels/python3",       "spec": {         "argv": [           "/root/anaconda3/bin/python",           "-m",           "ipykernel_launcher",           "-f",           "{connection_file}"         ],         "env": {},         "display_name": "Python 3",         "language": "python",         "interrupt_mode": "signal",         "metadata": {}       }     },     "xcpp17": {       "resource_dir": "/root/anaconda3/share/jupyter/kernels/xcpp17",       "spec": {         "argv": [           "/root/anaconda3/envs/cling/bin/xcpp",           "-f",           "{connection_file}",           "-std=c++17"         ],         "env": {},         "display_name": "C++17",         "language": "C++17",         "interrupt_mode": "signal",         "metadata": {}
Note the myenv came from the instructions listed above, the xcpp17 I found in my anaconda3 directory & along with xcpp11 + some other versions. I copied it to /root/anaconda3/share/jupyter/kernels/ when I thought perhaps it was in the wrong directory. didn't make a difference however but I kept it in. For clarification I didn't "move" it, I used the cp command in terminal to make sure it was coppied over to the new location.
I've tried the Hydrogen mapping with both myenv & xcpp17. In kernel name I'd enter in name given below kernelspecs followed by the language listed so for example on mapping right now i have { "xcpp17": "C++17" }. I also tried changing this to { "xcpp17": "C++" } along with changing the language field on kernel.json for xcpp17 but that didn't work so I changed it back to C++17
Lastly, R & Python3 are working fine without having to do any troubleshooting so I have no idea where I'm going wrong here.

I think it should be { "C++": "C++17" }.

Thanks for the quick reply.
I just tired changing the mapping to this. No dice unfortunately.

Could you post the error?

Does hydrogen show the C++17 kernel when hydrogen:update-kernels is run?

Unfortunately no. Here is what I see after updating. I also added the developer tool. I don't know how to read the tools but perhaps you might. Note the "badge.svg:1 Failed to load resource: the server responded with a status of 404 ()" shows up before I pressed ctrl+enter to run the code via hydrogen.

OK, so that error is telling us that Hydrogen is unable to locate the kernel.
I guess Atom is unaware of anacoda's environment.
Does it work when Atom is launched from anaconda's shell?
Another lead to follow is to run jupyter --config-dir to locate all the possible locations where Jupyter looks for the kernels folder.
Even if hydrogen is able to locate the kernel, I still think it's necessary to set languageMappings to { "C++": "C++17" }.

It's getting late here. And the earliest I can look at this is tomorrow afternoon.
Please, feel free to ping me again, if I forget.

No problem, I actually have to get going to work but I'll update this as soon as i try running atom in anaconda shell & looking at the configuration file. Thanks for the help thus far and I'll be sure to ping if we forget.

So we have made some progress! This was with running atom in the conda shell. I also had to reinstall the packages in the "conda version" of atom. So yes outside of conda atom doesn't seem to recognize the anaconda folder.

I'm a bit confused by the last screenshot. The previous ones looked like an installation for the root user. The last one looks like an installation for  user ryanl.
I will assume the installation is for ryanl (as a root installation is less likely to make sense).
The last screenshot is telling us that Hydrogen now sees the kernels C++17 and C++ (cling), but it fails to match those kernels to the language C++ (which is how Atom names it). Did you set languageMappings? Either { "C++": "C++17" } or { "C++": "C++17 (cling)" } should work.

Once you get it working with Atom launched from a conda shell, we can try to figure out how to do it from a normal shell. For that, running jupyter --data-dir may be more informative than jupyter --config-dir.

@n-riesco  "Once you get it working with Atom launched from a conda shell, we can try to figure out how to do it from a normal shell. For that, running jupyter --data-dir may be more informative than jupyter --config-dir." I think I already solved this
So through this thread I learned a bit & realized having conda based in a root directory causes so much hassle. So I completely uninstall everything & restarted from scratch while putting more thought into exactly where everything was going. This allowed me to get back to where we are here except anaconda I changed for miniconda & it is no longer in a root directory & I no longer need to run atom from conda for atom to find the kernels as you can see from the picture below. As for jupyter & kernels locations they are now at
[ryanl@archlinux ~]$ jupyter --config-dir
/home/ryanl/.jupyter
[ryanl@archlinux ~]$ jupyter --data-dir
/home/ryanl/.local/share/jupyter

[ryanl@archlinux ~]$ jupyter kernelspec list --json
{
  "kernelspecs": {
    "xcpp11": {
      "resource_dir": "/usr/local/share/jupyter/kernels/xcpp11",
      "spec": {
        "argv": [
          "/home/ryanl/Desktop/Applications/miniconda3/envs/cling/bin/xcpp",
          "-f",
          "{connection_file}",
          "-std=c++11"
        ],
        "env": {},
        "display_name": "C++11",
        "language": "C++11",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "xcpp14": {
      "resource_dir": "/usr/local/share/jupyter/kernels/xcpp14",
      "spec": {
        "argv": [
          "/home/ryanl/Desktop/Applications/miniconda3/envs/cling/bin/xcpp",
          "-f",
          "{connection_file}",
          "-std=c++14"
        ],
        "env": {},
        "display_name": "C++14",
        "language": "C++14",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "ir": {
      "resource_dir": "/usr/local/share/jupyter/kernels/ir",
      "spec": {
        "argv": [
          "/usr/lib64/R/bin/R",
          "--slave",
          "-e",
          "IRkernel::main()",
          "--args",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "R",
        "language": "R",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "python3": {
      "resource_dir": "/usr/local/share/jupyter/kernels/python3",
      "spec": {
        "argv": [
          "/home/ryanl/Desktop/Applications/miniconda3/envs/cling/bin/python",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Python 3",
        "language": "python",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    },
    "xcpp17": {
      "resource_dir": "/usr/local/share/jupyter/kernels/xcpp17",
      "spec": {
        "argv": [
          "/home/ryanl/Desktop/Applications/miniconda3/envs/cling/bin/xcpp",
          "-f",
          "{connection_file}",
          "-std=c++17"
        ],
        "env": {},
        "display_name": "C++17",
        "language": "C++17",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    }
  }
}

As for what I'm seeing on my end it's. Note that this is while running atom normally (not through any shells, just by opening the application from desktop).

So overall I'm thinking I should just have to mess around with the language mapping now. I saw someone modify one of the kernel files and changed "lanuage" from C++17 to C++. I might try that next just to see and if it doesn't work I can revert it back easily.
Thanks for the help so far, I have a much better system now and the hydrogen thing is soooo close to being fixed.

Note that languageMappings was introduced in Hydrogen so that users wouldn't have to edit a kernelspec.
The error "[...] cannot extract standard library include paths! [...]" that you got after changing C++17 to C++ in the kernelspec looks like an error from Cling. This suggests that Hydrogen was able to launch the kernel, but the kernel failed because it's missing some env variables. Launching Atom from a conda shell may fix the issue.
Let me know if it works when Atom is launched from a conda shell. If it does, we need to find a way to launch the kernel inside a conda shell (or at least with the conda env variables set).

So I tested running atom from conda shell in two scenarios. One with the language changed from C++17 to C++ and one where I just left language as is. Both failed so I reverted it back to C++17. However they both scenarios had different reasons why they had failed but no differences from if I ran them from desktop instead of via conda shell.
Ran in conda shell with no change to language

Ran in conda shell with change to language (C++17 to C++). In this I also played around with the language mappings (tried combinations of kernel=xcpp17,C++,C++17 & grammar names=C++, C++17. Some failed with error shown in the above picture, other combinations failed with the error message shown in the below picture.

I don't really expected those results. I'll have to reproduce them here.

To install the kernel, I've followed the instructions in https://github.com/jupyter-xeus/xeus-cling:
conda create -n cling
conda install xeus-cling -c conda-forge

The kernel works for me if:

languageMappings is set to { "c++": "c++17" } (note that now I'm using small letters; this is important)
and Atom is launched from a conda shell where the cling env has been activated.

To get Atom to see the kernels when it hasn't been launched from a conda shell, I tried to copy the kernelspec from the cling env to the home folder:
cp -a anaconda3/envs/cling/share/jupyter/kernels/xcpp17 .local/share/jupyter/kernels/

But when Atom launches the kernel, it fails with the error you saw.
I can't spend more time on this today.
The next thing to figure out is a convenient way to activate the cling env before launching Atom or the kernel.

Notes to myself

[ ] The instructions in https://nteract.io/kernels/cplusplus don't work
[ ] Fix examples in the description of languageMappings https://github.com/nteract/hydrogen/blob/f9bc73021390bb10fc8f5dbf1b374c91d34ccb3c/lib/config.js#L173-L181
[ ] kernelSpecProvidesGrammar https://github.com/nteract/hydrogen/blob/f9bc73021390bb10fc8f5dbf1b374c91d34ccb3c/lib/utils.js#L135-L154 should be case insensitive (see grammarToLanguage https://github.com/nteract/hydrogen/blob/f9bc73021390bb10fc8f5dbf1b374c91d34ccb3c/lib/utils.js#L64-L75)

I've managed to launch the kernel in the cling env, by editing the kernelspec in .local/share/jupyter/kernels/xcpp17/kernel.json like this:
{
  "display_name": "C++17",
  "argv": [
      "/home/user/anaconda3/bin/conda",
      "run",
      "-n",
      "cling",
      "/home/user/anaconda3/envs/cling/bin/xcpp",
      "-f",
      "{connection_file}",
      "-std=c++17"
  ],
  "language": "C++17"
}

In your case kernel.json may look like this:
{
  "display_name": "C++17",
  "argv": [
      "/home/ryanl/Desktop/Applications/miniconda3/bin/conda",
      "run",
      "-n",
      "cling",
      "/home/ryanl/Desktop/Applications/miniconda3/envs/cling/bin/xcpp",
      "-f",
      "{connection_file}",
      "-std=c++17"
  ],
  "language": "C++17"
}

With a kernelspec like the above, there is no need to launch Atom from a conda shell.

@n-riesco
At this point I just don't know.
So I got a new computer because the old one was showing early signs of dying :(. It's still alive and probably has a few months left at the most. Before the new computer came in I did follow your instructions and still same old issue.
So with this new computer I did everything you did step by step includin installing anaconda instead of miniconda and I can't get this to work even in conda environment with cling activated on a brand new arch linux x64_86 install. So I am just not sure where to go from here, everything should work & like last time atom seems to load the kernel but then no grammar language map is { "c++:" "c++17" }
my only guess is could it be a atom running as a normal user while some of he files are in a hidden file? (.local). That wouldn't make much sense because to run it in conda shell I have to be in super user but at this point that is the last bad guess that I have.
let me know what information I can provide.


the signcolumn color is different from the theme color.

we can see that the extra column on the left side is black color. but other places is a different color. it look strange,  I want there are same color.
editor: neovim
[theme]:set background=dark; colorscheme hybrid_reverse

This problem seems to be my problem
I set this command in my .vimrc, it can run normally now.
highlight clear SignColumn

Close it .Sorry to bother you.


How to set the aspect ratio of a video stream?

Im having some issues to properly set the dimensions of the video stream for a live detection.
I can correctly set the width & height of the video element. Tough its aspect ratio always stays at 3:4.
I saw that there is a commit for this to support the safari browser, but Im not using safari and would actually prefer a 16:9 resolution. Is that an expected behaviour, or do I miss something?

The right way to go about this is to set the width and height (using your . 16:9 ration) of your video when you pass it to the startVideo method. The method is written to only set width and height to default values if you do not set these explicitly.
Let me know if that doesnt work.


⚠ Jenkins Plugins Artifactory has degraded performance

In b3091d1, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1185 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 629175a after 32 minutes.


Create Blog “2022-03-19t16-43-56-990z-mengatasi-monkey-mind”

Automatically generated by Netlify CMS

👷 Deploy Preview for ibnuraffi processing.
🔨 Explore the source changes: 114a415323193af3515627acea61cb506fd52e35
🔍 Inspect the deploy log: https://app.netlify.com/sites/ibnuraffi/deploys/623608782bd3c100089469ff


fix(window-state): restore window state for default state

We currently ignore default all zero state in restore_state, but this will prevent skip_initial_state + calling restore_state manually to show the window if no previous cache was found, we should treat default all zero state as no cache found

Not sure I understand the problem, could you explain a bit more?


Add model methods to the Activity contract

This PR adds the main CRUD methods from Model to the Activity contract. Will fix the IDE error where $activity->save() is called, for example:
https://github.com/spatie/laravel-activitylog/blob/93288ac6b69e28a604be5bb9be0192b808c58610/src/ActivityLogger.php#L174

I'm hesitant to make contract changes to a non-major version update as it could introduce BC for some users. Thoughts, @freekmurze @rubenvanassche @AlexVanderbist @Nielsvanpach?

@zbundy Could you update the unit tests so all tests pass? Thanks! :+1:


Error when saving from listing screen

I'm not sure if this is an error because I'm using Enterprise Edition but when saving a stockist from the listing screen (InlineEdit) I'm getting an error generated by the call to Limesharp\Stockists\Controller\Adminhtml\Stores::filterData. The \Zend_Filter_Input constructor is expecting $filterRules and then $validatorRules and then $data but it looks like the current method is only passing $filterRules and then the store's data is going as $validatorRules.
https://github.com/ClaudiuCreanga/magento2-store-locator-stockists-extension/blob/8bf464f7f380d74c7e0c3f4f9226eb2aa4774d26/src/Controller/Adminhtml/Stores.php#L88-L97
This method appears to only be called from the InlineEdit controller and not within the Save controller.

Thanks for reporting. One of my updates have broken that functionality as it was working in the previous versions. I'll have to dig out what happened but I suspect it is something related to the image.


Misc. updates for LLVM 13/Julia 1.8

[x] Improve API coverage for Decls
[x] Misc. bugfixes in JLLEnvs.jl
[ ] Refactor high-level APIs

[x] Add wrappers for clangInterpreter
[ ] Rework decl-lookup on top of DeclContext
[ ] Move LLVM codegen related utilities to LLVMCGUtils.jl

[ ] Update https://github.com/JuliaInterop/Cxx.jl/tree/rebuild-clang-compiler

I think we can close this now. Maybe migrate the todo list to an issue?


AST Transform for Nested Invocation with ::

@rwjblue yeah I didn't see that I only had run default try scenario and didn't catch. I wondered if the AST was noop in 3.4+.
Updating to the two AST approach.

@rtablada - Ready for review, lemme know what you think...
Also, you can poke at the transform and see it "live" here:
https://astexplorer.net/#/gist/0590eb883edfcd163b183514df4cc717

@rwjblue looks good! I used the ast transformer to debug live to build this!


HWID

Could you guys add a HWID features to get the user HWID ??

@aledlb8 ...not sure what you mean with HWID.

if you mean hardware ID please have a look at the documentation https://systeminformation.io/system.html. Here you habe a function uuid which returns an array of different unique IDs like for the os or HW
if you mean something different, I would be happy if you can explain what you would expect.

Best regards

yes, i mean the hardware ID not the uuid there are differents things the HWID is something like this L35B-8X37

and if you want to see your own HWID go to the terminal and type "vol c:" to see your HWID if the C disk

@aledlb8 so

for the HWID this is exactly what you see in the results of uuid().hardware ...  (see docs)
for drive IDs they are also visible in the according function diskLayout() ... here in the property serialNum

uuid().hardware is not what im looking for, when i use it i gave me a giant number and im only looking for a 8 digit number like this one L35B-8X37

@aledlb8

on which platform are you working?
how would you retrieve the expected HWID. What I am doing getting the HW ID is that I am following all recommendations about how to get this ID on each platform
did you also checked si.system(), si.bios(), si.baseboard() and si.chassis()?

1 windows
2 wdym?
3 i tried all of them and none of them give me the HWID

@aledlb8 if you are referring to a number like L35B-8X37 ... where does this come from?

from the hardware ID

@aledlb8 what hardware ID? Please be more specific!

when you do "vol c:" in the command promt you will get your Harware ID thats what im trying to get using your npm

@aledlb8 this is the VOLUME ID (not the hardware ID) and this should be also shown when using si.diskLayout(). If not, please provide both outputs here!

[
{
device: 'SCSI\DISK&VEN_ASMT&PROD_2115\6&3492D1A3&1&000000',
type: 'Unspecified',
name: 'ASMT 2115 SCSI Disk Device',
vendor: '',
size:<PHONE_NUMBER>280,
bytesPerSector: 512,
totalCylinders: 121601,
totalHeads: 255,
totalSectors:<PHONE_NUMBER>,
totalTracks: 31008255,
tracksPerCylinder: 255,
sectorsPerTrack: 63,
firmwareRevision: '0',
serialNum: 'F10987654321',
interfaceType: 'USB',
smartStatus: 'Ok',
temperature: null
},
{
device: 'SCSI\DISK&VEN_NVME&PROD_INTEL_SSDPEKNW51\5&381FFB28&0&000000',
type: 'SSD',
name: 'INTEL SSDPEKNW512G8',
vendor: 'INTEL',
size:<PHONE_NUMBER>00,
bytesPerSector: 512,
totalCylinders: 62260,
totalHeads: 255,
totalSectors:<PHONE_NUMBER>,
totalTracks: 15876300,
tracksPerCylinder: 255,
sectorsPerTrack: 63,
firmwareRevision: '002C',
serialNum: '0000_0000_0100_0000_E4D2_5C6B_B0E1_4F01.',
interfaceType: 'NVMe',
smartStatus: 'Ok',
temperature: null
}
]

@aledlb8 and please also for

si.blockDevices()
vol c:

??
I need to see where this comes from and if this is NOT shown by systeminformation. To be clear, what you want to see is a VOLUME ID (not hardware ID)!

si.blockDevices() still doesnt work

@aledlb8 Output of vol c: ?

Volume Serial Number is 9C5B-8C37

@aledlb8 si.blockDevices() should work ... but if not, what is the output (in PowerShell) of
Get-CimInstance -ClassName Win32_LogicalDisk | Format-List *

'Get-CimInstance' is not recognized as an internal or external command,
operable program or batch file.

@aledlb8

what windows version?
what powershell version?

is working now, here is the output
Status                       :
Availability                 :
DeviceID                     : C:
StatusInfo                   :
Caption                      : C:
Description                  : Local Fixed Disk
InstallDate                  :
Name                         : C:
ConfigManagerErrorCode       :
ConfigManagerUserConfig      :
CreationClassName            : Win32_LogicalDisk
ErrorCleared                 :
ErrorDescription             :
LastErrorCode                :
PNPDeviceID                  :
PowerManagementCapabilities  :
PowerManagementSupported     :
SystemCreationClassName      : Win32_ComputerSystem
SystemName                   : LAPTOP-DE-ALE39
Access                       : 0
BlockSize                    :
ErrorMethodology             :
NumberOfBlocks               :
Purpose                      :
FreeSpace                    :<PHONE_NUMBER>2
Size                         :<PHONE_NUMBER>84
Compressed                   : False
DriveType                    : 3
FileSystem                   : NTFS
MaximumComponentLength       : 255
MediaType                    : 12
ProviderName                 :
QuotasDisabled               :
QuotasIncomplete             :
QuotasRebuilding             :
SupportsDiskQuotas           : False
SupportsFileBasedCompression : True
VolumeDirty                  :
VolumeName                   : maicra
VolumeSerialNumber           : 9C5B8C37
PSComputerName               :
CimClass                     : root/cimv2:Win32_LogicalDisk
CimInstanceProperties        : {Caption, Description, InstallDate, Name...}

CimSystemProperties          : Microsoft.Management.Infrastructure.CimSystemProperties

oh mb si.blockDevices() does work but it shows like this 9C5B8C37 and not like this 9C5B-8C37 and i got confused

but i have a question
[
{
name: 'C:',
identifier: 'C:',
type: 'disk',
fsType: 'ntfs',
mount: 'C:',
size: '510979805184',
physical: 'Local',
uuid: '9C5B8C37',
label: 'maicra',
model: '',
serial: '9C5B8C37',
removable: false,
protocol: ''
{
name: 'X:',
identifier: 'X:',
type: 'disk',
fsType: 'ntfs',
mount: 'X:',
physical: 'Local',
uuid: '485EA4B9',
label: 'md2',
model: '',
serial: '485EA4B9',
removable: false,
protocol: ''
}
]
this is the output of si.blockDevices() but when i console.log data.serial it shows undefined

@aledlb8 as you can see ... it returns an array so you need to console.log data[0].serial
Closing this for now.


Allow output format directives in defaultDirectives

Hello 👋
My collaborator and I are trying to use vite-imagetools to transition a project from the Gatsby ecosystem. We weren't able to use a meta format directive from within the defaultDirectives override, as the actual import's parameters are checked for output formats.
I assume allowing this would be as simple as changing srcURL.searchParams.has(key) to directives.has(key) here:
https://github.com/JonasKruckenberg/imagetools/blob/58eabc941d5270f65e353f4b3466f4d337a109eb/packages/vite/src/index.ts#L97-L106
Is there a reason this isn't permitted, or is this an oversight? Thanks for any info!
(And, before you ask, yes, I can think of ways in which our use of defaultDirectives in some cases rubs up against the spirit of some of the comments in #160, but we aren't able to make use of query parameters with dynamic import vars without hacking the rollup plugin, and I feel fine using defaultDirectives in this spot.)

This has been done:
https://github.com/JonasKruckenberg/imagetools/blob/a5d1fb92b915e6b38925b363203aeed324d709cb/packages/vite/src/index.ts#L99


image to string converion error

i am trying to run a single python file and trying to convert the image to text (image is placed in same folder where the python file is )
from PIL import Image
from tesseract import image_to_string
print (image_to_string(Image.open('cc.png')))
print ( image_to_string(Image.open('cc.jpg'), lang='eng'))
this is the code and i hav alot of errors

This seems to be a problem with your tesseract installation and not with Spyder
It seems that you somehow installed the python 2 version of tesseract on your python 3 version of anaconda


[Feature request] Pupetteer Firefox support

Hi, it seems pupetteer support Firefox instead of chromium. For low profile systems like raspberry pi, it would be more interesting in terms of memory and CPU usage.
Is it possible to add support for it ?

It seems that Firefox throws less captchas than Chromium, can you give it a chance?
https://github.com/vogler/free-games-claimer/issues/39


Support for content filters

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Azure OpenAI has introduced the ability to configure content filters (How to configure content filters with Azure OpenAI Service).
Terraform already supports specifying a custom policy name via rai_policy_name. However, it does not appear that Terraform currently supports creating custom policies.
The underlying REST call made to create a new content filter is looks like below.

PUT https://management.azure.com/subscriptions/5001b330-4456-4782-8a95-5be13fe6f00a/resourceGroups/my-resource-group/providers/Microsoft.CognitiveServices/accounts/my-openai-account/raiPolicies/MyCustomRaiPolicy?api-version=2023-06-01-preview

with a body like
{
  "name": "Test",
  "displayName": "",
  "properties": {
    "basePolicyName": "Microsoft.Default",
    "type": "UserManaged",
    "contentFilters": [
      {
        "name": "hate",
        "blocking": false,
        "enabled": true,
        "allowedContentLevel": "medium",
        "source": "prompt"
      },
      {
        "name": "sexual",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "high",
        "source": "prompt"
      },
      {
        "name": "selfharm",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "low",
        "source": "prompt"
      },
      {
        "name": "violence",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "medium",
        "source": "prompt"
      },
      {
        "name": "hate",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "low",
        "source": "completion"
      },
      {
        "name": "sexual",
        "blocking": false,
        "enabled": true,
        "allowedContentLevel": "medium",
        "source": "completion"
      },
      {
        "name": "selfharm",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "medium",
        "source": "completion"
      },
      {
        "name": "violence",
        "blocking": true,
        "enabled": true,
        "allowedContentLevel": "high",
        "source": "completion"
      }
    ]
  }
}

New or Affected Resource(s)/Data Source(s)
azurerm_cognitive_rai_policy
Potential Terraform Configuration
resource "azurerm_cognitive_rai_policy" "my_policy" {
  name                 = "MyCustomRaiPolicy"
  display_name         = "My custom RAI policy"
  cognitive_account_id = "/subscriptions/5001b330-4456-4782-8a95-5be13fe6f00a/resourceGroups/my-resource-group/providers/Microsoft.CognitiveServices/accounts/my-openai-account"
  content_filters = [
    {
      name = "hate"
      blocking = false
      enabled = true // This is the default.
      allowed_content_level = "high"
      source = "prompt"
    },
    {
      name = "sexual"
      blocking = true // This is the default.
      // Omit default value for `enabled`.
      allowed_content_level = "high"
      source = "completion"
    }
  ]
}

References
RBAC docs for Microsoft.CognitiveServices/accounts/raiPolicies/*: https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations

hello @dkmiller ,
thanks for opening this issue.
Looking at the azurerm_cognitive_deployment resource in the module:
https://github.com/Azure/terraform-azurerm-openai/blob/8ba0434c491b2dc2d95039b629bb82078e7d13f8/main.tf#L74-L89
We could implement a PR to configure the rai_policy_name argument that now is not supported by this module.
Please let me know if you are you interested in proposing a PR for supporting this argument ?
Your proposal for custom policies requires the implementation of a new resource azurerm_cognitive_rai_policy. This request does not belong to this repository. You should open an issue for a new resource at the hashicorp/terraform-provider-azurerm repository.
Thank you

Hi @zioproto, this module already supports rai_policy_name per the docs:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cognitive_deployment#rai_policy_name
Thanks for the heads-up, I'll open an issue in the repository you linked.

@zioproto done here: https://github.com/hashicorp/terraform-provider-azurerm/issues/22822. Should I close this out?

Hi @zioproto, this module already supports rai_policy_name per the docs:

You are right ! I missed this line when reading the code:
https://github.com/Azure/terraform-azurerm-openai/blob/8ba0434c491b2dc2d95039b629bb82078e7d13f8/main.tf#L79

@zioproto done here: hashicorp/terraform-provider-azurerm#22822. Should I close this out?

I understand you want to introduce some changes in this Terraform module once the provider eventually supports the new resource azurerm_cognitive_rai_policy, correct ? I suggest to keep this Issue in stand-by while we track what happens in the provider repo. Thanks

@zioproto I don't believe any changes will be needed here once the provider supports azurerm_cognitive_rai_policy. Once that change happens, I'll be able to create + reference new RAI policies in a single Terraform module without any additional changes here.

Thanks for clarifying. I think you we close this Issue then. Thank you


Doesn't move beyond choose account dialog

App runs and installs successfully on my Nexus 5 device. Android v 6.0.1. I have multiple accounts linked in the same device. As a result, when the dialog box pops up for selecting account. When the account is chosen, it recalls the same dialog box over and over again. The Android device back button doesnt work either.
Any fix?

^ Ditto!

I got a fix by authenticating the app on Google Dev console.


Error log file grows indefinitely & can result in very large files

Discussed in https://github.com/JakeStanger/ironbar/discussions/451

how the hell did the error log get up to 282.6 GiB
Originally posted by **pinkcreeper100** February 13, 2024
https://akko.wtf/notice/AeqeKmpXN9P9D6N54i
it was full of broken pipe errors

@JakeStanger
the original cause is still occurring though
2024-03-01T07:36:14.772167Z ERROR ironbar::clients::wayland:
   0: Failed to dispatch pending wayland events
   1: other error during loop operation
   2: underlying IO error
   3: Broken pipe (os error 32)

Location:
   src/clients/wayland/mod.rs:305

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Please open a proper issue with more detail and I can investigate

This may be related to incorrectly launching ironbar #632 ?
Every 2.0s: ls -al .local/share/ironbar/ironbar.2024-06-12.log             arch: Wed Jun 12 02:44:42 2024

-rw-r--r-- 1 merlijn merlijn<PHONE_NUMBER>0 Jun 12 02:44 .local/share/ironbar/ironbar.2024-06-12.log

700MB in about 1 minute
Every 2.0s: ls -al .local/share/ironbar/ironbar.2024-06-12.log             arch: Wed Jun 12 02:45:50 2024

-rw-r--r-- 1 merlijn merlijn<PHONE_NUMBER>8 Jun 12 02:45 .local/share/ironbar/ironbar.2024-06-12.log

Apparently I have many ironbar processes running
130 merlijn@arch ~ % pgrep ironbar
2809
188396
374343
374381
399618
399683

Every time I reload sway it creates another ironbar that is just producing these errors in a loop x)

I think ideally ironbar should detect that it is already running and not try to do whatever it is doing right now ? Or maybe there is a way to handle sway reload better.

Might be useful to know that it's the old process that starts freaking out, not the newly created one after reload

I think ideally ironbar should detect that it is already running and not try to do whatever it is doing right now ? Or maybe there is a way to handle sway reload better.

It's supposed to exit if another instance is already running, so this is a separate bug. The additional instances shouldn't get any further than setting up a Wayland client though, so that likely wouldn't explain the config file sizes.


fix: fixed isOwner filter

Description
fixed isOwner filter
Why
when hitting GET: api/administration/serviceaccount/owncompany/serviceaccounts with isOwner flag as true it results
companyServiceAccountTypeIds as Managed Type records instead of showing only Own Type records, now it is fixed by adding additional check condition
Issue
Ref : #563
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

@ntruchsess  thanks.
I have validated the details and added the actual needed change in the ticket https://github.com/eclipse-tractusx/portal-backend/issues/563


feat: add support for openai (compatible) LLM providers

This pull request introduces the ability to integrate with various OpenAI-compatible LLM providers, enhancing the project's flexibility and usability. Resolving #12
The changes include:

Expanded configuration options:

Added "provider" (now required)
Supported options are now: azure, openai
Added "model" (string)

Export configuration in config module so that it is reusable in "cmd" module.

This is needed to reference model name in OpenAI client configuration.

Update login flow to work with different providers:

If azure provider, prompt model-deployment name
Change interactive prompt descriptions to not be azure openai specific.

Change API request handling for Azure vs OpenAI LLM provider:
To increase flexibility of the configuration, GPT4 Turbo Preview is no longer hardcoded as the model name.
To avoid breaking changes, if provider is "azure" and model string is empty, default to GTP4TurboPreview.

Update docs:

Add alternative login example in README
Update azure login example (add provider attribute)

Thanks for the contribution @nkzk! 🚀 I will look into this shortly!

I have made a few changes to the project to please the linter gods, resulting in a few merge conflicts in this PR. I will look into this.


CodeBrowser remembers window size/position on exit, but not maximized state

When you exit CodeBrowser (e.g. by clicking the close box at the top right of its window), it remembers the window size and position. Next time you launch it the window opens in the same place.
However, the maximized (or not) state of the window is not remembered. That means, if you usually work in CodeBrowser with its window maximized, when you next launch it, the window opens the same size as full screen, but not maximized. The right and bottom edges of the window are off the screen.
Environment (please complete the following information):

Ghidra 10.1-BETA, Windows 10, Java 11.0.12

Ack, just noticed this is a duplicate of issue #293.


docs(firebase_database): Slight documentation tweaks.

this is right out of a Frank van Puffelen page. It brings further understanding to what is applyLocally- that even the original docs just expect you to know what it means with just loosely coupled explanations.
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Closing out due to inactivity.


⚠ Spryr has degraded performance

In 601c563, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3390 ms

Resolved: Spryr performance has improved in fa890ee after 10 minutes.


Support interdependencies between query parameters

It would be great to be able to specify interdependencies between query parameters. In my app, some query parameters become "required" only when some other query parameter is present. And when conditionally required parameters are missing when the conditions are met, the API fails. Of course I can have the API reply back that some required parameter is missing, but it would be great to have that built into Swagger.

This is not really an issue to swagger-core but rather to swagger-spec.


Add check for Developer Certificate of Origin

The "Signed-off-by" line in the commit message attests that the committer agrees to https://developercertificate.org  - essentially ensuring original work (and helping us avoid copyright claims), without imposing a bunch of constraints that Contributor License Agreements (CLAs) typically do - and that I would personally hate to see added to our projects.
We should a github action that verifies all commits (from now on) have the signed-off-by line.

Awesome!
I think we need some document (e.g. README? or Contributing?) to contain a message that we require each commit to be Signed-off-by iff they agree with dco, similar to what linux and git do.
For example, see git's submitting patches documentation for sign-off

Sample bots that might do what we need:
DCO: https://github.com/dcoapp/app
Also, (if ever needed) for CLAs:
CLA: https://github.com/contributor-assistant/github-action

I was recommended this one: https://probot.github.io/apps/dco/

@JChrist can you please install https://probot.github.io/apps/dco/ ? (I don't have permissions to request installation under the cytechmobile org)

Should be done, please confirm ! :)

@JChrist looks like I'll have to pass this issue on to you

from https://github.com/cytechmobile/radicle-jetbrains-plugin/settings/installations

should be done, PR #173 shows it in action :)


[Snyk] Upgrade @floating-ui/react from 0.26.12 to 0.26.13

This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @floating-ui/react from 0.26.12 to 0.26.13.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released 21 days ago, on 2024-04-28.

Release notes

Package name: @floating-ui/react

0.26.13 - 2024-04-28Patch Changes

fix(FloatingFocusManager): return focus to reference when applicable even if not focused on open
fix(types): simplify React types
fix(types): replace React_2 with React in generated .d.ts files
fix(types): revert React.JSX.Element back to JSX.Element
fix(useHover): restMs + nullish open delay should respect restMs

0.26.12 - 2024-04-10

    from @floating-ui/react GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs
Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

@snyk-bot rebase

stale


Replace all occurrences of govukcli ssh with gds govuk connect ssh

Now the rest of the docs match the Get Started guide, we will no
longer confuse new people (or old people trying to decipher which tool
they should use).
Some of these could be replaced with gds govuk connect -e production app_console <app>, but that's an exercise for later.
Relates to https://github.com/alphagov/govuk-aws/issues/1159. Come and talk to us in #govuk-dev-tools!

Thanks Chris!


privacy concerns associated with user emails

The new user management system is awesome, thank you @lyuyangh! One concern is that showing the full email as a display name for public submissions is probably a privacy problem. Maybe we should require people to have a display name too?

This is resolved right?

sort of😂 We collect preferred names from the users when they sign up now but the names displayed in the systems table are just the prefix of the email addresses (stuff before @). I'll change it to use the preferred name in the future.
Also, all the emails are still being sent in the HTTP responses. If you open up "inspection" in the browser, you get email addresses for everybody else. I think we probably need to fix this before the public release.
I'll reopen it and we can aim to fix this before the next milestone.

Gotcha, thanks!

@neubig @odashi @pfliu-nlp Would love to hear your thoughts on this!
Background
To avoid exposing emails, we want the systems page to show preferred_username in the creator column. preferred_username is a attribute provided by AWS Cognito, and we have been collecting it when a new user signs up. Its purpose is to give users user names that they can change (while we also can make it unchangeable). This field is not unique by default but could be set to unique by marking it as an alias, which allows users to sign in with it (in addition to using email). See Cognito doc for more.
I'm listing two non-trivial approaches below to implement this, but given that we are migrating to GCP which also provides its own user management solution, I'm wondering if we should spare the effort and work on a quick suboptimal fix. E.g. sending only the email prefix to the frontend instead of going for the solutions below.
Approach 1. Query Cognito to get preferred_username
Since preferred_username is not stored in DB (system metadata only stores user emails), we must query Cognito to get it using email. Note we need this for every system that has a different user name. The current system page shows 10 systems, meaning there can be at most 10 distinct emails.
The problem is Cognito's ListUsers function only supports exact match and prefix match (see issue here), so we need to query it N times if there are N distinct user emails. This solution is not scalable and impossible without backend caching because ListUsers's quota is 30 RPS and unadjustable (see cognito doc).
Approach 2. Storing preferred_username in system metadata
To avoid querying Cognito, we can store preferred_username in system metadata and optionally remove the email field to reduce redundancy if we mark preferred_username as unique. If we remove email, we must update the shared_users field from using email to preferred_username as well.
The con with this is that preferred_username is denormalized into every system metadata, so we have the truth value in Cognito and a copy value in system metadata. The two values have to be consistent. If we allow users to update their preferred_username in Cognito, we must ensure all systems that are owned by the user have their preferred_username updated in the DB as well.
Thanks @lyuyangh for the offline discussion!

I think neither 1 nor 2 is useful when we need to query user information many times (especially this kind of cases that we need to query information about other users).
Since identity providers (Cognito on AWS, Firebase auth/Identity Platform on GCP) provide only limited fields for each user, and are not designed as a transactional database, we basically need another database to store user information. Identity providers are used to obtain only the ID of users which will be used as the key of our database (if the table contains a pointer of a user, it should be the ID returned by the identity provider).

Neither e-mail nor display names should be used for user identity in our DB, because they can be altered at any points so it easily drops consistency of the DB entry. We need to use the unchanged user ID that the ID provider should provide:


tasks: added portus:db:configure

This task should be used when setting up the database instead of the
usual combination. This handles databases with pending migrations, new
databases, etc.
See #1639
See #1712
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

I've tested it locally and it works like a charm. The only thing missing to mark #1639 and #1712 as fixed is to update the init file from the Docker image by calling this new rake task instead :+1:

Tests passed (I miss-clicked the update branch button :sweat_smile:, but it should be fine).


[Profiler] Enable profiler with fine grained profile

[Profiler] Enable profiler with fine grained profile

This patch enables profiler with layer profiling.

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1576. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1576-202109171330020.43790292739868-2153c2a0b7a05913ec293539b2c523e232a6e8f4/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1576-202109171401400.66305303573608-37fdc83ccce5ad793359044ee7ffe88db14b290a/.


Augment verify_xcode action's accepted codesign info

Addresses #4073

Adds another set of acceptable codesign details so that Xcode installations which are downloaded from developer.apple.com (which are signed differently) are also seen as valid.
Changes value quoting to shell escaping for the xcode_path
No longer reports the information that couldn't be found after a failed codesign verification, as there's now two sets of information that we'd have to report, and it starts to feel more confusing than helpful.
Adds tests for codesign checks
Changes some success logging to be message logging, where it is not reporting success

:+1:

This is great, thanks @mfurtak :+1:


Ability to disable password login / enforce OAuth

Related to issue #86: I'd like to be able to create locked down accounts that have no passwords and only accept login through OAuth, for security.

With the last dev version you can disable the login form for specific users (edit profile).


IDP.ARES.GENERIC VIRUS found in update

The update on 31/7/16 came up with this in the squrril file WTAF?

it's something with windows 10. On windows 7 there is no AVG detection for me. But still I got error in installation and can't load map

The file is not a virus, please see the VirusTotal page provided.
VirusTotal


Roll Flutter Engine from 05cb5d7f7939 to 718f3a0af52b (4 revisions)

https://github.com/flutter/engine/compare/05cb5d7f7939...718f3a0af52b
2024-11-02<EMAIL_ADDRESS>Roll Dart SDK from 61bf0877807e to 69cec5dc51f9 (2 revisions) (flutter/engine#56335)
2024-11-02<EMAIL_ADDRESS>Multiple touches of a stylus should be considered from the same device (flutter/engine#56075)
2024-11-02<EMAIL_ADDRESS>Roll Skia from 89ac72bb4922 to 6944cd128603 (2 revisions) (flutter/engine#56331)
2024-11-02<EMAIL_ADDRESS>[web] Transfer focus to view rootElement on blur/remove. (flutter/engine#55045)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Vector to raster conversion

Related issue: #442

The json should be valid but the automatic linter gives an error:
Unexpected token·in JSON at position 1639

You have to remove the spaces at the end of the return description.


[HybridParallel] Add tutorials.

Hybrid Parallel Tutorials给出了多种分布式并行示例，包括以下目录：

toy_examples：数据并行；
dp_pipeline：数据并行 + 模型并行 + 流水并行；
dp_split：数据并行 + 算子拆分.

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


Binding access in render function - question

Hi, I am new to React and MoreartyJS.
Is there any way to access the binding in components render function?
If no, how can I make the render function to be dependent on binding?

You simply include the Morearty Mixin in your Component and then call this.getDefaultBinding(). I haven't had a look at morearty for ages, not to disencourage you from using it, but there's some newer implementations of architectures like Redux, which are way better documented, but require a little bit more work than Morearty. Anyways good luck with React & Morearty!

Thanks for your answer, I solved my problem by passing binding property to nested React components.


README go install confusion

https://github.com/polygon-io/client-go/blob/fbc07dbfb053b511443a0c192c7a4d0b3684ef3f/README.md?plain=1#L11
This is kind of confusing since you actually need to do a go get github.com/polygon-io/client-go/rest.

I have not experienced this. github.com/polygon-io/client-go/rest does not contain a go.mod file and thus does not need to be explicitly retrieved from go get. I bet the problem is you aren't running go mod tidy after the go get. go build used to do this for you but they removed that functionality a couple verisions ago and they did so intentionally.
I think our README is correct and running go mod tidy is a standard practice of building go applications. Because of this I will close this issue in a couple of days unless you comment otherwise.
The following is the terminal history I used to try and reproduce the issue.
docker run --rm -it --entrypoint=/bin/bash golang:1.19.5
root@9d32c46797b7:/go# mkdir test
root@9d32c46797b7:/go# cd test/
root@9d32c46797b7:/go/test# go mod init test
go: creating new go.mod: module test
root@9d32c46797b7:/go/test# cat > main.go <<EOF
package main

import (
        "context"
        "log"
        "os"

        polygon "github.com/polygon-io/client-go/rest"
        "github.com/polygon-io/client-go/rest/models"
)

func main() {
        listTrades()
}

func listTrades() {
        c := polygon.New(os.Getenv("POLYGON_API_KEY"))

        params2 := models.ListTradesParams{
                Ticker: "CORN",
        }.WithDay(2021, 7, 22).WithLimit(50000).WithOrder(models.Asc)

        iter := c.ListTrades(context.Background(), params2)
        for iter.Next() {
                log.Print(iter.Item()) // do something with the result
        }
        if iter.Err() != nil {
EOF     }       log.Fatal(iter.Err())
root@9d32c46797b7:/go/test# go get github.com/polygon-io/client-go
go: downloading github.com/polygon-io/client-go v1.8.0
go: added github.com/polygon-io/client-go v1.8.0
root@9d32c46797b7:/go/test# go mod tidy
go: downloading github.com/jarcoal/httpmock v1.2.0
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/go-resty/resty/v2 v2.7.0
go: downloading github.com/go-playground/form/v4 v4.2.0
go: downloading github.com/go-playground/validator/v10 v10.11.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
go: downloading github.com/go-playground/universal-translator v0.18.0
go: downloading github.com/leodido/go-urn v1.2.1
go go: downloading golang.org/x/text v0.3.7
go: downloading github.com/go-playground/locales v0.14.0
go: downloading golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
build .go: downloading github.com/go-playground/assert/v2 v2.0.1
root@9d32c46797b7:/go/test# go build .
root@9d32c46797b7:/go/test# ./test
2023/01/25 21:50:35 bad status with code '401': message 'API Key was not provided': request ID '2d8566ee082e9374c1ddae028d5d572c': internal status: 'ERROR'
root@9d32c46797b7:/go/test#

During development I don't usually do a go mod tidy. That is usually done before pushing up for a PR.
This isn't something other packages have required me to do before being able to use it. Requiring users to do a go mod tidy makes the go get statement redundant since it will find the missing packages and go get them.
docker run --rm -it --entrypoint=/bin/bash golang:1.19.5
root@483221447dec:/go# mkdir test
root@483221447dec:/go# cd test/
root@483221447dec:/go/test# go mod init test
go: creating new go.mod: module test
root@483221447dec:/go/test# cat > main.go <<EOF
package main

import (
        "context"
        "log"
        "os"

        polygon "github.com/polygon-io/client-go/rest"
        "github.com/polygon-io/client-go/rest/models"
)

func main() {
        listTrades()
}

func listTrades() {
        c := polygon.New(os.Getenv("POLYGON_API_KEY"))

        params2 := models.ListTradesParams{
                Ticker: "CORN",
        }.WithDay(2021, 7, 22).WithLimit(50000).WithOrder(models.Asc)

        iter := c.ListTrades(context.Background(), params2)
        for iter.Next() {
                log.Print(iter.Item()) // do something with the result
        }
        if iter.Err() != nil {
            log.Fatal(iter.Err())
        }
}
EOF
root@483221447dec:/go/test# go mod tidy
go: finding module for package github.com/polygon-io/client-go/rest
go: finding module for package github.com/polygon-io/client-go/rest/models
go: downloading github.com/polygon-io/client-go v1.8.0
go: found github.com/polygon-io/client-go/rest in github.com/polygon-io/client-go v1.8.0
go: found github.com/polygon-io/client-go/rest/models in github.com/polygon-io/client-go v1.8.0
go: downloading github.com/jarcoal/httpmock v1.2.0
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/go-resty/resty/v2 v2.7.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/go-playground/form/v4 v4.2.0
go: downloading github.com/go-playground/validator/v10 v10.11.1
go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
go: downloading github.com/go-playground/universal-translator v0.18.0
go: downloading github.com/leodido/go-urn v1.2.1
go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/go-playground/locales v0.14.0
go: downloading golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
go: downloading github.com/go-playground/assert/v2 v2.0.1
root@483221447dec:/go/test# go build .

go mod tidy is intended to help with the build process as per their docs

go mod tidy ensures that the go.mod file matches the source code in the module. It adds any missing module requirements necessary to build the current module’s packages and dependencies, and it removes requirements on modules that don’t provide any relevant packages. It also adds any missing entries to go.sum and removes unnecessary entries.

It is a bit redundant as you can develop Go code and get away with not running go get, which is what I do.
I was told that we added the go get at the top of the README not as an imperative instruction, which I don't believe it's phrased that way, but as a way to blend in with other popular Go packages. pkg/errors and gorilla/mux.
I would rather remove the go get from the top of our README since its not our intention to make that the "install" instructions. Also since Go has been know to change their standard practices in the past I recommend removing the "install" instructions as they might change underneath us.

Thank you both for the insights on this issue. Sorry for not getting to this one sooner since our documentation is so obviously wrong. It appears that with the deprecation of go get outside a module starting from Go 1.17, our README instructions might be causing confusion, especially for users on Go 1.21.5 and later. Currently, our instructions suggest using go get github.com/polygon-io/client-go, which leads to an error in newer Go versions:
$ go get github.com/polygon-io/client-go/rest/models
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

I propose we update our README to guide users through the process of initializing a new module and managing dependencies with go mod init and then go mod tidy, so we are aligning with modern Go standards. This would provide a clearer and more straightforward path for setting up projects with polygon-io/client-go.
Here's a brief overview of the updated process (full details in the PR):

Initialize a new module (go mod init)
Create your main.go file
Run go mod tidy
Execute go run main.go

I've submitted a PR with these changes. This update should help new users and those transitioning from older Go versions avoid confusion and correctly set up their projects.

I've merged the change to update the readme. If there is anything else just let me know. Cheers.


useSelector does not work with Enzyme's context

Do you want to request a feature or report a bug?
I would like to post a bug that I found in the new alpha version when used with enzyme.
What is the current behavior?
The new react-redux hooks don't pick up the enzyme's context.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to a CodeSandbox (https://codesandbox.io/s/new) or RN Snack (https://snack.expo.io/) example below:
https://codesandbox.io/s/ecstatic-poincare-7ome2?fontsize=14
What is the expected behavior?
The Component should pick up on the context from enzyme, but only picks up the context when wrapped inside the Provider component.
Which versions of React, ReactDOM/React Native, Redux, and React Redux are you using?  Which browser and OS are affected by this issue? Did this work in previous versions of React Redux?
Everything latest and react-redux@next.

See airbnb/enzyme#2011. They don't yet support useContext, which is critical to making them work.


Page header updates to share common UI language in OSD

Description
This PR updates all the pages to leverage the shared page header control updates gated behind the [newHomePage](home:useNewHomePage) setting.
https://github.com/user-attachments/assets/259de3c0-ffd3-480c-b053-5c1218f2d89a
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Passing tests


optimizer: merge values operators which are the same UnionAll's input.

Current
dev=> explain values(1,2) union all values(2,3) union all values(3,4);
                  QUERY PLAN
----------------------------------------------
 BatchUnion { all: true }
 ├─BatchValues { rows: [[1:Int32, 2:Int32]] }
 ├─BatchValues { rows: [[2:Int32, 3:Int32]] }
 └─BatchValues { rows: [[3:Int32, 4:Int32]] }
(4 rows)

expected
                                     QUERY PLAN
------------------------------------------------------------------------------------
 BatchValues { rows: [[1:Int32, 2:Int32], [2:Int32, 3:Int32], [3:Int32, 4:Int32]] }

@st1page Do we need to handle the !all case?

I guess, yes, and we should do the deduplication manually?

I guess, yes, and we should do the deduplication manually

Sounds like an operator-leveled "constant folding", maybe we can just add a groupTopN operator here to do the deduplication. And do the deduplication in optimizer with one another rule.

As discussed offline, !all is already handled by UnionToDistinctRule


Feature: Record Audio Notes

is this meant as a speech-to-text feature, or recording an audio and attaching it to the canvas as a file?

I meant recording an audio first, and then transcribing audio later somewhere along OCR

https://github.com/excalidraw/excalidraw/issues/4257
https://github.com/excalidraw/excalidraw/issues/5379

Hi, I think #5757 is related, and a video is also requested.


Fix getSolveSwingLimit returning wrong member variable

There do not seem to be any in-engine uses of this function.
Fixes #92947

I think we can remove those functions instead if nothing uses them internally.


Stats/Histogram/Boxplot/Outlier Tab

See mock ups for outlier tab: https://usepa.sharepoint.com/sites/WQPDataAssessmentTeam/Shared Documents/Forms/AllItems.aspx?id=%2Fsites%2FWQPDataAssessmentTeam%2FShared Documents%2FGeneral%2FTADA Dev%2FRShiny&viewid=deb12f0b-3d2c-4694-be22-7d262f785cce
The R package functions need to be developed (https://github.com/USEPA/TADA/issues/47), but it might be helpful to develop both the package and R shiny app at the same time for this page. That way, we can decide what goes into the R package as a function vs what is only in the shiny app for these visualizations.
There is great example code in this open source CDC R Shiny App (available online here: https://ergapps.shinyapps.io/atsdrepc/) that was developed by ERG for the CDC that may be able to be leveraged here. Example data to run: ATSDREPCToolVignetteSampleDataset.xlsx
In this example, the code is all incorporated into the Shiny app as functions (fct) and mod files (see .R folder).

see: https://github.com/USEPA/TADA/issues/47


pricing tier swagger

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

@1openwindow I have two questions:

it seems all fieds in sku are readonly, so is sku readonly?
in examples, it seems request parameters have sku, will service backend handle it? is it really readonly ?

/azp run automation - sdk

@1openwindow I have two questions:

it seems all fieds in sku are readonly, so is sku readonly?
in examples, it seems request parameters have sku, will service backend handle it? is it really readonly ?

sku is not readonly. I just removed the "readonly" property in this pull request.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@pilor please review this PR again.

/azp run automation - sdk

/azp run automation - sdk


IUserStore CRUD now return IdentityResult

Precursor work needed to add concurrency logic (Stores need to return
Concurrency errors)
Also fixes: https://github.com/aspnet/Identity/issues/245

cc @divega @suhasj

Merged a8c872aba97e641d38ba2cc098a4ac191a666b6a


Add support for github_team_membership

LGTM!
it could detect a manually added user to the team:
$ LOG_LEVEL=info driftctl-0.6 scan --from tfstate+s3://driftctl-tfstates/ --to github+tf
Terraform provider initialized (name=github, alias=sj-qa-1-org)
INFO[0000] Start reading IaC
INFO[0001] Start scanning cloud provider
Found unmanaged resources:
  github_membership:
    - sj-qa-1-org:sj-qa-1
  github_team_membership:
    - 4581234:sjourdan
Found 5 resource(s)
 - 60% coverage
 - 3 covered by IaC
 - 2 not covered by IaC
 - 0 deleted on cloud provider
 - 0/3 drifted from IaC

it could detect when I changed the assigned role manually like tf:
$ LOG_LEVEL=info driftctl-0.6 scan --from tfstate+s3://driftctl-tfstates/ --to github+tf
Terraform provider initialized (name=github, alias=sj-qa-1-org)
INFO[0000] Start reading IaC
INFO[0002] Start scanning cloud provider
Found unmanaged resources:
  github_membership:
    - sj-qa-1-org:sj-qa-1
Found drifted resources:
  - 4581234:sjourdan (github_team_membership):
    ~ Role: "member" => "maintainer"
Found 5 resource(s)
 - 80% coverage
 - 4 covered by IaC
 - 1 not covered by IaC
 - 0 deleted on cloud provider
 - 1/4 drifted from IaC


mul method between nn.Module classes raises error

I'd like to be able to implement a __mul__(self, other) method for classes inheriting the nn.Module class. I'm trying to implement a set of kernel functions, and we know that the product of two kernels gives rise to a new kernel, so having the ability to define a new kernel by the product of two existing kernels would be useful.
A minimal working example that demonstrates the problem is as follows:
class SimpleMLP(nn.Module):
    features: Sequence[int]

    @nn.compact
    def __call__(self, inputs):
        x = inputs
        for i, feat in enumerate(self.features):
            x = nn.Dense(feat, name=f'layers_{i}')(x)
            if i != len(self.features) - 1:
                x = nn.relu(x)
        return x

    def __mul__(self, other):
        return self.features + other.features

m1 = SimpleMLP(features=5)
m2 = SimpleMLP(features=10)
m1*m2

Clearly the __mul__(self, other) method here is only for demonstration purposes, but I would expect 15 to be outputted. Instead, the following error message is given:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-69-ddca13716f29> in <module>
     18 m1 = SimpleMLP(features=5)
     19 m2 = SimpleMLP(features=10)
---> 20 m1*m2

~/Documents/GPBlocks/venv/lib/python3.8/site-packages/flax/linen/module.py in wrapped_module_method(self, *args, **kwargs)
    146
    147     if self.scope is None:
--> 148       raise ValueError("Can't call methods on orphaned modules")
    149
    150     if is_compact_method:

ValueError: Can't call methods on orphaned modules

Is there a correct way to implement the __mul__ method for an nn.Module class?

Hi @thomaspinder, good to see you here!
The "Can't call methods on orphaned modules" was supposed to be a helpful error to guard against user error. But this is an interested example of how it may be overly restricting. We could consider alternatively disallowing anything that calls into self.variables, self.variables() or self.param(), which would make your use case work fine.
In the meanwhile, a workaround would be to define mul as a top-level function (not a method on your Module instance). I know this isn't ideal but just thought I'd bring it up. I think we should fix this.

Hi Thomas, here is a PR that (I believe) resolves your issue: https://github.com/google/flax/pull/653
Could you try patching it in and installing a local version of Flax to make sure it indeed covers your use case? Hopefully we can merge this in soon and release a new version on PyPI, but it'd be good to get your feedback first.

Yes, this appears to work perfectly for my use case i.e. calling a __mul__ method. I also tried for __add__, and that also appears to be working. Thanks for creating a PR so quickly for this Avi!

Fixed by #653


Make a box

This seems like a nice box. Lots of room. PCB would be 174 mm x 141 mm. The connectors (including two Megadrive DE-9s) just about fit, and there's plenty of board space.
https://uk.rs-online.com/web/p/instrument-cases/2205550/

So I did spend some (quite a lot actually) of time thinking about making Monotron into an ATX or microATX form-factor. I'd then have a custom expansion connector broadly inline with the expansion slots in the case. But ATX cases are big and bulky and I think I prefer an Amiga 500/1200 style form factor.


Engine Reload is not functional

NUnit Compatibility Issue
Category: Functionality
Visibility: Users
Resolution: Resolved: We should implement this in one project and then port it to the other.
Description
Since the Console runner never used it, some function was left out of the engines' Reload API, which makes it unusable by the GUI. The GUI instead simply unloads and loads the assemblies. However, this isn't fully satisfactory because information displayed is lost in the process when a new package is created.

We are no longer trying to maintain NUnit compatibility but the reload functionality may still need some work.

It's actually unclear if this is still a problem so I'm dropping it from the beta5 release for now. We can test further with the GUI when it's using the beta5 engine.


Environment variables

Added support for taking environment variables from docker.
Supported are:

SLEUTHKIT_REPO (URL of sleuthkit repository)
MYSQL_USER
MYSQL_PW
OPENDF_DB_USER (Database user's name for the OpenDF database)
OPENDF_DB_PW (Database user's password for the OpenDF database)

If a value isn't set, the script has/generates a default value. For the passwords (*_PW) this means that a pseudo-random password is being generated, which is printed to stdout at the end of the build process in a line starting with [INFO]. This way, every installation generates its own 'default' passwords which is more secure than a hardcoded one.

New environment variables
OPENDF_REPO ( URL of OpenDF repository, this could be your fork of OpenDF repo )
OPENDF_BRANCH ( Branch of OpenDF repository to clone )
SLEUTHKIT_REPO ( URL of Sleuth Kit repository )
MYSQL_USER
MYSQL_PW
OPENDF_DB_USER ( Database user's name for the OpenDF database )
OPENDF_DB_PW ( Database user's password for the OpenDF database )


Put OTIO on PyPi

It'd be great if we could install OTIO from pypi with pip.
This will require setup.py to have some additional fields such as license, classifiers, keywords, platforms. Because we're using a README.md markdown file, we'll also need a setup.cfg file to tell pypi where our long description is.
Once the setup.py work is complete, we can start uploading to PyPi.
This is a good general article on getting your package ready for uploading to PyPi but it's upload section should not be used!
This how to is good for everything after Register for PyPi

I'll be submitting a PR for updating setup.py

I've opened a PR (#241) which should contain the ground work needed to begin putting OTIO on PyPi.
One thing to note as we move forward with this is that Warehouse, the all new pypi, is now in Beta, so PyPi deployment steps should be tested against that as well.

This is now done:
https://pypi.org/project/OpenTimelineIO/
We've also updated our internal release process to include PyPI.


'mobilebarcodescanner' does not contain a definition for 'initialize'

Greetings
I am using NuGet package ZXing.Net.Mobile. When i upgrade to version 2.4.1 line MobileBarcodeScanner.Initialize(Activity.Application); is suddenly highlighted and intelisense says 'mobilebarcodescanner' does not contain a definition for 'initialize'. When i revert back to 2.3.2 it works. Any idea what am i missing?

Exactly the same issue for me currently, 2.3.2 is working like a dream, but 2.4.1 errors with Initialize not being defined on MobileBarcodeScanner

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!