Allow operations client to be subclassed

Note: this is hand-edited for now to preserve compatibility with older
GAPIC clients that set the service address through the ctor. We will
refresh the LRO codegen entirely for the 1.0 release.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   99.44%   99.44%   -0.01%
==========================================
  Files          19       19
  Lines        1809     1803       -6
==========================================
- Hits         1799     1793       -6
  Misses         10       10

Impacted Files
Coverage Δ

lib/google/gax/api_callable.rb
98.31% <0%> (-0.02%)
:arrow_down:

spec/google/gax/api_callable_spec.rb
98.1% <0%> (-0.01%)
:arrow_down:

lib/google/gax/path_template.rb
100% <0%> (ø)
: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 4c0df7a...16897cd. Read the comment docs.

@landrito Could you take a look at this one, too? It's required for https://github.com/googleapis/toolkit/pull/1702.


UC Browser tracking

The "UC Browser" is full with tracking and there are a few unblocked tracking Domains:
gjapplog.ucweb.com
logssug.ucweb.com (tracks every visited URL)
attr.union.ucweb.com (tracks Google-Advertising-ID and MAC Adress)
source: https://www.kuketz-blog.de/uc-browser-datensendeverhalten-android-app-browser-check-teil17/

Hi @JobcenterTycoon thank you for this.
These are added in commit https://github.com/StevenBlack/hosts/compare/f929591b...e22343e9
Closing.


feature: maybe we can add a group and organize all those people's school

How specifically you mean? For instance, university?

Yes

In the commit https://github.com/golang-design/history/commit/c32b5865d4d4c427c74c3f549dd643b42bb81e1b, I've added the alma mater for most of the Go core team. @yangwenmai Please double-check if this fulfills your interests. If yes, then we could close this as done; otherwise, we can continue work on more investigation for more committers.

Thanks for your investigation.


Regen documentation before 2.0.0 cut

Creating a reminder issue to regen docs before cutting 2.0.0.
@jessesquires do we want to change the style? Or are we happy w/ current: https://instagram.github.io/IGListKit/

What do you mean, style? The theme?
I think it's good for now. 👍 We can always update visuals later.
Let's get this to 100% too. Currently at 79%. Actually, I wanted to take a full pass at docs to review before 2.0.0. Will try to do that soon.
Also be sure to get the latest version of jazzy.

Mind if I steal this issue?

Yup theme, that's what I meant. Other option is the "full width" which is kind of nice http://reduxkit.github.io/ReduxKit/master/
++ doc coverage to 100%. Let's do it. If you want to knock some out go for it, happy to help too, and we can starter-task parts.

Have to say Full Width looks great!

@jessesquires Shall we tweak the CSS a little bit? The sidebar cuts off the class name like this on my screen.

@zhubofei -- we'll probably keep the jazzy defaults for now 😄
i'd be open to suggestions after 2.0 ships though 👍


Followon test fix for PR #4067

There was another hole in the tests after updating them, which was missed locally because the local test machines took the "skip for external reasons" path, and didn't actually run the test that failed.  Any SCons test path starts with the value of %TEMP%, which by default is "C:\Users\something\AppData\Local\Temp".  If not entered as a raw string, that's a unicode escape starting with the 3rd char, and leads to a decode error.  I somehow uncovered one of those that wasn't protected as a rawstring.
This is test-only.
Signed-off-by: Mats Wichmann<EMAIL_ADDRESS>Contributor Checklist:

[X] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated CHANGES.txt (and read the README.rst)
[ ] I have updated the appropriate documentation

This one is starting to get more presistent - apparently only on the GH Action / Linux side (I've never seen it on one my my linux setups that I can recall):
 Failed the following test:
	test/Dir/source.py


Microsoft.SecurityInsights 2021-09-01-preview

Merging the 2021-09-01-preview dev branch to release the new version. It includes multiple contributors and every PR to this branch was reviewed and approved.
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@msyyc Could you take a look at the Python track2 generation failure ? Thanks

we will try to fix CI failure for Python ASAP.

we will try to fix CI failure for Python ASAP.

@qiaozha @msyyc Is there something we can do to fix it?/ Is it possible to merge this PR before the fix? We're running 6 days behind schedule with the release of the new version and would want to delay it much longer.
Thanks.

Hi @anat-gilenson The python CI failure is caused by other reason and we will try to fix it ASAP. Thank you for patience.

/azp run

Can't repro the JS SDK generation failure, will take a look offline.

@msyyc Could you take a look at the Python breaking changes and see if it's expected ?

approved for python breaking change.


Add event and handler for iOS background notification

We still need to use application:didReceiveRemoteNotification:fetchCompletionHandler: to handle silent notifications / background updates according to this.
I am adding this helper so I can simply call RNNotifications:didReceiveBackgroundNotification:withCompletionHandler in my application:didReceiveRemoteNotification:fetchCompletionHandler:.

any idea of merging this? I am struggling with background event not triggered issue

@beulahpt you can patch the pull request easily by adding .patch to the url and apply locally. See https://coderwall.com/p/6aw72a/creating-patch-from-github-pull-request

Thanks :)

@songsterq  Thanks for the fix. its working. But its not getting called all the time. Sometimes it works, and sometimes its failing.
I added RNNotifications:didReceiveBackgroundNotification:withCompletionHandler in my AppDelegate.m's didReceiveRemoteNotification method.
Do I need to make any other changes?

Does it always work for some notifications but not others, or for the same notification it works sometimes?
This works only when the notification payload has only {"content-available" : 1} in its aps. If you have anything else then it's not a silent notification and it does not go through application:didReceiveRemoteNotification:fetchCompletionHandler:.

Yes. I have the keys alert, content-available and sound.

i'm also experiencing this issue. Is this going to be merged?

Thanks @songsterq for the fix
We need this fix badly as well, when can this be merged into the main branch
CC: @yogevbd

@yogevbd This has been sitting for 2 months, and looks like many people can benefit from this. Any suggestion on how we can move forward? I am happy to make further changes.

Yes, merging this fix will be very helpful for our efforts as well

When this will be released?

@hos 3.3.0 is out with this fix 🎉


Add content MathML to the output

Hello everyone,
the MathML structure now supports two markups: "presentation MathML" renders the layout of equations (it is what KaTeX already implements today), and "content MathML" encodes the semantic and makes the equations understandable by computers and especially screenreaders; implementing it in KaTeX would be a good idea.
Resolution
If you're looking for the specification of content MathML, all the details can be found in the fourth chapter of the specification. I will be a long work, because I guess a need serializer needs to be written, but may be a good way to get fully standard-compliant speaking of MathML.
I you're looking for more information and an example, this MDN page is a good place to start.

I am familiar with "content" MathML.  In general converting from a presentational description of math to a semantic one is very difficult.  Some parts of TeX are pretty easy to convert, e.g. \frac{x}{y}.  Others are verify difficult/impossible, e.g. typesetting long division.  A more middle of the road example would be something like f(x) = x^2.  We'd have to recognize the series of atoms: f, (, x, ), =, represents a function definition.  This is the kind of thing that would fit well as an extension in our contrib folder.
Converting from a "content" MathML (or some other semantic representation) to a LaTeX (or other "presentational" format) is an easier direction to go.  Why not start with a semantic representation and use KaTeX for rendering?

One thing that would make things a little easier is being able to specify a list of macros to not expand.  We'd also need a way to specify what family each of the unexpanded macros is.

I thought about \frac a little more and even that's not that easy to convert since \frac is also used for partial differentials.


Distinguish between Netflix Zuul and Zuul CI

There is more than one project called Zuul, and both have relevance to
people looking at cloud-native workloads.

Deploy preview for landscape ready!
Built with commit ab972138d5e9eb8e8253b1d03bbf99484a9fc703
https://deploy-preview-315--landscape.netlify.com

This was already brought up as an issue with the Netflix Zuul project: https://github.com/Netflix/zuul/issues/315

Cool - there is not a logo yet (I can send a PR with an update once there is)
Do you want me to make one and add it? Or is that something you want to do on your side?

https://landscape.cncf.io/selected=zuul-ci


Allow telegram to get bottoken from file

This PR allows the user to specify bot_token_file in the Telegram config, which allows specifying token from a file.
Code largely copied from the Slack receiver.

good feature i need it
when will it merged?

Thanks for the contribution, I have just a few small comments smile

Thanks for your review!
I think I've fixed all of the problems you've outlined, except the tests bit. They are analogous to tests for other providers, but they fail with timeout. The stack trace is a bit magical to me, and I can't seem to find the reason why the tests fail. I've commented them out for the time being, but it would be lovely to have them.
Do you mind taking a look?

Sorry for the radio silence, I am not the most consistent contributor lol. I propose continuing in #3226 PR, as this feature needs a last push that I can't provide at this point (btw I looked over the code and it sure looks better than mine)

superseded by #3226


Improve cardinality of server spans for better segmentation

Is your feature request related to a problem? Please describe.
GitHub has been evaluating running the ebpf sidecar container provided by opentelemetry-go-instrumentation as a solution for auto-instrumenting our Golang services. After deploying our POC, we ultimately found the server spans provided by the opentelemetry-go-instrumentation probes to be too generic for us to find useful. We would also love to see more probes developed for additional Golang dependencies beyond what's present here. We're hoping to eventually engage GitHub engineers in contributing to this project, so we're starting off with this issue to describe the work we feel would benefit our use-case.
I'll provide a little more detail here on what I mean by "generic" spans.

DB server spans will all be named "DB", ref:

// pkg/instrumentation/bpf/database/sql/probe.go#L174
return &probe.SpanEvent{
		SpanName:    "DB",
		StartTime:   int64(e.StartTime),
		EndTime:     int64(e.EndTime),
		SpanContext: &sc,
		Attributes: []attribute.KeyValue{
			semconv.DBStatementKey.String(query),
		},
		ParentSpanContext: pscPtr,
	}

