No built in roles for Dashboards

This is a good tutorial but a prerequisite should be adding the relevant roles so you CAN create a dashboard.
There are currently no roles for dashboard access. This is needed to enable a user to create dashboards and  currently can only create custom roles with Premium AD - which not everyone has.

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

ID: 3046534c-4ce4-d430-3c9d-363e210fc2eb
Version Independent ID: ce65332c-160a-1df9-2560-cd629b285ee9
Content: Create custom dashboards in Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/learn/tutorial-app-dashboards.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@ErgoPr0xy Thank you for your feedback, our team will look into it and get back to you at the earliest.

reassigned to content owner for further review.

Added link to the Understanding access control for dashboards. It should go live tomorrow. Thank you.
#please-close


Repeater's input suffix/prefix action

Package
filament/filament
Package Version
v2.14.0
Laravel Version
v9.20.0
Livewire Version
v2.10.6
PHP Version
PHP 8.1
Bug description
I have an input with a suffix action :
 Forms\Components\TextInput::make('batch_number')
                                        ->label(__('Batch Number'))
                                        ->default(null)
                                        ->lazy()
                                        ->tap(function (Forms\Components\TextInput $component)  {
                                            $search_action = Forms\Components\Actions\Action::make('search_batch_number')
                                                ->tooltip(__('Search'))
                                                ->icon('heroicon-o-search')
                                                ->action(function (Component $livewire) use ($component, $record) {
                                                    $batch_number = $component->getState('batch_number');
                                                    ray($batch_number);
                                            $component->registerActions(['search_batch_number' => $search_action]);
                                            $component->prefixAction($search_action);
                                                });

It works in a Card/Grid component but not in a Repeater. I can see there is a livewire roundtrip but nothing happens. The $batch_number is not displayed in ray.
Steps to reproduce
No response
Relevant log output
No response

@zepfietje, #3149 does not fix it

@zepfietje, you can clone https://github.com/invaders-xx/filamentdemo.git, in product resource you have 2 field called "batch number", the first one is in a grid (the ray output works fine) and second one is in a repeater (the ray output is never reached)

Fixed by #3413.


compile error

Describe your problem here.
i tried compiling my psych source code and i get an error for "FlxAnimationController" and idk what to do
source/flixel/animation/FlxAnimationController.hx:164: characters 39-47 : flixel.graphics.frames.FlxFrame has no field duration
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
yes i edited FlxAnimationController for a mod

https://gist.githubusercontent.com/superpowers04/0b01e40e0f272d134f87c5c30712cb66/raw/2366ea0b8d34b08c74119e22f7690d29e63e7f43/FlxAnimationController.hx
and update flixel to latest


Any code for finetune by RetroMAE-v2?

I find that the finetune code is using RetroMAE V1, where i can't find something about ot-embedding in finetune code. Is it released? Dose the code released now use the cls hidden for compute similarity?

Hi, @kkkjyu , the code for sparse retrieval is from splade: https://github.com/naver/splade


Make under_debugger work on apple (iOS/macOS)

Simply uses the documented way from Apple to detect the debugger: https://developer.apple.com/library/content/qa/qa1361/_index.html

There is also this: https://zgcoder.net/ramblings/osx-debugger-detection.html and the approach in the PR is said to be for debug builds only.

In master, thanks!


⚠ ClamAV has degraded performance

In f09b4ca, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 4ed424b after 6 minutes.


Rerun tests using different MQ Size

edit the queue size of gossipsub
the value is hardcoded at 32
try with a queue size of 128, and with a queue size of 256

NOTE:
PL has also merged the pubsub tracer recently (https://github.com/libp2p/go-libp2p-pubsub/pull/227) and created a bunch of utilities for collecting, manipulating, and inspecting traces from a network (https://github.com/libp2p/go-libp2p-pubsub-tracer)
Should perform additional runs with/without tracing, and sending the dumps over so the libp2p team can inspect them.

@jasonatran the best way would be to fork go-libp2p-pubsub to make the necessary changes and pull the code into our fork of adam's code in my repo
what do you think?

I think the tracer looks promising, so we can avoid any fork of go-libp2p-pubsub for now. We can revisit this after the first attempt to test using just the new tracer implementation. They already merged go-libp2p-pubsub/pull/227 for us.

yes, but looks like that's going to require additional implementation into adam's code. for the sake of time, might be more efficient to run the tests with the changed message queue size first and then implement tracer later? or hold off on all tests until we get the tracer?

Oh yea, I do think we should fork go-libp2p-pubsub-benchmark-tools. We have a bunch of changes coming up for tracer, so I think it'll give us more agility if we fork off. I think a single run to verify that the queue size change fixes the dropped packet will be sufficient. My gut tells me it won't change the overall statistics of the gossip tests. If there is a change, we'll see it when we start testing with tracer.

will not use tracer for these tests and will move forward with using an increased messagequeuesize
https://github.com/araskachoi/go-libp2p-pubsub-benchmark-tools/blob/develop/pkg/host/host.go#L235


Set doNotBuildTests and doNotRunTests on Actions Test Current, Next Minor, Next Major

Hi Freddy,
Would it be possible to add to the Actions related to tests Set doNotBuildTests and doNotRunTests parameters? It would allow to handle scenario like below:

Every time when build is triggered the tests are skipped (it is taking over 1 hour to run all tests and most of them we know will pass)
Every night or once per week I would like to run the build including all tests to be sure next releases and current release is still working

At this moment if in settings there is doNotBuildTests and doNotRunTests the tests are always skipped - either triggered manually or automatically.
The current workaround could be to have two repositories one with Apps and one with Test Apps. But this add addtional complexity for the developers that they would like to avoid.
Let us know what would be other options to handle scenario above

If you set DoNotBuildTests and DoNotRunTests to true in AL-Go-Settings.json - and then set them to false in Test Current.settings.json + add scheduling info to the test current settings to run nightly then you should have what you are looking for.

Great! I will test it and close the issue after that. Thank you a lot.

Works as expected. Thank you


[GlobalPlanner] Deprecate launchfiles and update readme

This PR deprecates launchfiles that are unused / obsolete in the global_planner, and update the README accordingly

@mrivi I am not sure if it had it before.
I can definitely add it if we need it. I was working on supporting multicam for the global planner, so might make sense to do it together.

@Jaeyoung-Lim no, it was using iris_depth_camera
https://github.com/PX4/avoidance/blob/9f94443b5f4e20660c83b916f8d31a95cd563a37/global_planner/launch/global_planner_sitl_mavros.launch#L10

@mrivi Ah, okay  I was confused with this:
https://github.com/PX4/avoidance/blob/9f94443b5f4e20660c83b916f8d31a95cd563a37/global_planner/launch/global_planner_sitl_mavros.launch
I will create a separate PR for the depth camera!

Thanks!


compiler: allow to overload methods in manifest

This is a feature we are currently missing and it is nice to have for our container (put, putNamed) and NNS (resolve) contracts.
Signed-off-by: Evgeniy Stratonikov<EMAIL_ADDRESS>

The only valid reason for it to exist is if we need it for some interface compliance (like divisible NEP-11 with two balanceOf methods), but other than that Go is Go. Why should NNS and container contracts use it?

Well, if you're to create proper wrappers for these methods you'd inevitably have two functions anyway (like we have in some interop/native contracts).


Add ability to close a program

Unlike #242 the goal of this issue is to open a proposal that will close a program and it's buffers.
Use case: the PSY DAO Council owns an old version of Serum Remote that points to old Serum. There's been a new version deployed that is owned by the Open Book DEX DAO. All on-chain data is cleaned up in this old version, so the program can be closed with no orphaned data.

Would try to change upgrade authority and then manually close program

Good point! Closing as this meets the needs of the issue


@mzikherman => modal support for faq and inquiries on the order2 page

This PR adds support for two mediator actions being triggered from reaction.
The first, an FAQ modal, is straightforward.
The second, the "Ask a specialist" modal, is not so straightforward since we previously based whether or not to show the "ask specialist" modal on the is_auction flag. This updates that tree/label to be more generic in both cases.
There's not great test coverage for the decision tree stuff, but I can try to add some for this.

Looks like a real ❌
This generally looks fine, the mediator stuff is 👌 , however the inquiry questionnaire updates I'm a bit unfamiliar with. Can you describe in a few sentences what's happening from Reaction to trigger this? I'm assuming a button that launches the inquiry flow at a particular step or something?
I'm also wondering if you should keep the name of the 'step' the same, and just update the conditional with the || ask_specialist.

Fixing those tests now--
There is a link in the sidebar of the checkout flow that says "Ask specialist" (similar to what exists in auctions) which will pop up the "Ask a specialist" inquiry flow. I can keep the is_auction step name, it just doesn't feel perfectly reflective of this new requirement.

Cool, looks great! 😎


ListVariable: "All" value interpolating to empty string after any var update

What did you do?
Weird behavior after doing any kind of change on a ListVariable*: it causes issues with the interpolation of the "All" value, even sometimes in other variables that neither were not modified nor are related to the modified var.
After saving & reloading the page, everything works back again.
https://github.com/user-attachments/assets/2358eb8e-b7bc-47dc-acff-630a0cf5f556
* I was able to reproduce the issue with StaticListVariable, PrometheusLabelValuesVariable and PrometheusPromQLVariable so this seems to be a general issue affecting any ListVariable.
What did you expect to see?
interpolation as (a|b|c|...)
What did you see instead? Under which circumstances?
interpolation as empty string
System information
No response
Perses version
0.49.0
Perses configuration file
No response
Logs
No response

reproducer-dashboard.json


Error when run the sample app in WebIDE

Hi,
I followed the steps sticking on the guides but when I run the app in SCP (run in browser) the following error appeared:
{
"requestUri": "/S4HC_BO_FaultyAddress/sap/opu/odata/sap/YY1_FAULTYADDRESS_CDS/$metadata",
"statusCode": 403,
"statusText": "",
"headers": [],
"body": "<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\">/IWFND/CM_CONSUMER/101<message xml:lang="en">No authorization to access Service 'YY1_FAULTYADDRESS_CDS_0001'<component_id/><service_namespace>/SAP/</service_namespace><service_id>YY1_FAULTYADDRESS_CDS</service_id><service_version>0001</service_version>F1B631EA21110620E005F1BBF2092CBE20200729005706.8609510<Error_Resolution><SAP_Transaction>For backend administrators: use ADT feed reader "SAP Gateway Error Log" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction><SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note></Error_Resolution>"
}
I think there is a problem in the code because the uri must be filled whit my S4hana tenat.
Thank you

Hello jcortesp,
I've moved your issue to this repository because it is the only sample that uses the CDS view that you've mentioned.
The error that you are getting is coming from SAP S/4HANA Cloud which means that your request has reached it via a respective destination on SAP Cloud Platform.
The error code HTTP 403 Forbidden and the error message No authorization to access Service 'YY1_FAULTYADDRESS_CDS_0001' usually mean one of the following:

You didn't maintain Basic authentication details in the destination configuration or the username and/or the password are wrong. In your destination configuration, you must use the same username and password that are used in the respective communication arrangement in SAP S/4HANA Cloud:

Related setup guide steps are Create Communication Arrangement and Destination for SAP S/4HANA.

Your technical user is locked due to numerous invalid authentication attempts, e.g. because you maintained a false password in your destination configuration and then launched the application several times. You can unlock the user using the "Display Technical Users" application in your SAP S/4HANA Cloud. If a user is locked, you will see a lock icon in the "Locked" column. In such case, select the user and click the "Unlock" button.

To be on the safe side, you can also click the "Edit" button and specify a new password. Then, maintain the new password in your destination.

When updating the destination configuration, please note that it takes several minutes until your application gets the updated configuration. If you try to open the application in the meantime, your technical user may get locked again because of outdated invalid authentication details. To ensure that the destination configuration is updated, you can restart the application manually as it is shown on the screenshot below:

I think there is a problem in the code because the uri must be filled whit my S4hana tenat.

It won't be filled: HTML5 runtime on Neo "maps" a relative URL of your HTML5 application to a URL in your destination. The mapping is maintained in your application descriptor. To call your SAP S/4HANA Cloud system API, your application simply calls its relative path, e.g.
https://your-app-url/your-destination-relative-path/sap/opu/odata/sap/YY1_FAULTYADDRESS_CDS/

The call is then forwarded by the HTML5 runtime to your SAP S/4HANA Cloud tenant. You can read more about it here.
If it solves your problem, please feel free to close the issue.
Best regards,
Nikolay

Closing the issue due to inactivity. Feel free to reopen it if the issue is still valid.


Territories: Localization

Add a feature the make localization of territories simple.
Something that should happen through this feature, for example:

When a TerritoryHierarchy is being localized, there should be an option to "clone" all the territories in the hierarchy,

Copying from the original issue for Territories:
"Localizable hierarchy should mean localizable territories. Also, it should be impossible to hit "new translation" on a territory if the hierarchy does not have a different localiaztion that does not have the translation for that territory. Moreover, hitting "new translation" on the hierarchy should create all the localized contentitems for the territories (actually, saving the localization should do that)."

localization is important for e-commerce module. I can help with my language.how can i help?

hello. What I referred to in this issue was the automated creation of contents during localization, and the other controls to on the one hand prevent the creation of "wrong" localizations, and on the other hand manage and simplify the cretion of "correct" localizations.
One of the goal is to ensure that the hierarchical relationships are mantained


How to generate a token JWT internally in envoyproxy

Hello.
I'm trying to make a custom plugin to generate and add in header a JWT token, however, I managed through filters to put a harcode token, but I don't know how I should do to generate one, if with lua through libraries or how, as there is hardly any documentation on generation and signing of JWT token inside envoy.
thanks
admin:
access_log_path: /tmp/envoy_admin.log
address:
socket_address:
address: <IP_ADDRESS>
port_value: 9000
#listener of envoyproxy
static_resources:
listeners:

name: main
address:
socket_address:
address: <IP_ADDRESS>
port_value: 8080
#filter for send the cluster, you can choose the enviroment or path, can send one cluster or other(depends of you configuration)
filter_chains:

filters:

name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
route_config:
virtual_hosts:
- name: local_service
domains:
- "*"
routes:
- match:
prefix: "/rest/test"
route:
cluster: target
typed_per_filter_config:
envoy.filters.http.dynamic_forward_proxy:
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.PerRouteConfig
http_filters:

name: envoy.filters.http.jwt_authn
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication
providers:
apigee:
issuer: https:/management/remote-token/token
audiences:
- remote-service-client
remote_jwks:
http_uri:
uri: https://management/remote-token/certs
cluster: apigee-auth-service
timeout: 5s
cache_duration:
seconds: 300
payload_in_metadata: https://management/remote-token/token
rules:

match:
prefix: /
requires:
requires_any:
requirements:
- provider_name: apigee
- allow_missing: {}

name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
transport_api_version: V3
grpc_service:
envoy_grpc:
cluster_name: apigee-remote-service-envoy
timeout: 1s
metadata_context_namespaces:

envoy.filters.http.jwt_authn

name: envoy.filters.http.lua
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
inline_code: |
function envoy_on_request(request_handle)
request_handle:headers():add("authorization", "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c3IiOiJkYW5pdGVzdCIsImlzcyI6ImRhbml0ZXN0Iiwic3ViIjoiZGFuaXRlc3QiLCJhdWQiOiJkYW5pdGVzdCIsImlhdCI6MTY2MjY0NDkwMSwiZXhwIjoxNjYyNjQ1NTAxfQ.LCJWklPWANv_ZPO2MDrvKt3fT5cht5u7DSrr-ExaSIe-xbeMkEVmx0sdvj8wSZYoDiJmewPNaa3RbFkdCScJdqT8KJ_oQKGMq2BHDi1U-k_cckwAMrjMvjwrRz6NduvrXrc--vO2RKV_2skgcHXveZE6FZ0EGXXTyz6AEduVfuVC__BI460841-KFvTFffI52Bqxy5vtLRp7b7jdAsqtqbNCUXJ5HuTp_3-K_cu2AuavGJrUKsM13Rr8I6XpG7lgQl15NQb45xzDzrCyisvsQ7hZZO34qV6ggFqEJJdpbcEqNonfRyfSGo7iQAJSkj7IkouLjlszTAe1nFwPYetlDA")
end

name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

access_log:

name: envoy.access_loggers.http_grpc
typed_config:
"@type": type.googleapis.com/envoy.extensions.access_loggers.grpc.v3.HttpGrpcAccessLogConfig
common_config:
transport_api_version: V3
grpc_service:
envoy_grpc:
cluster_name: apigee-remote-service-envoy
log_name: apigee-remote-service-envoy

clusters:

name: target
connect_timeout: 2s
type: STRICT_DNS
dns_lookup_family: V4_ONLY
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: target
endpoints:

lb_endpoints:

endpoint:
address:
socket_address:
address: localhost
port_value: 8080

name: apigee-remote-service-envoy
type: LOGICAL_DNS
typed_extension_protocol_options:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicit_http_config:
http2_protocol_options: {}
load_assignment:
cluster_name: apigee-remote-service-envoy
endpoints:

lb_endpoints:

endpoint:
address:
socket_address:
port_value: 5000
examle: naski.svc.cluster.local
port_value: 5000
common_lb_config:
healthy_panic_threshold:
value: 50.0
health_checks:

timeout: 1s
interval: 5s
interval_jitter: 1s
no_traffic_interval: 5s
unhealthy_threshold: 1
healthy_threshold: 3
grpc_health_check: {}
connect_timeout: 0.25s

name: apigee-auth-service
connect_timeout: 2s
type: LOGICAL_DNS
dns_lookup_family: V4_ONLY
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: apigee-auth-service
endpoints:

lb_endpoints:

endpoint:
address:
#url and port of apigee
socket_address:
address: management.corp
port_value: 443
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
sni: "management"

I think it's more like a quesion about jwt-lib. You can find lots of jwt lib by the google and integrate it with envoy.

I think it's more like a quesion about jwt-lib. You can find lots of jwt lib by the google and integrate it with envoy.

Hello, thanks for u answer
Good, if I'm looking at libraries, but all is to validate, not to sign within the same envoy, which I do not see anywhere, and I do not know if it is viable.
I am trying to validate a JWT and call an external uri to make a post, but I am not able to do it.
these is a example
      - name: envoy.filters.http.lua
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
          inline_code: |
              function envoy_on_request(request_handle)
                  request_handle:headers():add("authorization", "danimola")

                -- Response directly and set a header from the HTTP call. No further filter iteration
                -- occurs.
                request_handle:httpCall(
                "mamagement.corp",
                {
                  [":method"] = "POST",
                  [":path"] = "/oauth/token",
                  [":authority"] = "api_header",

                  ["set-cookie"] = { "lang=lua; Path=/", "type=binding; Path=/" }
                },
                "hello world",
                5000)
              end

but the libs can´t execute inside of the envoy, always call oustisde....

sorry, I am not sure what is your mean by call outside, couldn't we compile and link the lib with envoy to make it part of envoy binary?
May be some wrapper code is necessary to make the lib easy to be called. 🤔

sorry, I am not sure what is your mean by call outside, couldn't we compile and link the lib with envoy to make it part of envoy binary? May be some wrapper code is necessary to make the lib easy to be called. 🤔

yes, I mean, the examples that there are for generation, are always external.
I mean, is there an example of a library that generates it, or should I make one in lua/wasm to generate a Jwt token from envoy?
I just want to get an idea if it is possible or not.
maybe now I explain better what I want to test

I think there is no exist example for it for now. But it's possible. And lua/wasm is a choice to do that.


GithubBrowserSample ViewDataBinding Leak?

I've added Leak Canary to GithubBrowserSample and it has detected the following leak:
2019-07-10 14:22:07.507 11220-12066/com.android.example.github D/LeakCanary: HeapAnalysisSuccess(heapDumpFile=/data/user/0/com.android.example.github/files/leakcanary/f684db0b-69c5-4179-971d-aba25ee73596_pending.hprof, createdAtTimeMillis=1562732527492, analysisDurationMillis=5884, retainedInstances=[LeakingInstance(referenceKey=170097c6-0c7d-4d13-b205-731808b0378f, referenceName=, instanceClassName=androidx.constraintlayout.widget.ConstraintLayout, watchDurationMillis=-5242926, exclusionStatus=null, leakTrace=
    ┬
    ├─ android.view.inputmethod.InputMethodManager
    │    Leaking: NO (it's a GC root and a class is never leaking)
    │    ↓ static InputMethodManager.sInstance
    ├─ android.view.inputmethod.InputMethodManager
    │    Leaking: NO (RecyclerView↓ is not leaking)
    │    ↓ InputMethodManager.mNextServedView
    ├─ androidx.recyclerview.widget.RecyclerView
    │    Leaking: NO (ContributorAdapter↓ is not leaking and View attached)
    │    View#mAttachInfo is not null (view attached)
    │    View#mParent is set
    │    View.mID=R.id.contributor_list<PHONE_NUMBER>)
    │    View.mWindowAttachCount=1
    │    ↓ RecyclerView.mAdapter
    ├─ com.android.example.github.ui.repo.ContributorAdapter
    │    Leaking: NO (RepoFragment$onViewCreated$adapter$1↓ is not leaking)
    │    ↓ ContributorAdapter.callback
    ├─ com.android.example.github.ui.repo.RepoFragment$onViewCreated$adapter$1
    │    Leaking: NO (RepoFragment↓ is not leaking)
    │    Anonymous subclass of kotlin.jvm.internal.Lambda
    │    ↓ RepoFragment$onViewCreated$adapter$1.this$0
    ├─ com.android.example.github.ui.repo.RepoFragment
    │    Leaking: NO (FragmentManagerImpl↓ is not leaking and RepoFragment#mFragmentManager is not null)
    │    ↓ RepoFragment.mFragmentManager
    ├─ androidx.fragment.app.FragmentManagerImpl
    │    Leaking: NO (HashMap↓ is not leaking)
    │    ↓ FragmentManagerImpl.mActive
    ├─ java.util.HashMap
    │    Leaking: NO (HashMap$Node[]↓ is not leaking)
    │    ↓ HashMap.table
    ├─ java.util.HashMap$Node[]
    │    Leaking: NO (HashMap$Node↓ is not leaking)
    │    ↓ array HashMap$Node[].[12]
    ├─ java.util.HashMap$Node
    │    Leaking: NO (SearchFragment↓ is not leaking)
    │    ↓ HashMap$Node.value
    ├─ com.android.example.github.ui.search.SearchFragment
    │    Leaking: NO (SearchFragment#mFragmentManager is not null)
    │    ↓ SearchFragment.binding$delegate
    │                     ~~~~~~~~~~~~~~~~
    ├─ com.android.example.github.util.AutoClearedValue
    │    Leaking: UNKNOWN
    │    ↓ AutoClearedValue._value
    │                       ~~~~~~
    ├─ com.android.example.github.databinding.SearchFragmentBindingImpl
    │    Leaking: UNKNOWN
    │    ↓ SearchFragmentBindingImpl.mRoot
    │                                ~~~~~
    ╰→ androidx.constraintlayout.widget.ConstraintLayout
         Leaking: YES (RefWatcher was watching this)
    , retainedHeapSize=null)])

It could be because the AutoClearedValue is not working as it was intended. This may be related to the comments in this issue: https://github.com/googlesamples/android-architecture-components/issues/69
Also, is it considered a bad practice to declare a Fragment's dataBinding variable as a member variable? Do we always need to wrap then in something like AutoClearedValue?

I guess this case happens when you put your Fragment to the backstack and only onDestryView() is called and not onDestroy()?

@finneapps Yep, I think that's what's happening here. What I want to know is, should AutoClearedValue be modified so that it clears the values onDestroyView() instead of onDestroy()?

Yep, this was fixed in #785


Custom Metrics The tensor cannot be accessed here.

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): 2.1.0
Python version: 3.7
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

Describe the problem
The Custom Metric I use cannot be used when compiling the following error is thrown.
The Custom Metric is:
`
class CaseAccuracy(tf.keras.metrics.Metric):
def init(self, name='case_accuracy', thresholds: float = 0.5, num_classes: int = 24,
dtype=tf.float32, **kwargs):
super(CaseAccuracy, self).init(name=name, dtype=dtype, **kwargs)
self.thresholds = thresholds
self.num_classes = num_classes
self.correct_samples = self.add_weight(name='correct_samples', shape=(1,), initializer='zeros', dtype=self.dtype)
self.num_samples = self.add_weight(name='num_samples', shape=(1,), initializer='zeros', dtype=self.dtype)
self.accuracy = self.add_weight(name='case_accuracy', shape=(1,), initializer='zeros', dtype=self.dtype)
def update_state(self, y_true, y_pred, **kwargs):
    """
    Updates the state of the Metric.

    :param y_true:
    :param y_pred:
    :return:
    """
    # Get binary results for predictions
    y_pred = tf.where(y_pred >= self.thresholds, 1., 0.)

    # Get binary result if prediction is correct
    corr = tf.where(y_pred == y_true, 1., 0.)

    # Get binary result if all predictions for a sample are correct
    all_corr = tf.where(tf.reduce_sum(corr, axis=-1) == y_pred.shape[-1], 1., 0.,)
    self.correct_samples = self.correct_samples + tf.reduce_sum(all_corr, axis=-1)
    self.num_samples = tf.add(self.num_samples, self.num_classes, name='num_samples_add')
    self.accuracy = tf.divide(self.correct_samples, self.num_samples, name='case_accuracy_div')
    return self.accuracy

def result(self):
    return tf.divide(self.correct_samples, self.num_samples, name='case_accuracy_result')

def reset_states(self):
    # The state of the metric will be reset at the start of each epoch.
    self.correct_samples.assign(0.)
    self.num_samples.assign(0.)
    self.accuracy.assign(0.)

`
Source code / logs
`
from aggregation.model import get_model, CaseAccuracy
input_shapes = [(20, 24), (10, 24)]
num_classes = 24
model = get_model(input_shapes, num_classes)
try:
model.compile(
optimizer='adam',
loss='categorical_crossentropy',
metrics=['accuracy', tf.keras.metrics.AUC(), tf.keras.metrics.Precision(), tf.keras.metrics.Recall(),
CaseAccuracy()]
)
model.summary()
except Exception as e:
print(e)
2020-01-14 09:05:44.297580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-01-14 09:05:48.583880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-01-14 09:05:48.606855: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error
2020-01-14 09:05:48.609872: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: ...
2020-01-14 09:05:48.610491: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname:
2020-01-14 09:05:48.610973: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
The tensor 'Tensor("add:0", dtype=float32)' cannot be accessed here: it is defined in another function or code block. Use return values, explicit Python locals or TensorFlow collections to access it. Defined in: FuncGraph(name=update_state, id=1923611490848); accessed from: FuncGraph(name=keras_graph, id=1923588214736).
`

@Robmosh91,
I tried to reproduce the issue but I'm facing an error stating ModuleNotFoundError: No module named 'aggregation'. Please find the Gist here.
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here. Thanks!

Hi @Robmosh91 , instead of
self.accuracy = tf.divide(self.correct_samples, self.num_samples, name='case_accuracy_div')
return self.accuracy

inside update_state, you should do
self.accuracy.assign_add(tf.divide(self.correct_samples, self.num_samples, name='case_accuracy_div'))

Also in result you should return self.accuracy. This one is just for removing redundant code and following best practice. This step might not be related to your error.


Signing and notarization

As mentioned in the README (https://github.com/mobanisto/pinpit-gradle-plugin?tab=readme-ov-file#signing-and-notarization), signing and notarization of macOS distributables is not yet implemented, only scripts exist that perform this step on the pinpit-built binaries.
We should implement this as part of pinpit itself eventually though and make all the relevant data configurable.

See #43

Also check #23

I have some jar files within my app that follow this approach and it prompts that the dylib inside the jar is not signed.


network-connections alert if there's more than a specified number of conns

Is your feature request related to a problem? Please describe.
I have an application that leaks TCP connections:
/usr/lib64/nagios/plugins/network-connections
tcp6 ESTABLISHED: 37732, tcp ESTABLISHED: 6, tcp TIME WAIT: 5, udp6 NONE: 5, udp NONE: 4, tcp6 LISTEN: 4, tcp LISTEN: 4|'tcp6_ESTABLISHED'=37732;;;; 'tcp_ESTABLISHED'=6;;;; 'tcp_TIME_WAIT'=5;;;; 'udp6_NONE'=5;;;; 'udp_NONE'=4;;;; 'tcp6_LISTEN'=4;;;; 'tcp_LISTEN'=4;;;;

Obviously the application needs fixing (and it will be! :)). These connections are all to the same host, and when there's no more free ports, this will lead to a DoS.
Describe the solution you'd like
Monitoring wise it would be nice to be able to get an alert if this host has 'too many' active connections.
On this page it says:

Does not WARN or CRIT on anything, because we currently do not know on what. Until there is some clarification (you could submit an issue), this check is useful for debugging purposes.

Well, here's the issue :)
I realize it is difficult, if not impossible, to have a predefined number of connections that's problematic, it would be different per host. However, maybe we could make it so that the user is able to specify what thresholds they'd like to have?
In this particular case, I would expect this host to never have more than a few, maybe a hundred, tcp connections. So I could configure a treshold of warn at 500, critical at 2500.
Alternatives
No response
Additional context
Thank you for this awesome project!

Sounds reasonable, so would something like --warn-tcp6-established, --warn-tcp-established, --tcp-time-wait etc. make sense, where all default to None?

That would work. I figured I wouldn't make a proposal myself to leave the options open. If we wanted to be able to set the thresholds individually, maybe we should also do the same for UDP? While we're on it, we could add a threshold for the listen numbers as well. If you have a server that typically only has a dozen active listen sockets, and it suddenly increases to a couple of hundred, chances are some app has gone haywire, or your system was hacked.
Having said that, for my particular use case I would also be totally happy with just two arguments in total:  --warn-tcp46-established, --crit-tcp46-established that would simply alert on the total number of tcp connections. Or maybe even: for both TCP and UDP.
However, I suppose it's only a matter of time before someone has a use case where it would be necessary to be able to configure all thresholds individually.

Have a look at the README for details.

@markuslf awesome! From the README it looks very reasonable and easy to work with.


Provide pseudo-layers for mount points, etc.

If you're trying to create the minimal container to run your job in, you may only need to mount /proc or something like that. You may only want to specify your actual binary, and not have to create a tar file with just the directory /proc in it. We could have a notion of a pseudo-layer which would be in the layers stack, but would be an actual operation. Examples could be "mkdir /foo/bar", "touch /foo/bar/baz", etc. We wouldn't actually execute the shell command, we'd just have a number of small operations that we knew how to do to create a layer.
These would only be "static", context-free pseudo-layers. These would be commands that could be turned into stand-alone tar files. So, we could map "mkdir /tmp" to a SHA-256 digest of a simple tar file that just contains the directory "/tmp". We might need to generate some of these tar files if we hadn't seen the command before, but once it was in cache, we could just treat the pseudo-layer as an actual layer.

I'm thinking the specification would just be brace expansion like this: {{proc,sys,tmp}/,dev/{null,zero}}, which would expand into these strings:

proc/
sys/
tmp/
dev/null
dev/zero

Anything ending in / would be created as a directory, otherwise it would be created as a file. Also, any intermediate directories would be created. So dev/null would implicitly create dev/.


V-Slice Easter Eggs

What feature do you want to get added on the P-Slice engine?
The addition of the v-slice easter eggs would be cool such as the gf ringtone done by pressing left right left right up down up down

GF ringtone is already a thing in P-Slice


[4.0.4] kwm command is not in added to path when installing via brew

However, kwmc is, which could lead to some confusion.

I don't think kwm is meant to be run from the command line. If you really needed to though, you could run it from its full path. I think this is a feature because it prevents accidentally starting kwm or accidentally starting another instance of kwm when one is already running.

I don't think kwm is meant to be run from the command line.

This is true for homebrew versions. The only time Kwm should be ran from the terminal is if you are building manually for whatever reason, in which you just run it from the bin directory or manually symlink it.


Add stale bot

This PR adds a stale bot to manage stale PRs/issues.

After 90 days of inactivity

The bot will check PRs/issues with status/more-info-needed and status/needs-update labels.
Add Stale label
Comment: This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

After another 7 days

Close PR/issue
Message: This issue was closed because it has been stalled for 7 days with no activity.

I'm not sure if it'll run from this PR as the file has to land in the repo first.

Output from a job for this PR:
https://github.com/containerd/containerd/actions/runs/5966589212/job/16186532376?pr=9008

@samuelkarp updated.

Will ignore the unrelated e2e so we can test this one out

@mxpv nice! Thanks


Several issues with creating new project

Hi there
This looks pretty promising to me but I am running into issues right from the start.
The gem installs, but triggering "suspenders projectXYZ" I receive several errors:
First:
Could not find gem 'delayed_job_active_record (>= 0) ruby' in any of the gem sources listed in your Gemfile or installed on this machine.

Same goes for flutie, email_validator, high_voltage, i18n-tasks, neat
--> I could fix this manually installing the related gem(s) but after fixing one issue, the next gem was missing.
Second:
Could not find gem 'email_validator (>= 0) ruby' in any of the gem sources listed in your Gemfile or installed on this machine.

--> I could fix this manually installing the related gem
Third:
...
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
...

Also: shouldn´t the final bundle install not better be triggered with "--without production" (and without stage?)

Thanks for reporting! This is surprising, suspenders should automatically install its dependencies through bundle. What version of Ruby and Bundler are you using? Do you use a Ruby version manager?

Hi there
I am on 4.2.1, 2.2.2 for rails, latest bundler & RVM.
I will crosscheck on a clean nitrous workspace.
On Mi., Juni 3, 2015 at 21:21, thoughtbot/suspenders
<EMAIL_ADDRESS>wrote:
Thanks for reporting! This is surprising, suspenders should automatically
install its dependencies through bundle. What version of Ruby and Bundler are
you using? Do you use a Ruby version manager?
—
Reply to this email directly or view it on GitHub
[https://github.com/thoughtbot/suspenders/issues/575#issuecomment-108586707] .[https://github.com/notifications/beacon/AIRJlazGEYHZUCoGNPix6jz6ICRD6-TTks5oP0tNgaJpZM4EzYLQ.gif]

probably a full stack trace would be helpful to debugging...
also, did you see https://github.com/thoughtbot/suspenders/#dependencies ?

Solved: I am 100% unsure why, but deleting the folder, starting from scratch did the job finally.
However, one thing I would like to mention which is worth for being added to the documentation is the fact that keys aren´t created by default and rake secret should be run to create an own key for adding in a related .env file (such as .env.development).

Surprising. Thanks!


Jest erases logger messages

By default, jest run multiple (3) test suites simultaneously, which erases any message logger produces.

Closing this as inactive/inactionable. Feel free to comment if this is a mistake and I will reopen.


Fix crash in - [ARTiledImageView drawRect:], line 112

Version: 2.3.6 (2016.02.12) | net.artsy.artsy
Stacktrace
ARTiledImageView;drawRect:;ARTiledImageView.m;112
ARTiledImageViewWithBreadcrumb;drawRect:;ARZoomView.m;38
Reason
objc_msgSend() selector name: bounds
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/111855490

Closing in favour of #773.


Add Ctags support into the bundle

Move Ctags support into the bundle to save people the effort of manually setting it up.

Thanks!, is it ok to put your name under CONTRIBUTORS.md ?

@juliosueiras more than happy to have my name in CONTRIBUTORS.md


Draw Buy/Sell point

Hi, first off all awesome job, is even better than Highcharts Stock to be honest.
I have a few questions about the library.

Is there a way to get the data of a candle e.g : The position in the charts (x,y)
Im using websockets to update the chart data , Im trying to draw buy sell points using websockets as well , im using  subscribeDrawAction,  im usign the timestamp to compare and draw de mark, but only works the firts time the candle renderize , y think something is happening whit the updateData method , i think because is replacing the timestamp.
I'll be very thankfull if you can clarify this doubts.
Thank you

There is currently no way to get the position on the chart, i am considering adding.

chart.subscribeDrawAction('drawCandle', ({ ctx, dataIndex, kLineData, coordinate, isCandle }) => {
     // do something
     // Here it will be triggered as long as the candle is rendered

     console.log(dataIndex, kLineData)
})

Hope it helps you.

There is currently no way to get the position on the chart, i am considering adding.

chart.subscribeDrawAction('drawCandle', ({ ctx, dataIndex, kLineData, coordinate, isCandle }) => {
     // do something
     // Here it will be triggered as long as the candle is rendered

     console.log(dataIndex, kLineData)
})

Hope it helps you.


Tests for CASSANDRA-7814

Some tests I wrote quite some time ago for CASSANDRA-7814, but never merged.

Thanks for the comments Philip, I pushed a new commit.


add option to disable the querylog and txlog debug UIs

Upon inspection I noticed that the streaming /debug/txlog handler didn't properly redact the queries like the other debug UIs do.
Since there's really no point in keeping that handler without the underlying queries (unlike /debug/querylog) I added a check to the init sequence so that it skips registering the handler if the path is set to "".
For completeness I did the same for /debug/querylog.

LGTM


Responsive image Adjustable With Different Views

{!! $post->body!!} In blade view to get image with written description but it doesn't adjustable with mobile view for desktop view its okay , what we have to do to adjust it with mobile view ?

The display is not managed by this package. This package is a backend only.


Refactor ScubaGear Module to support publishing to repository

💡 Summary
ScubaGear is currently deployed as a zipped package with manual instructions on installation and usage.  To support publishing to a package repository (i.e., GitHub Packages, PSGallery), the module needs to be refactored to include all neccessary components inside the module.
Motivation and context
Why does this work belong in this project?
This would be useful because a module published in a public repository will be more accessible to users.  It will also easy to path to usage by using common PowerShell module management capabilities (e.g., Install-Module).
Implementation notes
Reference #94, #645 for context and additional information.

Developer should be able to run ScubaGear and tests from the repository (without publishing as a module)
After executing Install-Module for ScubaGear, rego code to execute Invoke-Scuba should be available. #680
After executing Install-Module for ScubaGear, report folder (e.g., *.js, *html) to execute Invoke-Scuba should be available.  #681
After executing Install-Module for ScubaGear, baseline documents (e.g., aad.md) to execute Invoke-Scuba should be available. #679
All support script (e.g., download OPA) should be migrated to functions #678

Acceptance criteria

[x] ScubaGear executes when installed from a package repository
[ ] ScubaGear executes when updated from a package repository
[ ] ScubaGear can be uninstalled

Closing - all associated issues resolved via other PRs.


Some thoughts to make DIDs optional in the Linked VP spec

I saw a presentation of Linked VPs at DICE recently, and already heard about two other projects adopting Linked VPs:

did:tdw using the /whois specification.
A pilot project in the Netherlands to publicize credentials about an organization

After reading the specification, I like the concept and think it could be a really easy way to publicize VPs, however I think the specification could be generalized a bit to allow it's usage without DIDs as well. Maybe this should be a separate specification, but I wanted to share some thoughts on how I see see this could work:

Keep the LinkedVerifiablePresentation service endpoint type that can be included in a did document as is, but it is not required.
In addition, define a .well-known URI for publicly hosting a linked VP (more a Well Known VP in this case). If you have the domain of an entity (e.g. SD-JWT VCs describe two methods where you use a https:// uri as the iss identifier), you could fetch the well-known Linked VP and verify it.
Make the VP file an array of VPs. Each entry will be an object with format which would be identifiers from the DIF Claim Format Registry. This could support ldp_vp, jwt_vp, but also additional and new formats such as vc+sd-jwt, acdc, etc. The  type of the vp value would depend on the format used (can be string, objects, etc..). I think an array could also have benefit so you don't have to re-generate the linked vp every time you want to add a new VC, but you could just add a new VP to the list.

This way the spec could evolve with any type of issuer identifier, still be compatible with DIDs, but also allow to be used without DIDs, can be extended with new format types. By making it an array you can include multiple VPs at the well-known URI.

@TimoGlastra I can understand why there may be interest in discovering VPs from .well-known rather than using DID Resolution.
But when I read things like the following:

any type of issuer identifier

can be extended with new format types

Then all I can think is that this is exactly what DIDs do! They provide a common syntax and common resolution format for any type of underlying identifier system.

@TimoGlastra thank you for your feedback. Here are some additional thoughts:

I saw a presentation of Linked VPs at DICE recently, and alreay heard about two other projects adopting Linked VPs:
* did:tdw using the `/whois` specification.

* A pilot project in the Netherlands to publicize credentials about an organization

After reading the specification, I like the concept and think it could be a really easy way to publicize VPs, however I think the specification could be generalized a bit to allow it's usage without DIDs as well. Maybe this should be a separate specification, but I wanted to share some thoughts on how I see see this could work:
* Keep the `LinkedVerifiablePresentation` service endpoint type that can be included in a did document as is, but it is not required.

I'm not sure I understand your request correctly. The type property is not optional in the DID spec. Providing LinkedVerifiablePresentation  as semantic information is a core part of this specification and won't be changed.

* In addition, define a `.well-known` URI for publicly hosting a linked VP (more a Well Known VP in this case). If you have the domain of an entity (e.g. SD-JWT VCs describe two methods where you use a https:// uri as the `iss` identifier), you could fetch the well-known Linked VP and verify it.

As Markus pointed out, DIDs are a much more general purpose identifiers that are not bound to the web. While I understand your request of specifying a .well-known path for hosting presentations, it leaves unanswered many other other questions like: what is the identifier that's bound to this website; does very single identifier need to have their own domain name to host linked-vps? If the identifier is a DID, then we don't need to specify .well-known because linked-vps will be discovered from the DID document. If the identifier is not a DID then a separate specification seems to me a better option.
The one case for .well-known that comes to my mind are DID methods that don't support service endpoints, e.g. did:key. However, two things must exist for this to work: a) a known domain name, e.g. coming from my browser b) a link between the domain name and a DID. Only then, it would make sense to look for linked-vps under a .well-known path. Since the link between a domain name and a DID is specified here https://identity.foundation/.well-known/resources/did-configuration/, I'd recommend specifying additional .well-known paths there. This spec isn't concerned with the web.

* Make the VP file an array of VPs. Each entry will be an object with `format` which would be identifiers from the DIF Claim Format Registry. This could support `ldp_vp`, `jwt_vp`, but also additional and new formats such as `vc+sd-jwt`, `acdc`, etc. The  type of the `vp` value would depend on the format used (can be string, objects, etc..). I think an array could also have benefit so you don't have to re-generate the linked vp every time you want to add a new VC, but you could just add a new VP to the list.

Multiple presentation formats are already supported by this spec so there's no need for a format property.
Multiple linked-vp entries and an array of URLs for one linked-vp entry is also supported by this spec. Instead of updating an existing URL a new URL/file could be created and registered as another service endpoint in the DID document.
Although this spec doesn't enforce any sub resource integrity configuration, it is better practice to not "silently" update an existing presentation without indicating this change also in the DID document.

This way the spec could evolve with any type of issuer identifier, still be compatible with DIDs, but also allow to be used without DIDs, can be extended with new format types. By making it an array you can include multiple VPs at the well-known URI.

As pointed out, this is a spec that is geared towards DIDs. I don't see how it could stay as simple as it is and serve other identifiers as well.


dev-cmd/edit: do not shadow formula with local dir

Fix for brew edit <name> to ignore local dir with the same name as formula and edit formula instead.
Fixes #16015.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Does brew style support directories? If so, this would break that.

@Bo98 I don't know. brew style didn't fail, and I don't think I am capable to write a test case for it.

Sorry, I don't think we want this. People will complain. Instead, we should output the fully qualified local path in this case to make clear what's been edited.

Why people want to open local dir with brew edit dir instead of doing vim dir?
Maybe I don't know something, but isn't brew edit for editing formulas and not local dirs?

brew style can be called on any directory or file and this is useful sometimes when working on local taps or package changes.

Yes, I use brew style . all the time, including on non-taps.


Find Command only applies to 'm/' filter, ignoring '!m/' condition

When using the find command with both m/ and !m/ filters with the same condition, it should ideally display the entire list (as both inclusion and exclusion of the same condition should cover all items). However, the find command currently only applies the m/ filter, ignoring the !m/ condition, leading to an incomplete or incorrect result.

Only allow n/, c/, m/, !m/ and n/ c/ as acceptable prefixes for find, no other combinations of prefixes for find will be allowed

Empty string after find prefix is also not permitted anymore


Set a name when pushing ValidatedDescriptionHandler to stack

Consider the following scenario:
In userland we have a Description which defines the parameter apiKey as required for an operation Foo. Since the API key does not change very often, we store the key in a config. A CustomHandler in userland will read the config and add this parameter to the Command with every call.
But since ValidatedDescriptionHandler was already added by GuzzleClient and CustomHandler will be added afterwards, ValidatedDescriptionHandler will be called first and will fail because the parameter apiKey is missing.
To avoid this situation we must push the CustomHandler before the ValidatedDescriptionHandler by calling $stack->before('name_of_handler', new CustomHandler($config));. To be able to do this, we have to define a name when pushing ValidatedDescriptionHandler to the stack.

Fixed in 24f29d3


Generate Dockerfiles from OBuilder specs

Instead of generating Dockerfiles directly, generate OBuilder specs and then convert them to Dockerfiles.
This lets us test that the conversion works, before enabling OBuilder builds on the main cluster.

Looks good to me.


Android: Font option in story menu

As requested added a font option to the story menu

This is great stuff. Can you make the font choice dialog sticky after choosing a font? Similar to how the font size dialog is sticky until you tap in the background to dismiss.


ASIO: Fix sample converter with floats

When recording from ASIO and sending the output to another ASIO device I noticed that the input and the output were Int32LSB. This caused problems with NAudio ASIO implementation as the sample converter currently do not support Int32LSB.
I did some modifications to NAudio and now it seems to be working as it should, but I could test only Int32LSB as input and Int32LSB as output.

thanks for this. haven't been able to test these conversions myself, but looks good from code review


deluge post process not converting all files in folder

I currently have a batch script configured to unrar all files and then to call the delugePostprocess.py script. Some downloaded files included a sample if the root of the torrent files list and a bunch of archives. The only file that gets processed for conversion is only what was in the original torrent list regardless files that now exist after extraction.
I would like to request assistance with getting the delugePostprocess.py file to instead target the root folder itself which I believe would solve my problem.
Batch file being called by deluge is:

#!/bin/sh
torrentid=$1
torrentname=$2
torrentpath=$3
/opt/deluge/unrarall/unrarall -q "$torrentpath"/"$torrentname"
wait $!
python /opt/mp4automator/delugePostProcess.py $torrentid $torrentname $torrentpath
exit

Sample from deluge log file where the sample file is the only thing converted:

2019-04-24 06:30:59 - delugePostProcess - INFO - Deluge post processing started.
2019-04-24 06:30:59 - readSettings - INFO - /usr/bin/python
2019-04-24 06:30:59 - readSettings - WARNING - Audio bitrate was invalid, defaulting to 256 per channel.
2019-04-24 06:30:59 - readSettings - WARNING - Invalid external subtitle codec mov_text, ignoring.
2019-04-24 06:30:59 - readSettings - WARNING - No valid subtitle formats found, defaulting to 'srt'.
2019-04-24 06:30:59 - delugePostProcess - INFO - Successfully connected to Deluge
2019-04-24 06:30:59 - delugePostProcess - INFO - Converting file /dwnldr/tor/comp/movie/MOVIE_NAME/Sample/MOVIE_NAME.sample.mkv at location /dwnldr/tor/comp/movie/MOVIE_NAME-convert.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Reading video stream.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Video codec detected: h264.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Pix Fmt: yuv420p.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Profile: High.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Reading audio streams.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Audio detected for stream #1: ac3 [eng].
2019-04-24 06:31:00 - mkvtomp4 - INFO - Creating audio stream 0 from source audio stream 1 [iOS-audio].
2019-04-24 06:31:00 - mkvtomp4 - INFO - Audio track is number 0 setting disposition to > default
2019-04-24 06:31:00 - mkvtomp4 - INFO - Creating audio stream 1 from source stream 1.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Audio Track is number 1 setting disposition to none
2019-04-24 06:31:00 - mkvtomp4 - INFO - Reading subtitle streams.
2019-04-24 06:31:00 - mkvtomp4 - INFO - Starting conversion.
2019-04-24 06:31:03 - mkvtomp4 - INFO - /dwnldr/tor/comp/movie/MOVIE_NAME-convert/MOVIE_NAME.sample.mp4 created.
2019-04-24 06:31:04 - delugePostProcess - INFO - Passing /dwnldr/tor/comp/movie/MOVIE_NAME-convert directory to Radarr.
2019-04-24 06:31:04 - autoprocess.radarr - INFO - Radarr notifier started.
2019-04-24 06:31:04 - autoprocess.radarr - INFO - Requesting Radarr to scan directory '/dwnldr/tor/comp/movie/MOVIE_NAME-convert'.
2019-04-24 06:31:04 - autoprocess.radarr - INFO - Radarr response: queued.
2019-04-24 06:31:04 - delugePostProcess - ERROR - Unable to delete temporary directory.
Traceback (most recent call last):
File "/opt/mp4automator/delugePostProcess.py", line 142, in
os.rmdir(delete_dir)
OSError: [Errno 39] Directory not empty: '/dwnldr/tor/comp/movie/MOVIE_NAME-convert'

delugePostProcess works by tying directly into the file list provided by deluge so if you're using scripts to unRar before hand that list will be incomplete. Suggest using completed download handling and having the conversion just be down by the postSonarr/postRadarr/etc scripts


High Performance Indexing

This doc outlines the steps of how an optimal pipeline on parsing JSON and passing it to tantivy could look like. Currently the JSON handling costs around 20% - 30% of total CPU time when ingesting data. Additional hidden costs for nested JSON and cache locality are hard to gauge.
Note: We could easily parallelize JSON parsing to increase throughput. But that CPU time could be saved, or be used for higher compression instead.
Steps

Retrieve unparsed JSON as String
Validate UTF-8 once on the unparsed JSON. (Currently this is done for every String)
Find positions of (potentially escaped) strings (like in simd_json)
Unescape the strings inplace and update the positions. It can be done on the original String, since escaped JSON strings are always longer. E.g. escape inplace and write zeros, to keep the string length the same.
key:"\"My Quote\"" => key:""My Quote""00
Now we can parse the json and reference everything with &str (similar to serde_json_borrow). As a added bonus this will increase cache locality.
5.1. Consider parsing into decimal for floats
Nested data in JSON is usually allocated in a BTreeMap, but this is unnecessary work since we want it flattened anyway. Therefore we can preflatten the it into a Vec<&str, tantivy::Value> (Related to https://github.com/quickwit-oss/tantivy/issues/2015). We'll need two groups

Root Level Attributes: &str => Value
Nested Attributes: JSON path (e.g. "json.vals.blub", but use tantivy format with \0 as a separator) String => Value. Maybe Arc<String> => Value from a JSON path Hashmap<&[&[u8]], Arc<String>

We would have something that looks similar to:

struct QuickwitDoc{
   unparsed: String,
   root: Vec<(&'static str, Value<'static'>)>, // references slices from unparsed, cast to static lifetime
   nested : Vec<(Arc<String>, Value<'static'>)>,// references slices from unparsed, cast to static lifetime
}

Implement the document trait on QuickwitDoc, to avoid conversion into Document https://github.com/quickwit-oss/tantivy/issues/1352

Notes
I'm not sure how array<> is handled in quickwit currently.
QuickwitDoc should probably contain a UnorderedId from https://github.com/quickwit-oss/tantivy/issues/2015
Side Note: Indexing throughput can already be considered high performance as of now with ~30Mb/s

Can we work off Bytes objects rather than String? Upstream, we get batches of documents separated by a new line as Bytes from sources. Internally, we "transport" batches of concatenated documents, which are easy to split as individual documents, also represented as Bytes.
struct DocBatch {
  doc_buffer: Bytes,
  doc_lengths: Vec<u32>,
}

Working directly with Bytes will avoid allocations to create new String objects.

Hum, this will ruin the in-place updates that you wanted to perform.

related : https://github.com/datalust/squirrel-json

A possible simple path to get this work done:

add a json path dictionary on the SegmentWriter.
That index will allocate an unordered id u32 to each json path we encounter.
we stop storing the json path in the indexer term hashmap. Instead we store this path unordered id.
on serialization, we compute the unordered -> ordered mapping, and first replace all unordered id by the ordered id.
We then sort terms like we always do. Then upon serialization of the term dictionary we do the work of computing the actual
Term by replacing the path ordered id by the path.

At this point all of this work can be implemented in tantivy entirely. It would reduce the memory footprint of the indexer, at the cost of possibly making it a bit slower.

Then we could then make it possible for users to:

pass their own json path dictionary to the segment writer at serialize
add a new undocumented document value type that is UnorderedJsonLiteral { unordered_path_id: u32, val: JsonLiteral }

On quickwit side instead of building a json object and passing it to tantivy, we could then just build our own json path unordered id dicitonary and  append as many field to the Vec of FieldValue, as we have leaf in our json.

I had similar thoughts, but with some differences. (Also in relation to https://github.com/quickwit-oss/quickwit/issues/3896)
Currently there are two limitations in tantivy:

Root fields can't be dynamic (aka JSON/Object fields)
Nested paths can't be configured, only top level paths

Dynamic Schema
Change the API for Document from (Field, Value) to (&str, Value).
In dynamic mode there's a root config, additionally any JSON path can be configured.
A configured path has a flag to include sub paths.
On encountering a path, the SegmentWriter will do a lookup.

Exists -> [Unordered Id, Configuration]
Does not Exist

Dynamic: [Create Unordered id, Configuration]
Lenient: Ignore
Fixed: Error

The rest is similar, e.g. store the unordered id in the indexer term hashmap.
On serialization create a global dictionary that contains all dynamic path + value.
Non dynamic paths can still be Field.
It should be possible to provide flattened paths, to reduce the number of lookups for nested paths.
I don't think users can pass their own json path dictionary to the segment writer at serialize, since commits may be triggered
when reaching the memory budget, and the actual paths encountered is only known to the SegmentWriter (in dynamic mode).


Added proxy configuration details in README

Automated message from Dropbox CLA bot
@ashishk1994, it looks like you've already signed the Dropbox CLA. Thanks!

Thanks @ashishk1994 !  I posted a couple small suggestions, can you fix this up and push an updated version to this pull request?

@ashishk1994 A small question. Did you try this out once like did you setup zulip from behind a proxy because I could not set zulip up by doing this. Later I had to use a proxyless internet connection.

@varshit97 Yes, It worked for me. Actually after setting the proxy I was facing some issue in installing the npm modules but It is resolved by adding a .npmignore file (look at : https://github.com/zulip/zulip/pull/539) . What issue did you face.

@ashishk1994 I tried running "vagrant up" behind proxy. It took much time to finish running and at the end told me to check the proxy settings even though the settings you said were already applied.

@varshit97 I have setup the development environment using provision.py, I don't know much about the vagrant. It ran successfully using provision.

@ashishk1994 Oh ok. I was thinking that your fix was for the vagrant part. Then a small suggestion is to put that this works for provision.py or something like that. :)


Numpy

lambda using your arn causes numpy issue.

I too see a numpy issue & to add more detail, this is what the cloudwatch log error says,
[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda':
Unable to import required dependencies:numpy:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed.
This error can happen formany reasons, often due to issues with your setup or how NumPy was installed.
We have compiled some common reasons and troubleshooting tips at:
    https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:  * The Python version is: Python3.8 from "/var/lang/bin/python3.8"  *
The NumPy version is: "1.23.5"and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: No module named 'numpy.core._multiarray_umath'Traceback (most recent call last): |
[ERROR] Runtime.ImportModuleError:
Unable to import module 'lambda': Unable to import required dependencies: numpy:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed.
This error can happen for many reasons, often due to issues with your setup or how NumPy was installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.8 from "/var/lang/bin/python3.8"
* The NumPy version is: "1.23.5" and make sure that they are the versions you expect.
* Please carefully study the documentation linked above for further help.
* Original error was: No module named 'numpy.core._multiarray_umath'
* Traceback (most recent call last):
-- | --


Upgrade dockerhost-equinix-ubuntu2004-armv82-1 to Ubuntu 24.04 LTS

Now that we have Ubuntu 24.04 we should look at upgrading one of the Altras up to this level. This will also support the requirements of https://github.com/adoptium/infrastructure/issues/3498.
Noting that we have previously had some problems with the boot process on these machines so it is essential that whoever does this is comfortable with connecting to the console of these machines.
Part of https://github.com/adoptium/infrastructure/issues/3588

@Haroon-Khel Can you add some notes in here for historic reference about some of the problems + solutions you hit while doing this please?

Ill describe the kernel panic and go through solutions.
After upgrading the kernel and all of the packages, the machine required a reboot. During the reboot the system hit a kernel panic, which took me to the GRUB prompt.
At the GRUB prompt I set the vmlinuz and initrd paths
grub> linux /boot/vmlinuz-$new_kernel_version-generic root=/path/to/root-filesystem
grub> initrd /boot/initrd.img-$new_kernel_version-generic

This allowed the system to boot, but still hit the kernel panic on subsequent reboot. To fix this, boot back up using the above steps in the GRUB prompt. Then run update the initramfs
~# update-initramfs -u -k $new_kernel_version-generic

Then the system should be fine after a reboot


define user account to run workflows in

need - QA and Prod accounts -- use my user account for the time being.

hedwig_dev is linked to the AD account NIH\svc_hedwigdev, has RW access to ai-fas12:/RMLEMHedwigDev
hedwig_qa is mapped to AD account NIH\svc_hedwigqa, has RW access to ai-fas12:/RMLEMHedwigQA
hedwig_prod is mapped to NIH\svc_hedwig, has RW access to ai-fas12:/RMLEMHedwigProd
try to set up the daemons to run as above users, should be able to write to their respective storage


Expand TILDE (~) in path inputs

Closes: #159

cache-dependency-glob documentation needs to be adjusted


Improved UI of Doctors Page

Type of change

[ ] Added new project
[x] Bug fix
[ ] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name : #243

Short description :

changed the UI of the doctors

Page color seems inconsistent what we using already

@varshith257 I will review the color scheme and ensure consistency across all pages If you have any specific examples or suggestions, please let me know...

@varshith257 I will review the color scheme and ensure consistency across all pages If you have any specific examples or suggestions, please let me know...

Maybe that blue color doesn't seem to be aligned with what already using

@varshith257 I will review the color scheme and ensure consistency across all pages If you have any specific examples or suggestions, please let me know...

Maybe that blue color doesn't seem to be aligned with what already using

@varshith257 I have added a picture. please review this picture.....

Is this color aligned with home page color Schema?

@varshith257 The home page has this color which does not look good

It looks better than that

Add details like this in the inbox

Add details like this in the inbox

@Anishkagupta04 Well this is going to take some time......

Take your timee👍

@varshith257 Can you merge my PR so that I can change some UI otherwise, a merge conflicts will occur

@varshith257 Can you merge this PR of mine because this page link is not available in the navbar of the home page and this is my pending PR please can you merge this PR of mine

@varshith257 Can you merge this PR?

No activity! and updates of changes


[AppConfig] Prepare for May patch release, without performance package

The based branch has no performance package included.
Upgrade the version.

wrong base branch commit. Redo it in https://github.com/Azure/azure-sdk-for-java/pull/21643


Fixes path_symlink_trailing_slashes test case

This PR:

adds a couple log::debug! macro calls in and around path_get
for easier future debugging
changes impl of path_symlink hostcall to actually require
the final component (matching the impl of WASI in C)
ignores the error __WASI_ENOTDIR in path_get's readlinkat call
which is not meant to be an error at this stage (i.e., this
potentially erroneous condition will be handled later, in
one of the layers above)
makes path_symlink host-specific (Linux and BSD-like nixes
now have their own differing implementations)
on BSD-like nixes, when ENOTDIR is returned from symlinkat
it checks whether the target path contains a trailing slash,
strips it, and then checks if the target path without the trailing
slash exists; if yes, then converts the error code to EEXIST to
match Linux/POSIX spec

@sunfishcode I hope you don't mind if I'm gonna go ahead and merge this one so that we get all tests covered under Linux and MacOS hosts (and hopefully a couple BSDs). If you find anything amiss, open an issue and lemme know please! :-)


Remove some warnings on freebsd

There are two test failures on freebsd, but I assume they are not related to this PR?
failures:
    test_chown::test_chown_only_group_id
    test_tr::test_more_than_2_sets

There are two test failures on freebsd, but I assume they are not related to this PR?
failures:
    test_chown::test_chown_only_group_id
    test_tr::test_more_than_2_sets

Yeah, i didn't see tr before
for chown, I guess this is the refactor
anyway, the freebsd job should fail when failure are found


Gap between chart and legend

Hi, this issue has been appearing on smaller resolutions...

legend: {
position: $(window).width() > 768 ? 'right' : 'bottom'
}
(or http://pastebin.com/0pVqtcR6)
I can't figure out what's causing it... Is there anything I can do about it? position: inset is not really helpful because it sometimes covers bits of the chart... Thanks!

You configured a fixed height of 130x for your xAxis ticks. That's the space you are seeing.


Downstream branch changes

TESTING

you should be able to run make upstream and see that no files are changed
you can test the scratch build that is based off this commit by either running a scratch build yourself from the downstream repo or using the make command with my username (since i have already mirrored the image in quay):

make deploy-user-scratch USER=abaiken

You can make sure that the operator commit in the status matches the commit on this branch NOTE: The commit will match the one before I fixed pre-commit

Closing this in favor of https://github.com/project-koku/koku-metrics-operator/pull/84


Event Hubs: upgrade SDK to "track 2"

Description
Updated the Azure Event Hubs PubSub and Binding components to the new "track 2" SDK.
This should come with no functional changes to end users (and no changes in metadata), but there are some significant performance and stability improvements thanks to using the new SDK (as well as some fixes in our component's code, including - lesigh - race conditions).
EDIT:

For the binding, there's a small change in that the partitionID metadata property has been deprecated in favor of listening on all partitions

⚠ Important note
Azure Event Hub maintains "checkpoints" in Azure Blob Storage, and that's something that's managed by the SDK. The new SDK uses a different way of storing checkpoints that is not compatible with the old SDK.
This can be a problem during the rollout of a new version of Dapr: if the app is scaled horizontally, on an environment like K8s the rollout updates one instance of Dapr at a time. This means that for a brief time there can be apps using Dapr 1.9 (old SDK) and Dapr 1.10 (new SDK), and that will cause issues.
The way we're addressing that is a bit "hacky" but should do the job:

Before starting a new subscription, we check if there's a file in Azure Storage with the checkpoint created by the old SDK (Dapr 1.9). If the file exists AND has an active lock, it means that there's another app running concurrently that's using the old SDK.
We wait for up to 2 minutes to see if the lock is released (locks are requested for 60s so if they exist after 2 minutes, it means that the other app is still running).
If after 2 minutes the lock is still active, we return an error starting the subscription to have Dapr complete the initialization anyways and report a healthy status to K8s. However, the subscription would not be active.
At the same time, we also schedule a background timer that forces Dapr to crash after 2 more minutes. 2 minutes should be enough time for K8s to have completed the rollout of more instances of the app, and seeing Dapr panicking would cause K8s to restart the pod, and thus restarting the subscription. Hopefully by now all old apps have been updated so we can subscribe successfully.

This is not ideal but seems better than the only alternative @berndverst and I discussed of creating a "v2" of the component, which would require more manual work for users AND would increase the burden on us to support 2 versions of the same component (including one using deprecated SDKs).
This behavior will be temporary and will be removed in Dapr 1.13.
Note: given the temporary nature of this fix, and the complexity of creating a test running 2 versions of Dapr (we do not have the infra to do that at the moment), I will not be able to create an automated test for this. I have validated it manually.
Issue reference
Fixes #2101
Fixes #2378 incidentally

/ok-to-test

/ok-to-test

/ok-to-test

I've updated the PR and now changes the binding too, although it's not fully working yet - I'll debug more on Monday.
In the meanwhile, I've also identified the issue with IoT Hub that wasn't working, and it was because we had to enable the "fallback route". I've updated the Bicep to include that, and manually applied the change to the infra using the Azure Portal.

/ok-to-test

/ok-to-test

Out of curiosity, how is this not a breaking change?
This change most probably broke KEDA's integration.

Its not a breaking change and we made sure of it. We ensured to manually map existing properties to the new SDK for backwards compatibility. All existing auth methods continue to work in the exact same manner and we have E2E / integration tests and lots of customer evidence to prove it.

@tomkerkhove To be honest I wasn't aware of the KEDA integration until yesterday :( Our team was never involved with that.
I would also argue that accessing the data in the checkpoint store without using Dapr is not an officially-supported scenario, so it is not covered by our backwards-compatibility promise.
That said, how can we help ensuring that KEDA integration works?

What even is the KEDA integration? Clearly as a maintainer I am completely unaware. @tomkerkhove
Can you contribute a test or something?


Uninitialize minhook and Overlay (if console true) during Shutdown()

Properly dispose of minhook on shutdown.

Also calling Overlay::Shutdown() now during Shutdown() now if console enabled.

Hi have you seen my deposit? i made the same ... i think ... https://github.com/yamashi/CyberEngineTweaks/pull/297


Fix a 0.2% natschannel_test flake with some forced scheduler sleeps

Summary
I noticed natschannel_test failing in a CI run (which seem to run on a slower CPU than my MacBook).  I was able to reproduce with -count 1000 with some background adversarial tasks.  Putting in a forced scheduler transition (aka time.Sleep) after closing the subscriber seemed to prevent losing the third message (it was always the third message, which made me suspect the lines just before that publish).
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
go test -count 1000 ./internal/events/nats while running go test -count 2 ./... in parallel in another window.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 53.042%

Totals

Change from base Build<PHONE_NUMBER>4:
0.01%

Covered Lines:
13364

Relevant Lines:
25195

💛  - Coveralls


The width of the inline image is error.

I use asciidoctor/asciidoctor-maven-plugin to generate PDF document.
I write the AsciiDoc documents in Chinese, so I configure the theme and the fonts. But when generate the PDF  document, the width of the inline image is error.
The document is:  https://github.com/diguage/jdk-source-analysis/blob/master/docs/preface.adoc
[cols="2*^",frame=none]
|===
| image:images/alipay.png[title="支付宝", alt="支付宝", width="90%"] | image:images/wxpay.png[title="微信", alt="微信", width="90%"]
|===

The Example Repo: https://github.com/diguage/jdk-source-analysis
# 1. download the fonts
$ bash cfg/fonts/download-fonts.sh

# 2. Run the command to generate PDF document
$ mvn package

pdfwidth is the preferred attribute to control with width of an image in PDF. The width attribute is not meant to be used in this context and its interpretation of a percentage value varies widely between output formats.
Also note that inline images in a table cell are not well supported. It's better if you use a block image in an AsciiDoc table cell as the README suggests.
In the future, please direct questions about usage to the asciidoctor-pdf stream in the project chat at https://asciidoctor.zulipchat.com. I'd be happy to work through the issue with you there.


Custom Post Types / Filtering / Sorting

Hey there,
i am new to iOS development and plan to create a WordPress based news reader like app.
Now on my blog there are some custom post types with shop like items i would like to sort and filter by custom taxonomies.
For e.g a product item. On the WordPress blog i am using a Plugin called Toolset Views listing all these products in a grid like page where a user can paginate and filter through.
I guess i would have to extend the WordPress SwiftyPress plugin / framework to achieve all these funtionality to my custom post type?
Maybe there is any example or somebody using the framework for such kind of scenario.
thanks in advance

A few weeks ago, I exposed a setting to set the prefix of the REST API path called postRESTPrefix (1abd9d9).
What this allows you to do is set the REST url path in your Settings.plist to point to the custom post path, so the constructed URL would be /wp-json/post-rest-prefix-like-cars/123.
It needs to be extended more because it will only grab the post fields that are in common with the main post type, like title, content, categories, tags, etc. This works for the most part, but I’d like to also allow any custom fields to be added to the HTML template and passively retrieve the field value of it exists.

A rewritten update has been merged into master and develop with readme instructions and a full working sample app. Please take a look and open a new issue if the issue persists.


remove alunos.estacio.br from block list

PLEASE remove alunos.estacio.br from the stoplist.txt
This is a valid student email managed by Universidade Estácio de Sá, provided by Microsoft and made available to students to access their virtual classrooms and their respective campuses. Student email is an important tool for academic and professional communication, in addition to offering benefits such as unlimited storage, security and integration with other Microsoft services.

The official site of the university is https://estacio.br/
The official portal dor students is https://estudante.estacio.br/
Any questions, please contact me.

@renanlido lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@renanlido lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with this repository rules located at the bottom of this page and change your request accordingly. If you don't know how to change request, close it and open a new one. If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

Shure @philipto, I've sent an email to support so they can help me.
Thank you!

@renanlido lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@renanlido
Thank you for your request. Regrettably, the domain alunos.estacio.br was removed from our trusted domains list because one of the following happened:

the school allows to register an email address there even if you are not a student of the school.
someone from the school shared their account details publicly or sold it, and it led to broad account misuse and license terms violation.

Therefore, we are not able to identify if the people with addresses in these email domain are actual students or not.
Under no circumstances we can remove the domain from the stoplist. The domain mail system seems to have severe vulnerabilities as we have observed a very serious domain abuse.
Please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students)..*)


use PSR-1 and PSR-2 coding standards

update .travis.yml to check CS using php-cs-fixer
ignore src/Google/Service as these are generated elsewhere
http://www.php-fig.org/psr/psr-1/
http://www.php-fig.org/psr/psr-2/

Also incorporate PSR-4 by flattening the directory structure

+1

Any progress?

@bshaffer @jdpedrie Can someone from the community work on this or will this be provided by the Google APIs team as you generate it from some internal template?

@hacfi We always love and accept community support, but this one may be on us because of the complexity of BC issues. However voicing that you need this really helps with prioritization, and will result in us getting it done. The main reason we haven't taken action on this is nobody's pushed on this from the community.
In the phpgen-2.0 I've proposed an autoload.php file that fixes this. In order to move forward, we'd just need to publish a new php generator and add it as a Github action. This is something @jdpedrie and I will hopefully get done this year.

FWIF, here's my voice too 🗣
;-)

Is this still on your roadmap? I would love to see this implemented

@bshaffer there's definitely some need for this, see https://github.com/googleapis/google-api-php-client/issues/2073 Thanks! :)


changing geolocation (and language)

is it possible to change the 'gl' parameter in google.py in an elegant way?
Same question for changing language.
I want to compare the answers to the questions in different languages and regions, but don't know how to implement that smoothly.

I did it. Maybe someone will need it.
My pull request


Converted MJML not rendering correctly?

Disclaimer, I'm still very new to MJML; so I'm not sure if I'm just missing something or not. Anyways, I use Odoo Enterprise with the Mass Mailer app for email marketing. I think MJML is great and I've created a basic layout with it. However, the problem starts when I convert MJML to HTML and import the code into Odoo.
It seems that Odoo removes everything not found inside the , , and  tags of any code once I send out the email for testing so everything comes out as one column in the final product.
Based on what I've read, I need to run my HTML code through a service like inliner.cm to make all the css show up inline? I did this, but I don't think there were any changes to the codes I made, or even one of the templates available on the mjml site. I copy and paste my "inlined" code into Odoo but the same thing happens.
Not entirely sure if I'm doing it right. Anyone have any ideas?

Hi @ninetyxtwo, first, do not run the HTML generated by MJML through an inliner. MJML is already inlining the styles to inline, so if anything, this will break styles.
I'm not sure to understand exactly what alterations Odoo is making to the HTML. Maybe it could be worth it to compare the original HTML you import and the HTML after alteration with something like https://www.diffchecker.com/ to see exactly what's happening?
Finally, isn't there any "expert" mode in Odoo to make sure they don't do any modification to the file you import?

Hi @ninetyxtwo  any news on that ?

I'm closing this one, feel free to reopen if you can provide more informations !


Feature/dalquint compartment

Merge request for initial functionality of compartment creation

I have read the CLA Document and I hereby sign the CLA


Update the Help button

Updated the popup for help command with

updated user guide
list of commands that TalentSG supports

Close #53

LGTM


[FEATURE] Add specs for ism namespace

Part of Adding missing API specs issue

[x] /_opendistro/_ism/add: ["POST"]
[x] /_opendistro/_ism/add/{index}: ["POST"]
[x] /_opendistro/_ism/change_policy: ["POST"]
[x] /_opendistro/_ism/change_policy/{index}: ["POST"]
[x] /_opendistro/_ism/explain: ["GET"]
[x] /_opendistro/_ism/explain/{index}: ["GET"]
[x] /_opendistro/_ism/policies: ["GET","PUT"]
[x] /_opendistro/_ism/policies/{policyID}: ["GET","PUT","DELETE","HEAD"]
[x] /_opendistro/_ism/remove: ["POST"]
[x] /_opendistro/_ism/remove/{index}: ["POST"]
[x] /_opendistro/_ism/retry: ["POST"]
[x] /_opendistro/_ism/retry/{index}: ["POST"]

[ ] /_plugins/_ism/add: ["POST"]
[ ] /_plugins/_ism/add/{index}: ["POST"]
[ ] /_plugins/_ism/change_policy: ["POST"]
[ ] /_plugins/_ism/change_policy/{index}: ["POST"]
[ ] /_plugins/_ism/explain: ["GET"]
[ ] /_plugins/_ism/explain/{index}: ["GET"]
[ ] /_plugins/_ism/policies: ["GET","PUT"]
[ ] /_plugins/_ism/policies/{policyID}: ["GET","PUT","DELETE","HEAD"]
[ ] /_plugins/_ism/remove: ["POST"]
[ ] /_plugins/_ism/remove/{index}: ["POST"]
[ ] /_plugins/_ism/retry: ["POST"]
[ ] /_plugins/_ism/retry/{index}: ["POST"]

[ ] /_opendistro/_refresh_search_analyzers: ["POST"]
[ ] /_opendistro/_refresh_search_analyzers/{index}: ["POST"]

[ ] /_plugins/_refresh_search_analyzers: ["POST"]
[ ] /_plugins/_refresh_search_analyzers/{index}: ["POST"]

I started working on this in https://github.com/opensearch-project/opensearch-api-specification/pull/568.

/_plugins/_ism/add

Note that while the API seems to respond to this route, it will fail without indices, and there's no way to specify those in the body, https://github.com/opensearch-project/index-management/blob/main/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/resthandler/RestAddPolicyAction.kt#L48.

After #578 the report shows these missing:
"/_plugins/_ism/remove": [
        "post"
      ],
      "/_plugins/_ism/retry": [
        "post"
      ],
      "/_plugins/_ism/change_policy": [
        "post"
      ],
      "/_plugins/_ism/add": [
        "post"
      ],
      "/_plugins/_ism/explain": [
        "post"
      ],
      "/_plugins/_ism/explain/{}": [
        "post"
      ],
      "/_plugins/_ism/policies": [
        "put"
      ],

I think these are a bug, they don't seem to take request objects in which you can specify enough parameters, but I'm still digging through the code.


Update scalatest to 3.2.11

Updates org.scalatest:scalatest from 3.2.10 to 3.2.11.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.2.10).
You might want to review and update them manually.
project/Dependencies.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Codecov Report

Merging #215 (50ccf76) into main (6d6cd99) will increase coverage by 0.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #215      +/-   ##
==========================================
+ Coverage   59.37%   59.78%   +0.40%
==========================================
  Files         153      153
  Lines        3200     3200
  Branches       89       96       +7
==========================================
+ Hits         1900     1913      +13
+ Misses       1300     1287      -13

Impacted Files
Coverage Δ

...windows/stream/actor/HealthSignalStreamActor.scala
33.33% <0.00%> (-13.34%)
:arrow_down:

...a/surge/kafka/KafkaPartitionShardRouterActor.scala
58.38% <0.00%> (-0.68%)
:arrow_down:

.../surge/internal/kafka/KafkaProducerActorImpl.scala
79.56% <0.00%> (+0.35%)
:arrow_up:

...health/windows/actor/HealthSignalWindowActor.scala
94.73% <0.00%> (+0.75%)
:arrow_up:

...main/scala/surge/internal/akka/cluster/Shard.scala
86.25% <0.00%> (+3.75%)
:arrow_up:

...StreamsUpdatePartitionsOnStateChangeListener.scala
91.42% <0.00%> (+8.57%)
:arrow_up:

.../surge/kafka/streams/KafkaStreamManagerActor.scala
65.82% <0.00%> (+10.12%)
: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 6d6cd99...50ccf76. Read the comment docs.


Fix adaptdl-ray release version

Codecov Report

Merging #119 (6fe1744) into master (16bc63c) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   61.31%   61.39%   +0.07%
==========================================
  Files          32       32
  Lines        2531     2531
  Branches      416      416
==========================================
+ Hits         1552     1554       +2
+ Misses        897      896       -1
+ Partials       82       81       -1

Impacted Files
Coverage Δ

adaptdl/adaptdl/reducer.py
90.00% <0.00%> (+2.00%)
: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 16bc63c...6fe1744. Read the comment docs.


WRP-2681: SliderBehaviorDecorator - Fixed reading of sliderRef node on touchscreen devices

Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[x] Documentation was verified or is not changed
[x] UI test was passed or is not needed
[x] Screenshot test was verified or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
On touchscreen devices, when dragging the slider, an error was thrown in the console

Resolution
Updated the focusSlider function to read correctly the reference
Additional Considerations
The fix was debugged on PC ChromeDevTools for mobile device and  on ChromeAndroid
Links
WRP-2681
Comments
Enact-DCO-1.0-Signed-off-by: Daniel Stoian<EMAIL_ADDRESS>

The changelog is unnecessary because there is never a release with bugs. So I removed it.

ui test pass: jenkin #5369


Test

Hi @karayamanemre 👋
Congratulations 🍾 ! You did an amazing job following the best JavaScript practices.
A suggestion for the future:

Following the guidelines from best practices for creating a pull request, the pull request should be more descriptive.

Other than that in my view, the project is ready for submission.
Cheers and good luck! 👏


Show "deactivated" status for deactivated users

For deactivated users, we should show a "deactivated" icon in the same places where we show a status emoji for active users. We can use the same icon as in organization settings:

In compose box recipient pills, we should add the icon and drop "(deactivated)" from the pill.

CZO thread

Related issues:

#26831

@zulipbot claim

@alya Hey I've been spending some time on this issue for a couple of hours and found out how we can push members who deactivate their account to non_active_user_dict map in people.ts file. How would you like me to approach this problem?

What I was thinking is to actually alter the deactivate function in people.ts to assign an attribute to each ID of whether it is active or not and based on that attribute altering the frontend based on it.

@neozvbambah just for future reference, you shouldn't claim issues until you've got a clear understanding of the problem (and a fix).
Your questions would be better discussed in a topic thread on CZO.

Okay I am really sorry for not going through the Contribution guide properly. I'll unclaim the issue for now and only claim it once I've the PR ready.

@zulipbot abandon

@zulipbot claim

PR #26864 adds two of the given features.

Implemented deactivated icon on bottom right of avatar in messages

@zulipbot claim

@zulipbot claim

@zulipbot claim

Hey @PhilippMerunka , are you planning to continue work over this or should I take it over?

Hey @shuklamaneesh23 I am busy with other projects currently, I was nearing completition for this issue but I never got around to finishing it. You are very welcome to take over!

@zulipbot abandon

@zulipbot claim


WordBuilder refactor

Refactored the word-level analysis logic into a class, implemented full coverage automated tests for this new class, and then used the tests to easily switch from the standalone syllabifier to its more recent and supported implementation in NLTK.

Passes CI and passes smoke test on heroku local, ready to merge


Waypoint: Override Class Declarations by Styling ID Attributes (Not passing test)

Code works and turns color to orange, but the test doesn't pass: see code below.

Hello World!

@floydhiebert thanks for posting this issue!
Actually your code is incorrect. Challenge wants you to add an ID of orange-text but you've added it as a c class. See the example in the description.
If you have problems with your code, please, post a message in our Gitter chat room first, thanks.

Please review the Guidelines for Contributing, thank you!.