irq: remove restore_critical_section in irq

Summary
Only in the non-critical region， nuttx can the respond to the irq and not hold the lock When returning from the irq, there is no need to check whether the lock needs to be released we also need keep restore_critical_section in svc call
Impact
Testing
Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
   -machine virt,virtualization=on,gic-version=3 \
   -net none -chardev stdio,id=con,mux=on -serial chardev:con \
   -mon chardev=con,mode=readline -kernel ./nuttx

@hujun260 please include that suggest qemu command line in our Documentation/ I search for it and didn't find anything: https://nuttx.apache.org/docs/latest/search.html?q=qemu-system-aarch64&check_keywords=yes&area=default

@hujun260
Please divide the commit into two commits.

arch: Remove restore_critical_section in irq
Only in ...

arch: Add  CONFIG_DEBUG_SYSCALL_INFO
*** please specify why you changed. ***

@hujun260 Please divide the commit into two commits.

arch: Remove restore_critical_section in irq
Only in ...
arch: Add  CONFIG_DEBUG_SYSCALL_INFO
*** please specify why you changed. ***

ok

@hujun260
Hmm, the commit is still not divided.

OK, i update the patch


[Bug] WebDav non-responsive/failed sync

Describe the bug
Triple checked WebDav settings, reset, re-added password, 'check connection' shows nothing, on attempt to sync get a perpetual "sync fail" message.
I would expect to enter SSL/port, which is likely why it is failing.
To Reproduce
Steps to reproduce the behavior:
Configure WebDav
Click Sync
Expected behavior
Sync is successful
Versions (please complete the following information):

OS: Mac Ventura 13.6.
CGPTNW: 2.9.9

Please follow the steps below to troubleshoot the issue:

Please provide the webdav provider you are using.
Check if a new folder has been created in the webdav cloud drive.
Use the demonstration webpage of the project to retry the synchronization process.
In the demonstration webpage, if an error occurs, press the F12 key to open the console, check the detailed error message, and take a screenshot here.

Webhosting - Cpanel, 'web disk'.
Yes, with new password.
Noone should put their webdav details into a public demo page.

EDIT: Figured it - Cpanel is giving WRONG 'web disk' (webdav) authentication details.
I disabled CORS, and used full URL with port: https://domain.url:2078/ - this worked.
Might be worth adding this to Wiki.

By default, most webdav service providers disable CORS, which is why I provided the proxy URL option. Furthermore, based on your description, I cannot determine the specific cause of the error.
Webdav configurations vary greatly, from authentication methods to network settings, and I do not have the resources to fully adapt to all of them. Therefore, I have only handled the commonly used methods.

webdav地址直接用 https://dav.jianguoyun.com/dav/ 不行，要在根目录新建一个文件夹，比如 chatgpt_next_web，填入https://dav.jianguoyun.com/dav/chatgpt_next_web
app版，国内没翻墙，没有启用app自带的代理


Enhance generate_static_provisioning_yamls.sh

https://github.com/IBM/ibm-spectrum-scale-csi/issues/567

Please check the type of change your PR introduces:

[x] Bugfix
[x] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

How risky is this change?

[x] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

For directory based static PV:
VolumeHandle:      0;0;7171748422707577770;13280B0A:61F4048E;;;/ibm/fs1/amol
For dependent fileset based static PV:
VolumeHandle:      0;1;7171748422707577770;13280B0A:61F4048E;;dep1;/ibm/fs1/fset2/dep1
For independent fileset based static PV:
VolumeHandle:      0;2;7171748422707577770;13280B0A:61F4048E;;fset2;/ibm/fs1/fset2

For directory based static PV:
VolumeHandle:      0;0;7171748422707577770;13280B0A:61F4048E;;;/ibm/fs1/amol
For dependent fileset based static PV:
VolumeHandle:      0;1;7171748422707577770;13280B0A:61F4048E;;dep1;/ibm/fs1/fset2/dep1
For independent fileset based static PV:
VolumeHandle:      0;2;7171748422707577770;13280B0A:61F4048E;;fset2;/ibm/fs1/fset2


installing thundergbm for Python generates this error: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\DonaldSeger\Desktop\thundergbm\build\bin\Debug\thundergbm.dll'

I am trying to install thundergbm for Python on a Windows 10 (64 bit) machine, but ran into this problem. I have cloned the thundergbm repository and executed all the steps up to and including the cmake command. Then I switched to the python folder to run "python setup.py install", but got the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\DonaldSeger\Desktop\thundergbm\build\bin\Debug\thundergbm.dll'
What might be the cause of this problem? Is there a simple way to explain how to install thundergbm for Python or inside a python virtual environment?

You can manually build the wheel file using the instructions here. After you have the wheel file, you can install ThunderGBM via pip install.


Please provide an example with a simple cookie manipulation

I was not able to find any example for modifing or adding a cookie.
We need this feature to set the Client Language via Cookie.

Will CloudFront-Viewer-Country still be populated if I remove it from the cache key?

Not with the legacy cache settings, no. This is one of the key benefits of using cache policies and origin request policies instead of the legacy cache settings. With the legacy cache settings, the only way to add a CloudFront- header is to include it in the cache key. But with an origin request policy, you can add the CloudFront-Viewer-Country header (or any other CloudFront- header) without including it in the cache key.

