plasma5: 5.18.5 -> 5.19.5

Motivation for this change
Update to a more recent version of the plasma desktop. #94103. This update looks to be more straightforward than the update to 5.18.5 was, though it's impossible to say for sure until it's had more extensive testing.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks! This seems fine, but I'll need a chance to test it. We should wait to merge this until after the branches for NixOS 20.09 are made because Plasma 5.19 is not a long-term support series.

We've branched so no problems there.

KDE Plasma 5.20 appears to be released: https://kde.org/announcements/plasma-5.20.0

Tested this on my system and sddm crashes with hardware.nvidia.prime.offload. It works when using nouveau instead.

@Thra11, any chance you can change this to the latest 5.20.x release? It supposedly has far superior wayland support.

Yes, although I'm having trouble with the fetch-kde-qt.sh script:
❯ ./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/plasma-5
--2020-10-31 15:45:14--  https://download.kde.org/stable/plasma/5.20.2/
Resolving download.kde.org (download.kde.org)... <IP_ADDRESS>, 2a01:4f8:242:1ed5::3
Connecting to download.kde.org (download.kde.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html.tmp’

stable/plasma/5.20.2/index.html.tmp                [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.08s

2020-10-31 15:45:15 (469 KB/s) - ‘stable/plasma/5.20.2/index.html.tmp’ saved [39825]

Loading robots.txt; please ignore errors.
--2020-10-31 15:45:15--  https://download.kde.org/robots.txt
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 404 Not Found
2020-10-31 15:45:15 ERROR 404: Not Found.

Removing stable/plasma/5.20.2/index.html.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=N;O=D
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=N;O=D.tmp’

stable/plasma/5.20.2/index.html?C=N;O=D.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (1.81 MB/s) - ‘stable/plasma/5.20.2/index.html?C=N;O=D.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=N;O=D.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=M;O=A
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=M;O=A.tmp’

stable/plasma/5.20.2/index.html?C=M;O=A.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (2.07 MB/s) - ‘stable/plasma/5.20.2/index.html?C=M;O=A.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=M;O=A.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=S;O=A
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=S;O=A.tmp’

stable/plasma/5.20.2/index.html?C=S;O=A.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (1.96 MB/s) - ‘stable/plasma/5.20.2/index.html?C=S;O=A.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=S;O=A.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=D;O=A
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=D;O=A.tmp’

stable/plasma/5.20.2/index.html?C=D;O=A.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.004s

2020-10-31 15:45:15 (9.98 MB/s) - ‘stable/plasma/5.20.2/index.html?C=D;O=A.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=D;O=A.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=N;O=A
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=N;O=A.tmp’

stable/plasma/5.20.2/index.html?C=N;O=A.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.06s

2020-10-31 15:45:15 (693 KB/s) - ‘stable/plasma/5.20.2/index.html?C=N;O=A.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=N;O=A.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=M;O=D
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=M;O=D.tmp’

stable/plasma/5.20.2/index.html?C=M;O=D.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (1.69 MB/s) - ‘stable/plasma/5.20.2/index.html?C=M;O=D.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=M;O=D.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=S;O=D
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=S;O=D.tmp’

stable/plasma/5.20.2/index.html?C=S;O=D.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (2.14 MB/s) - ‘stable/plasma/5.20.2/index.html?C=S;O=D.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=S;O=D.tmp since it should be rejected.

--2020-10-31 15:45:15--  https://download.kde.org/stable/plasma/5.20.2/?C=D;O=D
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘stable/plasma/5.20.2/index.html?C=D;O=D.tmp’

stable/plasma/5.20.2/index.html?C=D;O=D.tmp        [ <=>                                                                                ]  38.89K  --.-KB/s    in 0.02s

2020-10-31 15:45:15 (2.34 MB/s) - ‘stable/plasma/5.20.2/index.html?C=D;O=D.tmp’ saved [39825]

Removing stable/plasma/5.20.2/index.html?C=D;O=D.tmp since it should be rejected.

FINISHED --2020-10-31 15:45:15--
Total wall clock time: 1.1s
Downloaded: 9 files, 350K in 0.3s (1.32 MB/s)

Suggesting a fix to the fetch-kde-qt.sh in https://github.com/Thra11/nixpkgs/pull/2. Any feedback welcome :)

I think this should probably target staging.

Thanks to @hamburger1984's work on the fetch scripts, I have made some progress on updating plasma to 5.20. I've created a new PR, #104810 (targeting staging, thanks @SuperSandro2000!), as it's a little more complicated. Currently stuck on a "cycle detected in references" error.

Superseded by #104810, which has been merged.


(S) Wireframe the browse / search / list groups page

Acceptance Criteria:
Visual wire frame of new user form
Fields ( TBC )
Working doc
DOD:
All above completed

first pass at the browse / list / search pages for users and groups

Looks good to me.

Yep looks good to me. Can we list them in alphabetical order? or do we already?   Anything changed in design that we would need to review from dev perspective?

@ryanlerch Would paginating client-side instead work?

@relrod works for me, but only if we are talking loading clientside with ajax. otherwise better to just show all the entries here. It is kind of useless to load all the items in the html, then artificially paginate clientside imho.

@ryanlerch fair. I don't know if the IPA API handles pagination (I can look in a bit). I figured just not dumping everything on the page could look nice from a UX perspective, even if we pull all the results at once. But I'm fine with whatever :)

leave wireframe as is, lots of work to change, search functionality available to refine user view


Switch endPoint to endpoint

Code still checks for endPoint as backup (for deprecation purposes)

And there I've gone and messed it up already... I'm not an amateur, but I'm definitely novice when working with PRs on different branches. I did that 2nd commit after doing this PR. So I don't understand why it was included in this PR. I wanted to create a separate PR for that one.

And there I've gone and messed it up already... I'm not an amateur, but I'm definitely novice when working with PRs on different branches. I did that 2nd commit after doing this PR. So I don't understand why it was included in this PR. I wanted to create a separate PR for that one.

Nope - you're golden.
Github adds any commits to the latest PR (providing its on the same branch, and providing the PR has not yet been accepted), Which I will do a bit later (its 3:41 AM here).
I actually prefer the way this works.

Nope - you're golden.
Github adds any commits to the latest PR (providing its on the same branch, and providing the PR has not yet been accepted), Which I will do a bit later (its 3:41 AM here).
I actually prefer the way this works.

Got it - thanks for the explanation. The other commit was just a suggestion, really. Otherwise it errors if no params are given, even for a class/operation that requires no params.

Got it - thanks for the explanation. The other commit was just a suggestion, really. Otherwise it errors if no params are given, even for a class/operation that requires no params.

Merged!

Merged!


Prevent graphs from changing on cursor hover

Is your feature request related to a problem? Please describe.
When scrolling down to the graphs, if the cursor passes over the state list table, the graphs change to reflect the state my cursor is hovering upon. I've to always select "All States" from the list to get full country data or reload the page.
Describe the solution you'd like
It could be better to have such changes happen on clicking on a particular state, either on the map or in the table.
Describe alternatives you've considered
Alternately, a button to go to the country level view could be provided.

Duplicates #1243


Angular 1.6.4

Hello,
I want to build application with angular 1.6.4 but when I use it I get empty page and browser stop working.

Hi @AGhasemzadeh,
There is an updated example with Angular2.
If you need help for your app made with Angular 1.x, please reopen this issue and share some code or showed errors.


Read the runtime attributes in Stage.RUNTIME which is when they would…

… be read in a real case
This relates to ongoing work on WFCORE-1481, just trying to make the test better aligned with real world use cases.

I'm closing this because I don't think this test is actually trying to simulate a runtime-only attribute. It's just validating that a normal Storage.CONFIGURATION attribute with a handler that updates the runtime works properly, all the way through to updating the runtime.


Extension description is wrong

From market place:
"Agent Capabilties to Variables
This extension provide the ability to read HashiCorp Vault secrets. "
oh and there is a similar one thats been up for a few months, did you check it out ?
https://marketplace.visualstudio.com/items?itemName=fernfrost.agent-capabilities

Link not working, extension dead?

Seems the creator of it has decided to unpublish it and probably removed the repo or made it private

But my comment was on the description from your extension initially.
For Terraform outputs, i actually use
https://marketplace.visualstudio.com/items?itemName=raul-arrieta.terraform-outputs


[FEATURE REQUEST] Pipeline to test Epiphany using AWS infrastructure modules

Is your feature request related to a problem? Please describe.
This is to create a release pipeline on Azure DevOps to enable automatic cluster deployment on AWS using modularized Epiphany and testing it.
Describe the solution you'd like

Create a pipeline on AzureDevOps to deploy a cluster
Run unit tests / serverspec tests.

Closing as the work on modules is halted.


set ISTIO_META_NETWORK on egress gateway

https://storage.googleapis.com/istio-prow/pr-logs/pull/istio_istio/27491/integ-telemetry-multicluster-k8s-tests_istio/1/artifacts/telemetry-outboundtrafficpolicy-/_suite_context/istio-state-cluster-0-212811862/cluster-0/istio-egressgateway-6d95c887d4-w4pg2_proxy-clusters.txt
Egress gateways build an endpoint for the multinetwork gateway for all in-mesh endpoints without this set.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
d2d93962e268c7c3088af564c2c31f706bee6a3e
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Pre-release 1.4.0-alpha.5

Description
1.4.0-alpha.4 -> 1.4.0-alpha.5
Including https://github.com/CartoDB/carto-react/pull/463

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.447%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1658

Relevant Lines:
2145

💛  - Coveralls


fix(table): fixed table stories showing error

Closes #1666
Summary
Removes hasRowNesting={false} from the table tr
Change List (commits, features, bugs, etc)

used the props['data-row-nesting'] for StyledComponents instead

Acceptance Test (how to verify the PR)

Open the browser web tool console
Go to https://deploy-preview-1676--carbon-addons-iot-react.netlify.app?path=/story/watson-iot-table--stateful-example-with-expansion-maxpages-and-column-resize
Verify that there is no error message
Expand a row
Verify that there is no error message

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Evosuite error "Unknown class" catching

Description of changes made
Plugin catches EvoSuite error "Unknown class"
Why is merge request needed
Plugin didn't compute this exception before
Other notes
Closes #ICTL-272
What is missing?

Tests

If we set the classpath to a directory that does not exist, the error message will be Classpath element does not exist on disk at .... This case is not an unknown class, but it is an error stemming from the wrong compilation path. Please make sure that TestGene also show proper error message in this case


Experimental Elixer changes

Allow for the user to use spell slots and choose which elixir to get when using spell slots. Also fixes getting duplicate results not increasing quantity.

Experimental Elixer got fully reworked with v12 so this pr is no longer relevant.


Switch to use CallbackManager.Subscribe

With SteamKit 1.6.4 released, it deprecates the api SteamBot uses atm.

manager = new CallbackManager( steamClient );
new Callback<SteamClient.ConnectedCallback>( OnConnected, manager );

I wonder why they chose that method as the preferred one?  That is incredibly non-idomatic C# code - it's not obvious at all that the Callback won't immediately be collected...

Personally, I don't use SteamBot anymore but of course update seems to be inevitable.

The changes are not as hard to implement as it seems - and it looks a bit cleaned up too.
So, before:

And after:

If someone could teach me "how do I PR" then I'll issue a PR today or tomorrow that'll prevent SteamBot from dying when the changes take effect.

You don't need to store the callback instance in a variable as it won't be GC'd instantly as it internally registers itself with the callback manager.

@bartico6 I'll do the PR for this. Also note that the PR will remove botthread from Bot.cs as it'll no longer be required.

I'm aware of that, the variable for it was "out of being used to registering everything" and I noticed this right after posting the screenshot.
Is it just me, or is this kind of unreliable? "Login" sometimes fires and sometimes doesn't, not sure if it's Steam being a dip or did I do something wrong.

Ok quick update for anyone who isn't following the SteamKit2 issue referenced. CallbackManager.Subscribe is coming for 1.6.4 of SteamKit2

Updated issue to reflect release of SteamKit 1.6.4

Did this ever get implemented?

SteamKit 1.6.5:
'CallbackMsgExtensions.Handle(ICallbackMsg, Action)" 'This method will be removed in a future version of SteamKit. Please migrate to CallbackManager.'	ExampleBot	SteamBot\Bot.cs	448
If you update SteamKit to 1.7.0 - there is errors that "Handle" is not exist.

Ya, latest steamkit version removed anything not needed but left
CallbackManager.Subscribe as the only method to use.
This email has been sent from a virus-free computer protected by Avast.
www.avast.com https://www.avast.com/sig-email
<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Feb 18, 2016 at 7:40 AM, doktokto<EMAIL_ADDRESS>wrote:

SteamKit 1.6.5:
'CallbackMsgExtensions.Handle(ICallbackMsg, Action)" 'This method will be
removed in a future version of SteamKit. Please migrate to
CallbackManager.' ExampleBot SteamBot\Bot.cs 448
If you update SteamKit to 1.7.0 - there is errors that "Handle" is not
exist.
—
Reply to this email directly or view it on GitHub
https://github.com/Jessecar96/SteamBot/issues/777#issuecomment-185703611
.

Can we please migrate ICallbackmsg to CallbackManager? It has been almost 1 and a half months o.0

I was able to do my migration to Subscribe myself, however I don't understand how I'm supposed to implement external Callbacks like "SteamNotifications.NotificationCallback" into SteamKit. Anyone managed that?

@Cristaling Migrate it like you do with the other callbacks.

I'm currently working on a PR for this. My application needs to run on VPS but there is a bug in SteamKit causing error until 1.7. So it's kind of a must-have for me. I will also fully test it in a production environment before  a PR is created.

@fjch1997 I haven't had any issues running it in a VPS. Try the mono-devel package instead of the default mono package.

@waylaidwanderer
Well, it seems that some virtual machines are fine. The related SteamKit issue is https://github.com/SteamRE/SteamKit/issues/200


Defining alpha

Based on conversation with @therebelrobot, I wanted to take a stab at defining "feature parity" with the existing site in more detail, which is the goal of developing the alpha version of brigadehub per #45
This is by no means the definition but I wanted to get something out there to help define alpha in a little more detail. I think the best way to do this is through some lightweight stories. So here it goes:

A visitor should be able to learn a little about what Code for San Francisco is and how it works
A visitor should be able to see projects being worked on (past and present) at the Brigade hack nights in a simple beautiful list
A visitor should be able to know when and where hack night is and how to RSVP
A visitor or brigade member should be able to find upcoming events
A visitor should be able to sign up for the newsletter and see past newsletters
A hack night attendee should be able to check in to hack night
A new member should have a simple entry point for learning the different ways they can get involved
A brigade member should be able to post stories or blog posts (see below though as I think we should maybe do an integration rather than a build here)

At a broader level, my hope for the platform is that it really helps accelerate/improve the following for the brigade (among other things, but I put these at the top of my list):

Provide a transparent way for anyone to understand what's happening on projects/code at the brigade
Provide simple ways for people to sort, filter and get connected to projects they find interesting
Provide ways for project leads to add/edit aspects about a project (leveraging other infrastructure like github and best practices wherever possible)
Provide simple, obvious ways to get connected to the Brigade organization and its infrastructure (signing up for slack, getting on the newsletter, etc.)

And an even larger point, I think we should challenge ourselves to only do serious builds where clear additional value is provided, but leverage integrations and APIs for other reasonable collaboration services (GitHub, Slack, Medium, etc.). Likely, more research and assumption testing would need to be done, but some other thoughts I've had:

Would it be better for blogging to leverage Medium and their APIs? https://github.com/Medium/medium-api-docs - they've already got editing down and it would be really easy to maintain a CfSF publication and add people as necessary. Also the discovery and syndication impacts increase.

Can we do more integration with Meetup so we can leverage the high discoverability on Meetup.com but make sure when folks find us on the site we don't completely take them out of the site? Maybe not and maybe it's not really a problem. Either way we should just make sure events show up without having to enter them in multiple places.

Oh, also, as a related note, I would not consider the moving the existing design part of "feature parity," please feel free to go a different direction. I'm for any design that increases usability and also looks beautiful. I'll leave that to the experts ;-)
On that note, any improvements that can be made to content, design, layout, etc should be made to the extent possible during this alpha phase (understanding of course we don't want perfect to be the enemy of good).
I think we want to avoid simply moving the furniture to a different house without taking the opportunity to do some redecorating and applying fresh coats of paint.


Show timeout progress animation

I am not sure if this is doable right now so this can be feature request:
I want to show a progress bar at the bottom of the the toast as an indicator for the user before the toast is about to close. This can be very useful especially if the toast has an action.

Hi! I want this component to be as minimal and as close to the original implementation.
You can always use the style / class option to override default styling, or if you want to customize the toast even more (lose the default styling), use the headless option.

Got it 👍
I am a complete noob when it comes to this. Can you direct me to where I can find a good resource?
Thanks for working on this.


Fix the build and implementation of the 16-byte atomics for MSVC

Credit for the cmake fix here goes to Saleem Abdulrasool.
The substantive fix is embarrassing; I didn't pay close attention to the intrinsic's argument order and just assumed that the first argument for the replacement value was the low half (the part you'd find at index 0 if it were an array), but in fact it's the high half (the part you'd find at index 1).
I also change the code to be much more reinterpret_casty, which isolates the type-punning mostly "within" the intrinsic, and which seems to match how other code I was able to find uses it.

@swift-ci Please test Windows

@swift-ci Please smoke test

Test failures on Windows are due to running out of space.

Thanks @rjmccall!  LGTM


Discussion: envoy internal connection

I was exploring dispatching h2 CONNECT to listeners of the same envoy process.
The mental topology is something like below.
curl -> H2 CONNECT -> ListenerA_HCM -> TCP  -> ListenerB_TcpProxy.
Without any change listenerA_HCM -> TCP  -> ListenerB_TcpProxy will be carried by a TCP connection.
It is expensive in terms of

Resource usage: tcp 4 tuple socket id and consider the TIME_WAIT, ephemeral ports
Latency: it take extra epoll cycle to relay the data
CPU usage: annoying memory copy from and to kernel.

From my point of view, where envoy's role is the sidecar, the tunnel HCM is pluggable. The ListenerB_TcpPoxy carries the business logic. This TcpProxy should kept the minimum changes when ListenerA_HCM switching on and off.  I believe the deployment is significantly different from envoy as central proxy.
To reach the minimum change at TcpProxy listener, the reasonable approach is to create a non-socket based connection while providing the connection interface: read/write so that

The cluster used by tunnel HCM could create such a virtual connection,
Dispatcher create both VirtualClientConnection and VirtualServerConnection
TcpListener find the filter chain and create filter chain for VirtualServerConnection, optionally bypass listener filter.

I think the major challenges includes simulating the delay close, half close, watermarks, supporting other transport socket, etc. But not all are necessary at the very beginning.
This approach could be an optimization for any envoy cluster connecting to envoy itself.
Pros:

Build on top of the existing abstraction: listener, cluster, host, connection.
The new functionaries are extensions. The lifetime of above core components are not impacted.
Almost zero overhead for anyone who doesn't use it
Least control plane change.

Cons:

The pipe-ish connection doesn't have the highest performance among the alternative solutions
The new simulated connection is not tcp feature-complete (I doubt if we need the whole).

Alternative solutions
Cluster network filter, or http upstream filter: The dispatch of connections is achieved by X clusters cluster/route instead of X listener. Migration from traditional listener filter chain match to cluster match is non-trivial.  It's a huge burden when we switching the tunnel.
CC @alyssawilk @PiotrSikora

Looks like this is a specialization of https://github.com/envoyproxy/envoy/issues/11618

I looked at my experimental code. My major change is to strip the existing socket from Connection. Looks like I could use the socket interface instead.

Would you get equivalent behavior if ListenerA_HCM were to select ListenerB_TcpProxy's upstream directly instead of going through some virtual connections?  I guess that you need more than just listenerB's upstream since there may be some L4 filters that need to operate on the request, and the socket type for listenerB could be something like SSL, in which case you'ld need to hook into https://wiki.openssl.org/index.php/BIO to perform SSL operations without an underlying real fd.
From past experience, mimicing an fd API without a real fd behind it is error prone and challenging.

I looked at my experimental code. My major change is to strip the existing socket from Connection. Looks like I could use the socket interface instead.

Which connection?  You still need to go through the H2 codec on listenerA and there could even be multiple H2 CONNECTs active on the same client connection.  Passing A's client connection to B's listener won't work.

Would you get equivalent behavior if ListenerA_HCM were to select ListenerB_TcpProxy's upstream directly instead of going through some virtual connections? I guess that you need more than just listenerB's upstream since there may be some L4 filters that need to operate on the request, and the socket type for listenerB could be something like SSL, in which case you'ld need to hook into https://wiki.openssl.org/index.php/BIO to perform SSL operations without an underlying real fd.

I agree with you that an 100% FD api is extremely hard, especially when listenerB has corner options.
But there is a question ahead.

Does listenerB need to handle both real tcp connection and virtual connection?
Does listenerB need to implement all the tcp listener features?

At my scenario, both answer is NO.
I incline to introduce another UserspacePipeListener. It starts with self defined socket interface, buffer dest and buffer souce transport socket(which excludes SSL), but could carries L4 filters including non-terminated ones (e.g. authz) and terminated ones (e.g. tcp proxy).
I am fine with that because in istio, control plane owns both listenerA_HCM and listenerB_TcpProxy.  If ListenerB has a crazy filter or use some not implement yet feature, listenerA_HCM could choose to go through real tcp connections.

wrt the concern SSL: it's fine to me that control plane create listenerB1 terminating SSL connection and listenerB2 terminating virtual connection.

I looked at my experimental code. My major change is to strip the existing socket from Connection. Looks like I could use the socket interface instead.

Which connection? You still need to go through the H2 codec on listenerA and there could even be multiple H2 CONNECTs active on the same client connection. Passing A's client connection to B's listener won't work.

Oh, my. It looks like you are much more ambitious than my plan.
Original: client <-C1, connect stream->  HCM <-C2,rawtcp-> TcpProxy <-C3, rawtcp-> server
My plan: client <-C1, connect stream->  HCM <-C2,virtual->  TcpProxy <-C3, rawtcp -> server
My proposal affects only C2. The HCM still need to relay the bytes to C2 from the connect stream in C1. I am not gonna relay the fd to C2 or C3.
In the words of SocketInterface, C2 is a non-fd socket from the view of HCM.
Does it make sense?

I looked at my experimental code. My major change is to strip the existing socket from Connection. Looks like I could use the socket interface instead.

Which connection? You still need to go through the H2 codec on listenerA and there could even be multiple H2 CONNECTs active on the same client connection. Passing A's client connection to B's listener won't work.

Oh, my. It looks like you are much more ambitious than my plan.
Original: client <-C1, connect stream-> HCM <-C2,rawtcp-> TcpProxy <-C3, rawtcp-> server
My plan: client <-C1, connect stream-> HCM <-C2,virtual-> TcpProxy <-C3, rawtcp -> server
My proposal affects only C2. The HCM still need to relay the bytes to C2 from the connect stream in C1. I am not gonna relay the fd to C2 or C3.
In the words of SocketInterface, C2 is a non-fd socket from the view of HCM.
Does it make sense?

I think the original picture is actually:
client <-C1, connect stream-> HCM  ->  TcpProxy <-C4, rawtcp-> server
Use of a socket pair or pipe for C2 and C3 seems like a good place to start in order to work around the local ephemeral port limits issue.  Most things would continue to work in that case.  Yielding to the event loop between writes to C2 and reads from C3 is actually a good thing, you want to allow other players to take a turn.  I also think its important to keep call stacks relatively shallow to reduce complexity.
Going beyond that, it depends on what layer you'ld like to hook virtual connections into.  Network::ConnectionImpl has several important responsibilities related to handling of high/low watermarks.  IOHandle doesn't have a way to schedule events directly and needs to rely on Event::FileEvent or TransportSocketCallbacks::setReadBufferReady() to schedule resumption.  Operations that get the local and remote socket address from the socket may also present some difficulties.
Our current non-Envoy based system uses virtual connections for a lot of stuff.  I think the move to SSL BIO for virtual connections may be unavoidable.  It is mostly a matter of getting it implemented.

client <-C1, connect stream-> HCM <-upstream connection C2-> -> <-C3 listener connection-> TcpProxy <-C4, rawtcp-> server

Good point!

Use of a socket pair or pipe for C2 and C3 seems like a good place to start in order to work around the local ephemeral port limits issue.

Agree. An envoy connection wrapping socket pair with "connection attributes" and "connect()" solve the ephemeral port problem.
It solve everything except the overhead of bytes copy and the transport at next poll cycle.

Going beyond that, it depends on what layer you'ld like to hook virtual connections into. Network::ConnectionImpl has several important responsibilities related to handling of high/low watermarks. IOHandle doesn't have a way to schedule events directly and needs to rely on Event::FileEvent or TransportSocketCallbacks::setReadBufferReady() to schedule resumption. Operations that get the local and remote socket address from the socket may also present some difficulties.

I see the challenges there. I cannot even close my virtual connection at this moment :(

I have an end2end demo showing that we can chain HCM and TcpProxy not through a OS fd. Actually it saves 2 fd. See C2 and C3 above.
https://github.com/lambdai/envoy-dai/tree/hostconn

One other comment is this issue feels very similar to what we have already done with the API listener which is being used by Envoy Mobile. We have already discussed having a TCP variant of the API listener which would work with TCP proxy type setups. I wonder if that would help here? Basically maybe this is a special upstream/socket which actually loops back through an API listener interface? cc @junr03 @goaway

We have already discussed having a TCP variant of the API listener which would work with TCP proxy type setups.

Great to see that looping back to listener has a wider use case! To me the "tcp proxy type" is a little vague.
What I am proposed here is to hide the loop between the upstream cluster and the dest listener

Sorry my point is that you can have an API listener variant that injects raw TCP bytes vs. HTTP messages.

I brainstorms the usage of ApiListener and it probably works if

Support listener update.
Could name and reference the listener by socket interface ("api://<api_listener_name>")
Expand the api listener to per worker thread.
allow to attach more than terminate L4 filter (HCM, maybe TcpProxy).

It require extra complexity added to SyntheticConnection.
I think we are head to the similar goal as grabbing a user space connection not though OS fd.

The issue here refers to h2 CONNECT, but am I correct in thinking that this would also apply to HTTP/1.1 CONNECT?
A few months back I posted to the envoy-dev mailing list asking about the best approach to inspect traffic over HTTP/1.1 CONNECT -- in particular, how we would go about running the CONNECT-tunneled traffic through the HTTP stack. The solution that was suggested -- creating an "inner" HCM -- more or less works, but being able to feed the CONNECT tunnel back into a listener sounds like a much better solution, and it sounds like it would also give us the ability to process tunneled TLS.

design doc updated to reflect the dev branch.
https://docs.google.com/document/d/1ok9oyMw-39lUXcO8ihhY2bL6b5gCoyK3-UyFoPEWCgo/edit?usp=sharing
The strawman branch mainly described the bytestream after connection is established.
The connection establishment is somewhat orthogonal

A couple ideas on the topic:

This could combine nicely with multiple addresses per listener (#11184)
If it's combined with multiple addresses, we could skip TLS for the local case (if the listener was configured for TLS).

@lambdai based on my research, this "internal connection" seems not finished yet? Is there rough data for performance improvement, compared with original way (conneciton through kernel)? Thanks! :)

@lambdai I have a use case with two listeners listenerA_HCM and listenerB_HCM:
curl -> H2 CONNECT -> ListenerA_HCM -> TLS -> ListenerB_HCM -> Upstream server. listenerA_HCM is used for tunneling, ListenerB_HCM terminates TLS connection and inspects payload to do some security checks.
Do you have any plan to support this SSL use case? Thanks


Axios: /melt without timeout

Removes /melt timeout. LN payments can take a long time and its best to keep the connection to the mint as long as possible so we can receive change after the payment is done. SoonTM we would have a "pending" state that could make this unnecessary.

Hmm forever is a very long time

yeah will that leave the connection open forever? I think we shouldn't do that. Maybe we can increase the limit, and then as @callebtc said, move to a pending-token system where we can poll the mint for 'invoice paid'

Yes! We literally need infinite here because we don't know how long the Lightning payment will take. The wallet should keep the connection open as long as the mint takes to respond. Even if it doesn't respond at all because something went wrong, I think it's better to sacrifice one connection for a session.

we're removing axios


support date-order

use date-order ${year}${yearUnit} ${monthName} in East-Asia
ex)
2021년 7월 (Korean)
2020年 7月 (Chinese-speaking area)
so i patch like
node_modules/react-native-paper-dates/lib/module/Date/Month.js
@@ -205,7 +205,7 @@ function Month(props) {
   }, /*#__PURE__*/React.createElement(Text, {
     style: [styles.monthLabel, theme.fonts.medium],
     selectable: false
-  }, monthName, " ", year), /*#__PURE__*/React.createElement(View, {
+  }, locale === 'ko' ? year + '년' : monthName, " ", locale === 'ko' ? monthName : year), /*#__PURE__*/React.createElement(View, {

Doesn't it work on iOS out of the box?
It should work out of the box because the Intl api's should fix this.
Richard Lindhout | Eigenaar
Bel mij +31 6 43 42 45 67 <+31643424567>
[image: logo webridge]
Beatrixlaan 2, 4694EG Scherpenisse
KVK      56845367
BTW     NL002365659B60
IBAN    NL93 BUNQ 2038 9661 33
WEB     webRidge.nl https://webridge.nl/
Op vr 30 jul. 2021 om 10:28 schreef sacru2red @.***>:

use date-order ${year}${yearUnit} ${monthName} in East-Asia
ex)
2021년 7월 (Korean)
2020年 7月 (Chinese-speaking area)
so i patch like
node_modules/react-native-paper-dates/lib/module/Date/Month.js
@@ -205,7 +205,7 @@ function Month(props) {
}, /#PURE/React.createElement(Text, {
 style: [styles.monthLabel, theme.fonts.medium],

 selectable: false

}, monthName, " ", year), /#PURE/React.createElement(View, {

}, locale === 'ko' ? year + '년' : monthName, " ", locale === 'ko' ? monthName : year), /#PURE/React.createElement(View, {

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/web-ridge/react-native-paper-dates/issues/93, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRRARM64H6DUOCB32GGINDT2JPBJANCNFSM5BIBXVHQ
.

