Undefined index: parameters

Laravel Version: 5.4 (latest)
Voyager Version: 0.11.7
PHP Version: 7.1
Database Driver & Version:

Description:
I recently updated to the latest voyager version 0.11.7
ErrorException in MenuItem.php line 66:
Undefined index: parameters (View: /home/cmsdev5/public_html/dayanbalevski.com/public/vendor/tcg/voyager/resources/views/menu/admin_menu.blade.php) (View: /home/cmsdev5/public_html/dayanbalevski.com/public/vendor/tcg/voyager/resources/views/menu/admin_menu.blade.php) (View: /home/cmsdev5/public_html/dayanbalevski.com/public/vendor/tcg/voyager/resources/views/menu/admin_menu.blade.php) (View: /home/cmsdev5/public_html/dayanbalevski.com/public/vendor/tcg/voyager/resources/views/menu/admin_menu.blade.php)
in MenuItem.php line 66
at CompilerEngine->handleViewException(object(ErrorException), '0') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/home/cmsdev5/public_html/dayanbalevski.com/public/storage/framework/views/ed7cdece32439230cd7e0e9aa829f8876cb54d83.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'alerts' => array())) in CompilerEngine.php line 59
at CompilerEngine->get('/home/cmsdev5/public_html/dayanbalevski.com/public/vendor/tcg/voyager/src/../resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'alerts' => array())) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 45
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1028
at Router->prepareResponse(object(Request), object(View)) in Router.php line 654
at Router->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VoyagerAdminMiddleware.php line 24
at VoyagerAdminMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 54
Steps To Reproduce:
Visiting any page on admin.

If I comment out the line 66 in MenuItem.php, it works fine...
public function getParametersAttribute()
{
    //return json_decode($this->attributes['parameters']);
}

Why does this happen? Can you tell me how to fix this?

Whoops, looks like something went wrong.
1/1 TokenMismatchException in VerifyCsrfToken.php line 68:
in VerifyCsrfToken.php line 68
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Router.php line 561
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520
at Router->dispatchToRoute(object(Request)) in Router.php line 498
at Router->dispatch(object(Request)) in Kernel.php line 174
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 54
at require_once('/home/bailo/verto/vertos/public/index.php') in server.php line 21

@cadmicro this is happening because the table menu_items doesn't have parameters column.
You need to add that column by running the migrations. Specifically, this one.

Hello. I have the same issue and to be honest I don't know how to run the migration mentioned above.
Error happens when I click 'Builder' button to edit menus.
ErrorException in MenuItem.php line 41:
Undefined index: parameters (View:
/home/klemen75/public_html/vendor/tcg/voyager/resources/views/menu/admin.blade.php) (View:
/home/klemen75/public_html/vendor/tcg/voyager/resources/views/menu/admin.blade.php)

@marktopper mind giving me a hand please?:)

@troix1, what version are you on?

@marktopper v0.11.3

I believe this have been fixed in v0.11.8.

Thanks, I will update

I updated to v0.11.8 and now I get similar error when I try to reach any /admin page
ErrorException in MenuItem.php line 66: Undefined index: parameters (View: /home/klemen75/public_html/vendor/tcg/voyager/resources/views/menu/admin_menu.blade.php)

I got it to work now, I had to run another command for additional migrations and php artisian migrate and now everything is working


Annotation render

Have the annotation render without having to click on the image

https://user-images.githubusercontent.com/22246473/150985202-4725c283-c988-4828-86af-7012b633df0a.mov


Fixes for #71 #66 #59 #70 (Issue Resolved)

Solved the issues regarding the mobile friendly view of website and logo not visible at the end of website.
Fixes for #71 #66 #59 #70

Hey @Itaachime,
Looks like some of these issues got closed by https://github.com/adobe/adobe.github.com/pull/73.


Add backend healthcheck

The train tracker issue this morning reminded me that the dashboard needs a real health check. This checks to make sure the API key has a non-zero length, and that it can get alerts from S3. 500 error if a check fails, and a number output indicating which one.

This looks decent. Is the goal to point uptime bot at it or something so we get slack notifications? In general, i'd love a log of 500s (and maybe 400s?) that occur- I tried to find such things in aws, but it made me cry. Do you know of any way to get notifications of these? either in slack or a weekly digest email or something?

Any way to incorporate this into a CI check? We can always brainstorm this later ofc

@nathan-weinberg You bet; let's add more soon


Title listing not working

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
Hi, I'm getting an error (all of a sudden) with lists of objects (templates) where the suggestion of doing :
...
{ label : "Title",
      name      : "title",
      type      : "string",
      isTitle   : true,
      required: true
}
...

is leading to the following error
Error 1: Fields "title" conflict because they return conflicting types "String" and "String!". Use different aliases on the fields to fetch both if this was intentional.
Reproduction
n/a
Steps to reproduce
In a top-level collection schema
{
  label   : 'Basic Page',
  name    : 'basic_page',
  format  : 'mdx',
  fields  : [
    { label : 'Title',
      name      : 'title',
      type      : 'string',
      isTitle   : true,
      required  : true,
    },
    { label : 'Main Content',
      name      : 'content',
      type      : 'object',
      list      : true,
      templates : [
        { label : 'Text Section',
          name  : 'section',
          fields  : [
            { label : 'Title',
              name      : 'title',
              type      : 'string',
             //    isTitle   : true,
             // required  : true,
             //
            },
          ]
        }

      ]
    }
  ]
}

System Info
System:
    OS: macOS 13.3.1
    CPU: (8) arm64 Apple M2
    Memory: 149.75 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.12.1 - /usr/local/bin/node
    Yarn: 1.22.19 - ----------
    npm: 9.2.0 - /usr/local/bin/npm
  Browsers:
    Firefox: 72.0.2
    Safari: 16.4
  npmPackages:
    @tinacms/cli: 1.5.13 => 1.5.13
    tinacms: 1.5.6 => 1.5.6

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

If you have another collection where title is not required, depending on how you're querying things you'll run into this GraphQL limitation. There are a few topics on this issue but here's one for reference https://github.com/graphql/graphql-js/issues/1065.
To get around this, you'll need to use an alias


disable Hardware touchscreen input and maintain scrcpy screen input

[✅] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
this is a specific problem that is not related to android or scrcpy.
my device touchscreen is faulty and causes random clicks and swipes sometimes.
Describe the solution you'd like
i would like an option to disable touchscreen inputs on the android, while maintaining inputs on scrcpy.
basically scrcpy becomes the primary, and only screen that the android has, while the adb connection is intact.
Describe alternatives you've considered
i used an app to disable the touchcreen, but it disables it on scrcpy as well.
Additional context
N/A

I don't think it's possible.

Hi, i had the same thing (my screen had ghost touch), solved it with --turn-screen-off option.

On the Pixel 4a updated to Android 12, the --turn-screen-off option does disable physical touchscreen input.
Strangely, the physical power button does not turn the screen back on, however the MOD+SHIFT+O shortcut does.
The links below show a recording I made showing the touchscreen not responding to physical input with turn-screen-off
Pixel 4a - Android 12 - turn-screen-off (wireless)
https://imgur.com/xwtlEVl
Pixel 4a - Android 12 - default (wireless)
https://imgur.com/dfCWgLu

OK, thank you for the videos.
Scrcpy just changes the "power mode" to disable/enable physical screen. How the device behaves according to this setting is implementation-defined, and scrcpy could not have any impact on it AFAIK.

Hi, i had the same thing (my screen had ghost touch), fixed it with --turn-screen-off option. it might be what you're looking for
no that doesnt turn off touch input, it just turns off the screen.