I'm trying to use Cloudfront functions to create a A/B testing setup with cookies that allow users to be served one variant consistently. Right now I'm stuck on how to set a cookie for a first-time user, and have them redirect to the function again after a cookie is set.
There are examples of this for Lambda@edge(example of what I'm trying to achieve: link) but I haven't seen one for Cloudfront functions yet.
Currently I'm working from the Viewer-request events:
So far I've tried to returning a response with a set-cookie header, but within the testing feature on cloudfront, it tells me that cloudfront responses do not support set-cookie.

If I try to set the cookie attribute in the request or response object, I get this error when visiting the distribution:

For anyone else who ends up here, this worked for me:
async function handler (event) {
    const response = event.response

    response.cookies = {
        'X-My-Cookie': {
            value: 'Test',
            attributes: 'Secure; HttpOnly; Path=/'
        }
    };

    return response;
}

For anyone else who ends up here, this worked for me:
async function handler (event) {
    const response = event.response

    response.cookies = {
        'X-My-Cookie': {
            value: 'Test',
            attributes: 'Secure; HttpOnly; Path=/'
        }
    };

    return response;
}

@jsakas Trying this did not set a Cookie for me – are you using this in a viewer request Lambda@Edge function?


gazebo_ros_pkgs: 2.5.11-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository gazebo_ros_pkgs to 2.5.11-0:

upstream repository: https://github.com/ros-simulation/gazebo_ros_pkgs.git
release repository: https://github.com/ros-gbp/gazebo_ros_pkgs-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.26
previous version for package: 2.5.10-0

gazebo_msgs
* Changed the spawn model methods to spawn also lights. (#511 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/511>)
* Contributors: Alessandro Ambrosano

gazebo_plugins
* Change build system to set DEPEND on Gazebo/SDFormat (fix catkin warning)
  Added missing DEPEND clauses to catkin_package to fix gazebo catkin warning.
  Note that after the change problems could appear related to -lpthreads
  errors. This is an known issue related to catkin:
  https://github.com/ros/catkin/issues/856
* Fix: add gazebo_ros_range to catkin package libraries (#558 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/558>)
* Contributors: Christoph Rist, Dave Coleman

gazebo_ros
* Changed the spawn model methods to spawn also lights. (#511 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/511>)
* Change build system to set DEPEND on Gazebo/SDFormat (fix catkin warning)
  Added missing DEPEND clauses to catkin_package to fix gazebo catkin warning.
  Note that after the change problems could appear related to -lpthreads
  errors. This is an known issue related to catkin:
  https://github.com/ros/catkin/issues/856.
* Use correct logerr method (#557 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/557>)
* Contributors: Alessandro Ambrosano, Dave Coleman, Gary Servin

gazebo_ros_control
* Change build system to set DEPEND on Gazebo/SDFormat (fix catkin warning)
  Added missing DEPEND clauses to catkin_package to fix gazebo catkin warning. Note that after the change problems could appear related to -lpthreads errors. This is an known issue related to catkin: https://github.com/ros/catkin/issues/856.
* Make gazebo_ros_control compatible with ros_control with respect to <hardwareInterface> tag (#550 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/550>)
  * ros_control expects "<hardwareInterface>hardware_interface/PositionJointInterface</hardwareInterface>", i.e. "hardware_interface/" prefix
  * add deprecation warning
  * improve warning
  * fix warning message fix
* Contributors: Andreas Bihlmaier, Dave Coleman

gazebo_ros_pkgs

No changes

This release is also an issue here: https://bitbucket.org/DataspeedInc/velodyne_simulator/issues/5/kinetic-build-of-velodyne_gazebo_plugins


Improved support for custom/changing directory structures

The current ServiceProvider implementation assumes that Laravel is configured in its default state, and the way the publishes() method works makes it fairly dependent on the default application structure as described in Laravel's documentation.
For example, because the documentation says to use:
$this->publishes([
    __DIR__.'/path/to/views' => resource_path('views/vendor/courier'),
]);

If Laravel ever decides to move the default views/ directory to somewhere else—say base_path('views')—all existing packages will have to update and drop backwards compatibility.
This PR adds the following new ServiceProvider methods:

publishesViews($path, $namespace, $group = null)
publishesConfig($path, $namespace = null, $group = null)
publishesTranslations($path, $namespace, $group = null)
publishesPublicAssets($path, $namespace, $group = null)
publishesMigrations($path, $group = null)

Because each of these methods determines where to publish the files, they can easily be updated as the framework grows/changes over time.
The other upside is that we can use the currently configured paths instead of the framework defaults where appropriate. So, in the example of views, if your config('view.paths') is set to base_path('views'), calling publishesViews(__DIR__.'/views', 'courier') will automatically publish to views/vendor/courier instead of resources/views/vendor/courier.
The PR also adds a $publish flag to:

mergeConfigFrom($path, $key, $publish = false)
loadViewsFrom($path, $namespace, $publish = false)

Which will automatically call publishesConfig and publishesViews for you respectively.
Finally, this PR updates the loadViewsFrom method to use the config('view.paths') value rather than hard coding $this->app->resourcePath().'/views/vendor/'.$namespace.
This is important because currently there is no way to override vendor view files if you've put your views directory anywhere other than resources/views/ (unless you manually add a call to addNamespace() for each package you've installed).
This PR still needs to have tests added and will probably need some code style changes.

I know that @taylorotwell closed https://github.com/laravel/framework/pull/18755 saying that you should just call loadViewsFrom multiple times, but that's not possible with 3rd party packages. Right now, the only way to load custom vendor views if your view path isn't at the default location is to call addNamespace for each package you have installed:
view()->addNamespace('foo', base_path('views/vendor/foo'));
view()->addNamespace('bar', base_path('views/vendor/bar'));
// ...

Actually, upon further investigation, you can't call addNamespace() inside your AppServiceProvider because the vendor service provider's call to loadViewsFrom will register the vendor views above the app views. So right now, there's no way to load vendor views from anywhere but resources/views/vendor/* without some serious hacks.

Regarding your last comment, that depends on the order of your service providers and is easily fixed by adjusting the order.

@taylorotwell good point. I guess my underlying point is that it's not a particularly easy thing to handle, and the fix is relatively benign. I personally find that for smaller teams, where there's not a huge separation between designers and developers, having views as a top-level directory is a lot nicer to work with. I imagine that I'm not alone in this, so it seems like it'd make sense for the framework to support that use-case without too much fuss.

OK, I dropped the $publish parameter from loadViewsFrom and mergeConfigFrom because it could cause issues with boot vs register. At this point, I think this PR is ready to merge if y'all are good with it.

This doesn't look quite right. You have that applicationNamespacedRegistered flag but it is only for one namespace, it will never be called again for any other namespaces. Seems wrong. Feel like this whole thing could be a bit simpler.


No Hover Animation on Social Icons

Description
The social icons currently lack any hover animation, which makes them appear static and less engaging. By adding hover effects, we can improve the visual appeal and interactivity of the icons, making them look more dynamic and visually pleasing when the user interacts with them.
Steps to Reproduce

View the social icons on the page.
Hover over the icons.
Notice that no hover animation is applied.

Expected Behavior

Social icons should have smooth and visually appealing hover animations when the user hovers over them.
This will make the icons more engaging and provide a better user experience.

Possible Solution

Add CSS hover animations to the social icons to enhance their appearance. This could include scaling, color transitions, or other subtle effects that improve the overall look and feel.

Screenshot

Additional Context
By adding hover effects, the icons will look more polished and interactive, enhancing the design and making them stand out.

I would like to work on this project. Please assign it to me

i am excited to do this !please assign it to me.


fix(sao): make sao a prod dependency

Description
Make Sao a prod dependency as it is needed to provide the prompting and templating generation

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Related Issue
https://github.com/lirantal/create-node-lib/issues/14

:tada: This PR is included in version 2.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Using the keyword '#force_inline' or the identifer 'inline' as procedure return type crashes ols server

code that can cause the crash:
package main

add :: proc(a,b : int) -> #force_inline

Fixed: https://github.com/odin-lang/Odin/commit/2b6a926bb60ea652997401d37fc11f5a29f5b20b


Display a user's connected RPG character (front-end)

At signup a character will receive a connected RPG character with default values (random name).

Show this character to the user as per design

This will be in a separate page, allowing for more actions with the character in the future.

There is a place on the homepage with a summary of the character, currently only a div as placeholder. Will require a new CharacterSummary component.


Some template arguments don't seem to be properly passed on

We have this specification in our template_dark and template_light:
    # CHART TYPES
    template_dark.data.bar = [
        go.Bar(
            marker={"line": {"color": template_dark["layout"]["paper_bgcolor"], "width": 1}},
            textfont={"color": COLORS["WHITE_55"]},
        )
    ]

However, the width doesn't actually seem to be taken on by any of our bar charts, so I am not even sure the specifications inside template_XX.data.XXX work properly.
This is how it would look like with a width of 1: PyCafe example.
In the end, we want to settle for width=3, but this should be specified globally for all bar charts and currently the template specification doesn't seem to work as expected

I'm just collecting more examples here:
legend_title_text="", in common_values.py is also not being passed on properly


No embeddedresource found for EssentialUIKit.App

Trying to run demo on iphone device (ios 13.1 beta 3) and receiving error on startup.
Not sure if this is an iOS beta issue and if I need to change a build setting for iOS project.

Hi @b0uch3
Thank you for contacting us.
We have tried to reproduce the issue that you have mentioned, but unfortunately, we could not reproduce it while running the ‘EssentialUIKit’ project from this repository. We could deploy and run the ‘EssentialUIKit.iOS’ source without any issues.  As you say the issue is reproduced when trying to build itself, can you clean and rebuild the project once again?
Please let us know if the issue still exists from your end even after rebuilding the application.
Thanks,
Meikandan

Hi @b0uch3
Please let us know if you could give some more details to reproduce the issue? Now I am closing this ticket now. Please do not hesitate to re-open or create a new one in the future.
Thanks,
Meikandan

Sorry, I haven't had a chance to try and run the samples again.   will reach out again when I do, and if I run into a problem.

Hi,
I just cloned the repository and hit run:

System
macOS Mojave 10.14.6 (18G95)
Xcode Version 11.0 (11A420a)
Visual Studio for Mac 8.3.1 (build 18)
Output
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to [0x0](no debug symbols).
2019-10-04 09:55:44.754538+0200 EssentialUIKit.iOS[15287:3066262] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=15287
2019-10-04 09:55:44.757621+0200 EssentialUIKit.iOS[15287:3066262] SecTaskCopyDebugDescription: EssentialUIKit.i[15287]/0#-1 LF=0
2019-10-04 09:55:44.763786+0200 EssentialUIKit.iOS[15287:3066262] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=15287
2019-10-04 09:55:44.763986+0200 EssentialUIKit.iOS[15287:3066262] SecTaskCopyDebugDescription: EssentialUIKit.i[15287]/0#-1 LF=0
Resolved pending breakpoint at 'AppDelegate.cs:34,1' to bool EssentialUIKit.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00001].

Callstack
Xamarin.Forms.Xaml.XamlLoader.Load(EssentialUIKit.App view, System.RuntimeType callingType) in D:/a/1/s/Xamarin.Forms.Xaml/XamlLoader.cs:69
Xamarin.Forms.Xaml.Extensions.LoadFromXaml<EssentialUIKit.App>(EssentialUIKit.App view, System.RuntimeType callingType) in D:/a/1/s/Xamarin.Forms.Xaml/ViewExtensions.cs:36
EssentialUIKit.App.InitializeComponent() in /Users/daw/Source/essential-ui-kit-for-xamarin.forms/EssentialUIKit/obj/Debug/netstandard2.0/App.xaml.g.cs:21
EssentialUIKit.App..ctor() in /Users/daw/Source/essential-ui-kit-for-xamarin.forms/EssentialUIKit/App.xaml.cs:34
EssentialUIKit.iOS.AppDelegate.FinishedLaunching(UIKit.UIApplication app, Foundation.NSDictionary options) in /Users/daw/Source/essential-ui-kit-for-xamarin.forms/EssentialUIKit.iOS/AppDelegate.cs:35
UIKit.UIApplication.UIApplicationMain() in
UIKit.UIApplication.Main(string[] args, System.IntPtr principal, System.IntPtr delegate) in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/UIKit/UIApplication.cs:86
UIKit.UIApplication.Main(string[] args, string principalClassName, string delegateClassName) in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/UIKit/UIApplication.cs:65
EssentialUIKit.iOS.Application.Main(string[] args) in /Users/daw/Source/essential-ui-kit-for-xamarin.forms/EssentialUIKit.iOS/Main.cs:12

bingo! same.

The same for me too. No solution ?

I wish I could re-open the issue.  this issue may need to be resubmitted with reference to this original.

Hi @b0uch3 / @gregmag ,
Thank you for the details. I have now reopened the issue.
We are now working on providing a solution for this issue and will update this thread once we found one.
Thanks,
Meikandan

Hi @b0uch3 / @gregmag / @awaescher ,
We have now resolved an issue related to this XamlParserException as for the mentioned scenario, can you please update and check the source? Please revert us if you could still reproduce the issue after updating the soucre.
Thanks
Meikandan

Hi @b0uch3 / @gregmag / @awaescher ,
I hope the problem is resolved now. Now I'm going to close this ticket. Please do not hesitate in the future to reopen or create a new one.
Thanks,
Meikandan


Add docker-compose.yml for production

Add docker-compose.yml for production.
Add Docker-compose instructions.

Require fix https://github.com/apinf/api-umbrella-dashboard/issues/1216

Is require fix also some keyword in Github, this PR is linked to API key issue. o_O

@jykae I think 'require' not GitHub keyword, at least I not found information about that ;) I just wanted mark that this feature not really useful until will be fixed issue #1216. User will flow by instructions but will not able create API request.

@shaliko But "fix" is keyword to close given issue: https://help.github.com/articles/closing-issues-via-commit-messages/#keywords-for-closing-issues I update the PR, so that we are not closing API key issue with this PR.

@jykae OK, got it :)

@jykae Please do not accept that task right after release #1216  I will need build new image https://github.com/apinf/api-umbrella-dashboard/blob/develop/CONTRIBUTING.md#building-images.

@shaliko Don't worry we are testing this anyway, and #1216 has still some weirdness on saving Branding object.

@apinf/developers I won't be able to review this today before summer vacation. Could someone else review this?

@shaliko #1216 has been merged. Should we merge this PR yet?

@brylie Thanks for notice, now I need make new Docker images and update pull request. After that we can merge this request, will notice you soon.

@brylie Updated "apinf/apinf:latest" docker image. We can close that issue.
BTW I will be happy if you will try run docker-compose.yml for production based on instructions.

@nnn Will you try to run docker-compose.yml with instructions?

@bajiat, copy.

@shaliko, please finish with docker compose instructions based on our yesterday discussion.

@nnn Updated.


No such element or plugin 'kvssink'

After running make in the build directory I executed CMake, I followed the instructions to set the environment variables.
I got No such element or plugin 'kvssink' when I ran gst-inspect-1.0 kvssink

I don't know if my build failed or GST_PLUGIN_PATH is not set properly. Any help is much appreciated!

@uyennguyen16900 ,
Did you run cmake with -DBUILD_GSTREAMER_PLUGIN=TRUE ?
Can you check if gstkvssink library exists in the build directory?

I did run cmake ..  -DBUILD_GSTREAMER_PLUGIN=TRUE .
I don't see gstkvssink library exists in the build directory.

do you have gstreamer in your system?

I did download gstreamer

I am having same issue here. Brew install gstreamer and still can not find.

@uyennguyen16900  I met the same problem as you. How did you solve this problem finally?

I am facing the same issue

After running make in the build directory I executed CMake, I followed the instructions to set the environment variables.
I got No such element or plugin 'kvssink' when I ran gst-inspect-1.0 kvssink

I don't know if my build failed or GST_PLUGIN_PATH is not set properly. Any help is much appreciated!

I am facing the same issue, can anybody help?

I am facing the same issue

After running make in the build directory I executed CMake, I followed the instructions to set the environment variables.
I got No such element or plugin 'kvssink' when I ran gst-inspect-1.0 kvssink

I don't know if my build failed or GST_PLUGIN_PATH is not set properly. Any help is much appreciated!

I am facing the same issue, can anybody help?

You might want to do some debugging yourself. There are plenty of other issues closed in the repository with the same issue. Ensure you specify to build gstreamer in the cmake command, make sure it finishes the build correctly, check to see if you have the ginary, set the plugin path and the ld lib path properly and it should work. If you still have issues, please cut a separate issue with detailed report on the above points.

Thanks @MushMal for your reply and giving me a push to to debug by my own, after debugging, i have solved the issue, now my video from web camera is streaming to kinesis video stream.
Problem was that my GST_PLUGIN_PATH was not set properly,
Althoght i have set the path through below commands :
export GST_PLUGIN_PATH='pwd'/build
export LD_LIBRARY_PATH='pwd'/open-source/local/lib
But that was not actually set because, after setting the above path when i run the below command
echo  $GST_PLUGIN_PATH
It shows me another path which was not pointing to the kvssing
So
What i did is that i loged in as a super user by running below command
$ sudo su
and then
export GST_PLUGIN_PATH='pwd'/build
export LD_LIBRARY_PATH='pwd'/open-source/local/lib
After that when i run this command.   $ gst-inspect-1.0 kvssink
it showed me exactly what it has to..
and finally i run below command and my video streaming was started :
$ gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc  bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name=atiqVideoStream storage-size=512 access-key='your access key' secret-key='your secret access key'
+1:

**In my case plugin is builded  in amazon-kinesis-video-streams-producer-sdk-cpp folder so I removed /build in export path and it works
export LD_LIBRARY_PATH='pwd'/open-source/local/lib```**

Thanks @MushMal for your reply and giving me a push to to debug by my own, after debugging, i have solved the issue, now my video from web camera is streaming to kinesis video stream. Problem was that my GST_PLUGIN_PATH was not set properly, Althoght i have set the path through below commands : export GST_PLUGIN_PATH='pwd'/build export LD_LIBRARY_PATH='pwd'/open-source/local/lib But that was not actually set because, after setting the above path when i run the below command echo $GST_PLUGIN_PATH It shows me another path which was not pointing to the kvssing So What i did is that i loged in as a super user by running below command $ sudo su
and then
export GST_PLUGIN_PATH='pwd'/build export LD_LIBRARY_PATH='pwd'/open-source/local/lib
After that when i run this command. $ gst-inspect-1.0 kvssink it showed me exactly what it has to.. and finally i run below command and my video streaming was started :
$ gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name=atiqVideoStream storage-size=512 access-key='your access key' secret-key='your secret access key' +1:

this works like a charm. thank you


(feature) Add basic PhantomJS capability to Remote WebDriver

Since Selenium 2.33 there's the PhantomJS capability and adding this to JMeter-Plugins will enable it to run Headless Browser Testing using a Selenium Grid.

Changelog record is missing. Also please make sure that appropriate places in docs are updated.
See http://jmeter-plugins.org/wiki/DeveloperGuide/ for all the rules.

@undera It's my first time contributing directly to this project. Could you help me completing this PR? Is there anything else missing? There are no changes to GUI. This is basic enhancement, just to enable the option PHANTOMJS to be choosen at Remote WebDriver Config.

Nothing else is missing, thanks for contribution


Handle attribute's namespaces

Hi,
I’m using your lib (thanks!) to (in pseudo pipeline) :
string svg
 |> parse
 |> do stuff with the nodes (add attribute, reorder, etc)
 |> render the svg to the dom via the elm-lang/Svg  + elm-lang/virtual-dom

My problem lies in the third pipe ”render the svg to the dom via the elm-lang/Svg  + elm-lang/virtual-dom”: To create namespaced attributes correctly in dom elements correctly, I have to use VirtualDom.attributeNS.
Say a tag like: <use xlink:href="#great" … />. the xlink:href is a namespaced attribute, the namespace is declared in the svg tag like <svg xmlns:xlink="http://www.w3.org/1999/xlink">.
Once parsed with elm-xml-parser, to render this node in view, I would love to do it like this:
{-| Render a SVG node
-}
displayNode : Node -> Svg msg
displayNode pnode =
    case pnode of
        XmlParser.Element name attrs child ->
            node name (attrs |> List.map convertToAttributes) (child |> List.map displayNode)

        XmlParser.Text leaf ->
            text leaf

{-| Convert parsed SVG attributes to DOM SVG attributes
-}
convertToAttributes : XmlParser.Attribute -> Svg.Attribute msg
convertToAttributes attr =

     -- Today, this is not possible: we only have the name and the value of the attribute, not the namespace
    case attr of
         Attribute name value ->
             attribute name value
         NamespacedAttribute namespace name value ->
             attributeNS namespace name value

I know this would be a BC break, since it would leads to changing the type of Attribute from type alias Attribute = { name : String, value : String } to something like maybe:
type XMLAttribute
        = Attribute { name: String, value : String }
        | AttributeNS { name: String, value: String, namespace: String }

type Node
    = Element String (List XMLAttribute) (List Node)
    | Text String

or just adding a namespace: Maybe String to the existing Attribute record.
If you are interested in this feature, I could give it a try. Just let me know which solution you prefer.
Refs

http://package.elm-lang.org/packages/elm-lang/virtual-dom/latest/VirtualDom#attributeNS
https://developer.mozilla.org/en/docs/Namespaces

Thanks for the feedback! (I just saw Slack too)
I'm not sure I can spend my time for this anytime soon. So feel free to do a PR!
Some thoughts I'm thinking now are:

At least you are not blocked. you can separate the tag name by :.
Introducing namespaces may expand the scope this library should cover. I don't have enough knowledge about XML namespaces for now. So I'm wondering what would be the best API for it. (Always accounting namespaces? Should we consider if the namespace is correctly declared? Is validation needed when parsing? etc.)

or just adding a namespace: Maybe String to the existing Attribute record.

I think this one is better. Having pure String should work well too.


SSML support request

Hello!
I see from this page that Riva supports SSML: https://docs.nvidia.com/deeplearning/riva/archives/2-1-0/user-guide/docs/tutorials/tts-python-advanced-customizationwithssml.html
How to use it with Riva's python-client? I didn't find anything about SSML here, and using SSML tags in the default text strings doesn't seem to work.
Thank you in advance!

Found a tutorial more up to date.
https://github.com/nvidia-riva/tutorials/blob/main/tts-basics-customize-ssml.ipynb


Replace CLI version numbers in rhoas Installation and Config guide

In the rhoas installation and configuration guide, the version numbers don't add much value, and they have to be updated every time there is a new rhoas release. Propose that we remove the version numbers where able. If there are any instances where it makes sense to show the version number, we can just use a standard "replaceable" (for example, <version> instead of 0.32).
For reference, see https://github.com/redhat-developer/app-services-cli/issues/826.

In the note under step 2 (https://github.com/redhat-developer/app-services-guides/blob/main/rhoas-cli/README.adoc#installation-script), we show how to use the -s argument to install a specific version. @wtrocki @craicoverflow should we just remove this note? Is there any good reason why a customer would want to install a specific older version of the CLI?

Thanks; I'll remove the note to avoid any potential confusion.


Auth policy - deny all is allowing external traffic?

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
 name: deny-all
 namespace: mynamespace
spec:
  {}

but when i exec into a pod in mynamespace, curl https://www.google.com still works
my environment is istio 1.8.2 i seem to recall this deny-all policy used to work in older versions of istio.
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
RBAC: access denied to www.google.com
Steps to reproduce the bug
install the deny-all authorization policy.
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
istio version 1.8.2 and istio 1.7.4, i havent tried other versions.
How was Istio installed?
istioctl install
Environment where the bug was observed (cloud vendor, OS, etc)
ibm cloud kubernetes and ibm cloud openshift
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

AuthorizationPolicy is ingress policy. Istio does not have egress policy

@howardjohn the authorization policy also seems to control internal service mesh connections.

@howardjohn is there another mechanism to control egress traffic at a microservice level? for example:
microservice A can get to www.google.com but
microservice B can not
and they are in the same namespace with istio installed.

https://cloud.google.com/service-mesh/docs/security/egress-gateway-gke-tutorial may help. Its technically GCP specific but I find it more complete than the istio.io docs (we are planning to rehaul those) - the concepts should apply everywhere.
tl;dr you must use egress gateway

@howardjohn looks like the key is the sidecar resource. thank you for the tip.


Quick change to previous commit - broken link fixed.

The https://github.com/BetterSEQTA/BetterSEQTA-Plus/contribute.md led to the wrong page. It has been fixed in this commit.

Tracking latest version of contribute.md instead of specific commit


ContextManager for LaTeX files to handle cleanup in place

It would be nice to have a context manager that would clean up any and only the accessory files created by running LaTeX.
This can likely be accomplished by

creating a representation of the local directory structure prior to running LaTeX
creating a representation of the local directory structure after running LaTeX
excluding the new pdf, removing all of the discrepancies between the states at 1. and 2.

If anyone knows of a likely issue related to that I'd be interested to know more about it.

Closed by 7675b92158e67fdd4748aef455421c5cdf0389c8


Update back-end-server.md

Please update the note about Database Mirroring from "SQL Server 2016 is the only version supported by Skype for Business Server 2019.", which is incorrect, to "SQL Mirroring is available in Skype for Business Server 2015 but is no longer supported in Skype for Business Server 2019. The  AlwaysOn Availability Groups, AlwaysOn Failover Cluster Instances (FCI), and SQL failover clustering methods are preferred with Skype for Business Server 2019." This change came via an email thread forwarded by Corbin Meek to Meera Krishna in the CSS Content & Loc team.

I'm approving this change to go live.


Suboptimal compilation for rest parameters

There is an TS/ES.next idiom for the JS arguments array: (...args: any[]). But using it may produce suboptimal transpilation result, for example:
function debug(...args: any[]) {
    if (!settings.debug) return;
    console.log("DEBUG:", ...args);
}

produces following JavaScript (ES5) code:
function debug() {
    var args = [];
    for (var _i = 0; _i < arguments.length; _i++) {
        args[_i] = arguments[_i];
    }
    if (!settings.debug)
        return;
    console.log.apply(console, ["DEBUG:"].concat(args));
}

Note that the arguments is copied to the args array immediately at the beginning of the function, before its real usage. This causes the code executed every time the debug() function is called, even if it is unnecessary.
Expected behavior would be something more intelligent: either moving the arguments unrolling code closer to the usage place (may be tricky if there are multiple usage points), or using Array.prototype.slice.call(arguments) in-place without copying it into the temporary args.
Compare with Babel's transpilation result:
function debug() {
    var _console;

    if (!settings.debug) return;

    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
    }

    (_console = console).log.apply(_console, ["DEBUG"].concat(args));
}

Note that here the copying was moved past the conditional expression and happens only when needed.

Accepting PRs for the following optimizations (doesn't need to have all of them):

Move the array copy emit to the first top-level statement which is before any statement which references it
Elide the array copy emit if it's never referenced
Elide the array copy emit if all accesses of the rest arg are of the form x[k] where k is a numeric literal, and replace k with k + n (where n is the correct offset)

ping @RyanCavanaugh
i need some help plz
i have to find all reference when emit the array copy
and are there any utils or field for that?
or i must foreach all node?

@kingwl Are you still working on this issue? I'd like to take a swing at implementing some of the optimizations but don't want to duplicate work.

+1

@charlespierce No, I'm not on it, please feel free

PR Opened with implementation of the first two bullet points: #20307

+1

@ORESoftware please don't leave +1 comments; use the GitHub reactions feature (👍 on the issue). And there's certainly no point to multiple +1 comments on the same issue

oh sorry I didn't realize I had already done that! yeah I haven't figured out how to use the reactions but I will now

I think this is a duplicate of https://github.com/microsoft/TypeScript/issues/498

I think it is a different issue. The #498 is about TS generating code for unused rest parameter. This issue is about rest parameters that are used in some (possibly rare) code paths, but generated code is placed into all code paths, making it suboptimal.


Constraints after navigating back to first view controller

I have this setup in my project and all is working really well.
I have also added in a UIPageViewController and I am using CGRectMake to pull it in and resize as I have a header section of static text. This first pass this works well, but when I navigate away using the sidemenu and then navigate back to the first VC it appears as though all the content has shifted up by the hight of the navigation bar i.e as if the navigation bar were not there. How can I get around this?
Before navigating:

After navigating:

I'm seeing a similar issue during usage.

Have you had any luck rectifiing?

@shawnwall - I don't know if it will help you at all, but the following fixed my issue.
if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) {
    self.edgesForExtendedLayout = UIRectEdgeNone;
}

in the viewDidLoad of your main UIViewController.


use with cargo?

How would I import this as a crate in other python-facing rust package? I would like to use RustyBuffer as a zero-copy way of passing read()-able byte chunks to python within rfsspec. Later, I would also use the (stream) de/compressors. Just naively adding cramjam into my Cargo.toml causes a big long list of compiler errors related to linker symbols.

You're likely blocked by https://github.com/PyO3/pyo3/issues/1444

Closing this, as I think #101 solves the last portion of you wanted to use the stream de/compressors; and nothing I can do about the first but see you've got it in rfsspec, and suppose you too, can use the buffer protocol to pass cramjam Buffer or otherwise to it I think.


An ugly way to fix 48 bug and some test case

@sc0Vu Thanks

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #67   +/-   ##
=========================================
  Coverage     88.23%   88.23%
  Complexity      661      661
=========================================
  Files            47       47
  Lines          1454     1454
=========================================
  Hits           1283     1283
  Misses          171      171

Impacted Files
Coverage Δ
Complexity Δ

src/Utils.php
94.81% <100%> (ø)
86 <0> (ø)
:arrow_down:

src/Formatters/IntegerFormatter.php
100% <100%> (ø)
4 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


fix: handle invalid tokens in refresh token operation

Description
Fixes the "refresh token" operation to correctly reject invalid tokens instead of crashing with an internal server error.
Fixes #3646

[X] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Checklist:

[X] I have added tests that prove my fix is effective or that my feature works
[X] Existing test suite passes locally with my changes

I don't know why the tests failed. It does not seem related to my changes.

@diesieben07 I think the CI issue has been fixed on latest. Can you rebase latest main? Looking to merge this after CI passes.

@denolfe Done, looks like all tests succeeded now.

@diesieben07 Thanks! 👍


Can't download large files.

Hi,
your lib looks amazing, thank you.
But currently I need availability to download some large media files (~5GB) and It is not worked for me in both situations where allocation is enabled and disabled. It is possible to download large files now? Thank you.
Note: files tried to download to sd card, checked on ~10MB write speed.
If allocation is enabled:
https://gist.github.com/dbudyak/54d6d9485bc4d227f16101dce54355a2
If allocation is disabled (and added.outputStreamCreator(new FileDownloadBufferedOutputStream.Creator())) I still see "Can't support 'seek' in BufferedOutputStream." error, independed on file size.

Absolutely, we support download any size file, and only need to notice is when the file is larger than 1.99G, you need to use getLargeFileSoFarBytes() and getLargeFileTotalBytes().

P.S. If you want to disable pre-allocation just add file.non-pre-allocation=false on the filedownloader.properties.

So, I see your crash stack, the problem is java.io.SyncFailedException: fsync failed: EBADF (Bad file descriptor) , then:

could you please tell me how many bytes of data have been downloaded before raising this error? 2. could you give me your Url to let me reproduce such error?

This is more detailed cut of log in case if I set file.non-pre-allocation=false. I see allocation for file in storage with expected size (size of file on server), but I didn't find size for already downloaded bytes. I watch to Network Profilier in new Android Studio 3.0 and see that download not stopped, it is continued some more time with downloading packets about ~20MB and logcat full of SyncFailedException exceptions.
Url to our production binary data: http://pre-cdp.playfamily.ru/data/storage13/pr/db59bd16-9849-40ce-9f7b-5fc173317b6e/output.ism/Manifest.mpd/offline?data
Also I test another url and I've got java.io.IOException: ftruncate failed: EFBIG (File too large)
And if I use other production url to file with less size then download is successfully complete.
If I try to set file.non-pre-allocation=true then downloading of any file not started with java.lang.IllegalAccessException: Can't support 'seek' in BufferedOutputStream. (.outputStreamCreator(new FileDownloadBufferedOutputStream.Creator()) is already added in library init method as described in your wiki)

sorry for my mistake,  If you want to disable pre-allocation just add **file.non-pre-allocation=true ** on the filedownloader.properties.

Can't download a large file about 3.8G

Long time no response.


bat file does not launch the game

ive edited it to specifiy the game diretory but still, it opens cmd for a split second before closing and nothing happens, ive also tried to rename the exe to start_protected_game and nothing

same issue I use to use mod engine 2 often and stopped now wanted to use it again and the bat file does not open the game
steam is running

I got it working maybe this will help you, for me I had ER exe set to run as admin, once I unticked that the bat file works

the er exe? which one is that

Same here, neither the exe or the bat launches Elden Ring, I did untick "run from admin", can you tell how you "edited  it to specify the game directory" exactly, please?

try https://github.com/soulsmods/ModEngine2/issues/229 I spent 4 hours on this shit


[WIP]Move group interface

Just ported Plan and execute functions, the only needed ones for the Demo

OS X:
/tmp/ros2_ws/src/moveit2/moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp:161:5: error: no matching member function for call to 'waitForAction'
    waitForAction(move_action_client_, move_group::MOVE_ACTION, timeout_for_servers, allotted_time);

Linux passing, OSX same error as https://github.com/AcutronicRobotics/moveit2/pull/60#issuecomment-488581110

CI is passing in MAC and Linux


Newest update not allowing server to boot up

Hello I am creating a rather large modpack. I updated Apotheosis to the newest version 0.2.82 and my server will not start anymore. Client starts just fine. Here is the log since there is no crash report. https://pastebin.com/zrXwHhHR Any help is appreciated. Thank you!

Should be fixed in v0.2.83 :)


Maintenance in progress

Maintenance in progress for self-hosting the servers.

lmao, I completely forgot about that.

Completed.


IC Certificate verification missing

Expected Behavior
An agent should verify the certificate in a response from the IC. In particular the BLS signature using the IC's public key.
Actual Behavior
I can't find the verification code. Neither in this repo nor in https://github.com/aviate-labs/certificate-go. Could you please clarify?

Implemented in https://github.com/aviate-labs/agent-go/commit/6e7c000c51016b7795699eec62bc665dc0d6353b


When I try yarn start, it ends up in an error /bin/sh: webpack: command not found

$ yarn start
yarn run v1.22.10
warning ../../../package.json: No license field
$ webpack serve
/bin/sh: webpack: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I don't think that's a problem with this repo. It looks like you don't have webpack installed. Try running yarn or yarn install, that should install the necessary packages including webpack.


LzmaStream Encoding Issues

I assume I'm making a simple mistake. My code produces a zero-length array.
public static byte[] Compress(byte[] uncompressedBytes)
{
	LzmaEncoderProperties properties = new LzmaEncoderProperties();
	using MemoryStream inputStream = new MemoryStream(uncompressedBytes);
	using MemoryStream outputStream = new MemoryStream();
	using LzmaStream lzmaStream = new LzmaStream(properties, false, outputStream);
	inputStream.CopyTo(lzmaStream);
	return outputStream.ToArray();
}

Related: #612

Yes, a simple mistake:
public static byte[] Compress(byte[] uncompressedBytes)
{
	LzmaEncoderProperties properties = new LzmaEncoderProperties();
	using MemoryStream inputStream = new MemoryStream(uncompressedBytes);
	using MemoryStream outputStream = new MemoryStream();
	using LzmaStream lzmaStream = new LzmaStream(properties, false, outputStream);
	inputStream.CopyTo(lzmaStream);
	lzmaStream.Close();
	return outputStream.ToArray();
}


Admob flickering

I have implemented admob using unity for iPhone. I hide ads during game play then show them during the menus.
Every now and then just after I hide the ad I get a flicker of the ad that was just hidden. This does not happen all the time but it is certainly reproducible anybody else had this?

I am unable to replicate this issue but from the plugin code you can see that hide functionality for a  banner is implemented simply by setting the hidden property of a UIView to true. If there is flickering it is likely a rendering issue and not something from the plugin.

Ram


Provide a Stack "descriptor" to manifest the salient features of a stack/template

Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to find out things like:

What's the debugging port of a stack?
What's the liveness probe URL of a stack?
What's the readiness probe URL of a stack?
Etc.

Describe the solution you'd like
Stacks could include a "descriptor" file (yaml/json) with a machine readable definition of those characteristics - so that the Appsody CLI and others can discover them.
Additional context
One notable use case is the generation of deployment manifest files. Right now, we had to introduce a different app-deploy.yaml for every stack, because of the specifics (liveness, readiness) - but the body of the yaml is largely the same for all the stacks.

related: https://github.com/appsody/appsody/issues/284

Today each appsody stack describes the capabilities (ports, endpoints) etc. in the README for the stack. This is good for users but makes is difficult to programmatically detect stack capabilities. For example: for testing a stack you need to know which endpoints should be tried, for identifying the debug port in an ide you need to know the port where the debugger is listening, and in creating deployment manifests (app-deploy.yaml) we need to know readiness, liveness endpoints etc.
It would be great if each stack could describe their behaviour in a simple neutral way (perhaps in stack.yaml?). Stack providers will have this responsibility to keep that accurate.
The information can then be propagated to the repository index or on the stack images themselves.
All other tools for testing/ debugging / deployment etc. will be able to make use of the same information when needed.
Proposal:

Extend stack.yaml to add information about stack capabilities
Update stack build process to inject these as LABELS on stack image?
Update index build process to make this information available with repository index.
Allow other tools to introspect this information when needed.

@kylegc @EnriqueL8 I have updated the title and the description of this epic to reflect the work needed in making this information available on the deployed apps.
#337 will deal with mechanisms to take actions to update the stack based on this information.


[scoped-elements] Detect & act on number of implementations

Hey,
Feature request here.
As far as I understand it is possible for the ScopedElementsMixin to detect how often a certain component tries to register on the custom element registry through scopedElements getter, so it could count for e.g. lion-feedback scoped element, how often it registers. In addition, on the first time, we could even test if it's already registered under unscoped lion-feedback (e.g. from an old version that doesn't use the ScopedElementsMixin).
That way we can count the amount of implementations for a specific element, for example for an app using three features that rely on v1 of lion-feedback, v2, and v3 respectively.
Why is that useful?
Because now we can error out, or warn, through a flag e.g. maxImplementationCount, for example if set to 1, it would error on runtime if you have more than 1 lion-feedback, regardless of whether it is unscoped or scoped. This is something that may help people troubleshoot a bit (and guard for) more how many versions of the same element are being registered, by which of their dependencies this is caused, etc.
Flow

lion-feedback (v1) can be registered normally through explicit side effect file that does customElements.define('lion-feedback', LionFeedback).
LionFeedback (v2) class gets imported and scoped through ScopedElementsMixin as lion-feedback-12345, but the mixin also sees that lion-feedback already exists as it is on the registry --> implementation-count for this component = 2
LionFeedback (v3) class gets imported and scoped as lion-feedback-45678 --> implementation-count for this component = 3

Problem I see here is: what if lion-feedback (v1) file gets loaded last, then the mixin doesn't know about it and the implementation-count would be 1 lower than actual count? Could the mixin somehow listen to the CustomElementRegistry registrations for names being added that are also existing keys in the mixin?

I think we can implement this as a decorator on the global customElementa.define, that also prevents race conditions.

@jorenbroekema since you got javascript code so it is text you should be able to do a simple search on your file to know how often something is registered and if you got a central method to register your components there is something wrong already.

@frank-dspeed Not just my code, can also be dependencies. I prefer Lars' idea since it is far less hacky, far less error prone, and works on runtime rather than as an external script or build-step plugin

it is ok for me I only needed to drop that so when someone reads this he will understand that this is only for developer joy not for quality or anything other.
And I need to say hacky is to replace names on runtime. Your Code should be in a condition that works without hacking any registry stuff together ;)

There are some contexts in my company at least where this feature goes beyond just developer joy but rather a necessity in governing the amount of versions of the same component are being registered.
And yes it is hacky but until scoped elements spec lands in the browser, we have to deal with the cards we are handed

there is no scoped element spec for the browser we discussed that and agreed on no need for that as you can scope everything easy your self there are 100 of patterns to archive that.

So please correct me if I misunderstand, are you saying "Just use static analysis in your build-step" as a solution to this issue? Because if so, thank you but no, that's not really meeting my requirements, because I'd like to see something working on runtime.

@jorenbroekema yes i would say static handling that is the only way to go and this scoped element hack thing is for people that can not code themself but need to use 3th party components that are self-registering.
This is really for edge cases imagine the overhead and lucky the ECMAScript Spec evaluates a module only once so if you import a self-registering component that does that as a side effect that will get executed only once in the browser since that has a global module registry even if you import the module in different places

Module that self-registering-component.js
customeElements.define()

a.js
import 'self-registering-component.js'

b.js
import 'self-registering-component.js'

c.js
import 'self-registering-component.js'

customElements.define gets executed exactly once!

It would get executed twice on the same custom element name if you have a dependency that uses v1 of a certain component (let's say a third party tooltip component) and you yourself are using v2 of this same component.
I know how ES Modules work.... this is not an ES Modules problem. This is a problem of having multiple major versions of the same component end up in the same application. I would advise you to read https://open-wc.org/scoped-elements/ . If you still think there is no reason for scoped elements, let's discuss that in a separate issue, and not derail this one.

@jorenbroekema ah ok sure that's also a legit case for this.  i agree but still counting how often something registers does not help any way I am out :)
but for the version management, I would choose npm ls component-name but i now fully understand your case you need it as a dev tool :)


ive enabled crowdsec on my wp site

i access site via normal domain and it gets killed no error
so i have domain
123456.uk example
i have cloudflare enabled
ive had bouncing flex or normal enabled my sit gets blocked
still not working
im using uptime kuma here for monitoring still stumpped

Hi,
I am not sure to understand your issue.
What do you mean by "i access site via normal domain and it gets killed no error" ?
And the domain 123456.uk does not seem to exist.
By the way, could you please share some error logs if you have any ?
For example, when you say "my sit gets blocked", do you have any PHP, apache or nginx errors logs ?
Can you enable the debug mode ( (Advanced -> Enable debug mode) and see if there is more useful message in the wp-content/plugins/crowdsec/logs folder ?
Thanks

Closing, happy to continue the conversation here or elsewhere.


No covers or playback with Navidrome.

Version 1.1.1, I've been able to connect it to my Navidrome 0.49.3 instance.
While I can see the full contents of my library, I neither see any cover images nor can play anything -- it just rotates a spinner, but playback never starts.

I cannot reproduce it. I am using Navidrome v0.49.3 and SubTune v1.1.1. Music playback and loading album art work flawlessly on SubTune.

Is your server in site root, though? Because mine isn't.

Please use this apk to verify that the bug is fixed or not.
SubTune-1.1.2.apk.zip

Yes, this fixes it, everything is working now.
Thanks! :+1:


display "source algorithm id" in tearsheet

Like we do for 'fetcher url' it would be excellent to have the info of whether the algo has been cloned, and where from at the top of the tear sheet.
I found this out with Dan's help digging into a couple of our A algos today, they both were clones of a post shared in the forums.
Dan's shared two SQL queries with me which he said can be used to get the source algo id and also urls to any backtests for the source algo (if one exists) that have been shared to the forums.
This will be really valuable to us as we get closer to creating agreements with authors, we'll want to make sure we do the best job possible to find the real owner/originator of the IP we're leasing.
Query 1:	select a.source_algorithm_id from algorithms a, live_algorithms la
where a.id = la.algorithm_id
and la.id = 'xxx'
Query 2:  select id from posts p where backtest_id in
(select b.id from backtests b, algorithms a, live_algorithms la
where a.id = la.algorithm_id
and a.source_algorithm_id  = b.algorithm_id
and la.id = 'xxx')
	on both those, they might return nothing, which means it's not cloned

	on the first one, you get a max of one row back, and that is the algo that is cloned from

	on the second one, if you put the resulting ids on the end of this URL you see the post
	https://www.quantopian.com/posts/
	so you can make hyperlinks
	https://www.quantopian.com/posts/xxx

This is a great issue, but should it be here now that this is public? Maybe in quant_notebooks instead, not sure.

https://github.com/quantopian/quant_notebooks/issues/20


Support x-ms-skip-url-encoding from CADL

While it won't be called x-ms-skip-url-encoding in CADL, once https://github.com/microsoft/cadl/issues/851 is fixed we need to add that support in the language emitter.
Epic: https://github.com/Azure/cadl-azure/issues/1942
CADL Blocking: https://github.com/microsoft/cadl/issues/851

we need to update emitter.ts to set skipUrlEncoding

making all endpoint parameters skip url encoding, I believe this is good for now

Let's close this one only when  we have the full support

https://github.com/microsoft/typespec/issues/851#issuecomment-1300918421


Improved expression of anchors

The structure of Anchors has been reorganized to improve ambiguous expressions and expressions that were previously impossible.
Ambiguous expressions such as the following are no longer available.
// Ambiguous Attribute Chaining
// This means ".leading == superview.leading + 50, .bottom == superview.bottom + 50"
Anchors
    .leading.equalToSuper()
    .bottom.equalToSuper(constant: 50)

// Ambiguous omission
// This means "Anchors.width.equalToSuper().constant(50)" statement
// not "Anchors.width.equalTo(constant: 50)"
Anchors.width.constant(50)

In addition, it provides an improved syntax for chaining different types of attributes such as:
Anchors.centerX.centerY.width.height.equalToSuper()

Anchors.leading.top.bottom.equalTo(someView, constant: 50)

Finally, an inwardOffset version has been added to all methods that can input constants.
// This means
// .leading == superview.leading + 50
// .top == superview.top + 50
// .bottom == superview.bottom + 50
Anchors.leading.top.bottom.equalToSuper(constant: 50)

// This means
// .leading == superview.leading + 50
// .top == superview.top + 50
// .bottom == superview.bottom - 50
Anchors.leading.top.bottom.equalToSuper(inwardOffset: 50)

👍 wonderful


added maxLength for trace and maxDecouplingTraceLength for capacitor

related to issue #476

I will test everything with yalc then start PRs


[Feature request] Get the .NET version from the server

Hi Cristi,
Can you make the tool gather the .NET version installed on the IIS server?

if .NET Framework, it should read the registry value as described here https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
if .NET Core / .NET higher than 6, I guess it should capture the output of dotnet --version

Thank you.

hello @geo-msft , sure we can, let me know if you want to write it , or you want me to add it ?


Update to released version of appinsights-rs

v0.2.3 has the fix for the chrono dependency incorporated.

Codecov Report

Merging #2573 (6b9abd0) into main (7232981) will increase coverage by 1.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2573      +/-   ##
==========================================
+ Coverage   29.88%   30.98%   +1.10%
==========================================
  Files         289      254      -35
  Lines       35779    29623    -6156
==========================================
- Hits        10692     9179    -1513
+ Misses      25087    20444    -4643

Impacted Files
Coverage Δ

src/agent/coverage/src/test.rs
92.85% <0.00%> (-7.15%)
:arrow_down:

src/agent/coverage/src/code.rs
8.29% <0.00%> (-6.12%)
:arrow_down:

src/agent/onefuzz/src/machine_id.rs
51.21% <0.00%> (-5.63%)
:arrow_down:

src/agent/onefuzz/src/sanitizer.rs
69.69% <0.00%> (-2.91%)
:arrow_down:

src/agent/onefuzz-agent/src/worker/tests.rs
99.10% <0.00%> (-0.11%)
:arrow_down:

src/agent/onefuzz/src/asan.rs
0.00% <0.00%> (ø)

src/agent/coverage/src/cache.rs
0.00% <0.00%> (ø)

src/agent/onefuzz-agent/src/setup.rs
0.00% <0.00%> (ø)

src/agent/onefuzz-agent/src/reboot.rs
0.00% <0.00%> (ø)

src/agent/onefuzz/src/input_tester.rs
0.00% <0.00%> (ø)

... and 47 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Why toggleOpen() is not defined on some pages?

Some pages don't have the toggle for right sidebar. And the console says toggleOpen() is not defined. An example: https://edav-garden.netlify.app/q-q-plot/

Thanks for reporting this! I believe I squashed the bug in the latest template release. Could you update the template, and report back on whether the fix worked for you or not?

Yes, the problem is gone, thanks!


[Bug]: Setting API key in UI shows key in toast

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
When I add my API key via the settings modal, the toast shows my key in plaintext
Current Version
On main as of `5f2d6f58f20a3f7db8e41d77bb86d1871381e367`

Installation and Configuration
Running in dev mode

Model and Agent
No response
Reproduction Steps

Open the UI
Set an API key

Logs, Errors, Screenshots, and Additional Context
No response

Working on this

Resolved pending review in PR#1480

btw, i don't think store plaintext key to local storage is a good idea. a simple encryption is good 😶🌫


callback: onMixEnd onMixLoad

Hi @patrickkunka !
I'm using FitText.js to adjust fontsize dynamically.
It's a very nice way to adapt font-size, but I can make it work properly with Mixitup.
I think it's because FitText.js needs the with of the text wrapper to calculate the font-size. But on document ready Mixitup is not fully loaded and element to calculate with doesn't exist.
I guess the solution would be to instantiate FitText.js once Mixitup is full loaded, but there is not such callback.
Here is a gist of my code:
Mixitup Responsive Font Raw
If you have any suggestion I would be really grateful 😃  !

Guys, any hint for this problem?

Hi @jmbelloteau,
There is no load callback for MixItup 3, because v3 instantiates synchronously.
Therefore, you can call your code directly after you call the mixitup() factory function, in the same callstack.
var mixer = mixitup(container, config);

// MixItUp is ready, execute your other code...

MixItUp does not dictate or make any changes to the styling of your elements on instantiation, so I'm not sure what you mean by 'fully loaded'. One of the main purposes of MixItUp is to allow you to use standard responsive CSS techniques such as percentages and breakpoints, so your use of FitText.js should not be dependent on MixItUp.
Happy to look into this more if you can provide a link or JsFiddle demonstrating the problem.

Hi @patrickkunka,
I'm using fit Texttext.js but I forget to tell you I'm using Lazysizes.js too.
And I have good reason to think my problem was finally due too Lazysizes.js (sorry...)
Without the image loaded element with are equal to zero and Fittext.js can't calculate the font size properly.
I've just found a way to instantiate Fittext.js once all lazy images of Mixitup are loaded.
I'm pretty sure it can't' be done in a better way but it's working for now 😄 !
Thanks for your help!!


[BUG] Snapshot replication transport closing

Describe the bug
After a cluster configuration upgrade, when replicating image, transport closing error desc is thrown 🤷♂
Running Netcat inside receiver, emitter and manager between nodes seems to work great, not sure if this is a network error.
To Reproduce
Steps to reproduce the behavior:

Create a volume and put some data in
Update canal config with new interface name and ip subnet
Mount volume and update replica count
Works sometimes, otherwise see error

Expected behavior
A clear and concise description of what you expected to happen.
Log
Failed rebuilding replica with Address <IP_ADDRESS>:10045: failed to add replica address='tcp://<IP_ADDRESS>:10045' to controller 'pvc-96b98781-c580-48f5-9736-520fd72dcc6d': failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.2/longhorn [--url <IP_ADDRESS>:10003 add tcp://<IP_ADDRESS>:10045], output , stderr, time="2021-08-10T11:40:59Z" level=info msg="Adding replica tcp://<IP_ADDRESS>:10045 in WO mode" time="2021-08-10T11:40:59Z" level=info msg="Using replica tcp://<IP_ADDRESS>:10030 as the source for rebuild " time="2021-08-10T11:40:59Z" level=info msg="Using replica tcp://<IP_ADDRESS>:10045 as the target for rebuild " time="2021-08-10T11:49:07Z" level=fatal msg="Error running add replica command: failed to sync files [{FromFileName:volume-snap-74d261dc-b8e3-44c9-b23c-62d97d71988f.img ToFileName:volume-snap-74d261dc-b8e3-44c9-b23c-62d97d71988f.img ActualSize:8192} {FromFileName:volume-snap-74d261dc-b8e3-44c9-b23c-62d97d71988f.img.meta ToFileName:volume-snap-74d261dc-b8e3-44c9-b23c-62d97d71988f.img.meta ActualSize:0} {FromFileName:volume-snap-0341828b-9d90-4cd9-b196-0dd00760a83c.img ToFileName:volume-snap-0341828b-9d90-4cd9-b196-0dd00760a83c.img ActualSize:0} {FromFileName:volume-snap-0341828b-9d90-4cd9-b196-0dd00760a83c.img.meta ToFileName:volume-snap-0341828b-9d90-4cd9-b196-0dd00760a83c.img.meta ActualSize:0} {FromFileName:volume-snap-720a12a0-9161-447e-8f9c-654d51fbba41.img ToFileName:volume-snap-720a12a0-9161-447e-8f9c-654d51fbba41.img ActualSize:466944} {FromFileName:volume-snap-720a12a0-9161-447e-8f9c-654d51fbba41.img.meta ToFileName:volume-snap-720a12a0-9161-447e-8f9c-654d51fbba41.img.meta ActualSize:0} {FromFileName:volume-snap-f11e0ee0-b6e5-44b5-83e5-8d87adbd422c.img ToFileName:volume-snap-f11e0ee0-b6e5-44b5-83e5-8d87adbd422c.img ActualSize:360169472} {FromFileName:volume-snap-f11e0ee0-b6e5-44b5-83e5-8d87adbd422c.img.meta ToFileName:volume-snap-f11e0ee0-b6e5-44b5-83e5-8d87adbd422c.img.meta ActualSize:0} {FromFileName:volume-snap-1a288be9-e505-400e-982b-1471f0d29ae5.img ToFileName:volume-snap-1a288be9-e505-400e-982b-1471f0d29ae5.img ActualSize:0} {FromFileName:volume-snap-1a288be9-e505-400e-982b-1471f0d29ae5.img.meta ToFileName:volume-snap-1a288be9-e505-400e-982b-1471f0d29ae5.img.meta ActualSize:0} {FromFileName:volume-snap-3500c058-1abe-458c-878b-4a39617b4015.img ToFileName:volume-snap-3500c058-1abe-458c-878b-4a39617b4015.img ActualSize:0} {FromFileName:volume-snap-3500c058-1abe-458c-878b-4a39617b4015.img.meta ToFileName:volume-snap-3500c058-1abe-458c-878b-4a39617b4015.img.meta ActualSize:0} {FromFileName:volume-snap-c036c259-f636-41d3-b40a-d94bd74e4dbb.img ToFileName:volume-snap-c036c259-f636-41d3-b40a-d94bd74e4dbb.img ActualSize:0} {FromFileName:volume-snap-c036c259-f636-41d3-b40a-d94bd74e4dbb.img.meta ToFileName:volume-snap-c036c259-f636-41d3-b40a-d94bd74e4dbb.img.meta ActualSize:0}] from tcp://<IP_ADDRESS>:10030: rpc error: code = Unavailable desc = transport is closing" , error exit status 1

Environment:

Longhorn version: 1.1.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE v1.20.9

Number of management node in the cluster: 3
Number of worker node in the cluster: 1

Node config

OS type and version: Ubuntu 21
CPU per node: 12
Memory per node: 32GB
Disk type(e.g. SSD/NVMe): NVMe
Network bandwidth between the nodes: 1Gbps

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal
Number of Longhorn volumes in the cluster: 20

Additional context
Add any other context about the problem here.

The log you provide means the receiver(rebuilding) replica or the sender(healthy) replica is suddenly down during the rebuilding. You mentioned you modified the cluster network config before rebuilding. I am not sure if this will crash the instance manager pods in which the replicas are running. Can you check if there is an instance-manager-r pod failure when you trigger this error?


Do some kind of pre-fetching for internal links

Use a library like quicklink (or roll our own?) to pre-fetch the HTML for internal pages, which will speed up subsequent page loads. This should be even more valuable if we're already inlining above-the-fold CSS.

Quicklink has been added to the starter.


Fixed: "Default value of the --filename parameter results in broken build if scoped package name is used #4311"

See #4311 for more information

Looks better now. Sorry I wasn't able to get your test suite running at work. That's why I used only your circleci which only runs after creating a PR.


No error when a module-level variable of a function type is marked as public

Description:
$title.
Steps to reproduce:
public function() foo = main; // no error

public function main() {
}

Fails for other variables. Fails on the old parser too.
Affected Versions:
slp2

Fixed with #25564


Crash when uploading trailers

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
As requested by @taquitos here I open the issue regarding the errors when uploading trailers.
undefined local variable or method `is_messages' for #<Spaceship::Tunes::AppVersion:0x007f9130524e50>
/Users/matteomartinelli/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/fastlane-2.38.1/spaceship/lib/spaceship/tunes/app_version.rb:541:in `upload_trailer!'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:239:in `block (2 levels) in upload'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:228:in `each'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:228:in `block in upload'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:181:in `each'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:181:in `upload'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:77:in `block in upload_metadata'
/Users/matteomartinelli/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tmpdir.rb:88:in `mktmpdir'
/Users/matteomartinelli/fastlane-test/lib/app_metadata.rb:66:in `upload_metadata'
/Users/matteomartinelli/fastlane-test/apis/metadata.rb:34:in `block (2 levels) in <class:Bunker>'
/Users/matteomartinelli/fastlane-test/lib/background_runner.rb:39:in `call'
/Users/matteomartinelli/fastlane-test/lib/background_runner.rb:39:in `block in execute'

Finding:
app_version.rb

upload_trailer! doc is not correct, it's a copy&paste from upload_screenshot!
When upload_trailer! is called, it crashes because fastlane try to use a parameter which does not even exist in the aforementioned function.
When trailer_data_for_language_and_device is called, it looks the correct data_field is trailers and not appTrailers
I guess now we should add sort_position since trailers can be more than 1

du_client.rb

When uploading the screenshot preview (upload_trailer_preview, it crashes because du_validation_rule_set it was not set correctly.

      upload_file(app_version: app_version, upload_file: upload_file, path: '/upload/image', content_provider_id: content_provider_id, sso_token: sso_token_for_image, du_validation_rule_set: 'MZPFT.SortedN56ScreenShot')

app_trailer.rb
This entity need an update to support at least sortPosition.
Hope it's clear :D

Thanks for reporting this. I think this broke with the most recent update of iTunes Connect, which changes iTC to handle 3 instead of 1 trailer. Do you have Ruby knowledge and want to dive into updating spaceship to support multiple trailers?

Exactly!
Not really, I posted above my findings and I will try to make a PR to help the community 👍

Okay, cool, let me know if you have any questions 👍 We have some nice docs on how to inspect network traffic in the root of the project

Really need this ! With localized previews, it is a real nightmare to upload previews. You can have 6 app previews per locale and you can't count on iTunes Connect to allow you to share app previews between locale. So if you add some localized screenshot, you also have to add previews . I will look at the code even if I know nothing about Ruby.

Any update on this?

Bump to keep alive. This is still needed badly for managing app store localized resources under iOS 11 especially.

@matteomartinelli what's the syntax to use for this to work?

@tsheaff you may check the post of the end of #9775

Yeah I saw that after commenting, thanks @pedrodelavega
Would be nice to add this into deliver rather than just Spaceship


Add a helper method for inline setup of mocks

Requested feature
A helper method that would make inline construction of mocks possible.
Why the feature is needed
So the test code would look nicer
Proposed solution
Maybe something like a SETUP method in every mock, which woul receive a function that configures the mock.
Example (before):
ctrl := gomock.NewController(t)
defer ctrl.Finish()

mockReader1 := NewMockDep1(ctrl)
mockReader1.EXPECT().
    ReadSomething(gomock.Any(), gomock.Any()).
    Return("first call", nil)
mockReader1.EXPECT().
    ReadSomething(gomock.Any(), gomock.Any()).
    Return("second call", nil)
mockReader1.EXPECT().
    ReadSomething(gomock.Any(), gomock.Any()).
    Return("third call", nil)

mockWriter := NewMockDep1(ctrl)
mockWriter.EXPECT().
    WriteSomething(gomock.Any(), gomock.Any()).
    Return("first call", nil)
mockWriter.EXPECT().
    WriteSomething(gomock.Any(), gomock.Any()).
    Return("second call", nil)
mockWriter.EXPECT().
    WriteSomething(gomock.Any(), gomock.Any()).
    Return("third call", nil)

sut := NewSystemUnderTest(mockReader, mockWriter)
sut.DoAction()

Example (after):

ctrl := gomock.NewController(t)
defer ctrl.Finish()

sut := NewSystemUnderTest(
    NewMockReader(ctrl).SETUP(func (mock *MockReader) {
        mock.EXPECT().
            ReadSomething(gomock.Any(), gomock.Any()).
            Return("first call", nil)
        mock.EXPECT().
            ReadSomething(gomock.Any(), gomock.Any()).
            Return("second call", nil)
        mock.EXPECT().
            ReadSomething(gomock.Any(), gomock.Any()).
            Return("third call", nil)
    }),
    NewMockWriter(ctrl).SETUP(func (mock *MockWriter) {
        mock.EXPECT().
            WriteSomething(gomock.Any(), gomock.Any()).
            Return("first call", nil)
        mock.EXPECT().
            WriteSomething(gomock.Any(), gomock.Any()).
            Return("second call", nil)
        mock.EXPECT().
            WriteSomething(gomock.Any(), gomock.Any()).
            Return("third call", nil)
    }),
)
sut.DoAction()

I think I understand why this could reduce some hand-written function declarations if you wanted to re-use setup functions but it think that having multiple patterns for setting up mocks (one with a setup function and one without) would make mock code less uniform and make users uncertain about which approach to use (in most cases we want to reduce nesting).
From what I can tell the generated implementation would be a methods with a pointer receiver that takes in a variable with the same reference to the receiver when ideally there is one clear variable to modify.
If this is just for inline setup, would it be better to create external wrapper functions that you could call inline?


[Windows] Improve OpenGL/ANGLE switching on ARM64.

Instead of switching to ANGLE unconditionally, it's only enabling fallback and suppressing warning.
Adds real architecture check for x86 builds to do the same when running under emulation on ARM64 machine.

Thanks!


multiple Select2 dropdowns - How to get other selected values in the same row

If I have more than 1  Select2 dropdowns, how can I find the selected value, like css selector for parent or nested items  p div can you please tell me how to get the next selected item in the same row s
$('#mySelect2').find(':selected');
How can I get the next selection value in the same row by col css value?

This is a usage question and, as such, would probably be better asked on Stack Overflow.  It also sounds like this is more a question about jQuery in general, rather than Select2 specifically.


[tests] write unit tests

Write some basic unit tests for config, context, tagging, and gptty.

[tests] integrate with testing CI/CD software
We should consider bootstrapping this package to CI/CD software like Travis CI

[tests] Add context.py tests when model_type == 'v1/chat/completions'
We only have basic context.py tests that don't check for more complex context structures. We should add additional tests when model_type == 'v1/chat/completions'.

[tests] consider whether and how to test main.py and gptty.py
Currently, we are testing a number of functions, but not testing main.py and gptty.py. These are mostly click interfaces and gptty-specific functions. Is it worth testing these? If so, how?


mac os M1 chip error when cmake

My computer is mac os M1 chip
I did the following steps:
brew install cmake llvm libomp
git clone --recurse-submodules https://github.com/illuhad/hipSYCL.git
cd hipSYCL
mkdir build
cd build

cmake ..
Then the following error occurred：
(base) MacBook-Pro build % cmake ..
-- Could not find HIP cmake integration, falling back to finding hipcc
-- Could not find ROCm installation by looking for hipcc. ROCm support unavailable.
CMake Error at /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FindOpenMP.cmake:577 (find_package_handle_standard_args)
  src/runtime/CMakeLists.txt:196 (find_package)

-- Configuring incomplete, errors occurred!

How should I fix this error?

See here: https://github.com/OpenSYCL/OpenSYCL/discussions/1071
Note that on MacOS kernel execution is currently only supported on CPU.

See here: #1071
Note that on MacOS kernel execution is currently only supported on CPU.

Thank you very much, the problem has been solved very well


Update NoroSTAT Data [delphi.epidata.acquisition.norostat.norostat_update] failing in Automation

Update NoroSTAT Data has been consistently failing in Automation:
This looks like a DB fix.
Starting step [id=24113|step_id=52|name=<span class="tag_research"> </span>Update NoroSTAT Data]
   Running cmd...
Traceback (most recent call last):
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 487, in cmd_query
    self._cmysql.query(query,
_mysql_connector.MySQLInterfaceError: Duplicate entry '2020-11-17-2020-11-19 17:38:23.356390-5-201931' for key 'PRIMARY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/automation/driver/delphi/epidata/acquisition/norostat/norostat_update.py", line 56, in <module>
    main()
  File "/home/automation/driver/delphi/epidata/acquisition/norostat/norostat_update.py", line 53, in main
    norostat_sql.update_point()
  File "/home/automation/driver/delphi/epidata/acquisition/norostat/norostat_sql.py", line 429, in update_point
    cursor.executemany('''
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 352, in executemany
    return self.execute(stmt)
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/site-packages/mysql/connector/cursor_cext.py", line 264, in execute
    result = self._cnx.cmd_query(stmt, raw=self._raw,
  File "/home/automation/.pyenv/versions/3.8.2/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 491, in cmd_query
    raise errors.get_mysql_exception(exc.errno, msg=exc.msg,
mysql.connector.errors.IntegrityError: 1062 (23000): Duplicate entry '2020-11-17-2020-11-19 17:38:23.356390-5-201931' for key 'PRIMARY'
   Fail [cmd=python3 -m delphi.epidata.acquisition.norostat.norostat_update]

Hopefully, this message indicates that the history of the raw table is still being recorded successfully, but there are just some troubles updating the history of the time series encoded.  My first guess is that there is some problem with the conversion of day-month row labels + season column labels into epiweeks in either (a) just that 2020-11-19 17:38:23.356390 issue and nearby issues, or (b) all issues since they shifted from showing 2018-2019 & 2019-2020 to showing 2019-20 & 2020-21.
Guess 1a, looks partially wrong: maybe the current method of assigning epiweeks does not align adjacent years correctly, producing duplicate epiweek entries in adjacent years.

Why it's wrong: the duplicate epiweek value is 2020-11-17, not on a season boundary.
Why it's only partially wrong: 26-Dec-2020 maps to 202052 and 2-Jan 2021 maps to 202101, skipping week 202053 (which exists)!

Guess 1b, need the raw table as of 2020-11-19 17:38:23.356390 to fully check: the site temporarily had some problematic/duplicate row and/or column labels as it was transitioned from showing 2018-2019 & 2019-2020 to 2019-20 & 2020-21 data.  The nearest archive.org snapshots here and here don't seem problematic, though.

This issue should be addressed with #691 to prevent a skipping epiweek 202053.

Quickly revisiting this issue:

This seems like a low impact issue, as it only impacts an auth-gated norovirus nowcasting system that likely has very limited use.
Best next step to debug seems to check the raw table as of 2020-11-19 17:38:23.356390 to see if there's some obvious duplication or problematic epiweek calculations.  Fix is likely either (a) fixing our time calculations and cleaning up any problematic database entries, or (b) if there's some obvious bug in the input data, adding processing code to clean it up in the raw table -> point estimate table to clean it up.

norostat acquisition no longer exists, see #1207


Focused view doesn't show when focusing the extensions view

Testing #191341

Append ${separator}${focusedView} to the window.title setting
Focus the Extensions view

🐛 It doesn't show the view's name in the title. It seems to work for all other views.
https://github.com/microsoft/vscode/assets/22350/00728a91-b72f-4cea-b494-22afe31c88e5

@sandy081 since you own both the views service and extensions editor, could you pls take this one as I'm not sure if it's by design?

Search input is not part of any view, hence there is no view in focus. If there is no view in focus, we should show the view container in focus.

@meganrogge Moving this back to you, since you have implemented this feature. I am happy to review.

This now works - it shows Installed by default


ensure that build/ exists

release.sh runs git clean -fdx build dist before make setup dist and so the build folder isn't there when the build/katex.js, build/katex.min.js:, etc. build targets try to get made.  I had considered adding a line mkdir -p build in release.sh, but the build targets should be buildable without having to run release.sh and the build folder doesn't exist on checkout so that's why I fixed things the way I did.

I'm merging with this without a review b/c it's a safe change, doesn't affect KaTeX code itself, and I really want to get a release out.


Import single model defenition inside mdx files.

Is it possible to import a single model definition inside .mdx file?  I want to have raw /api/ ReDoc endpoint, but also use openapi models inside main documentation. Thanks

That would be pretty cool, redoc does expose SchemaDefinition component directly. Will see if it is possible.

Something like this?
import ApiSchema from '@theme/ApiSchema';

<ApiSchema
  schemaRef="#/components/schemas/Pet"
/>

With only schema and example hidden


Fix RabbitMQ timeouts causing failures sending messages

Automated message from Dropbox CLA bot
@timabbott, it looks like you've already signed the Dropbox CLA. Thanks!

Merged!


DEC-849: Cannot edit sitepath

JS interpreter was having trouble with the const function reference connectDragSource.

Coverage remained the same at 96.136% when pulling db46130a2d10314e39f30f8ee8f08a761d2e7a4d on DEC-849-Bugfix-sitepath into dc4ea6568d428b5e5e9f1ed2b7bdb0a0f45ba9bf on master.

:+1:

:+1:


Sampled positions generate dense masks

Sampled positions stored as zarr are still loaded fully to RAM when computing sampling positions by the ZarrDataset's PatchSampler.

Solved with PR #27


SCP-2920: Fix timeout from marlowe-test-long-running

Fixed the marlowe-test-long-running which stalls on the waitForState call.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

mysterious, but great!


xcore fixes- Transfer - date picker - GMT date to local time

Changelog

add new configuration for datepicker

moved datepicker code to datepicker branch


New Cocoapods version

Referring to #35
Hey Javi,
thanks for the new Tag, but in order to get it up to the cocoapods repo, it has to be pushed in the Specs repository. From what I can see, this didn´t happen yet:
https://github.com/CocoaPods/Specs/tree/4a2a7d017cddfdec782da5bbdd2abee353549280/Specs/JSBadgeView
Cheers,
Marc

Hope it can be done. @JaviSoto Please, Just one step. pod trunk push

Sorry about that! I think I just did it. Let me know if I missed anything (I'm kind of a Cocoapods noob haha)


fixing options persistence at new calls, and removing required dependency

the problem was that options were not been saved, because at merge of options (default, current, new) the current options were not considered as were lost on the process, "$this.data()" didn't work at least for this purpose.
the second problem was that the constructor of new validator was depend of "if(!data)" that was only true on the first call, what caused to call with new options were never saved at data.
/-------------------------------------------------------------/
remove dependency on required
remove dependency on required so multiple input custom validations don't have double message
example:
Input telephone and mobilephone either one of the is required but not both.
In the case of fill only one filed, the other would get required validator error.

I'm an new to this!
I didn't had the tests in mind when i made the pull request.
I think I that the issue the I was trying to solve was no issue, and the "fix" added more bugs.
I will analyze better the tests, the "bug", and my "solution", and make a proper pull request, if it justify itself.
With that  being said, I will close this pull request.


Setting .exe version from pubspec.yaml version value

Use case
I'm compiling my app for Windows and want to set its version (view: Right-click on .exe file -> Properties -> Details tab).
Currently it can be changed manually in windows/runner/Runner.rc:
#define VERSION_AS_NUMBER 1,0,0
...
#define VERSION_AS_STRING "1.0.0"

Proposal
It would be great if version from pubspec.yaml used by default. For example, part before + can go to File version, and the whole value can go to Product version.
Also it would be useful to be able to explicitly set this values when compiling, maybe through command line flags

Hi @PiN73
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/73652
If you disagree, please write in the comments and I will reopen it.
Thank you


fix error: noCacheKeyConformance

fix:noCacheKeyConformance(Swift.Array<SystemPackage.FilePath.Component>) fix:noCacheKeyConformance(Swift.Range<Swift.Int>)

Hi @yingguqing, would you be able to add tests to this PR and get it over the finish line? Thanks!

@yingguqing gentle ping

Closing as superseded by https://github.com/swiftlang/swift-sdk-generator/pull/134.


Update embedded fmtlib to v6.0.0

This updated version of fmt has its floating point conversions to be
locale-independent as we wanted. But we are still not (for this
commit) chaning which places we use fmt versus which we use
tinyformat.

LGTM

Wait, another update coming... they released 6.1 since I first posted this (you can see I already updated that part) and it looks like if I switch the "sprintf" and "to_string" implementations from tinyformat to fmt (essentially, no more tinyformat), I get like a 8x speed boost on float conversions. Testing now...

Yeah, results are very good for not only upgrading fmt to the newest (6.1) release, but also throwing the switches to use it internally even for the sprintf-like formatting. Here are the latest timings:
First, baseline of regular sprintf to a static char buffer (no std::string allocation):
std::sprintf("%g"): 470 ns

std::sprintf("%d"):  75 ns

std::sprintf("%g %d %s %d %s %g", f, i, s, i, s, f): 874 ns

Current master, which uses tinyformat for sprintf() and most to_string() varieties, fmt for format() and to_string(int) (remember that these all return allocated std::string's):
Strutil::sprintf("%g"):      1340 ns
Strutil::fmt::format("{:g}"): 180 ns
Strutil::to_string(float):   1380 ns

Strutil::sprintf("%d"):          75 ns
Strutil::fmt::format("{}", int): 71 ns
Strutil::to_string(int):         70 ns

Strutil::sprintf("%g %d %s %d %s %g", f, i, s, i, s, f):      2060 ns
Strutil::fmt::format("{} {} {} {} {} {}", f, i, s, i, s, f):   477 ns

You can see that fmt has been faster than tinyformat for most things already. But now it's even faster, and can take over the printf-style stuff...
Same tests, after this full patch (including the full switchover that I haven't posted yet):
Strutil::sprintf("%g"):       135 ns
Strutil::fmt::format("{:g}"): 150 ns
Strutil::to_string(float):    130 ns

Strutil::sprintf("%d"):          74 ns
Strutil::fmt::format("{}", int): 68 ns
Strutil::to_string(int):         68 ns

Strutil::sprintf("%g %d %s %d %s %g", f, i, s, i, s, f):      363 ns
Strutil::fmt::format("{} {} {} {} {} {}", f, i, s, i, s, f):  325 ns

Summary:

float->string (printf style and to_string) is almost 10x faster than before, and now is ~3x faster than C++ std::sprintf to buffer.

int->string is as fast or faster than std::sprintf to a buffer (despite also doing allocation!).

A 6-item conversion to string of mixed int/float/string values is 5.6x faster than before when using printf-style, 1.5x faster for fmt-style, and those two now approximately match and are each 2.7x faster than std::sprintf to pre-allocated buffer.

I've got a few things to clean up before I can update... it seems that tinyformat didn't care about %d vs %u -- in both case it would base the formatting on the actual type (and for that matter, even %s would be accepted for non-strings and give default formatting). Whereas fmt::sprintf actually does the "right thing", treating %u things as unsigned and %d things as signed. I was sloppy (or, alternately, too advantage of tinyformat's odd interpretation) in some sections, am working on straightening these out.

OK, updated with the full set of changes that fix the signed-vs-unsigned sloppiness from tinyformat and pass all tests.

Assuming that you still consider this a LGTM with the additional full upgrade to using fmt for all the formatting (even printf-style, to get full performance)...
I have an interesting dilemma, which is that we were supposed to declare 2.1 released yesterday. I hate to break any ABIs after doing this, nor do I want this to completely slip until next year before getting into a release branch. So here's what I propose: (1) immediately backport JUST the "upgrade which version of fmt we use" to 2.1, but no changes in which functionality uses fmt vs tinyformat, keep that the same; (2) cut the supported 2.1 release (technically 2.1.8); (3) give ourselves at least a few weeks with the full switch thrown in master only to shake out any issues; (4) then backport the rest of the full switchover to RB-2.1 to become part of some subsequent 2.1.9+, which shouldn't be an ABI breakage because the only things changing are inline functions and we aren't taking away any public link symbols.
Does that sound reasonable?
The more conservative alternative is just to make the whole shebang master only, won't be in a supported release until 2.2. That is definitely safer, but feels disappointing compared to being able to somehow get this upgrade (and the promise of a perf increase for a point release) in under the wire.

LGTM, excited to see this switchover happen
In this case I'd be inclined to stick to master only since its a fairly big change. I don't think the performance of formatting is critical enough to warrant being aggressive. Am I forgetting some format call that happens really often ?

So you think I shouldn't even upgrade which version of fmt we bundle, except in master, even if no other behavior changes?

I don't think there's any major benefit to trying to shoehorn it into 2.1 if it isn't exercised heavily.

Well, one benefit is that the old version was not properly locale independent, but the new version is. So if anybody starts switching from the printf-based to the fmt-based error functions, say, the new version will avoid a lot of potential subtle bugs.

That does make sense then.

Maybe I'll update 2.1 to the new fmt version but leave it as a RC for one more week just in case something turns up.