Cabana: Fix >1 hour route time displaying

For routes >1 hour, time is displayed incorrectly, since QT uses the timezone. If you instead specify UTC, it works correctly.
Example: c2585539cc5ebcb3|2023-07-29--07-37-37
Before:

After:

fromTime_t is also deprecated
https://doc.qt.io/qt-5/qdatetime-obsolete.html


Add support for routes with loop

Currently, no detailed route analysis is performed for routes that are a loop or contain a loop (where part of the route is re-using the same ways to get back to that start of the route). The route is marked with RouteOverlappingWays and no further analysis is performed.
Example routes: 32-32 and 28-28.
It would be good if the analysis logic could recognize this situation and not issue a fact for this.
Reported by A67-A67 (thanks!).

Got this issue with Belvédère Edgar Faure.

Or the tour of a tower : Sous la Tour Ronde.

They were temporary solved by adding an artificial Node 😢

Route ? - Les Malrochers

Route Monnet la Ville

Related to #114 ?

Route 75-75

As far as I remember, I have successfully dealt with three loops "with a stem" in France. By "stem" I mean a path or series of paths that start from a node and lead to where the loop starts and ends. In my understanding, it is by duplicating the way or ways at the beginning and the end of the relation, with roles 'forward' and 'backward', that Knooppuntnet stopped complaining.

Stem example solved by @StC-OSM : Route ?-?
The "stem" is way "1 — 2".


Bank tag tab closes when changing the "Withdraw as" mode after selecting said tag tab from any non-main bank tab

Describe the bug
In certain circumstances, changing the "Withdraw as" mode with a tag tab active closes the tag tab view and restores the bank tab view instead.
To Reproduce
Steps to reproduce the behavior:

Enter your bank
Select any tab which is not the main tab
Select any tag tab
Change your "Withdraw as" mode

Expected behavior
The tag tab should remain active as it does when changing your "Rearrange mode" or any other bank settings.
Additional information
This behavior seems to be intermittent, though it has been reported on both release and master. Whatever behavior you see (whether the intended or bugged behavior) seems to persist until a client restart.

Are those steps right?

Based on some Discord discussion, this seems to be intermittent. I was more frequently able to reproduce this on master, but have experienced it on release as well.


[User Management] Feature GAP in IS-7 Alpha and cloud

Is your suggestion a test requirement/change or improvements of the test framework? Please describe.
Required to  conduct  verification on identified Feature GAP in IS-7 Alpha and Asgardeo in User Management.
Describe the solution you would prefer
Document : https://docs.google.com/spreadsheets/d/128CteZXJ2nlQb4mpS20iUgxuqTCSUligqpV3YxN8FJE/edit#gid=1525835397
Optional Fields
Additional context

Related Issues:

This is complete with the effort https://github.com/wso2/product-is/issues/18347#issuecomment-1837312990. Hence closing the issue.


Please restore project engine - error

buildCoreClr.ps1 throws following error
Please restore project Engine
At C:\Users\mdalmeid\downloads\PSScriptAnalyzer-development\PSScriptAnalyzer-development\buildCoreClr.ps1:56 char:9
+         throw "Please restore project Engine"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Please restore project Engine:String) [], RuntimeException
    + FullyQualifiedErrorId : Please restore project Engine

I was able to fix this issue.
Follow the following steps:

Download and Install Package Management from here.
Then run Poweshell as admin and run the following command
Install-Module -Name PSScriptAnalyzer

Note: You need to have PsGet installed for the above thing to work.
I am closing this issue.


Apply write and read limits

New updates:

Define JSON_RPC_METHOD as constants
Set blockchain restful api rate limit as 20 tps(qps) for read and write (global route).
Set also json rpc rate limit; read 10 qps and write 1 tps (under /json-rpc route).

Could you resolve the conflict?
  git pull --rebase origin develop
  git push --force-with-lease

PTAL. All addressed!

PTAL. All addressed again :)

All passed! merging now! Thanks for the long journey!


IPython integration

To integrate this with papermill, we need to modify the IPython debugging feature, so it stores the dump instead of starting a pdb session. Here's how to patch the debugger:
import types
import IPython
term = IPython.get_ipython()

def debugger(self, force: bool = False):
    print('hello!')

term.debugger = types.MethodType(debugger, term)

Then run:
%pdb on

1/0

Reference
the function that is executed when an error happens
the pdb magic logic
the line that starts the debugger
We don't need a magic since we'll inject this code on behalf of the user, something like this:
import pydump
pydump.patch_ipython()

But it'd be nice for people using Jupyter interactively to have this feature. We can also do a magic like:
%pydump on

available on 1.3


centos7.2 mysql 5.7 when I reboot Centos mysql can't start again

Oct 30 16:05:49 izn2uz4ukl8094z mysql[2754]: Starting MySQL...The server quit without updating PID file (/data/mysql/izn2uz4ukl8094z.pid).[FAILED]
Oct 30 16:05:49 izn2uz4ukl8094z systemd[1]: mysql.service: control process exited, code=exited status=1
Oct 30 16:05:49 izn2uz4ukl8094z systemd[1]: Unit mysql.service entered failed state.
Oct 30 16:05:49 izn2uz4ukl8094z systemd[1]: mysql.service failed.

Hi @goonwzz I think you posted on the wrong place. This repository is a Node.js implementation of the MySQL protocol as a client driver.


Run a container in the background.

Running a container in the background.
Bumping app version to 0.10.2.

She looks good ! :+1:


Hotfix e2 e oss (#5363)

Pull request opened by the merge tool on behalf of #5363

Merged in 5e1e35ff0fb63d1d572086de6633d5e2b1676934


Fix tiny typo in "license" declaration

Thanks so much for jumping right on the new SPDX license metadata guidelines!
Alas, the identifier "GPL" is actually ambiguous, since there are a few version of the GPL. I see from the README that version 2.0 is the intended license. This tiny PR makes that clear with GPL-2.0 in lieu of just GPL.
I know, I know. Lamest PR ever. I'm sorry. But we can put it behind us...
Sincerest thanks for tending to node.extend!

Not at all - anyone willing to dive into license minutiae is welcome :-) Thanks!


During SSR, should render into the document, not the document.body

Currently done-autorender renders into the document.body during server-side rendering, which leads to weird HTML like:

    <title>App</title>
    ... stuff

Gross.  I don't remember the exact reason why I did it this way. I think the reason was probably because most index.stache files contain an  tag, and you can't appendChild directly into the document.
I think the solution is to instead replace the document.documentElement with the rendered , if that's possible.

You're probably thinking of client-side reattachment, which does do that.  SSR will be the same soon though.

The reason why the code is not exactly the same here is because ssr and reattachment are doing two different things.
SSR is calling the renderer, and immediately attaching the fragment into a (new) document. done-ssr then does the waiting using its own Zone logic.
Reattachment calls the renderer, creates a Zone and waits for the fragment to be fully rendered, and then inserts it into the (real) document by pulling out the head and body.

Closed by #57


fetching qnamaker answer received from qnamaker dialog using memory object

Hi,
We have added qnamaker dialog action to query qnaknowledge base as shown in below screenshot.

We are getting qna answer from qnamaker dialog action. But how can we capture the qnamaker answer received from qnamaker dialog using memory object. We are able to capture the question asked by user using "turn.activity.text" but
is there any way in composer to capture the qnamaker answer which bot is sending to the user. In qnamaker trace there is nothing available to capture the data we want. We want to capture qnamaker answer received from qnamaker dialog using memory object so that we can implement different flow if the answer received is "Sorry, I did not find an answer."

Hi,
I think there is some misunderstanding. I will explain issue again.
We have some triggers(Intent Recognized) and an 'unknown intent'(none) trigger. If no intent is matched it will go to unknown intent trigger and in that unknown intent trigger we are using Qnamaker dialog action to connect to Qna knowledge base as shown in below screen shot.

Now the thing is that  we are getting qna answer from qnamaker dialog. But we are unable to trace the parameters such as qna confidence score, qna matched question etc. We want to store this parameter in the bot. Also  how can we trace the qnamaker answer received from qnamaker dialog using memory object( in Emulator). We are able to trace the question asked by user using "turn.activity.text" but is there any way in composer to trace & store the qnamaker answer which bot is sending to the user. In qnamaker trace there is nothing available to capture the data we want. We want to trace and store qnamaker answer received from qnamaker dialog using memory object so that we can implement different flow based on the different answers received from qnamaker dialog.

@BeheraMadan, apologies for the delay and thank you for your patience. I should have an update for you shortly and will keep you updated.

@BeheraMadan I'm not sure either. The QnAMaker dialog sure doesn't have anything built in to do this, as you have found.  I played with a bunch of approaches, such as:

turn.lastresult.text
turn.intents[0]

No luck yet. I'll continue to investigate and see if there is a way or if a limitation.
Would you be able to accomplish your goal using Active Learning instead of this approach?

@BeheraMadan Taking a look at the QnA Sample template helps (or it did for me).
Within a QnA Intentet recognized trigger, you can use something like the following:
turn.recognized.answers[0].questions

Hi @BeheraMadan I hope the above got your issue resolved. Please let us know if you are still having issues getting it to work.

Hi @dmvtech,
You had mentioned that: Within a QnA Intentet recognized trigger, we can use something like the following:
turn.recognized.answers[0].questions
'QnA Intentet recognized trigger'  can we use to create QnAKnowledge base within the composer.
But we are not creating QnAKnowledge base within the composer. We have already created QnAKnowledge base manually on the QnAMaker.ai portal and we want to connect  to this knowledgebase in the composer.
As part of our project requirement, now  we must use 'QnAMaker dialog' in composer to configure QnAKnowledge base in the bot.
So, by using 'QnAMaker dialog'  can we trace what answer bot is displaying to the user for QnA question. If answer is 'Sorry I did not find an answer', we want to implement some different flow based on requirement. So we want to trace whether the answer from QnA Knowledge base  is 'Sorry I did not find an answer' or something different if we are using 'QnAMaker dialog' in composer.
Thanks..

@BeheraMadan Were you able to find a solution for this issue?

@Gupta-Keshav-001378461 you can just use a plain HTTP request to your QnA Maker endpoint and you'll be able to get back the question, answers, score and all other details


basic-workflow training.md has mistyped code

https://github.com/tracel-ai/burn/blob/d770b1f470d734afd79253d082ea9d084a8d5431/burn-book/src/basic-workflow/training.md?plain=1#L231
Should be B::InnerBackend or else fails to compile

