HPE MSA 2060

Good day!
I am using HPE MSA 2060 disk storage which is claimed to be supported.
I took the HPE MSA 2060 API documentation here - https://www.intesiscon.com/ficheros/manuales-tecnicos/255-HPE-a00105313en-us-HPE-MSA-1060-2060-2062-CLI-Reference-Guide.pdf
Faced some problems while using this project.
1.https://github.com/enix/san-iscsi-csi/blob/main/pkg/controller/publisher.go#L43 does not match the HPE MSA 2060 API documentation. Here, instead of host-maps should bemaps(347 documentation page)
2. If you connect several PVs with one Helm deployment, then all volumes in the disk storage receive the same LUN number, which is unacceptable.
3. For some reason, the partition table and file system are not created in the slave PV.
4.https://github.com/enix/dothill-api-go/issues/12
Applications used:

Ubuntu 20.04
Kubernetes 1.21.4
Helm 3.3.4

PS: If you need additional information - indicate what you need to provide

Hi @vankosa.
Thank you for your feedback, we lack users on this project so we are quite happy to hear from you !
The project is supposed to support HPE MSA 2060, however we have a limited set of equipments in our lab, the nearest one being a HPE MSA 2050.
We are willing to adjust what would be missing for a 2060. However, we would need a temporary access in order to make sure that everything works as it should. We are open to discussion on this matter.
You list a bunch of points, @paullaffitte could you have a look if you have time ?
I am personally curious about :

point 2, please precise, we instantiate a lun id per (pv,host), what does exactly seems unacceptable from your point of view ?
point 3, in my mind we build a filesystem on the block device attached to the node, without any partitioning in the process, do you have some logs or example that would make us understand what is going on ?

@paullaffitte do not hesitate to correct me if I am wrong 😄
Cheers

Thanks for the answer!
About LUN:
LOG san-iscsi-csi-controller
I0916 19:32:44.962818       1 driver.go:112] === [ROUTINE START] /csi.v1.Controller/ControllerPublishVolume ===
I0916 19:32:44.962865       1 controller.go:243] using dothill API at address https://san.unim.internal
I0916 19:32:44.962879       1 controller.go:245] dothill client is already configured for this API, skipping login
I0916 19:32:44.962892       1 publisher.go:78] attach request for initiator iqn.2021-09.internal.unim.kube151:kube151, volume id: 46739183c65641638f94a24ddd32406b
I0916 19:32:44.962907       1 dothill.go:92] -> GET /show/maps/"46739183c65641638f94a24ddd32406b"
I0916 19:32:45.069501       1 dothill.go:122] <- [0 Success] Command completed successfully. (2021-09-16 22:31:41)
I0916 19:32:45.069531       1 publisher.go:128] listing all LUN mappings
I0916 19:32:45.069544       1 dothill.go:92] -> GET /show/initiators/"iqn.2021-09.internal.unim.kube151:kube151"
I0916 19:32:45.078753       1 dothill.go:122] <- [0 Success] Command completed successfully. (2021-09-16 22:31:41)
I0916 19:32:45.078795       1 publisher.go:94] using LUN 1
I0916 19:32:45.078804       1 publisher.go:164] trying to map volume 46739183c65641638f94a24ddd32406b for initiator iqn.2021-09.internal.unim.kube151:kube151 on LUN 1
I0916 19:32:45.078816       1 dothill.go:92] -> GET /map/volume/access/rw/lun/1/initiator/iqn.2021-09.internal.unim.kube151:kube151/"46739183c65641638f94a24ddd32406b"
I0916 19:32:45.124404       1 dothill.go:122] <- [-3177 Error] The specified LUN overlaps a previously defined LUN. (2021-09-16 22:31:41)
E0916 19:32:45.124574       1 driver.go:118] rpc error: code = Internal desc = Dothill API returned non-zero code -3177 (The specified LUN overlaps a previously defined LUN. (2021-09-16 22:31:41))
I0916 19:32:45.124607       1 driver.go:121] === [ROUTINE END] /csi.v1.Controller/ControllerPublishVolume ===

About the file system:
LOG san-iscsi-csi-node
I0916 17:48:51.388779       1 driver.go:112] === [ROUTINE START] /csi.v1.Node/NodePublishVolume ===
I0916 17:48:51.388809       1 node.go:139] publishing volume f109e50f1fcc4a82a135ebcecb72d996
I0916 17:48:51.388821       1 node.go:142] ISCSI portals: [<IP_ADDRESS> <IP_ADDRESS>]
I0916 17:48:51.388837       1 node.go:145] LUN: 1
I0916 17:48:51.388849       1 node.go:147] initiating ISCSI connection...
I0916 17:48:51.433235       1 node.go:164] attached device at /dev/mapper/3600c0ff000648a8d60ad436101000000
I0916 17:48:51.433269       1 node.go:167] device is using multipath
I0916 17:48:51.442143       1 node.go:380] Checking filesystem at /dev/mapper/3600c0ff000648a8d60ad436101000000
E0916 17:48:51.453558       1 driver.go:118] rpc error: code = DataLoss desc = filesystem seems to be corrupted: e2fsck 1.45.5 (07-Jan-2020)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/mapper/3600c0ff000648a8d60ad436101000000

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

I0916 17:48:51.453602       1 driver.go:121] === [ROUTINE END] /csi.v1.Node/NodePublishVolume ===

Hi @vankosa,
First, thanks for your valuable feedback, it's very much appreciated. I will try to answer your points one after the other.

Indeed, the documentation for your appliance seems to define the route /show/maps instead of /show/host-maps and /show/volume-maps. It should be possible to adapt the library to support different version of the API. Speaking about versions, could you please paste here version information about your appliance yielded by the show versions command in CLI ? You should be able to get versions as json by configuring your CLI first: set cli-parameters json.
Normally, we allocate one LUN per couple initiator/volume. So we can have 2 volumes with the same LUN mapped on 2 different initiators. Is your appliance supporting this or maybe it only allows a LUN to be allocated once for all ?
Is it the first NodePublishVolume call or a subsequent one ? If it's not the first one, it may be actually data corruption. We implemented some checks to prevent it, but it still happens sometimes.

show verison

{

"versions":[
  {
    "object-name":"controller-a-versions",
    "meta":"/meta/versions",
    "sc-cpu-type":"Broadwell 2200MHz",
    "bundle-version":"IN110R001",
    "bundle-status":"Valid",
    "bundle-status-numeric":0,
    "bundle-version-only":"IN110R001",
    "bundle-base-version":"I110",
    "build-date":"Fri Jun 11 19:19:49 UTC",
    "sc-fw":"INS110R01-01",
    "sc-baselevel":"INS110R01-01",
    "sc-memory":"N/A",
    "sc-fu-version":"1.50.33406",
    "sc-loader":"28.019",
    "capi-version":"3.21",
    "mc-fw":"IXM110R001-01",
    "mc-loader":"1.50.33406",
    "mc-base-fw":"IXM110R001-01",
    "fw-default-platform-brand":"HPE",
    "fw-default-platform-brand-numeric":15,
    "ec-fw":"5331",
    "pld-rev":"2.7",
    "pm-cpld-version":"Unknown",
    "prm-version":"N/A",
    "hw-rev":"5.0",
    "him-rev":"2",
    "him-model":"4",
    "backplane-type":7,
    "host-channel_revision":2,
    "disk-channel_revision":2,
    "mrc-version":"<IP_ADDRESS>",
    "ctk-version":"No CTK present",
    "mcos-version":"IPM110R001-01",
    "gem-version":"usm-rss_sbbsas_indium_msa_vikings-v5.3_lite-r2021.22.0_rc1_rel_"
  },
  {
    "object-name":"controller-b-versions",
    "meta":"/meta/versions",
    "sc-cpu-type":"Broadwell 2200MHz",
    "bundle-version":"IN110R001",
    "bundle-status":"Valid",
    "bundle-status-numeric":0,
    "bundle-version-only":"IN110R001",
    "bundle-base-version":"I110",
    "build-date":"Fri Jun 11 19:19:49 UTC",
    "sc-fw":"INS110R01-01",
    "sc-baselevel":"INS110R01-01",
    "sc-memory":"N/A",
    "sc-fu-version":"1.50.33406",
    "sc-loader":"28.019",
    "capi-version":"3.21",
    "mc-fw":"IXM110R001-01",
    "mc-loader":"1.50.33406",
    "mc-base-fw":"IXM110R001-01",
    "fw-default-platform-brand":"HPE",
    "fw-default-platform-brand-numeric":15,
    "ec-fw":"5331",
    "pld-rev":"2.7",
    "pm-cpld-version":"Unknown",
    "prm-version":"N/A",
    "hw-rev":"5.0",
    "him-rev":"2",
    "him-model":"4",
    "backplane-type":7,
    "host-channel_revision":2,
    "disk-channel_revision":2,
    "mrc-version":"<IP_ADDRESS>",
    "ctk-version":"No CTK present",
    "mcos-version":"IPM110R001-01",
    "gem-version":"usm-rss_sbbsas_indium_msa_vikings-v5.3_lite-r2021.22.0_rc1_rel_"
  }
],
"status":[
  {
    "object-name":"status",
    "meta":"/meta/status",
    "response-type":"Success",
    "response-type-numeric":0,
    "response":"Command completed successfully. (2021-09-17 13:17:29)",
    "return-code":0,
    "component-id":"",
    "time-stamp":"2021-09-17 13:17:29",
    "time-stamp-numeric":1631884649
  }
]
}

Yes, mapping with one LUN occurs to different initiators. But here the fact is that the same LUN is issued on volumes given to the same initiator
This is the first and all subsequent

Thanks, it will be very useful when trying to adapt the api client to support different versions.
I'm wondering if the issue is not coming from the differences around the /show/maps route. Indeed, to allocate a LUN, we first need to list mappings. Currently we use the /show/host-maps route (https://github.com/enix/dothill-api-go/blob/7c31773f039fcc9016577584b5b0bcc6b93ed430/endpoints.go#L95). Did you edit this part prior to your tests to make it compatible with your appliance ? If it's the case it may come from this part.
I would need more logs, currently I cannot really say what happened. Could you add the following lines in your values.yaml and try again with a new PVC please ?

node:
  extraArgs:
    - --v=9 # We don't really have 9 levels of verbosity, I just want to be sure we get all available logs.

PS : Actually it would be useful for the second point to also increase verbosity on the controller.