Hmm maybe we could patch this with an Intl implementation so it works out of the box for all languages.


Node preview unexpected behavior of disappearing correct data preview followed by error on the node

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
When writing a function (in this case lambda), after the final syntax is done (and no further changes in the code are made), for a split second I'm getting correct preview under the node but then it disappears with an error on the node. Then when I confirm node creation (still with no changes in the code) it recomputes and shows again proper results in the preview and error disappears.
https://github.com/enso-org/enso/assets/108271897/e1f7d910-3641-4aa8-af9d-0bb2b25b09c3
Expected behaviour
After the lambda is done, preview of the data is shown - and it stays that way (if the code is correctly written), without errors.
How we can reproduce it?
follow the movie
Screenshots or screencasts
https://github.com/enso-org/enso/assets/108271897/2b53e352-4681-49b3-8b1d-d0db7608eda6
Enso Version
2023.5.9 nightly
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

After you close the bracket, the CB selects the from_vector entry, so the code is probably modified to preview this suggestion. That's why the node fails to show any visualization - AST becomes incorrect.

The possible solutions are described in https://github.com/enso-org/enso/issues/6486 Actually, this task is actually a duplicate of that.


⚠ Bofrost.fr has degraded performance

In 500168f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1388 ms

Resolved: Bofrost.fr performance has improved in 483d29c.