Thanks for flagging! Just fixed it 👍


Error put NumberInput into nested box.

e.g.:
import toga

class TestApp(toga.App):
    def startup(self):
        self.main_window = toga.MainWindow(self.name)
        box1 = toga.Box()

        box2 = toga.Box()

        input = toga.NumberInput()
        # input = toga.TextInput()

        box2.add(input)
        box1.add(box2)

        self.main_window.content = box1
        self.main_window.show()

if __name__ == '__main__':
    TestApp("test", "org.pybee.test").main_loop()

Running this will output:
[GTK+] Not implemented: Widget.set_hidden()
[GTK+] Not implemented: Widget.set_hidden()
[GTK+] Not implemented: NumberInput.set_alignment()
[GTK+] Not implemented: NumberInput.set_font()
[GTK+] Not implemented: NumberInput.set_font()
[GTK+] Not implemented: NumberInput.set_font()
[GTK+] Not implemented: Widget.set_hidden()
[GTK+] Not implemented: NumberInput.set_font()
[GTK+] Not implemented: NumberInput.set_font()
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

The NumberInput is not displayed:

If i replace NumberInput with TextInput it worked:

EDIT:
Work-a-round is to add style=Pack(width=200)
e.g.:
input = toga.NumberInput(style=Pack(width=200))

Thanks for the report. If adding a width=200 directive fixes the display, then the issue will almost certainly be with widget size hinting (the rehint method on the GTK backend for the widget). If that method is returning a 0 size value, then the widget may not be appearing (or rather, it's appearing, but with 0 size).

This also doesn't happen in last master version of toga ;)


Tracking reads from non-existing files

First of all, thank you for the great tool!
It seems that fsatrace doesn't track reads from files that do not exist. For example, if the file 1.c does not exist then the command
fsatrace verwmdq 1.out -- gcc 1.c

does not list 1.c in the result 1.out, which is a problem for my use case. (Here is a blog post about my use case in case you are curious.)
Tested both on Windows and Linux.
How difficult would it be to add support for this?

I think it would be quite easy. Maybe it could use a prefix to mark failed operations, like
!r|non-existing-path

I'll see how it goes.

Can you try the report-failures branch?

I only tested on Windows, most probably won't build on Unix.

@jacereda I've tried this on Windows but it doesn't seem to work. I tried both
fsatrace verwmdq 1.out -- gcc 1.c

and
fsatrace verwmdq! 1.out -- gcc 1.c

but 1.c was not listed in the result.

Can you try with the linux/mac version?

Hi @jacereda, @snowleopard asked me to try it on linux and I can confirm that with a fresh build from the report-failures branch the tracking of missing files works:
$  fsatrace verwmdq! 1.out -- gcc 1.c
argv[0]=gcc
argv[1]=1.c
gcc: error: 1.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
fsatrace(24275): error: command failed with code 1
argv[0]=gcc
argv[1]=1.c

And now 1.out contains a report of 1.c being missing:
r|/usr/bin/gcc-5
!q|1.out;/snap/bin/gcc
!q|/home/geo2a/.ghc/gcc
!q|/home/geo2a/gems/bin/gcc
!q|/home/geo2a/.opam/coq-8.8/bin/gcc
!q|/home/geo2a/bin/gcc
!q|/home/geo2a/.local/bin/gcc
!q|/usr/local/sbin/gcc
!q|/usr/local/bin/gcc
!q|/usr/sbin/gcc
q|/usr/bin/gcc-5
!q|1.out;/snap/bin/gcc
!q|/home/geo2a/.ghc/gcc
!q|/home/geo2a/gems/bin/gcc
!q|/home/geo2a/.opam/coq-8.8/bin/gcc
!q|/home/geo2a/bin/gcc
!q|/home/geo2a/.local/bin/gcc
!q|/usr/local/sbin/gcc
!q|/usr/local/bin/gcc
!q|/usr/sbin/gcc
q|/usr/bin/gcc-5
*** !q|1.c ***
q|/usr/lib/gcc/x86_64-linux-gnu/5
!q|/usr/lib/gcc/x86_64-linux-gnu/5/specs
!q|/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/5/specs
!q|/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/lib/specs
!q|/usr/lib/gcc/x86_64-linux-gnu/specs
q|/usr/lib/gcc/x86_64-linux-gnu/5
q|/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper

Thanks!


Update Standard shader to be LRP compatible

Overview
More of an experiment as I haven't even tried the standard shader in the Lightweight Render Pipeline.  But it would be good to ensure the Standard shader is either supported in the LRP, or make a LRP Standard shader
Expected Behavior
Standard Shader works in LRP

Sounds like a good idea to test this! I can role this into my next PR if anything needs to change.

@SimonDarksideJ @Cameron-Micka I am actually doing experiments right now with LWRP and trying to make a slimline LWRP compatible hololens shader. I will update you with progress. BUt would be very nice if on your end you could get the holotoolkit working with the LWRP standard shader. From looking at its code it has some optimisations for XR, and the rendering pipeline also seems to be in general optimised for AR and VR as well as mobile hardware (such as the hololens has).

Out LWRP efforts will likely be solely focus on the vNext project, as it is more streamlined and memory efficient already @isurfraz
We welcome any contribution towards the goal of making MRTK even better :D

@SimonDarksideJ in that case if I manage to get any decent headway on this in the meantime I will update you both regarding this :)
On a side note, does the vNext project offer any optimisations itself as we are using the release map for this project and hoping to incorporate it when it drops!

@SimonDarksideJ @Cameron-Micka @StephenHodgson  does a pull of vNext cause any errors or breaking changes? or is it possible to test this in projects now?

Best to have this conversation on the Slack channel, in the holodevelopers chat.
vNext hasn't yet reached the Alpha stage, it's close but not there yet.

"Bumping" this since is something that should be tackled soon, especially once we move to Unity 2019.1 or greater since it takes the LWRP out of preview.


Once React Slick is rendered I get "Cannot call a class as a function" error

I have recently moved a site over to a new repo which is using next.js for routing and SSR. However now whenever I render my React slick slider I get a Cannot call a class as a function error and it breaks the sites entirely.
I have tried my own react component, a very basic implementation and the example one on the playground page provided from this page when first creating this ticket, none of them work. It seems any instance of React Slick breaks on my site now.
I also don't get much detail on the issue other than the Cannot call a class as a function message.
Does anyone know a way to fix this!!

Fix was to downgrade to 0.14.6 😦😢

Same here. Just to give more context - in my case, it happened with react version 15.5.4


Too many slashes while decorating

Small issue here, and if I get time I will look into it myself.
As you can see in the GIF below, when using the decorate function, too many slashes are created (seems to always be +2 too many). Language tested is Typescript if that helps.

Edit: Just tested further and it seems to be based on indentation level:

Good catch and thanks for the report! If you would like to fix it your self, that would be perfect. Feel free to ask if you run in any problems? Through I haven't looked at this part of the code base for quite some time...


Slack Integration - Not receiving messages - Telegram working

Bot Info

SDK Platform: .NET
SDK Version: 4.0.1-preview
Active Channels: Slack, Telegram
Deployment Environment: Local development with Slack, Ngrok and Azure Bot Channel Registration

Issue Description
I do not receive any messages/events from Slack. I am running Ngrok locally, which creates a tunnel I then configure in an Azure Bot Channel Registration. After adding slack as a channel, my bot receives the installationUpdate activity but then receives no other activities when I add it to a slack channel or send it messages. Ngrok shows no requests from slack, which leads me to believe communication between Azure Bot Channel Registration and Slack isn't functioning.
I have also added my bot to Telegram and it receives all messages locally through Ngrok and works as expected. Test in Web Chat via the Azure portal also works as expected.
Code Example
I have tried a bot with a single middleware that has no code in it, with a break point so I can catch any calls to OnTurn.
public class TestMiddleware : IMiddleware
{
    public async Task OnTurn(ITurnContext context, MiddlewareSet.NextDelegate next)
    {
    }
}

The breakpoint is hit for every message I send via Telegram and whenever I add the bot to a new group on Telegram. It is only hit once using slack via installationUpdate as mentioned above.
I have also checked Slack Status  and there are no issues.
Slack seems happy with the URL given by Azure for connection:

After leaving the desk for an hour and coming back, without changing anything it is now working for Slack too :confused:.
I'll close this for now.


Additional Package Requirement

I've run into this several times, but another package that is required for dfgui to work is cython. It's something to do with mkl. I've copied the original error message below:
(csv2cash) λ pip install git+https://github.com/bluenote10/PandasDataFrameGUI
Collecting git+https://github.com/bluenote10/PandasDataFrameGUI
  Cloning https://github.com/bluenote10/PandasDataFrameGUI to c:\users\jrwrigh\appdata\local\temp\pip-req-build-9n9fz7a0
Building wheels for collected packages: dfgui
  Running setup.py bdist_wheel for dfgui ... done
  Stored in directory: C:\Users\jrwrigh\AppData\Local\Temp\pip-ephem-wheel-cache-7a9uvjod\wheels\cd\d0\c1\a33ecf60055abfb858d1aba1a9be216389d7582314a536f0e0
Successfully built dfgui
mkl-random 1.0.1 requires cython, which is not installed.
mkl-fft 1.0.0 requires cython, which is not installed.
Installing collected packages: dfgui
Successfully installed dfgui-0.1

I have no idea where this dependency is coming from because dfgui's setup.py actually does not specify the dependencies at all (again, because wxpython is not pip installable).


Pressurized Reaction Chamber Bug

When upgrading the speed of the pressurized reaction chamber speed to 8 the machine stops working converting substates to hdpe pellets.  I am using the developmental branch at commit 5baf4605e0aab0c1ea6c2d12c14c7f8fcb1bbaf8.

If I remove the speed upgrades it works again.

Add energy upgrades to it, it won't have enough power with only speed upgrades.

Also would like to take the opportunity to mention that there's a newer commit for the development branch that fixes the nullpointerexception (npe) caused by a miscode. Otherwise, I support the previous poster's comment.

Correct - add energy upgrades :)


CB-15245:Fix NPE in create-aws-cluster when encryption type set to null

Master PR: https://github.com/hortonworks/cloudbreak/pull/11840/files
2.49 PR: https://github.com/hortonworks/cloudbreak/pull/11841

I think this PR should be closed, and so should #11841. The right solution is to