We'd benefit from support for templatized parameters here to allow span names to be something like DB <operation, to match the db.operation OTel semconv span name. This allows us to at least segment trace data and RED metrics derived from traces by database operation at a resource level.
Similarly, HTTP server spans are named with the HTTP method only, ref:
// pkg/instrumentation/bpf/net/http/server/probe.go#L204
	return &probe.SpanEvent{
		// Do not include the high-cardinality path here (there is no
		// templatized path manifest to reference).
		SpanName:          method,
		StartTime:         int64(e.StartTime),
		EndTime:           int64(e.EndTime),
		SpanContext:       &sc,
		ParentSpanContext: pscPtr,
		Attributes:        attributes,
	}

While I can see the comment here about the concern around span name cardinality, grouping all traces for a given service by resources segmented on HTTP method only is too blunt for us. We want to see the behavior of specific endpoints in a given service. We'd be interested in expanding this behavior to allow for templatized path parameters to be included in HTTP server span names in a way that is secure/doesn't leak PII.
Describe the solution you'd like
There's a few avenues we'd like to explore with maintainers here:

Understanding what work would be required to improve the cardinality of DB and HTTP server span names for better segmentation of trace data.
Discussing what it would look like to allow ebpf container users to configure span attributes somehow. For example, if a given service is taking advantage of ebpf auto-instrumentation and uses the net/http package, could users provide some configuration to add additional attributes to spans emitted by that probe?
Lastly, we'd love to see probes developed for even more dependencies, especially twirp, which GitHub uses extensively. I didn't find any issues referencing twirp specifically, but I'd love to chime in if there is a place you're tracking requests for/work on probes for new dependencies.

Additional context
I can't commit that GitHub engineers would definitely engage here at this time, but we're trying to generate some interest internally in contributing to this project so I'm hoping this issue can spark some conversation on the topics I've outlined here/any ideas to address these concerns.
Thank you!
cc @arielvalentin who has been working on this internally at GitHub with me 😄

Hi @SophieDeBenedetto, thank you for this issue, it contains some great points.
I think we can improve on the DB and HTTP span names.

database/sql:  I originally thought db.operation should indicate the SQL operation (INSERT, DELETE, ...) as suggested from the semantic conentions and this information is not easy to grab from eBPF without parsing the query. However, I looked into how its done in otelsql, and they use operations specific to database/sql ("sql.conn.query", "sql.conn.exec"). If this approach is acceptable, we can adopt it here as well, and modify the span names.
net/http: I agree that having the method as the span name is not ideal, however using the current instrumentation I could not find a way to extract a templatized path. In eBPF we have access to the URL struct.  Currently I don't see a way of producing something like /api/customer/{custId}/address/{addrId} instead of /api/customer/23476253654/address/237464. If a user wants to opt-in for including the potentially high cardinality span name, we can add an envariable variable for that (similar for the one to collect db queries).
twirp: It looks like twirp is using net/http so I would expect we should have spans correlating to the underlying http with our current probes. Adding new instrumentation can vary in the time it takes to implement, mainly because it depends on the library api, and how accessible the relevant attributes data.  Instrumenting the library itself requires looking into its code and finding the right functions we can probe.

Hi @RonFed and thanks for your response here! I'll share some thoughts on your points one by one:

database/sql -> what's you're suggesting to get parity with otelsql and set span name to the database/sql operation sounds like a great improvement to us. Wherever we can get parity with existing opentelemetry instrumentation behaviour, we'd love to see that.
net/http -> yes indeed this is a hard problem to solve. I don't think we'd be opposed to opting into a feature flag like the one your describing but I agree it doesn't really solve the problem. The OTel spec here describes HTTP span names like this:

HTTP server span names SHOULD be {method} {http.route} if there is a (low-cardinality) http.route available (see below for the exact definition of the {method} placeholder).

But the challenge of how to detect a low-cardinality http.route remains. One thing I'm thinking of is the span name formatters that [opentelemetry-go-contrib](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/net/http/otelhttp/config.go#L44) makes available for users of that package. This allows users to provide their own custom span name formatter to implement logic that could scrub PII data from routes for HTTP span names, and/or recognize high-cardinality vs. low-cardinality routes for span names. Has any thought been given to exposing some similar level that users can pull with using ebpf auto-instrumentation? I confess I don't know what that would take to make a reality.

twirp instrumentation -> Totally understood that this is something that would take investigation to understand what is needed and time to implement. This is an area where GitHub engineers may be interested in plugging in in the future. I'm going to push this idea on my end but I don't think it would be any time in the immediate future.

Thanks again for engaging with us here and looking forward to hearing any additional thoughts you may want to share!


APT source whitelist request for ppa:jonathonf/binutils

Binutils 2.26+ is required for ld.gold on Trusty to work around GCC 6 breaking -fsanitizer builds. Unfortunately binutils 2.26+ is not in ppa:ubuntu-toolchain-r/test for Trusty - we need the ppa.
See user ticket in https://github.com/Project-OSRM/osrm-backend/pull/2653

I'm blocked by binutils 2.28 in conjunction with gcc-8. Every time a new gcc comes along, we need the latest binutils for LTO builds. The problem is that the latest gcc is backported from Ubuntu 18.04, but not the latest binutils.


Schedule causes a panic when run criteria returns NoAndCheckAgain

Bevy version
0.5.0, looking at the code still happens at main
Operating system & version
N/A will happen on all Operating Systems
What you did
Had a run criteria returning NoAndCheckAgain in some cases on a Schedule
What you expected to happen
I expected the run criteria to be reevaluated immediately
What actually happened
The code panicked
Additional information
The panic is raised in bevy_ecs/src/schedule/mod.rs with text "NoAndCheckAgain would loop infinitely in this situation.". I believe that this is an incorrect assumption as the state may be modified (in my case I change a resource) by the run criteria and go down a different code path on the rerun of it. This would make some code easier to read.

Related to #2841.

With stageless merged, run conditions no longer return an enum but a single boolean. Closing as this issue is no longer actionable.


Improve room punishments

Only display popups to users who are currently in the room. This prevents abuse.
Allow warns to be used in private rooms with own authorities.
Display a button to list room staff in the roomban popup.

Requires https://github.com/Zarel/Pokemon-Showdown-Client/pull/419 for (3)

Poke this is a few days.

Client seems to be updated now.
Also, added

Hour-mutes now display "1 hour" rather than "60 minutes".

I don't know if there's a restart since the last client update, so I can't guarantee that everyone's on the new client code.

I think it would also be a good idea to add something that will break the link of an alt when warned. this helps if someone post a link on an alt then switches over to another account but the thing they posted isn't really mute or ban worthy. something similar to how bans work with this.add('|unlink|' + toId(alts[i]));


examples/mesh/ip_internal_network: misconfiguration of driver_ifconfig.driver_free_rx_buffer (IDFGH-13310)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
In mesh_netif.c,
functions mesh_driver_start_root_ap() and mesh_driver_start_node_sta(), the callback function driver_free_rx_buffer is initialized to the function mesh_free() which, in turn, forwards all calls to the heap-based free().
The actual ESP-WIFI-MESH esp_netif initialization configures the driver_free_rx_buffer callback to the function wifi_free() in wifi_netif.c.  This correct function forwards all calls to esp_wifi_internal_free_rx_buffer().
It therefore appears highly likely that buffer-free operations may release Rx buffers onto the wrong free-list, corrupting the WiFi buffer-management facility.

@vjgriswold Thanks for report, we will check it ASAP.

@vjgriswold
If the netif uses the standard wifi driver, when receiving a packet, the path is this:
sta_input(eb)
-> esp_netif_receive(netif, buffer, len, eb)
-> esp_netif->lwip_input_fn(netif, buffer, len, eb)
-> wlanif_input(netif, buffer, len, l2_buff)
-> esp_netif_free_rx_buffer(netif, l2_buff)
-> wifi_free(l2_buff)
-> esp_wifi_internal_free_rx_buffer(l2_buff)

the l2_buff is the eb used in the wifi driver, so free it in the wifi layer is correct.
If the netif uses the mesh link driver, when receiving a packet, the path is this:
sta_input(eb)
-> mesh_task, convert the wifi eb into a mesh-type packet and release the eb
-> receive_task()
-> esp_netif_receive(netif, data.data, data.len, NULL)
->esp_netif->lwip_input_fn(netif, buffer, len, l2_buff)
-> wlanif_input(netif, buffer, len, l2_buff)
-> esp_netif_free_rx_buffer(netif, l2_buff)
-> mesh_free(l2_buff)
-> free(l2_buff)

the l2_buff is NULL, so free it using heap-based free() is correct.


Introduce a list of all flavors

In tests, I keep writing
@pytest.mark.parametrize("flavor", [Flavor.Limited, Flavor.Unlimited])

This issue keeps track of finding/creating a list of all flavors.  I should first look up if Python Enums come with lists of all elements.

Enums support iteration.  Yay.
>>> for shake in Shake:
...     print(shake)

https://docs.python.org/3/library/enum.html#creating-an-enum

So I can simply say
@pytest.mark.parametrize("flavor", Flavor)


Multiple #{} blocks are not highlighted correctly when separated by a comma

I have a line that uses multiple interpolation blocks  e.g.  #{@var}, #{@var2}
The parser takes the second # to be the start of a comment.  If I remove the comma then the second block is highlighted properly.  When it's highlighted incorrectly all code below it in the document is then not highlighted correctly.

I'll tackle this next. I believe this is also related to https://github.com/ezekg/language-haml/issues/32.

There's multiple issues with syntax highlighting within plain text, shown below:

This is a tough one, but I'm working on a couple possible solutions.

This is now fixed in 0.22.2. I am still working on getting proper syntax highlighting for interpolation inside plaintext.


[docs] WGLMakie / export tutorial seems outdated

This: https://makie.juliaplots.org/stable/documentation/backends/wglmakie/#export does not work for me with WGLMakie 0.5.2.
julia> WGLMakie.activate!()
ERROR: UndefVarError: activate! not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:35
 [2] top-level scope
   @ none:1