add onMonthCahnge

please add onMonthChange event

Does this method work?
<Calendar
  renderButton={(direction, handleClick) => (
    <button onClick={()=>{
       console.log("month changed")
       handleClick()
    }}>
      {direction === "right" ? ">" : "<"}
    </button>
  )}
/>

yes it's triggered on month change but I need the value of selected month

I will work on it ...

thanks

onMonthChange was added in version 2.6.0.
<DatePicker
   onMonthChange={date=> console.log(date.format())}
/>

There is also an example of it on the demo page.


Get Wrong Branches from a tree

>>> import uproot
>>> uproot.__version__
>>>'4.1.8'

I get different results from uproot and root_numpy. See below:
import ROOT as R
import numpy as np
import uproot

tree = uproot.open('EH1.root:IBD;1')
Cut1="AD==2 & (PromptZ > 0)"
data1=tree.arrays(["EPrompt"],cut=Cut1, library="np")
print(data1)
print(len(data1['EPrompt']))
print("###")
import root_numpy
F=R.TFile("EH1.root")
tree=F.Get("IBD;1")
Cut2="AD==2 && (PromptZ > 0)"
data2=root_numpy.tree2array(tree,
        branches=['EPrompt'],
        selection=Cut2,
        )
print(data2)
print(len(data2))