All my changes to dothill-api-go are documented in https://github.com/enix/dothill-api-go/issues/12.
Yes, I did change this url
Strange, but now the output is different, not related to the file system.
https://pastebin.com/ZbGrZSbH - node
https://pastebin.com/XifXgnAw - controller

From what I understand, I think the issue in LUN allocation comes from the driver.dothillClient.ShowHostMaps function in publisher.go#L129. If you did update this function, please check that after a first LUN being allocated, the next call to driver.dothillClient.ShowHostMaps returns one dothill.Volume with its LUN set to 1.
For the node issue, as you said it's not the same error message than the first time. To handle this one, please refer to the "multipath is inconsistent: devices WWIDs differ" part of our troubleshooting section. But I would be glad to know if you get the original error again with some more details.

There I only changed https://github.com/enix/san-iscsi-csi/blob/main/pkg/controller/publisher.go#L43
I cleared all the changes, followed the recommendations and again got the log that I needed
https://pastebin.com/vGVNEiSi

I could be wrong, but I suspect you're storageclass to be missing the property parameters.fsType. Which should be set to ext3 or ext4. Indeed, according to the following snippet, the filesystem is created on the device only if the current filesystem is not the targeted one and that the device don't have a filesystem yet.
https://github.com/enix/san-iscsi-csi/blob/e5d2cfb55469da72d8829d8bf0674c88988af5a8/pkg/node/node.go#L446-L457
If the property in the storageclass is not set, the target filesystem will be "", which is the same as no filesystem. Thus, the device will never be formatted, leading to "filesystem corruption" error, since there is actually no healthy filesystem present on the device.
If your storage class has the property parameters.fsType, I would like to be sure that its value is correctly brought until this point, so you could replace klog.V(1).Infof("Detected filesystem: %q", currentFsType) by klog.V(1).Infof("Detected filesystem: %q, current filesystem: %q", currentFsType, fsType) and check that the value in fsType is the same as parameters.fsType in your storageclass.

I could be wrong, but I suspect you're storageclass to be missing the property parameters.fsType. Which should be set to ext3 or ext4. Indeed, according to the following snippet, the filesystem is created on the device only if the current filesystem is not the targeted one and that the device don't have a filesystem yet.
https://github.com/enix/san-iscsi-csi/blob/e5d2cfb55469da72d8829d8bf0674c88988af5a8/pkg/node/node.go#L446-L457
If the property in the storageclass is not set, the target filesystem will be "", which is the same as no filesystem. Thus, the device will never be formatted, leading to "filesystem corruption" error, since there is actually no healthy filesystem present on the device.
If your storage class has the property parameters.fsType, I would like to be sure that its value is correctly brought until this point, so you could replace klog.V(1).Infof("Detected filesystem: %q", currentFsType) by klog.V(1).Infof("Detected filesystem: %q, current filesystem: %q", currentFsType, fsType) and check that the value in fsType is the same as parameters.fsType in your storageclass.

Unfortunately, yes, there was a problem with the incorrect indication of this option.
It means that it remains to deal with the LUN

I got such a log
I0921 15:50:12.393442       1 publisher.go:143] volumes: []
Could it be related to this function that I changed - https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L91

Yes, it's most likely related. Sorry for the delay.

Some people at Seagate are working on a fork of our library dothill-api-go. They are working actively on making it cross-compatible between their different models. I tried to replace our implementation with theirs and it's still working on our appliance. May you give it a try on your appliance too ? I pushed my changes on the branch feat/cross-compatibility.

I found a solution to the problem. I will try to explain what was done.

https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L91 is the function.
Please note here that the value of the initiatorName of the function gets here https://github.com/enix/san-iscsi-csi/blob/main/pkg/controller/publisher.go#L127
initiatorName in my case was iqn.2021-09.internal.unim.kube151: kube151, where the value after the colon is what is called nickname in the repository API documentation, so I've separated that.

https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L107
The original code specifies host-view, however, the API requires hosts-view

I'm not sure to understand your point. In https://github.com/vankosa/dothill-api-go/blob/master/endpoints.go#L107, there is already hosts-view instead of host-view. Or you mean the opposite?

I have - yes, but not here - https://github.com/enix/dothill-api-go/blob/master/endpoints.go#L102

Oh indeed, I didn't realized at first sight that your link pointed to your fork. I have to check that your changes are also compatible with our appliance before trying to merge it in this repository. In the same time, could you take a look at the branch I spoke about above (feat/cross-compatibility) ? According to Seagate developers, changes they made should make the library compatible with a wider range of appliances and may fix your compatibility issue as well as keeping the code cross-compatible with other models.

I will definitely look, a little later, I will tell you about the results

I tried your code on my appliance and it seems to be incompatible. Hoping that the Seagate version will work for you, so we can use it as it works on my appliance too.
Just for the record, here are the logs I get when I try to publish a volume on my appliance with your modifications:
I1001 09:59:49.022215       1 driver.go:112] === [ROUTINE START] /csi.v1.Controller/ControllerPublishVolume ===
I1001 09:59:49.022473       1 controller.go:243] using dothill API at address https://<IP_ADDRESS>
I1001 09:59:49.022558       1 controller.go:245] dothill client is already configured for this API, skipping login
I1001 09:59:49.023278       1 publisher.go:78] attach request for initiator iqn.1993-08.org.debian:01:be2a4889e22c, volume id: bfe7663dde884e7384a76de541ec8557
I1001 09:59:49.023373       1 dothill.go:92] -> GET /show/volume-maps/"bfe7663dde884e7384a76de541ec8557"
I1001 09:59:49.391084       1 dothill.go:122] <- [0 Success] Command completed successfully. (2021-10-01 09:59:49)
I1001 09:59:49.391446       1 publisher.go:128] listing all LUN mappings
I1001 09:59:49.391536       1 dothill.go:92] -> GET /show/maps/"01.*"
I1001 09:59:49.420451       1 dothill.go:122] <- [-10380 Error] The group was not found on the system. (2021-10-01 09:59:49)
E1001 09:59:49.421358       1 driver.go:118] Dothill API returned non-zero code -10380 (The group was not found on the system. (2021-10-01 09:59:49))
I1001 09:59:49.421511       1 driver.go:121] === [ROUTINE END] /csi.v1.Controller/ControllerPublishVolume ===

Hello @vankosa,
At the moment we cannot allocate more time to make required changes to fix compatibility between your appliance (2060) and ours (2052). I would suggest that you publish this issue on the Seagate fork (Seagate Exos X CSI), they may be able to make required changes in order to support your hardware.
Thanks for your understanding and your collaboration on this issue, it was very much appreciated.


Updated GoogleDoc class to work with new(er) spreadsheets

I noticed the gid parameter is ignored when fetching the example spreadsheet included with the app template. However, the gid parameter does work when fetching newer spreadsheets.
So, I changed the GoogleDoc class to omit the gid param so that all sheets in a spreadsheet will be downloaded by default. Also changed the fab text.update command to accept a gid argument in case you only want to fetch a specific sheet from your spreadsheet.

Hola


Name doesn't like .

First thanks for this module ! Very useful !
I have a little problem when I set a name A.B.C. the final name of the service is A:
Found an HTTP server: { addresses: [ 'fe80::caf1:350c:e53a:cd3a', '<IP_ADDRESS>' ],
  rawTxt: <Buffer 00>,
  txt: {},
  name: 'L',
  fqdn: 'L.I.S.A.._http._tcp.local',
  host: 'mylisabox.local',
  referer: { address: '<IP_ADDRESS>', family: 'IPv4', port: 5353, size: 138 },
  port: 4321,
  type: 'I',
  protocol: 'S',
  subtypes: [ 'A', '', 'http', 'tcp' ] }

Maybe this is normal into bonjour protocol but as I don't know it a lot I prefer report this.

Ok... Actually I tried to create a pull request for this project but it seems like I missed something!

Are dots in the name legal? (I think they are the apple bonjour source code handles them)

According to RFC 6763:

The  portion of the Service Instance Name is a user-
friendly name consisting of arbitrary Net-Unicode text [RFC5198].  It
MUST NOT contain ASCII control characters (byte values 0x00-0x1F and
0x7F) [RFC20] but otherwise is allowed to contain any characters,
without restriction, including spaces, uppercase, lowercase,
punctuation -- including dots -- accented characters, non-Roman text,
and anything else that may be represented using Net-Unicode.


Delete previous pod and creates new ond when modifying devfile on podman

What type of PR is this:
/kind feature
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6458
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/override windows-integration-test/Windows-test


[ #53 , JSON output option ]

Write output fileObjects to .markdowndb/files.json  # array of file objects

I'd have also kept the code path for generating json separate from sqlite both in code and in command line (I probably don't want both).

You mean to add an option to generate either SQL or JSON but not both simultaneously? Right?

OK. I'm going to apply YAGNI and for now let's just generate both as you are doing. let's not bother with both paths.

@mohamedsalem401 the one thing to do is probably just to add a changeset and then we can merge as is for now.


Dial event is dispatched to all active channels

Problem:
When asterisk fires a dial event, all active channels that have subscribed to this event receive this event, regardless of whether this event is intended for them.
Reason:
When a dial event is dispatched by asterisk, it provides three IDs, Caller ID, Peer ID and Forwarded ID.  Among them, Caller ID and Forwarded ID are optional.
At events.go file, for dial events, these three ids are added to the Keys array. Here, Caller ID and Forwarded ID can be empty.
// Keys returns the list of keys associated with this event
func (evt *Dial) Keys() (sx Keys) {
	sx = append(sx, evt.Key(ChannelKey, evt.Caller.ID))
	sx = append(sx, evt.Key(ChannelKey, evt.Peer.ID))
	sx = append(sx, evt.Key(ChannelKey, evt.Forwarded.ID))

	return
}

Now at stdbus/bus.go, Send method sends all events to their appropriate subscribers. This is done by matching subscriber key with event keys. But this Match method returns true even if event key is empty. So for dial event, as two of three keys can be empty, s.key.Match(k) provides true and as a result, regardless of the subscriber, this dial event is dispatched to all subscribers.
// Send sends the message to the bus
func (b *bus) Send(e ari.Event) {
	var matched bool

	b.rwMux.RLock()

	// Disseminate the message to the subscribers
	for _, s := range b.subs {
		matched = false
		for _, k := range e.Keys() {
			if matched {
				break
			}

			if s.key.Match(k) {
				matched = true
				for _, topic := range s.events {
					if topic == e.GetType() || topic == ari.Events.All {
						select {
						case s.C <- e:
						default: // never block
						}
					}
				}
			}
		}
	}

	b.rwMux.RUnlock()
}