On the Pixel 4a updated to Android 12, the --turn-screen-off option does disable physical touchscreen input.
thanks :o

Scrcpy just changes the "power mode" to disable/enable physical screen. How the device behaves according to this setting is implementation-defined, and scrcpy could not have any impact on it AFAIK.
oh ok so it depends on the device then.

This is completely different, but...
 This gonna be a really good feature, especially to save power

[✅] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe. this is a specific problem that is not related to android or scrcpy. my device touchscreen is faulty and causes random clicks and swipes sometimes.
Describe the solution you'd like i would like an option to disable touchscreen inputs on the android, while maintaining inputs on scrcpy. basically scrcpy becomes the primary, and only screen that the android has, while the adb connection is intact.
Describe alternatives you've considered i used an app to disable the touchcreen, but it disables it on scrcpy as well.
Additional context N/A

hey may i get the name for the app
to turn off my toutchscreen cause i am only using scrpy for screen shere and i use a blue tooth mouse for my tablete


AdMob.prepareInterstitial() not showing interstitial on iOS only (Device & Simulator)

Simply call prepareInterstitial like this:
AdMob.prepareInterstitial({     adId: "ca-app-pub-XXXX/YYYY",     autoShow: true });
It seems to be the command that is not executed when sended by cordova.exec() at line 119 in AdMob.js.

I think I found two errors in AdMob.js (Lines 119 & 143).

cordova.exec( successCallback, failureCallback, 'AdMob', 'prepareInterstitial', [ args ] );

Maybe should be replaced by:

cordova.exec( successCallback, failureCallback, 'AdMob', 'prepareInterstitial', [ options ] );

However I've tested with "args" and with "options", the interstitial still does not show itself.

The only way to display the interstitial is to open the notification center.
By doing this the native side of the plugin receives the command "createInterstitial".
Tested on devices (iPhone 5C , iPhone 6 & iPhone 6+) on iOS 10.3.2 (14F89) and simulator on iOS 10.2 (14C89).

Same problem. Any solution?

Thanks to @anhackin, yes, it's a bug, though it does not impact most situation, if args is a string only (for adId), it will cause error. Fixed, thanks again.


Use Github Actions for CI

This is what most projects in the nix-community Github organization uses.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/vulnix-new-maintainer-needed/27209/18


Performance metrics around Trident volume create/delete lifecycles?

We've been trying to use NetApp CVS w/ Trident and are having some recurring timeouts occur. We'd like to be able to analyze these in more detail but cannot find more detailed metrics around Trident's operations as it creates/deletes volumes. Specifically we'd like to be able to see some of the times it's taking Trident to interact w/ CVS.
I looked at Trident's logs on the trident-main container (we're running 19.04) but did not see much details beyond the provisioned/deleted.
$ oc -n trident log trident-6bdbdbc5dd-n855b -c trident-main | tail -5
time="2019-08-27T12:49:45Z" level=info msg="Kubernetes frontend provisioned a volume and a PV for the PVC." PV=os-demo-healthcheck-os-demo-webdb-v2019-08-27-baee-kmi7-2451d PVC=os-demo-webdb-v2019-08-27-baee-kmi7 PV_volume=os-demo-healthcheck-os-demo-webdb-v2019-08-27-baee-kmi7-2451d
time="2019-08-27T12:51:08Z" level=info msg="Kubernetes frontend deleted the provisioned volume and PV." PV=os-demo-healthcheck-kafka-logs-rll1-52229 volume=os-demo-healthcheck-kafka-logs-rll1-52229
time="2019-08-27T12:51:11Z" level=info msg="Kubernetes frontend provisioned a volume and a PV for the PVC." PV=os-demo-healthcheck-kafka-logs-b4d8-56030 PVC=kafka-logs-b4d8 PV_volume=os-demo-healthcheck-kafka-logs-b4d8-56030
time="2019-08-27T12:51:11Z" level=info msg="Kubernetes frontend deleted the provisioned volume and PV." PV=os-demo-healthcheck-zookeeper-logs-rll1-5226a volume=os-demo-healthcheck-zookeeper-logs-rll1-5226a
time="2019-08-27T12:51:14Z" level=info msg="Kubernetes frontend provisioned a volume and a PV for the PVC." PV=os-demo-healthcheck-zookeeper-logs-b4d8-560a3 PVC=zookeeper-logs-b4d8 PV_volume=os-demo-healthcheck-zookeeper-logs-b4d8-560a3

Prometheus support was added for monitoring aspects of Trident including volume creation and volume deletion with the 20.01 Trident release.


Lost everything last night version 3

Most of my work in my portfolio is gone again. And there are multiple listings of the same projects in there place. I need help as soon as possible. I was interviewed today for a job,and it was a hour interview
by a panel of three people The CEO of the company and 2 others. They are going to be checking my portfolio here today. Not only that but when I try to look back to prior code I can not find it. And I cant back reference to help others in the help chat.  Please Please restore my work.

cc: @QuincyLarson @benmcmahon100 Urgent!! attention needed.

@anthonygallina1 but I see all your completed projects and challenges in your profile.
Are you talking about this or something else?

Closing this until @anthonygallina1 provides further info regarding the issue.


Check for open-source KMS solutions

get back to Tai with the options

https://www.vaultproject.io/ - Can be set up on GCP VM.  It supports Hedera keys (ed25519) https://github.com/hashicorp/vault/issues/11035.
https://www.nucypher.com/ - Is a decentralized KMS. It doesn't have a Key Rotation mechanism and Key Generation.

Create trial account to validate if ed25519 and ecdsa are supported.

It looks like it supports both key types ed25519 and ecdsa. https://www.vaultproject.io/api-docs/secret/transit#parameters
Хere is the Pricing: https://cloud.hashicorp.com/products/vault/pricing
For ethereum keys I think it needs the ethereum plugin: https://github.com/immutability-io/vault-ethereum


Support client certificates to access secured OpenDAP (ESGF)

Description
We would like to use ESGF OpenDAP services which are protected by X509 certificates:

WPS client (curl for example) sends an X509 proxy certificate with the WPS request (header variable?)
PyWPS needs to discover this x509 certificate and store it in an appropriate place (probably workdir).
The NetCDF library is able to work with secured OpenDAP services. It just needs to find the certificate in configured place, like in $HOME. In PyWPS it is already possible to set $HOME to the current workdir. So, no special handling on process implementation is necessary.

Additional Information

Working with SSL client certificates embedded in the Request Header
x509 support in Twitcher

We will use oauth tokens in the future ... so this becomes obsolete.


"Make struct fields writable" missing details

[Enter feedback here]
IDE00064 doesn't specify what the configuration key is or what its possible values are.

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

ID: 66d9c5b5-270f-0fbc-f8d4-abdca7b73d19
Version Independent ID: a8e7f74d-4ffa-c215-c483-5cd3dc58a170
Content: IDE0064: Make struct fields writable - .NET
Content Source: docs/fundamentals/code-analysis/style-rules/ide0064.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

IDE0064 doesn't have an associated code style option. I've added a note similar to IDE0072.

Thanks @gewarren
What’s etiquette here on closing issues?
I see your PR is still pending.
Will you close this once it’s merged?

Thanks @gewarren What’s etiquette here on closing issues? I see your PR is still pending. Will you close this once it’s merged?

The PR had specific text in the description such that the issue was automatically closed when it was merged - pretty nice feature.

Cool. Thanks again!


Camera app crashing after choosing to upload the image clicked.

This occurred while testing image upload via phone's default camera app ( phone having API level 19) , after pressing the 'tick' OK button the camera app crashes.