results:
{'EPrompt': array([], dtype=float64)}
0
###
[(0.4171901 ,) (0.52765977,) (2.66819382,) ... (0.83053756,) (0.84282863,)
 (0.35761279,)]
18052763

Why uproot can not get the right array? Cut1 is for uproot and Cut2 is for root_numpy.

Might it be parentheses around the AD==2?
In Python, AD==2 & (PromptZ > 0) means AD equality-comparison with 2 & (PromptZ > 0), where & is bitwise-and. The == equality-comparison has lower operator precedence than & bitwise-and.
Here's a dump of Python's syntax tree for that expression:
>>> import ast
>>> print(ast.dump(ast.parse("AD==2 & (PromptZ > 0)"), indent=4))
Module(
    body=[
        Expr(
            value=Compare(
                left=Name(id='AD', ctx=Load()),
                ops=[
                    Eq()],
                comparators=[
                    BinOp(
                        left=Constant(value=2),
                        op=BitAnd(),
                        right=Compare(
                            left=Name(id='PromptZ', ctx=Load()),
                            ops=[
                                Gt()],
                            comparators=[
                                Constant(value=0)]))]))],
    type_ignores=[])

The Name(id='AD', ctx=Load()) (representing the "AD" part of the expression) is being equality-compared (Compare( ... ops=[Eq()], ...)) with a tree computed by the binary operation (BinOp) that is the bitwise and (BitAnd()).
Okay, maybe that was too much information. Maybe you just want to try
Cut1="(AD==2) & (PromptZ > 0)"

By contrast, Cut2="AD==2 && (PromptZ > 0)" is TTreeFormula syntax (why && is needed instead of &, it's a different language). The && means logical-and, and == has a higher operator precedence than &&.
My biggest pet peeve about Python+NumPy is that there's no operator for array-at-a-time logical-and. Bitwise-and works, since the arrays are just booleans, but the operator precedence is wrong highly unexpected.
One of the open items we'd like to fill is to get formulate up to date so that Uproot's cut strings can use TTreeFormula syntax instead of Python syntax (as an option, default being TTreeFormula).

Might it be parentheses around the AD==2?
In Python, AD==2 & (PromptZ > 0) means AD equality-comparison with 2 & (PromptZ > 0), where & is bitwise-and. The == equality-comparison has lower operator precedence than & bitwise-and.
Here's a dump of Python's syntax tree for that expression:
>>> import ast
>>> print(ast.dump(ast.parse("AD==2 & (PromptZ > 0)"), indent=4))
Module(
    body=[
        Expr(
            value=Compare(
                left=Name(id='AD', ctx=Load()),
                ops=[
                    Eq()],
                comparators=[
                    BinOp(
                        left=Constant(value=2),
                        op=BitAnd(),
                        right=Compare(
                            left=Name(id='PromptZ', ctx=Load()),
                            ops=[
                                Gt()],
                            comparators=[
                                Constant(value=0)]))]))],
    type_ignores=[])

The Name(id='AD', ctx=Load()) (representing the "AD" part of the expression) is being equality-compared (Compare( ... ops=[Eq()], ...)) with a tree computed by the binary operation (BinOp) that is the bitwise and (BitAnd()).
Okay, maybe that was too much information. Maybe you just want to try
Cut1="(AD==2) & (PromptZ > 0)"

By contrast, Cut2="AD==2 && (PromptZ > 0)" is TTreeFormula syntax (why && is needed instead of &, it's a different language). The && means logical-and, and == has a higher operator precedence than &&.
My biggest pet peeve about Python+NumPy is that there's no operator for array-at-a-time logical-and. Bitwise-and works, since the arrays are just booleans, but the operator precedence is ~wrong~ highly unexpected.
One of the open items we'd like to fill is to get formulate up to date so that Uproot's cut strings can use TTreeFormula syntax instead of Python syntax (as an option, default being TTreeFormula).

 When I use Cut1="(AD==2) & (PromptZ > 0)", it works.
Many thanks to your detailed explanation!
Great project!

I'm glad it's working for you!


Fixing regexp to split ellipses

Fixes #8

Coverage increased (+0.36%) to 97.92% when pulling df3e1cb9fedb5500356d5d0ea9f637ea7dcade1f on bugfix/8-ellipses into 140048407c19a652413a465dfe3d49c184d5bdcf on master.

Coverage increased (+0.36%) to 97.92% when pulling df3e1cb9fedb5500356d5d0ea9f637ea7dcade1f on bugfix/8-ellipses into 140048407c19a652413a465dfe3d49c184d5bdcf on master.


Fix lbeta for large arguments

Summary
Reimplementing lbeta to be stable when one argument is large and other small.
It is a neat trick I found in the R codebase - you first compute an approximation to lbeta via Stirling approximation to lgamma which allows you to analytically manipulate the expression and avoid catastrophic cancellation for the "bulk" of the value. Then you compute the difference between lgamma and the Stirling approximation (the function lgamma_stirling_diff) and add this to the result to restore precision.
The code in R for the difference between lgamma and Stirling was opaque and used some tricks I didn't really get, but it turns out just using 3 additional terms of the Stirling series as found on Wikipedia is enough for all the tests I could come up with :-)
Possible issues:

Not sure if lgamma_stirling_diff is a good name for the function.
The R code that inspired this implementation (https://github.com/wch/r-source/blob/5a156a0865362bb8381dcd69ac335f5174a4f60c/src/nmath/lbeta.c) is GPLv2. While I reimplemented the code from scratch, some portions of lbeta.hpp are quite similar to the R code as there are only so many ways you can rearrange the Stirling approximation to get stable results. I believe this should not be a copyright issue, but I am not a lawyer.

Tests

A test against values and derivatives precomputed in Mathematica
A test against several identities
A test for extreme values, infinity
A test for stability of value around the cutoff for using the Stirling approximation

Side Effects
Hopefully none. I have not done any performance comparison of the old vs. new implementation. I can imagine the new is faster (can avoid calls to lgamma) or slower (needs quite a bunch of arithmetic operations).
I did not touch the way gradients are computed (as those look OK).
Checklist

[x] Math issue #1611

[x] Institute of Microbiology of the Czech Academy of Sciences

By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

In #1579 @bob-carpenter inquired about Mathematica code. I will address it here, as this PR needs to be merged before #1579.

Also, have you checked that the IP is OK for us to include Mathematica code in comments and use the output of their approximations? I can't see why it wouldn't be, but it'd be good to check before we go too far down the road of using a proprietary software package.

I am not a lawyer, but the code is IMHO easy: I've written the code, I (or my employer) have the IP - this has nothing to do with what you do with the code after it's written.
For ouptut of software, the case is less clear cut, but AFAIK the important part is who did a "creative act" in creating the outputs. Referring to for example this source (but others agree): If the user provides non-trivial inputs to a software, they can usually claim copyright to its outputs (the same way Microsoft cannot claim copyright over stuff written in Word / Excel or Adobe cannot claim copyright to images created in Illustrator). In some cases, just running a software does not give you copyright over the results - for example for software with no inputs designed to produce the outputs. While there is an interesting little explored field over stuff like AI-created artwork, I think we are safely on the good side of the law - my input to Mathematica was creative and non-trivial.

Thanks @mcol for the suggestions, I've implemented all of them and learned a bit more about Stan's style.

On Jan 14, 2020, at 4:51 AM, Martin Modrák<EMAIL_ADDRESS>wrote:
In #1579 @bob-carpenter inquired about Mathematica code. I will address it here, as this PR needs to be merged before #1579.
Also, have you checked that the IP is OK for us to include Mathematica code in comments and use the output of their approximations? I can't see why it wouldn't be, but it'd be good to check before we go too far down the road of using a proprietary software package.
I am not a lawyer, but the code is IMHO easy: I've written the code, I (or my employer) have the IP -

So far so good.  You own the IP to what you write.

this has nothing to do with what you do with the code after it's written.

It does, as this is where the legal restrictions come in.
License to distribute does not follow from owning copyright any more than owning a patent on a technology gives you the right to create it. Patents and copyright are about stopping other people from doing things with your work.  For example, you can write code that's considered a derivative work of other code and then your distribution and licensing is bound by the original code's licensing terms.  Or you can write code  that's covered by a patent you don't own the rights to, so it would be illegal to distribute.
Anyway, I think we should be OK with including code snippets given that Mathematica's a programming language.

For ouptut of software, the case is less clear cut, but AFAIK the important part is who did a "creative act" in creating the outputs. Referring to for example this source (but others agree): If the user provides non-trivial inputs to a software, they can usually claim copyright to its outputs (the same way Microsoft cannot claim copyright over stuff written in Word / Excel or Adobe cannot claim copyright to images created in Illustrator).

That makes sense.  Thanks for looking into this.


The meaning of P matrices in KITTI calibration

Hello, reading mmdetection3D's documentation, "P2: camera2 projection matrix after rectification, an 3x4 array".
So if I understand this correctly, does this mean P2 = K * [R|t]? Where K is the intrinsic and [R|t] is the extrinsic matrices? This would lead to it being 3x4.
However, when i read "after rectification", doesn't that mean that we are already in camera coordinate system? by which we only need the intrinsic matrix K? But K is 3x3.
Another theory i have is that it might be [K|t] where t is the center of the world coordinate in camera coordinate perspective.
Any ideas? Thank you for your time!

The P2 in KITTI can be regarded as the projection matrix from the referenced camera (xyz) to image 2 (uvd). It is not a pure intrinsic matrix because it involves the translation/rotation transformation between the referenced camera and camera 2. You can refer to its original paper for more details.

thank you for this explanation. I have referenced the original paper, and can now draw the connection.


Fail on initialization instead of silently on output

This addresses your concerns in a previous PR @rpdillon

LGTM


Ask for Support

what ?
for contacting a microsoft team about software problem I must Pay You $499 ?!!!
the hack!!!

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

ID: 11e2b93a-e89d-42ce-23d7-4cf85f47ba25
Version Independent ID: 4083c0d5-c871-ef24-d11c-b6ec1adbb571
Content: Automatically apply product keys - Visual Studio
Content Source: docs/install/automatically-apply-product-keys-when-deploying-visual-studio.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @ornellaalt
Microsoft Alias: ornella

look at this, i have a problrm with visual studio 2019, and i want to ask something about it, but they give me this for just an answer https://prnt.sc/s5xzd2

@mteguhfh  Thank you for the feedback, we apologize for not providing a better solution.
If you're having product-related issues or for support requests, please try using Report a problem or Suggest a feature in the Visual Studio community.
There the product team can provide further assessment and offer additional feedback on working through issues and/or customer support scenarios.
Or, for additional options, see:

Visual Studio support
Visual Studio on Stack Overflow


Updates the test suite to use the transform service

Tests passes after https://github.com/apache/beam/pull/30491 but they are not actually using the Transform Service (using a jar-based expansion service instead).
This updates the tests to use the Transform Service. Also fixes an issue that causes the test suite to fail originally.
This fixes https://github.com/apache/beam/issues/30238.

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

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

assign set of reviewers

LGTM on code change in python


No buffer space available (maximum connections reached?)

Hi,
I'm getting this exception on two different computers while trying to test both uPNP and NAT-PMP.
[Network IO] ERROR com.offbynull.portmapper.gateways.network.NetworkRunnable - 2 Exception encountered
java.net.SocketException: No buffer space available (maximum connections reached?): no further information
	at sun.nio.ch.DatagramChannelImpl.send0(Native Method)
	at sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:532)
	at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:509)
	at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:473)
	at com.offbynull.portmapper.gateways.network.NetworkRunnable.handleSelectForUdpChannel(NetworkRunnable.java:256)
	at com.offbynull.portmapper.gateways.network.NetworkRunnable.run(NetworkRunnable.java:113)
	at java.lang.Thread.run(Thread.java:745)