Repurpose #11840 for CB-2.49.0 (rebase the branch, force push, then change the target branch with the Edit button).
Once #11840 gets merged, open a merge PR for CB-2.49.0 -> CB-2.50.0.
Once the latter PR is merged, open another merge PR for CB-2.50.0 -> master (2.51).

Please follow the merge process mentioned (here)[https://github.com/hortonworks/cloudbreak/pull/11809#pullrequestreview-814882747] and here.

I think this PR should be closed, and so should #11841. The right solution is to

Repurpose CB-15245:Fix NPE in create-aws-cluster when encryption type set to null #11840 for CB-2.49.0 (rebase the branch, force push, then change the target branch with the Edit button).
Once CB-15245:Fix NPE in create-aws-cluster when encryption type set to null #11840 gets merged, open a merge PR for CB-2.49.0 -> CB-2.50.0, using a feature branch based off CB-2.50.0.
Once the latter PR is merged, open another merge PR for CB-2.50.0 -> master (2.51), using a feature branch based off master.

Please follow the merge process mentioned here and here.

Changed the target branch for master PR to CB-2.50.0, and we are skipping the merge to 2.49 as discussed in https://jira.cloudera.com/browse/CB-15245?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel. Once the 2.50 PR is merged , will port that change to master.


Is there a way to change the syntax highlighting style?

I know this uses Highlight.js.
How can I choose a style from https://github.com/isagalaev/highlight.js/tree/master/src/styles?

You can override styles via ~/.slap/config. See here for a list of syntax values you can change: https://github.com/slap-editor/editor-widget/blob/master/editor-widget.ini#L130

Thanks it worked!


Pre-built binaries in releases

Tried building on my fresh M4 mac mini but encountered a bunch of issues due to mismatching Swift versions.

Operating System: Sequoia 15.1.1
Xcode: Command Line Tools (/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk)
Apple Swift version 6.0.2 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)

Errors in case they are of any help
swiftc watchid-pam-extension.swift  -DSEQUOIASDK -o pam_watchid_x86_64.so -target x86_64-apple-darwin24.1.0 -emit-library
/Library/Developer/CommandLineTools/usr/include/swift/module.modulemap:13:8: error: redefinition of module 'SwiftBridging'
11 | //===----------------------------------------------------------------------===//
12 |
13 | module SwiftBridging {
   |        `- error: redefinition of module 'SwiftBridging'
14 |     header "bridging"
15 |

/Library/Developer/CommandLineTools/usr/include/swift/bridging.modulemap:13:8: note: previously defined here
11 | //===----------------------------------------------------------------------===//
12 |
13 | module SwiftBridging {
   |        `- note: previously defined here
14 |     header "bridging"
15 |

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Modules/Foundation.swiftmodule/x86_64-apple-macos.swiftinterface:5:8: error: failed to build module 'CoreFoun
dation'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-16<IP_ADDRESS>)', while this compiler is 'Apple Swift version 6.0.2 e
ffective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
    3 | // swift-module-flags: -target x86_64-apple-macos15.1 -target-variant x86_64-apple-ios18.1-macabi -enable-objc-interop -autolink-force-load -enable-library-evolution -module-link-name swiftFoundation
-swift-version 5 -enforce-exclusivity=unchecked -O -library-level api -enable-upcoming-feature InferSendableFromCaptures -enable-bare-slash-regex -user-module-version 3107 -module-name Foundation -package-nam
e "\"FoundationPreview\""
    4 | import Combine
    5 | import CoreFoundation
      |        `- error: failed to build module 'CoreFoundation'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-1600.0.25
.3)', while this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
    6 | import Darwin
    7 | import Dispatch

/Library/Developer/CommandLineTools/usr/include/swift/module.modulemap: 0:
/Library/Developer/CommandLineTools/usr/include/swift/bridging.modulemap: 0:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Modules/LocalAuthentication.swiftmodule/x86_64-apple-macos.swiftinterface:5:8: error: failed to buil
d module 'Foundation'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-16<IP_ADDRESS>)', while this compiler is 'Apple Swift v
ersion 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
 3 | // swift-module-flags: -target x86_64-apple-macos15.1 -target-variant x86_64-apple-ios18.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -library-
level api -enable-bare-slash-regex -user-module-version 1656.40.25 -module-name LocalAuthentication
 4 | import Combine
 5 | import Foundation
   |        `- error: failed to build module 'Foundation'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-16<IP_ADDRESS>)', w
hile this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
 6 | @_exported import LocalAuthentication
 7 | import Observation