then further
ERROR: MethodError: no method matching backend_show(::CairoMakie.CairoBackend, ::IOContext{IOStream}, ::MIME{Symbol("text/html")}, ::Scene)
Closest candidates are:
  backend_show(::Any, ::IO, ::MIME{Symbol("text/plain")}, ::Scene) at ~/.julia/packages/Makie/14tKQ/src/display.jl:85
  backend_show(::CairoMakie.CairoBackend, ::IO, ::MIME{Symbol("image/svg+xml")}, ::Scene) at ~/.julia/packages/CairoMakie/ozkuo/src/infrastructure.jl:270
  backend_show(::CairoMakie.CairoBackend, ::IO, ::MIME{Symbol("application/pdf")}, ::Scene) at ~/.julia/packages/CairoMakie/ozkuo/src/infrastructure.jl:306

Hmm this may actually just be a clash in the session where I had previously imported CairoMakie.


Question: GetConnectionString in Microsoft.Extensions.Configuration.ConfigurationExtensions

Asp.NET Core v3.0
In VS2019 I press F12 while method GetConnectionString  is in focus and a metadata file opens, where it shows the location of the source code:
// C:\Program Files\dotnet\packs\Microsoft.AspNetCore.App.Ref\3.0.0\ref\netcoreapp3.0\Microsoft.Extensions.Configuration.Abstractions.dll
Now when I open the above dll, my Decompiler shows
public static string GetConnectionString(this IConfiguration configuration, string name)         {             throw null;         }
But this is not the implementation.
So I searched for it in this repo and found this ref branch which depicts this code above and a src branch which shows the actual implementation:
public static string GetConnectionString(this IConfiguration configuration, string name)         {             return configuration?.GetSection("ConnectionStrings")?[name];         }
What is the `ref` branch? Or better, why do I not see the real implementation when using my decompiler
Ref branch: src/Configuration/Config.Abstractions/ref/Microsoft.Extensions.Configuration.Abstractions.netstandard2.0.cs
Src branch: src/Configuration/Config.Abstractions/src/ConfigurationExtensions.cs

In short: it is better for tooling (Visual Studio).
Further infos:

Reference assemblies
What are reference assemblies?
evolution-of-design-time-assemblies

@gfoidl
Thanks for the links posted!
How do you do it, if you want to examine the source code of a .net core method?
Do you go the respective git repo and search for it?
This ref stuff makes my Decompiler obsolete, cause there is no implementation, but throw null ;-)

Try https://source.dot.net/

Just tried Directory.EnumerateFiles or just EnumerateFiles but no luck.

This one is better: https://referencesource.microsoft.com

It does not make decompiler obsolete, you just have to supply actual implementation assembly as input for it. It is contained in Microsoft.Extensions.Configuration.Abstractions in lib subdirectory. It should be cached somewhere on your local disk if you were recently building something targeting it; or you can load it from NuGet Gallery yourself it it's not.
No idea why source.dot.net currently works so horribly and fails to find half of BCL types, though. Hope that's just a temporary issue.

@MSDN-WhiteKnight
Earlier I was used to just click on the assembly under dependencies and my decompiler opens up the assembly, it was very comfortable.
Offtopic:
I also tried using symbol server and enabled all the options under Tools->Options->Debugging but it doesn't work.
For example when setting a breakpoint at Directory.EnumerateFiles it gives me this when I hit F11:

...
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.IO.FileSystem.dll'. Symbols loaded.
...

SRCSRV: The module 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.IO.FileSystem.dll' does not contain source server information


++!!Here’s How To Watch Free Dricus du Plessis vs. Israel Adesanya Live UFC 305 Livestream Reddit at Home?

How to watch today's UFC 305 streaming info, more
➥ CLICK HERE TO here live NOW
➥ CLICK HERE TO here live NOW
As the boy had made a full and frank admission and this was his first offence, it was agreed that a community resolution wasthe most appropriate and proportionate outcome.
Academy graduate Anthony Elanga is emerging as a bright talent, having scored two goals in United's last three fixtures as the 19-year-old found the net against Atletico Madrid and Leeds.
According to Marco Donzelli, president of CODACONS, the Italian association for the protection of consumer rights,Juventuscould, 15 years after Calciopoli, be once again relegated and stripped of Serie A titles.
The 29-year-old striker showed there was subtlety to his game in giving Maguire the slip early in the second half before having the awareness to slide Jay Rodriguez in behind the back line for Burnley's equaliser.
Uefa said all eight clubs were sanctioned due to their non-compliance with the 'no overdue payables'
Stendel was giving evidence at the trial of former England international Barton who is accused of assaulting the German manager at the end of a match between Barnsley and Fleetwood Town, at the South Yorkshire team's Oakwell Stadium, on April 13, 2019.
The hosts had gone into the game unbeaten in three matches under interim manager Paul Ince. However, they had not won on the road in seven outings since mid-January.
Forward Dave Bennett, who scored Coventry's opening goal at Wembley, said Sillett created a special bond among the squad of players, who are still friends to this
UFC 305: du Plessis vs. Adesanya Live Stream Free The UFC 305: du Plessis vs. Adesanya Match will air on ESPN Live today at 1 p.m. ET. Ready to tune into the UFC 305: du Plessis vs. Adesanya showdown? Here's
Canada's Christine Sinclair was presented with a special award, recognising her as the highest scorer in either men's or women's international football - the 38-year-old has 188 goals in 308 games for her
Ahmad Bin Ali Stadium Its glowing facade is comprised of patterns that characterise different aspects of the
“He stayed true to the players who got him there, which was important. We didn’t lose that bond we had as a team. We had a good core of players who had that work ethic, and it was an example to everyone who came in,” he
We scored a fluke against Chelsea from the same area but apart from that, I thought the young boys did really well.

The Match you are looking for is STREAMING NOW. Follow the given link you will find what you are looking for...
📺📱🔴 LIVE STREAMING CLICK HERE TO WATCH
📺📱🔴 LIVE STREAMING CLICK HERE TO WATCH


added dynamic crest auth walking note

further increase endpoint discovery via the decode endpoint from CREST roots.

Can't access the decode endpoint.
{
  "message": "Unexpected exception thrown of type <class 'eve.server.script.eveserver.crestapi.errors.accessDeniedForbiddenError.AccessDeniedForbiddenError'>",
  "key": "unexpectedException",
  "exceptionType": "InternalServerError",
  "refID": "662febdc-efd6-4f06-9ab0-2e441f0c9c59"
}

@bahrmichael are you sure you are making an authed request?

Nope. Just a plain GET request. Overlooked that.

Decode isn't about getting a list of authed endpoints, it actually links to a public resource, it is about linking to the character the token belongs to.

Is there a devblog I missed about that detail?

@jonobrien afaik it's been that way since CREST's inception.

thanks for clarifying. :+1:

so the crest api is character specific information.  Therefore the data returned via an authed call to <root>/decode/ is all character information allowed via your defined scopes, or am I missing something again?
Yes I can hit the character endpoint publicly, but the authed endpoints do not work without a token anyway. Therefore calling /decode/ with the token returns my accessible endpoints anyway. How is this any different than acquiring all authed scopes dynamically?
What scopes are not returned under an authed call to the /decode/ endpoint? Market data is public, obviously.  I can't find any, except corporation scopes (which are not working on crest? but are ok via xml)

The purpose of decode is list who owns the token. For example if this was a user token it would link to the user. A token could also allow access to more resources than are found from the /character/<character_id>/ resource, such as corporation resources.
The decode resource has nothing to do with finding out what scopes a token has. For example the token could have no scopes and not allow any access to private information, but the scope is still for a given character and so the decode resource would still link to the correct character resource.

The decode resource has nothing to do with scopes really.

Ah ok, thank you. That is very useful information.

Glad I could help :)


Added minimal pheno data

Following discussions, I added the phenotypic data so some figures can be reproduced. On Pierre's advice I've added a minimal version with just what is needed, and I added a script showing how I generated this (rather than having to edit the figure scripts with a newly named pheno file!)
I also updated the README.

Thanks @clarkenj this is great!


Use Fruitties ViewModel on iOS

Create IOSViewModelOwner in native source set
Instantiate IOSViewModelOwner in iOSApp.swift
Add helper function MainViewModel.newCreationExtras()
Instantiate MainViewModel in IOSViewModelOwner
collect() KMP StateFlow to State with SKIE preview API

https://skie.touchlab.co/features/flows-in-swiftui

Delete UIModel and use ViewModel directly
Cart calculates total items, not number of distinct items
Simplify Fruitties UI to match Android & iOS

Smail thing but be good to update following in REAMDE to include ViewModel now
"Fruitties is a sample app using the Kotlin Multiplatform Room, DataStore and Ktor libraries to fetch, store and display data."


Conflict with Drag Ruler 1.8.1 blocks ESC key

If both modules are active the Esc Key does not function.
DFreds Droppables 1.2.10
Drag Ruler 1.8.1

??? Specifically these two modules? Are you sure? This module does nothing with the escape key, or any key at all.

Possibly not. It could be just Drag Ruler causing it.

It most certainly is Drag Ruler then


Fixed optimization callback to return false, added opt counter

I don't like using a reference to count the iterations, but it should only be temporary. Soon I should be able to get it directly from the solution stats in the callback. Depending on changes in Optimization.jl.

@jadon I think the counter can live inside the callback struct.  The ref won't necessarily work because jobs can be running in parallel.


Does someone maintain this project

Hi there,
I am looking for a bom storage solution. I like this small server but i am afraid because the latest commit was 1 year ago. Can someone tell me if this project is alive ?
Regards

Yes, the project is still alive. There's a bit of a chicken/egg issue affecting this project. We're working on defining https://github.com/CycloneDX/cyclonedx-bom-exchange-api which this repo, the bom-repo-server, implements. Once the exchange API gets flushed out more, that will lead to additional work for this project.

Thank you very much, thus I will be spend more time trying to make the search api work. Then, i will use it prod ;)
Thank you for all the work about secure supply chain. It helps a lot.


Fix tests pre GitHub actions

GitHub actions workflow isn't fully successful yet, but has revealed some things to fix.

can you cherry-pick/merge the github actions to show that all tests are passing?

