According to spec, the SDK should be responsible for calling -[UIApplication registerForRemoteNotifications], not the user

Description
RSH3a2d says:

On event CalledActivate … If the local device does not have the necessary push details, it initiates a request to the underlying platform (or otherwise generates them).

I believe that on iOS, to "initiate a request to the underlying platform" is to call -[UIApplication registerForRemoteNotifications]. However:

This SDK never calls that method.
We have various pieces of documentation and example code that suggest that a user of the library needs to call this method on app startup:

Documentation: "Push Notifications - Device activation and subscription":

In UIApplicationDelegate#didFinishLaunchingWithOptions, call UIApplication.shared.registerForRemoteNotifications.

But then later on in the same article (section 2.1), it says that calling activate will:

Activate the device for push notifications with the underlying OS or platform and obtain a unique identifier for the device as a push recipient

iOS push notifications tutorial, step 6 demonstrates calling this method on app startup.

Our push-example-ios example app copies this pattern, calling the method on app startup.

Next steps

Confirm whether we believe the behaviour described by the spec to be the right one
If so, implement it in the library and remove the call to this method from our documentation / example code (confirm that existing code that does call this method will still work fine).

┆Issue is synchronized with this Jira Uncategorised by Unito

Here is related issue https://github.com/ably/ably-cocoa/issues/1159


Fixed method addQueryParams.

Implemented correct addition of pagination parameters. Previously, they overwritten other query parameters.

@abataloff hello. Can you give me an example of when the parameters were overwritten? thank you

Try call method GroupMembers with groupId


Schema.org metadata for packages

#708

Was thinking http://schema.org/SoftwareSourceCode was a better fit.
Thoughts?

Was thinking http://schema.org/SoftwareSourceCode was a better fit.

Changed. We are using only the basic attributes anyway.


(chocolatey/docs#76) Add Extra Layer of Navigation Styling and Additional Theme Enhancements

In this PR:

Adds styling to facilitate an extra layer of navigation to the left side of the docs subdomain. In addition, support has been added to allow for an extra layer, in case one is added in the future.
Styles buttons, badges, and alerts to better fit the dark/light theme
Contains certain css to docs subdomain
Adds support for collapsable top nav

Fixes styling for https://github.com/chocolatey/docs/issues/76

@designxsteph thank you very much for getting this done!


plugins/cilium-cni: start gops in debug mode

Fixes: def2c9e06e91 ("Add gops to cilium-cni")
Signed-off-by: André Martins<EMAIL_ADDRESS>cilium-cni: Only start gops in debug mode

Coverage increased (+0.01%) to 36.899% when pulling fda789f0720ea0c233b46844f83f2eeb884139ac on pr/do-not-initialize-gops-by-default into 9ba07e33548cd1736985e15717e431c042e893a9 on master.

test-me-please

retest-4.19

k8s 1.11 hit https://github.com/cilium/cilium/issues/11741


[BUG] Not able to mount a longhorn volume created and attached to a node through UI

Describe the bug (🐛 if you encounter this issue)
When trying to mount a block device volume attached to the node am getting following error
NTFS signature is missing.
Failed to mount '/dev/longhorn/testt': Invalid argument
The device '/dev/longhorn/testt' doesn't seem to have a valid NTFS.

To Reproduce
Steps to reproduce the behavior:

Create a block device volume with ReadWriteOnce
Attach it to one of the nodes
Try to mount it by mount /dev/longhorn/<volume> /mnt/

Expected behavior
I expected the volume to be mounted on my node to browse through it
Log or Support bundle
If applicable, add the Longhorn managers' log or support bundle when the issue happens.
You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment

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

Number of server nodes in the cluster: 3
Number of worker nodes in the cluster: 0

Node config

OS type and version: Armbian 23.5 Jammy (ubuntu 22.04 based)
CPU per node: 8
Memory per node: 8gb
Disk type(e.g. SSD/NVMe): NVMe
Network bandwidth between the nodes: 1Gb

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal orange pi 5 boards
Number of Longhorn volumes in the cluster: 3 (all testing only created right recently)

Additional context
I was trying out Longhorn for the first time and trying to use a mount a longhorn pvc for one of my deployments. The error was
FailedAttachVolume  21s (x7 over 56s)  attachdetach-controller  AttachVolume.Attach failed for volume "pvc-14d63359-8025-432c-a813-0adccaa344a1" : rpc error: code = DeadlineExceeded desc = volume pvc-14d63359-8025-432c-a813-0adccaa344a1 failed to attach to node server1 with attachmentID csi-accafe270beb0a481513f9f124874b2260d2277722706e90132fc5bcc76e1c03

Though Longhorn UI showed that the volume was attached to the pod. Verified that all requirements for Longhorn were met through the longhorn provided script and also that iscsiadm is running on all nodes

Hello @tejassp919. Neither creating nor attaching a Longhorn volume have the effect of creating a file system (Longhorn volumes are block devices). You will need to execute a mkfs command against /dev/longhorn/testt before executing mount to have a chance of the reproduce working.
The Kubernetes attach/detach controller is also concerned with whether or not a file system on a volume can be mounted at the proper location on the node. So a Longhorn volume can be attached from the Longhorn UI point of view (the block device is available on the node), but not mountable (the file system doesn't exist or is corrupted).
The longhorn-csi-plugin logs may indicate why the attachment is failing, as it is this component that is responsible for mounting filesystems from Longhorn volumes.
The NTFS message in your output is interesting as well. I'm fairly sure we've never tested Longhorn with NTFS. Is this the filesystem you are intending to use? Are Windows nodes involved?

Logs from one of the pods of longhorn-csi-plugin
I0601 02:25:09.910655    3697 main.go:167] Version: v2.7.0
I0601 02:25:09.910830    3697 main.go:168] Running node-driver-registrar in mode=registration
I0601 02:25:09.911689    3697 main.go:192] Attempting to open a gRPC connection with: "/csi/csi.sock"
W0601 02:25:19.915062    3697 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:29.915692    3697 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:39.915357    3697 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:49.915727    3697 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:59.914754    3697 connection.go:173] Still connecting to unix:///csi/csi.sock
I0601 02:26:08.325869    3697 main.go:199] Calling CSI driver to discover driver name
I0601 02:26:08.337149    3697 main.go:209] CSI driver name: "driver.longhorn.io"
I0601 02:26:08.337364    3697 node_register.go:53] Starting Registration Server at: /registration/driver.longhorn.io-reg.sock
I0601 02:26:08.338114    3697 node_register.go:62] Registration Server started at: /registration/driver.longhorn.io-reg.sock
I0601 02:26:08.339152    3697 node_register.go:92] Skipping HTTP server because endpoint is set to: ""
I0601 02:26:08.826891    3697 main.go:102] Received GetInfo call: &InfoRequest{}
I0601 02:26:08.827981    3697 main.go:109] "Kubelet registration probe created" path="/var/lib/kubelet/plugins/driver.longhorn.io/registration"
I0601 02:26:08.853433    3697 main.go:121] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:true,Error:,}

@ejweber The logs from one of the longhorn-csi-plugin pods
root@server0:/home/devops# kubectl logs longhorn-csi-plugin-rftrm  --all-containers=true -n longhorn-system
W0601 02:25:21.298803    4239 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:31.298878    4239 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:41.298822    4239 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:51.299388    4239 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:26:01.299539    4239 connection.go:173] Still connecting to unix:///csi/csi.sock
I0601 02:26:08.830529    4239 main.go:149] calling CSI driver to discover driver name
I0601 02:26:08.833704    4239 main.go:155] CSI driver name: "driver.longhorn.io"
I0601 02:26:08.833761    4239 main.go:183] ServeMux listening at "<IP_ADDRESS>:9808"
time="2023-06-01T02:26:08Z" level=info msg="CSI Driver: driver.longhorn.io version: v1.5.0-dev, manager URL http://longhorn-backend:9500/v1"
time="2023-06-01T02:26:08Z" level=info msg="Enabling node service capability: GET_VOLUME_STATS"
time="2023-06-01T02:26:08Z" level=info msg="Enabling node service capability: STAGE_UNSTAGE_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling node service capability: EXPAND_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling controller service capability: CREATE_DELETE_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling controller service capability: EXPAND_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling controller service capability: CREATE_DELETE_SNAPSHOT"
time="2023-06-01T02:26:08Z" level=info msg="Enabling controller service capability: CLONE_VOLUME"
time="2023-06-01T02:26:08Z" level=info msg="Enabling volume access mode: SINGLE_NODE_WRITER"
time="2023-06-01T02:26:08Z" level=info msg="Enabling volume access mode: MULTI_NODE_MULTI_WRITER"
time="2023-06-01T02:26:08Z" level=info msg="Listening for connections on address: &net.UnixAddr{Name:\"//csi/csi.sock\", Net:\"unix\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Service\":{\"type\":1}}},{\"Type\":{\"VolumeExpansion\":{\"type\":1}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":9}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":7}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":9}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":7}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="NodeGetInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="NodeGetInfo: rsp: {\"node_id\":\"server0\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Service\":{\"type\":1}}},{\"Type\":{\"VolumeExpansion\":{\"type\":1}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":9}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":7}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Service\":{\"type\":1}}},{\"Type\":{\"VolumeExpansion\":{\"type\":1}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":9}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":7}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="ControllerGetCapabilities: rsp: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":9}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":7}}}]}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: req: {}"
time="2023-06-01T02:26:08Z" level=info msg="GetPluginInfo: rsp: {\"name\":\"driver.longhorn.io\",\"vendor_version\":\"v1.5.0-dev\"}"
I0601 02:25:11.101149    4090 main.go:167] Version: v2.7.0
I0601 02:25:11.101396    4090 main.go:168] Running node-driver-registrar in mode=registration
I0601 02:25:11.103152    4090 main.go:192] Attempting to open a gRPC connection with: "/csi/csi.sock"
W0601 02:25:21.103763    4090 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:31.103586    4090 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:41.103439    4090 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:25:51.103914    4090 connection.go:173] Still connecting to unix:///csi/csi.sock
W0601 02:26:01.104086    4090 connection.go:173] Still connecting to unix:///csi/csi.sock
I0601 02:26:08.409928    4090 main.go:199] Calling CSI driver to discover driver name
I0601 02:26:08.426351    4090 main.go:209] CSI driver name: "driver.longhorn.io"
I0601 02:26:08.426548    4090 node_register.go:53] Starting Registration Server at: /registration/driver.longhorn.io-reg.sock
I0601 02:26:08.427137    4090 node_register.go:62] Registration Server started at: /registration/driver.longhorn.io-reg.sock
I0601 02:26:08.427854    4090 node_register.go:92] Skipping HTTP server because endpoint is set to: ""
I0601 02:26:08.645377    4090 main.go:102] Received GetInfo call: &InfoRequest{}
I0601 02:26:08.647934    4090 main.go:109] "Kubelet registration probe created" path="/var/lib/kubelet/plugins/driver.longhorn.io/registration"
I0601 02:26:08.671159    4090 main.go:121] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:true,Error:,}