Possible Solution:
Prevent adding empty IDs to event keys, as of for Dial event, don't add Caller ID and Forwarded ID if they are empty.

Interesting.  I haven't run into problems with this before (just hasn't mattered, not that it hasn't ocurred), but I can certainly see the issue.
It seems like the most obvious solution would be empty checks for those IDs before they are added to the event.  Feel free to PR if you are up for it.


[Relay] [Op] Zeros, Ones

Right now no default are use for them. Maybe we should change that...
Another thing is I dont think it is possible to do backward inference on zeros/ones. Is it so?

@slyubomirsky @ZihengJiang @zhiics please review

There are no default for zeros/ones, only for TensorAttrs (which is not exposed to python).
So I think we can have it maintain the same default for full.


Add Cluster Wizard redesign

Description
Changes proposed in this pull request:

changed Add Cluster Wizard design
added form input in Add Cluster Wizard
added Review step in Wizard
adjusted tests

Related issue(s)

/test all

/retest

/test all

/test all

/test all

/test all

/retest

/retest

The form view look will be revisited after in page edit is done because it will introduce new form design for all of them

/retest

/retest

/retest

/retest


adds imgpkg, kapp-controller and vendir subprojects

This PR is WIP -- do not merge yet.
preview: https://deploy-preview-30--carvel.netlify.app/

merged, but pages disabled.


Recommend http over https

The https protocol makes browsing more secure. As an insecure browser, Pissandshittium should recommend the user to downgrade their protocol to http.

extra fast because no ssl handshake

Market it as faster browsing

yes :+1: :+1: :+1: :+1:

Actually this is a good suggestion for suboptimal (if not pessimal) browser experience!


Unable to provision O365 learning pathway Site in our Multi tenant SharePoint environment.

Hello,
I am trying to provision the o365 learning pathways site using the following solution page: https://lookbook.microsoft.com/details/3df8bd55-b872-4c9d-88e3-6b2f05344239
We have multi tenant SharePoint Online environment with custom domains. I get the below error message when i try provisioning the site. The error message says "Current site is not a tenant admin site"  even though i logged in as tenant admin to the SP admin site .  Can you please help me identify the problem?

So it seems like you're having an issue with the provisioning service. Per our notes you need to submit issues with it to the appropriate repo:

PROVISIONING NOTE: If you are having issues with the SharePoint look book while trying to provision M365 learning pathways please do not post that issue to this repo as we cannot help you here. Please post all questions and issues for the SharePoint look book to SharePoint/sp-provisioning-service GitHub Issues List.

That said, I would caution you that you can only have one learning pathways main site per tenant.  Please see this video for a complete overview of the solution: https://www.youtube.com/watch?v=-sLXl_rKGxQ


[UBS Client cabinet] The Telegram toggle button isn`t automatically disabled after deleting chat with bot

Environment: Chrome 126.0.6478.127 (64-bit)
Reproducible: always
Build found:  29.06.24
Preconditions
Telegram must be installed on a PC
Steps to reproduce

Go to https://www.pick-up.city/#/ubs as client
Open 'My profile'
Click on 'User data' tab
Click on 'Edit data' button
Scroll down to 'Get notification in'
Switch on toggle button 'Telegram'
Click on the 'Send message'
Press ‘Start’ in the chat-bot in Telegram
Delete chat with the bot in messenger Telegram

Actual result
Toggle button 'Telegram' isn`t automatically disabled

Expected result
Toggle button 'Telegram' is automatically disabled after deleting chat with bot on Telegram
User story and test case links
User story #5423

Implemented in #1473


Use a variable for the color of editthispage

In the documentation, every single link is customizable but not the editthispage one because it is still piloted by a hard color value in the main css file

Thanks!


Cython modul

Thanks for the great work, how do I solve the following problem ：
(3DCLLM) kongfulu@Win202407091428:/mnt/e/project/LL3DA-main$ bash scripts/opt-1.3b/eval.generalist.sh
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
True
Could not import cythonized box intersection. Consider compiling box_intersection.pyx for faster training.
W0924 21:11:35.021575<PHONE_NUMBER>76896 torch/multiprocessing/spawn.py:146] Terminating process 94 via signal SIGTERM
W0924 21:11:35.021949<PHONE_NUMBER>76896 torch/multiprocessing/spawn.py:146] Terminating process 97 via signal SIGTERM
W0924 21:11:35.022014<PHONE_NUMBER>76896 torch/multiprocessing/spawn.py:146] Terminating process 98 via signal SIGTERM
W0924 21:11:35.022055<PHONE_NUMBER>76896 torch/multiprocessing/spawn.py:146] Terminating process 99 via signal SIGTERM
W0924 21:11:35.022102<PHONE_NUMBER>76896 torch/multiprocessing/spawn.py:146] Terminating process 101 via signal SIGTERM
Traceback (most recent call last):
File "main.py", line 327, in
launch_distributed(args)
File "main.py", line 316, in launch_distributed
torch.multiprocessing.spawn(main, nprocs=world_size, args=(args,))
File "/home/kongfulu/anaconda3/envs/3DCLLM/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 282, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method="spawn")
File "/home/kongfulu/anaconda3/envs/3DCLLM/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 238, in start_processes
while not context.join():
File "/home/kongfulu/anaconda3/envs/3DCLLM/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 189, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/home/kongfulu/anaconda3/envs/3DCLLM/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 76, in _wrap
fn(i, *args)
File "/mnt/e/project/LL3DA-main/main.py", line 193, in main
init_distributed(
TypeError: 'bool' object is not callable

cd utils
python cython_compile.py build_ext --inplace


Hosting a Web API 2.0 inside Windows Server Core 2019 results in ManagedPipelineHandler error

I'm trying to host a Web API 2.0 (.NET Framework 4.7.2) inside a Windows Server Core 2019 container. Here is my Dockerfile:
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019
WORKDIR /inetpub/wwwroot
COPY . .

Upon submitting a request to the container hosted API I'm receiving a HTTP 500 status. I went ahead and enabled Failed Request Routing and can see below entry in the log file:
 <EventData>
  <Data Name="ContextId">{80000002-0000-FF00-B63F-84710C7967BB}</Data>
  <Data Name="ModuleName">ManagedPipelineHandler</Data>
  <Data Name="Notification">128</Data>
  <Data Name="HttpStatus">500</Data>
  <Data Name="HttpReason">Internal Server Error</Data>
  <Data Name="HttpSubStatus">0</Data>
  <Data Name="ErrorCode">0</Data>
  <Data Name="ConfigExceptionInfo"></Data>
 </EventData>

Performing the command: dism /online /enable-feature /featurename:IIS-ASPNET45 /all does not help.
I have uploaded the failing image to Docker Hub: docker run -d -p 16670:80 ershadnozari/xbrlvalidator2:latest. HTTP POST sample request here:
XbrlRequest.txt
I don't have any issue hosting the Api locally, on Windows 10 1809 (version 17763.292).
Any help I can get with this issue is much appreciated.

@ershadnozari  Can you try runtime aspnet instead   ?  However,   I think you need to have download Roslyn nupkg and ngen the compiler binaries


feat(bar): impl Styled for Bar

implements styled for Bar: https://github.com/ratatui/ratatui/issues/683

We will come back to this after #1388 is complete.

rebased on main and fixed up

Thanks for your work on this @Emivvvvv


Use clucore

This PR addresses #991.
So far, this PR...

Adds CluCoreProcesor  to EidosEnglishProcessor
Removes EidosCluProcessor
Removes CLU language from Language.scala and NegationHandler.scala

After these first changes, I tried running sbt test, but most of them aborted and I got an error about how I need to initialize dynet first:
 Attempting to define parameters before initializing DyNet. Be sure to call dynet::initialize() before defining your model.

There's also a good chance that I just plugged the CluCoreProcessor in the wrong place.

If the addition of org.clulab.dynet.Utils.initializeDyNet didn't help, then holler.  Sorry it is buried so deeply.  It's part of processors.

It does seem to work now. Thanks! I might not have placed the initialization call in the most ideal place, but we can move it around if needed.
I also reran sbt test in both this branch and master to compare which tests are failing.
Here's the end result of running sbt test in my local master branch:
[info] Run completed in 38 minutes, 12 seconds.
[info] Total number of tests run: 654
[info] Suites: completed 81, aborted 0
[info] Tests: succeeded 612, failed 42, canceled 7, ignored 254, pending 0
[info] *** 42 TESTS FAILED ***
[error] Failed tests:
[error]         org.clulab.wm.eidos.system.TestCrLf
[error]         org.clulab.wm.eidos.groundings.TestVersioner
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc3

And here's the same output in the use-clucore branch:
[info] Run completed in 24 minutes, 39 seconds.
[info] Total number of tests run: 654
[info] Suites: completed 81, aborted 0
[info] Tests: succeeded 498, failed 156, canceled 7, ignored 254, pending 0
[info] *** 156 TESTS FAILED ***
[error] Failed tests:
[error]         org.clulab.wm.eidos.text.english.raps.TestRaps
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc5
[error]         org.clulab.wm.eidos.serialization.jsonld.TestJLDSerializer
[error]         org.clulab.wm.eidos.text.english.raps.TestRaps1
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc8
[error]         org.clulab.wm.eidos.text.english.cag.TestCagP1
[error]         org.clulab.wm.eidos.text.english.cag.TestExtraText
[error]         org.clulab.wm.eidos.serialization.TestDocSerialization
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc2
[error]         org.clulab.wm.eidos.text.english.cag.TestCagP4
[error]         org.clulab.wm.eidos.system.TestCrLf
[error]         org.clulab.wm.eidos.groundings.TestVersioner
[error]         org.clulab.wm.eidos.serialization.jsonld.TestJLDDeserializer
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc3
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc6
[error]         org.clulab.wm.eidos.text.english.cag.TestCagP3
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc1
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc4
[error]         org.clulab.wm.eidos.system.TestEidosMention
[error]         org.clulab.wm.eidos.text.english.cag.TestCagP2
[error]         org.clulab.wm.eidos.utils.TestMentionUtils
[error]         org.clulab.wm.eidos.document.TestSentenceClassifier
[error]         org.clulab.wm.eidos.text.english.eval6.TestDoc7

At least for master, I'm pretty sure the TestCrLf failure is just because I have some local resources that are included in the test, but aren't actually pushed to remote. Not sure about TestVersioner or TestDoc3 though. I also don't know what the 7 cancelled tests are, but I assume (for now) that they are the same 7 in both branches, so no difference there.

You don't need to worry about  TestCrLf and TestVersioner and probably not TestDoc3.  TestCrLf is probably because you are using Windows, TestVersioner is maybe because the git plugin can't version something locally (is git available on the command line?), and I think that TestDoc3 might be the unstable one.  I'll definitely check before it becomes critical.

Thanks!
Can you please do an eidos output diff on the tests on the actual docs?
On Sun, Apr 4, 2021 at 13:07 Keith Alcock @.***> wrote:

You don't need to worry about TestCrLf and TestVersioner and probably not
TestDoc3. TestCrLf is probably because you are using Windows, TestVersioner
is maybe because the git plugin can't version something locally (is git
available on the command line?), and I think that TestDoc3 might be the
unstable one. I'll definitely check before it becomes critical.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/995#issuecomment-813092201, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI75TXW4FQYIHQMDHRDJLDTHDBGNANCNFSM4Z6YYKGQ
.