can you cherry-pick/merge the github actions to show that all tests are passing?

The tests aren't all passing in GitHub Actions; we haven't yet reached a state where they were (not on this repo). But they're closer to passing as a result of the fixes that I've cherry-picked here.


Add a "Concept" article on outbound requests

At present, whilst single outbound requests are supported; neither Spin nor Cloud supports being able to run multiple concurrent outgoing requests.

This includes Redis, Postgres, MySQL, Key/Value and HTTP requests.

This could present a limitation to a user who is planning on building their application on Spin/Cloud. The following paragraph is a little more information Re: time/resources/practicability of having multiple concurrent outgoing requests supported.
One plan is to add first-class support for structured concurrency (which is needed for concurrent outgoing requests) to the WASI Component Model and WASI Preview 3.  The timeline for such a task to be completed could take at least one year.
In the meantime, if concurrent outgoing requests are a high priority, then we could potentially emulate concurrent outgoing HTTP requests using WASI Preview 1 or 2 polling (a WASI API for waiting for I/O events on multiple handles).

Explain synchronous vs concurrent; give examples of how traditional languages like Python etc, have ready-built libraries which make concurrency very easy to implement i.e. import concurrent, set max_workers in a thread pool executor and start calling etc.
Mention WASI API for waiting for I/O events on multiple handles and potential first-class support for structured concurrency in WASI Component Model and WASI Preview 3.

Also note that as of yesterday, the official wasi-http proposal has support for concurrent outbound requests: https://github.com/WebAssembly/wasi-http/pull/3#discussion_r1116383159, so we'll want to adopt that when it's ready.  It still won't reflect the long term vision for asynchronous WASI, but it will be a big step in the right direction.


Server exception thrown when a button is inside ui.expander

Wave SDK Version, OS
wave 0.10.0, Ubuntu 18.04 (docker container)
Actual behavior
If a button is placed inside ui.expander, the server throws an exception when the button is clicked.
The Exception looks like this
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 389, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/h2o_wave/server.py", line 323, in __call__
    await self._app.app(scope, receive, send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/starlette/routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/starlette/routing.py", line 44, in app
    await response(scope, receive, send)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/starlette/responses.py", line 152, in __call__
    await self.background()
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/starlette/background.py", line 18, in __call__
    await self.func(*self.args, **self.kwargs)
  File "/home/dott/Projects/q-model-validation/venv/lib/python3.8/site-packages/h2o_wave/server.py", line 248, in _process
    events_state = {k: Expando(v) for k, v in events_state.items()}
AttributeError: 'bool' object has no attribute 'items'

Steps To Reproduce
The following code is sufficient to reproduce the error.
@app('/')
async def serve(q: Q):
    q.page['page'] = ui.form_card(box='3 5 7 5', items=[
        ui.button(name='a1', label='Activate'),
        ui.expander(name='', label='Temp', items=[ui.button(name='a2', label='Activate2')])
    ])
    await q.page.save()

The exception is thrown when 'Activate2' button is clicked.

@dott1718 Thanks for reporting. The failure is caused because the expander's name is empty. The name is a required parameter per the API.
We'll add stricter validation for this (via #513), but for now you can 'fix' this by giving the expander a name.

@dott1718 Thanks for reporting. The failure is caused because the expander's name is empty. The name is a required parameter per the API.
We'll add stricter validation for this (via #513), but for now you can 'fix' this by giving the expander a name.


Added option for st2packs-PersistentVolumes to allow for seamless pack updates

Related to the https://github.com/StackStorm/stackstorm-ha/pull/118 implementation discussion

Hello altogether
we have the requirement to frequently change st2packs via various pipelines and therefore found the default solution via initContainers/Sidecar not fitting, as actionrunner, sensor & api-containers were restarted on update.
Restarts are undesirable as Executions/Workflows will be "Abandoned", so we've searched for a k8s-native solution.
This Pull Request adds the option to use two shared PersistentVolumes (one for Packs, one for VirtualEnvironments) instead of initContainers per component.
Container job-st2-register-content is the only Container allowed to RW onto these PVs and will register content as usual after each upgrade/install via initContainers.
We've successfully updated packs and virtual environments while running Executions/Workflows and had no negative impact with this solution.
As not everybody can use PersistentVolumes and this should be held compatible to existing installations, the default pack-handling via initContainers is untouched.
Thanks to @AngryDeveloper in https://github.com/StackStorm/stackstorm-ha/pull/118 for the idea to deduplicate initContainer & Volume.
Tested with 3.3dev on kubernetes 1.17, 1.18 & 1.19.
Please let me know, if there is something to improve. :)

Hmm, as packs are on a PersistentVolume, no packs (or their contents) will be removed, even if packs are not present in st2packs-container anymore.
This should also be an issue in @AngryDeveloper's NFS-solution in https://github.com/StackStorm/stackstorm-ha/pull/118, unless I'm missing something.
So e.g.:

first the user finds a pack "some_pack" in Version 1.0.0 and wants to use it
let's assume, the pack contains an action "do_something"
the user changes Dockerfile-Args to include this pack in this version
it will be deployed and is usable

Case 1:

the user wants to remove the pack "some_pack", so the user changes Dockerfile-Args
new image will be build and deployed
the commands cp -aR ... in initContainers will copy data from new container onto the existing PersistentVolume and its packs
the pack "some_pack" is still present and is still usable in StackStorm

Case 2:

pack "some_pack" released a new Version 2.0.0, where the action "do_something" was removed
the user wants to upgrade the pack "some_pack" to 2.0.0, so the user changes Dockerfile-Args
new image will be build and deployed
the commands cp -aR ... in initContainers will copy data from new container onto the existing PersistentVolume and its packs
the pack "some_pack" is now present in Version 2.0.0, but in a dirty state, as old action "do_something" was not cleaned up

I've had a look on current st2actionrunner-image and found rsync to be installed.
We could change cp -aR ... to rsync -a --delete ..., so files would be cleaned up properly, without removing any important files currently in use for running executions (we assume, the user knows about any removed action and has no executions using it at this point).
Would this be acceptable as a solution?

Sure, rsync sounds good to me.

@armab
I cannot see what failed in circleci, could you have a look?
I have a question regarding your desired size of pull requests:
We have other changes, that are loosely based on the outcome of this PR.
Not logically, just syntactically, as we've deduplicated some code here to _helpers.tpl and our changes do change exactly .
Would it be better, if we'd integrate these additions in here, oder do a seperate PR with the current master-Code, that would not be compatible to this PR?
In detail:
We found st2packs-Containers to be pretty large (over 120MB for each VirtualEnvironment).
To be able to build, upload and download st2packs-Containers frequently and in reasonable time, we'd imagine splitting up packs into multiple st2packs-images would be benefitial for larger deployments.
This way one could easily build another image for a pack and deploy it quickly, instead of dealing with >2GB and more images, that also can lead to Helm timing out.
We'd like to add the option, defaulting to current behaviour, of providing a list of st2packs-images to pull.
So simply "st2.packs.images" containing a list of items, that have attributes like "st2.packs.image".
If you'd like, we could of course name it "st2.packs.extraImages" (or something like this) and append these into a list with "st2.packs.image".

@moonrail Might be temporary issue as I restarted the e2e build and it's :heavy_check_mark: now.
Good that you asked!
Initially I need to dedicate more time to try it myself to understand the experience, pros/cons. Then I'll be looking for feedback from the community to try it and know their point of view too.
Based on that data, tradeoffs, overall experience, feedback and discussions we might collectively choose with community the path forward.
For instance, we definitely don't want to maintain many conflicting options for distributing st2 pack content: immutable containerized packs as is, containerized packs with persistent volumes, NFS-like approach.
We saw a lot of confusion in Community about building the packs based on the Docker images and so https://github.com/StackStorm/stackstorm-ha/pull/118 might be a path forward? Or maybe we'll replace existing docker-packs approach with the solution you're providing as it has some serious benefits.
Having said that, this all may take time to evaluate.
Additionally, having your opinions, tradeoffs highlighted between the 3 options and operational experience would be helpful too!

@armab
As mentioned, we think having the option to use multiple independent st2packs-containers  is beneficial.
Therefore I've added this change to this PR as well.
This is currently a breaking change, as st2.packs.image is renamed to st2.packs.images and is now a list of images.
What do you think of this?

Reverted from rsync to cp command, as st2packs-runtime is based on alpine and is not shipped with it.
rsync would have to be installed here first:
https://github.com/StackStorm/st2packs-dockerfiles/blob/master/st2packs-runtime/Dockerfile

@armab
So, current plan is to have three options?

direct use of (external) NFS via Volume (see https://github.com/StackStorm/stackstorm-ha/pull/118)

How is this filled initially? Via st2actionrunner´s base packs & cp -aR?
Any additional packs would be handled via API/Client/UI?
In https://github.com/StackStorm/stackstorm-ha/pull/118 it seems to currently rely on Packs-Container, as Volumes are readOnly, so here you think of removing readOnly and Packs-Container-Support?
Components will not be affected by Pack-Handling

use of ReadWriteMany PersistentVolume (e.g. via NFS) and multiple Packs-Containers

Packs will be in Containers, that fill a PersistentVolume (that will be removed, when cluster is removed)
API/Client/UI-Packs-Installation is prohibited
Components will not be affected by Pack-Handling

as 2, but without PersistentVolume

Components will be restarted on changing Packs-Containers

I do not know how to modify this PR to fit your plans, please give me some hints. :)

@moonrail It's best to keep this PR as is and so I could rely on #118 and #160 conflicting stories in future research and try to find some middle ground between them.
FYI your other changes were released in v0.40.0 chart version: https://github.com/StackStorm/stackstorm-ha/releases/tag/v0.40.0. Thanks for contributing those enhancements!
If you're interested to include packs: [] support via multiple Docker Images, - please do that in a dedicated PR.
I don't see any blockers there and I could merge that feature with no problem as a next step.

@armab
I've reverted this PR to introduce only PV-Handling for packs.
I cannot see why linting is failing, though - on my end helm lints just fine.