Thanks @ejweber, with mkfs, I can mount the volume onto my machine. The other part of PVC not being able to mount to the pod still needs to be figured out though. Please feel free to close this issue if you think that the other part should be tackled as a separate issue.

The rest of the issue seems to be same as https://github.com/longhorn/longhorn/issues/5990, hence closing this issue

@derekbit https://drive.google.com/drive/folders/1LywS-4tKvw4zm-F-7dYs2nmFzqnM40ta?usp=sharing


House: Chaining the models City Country

Relevant Issues: #114
I removed the countries selection logic from the HTML file, and replace it by the lib "django-smart-select"
this lib chains models with jquery fetching automatically in the admin and in any form as seen in the docs.
the latest version of this lib(1.6.0) is the first supporting python 3.9 which we are using but this version isn't released yet. so the solution i saw people use is to explicitly state that we are using the lib from the version of the repo in github see Pipfile.
and thus no more worrying about logic in the HTML.
Because all this magic is happening from the 3rd party library there is no real code to test that isn't tested thoroughly in the library itself, so I don't think any new tests need to be created If there is I would like to hear the idea of the test because the output of this PR is still "frontendy" meaning changes are happening to the HTML element "select" and its options so I cant think of a test that tests the code behind that. But I checked this on the House filter form and in the admin and this works perfectly
The tests changed only because we're creating the initial countries and cities data using the django command loaddata, so the tests need to run that first as a fixture. and that created some problems with the test classes so I moved the problematic ones to be functional and that fixed the problem.
https://user-images.githubusercontent.com/34008861/168373694-0c1ed856-e53a-4873-9f27-9e774aed67c8.mov
https://user-images.githubusercontent.com/34008861/168373920-ef21610d-0757-494f-ad58-f90a673014f5.mov

there are two commits, please rebase and fix typo in title and commit-msg

squash them?

there are two commits, please rebase and fix typo in title and commit-msg

what typo?

Did you me to chain (chaining)? Or change (changing)?

Is this PR based on other PRs?
If so - on which? I would love for you to point out above
If not - why does it show that there are updates on all sorts of things that are not relevant to PR? For example - tests / house_tests.py
@shlior7

Is this PR based on other PRs? If so - on which? I would love for you to point out above If not - why does it show that there are updates on all sorts of things that are not relevant to PR? For example - tests / house_tests.py @shlior7

The tests changed only because we're creating the initial countries and cities data using the django command loaddata, so the tests need to run that first as a fixture. and that created some problems with the test classes so I moved the problematic ones to be functional and that fixed the problem.
this PR is not blocked by any other PR, about the tests, please read the description.
but in short the way we load the cities and countries has changed for this PR to work and that triggered some changes in the tests as I explained

@shlior7 please resolve conflicts

Can you add the chaining also to the create house functionality?

Can you add the chaining also to the create house functionality?

Done, please take a look at the create_house.html for the changes

I'll merge that PR as soon as you fix the new line issue.
But a PR changing 28 files is NOT fine.
it was supposed to be split into at least 5 different PRs - one changing the expense model, one changing the house model, and even making the backend and the froNT separated.
It is not possible to track all the changes that occurred and pay attention to different problems that may occur.