Secondly , choosing to cancel upload of the image clicked or pressing back button in camera app does not lead to the activity which originally launched the camera intent instead directs to ZulipActivity.

@sashafierce can you get the traceback?
@Sam1301 any idea what the issue is here?

@sashafierce this seems to be an issue only on lower api levels. I just tested it on api level 23 but couldn't reproduce the error... Investigating more

Cool.  In general we want to support down to api level 16.

Thanks a lot @sashafierce for reporting this bug :+1:  I have solved this issue using  #308. I could only test it on an emulator. Can you please try this solution on your device and let me know if this works?

Okay now its not crashing but still I am unable to upload the image , the captured image is not shown in the ImageView and when I choose the 'tick' OK button it returns back to camera intent instead of uploading.

hmm... I didn't get this error in emulator running on api 19, the image was shown in imageview, weird :/ Can you give me a stacktrace (if there was one, after choosing 'tick')? Thanks!

@sashafierce can you post the stacktrace for this one?

@kunall17 I am also facing similar issue in Android version 4.1.2.

Here is the stack trace for this:
01-28 11:56:34.952 24364-24364/? E/AndroidRuntime: FATAL EXCEPTION: main                                                    java.lang.SecurityException: Permission Denial: opening provider android.support.v4.content.FileProvider from ProcessRecord{4263c6c0 24364:com.sec.android.app.camera/u0a70} (pid=24364, uid=10070) that is not exported from uid 10131                                                        at android.os.Parcel.readException(Parcel.java:1425)                                                        at android.os.Parcel.readException(Parcel.java:1379)                                                        at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:2574)                                                        at android.app.ActivityThread.acquireProvider(ActivityThread.java:4358)                                                        at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:1825)                                                        at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1107)                                                        at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:622)                                                        at android.content.ContentResolver.openOutputStream(ContentResolver.java:495)                                                        at android.content.ContentResolver.openOutputStream(ContentResolver.java:471)                                                        at com.sec.android.app.camera.Camera$LastContentUriCallback.onCompleted(Camera.java:5863)                                                        at com.sec.android.app.camera.Camera.onLaunchGallery(Camera.java:5738)                                                        at com.sec.android.app.camera.Camera.onImageStoringCompleted(Camera.java:5232)                                                        at com.sec.android.app.camera.CameraEngine.imageStoringCompleted(CameraEngine.java:2309)                                                        at com.sec.android.app.camera.CeStateInitialized.handleMessage(CeStateInitialized.java:47)                                                        at com.sec.android.app.camera.CameraEngine$StateMessageHandler.handleMessage(CameraEngine.java:250)                                                        at android.os.Handler.dispatchMessage(Handler.java:99)                                                        at android.os.Looper.loop(Looper.java:137)                                                        at android.app.ActivityThread.main(ActivityThread.java:4960)                                                        at java.lang.reflect.Method.invokeNative(Native Method)                                                        at java.lang.reflect.Method.invoke(Method.java:511)                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)                                                        at dalvik.system.NativeStart.main(Native Method)

@yadav-rahul yes, the crash I think is fixed in #308 pr. Can you please try that pr's solution and let me know in case its fixed? Thanks :)

@Sam1301 OK. I am testing #308.


python311Packages.aiohomekit: 3.0.2 -> 3.0.3

Diff: https://github.com/Jc2k/aiohomekit/compare/refs/tags/3.0.2...3.0.3
Changelog: https://github.com/Jc2k/aiohomekit/releases/tag/3.0.3
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 254605 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.homekit_controller
python310Packages.aiohomekit
python310Packages.aiohomekit.dist
python311Packages.aiohomekit
python311Packages.aiohomekit.dist


Fix broken documentation introduced by fix for #334

AsciiDoc only (seems to) interpret backticks as "representing code" if they are balanced. The previous documentation only contained a single backtick. By extending the documentation and adding another backtick everything in between was interpreted as code.
Escaping the first backtick seems to fix this. Interestingly you only have to and only can escape the first backtick. Which could lead to the same behavior in the long run if other backticks are added.
Fun fact: #334 linked to another issue fittingly named "Consider checking if backticks in config are balanced" :smile:

Coverage remained the same at 32.38% when pulling b247a8b3dabbae0dc7149a67487453bbb25d889c on x4121:doc into 1833c2e2bd7e5d2956553a568a6b9c7e29a79a2d on akrennmair:master.

Coverage remained the same at 32.38% when pulling 4b0c10b61ebad66c4430bbcd642b7703e1f8abfc on x4121:doc into 1833c2e2bd7e5d2956553a568a6b9c7e29a79a2d on akrennmair:master.

Coverage remained the same at 32.38% when pulling 4b0c10b61ebad66c4430bbcd642b7703e1f8abfc on x4121:doc into 1833c2e2bd7e5d2956553a568a6b9c7e29a79a2d on akrennmair:master.

Thank you!
I wonder if your ironic outlook can somehow be used to deduce what bugs we still have lurking unreported? :P


[hw] Add support for custom SparkConf settings

Summary

For Spark sessions running on Hadoop Yarn, additional hookup is needed.
Tests

Manually tested locally. The steps to set up local Hadoop and Spark on Mac are listed at Hadoop + Spark installation (OSX), and summarized below:

Install Homebrew following the instructions given at Homebrew, or run the following command in a terminal:

% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Java:

% brew install openjdk@11

Install Hadoop (with Yarn)

% brew install hadoop

Install Apache Spark (and dependencies):

# Install Apache Spark
% brew install apache-spark scala sbt

Open ~/.zshrc and add the following settings (replace the Hadoop version 3.3.4 to the right one when needed):

# Added for Hadoop
export HADOOP_VERSION=3.3.4
export HADOOP_HOME=/usr/local/Cellar/hadoop/3.3.4/libexec
export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop/
export PATH=$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH

alias hstart="/usr/local/Cellar/hadoop/3.3.4/sbin/start-all.sh"
alias hstop="/usr/local/Cellar/hadoop/3.3.4/sbin/stop-all.sh"

Run the following command to set up the required environment variables:
% source ~/.zshrc

For Hadoop to run on Mac OSX, Remote Login and File Sharing under System Preferences also need to be turned on. Configure passphraseless SSH on localhost if it is not already set up, using the following steps:

i). ssh-keygen -t rsa
Press enter for each line
ii). cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
iii). chmod og-wx ~/.ssh/authorized_keys

Start the Hadoop and Yarn cluster with the following command:

% hstart

Run spark-shell from the command line to launch Spark shell for Scala for testing:

% spark-shell

. Create a Spark DataFrame with some sample data to validate the installation:
import spark.implicits._
val data = Seq(("Java", "20000"), ("Python", "100000"), ("Scala", "3000"))
val df = data.toDF()
df.show()

To start the Spark shell for Python, run the following command:

% ./bin/pyspark

Or if PySpark is installed with pip in your current environment:
% pyspark

Create a Python test script pi.py with the following code:

import sys
from random import random
from operator import add

from pyspark.sql import SparkSession

if __name__ == "__main__":
    """
        Usage: pi [partitions]
    """
    spark = SparkSession\
        .builder\
        .appName("PythonPi")\
        .getOrCreate()

    partitions = int(sys.argv[1]) if len(sys.argv) > 1 else 2
    n = 100000 * partitions

    def f(_: int) -> float:
        x = random() * 2 - 1
        y = random() * 2 - 1
        return 1 if x ** 2 + y ** 2 <= 1 else 0

    count = spark.sparkContext.parallelize(range(1, n + 1), partitions).map(f).reduce(add)
    print("Pi is roughly %f" % (4.0 * count / n))

    spark.stop()

Run the following command to test spark-submit with pi.py:

% spark-submit pi.py