@moonrail its looking at charts.yaml I would say where the api version has been set to v2.. I think this has been mixed with PR #163 where I updated the charts to Helm v3
Circle CI log shows
==> Linting .
[ERROR] templates/: error unpacking deprecation-0.2.2.tgz in stackstorm-ha: apiVersion 'v2' is not valid. The value must be "v1"
Error: 1 chart(s) linted, 1 chart(s) failed
Exited with code exit status 1
CircleCI received exit code 1

@christopher-russell
Aah, makes sense.
So we can just wait until your PR is merged, rebase ontop of it and try again. :)

@moonrail I think a rebase against the current master branch might have this one sorted.

@moonrail I think a rebase against the current master branch might have this one sorted.

Hi @moonrail I'm also using PVC for packs & virtualenvs.
For now I manually created 2 PVCs(RWX) and changed templates/jobs.yaml & templates/deployments.yaml to replace emptyDir thing to persistence and all pods are mounted to these PVCs and no ephemeral storage in use now.
Is that enough as I'm not having smooth installation with it. I'm planning to use your code as it is if mine doesn't work as expected.

Hi @moonrail I'm also using PVC for packs & virtualenvs.
For now I manually created 2 PVCs(RWX) and changed templates/jobs.yaml & templates/deployments.yaml to replace emptyDir thing to persistence and all pods are mounted to these PVCs and no ephemeral storage in use now.
Is that enough as I'm not having smooth installation with it. I'm planning to use your code as it is if mine doesn't work as expected.

Hi @moonrail Is it possible for you to use StatefulSet with persistentVolumeTemplate instead?
Using what you've suggested deletes pvc when chart is deleted.
I tried using
annotations:
helm.sh/resource-policy: keep

& it works fine until we reinstall the chart which fails with:
release stackstorm failed: persistentvolumeclaims "st2-packs-pvol-stackstorm" already exists
Or is there any way we can resuse PV with dynamic provisioning.

@moonrail could you review #199? Is there anything missing from #199 that you included in this PR, or that you think would be better a different way?
If #199 is satisfactory for you, then I think we could close this PR. What do you think?

@cognifloyd
Unable to test or evaluate right now or in the next weeks, but I've looked through your PR and the documentation in it and cannot find anything missing.
Props for the good docs incl. examples.
Looks good from my point of view, so I'll close this PR here, hoping yours will go forward. :)

Thanks for taking a look! I hope it goes forward too :)

I will hopefully have time to test next week against AKS, I'll report back once done


feat: Adds support for cardinality aggregation type

Description of changes

I extended the searchable transformer definitions, so the generated enum includes the cardinality aggregation type.
The cardinality aggregation works without any other changes with the current resolver templates.
CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes
Used the amplify-dev build to do a amplify-dev codegen and verfied that the cardinality is generated into the API.ts. Then used the cardinality agg to fetch data from opensearch.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)
[x] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[x] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Change looks reasonable to me


[WIP] Scenarios Generators

I think you should convert the list to str before. Here the str conversion in the key can be done up to nlog(n) times instead of n times.
The str conversion was the first attempt to order hashes, but I think that the ordering based on str is wrong. I looking for a better way to order hashes....

Does a distance (l1, l2, whatever) makes sense in the hash space? I'm not sure it's isometric.

The distance is computed as here: https://github.com/JohannesBuchner/imagehash/blob/master/imagehash.py#L97-L102
I do not know if using hamming distance in str space would make a homogeneous distance. I am investigating since it would be more convenient to use.


Allow to turn on/off lights

Signed-off-by: ahcorde<EMAIL_ADDRESS>New feature
Summary
Related with this issue https://github.com/ignitionrobotics/ign-gazebo/issues/638
Require: https://github.com/ignitionrobotics/sdformat/pull/851

The implementation uses a user define field in the message, otherwise we break ABI in ign-msgs. This should be fixed in Garden with a new field in light.proto.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@osrf-jenkins retest this please

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1


useContractRead returns abi.map is not a function. While useContractReads works.

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
^0.5.1
Current Behavior
useContractRead Function returns TypeError: abi.map is not a function.
Expected Behavior
while useContractReads Successfully returns the said data. Which is the expected returned value with the same input arguments as useContractRead
Steps To Reproduce
  const contract = {
    addressOrName: address,
    contractInterface: abi
  };

  const { data: borrowBalance } = useContractRead({
    ...contract,
    functionName: "borrowBalanceStored",
    args: address,
    chainId: chainId,
  });

  const { data } = useContractReads({
    contracts: [
      {
        ...contract,
        args: address,
        functionName: "borrowBalanceStored",
        chainId: chainId,
      },
    ],
  });

Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example via a CodeSandbox (feel free to use this template) and reopen this issue. Other information is also helpful, like framework (e.g. Next.js), browser, etc.

I got the same error while using useContractWrite function. Why is there no solution to this?

@realsbd We need a minimal reproducible example to look into it more. Feel free to add one.


pkg: oci: Rely on sandbox ID instead of sandbox name

Due to recent changes in CRI-O database, we have to rely on the sandbox ID and not the sandbox name anymore.

Coverage remained the same at 66.01% when pulling db39ee5aab7b5b78bf6c7581a79f25343e129b13 on sboeuf/fix_crio into 41c68f0e17198b073ec9d9dcbc5f35181c30eee0 on master.

LGTM

Coverage remained the same at 66.01% when pulling db39ee5aab7b5b78bf6c7581a79f25343e129b13 on sboeuf/fix_crio into 41c68f0e17198b073ec9d9dcbc5f35181c30eee0 on master.


Update Roulette.java

Are you just wanting to speed up the roulette animation? If so ill check out this and see if it seems more pleasant for users.


prevent the keyboard follow the camera

solves #1
I don't know if moving the keyboard is a usecase some people want (i Don't) but if so, I think a better solution would be to setup the keyboard position as a parameter when initializing the keyboard.
what do you think?

Hey, thanks so much for the PR! The problem I see with your implementation is that the keyboard is always shown in the same position, no matter where I am currently looking. This might cause the keyboard to show up behind me.
A possible solution would be to set the surface's angle once, when the keyboard is shown, and then not update afterwards.

ok that sounds reasonable!.
in my testing with the oculus that did not happend, but I guess its better to go safe and calculate it just once.
let me change that!


How can I change the max line lenght of the Python formatting in VS 2022 ?

This issue has been moved from a ticket on Developer Community.