redshift_connector.error.InterfaceError: {'S': 'FATAL', 'C': '28000', 'M': 'password authentication failed for user

Hi,
I have just upgraded awswrangler to 2.0.0 and moved from db.get_engine (which doesn't work anymore anyway) to redshift.connect and use glue connections.
While using the redshift.connect I am not able to connect using my glue connection - error is: redshift_connector.error.InterfaceError: {'S': 'FATAL', 'C': '28000', 'M': 'password authentication failed for user xxx

When using the glue console to test the connection, it works fine.
When using db client, works fine.
When using awswrangler 1.x and db/catalog get_engine , it works fine.

Password has special characters.
UPDATE: after changing the password and removing special chars, the connection worked. Wondering if there is a way to include special chars and/or which ones can cause problems
thank you

Hi @nmduarteus , thanks for reporting it.
It already was fixed in our development branch (commit above). Could you give it a try?
pip install git+https://github.com/awslabs/aws-data-wrangler.git@feature/secrets-manager

@igorborgest This is currently still failing for me while using this branch, the change feels like it should've resolved the issue though.

changing the password and removing special chars
still resolved the issue for me

Released on version 2.1.0

Hi @kvey !
Please, notice that the Glue Catalog console does not require backslash escape unlike Python or SQL strings.

Thanks for having a look and fixing it @igorborgest! Obrigado!


a Dcokerfile for the repo ?

it's a really amazing project but i think, it could be great to have a DockerFile to fastly test the app, what do you think ?

That's a good suggestion. I will add the corresponding Dockerfile.

Looks amazing, thanks !


The Arabic language isn't working properly.

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
Note: This bug happens only when the app starts with Locale('ar') in its locale property, but if the locale was changed later with Get,updateLocale(Locale('ar')) everything still works.
When using translations, the Arabic language isn't working properly. Whenever the app locale changes to Locale('ar'), first, when the app starts, I get this warning "This application's locale, ar, is not supported by all of its
localization delegates.", second, all TextFields don't work and they output this error: "No MaterialLocalizations found.
TextField widgets require MaterialLocalizations to be provided by a Localizations widget ancestor."
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Everything work just fine like when the locale is Locale('en')
Screenshots
If applicable, add screenshots to help explain your problem.
Flutter Version:
1.20.4 : Stable Channel
Getx Version:
3.11.1
Describe on which device you found the bug:
Pixel 2 API R Emulator - Android.
Minimal reproduce code
Provide a minimum reproduction code for the problem

If do you uses Material Components (timePicker, datePicker), you need of MaterialDelegates. Otherwise, just ignore the message.
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

GetMaterialApp(
 localizationsDelegates: [
      GlobalMaterialLocalizations.delegate, // uses `flutter_localizations`
      GlobalWidgetsLocalizations.delegate,
      GlobalCupertinoLocalizations.delegate,
    ],
 supportedLocales: <Locale> [Locale ('en', 'UK'), Locale ('ar')]

If do you uses Material Components (timePicker, datePicker), you need of MaterialDelegates. Otherwise, just ignore the message.
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

GetMaterialApp(
 localizationsDelegates: [
      GlobalMaterialLocalizations.delegate, // uses `flutter_localizations`
      GlobalWidgetsLocalizations.delegate,
      GlobalCupertinoLocalizations.delegate,
    ],
 supportedLocales: <Locale> [Locale ('en', 'UK'), Locale ('ar')]

Oh, It seems like my problem was that I didn't have flutter_localizations in my pubspec.yaml.
Now it works fine. Thanks a lot

As this has been resolved, I am closing

I've faced same issue almost 1 year later. I think this case should mentioned in documentation.


isup: ERROR SyntaxError: Unexpected end of JSON input

[Sun Jun 05 2016 23:36:55 GMT+0200 (CEST)] ERROR SyntaxError: Unexpected end of JSON input
at Object.parse (native)
at /node_modules/hubot-scripts/src/scripts/isup.coffee:25:23
at IncomingMessage.<anonymous> (/node_modules/scoped-http-client/src/index.js:95:22)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:926:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Latest official hubot version, latest hubot-scripts.

If you're able to print the return value from the API, that would be great. It looks like you're getting some non-JSON response. Occasionally error pages are HTML.

It should be like:
{
https://isitup.org/duckduckgo.com.json ->

   "domain": "duckduckgo.com",
    "port": 80,
    "status_code": 1,
    "response_ip": "<IP_ADDRESS>",
    "response_code": 200,
    "response_time": 0.023
}

shouldn't it?
I dont know how to extract it, here is the debug log:
DEBUG Received message: purrbot, is https://duckduckgo.com up? in room: undefined, from: illuna. Private chat JID is ...
DEBUG Message 'purrbot, is https://duckduckgo.com up?' matched regex //(http(?:s?):\/\/(\S*))/i/; listener.options = { id: null }
DEBUG Executing listener callback for Message 'purrbot, is https://duckduckgo.com up?'
DEBUG Message 'purrbot, is https://duckduckgo.com up?' matched regex //^\s*[@]?purrbot[:,]?\s*(?:is (?:http\:\/\/)?(.*?) (up|down)(\?)?)/i/; listener.options = { id: null }
DEBUG Executing listener callback for Message 'purrbot, is https://duckduckgo.com up?'
ERROR SyntaxError: Unexpected end of JSON input

The issue seems to be here:
msg.http("http://isitup.org/#{domain}.json")     .header('User-Agent', 'Hubot')     .get() (err, res, body)
"body" will be undefined here and does not contain JSON data. This leads to JSON.parse failing.
To fix, need to replace this HTTP get method with a different method to get JSON data from the endpoint.

We are in the process of deprecating this repository. We're not accepting any changes or fixing any issues unless it furthers that end. If anyone is interested in taking the isup script and repackaging it with fixes, I'd strongly encourage it.
There is a https://www.npmjs.com/package/hubot-isup but the repository is gone, and it doesn't seem to use isitup.org


Replicant node not starting : validation_error in the emqx_conf_schema - node.role is not_a_enum_symbol

Describe the bug
Replicant node not starting : validation_error in the emqx_conf_schema.

Replicant container logs :
escript: exception throw: {emqx_conf_schema,[#{reason => not_a_enum_symbol,
                                      value => replicant,path => "node.role",
                                      kind => validation_error}]}
  in function  hocon_tconf:assert/2 (hocon_tconf.erl, line 1227)
  in call from hocon_tconf:map/4 (hocon_tconf.erl, line 303)
  in call from hocon_cli:get_values/3 (hocon_cli.erl, line 194)
  in call from hocon_cli:multi_get/2 (hocon_cli.erl, line 182)
  in call from escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1
  in call from init:do_boot/3
ERROR: call_hocon_failed: -s emqx_conf_schema -c /opt/emqx/etc/emqx.conf multi_get node.data_dir node.name node.cookie node.db_backend cluster.proto_dist node.dist_net_ticktime

To Reproduce
Steps to reproduce the behavior:
Kubernetes installation (kubectl and minikube)

Install kubectl (brew install kubectl)
Install minkube (brew install minikube) (no hyper needed)
Launch Minikube et verify installation : minikube start then minikube status
Install Helm (brew install helm)

EMQX installation
helm repo add jetstack https://charts.jetstack.io
helm repo update

helm repo add emqx https://repos.emqx.io/charts
helm repo update

helm upgrade --install emqx-operator emqx/emqx-operator \
  --namespace emqx-operator-system \
  --create-namespace

Wait for it to be ok kubectl wait --for=condition=Ready pods -l "control-plane=controller-manager" -n emqx-operator-system

You then need to deploy kubernetes yaml with kubectl apply -f .

apiVersion: apps.emqx.io/v2beta1
kind: EMQX
metadata:
    name: emqx
spec:
    image: emqx:5
    coreTemplate:
        spec:
            replicas: 3
    replicantTemplate:
        spec:
            replicas: 3
    listenersServiceTemplate:
        spec:
            type: LoadBalancer
    dashboardServiceTemplate:
        spec:
            type: LoadBalancer

Check the status of the created pods :
kubectl get emqxto see the status (should block at ReplicantNodesProgressing)
kubectl get pods to see the falling replicant pods (namespace should be default)

Expected behavior
Replicant node starting without error
Anything else we need to know?:
kubectl describe of the replicant pod. See that EMQX_NODE__ROLE is of the correct enum type : 'replicant'
Name:             emqx-replicant-747b7bc99d-4kf4m
Namespace:        default
Priority:         0
Service Account:  default
Node:             minikube/<IP_ADDRESS>
Start Time:       Thu, 19 Sep 2024 20:05:26 +0200
Labels:           apps.emqx.io/db-role=replicant
                  apps.emqx.io/instance=emqx
                  apps.emqx.io/managed-by=emqx-operator
                  apps.emqx.io/pod-template-hash=747b7bc99d
Annotations:      <none>
Status:           Running
IP:               <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/emqx-replicant-747b7bc99d
Containers:
  emqx:
    Container ID:   docker://e7706d3c19435f3c59d93bc0c57554bfcf5f41a3fa5a9fd8e161b86bbac4f1ad
    Image:          emqx:5
    Image ID:       docker-pullable://emqx@sha256:d6922ede4260df3c0b80ac90b086e15457a99ddb4759693a88d9ed394a9cdab0
    Port:           18083/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    127
      Started:      Thu, 19 Sep 2024 20:11:31 +0200
      Finished:     Thu, 19 Sep 2024 20:11:33 +0200
    Ready:          False
    Restart Count:  6
    Liveness:       http-get http://:dashboard/status delay=60s timeout=1s period=30s #success=1 #failure=3
    Readiness:      http-get http://:dashboard/status delay=10s timeout=1s period=5s #success=1 #failure=12
    Environment:
      EMQX_DASHBOARD__LISTENERS__HTTP__BIND:  18083
      EMQX_CLUSTER__DISCOVERY_STRATEGY:       dns
      EMQX_CLUSTER__DNS__RECORD_TYPE:         srv
      EMQX_CLUSTER__DNS__NAME:                emqx-headless.default.svc.cluster.local
      EMQX_HOST:                               (v1:status.podIP)
      EMQX_NODE__DATA_DIR:                    data
      EMQX_NODE__ROLE:                        replicant
      EMQX_NODE__COOKIE:                      <set to the key 'node_cookie' in secret 'emqx-node-cookie'>  Optional: false
      EMQX_API_KEY__BOOTSTRAP_FILE:           "/opt/emqx/data/bootstrap_api_key"
    Mounts:
      /opt/emqx/data from emqx-replicant-data (rw)
      /opt/emqx/data/bootstrap_api_key from bootstrap-api-key (ro,path="bootstrap_api_key")
      /opt/emqx/etc/emqx.conf from bootstrap-config (ro,path="emqx.conf")
      /opt/emqx/log from emqx-replicant-log (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-txjnt (ro)
Readiness Gates:
  Type                      Status
  apps.emqx.io/on-serving
Conditions:
  Type                        Status
  apps.emqx.io/on-serving
  PodReadyToStartContainers   True
  Initialized                 True
  Ready                       False
  ContainersReady             False
  PodScheduled                True
Volumes:
  bootstrap-api-key:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  emqx-bootstrap-api-key
    Optional:    false
  bootstrap-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      emqx-configs
    Optional:  false
  emqx-replicant-log:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  emqx-replicant-data:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  kube-api-access-txjnt:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  7m17s                  default-scheduler  Successfully assigned default/emqx-replicant-747b7bc99d-4kf4m to minikube
  Normal   Pulled     5m36s (x5 over 7m16s)  kubelet            Container image "emqx:5" already present on machine
  Normal   Created    5m36s (x5 over 7m16s)  kubelet            Created container emqx
  Normal   Started    5m36s (x5 over 7m15s)  kubelet            Started container emqx
  Warning  BackOff    2m6s (x29 over 7m4s)   kubelet            Back-off restarting failed container emqx in pod emqx-replicant-747b7bc99d-4kf4m_default(a6cf979d-04ae-40e6-a02b-fe0f8602c044)

Environment details::

Kubernetes version:

Client Version: v1.31.1
Server Version: v1.31.0

Cloud-provider/provisioner: minkube (local)

minikube version: v1.34.0
commit: 210b148df93a80eb872ecbeb7e35281b3c582c61

emqx-operator version:  2.2.23

emqx/edge-operator                       	0.0.5        	0.0.5      	A Helm chart for Kubernetes
emqx/emqx                                	5.8.0        	5.8.0      	A Helm chart for EMQX
emqx/emqx-ee                             	4.4.25       	4.4.25     	A Helm chart for EMQ X
emqx/emqx-enterprise                     	5.8.0        	5.8.0      	A Helm chart for EMQX
emqx/emqx-operator                       	2.2.23       	2.2.23     	A Helm chart for EMQX Operator Controller
emqx/kube-ecp-stack                      	2.3.0        	2.3.0      	A Helm chart stack for EMQX ECP
emqx/kuiper                              	0.9.0        	0.9.0      	A lightweight IoT edge analytic software

Install method: helm

Hi @VictorGobel I'm sorry, EMQX Open-Source Edition can not support Core-replicant cluster since then 5.8.0, please check the Breaking changes of the release note: https://github.com/emqx/emqx/releases/tag/v5.8.0

Thank you for your quick answer. I guess we don't have them in open source because open source is limited to 3 replicas ?

Yes, I think this issue can be closed. I'm also thinking about how to handle this case: user set replicants node in EMQX Open-Source Edition, maybe I should add a new kind of resource for EMQX Enterprise Edition, or just add a new filed like is_enterprise in EMQX resource's spec ?

I don't know if you have access here, but as a first option we can change the documentation to label it Entreprise only ?
https://docs.emqx.com/en/emqx-operator/latest/tasks/configure-emqx-core-replicant.html

I don't know if you have access here, but as a first option we can change the documentation to label it Entreprise only ? https://docs.emqx.com/en/emqx-operator/latest/tasks/configure-emqx-core-replicant.html

Yes of course, I will change this document later


Catch Throwable instead of just RuntimeException

@bjorncs please review.

I think you should only catch LinkageError+RuntimeException and let the rest pass through.

Yes, this is only for debugging.


About the PASCAL VOC 2007 benchmark

I tried running the demo of PASCAL VOC 2007. I ran the following training command.
python tools/train.py -f exps/example/yolox_voc/yolox_voc_s.py --batch-size 32 --occupy

Is it the performance that Megvii expects? Benchmark results for PASCAL VOC 2007 do not seem to be listed anywhere.
2021-09-06 15:41:32 | INFO     | yolox.evaluators.voc_evaluator:160 - Evaluate in main process...
Writing aeroplane VOC results file
Writing bicycle VOC results file
Writing bird VOC results file
Writing boat VOC results file
Writing bottle VOC results file
Writing bus VOC results file
Writing car VOC results file
Writing cat VOC results file
Writing chair VOC results file
Writing cow VOC results file
Writing diningtable VOC results file
Writing dog VOC results file
Writing horse VOC results file
Writing motorbike VOC results file
Writing person VOC results file
Writing pottedplant VOC results file
Writing sheep VOC results file
Writing sofa VOC results file
Writing train VOC results file
Writing tvmonitor VOC results file
Eval IoU : 0.50
AP for aeroplane = 0.8824
AP for bicycle = 0.8925
AP for bird = 0.8119
AP for boat = 0.7440
AP for bottle = 0.7154
AP for bus = 0.8835
AP for car = 0.8933
AP for cat = 0.8716
AP for chair = 0.6770
AP for cow = 0.8906
AP for diningtable = 0.7790
AP for dog = 0.8436
AP for horse = 0.8955
AP for motorbike = 0.8891
AP for person = 0.8656
AP for pottedplant = 0.6100
AP for sheep = 0.8545
AP for sofa = 0.7800
AP for train = 0.8577
AP for tvmonitor = 0.8259
Mean AP = 0.8232
~~~~~~~~
Results:
0.882
0.893
0.812
0.744
0.715
0.883
0.893
0.872
0.677
0.891
0.779
0.844
0.895
0.889
0.866
0.610
0.854
0.780
0.858
0.826
0.823
~~~~~~~~

--------------------------------------------------------------
Results computed with the **unofficial** Python eval code.
Results should be very close to the official MATLAB eval code.
Recompute with `./tools/reval.py --matlab ...` for your paper.
-- Thanks, The Management
--------------------------------------------------------------
Eval IoU : 0.55
Eval IoU : 0.60
Eval IoU : 0.65
Eval IoU : 0.70
Eval IoU : 0.75
Eval IoU : 0.80
Eval IoU : 0.85
Eval IoU : 0.90
Eval IoU : 0.95
--------------------------------------------------------------
map_5095: 0.5913753462806071
map_50: 0.8231609333498374
--------------------------------------------------------------
2021-09-06 15:42:12 | INFO     | yolox.core.trainer:309 -
Average forward time: 3.24 ms, Average NMS time: 0.96 ms, Average inference time: 4.21 ms

2021-09-06 15:42:12 | INFO     | yolox.core.trainer:318 - Save weights to ./YOLOX_outputs/yolox_voc_s
2021-09-06 15:42:12 | INFO     | yolox.core.trainer:183 - Training of experiment is done and the best AP is 59.19
⋊> ~/l/c/YOLOX on main ◦

can i see your yolox_voc_s.py config file?

yolox_voc_s.py is the default provided by the repository.

@Keiku We got bet mAP_50 ~84.5, with batch_size 64. So your result seems fine.

@Joker316701882 Thank you for your reply. I will consider a little more improvement from here.


Add csv format to user search results

🔧 Changes

Adds csv as a general format cli wide
Uses csv flag for user search

📚 References

Supports use case for #475 by adding the --csv flag to auth0 users search
Could be leveraged to support #954 with one line to the logs command

🔬 Testing
Manually verify that you get a csv back of your search results via auth0 users search --csv
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (12ca7e5) 72.23% compared to head (cb7af20) 72.14%.

:exclamation: Current head cb7af20 differs from pull request most recent head 1591248. Consider uploading reports for the commit 1591248 to get more accurate results

Files
Patch %
Lines

internal/display/display.go
0.00%
18 Missing :warning:

internal/cli/cli.go
0.00%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #955      +/-   ##
==========================================
- Coverage   72.23%   72.14%   -0.10%
==========================================
  Files          93       93
  Lines       12656    12679      +23
==========================================
+ Hits         9142     9147       +5
- Misses       2969     2987      +18
  Partials      545      545

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


Timeouts when I git tfs pull --rebase --debug

When I run this command to fetch changes from the remote, it will sometimes just halt on a certain file and do no more.
What I do is that I cancel the command and run it again.

Without a log or trace or specifics about the file and history of the project, I fear there is nothing which can be done from our side here.
At least I am not aware of any existing issues matching your description


[FLINK-17073][checkpointing] Backpressure checkpointing on slow cleanup

What is the purpose of the change
This PR includes changes from #13040 and some refactorings of new and existing code.
Verifying this change
Changes for backpressure tested by new ZooKeeperCompletedCheckpointStoreITCase.testChekpointingPausesAndResumeWhenTooManyCheckpoints test
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@rkhachatryan I don't see my ITest commit in this history. Does this mean that you don't want to merge this part of the code or is this just a forgotten part?

I think @etienne-chauchot your test was squashed with the commit that was adding the feature.

Ok fair enough

CI failure unrelated - FLINK-19619 (both public and private repos).

Thanks for the contribution both @rkhachatryan  and @etienne-chauchot . Merging.


[#LFX2984] Feature/ Regex Gerrit Name

Updated regex rule for gerrit instances name attribute

Signed-off-by: wanyaland<EMAIL_ADDRESS>

Need to resolve the swagger issues.
Resolved


Source generators

Is your feature request related to a problem? Please describe.
PropertyChanged and Commands required a lot of verbose, repetitive boilerplate code.
Describe the solution you'd like
Source generators could generate properties and commands from fields and methods, applying best practices along the way.
Describe suggestions on how to achieve the feature
I'm using some very basic source generators in an Avalonia UI project at the moment, for example the Command generator can only handle parameterless methods right now, but it's a start.
I copied the implementations to a gist: https://gist.github.com/markrendle/93ccfb62f2e2f87137148b9aaa57f02f
public partial class LoginViewModel : ViewModelBase
{
    [ReactiveProperty] private string? _userName; // Generates UserName property
    [ReactiveProperty] private string? _password; // Generates Password property
    [ReactiveProperty] private bool _loggingIn; // Generates LoggingIn property

    [ReactiveCommand] // Generates LoginCommand command using CanLogin as canExecute
    private void Login()
    {
        LoggingIn = true;
        _userManager.Login(UserName, Password);
    }

    private bool CanLogin() => !LoggingIn && UserName is { Length: > 0 } && Password is { Length: > 0 };
}

Additional context
Obviously this is inspired by https://github.com/CommunityToolkit/dotnet/tree/main/src/CommunityToolkit.Mvvm.SourceGenerators

You can find out how to use the Source Generators here:
https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html

Closing this as the requested feature already exists


Output of GenSLMs

I’m using the scripts provided above to extract the output embedding of GenSLMs. The paper said “GenSLMs take nucleotide sequences of SARS-CoV-2 genomes as input and build LLMs that learn a semantic embedding of individual codons, which can then be translated to the 29 individual protein sequences that are encoded by the virus”. Hence, the outputs are the probabilities of amino acids, aren't they? However, the output shape doesn't match the input nucleotide sequences. If we want to study the specific output possibilities for each amino acid in a protein sequence, then we can't take the average value.

What can I do to extract the embedding output shown in the paper?  Or can you explain in more detail what this output actually is?Thanks for your help!

Hi, you are correct in that the hidden states do not have the dimensionality to reconstruct the probabilities of the nucleotides. To reconstruct the probabilities of the nucleotides you will have to look at the outputs.logits as this is the output of the language modeling head of the model. You can find more information on the outputs class here The embeddings (coming from the hidden states of the model) are merely an information dense representation of the sequence, but cannot be directly used to decode the codon.
When encoding the nucleotide sequence of the SARS-CoV-2 genome, we input the nucleotide sequence and they are split into 3-mers. This is not an amino acid representation ($4^3=64$ possible tokens), and is only the codon representation if the input is fed in such that all proteins are in phase by the 3-mer tokenization.


where to find training outputs?

Can't find any useful output of TensorFlowOnSpark/examples/mnist/tf/mnist_dist.py.
e.g.  156/157
if (step % 100 == 0):
print("{} step: {} accuracy: {}".format(datetime.now().isoformat(), step, sess.run(accuracy)))
Spark Submit Command Line:
${SPARK_HOME}/bin/spark-submit
--master yarn
--deploy-mode cluster
--queue default
--num-executors 2
--executor-memory 4g
--py-files TensorFlowOnSpark/tfspark.zip,TensorFlowOnSpark/examples/mnist/tf/mnist_dist.py
--conf spark.dynamicAllocation.enabled=false
--conf spark.yarn.maxAppAttempts=1
--conf spark.yarn.executor.memoryOverhead=1g
--archives hdfs:///user/${USER}/Python.zip#Python
--conf spark.executorEnv.LD_LIBRARY_PATH=$LIB_JVM:$LIB_HDFS
TensorFlowOnSpark/examples/mnist/tf/mnist_spark.py
--images_labels mnist/tfr/train
--format tfr
--mode train
--model mnist_model

@leewyang

@canocgithub these print statements are actually being sent to the logs of each of the participating Spark executors.  So, you can either view the Spark logs (Executors tab -> stderr link per executor) while the job is running, or you can grab the yarn logs after the job is completed via: yarn logs -applicationId <your_appId>

@canocgithub Did the problem get resolved?


Add variant for radios with a textarea

What is the context of this PR?
Fixes #3128
This PR adds a new variant and example of radios with text area.
How to review this PR
Spin up locally and check that the new example looks and works as expected, similar to the radio with input one
Checklist
This needs to be completed by the person raising the PR.

[x] I have selected the correct Assignee
[x] I have linked the correct Issue

We also need to update the macro.md file with this new variant and link to the textarea docs for reference.

updated


Instructions for installing Pylibxc are missing steps

Could this be improved?
Or rather remove the need for pylibxc entirely?

Addressed in #13


Simple JSON clean up of Monsters

Overview
Any more JSON cleanup I'm going to do is going to be easier without these polluting it.

Curious if you are doing this by hand or if you are using some scripts to process this into a better format.

I'm using Prettify JSON within VS Code.

Ah, so not a script to reformat the structure (vs by hand adjustments to all 300-ish monster entries).

Yeah. Doing by hand adjustments is not a fun time if I can avoid it. But it is what I had to do with adding all of the attack info for monster abilities.


Which versions of kernel/python packages behave best with targetcli-fb and on which platform?

Hi there,
I have recently installed targetcli-fb using the manjaro arch.
That kernel was possibly 3.18 and it was ok.
Then I did an update to kernel41 and it seemed be ok.
Another week ago, I did an update to kernel 42/kernel 43 and targetcli wasn't working anymore.
Rolling back is tricky, it involves individual package management which quickly becomes time consuming.
Oddly enough the same behaviour occurred using fedora23beta using targetcli packages from fedora repos.  Again Rolling back is time-consuming for Fedora23.
Even more odd is last week Debian Sid packages listed targetcli as part of their repo.  I installed that and then this past monday when I updated, some python packages along with the kernel were affected and targetcli wasn't working anymore.  Again rolling back is time-consuming for Debian.
From what I experienced, both targetcli/targetcli-fb seem to be fragile and vulnerable to python/kernel updates.
So here is my question:  which Linux kernel version and python packages versions produce expected well-behaving targetcli?
How can I prevent targetcli from breaking from:
apt-get update
pacman -Syu
dnf update
?
What's the preferred Linux distro for targetcli-fb?  It seems arch(manjaro) has it in their repos, but Debian Sid and Fedora 23 beta provide targetcli(non-fb), but not currently well-behaving for me.
Thank you for listening

Fedora uses -fb - the package is called just 'targetcli' but the version indicates it is based on targetcli-fb. I work for Red Hat so Fedora is where most of the -fb development happens, actually.
BTW targetcli is just the configuration tool for the in-kernel target code, 'LIO'. If you can configure the target ok but things don't work, blame the kernel not targetcli :smile:
There is a reported issue with LIO in Linux kernel 4.2.x, will be fixed in 4.3, so all distros using this kernel will have the same issue. I don't know if 4.2.x will get the fix so I'd recommend 4.1 until 4.3 comes out.
w.r.t Python, targetcli-fb should work on both Python 2 or 3, and should not be affected by minor version updates. If you do see this, please definitely open an issue.


Integration with Torch-MLIR

We've been chatting about StableHLO in the #torch-mlir channel on LLVM's discord, and @silvasean recommended to migrate Torch-MLIR from MHLO to StableHLO. Sean has kindly offered to provide pointers, and I'm planning to take him up on his offer in the near future! 🚀

Implemented in https://github.com/llvm/torch-mlir/pull/1840. @ashay Thank you so much for your contribution!!

Thanks, it was easier than I thought, because of the near 1:1 correspondence between MHLO and StableHlo operators!


Refactor - Link.js -  {...props} to {...rest}

rename ...props on Link.js to ...rest - same naming convention used on NavLink.js. renaming for consistency.
also refactored   proptypes.

Thanks!


Set up test once in static @BeforeClass

Setting up the test resources once decreases the run time of this test from ~800ms to ~50ms on Intellij.

PTAL

Codecov Report

Merging #2339 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #2339   +/-   ##
========================================
  Coverage      86.7%   86.7%
  Complexity     5200    5200
========================================
  Files           454     454
  Lines         20660   20660
  Branches       2237    2237
========================================
  Hits          17913   17913
  Misses         1963    1963
  Partials        784     784

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 c7369da...e2b8704. Read the comment docs.


Libcamera-apps not available for Ubuntu 22.04

After install Ubuntu 22.04 onto my raspberry pi, you are not able to download libcamera-apps or libcamera-apps-lite.
Is someone actively working on making these available using: "sudo apt install libcamera-apps"?

You will have to speak with the Ubuntu support teams about this.  We do not maintain their distribution.


Can you provide the preprocessed data sets of SegPC-2021 and 2018 Data Science Bowl?

Hello, author. Congratulations on such a good result. I am very interested in your paper. However, in the process of reproducing the results, I found that the number of data sets I downloaded from SegPC-2021 and 2018 Data Science bowl is different from that given in your paper. So I want to ask you for a preprocessed SegPC-2021 and 2018 Data Science bowl data set in the paper. E-mail<EMAIL_ADDRESS>I would appreciate it.

Thanks for your attention to our work. You can download the data from this link: [https://t.wss.ink/f/c1wmqlhxhfn](within 24h)

Thank you very much for your reply, but I found that segpc-2021 in the link has only 449 folders, and the total number of files mentioned in the paper is 498, test is 49, and train and valid are 449. Is there any omission? Can we add a qq or vx exchange? I would be very grateful, QQ:<PHONE_NUMBER>.


Filter out members items in bank

Is your feature request related to a problem? Please describe.
When you've been member for a while you have most likely acquired quite a lot of members items in your bank. My bank is very messy so when my membership runs out and I forget to keep a cash stack for bond, It can be quite tedious to find valuable f2p items in my bank that I can sell in order to get cash for a bond.
Describe the solution you'd like
I would like a way to filter out the members items in the bank so that I can with ease seek out the f2p valuables in my bank.

I would love this. If nobody else is willing to do it I can try my hand at doing so. It should be easy enough even though I'm not familiar with the API

Damn would this be useful for me right now. Ah well...

Bump! This plugin would be super useful for people who's membership has run out and they want to find stuff in their bank to sell for some bond gp.


fix: set same data for request body and query for all requests

Noticed an issue when trying to test https://github.com/supportpal/api-client-php/pull/107 that the query and body data on the request could be different if a value was overwritten. As there should no cases where we need to send different data for these two options, it's best to make it consistent and ensure the same data is sent for both.

I don't see this as a problem within this library. If you don't need to send defaultBodyContent then don't call setDefaultBodyContent.

I don't see this as a problem within this library. If you don't need to send defaultBodyContent then don't call setDefaultBodyContent.


Support the new Face blendshapes graph

This is 2 weeks newer than 0.91 1st Feb 2023 releaes
Add mediapipe tasks face blendshapes graph

Hi, what would your usage of face blendshapes graph look like? If I understand it correctly the graph would be applied on top of existing face mesh graph by connecting predicted landmarks to it as input.  If that is the case we will need additional functionality that will add new calculator nodes to initialized graph config on the plugin side.

@j20001970
This is the use case: ARKit 52 blendshapes
This is missing in Godot, the ability to take the webcam and perform face motion capture and drive an avatar e.g. created using industry standards based on 52 blendshapes
This will allow Godot users to be the game engine that supports users e.g. using Android or Web to drive avatars.
Currently, only iPhone with a depth camera can drive the industry standards avatar with 52 blendshapes

@j20001970
Thx for updating the mediapipe :-)

@j20001970
Thx for updating the mediapipe :-)

No problem :)

[Feature Request] face_blendshapes.tflite

@j20001970
@you-win
See the mediapipe blendshapes in action


Cosmos SDK giving out of gas error when trying to unstake

Overview
Unstaking from Xosmos SDK is saying transaction successful but its failing on chain with error : out of gas
References and additional details

https://www.mintscan.io/cosmos/tx/8D20AFB5E34AB199519EBD0259BA5EFA315D87B2C4EFC09A17EC7D212438E8EC
https://jam.dev/c/97213b8f-7546-4e00-a292-7ff5dd07ca9e
Acceptance Criteria
Should be able to unstake from Cosmos SDK
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

I have one user who is still struggling to interact with ATOM balances they have attempted to withdraw from staking positions.
User has performed unstaking actions with 2 different wallets, both are showing no balances available to be unstaked any longer and the staked positions seem to have disappeared.
Wallet 1:
Unstake TXID: https://www.mintscan.io/cosmos/tx/04A158D98E7A1582264ACB171BCDC99CBB421D67A6CD90A23CEB254F836F8ED1
Users staked balance shows up as a calculation in the DeFi balance yet the position is not detected:

Users TX history identifies the transaction as an undelegate:

No balance of ATOM in current position identified in Defi page:

Balance and underlying assets identified in staking modal:

Balance no longer identified when attempting withdraw modal:

Balance displayed as both 0 and ~2 Atom:

Undelegate transaction shown in TX history, not balance:

Wallet #2:
Unstake TXID: https://www.mintscan.io/cosmos/tx/BE285FF6BB4595D727C34C4AAE58F0DE7D9E1314BFD2CA485A2CF6959800A9CB
Users staked balance shows up as a calculation in the DeFi balance yet the position is not detected:

TX history shows undelegate, ATOM balance does not recognize balance change:

Position appears no longer active in Defi page, balance still shows in Defi total balance:

Balance and underlying assets identified in staking modal:

Balance discrepancies in withdraw modal:

Undelegated transaction shows up in TX history, not in asset balance:

User has performed many clear caches with no change in balance display or ability to engage with their staked (or are they unstaked now?) positions.
If there is more information that would be helpful to be gathered from the user, please let me know and I can request more information.

Adding notes from conversation with Tyler -
from what I can tell the user has undelegated but has not waited the needed 21 days to claim back their balances.  So this might be a case of needing better UX to show a user this state and how much longer they will need to wait to claim back their delegated balances.

It looks like we have a section for this, but isn't showing up, so this may be the actual bug

since this is unrelated to the original ticket, I am gonna open a new one to address the missing pending undelegations.

https://github.com/shapeshift/web/issues/7608 <- closing in favor of this guy


Adjust tasklist HTML

When converting Markdown to HTML, I would like to adjust the resulting HTML so that the <input type="checkbox"> is not disabled. Is it possible to plug into showdown.subParser('makehtml.lists', ...) in any way to accomplish this?

Great! So to create an output extension, I just do something like this?
var taskListEnablerExtension = function () {
  return [{
    type: 'output',
    regex: /disabled="disabled"/g,
    replace: ''
  }];
}

var converter = new showdown.Converter({ extensions: ['taskListEnablerExtension'] });

Yes. I would probably add more context to the regex, just to make sure only tasklists are affected. Something like
regex: /<input type="checkbox" disabled(?:="disabled")?/,
replace: '<input type="checkbox"'

@asbjornu Did you manage to work this out?

@tivie, no, I've not gotten this to work yet. I've inspected the resulting HTML and it looks like this:

<input type="checkbox" disabled="" style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;" checked=""> Checked

The following extension does not seem to match anything:
var taskListEnablerExtension = function() {
    return [{
        type: 'output',
        regex: /<input type="checkbox" disabled=""/,
        replace: '<input type="checkbox"'
    }];
};

var converter = new showdown.Converter({
    tasklists: true,
    smoothLivePreview: true,
    extensions: [taskListEnablerExtension]
});

It's hard to debug this since the extension is not invoked with any event argument or anything else I can inspect. Ideas?

You can check a working fiddle here: https://jsfiddle.net/e5af9kdr/1/
var taskListEnablerExtension = function() {
    return [{
        type: 'output',
        regex: /<input type="checkbox" disabled(="")?/g,
        replace: '<input type="checkbox"'
    }];
};

var converter = new showdown.Converter({
    tasklists: true,
    smoothLivePreview: true,
    extensions: [taskListEnablerExtension]
});

Donate
As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money.
If you like our work and find our library useful, please donate through Patreon or directly through paypal!! Your contribution will be greatly appreciated and help us continue to develop this awesome library.

Yep, that did the trick. Thanks!


Unity Pomelo broadcast message is not received sometimes.

Hi,
We are using Pomelo for networking in our game. Unity Client is registered for some broadcast events, in very rare cases broadcast messages are not received by the unity client. But the messages are broadcasted from the server.
I have tried putting logs in SocketMessage method of PomeloClient but no logs were printed. If anyone has any clue or suggestions about the problem, then please reply.
Thanks

Hi,
I have a same problem . i used pomelo pushMessageByUid for sending messages to unity client but messages does not reach to unity in  many cases . i asked my question hear :
http://stackoverflow.com/questions/28194361/pomelo-cant-pushmessage-to-unity3d-when-the-number-of-requests-are-high
but i had no answer !  . I spent one month for learning pomelo But now i think i wast my time .. .

There are many issues with this client .. I replaced websocket4net with websocket4sharp and most of the issues were gone. Including this one.


Please add hints for what Grove connectors to use for demos

one has to read the code to find the following

Out_of_the_box demo uses an SSD1306 Oled on Grove 4 (GPIO 6,7), it also need I2C to be set True
example code circuit python/Analogin-oled uses a SSD1306 on Grove 1 (GPIO 0,1)

Thanks for your feedback. We added the OLED pin connections hints in the code.


Touchstart event is not propagated

in touch.js, touchstart event is always propagated.  Can we do something about it.
We need touchstart event to be propagated in order to scroll outside since we have in house scrolling solution on mobile instead of native scrolling.
https://github.com/noraesae/perfect-scrollbar/blob/master/src/js/plugin/handler/touch.js#L89
And also, what is the inGlobalTouch trying to prevent? Isn't inLocalTouch good enough for telling if the scroll is inside the dom or not?

Hello,
There's currently no way to make a touchstart event propagate to the parent. It is to prevent the parent div scrolling at the same time when the PS container is scrolling. I'm not sure if there is a workaround to force-propagate the touchstartevent only when we need to do.
For inGlobalTouch, I'm also not sure as the implementation was quite old, but my guess is that it's to tell a scrolling from multi-touch gesture. For example, a user can pinch the page while putting thumb outside of the container and a finger inside the container.
I'm sorry for the inconvenience. I welcome any contribution to make it better :smiley:

Hi,
Thanks for the quick reply. I think we should be able to prevent the parent div scrolling by prevent touchMove event already. The code is pretty much in place. https://github.com/noraesae/perfect-scrollbar/blob/master/src/js/plugin/handler/touch.js#L113
It will prevent parent scrolling if the inside ps container is still in the middle of scrolling(not hitting the boundary yet).
However, in order to totally remove the stopPropagation in touchStart handler, we need to get rid of the document touchstart handler, since it will cause cause inGlobalTouch to be true and cause touchMove handler to be never executed even if it inside the local touch.
I understand getting rid of the document touchstart/end handler will cause unnecessary calls for multi-touch gesture. But I think it is worth it compare to not having touchStart event.  I am going to have a PR for this soon.
Thanks again for your comments.

Now scroll propagation is supported in mobile too with the swipePropagation option. Thank you very much for your report.


Add support for underlining selected item

Tested and works with or without #define. No BC breaks since we're checking #ifdef.
Helps my eye strain a lot with this tool!
Will fix #87

Thanks! I might consider something like this for a default too.


Forcing value for specific humidity being set to what appears to be a precipitation variable.

This happens in both aorc.c line 33 and in pet.c line 49

@hellkite500 & @SnowHydrology Thats is my mistake. This stuff isn't used. I just copied it from https://github.com/NOAA-OWP/ngen/tree/master/models/kernels/evapotranspiration and made it work for BMI. Just must have made a copy/paste error.


Update list of clang-tidy checks

I don't think it makes sense to make the list exclude what we don't want instead of including what we want, it would break with any newly added check we don't want, please elaborate on why this would be useful

what new checks are  added and how do they break by adding this change?
It is useful to show any and all checks that currently need to be ignored to have the code pass. This approach makes it much easier to improve static analysis going forward, simply by deleting checks to be removed.

By updating our version of clang-tidy
But the question still stands:
Why not just explicitly list the checks we want, there aren't that many checks that it's impossible to list the ones we want, and listing them explicitly helps knowing what we do want to check
Clarity is always good, so other than some form of convenience, what is the benefit of including everything and then excluding some?
Compared to the negatives:

Updating to a new version requires checking what new checks have been added and if we need to exclude them
Makes you have to go look at the list of checks online to know what are run

fair point. closing the pr


[Feature Request]: Sign up page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
As I have observed there's no sign up page. I'd like to design the sign up page for it to look modern and techy using html and css.
Use Case
A sign-up page facilitates user registration, enabling access to services while collecting valuable data for personalization and marketing. It enhances security by controlling user access, fosters community engagement, and improves user experience through tailored content. Overall, it’s essential for converting visitors into active participants on a platform.
Benefits
Sign up page is necessary for the new users to register. Also registered users can provide feedback and receive support, contributing to the platform’s improvement.
@mansiruhil13
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

sign up page already there, can you elaborate what's you feature request, i don't understand?

please assign this issue to me as i have worked on this before

Hello mansiruhil,
This is Tanya,
There's no sign up page. Please let me contribute.
On Fri, Oct 4, 2024 at 6:39 PM Mansi Ruhil @.***> wrote:

sign up page already there, can you elaborate what's you feature request,
i don't understand?
—
Reply to this email directly, view it on GitHub
https://github.com/mansiruhil13/Bobble-AI/issues/105#issuecomment-2393672132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDVEWRHVNNKOCZT2LAYJ7PTZZ2HQJAVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGY3TEMJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello mansiruhil, This is Tanya, There's no sign up page. Please let me contribute.
…
On Fri, Oct 4, 2024 at 6:39 PM Mansi Ruhil @.> wrote: sign up page already there, can you elaborate what's you feature request, i don't understand? — Reply to this email directly, view it on GitHub <#105 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVEWRHVNNKOCZT2LAYJ7PTZZ2HQJAVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGY3TEMJTGI . You are receiving this because you authored the thread.Message ID: @.>

actually its' assigned, you can make pr, if its ui looks good then i will merge.

I have sent the pull request you can see the changes, do accept it.
Thank you so much!
Regards,
Tanya
On Sat, Oct 5, 2024, 7:15 PM Mansi Ruhil @.***> wrote:

Reopened #105 https://github.com/mansiruhil13/Bobble-AI/issues/105.
—
Reply to this email directly, view it on GitHub
https://github.com/mansiruhil13/Bobble-AI/issues/105#event-14527982511,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDVEWRALNKJ4AIOGNTAFNN3ZZ7UQ5AVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDOOJYGI2TCMI
.
You are receiving this because you were assigned.Message ID:
@.***>

I have sent the pull request you can see the changes, do accept it. Thank you so much! Regards, Tanya
…
On Sat, Oct 5, 2024, 7:15 PM Mansi Ruhil @.> wrote: Reopened #105 <#105>. — Reply to this email directly, view it on GitHub <#105 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVEWRALNKJ4AIOGNTAFNN3ZZ7UQ5AVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDOOJYGI2TCMI . You are receiving this because you were assigned.Message ID: @.>

can you share screenshot? before merged

here it is!
On Sat, Oct 5, 2024 at 7:51 PM Mansi Ruhil @.***> wrote:

I have sent the pull request you can see the changes, do accept it. Thank
you so much! Regards, Tanya
… <#m_2149207158198031454_>
On Sat, Oct 5, 2024, 7:15 PM Mansi Ruhil @.> wrote: Reopened #105
https://github.com/mansiruhil13/Bobble-AI/issues/105 <#105
https://github.com/mansiruhil13/Bobble-AI/issues/105>. — Reply to this
email directly, view it on GitHub <#105 (comment)
https://github.com/mansiruhil13/Bobble-AI/issues/105#event-14527982511>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDVEWRALNKJ4AIOGNTAFNN3ZZ7UQ5AVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDOOJYGI2TCMI
https://github.com/notifications/unsubscribe-auth/BDVEWRALNKJ4AIOGNTAFNN3ZZ7UQ5AVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDOOJYGI2TCMI
. You are receiving this because you were assigned.Message ID: @.>
can you share screenshot? before merged
—
Reply to this email directly, view it on GitHub
https://github.com/mansiruhil13/Bobble-AI/issues/105#issuecomment-2395074706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDVEWRH2W5LJPX3SYYWL6IDZZ7YXJAVCNFSM6AAAAABPLBSTNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGA3TINZQGY
.
You are receiving this because you were assigned.Message ID:
@.***>

not visible

i think ui can be far better?


Added Support for Dune in Esy Context

This PR enables dune to run within esy sandbox environments. Currently, the plugin fails to find the dune executable as it looks for it installed within the global ocaml install.
Esy stores all executables (including dune) within a sandbox environment (~/.esy). This sandbox environment is available via a set of environment variables set by the esy executable. These variables can be found with either esy env or esy print-env.
If esy is configured, these environment variables are now added to the process that calls dune.

Awesome work !  Thank you.


fix: Take into account vpc_security_group_ids

:bangbang: PLEASE READ THIS FIRST :bangbang:
The direction for EKS Blueprints will soon shift from providing an all-encompassing, monolithic "framework" and instead focus more on how users can organize a set of modular components to create the desired solution on Amazon EKS. We have updated the examples to show how we use the https://github.com/terraform-aws-modules/terraform-aws-eks for EKS cluster and node group creation. We will not be accepting any PRs that apply to EKS cluster or node group creation process. Any such PR may be closed by the maintainers.
We are hitting also the pause button on new add-on creations at this time until a future roadmap for add-ons is finalized. Please do not submit new add-on PRs. Any such PR may be closed by the maintainers.
Please track progress, learn what's new and how the migration path would look like to upgrade your current Terraform deployments. We welcome the EKS Blueprints community to continue the discussion in issue https://github.com/aws-ia/terraform-aws-eks-blueprints/issues/1421
What does this PR do?
Merges managed_node_group['vpc_security_group_ids'] with the cluster-defined worker_security_group_ids to allow adding security groups to one managed node group only.

Motivation

Resolves #1452

More

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Thank you but please see #1421 - we will be removing support for creation of cluster resources soon


Is landing page customizeable?

I use docker. I want to customize the landing.go but I don't know how can I do?

The landing page is not customizable. imgproxy development is what we do for a living, yet we keep the open-source version free. And we believe that keeping that tiny landing page is a way to pay respect to our work and help imgproxy.


Custom installation location on Windows

Add Win custom installation location

close343

Thank you very much. The PR will be included in next release.


Unsupported terms removal

Adds

remove_unsupported_subjects() method that deletes subject tags (6xx) which are not supported by BookOps CAT
mypy and basic type checking

Changes

pytest bumped to 7.1.1
pytest-cov bumped to 3.0.0

completes issue #2


ctx.data_opt None on retry

Hi, I'm trying to implement retries on recoverable task errors, but after a task error calling the main task function for the second time gives an empty ctx.data_opt Extension. My task function has the signature:
pub async fn handle_task(request: Request, ctx: JobContext) -> Result<JobState, TaskError>

I'm returning Err(taskerror) on recoverable errors, and Ok(jobstate) on completed/unrecoverable errors.

Ah got it, the layers need to be added within the ServiceBuilder rather than the WorkerBuilder.


[Question] The purpose that modify startup parameters --kubelet-preferred-address-types=Hostname,InternalIP,ExternalIP

What happened:
According https://openyurt.io/docs/installation/openyurt-prepare/#3-kube-apiserver-adjustment
To make sure kube-apiserver on the master node use hostname:port to access kubelet, and at the same time this hostname resolution request should be handled by yurt-tunnel-dns pod. We should apply some adjustments to kube-apiserver configurations.

We assume your kube-apiserver is installed through static pod(/etc/kubernetes/manifests/kube-apiserver.yaml)

modifiy dnsPolicy="None"
add dnsConfig configurations which set the nameservers as the clusterIP of yurt-tunnel-dns service (assumed to be <IP_ADDRESS> here)
modify startup parameters --kubelet-preferred-address-types=Hostname,InternalIP,ExternalIP, to make sure that Kube-apiserver prefers to use Hostname to access kubelet

that this guide modify the startup paramters --kubelet-preferred-address-types=Hostname,InternalIP,ExternalIP, seems that OpenYurt uses hostname to resolve Node IP to see if the communication is via tunneling or not.
But this should be able to fallback to use Internal IP registered as cluster node, Do we need to reorder -kubelet-preferred-address-types=Hostname,InternalIP,ExternalIP, I am not very sure about this. since on the ubuntu distribution on the /etc/hosts. it may include <IP_ADDRESS> Hostnamexxx like, then when we to modify the startup paramter --kubelet-preferred-address-types=Hostname on the first position, it will cause the tunnel dns using that IP of <IP_ADDRESS> and tunnel cannot be established .
What you expected to happen:
Could you explain if we should reorder  -kubelet-preferred-address-types=Hostname,InternalIP,ExternalIP as Must?
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

OpenYurt version:
Kubernetes version (use kubectl version):
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

others
/kind question

In my mind, it's not the hard requirement, since yurt-tunnel also supports IP mode, which using node ip to establish the tunnel between cloud and edge and do not need to modify the parameter of kube-apiserver.
However, it has a main drawback of this way that it cannot solve the node ip conflict. Because we may have nodes behind multiple NATs, which may have overlapped subnet IPs. Tunnel-Server cannot distinguish node IPs across these subnets. To overcome such problem, we recommend using dns mode because the node name is unique among the cluster.

@FengGaoCSC we are merging yurt-tunnel into raven project, and this work will take community some time.
The progress you can look the link here: https://github.com/orgs/openyurtio/projects/9

However, it has a main drawback of this way that it cannot solve the node ip conflict. Because we may have nodes behind multiple NATs, which may have overlapped subnet IPs. Tunnel-Server cannot distinguish node IPs across these subnets. To overcome such problem, we recommend using dns mode because the node name is unique among the cluster.

makes sense :+1:

@FengGaoCSC we are merging yurt-tunnel into raven project, and this work will take community some time.
The progress you can look the link here: https://github.com/orgs/openyurtio/projects/9

Got it and thanks

@FengGaoCSC i think the question has been answered? if that is so, probably we can close this one?

Answered. Close this issue.


Localization: Spanish and British

Its armour not armor and spade not shovel :P
Also tweaked some british stuff.
I can work on spanish if you like.

You can


chore(master): release 0.3.1

:robot: I have created a release beep boop
0.3.1 (2023-04-14)
Bug Fixes

fix deployment (184e446)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/indykite/indykite-sdk-node/releases/tag/v0.3.1 :sunflower:


Integrations Don't Migrate

Hey,
When migrating, integrations for applications are currently wiped out.

Sorry about that, the above commit fixes this.

Thanks so much! :D


[3.2.0] The report-uri directive has been deprecated

Hello,
I was conducting DAST tests, which returned me the following message: "The report-uri directive has been deprecated in favor of the new report-to directive."
Do you have plans to introduce support for the "report-to" directive? Because currently, I don't see such a parameter for configuration.

No plans, but PRs welcome, as resources to maintain this bundle are very limited.

Is there interest from the bundle maintainers to also support the Reporting API Reporting-Endpoints header? While not technically a security header, it is supported for reporting by a number of other security headers (CSP,  COOP, COEP, Document Policy, ...).  The header is just a list of named endpoints.


Connection issue

Thank you for your addon, it will make life a lot easier for all Inels users.
I'm having trouble connecting. I don't understand what I'm doing wrong.
My Inels system is built in the classic way - Devices - Inels Bus - Connection Server.
When I enter data for Connection Server I've got  an error "Unexpected error".
As IP I entered just numbers, as port - 8001, as name is arbitrary. On this IP responds web interface of Connection Server on port 8080.
Log attached.
Configuration file in the inels folder is not found.
Logger: custom_components.inels.config_flow
Source: custom_components/inels/config_flow.py:49
Integration: Inels (documentation)
First occurred: 20:15:41 (1 occurrences)
Last logged: 20:15:41
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/inels/config_flow.py", line 75, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/inels/config_flow.py", line 49, in validate_input
ping = await hass.async_add_executor_job(api.ping)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyinels/api/init.py", line 79, in ping
return self.proxy.ping()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1122, in call
return self.__send(self.__name, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1464, in __request
response = self.__transport.request(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1166, in request
return self.single_request(host, handler, request_body, verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1178, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1291, in send_request
self.send_content(connection, request_body)
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1321, in send_content
connection.endheaders(request_body)
File "/usr/local/lib/python3.11/http/client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1041, in _send_output
self.send(msg)
File "/usr/local/lib/python3.11/http/client.py", line 979, in send
self.connect()
File "/usr/local/lib/python3.11/http/client.py", line 945, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 851, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.11/socket.py", line 836, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
========================================================
Logger: custom_components.inels.config_flow
Source: custom_components/inels/config_flow.py:49
Integration: Inels (documentation)
First occurred: 16:13:36 (3 occurrences)
Last logged: 20:16:03
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pyinels/api/init.py", line 69, in __conn
con = ServerProxy(self.__host + ":" + str(self.__port))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/xmlrpc/client.py", line 1432, in init
raise OSError("unsupported XML-RPC protocol")
OSError: unsupported XML-RPC protocol
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/inels/config_flow.py", line 75, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/inels/config_flow.py", line 49, in validate_input
ping = await hass.async_add_executor_job(api.ping)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyinels/api/init.py", line 79, in ping
return self.proxy.ping()
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyinels/api/init.py", line 51, in proxy
self.__proxy = self.__conn()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyinels/api/init.py", line 74, in __conn
raise ApiException(
pyinels.exception.ApiException: ('common_exception', 'Exception occur', OSError('unsupported XML-RPC protocol'))

Hi there,
use http://IP_ADDRESS instead of IP address only.
Kind regards
J.H.

Thank you a lot

It's not very well explained.
In the future, I'll add some explanation for each input for better clarification.
Closing this issue


Don't push down IsNotNull for null_equals_null case

Which issue does this PR close?

Closes (https://github.com/apache/datafusion/issues/12403)
Rationale for this change
Bug fix

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thank you @alamb for the quick review


Change from temporary text file to direct stdin pipe

This changes the bash file hack to stdin piping, eliminating possible security problems regarding untrusted input in email addresses.
Also allows for multiple recipients & removes the accidentally? commited email.txt
I'm not satisfied with the current address parameter, lack of tests & docs but it's a starting point.
[ I Spent 3 hours trying to get the same results allowing T := Deref<Vec>, U := Ref ]
Closes #1

Reviewing changes.

Currently missing is a parsing for stdout but tbh the current solution is still not perfect. I've had a bigger talk on IRC with folks from rust about having to read stdout & stderr in a different thread than stdin writing, as otherwise those streams are blocked. Out of my own experience I know that the current approach for gathering stderr is working although not perfect.

Ah thanks.
I'm sorry I've initially just reworked too much that came into my sight, which caused this little mess.


docs: Improve ignore/exclude examples

Provide more robust regexps for ignore/exclude examples
Drop stray backticks from LINTER_RULES_PATH example

Readiness checklist

In order to have this pull request merged, complete the following tasks.
Pull request author tasks

[ ] I checked that all workflows return a success.
[x] I included all the needed documentation for this change.
[ ] I provided the necessary tests.
[x] I squashed all the commits into a single commit.
[x] I followed the Conventional Commit v1.0.0 spec.
[ ] I wrote the necessary upgrade instructions in the upgrade guide.
[ ] If this pull request is about and existing issue,
I added the Fix #ISSUE_NUMBER or Close #ISSUE_NUMBER text to the description of the pull request.

Super-linter maintainer tasks

[x] Label as breaking if this change breaks compatibility with the previous released version.
[x] Label as either: automation, bug, documentation, enhancement, infrastructure.
[x] Add the pull request to a milestone, eventually creating one, that matches
with the version that release-please proposes in the preview-release-notes CI job.

Thanks for this PR!


Issue#226: Prepare BertTokenizer implementation for versioning

Issue#226: Prepare BertTokenizer implementation for versioning

Moved a few variables from Kernel implementation to BertTokenizer so
each version of the Kernel doesn't have to deal with them.
Other decorative and code standardization changes.

@shaahji  what's the feature change on this PR, or is it just some code refactoring?

There were members in the Kernel which should have been in the core BertTokenizer class. A follow up PR https://github.com/microsoft/onnxruntime-extensions/pull/265 adds a new Kernel & CustomOp. Implementing the same logic again in this CustomOp would just be duplication.

The change is merged as part of #265


Fix scripting function Add RaF CD

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Fixes #73
This change updates the Add Routing and Faulting Custom Device scripting function to return an error if a RaF CD already exists.
Why should this Pull Request be merged?
Without this change, if you attempt to script the addition of a RaF CD, it will all sub-tree functions to pass without fail, but the new RaF parent node was never added.  It is far better to return an error.
To replace an existing RaF CD, you must first remove the current one.
What testing has been done?
Updated and ran the automated test.

[ ] Chain the error wire through each VI. Do not branch or unconditionally execute test code. We want to fail early and skip the remaining test if things have gone wrong.


Sharing permission components

This PR includes the components that are required for sharing permission page:

The status popup component that display the result of the action

*We don't have design for info and error, the color here could be changed when we using this component in future

Reusable table components that could display a list of participants, this table could check selected participants by default, and handle selected component change

Search components that could filter participant by name and type

https://github.com/IABTechLab/uid2-self-serve-portal/assets/116539741/a196b297-a25b-44b3-931d-6eec37b8a6bf

Curious: Do we expect to have more complex use-cases for the table ?
Table implementations can get quite complicated with additional features, so wondering how long our custom implementation can last us

@Kshitij-Banerjee Refers to the figma design, I can't find any other use cases for the table, I think the other usage for this table would be in the TAMs' approval list, but I don't think we will make it more complex


fix(NotificationItemNew): tracking fix & accessibility improvement

prevent both the action of opening link + tracking opening link, when the notification dismiss icon is pressed
make aria-label on notifications clearer

previously the whole Notification link content was being read via screen reader i.e. "Bell icon. {notification text} dismiss Icon" then when you tabbed again, it would say "dismiss icon" since that 'x' = another tabbable element.
fixes this bug: https://codecademy.atlassian.net/browse/EGG-912

Overview

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: EGG-888 & EGG-912
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.2.16-alpha.99b90d.0@codecademy/gamut-labs@11.2.4-alpha.99b90d.0@codecademy/gamut@26.3.1-alpha.99b90d.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-kit@0.2.18-alpha.2fe634.0@codecademy/gamut-labs@11.4.1-alpha.2fe634.0@codecademy/gamut@26.4.1-alpha.2fe634.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://605008fa802d5b0bbec9fd0f--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.2.18-alpha.b484ed.0@codecademy/gamut-labs@11.4.1-alpha.b484ed.0@codecademy/gamut@26.4.1-alpha.b484ed.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://605039f433eed3390076a2bb--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.2.19-alpha.26b33f.0@codecademy/gamut-labs@11.4.2-alpha.26b33f.0@codecademy/gamut@26.5.1-alpha.26b33f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6050b910688cf5c9153ffd60--gamut-preview.netlify.appDeploy Logs