Updated HanaOnAzure CLI extension to include SapMonitor multi-instance multi-provider feature

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

How to I get rid of the --ids parameter in the list command?

add to S169


Feature Request: Simply the helm install.

From the docs : https://spidernet-io.github.io/spiderpool/usage/install/#by-self-signed-certificates , the helm install needs several steps.
Is there possible to simply the helm install. The user can use only two steps to install the spiderpool.
heml repo add spidernet https://spidernet-io.github.io/spiderpool
helm install --name metallb spidernet/spiderpool

Like the https://github.com/helm/charts/tree/master/stable/metallb

done


Particle flow renderer

This adds a new layer type for rendering velocity fields.  The implementation is inspired by and borrows from the excellent description of the technique described by Vladimir Agafonkin for building a wind map.
The wind example shows the new "flow" layer (final names TBD).  The layer takes a style object similar to the other WebGL layers, and the example demonstrates a linear color ramp using the new speed expression.  The source for the flow layer is a data tile layer where pixel values are assumed to represent x and y velocities, and the layer renders particles moving through the velocity field.  The example still does quite a bit of work to smoothly interpolate the coarse resolution input data.  I haven't yet decided how much flexibility we should provide in terms of input data types and expressions for converting input data to velocities.

Impressive work!! I had pretty much the same idea, using style expressions to compute the velocity field. Other parameters could be used, e.g. to customize the particle colors, lifetime, density etc.
I was also hoping to look more seriously into using WebGL 2, specifically because of the limitations mentioned in Vladimir's blog post:

A new GL feature called compute shaders (in OpenGL ES 3.1 and equivalent WebGL 2.0 specifications) allows you to run shader code on arbitrary data (without any rendering). Unfortunately, support for the new specifications across browsers and mobile devices is marginal, and so we’re left with only one practical option: textures.

The flow particles use case might very well be the "killer app" for taking this bridge.
Thanks for sharing!

Following up on your comment from 14485, here are some links to sample data that we are looking to implement in our application. These geoJSON files reflect our current approach to the data structure; we can re-format if required/preferred.
There are a number of files which represent different swaths (each swath represents a different time - there is more info in the readme). Each file is in directory https://nasa-gibs.github.io/gibs-web-examples/data/vector-samples/ascat/
ascat_20200101_005400_metopb_37810_eps_o_250_3202_ovw.l2.json
ascat_20200101_023600_metopb_37811_eps_o_250_3202_ovw.l2.json
ascat_20200101_041800_metopb_37812_eps_o_250_3202_ovw.l2.json
ascat_20200101_060000_metopb_37813_eps_o_250_3202_ovw.l2.json
ascat_20200101_073900_metopb_37814_eps_o_250_3202_ovw.l2.json
ascat_20200101_092100_metopb_37815_eps_o_250_3202_ovw.l2.json
ascat_20200101_110300_metopb_37816_eps_o_250_3202_ovw.l2.json
ascat_20200101_124500_metopb_37817_eps_o_250_3202_ovw.l2.json
ascat_20200101_142700_metopb_37818_eps_o_250_3202_ovw.l2.json
ascat_20200101_160600_metopb_37819_eps_o_250_3202_ovw.l2.json
ascat_20200101_174800_metopb_37820_eps_o_250_3202_ovw.l2.json
ascat_20200101_193000_metopb_37821_eps_o_250_3202_ovw.l2.json
ascat_20200101_211200_metopb_37822_eps_o_250_3202_ovw.l2.json
ascat_20200101_225100_metopb_37823_eps_o_250_3202_ovw.l2.json

Please let me know if you have any questions/feedback or if there is anything that I can do to assist in this effort. Very excited to see where this goes! Thanks!

I appreciate the effort that has gone into this already & I feel bad bumping this thread, but we are revisiting particle flow in our project & need to find a path forward in the coming months.  Is there a roadmap to get this over the finish line & into OL? Is there room for me/others to assist towards the remaining challenges?
Thanks.

Thanks for the motivation, @Tomcariello.  I resurrected the branch and got it working against the latest changes in the rest of the lib.  So the example is up and running again.
My last effort stalled out after I started working on a utility source for interpolating a vector field given point data.  I wanted to do the interpolation (and data tile generation) in a worker, but this would require a lot of redundant code in the worker for loading and parsing feature data.  In some future version of the library, we may have things set up to always load and parse data in a worker - and then could have smaller specialized workers to operate on that data before generating tiles.  Instead of waiting for that future, I think I'll back out of the idea of including the interpolation source here.
I still want to do a couple things to change how the flow source is configured and how it handles different data tile types.  I'll try to carve out some time in the coming days to do this.  If I don't have these changes together in a week, let's discuss alternatives for getting this in.