To run pi.py with the local Hadoop Yarn cluster, run the following command:

% spark-submit --master yarn --name test_job pi.py

It should generate outputs similar to the following
23/05/20 17:15:22 INFO DAGScheduler: Job 0 finished: reduce at /Users/hw/workspace/spark/pi.py:42, took 2.374661 s
Pi is roughly 3.142480

cc:

@dy46 @wangxiaoyou1993

How do we add the custom SparkConf in project's metadata.yaml? Could you provide an example?

How do we add the custom SparkConf in project's metadata.yaml? Could you provide an example?

I've add a setting section to two template files. Please see if these two templates are the right place to add these settings.
(1) mage_ai/data_preparation/templates/main/metadata.yaml
(2) mage_ai/data_preparation/templates/repo/metadata.yaml
spark_config:
  # Application name
  app_name: 'my spark app'
  # Master URL to connect to
  # e.g., spark_master: 'spark://host:port', or spark_master: 'yarn'
  spark_master: 'local'
  # Jar files to be uploaded to the cluster and added to the classpath
  # e.g., spark_jars: ['/home/path/example1.jar']
  spark_jars: []
  # Path where Spark is installed on worker nodes,
  # e.g. spark_home: '/usr/lib/spark'
  spark_home: null
  # List of key-value pairs to be set in SparkConf
  # e.g., others: {'spark.executor.memory': '4g', 'spark.executor.cores': '2'}
  others: {}

For SparkSession, it was designed to be a singleton instance re-used for the whole application session somehow, which made it difficult to switch to another session with a different set of parameters.


npm not start and its going to be error

Hello team
i am recently trying to execute the code and run , but their some error i found when i install the npm.
Please give some light to me how to execute the file.

@Gaurabp If you're using Windows, here is the solution to this problem.


Change usage of "container" to "container registry"

Why:
Users are potentially confused by references to "container support". For example:

Ok, I'll check it out. I didn't do it because GitHub Container Registry is a term which lead me to think is for storing containers instead of images.

https://github.zendesk.com/agent/tickets/980826
What's being changed:

Change "Container guides for GitHub Packages" to "Guides for GitHub Container Registry"

Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

@jcansdale Thanks for opening a PR! I see this is still in draft mode. Feel free to ping me when you're ready for a writer review and I'll get this triaged ⚡

@jcansdale Thanks for opening a PR! I see this is still in draft mode. Feel free to ping me when you're ready for a writer review and I'll get this triaged ⚡

SEJAN BEM VINDOS NO MYSPACE

SEJAN BEM VINDOS NO MYSPACE

It looks like our new action inadvertently closed this 🙃 Sorry about that! Reopening 💛

We should close this PR or adapt it to use the updated naming scheme - https://docs.google.com/document/d/1BhHuQ7PhPf_ZTOjk2LYi4c-xUBrr9RUowmgkVeU_rXA/edit#

@jeremyepling 👋🏻  I like @clarkbw's Container registry guide suggestion here:
https://github.slack.com/archives/CM82WM3LY/p1614117030013700?thread_ts=1614075029.012500&cid=CM82WM3LY
I'm going to close this PR and defer to the updated naming scheme. 😄

Why:
Users are potentially confused by references to "container support". For example:

Ok, I'll check it out. I didn't do it because GitHub Container Registry is a term which lead me to think is for storing containers instead of images.

https://github.zendesk.com/agent/tickets/980826
What's being changed:

Change "Container guides for GitHub Packages" to "Guides for GitHub Container Registry"

Check off the following:

[ ]  I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ]  For content changes, I have reviewed the localization checklist
[ ]  For content changes, I have reviewed the Content style guide for GitHub Docs.

**38html file for docs-style can’t be found narrow end for protection guarantee, to if and when pivot 65md5, are always file for configure without seen by owner registry of licensed. Js.console/   **