I'm not completely sure what you mean. Do you just mean to get the specific outputs of each failing test so we can see which parts are failing? E.g. for the TestRaps test, the output that includes this:
...
[info] Raps_sent8
[info] - should have correct node
[info] Raps_sent9
[info] - should have correct edge !!! IGNORED !!!
[info] Raps_sent10
[info] - should have correct edge 1 !!! IGNORED !!!
[info] - should have correct edge 2
[info] - should have correct edge 3 !!! IGNORED !!!
[info] Raps_sent11
[info] - should have correct node 2 *** FAILED ***
[info]   List("
[info]   Errors:
[info]          Could not find NodeSpec [Use of improved cultivars and mechanization|+POS(improved)]
...

I'd like to see which relations are missing with CluCore. Then, the parse
trees + NE labels with the old processors and CluCore for those sentences.
I suspect this is something major, so a couple of relevant sentences should
be sufficient to get us started.
Thanks!
On Sun, Apr 4, 2021 at 2:10 PM zupon @.***> wrote:

I'm not completely sure what you mean. Do you just mean to get the
specific outputs of each failing test so we can see which parts are
failing? E.g. for the TestRaps test, the output that includes this:
...
[info] Raps_sent8
[info] - should have correct node
[info] Raps_sent9
[info] - should have correct edge !!! IGNORED !!!
[info] Raps_sent10
[info] - should have correct edge 1 !!! IGNORED !!!
[info] - should have correct edge 2
[info] - should have correct edge 3 !!! IGNORED !!!
[info] Raps_sent11
[info] - should have correct node 2 *** FAILED ***
[info]   List("
[info]   Errors:
[info]          Could not find NodeSpec [Use of improved cultivars and mechanization|+POS(improved)]
...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/995#issuecomment-813099782, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI75TS75GA657IZCYHLJT3THDIWDANCNFSM4Z6YYKGQ
.

Ok I think I understand. The CluCoreProcessor uses the new corenlp relations (e.g. obj instead of dobj) for some things, correct? Changing to CluCoreProcessor is likely to break some tests that used the old relations. Now, we want to find out which relations are missing, and compare the parse trees and SRLs for those sentences that are different. Does that sound accurate?
Is there a specific test or a particular document/text to check all the relations?

@zupon what's the status of this?

@BeckySharp There have been some other updates that haven't made it into this PR yet. Mihai adjusted some rules for expanding on contractions based on an error analysis I did. Now I am still in the process of looking at the failing tests when using CluCore and comparing those with the outputs from master using FastNLP.
There haven't been any more updates to this branch yet though, and I'm not sure when it'll be ready. If you want we can close this PR for now (without merging) until this is further along.


[Welcome to PowerToys]: In scan mode narrator focus navigates separately to settings icon (stays silent) and to its text which is not required.

Microsoft PowerToys version
"0.35.0"
Running as admin
Area(s) with issue?
Welcome / PowerToys Tour window
Steps to reproduce
Test Environment:
OS: Windows 10 Build 21354.1
App version: 0.35.0
App name: PowerToys
Screen Reader: Narrator
Tool: Accessibility Insight for Windows
Repro Steps

Launch 'PowerToys' application.
Turn on the 'Narrator'.
Application will get open with default list item 'General' selected.
Navigate to 'Welcome to PowerToys' link present at the right side of the pane and activate it.
'Welcome to PowerToys' window will get open.
Turn on the scan mode of the narrator using 'Caps + Space'.
Navigate using up/down arrow key.
Navigate to the 'settings' button using arrow key.
Observe the issue.

User Impact: Priority-2
If any application does not expose information and mechanisms necessary to track focus, text insertion point, and selection attributes (e.g. whether text has been selected for copy/paste) of user interface components, it would be difficult for the platforms that provide Accessibility APIs, and would in turn affect the screen reader dependent users to determine the focus.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/sites/accessibility/_layouts/15/Doc.aspx?sourcedoc={3C29FC92-CBCC-4A68-9FA6-0F159E3CFEA1}&file=MAS 4.2.10 – Tracking of Focus and Selection Attributes.docx&wdLOR=c15814F13-1B22-4FF5-A80E-802D46292C60&action=default&mobileredirect=true&cid=8d8a8173-bcfa-4764-b18e-ca7fd7332081
Note: NVDA browse mode is not working.
MAS4.2.10_Settings_scan mode_separate focus navigates to icon and text of button.zip
✔ Expected Behavior
In scan mode, narrator focus should not navigate separately to settings icon (stays silent) and to its text. Only one complete focus should navigate to 'Settings' button and announce it as 'Settings button'.
❌ Actual Behavior
In scan mode narrator focus navigates separately to settings icon (stays silent) and to its text which is not required, as separate focus is navigating to 'settings' button.
Other Software
No response

This is now fixed in 0.37 https://github.com/microsoft/PowerToys/releases/download/v0.37.0/PowerToysSetup-0.37.0-x64.exe


Example using Swift-Code

Hi! Is there somewhere an example showing Swift-Code using the chart?
Searched a lot but can't find one. I've got problems doing the assignment of the getData function in your line chart example...

I found a solution by myself and documented it here:
http://stackoverflow.com/questions/33987937/objective-c-swift-conversion-how-to-do-this-in-swift/34007606#34007606
Nevertheless - a complete swift-example would be nice ;)

@dhermanns Thanks for opening this issue and the solution. I will try to work out a complete swift-example.

That would be perfect!
Peng Guo<EMAIL_ADDRESS>schrieb am Di., 1. Dez. 2015 um 03:09:

@dhermanns https://github.com/dhermanns Thanks for opening this issue
and the solution. I will try to work out a complete swift-example.
—
Reply to this email directly or view it on GitHub
https://github.com/NilStack/NKWatchChart/issues/3#issuecomment-160825385
.

+1

As of Swift 2.2, SO answer is not working.
Error:
cannot assign value of type '(UInt) -> NKLineChartDataItem' to type 'NKLineChartDataItem!
Any solution to this.


imagelist: suggest imagelist can be sorted by created time or updata time

In GitLab by @cuiaq123 on May 23, 2019, 16:03
imagelist: suggest imagelist can be sorted by created time or updata time
now:sorted by image name in 2.0-2-gf2d8cca

In GitLab by @sokril on Nov 8, 2019, 08:33
assigned to @liyanq528

In GitLab by @sokril on Dec 26, 2019, 07:11
changed the description


"This name must be globally unique" is incorrect for resource group

"This name must be globally unique" is incorrect for resource group. Per my understanding, it only needs to be unique in subscription scope.

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

ID: 8cb1c7ba-83cb-e32a-85bd-3260bdefaee2
Version Independent ID: a5229c23-ac2d-3972-6b54-d4e70db5c046
Content: Quickstart - Create an Azure CDN profile and endpoint
Content Source: articles/cdn/cdn-create-new-endpoint.md
Service: cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@zhalu , Thank you for your feedback. I will fix the documentation and update.

PR done: https://github.com/MicrosoftDocs/azure-docs-pr/pull/81435
Documentation will be updated shortly.


[CT-821] Allow passing through Cluster Configuration parameters via profiles.yml when using the thrift connection method

Description
Allow passing through Cluster Configuration parameters via profiles.yml when using the thrift connection method.
This allows configuration of values that would need to be set via SET to be run in the Spark session and take effect on DBT models. Analogous feature for odbc has been implemented in this request.
Alternatives
Alternative is to use pre_hook (taken example) but this method doesn't work quite well and has disadvantages.
{{ config(
    materialized='table',
    pre_hook=['SET spark.sql.shuffle.partitions=1200'],
    ...
)}}

This feature can be implemented through passing Configuration parameters as configuration parameter of hive.connect() of pyHive.
Benefits

Parameters can be located in one place.
It allows to set parameters which can't be set through the pre-hook.
Sensitive parameters that don't suppose to be in code could be used (such as spark.hadoop.fs.s3a.access.key, spark.hadoop.fs.s3a.secret.key).

Our team may be contributing this feature. One issue is the naming in the profiles.yml: should it be server_side_parameters to make it matching used in odbc or configuration to make it matching used in hive.connect(). Or both name should be allowed?

Hi,
I've prepared a PR for this https://github.com/dbt-labs/dbt-spark/pull/577

Hey @hanna-liashchuk, could you please check this discussion, I'm trying to regroup all the threads on that topic in one place.
Please let me know if the plan works for you, before we can decide to move forward with this specific issue.

@JCZuurmond I appreciate your hint. My case is more common, e.g. passing spark.hadoop.fs.s3a.access.key, spark.hadoop.fs.s3a.secret.key, spark.executor.memory etc.


v2.1.3 fixes for PySide2 etc.

Mismerge and lost changes, essentially.
I don't know if it's possible to have the tools work for both PySide2/Qt5 and PySide6/Qt6 – if not, re-application of 2695b7b7b3d12e6cea9ef7f96340ee53e430b5cd after generating the icon resource files should work.

Added a fix for #104 and a small documentation fixup.


[TASK] Remove Document::getAllSelectors

Removing one function after another.

I fixed the changelog message.

Rebased and force-pushed.


Create FIFA-Inspired Card Designs for Players

Problem Statement
The current player representation on the website is functional but lacks visual appeal. To make the interface more engaging and user-friendly, we propose designing FIFA-inspired player cards.
Proposed Solution

Design visually appealing cards inspired by FIFA's player cards.
Include player information such as:

Name
Position
Overall Rating (OVR) (optional feature for future implementation)
Player Image (for now placeholder img until backend supports image uploads)

Implement these cards in areas where players are displayed, such as the player database and team view.

Task Details

Research FIFA card designs for inspiration.
Create a reusable card component using Vue.js.
Use dynamic data binding to populate card details from the player database.
Add placeholder images and mock data for initial testing.
Style the cards with responsive CSS to ensure compatibility across devices.

Acceptance Criteria

The card design should resemble FIFA's aesthetic while being unique to FC-TeamForge.
Cards should display player details clearly.
Cards must be responsive and adapt to different screen sizes.
Placeholder images should be replaced with uploaded player images once available.

Resources

FIFA Card Design Examples
Vue.js Documentation

Priority
Medium

@TharunKumarrA  I have already asked for issue #17. If you don't mind ,I want to contribute to this issue along #17 because i feel  it makes easy to me to get control of all ui elements to make them responsive. And also i dont have any problem if there is no bounty for this issue if you can assign it to me. If it’s okay with you, could you please assign this to me as well?

A contributor can have only 2 issues at max in hand

@TharunKumarrA  i have no other issues assigned except this one :)