Hey.
This error is benign. During the PCP/NAT-PMP discovery process, the library
runs a  couple of processes to find gateway ips on your machine. It scrapes
every ipv4 and ipv6 address in the output of those processes and checks to
see it it responds to NAT-PMP/PCP messages.
Some of those ips aren't valid  (e.g. <IP_ADDRESS>), so when you try to send a
udp packet to them you'll get that exception. The error is slightly
different for mac/linux/android, but they all get an exception.
The exception doesn't hinder the operation of the library in any way.
I'll see if I can come up with some good logic tonight/tomorrow to filter
out invalid ips before they get accessed.
On Jul 19, 2016 7:14 AM, "lpetrovic05"<EMAIL_ADDRESS>wrote:

Hi,
I'm getting this exception on two different computers while trying to test
both uPNP and NAT-PMP.
[Network IO] ERROR com.offbynull.portmapper.gateways.network.NetworkRunnable - 2 Exception encountered
java.net.SocketException: No buffer space available (maximum connections reached?): no further information
at sun.nio.ch.DatagramChannelImpl.send0(Native Method)
at sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:532)
at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:509)
at sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:473)
at com.offbynull.portmapper.gateways.network.NetworkRunnable.handleSelectForUdpChannel(NetworkRunnable.java:256)
at com.offbynull.portmapper.gateways.network.NetworkRunnable.run(NetworkRunnable.java:113)
at java.lang.Thread.run(Thread.java:745)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/offbynull/portmapper/issues/27, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGD4IomlzUQ-2oNAdbKX97vJNzMGAH0Uks5qXNvGgaJpZM4JPxT-
.

It would be great if these exceptions would be logged as debug at least, because they are not necessarily errors

Sorry for the delay. I had some things that needed my attention.
I'll get this sorted out by tomorrow end of day.

I just release 2.0.4. It should up on maven central soon.
I tried to reduce the amount of error logging by filtering out some IPs and changing the log level of those exceptions to debug. But, it's impossible to get rid of these exceptions entirely. The library tries to scan all network interfaces for port mappers. Certain network interfaces will throw exceptions when you try to bind/send/recv/connect/etc... on them.
I don't think there's a reliable way to check for this before hand.
In addition to these logging tweaks, there are a bunch of other bug fixes. See changelog in readme for more details.

Closing ticket.


How to properly run this on save?

I wanted to enable automatic formatting when saving a file. I tried this:
vis.events.subscribe(vis.events.FILE_SAVE_PRE, function(win)
    format.apply(win)
end)

That...works, I guess, but it does something very weird with the cursor position. What's the correct way of doing this?

Hmmm. Yes. That is something I've been ignoring for some time. It has nothing to do with formatting on save, it's just how vis-format currently works. Not every formatter makes the updated cursor position available, and vis-format does not even try to read it. I'll put it on my TODO to figure something out. Until then I'd postpone enabling format on save or live with the cursor annoyance.
With what formatter(s) are you working?

With what formatter(s) are you working?

I'm using dprint and ruff.

Not every formatter makes the updated cursor position available,

That makes sense, but even deciding to preserve the current line number -- recognizing that may not exactly preserve the position in the document -- would probably be a reasonable heuristic (you would end up "close to" the right place, in most situations).


Release 1.0.0

Move initial code released in 1.0.0 into master branch

general question...is there any need to include where the package was exported from like other @types packages in the read me?

Details

Files exported from
https://github.com/pxblue/types/tree/master

general question...is there any need to include where the package was exported from like other @types packages in the read me?

Details

Files exported from
https://github.com/pxblue/types/tree/master

We probably should flesh out the README a bit more.


[FATAL ERROR]: all coroutines (count: 1) are asleep - deadlock!

This Error occurs from time to time:
#0  Swoole\Coroutine\MySQL->connect() called at [vendor/easyswoole/mysqli/src/Client.php:110]
#1  EasySwoole\Mysqli\Client->connect() called at [vendor/easyswoole/orm/src/Db/MysqlPool.php:18]
#2  EasySwoole\ORM\Db\MysqlPool->createObject() called at [vendor/easyswoole/pool/src/AbstractPool.php:304]
#3  EasySwoole\Pool\AbstractPool->initObject() called at [vendor/easyswoole/pool/src/AbstractPool.php:262]
#4  EasySwoole\Pool\AbstractPool->keepMin() called at [vendor/easyswoole/orm/src/Db/MysqlPool.php:62]
#5  EasySwoole\ORM\Db\MysqlPool->keepMin() called at [vendor/easyswoole/pool/src/AbstractPool.php:236]

Swoole Version => 4.7.1
easyswoole => 3.4.6
easyswoole/orm => 1.4.33

that is swoole debug info ，not realy bug，just ignore it

that is swoole debug info ，not realy bug，just ignore it