I've marked this as ready for review now.  I've removed the @api annotation from the flow layer, meaning it is "experimental" and we can continue to have it evolve without issuing a major release.
The flow layer works with gridded velocity data, so it needs to be configured with a data tile source with 3 or 4 bands in a Float32Array.  Band 1 is the eastward velocity component (u) and band 2 is the northward velocity component (v).
Most of the example code involves interpolating the 360x180 png-encoded velocities into data tiles.  This logic will be different for different data sources.
I put together an example using the ASCAT data, but the interpolation method that I used there isn't really that performant.
I'd like to make it simpler to work with point data.  I can imagine doing this by triangulating the point dataset, using those as vertices when rendering, and letting the gpu interpolate the velocity as varyings.  This won't be nice for a very coarsely sampled dataset, but it could work well for a regular gridded set of points.  At some point I may experiment with this.  If it works, the layer could be updated to accept a data tile source or a vector data source.  But for now I think it makes sense to get this in and see if others can make use of it.
As mentioned in the example, the source must be configured with transition: 0.  There is an issue with alpha blending that I will work on addressing later (see #16119).
In addition, I'd like to simplify the post-processing pass logic (see #16120).  This may end up yielding a solution for the alpha blending issue above.


Server disconnected when SMTP proxy on another computer

EDIT:
When I disabled the signature then message was sent as it should.
So the problem is not because the proxy is on another computer - the problem must be with parsing the signature HTML which looks like:

 My name

or maybe with sending the .gifs which are part of the signature.
END OF EDIT
Hello again,
in the meantime while still testing running the proxy on Windows XP I've made a temporary setup where the proxy runs on Windows 10 computer which is in the same local network as the Windows XP computer running Eudora email client and has static IP.
I didn't expect problems but while receiving email via POP + gmail works well, sending via SMTP + gmail never gets to the end when the proxy is on another computer - the progress bar in Eudora email client always stops at almost the end and after a while there is an error:
Error reading from network
Cause: connection aborted due to timeout or other failure (10053)

I saw issue #36 even before setting up the proxy on another computer and I did set local_address for both POP and SMTP and the log looks right until communication just stops.
I've compared the logs from the working case where SMTP server is on the same computer as email client with the logs where the proxy is on another computer and everything looks the same except in the case where the proxy is on another computer the server (gmail) suddenly disconnects. Here is how the logs look like at the point where disconnect happens:
.
.
.
2022-08-15 23:26:14,505: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'RCPT TO:<[[ email address removed<EMAIL_ADDRESS>2022-08-15 23:26:14,557: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- b'250 2.1.5 OK [[ some numbers removed ]] - gsmtp\r\n'
2022-08-15 23:26:14,559: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'DATA\r\n'
2022-08-15 23:26:14,664: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- b'354  Go ahead [[ some numbers removed ]] - gsmtp\r\n'
2022-08-15 23:26:14,666: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'X-Mailer: QUALCOMM Windows Eudora Version <IP_ADDRESS>\r\n'
2022-08-15 23:36:14,716: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- [ Server disconnected ]

<IP_ADDRESS> is Windows XP computer with Eudora email client
<IP_ADDRESS> is Windows 10 computer running Email OAuth2 Proxy
I configured the proxy with:
[SMTP-1465]
local_address = <IP_ADDRESS>
server_address = smtp.gmail.com
server_port = 465

[POP-1996]
local_address = <IP_ADDRESS>
server_address = pop.gmail.com
server_port = 995

I am using the most recent code and have tried to disable the firewalls but still the same.
The last line Eudora sends is always:
2022-08-15 23:26:14,666: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'X-Mailer: QUALCOMM Windows Eudora Version <IP_ADDRESS>\r\n'

while in the working configuraton (where the proxy and the email client are on the same computer) these lines look like:
2022-08-15 23:34:27,787: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'X-Mailer: QUALCOMM Windows Eudora Version <IP_ADDRESS>\r\n'
2022-08-15 23:34:27,803: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'Date: Mon, 15 Aug 2022 23:34:21 +0200\r\nTo: [[ email address removed<EMAIL_ADDRESS>"Name" <[[ email address removed<EMAIL_ADDRESS>Some subject\r\nMime-Version: 1.0\r\nContent-Type: text/plain; charset="us-ascii"; format=flowed\r\n\r\nMessage body\r\n\r\n.\r\n'
2022-08-15 23:34:28,412: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- b'250 2.0.0 OK  [[ some numbers removed ]] - gsmtp\r\n'
2022-08-15 23:34:28,428: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'QUIT\r\n'
2022-08-15 23:34:28,475: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- b'221 2.0.0 closing connection [[ some numbers removed ]] - gsmtp\r\n'
2022-08-15 23:34:28,475: SMTP (localhost:1465; <IP_ADDRESS>:49213->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS><-- [ Server disconnected ]

This is what is logged by Eudora when trying to send an email:
MAIN    16: 1.44 Preparing messages to Send: 1
MAIN    16: 1.55 RSET
MAIN    16: 1.55 MAIL<EMAIL_ADDRESS>MAIN    16: 1.55 RCPT<EMAIL_ADDRESS>MAIN    16: 1.55 DATA
MAIN    16: 1.55 Test
MAIN    16: 1.55 Sending file "C:\imgs\signature.gif"...
MAIN    16: 1.55 Test
MAIN    16: 1.55 Preparing messages to Send: 0
4776    16: 1.55 Open <IP_ADDRESS>:1465
4776     8: 2.34 Dialog: "Error reading from network\r\n"
4776     8: 2.34 Dialog: "\r\n"
4776     8: 2.34 Dialog: "Cause: connection aborted due to timeout or other failure (10053)"

And this is what is logged by Eudora in working configuration where the proxy and the email client are on the same computer:
MAIN    16: 0.00 Preparing messages to Send: 1
MAIN    16: 0.00 RSET
MAIN    16: 0.00 MAIL<EMAIL_ADDRESS>MAIN    16: 0.00 RCPT<EMAIL_ADDRESS>MAIN    16: 0.00 DATA
MAIN    16: 0.00 Message subject
MAIN    16: 0.00 Preparing messages to Send: 0
1088    16: 0.00 Open <IP_ADDRESS>:1465

Thanks for this detailed report.
I would be quite surprised if this is related to the email signature because the proxy does no further editing or parsing of the connection once it has handled authentication. In addition, if an error was encountered by the proxy it would print a message to the log before closing the connection. Still, given that disabling the signature seems to fix email sending, I'm happy to look into this a little further.
Can you send successfully if you use both the proxy and email client (with a signature) on the Windows 10 computer? If so, is there anything that could be filtering network connections between the two computers?

I did a few more tests and here are the results:
Eudora on one computer and OAuth2 Proxy on another computer:

Plain text signature --> works OK
Signature containing HTML --> works OK
Signature contains .gif image --> not working

Eudora and OAuth2 Proxy on the same computer (in Windows 7 virtual machine inside Windows 10 computer):

Everything works OK (even when the signature contains .gif image)

I copied the signature file from the Eudora I am using for years to the test environment in virtual machine and copied the .gif file to the appropriate directory and everything worked as it should. The problem is only when OAuth2 Proxy is not on the same computer and signature contains .gif image.
There is one more difference between using OAuth2 Proxy on the same computer as the email client vs when both OAuth2 Proxy and the email client are on the same computer - when OAuth2 Proxy is on another computer the authorisation pop up never shows. Authorisation does work well but the tray icon doesn't show the notification while in the case when both OAuth2 Proxy and email client are on the same computer authorisation pop up always shows.
I didn't change anything besides POP and SMPT server configuration at the computer running Eudora since it stopped working on the 7th of June. I tried to send an email with the signature contatining .gif image after disabling antivirus and firewall too but that didn't help either.
This is really interesting. I suspect the double forward slashes or backslash in .gif's URL:
<img src="file://C:\imgs\signature.gif"...

might somehow cause some parsing or encoding problems.
Just now when writing the message I got an idea to test if sending attachments would work and it didn't.  I attached a 150 kB .png image and tried to send email without .gif in the signature and the problem was the same as when trying to send the email with .gif in the signature - the only difference is the progress bar now stops at the beginning.
Eudora has an option to choose MIME, BinHex or Uuencode encoding methods, I tried all but the problem is still the same.
Seems as when OAuth2 Proxy is not on the same computer as the email client then I can't send anything besides plain text or HTML. But as soon as there is to send something that has to be encoded then SMTP breaks.
There is one more option in Eudora under Threading - Maximum number of concurent tasks (default 10). I tried to change that to 1 but I still couldn't send an email with .gif in the signature or an email containing attachment when OAuth2 Proxy is on another computer.

I've captured the traffic to and from the Windows 10 computer running OAuth2 Proxy from the computer running email client while sending email with the signature containing .gif images.
Wireshark
Capture filter: host <IP_ADDRESS>

Here is the screenhot where can be seen there is Duplicate ACK in the frame 36 and then there are multiple transmissions of the frame 32. Frame 36 is marked with black by the Wireshark too but in the screenshot it is blue because it is selected.

Duplicate ACK might happen because there was packet loss or the packets arrived out of order but I still couldn't determine what exactly was the cause and/or why that happens.
I captured the traffic several times and the length of the packet that is retransmitted is always 1514 bytes (the problem is always at the exact the same spot) and the last packet received by the proxy is packet number 31 which is in the form of:
2022-08-15 23:26:14,666: SMTP (<IP_ADDRESS>:1465; <IP_ADDRESS>:3838->smtp.gmail.com:465; [[ email address removed<EMAIL_ADDRESS>--> b'X-Mailer: QUALCOMM Windows Eudora Version <IP_ADDRESS>\r\n'

which corresponds to the logs from my first message.
I tested the same proxy running on Windows 10 machine with Eudora running in virtual machine installed on the same Windows 10 computer which is similar tu running the proxy and email client on different computers and then everything worked well.
Network communication between Windows XP and Windows 10 computers works well and shared folders are accessible without problems.
I will continue with testing in the evening, the next test will be to check if the problem is caused by the length of the packet and not by it's contents - I will test with plain text message longer than 1500 bytes.

After hours of testing I've noticed the main difference between the working configuration and the configuration where sending emails containing signatures with images or attachments doesn't work.
I examined the packets captured with Wireshark and noticed the maximum length of the packets on PC where sending attachments doesn't work is 1514 bytes (payload length 1460 bytes) but the length of the packets in the working configuration is never more than about 130 bytes.
However, the length of the packets is not a problem - I tried to send an email containing only plain text longer than 1500 bytes and everything worked well despite there were packets with length of 1514 bytes.
I spent a few hours more examining some other aspects of the payload (normal and alternative boundary, network MTU and similar) but that wasn't a problem and then I noticed there are some packets with the length of only 2 bytes in the working configuration and after some more investigation I saw the 0x0d 0x0a sequence in the working configuration's packets never occurs twice.
So the problem is TCP packets containing more than one 0x0d 0x0a sequence are never received by OAuth2 Proxy.
I am not sure what decides if TCP packets would or would not be split at CRLF but since Eudora in both configurations is exactly the same then behaviour probably depends on OS and/or network drivers and/or hardware used in communication.
Now the main question is why exactly TCP packets with multiple CRLF sequences are not recognized by the proxy. Is there maybe some flag in the TCP library used by Oauth2 Proxy to allow multiple CRLFs in the single TCP packet?
My next test (probably in the evening) will be to capture the traffic at the Windows 10 computer running the OAuth2 Proxy to see if those packets arrive cut at the first occurrence of CRLF or they arrive in their full length.

Thanks for this very detailed investigation!
Single b'\r\n' messages are indeed important; however, after authentication the proxy should just pass through all messages unedited, so I still think it's fairly unlikely this is caused by the proxy itself (though I'm happy to be proved wrong of course). I suspect you are correct about OS/network issues being the cause.
The only place I can see for the proxy to be causing this is if somehow the checks for empty messages (here and here) are discarding b'\r\n' as empty. However, since this does not happen when running the proxy on the same computer I'm doubtful about this.

This time I started Wireshark capture on both computers to compare the traffic and these are the results:

The problematic packet (the one that is retransmitted several times) doesn't arrive at the computer running OAuth2 Proxy at all.
The packet just before, the last packet during the transmission, which is ACK packet sent by the proxy has length of 54 bytes when sent but it has length of 60 bytes on arrival.

This is capture of the last successful packet captured from the computer running OAuth2 Proxy:
Frame 31: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)

0000   00 01 29 d7 1c aa f8 28 19 bd e2 9d 08 00 45 00   ..)....(......E.
0010   00 28 bb 33 40 00 80 06 bb 81 c0 a8 01 66 c0 a8<EMAIL_ADDRESS>0020   01 64 05 b9 0b c6 ad a2 56 40 8b ab e7 2a 50 10<EMAIL_ADDRESS>0030   fa 1f a9 61 00 00                                 ...a..

and this is the very same packet when it arrives at the computer running email client:
Frame 38: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)

0000   00 01 29 d7 1c aa f8 28 19 bd e2 9d 08 00 45 00  ..)....(......E.
0010   00 28 bb 33 40 00 80 06 bb 81 c0 a8 01 66 c0 a8<EMAIL_ADDRESS>0020   01 64 05 b9 0b c6 ad a2 56 40 8b ab e7 2a 50 10<EMAIL_ADDRESS>0030   fa 1f a9 61 00 00 00 00 00 00 00 00              ...a........

Then I tested sending an email containing only plain text without attachment and signature but this time I inserted a few CRLFs in a row to see if more than one 0x0d 0x0a sequence in the same packet would be a problem and sending worked without an error despite there was 0x0d 0x0a 0x0d 0x0a 0x0d 0x0a 0x0d 0x0a in the same packet.
So you are right, more than one CRLF in the same packet isn't a problem. The length of the packets is not a problem either. Furthermore, seems as even ACK packet sent as 54 bytes and received as 60 bytes isn't a problem too because the same happens even when sending works well.
At the moment I can't notice anything that differentiates the packets that do arrive at the computer running proxy from the packet that never arrives :-/ If that isn't a mystery :-)
The email client clearly does send all the packets correctly but in the case some packet contains the attached file that packet never arrives at its destination - even if the attached file is just a text file containing only one letter.
For example, this is the exact packet that never arrives at the destination.

There must be something in this packet because of what that very packet is different from other packets that do arrive at the destination but I just don't see what that could be :-/

Today I started the proxy and when checking email (which works well) the email client couldn't complete the check. Eudora has task bar displaying the status when checking email which looks something like:
Connecting...
Connection established.
...
...
PASS
EHLO
...
...
Fetching emails... (number)
...
QUIT

When checking email for the first time the task bar status stalled at PASS. Then I stopped checking using the STOP command in the email client and when I tried to check email for the 2nd time the status sstalled at Connection established. Then I stopped checking again and when I tried to check email for the 3rd time the status stalled at Connecting....
All that time there wasn't any output in the terminal window from where I started OAuth2 Proxy and seems as each time I was checking email the process stalled one stage earlier than before.
When I tried to exit from OAuth2 Proxy using Quit Email OAuth 2.0 Proxy from the tray icon nothing happened and I could stop the proxy only by using Task Manager. Before stopping the proxy I captured the traffic from the Wireshark in Windows 10 computer running the proxy and TCP packets sent by email client didn't arrive until I stopped the proxy using task manager and started it again.
Seems as there is some connection between "TCP packets not arriving at the destination" and OAuth2 proxy because Wireshark wasn't capturing any traffic from the email client during the time when OAuth2 Proxy was frozen but as soon as OAuth2 Proxy was restarted email checking started to work again and Wireshark could again capture the traffic sent from the email client meaning OAuth2 Proxy was somehow blocking the TCP packets.
It looks to me as:

OAuth2 Proxy in certain conditions can somehow cause "TCP packets are not delivered" state.
When "TCP packets are not delivered" state happens during POP access then OAuth2 Proxy freezes and the only way to use it again is to force End Task and to restart the proxy.
When "TCP packets are not delivered" state happens during SMTP access then OAuth2 Proxy doesn't freeze and it could still be used by stopping the process of sending email(s) from the email client or by waiting for timeout.

The problem is how to identify what conditions exactly are causing "TCP packets are not delivered" state.

Thanks again for the very detailed investigation here!
I wonder whether this is related to operating system sleeping/suspending? There was a similar issue on macOS in an early version of the proxy that was resolved by forcefully closing all connections when a sleep/hibernate event was detected. This is only currently implemented for macOS, however.
You mention starting the proxy, so perhaps this is not the case, but it would be interesting to know.
Have you managed to find out any more about this issue in the meantime?

It isn't related to sleep or suspend, everything is the same even just after starting the proxy. During sleep the proxy doesn't work but as soon as the computer wakes from sleep the proxy continues to work.
My next tests are going to be:

Connecting the computer running the proxy with ethernet cable instead of using wifi (the computer running email client already is connected with the cable).
Try to install the same version of Window XP which is installed in the PC running email client in virtual machine (I am not sure if I'll find the correct ISO image - I have it somewhere but I installed these Windows back in 2007).

I once had a problem with DLNA server - after changing the ethernet cable everything worked well but the TV couldn't discover DLNA server despite browser and YouTube were working well. I think one of the ethernet cables was patch and the other one was crossover but I still don't know how that could affect only DLNA and nothing else (seems as that has something to do with UPnP - with one type of the cable UPnP didn't work).

I connected the computer running the proxy with ethernet cable instead of using wifi but nothing changed.

The blocking behaviour could be caused by unresolved connection failures – the proxy's connection to the server is initiated in blocking mode, which could cause it to hang. It does try to close all connections, including failed ones, though this might be less reliable on Windows.
Have you experienced this behaviour with the Python 3 version of the script, or just the Python 2 branch?

Yes, I read socket.recv() is a blocking function but still can't find out the reason what could cause the problem.
I am testing with the latest Python 3 version from the main branch all the time. I will continue with testing of Pyhon 2 branch as soon as Python 3 version will work without problems.
I'd like to capture the traffic in between laptop running email client and the router and in between the router and Windows 10 computer running the proxy but I couldn't find any ethernet hub to place it between PC running email client and the router and between the router end PC laptop running the proxy - seems as don't sell network hubs anymore.
I have two network switches but they don't have port mirroring (SPAN) and such swithes are quite expensive but there is LAN TAP device on Aliexpress which is not expensive and can be used as a passive Terminal Access Point. I am going to buy one of these to check where exactly the TCP packet containing attachment is lost. LAN TAP can be used for capturing the traffic in one direction only but that should be enough.

It might be worth trying the nonblocking SSL branch if you suspect the blocking socket could be anything to do with this. This branch takes advantage of recent improvements to local secure connections, and uses that approach for the remote server as well.

I've just tested the nonblocking SSL branch and everything is still the same - I can't send an email with attachment.
Now that you mentioned SSL - is there anything involving SSL that could affect sending the packets containing attachments?
I was searching for problems with sending attachment related to SSL and there is a support ticket for some software I've never heard of but here is what is written in the description:
PROBLEM
Track-It 2020.02: Cannot send email with attachment when using SSL/TLS protocol is selected in SMTP outgoing settings
When using SSL/TLS protocol for outgoing emails attachments are not sent successfully. Also report schedules fail to send the report as attachment.

According to the description of that problem it seems as there is something related to SSL that could under certain conditions prevent sending attachments.

This is an interesting find, and may conceivably even be the root cause here, but is ultimately not something that can be changed because SSL is mandatory for the connection to the remote server in all cases. You can disable local SSL for the proxy, but it is not enabled by default, so I'm guessing you're not using this configuration anyway.
You could perhaps test whether this is related to the proxy or not by testing connecting directly to the SMTP server from your client, as this can still be configured to accept basic authentication (see Google's documentation)?

You are right, I didn't enable local SSL.
Do you mean to test direct connection by creating app-specific password? That is a problem because that option could be enabled only after turning on 2-Step-Verification which is asking to give the phone number which I am not comfortable with. If once it would be impossible to use gmail without giving a phone number then I will stop using it.
BTW, I installed Python 3.4.3 in the PC where email client is running (that is the last version that could be used with Windows XP) and created a virtual environment (virtualenv didn't work because of failed to find interpreter for {discover} but venv did work well) to test running the proxy from the same computer as the email client but I couldn't install the requirements.
When I tried to upgrade PIP the process didn't finish (there was full screen of errors) and PIP stopped working so I had to delete the virtual environment and create another one. When I tried to install requirements without upgrading PIP there was an error Command "python setup.py egg_info" failed with error code 1 when building crypthography.

I just did a test to check if maybe some file from email client installation is missing or damaged. I created a new Windows XP virtual machine and transfered the whole folder containing the email client from the PC where email client is running to VM and in that case the email with the attachment was sent without problems.
But there is something I noticed. Eudora has progress bar which shows while sending emails and since the test email is very short and the attachment is a text file containing only one character the progress bar moves from 0 to 100% very quickly. However, the progress bar always stops for one second at exactly the same spot where in the case of sending from the PC it stops forever. And that spot is (probably) exactly the same spot when the TCP packet that is never delivered is to be transfered.
In other words - without stopping for a second the progress bar would move from 0 to 100% in about half a second or even faster. But it stops for about one second when it reaches about 90% and then continues - meaning there is something going on when the TCP packet containing the attachment has to be transfered.
And that is exactly how the progress bar always behaved.

I just did a test to check if maybe some file from email client installation is missing or damaged. I created a new Windows XP virtual machine and transfered the whole folder containing the email client from the PC where email client is running to VM and in that case the email with the attachment was sent without problems.

I think that underlying all of this there is the issue that Windows XP was released well before all of the current standard secure connection protocols were in use, and the workarounds to give it this capability are perhaps not totally reliable. I'm supportive of using the proxy to enable continued use of obsoleted devices/apps, but there are lower level things that it cannot help with.
Given that the issue here does not happen in a VM, and that it hasn't been possible to replicate it outside of the problematic setup so far, I think it might be time to put this to rest. I don't think there's any evidence that this issue is caused by the proxy at least.

I agree. You may close this issue. I will still continue to investigate the cause of the problem and report back when/if I find something useful.


fix(login): accept token from stdin

Codecov Report

Merging #400 (2a40ab9) into main (1e3caf6) will decrease coverage by 0.17%.
The diff coverage is 80.00%.

:exclamation: Current head 2a40ab9 differs from pull request most recent head 1527c62. Consider uploading reports for the commit 1527c62 to get more accurate results

@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
- Coverage   94.16%   93.99%   -0.18%
==========================================
  Files          77       77
  Lines        3343     3347       +4
==========================================
- Hits         3148     3146       -2
- Misses        195      201       +6

Flag
Coverage Δ

unittests
93.99% <80.00%> (-0.18%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/cmd/auth/login.py
96.96% <80.00%> (-1.42%)
:arrow_down:

ggshield/cmd/main.py
84.70% <0.00%> (-5.89%)
:arrow_down:

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


[name of the chart e.g. stable/chart] issue title

Describe the bug
A clear and concise description of what the bug is.
Version of Helm and Kubernetes:
Which chart:
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:

This issue appears to have been opened in error. Please open a new issue with details as shown in this issue template if you have a specific issue; thanks!


Validation issue with +8801868502015 (88)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): 88
Example number(s) affected ("+1<PHONE_NUMBER>"): +8801868502015
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
link to demo

@jahidp,
Thank you for using libphonenumber!
For your next metadata issue, we invite you to file issues in Google's new Issue Tracker, which we're currently testing.
This is actually working as intended; +8801868502015 is already marked by our library as Mobile number in Bangladesh (+880). We do not have any country having country code as 88.
To check the latest behavior for yourself, see the demo (instructions in our contribution guidelines). Thus we don’t see this as a validation issue. The number is already considered valid.
I'll close this as it's not an issue with the library. Please consider joining the discussion group if you'd like to discuss this further.


Product page (#68) and modify color names

I added some features and fixed some bugs; these are the features/bugs that have been probably fixed:

Modify the color palette name from "green" to "brown"
Added product page
Added Product type

Good Job!


OverlayRoute.didPop shouldn't remove the overlays

Or at least, we should provide a way for that to be delayed. Right now, didPop() on _BottomSheetRoute delays its super.didPop() call, which is a contract violation.

TransitionRoute does this too, but even worse (didPop doesn't call super.didPop, then a completely unrelated _handleStatusChanged method calls super.didPop).

I found the didPop() linkages in TransitionRoute difficult to follow and I definitely didn't improve matters in _BottomSheetRoute().
Some of the tension comes from tests that want to call Navigator.pop() and then verify that their route is indeed gone. Similarly, the tests want to verify that showFoo().then(  ) has removed whatever was being shown.


NNConv can't predict on different sample

❓ Questions & Help

Hey @rusty1s , I'm facing a really odd issue in training / testing a model with the NNConv module. I am trying some small preliminary tests by training my model purely on 1 sample, followed by testing on a different sample. Training-wise no issues occur, but when I attempt to do testing on a new graph, I get an error of RuntimeError: The size of tensor a (1794) must match the size of tensor b (2430) at non-singleton dimension 0
The odd thing about this is that the input feature dimensions are all the same, just that the number of nodes are different. Also, this problem only occurs when my feature size is increased (in this case 215 in dimension) as opposed to when it was small (feature size 2). I'm not really sure what's causing this issue as I implemented NNConv before with no problems.
Here's my model / code snippet
# Layer and model implementation
class NeuraLBP(torch.nn.Module):
    def __init__(self, in_channels, out_channels, h_size, e_size, n_embed, **kwargs):
        super(NeuraLBP, self).__init__(**kwargs)

        # Feature sizes
        self.in_channels = in_channels
        self.out_channels = out_channels
        self.h_size = h_size
        self.n_embed = n_embed

        # Layers
        # Embedding for dummy nodes
        self.embed = torch.nn.Embedding(n_embed, out_channels)

        # MPNN
        self.wt = torch.nn.Sequential(torch.nn.Linear(e_size, h_size * 2),
                                      torch.nn.ReLU(),
                                      torch.nn.Linear(h_size * 2, in_channels * out_channels))
        self.mpnn = torch_geometric.nn.NNConv(in_channels, out_channels, self.wt)
        self.m_bn = torch.nn.BatchNorm1d(out_channels)
        self.m_relu = torch.nn.ReLU()
        self.gru = torch.nn.GRU(out_channels, out_channels)
        self.g_bn = torch.nn.BatchNorm1d(out_channels)

        # Weight translation layer
        self.weight_transform = torch.nn.Sequential(torch.nn.Linear(out_channels * 2, h_size * 4),
                                                    torch.nn.BatchNorm1d(h_size * 4),
                                                    torch.nn.ReLU(),
                                                    torch.nn.Linear(h_size * 4, h_size * 2),
                                                    torch.nn.BatchNorm1d(h_size * 2),
                                                    torch.nn.ReLU(),
                                                    torch.nn.Linear(h_size * 2, 1),
                                                    torch.nn.BatchNorm1d(1))

    def reset_parameters(self):

        self.mpnn.reset_parameters()
        self.gru.reset_parameters()

        return

    def forward(self,
               pax_feat,
               dax_feat,
               pax_embed,
               assign_edge_index,
               real_edges_original,
               real_edge_attr,
               n_nodes):
        x = torch.cat((pax_feat, dax_feat), dim=0)
        r_edge_index = torch.cat((real_edges_original,
                                  real_edges_original.index_select(1, torch.LongTensor([1, 0]).to(pax_feat.device))), dim=0).t()
        r_edge_attr = torch.cat((real_edge_attr, real_edge_attr), dim=0).unsqueeze(1)
#         Message passing NN
        for i in range(3):
            m = self.mpnn(x, edge_index=r_edge_index, edge_attr=r_edge_attr)
            m = self.m_bn(m)
            m = self.m_relu(m)
            if i == 0:
                h = m.clone().unsqueeze(0)
            out, h = self.gru(m.unsqueeze(0), h)
            out = out.squeeze(0)
            out = self.g_bn(out)

        # Get embeddings for dummies
        embeds = self.embed(pax_embed)
        # Stack matrices such that [real_pax, dummy_pax, real_dax]
        r_pax = out[:pax_feat.size(0), :]
        r_dax = out[pax_feat.size(0):, :]
        all_feat = torch.cat((out[:pax_feat.size(0), :], self.embed(pax_embed), out[pax_feat.size(0):, :]), dim=0)

        # Construct weight matrix
        node_pairs = torch.cat((all_feat[assign_edge_index[0, :]], all_feat[assign_edge_index[1, :]]), dim=1)
        wts = self.weight_transform(node_pairs)

        wt_mat = torch.zeros((n_nodes * 2, n_nodes * 2), device=pax_feat.device)

        wt_mat[assign_edge_index[0, :], assign_edge_index[1, :]] = wts.view(-1)
        wt_mat = wt_mat[:n_nodes, n_nodes:]
        # LBP
        b_a, b_b = self.sim_lbp(n_nodes, wt_mat, 2)

        return b_b

    def sim_lbp(self, n, wt_mat, n_iter):
        """
        Torch implementation of simplified min-sum algorithm

        :param n: Number of nodes on one side of bipartite graph
        :param wt_mat: Learnable weight matrix
        :param n_iter: Number of iterations of BP message passing
        """
        # Define message vectors
        # Each row belongs to one of the nodes, we have n alpha nodes and n beta nodes
        # For row i and column j, each entry will be the message vector of alpha_i to beta_j, M_{alpha_i -> beta_j} of length n,
        # where each entry of this vector is m_{alpha_i -> beta_j} (q)

        m_alpha_beta_k = torch.zeros((n, n), device=wt_mat.device)
        m_beta_alpha_k = torch.zeros((n, n), device=wt_mat.device)

        # Message initialization
        m_alpha_beta = wt_mat
        m_beta_alpha = wt_mat.t()

        for iter in range(n_iter):
            # Message passing
            for i in range(n):
                m_beta_alpha_k[:, i] = wt_mat[i, :] - torch.max(torch.cat((m_alpha_beta[:i, :], m_alpha_beta[(i+1):, :]), dim=0), dim=0)[0]

                m_alpha_beta_k[:, i] = wt_mat[:, i] - torch.max(torch.cat((m_beta_alpha[:i, :], m_beta_alpha[(i+1):, :]), dim=0), dim=0)[0]

            m_alpha_beta = m_alpha_beta_k
            m_beta_alpha = m_beta_alpha_k

        return m_alpha_beta, m_beta_alpha

Your code looks correct to me. Do you know which line in NNConv produces this error?

Oops sorry, forgot to include that. It fails on the self.mpnn call, during the matmul with weights.

I see. Are you sure that edge_index.size(1) and edge_attr.size(0) match?

Yup, they both are aligned with each other. It's really weird, if my node features are of dim-2, it works. If it's dim-215, it doesn't.

Bah, after really careful reading, just realized one of the methods overwrote a variable that had a similar name, causing the wrong weights being sent. So sorry!

Re-opening this since my piece of code is here. Would like to ask you a question @rusty1s. I implemented the NNConv with a for-loop to represent each layer. This was taken from the torch implementation of MPNN. I was wondering if this implementation is correct to simulate 3 layers of MPNN, or I should be using 3 NNConv modules with their own weight NNs. Is there a key difference in the learning for this?

In general, I feel that using shared MPNNs do not work so well in practice. Its key limitation is that using shared MPNNs do not know in which layer they are operating.
However, we do this in the QM9 experimen since we try to follow the authors experimental setup.  In the end, you should try both variants and see which one performs better.


python310Packages.keystoneauth1: 4.5.0 -> 4.6.0

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

24 packages built:

openstackclient (python39Packages.python-openstackclient)
python310Packages.keystoneauth1
python310Packages.openstacksdk
python310Packages.osc-lib
python310Packages.python-cinderclient
python310Packages.python-glanceclient
python310Packages.python-heatclient
python310Packages.python-ironicclient
python310Packages.python-keystoneclient
python310Packages.python-manilaclient
python310Packages.python-novaclient
python310Packages.python-openstackclient
python310Packages.python-swiftclient
python39Packages.keystoneauth1
python39Packages.openstacksdk
python39Packages.osc-lib
python39Packages.python-cinderclient
python39Packages.python-glanceclient
python39Packages.python-heatclient
python39Packages.python-ironicclient
python39Packages.python-keystoneclient
python39Packages.python-manilaclient
python39Packages.python-novaclient
swiftclient (python39Packages.python-swiftclient)


Added a confirmation button for group deletion

( still waiting on the endpoints for delete & re-name)

Sure thing I'll start doing that from now on.


Where is my lite coin

Dear Sir, From 2018 I didn’t downloaded my application. I have some 307 lite coin but now I recovered my account but there is not my lite coin available in wallets. Kindly help me to recover my lite coin. Please check picture of my lite coin on my wallet.
Attachments: 3DAB0EBC-957B-41CB-AA21-E261488FF648.png(created from Zendesk ticket #3184) gz#3184

Agent comment from Jim Flanagan in Zendesk ticket #3184:Our Devs have found the issue and are working on it. Please be patient and thank you for bringing this issue to our attention. We appreciate your support and always know that your Litecoin is safe on the blockchain and why it is so important to keep your seed phrases in a safe place as your coins are not on the actual wallet or any wallet for that matter but safe and sound on the blockchain.
Jim Flanagan
Litewallet Support
°°°

Resolved and action ongoing: 🕵🏽♀[Post Mortem] Critical: Switchover masked bigger issues 46


Test adding a Peer via InternalTransaction in core.

While trying to debug the JoinPeer test I realised that the checkGossip function in tests was actually not catching a lot of problems. So the tests contained a lot of false positives, especially for CatchUp and FastSync. This is now fixed BUT the JoinPeers test does not pass.


util(ticdc): remove changefeed from context

What problem does this PR solve?

Issue Number: close #9158
What is changed and how it works?
remove changefeed from context
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

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

/test all

/test all


[Bug]: DropdownMenu sub menu trigger removes element focus

Environment
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework<EMAIL_ADDRESS>Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212

Link to minimal reproduction
https://stackblitz.com/edit/zz5ryv2a?file=src%2FApp.vue
Steps to reproduce
Open the dropdown menu and open the sub menu. Once opened, hover the sub trigger.
https://github.com/user-attachments/assets/c10461b3-5dd6-4f60-9f10-79e73ca692a5
Describe the bug
The input loses focus
Expected behavior
The input focus remains
Context & Screenshots (if applicable)
No response

I feel like this is intentional


Controllable 0.11.2 MC 1.12.2

Hello, is it possible that I could use my Xbox one series x controller because not all buttons work correctly

I am having same issue. Is there a way for us to fix ourselves? How can we edit the files to fix this? Currently, it detects as a Xbox360 controller (when it should be a Xbox Series Controller). But I tried to just fix the buttons and cannot as it seems one is pressed down all the time. Any tips on how I can do the work to fix it will be appreciated!

Closing as I no longer maintain the 1.12.2 version.


Add Racecondition tests

Both backend must be tested to handle "parallel" votes correctly: By parallel I mean two vote requests that both first read data and one is faster in writing them. It must be ensured, that the second request behaves as intended (e.g. normal execution, or maybe an error due to the same user, ...).
Must be done for postgres and redis backend.
See https://github.com/OpenSlides/openslides-vote-service/pull/1#issuecomment-829222307

I agree with @jsangmeister and I think racecondition tests for these kind of service should be obligatory.

I had a talk with Sascha and we came to the conclusion, that the current tests are good for this case and that adding test hooks in the code would not help here.


slave not work correctly

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?
4.7.0

2m-2s-async mode
broker-a slave with brokerId=1 ,but log shows broker[0] reigster to nameserver and i can't see slave node in clusterList

What did you expect to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

solved whitespace behind broker-role  o(╥﹏╥)o


[bug]  reading filter error in web3modal latest version

Link to minimal reproducible example
https://github.com/WalletConnect/web3modal-examples/tree/main/web3modal-wagmi-react
Summary
On launching application with new web3modal integrated, this error appears. This error also appears in example provided by walletconnect
https://github.com/WalletConnect/web3modal-examples/tree/main/web3modal-wagmi-react
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'filter')
Call Stack
m.setAccounts
<EMAIL_ADDRESS>(1:5395)
m.loadPersistedSession
<EMAIL_ADDRESS>(1:7723)
async m.initialize
<EMAIL_ADDRESS>(1:6462)
async m.init
<EMAIL_ADDRESS>(1:2284)
async WalletConnectConnector.initProvider_fn
<EMAIL_ADDRESS>(238:16)
List of related npm package versions
"autoprefixer": "10.4.14",
"eslint": "8.43.0",
"eslint-config-next": "13.4.7",
"next": "13.4.7",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.2",
"viem": "^1.2.6",
"wagmi": "^1.3.3"

Just ran that example, unable to replicate. Do you have more details on how you got it? Did you tweak the example in any way?
https://github.com/WalletConnect/web3modal/assets/3154053/06d71dfc-0c40-42d1-be7b-daa2d6a33891

The issue was resolved automatically. I believe it was related to Chrome, as it worked fine when I tried it on Microsoft Edge. However, after that, it also started working on Chrome. Additionally, some of the issues were resolved by installing a slightly older version of Next.js. Since I am unable to reproduce the issue anymore, I will be closing this thread


where to put genesis.json and executor.wasm?

          I am not sure moving this is correct... A lot of other stuff expects to find `executor.wasm` (and `genesis.json`) there. I think this is why some of the consistency and all the integration tests are failing..

Originally posted by @DCNick3 in https://github.com/hyperledger/iroha/pull/4304#discussion_r1495855633

I moved it to the same directory with docker-compose files to reduce confusion.
There are indeed tests relying on these files, but I considered this coupling as secondary, while being docker-compose configurations as primary. If it is not the case, then, imo, there should be dedicated config files for docker-compose configurations not related to tests. Mixing both worlds is slippery.

Mixing both worlds is slippery

I very much agree

not relevant anymore


pythonPackages.django: 1.10.5 -> 1.10.6

It should probably be backported to 16.09 and 17.03.
Motivation for this change
This is a bugfix release.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

will you backport it?

Backported in release-16.09 in c7584d929677aa16d8469314cf2dd6d251985906 and in release-17.03 in 099a2917b07e77a640e5dcb3b913623f41f64e70


[WIP] Generate API Blueprint (retry)

Close #12
WHY
We would like to generate complete API documents automatically.
Now #14 branch is so different from master. Therefore I decided to rewrite this feature from scratch rather than rebasing #14.
WHAT
Implemented a feature to generate documents in API Blueprint.
Documents are generated in docs directory, like below:
|-- docs
    |-- index.apib
    |-- user.apib
    `-- profile.apib

index.apib is the main page of entire document. index.apib has references to other pages, so finally all documents are shown in one page.

:eyes:

Relationship model
# Data Structures
## accountnames (object)

+ id: 1 (number)
+ user_id: 1 (number)
+ user (users)
+ account_name: ACCOUNTNAME (string)

In the above code, relationship model were able successfully generated.
But, Dredd(testing tool) need single apib file, so finally when we use Dredd, we need to combine all files to single file...

Maybe the implementation of relationships #21 .

    + Attributes

        + name: NAME  (string)
        + user ()
        + nation ()
        + nation_id: 1  (number)

blank  structure name
+ user (users)
+ nation (nations)

I have two requests.
Accept-Header
Please add Accept-Header.
## users [/users]

+ Headers

        Accept: application/vnd.{{ .User }}+json

...

## user details [/users/{id}]

+ Headers

        Accept: application/vnd.{{ .User }}+json

fixed option
Please put with the fixed option to attribute under all of the response.
Ex.
+ Response 200 (application/json; charset=utf-8)
    + Attributes (users, fixed)

Accept-Header
Sorry this error occured.

the 'headers' section at this level is deprecated and will be removed in a future, use respective payload header section(s) instead

So please put in this position.
+ Request users (application/json; charset=utf-8)
    + Headers

            Accept: application/vnd.wantedly+json

    + Attributes
        + profile_id: 1 (number)

+ Response 201 (application/json; charset=utf-8)
    + Headers

            Accept: application/vnd.wantedly+json

    + Attributes (users)

[x] Include associated model name
[x] Include Accept header example

We have to discuss whether combining API Blueprint files or not.

From the point of view of readability, I think that there is no problem remains basically split.
Try a little more thought an effective method of testing with Dread.
Sorry not put out distinct answer...

Thank you @shimastripe , I think so too. I wish API Blueprint supported multiple files officially...
Let's discuss next Tuesday.

Now most of API Blueprint features are implemented. It's time to merge.


Fully automate dev setup with Gitpod

This commit implements a fully-automated development setup using Gitpod.io, an
online IDE for GitHub and GitLab that enables Dev-Environments-As-Code.
This makes it easy for anyone to get a ready-to-code workspace for any branch,
issue or pull request almost instantly with a single click.

@krlsdu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


fix: tolerate space when parsing file directory

Partially fix: https://github.com/clinicjs/node-clinic/issues/448

Hi @Eomm thanks for the review.
I tried adding unit test to this but it's not straight forward.
The best I can think of is to test chile_process.spawn()  to see if it accepts double quotes, but it obeys the point of unit testing, i.e. it it not testing tool.collect() in this project but other outside modules.

@RafaelGSS

It's better to do it directly on .spawn
Thanks. I'll add the unit test.

what's missing?
Since this PR only aims fixing the space issue, but looks like the ECONNREFUSED is not an issue of this repo.

Also, windows stripped out \ in the directory. Will fix that as well.

I messed up with my email config in previous commits. Had to squashed the commits.
I understand that might cause some difficulty to review the changes, but please have another look. CI should be happy now.

@RafaelGSS Do you think this can be merged?


llegal value to be added to the service's tags '/'

org.springframework.cloud.discovery.ConsulLifecyle#createTags() has a bug that prevents the '/' character from being replaced which causes an illegal value to be added to the service's tags.
The servletContext.getContextPath().replaceAll("/", "") will return an updated value if the context path contains any '/' characters, but this updated value is not the value that is being added to the List of "tags".
Here is the 1.0.0.M4 version:
private List<String> createTags() {
	List<String> tags = new LinkedList<>(properties.getTags());
	if(servletContext != null
			&& StringUtils.hasText(servletContext.getContextPath())
			&& StringUtils.hasText(servletContext.getContextPath().replaceAll("/", ""))) {
		tags.add("contextPath=" + servletContext.getContextPath());
	}
	return tags;
}

Here is a corrected version...
private List<String> createTags() {
	List<String> tags = new LinkedList<>(properties.getTags());
	if (servletContext != null) {
		String contextPath =  servletContext.getContextPath();
		if (StringUtils.hasText(contextPath)) {
			contextPath = contextPath.replaceAll("/", "");
			if (StringUtils.hasText(contextPath)) {
				tags.add("contextPath=" + contextPath);
			}
		}
	}
	return tags;
}

So the real problem is / is not allowed in consul tags?

Yes, that is what I  have observed.
I have an application.yml that specifies a server.contextPath of “/configuration” which is being added by ConsulLifecycle#createTags(). It appears that the intent of createTags() was to strip out ‘/’ characters from the context path, but the updated value is not being added as a tag.
application.yml
server:
contextPath: /configuration
logging:
level:
com:
sas:
configuration: DEBUG
bootstrap.yml
spring:
application:
name: configuration
cloud:
consul:
config:
enabled: true
discovery:
enabled: true
healthCheckInterval: 60s
preferIpAddress: false
tags:
- proxy
enabled: true
The following WARNing is observed in the consul log.
2015/12/02 10:21:49 [WARN] Service tag "contextPath=/configuration" will not be discoverable via DNS due to invalid characters. Valid characters include all alpha-numerics
dashes.
2015/12/02 10:21:49 [INFO] agent: Synced service 'configuration:8080'
2015/12/02 10:22:42 [WARN] agent: check 'service:configuration:8080' is now critical
From: Spencer Gibb<EMAIL_ADDRESS>Sent: Wednesday, December 02, 2015 10:18 AM
To: spring-cloud/spring-cloud-consul
Cc: Douglas Melzer
Subject: Re: [spring-cloud-consul] llegal value to be added to the service's tags '/' (#118)
So the real problem is / is not allowed in consul tags?
—
Reply to this email directly or view it on GitHubhttps://github.com/spring-cloud/spring-cloud-consul/issues/118#issuecomment-161329467.

Yes, that seems to be the author's intent.
I have an application.yml that specifies a server.contextPath of “/configuration” which is being added by ConsulLifecycle#createTags(). It appears that the intent of createTags() was to strip out ‘/’ characters from the context path, but the updated value is not being added as a tag.
application.yml
server:
contextPath: /configuration
logging:
level:
com:
sas:
configuration: DEBUG
bootstrap.yml
spring:
application:
name: configuration
cloud:
consul:
config:
enabled: true
discovery:
enabled: true
healthCheckInterval: 60s
preferIpAddress: false
tags:
- proxy
enabled: true
The following WARNing is observed in the consul log.
2015/12/02 10:21:49 [WARN] Service tag "contextPath=/configuration" will not be discoverable via DNS due to invalid characters. Valid characters include all alpha-numerics
dashes.
2015/12/02 10:21:49 [INFO] agent: Synced service 'configuration:8080'
2015/12/02 10:22:42 [WARN] agent: check 'service:configuration:8080' is now critical

The reason for the check for / was to not include a context that was just /.

Regarding the WARNing message that appears in the Consul log
2015/12/02 10:21:49 [WARN] Service tag "contextPath=/configuration" will not be discoverable via DNS due to invalid characters. Valid characters include all alpha-numerics
dashes.
Is it valid for ConsulLifecyle#createTags() to create a tag that contains an '=' character?

It is just a warning. Not sure how tags would be looked up in DNS, but having non-dns characters prevents it.

OK, thanks for your comments.
From: Spencer Gibb<EMAIL_ADDRESS>Sent: Wednesday, December 02, 2015 2:23 PM
To: spring-cloud/spring-cloud-consul
Cc: Douglas Melzer
Subject: Re: [spring-cloud-consul] llegal value to be added to the service's tags '/' (#118)
It is just a warning. Not sure how tags would be looked up in DNS, but having non-dns characters prevents it.
—
Reply to this email directly or view it on GitHubhttps://github.com/spring-cloud/spring-cloud-consul/issues/118#issuecomment-161404876.


fixing the confirm password issue

When a user skips the confirm password field no error message shows up . This should validate for if there is input in the confirm field before new password submission.

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

@ahmedaabouzied thanks a lot for your interest in contributing, but looks like this is untested code, and has been made as a patch from GitHub web interface.
I would like to give some feedback, but unfortunately, it would not be possible to add them to your them via the GitHub web interface.
I am closing this, but do not be disappointed, please follow the Guidelines for Contributing.
Get a copy of the repo working locally and once you are ready feel free to make the PR.
As always please connect to Contributors Chat room, for any guidance.


my nextjs

How to use my nextjs project? It seems like I didn't understand after reading the instructions. Can you provide a tutorial on how to use nextjs

@pengxinseo sure, I'm glad to help, can you please show me some code? Or at least try to describe how the page is structured and where you want to apply ScrollSpy, so I know what you want.

------------------ 原始邮件 ------------------
发件人: "Zsolt @.>;
发送时间: 2024年4月19日(星期五) 晚上9:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [toviszsolt/react-scrollspy] my nextjs  (Issue #9)
@pengxinseo sure, I'm glad to help, can you please show me some code? Or at least try to describe how the page is structured and where you want to apply ScrollSpy, so I know what you want.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

We solved this on Telegram.
If you have any other issue please create a new ticket.


"Total Items" for saved search is 2 higher than actual number of items

e.g., doing a blank search in the eastasian exhibit shows 203 items:
https://dpul.princeton.edu/eastasian/catalog?utf8=✓&exhibit_id=eastasian&search_field=all_fields&q=
But saving that search show an item count of 205:
https://dpul.princeton.edu/eastasian/browse/all-exhibit-items

Also, the appropriate total is found within the Solr response body, hence this might be related to a persisted Search Model method failing to retrieve the correct number of Documents: https://dpul.princeton.edu/eastasian/browse/all-exhibit-items.json


fix set Unknown column stats for A[x] in MV derived stats, where A is a variant column.

Proposed changes
mv derived stats contains variant column A, but not A[x]. if the mv is chose and optimizer use derived stats for this mv, we should attach all A[x] to unknown column stats to avoid stats NPE
mv derived stats
Issue Number: close #xxx

run buildall

run buildall

run buildall


Provide total statistics metrics

It would be great, if the exporter also provides metrics that represent the statistics from the UI:

Total count of documents/documents that are marked as new/characters
Statistics about file extensions

I had a quick look at what's necessary/possible. Statistics aren't part of the documented REST API.

"Documents in inbox" needs the "inbox" flag from tags to be exported, then it can be reproduced in PromQL (sum(paperless_tag_document_count) filtered by inbox flag).

"Total documents" is possible via the API. Either by iterating (see below) or requesting /api/documents/ which has the total count (currently not implemented by the client code.

"Character count" would require iterating over all documents. The underlying implementation for the statistics is a single SQL query summing the character count from all documents. Depending on the scrape interval and document count the metric would be rather expensive. Would have to be behind a flag.

The break-down by document type is also a single SQL query grouping by MIME type. Would require document iteration as well. Not sure how useful the break-down is in metrics.

Implementation:

Web UI
Internal, undocumented API

The "inbox" tag flag is reported as a metric with https://github.com/hansmi/prometheus-paperless-exporter/commit/df7648d9810e3f2d4eddb59a92f5a569af570d7a.
"Total documents" will/would require changes to the underlying Paperless-ngx client library. @jan-di, do you have a usecase other than "it would be great"?

No, actually not. Its just for measuring growth as I thought its just an API that can be piped through to metrics.
If its that much work, its not worth it.
I'm instead thinking of providing a docs MR to paperless, maybe the statistics API is already official but just not documented. If its assured that it is stable, this would make this issue much easier.


html/template: ambiguous errors when style tag is not closed

What version of Go are you using (go version)?

$ go version
go version go1.11.3 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/george/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/george/.go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/george/tmp/resume/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build336466026=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Ran the following program: https://play.golang.org/p/BtMWAAxnb3o
What did you expect to see?
Program not returning an error, or at least an error informing that the style tag was not closed.
What did you see instead?
html/template:test:11:17: {{.}} appears in an ambiguous context within a URL

I looked into this and it is more than just ambiguous errors. It seems to be a bug that confuses the escaper into thinking that it is inside a tag and not in CSS state.
This code:
	t := template.Must(template.New("base").Parse(``))

	err := t.Execute(os.Stdout, "{")

Produces:

I'll look into this and try to find the root cause.
@mikesamuel how should we escape HTML stuff inside a .

The double quotes start a URL context.
The ':' and '?' indicates the end of a protocol / start of a query respectively

I'm unsure why %7b is inappropriate in a URL context which the CSS escaping assumes for quoted strings even though it's not super appropriate for selector:after { font-family: "{{.}}"; content: "{{.}}" }.
The "extra trailing space" is necessary for CSS escaping when you don't know the next character.
CSS allows a space:

EXAMPLE 3: An identifier with the value "&B" could be written as \26 B or \000026B.

how should we escape HTML stuff inside a

Thanks @mikesamuel for the response.
I dug a little bit more into this.
About the error
The state of the parser when the reported error is returned is:
{stateCSSDqStr delimNone urlPartUnknown jsCtxRegexp attrNone elementStyle <nil>}
                         ^^^^^^^^^^^^^^

This is why the error is {{.}} appears in an ambiguous context within a URL. This happens before the end of the template is reached, so I don't think we could easily give better error messages here. We never see the unclosed


FEATURE Request : SWS track notes need to be duplicated with their tracks (or maybe simply as an option)

Hello :).
I would need to have a way to duplicate tracks with their notes. The Reaper classic "duplicate tracks" action doesn't duplicate the notes, and it would be super important for me to have notes duplicated, because I use notes to trigger certain functions via a script. To be honest that's a bummer :(. Notes have the potential not only to write lyrics, or mix critics, but also be used as conditions inside scripts.
Now I understand that for everyday use, you might not want notes to be duplicated with tracks, but maybe we could have an option ? Or maybe you could come up with a new SWS action that duplicate selected tracks also with their notes ?
I would deeply appreciate if you'd consider this feature request :). Thank you very much !
xxxxxxxxxxxxxxxxxxxxx
Louis

SWS notes are not duplicated because they are stored separately from the tracks in the project. Since v5.975 REAPER has a way for extensions and scripts to store per-track data that would make this cleanly possible. However switching to using it would require quite the overhaul...
Here's a script that duplicates tracks preserving SWS notes:
local notes = {}
for i = 0, reaper.CountSelectedTracks(nil) - 1 do
  local track = reaper.GetSelectedTrack(nil, i)
  table.insert(notes, reaper.NF_GetSWSTrackNotes(track))
end

reaper.Main_OnCommand(40062, 0) -- Track: Duplicate tracks

for i = 0, reaper.CountSelectedTracks(nil) - 1 do
  local track = reaper.GetSelectedTrack(nil, i)
  reaper.NF_SetSWSTrackNotes(track, notes[i + 1])
end

Oh man... I don't know what to say at this point... You're amazing <3... I really needed this :). Thank you so so much Cfillion :) !!!

Cfillion came up with a script in LESS THAN 12 MINUTES PEOPLE !!!!!!!!!!

L.E.G.E.N.D 🥇
xxxxxxxxxxxxxx


Pod Identity support for mountpoint-s3-csi-driver

/feature
Is your feature request related to a problem? Please describe.
Error: "aws-mountpoint-s3-csi-driver" addon does not support pod identity associations; use IRSA config (addon.serviceAccountRoleARN, addon.attachPolicyARNs, addon.attachPolicy or addon.wellKnownPolicies) instead
Describe the solution you'd like in detail
Pod Identity support for mountpoint-s3-csi-driver
Additional context
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
  name: cluster-name
  region: eu-west-1

addons:
- name: aws-mountpoint-s3-csi-driver
  podIdentityAssociations:
  - serviceAccountName: s3-csi-driver-sa
    namespace: kube-system
    permissionPolicyARNs: ["arn:aws:iam::111111111111111111:policy/AmazonS3CSIDriverPolicy"]

Thanks for opening this feature request!
I don't have any information to share right now but I can see why leveraging EKS's new Pod Identity feature with Mountpoint CSI Driver would be beneficial. I'll share this with the team.

Has there been any more thought on this? I'd be very interested in supporting pod identity as I had disabled IRSA as we had configuration issues with it

Thanks for your interest in this feature. We don’t have any more information to share right now on supporting EKS Pod Identity, though you can upvote with 👍 to help us see what's needed most.

@muddyfish I was curious if there were developments on this issue as it's been a few months since the last update?

We still don't have additional updates to share supporting EKS Pod Identity right now. I understand that it's easier to configure than IRSA and requires lower IAM scope. Are there any additional needs for this feature?

From my understanding, this only requires using a version of AWS SDK with pod identity supported in the credential chain. Is there something else preventing this from being an easy fix?

Hey @tvandinther, we haven't looked into implementation details of this feature. Please consider adding 👍 on the original issue to help us with the prioritization of this feature.


feat: Do not install RHSSO OOTB for default Argo CD instance

What type of PR is this?

/kind enhancement

What does this PR do / why we need it:
Do not install RHSSO OOTB for default Argo CD instance. This PR merely removes the code that installs RHSSO OOTB for default Argo CD instance.
Have you updated the necessary documentation?

[x] Documentation update is required by this PR.
[x] Documentation has been updated.
Internal docs updated, This document will be used as reference to update the OpenShift Docs.
https://docs.google.com/document/d/1vyWQIumR8dFAKf_DNuNkLXdMP4pgLLM2nEpe_CPSyXI/edit?ts=60d9c4c2#

Which issue(s) this PR fixes:
#159
Fixes #?
#159
Test acceptance criteria:

[x] Unit Test
[x] E2E Test

How to test changes / Special notes to the reviewer:

Run the operator locally using operator-sdk run local
Run oc get pods -n openshift-gitops to ensure that no Keycloak pods are deployed.

/retest

/lgtm

/test v4.7-e2e

/retest

/retest


Create er9

The high school has AP Computer Science and AP Programming

@SpACCee Hi,
According to WHOIS data, this domain is registered for:
Registrant Name: PERFECT PRIVACY, LLC
Registrant Street: 12808 Gran Bay Parkway West
Registrant City: Jacksonville
Registrant State/Province: FL

The website with the address er9.org does not exist.
This is why we need additional information about the school.
Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

Website:
http://www.joelbarlowps.org/pages/jbhs
Proof that they offer a year-long AP computer science course:
http://www.joelbarlowps.org/files/_0XBSM_/79f2494f6ecf31c43745a49013852ec4/AP_Computer_Science-6831_r4.pdf
College board saying that the AP computer science course should be a year long:
https://advancesinap.collegeboard.org/stem/computer-science-principles/faq
Staff directory showing that the staff have er9.org as the domain:
http://www.joelbarlowps.org/pages/jbhs/Special_Education/Staff

@SpACCee I am sorry for a delay with processing your request. Pull request merged. Thank you!


⚠ Bofrost.es has degraded performance

In 4510393, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1788 ms

Resolved: Bofrost.es performance has improved in 3296ccb after 6 minutes.


error openning linux appimage

Hello,
I have an error when opening the linux "appimage", I can't open it I don't know where it comes from...
Can someone help me ?

You can try to delete the /home/kidnz/.config folder and try again. If you had previous versions of firefly, the users configs need to be cleared.
Please make sure that the sha256 checksum of the Appimage file matches your download.

Closing issue due to inactivity. Please reopen if needed


Testing Improvements

WIP
This document is intended to track tests we need to add to various components in Ionic.
Interactive Tests
Action Sheet

[ ] Ensure all events are being emitted correctly ('ionActionSheetWillDismiss', etc)

Alert

[ ] Ensure all events are being emitted correctly ('ionAlertWillDismiss', etc)

Button

[ ] Ensure all events are being emitted correctly ('ionFocus', etc)
[ ] Ensure disabled buttons are not clickable/cannot receive tab focus

Checkbox

[ ] Ensure all events are being emitted correctly ('ionChange', etc)

Content

[ ] Ensure all events are being emitted correctly ('ionScroll', etc)

Searchbar

[ ] Ensure all events are being emitted correctly (ionInput, ionChange, etc)

DateTime

[ ] Changing selected values refreshes available values when max and min are set (be sure to specifically check this case when switching AM/PM)
[ ] Ensure all events are being emitted correctly ('ionCancel', 'ionFocus', etc)

Infinite Scroll

[ ] Check that ionInfinite is fired when enabled
[ ] Check that ionInfinite is not fired when disabled
[ ] Check that ionInfinite is fired when setting both % and px thresholds

Visual Tests
Button

[ ] Add default, activated, focused, activated-focused states for buttons styled using CSS variables (not color="dark"). This should be done for clear, outlined, and filled buttons
[ ] Add default, activated, focused, activated-focused states for buttons in a toolbar. Include default buttons and buttons styled using color= and CSS variables

Chip

[ ] Add chips styled with CSS Variables

FAB

[ ] Add default, activated, focused, activated-focused states for FAB buttons styled using CSS variables (not color="dark"). Be sure to include translucent tests

I think we should add a desktop sized screenshot test that switches through the themes for the css-variables theming test at ionic/core/src/themes/test/css-variables/index.html


FEATURE REQUEST: NetworkImage should accept different protocols

NetworkImage uses HTTP and accepts a url String, what if I want to use another protocol like gRPC?
Should I rewrite the class? (BAD)

@zoechi
I am misled by the class's name,
NetworkImage could be HTTPImage.
Also it is not said if NetworkImage supports HTTP/2 or not.
NetworkImage should be flexible enough to support multiple protocols, but HTTPImage sticks to one protocol.

To support gRPC I have to extend ImageProvider.

@zoechi So should I change the title to: "NetworkImage should be HTTPImage"?

I think you can leave it.
I think the issue is clear and the Flutter team will figure out how they want to address this.


Can only play audio via Spotifyd (can't use librespot to create a device)

Describe the bug
I've been trying to get to play audio via the terminal using the spotify-player AUR binary but I can't seem to find the spotify-player device in the devices tab. I already added my own client_id so I can control the music if it's playing in another device, hence, I've been using the spotifyd daemon to make it work.
Not sure if I'm missing something or it should work out of the box. I've already re-read the config.md but it still doesn't work. Maybe the streaming tab could help but I already downloaded librespot directly from the AUR and it's the same.
Expected behaviour
Play audio via the spotify-player device in spotify connect.
Screenshots
If spotifyd isn't on, this is what it shows.

Environment

OS: ArchLinux
Application version: 0.18.2
Application features: pulseaudio-backend

Maybe related to https://github.com/aome510/spotify-player/issues/463

Not sure if I'm missing something or it should work out of the box

It should work out of the box. Can you share logs/backtraces  if applicable?
Tbf, it's difficult for me to debug this kind of streaming issue because I cannot reproduce the error on my end. Normally, it happened because of some broken/missing system dependencies and is specific to each user's environment.
I would suggest you try other audio backends as described in https://github.com/aome510/spotify-player?tab=readme-ov-file#audio-backend to find one that works

Note that spotifyd and spotify_player use the same library to handle streaming, so it's very weird that one works but another doesn't. What audio backend does spotifyd use?

Note that spotifyd and spotify_player use the same library to handle streaming, so it's very weird that one works but another doesn't. What audio backend does spotifyd use?

do you mind showing me how to check for the spotifyd backend?

It should work out of the box. Can you share logs/backtraces  if applicable?

This is it. I don't think there's anything memorable since the first line is the config and it only shows the that there was no playback device available.

I would suggest you try other audio backends as described in https://github.com/aome510/spotify-player?tab=readme-ov-file#audio-backend to find one that works

i'll try the one spotifyd says

Note that spotifyd and spotify_player use the same library to handle streaming, so it's very weird that one works but another doesn't. What audio backend does spotifyd use?

i just checked. spotifyd uses pulseaudio so there must be something i did wrong. do you recommend uninstalling and reinstalling? if so, should I do it via cargo or aur?

if so, should I do it via cargo or aur?

Did it work with aur before with the rodio backend? Otherwise, you can try to install with default features from cargo with cargo install spotify_player.
The linked log looks wrong to me. There should be a step to initialize the integrated player after getting token, for example:
2024-07-08T02:39:20.664290Z  INFO spotify_player::token: Got new token: Token { access_token: "$TOKEN", expires_in: TimeDelta { secs: 3600, nanos: 0 }, expires_at: Some(2024-07-08T03:39:20.664253Z), refresh_token: None, scopes: {} }
2024-07-08T02:39:20.665227Z  INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, initial_volume: Some(45875), has_volume_ctrl: true, autoplay: false }
2024-07-08T02:39:20.666979Z  INFO spotify_player::streaming: Initializing a new integrated player with device_id=4853b9db-96c0-4278-b8e1-bf686f3dd22a
2024-07-08T02:39:20.667182Z  INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol

Look like the app is run w/o any audio device 🤔 . Can you try re-install?

Also, can you make sure that the correct binary with correct set of features is run? From the above log, it seems that you run the binary installed by cargo install spotify_player --no-default-features

Also, can you make sure that the correct binary with correct set of features is run? From the above log, it seems that you run the binary installed by cargo install spotify_player --no-default-features

okay, i removed everything and redownloaded using cargo install spotify_player --no-default-features --features pulseaudio-backend but I'm stuck with a cargo problem. I'm getting this error warning: be sure to add /home/alejandro/.cargo/bin to your PATH to be able to run the installed binaries and I'm not quite sure how to fix it. I'm a noob with bash stuff.

Oh it's not an error but just a warning, so that you can run the downloaded binary. You can update $PATH by adding export PATH="$HOME/.cargo/bin:$PATH" to your .zshrc. You should also be able to run the binary directly with /home/alejandro/.cargo/bin/spotify_player

Oh it's not an error but just a warning, so that you can run the downloaded binary with spotify_player. You can update $PATH by adding export PATH="$HOME/.cargo/bin:$PATH" to your .zshrc. You should also be able to run the binary directly with ./home/alejandro/.cargo/bin/spotify_player

Fixed it! I added that to .zshrc, relogged and it worked. Thanks!!


ip2tor bridge subscription stopped working - Host:<IP_ADDRESS> (eu-fra1 - Owner:fulmo)

I am able to access BTCPay Server from local address and from the tor hidden service address, but it is no longer accessible through the ip2tor subscription address. I'm not sure when it stopped working, but checked today and it's not working.
My state of subscription is ACTIVE through Host:<IP_ADDRESS> (eu-fra1 - Owner:fulmo)

@frennkie can you see any outages on that host?

I would need to know the bridge id/port. I would advise not to post the full port/id here. Can you give me the first 4-5 digits/chars from ./config.scripts/blitz.subscriptions.ip2tor.py subscriptions-list | grep id?
admin@raspberrypi:~ $ ./config.scripts/blitz.subscriptions.ip2tor.py subscriptions-list | grep id
    "id": "23fc2xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",

Here is first 5 of id: fdff5
I'm not sure if you did anything, but I just checked this morning and it actually looks like it's working again.

I get stuck by paying for  IP2TOR Bridge for LND REST API.
I get the shop address: fulmo7x6yvgz6zs2b2ptduvzwevxmizhq23klkenslt5drxx2physlqd.onion
but it ends up with an error when the loop finish:
#### Placeing order ...
# apiPlaceOrderNew
#### Waiting until invoice is available ...
# Loop 1
# apiGetOrder
....

iam not sure if a can post the whole error log!?
###### ERROR DETAIL FOR DEBUG #######

Error Short:
timeout on getting invoice
Shop:
fulmo7x6yvgz6zs2b2ptduvzwevxmizhq23klkenslt5drxx2physlqd.onion
Bridge:
{'id': 'b85e18dc-6aa3-4a89-a1ad-d5fbf6036225', 'site': 'ip2tor.fulmo.org', 'created_at': '2020-07-27T09:36:43Z', 'modified_at': '2020-12-24T10:40:48Z', 'ip': '<IP_ADDRESS>', 'is_enabled': True, 'is_alive': True, 'name': 'nam-tor1', 'is_testnet': False, 'offers_tor_bridges': True, 'tor_bridge_duration': 86400, 'tor_bridge_price_initial': 48000, 'tor_bridge_price_extension': 40000, 'offers_rssh_tunnels': False, 'rssh_tunnel_price': 1000, 'terms_of_service': '-', 'terms_of_service_url': '-', 'ci_date': '2020-12-24T10:40:48Z', 'ci_message': '', 'ci_status': 0, 'owner': 4, 'tor_bridge_duration_hours': 24, 'tor_bridge_price_initial_sats': 48, 'tor_bridge_price_extension_sats': 40}

the subscription for LNbits Tor Bridge was working fine after a few try's.
did I miss a step, to get a invoice?

@diskbuster No, you did not miss anything. The problem is caused by issues on the backend. Unfortunately the virtual machine host frequently has performance issues. We are planning to move to another system soon.
For now just retry it (I fixed the expired TLS (which should have no impace) and changed to a different LN Node).

@frennkie thanks, thats good to know. I really need to access my node thru ssl to make my first steps with Webintegration.
Is there a alternative option to get this done in a sensible effort?

I don't understand your question/issue. You should absolutely not use IP2Tor for a connection that is not itself encrypted! Therefore IP2Tor e.g. checks whether you are trying to use a HTTP (instead of HTTPS) service.
The reason for this is that the IP2Tor bridge host sees all traffic before it enters the (in itself encrypted) Tor network. This "first leg" between your browser and the IP2Tor bridge host is the problem here.
So if you service is HTTP then you need to put it behind HTTPS (e.g. use Nginx as a reverse proxy).

yes, for sure I need an letsencrypt certificate. for that I was now able to activate the LND-REST API TOR2IP Bridge.
then I have the option to add a ssl therefore.
unfortunately I can subscribe only to one certificate - I have that already for LNbits.
I think i have to figure out what's best for my next steps. going further with LNbits or deeper into Rest Api.

Hi @frennkie
my IP2TOR subscription says "Exception on Renew: timeout on getting invoice". My LND was locked a few days. I unlocked last week and would expect it to recover, but had no deductions in the last days (hence not working).
Service: eu-fra1
TOR: uphwrrap4zw.....
I don't know how to force a recovery.
Additionally, what is the best option to get an alert, if Raspi/LNBits not reachable?
would you have a look? Thanks

Wow... Embarrassing... The TLS certificate on my Raspiblitz was expired.. 🙄. Should work again.

Thanks, its working 👍

@grnqrtr Please close this.


build cleanup commands for tokens and config

Added tokens command to: list tokens, remove tokens
Added command to reset granted config (remove .granted folder items and clear environment variables)

@meyerjrr
There is a way that you can make 2 column text work well in the select prompt


Support multi-guild operation

Is your feature request related to a problem? Please describe.
Current the bot does not support multi-guild operations.
Describe the solution you'd like

Channel permissions should be saved on a per guild basis.
Channel permissions should be viewed on a per guild basis.
Messages should be saved on a per guild basis.
Users should be able to opt-in and opt-out on a per guild basis.
Statistics should be calculated and displayed on a per guild basis.
Generally, it should not be possible for data cross contamination between guilds.

Additional context
Commits can be prefixed with [db] for database related commits (updating schema, updating JOOQ files, updating repository classes) and [command] for command based commits.

Closed, implemented.


Fix Missing darkmode Store Import

CHANGELOG

Fixed the following Stores / Store Features

darkmode

Fixed missing import to readable from svelte/store which would cause darkmode to throw an exception on SSR.

Fixes #120


adjust GUI for single-database use

Since in practice SCWAL is used with only a single database on a given host, make the following adjustments to the GUI:

Move list of other databases (if present) to down below query input (text area).
Move list of tables to left sidebar.

Resolved with commit b057cc8e58ba4ddd0e73f843cf003651d68f167e.


Add idiomatic causal fusion example

Paper: Causal Inference and the Data Fusion Problem

@djinnome , any interest in taking this on?


RPC sendTransaction: be more liberal in determining and setting last_valid_block_height for skip_preflight case

Problem
Transactions submitted to RPC sendTransaction with skipPreflight: true frequently aren't retried by the SendTransactionService (STS). This happens when the transaction's recent blockhash is newer than the RPC node's finalized bank, because unless preflightCommitment is speficied, the RPC handler uses the default finalized bank to find a last_valid_block_height to provide to the STS. If the blockhash cannot be found (as when too new), last_valid_block_height is set to 0, and the STS only broadcasts the transaction once.
Summary of Changes

If skip_preflight is set, use the processed commitment Bank to search for the recent blockhash.
If the last_valid_block_height still cannot be determined, use the durable-nonce logic to retry the transaction for an arbitrary, fixed number of blocks (skip_preflight being an indication that a client wants their transactions to be sprayed around regardless of likelihood of success).

Fixes #479

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.8%. Comparing base (e261e27) to head (213ec56).

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #483     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%
=========================================
  Files         842      842
  Lines      228436   228439      +3
=========================================
- Hits       187063   187053     -10
- Misses      41373    41386     +13

I put up a PR for the JavaScript clients that does what this PR is doing, but from the client side. Until this PR is deployed widely, the client-side patch should help those who choose to upgrade. https://github.com/solana-labs/solana-web3.js/pull/2415

Has there been a discussion about backporting this to 1.17 and 1.18? It seems like it's a small fix that would be really useful to RPCs

Has there been a discussion about backporting this to 1.17 and 1.18? It seems like it's a small fix that would be really useful to RPCs

Not much discussion, no. In my opinion, this isn't so much a bug fix, per se, as it is extending how and when SendTransactionService retries transactions.
It does make some very counter-intuitive behavior more in line with user expectations, though. Given that, and the lack of risk to the cluster, I will propose this for v1.18 backport.


[Improvement-13570][Resource Center] Code clean up for old resource

Purpose of the pull request

This PR closes https://github.com/apache/dolphinscheduler/issues/13570
Mainly do some code cleanup.

Brief change log

Remove authorization of resource and udf in Security Center.
Remove use of ResourceMapper.
Remove code for compatibility with old resource.

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Hi, @caishunfeng , i modify code logic in StreamTaskExecuteRunnable.getResourceFullNames which keep the same with implementation of getResourceFullNames in TaskExecutionContextFactory, would you like to help check whether there's something wrong?

Codecov Report

Merging #14074 (d954050) into dev (f1e7862) will decrease coverage by 0.04%.
The diff coverage is 7.69%.

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

@@             Coverage Diff              @@
##                dev   #14074      +/-   ##
============================================
- Coverage     38.41%   38.37%   -0.04%
+ Complexity     4476     4435      -41
============================================
  Files          1228     1227       -1
  Lines         42733    42243     -490
  Branches       4727     4633      -94
============================================
- Hits          16417    16212     -205
+ Misses        24504    24252     -252
+ Partials       1812     1779      -33

Impacted Files
Coverage Δ

...nscheduler/api/controller/ResourcesController.java
50.00% <ø> (-3.71%)
:arrow_down:

...duler/api/controller/TaskDefinitionController.java
3.12% <ø> (+0.26%)
:arrow_up:

...lphinscheduler/api/controller/UsersController.java
51.78% <ø> (-3.22%)
:arrow_down:

...permission/ResourcePermissionCheckServiceImpl.java
99.13% <ø> (+0.67%)
:arrow_up:

...heduler/api/service/impl/ResourcesServiceImpl.java
44.15% <ø> (+0.45%)
:arrow_up:

...er/api/service/impl/TaskDefinitionServiceImpl.java
43.75% <ø> (-0.30%)
:arrow_down:

...scheduler/api/service/impl/UdfFuncServiceImpl.java
67.25% <ø> (ø)

...inscheduler/api/service/impl/UsersServiceImpl.java
72.19% <ø> (+1.40%)
:arrow_up:

...erver/master/runner/StreamTaskExecuteRunnable.java
0.00% <0.00%> (ø)

...er/runner/execute/TaskExecutionContextFactory.java
0.00% <0.00%> (ø)

... and 1 more

... and 39 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement base class BaseRandom (c++20)

On branch dev-cpp20. Let's take benefit of code implemented for c++11.

Completed; Tested.


[zh] fix document description problem

Perhaps EndpointSlices should be used as a noun and should not be translated separately.
service-networking/service/#endpointslice

I signed it

I signed it

Thanks.
/lgtm
/approve


Goodbye message

Based on #317
When a new connection established, we "login" by sending an Init/Hello message.
When closing a connection, we "logout" by sending a Goodbye message.
Any error happened when sending Goodbye message will not be surfaced but only logged on debug level.

See https://github.com/neo4j/neo4j-dotnet-driver/pull/321


Ability to import funders wallet?

Hello, just wondering whether or not its possible to "import" my funders wallet? I would like to not lose my delegate status with the delgate i've choosen.

Unfortunately this is not possible.