Okay you can take up this roo as you are the first. We can still have the bounty no issues

@TharunKumarrA is that about issue #22 .

Can you share the link of the issue. I couldn't find any issue 22 !? @thecodingvivek

@TharunKumarrA  https://github.com/TharunKumarrA/FC-TeamForge/issues/22

@TharunKumarrA  unable to share direct link but try this link " issues/22" at the end of the url "https://github.com/TharunKumarrA/FC-TeamForge/ "

ohh yess that was the issue

@thecodingvivek  anna i have gone through code . There is no bug but few steps to be done before starting the server locally .Its working fine with me.I was able to add players and use every other functionality .I will write down the solution under the issue #22 :)

Okay da


chore: Updated CELLXGENE portals (#3534)

Ticket
Closes #3534 .
Reviewers
@frano-m .
Changes

Updated external portal links to add some CELLXGENE entries

@jpaten thanks for the PR!
Let's make a note of any entryId's with more than one CellXGene portal link, or a link that does not go to a CellXGene collection detail page e.g. https://cellxgene.cziscience.com/collections/b1912131-de29-4f13-b528-164b45d69cfd (see entryId c0518445-3b3b-49c6-b8fc-c41daa4eacba). If any entryId's meet these conditions, remove all CellXGene portals for that entry, and we will ask for clarification.


How to train the model on custom dataset?

Is there a guide how to train the model on my own dataset?
I noticed the train script under /Tensroflow. But it loads a "/hdd/sdb/SYNLA_Plus_4096.npy" array. How can I generate a similar file with my own dataset? Is there a step-by-step guide how to do that?

There isn't a step-by-step guide on how to train the model, the best you might find is from this discussion thread https://github.com/bloc97/Anime4K/discussions/180.


RepositoryContentValidator not checking specific primitive type

The RepostioryContentValidator's validatePropertiesForType method checks that the supplied primitive instance property has the correct instance property category, but does not check that the PrimitiveDefCategory matches the actual type defined by the attribute.

I think Graham has fixed this because it lead to problems in Asset Owner because the primitve type was strign rather than char.

@mandy-chessell Agreed - for some reason I must have raised two issues for this - it was also raised in #2843 and fixed by #2846. I think I must have chosen to fix the more entertaining of the two issues :-)


why appear driver?

hi!thx best apex code!
After I compiled this, I put the driver in a directory and started it. But even without my driver, [+]Finding apex... is displayed. I wonder why? It's so strange because I thought this code didn't come with a driver. Why is it possible to load without a screwdriver? We can confirm that the driver came out of somewhere. I want to update my drivers, so how can I change them?(sry bad english)

No need driver to get pid.
Load your driver on your own

hmm
Does that mean it will load the driver located in the same directory after apex is found?


Custom URL-name while adding to desktop

Hey!
When I add many links from one website to my android-desktop in my duckduckgo-browser, then the name is always the same, the basic webdomain-name. The problem ist, that those links on my desktop all look the same. It woul be great, if the links had names dependent on the special location of the site I am serving.
Thanks.

Hi @sandoxy, is this a bug report? feature request? or feedback?
It's not clear to me what's the problem you are trying to describe.
"When I add many links from one website to my android-desktop in my duckduckgo-browser" Could you clarify this? what do you mean by "android-desktop"?
Thanks.

Sorry for the confusion. Here are two screenshots, which could help. I added two different github-projects to my android-desktop, but the names on the desktop are the same. It is not a bug, I think. It is more a wish, that the link-names tell something about the destination.

Oh thanks. I see what you mean, it's when you add a website to you home screen. Thanks. I will share this feedback internally.

Reopening this feature request.
Please let us name the home screen shortcut before adding it.
Assigning the name is very handy to manage multiple shortcuts.
To add more context, Chrome's behavior depends on some website metadata: trying to add github.com pops a dialog where the shortcut name is not editable and is just the FQDN, but adding news.ycombinator.com pops the same dialog, this time with the name in an input field.
I am adding screenshots for the two scenarios just described


Error when trying to execute ./run_add_demo_entries.bash

Running the command ./run_add_demo_entries.bash gives me the following error:
ImportError: No module named p4_pd_rpc.simple_router
ImportError: No module named p4_pd_rpc.simple_router
ImportError: No module named p4_pd_rpc.simple_router
ImportError: No module named p4_pd_rpc.simple_router
ImportError: No module named p4_pd_rpc.simple_router
ImportError: No module named p4_pd_rpc.simple_router
Can someone please help me with this.

I have the same kind but not the same problem,when excute ./run_add_demo_entries.bash,I get the following error:
 handlers could be found for logger "thrift.transport.TSocket"
Traceback (most recent call last):
  File "../../cli/pd_cli.py", line 677, in <module>
    main(sys.argv[1:])
  File "../../cli/pd_cli.py", line 665, in main
    pd_cli = PdCli(p4_name, thrift_client_module, thrift_server, port)
  File "../../cli/pd_cli.py", line 35, in __init__
    self._thrift_client = pd_thrift_client.ThriftClient(self._module,
thrift_server, port, self._p4_name)
  File "/home/mininet/documents/p4factory/cli/pd_thrift_client.py", line 55, in
__init__
    self.setup(hostname, port)
  File "/home/mininet/documents/p4factory/cli/pd_thrift_client.py", line 77, in
setup
    self._transport.open()
  File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py",
line 152, in open
    return self.__trans.open()
  File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py",
line 113, in open
    raise TTransportException(TTransportException.NOT_OPEN, msg)
thrift.transport.TTransport.TTransportException: Could not connect to any of
[('<IP_ADDRESS>', 22222), ('<IP_ADDRESS>', 22222)]

Can someone please help,thk.

I have solved the problem.If you encountered the similiar problem you could try:

 sudo mn -c
sudo killall behavioral-model
redis-cli FLUSHALL

to clean the trash Mininet created when it crash unnormally.

Hi, @srujanamanvi
Please execute make in this directory before starting the mininet topo.
Regards,
Chen.


UIBULKED-330:  Order alphabetically record types on the landing page

UIBULKED-330
Purpose

Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

[ ] I've added appropriate record to the CHANGELOG.md
Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

@folio-org/fe-tl-reviewers it's additional PR with some improvements out of scope from the story, that was asked from QA members


Add GitHub actions.

Closing this temporarily because sandbox launch keeps failing on indexer - health even with Indexer disabled.


implement kmeshctl version

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Implement kmeshctl version to show version of kmeshctl or Kmesh daemon
Which issue(s) this PR fixes:
Fixes #898
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@hzxuzhonghu PTAL

@LiZhenCheng9527 Any other comments?

ping @LiZhenCheng9527

/lgtm


Video

until Sunday: Idea
on Sunday: Filming, Cut

Take some Ideas from this not-Software-Architecture-Example:
https://www.youtube.com/watch?v=tF6ow5rQnio&ab_channel=Aimchess.com

Mention VIKING STOP a lot, and also always use the same sound and animation
have a natural voice
jokes
support spoken text with random pictures, no matter if they have copyright blur etc


return uint32_t * value for extract() and extractFromRight() as part o…

…f tuple
remove unused apis that rely on int pointers from the pyapi
Signed-off-by: Matt K. Light<EMAIL_ADDRESS>

This removes all the flatten/unflatten apis from perl as well


KeyError: 'KPW5' when adding specific profile

Hi guys,
Im getting this error when I try to use a specific profile.
comic2ebook v5.5.2 - Written by Ciro Mattia Gonano and Pawel Jastrzebski.
Traceback (most recent call last):
  File "/home/eurekalabs/.local/bin/kcc-c2e", line 8, in <module>
    sys.exit(startC2E())
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/startup.py", line 49, in startC2E
    sys.exit(main(sys.argv[1:]))
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/comic2ebook.py", line 71, in main
    checkOptions()
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/comic2ebook.py", line 1029, in checkOptions
    options.profileData = image.ProfileData.Profiles[options.profile]
KeyError: 'KPW5'

I did git fetch and pull and re build the project to se if I could get the 6.1 version but I still get the 5.2
Thanks

I fix it using the KPW, I get the values from this file  if you want I can make a PR to update the profiles removing the not available.
But I dont know if that would be right.

Found out the problem Im using the PyPi version and its outdated.
Should I move to other ways to use the stand alone?

Its working, im using flatpak, forgot to update the issue.
Thanks!

Its working, im using flatpak, forgot to update the issue.
Thanks!


Add own recognizers

Whats the cleanest way of adding own recognizers like drawing a triangle, or a square?

please see the api docs under recognizers for the add method http://hammerjs.github.io/api/#hammer.recognizer closing this since its not a bug for support please try our slack or StackOverflow


RHIDP-1959: Add information about Operator update channels

Versions:
1.1+
Jira link:

https://issues.redhat.com/browse/RHIDP-1959

Preview link:

https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-283/admin-rhdh/#proc-install-operator_admin-rhdh

Reviews:

[x] SME: @nickboldt @rm3l
QE: Not required, no procedural changes
[ ] Peer review: TBA

/cherry-pick 1.1.x


Alert user when PDF file is missing

Description
If a PDF is missing from the collection, the plugin simply does not load the PDF viewer.  There is no alert given to the user that the file is missing.  This can be confusing, as one might not know why the PDF viewer did not load.

Only clicking the PDF link reveals that the PDF is gone.

Good point. I'll add this into the next major release.

Added a popup.
TODO: Use Windows notification (non-blocking) instead. Blocked by https://github.com/supermemo/SuperMemoAssistant/issues/140

Done


Watch: Not watching correct directory

Trying to run ...
mvn io.github.cleydyr:dart-sass-maven-plugin:0.2.0:watch-sass

I am getting this its looking at src\main\sass and its not looking at my plugin config for which directory unless I am doing something wrong.
[INFO] --- dart-sass-maven-plugin:0.2.0:watch-sass (default-cli) @ primefaces-showcase ---
Error reading src\main\sass: Cannot open file.

Sass is watching for changes. Press Ctrl-C to stop.

Hey, @melloware. Can you post the relevant configuration section of your pom.xml file so that I can check it out?

Ok. So, I guess by invoking mvn io.github.cleydyr:dart-sass-maven-plugin:0.2.0:watch-sass directly maven is not supposed to get the configuration from your pom.xml. Or is it?

that is how sass:watch worked in the old plugin

I see that if you put the configuration inside a specific execution, you'll have to specify the id when calling the plugin. So, in this case it should be dart-sass:watch-sass@generate-css-using-sass. If you simply call dart-sass:watch-sass (or its fully qualified equivalent), then only the general plugin config will be read.
Does it make sense?

Yep that works.  Can you update the readme I don't think others would figure that out!

Isn't it the the expected Maven behavior?

so i am just going on the old Ruby sass plugin where once it was configured in the pom.xml you could run sass:watch or sass:compile and both used the plugins values from the pom.xml regardless of execution cycle.
I look at it as the plugin is configured in the pom.xml.  It has a default lifecycle but any calls to the plugin should execute based on the configuration in the pom.xml by default.  I thought that is is how most Maven plugins work?

I've checked https://maven.apache.org/pom.html and the executions example corroborates my hypothesis.
Consider this sample:
<plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.1</version>
        <executions>
          <execution>
            <id>echodir</id>
            <goals>
              <goal>run</goal>
            </goals>
            <phase>verify</phase>
            <inherited>false</inherited>
            <configuration>
              <tasks>
                <echo>Build Dir: ${project.build.directory}</echo>
              </tasks>
            </configuration>
          </execution>
        </executions>

      </plugin>

If I add it to a project's pom.xml, then execute antrun:run the echo task is not executed, while if I execute antrun:run@echodir, then the echo task is executed.
Is there something I'm missing in this case?

Hmmm so this was the plugin configuration we used before switching to your plugin...
         <plugin>
                <groupId>nl.geodienstencentrum.maven</groupId>
                <artifactId>sass-maven-plugin</artifactId>
                <version>3.7.2</version>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>update-stylesheets</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sassSourceDirectory>${basedir}/src/main/webapp/resources/showcase/css</sassSourceDirectory>
                    <destination>${basedir}/src/main/webapp/resources/showcase/css</destination>
                    <sassOptions>
                        <always_update>true</always_update>
                        <sourcemap>:none</sourcemap>
                    </sassOptions>
                </configuration>
            </plugin>

Same as yours has an execution and goals.  However if I ran mvn sass:watch it watched the correct directory using the plugin's config.
Same is if I run the mvn war:war plugin it uses the pom.xml even though that has an execution and goals as well.  It builds the war based on the pom.xml config.

The issue is not having an execution. The issue is having an execution, putting the plugin configuration inside an execution and then invoking the plugin without specifying the specific execution. Notice that your old plugin configuration was outside the execution.

HA i didn't even noticed that I cut and pasted your example.  I just moved it outside of the execution and it works!
Whoops!

Works exactly like the old plugin now but WAY faster.  Thanks again for your great work.


FHIR BUNDLE PROCESS

Hi,
I am trying to do this :

I have a FHIR bundle, I resolve the bundle and get 42 separate resource. I want to show this all resource in a GRAPH (tree structure). What can be the best way to do it

Added json for reference
patient.txt

Hi @Rokshan2016 : Please see the HAPI FHIR wiki for instructions on how to ask for help: https://github.com/jamesagnew/hapi-fhir/wiki/Getting-Help


[#160] Set Your Due Date label fix

Fixed #160
Corrected the label of the 'Set Your Due Date' button.
Following is the screenshot after the changes.

Thanks for your valuable contribution.
Don't forget to star the repo.


Asset Download Count Inconsistency Issue

Hi Team,
We are facing intermittent download issues with the Asset Share Commons built site.
On click the download the download icon updates the download count and adds the downloaded assets in the modal.
The issue we are facing is on click of download asset, the count sometimes updates fine, but sometimes it updates to 0 and after which it does not update further.
This issue is only observed in Stage and Prod, whereas in Dev we have never faced this issue.
Same code is deployed in both the environments but still we are seeing a difference in functionality.
The only difference between Stage/Prod and Dev is that the Stage/Prod have multiple pod setup in Publisher, which Dev has default pods.
Have anyone faced similar kind of issue, Please share your insights.
Stage and Prod Only (Works fine in Dev)
AEM Caas
3.8.12
Publish

@Pawan070707 The way the count is updated via a XHR/AJAX call to the downloads action modal on page load.
the JS looks at the data-* attribute data-asset-share-downloads-count and displays that value. [1]
Can you check to make sure these calls are being made on page load -- look for XHR calls to your Downloads modal page on page load, and look at the response to see if the HTML is not malformed, and that the element with data-asset-share-downloads-count shows the correct count.
Its also worth noting that the download IDs for your user's downloads are stored in browser's localstorage (look for the asset-share-commons key in local storage). When the call is made to the action modal, the download IDs are sent along w the HTTP request - as the download modal HTML will only count downloads in AEM that match one of these IDs (so it doesnt show you counts for other users) -- so, if that local storage is getting cleared, then the downloads will return zero since the system doesnt think your specific user/browser has any downloads (and any downloads in AEM must belong to other users).
Let me know how it goes!
[1] https://github.com/adobe/asset-share-commons/blob/develop/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/components/modals/downloads/clientlibs/site/js/downloads.js#L54
[2] https://github.com/adobe/asset-share-commons/blob/develop/core.cloud/src/main/java/com/adobe/aem/commons/assetshare/components/actions/downloads/impl/DownloadsImpl.java#L67-L111


Remove prettier2.0 support in prettier plugin

fix #2760
@typespec/prettier-plugin-typespec dropped support for prettier 2.0. Update to 3.0 to use the new version of the plugin.

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2956/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2956/


Add __dangerouslyDisableSanitizersByTagID property

Specify which property for which tagIDKeyName should not be sanitized.
See #130 for the rationale

Codecov Report

Merging #166 into master will increase coverage by 0.83%.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##           master    #166      +/-   ##
=========================================
+ Coverage   24.26%   25.1%   +0.83%
=========================================
  Files          18      18
  Lines         239     243       +4
=========================================
+ Hits           58      61       +3
- Misses        181     182       +1

Impacted Files
Coverage Δ

src/shared/getMetaInfo.js
75.51% <85.71%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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


splatter: Bounding boxes not working properly.

There seems to be a width <= height capping. For example (height=200, width=500) produces the same box dimensions as (height=200, width=200).
Though the bounding box change, the points still seem to roam beyond it in a square containing the rectangular box. Bounding box should bound the nodes, not just produce a limited view. Again, this happens in rectangular boxes.

Some code to try to see capping:
import numpy as np
from oui.splatter import _splatter

_splatter([{'fv': fv.tolist()} for fv in np.random.rand(100, 3)],
          dict(nodeSize=3, height=200, width=900))

_splatter([{'fv': fv.tolist()} for fv in np.random.rand(100, 3)],
          dict(nodeSize=3, height=900, width=200)

Some code to try to see that bounding box affects view but now actually "bounding".
import numpy as np
from oui.splatter import _splatter

_splatter([{'fv': fv.tolist()} for fv in np.random.rand(100, 3)],
          dict(nodeSize=2, height=200, width=200))

_splatter([{'fv': fv.tolist()} for fv in np.random.rand(100, 3)],
          dict(nodeSize=2, height=200, width=100))

_splatter([{'fv': fv.tolist()} for fv in np.random.rand(100, 3)],
          dict(nodeSize=2, height=200, width=50))

This is fine:
pts = {
    'foo': [[1, 1, 1]] * 10,
    'bar': [[1, 10, 1]] * 20,
    '': [[5, 10, 10]] * 15  # just include an empty tag to denote "untagged"
}
splatter(pts, figsize=(150, 150))

But this is not:
splatter(pts, figsize=(150, 80))


Tensorboard files not shown in the hub

Describe the bug
The training metrics section does not appear even though the tensorboard files are present. See https://huggingface.co/vwxyzjn/CartPole-v1-dqn-seed1/tree/main

However, an identical setup would work a week ago: see https://huggingface.co/cleanrl/CartPole-v1-dqn-seed1/tensorboard (with the same huggingface_hub version)
Reproduction
No response
Logs
No response
System Info
huggingface_hub.__version__
'0.10.1'

cc @severo

Hi. I confirm that tensorboard should be working on this repo, it works locally. Investigating... cc @XciD

It's fixed, thanks to @XciD.


UIA:UIA markets are not found in the wallet

i wanted to do a trade METAFEES:METAEX.BTC, but this some updates it is not possible anymore.

This is a GUI issue.


Does lance support hdfs access?

Hi, does lance support hdfs access? I didn't found any doc about it. Much thanks.

We do not support HDFS right now.
It's possible we could use datafusion-objectstore-hdfs to do this, but there are some issues with it we'd have to resolve first. First, there is a known bug in part of it: https://github.com/datafusion-contrib/datafusion-objectstore-hdfs/issues/13. Second, IIRC it adds a runtime dependency on Java, which isn't acceptable for us. We don't want our users to have to install Java to use Lance, unless they actually need hdfs support.


CLD-7006 Fix version bump script

Summary
Sometimes we need to open version bump PRs direclty to the release branches, rather than the master branch (e.g. for patch releases). In such cases, the milestone does not exist on Github anymore, which currently leads to the version bump script failing.
This PR removes the strict dependency on the milestone existing,
Ticket Link
https://mattermost.atlassian.net/browse/CLD-7006
Release Note
NONE

shellcheck bump.sh                                                                                 ✔

In bump.sh line 89:
  gh pr create \
  ^-- SC1009 (info): The mentioned syntax error was in this simple command.

In bump.sh line 95:
    $([ -z "$BUMP_VERSION_NUMBER" -o -z "${MILESTONE_FOUND}" ] || echo -n "--milestone v${VERSION_NUMBER} --label CherryPick/Approved" # Do not specify the milestone if not bumping the version number, or if the milestone is not found) \
    ^-- SC1073 (error): Couldn't parse this command expansion. Fix to allow more checks.

In bump.sh line 111:
else
    ^-- SC1072 (error): Unexpected keyword/token. Fix any mentioned problems and try again.

For more information:
  https://www.shellcheck.net/wiki/SC1072 -- Unexpected keyword/token. Fix any...
  https://www.shellcheck.net/wiki/SC1073 -- Couldn't parse this command expan...
  https://www.shellcheck.net/wiki/SC1009 -- The mentioned syntax error was in...

Could this be an issue?

@phoinixgrr yes actually, thanks for raising!
I think the comment I added afterwards to explain the boolean condition commented out the closing parentheses as well. I'll remove that comment and test the script, then submit for review


Make Numpy code differentiable via JAX/Autograd.

Python interoperability works via a dynamically callable PythonObject. Making Swift able to differentiate calls to all Numpy APIs is as easy as defining a VJP for dynamicallyCall(withArguments:).
import Python
let np = Python.import("jax.numpy")
let x = np.ones(10)
let grad = gradient(at: x) { x in
    np.multiply(np.cos(x), np.sin(x))
}

Can one of the admins verify this patch?


Fix typo in comment

Modifications

Fix typo in comment.
Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Merging...


[BUILD] Re-enable ccache by default

Previously ccache was disabled because of possible issues with hexagon. Re-enabling it to provide a best effort attempt at using it.
@driazati @cconvey

BTW, why not to use an external module?

@KOLANICH we don't want to add any unnecessary dependencies.


Expose metrics for Prometheus

Add a go-metrics sync for push/pull over socket to Prometheus.

Here are the metrics that might be helpful:

Number of player connected / per server
Average connection time
Average connection / per server
Number of games room
momory / cpu

Thanks @julienBouysset 😄

New / Returning players - Shows the number of new (in red) and returning players (in blue).
Retention % by day - Shows the number of returning players as a percentage of the total players for a each day over the last 30 days.
Average Session Duration - Shows the average session duration in seconds.
Average DAU / MAU - Shows the average daily active player count over the monthly active player count. This is a measure of 'engagement'.
Devices - Shows the different devices that your players are using to play your game.
Players by Country - Shows the different countries where your game is being played.

Here is a list of more complete metrics.
New / Returning players - Shows the number of new and returning players.
Retention % by day - Shows the number of returning players as a percentage of the total players for a each day over the last 30 days.
Average Session Duration - Shows the average session duration in seconds.
Average DAU / MAU - Shows the average daily active player count over the monthly active player count. This is a measure of 'engagement'.
Devices - Shows the different devices that your players are using to play your game.
Players by Country - Shows the different countries where your game is being played.
Active Players Now - The total number of players that are currently connected to your game.
Daily Active Users (DAUs) - The total number of unique daily active players since midnight.
Average Daily Active Players (Avg DAUs) - A rolling average over the last 30 days for the DAU Big Number.
Monthly Active Users (MAUs) - Two metrics showing the total number of active players for last month and the current month.
Average Session Duration - The average player session duration for today.
Count - Shows the number of times a given custom key has been sent via the AnalyticsRequest..
Average Response Time (ms) - Shows the average response time (in milliseconds)
Average GO or Lua Execution Time (ms) - Shows the average time (in milliseconds)
Average Bandwidth per Player (bytes) - Shows the average amount of bandwidth per player that your game is using.

@julienBouysset Some of these metrics are best solved as part of an analytics service. We'll have to analyse and split them out into those which could be handled by the game server and those which are a better fit for another system (and can be delivered to the external system via plugins https://github.com/heroiclabs/nakama/issues/12). It's a great list though. :smile:

@novabyte Yes I understand but personally I do not know what metric will be better in a service. I will continue to add what I find interesting on this issue. You can tell me the metrics that are not in their place like that I will regroup and edit my messages.

Initial metrics support via opencensus was added in 3afb6cd2124c8fdcb5e41774b2eaa552682864b5 for both Prometheus and Stackdriver.


Lot of ListSectionController and ListDiffable in memory after dismiss VC, Is this normal?

New issue checklist

[yes ] I have reviewed the README and documentation
[yes ] I have searched existing issues and this is not a duplicate
[ ] I have attempted to reproduce the issue and include an example project.

General information

IGListKit version:3.4.0
iOS version(s): 12
CocoaPods/Carthage version:
Xcode version: 10.2
Devices/Simulators affected:iphone 6S
Reproducible in the demo project? (Yes/No):
Related issues:

Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

I am using this in a VC and dismiss it when done. But when check the memory graph I see lot of ListSectionController and ListDiffable. Please see the attached image. Is this normal?

This is not expected. It sounds like there is a retain cycle somewhere. Did you check the memory graph debugger to see what's still holding onto these objects?

Exactly, Thanks @calimarkus. Sorry for posting this here.


Add cross-chain HOPR token balance

Changes proposed in this pull request:

Calculate staked HOPR-DAI UNI-V2 token for farmers of HOPR liquidity mining program.
Calculate nominal HOPR token balance for HOPR-DAI UNI-V2 token (held + staked) for liquidity providers.
Include erc20-balance-ofmainnet HOPR token
Take all the balances above into consideration and effectively calculate the nominal HOPR token balance

Get timestamp from mainnet blocknumber and convert it to xDai block number
Get xHOPR snapshot balance and wxHOPR snapshot balance from "HOPR on xDAI" subgraph

Merge to main to create PR to snapshot.page


Relax fp16 tolerance in TrueDiv test

Relax TestTrueDiv tolerances when using fp16 to be in the same range than #7874
Fixes #7785

Jenkins, test this please

Jenkins CI test (for commit 57959cfb499f6337fed9751a7caed4bfe48b4a7e, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 57959cfb499f6337fed9751a7caed4bfe48b4a7e, target branch master) failed with status FAILURE.

Jenkins CI test (for commit 57959cfb499f6337fed9751a7caed4bfe48b4a7e, target branch master) failed with status FAILURE.

@niboshi This pull-request is marked as to-be-backported, but the corresponding backport PR could not be found. Could you check?

Refactoring of the test has not been backported.


update version of  @react-native-community/blur

fix #20

@alessiocancian this PR solve the ViewPropStyle problem. Please, merge and generate a new versio for us. Best Regards!

@alessiocancian could you please review this PR and possibly merge this PR?

Sorry for the delay, released in v3.1.3


Organize docs structure

This PR

Re-organizes the structure of the docs
Adds some deps to the docs for a few upcoming changes

bors r+

bors r-

bors r+


[Beam 8031] Add snippets for pattern on custom windows

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@aaltay cleaned up with rebase / squash

Thank you @rezarokni for cleaning up the history.
Once my remaining questions is resolved we can merge it. (I am guessing @gxercavins is working on it.)

Sure this looks good, please update the code and ping me.

Run Java PreCommit

Is this PR still up for review?

I think the already merged (https://github.com/apache/beam/pull/9538) had the same content. Closing this one. (Please re-open if this is not correct.)


v2 feature request - autoresize on ion-textarea

Short description of the problem:
Would be great if the ion-textarea could have an autoresize capability
What behavior are you expecting?
Something like
http://www.primefaces.org/primeng/#/inputtextarea
or
https://www.npmjs.com/package/angular2-autosize
Which Ionic Version? 1.x or 2.x
2

Hello! We are moving our feature requests to a new feature request doc. I have moved this feature request to the doc and because of this I will be closing this issue for now. Thanks for using Ionic!

I'm also waiting for this feature. Meanwhile, I created a custom version of angular2-autosize directive in my project:
First, create an Autosize directive with ionic-cli: ionic g directive autosize
Then replace the code in components/autosize/autosize.ts by:
import { Directive, HostListener, ElementRef } from '@angular/core';

@Directive({
  selector: '[autosize]' // Attribute selector
})
export class Autosize {

  @HostListener('input',['$event.target'])
  onInput(textArea: HTMLTextAreaElement): void {
    this.adjust();
  }

  constructor(public element: ElementRef){}

  ngAfterContentChecked(): void{
    this.adjust();
  }

  adjust(): void {
    let textarea = this.element.nativeElement.children[0];
    textarea.style.overflow = 'hidden';
    textarea.style.height = 'auto';
    textarea.style.height = textarea.scrollHeight + "px";
  }
}

You can now use the autosize property on <ion-textarea> element.
I just tested it on textarea without labels. But it should also work with labels.

@florentsuc
Thank you, but for me it's not working on ionic rc3. I'm always getting 3 row with ion-textarea. Using the directive on a normale textarea is working instead. If you want i can provide same code examples.

Hello all! While this is an awesome feature request it is not something that we plan on doing anytime soon. Because of this I am going to move this to our internal feature tracking repo for now as it is just "collecting dust" here. Once we decide to implement this I will move it back. Thanks everyone for using Ionic!

This issue was moved to driftyco/ionic-feature-requests#48


add bootstrap tooltip

Is there any way to add bootstrap tooltip?
From this issue, https://github.com/silviomoreto/bootstrap-select/issues/498 title cannot be removed.
So shall we turn default tooltip into bootstrap tooltip?

First, you can always adjust the data-title of the button.dropdown-toggle after bootstrap-select has been initialized. For instance:
$('select[name="whatever"]').next('button.dropdown-toggle').data('title', function(t){return 'whatever title you want';}); Using a function in data-title the tooltip will use the return value of the function in place of the title attribute.
At any point you can initialize tooltip on the trigger buttons this way (from tooltip documentation):
$(document).tooltip({selector:'button.dropdown-toggle', trigger:'hover'});
where you can also pass any additional options for tooltip plugin
In my opinion this would be the cleanest way to add tooltips, because the data attributes for tooltip and selectpicker overlap significantly enough to even consider putting them together on the initial select element.


feature/VCMS70 - Account Management Module

Added functionalities for Account Management, and authentication.
Kindly use this updated user table
user.txt
User accounts:

Username
Password

admin
adminR

staff1
staff1

dan
dan

the password required still appears even if a password is entered.

Pushed a new change that covers the following:

Bug found related to password validation during creating of user.
added field validations in User modal.
added field validations in Login.


Cannot get an image to render in the header.

Current Behavior
I cannot get an image to render in my navigation header.
I've tried setting the values of 'title', 'headerTitle', and 'headerLeft' to my Image element, with no success.

It always just shows the string in 'title'.

Expected Behavior
Shouldn't this display my Image?
Your Environment
Android 7.1.1 emulator on a 2016 15" MBP w/ touch bar.

software
version

react-navigation
^1.0.0-beta.7

react-native
0.42.0

node
v7.9.0

npm
v4.2.0

yarn
0.23.2

ignite
2.0.0-beta.8

You must be using beta.9 for the new "flat options". See release notes here: https://github.com/react-community/react-navigation/releases/tag/v1.0.0-beta.9

I don't see anything in those release notes pertaining to my issue. Is there something I missed?

You description states; 1.0.0-beta.7, but you have to be on 1.0.0-beta.9, because before that the headerTitle option did not exist as such.
For 1.0.0-beta.7 it was something like;
navigationOptions: {
  header: {
    title: <Image ... />,
  }
}

Okay ... apologies if this isn't the place for this, but I tried to update to 1.0.0-beta.9 and in the process seems as though I've really mucked up my project. :/
Any clue how to resolve this?

@chapeljuice maybe use react-native log-android to see more info about the error log.

close packager and restart it and your issue should be fixed.

@chapeljuice terminate and then start the pacakger with the following arguments
react-native start --reset-cache

Wow, so thank you @jeffreymendez1993 and @ofairfoul , that was indeed the fix for that issue.
A bit of an aside - but maybe upgrading to newer versions needs to be easier or more straight-forward? After I finally got that error taken care of I upgraded to 1.0.0-beta.9 and had a whole other bunch of problems until I realized that the older, "non-flat" styling syntax was breaking everything.
Anyhoo, thanks everyone for the help. I really appreciate it!


Add more protocols, not only MQTT

Hi, would it be possible to add more protocols for connectiong to a homeserver? I don´t use MQTT in my environment. It would be great, if i can use simple http-get-requests for this...
I´m using openhab as smarthomecontroller and if i enter this in my browser, i can send a command to my server:
http://<IP_ADDRESS>:8080/classicui/CMD?My_Switch=OFF
Here is some information:
https://community.openhab.org/t/how-to-change-an-openhab-switch-with-http-commands/35063/7

We have websocket api (not n exact api but kinda api) that you can use.  You need to explore the commands on source files since we do not have documentation right now.

Ok, thanks a lot. Will there be a documentation some time or is this only a hidden function for testing?
I will try this. I´ve seen in openhab-forum, that it would be possible to communicate with websockets.

The websocket communication is only for bi-directional communication between web browser and the actual device,  it will not be useful for any other use case, for example there is no easy way to get scanned rfid tags' id other than using mqtt.
I do not know how are you going to use it, so it may be limited for you, do not expect it to be a replace for mqtt.


⚠ Bofrost.gr has degraded performance

In 53c7dd1, Bofrost.gr (https://www.bofrost.gr) experienced degraded performance:

HTTP code: 200
Response time: 3967 ms

Resolved: Bofrost.gr performance has improved in ba4e8cf after 6 minutes.


Support for Postgresql hstore.

In my database I utilise the hstore extention. In that database I need to create migration scripts.
But when I generate the migration script via the command:
php artisan migrate:generate

I get the following error:
   Doctrine\DBAL\DBALException  : Unknown database type hstore requested, Doctrine\DBAL\Platforms\PostgreSQL94Platform may not support it.

  at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php:434
    430|
    431|         $dbType = strtolower($dbType);
    432|
    433|         if (! isset($this->doctrineTypeMapping[$dbType])) {
  > 434|             throw new DBALException('Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.');
    435|         }
    436|
    437|         return $this->doctrineTypeMapping[$dbType];
    438|     }

  Exception trace:

  1   Doctrine\DBAL\Platforms\AbstractPlatform::getDoctrineTypeMapping("hstore")
      /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php:363

  2   Doctrine\DBAL\Schema\PostgreSqlSchemaManager::_getPortableTableColumnDefinition()
      /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php:804

On the other hand there are plugins to handle the hstore:

https://github.com/emiliopedrollo/laravel-postgres-extended-schema
https://github.com/spira/Database

Also there's support for hstore for doctrine as well: https://github.com/opsway/doctrine-dbal-postgresql
Therefore is there a way to allow the generator to let it utilize the 3rd party plugins for hstore or natively let it handle?
IMHO I think is good idea for somehow this plugin to load 3rd party plugins in order to be able to handle custom data types or even custom plugins for various databases.

Did you manage to solve this? I have similar issue.


navbar design updated and About page UI improved

@enessozdemir, please share ss and it would be awesome if you would star this repo.

This looks way better than what we have currently

@enessozdemir There are some merge conflicts here. Resolve them and make a push. We will merge them

@ParamThakkar123, current navbar design is good I feel. WDYT?

@ParamThakkar123, current navbar design is good I feel. WDYT?

Yes. But it doesn't look that stylish though 😅 . But the glassmorphism we added is great indeed.

@enessozdemir ensure that the glassmorphism is preserved in the Navbar

@ParamThakkar123, current navbar design is good I feel. WDYT?

Actually I just went through the Navbar right now and I think our current design is better. When I compared both. Sorry to change my decision. But I would just like to revert what I said 😅.

@enessozdemir keep the navbar design as it is. Please don't change it. I think the current design is good. Just push the about page. No need to change the navbar


Hue cannot be used because the IMPala is integrated with hue

An error message is displayed on the UI: unexpected exception (code THRIFTTRANSPORT): TTransportException('unexpected exception',)
However, impala service is working, impala-shell can be used, and Hive is working

hue version 4.10.0


Require Reusable hook parameters and return Reusable tableInstance

Instead of using universal reusability for columns, rows and options; I think it makes more sense to specify their reusability locally via Reusable. Also, this allows to naturally compute reusability of the tableInstance returned by the hook (its internal state is also taken into account besides the 3 mentioned parameters).

Have you thought about how all this will work if we need tables with dynamically loaded data?

Have you thought about how all this will work if we need tables with dynamically loaded data?

We don't need that now, so forget I asked. 🙈

We don't need that now, so forget I asked. 🙈

Ok I'll do my best to forget :) But I guess we'll cross that bridge when we get to it


Implementing the LspService trait doesn't allow custom errors

I implemented the LspService trait on my own struct that wraps a router, but if I try to change the type Error in the Service<AnyRequest> trait, the types don't seem to match up. I believe this is because the LspService trait always forces the ResponseError type on the Service trait (Service<AnyRequest, Response = JsonValue, Error = ResponseError>)

Rust does not yet stabilize trait LspService: Service<.., Error: From<ResponseError> + Into<ResponseError>>, and using where clause does not work either (https://github.com/rust-lang/rust/issues/111926). We could alternatively add these bounds to every LspService usages, but that would be too tedious.
Not sure if there is a better way to implement is.


config(ticdc): adjust config name

What problem does this PR solve?

Issue Number: close #8393
What is changed and how it works?
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

/run-verify
/run-engine-integration-test
/run-integration-tests

/run-engine-integration-test

/run-engine-integration-test


v3.0.0 release

Augment the add APIs (add user, add owner) to include invitation models in the reponse.
Add the member invitations client
Force v2 API use

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


fixes bug 1314715 - Upgrade to django-pipeline 1.6.9

Coverage remained the same at 85.919% when pulling f5d59b13697208aff8546880c2c269da49aa2e9f on peterbe:bug-1314715-upgrade-to-django-pipeline-169 into 8653b6276bcfe375b08f4ca52fbb958b0c472c4f on mozilla:master.


Query remains active even without any listeners

Describe the bug
I have a component that calls createQuery. This is the only listener of that query. When the component is removed from the page, the query should become inactive as its only listener got cleaned up, and this is usually the case. However, I found some scenarios that cause the query to still be active after the component is removed, and I'm quite sure this is incorrect behaviour.
Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-query-1w7g6n?file=src%2Findex.tsx
Steps to reproduce

Open the console and see "Fetching" printed every second - it's the Comp component fetching, and invalidations being fired every second.
See that clicking any of the buttons marked [good] destroys the component and stops the query - invalidations still occur, but the query is inactive and does not fetch. The query only fetches when the component is on the page - correct.
Refresh the page each time after testing to be sure you have the clean state.
Now test one of the buttons marked [bad] - a reversed order of events or usage of a microtask breaks the query - it is still active and fetching despite the component being destroyed.

Expected behavior
Expected: When the component is removed and its onCleanup has run, the query is inactive and invalidations don't cause it to fetch.
Actual: It depends.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows 11, Chrome 126.0.6478.127
Tanstack Query adapter
solid-query
TanStack Query version
5.50.2
TypeScript version
5.5.3
Additional context
One of the ways to get this problem is using solid-router and navigating at the same moment as invalidation (any order I think).
I spent a lot of time debugging this and figured out that the problem is visible around this code:
  const createClientSubscriber = () => {
    const obs = observer();
    return obs.subscribe((result) => {
      observerResult = result;
      queueMicrotask(() => refetch());
    });
  };

The order of events I observed:

The invalidation causes the query to start fetching again. The obs.subscribe callback runs with the result with isFetching.
The component is removed, and the onCleanup in the query runs, removing the listener, and calling destroy on the query - now for a moment it is inactive.
The microtask scheduled in the code above runs, so the resource refetches. The code of the resource adds again a listener to this already inactive query. This listener will never be removed as onCleanup was already called.

@ardeora please have a look here

Hello! Thank you so much for the detailed reproduction. This bug has been fixed in newer versions of solid-query (v5.56.1+)
Here is the same reproduction working as expected. I have also included the devtools to show that the observers are being cleaned up without any issue. Please let me know if you still run into any issues.
https://stackblitz.com/edit/tanstack-query-1bqjjq?file=package.json,src%2Findex.tsx

Thanks a lot! I don't see any problems on the updated version. I spent at least 8h debugging this issue, appearing in two different places in our app, so I'm really happy it's gone.