No , This will cause the redis or MySQL connect to fail
[Coroutine-310]
#0  Redis->get() called at [/data/code/vendor/hyperf/redis/src/RedisConnection.php:76]
#1  Hyperf\Redis\RedisConnection->__call() called at [/data/code/vendor/hyperf/redis/src/Redis.php:49]
#2  Hyperf\Redis\Redis->__call() called at [/data/code/app/Kernel/Redis.php:190]
#3  App\Kernel\Redis::get() called at [/data/code/app/Service/Models/Gamer.php:1421]
#4  App\Service\Models\Gamer->getHappyCardConf() called at [/data/code/app/Service/Traits/Common.php:561]
#5  App\Service\Logic->userIdentityCheck()
#6  call_user_func_array() called at [/data/code/runtime/container/proxy/App_Controller_GamerController.proxy.php:66]
#7  App\Controller\GamerController->runAction() called at [/data/code/app/Event/OnTask.php:301]
#8  App\Event\OnTask->onStart() called at [/data/code/app/Handler/TaskCallback.php:46]
ddz-slave-1    |
ddz-slave-1    |
[FATAL ERROR]: all coroutines (count: 3) are asleep - deadlock!


Swipe to delete locks vertical movement of the Swipelistview

Describe the bug
Swiping and then deleting the element from the list seems the vertical movement from the list until another row is swiped. So it seems the movement stays locked until another row is swiped (even if it is just a little).
To Reproduce