[severity:It bothers me. A fix would be nice]
! [image.png] (https://aka.ms/dc/image?name=Bacf52d93c8fb493696ea52e344dd5899637825231667428977_20220310-163246-image.png&tid=acf52d93c8fb493696ea52e344dd5899637825231667428977)
Why don't I have the same options as in this example?
https://docs.microsoft.com/fr-fr/visualstudio/python/formatting-python-code?view=vs-2022

Original Comments
Feedback Bot on 3/10/2022, 06:10 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

Python supports three open source formatters, and each have their own way of supplying configuration options (no longer through the VS IDE). Usually this is done via a config file.
For example, the default formatter is "black" (https://github.com/psf/black). Instructions on how to change config settings are at https://black.readthedocs.io/en/stable/usage_and_configuration/index.html


the meaning of "map_bottom_left" and "map_top_right " in "calculateHSignature" function

void calculateHSignature(BidirIter path_start, BidirIter path_end, Fun fun_cplx_point, const ObstContainer* obstacles)
{
.....
if (std::abs(delta) < 3.0)
{
}
else
{
map_bottom_left = start - normal;
map_top_right = start + delta + normal;
}
........
}
I couldn't understand  the meaning of  "map_bottom_left.x = start.x + deta.y, map_bottom_left.y = start.y - deta.x",
especially "map_top_right.x = start.x - deta.y + deta.x, map_top_right.y = start.y + deta.x + deta.y",

In order to compute the HSignature, we need to define some analytic function on which we can compute the complex path integral, see [1] and [2].
The actual values are not important, however, we need an appropriate scaling in order to distinguish different H Signatures from each other.
[2] suggests using a region similar to the size of the planning area.
Here, I use a rectangle (rotate by the goal-heading) as the planning (and sampling) area for exploring distinctive trajectories.
[1] C. Rösmann, F. Hoffmann and T. Bertram: Integrated online trajectory planning and optimization in distinctive topologies, Robotics and Autonomous Systems, Vol. 88, 2017, pp. 142–153.
[2] S. Bhattacharya, V. Kumar, and M. Likhachev: Search-based path planning with homotopy class constraints, AAAI Conference on Artificial Intelligence, 2010, pp. 1230-1237.


2phase now support taichi>=1.0.3 and sparse grid

Hi Yang,
Here are the improvements for taichi_LBM3D:

2-phase that the dependency of taichi.glsl is removed.
2-phase module now support sparse grid by looking at the sparse grid example of single-phase
a small bug is fixed of boundary condition treatment [please double-check if this is correct]
I fixed a minor bug in   lbm_solver_3d_sparse.py

Thanks again for your nice work.
Bn

Sounds great. Let's try if we can apply this speeds-up as well. BTW, how can we compute MLUPs in this code?  I'm interested in comparing performance in literature by using MLUPs.

Hi Bin,
Great, that will be brilliant if we can improve other scripts too. Actually
the bounce back BC is a kind of temporary in cavity case (function
streaming1), I have a small technical problem (using static index for LR
array in side another taichi array...) with Taichi and post a question in
Taichi forum, when they give me a good answer, I will make it properly then
give you an update :-)
But all the other parts are good, the performance MLUPS can be found in
this paper: https://www.hindawi.com/journals/sp/2017/1205892/ They use CUDA
and can reach 1200, we can reach nearly 900 using a Tesla GPU, but CUDA is
very difficult to learn and write, our Taichi code is super clear and easy
to understand, if you have a LBM paper, and taichi code, you can understand
very quickly most of the code, and it is easy to maintain and upgrade!
Thanks for your contribution, and if you're interested, welcome to join us
to make this repo better and more powerful!
Thanks,
Jianhui
On Wed, 13 Jul 2022 at 06:42, Bin Wang @.***> wrote:

Sounds great. Let's try if we can apply this speeds-up as well. BTW, how
can we compute MLUPs in this code? I'm interested in comparing performance
in literature by using MLUPs.
—
Reply to this email directly, view it on GitHub
https://github.com/yjhp1016/taichi_LBM3D/pull/3#issuecomment-1182789187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJEDKQELDSKJUMXKQBBTCR3VTZJLZANCNFSM53KZ2LKQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Hi @BinWang0213 I have done the fix, now the script lbm_solver_3d.py and lbm_solver_3d_cavity.py are both working well. It gains a little bit more efficiency I believe. You can have a look and try. If you're interested and get some free time, you can apply these changes to two phase flow or grey-scale LBM (this is for large scale porous medium application, like brinkman-NS equation). Any issue, just give me a shout


Add .cake extension for C#

This adds the .cake file extension to the C# language.
Here is a search in the wild: https://github.com/search?q=extension%3Acake+NOT+coffee&type=Code
Cake (C# Make) is a cross platform build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages.
You can find out out more about cake here: http://cakebuild.net/

Using your search query, I found that there are 116 projects that use Cake files dispatched among 61 users. Not sure that it will be enough to make it a language in Linguist.

@pchaigno if it's any help, support for cake was merged into Atom already https://github.com/atom/language-csharp/pull/30

support for cake was merged into Atom already

Does that mean that Cake doesn't have the same syntax as C#?

It was added with the same syntax as C#. Cake is in fact C# (cake scripts are run under the roslyn script host engine - mono script host on mac/unix).  Cake does contain a few more possible preprocessor directives but the syntax highlighting is the same as normal C#.

I see, it's a second grammar file referring the C# one. We'll have to declare Cake as a second file with C# as the parent language (meaning Cake will be displayed as C# but we'll be able to use a different grammar file for it).
First we should make sure that 116 projects with Cake files is enough... @arfon?

Hmm, I didn't realize that this already exists: /vendor/grammars/language-csharp/source.cake
Does that make things easier?

Does that make things easier?

Yes, we won't have to add the grammar but we'll still have to declare a separate language.

EDIT: Looks like @arfon already added this? 0a6165c

That's just because he updated the grammar submodule ;)

@pchaigno @arfon  I was just wondering what the status of this is?  After yesterday's announcements, Cake is now a first class citizen in both the VS Code and Visual Studio Team Services (formerly VSO) extension galleries:
https://marketplace.visualstudio.com/items/cake-build.cake-vscode
https://marketplace.visualstudio.com/items/cake-build.cake
Just wondering if this helps the case for getting this support included.

Thanks @Redth - I've got an updated version of this Pull Request going in #2733


Missing Page - Welcome

https://main--shredit--stericycle.aem.live/en-us/welcome does not work. It currently shows an error saying:
"This page isn’t working
main--shredit--stericycle.aem.live redirected you too many times.
Try deleting your cookies.
ERR_TOO_MANY_REDIRECTS"
This is a page used for customer onboarding
It should match the live site - https://www.shredit.com/en-us/customer/welcome

Wrong redirection was present in the redirects. Now fixed

@colinvlasak If you find any design issues in this page. you can open new issues for them.

@jindaliiita logged two small issues re design/rendering here: https://github.com/aemsites/stericycle-shared/issues/662


gcsfuse 0.18.3

Currently failing because SourceForge hosts osxfuse, and SF is having some downtime. Will try again later.

Got there in the end. Merged in https://github.com/Homebrew/homebrew-fuse/commit/87e3fe1413841b791ba85b236634e686061642a4. Thank you once again @jacobsa!


Enable JS KMP targets in smithy-kotlin RT.

The smithy-kotlin runtime modules rely on our own gradle code to generate the necessary things for KMP.  Presently, this custom gradle code does not take JS platforms into account, and a consequence we cannot add JS specific implementation.
Acceptance criteria: am able to add JS target source trees to client runtime modules in smithy-kotlin.
internal id: 176041158

Resolving in favor of aws-sdk-kotlin#228.


How to place Swiper nav arrows outside the swiper-container??

Please suggest...

Its matter of applying custom styles. I do not have an example available so you might have better luck asking in some generic coding forums etc. I'll leave this open for a while if somebody happens to have an example around.

Okay Thanks

Just put the elements you want to be the arrows outside and set them as prevEl and nextEl at the navigation config.
 <swiper [config]="config"> </swiper>
config.navigation: {     nextEl: '.carousel-next',     prevEl: '.carousel-previous' }

Just put the elements you want to be the arrows outside and...

That is correct only for one instance within the page. If you have two or more, those arrows will control all instances.
I am also interested in having this feature next to many others offered that aren't as requested or needed.

You can always use different classes for different Swiper instances and then the arrows will only control the one instance.

Hi All, help me out on this issue I am using two nested swipers in the same component and the structure and the config created in this way but I am facing an issue like the all the pagination elements get added active class by swiper.
https://stackblitz.com/edit/angular-k4dcxw?file=src%2Fapp%2Fapp.component.html


Clarification on Certificate Signing

Hi there Consensys team,
After having read the source code for this project I think I understand the basic use. What I didn’t follow however is Certificate Signing. Reading source code and the description, it is more than clear for me that this feature Can be toggled on or off, that there is a list of certificate signers, etc. I checked the tests and found the strings that denote signed certificates.
But I got a bit lost with the part about creating the certificate string, and the certificate controller mock. Is the intention for the developer to fork the code and replace with their own certificate controller solidity code? Or do you have a seperate sol file?
Is there perhaps an example of how someone (holding the wallet corresponding to the certificate issuer) Can use web3 to sign some method and parameter data to generate the certificate data String?
All the best
Victor

Hello Victor,
Yes exactly, your understanding is correct:

The certificate controller imported on l.13 of this file on the master branch is a mock
The certificate controllers we really use on the Codefi Assets platform are those on the branches feat/v2_nonce and feat/v2_salt. The way those CertificateControllers work is, they perform an ecRecover operation over a piece of data signed off-chain by a certificate signer (and passed to the ERC1400 through the data/operatorData parameters of the issuance/transfer/redemption functions). Those CertificateControllers contracts are currently on private repos, but we'll add them to this public repo very soon, as well as other contracts of our library (delivery-vs-payment, fund issuance).

This being said, here are the ways we recommend using this standard now:

No verification: toggle off the certificate verification feature
Whitelist verification: , add the token extension, and toggle on the whitelist feature
Certificate/Custom verification: fork the repo to add your own certificate controller, and toggle on the certificate feature. This option is probably the most complex as it requires an off-chain module to generate certificates at every transfer.

I hope this helps. Best

Hello, yes this helps thank you for taking the time to respond.
One more question, I am trying to deploy ERC1400ERC20.sol . I have flattened the solidity files and threw it into remix to do some initial testing. It seems the contract size is very large. Were you guys able to deploy this flattened? Or did you have to split it up into several deployed contracts? Any tips would be very helpful thanks

There are a high number of features we would like to add in the ERC1400 smart contract.
The problem his, we’re limited by the maximum size the deployment transaction can support.
2 approaches can be considered:

Either split the ERC1400 into multiple smart contracts, in order to deploy it in multiple times
Or reduce the number of features in the smart contract

We propose the following compromise:

ERC1400 shall be deployable in one single transaction as much as possible. That’s why we propose a single smart contract containing all the “core features”
In specific use cases, where additional features are required (Ex: whitelist, blacklist, dividend distribution, etc.), a “token extension” smart contract can be deployed. The extension is then linked to the ERC1400 by calling the “setHookContract” function.

Here are some answers:

Tokens validator is an optional extension to ERC1400 which is triggered every time a transfer is executed. The implementation proposed in this repo contains whitelist and blacklist features but it could contain other features depending on your needs. The advantage of this module is that it can be updated whenever you want and replaced by another extension smart contract. It can indeed be used for KYC validations, by using the whitelist feature.

I would recommend you to use ERC1400 as it is without modifying it, and build a custom extension to add your custom logic (limiting the max % of total partition tokens a certain tokenholder can hold).

“canTransfer” has also been removed from the ERC1400 because it takes to much size. But it can be added as an extension by deploying the “ERC1400TokensChecker” extension.

We built a fund issuance smart contract, to achieve subscriptions and order management. It is structured in 4 periods: subscription, valuation (after cut-off), payment, settlement. We’ll try to open-source it asap.

Either split the ERC1400 into multiple smart contracts, in order to deploy it in multiple times

This would probably look like splitting the contract up into libraries
deployer.deploy(Library);
deployer.link(Library, MainContract);
To do something like this, where would one start?

We have been able to flatten and deploy ERC1400ERC20, however indeed it seems to be at the limit of contract size.

We have been able to create a factory to deploy an ERC1400 and set its ownership and sethook in a single call. However ERC1400ERC20 is simply too big even removing some functions.

Understood

Can I add many different hook token extensions? Or must be all in one contract?

Is ERC1400TokensChecker added in the same way as ERC1400TokensValidator? i.e. "setHookContract"?

Would be very useful to have these other contracts, let me know if there is some timeline that the open source community can expect those.

All the best and stay safe during these times.

We've designed this contract, with the objective to cover all uses cases we were likely to encounter in financial asset tokenization. This is why it provides different ways to control transfers:

Level1: possibility to blacklist/whitelist
Level2: possibility to forceTransfer
Level3: possibility to perform certificate verification for every transfer (most granular check)
And at the same time we wanted the contract to be deployable in a single transaction, which lead us to this large contract.
A first step to reduce its size is to remove the CertificateController if you don't use it and rely on "ERC1400TokensValidator" extension to control the transfers.

Otherwise, we have a project to develop a new "minimal" generic implementation of the standard to push it OpenZeppelin. Part of this project will also be to get it listed as an ERC on EIP.
This "minimal" generic implementation of the standard will be more flexible and easier to include in a factory like you mention.

NA
You can add one single "ERC1400TokensValidator" token extension. But if you need more, you can create your single extension as a proxy to multiple other extensions.
Yes "ERC1400TokensChecker" can be added exactly in the same way as "ERC1400TokensValidator", thanks to the "setHookContract". ERC1820 in an on-chain registry that stores the mapping between your main ERC1400 contract's address and the addresses of it's extensions (ERC1400TokensValidator, ERC1400TokensChecker, etc.). Furthermore, every time you register an extension contract in ERC1820 registry, it verifies your contract implements the correct interface, in order to avoid errors when setting your extensions.
Sure we'll open-source all of them soon:

The CertificateControllers (nonce-based and salt-based) contracts will be merged this week - Actually, It's already on a branch if you want to have a look
The BalanceReader contract will be merged this week - it's also on a branch
The Delivery-vs-payment will be merged this week
The Fund issuance contract by end of April
Nice for multiple partition issuance! (fyi we've included it in fund issuance contract)


Jumps to desktop in OSX 10.15

I just made the update to Mac OSX 10.15 Catalina. Now, when opening Color Oracle, whatever I'm looking at jumps to the desktop (the windows "fly away"), and I only see the desktop in Protanopia, etc. Still able to cycle through color versions, but only while looking at the desktop...

Same issue here.

Issue solved by enabling screen recording under Privacy tab of Security & Privacy settings.


Refactor roles further to combine both download and install tasks

Checklist

[x] There is no similar request on existing issues (including closed ones).
[x] I was in the master branch of the latest code.

Is your feature request related to a problem? Please describe

No
Describe the solution you'd like

Currently the roles re-framework and install-ghidra are separate. Proposing to update the roles to do both download and install.
Describe alternatives you've considered

Thought of installing directly from kali provided packages. But best to download from source and install to stay distro agnostic.
Additional context

The lastest commit : https://github.com/brootware/kali-up/commit/ce7dbeb26aa954ac0bd2e1bd93fc3a88a636d64c has ghidra installed from distro. Using ansible package module will ensure the installation stays distro agnostic.


Not able to connect to pytesthistoric on <IP_ADDRESS>:5000

installation of pytest-historic, mysqldb and all other relevant steps have been successfully performed.

Try this: localhost:5000

@parwalrahul  Updated wiki step

closing issue as documentation is updated.


Audit before master goes live

Following on from the discussion in https://github.com/freeCodeCamp/freeCodeCamp/pull/36522 this is just a reminder that npm audit needs running on all the packages (api-server, client etc.) before master goes live.

We are now live and there wasn't any more detail here, so I'm going to go ahead and close this issue.

Hey guys, I just did a npm install and I think we should take a look at this issue again.

What do you guys think?
I can help if you want :smile:

Anything that's dev only (which those seem to be) is not too worrying.  If there are production packages with security problems, then they usually need addressing, though.
The ones you've shown shouldn't be a problem, but updating and fixing things is a good idea in general, so please do.
By the way, if you do find any security issues please don't discuss it here. Please email<EMAIL_ADDRESS>instead.

Do we still want to keep this open @ojeytonwilliams? Probably safe to close I think.

I would hang on to this. I have a upcoming PR #38241 which should resolve most things.


Level 10 special ammo missing

We have no level 10 special ammo.

What's a vorpel?

Wat! I've never heard of a Vorpel. It's more famous than I had thought.
Can you add a comment for what the Gluon and shredder round stats are? We could add them to the attachments doc (after a C2.0 balance check)

Slightly more reputable source material for Vorpal, which is an adjective, not a noun.
http://www.dictionary.com/browse/vorpal?s=t
Obligatory aesthetic advisory.

==================================================
//	Ammo
Baffled Ammo

Reduces noise of bullet travel to zero and reduces noise of impact to a whisper.
Zero RP cost, but bullets are made of an organic material that decays after two
missions.

stealth rolls to hide silent weapons fire automatically succeed.
a bullet impact can be heard if a character is within 5m of the impact,
actively curious and makes a search check over DC 50.

reduces range by 10 m
reduces damage by 5

Gluon Rounds

These rounds contain an incompressible, unshatterable Gluon matrix. These
rounds are manufactured by a luxury weapons corporation and are not available
to the public or military. They occupy 3 RP per clip.

Pierces armor and shields, no damage reduction for piercing cover

after the tenth shot, 5% chance to jam weapon

Shredder Ammo

Rounds splinter into hyperkinetic shrapnel upon impact. No RP cost,
but Rounds loose hyperkenetic charge after 2 missions and then
act like hollowpoints.

multiplies armor resistance of target by 2.5

deals an additional 40 damage on hits

reduces range by 10 m

Short-circuit rounds

These rounds splinter into conductive metallic fragments soaked in piezoelectric
resin. The effect is that it resonates and crosses any signaling hardware that it
hits. However, these rounds trade this scrambling effect for penetration, and don't
penetrate armor as well. Occupies 1 RP

If it hits armor or shields, it does no damage

deals an additional 60 damage on hits to security drones

reduces range by 10 m

What's an RP? Is this a quote from another game, modified to fit CX? Curious of the origins.

I think it's a typo for EP


Update cautionary language in the Opioid MME IG

Update the cautionary language at this link:
https://fhir.org/guides/cdc/opioid-mme-r4/mme-calculator.html#cautions

Please edit the third bullet to read “Tapentadol is a mu-opioid receptor agonist and norepinephrine reuptake inhibitor. MMEs are based on the degree of mu-opioid receptor agonist activity, but it is unknown if this drug is associated with overdose in the same dose-dependent manner as observed with medications that are solely mu-opioid receptor agonists.” Changes are highlighted in yellow.
Also, as we discussed earlier about the revised MME table. We need to make sure that the edits to the Table are revised here too. “Of note for the extra caution, In the 2022 CDC Clinical Practice Guideline for Prescribing Opioids for pain, there are not graduated methadone conversion factors depending on the daily dosage. The conversion factor for methadone is 4.7 regardless of methadone dosage.”


[CLOSED] Automatically generate axiomatized stubs for modules we skip

 Issue by antalsz
Wednesday Sep 13, 2017 at 18:57 GMT
Originally opened as https://github.com/antalsz/hs-to-coq/issues/10

 Comment by antalsz
Thursday Nov 09, 2017 at 23:25 GMT

Closed by 6bd73d713980c0a71a3e43dad60886cac8e161f9 and the axiomatize module edit


fix(Button):update content width

Description
The text was sliding from right to left instead of being mounted. Updated Button text sliding to be mounted.
References
LUI-674
Testing

Automation

Checklist

[x] all commented code has been removed
[x] any new console issues have been resolved
[x] code linter and formatter has been run
[x] test coverage meets repo requirements
[x] PR name matches the expected semantic-commit syntax

I'd like to wait to merge and release this so that I can test it a little more. The structure of this method seems really odd to me with this change and I want to make sure there are no side effects of never animation the width change. Also, it doesn't seem like an issue that was introduced in this PR, but the text on the Button doesn't seem quite centered, it seems like it always leans to the left.

+1 to this, if the goal is to prevent animating in some cases we should rework this method to be a little more clear about the intention. with these changes we could wind up in a situation where the short circuit prevents width from being animated but then the height still gets animated and things could be weird

I think there's a reasonable argument that since the underlying text (and icon) elements are always "snapping" to their new sizes in a texture update, while x/y positioning may want to be smoothed, the width can always just snap to the proper size. This way, if someone updates button text to be much shorter or much longer, it is instantly positioned correctly, rather than seeing the text update with the previous position then slide into place.

I think there also may be a decent chance you actually wouldn't want the y value (this._Content.y) to smooth either and just doing a patch for both would be fine... Trying to think of a time you'd want that update to smooth.... If someone patches a new height on the button, you'd want a patched update. If someone smooths the height on the button, the update methods are called on each tick so you would see this smooth to match anyway.

Tested on a couple apps and definitely makes things look better as is.

Sanity Tests Execution Failed.


Branch graph improvements

Improve the rendering of the hierarchy view, to make it easier to grasp to structure of the lineage:

[ ] Make the node sizes consistent.
[ ] Display the node labels, not inside the circle, but below or next to the circle.
(The circle visualizing the nodes are usual not big enough to show the node label.)
[ ] Have wider lines (~2 or 3 pixels) connecting the nodes.
[ ] None curved lines. (I'm sorry! The curves are BEAUTIFUL. But they visually confuse me to much.)
[ ] Restrict the hierarchy view to only show one sub-tree of the branch graph. The biologists are often only interested in one particular cell, and how it divides. So the would love to focus on this one cell, and only show its lineage.

This issue was moved to the correct repository https://github.com/mastodon-sc/mastodon/issues/172


Confusing project name?

Why is this called pipewire-debian when it is clearly just targeted for ubuntu?

Thanks for writing.
Of course its targeted for ubuntu but you know Its not  targeted only and only ubuntu. The project targets ubuntu (and its  derived distros (Mint, Elementary, Pop_Os etc.)), Debian (and its derived distros i.e. Kali, Parrot, MX Linux, etc. etc.). And after all whatever it targets the package architecture totally depends on Debian right ? So ubuntu is subset of Debian right ? And as this package targets Debian based distros it automatically refer to ubuntu itself.
In a nutshell I am targeting whole Debian family can be installed from this. Now you can tell I am cocktailing things over Debian based system right ? But no, you know all packages (and its subpackages) are completely independent from the debian packages. There is no harm to install from here.
For more see Readme, You can find some debian based instruction also there.
So what is your point of view regarding this you can mention also? Thank you.

Hii @fractalf ,
Would you like to give any suggestion or you are convinced with above answer ?

Hi, well if the target is ubuntu (and deriveties) I would call it pipewire-ubuntu ;)
I was looking for something to make pipewire work with latest debian (stable).

doing:

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream

does not work, it gives error


(DOCS) rename aws::ec2 plugin in inventory 2 docs

CLA signed by all contributors.

@cwcowellshah Can you merge this when you fix it in the public docs? (i am assuming you will want to do that instead of waiting for release).


os.date("%Z") returns "Easter" for EDT

I would expect it to return "Eastern Daylight Time" rather than "Easter", haven't tested with other any other timezones.

%Z returns the result from your C standard library (which often comes from the operating system).
So if "Easter" is returned, it's the correct value for your environment.
On Windows 11 compiled with MSVS, the result is "Eastern Daylight Time" today in Eastern Time (US & Canada) time zone.
If this is an elaborate joke PR, Happy Easter to you too.


Problems getting started

Hi,
    var rewire = require('rewire-webpack');
    var testStore = rewire('stores/test-store');
    console.log("testStore: " +  !!testStore);

I have a feeling that I am missing something obvious, but shouldn't testStore return true? I get 'false'. And I cannot set or get anything as 'testStore' always seems to be undefined.
other info:

no babel, no es6, just a simple test store (singleton).
rewire is installed, and !!rewire.apply returns true. ( so I am guessing rewire is setup correctly.)
using webpack.
using "require" in place of rewire returns 'true'.
I should also mention that I use AMD format for all my modules.

Never mind. As I suspected, it was something silly on my part.

Another query regarding matching view with the rewired store.
So here is my problem, I have a rewired 'flightStore' and a 'flightView' which has 'flightStore' as its dependency. How do I match the current rewired version of the flightStore in the flightView? Should I use rewire the view and use 'set' on it somehow to match the stores (or) the variables used in the view? Is there another simpler way to do this?
                var registeredCallback = flightStore.__get__("registeredCallback");

                registeredCallback({
                    actionType: 'choose-flight',
                    type: 'business-class'
                });

                ReactDOM.render(
                    React.createElement(flightView, {
                        className: parentID,
                        key: parentID
                    }),
                    document.getElementById(tempID)
                );

Thanks much!


possible error in line 448

Firefox console gave me a warning, it seems there's a typo in line 448, an "l;" at the end of the line, after the first ";" in the file ekko-lightbox.js

I can't replicate this.


Enumeration function segfaults with more than 2 entities in list

Hi there, first of all thank you for creating this tool its super useful.
I was testing out a few of the functions to see if they could help me with validating some YAML config with some rulesets, when I discovered an issue with the enumeration function.
Given a rule like this:
rules:
  example-enumeration:
    description: "Check the required values exist"
    type: style
    recommended: true
    given: $.data[*].name
    severity: error
    then:
      function: "enumeration"
      functionOptions:
        values: "must, be"

and a file like this:
data:
  - name: must
    config:
      some: value
  - name: be
    config:
      some: value
  - name: one
    config:
      some: value

I get the following (expected) output:
 vacuum lint -k -d -q -r rules/example_enumeration.yaml config/example.yaml
version: 0.9.16 | compiled: Thu, 09 May 2024 19:57:46 UTC

INFO: Linting file 'config/example.yaml' against 1 rules:

/home/apex/scratch/vacuum/config/example.yaml
-----------------------------------------------
Location                 | Severity | Message                                                                 | Rule                | Category   | Path
config/example.yaml:8:11 | error    | Check the required values exist: `one` must equal to one of: [must  be] | example-enumeration | Validation | $.data[*].name

Category   | Errors | Warnings | Info
Validation | 1      | 0        | 0

Linting file 'config/example.yaml' failed with 1 errors, 0 warnings and 0 informsError: failed with 1 errors

however if I add an extra item into the functionOptions vacuum will crash.
Same rule with one extra item in the functionOptions:
rules:
  example-enumeration:
    description: "Check the required values exist"
    type: style
    recommended: true
    given: $.data[*].name
    severity: error
    then:
      function: "enumeration"
      functionOptions:
        values: "must, be, one"

result of running:
vacuum lint -k -d -q -r rules/example_enumeration.yaml config/example.yaml

version: 0.9.16 | compiled: Thu, 09 May 2024 19:57:46 UTC
🔗 https://quobix.com/vacuum | https://github.com/daveshanley/vacuum

INFO: Linting file 'config/example.yaml' against 1 rules:

/home/apex/scratch/vacuum/config/example.yaml
-----------------------------------------------
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x11f8ce0]

goroutine 12 [running]:
github.com/daveshanley/vacuum/cmd.processResults({0xc00023e218, 0x1, 0xc000489ca8?}, {0xc000146a50, 0xb, 0xb}, 0x0, 0x0, 0x0, 0x0, ...)
        /home/runner/work/vacuum/vacuum/cmd/lint.go:456 +0xf60
github.com/daveshanley/vacuum/cmd.lintFile({{0x7fff3e12ccb9, 0x13}, {0x0, 0x0}, 0x0, 0x1, 0x1, 0x0, 0x1, 0x0, ...})
        /home/runner/work/vacuum/vacuum/cmd/lint.go:348 +0x731
github.com/daveshanley/vacuum/cmd.GetLintCommand.func2.1(0xc000124fa0?, 0x0, {0x7fff3e12ccb9, 0x13})
        /home/runner/work/vacuum/vacuum/cmd/lint.go:218 +0x405
created by github.com/daveshanley/vacuum/cmd.GetLintCommand.func2 in goroutine 1
        /home/runner/work/vacuum/vacuum/cmd/lint.go:185 +0x188c

This cannot be replicated anymore in v0.10.0 using this sample data.


Expired password "Change the password" link as text instead of HTML link

Description of problem:

VM Portal version number:
ovirt-web-ui.noarch                                     1.7.0-1.el8                                       @ovirt-4.4
oVirt version number:
ovirt-engine.noarch                                     <IP_ADDRESS>-1.el8                                     @ovirt-4.4
Browser and version:
Google Chrome | 91.0.4472.114 (Official Build) (x86_64)
Steps to Reproduce:

Reset user password
Login with that user/password combination
VM portal will force the user to change the password

Actual results:
Unable to log in because the password has expired. Change the password to proceed. as text
Expected results:
Unable to log in because the password has expired. Change the password to proceed. as HTML clickable link.

This is a duplicate for bug https://bugzilla.redhat.com/show_bug.cgi?id=1944290 and planned to be fixed on version 4.4.9

Fixing: https://gerrit.ovirt.org/#/c/ovirt-engine/+/116940/

Since we are addressing this issue via BZ https://bugzilla.redhat.com/show_bug.cgi?id=1944290 which planned to be fixed for 4.5 then I'm closing this issue as duplicated.


Unknown methods crash terminal

Unknown methods with a length of more than one cause HyperTerm to consistently crash.
a.b
> a.b: command not found

ab.a
> ab.a: command not found

a.ab
> CRASH

ab.ab
> CRASH

With crash, do you mean that the term turns into a black screen? If so, that's because Hyperterm thinks ab.ab is an URL and tries to open it in a webview (you can exit with CTRL+C).
It would probably be smart to listen to did-fail-load and display an error page whenever it happens though.

Yes, the screen goes black. I hadn't realized HyperTerm had a webview.


Garbled characters appear when PDFjs is rendered in SVG

pdfjs version<EMAIL_ADDRESS>problem    Garbled when I tried to take charge of the content
screenshot

demo code
PDFJS.getDocument({
url: pdfUrl,
cMapUrl: './static/pdfjs-dist/cmaps/',
cMapPacked: true,
}).promise.then(pdfDocument=>{
pdfDocument.getPage(1).then((page) => {
let viewport = this.getHopeViewport(page)
let pageDiv = document.querySelector(#page-${this.pdfPageNum})
page.getOperatorList()
.then(function (opList) {
var svgGfx = new PDFJS.SVGGraphics(page.commonObjs, page.objs);
return svgGfx.getSVG(opList, viewport);
})
.then(function (svg) {
pageDiv.appendChild(svg);
});
})
}).catch(e=>{
this.$message.error('加载PDF异常')
})
attachment
jsr303自定义注解总结.pdf

Garbled characters appear when PDFjs is rendered in SVG

Note that as mentioned in the FAQ, the SVG back-end is not officially supported; see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#backends

pdfjs version<EMAIL_ADDRESS>
That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download

Garbled when I tried to take charge of the content

As far as I can tell, the rendering looks fine when comparing against the default canvas back-end.
It's slightly difficult to tell, given the (somewhat limited) information provided, but please keep in mind that all fonts are being mapped to a PUA (Private Use Area) in order to get around various limitations in browsers. Hence it's not expected that the SVG-rendering will contain the glyphs in their original locations, and in order to support e.g. text-selection you'll thus need to use a separate textLayer in the same way as in the default viewer (also, rendering and text-extraction uses separate algorithms in the PDF specification).

demo code
[...]

Also, please keep in mind https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

I tried canvas rendering, but it would be blurry at a small resolution, and zooming in on the viewport would result in incomplete content


Stem should be shown (instead of lemma) in linguistic analysis pop-up

Once #235 is completed, the stem should be shown, instead of the lemma, at least in the linguistic analysis pop-up (maybe elsewhere, but that needs to be determined).  The stem should be with the final and/or initial hyphen, like atimw- and -ohkom-, to indicate that it is not always an independent word.

Note that stem should be now shown (instead of lemma) only in the pop-up for linguistic analysis.
We might add "somewhere" on the paradigm page an explicit field with the stem.

It's been implemented!

@eddieantonio Excellent! (I saw that forthcoming yesterday.)


Microservice Time

Breaking ingest into multiple microservices to support more complex use cases such as multicar and independent scaling of analytics services from ingestion services.

lmfao so many status checks 😭


Test

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: uwerat:x: vrcomputing:x: rick-vogel:x: peter-haYou have signed the CLA already but the status is still pending? Let us recheck it.


MM-31964 Set default value of bool form field to false

Summary
This PR ensures that a app form field of type bool has its original value set to false, if an initial value was not provided.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-31964
Release Note
NONE

/update-branch

Error trying to update the PR.
Please do it manually.

Sorry for the delay on this one @mickmister are you able to get this current for me>?

@DHaussermann conflicts resolved

Building app in separate branch.

@mickmister I don't see the builds appearing for this. Possibly as the build is failing.

Is this something that may be code related or could the issue be elsewhere?

@DHaussermann build is fixed

Building app in separate branch.