watchid-pam-extension.swift:1:8: error: failed to build module 'LocalAuthentication'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.
7.43 clang-16<IP_ADDRESS>)', while this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
  1 | import LocalAuthentication
    |        `- error: failed to build module 'LocalAuthentication'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-1600.0
.25.3)', while this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.
  2 |
  3 | // MARK: (Re)define PAM constants here so we don't need to import .h files.
make: *** [all] Error 1

As I have pretty much 0 experience with Swift, I quickly gave up. Instead since I saw the CI was passing, I forked and made the CI upload it's assets, so that I could then download the compiled binaries. Which worked fine (after dequarantining it and almost bricking sudo, thanks Apple).
So, I was wondering if you could do "official" releases and publish pre-compiled binaries there for future me and others with no Swift experience?
Thanks!

Thanks for the issue and sorry it's taken as long as it has for me to get back to you.

Apple Swift version 6.0.2 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)

Correct me if I'm wrong, but it seems you've explicitly installed a second version of swift. Swift is bundled with Xcode / the Xcode command line tools. Unless you are developing / testing the language, or want to be on the bleeding edge, there is no need to install swift separately. Doing so has been known to cause issues like the one you're experiencing, resulting in errors like the ones you're seeing:

this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-<IP_ADDRESS>.43 clang-16<IP_ADDRESS>)', while this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)'). Please select a toolchain which matches the SDK.

I don't blame someone with no experience for making that mistake. It is admittedly counter intuitive. I've updated the readme to hopefully clarify this.
For your own sake, I'd recommend you make sure your system is in a state where it can build programs like this locally, otherwise you may experience issues in the future.

As for the releases however, it would be far from ideal. Misuse of pluggable authentication modules posses a significant risk to a user's device and data, so I want, as much as possible, to eliminate the chance of a mistake being made.

after dequarantining it and almost bricking sudo

You yourself have experience with this risk. By building locally and maintaining control over the installation process, I can ensure the module is installed correctly and usable. This in part prompted the enable section of the makefile, allowing the entire installation process to be covered end-to-end, without the possibility of someone making a typo which bricks their system.
As a compromise though, I've added build artifacts to the CI pipeline so that if you (or someone else) still wishes to do so are able to download a precompiled binary from the most recent build. However, I'm still stopping short of making formal releases or documenting this as a supported installation method, due to risks posed.

for future me and others with no Swift experience

I aim to make the installation as fool proof as possible. Experience, whilst nice to have, should not be required. Either the readme, build/installation script, or the system's own prompts (especially so on a brand new machine) should be holding your hand through the process, telling you each thing you need to do and how to do it. If at any point it doesn't work or is unclear in what needs to be done, that's a bug, and I am grateful when people report it, like you've done here. ❤

Thanks for the response!
As I said, I don't code in Swift, so I never installed it separately. It should be coming from the XCode CLT.
Might be homebrew installing it because it's a dependency of something I'm using, although which swift is pointing to the CLT and not homebrew 🤷

As for the releases however, it would be far from ideal. Misuse of pluggable authentication modules posses a significant risk to a user's device and data, so I want, as much as possible, to eliminate the chance of a mistake being made.

community/discussion#129761 and github/roadmap#943 may be relevant integrity of builds if you ever want to go the path of "official" binaries.
My approach to not brinking myself was opening /etc/pam.d/sudo_local in vim (with sudo) and keeping it open. When I added the PAM module, I'd add the line to the file and save without quitting. Then do a sudo whoami in a separate terminal to see if sudo still worked. If it didn't, I'd remove the line and save the file to unbrick myself.

As a compromise though, I've added build artifacts to the CI pipeline so that if you (or someone else) still wishes to do so are able to download a precompiled binary from the most recent build.

Thanks!
Just fyi, artifacts are temporary and deleted after 90 days. So there'd need to be a commit every 3 months to keep one of them laying around (or the user would fork and make a commit).

so I never installed it separately

Huh, odd. Guess it’s a mystery then 👻. Something to look into in the future when you need to. Could’ve been something else which didn’t clean up after itself.
Even if it was installed through Homebrew, it gets installed “keg-only”, meaning that unless you link to it yourself, it goes unused.

community/discussion#129761 and https://github.com/github/roadmap/issues/943 may be relevant

Two steps ahead of you 😉.

Just fyi, artifacts are temporary and deleted after 90 days.

Two steps ahead of you again 😉. Builds are scheduled every two months.


Using CTRL+D to duplicate a request clears its URL

Expected Behavior
When selecting a request and then using CTRL+D shortcut should open the duplicate request popup.
Actual Behavior
It works fine, but the URL of the selected request is cleared. It seems that CTRL+D is also the shortcut to clear the (selected) URL. Or CTRL+D is a global shortcut to clear focused field, and when a request is selected, the focus is on the URL field by default
Reproduction Steps

Select a request in the collection
(Note that the URL field is focused)
Use keyboard shortcut CTRL+D to duplicate the request
Enter the new name
Open the request that you just copied from
Note that the URL is cleared

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2022.6.0
What operating system are you using?
Windows
Operating System Version
Windows 11 21H2
Installation method
Download from insomnia.rest
Last Known Working Insomnia version
No response

Hi @sylvain1811 this should be fixed in our latest beta release


Performance analysis

Description of new feature
Determine the current state of performance of the app.

How many requests can the app handle at a time?  What's the throughput?
How much resources does the app use under load?  How much CPU and RAM would really be needed in a prod instance?

Potential solutions:

https://www.artillery.io
https://www.npmjs.com/package/autocannon

Motivation for new feature

Will the app die under heavy load (e.g. a class)?
#128

@mikekucera, you mentioned this last time.

Using something like Netdata might make resource measuring easier.  We could refer back to the resource charts after running benchmarks.
Ref:

#130


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[backport v2.7.patch1] Revert "Aws In-tree support (#9643)"

This reverts changes made by  Aws In-tree support (#9643). While testing, it appears that the intent of this PR (to handle upgrade cases and display a banner) can never be triggered.
fixes #10427
backports #10426

The release-2.7 branch doesn't contain some refactoring that was performed against master so take care when reviewing this one. The changes represented here are different from the initial change in #10440.


Minimal support of Docker

Docker images must be stored in Google Container Registry

TODO(yugui) Support generic v1 and v2 docker registries in another PR

:+1: LGTM

@yugui  Could you add an example of  etcdctl  command for docker type repo in README.md for easy understanding of the change? And that would help us in the actual setting-up.

@seikoudoku2000 done


Add settings script & chain rpc

Overview
Had to change faucet configuration on BNB testnet & Fuji.
Changes

Added new networks to hardhat.
Made testnet token & native claim amount public for future deployments (easier to debug).
Added change_settings script to change settings easily.

Testing
Settings changed and directly tested on the gateways.

@wsdt can you refresh this pls?

whats up with this?

Waiting for reviews but also can be dropped. Was more a convenience script for a chance I had to do


Brief summary of what bug or error was observed

Bug Description
The URL for downloading binary file specified in README.md doesn't work
Example code (or command)
» curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.1.1 -o cloud-sql-proxy
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   205  100   205    0     0    601      0 --:--:-- --:--:-- --:--:--   601

» cat cloud-sql-proxy
<?xml version='1.0' encoding='UTF-8'?><Error>NoSuchKey<Message>The specified key does not exist.</Message>No such object: cloud-sql-connectors/cloud-sql-proxy/v2.1.1</Error>%

Stacktrace
No response
Steps to reproduce?

curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.1.1 -o cloud-sql-proxy

cat cloud-sql-proxy

Environment
Any
Additional Details
Looks like the URL in README is incorrect.

Silly me I didn't copy the URL properly. Please ignore me. As a rule.

Glad you sorted it out. If you see a way to improve the docs to make this easier, please let me know.


⚠ Bofrost.de has degraded performance

In 6d0539f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1859 ms

Resolved: Bofrost.de performance has improved in 65bda15 after 313 days, 7 hours, 57 minutes.


Adds support for bossac -o parameter

Necessary for bossac >= 1.9 that defaults to flashing starting
at address 0x0000, which breaks due to the locked bootloader
being at that address.
At least from Adafruit, M0 boards need an offset of 0x2000 (which
is what bossac 1.8 defaulted to) while M4 boards need 0x4000.
This makes no change from the current behavior if the "offset"
configuration is not specified.
Tested on a Circuit Playground Express (M0) and NeoTrellis M4.
Also changes device detection to assume all Adafruit USB devices
are BOSSA-compatible, rather than requiring them to be enumerated.
Fixes bobbin-rs/bobbin-cli#9

Thank you for the updates. I haven't had a chance to test them out myself yet (just received a Feather M4 yesterday that I hope to use) but the changes look straightforward to me.

So, apparently I didn't pay close enough attention to the directions and didn't include the "--offset" option when updating my Feather M0 Express, overwriting the bootloader at 0x0000. It would be nice to make this harder to do by accident.
I am going to import the list of VID / PIDs from the Windows USB Driver and add a field to FeatherDevice indicating whether the device type is M0, M4, or unknown. This will be used to set the default --offset value for M0 and M4. Unknown devices will require an explicit --offset value.

Oh noes! I hope you can recover it.
In my experience w/ Adafruit stuff the bootloader was locked against overwriting (the bossac command would just fail) but I guess that’s not guaranteed.
Let me know how I can help.


Missing error code: UNKNOWN_SQLITE_ERROR_257

I'm using a SQLite extension, particularly ICU support: I loaded it in the database creation and did normal things. Then, I tried to fill up that database with a separate script and connection, running a different ts-node instance. I forgot to update this script to also load this particular extension with the required connection, so I guess that was the cause.
Also, the error code description matches my guess: https://www.sqlite.org/rescode.html#error_missing_collseq
The error stack:
/path/to/project/backend/node_modules/better-sqlite3/lib/methods/wrappers.js:5
        return this[cppdb].prepare(sql, this, false);
                    ^
SqliteError: no such collation sequence: SPANISH
    at Database.prepare (/path/to/project/backend/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
    at Object.<anonymous> (/path/to/project/backend/source/database/development-setup.ts:9:12)
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Module.m._compile (/path/to/project/backend/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
    at Object.require.extensions.<computed> [as .ts] (/path/to/project/backend/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1317:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1127:12)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) {
  code: 'UNKNOWN_SQLITE_ERROR_257'
}

And the other main script where I loaded the extension:
const connection = new Database(serverRootPath('database/website.sqlite'))
connection.pragma('journal_mode = WAL')
const sqlite_version = (connection.prepare('SELECT sqlite_version() as version').get() as any).version
connection.loadExtension(assetPath(`database/libSQLiteICU-${sqlite_version}.so`))
connection.prepare('SELECT icu_load_collation(\'es_AR\', \'SPANISH\')').run()
// ...
connection.close()

Do you have a question or just wanted to share this? As you said, you tried to access the database using a different process that didn't have the necessary extension to work with the database file.

I posted this issue as recommended here in the API docs:

That was not clear from your message, you should re-open the issue then as it has not been resolved.
I think the error needs to be added to https://github.com/WiseLibs/better-sqlite3/blob/f01e0e42da4b8ba509961e772132e69ef5aa11c0/src/util/constants.lzz#L116 if you're interested in creating a PR.

Sorry for not being clear. First time doing this :D.
Fixed as requested and PR done #1273.

I think you can close this now.
In the future you can link a PR in various way to an issue so that it closes automatically when the PR is merged. See https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue


disable polkadot teleport

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #9596
[ ] Requires deployment <snek/rubick/worker>

Before submitting pull request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality

Optional

[ ] I've tested it at </ksm/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

i know that this was the same solution used in a previous PR to disable teleport from Kusama/Assethub, but it doesn't really disables auto-teleport

lets see if I'm following, here's my balance on testing account: 3,6 DOT
so, the maximum amount i could teleport from Polkadot should be: 3,6 - 2 * 1 = 1,6 DOT, correct?
but when i try to buy + teleport an NFT above this value, it still let me:

am i correct?

any updates?

@iMac7 i'll close this one then, so another dev can pick it up


Update README.md

Please make sure we improve this by EOD @shekohex @tbraun96

Did a few updates here: #294


Fix parsing command from config when array of strings

I don't understand? What is the difference between the previous implementation?

The second type check ([]string) will fail as the json is decoded as a []interface{}. This rebuilds it as a []string so the type check works as expected.


Out of date

Hi,
Your CNN usage example seems to be out of date, do you have any plans to update it? Many thanks.

@victorbartel Just saw your issue. I will have a look on updating this. Also, feel free to update and send a PR if you are able to. Thanks.

Should be up to date now with PR #2.


需要用到randperm接口

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

下一个pr加入


[Proposal] Make running profile clearer and more intuitive to improve usability

Motivation
The main purpose of this proposal is to make Doris more user-friendly and easy to use. Currently, Doris will print the running profile information of fragment in the log after the execution of fragment. This information is an important reference for Doris performance tuning and debugging. However, many of the information recorded in the current running profile is invalid, wrong or even misleading. We need to sort out the information of each counter in the current record, remove the invalid counter and add the missing but important counter. Write a document which guides user to monitor Doris and troubleshoot problems by running profile and add a reasonable counter to solve problems when appropriate.
Implementation
So we need to do the following

We need to eliminate invalid code and invalid monitoring items to simplify the current running profile information

Fix which wrong and misleading monitoring items

Add the important monitoring items but missing now

Sort out the contents of each monitoring item and provide best practice or troubleshooting tutorials as documents for user

Provide a document which guide user how to add monitoring items when it is necessary.

@HappenLee Good job! look forward to your PR.


Pkg: Add compact card

Create a new modification of the cards to reduce the padding by 1/2.
.tn-card--compact

A new section has been added to the bottom of the Cards page which show 3 examples of the --compact modification.

The spacing feature is not correctly implemented.
Please refer to the explanation at:
https://github.com/SAP/techne/issues/816#issuecomment-317336702
The "compact" can be set from any place in the component hierarchy. Not mainly on individual components.

Parent modifiers are not an ideal solution. It is preferred to put the modification on the actual element being modified to avoid additional presentation containers and it reduces specificity when overriding styles.
The implementation as designed is good for an MVP. We can gather feedback during alpha and beta releases to better holistically assess the impact or each option.


compiler-rt: Do not record same leak multiple times

The current implementation pushes new entry even if there is already existing the same entry. If there's already a leak with same alloc and lost stack trace, do not add new entry.

LGTM

Will merge this as it passes testcases, does not degrade the performance miserably, and is reviewed by @purplepig4657


Add no-return-assign to config

The Airbnb eslint config  (https://github.com/airbnb/javascript/blob/75d48c7570b2c5336c75c454ce91991a34d0554e/packages/eslint-config-airbnb-base/rules/best-practices.js#L208) establishes that not surrounding a variable assignment in a one-line arrow statement is a linter error. Prettier removes the parentheses, causing the linter to fail because of the eslint config. I propose disabling the no-return-assign rule

Thanks! I'll add this as a special rule soon.

Thinking about it some more, I think we should see if Prettier would consider adding parens there first. prettier/prettier#1320

Yeah, I agree with that. And looks like @bakkot already managed to open and merge a PR for that issue, dwam. Thanks Kevin!


HRSC2016

Excuse me, how can I find HRSC2016 dataset please?

https://www.kaggle.com/datasets/guofeng/hrsc2016


Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'mc.l mc.d.d()' on a null object reference

Getting this crash report on production,  please i need help with this.
`
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'mc.l mc.d.d()' on a null object reference
at com.pusherwebsocketreactnative.PusherWebsocketReactNativeModule.onUsersInformationReceived(:171)
at com.pusher.client.channel.impl.PresenceChannelImpl.handleSubscriptionSuccessfulMessage(PresenceChannelImpl.java:104)
at com.pusher.client.channel.impl.PresenceChannelImpl.handleEvent(PresenceChannelImpl.java:63)
at com.pusher.client.channel.impl.ChannelManager.handleEvent(ChannelManager.java:16)
at com.pusher.client.Pusher.handleEvent(Pusher.java:7)
at com.pusher.client.connection.websocket.WebSocketConnection.handleEvent(WebSocketConnection.java:33)
at com.pusher.client.connection.websocket.WebSocketConnection.lambda$onMessage$5(WebSocketConnection.java:4)
at com.pusher.client.util.Factory.lambda$queueOnEventThread$0(Factory.java:3)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
 `

Device details
react-native: "0.69.7",
@pusher/pusher-websocket-react-native: 1.2.2
Android 13,
Model:Pixel 6a

We've released a couple of new versions recently that might help with this issue - are you able to update and let us know if you still get this issue?

@benw-pusher  thank you for your response,  i think the issue has been resolved, not seen that since the last 1.2.2 update.


Replaces UI_USER_INTERFACE_IDIOM() with UIDevice.current.userInterfac…

Self explanatory.
Fixes #695.

problem is still not fixed

@zhangao0086 please publish to pod...I can publish any of my apps cos of this

@zhangao0086 please publish to pod!

@wantroba The latest version has been released: https://cocoapods.org/pods/dkimagepickercontroller


kind testing lanes fail pretty frequently after the tests on the cluster shutdown

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
The vgpu and the sriov test lane are using kind and they fail frequently after the tests on the kind cluster-destruction:
14:55:39: Deleting cluster "sriov" ...
14:55:51: ERROR: failed to delete cluster "sriov": failed to delete nodes: command "docker rm -f -v sriov-worker2 sriov-control-plane sriov-worker" failed with error: exit status 1
14:55:51:
14:55:51: Command Output: Error response from daemon: Could not kill running container 1f6e4d55561ce9659a69ce65ecee6a88bac7b9b036bedd5cf3429dedbe75fed0, cannot remove - tried to kill container, but did not receive an exit event
14:55:51: Error response from daemon: Could not kill running container 7b6f281172a16cfe74aa2d7cf0d0de2ac5ec7a9a2e3c36b4c9d7cdf41c79ca00, cannot remove - tried to kill container, but did not receive an exit event
14:55:51: Error response from daemon: Could not kill running container 8631dea6880218b19dd71b80cdaddc294eab88a80da1a7ea954d53f38f5dd2ee, cannot remove - tried to kill container, but did not receive an exit event
make: *** [Makefile:141: cluster-down] Error 1

Example job: https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/7169/pull-kubevirt-e2e-kind-1.22-sriov/1488875123187388416
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/sig virtualization
/sig network


[feature] Disable-able resolvers

Is your feature request related to a problem? Please describe.
Managing multiple resolvers and wanting to not impact one or more.
Describe the solution you'd like
A new disabled bool in the Resolv struct with some logic to simply skip the resolver from starting if configured to false, with a default value of true.
Describe alternatives you've considered
None.
Additional context
n/a

This can also comfortably replace the long-since-deprecated resolver skipper.


Script for adder generation.

Topic
Base
Description
To accelerate the development and for maintaining standards in boilerplate while adding new adders, can we create a CLI to that would be available only within the repository context, allowing us to add new adder package by a cli wizard, which asks name of adder, dependencies, options etc. within the wizard, resulting in quicker scaffolding of a new adder. This could greatly help speed up development of community adders, while maintaining the standards.
Describe the solution you'd like
No response

There is still a lot of work to do regarding automation and community adders. Community adders are planned, but are not even close to be implemented anytime soon, that's why documentation is lacking.
I'm not sure if a cli is the correct way do this as it would generate maintenace overhead, but we should at least have appropriate templates once we get there!

I am working on a package right now template-factory that could be useful for creating a CLI if that was the route you wanted to go. I think it would probably limit the overhead you are talking about if you wanted to have an internal CLI.
How it would work
You could create a js/ts script in the root of the project. Add a script in package.json like templates:create or something.
You would have a template under the adders directory that you would reference from the script.
You can run any other code or prompts to help make steps easier such as allowing them to pick a category or create a new one from the CLI.
Initially it could look something like this, this just prompts the user and copies the files to where they specify but you could add prompts and such to improve the workflow.
import { create } from 'template-factory';
import * as util from 'template-factory/util';

const main = async () => {
  await create({
    name: 'templates:create',
    version: '1.0.0',
    templates: [
      {
        name: 'custom-adder',
        // probably don't actually need the path resolver here
        path: util.relative('./adders/template', import.meta.url),
        flag: 'custom-adder',
        // you could add prompts down here to improve setup
      }
    ]
  })
}

main();

Let me know if this is something that makes and I can try and model it better in a PR! If not no worries.

Thanks for bringing this to my attention again, and thanks for putting in the hard work @ieedan.
Since this issue was raised we had some restructuring going, which made generating new adders much easier. See this commit. Therefore I don't think such a cli makes sense at this point, as this would cause more Maintenace overhead than actual benefit.
Closing this.


Fixes a check for the reply now that we also allow arrays

Coverage remained the same at 97.688% when pulling 0dfd6af9b105cafb43ed3ebe1cbb88477b66e18a on armonge:fix/reply into ee3dcb1f70704da2cb5f544e8eb4da80a3a550e1 on mediarain:dev.


Sharding-Proxy output logs：readAddress(..) failed: Connection reset by peer

Question

Sharding-Proxy output logs：[WARN ] 16:24:10.417 [epollEventLoopGroup-3-12] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
Sharding-proxy version: 4.0.0-RC3

It is a WARN log, any problem do you meet?

When and what SQL operation cause this issue?
And which version of your mysql server and jdbc driver?

@kimmking mysql server version: 5.7.24
sharding-proxy jdbc driver: mysql-connector-java-5.1.48.jar
@terrymanu The warn logs before and after are info levels. The current logging mode is info, which I'll change to debug later.

Change to debug post-log output：tats (total=1, active=0, idle=1, waiting=0) [DEBUG] 13:03:17.237 [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Pool stats (total=1, active=0, idle=1, waiting=0) [DEBUG] 13:03:18.446 [HikariPool-2 housekeeper] com.zaxxer.hikari.pool.HikariPool - HikariPool-2 - Pool stats (total=1, active=0, idle=1, waiting=0) [WARN ] 13:03:26.641 [epollEventLoopGroup-3-3] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [DEBUG] 13:03:47.237 [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Pool stats (total=1, active=0, idle=1, waiting=0) [DEBUG] 13:03:48.447 [HikariPool-2 housekeeper] com.zaxxer.hikari.pool.HikariPool - HikariPool-2 - Pool stats (total=1, active=0, idle=1, waiting=0)
No SQL operation cause this issue.

I think we can ignore this message.

@kimmking Thank you very much! Let me close this problem


RHINENG-10786 - move away from /preview

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

Project coverage is 52.26%. Comparing base (91031c5) to head (2e3d7c3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   52.26%   52.26%
=======================================
  Files          82       82
  Lines        1257     1257
  Branches      266      266
=======================================
  Hits          657      657
  Misses        600      600

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


questions on fastface

❓ How to do something using fastreid
As you mentioned in faceface experiment result, fastface is trained with circle loss, but when I check the config I find it is cosface layer.
which one is better? cosface/arcface/circle loss

According to our experiments, cosface is little bit better.


Mysensors light turned on then dimmed to the chosen percentege

Home Assistant release with the issue:

0.101.3
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Hassio
Integration:

Mysensors
Description of problem:
Given a dimmable mysensors light.
Steps:
Turn off the light if turned on.
Turn the light on to a given brightness which is less then 100 percent.
The lights are turned on fully, after that immediately dimmed to the given setting.
The lights should not be turned on fully before dimming to the given setting.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:
I think the problem is in here
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/mysensors/light.py
185th row.

Currently this is how it works. A pull request that changes the behavior and is tested on both existing light example sketches in our docs is welcome.


Add functions to select a specific gpu

[x] Add gfx.renderers.wgpu.select_power_preference()
[x] Add gfx.renderers.wgpu.select_adapter()
[x] Add example, and test that these actually work.
[x] Check whether the docs look good.

LGTM! Thanks this will be very useful :smile:


no such file or directory: /opt/graphite/webapp/graphite

pip install graphite-web
but no such file or directory: /opt/graphite/webapp/graphite

No need to open more than one PR


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is this still maintained?

As title says, is this repo still maintained? I can see tons of issues reported dated back to 2018 with 63 open pull requests. Do you guys needs help to maintain this?

I'm available to help as well!

So, the last update is from August, and if need some help to maintain, I help too!

At this point, a fork might be the best option. I'm not able to lead a fork at the moment but if someone else takes it up, I'd certainly contribute to it.

@soren121 Hi, I can help on weekends!

@soren121 @ecfaria @vabatta I made a fork, so I can manage the project, just need some help

I actually opted out from this to a simpler (and lighter) implementation.

@vabatta mind sharing?

@jbromberg here: https://www.npmjs.com/package/react-pure-carousel


ESP32:  [MO] info (Connection.cpp:65): Disconnected

Hi
When I connect the charger  to :https://app.chqtest.net/tabs/settings/config/evse-test-tool
the connection is successed and I can test the charger
but when I try to connect to the real backend server it shows:
[main] Wait for WiFi: ... connected!
[MO] info (MicroOcpp.cpp:131): connecting to ws://************.com:8081/OCPP/Test1234 -- (host: jadawelrealestate.com, port: 8081)
[MO] info (MicroOcpp.cpp:296): initialized MicroOcpp v1.0.0
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected
[MO] info (RequestQueue.cpp:45): operation timeout: BootNotification
I use the normal example without TLS and the backend server not using TLS but they use port 8081 instead of 80 and I tried too many cases and all not working.
NOTE: the backend server accepts another chargers when try to connect.

[MO] info (MicroOcpp.cpp:296): initialized MicroOcpp v1.0.0
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected
[MO] info (Connection.cpp:65): Disconnected

I'm experiencing a similar issue. I'm trying to set up and test the MicroOCPP simulator and dashboard, but it's not communicating with the ESP32 board. If I leave it in its default state, I get the following output:
[MO] info (MicroOcpp.cpp:131): connecting to ws://echo.websocket.events/esp-charger -- (host: echo.websocket.events, port: 80)
E (5088) esp_littlefs: ./components/esp_littlefs/src/littlefs/lfs.c:1347:error: Corrupted dir pair at {0x0, 0x1}
E (5088) esp_littlefs: mount failed,  (-84)
E (5091) esp_littlefs: Failed to initialize LittleFS
[MO] info (MicroOcpp.cpp:296): initialized MicroOcpp v1.0.0
[MO] info (Connection.cpp:68): Connected to url: ws://echo.websocket.events/esp-charger
[MO] warning (RequestQueue.cpp:182): Invalid input! Not a JSON
[MO] warning (Connection.cpp:76): Processing WebSocket input event failed
[MO] info (BootNotification.cpp:83): request has been Accepted
[MO] info (StatusNotification.cpp:50): New status: Available (connectorId 0)
[MO] info (StatusNotification.cpp:50): New status: Available (connectorId 1)
[MO] info (SmartChargingService.cpp:513): New limit for connector 1, scheduled at = 2022-01-28T11:59:55.012Z, nextChange = 2037-01-01T00:00:00.000Z, limit = {-1.000000,-1.000000,-1}
I receive this output. If I connect to port 8000, I see the same "disconnect" message.

I solved this problem by configure the url manually in the webSocket.begin()
in the MicroOcpp.cpp file to
/dir/charger
instead of ws:// ......... /dir/charger
make sure that the port is valid for OCPP websocket connection

Thank you for your response. There was an issue with the server where my connection address is hosted. I have resolved the issue.

@matth-x
Yes it shows as you typed and it also disconnected
when I modified the library to parse the url and remove the first part just keep /dir/charger and path this new url to the websocket.begin() it worked perfectly

Thank you very much for your effort you helped me so much.


Prevent installing both cirq and cirq-unstable.

Is your feature request related to a use case or problem? Please describe.
If cirq-unstable is installed in a virtualenv and you pip install cirq, the virtualenv gets into a bad state. This is because they are different packages with separate metadata, but they put the python code in the same location in a cirq folder in site-packages. So pip thinks both are installed but in fact only the most-recently installed package is "active".
If you try to fix such a situation by uninstalling one package, the code gets removed but pip still thinks the other package is installed. The other package is now in a broken state (can't be imported, etc.). The only way to recover is to uninstall both packages and then install one of them again.
Describe the solution you'd like
I'd like pip install cirq to fail if cirq-unstable is installed, and vice-versa. I did a quick glance at setuptools docs to see if there is some way to specify packages that must not be present, but I couldn't see anything. It also doesn't seem to work to add a package requirement like cirq != *. I'm not sure if there's any other mechanism we can use to accomplish this.
What is the urgency from your perspective for this issue? Is it blocking important work?
P3 - I'm not really blocked by it, it is an idea I'd like to discuss / suggestion based on principle
We have internal workarounds for this to try to keep people's virtualenvs in a good state if they accidentally install both versions, but it'd be great if we could prevent the problem from happening at all.

This sounds like a useful feature, I don't know immediately how to resolve it, but in theory it might be possible. Will flip to triage/accepted when we have a way to do this.

Idea: the problem is that cirq-unstable is a different package from cirq, while in reality is just a different version.
Maybe we should publish pre-releases to the cirq package from master, and then pip install cirq --pre would simply pull the latest pre-release version from pypi.
Thoughts?

I think we used to do something like that, but then changed to use a different package for the unstable releases instead. You're right that just having one pypi package would fix the problem and it's probably the "correct" way to do thing. I don't remember the reasoning for created a separate package, but perhaps @Strilanc or @dabacon can say more.

I posted a question on SO about this after a bit of experimentation.

There is no way to implement this using the two separate packages. The main reason is that setuptools will build the wheel and the wheel has no means to specify post/pre install hooks. See this SO answer.
The remaining options:

Embrace the different packages - in the end the whole tensorflow ecosystem embraced it with tensorflow and tf-nightly
Package is called cirq for both
2.a: we publish daily 5-10 pre-releases to main cirq - I don't love this as it clutters the page
2.b: we publish the dev cirq to a different repository, e.g. anaconda.org or test.pypi.org and then users will have to provide the --extra-index-url flag

My instinct is to prefer 2a. I think 1 is going to get even harder in the future due to recent pip resolver changes where it tries to be more strict about installing dependencies, and 2b also makes life more difficult for anyone who want to use the pre-release versions.
If we needed to limit to just one nightly pre-release per day, that would probably be ok. People who need to track more granularly than that can always check out the source and build a wheel for themselves.

Sounds good, 2a it is - I'm going to merge tomorrow https://github.com/quantumlib/Cirq/pull/3527 unless no-one objects loudly :)


chore(docs): fix docs pages build

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Travis build configuration, readme "Build: passing" badge

Add a Travis-CI build for node 0.10 and 0.11, as well as a build badge in readme.
@mightyiam, to enable this, you only need to sign in at https://travis-ci.org/ with your GitHub account. There's a sample build enabled for my working branch: https://travis-ci.org/mieky/combokeys

Thank you, @mieky.
Ideally, we're testing in all them browsers, using WebDriver.

@mightyiam, oh yes – let's aim for that, shall we? I think Progressbar.js gives as a nice example of using Travis with Saucelabs: https://github.com/kimmobrunfeldt/progressbar.js


unable to remove background from pdf

I was trying to use backgroundremover on a pdf file, received the following error:
Traceback (most recent call last):
File "/home/rubinglen/.local/bin/backgroundremover", line 8, in
sys.exit(main())
^^^^^^
File "/home/rubinglen/.local/pipx/venvs/backgroundremover/lib/python3.11/site-packages/backgroundremover/cmd/cli.py", line 239, in main
remove(
File "/home/rubinglen/.local/pipx/venvs/backgroundremover/lib/python3.11/site-packages/backgroundremover/bg.py", line 184, in remove
img = Image.open(io.BytesIO(data)).convert("RGB")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rubinglen/.local/pipx/venvs/backgroundremover/lib/python3.11/site-packages/PIL/Image.py", line 3280, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fb3e7a4b290>

Yes, it only works for images.


Rm endpoints

solves #80
account number: 8de30226230c35bbc1ce4a63c62a7b9c86bf0ce21fc7bc1a984b7884a9f88782

Ok I will go ahead and restore the get endpoints and remove the post/patch endpoints

BankBlockServices
~~BankConfirmationServices
~~ConnectedBankService
ConnectionRequestServices
UpgradeRequestService

the ones crossed out are the get endpoints

Ok I will go ahead and restore the get endpoints and remove the post/patch endpoints

BankBlockServices
~~BankConfirmationServices
~~ConnectedBankService
ConnectionRequestServices
UpgradeRequestService

the ones crossed out are the get endpoints


Split rotationspeed option to allow for separate horizontal and vertical speeds (controller)

Relates to my issue #43, This is my first pull request on github, if someone could please build this and test it it would help me greatly, since I am having issues for now.
I chose to not rename the existing rotation_speed option for maximum compatibility with existing code & documentation.
When it came to the translations, when the word for "axis" was used elsewhere (like invert axis options) I used the appropriate word. Otherwise I simply added (x) & (Y) at the end of the respective defined string.

Looks really good, you took care of basically everything!


fixed ie9 gradient bug

Fixed issue #990.  Tested change in chrome, firefox, ie8, ie9
and ie11.

Merged, thank you.


[Feature Request]: support a login command

It is can be convenient if a login command is added so that a user can use kaggle login to authenticate himself, kind of like what the docker login command does.

I like this, it's a lot safer than hidden json files or throwing stuff into the env.

Would love to use something like that.


SSL Error Handshake failed

On Windows 10.
Initializing webdriver.
DevTools listening on ws://<IP_ADDRESS>:51540/devtools/browser/92aec1fb-ae52-4ed6-bfea-b23253368d09
Reading library card configuration file.
Loading library page for 'lapl'
[30624:5908:1121/062759.142:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
[30624:5908:1121/062759.142:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
[30624:5908:1121/062759.142:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101

error is not region-specific, tried with other libraries and get the same error.

@manalive  This isn't happening on my Windows 10.   Which version of Libby Fetch are you using?

@manalive This isn't happening on my Windows 10. Which version of Libby Fetch are you using?

It's the same result with 1.0.3 and the current non-release build for libbyfetch-main.


Thankyou @alexandratran !


Typescript definition for moment.min and moment.max are incomplete

Description of the Issue and Steps to Reproduce:
Moment.js Typescript definition of moment.max, and moment.min are incorrect (if the examples in the docs are correct). According to the examples in the docs, the definition of each function should take an expanded array or just an array
export function min(...moments: Moment[]): Moment;
export function min(moments: Moment[]):Moment;
export function max(...moments: Moment[]): Moment;
export function max(moments:Moment[]):Moment;
The Definitely Typed definitions include these.

I believe this is already covered in #3419.  We know the TS needs work, and will get there eventually.  Thanks.

Thanks @mj1856.
Just thought I'd let you know that I encountered another issue with the Moment.UnitOfTime type. Bizzarely my IDE (Visual Studio Code) picked up that type when importing * as moment from "moment", but the build failed using angulr-cli.
I had to just create that specific type and import it within the scope of my own angular code
type momentUnitOfTime = (     "year" | "years" | "y" |     "month" | "months" | "M" |     "week" | "weeks" | "w" |     "day" | "days" | "d" |     "hour" | "hours" | "h" |     "minute" | "minutes" | "m" |     "second" | "seconds" | "s" |     "millisecond" | "milliseconds" | "ms" );
which I copied from moment.d.ts. Moment.diff() requires this type to execute.

@veliancreate - can you check to see if that is still the case with the latest version?  Thanks.


Packaging 4.0.0 no class def found

After trying to upgrade to 4.0.0 I was hit by a few Class not found exceptions:
ClassNotFoundException: io.restassured.path.xml.mapper.factory.JAXBObjectMapperFactory
ClassNotFoundException: io.restassured.path.json.mapper.factory.GsonObjectMapperFactory
java.lang.NoClassDefFoundError: io/restassured/path/json/mapper/factory/JohnzonObjectMapperFactory
cannot access TypeRef

From the wiki I should only need this dependency:
testCompile 'io.rest-assured:rest-assured:4.0.0'

That doesn't seem to be enough
I've made it work with:
  testCompile group: 'io.rest-assured', name: 'rest-assured', version: '4.0.0'
  testCompile group: 'io.rest-assured', name: 'rest-assured-common', version: '4.0.0'
  testCompile group: 'io.rest-assured', name: 'json-path', version: '4.0.0'
  testCompile group: 'io.rest-assured', name: 'xml-path', version: '4.0.0'

See:
https://github.com/hmcts/draft-store/pull/293

I have a same problem.

Have you read the release notes? Some classes have been moved.

Or are you not using these in your code?

TypeRef has also been moved, could that be the problem? It used to be io.restassured.mapper.TypeRef but has been moved to io.restassured.common.mapper.TypeRef

I'm not using them in my code at all, If I click through to rest assured classes they are missing the TypeRef and other classes.
It's a packaging issue, I saw the shade plugin is being used, something isn't setup right there

Also if you have a look at the PR I linked in the description the change it would show I'm not using the code directly 😉

@timja Thanks for your reply. Yes it indeed feels like something is fishy. Haven't experienced this myself though in any of the projects I've upgraded to 4.0, I wonder why we have different experiences.

@timja shade is also only used in the rest-assured-all module so I don't think it should impact the other modules

@timja Also when I browse the rest-assured-common-4.0.0.jar I do see the TypeRef class

Are you using the rest-assured-all module or OSGi or something? Are you sure you're not using both the new and the old version somehow? :)

No none of the above, the project is public and doesn't require anything special to build it.
./gradlew functionalTestClasses
is the quickest way to see the issue.
all changes are in this commit 66b0fd0be6258bce25ed142221d0e94f7f81bc49
https://github.com/hmcts/draft-store
$ rg rest-assured
build.gradle
201:  testCompile group: 'io.rest-assured', name: 'rest-assured', version: '4.0.0'
202:  testCompile group: 'io.rest-assured', name: 'rest-assured-common', version: '4.0.0'
203:  testCompile group: 'io.rest-assured', name: 'json-path', version: '4.0.0'
204:  testCompile group: 'io.rest-assured', name: 'xml-path', version: '4.0.0'

Cannot seem to find the travis log, could you post the link here?

https://travis-ci.com/hmcts/draft-store/builds/111546866
uk.gov.hmcts.reform.draftstore.controllers.HandleUnknownExceptionTest > unhandledExceptionsShouldNotReturnExceptionDetailsToClient FAILED
    java.lang.NoClassDefFoundError: io/restassured/path/json/mapper/factory/JohnzonObjectMapperFactory
        at io.restassured.config.RestAssuredConfig.<init>(RestAssuredConfig.java:41)
        at io.restassured.RestAssured.<clinit>(RestAssured.java:420)
        at uk.gov.hmcts.reform.draftstore.controllers.HandleUnknownExceptionTest.unhandledExceptionsShouldNotReturnExceptionDetailsToClient(HandleUnknownExceptionTest.java:54)
        Caused by:
        java.lang.ClassNotFoundException: io.restassured.path.json.mapper.factory.JohnzonObjectMapperFactory
            at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
            ... 3 more

Looks like that's the only build showing the packaging error, the first error was content being removed, the rest of the errors I experienced locally

I looked at it briefly, can it be a problem with gradle? I have no idea why, but when running:
./gradlew dependencies
I get:
+--- io.rest-assured:rest-assured:4.jso0.0 FAILED

Why is this?

Might have found the issue:
+--- io.rest-assured:rest-assured:4.0.0
|    +--- org.codehaus.groovy:groovy:2.5.6
|    +--- org.codehaus.groovy:groovy-xml:2.5.6
|    |    \--- org.codehaus.groovy:groovy:2.5.6
|    +--- org.apache.httpcomponents:httpclient:4.5.3 -> 4.5.8
|    |    +--- org.apache.httpcomponents:httpcore:4.4.11
|    |    \--- commons-codec:commons-codec:1.11
|    +--- org.apache.httpcomponents:httpmime:4.5.3 -> 4.5.8
|    |    \--- org.apache.httpcomponents:httpclient:4.5.8 (*)
|    +--- org.hamcrest:hamcrest-core:2.1 -> 1.3
|    +--- org.hamcrest:hamcrest-library:2.1 -> 1.3
|    |    \--- org.hamcrest:hamcrest-core:1.3
|    +--- org.ccil.cowan.tagsoup:tagsoup:1.2.1
|    +--- io.rest-assured:json-path:4.0.0 -> 3.1.1
|    |    +--- org.codehaus.groovy:groovy-json:2.4.12 -> 2.5.6
|    |    |    \--- org.codehaus.groovy:groovy:2.5.6
|    |    +--- org.codehaus.groovy:groovy:2.4.12 -> 2.5.6
|    |    \--- io.rest-assured:rest-assured-common:3.1.1
|    |         +--- org.codehaus.groovy:groovy:2.4.12 -> 2.5.6
|    |         \--- org.apache.commons:commons-lang3:3.4 -> 3.8.1
|    \--- io.rest-assured:xml-path:4.0.0 -> 3.1.1
|         +--- org.codehaus.groovy:groovy-xml:2.4.12 -> 2.5.6 (*)
|         +--- org.codehaus.groovy:groovy:2.4.12 -> 2.5.6
|         +--- io.rest-assured:rest-assured-common:3.1.1 (*)
|         +--- org.apache.commons:commons-lang3:3.4 -> 3.8.1
|         +--- org.ccil.cowan.tagsoup:tagsoup:1.2.1
|         \--- javax.xml.bind:jaxb-api:2.2.12 -> 2.3.1
|              \--- javax.activation:javax.activation-api:1.2.0

For some reason xml-path depends on the old version. Need to investigate, but know I have to pick-up kids from Kindergarten :)

I'm getting this instead, but I suspect it's related:
java.lang.NoClassDefFoundError: io/restassured/path/json/mapper/factory/JohnzonObjectMapperFactory

I also got that but forgot to include that in the description

Are you all using Gradle? I'm not much of an Gradle expert but when running in the draft-store project I get:
./gradlew dependencyInsight --dependency rest-assured --configuration testRuntimeClasspath

I get:
> Task :dependencyInsight
io.rest-assured:json-path:3.1.1 (selected by rule)
   variant "runtime" [
      org.gradle.status = release (not requested)
      Requested attributes not found in the selected variant:
         org.gradle.usage  = java-runtime
   ]

io.rest-assured:json-path:4.0.0 -> 3.1.1
\--- io.rest-assured:rest-assured:4.0.0
     \--- testRuntimeClasspath

io.rest-assured:rest-assured:4.0.0 (selected by rule)
   variant "default" [
      org.gradle.status = release (not requested)
      Requested attributes not found in the selected variant:
         org.gradle.usage  = java-runtime
   ]

io.rest-assured:rest-assured:4.0.0
\--- testRuntimeClasspath

io.rest-assured:rest-assured-common:3.1.1
   variant "runtime" [
      org.gradle.status = release (not requested)
      Requested attributes not found in the selected variant:
         org.gradle.usage  = java-runtime
   ]

io.rest-assured:rest-assured-common:3.1.1
+--- io.rest-assured:json-path:3.1.1
|    \--- io.rest-assured:rest-assured:4.0.0
|         \--- testRuntimeClasspath
\--- io.rest-assured:xml-path:3.1.1
     \--- io.rest-assured:rest-assured:4.0.0 (*)

io.rest-assured:xml-path:3.1.1 (selected by rule)
   variant "runtime" [
      org.gradle.status = release (not requested)
      Requested attributes not found in the selected variant:
         org.gradle.usage  = java-runtime
   ]

io.rest-assured:xml-path:4.0.0 -> 3.1.1
\--- io.rest-assured:rest-assured:4.0.0
     \--- testRuntimeClasspath

(*) - dependencies omitted (listed previously)

What does "io.rest-assured:json-path:3.1.1 (selected by rule)" mean? Which rule?

I also found this answer on stackoverflow. He had a similar problem with elastic search and it turned out that spring-boot dependency management picked another version. Could it be the same thing here?

The stackoverflow answer linked to solved it by doing:

ext[elasticsearch.version] = '2.3.1'

And if I introduce this:
ext["rest-assured.version"] = '4.0.0'

it seem to pickup the correct version. Could you verify that it works? If so it's a gradle configuration issue and not a rest-assured issue.

Thanks @johanhaleby that's fixed
Apologies for not noticing that, and nice stack overflow answer

I'm getting this instead, but I suspect it's related:
java.lang.NoClassDefFoundError: io/restassured/path/json/mapper/factory/JohnzonObjectMapperFactory

I have the same problem. Have you solved it?

Yes I was getting that too, if you're using spring and gradle then this will likely be the fix:
https://github.com/rest-assured/rest-assured/issues/1168#issuecomment-493355009

I have the same problem. Have you solved it?

Nope, I just rolled back to 3.x. Haven’t tried again yet.  FWIW my issue was using Maven not Gradle.

Guys!
Based on this link you can add a new dependency: rest-assured-all. It worked for me.
https://github.com/rest-assured/rest-assured/wiki/GettingStarted#java-9
Simply add the following dependency and keep the rest-assured dependency.
<dependency>
   <groupId>io.rest-assured</groupId>
   <artifactId>rest-assured-all</artifactId>
   <version>4.0.0</version>
</dependency>

My scenario: multi-project (module on IntelliJ) with a backend (spring boot) and a test project (using rest-assured).
Spring Boot still using the 3.1.1 version of rest-assured on the last version (2.1.5.RELEASE).

Guys!
Based on this link you can add a new dependency: rest-assured-all. It worked for me.
https://github.com/rest-assured/rest-assured/wiki/GettingStarted#java-9
Simply add the following dependency and keep the rest-assured dependency.
<dependency>
   <groupId>io.rest-assured</groupId>
   <artifactId>rest-assured-all</artifactId>
   <version>4.0.0</version>
</dependency>

My scenario: multi-project (module on IntelliJ) with a backend (spring boot) and a test project (using rest-assured).
Spring Boot still using the 3.1.1 version of rest-assured on the last version (2.1.5.RELEASE).
But I use JDK1.8


Which version of Prometheus RabbitMQ Exporter is suitable with RabbitMQ 3.3.5?

I'm looking for Prometheus plugin for RabbitMQ 3.3.5. Do you know which version is suitable for this? Actually I'm willing to automate dependencies downloading for any RabbitMQ version to ensure that Prometheus is enabled and compatible to avoid manual work. Any hints on that? I'm having some difficulties to find older plugins.
Many thanks

I started this plugin with 3.6.x in mind. So the very first release is for this version. You could try it though.

@deadtrickster , thanks a lot for the answer and a great plugin. We will upgrade RabbitMQ. As I mentioned I'm willing to automate dependency resolution. The script should check RabbitMQ version and ensure that right Prometheus version is downloaded (if possible). How do I identify in the future which RabbitMQ version is suitable to which Prometheus version? As I see these dependencies are required, but not sure how to understand versioning for:
get accept-0.3.3.ez
get prometheus-3.5.1.ez
get prometheus_cowboy-0.1.4.ez
get prometheus_httpd-2.1.8.ez
get prometheus_process_collector-1.3.1.ez
get prometheus_rabbitmq_exporter-<IP_ADDRESS>.ez


WIREFRAMES: Tree Hierarchy [8]

RHUAP-458
As a user of ALM I want to be able to see my stories, features, epics, in relation to one another in an iteration and in the backlog of the list view.
Establish list of requirements for support of all parent/child relationships in the tree.
Any organizational structure above iterations, will show how many levels deep and what will be order and limits of display?
Ballpark Requirements:

Each level or branch will be displayed in the left pane. Where and how these are displayed need to be determined.
In the list view, each level or branch should display all levels/branches below it, not including the leaves. (ie: Epics display scenarios, but not stories)
A leaf can show a leaf, ie: a story can show a task.
The backlog could default to showing only the leaves (stories + tasks) and we can use a filter or another mechanism to toggle the display of the tree to show the nodes up the tree, above the leaves.

Verification Criteria

Designer reviews examples provided and explores any other examples that might provide a solution.
Designer works to understand the criteria.
Criteria to support the variations on the parent/child relationships have been established and approved of by stakeholders.

Example of stories with Tasks:
https://docs.google.com/document/d/1X_TOzI_uFiJ3fAlz33PwK_A91s2NRzwVudvdUC0RHoM/edit#

@mindreeper2420 @Mgranfie @Essjaysee
https://redhat.invisionapp.com/share/YVA4PGYA3#/215471638_DISCOVERY
Please review the wireframes

Latest wireframes are posted to InVision:  https://redhat.invisionapp.com/share/YVA4PGYA3#/216508673_Hierarchy_1_Level
@Mgranfie @mindreeper2420 @Essjaysee Please review

Updated given UXD Feedback:
https://redhat.invisionapp.com/d/main#/projects/prototypes/10109165/screens
@michaelkleinhenz @michaelvirgil - Hierarchy designs are ready for development.  Could not find a story to link to.


"Atom" crashs on open minify css file.

Then i opened minify css file (where all code in one line), "atom" crashs.
Versions

Atom:       1.3.1
Atom-Shell:
OS: Windows 7
Misc

apm  1.4.1
npm  2.13.3
node 0.10.40
python
git
visual studio

This report was created in and posted from the Atom editor using the package bug-report v0.7.1.

Thanks for the report! This looks like a duplicate of https://github.com/atom/atom/issues/979 – feel free to subscribe there for updates.


add manifest.js file instructions to README.md

Adds a new configuration step to the README.md file to avoid a AssetNotPrecompiled error when trying to access the /graphiql route.

Thank you @jay-jlm


Clicking on tick (value) not always working

When trying to move the slider by only clicking a tick (or a tick value) the slider (most of the time) doesn't respond to the click events as expected. It is kind of hard to explain so I created a video of it:
https://youtu.be/L0krQc9KpLM
It also happens on the example page (for example this one and this one)
I've tested on both a Mac in Chome (70), Firefox (63) and Windows in Edge (38)
The problem doesn't occur on Windows in IE (11)!

Btw I'm using version 1.1.5

Thanks for reporting this. It looks like I broke this for mouse events when working on touch events in issue #32. It's fixed now in master, and I'll release it in next version.

Thanks, @piotrdz, I just started to use this lib and found this issue. please release it. :)

I delayed the release a bit to redesign the demo website a bit. All done now.
Closing as fixed with v1.1.6 release.


feat: add prettier functionality for prisma and eslint

Closes #
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog
[Short description of what has changed]

Updated prisma and @prisma/client to 4.12.0
Added prettier-plugin-prisma package to allow formatting of prisma schema files
Added eslint-config-prettier to handle conflicts with eslint and prettier whenever prettier is installed as per Next.js and Prettier recommendations

Screenshots
[Screenshots]

create-t3-app with all options selected.
You can find the directory here
💯

I like the idea here and we should also do #1332.
I think @nexxeln objects though

I'm mixed about this. The more linting we add, the weirder it gets that we don't ship a "complete"/"opinionated" config. But I do lean in favour of these specific ones making sense.
Where do we want to stand on this stuff going forward? Where is the line of being too opinionated? Do we run a risk of people not realising that they're meant to add their own prettier and eslint settings? Should we pivot towards providing a reasonable "full loadout", and people can rip it out if they want?

I think for a better out of the box experience adding the eslint config package at the very least would be a small improvement. It gets around potential conflicts with linting and formatting.
The prisma plugin is probably more on the bloat side, its not really necessary like @juliusmarminge mentioned.

If prisma plugin allows us to catch prisma formatting errors on CI I don't mind having it included.
My 2c is that ct3a should ship whatever the maintainers think is the best opinionated stack. Data point of one, but as an End User of ct3a I don't want to bother with linters/formatters/etc - I want to work on my app asap and I will certainly not be bothering with adding/removing linters.

superseded by #1392


Use the JavaAgent,Conflict with KafkaClient? (Magic v1 does not support record headers)

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[X] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
java.lang.IllegalArgumentException: Magic v1 does not support record headers
at org.apache.kafka.common.record.MemoryRecordsBuilder.appendWithOffset(MemoryRecordsBuilder.java:403)
at org.apache.kafka.common.record.MemoryRecordsBuilder.appendWithOffset(MemoryRecordsBuilder.java:442)
at org.apache.kafka.common.record.MemoryRecordsBuilder.append(MemoryRecordsBuilder.java:499)
at org.apache.kafka.common.record.MemoryRecordsBuilder.append(MemoryRecordsBuilder.java:522)
at org.apache.kafka.clients.producer.internals.ProducerBatch.tryAppend(ProducerBatch.java:107)
at org.apache.kafka.clients.producer.internals.RecordAccumulator.append(RecordAccumulator.java:222)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:93)

Bug

Which version of SkyWalking, OS and JRE?
JDK: 1.8.0_91
SkyWalking: 6.4.0

What happen?
component version:
KafkaVersion:   KafkaClientVersion: <IP_ADDRESS>

Requirement or improvement

the can make the trun off or on control the kafka record

That is your server error. The header begins being supported since 0.11 Kafka server.

i have a kafka error in kafka 0.10 and spring stream with headerMode: embeddedheaders;

@wu-sheng

I have replied, now agian, kafka header supports since 0.11. This is an easy thing to google.

I dont use header; in headerMode: embeddedheaders;spring kafka productor will put the type string in the message,and consumer will replace the type string from message;
when use kafka plugin, productor work well, but consumer dont replace the type string from msg,so we deserialize the msg to json will error;and remove the kafka plugin will work well

I don't know the difference, sorry. We are just injecting the Kafka header. How it works inside, we don't change.

A solution is to patch kafka-clients. Just commenting out the following code of MemoryRecordsBuilder.java. I use kafka-clients 2.3.1.
            if (magic < RecordBatch.MAGIC_VALUE_V2 && headers != null && headers.length > 0)
                throw new IllegalArgumentException("Magic v" + magic + " does not support record headers");

My first thought is to patch KafkaProducerInterceptor. KafkaProducer has a private field  apiVersions which is updated to reflect Kafka server version before KafkaProducer sends its first message to Kafka server. However, KafkaProducer uses a separate thread to actually talk to a Kafka node. We don't know when apiVersions reflects the real version of a Kafka node. So this approach does not work out.


Pls, add support of drivers

Pls, add Nvidia, AMD and Intel driver installation support throug your app.
It's true, that you have GeForce Experience in your repoositories, but without drivers it doesn't work.
It will be great, if I can choose version of driver to install or have autoupdate for drivers.
Thanks!

https://github.com/microsoft/winget-pkgs/issues/18879#issuecomment-869056090


Quickfix: Don't mount the origin package for each function more than once

Regardless if there are multiple functions in the stub. This patch simply reintroduces the _function_mounts stub-level mount cache that we had until last week.
It's a bit janky, but we should refactor this mount logic soon and get rid of a bunch of this. Preferably in a way that lets us upload all mount files in one common thread pool instead of using one for each mount sequentially

@prbot approve


Initial CSS support

This is a very partial solution for #23. Before considering that closed, I'd like to generalize parsing and generating for any language pair.

This is a great start, nice one.


Add rotating Text Sphere.

Is your feature request related to a problem? Please describe.
Adding an animated text sphere using a JS library which rotates on mouse hover
Describe the solution you'd like
I will add a working demo

You have to use vanilla js

You have to use vanilla js

There's a simple library called TagCloud.js, we can implement using vanilla js but the code is around 2000 lines

You can try with another components


NEW INFECTIONS

Which Dataset
Error Description
Two-year-old case here states that it is from travelling from New Zealand yet the government and NICD statements state 2-year-old male with no international travel history.
Suggested fixes

Which case id is that @Data-Saba?

Both 2 year olds are correct. Thanks @Data-Saba closing this.


Add nuget package for C#

Looks like a nice lib. Would be easier to try out in .Net if there was a nuget package available.

Thanks for the suggestion @bradphelan. I'll look into it.


CVE-2021-41190: OCI Manifest Type Confusion Issue (Low Severity)

NOTE: This is based solely on a Github dependabot alert, so it's possible there is a false positive here.
Impact
Systems that rely on digest equivalence for image attestations may be vulnerable to type confusion. The actual impact within yoloc isn't known, but it is quite probable that it is not actually vulnerable at all.
Patches
Since this was a specification-level bug rather than implementation-specific, the patch depends on the library used.  Affected libraries include:

https://github.com/distribution/distribution
https://github.com/aws/aws-sdk-go
https://github.com/opencontainers/image-spec

To see the specific resolution recommended for yoloc, see: https://github.com/chainguard-dev/yoloc/security/dependabot
NOTE: You may need admin rights for the repository to see the details.
Background
This is a low-severity CVE, but given that it is related to image metadata, we should aim to do an above-average job with it.
References

https://github.com/advisories/GHSA-qq97-vm5h-rrhg
https://www.cve.org/CVERecord?id=CVE-2021-41190

The alert was for distribution/distribution, and the vuln fixed in 2.8.0. To see who was calling it, I used:
go mod graph | egrep " .*distribution"
Which output:
github.com/chainguard-dev/yoloc<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Since it seems like there may be multiple libraries pining for an ancient release, I'm just going to update all the deps.

First cleanup commit: 5bd9660

dependabot alert is now closed, and go list -m all | grep distribution
now shows:
github.com/docker/distribution v2.8.0+incompatible