Construct a list of elements
Swipe to delete an item from the data array (redux controlled list)
try to scroll vertically (Now it doesn't work)
Now swipe another element (just a little)
try to scroll (Now it works)

Environment (please complete the following information):

OS: iOS & Android
RNSLV Version: v3.1.2
RN Version: v0.62.2

Hey @mikeslinkman would you be able to post some code or better yet a reproducible example I could play with? Everything is working fine in my own examples so I need to see what you're doing differently, thanks!

Hi,
Hopefully I get some time later to work on a reproducible example but for now I'll post the code.
`<SwipeListView
        disableLeftSwipe
        data={offlineRoutes}
        style={styles.container}
        keyExtractor={(item, index) => item.routeID}
        onSwipeValueChange={(data) => handleChange(data)}
        renderHiddenItem={(data) => renderHiddenItem(data)}
        renderItem={({item, index}) => renderItem(item, index)} />

The data variable is a redux controlled data array.
 const renderHiddenItem = () => {
    return (
      <RectButton style={styles.rectButton}>
        <Image style={{paddingTop: 10}} source={TRASH_IMAGE} />
      </RectButton>
    );
  };

  const renderItem = (item, index) => {
    return <RouteListItem key={index} item={item} />;
  };

export const RouteListItem = ({item}) => {
  return (
    <ListItem
      style={{padding: 0}}
      title={
        <Text numberOfLines={2} style={styles.h2}>
          {item.title}
        </Text>
      }
      subtitle={
        <View>
          <Text style={styles.subtitle}>
            {Math.round(item.length)} km / {Math.round(item.duration)} h
          </Text>
          <View
            style={{
              flex: 1,
              flexDirection: 'row',
              justifyContent: 'flex-end',
            }}>
            <Rating
              readonly
              type="custom"
              imageSize={10}
              startingValue={item.rating}
              ratingImage={GRAYSTAR_IMAGE}
              ratingColor={Colors.textGray}
              ratingBackgroundColor="#b1b1b1"
            />
          </View>
        </View>
      }
      leftElement={
        <View>
          {item.picture && item.picture.length ? (
            <Image
              source={{
                uri: `data:image/png;base64,${item.picture[0].picture}`,
              }}
              style={styles.thumbnail}
            />
          ) : (
            <Image source={DEFAULT_IMAGE} style={styles.thumbnail} />
          )}
          <View style={styles.overlay} />
        </View>
      }
      rightElement={
        <View>
          <View
            style={{
              flex: 1,
              flexDirection: 'row',
              justifyContent: 'flex-end',
            }}>
            <Text style={styles.distance}>
              {Math.round(item.distance)} km{'\n'}away
            </Text>
          </View>
        </View>
      }
    />
  );
};

@mikeslinkman I don't see anything obvious that would cause this to not work. If you want a working example of using onSwipeValueChange to handle deleting rows (I just double checked) you can check out this file and see if there's something in there that looks different from what you're doing https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/examples/swipe_to_delete.js#L27
Otherwise can I see your handleChange function?

Hi,
Thanks for getting back to me. As far as I can tell not too much is different except for the handling of the actual deleting, since I'm using redux. I'll add the relevant portion of the handleChange which only exclude some calls to delete actual content from the device.
const handleChange = (data) => {
    const {key, value} = data;
    const target = `${RNFS.DocumentDirectoryPath}/Route${key}/`;
    const screenWidth = Math.round(Dimensions.get('window').width / 2);

    if (value > screenWidth) {
      animationRunning = true;
      // Filter the element out of the array so we keep everything except the just deleted route
      const routes = offlineRoutes.filter((item) => item.routeID !== key);
     // Dispatch to our reducer so that the list will be updated
      dispatch(setOnDeviceRoutes(routes));

      animationRunning = false;
    }
  };

I only tried removing the animation running part of the code from the if check but re-adding it doesn't result in the desired behavior.

Okay I think I get what's going on now. Usually when the row finishes swiping but before it is removed it will trigger a function to re-enable scrolling on the parent ListView. However in your case I think your redux action is removing the row before the animation actually finishes. Can I ask you to try to manually re-enable scrolling and see if that fixes it. Here's an example:
<SwipeListView
        listViewRef={ref => this.swipeListViewRef = ref}             <===== ADD THIS LINE
        disableLeftSwipe
        data={offlineRoutes}
        style={styles.container}
        keyExtractor={(item, index) => item.routeID}
        onSwipeValueChange={(data) => handleChange(data)}
        renderHiddenItem={(data) => renderHiddenItem(data)}
        renderItem={({item, index}) => renderItem(item, index)} />

const handleChange = (data) => {
    const {key, value} = data;
    const target = `${RNFS.DocumentDirectoryPath}/Route${key}/`;
    const screenWidth = Math.round(Dimensions.get('window').width / 2);

    if (value > screenWidth) {
      animationRunning = true;
      // Filter the element out of the array so we keep everything except the just deleted route
      const routes = offlineRoutes.filter((item) => item.routeID !== key);
     // Dispatch to our reducer so that the list will be updated
      dispatch(setOnDeviceRoutes(routes));

      animationRunning = false;

      // WHENEVER THE ANIMATION FINISHES...
     this.swipeListViewRef.getScrollResponder().setNativeProps({ scrollEnabled: true }); // <====== ADD THIS
    }
  };

We can maybe come up with a more elegant solution but this would confirm the problem
Thanks!

I'm not near my computer so I'll try it tomorrow. Thanks for the help so
far and I'll get back when I've tried it.
On Mon, Jun 29, 2020, 20:53 Jesse Sessler<EMAIL_ADDRESS>wrote:

Okay I think I get what's going on now. Usually when the row finishes
swiping but before it is removed it will trigger a function to re-enable
scrolling on the parent ListView. However in your case I think your redux
action is removing the row before the animation actually finishes. Can I
ask you to try to manually re-enable scrolling and see if that fixes it.
Here's an example:
<SwipeListView
listViewRef={ref => this.swipeListViewRef = ref}             <===== ADD THIS LINE
disableLeftSwipe
data={offlineRoutes}
style={styles.container}
keyExtractor={(item, index) => item.routeID}
onSwipeValueChange={(data) => handleChange(data)}
renderHiddenItem={(data) => renderHiddenItem(data)}
renderItem={({item, index}) => renderItem(item, index)} />
const handleChange = (data) => {
const {key, value} = data;
const target = ${RNFS.DocumentDirectoryPath}/Route${key}/;
const screenWidth = Math.round(Dimensions.get('window').width / 2);
if (value > screenWidth) {
  animationRunning = true;
  // Filter the element out of the array so we keep everything except the just deleted route
  const routes = offlineRoutes.filter((item) => item.routeID !== key);
 // Dispatch to our reducer so that the list will be updated
  dispatch(setOnDeviceRoutes(routes));

  animationRunning = false;

  // WHENEVER THE ANIMATION FINISHES...
 this.swipeListViewRef.getScrollResponder().setNativeProps({ scrollEnabled: true }); // <====== ADD THIS
}

};
We can maybe come up with a more elegant solution but this would confirm
the problem
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jemise111/react-native-swipe-list-view/issues/481#issuecomment-651297638,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4LEDVLG4MJYLD6RVXG5D3RZDPIZANCNFSM4OIJB4XA
.

Hi
Just getting back now after I've tried your solution to identify the problem. Doing the above mentioned I was able to solve the issue for both iOS and Android. Although there might be better solutions (don't know one yet) this feels perfectly fine for now. So as far as I'm concerned this issue can be seen as closed

Awesome!
Glad it's solved

After I had my morning coffee I also got to that solution and I think that would make more sense. Thanks for the support helped me a lot!


How to get x, y coordinates of neck?

I want to see the changes of coordinates of neck.
How can I get these?

Hi,
you can follow the code given in this blog of using trt-pose (works on pc or jetson device). Specially use the "get_keypoint" function to extract keypoints of any joint.
https://spyjetson.blogspot.com/2019/12/jetsonnano-human-pose-estimation-using.html

Hi,
you can follow the code given in this blog of using trt-pose (works on pc or jetson device). Specifically use the "get_keypoint" function to extract keypoints of any joint.
https://spyjetson.blogspot.com/2019/12/jetsonnano-human-pose-estimation-using.html

Thank you so much

There's something wrong with opencv....I got some errors...


feat: Adding a backup name to compatible backups

Partially Closes https://github.com/cloudnative-pg/cloudnative-pg/issues/1523

/test limit=local

this should be merged in dev/1523-4


Add type definitions to activities

Mostly just a refactoring. There are very few functional changes, just a couple places where components may not have been handling the possibility of a prop being undefined.

@sfentress are we also missing a definition for EmbeddableXhtmlInteractive?

Are we also missing a definition for EmbeddableXhtmlInteractive?

Is that something beyond
export interface Embeddable {
  type: "ManagedInteractive" | "MwInteractive" | "Embeddable::Xhtml";
  content?: string;
}

That's already a part of Embeddable. I was considering splitting it into
interface BaseEmbeddable { ... }

interface ManagedEmbeddable extends BaseEmbeddable { ...}
interface MwEmbeddable extends BaseEmbeddable { ...}
interface XhtmlEmbeddable extends BaseEmbeddable { ...}

type Embeddable = ManagedEmbeddable | MwEmbeddable | XhtmlEmbeddable

but it made the code in embeddable.tsx much more complicated. I could go back to it, though, if it's clearer.
If you mean something else, then I may just be missing it.

I was looking specifically at text-box.tsx which is expecting EmbeddableXhtmlInteractive to be exported from the new types file.

D'oh, mistaken commit from when I was testing that Embeddable type split.

Ah, I'm assuming then that you meant for text-box.tsx to use Embeddable as the type on the prop.


No history in GSP chart

Describe the bug
Current no history in the GSP chart. The yellow line starts at 'now'

Expected behavior
Yellow line to show full time extent
•• Solution **
Should use this API command to get full history of GSP, instead of using data already loaded for map
You may want to use this to get GSP system data i.e the Location object.At the moment you get this from the map data, so if its easier, stick with that

@dctanner let me know if you need anymore details on this issue

This looks done now


Change json tag of spec.Region to customRegion in Configuration

Fix issue https://github.com/oam-dev/kubevela/issues/3384
Signed-off-by: Zheng Xi Zhou<EMAIL_ADDRESS>

LGTM

LGTM


🖼 Optimized Images by the GitHub [ImgBot] (610.60kb -> 448.30kb (26.58%)) 🖼

[ImgBot] Optimize images
*Total -- 610.60kb -> 448.30kb (26.58%)
/obevo-site/src/site/resources/images/merge-pre-view.png -- 138.97kb -> 71.91kb (48.26%)
/obevo-site/src/site/resources/images/merge-post-view.png -- 71.80kb -> 40.14kb (44.1%)
/obevo-site/src/site/resources/images/reverse-engineer-aqua.jpg -- 119.66kb -> 98.49kb (17.69%)
/obevo-site/src/site/resources/images/dependency-graph.jpg -- 54.90kb -> 45.78kb (16.62%)
/obevo-site/src/site/resources/images/algo-overview.jpg -- 66.51kb -> 56.33kb (15.32%)
/obevo-site/src/site/resources/images/hsqlAquaSetting.jpg -- 134.54kb -> 114.57kb (14.85%)
/obevo-site/src/site/resources/images/db-kata-file-setup.jpg -- 24.22kb -> 21.09kb (12.91%)
Signed-off-by: ImgBotApp<EMAIL_ADDRESS>

It's a official tool from the GitHub Marketplace: https://github.com/marketplace/imgbot

ImgBot will crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched.

Hi, apologies for the late reply.
Changes look alright, though you'll need to submit a DCO alongside your code commit for us to accept the change
https://github.com/goldmansachs/obevo/blob/master/CONTRIBUTING.md
And see an example here: https://github.com/goldmansachs/obevo/tree/master/dco

Hi @shantstepanian
Thanks for your reply,  I opened a new Pull Request #252 with a DCO
Sincerely,
Alpay Yildirim


Multiple options for copying

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] other

Current behavior:
Copy for verse only copies the normal text and not other options.
Expected / new behavior:
Have other options for copying. Allowing copying only a few words

@mmahalwy What about double clicking a word(arabic text with class word) to copy it?

@ammarbinfaisal I guess the intention here is people want to copy text, text with tashkeel, image, etc.

It is a good habit to copy a whole 1 ayah, to avoid some misconception and fitnah when we cut the ayah.
But I would like to have option like check box whether i like to copi the arabic, or the translation, trasliteration, other translation, some of them or all of them.
With arabic at first, and other translation/literation on desired/current order.

Yes, I think that's applicable too, seems good for mobile user to navigate
and for developers to implement, right?
On Wed, Mar 6, 2019 at 10:53 PM Naved Islam<EMAIL_ADDRESS>wrote:

@mrtugicom https://github.com/mrtugicom Perhaps a popup modal
containing a textbox, with checkboxes underneath to add
tashkeel/translation as desired? This would also let people copy parts of
an ayah, if they wish.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/quran/quran.com-frontend/issues/1027#issuecomment-470131529,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQt6wLuphWFQIchCt9PlX3YuYrGu4ouJks5vT9ZggaJpZM4WX4m6
.


Double width characters and emojis break layout :-(

It would be :+1: if emojis and other double width characters didn't break the layouts. It seems like a simple change but I haven't found a fix yet. If you have ideas I would be happy to work on it with you.

Fixed: ecf9e38f5525d4e71e30bdffaa24b799345ae8c6

:+1:


[StatsPerform] Bugfixes for tracking deserializer

Use the correct coordinate system and pitch dimensions (fixes #299).
Remove the "BALL_OWNING_TEAM" flag. The Stats Perform tracking data does not define which team has possession.
The periods field of the metadata should be a list, not a dict.
Skip frames in which the game is paused when only_alive = True.

Superseded by #310.


edit row with action buttons

is there is any way to edit an entire row in modal @
AllenFang

@AllenFang Any help on this ugently??


:memo: node-sass on Windows troubleshooting

Prerequisites

[X] I have read the Contributing guidelines
[X] I have read the Code of conduct and I agree with it

Description
Installation (npm install or yarn install) failed consistently when building<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>required by immutadot@master. Latest Windows 10 x64, Node.js 8.2.1 or 8.4.0.
Reason: system was configured to build native packages using VC++ 2015. node-sass only became compatible with v2015 starting at 4.5.0. Configuring npm to use VC++ 2013 for this project using npm config set msvs_version 2013 fixed the problem.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #84   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          50     50
  Lines          93     93
  Branches        4      4
=====================================
  Hits           93     93

Continue to review full report at Codecov.

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

Right! I've moved my paragraph to CONTRIBUTING.md.


No function parameter completion at all (In C)

Hi,
in my environment i’m unable to get function parameter completion displayed at all, writing C99. According to #48 it should be there in the completion-possibility-list, but not after selecting one possibility, right? It doesn’t show up at all for me though…
I’m using ycmd latest GIT (47304e1af6c7a9a18f5dd93723606185956145d1), you-complete-me 0.7.8 and atom 1.6.2.
Is there anything i’m missing?
Thanks!

You can launch atom in dev mode and see the console. ycm plugin logs a lot of useful information.


Gateway pod crashes in KIND with wireguard setup

What happened:
Gateway pod is in CrashLoopBackOff status
What you expected to happen:
Gateway pod to be running successfully running
How to reproduce it (as minimally and precisely as possible):
Deploy KIND with wireguard as a cable driver
make clusters using=prometheus
export KUBECONFIG=$(find $(git rev-parse --show-toplevel)/output/kubeconfigs/ -type f -printf %p:)
subctl deploy-broker --kubeconfig output/kubeconfigs/kind-config-cluster1
subctl join --kubeconfig output/kubeconfigs/kind-config-cluster2 broker-info.subm --clusterid cluster2 --natt=false --cable-driver=wireguard
subctl join --kubeconfig output/kubeconfigs/kind-config-cluster3 broker-info.subm --clusterid cluster3 --natt=false --cable-driver=wireguard

Environment:

Submariner version (use subctl version): 0.9-rc0

subctl gather --modules=connectivity --type=logs returns the attached logs for gw pod.
subctl validate reports gw pod restarts but with a delay
cluster2_submariner-gateway-z7bjl.log
cluster3_submariner-gateway-x92th.log

@Jaanki did you have the wireguard modules enabled in your system?, this is working on CI, but we install & load the wireguard modules.


JS Doc @param Object Bug

From @fleck on April 6, 2018 15:7

VSCode Version: 1.22.0
OS Version: MacOS 10.13.3

Steps to Reproduce:
Create the following file:
/**
 * Create a notification.
 * @param {string} options.heading Text for the header.
 * @param {string} [options.href] Where the primary button links to. The image will also be linked
 * to this href if an image is included.
 * @param {string} [options.imageUrl] Optional image url.
 * @param {string} [options.body] Optional text for the body.
 * @param {string} [options.buttonText] Text of the primary button.
 * @param {string} [options.secondButtonText] Text of the secondary button.
 * @param {string} [options.secondHref] Href of secondary button.
 * @param {string} [type] Add error styling by passing 'Error' for this parameter.
 * @param {object} options Object properties are interpolated into the error template.
 */
const Notification = (options, type = 'default') => {
};

export default Notification;

import the previous file and hover over Notification();
import Notification from './Notification';

Notification();

The signature of the function param 'object' is wrongly classified as any, but the descriptions below are correct.

Move options object description to the first position
/**
 * Create a notification.
 * @param {object} options Object properties are interpolated into the error template.
 * @param {string} options.heading Text for the header.
 * @param {string} [options.href] Where the primary button links to. The image will also be linked
 * to this href if an image is included.
 * @param {string} [options.imageUrl] Optional image url.
 * @param {string} [options.body] Optional text for the body.
 * @param {string} [options.buttonText] Text of the primary button.
 * @param {string} [options.secondButtonText] Text of the secondary button.
 * @param {string} [options.secondHref] Href of secondary button.
 * @param {string} [type] Add error styling by passing 'Error' for this parameter.
 */
const Notification = (options, type = 'default') => {
};

export default Notification;

and now hover over Notification(); and you'll see that the signature is correct, but the descriptions are now wrong.

Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: Microsoft/vscode#47333

From @vscodebot[bot] on April 6, 2018 15:7
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Intellisense when specifying object properties (#40181)

Not sure if the first example (with the out of order param member declaration) is a valid jsdoc or not
In the second case, we lose the main options comment though, along with all the @param tags for the members

@mjbvz

No, at least according to usejsdoc and typescript. The second example is correct.
I'm not sure how inline object types flow through the language service to Code. On the parse tree, at least, all the comments are on their individual @param tags, so it's probably a matter of combining their descriptions correctly for display. @andy-ms might know more about this, or I can go looking to find out.

I hope this is related: TS server wrongly nest @prop definitions. See Screenshot. prop1 and prop2 shoulb be on the same level as form. But TS thinks they are properties of form.

VSCode Version 1.24.1 with default TS version (2.9, I think)

@neekibo nope, it’s not related. Do you mind opening a new issue?

I'm not going to fix (1) since it's not valid jsdoc and is very difficult to parse. @andy-ms fixed (2) with #23276, so I'm going to close this bug.


Add features to DD right sidebar

Description
This adds

italic unknown
reads per sample
non-host reads per sample
host genomes from backend
locations
accordions

The label here isn't vertically-aligned.

I notice that this sidebar is very similar to the details sidebar, but the styling is different. (for example, the font-size and whitespace). Is that intentional? @happyimadesignr

@MarkAZhang @gregdingle Yes, thanks for pointing out, let's keep it consistent with the samples details style. Though for both it would be nice to tighten up. The sample details has a bit too much height. Can we change the height of both to 34px?
Given these are the same style, is there a reason why they can't have shared styles or be a component? The padding and margins are currently done differently in both too.

@MarkAZhang @happyimadesignr
I adjusted the styles to match the details sidebar. As for extracting common component, I'd like to discuss how best to do this given existing patterns.

@tfrcarvalho could you review?

@MarkAZhang @cdebourcy could I get a review?


feature: process_status期望增加返回字段列表参数，支持只返回对应的字段列表 (close #146)

Codecov Report

Merging #185 (3c453dc) into v1.0.17-rc (2c146cc) will increase coverage by 0.02%.
The diff coverage is 43.75%.

@@              Coverage Diff               @@
##           v1.0.17-rc     #185      +/-   ##
==============================================
+ Coverage       16.97%   17.00%   +0.02%
==============================================
  Files             182      182
  Lines            8917     8929      +12
==============================================
+ Hits             1514     1518       +4
- Misses           7403     7411       +8

Impacted Files
Coverage Δ

apps/exceptions.py
58.00% <0.00%> (-0.59%)
:arrow_down:

apps/gsekit/meta/models.py
56.09% <0.00%> (ø)

...it/pipeline_plugins/components/collections/base.py
23.23% <0.00%> (-0.12%)
:arrow_down:

apps/gsekit/process/mock_data.py
0.00% <ø> (ø)

apps/gsekit/process/serializers/process.py
0.00% <0.00%> (ø)

apps/gsekit/process/views/process.py
0.00% <0.00%> (ø)

apps/gsekit/utils/solution_maker.py
50.00% <92.30%> (+1.42%)
:arrow_up:

apps/gsekit/pipeline_plugins/exceptions.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Would this one work with Hyperion?

https://code.google.com/p/boblight/source/browse/trunk/arduino/boblight_arduino_pwm/boblight_arduino_pwm.pde

Closed due to age. Please open a new one, if problems still exists.
Thank you


PRC test failures

Describe what happened
When enabling PRC by default we got some test failures. We need to root-cause and see if they are legitimate.
https://github.com/pulumi/pulumi-gcp/pull/2277

[ ] TestNodePoolGpuAcceleratorPanic - I believe this one is known and an issue with GRPC replay tests. Will confirm.
[ ] TestRandomLabelsCombinationsGo - I believe this one is https://github.com/pulumi/pulumi-gcp/issues/2083, will confirm
[ ] TestRegress1036 - This one is new.

Sample program
.
Log output
No response
Affected Resource(s)
No response
Output of pulumi about
.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Unfortunately PRC seems to regress on https://github.com/pulumi/pulumi-gcp/issues/1036.
Will investigate some more.


Locked up my whole machine

No idea why, touchbar went non-responsive, mouse still moved but couldn't get focus on any windows had to power cycle to get it back. Just figured I'd report it.

Doesn't work on Mac 10.15.1

As this is the only report I've had of this problem (and it's been a while too), I'm going to go ahead and close this issue.


basic_storage Compiler Warning Fix

Hi,
I think that a [[maybe_unused]] attibute should be added to the force_back parameter in the try_emplace method of basic_storage to prevent an unused parameter warning.
I am using gcc version 9.4.0 and I can trigger this warning by inserting a non copy constructible and non default constructible component.
Example warning:
entt/entt.hpp:17457:105: warning: parameter ‘force_back’ set but not used [-Wunused-but-set-parameter]
17457 |     typename underlying_type::basic_iterator try_emplace([[maybe_unused]] const Entity entt, const bool force_back, const void *value) override {
      |                                                                                ~~~~~~~~~~~^~~~~~~~~~

Thanks

Yup, solved 5 days ago on branch wip.
I plan to make a minor release soon with a few changes like this one. 👍


    """Difficult to handle string"""
    ''',
        )
        t = msg.to_toml()
        print(t)
        m = Message.from_toml(t)
        print(m)
>       assert msg.content == m.content
E       assert 'Hello world!...e string"""\n' == 'Hello world!...string"""\n\n'
E           Hello world!
E           """Difficult to handle string"""
E         -

tests/test_message.py:16: AssertionError

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard


Broken tables, missing remainder of manuscript

Description
Table formatting is broken: the caption of table 2 appears as a second column in table 1, and the following paragraph text in a third column. The remainder of the manuscript is not rendered.
(Optional:) Please add any files, screenshots, or other information here.

(Required) What is this issue most closely related to? Select one.
Other
Internal issue ID
dc6604af-01e2-4636-a091-358b96c8c4d3
Paper URL
https://arxiv.org/html/2401.12640v2
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

Thank you for the report! The caption formatting issue should be resolved with the latest latexml, but there is a second bug that requires an upgrade. Namely using \input from within {tabular} (and more generally from within alignments) is not emulated entirely accurately. I have opened a tracking issue in latexml for that.
For authors interested in a short-term fix, avoiding \input inside tabulars and depositing the data directly will work well in the short term.

Reporting the same issue in https://arxiv.org/abs/2308.04100.
Pulling in tex from \input{} inside a table environment pulls in all other text into the entire table.
Here is what the tex looks like there:
\begin{tabular}{rcccccc}
\toprule
 & & \multicolumn{5}{c}{Quantiles and mean of voters in unit}\\\cmidrule(lr){3-7}
Reporting Unit & Unique unit & 1\% & 5\% & 10\% & 50\% & Mean\\\midrule
Precinct & \input{tables/tab01_prec_stat}\\
Ballot Style & \input{tables/tab01_styl_stat}\\
Precinct $\times$ Vote Method & \input{tables/tab01_precmeth_stat}\\\addlinespace
\bottomrule
\multicolumn{7}{r}{\tiny We use \emph{Ballot} to refer to Precinct $\times$ Ballot Style $\times$ Vote Method units, as we describe in the main text.}\\
\end{tabular}
}
\end{table}


Fixed links on ContactMap.org site, forcing removal of WebGL context …

…on NGL unmount

Codecov Report

Merging #131 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   85.18%   85.19%   +<.01%
==========================================
  Files          68       68
  Lines        2640     2641       +1
  Branches      497      497
==========================================
+ Hits         2249     2250       +1
  Misses        386      386
  Partials        5        5

Impacted Files
Coverage Δ

src/component/NGLComponent.tsx
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Adding Universal To the Mix

Adding Universal To Isomorphic apps list

Any reason you didn't use devarchy?


Documentation

Initial commit for Sorting Documentation.

Documentation for a broad topic, such as sorting, searching, backtracking etc. is unnecessary as it would only have a general introduction, which can be found elsewhere, and contents - which are good to have but already exist in the Wiki.

The problem with maintaining such a repo is that we need to put a starting point. Since most of the algorithms are always available over wikis or competitive coding websites.
The above was just a ticket to start a discussion since, I also have aimed to have such a repo in past. We need to comeup with a serious idea if our aim is to provide a common ground for such algorithms.
What do you say ?

I do intend to add descriptions about the working of various algorithms, but for now my intention is to have documentation for various functions and user-defined data types, so that when they need to be re-used in other programs, it makes things easier for the user to know, for example, what a certain class is for, what are its data members for, what member functions are available and what input do they take and what output do they give etc.
I have given an example of what could be added for now in issue #59.


Application crashes when webview is reloaded/ CTRL +R

Describe the bug
In my extension testing after I updated a input text and hit Ctrl+R to refresh the application . It crashes with the below error
(I am only seeing this error when I edit a value for non registered Validator on projectSettings property.)
To Reproduce
Steps to reproduce the behavior:
1.In my test extension edit value of ProjectSettings ItemsPerPage field (I do not have any validation rule registered for this property)
2. CTRL+R on webview, application crashes

Expected behavior
A clear and concise description of what you expected to happen.

In our docs we mention this error if a process crashes, but we probably don't want this to happen on refreshing.
https://github.com/paranext/paranext/wiki/Troubleshooting-Guide#electron-errors

Great find, Roopa! Thanks! A few questions for you:

On what project are you changing this setting? Is it a Scripture project or something else?
Did you add this ItemsPerPage setting in your extension somehow? What did you do? Just added it to your .d.ts file, added it in projectSettings.json, or something else? Could you send us the files in which you added the project setting and in which you are using the project setting?
Would you mind please sending us your logs? Would be best to close the application, delete the logs, do all this through a crash, then send the log file.


v9.8.0 does not contain haproxy v1.9.11

While using v9.8.0 (Latest commit 514038d on 29 Feb) I noticed that I could not use features of haproxy v1.9.11.
I bosh ssh'd into a deployed instance and executed:
# /var/vcap/packages/haproxy/bin/haproxy -v
HA-Proxy version 1.8.20 2019/04/25
Copyright 2000-2019 Willy Tarreau<EMAIL_ADDRESS>
It shows that v1.8.20 is bundled in the v9.8.0 BOSHrelease.
However, when manually creating a dev release and using that one (bosh create-release && bosh upload-release && ./deploy) it shows:
# /var/vcap/packages/haproxy/bin/haproxy -v
HA-Proxy version 1.9.11 2019/09/27 - https://haproxy.org/

Here it answers with the correct version number.
I'd assume that the current final is broken but that could be resolved by just creating a new proper final based on the current master since the blobs seem to be correctly configured.
EDIT:
This is the broken final that I used:
url: https://github.com/cloudfoundry-incubator/haproxy-boshrelease/releases/download/v9.8.0/haproxy-9.8.0.tgz
sha1: 8b9bf30e11e19f40e88cafa1a3cca1037f350516

There has not been a final released published since 9.8.0, which was released prior to updating the blobs. Should be one soon though.