```

steps:
- uses: actions/checkout@v2
- name: Dhennis Linganay  @gustavobini
uses: actions/setup-python@v2
with: CS/HH
python-version: ${{334.012}}
www.com

#![E2BB5CB0-19AD-4902-8742-7B91D122BCD0](https://user- JS
images.githubusercontent.com/69623706/120094112-07110600-c151-11eb-8b52-41acce0c0c51.png)

> ``


Unclear how to use some parameters

It is unclear how to use -BindingInformation, -Protocol, etc.
At first reading, these appear to be parameters to the Get-IISSite command:
Get-IISSite
-> Works
Get-IISSite -BindingInformation
Get-IISSite -BindingInformation "IP:Port"
Get-IISSite -BindingInformation IP:Port
Get-IISSite -Protocol
Get-IISSite -Protocol "https"
-> " A parameter cannot be found that matches..."
Some examples would help.
For example:
Display binding information for first website
$x = Get-IISSite
$x[0].Bindings.BindingInformation

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

ID: b132ee6f-f166-5e6a-f2e2-4cbe563a9cf2
Version Independent ID: 2dd18a41-5e0a-9b50-df8f-99aae5247ad2
Content: Get-IISSiteBinding (IISAdministration)
Content Source: docset/winserver2022-ps/iisadministration/Get-IISSiteBinding.md
Product: w10
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Build fails after Cocoapods install

After installing via cocoapods, my build fails with the error: ViewControllerPresentationSpy/ViewControllerPresentationSpy-Swift.h' file not found on line 8 of UIViewController+QCOMock.m:
#import <ViewControllerPresentationSpy/ViewControllerPresentationSpy-Swift.h>

That header file doesn't seem to exist. When I run find . |grep ViewControllerPresentationSpy-Swift at the root of my project, I get no matches.
I'm running Cocoapods version 1.9.3 with Xcode version 12.3. I confirmed that my project's build settings aren't overriding any of the settings set by the cocoapods Config.File.

Sorry for not noticing your issue until now.
Is your project ObjC only?


ALZ Contribution Guide - Policy Naming Convention

Overview/Summary
Updated Contribution Guidance for policy contribution naming convention.
AB #23845
This PR fixes/adds/changes/removes

Updates the Contribution Guidance for policy naming convention

Breaking Changes

N/A

Testing Evidence
N/A
Testing URLs
The below URLs can be updated where the placeholders are, look for {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also} & {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}, to allow you to test your portal deployment experience.

Please also replace the curly brackets on the placeholders {}

Azure Public

Azure US Gov (Fairfax)

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[X] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[X] Ensured contribution guidance is followed.
[X] Updated relevant and associated documentation.
[X] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

Great start... thank you.
I think it's worth differentiating between the standard for the policy name, and the fact that we use this with a .json suffix for the file name.
Ideally I think we also want to limit the name format to the following (unless someone has a preferred pattern):
{prefix}-{targetResourceType}-{targetSetting}
It might also be worth highlighting (or pointing to where we already highlight) the importance of setting the policy name and not changing a name (different from displayName) at random due to the impact this can have on assignments and lifecycle management of the policy.

These are good points and I did think of that convention too. We have a few policies which do not adhere to that standard, but let's use this to set the standard going forward! 👍
I'll get them in and push.


update style guide (insensitive words)

Add recommendations about avoiding insensitive or low value words.
Some minor cleanup.
Related to #17070.

Page preview:
https://deploy-preview-26580--kubernetes-io-master-staging.netlify.app/docs/contribute/style/style-guide/

/lgtm


Text Extractor - Copy table to Excel

Description of the new feature / enhancement
Copy table on screen to Excel.
Scenario when this would be used?
Copying tables to excel
Supporting information
Well... there are already open-source programs to do that... this would just make it more accessible to people.

This is a great idea for enhancement. However, I wouldn't pin it to pasting tabular output in only Excel. There are many other formats supporting tables (e.g. Word doc and Markdown doc are the first two that come to mind). It would be great if Text Extractor could recognize table shaped data (multiple fields on same line, start of text by columnar position) and copy data to clipboard replacing CRLF with TAB characters for text on the same line. Then the clipboard paste into other formats could pick it up as-is (with TABs instead of CRLF) and "do the right thing". It would even make it cleaner and truer to original form for simple text documents.

This has been worked on for the 0.74.0 release. Please update PowerToys to the latest version. 😉
https://github.com/microsoft/PowerToys/releases


feat: audit-logs parity with ee

Description
This PR brings in some changes that are required for Audit logs PR.

/ok-to-test sha=5bc4263

https://github.com/appsmithorg/appsmith/issues/17116


add touchpad scrolling, increase right arrow explore speed

exploring though sections are slow, let touchpad users scroll sideways to explore through sections. also increase arrow speed as it only scroll 1 at a time.

touchpad scrolling seems to cause alot of issues, maybe make it work later. for now just increase speed, maybe skip 3 at a time


Metrics/BlockLength to act as Metrics/ClassishLength for modules, classes, and structs

I suggest that in some cases where a block is occurred, instead of Metrics/BlockLength cop, the appropriate ClassLength or ModuleLength cop is applied. Reason is the fact that the following two definitions are equivalent:
class Foo
end

Foo = Class.new do
end

So it seems inconsistent that you have different limits depending on how you create a class. The same applies for modules, and for Structs(since the ruby docs suggest using the block form).
PS. I don't know the situation with MethodLength cop, probably, there's a similar case for define_method and friends.

So it seems inconsistent that you have different limits depending on how you create a class

How can linter know that Class is a ::Class?


possible bug for tracks: all chromosomes need to be in the track list

Hi, thanks for your great tool. I noticed the following when trying to load 2 tracks via 2 bed files:
region_to_mark_ref.bed
chr2	0	10000

region_to_mark_sample.bed
chr1	0	10000
chr2	0	10000

When I plot chr1 and chr2 without tracks it goes fine.
When I separately plot chr1 with only chr1 regions
region_to_mark_sample.bed
chr1	0	10000

or chr2 with only chr2 regions tracks, it works
region_to_mark_ref.bed
chr2	0	10000

region_to_mark_sample.bed
chr2	0	10000

But when I try to run the track for chr1 and chr2, I get this:
Traceback (most recent call last):
  File "/tools/eb/software/plotsr/0.5.3-GCCcore-10.2.0/bin/plotsr", line 6, in <module>
    main(sys.argv[1:])
  File "/tools/eb/software/plotsr/0.5.3-GCCcore-10.2.0/lib/python3.9/site-packages/plotsr/main.py", line 55, in main
    plotsr(args)
  File "/tools/eb/software/plotsr/0.5.3-GCCcore-10.2.0/lib/python3.9/site-packages/plotsr/plotsr.py", line 259, in plotsr
    ax = drawtracks(ax, tracks, S, chrgrps, chrlengths, V, ITX, cfg, minl=minl, maxl=maxl)
  File "/tools/eb/software/plotsr/0.5.3-GCCcore-10.2.0/lib/python3.9/site-packages/plotsr/func.py", line 1595, in drawtracks
    tposmax = max(tpos)
ValueError: max() arg is an empty sequence

I looked at this issue https://github.com/schneebergerlab/plotsr/issues/28 as I have the same error code, but double checked and my file /chromosome names seem correct.
I was able to fix this by adding a chr1 row for region_to_mark_ref.bed:
region_to_mark_ref.bed
chr1	0	1
chr2	0	10000

Hi. Thanks for testing this. You are correct, plotsr does expect that tracks (when used) would have information for all chromosomes. And your strategy of adding chr1:0-1 in bed file is indeed the correct approach to overcome this.
I think there is some merit in this setting as tracks are "intended" for showing distribution along the genome. For annotating specific regions, the suggested way is to use --markers. Have you tried using that? Are there any specific reasons why tracks are better compared to markers for this?
Nevertheless, the error message should be better and explain this. I will add them.

Hi. I tried markers too, but I like to visualize regions of interest as blocks rather than just a dot in the middle. Ideally I could have this both for ref and the query sample but I read that that's not possible because plotsr is made to work for more than two https://github.com/schneebergerlab/plotsr/issues/42.
By the way is it possible to have coordinate ticks in itx mode? I guess this is unfortunately for the same reason not possible for both ref and query(s) (it would be great to have both tracks and ticks for ref and query), but is it possible for only the ref perhaps?
And while I'm at it: in itx mode I only see chromsome labels for the ref side, but not on the query side. Because the chromosomes are not aligned horizontally, it is sometimes a bit difficult to see which chromosome is which (See pic). Could they be aligned?

By the way is it possible to have coordinate ticks in itx mode? I guess this is unfortunately for the same reason not possible for both ref and query(s) (it would be great to have both tracks and ticks for ref and query), but is it possible for only the ref perhaps?

Currently, it is not possible to get coordinates in ITX mode because (as you guessed) the coordinates would not be conserved across the genomes. One idea would be to align the start of homologous chromosomes and then have coordinates. I will try to add it up.

And while I'm at it: in itx mode I only see chromsome labels for the ref side, but not on the query side. Because the chromosomes are not aligned horizontally, it is sometimes a bit difficult to see which chromosome is which (See pic). Could they be aligned?

This is indeed sub-optimal. This is arising because the chromosomes are of quite different sizes, and when they are stacked the size differences stack. I have added it in the todo list. Thanks for reporting this.

I think there is some merit in this setting as tracks are "intended" for showing distribution along the genome. For annotating specific regions, the suggested way is to use --markers. Have you tried using that? Are there any specific reasons why tracks are better compared to markers for this?

There is no other way to show regions of interest and their size right? I'm trying to visualize some NOTAL regions and im interested in their location, but also their size. As I understand, with 'marker' only the location can be given but not the size. But it seems like if there are many regions to plot, there still is a frequency distribution seen, both on the whole genome scale

and when I select only that chromosome (so these 2 pictures are the same data):

It is possible to show location and size using --markers. Something like this would draw a line over the chromosome:
Chr1    1       10000000        ler     mt:_;mc:black;ms:1;tt:contig;tp:0.02;ts:8;tf:Arial;tc:black
For vertical chromosomes, you might need to use "|" (check the different available markers here: https://github.com/schneebergerlab/plotsr/blob/master/config/marker_point_type.txt)

What I mean is to show the actual length as in the bed coordinates (i.e. 10Mb in your example)
if I have ms10 I get this

and with ms1 I get

so the length is the marker size not the bed region

Sorry for the late reply!
my markers file used for a a plot like this is
#chr	start	end	genome_id	tags
chr2	0	28000000	ref mt:_;mc:red;ms:10;tt:28Mb ROI;tp:0.02;ts:8;tf:DejaVu Sans;tc:black
chr1	0	5732065	sample1	mt:_;mc:red;ms:10;tt:5.7Mb ROI;tp:0.02;ts:8;tf:DejaVu Sans;tc:black
chr2	0	15998100	sample1	mt:_;mc:red;ms:10;tt:16Mb ROI;tp:0.02;ts:8;tf:DejaVu Sans;tc:black

This gives this picture (the dashed lines is the border between the 2 chroms which is not very clear because the marker. As you can see, the markers are not 28M, 5.7M, or 16Mb, but just have size of ms:10.  In yellow, I marked the approximate desired sizes that the markers should have. Hope it is clear!

command used:
plotsr \
  --sr syri.out \
  --genomes ref_and_sample_fai.txt \
  --chr chr1 --chr chr2 \
  --markers markers.bed \
  --itx \
  -S 0.7 -o R7 -W 7 -H 10 -f 8 -s 1000000\
  -o plot_out.png

Hi @KewinOgink. I tested plotsr in this context and it seems to be working fine. My command is:
plotsr --itx --sr col_lersyri.filtered.out --genomes tmp_genomes.txt -S 1 -o tmp.png -W 7 -H 4 -f 8 --markers tmp_markers.bed --chr Chr1 --chr Chr3

genomes.txt is:
TAIR10_Filtered.chrlen	col-0	ft:cl;lw:1.5
ler.chrlen	ler	ft:cl;lw:1.5

and markers.bed is:
#chr	start	end genome_id	tags
Chr1	0	5000000	col-0	mt:_;mc:red;ms:10;tt:Marker1;tp:0.02;ts:8;tf:Tinos;tc:black
Chr3	0	10000000	ler	mt:_;mc:black;ms:1;tt:Marker2;tp:0.02;ts:8;tf:Tinos;tc:black

So, it is difficult for me to predict what exactly could be happening. I suggest that you try changing the example files (https://github.com/schneebergerlab/plotsr/blob/master/example/). If they work, then probably the issue would be in the plotsr input files.

Thanks again for your quick and clear responses. I was not able to reproduce your example and it turns out I was not on the latest version of plotsr - will update and try again. Pretty sure this will solve the problem...

Hi, updating plotsr fixed the problem - thanks for your support!


warning: division by zero [-Wdiv-by-zero],error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant

I'm trying to use Cython to convert. py files into. c files and make. c files compile and run independently.
The contents of the. py file is:
print("hello")
I used
cython hello.py --embed
to get the .c file.
Then,
gcc hello.c -I C:......\Python\Python310\include -L C:......\Python\Python310\libs\python310.lib -fPIC -DMS_WIN64
to complie, but I got:
hello.c:203:41: warning: division by zero [-Wdiv-by-zero]
     enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
                                         ^
hello.c:203:12: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
     enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };

In fact, I have looked at several similar problems and tried their solutions,#2670,#3405, which are not valid for me. Maybe I missed something. Can someone remind me?

Please ask support questions on the Cython-users mailing list, not the bug tracker. This is not a bug - it's a check that your environment is correctly set up working correctly.

Duplicate of https://github.com/cython/cython/issues/3405


Bump gophercloud to v1.0.0

openstack-cloud-controller-manager (occm)
cinder-csi-plugin
manila-csi-plugin
k8s-keystone-auth
client-keystone-auth
octavia-ingress-controller
magnum-auto-healer
barbican-kms-plugin

What this PR does / why we need it:
Bumps gophercloud to v1.0.0
Release note:
NONE

/approve
/lgtm
Thanks!


Avenger96 regressed in mainline for U-Boot M4 boot

Describe the bug
I can't get the Avenger96 binary to work on the board anymore. The basic hello_world example itself is not working.
To Reproduce
Build and flash the binary to the board
Additional context
There were some ST specific clock changes done which affected STM32MP1, could that be a reason?

@arnop2 , @yboutreux

Hi @Mani-Sadhasivam,
hello_world is still working on stm32mp157c_dk2 with Zephyr latest commits.
MP1's clock_control driver itself doesn't seem to had a modification that could break it https://github.com/zephyrproject-rtos/zephyr/commits/master/drivers/clock_control/clock_stm32_ll_mp1.c
Do you have more informations about the specific clock changes ?

Hi Mani,
i tested the hello world sample on the avenger96 board: no issue on my side:
 root@stm32mp1-av96:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
 ***** Booting Zephyr OS build v2.0.0-rc1-288-gcfd1f4950f7e *****
 Hello World! 96b_avenger96

My settings:
Cortex-A: Linux 5.3 + enable of the rproc in kconfig and dts
Cortex-M: Zephyr 2.0 rc1
Be carfull, if you use the kernel 5.3, you will now use the rproc driver that has been upstreamed. dts declaration must be adapted accordingly.

@arnop2 @yboutreux
Hmm. So it works with remoteproc driver in linux kernel but it is not working with u-boot as mentioned here: https://wiki.st.com/stm32mpu/wiki/How_to_start_the_coprocessor_from_the_bootloader
Earlier, I used to start the firmware using u-boot and it worked well. But with new binary it is not.

@Mani-Sadhasivam
when you say "new binary" is it the Uboot or the Zephyr binary?
If it works fine when you load zephyr elf file from Linux but ko from Uboot,  the zephyr binary is problably not the root cause.
Could you confirm that your Linux version is 5.3 ?
In this case your issue is probably a misalignment betwen the DTS and yourUboot version.
you probably need to update the Uboot...  we are upstreaming rproc in Uboot based on the new dts description: https://patchwork.ozlabs.org/project/uboot/list/?series=122979&state.
This version is compatible with the new way to describe rproc node in DTS.

@arnop2

when you say "new binary" is it the Uboot or the Zephyr binary?

Zephyr binary.

If it works fine when you load zephyr elf file from Linux but ko from Uboot, the zephyr binary is problably not the root cause.

I just tested the v1.14.0 branch of Zephyr and it is working fine. So definitely something should've changed in Zephyr in between for STM32MP1.

Could you confirm that your Linux version is 5.3 ?

No, I'm using the vendor kernel (4.19.9)

@Mani-Sadhasivam
Thanks for the clarification!
I think i'm reproducing the issue on dk2 board. the firmware is runnuing without issue if it isloaded by the Linux, but trace is corrupted if it is loaded by the uboot loader.
Main difference between both is the elf parser that is different between the Linux and the Uboot. Perhaps the delta between v1.14 and v2.0 could be explained by a linker update...?
Need more in-depth investigation to understand the problem

@Mani-Sadhasivam
We found an issue in Uboot. It is a side effect of adding the EXIDX program Header in the Zephyr elf file.
The Uboot has a bug in the elf program header parser. In some cases the pointer to the headers is not incremented.
To fix this you need to recompile the Uboot after applying following patch:
@@ -430,11 +430,11 @@ static int rproc_load_elf_image(struct udevice *dev, unsigned long addr,
dev_dbg(dev, "Driver has no ops?\n");
return -EINVAL;
}
/* Load each program header */

for (i = 0; i < ehdr->e_phnum; ++i) {

for (i = 0; i < ehdr->e_phnum; ++i, phdr++) {
void *dst = (void *)(uintptr_t)phdr->p_paddr;
void *src = (void *)addr + phdr->p_offset;
if (phdr->p_type != PT_LOAD)
	continue;

@@ -451,11 +451,10 @@ static int rproc_load_elf_image(struct udevice *dev, unsigned long addr,
phdr->p_memsz - phdr->p_filesz);
flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN),
roundup((unsigned long)dst + phdr->p_filesz,
ARCH_DMA_MINALIGN) -
rounddown((unsigned long)dst, ARCH_DMA_MINALIGN));

  ++phdr;

}
We will upstream the fix ASAP

Could you confirm that this patch solves your issue?
Thanks,
Arnaud

Sorry bad syntax for the patch...
@@ -430,11 +430,11 @@ static int rproc_load_elf_image(struct udevice *dev, unsigned long addr,
 		dev_dbg(dev, "Driver has no ops?\n");
 		return -EINVAL;
 	}

 	/* Load each program header */'
-	for (i = 0; i < ehdr->e_phnum; ++i) {'
+	for (i = 0; i < ehdr->e_phnum; ++i, phdr++) {
 		void *dst = (void *)(uintptr_t)phdr->p_paddr;
 		void *src = (void *)addr + phdr->p_offset;

 		if (phdr->p_type != PT_LOAD)
 			continue;
@@ -451,11 +451,10 @@ static int rproc_load_elf_image(struct udevice *dev, unsigned long addr,
 			       phdr->p_memsz - phdr->p_filesz);
 		flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN),
 			    roundup((unsigned long)dst + phdr->p_filesz,
 				    ARCH_DMA_MINALIGN) -
 			    rounddown((unsigned long)dst, ARCH_DMA_MINALIGN));
-		++phdr;
 	}

 	*entry = ehdr->e_entry;

 	return 0;

@arnop2 Thanks for the patch! I will be on vacation for this week. Will test this patch asap.

@arnop2  I am new to this topic. But is this fix needed if i would like to run code on the M4 via uboot only. So there is no running linux needed?

@mgiaco
Yes this fix is needed if you want to load Zephyr 2.0 in Uboot. if loaded by Uboot, the remotre proc
driver in the ST Linux Kernel distribution is able to attach to it (i.e. retrieve the resource table to enable trace and RPMsg).

@Mani-Sadhasivam
Did you find time to test it?

@arnop2 Not yet. Unfortunately my vacation just started this week, will try to test it whenever I have time. Thanks

@Mani-Sadhasivam, did you had time to test?

@erwango Sorry for not updating this issue. The problem got solved using @arnop2's patch.
closing...


[RFC]: add @stdlib/math/iter/sequences/tribonacci

Description
This RFC proposes adding the package @stdlib/math/iter/sequences/tribonacci.
The package should be similar in structure as @stdlib/math/iter/sequences/fibonacci.
Package: @stdlib/math/iter/sequences/tribonacci
Alias: iterTribonacciSeq
Related Issues
None.
Questions
No.
Other
Tribonacci sequence
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

hey @kgryte  I have located and studied the structure of @stdlib/math/iter/sequences/fibonacci.
I also have studied about Tribonacci sequence ,
I can add the package @stdlib/math/iter/sequences/tribonacci, similar to the fibonacci package
Can I work on this ?

Thanks for volunteering to work on this, @PraneGIT. Please feel free to submit a PR implementing this feature.


[libgeotiff]  find_package(geotiff) does not work on Linux

Describe the bug
After using vcpkg to install libgeotiff on linux, Cmake is unable to find the package correctly. (Edit - I found that the same thing happens on windows as well.)
Environment

OS: Ubuntu 20.04 LTS
Compiler: GCC 9.3

To Reproduce
Steps to reproduce the behavior:

./vcpkg install libgeotiff
Use find_package(geotiff CONFIG REQUIRED) in a CMakeLists.txt file.

Expected behavior
CMake finds libgeotiff.
Failure logs
After find_package(geotiff CONFIG REQUIRED), Cmake produces the following error:
CMake Error at /home/max/code/vcpkg/scripts/buildsystems/vcpkg.cmake:644 (_find_package):
  Could not find a configuration file for package "geoTIFF" that is
  compatible with requested version "".

  The following configuration files were considered but not accepted:

    /home/max/code/vcpkg/installed/x64-linux/share/GeoTIFF/geotiff-config.cmake, version: 1.6.0

Call Stack (most recent call first):
  CMakeLists.txt:6 (find_package)

Hi @Max-Manning
Thanks for posting this issue.
It should be find_package(GeoTIFF CONFIG REQUIRED).
I have submitted a PR to fix it. Could you please help test if this can work fine for you?

Hi @Max-Manning
Thanks for posting this issue.
It should be find_package(GeoTIFF CONFIG REQUIRED).
I have submitted a PR to fix it. Could you please help test if this can work fine for you?

Yes, that fixes it. Thanks for your help!

Yes, that fixes it. Thanks for your help!

Thanks for your feedback.
Please keep this issue open until the PR merged.

Thanks for your feedback.
Please keep this issue open until the PR merged.


[KYUUBI #701] Upgrade scalatest 3.2.9

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #719 (cfb9982) into master (3e8a621) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #719      +/-   ##
==========================================
+ Coverage   80.53%   80.58%   +0.04%
==========================================
  Files         122      122
  Lines        4743     4743
  Branches      574      574
==========================================
+ Hits         3820     3822       +2
+ Misses        601      600       -1
+ Partials      322      321       -1

Impacted Files
Coverage Δ

...org/apache/spark/kyuubi/SQLOperationListener.scala
97.43% <0.00%> (+5.12%)
:arrow_up:

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 3e8a621...cfb9982. Read the comment docs.

Thanks for your contribution! Merged into master for v1.3.0.


Add support for launch argument detoxURLBlacklistRegex on Android

Until now, the launchArgs detoxURLBlacklistRegex was supported only on ios - this PR adds support on Android. Relates to issue https://github.com/wix/Detox/issues/1695.

Not stale. @jonathanmos let's finalize next week...

@jonathanmos could you please open an issue for enabling the e2e test for iOS?


Applying as is gives timed out waiting for the condition error

STDERR:
  W0904 16:44:03.524258  458943 warnings.go:70] spec.template.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector: a null labelSelector results in matching no pod
  Error: failed post-install: 1 error occurred:
        * timed out waiting for the condition

COMBINED OUTPUT:
  Release "wazuh" does not exist. Installing it now.
  W0904 16:44:03.524258  458943 warnings.go:70] spec.template.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector: a null labelSelector results in matching no pod
  Error: failed post-install: 1 error occurred:
        * timed out waiting for the condition

@lucasfcnunes Hi, I'm having the same problem. Did you solve it? thanks

podAffinityTerm.labelSelector: a null labelSelector results in matching no pod

try check this - https://groups.google.com/g/wazuh/c/FIbnotbmXcs all worked configuration is located in example folder


Design Frontend UI/UX with Figma

We aim to create a user-friendly, visually appealing, and responsive frontend design for our marketplace application. The design process will utilize Figma to facilitate collaboration, feedback, and iteration. The focus will be on crafting layouts for key pages including the homepage, product listings, user authentication flows, seller dashboard, and order management interfaces.
Objectives:

Establish a consistent design language and theme that aligns with our brand identity.
Design intuitive and accessible interfaces for a diverse user base.
Ensure the designs are responsive and adaptable to different screen sizes and devices.

Tasks:

Research and Inspiration: Gather design inspirations and best practices for marketplace applications. Create a mood board in Figma to compile these ideas.
Design System: Develop a design system in Figma that includes typography, color palette, button styles, input fields, and other UI components.
Wireframes: Create low-fidelity wireframes for key pages to outline the basic layout and user flow.
High-Fidelity Mockups: Develop high-fidelity mockups based on wireframes. Include variations for mobile, tablet, and desktop views.
Interactive Prototype: Build an interactive prototype in Figma to simulate user interactions and flows.
Feedback and Iteration: Share the designs with the team for feedback. Iterate on the designs based on the feedback received.
Handoff to Developers: Prepare the final designs for developer handoff, including exporting assets and creating a detailed design specification document.

Acceptance Criteria:

A complete design system is established and documented in Figma.
High-fidelity mockups and an interactive prototype for key pages are created and approved by the team.
The designs are responsive and consider accessibility best practices.
A design specification document is prepared, and assets are ready for developer handoff.

Deliverables:

Figma file(s) containing the mood board, design system, wireframes, high-fidelity mockups, and interactive prototype.
Design specification document outlining key design decisions, measurements, and asset export guidelines.


[DOC-2841] Update FAQ

Fix broken links
Remove absolute links, add relative links
Signed-off-by: Smriti S<EMAIL_ADDRESS>

Preview environment: https://hdh.pr.harness.io/pr-1101

Preview environment: https://hdh.pr.harness.io/pr-1101


[ ] Documentation updated (or not required).

it is a track worth recording :D


Pecan cards improvements

[x] Reviewed histogram and margins (+ template structure).

[x] Map list width was 960px, but rest are 940px, now all 940px.

cc @javierarce @saleiva

Frontend tests were OK :+1: (details)

Not sure if you wanted those 960px in the maps list, didn't you? @javierarce

:+1: Thanks!


Not all key codes work in every browser

The arrow keys (key codes 37, 38, 39, 40) do not work in latest Chrome.
Everything except the arrow keys and a few others (Enter, Backspace) register as key code 0 in latest Firefox.
Code to reproduce:
import Html exposing (text)
import Html.App as App
import Keyboard

main =
  App.program
    { init = (-1, Cmd.none)
    , update = \code _ -> (code, Cmd.none)
    , subscriptions = always (Keyboard.presses identity)
    , view = toString >> text
    }

The latest browser versions at the time of this writing are Firefox 46.0.1 and Chrome 50.0.

Confirmed from Chromium.

For context, an old pull request against core, when Keyboard.presses still lived there: https://github.com/elm-lang/core/pull/463.
In particular, the first comment there explains the cause of all this, and what is and what is not possible to achieve in fixing Keyboard.presses.

@jeremy-w, trying to handle media keys and editing keys and whatnot for keypress is lost effort, since as explained elsewhere and pointed to above, MDN also says that keypress should not fire for those keys at all, and indeed browsers other than Firefox adhere to that specification.

Keypress is lost effort; it's deprecated: The KeyboardEvent also had a char attribute that was only used by the keypress event. Since the keypress event has	been deprecated, this attribute was no longer useful and was removed. The media keys are valid keys though, and they should show up AFAICT for not-deprecated KeyboardEvent events.

Keypress is lost effort; it's deprecated

If you go far enough back in the context of this issue here, as linked to above, you will already find the suggestion, by me, to remove Keyboard.presses from Elm altogether. It wasn't done. It's of course possible to open a new issue proposing (again) to remove Keyboard.presses, but the current issue here is about what to do with/for Keyboard.presses while it exists.
And then it's simply a fact that it does not make sense to even try to handle non-character keys, because a) it won't work and b) it shouldn't work. (The very same document you linked to clearly says that keypress should only fire for character keys.)

The media keys are valid keys though, and they should show up AFAICT for not-deprecated KeyboardEvent events.

Yes, but again, that's not relevant for the issue at hand here. The issue at hand here is about Keyboard.presses. (Nobody complains that arrow keys do not work for Keyboard.ups and Keyboard.downs. Because they do.)
Again it might make sense to have an issue open about using key instead of keyCode for Elm's keyboard events. But a) that would have to be a different issue than this one here, for reasons given above, and b) anyway Evan is already aware of that, see the final note in http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-Events#keyCode.

I have made a pull request, https://github.com/elm-lang/keyboard/pull/5, that at least makes sure the Elm documentation of this subscription agrees with the W3C specification of the underlying event. (It's impossible for the documentation to agree with the behavior in all browsers, since the browsers behave differently, only some of them true to the specification.)

That clears it up. We are not forced to hew to what the browser gives us directly, so we could do things like converting key into a keyCode ourselves in order to better support this within Elm, though, no?
Similarly, we could synthesize press events whenever there's a subscribe and we've observed a down followed by an up event.
Jeremy W. Sherman
https://jeremywsherman.com/ https://jeremywsherman.com/

El 5 ago 2016, a las 00:47, Janis Voigtländer<EMAIL_ADDRESS>escribió:
Keypress is lost effort; it's deprecated
If you go far enough back in the context of this issue here, as linked to above, you will already find the suggestion, by me, to remove Keyboard.presses from Elm altogether. It wasn't done. It's of course possible to open a new issue proposing (again) to remove Keyboard.presses, but the current issue here is about what to do with/for Keyboard.presses while it exists.
And then it's simply a fact that it does not make sense to even try to handle non-character keys, because a) it won't work and b) it shouldn't work. (The very same document you linked to clearly says that keypress should only fire for character keys.)
The media keys are valid keys though, and they should show up AFAICT for not-deprecated KeyboardEvent events.
Yes, but again, that's not relevant for the issue at hand here. The issue at hand here is about Keyboard.presses. (Nobody complains that arrow keys do not work for Keyboard.ups and Keyboard.downs. Because they do.)
Again it might make sense to have an issue open about using key instead of keyCode for Elm's keyboard events. But a) that would have to be a different issue than this one here, for reasons given above, and b) anyway Evan is already aware of that, see the final note in http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-Events#keyCode http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-Events#keyCode.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/elm-lang/keyboard/issues/3#issuecomment-237754272, or mute the thread https://github.com/notifications/unsubscribe-auth/AABxUu13QoaXkNG5FZ_66ChQwrozad6Mks5qcsBvgaJpZM4Ijaj_.

Yes, in theory one could add extra logic on the Elm side to paper over the misbehavior of some browsers. To isolate Elm users from differences between browsers etc. My old pull request against core referenced above tried to do some of that, and in its discussion (the history of it does not begin with that PR, there was an older one that had quite some discussion before Evan asked to start a new one) there were other proposals like actually dropping the non-specification-abiding key presses that Firefox gives for non-character keys. [sarcasm] And look at how successful that PR was. [/sarcasm]
So, in practice, the maximum realistic change I expect can get merged here, with convincing enough justification, is to replace keyCode by which. Given all I know (the lengthy analysis that went into the mentioned old PR), that would be a strict improvement. Keyboard.presses would continue to work in exactly the way it currently does in browsers and situations where it's doing fine, and it would start to work fine in additional browsers and situations. Specifically:

It would continue to work exactly as it does currently in Chrome.
It would start to emit events for character keys in Firefox.

@epeterson320, I suggest to close this issue here. It is comprehensively covered by the combination of the following two pull requests:

#5 (Correct documentation of Keyboard.presses)
#6 (Use KeyboardEvent.which instead of KeyboardEvent.keyCode)


Reworked Config

Switched config to a type validated pydantic setting class Introduces breaking changes to config file
add support for bitwarden secrets manager
fixed #4
supersedes #32
TODO

[ ] Add constr to strings to enforce length and format
[ ] make bitwarden optional
[ ] add dev mode to make config optional

I can help either this week or weekend with anything in here if you need it.


Update/Add [tool name]

Tool name
Trivy
Tool license
Apache 2.0
Add or update?

[X] Add
[ ] Update

Desired version
latest
Approximate size
200MB
Brief description of tool
Trivy https://github.com/aquasecurity/trivyis a comprehensive and versatile security scanner. Trivy has scanners that look for security issues, and targets where it can find those issues.
URL for tool's homepage
https://github.com/aquasecurity/trivy
Provide a basic test case to validate the tool's functionality.
trivy image python:3.4-alpine

Platforms where you need the tool

[ ] Azure DevOps
[ ] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
sudo apt-get install wget apt-transport-https gnupg lsb-release
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy

Tool installation time in runtime
No response
Are you willing to submit a PR?
Sure

It does exist as a docker image and a GitHub Action, but coming in at 200+MB it does add a significant time spent on all our builds.

Hi @androa. Thank you for your suggestion, we will consider it. In the meantime you can run trivy in the docker container using docker run aquasec/trivy.

@mikhailkoliada, could you review this? By the way, it takes 15 - 25 seconds to install trivy from apt repo during build.

Hello! Given the installation time (23s) we would not like to pre-install the tool into the image, please continue installing in runtime