Troubleshoot assets that are attached, but do not show up in public record

Steps:

Create new record with minimum required elements (https://geodev.btaa.org/admin/documents/unique-identifier/edit)
Upload asset and select download
Save record and note that it appears in GBL Admin
View in the Geoportal - no attachment is present

Maybe there is just a lag between upload and when it published to Solr, as the GeoDatabase is now showing up.
Some files show up right away though.

Yeah, this is an order of operations issue.
If you add a new asset to a document, and select "Direct download file", that asset will be created but the parent document has not yet been re-index'd into Solr, which is necessary to expose that new file as one of the document's multiple downloads.
I'll make the app re-index the parent document when an associated asset is created.

Resolved. Need to fix CSV export now.

[ ] Proper References build
[ ] Proper GBL Downloads dropdown options
[ ] Proper CSV export (label and value)


Add a test to ensure pruning works correctly on ETS backend

Coverage increased (+3.5%) to 73.256% when pulling d3a00e078fe477bd5885f6d82ad8c4c34ccaab94 on Gazler:test/pruning into fa7535648fe34818af246b60c7795759e790c799 on ExHammer:master.

Thanks!


Fix #140, #167, address a comment in #144 and rework the bearer middleware tests

The PR is a bit noisy but I had to rework large parts of various tests, that were not really conclusive.
(GitHub accidentally closed my previous PR when I rebased it (https://github.com/aspnet/Security/pull/142) so I had to re-submit it)

Hi @PinpointTownes, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft Open Technologies, Inc. and real humans are currently evaluating your PR.
TTYL, MSOTBOT;

I also included fixes for https://github.com/aspnet/Security/issues/144#issuecomment-72757076 and  https://github.com/aspnet/Security/issues/167

/cc @brentschmaltz @Praburaj @Tratcher

Changes look good to me. @tushargupta51 - could you also review?

The changes to the bearer middleware tests looks good.

Rebased.

Squashed to incorporate feedback in the appropriate commits.

Conflict fixed.
@HaoK @tushargupta51 @brentschmaltz any chance you could have a final look and merge it? :smile:

I'll try to get to this after my hosting changes are done...

@HaoK thanks. Don't hesitate to ping me if there are conflicts that need to be fixed.

I took the liberty to fix OpenIdConnectAuthenticationOptions.SignInScheme.
@HaoK should we also update OAuthAuthenticationOptions, TwitterAuthenticationOptions and ExternalAuthenticationOptions to align the documentation?
https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Authentication.OAuth/OAuthAuthenticationOptions.cs#L104
https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Authentication.Twitter/TwitterAuthenticationOptions.cs#L94
https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Authentication/ExternalAuthenticationOptions.cs#L11

Yeah looks good, go ahead and normalize the doc comments to be consistent, I'll merge this in soon

I'm not suggesting you make this change in this PR, but what do you think about maybe ExternalAuthenticationOptions -> SignInSchemeOptions is that better or worse?  I'm not sure what's a good property name if we did that, Scheme or AuthenticationScheme perhaps?

Personally, I think I'd simply remove ExternalAuthenticationOptions and rely exclusively on OAuthAuthenticationOptions/OpenIdConnectAuthenticationOptions/TwitterAuthenticationOptions to set up SignInScheme: I'm convinced it would make this "delegated persistence" stuff more evident and easier to understand for end developers.
We could also set a default value (Cookies to match the default scheme for the cookies middleware? But IIRC, that's not the default scheme used by aspnet/Identity) for these properties, so people wouldn't have to set an explicit value for basic cookies + social provider scenarios..

Yeah so the idea is we want to easily configure all of the auth middlewares via one central services.Configure(options => options.SignInScheme = "Cookie").  Otherwise any app that's using Google/Facebook/Twitter/MAuth would need to do this for every auth middleware mechanically (and the error story if you misconfigure this is pretty poor)

The intent is basically to be the centralized default SignInScheme, which might not be a bad name: SignInOptions.DefaultSignInScheme, as all auth middlewares would use this as the default scheme for their SignInScheme

Indeed, removing ExternalAuthenticationOptions would make global SignInScheme more painful to set up as you'd have to configure it for each authentication middleware :smile:
Another approach: the OIDC/OAuth2/Twitter options could inherit from ExternalAuthenticationOptions and stop exposing a custom SignInScheme. The default scheme could be configured via services.Configure<ExternalAuthenticationOptions>(options => options.SignInScheme = "Cookie") as you suggested, and it could be replaced by services.Configure<OpenIdConnectAuthenticationOptions>(options => options.SignInScheme = "Other").
That said, I'm not sure it would work as-is with the current aspnet/Options bit. In this case, would OpenIdConnectAuthenticationOptions automagically be created with the settings applied to ExternalAuthenticationOptions it inherits from?
SignInOptions.DefaultSignInScheme sounds like a good name, though it's not obvious it would only be supported by OIDC/OAuth2/Twitter providers.

Yeah configuration options doesn't really look at inheritance, you are configuring a singleton per TOptions, so you'd be configuring only the base options, which if noone is asking for, will be ignored.  So that doesn't work unfortunately.
Yeah perhaps we still need something that sounds like External/Delegating/NonAutomatic something that conveys that this is for the non automatic auth middlewares to use.
[GoodNameForNonAutomatic]AuthenticationOptions.DefaultSignInScheme i think is the correct name, just need to find a replacement for External

Perhaps we could just use a grab all SharedAuthenticationOptions.DefaultSignInScheme?
@Tratcher what do you think about renaming ExternalAuthenticationOptions to be something more general?

@HaoK Sounds fine. It doesn't have any other fields.

@HaoK Help me understand what SignInScheme is used for and if it is completely implemented?

@brentschmaltz refer to @PinpointTownes update to the doc comments, its fairly clear, nothing has changed in its meaning or intent since Katana, we just renamed it from SignInAsAuthenticationType
https://github.com/PinpointTownes/Security/commit/39a970c8f25b685e462f165aa768c0c929cbbad3

@brentschmaltz if you think it's not clear enough, creating a wiki page with various code samples and copying the URL in the documentation might be a good option.

@PinpointTownes Do you want to squash your commits down to one or two?  If I do it, the changes will look like mine instead of yours.

@HaoK done. I hope the commits will be descriptive enough :smile:


feat: Update README, tests, dependencies

@Naktibalda I did some updates to your code to update the tests to use typescript and cleanup extra code that we had for when we were using plain javascript.

The code is now in src and lib is ignore from the repository.
The npm package will have lib with the types and javascript but not src with the typescript.
simple-bot was updated
multi-bot was not updated as I ran out of time 😞
switched to jest and added codecov for code coverage
Removed dependencies that were not needed.

What I need.

Can you please test that it works as expected for you?
I tried updating the README but I would like your 👀 there too.

---- for semantic versioning ---
BREAKING CHANGE:

Botkit updated to 4.0.0 which means there are a lot of changes to use your bot with botkit now.
Only simple bot example was updated.

Is ignoring compiled files a standard practice in node-sdk?
It makes it impossible to install this library from branch because I get no src/ and no lib/.
How am I supposed to test my changes now?
I would rather remove package-lock.json from git, because this is a library, so lock file doesn't matter.

@Naktibalda I added back the lib files so that you can test this from github.

Codecov Report

:exclamation: No coverage uploaded for pull request base (botkit-next@9ac00a3). Click here to learn what that means.
The diff coverage is 78.57%.

@@              Coverage Diff              @@
##             botkit-next    #179   +/-   ##
=============================================
  Coverage               ?   78.5%
=============================================
  Files                  ?       2
  Lines                  ?     107
  Branches               ?      22
=============================================
  Hits                   ?      84
  Misses                 ?      19
  Partials               ?       4

Impacted Files
Coverage Δ

lib/utils.js
100% <ø> (ø)

lib/index.js
65.15% <78.57%> (ø)

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 9ac00a3...47c18b5. Read the comment docs.


Improve resource safety of client.

The abstract method now returns a DisposableResponse, which
pairs the response with a dispose Task that must be called to
free the HTTP connection.
The three "userspace" methods are various forms of:

stream: like the old prepare, the caller is responsible
for running the response body to trigger cleanup.
fetch: takes a callback from the response to a Task,
which provides automatic resource cleanup on termination
of the Task.
fetchAs: differs from old prepAs in that the decoding
is not strict.  This brings it in line with Response.as.

This is a step toward, but does not solve, #475.

This is a step toward, but does not solve, #475.

:+1:
I've wanted this in the API ever since I discovered some cases where we didn't read the response body and eventually ran out of resources.

:+1:
I've wanted this in the API ever since I discovered some cases where we didn't read the response body and eventually ran out of resources.

I'm not sure it reads as nicely as the old client(req).as[A].  client.getAs[A](Uri): Task[A] seems natural enough, where A is the response body type.  But that suggests a client.postAs[A](Uri, B): Task[A], and that one reads backward.  It is a lot more literate when the as is executed on the result.
We might be able to bring that back if client(req) returned a DisposableResponse, with syntax on the DisposableResponse.  But then it's a bit more magical.
Either way, because I have the same scars as @purefn, I think we must do something here.

20e0f9e doesn't compile because of this silliness:

Error:(29, 17) could not find implicit value for evidence parameter of type org.specs2.execute.AsResult[scalaz.concurrent.Task[org.http4s.client.Client.DisposableResponse]]
client.get(uri("http://localhost/redirect")) { resp =>
^

I don't know how to execute the expectations in the Task without offending specs2's sensibilities, but I'm presenting that commit for comparison.

81aa917 supersedes 20e0f9e, and actually compiles.

:+1: I like this. I'm sad to see the client/server entity process workflow diverge but I think its necessary.

@rossabaker, feel free to merge this if you think its ready.

Do you like this pull request better than the direction taken in 81aa917?
We could also make the service relationship more clear by making the "handler" the argument, and returning a function of the Request.
trait Client {
  def streaming: HttpService // like current prepare, with same body run requirement
  def handle[A](f: Response => Task[A]): Service[Request, A]
  def as[A](implicit decoder: EntityDecoder[A]): Service[Request, A]
}

val proxy = HttpService {
   case GET -> Root / "proxy" => client.streaming.local(???)
}

Since requests are likely to vary more than handlers within an app, this order also opens the door to currying:
// This app always consumes JSON
val jsonClient = client.as[JValue].local(_.putHeader(Accept(`application/json`)))
jsonClient(GET("http://api.example.com/widgets"))
jsonClient(PUT("http://api.example.com/widgets", Widget(???)))

I don't have a strong opinion.

Okay. I'm going to get it compiling tonight with the Service return values
to see what it looks like outside pseudo code, and we can decide what looks
most appealing.
On Jan 3, 2016 15:46, "Bryce Anderson"<EMAIL_ADDRESS>wrote:

I don't have a strong opinion.
—
Reply to this email directly or view it on GitHub
https://github.com/http4s/http4s/pull/495#issuecomment-168539809.

After debating on whether I preferred the convenient overloads for unrelated requests that this provides vs. the conceptual unity of making the Client a service, I realized we can have both and make both voices in my head happy.  I propose that we abandon this in favor of #496.

:+1:

Closed in favor of #496.


Limited sort options

Right now you can basically only sort by size and duration.  It would be nice to be able to sort by filename, date added, date modified, etc.

Hi,
If you open the settings (cog in the top right), there is a tab called search settings, where you can find many other options for that drop down

Thank you @litelime for answering @adamwinn 's question 🤝
I probably should add this to the FAQ as this has been a question I receive sometimes over email.

Thanks!


Restrict minting

That should go the the raiddit branch, right?

That should go the the raiddit branch, right?

Yes, it should. Fixed.


Question on EnumerateSplitDP()

Hello,
In src/tree/update_histmaker.cc, the exponential mechanism is applied to select the best splitting candidate from a set proposed by EnumerateSplitDP().
Based on my understanding, EnumerateSplitDP() selects the best candidate split point for each feature by directly reporting the point with maximum loss_chg (but without adding noise to this score). Since the object set that the exponential mechanism act on is data-dependent, I doubt this approach has privacy issue.
I guess a more adequate way would be using the exponential mechanism to act on the object set consisting of all splitting points from all features.
Much appreciated it if you can comment on this. Thank you.

Hello,
Thank you!
Yes you're right, let me fix that, when I find some time.
Best,
Nicolas


Bump min sdk version

Based on review findings

The minimum SDK should be updated to 23 (currently at 21)

Closing - will pull https://github.com/CovidShield/mobile/pull/165 from upstream.


Allocations

Both buffer types should support creating a buffer with a custom allocater:

[ ] Heap Buffer
[ ] Stack Buffer

Additionally, align uses an alloc and should provide an alloc_in as well:

[ ] align_in

Removing the 1.0 requirement since the allocator API is still experimental.


Custom tabBar , lag when I switch scenes.

question:
when I tap the tab and then switch the scene, all components of the destination scene will be render every time,so it's cause little lag . Last week a friendly man told me that he used Redux.But now I haven't use the network data,I don't think that I need Redux to manage my app's state at present.Becasue my app just is a demo, it has no state changed. Just switch the page,and it will render its child components again. Is there should be some cache mesures?
This is my custom TabBar:
//cusotm router
const CustomTabRouter = TabRouter({

        Home:{
            screen:Home,
        },
        Me:{
            screen:Me,
        },
        Contacts:{
            screen:Contacts,
        },
        Find:{
            screen:Find,
        },
    },                   {
        initialRouteName:'Home'
    }
);

//create custom TabBar
const CustomTabs = createNavigationContainer(createNavigator(CustomTabRouter)(CustomTabView));

the Home screen just is a swiper view on the header of a LisView,all data of the ListView is local data and fake. every time when I select this screen ,lag about 0.5s will happen.

Whether there is such a possibility，some code trigger the function - componentsDidMount()？ It cause the scene re- reload?

official TabNavigator is natural, it doesn't re-render the components if there no state change.

You can try using 'react-native-tab-view', which has caching of views. It's actually the underlying TabView that TabNavigation is implementing. react-navigation should only handle routing/navigation, and shouldn't handle view.


Adding the JumpScale client step by step script

Issue migrated from https://api.github.com/repos/zero-os/0-core/issues/647, opened by @yveskerwyn

*commented by @codecov-io
Codecov Report

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

@@           Coverage Diff           @@
##           master     #647   +/-   ##
=======================================
  Coverage   19.63%   19.63%
=======================================
  Files          37       37
  Lines        2719     2719
=======================================
  Hits          534      534
  Misses       2149     2149
  Partials       36       36

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 bfa8541...f1165c2. Read the comment docs.


Many to Many with Sequelize

Hello... factory-girl works perfect but now I have a case where I have many-to-many on sequelize and I want to know how possible could be to send extra options into .build function so the adapters could use that... for example on sequelize if we have belongsToMany we could send the option
return Model.build(props, {
  include: Job // Job is a sequelize model
}

what do you think? do you see it possible?

Hi @santomegonzalo, I am not fluent with sequelize, but I suspect #assoc, #assocMany are the APIs that you are looking for.
For the example you gave, you should be able to do:
factory.define('job', Job, { /* attributes */ });
factory.define('model', Model, {
  job: factory.assoc('job', '<job_id_field>'),
  /* rest of the attributes */
});

factory.create('model').then(model => {
  // model.job should have the id of a job object
})


Undefined annotation choicesAllMatching still appears in a few places

Reported by stefanv on 24 Sep 2012 14:31 UTC
The Dymola-specific annotation, choicesAllMatching, which has been changed to __Dymola_choicesAllMatching in most places, still appears in its original form in Modelica.Fluid.Pipes in the current MSL 3.2.1

Migrated-From: https://trac.modelica.org/Modelica/ticket/836

Comment by dietmarw on 24 Sep 2012 15:17 UTC
FIXED in 401d8e1a1b4278fec0e18a3cd40581cbc412938d

Changelog modified by dietmarw on 24 Sep 2012 15:17 UTC
Corrected the name of tool vendor annotation.


GLSL: Support GL_KHR_shader_subgroup_arithmetic

Similar to #1350, #1351 and #1352
TODO: Issue Description and implementation plan.
I can assign myself / my company.

Is there any progress on this? What is the actual status? Trying to look through some of the other issues mentioned, it seems that some of it should be working but not all?
Such operations are extremely important tools for efficient Vulkan Compute shaders.
In MoltenVK I got an error with glslang not accepting arithmetic operations ('subgroup op' : requires SPIR-V 1.3 ).
Is this relevant here or a totally different issue?

This is for desktop GL fallback paths. Vulkan GLSL and Metal paths should work fine.

@HansKristian-Work thanks for the quick reply.
As it turns out, I just had to set a flag on glslangValidator and it worked. The code runs correctly, so the translation SPIR-V to MSL must have worked.


上传appcenter指定 appcenter-distribution-group时报错。

如题，apk文件可以上传成功，但是不能指定到distribution-group。

使用命令：
flutter_distributor publish
--path test.apk
--targets appcenter
--appcenter-owner-name ***
--appcenter-app-name ***
--appcenter-distribution-group beta
Unhandled exception:
DioError [DioErrorType.response]: Http status error [400]
Source stack:
#0      DioMixin.fetch (package:dio/src/dio_mixin.dart:488:35)
#1      DioMixin.request (package:dio/src/dio_mixin.dart:483:12)
#2      DioMixin.patch (package:dio/src/dio_mixin.dart:249:12)
#3      AppPackagePublisherAppCenter._applyingDestinationToRelease (package:app_package_publisher_appcenter/src/app_package_publisher_appcenter.dart:247:33)
#4      AppPackagePublisherAppCenter.publish (package:app_package_publisher_appcenter/src/app_package_publisher_appcenter.dart:106:13)
<asynchronous suspension>
#5      FlutterAppPublisher.publish (package:flutter_app_publisher/src/flutter_app_publisher.dart:33:12)
<asynchronous suspension>
#6      FlutterDistributor.publish (package:flutter_distributor/src/flutter_distributor.dart:243:39)
<asynchronous suspension>
#7      CommandPublish.run (file:///Users/kale/.pub-cache/hosted/pub.dartlang.org/flutter_distributor-0.2.4/bin/command_publish.dart:68:5)
<asynchronous suspension>
#8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#9      main (file:///Users/kale/.pub-cache/hosted/pub.dartlang.org/flutter_distributor-0.2.4/bin/main.dart:38:3)
<asynchronous suspension>

#0      AppPackagePublisherAppCenter.publish (package:app_package_publisher_appcenter/src/app_package_publisher_appcenter.dart:113:7)
<asynchronous suspension>
#1      FlutterAppPublisher.publish (package:flutter_app_publisher/src/flutter_app_publisher.dart:33:12)
<asynchronous suspension>
#2      FlutterDistributor.publish (package:flutter_distributor/src/flutter_distributor.dart:243:39)
<asynchronous suspension>
#3      CommandPublish.run (file:///Users/kale/.pub-cache/hosted/pub.dartlang.org/flutter_distributor-0.2.4/bin/command_publish.dart:68:5)
<asynchronous suspension>
#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#5      main (file:///Users/kale/.pub-cache/hosted/pub.dartlang.org/flutter_distributor-0.2.4/bin/main.dart:38:3)
<asynchronous suspension>

请确定已经在 appcenter 的后台创建了相应的 Group


Presentation Feedback

Good luck with smart ai seems like it has a lot of potential.
maybe focus on or prioritize certain strategies.
very nice looking presentation - very easy to understand and follow
..
looking forward to playing your game!

Thanks, we're gonna try to discover the different strategies the smart AI can use.


Which sdkmanager to use???

At the time of writing, there are 3 different sdkmanager binaries after updating.
$ANDROID_SDK_ROOT/tools/bin/sdkmanager --version #=> 26.1.1
$ANDROID_SDK_ROOT/cmdline-tools/tools/bin/sdkmanager --version #=> 3.6.0
$ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --version #=> 4.0.0

They say here:
https://developer.android.com/studio/releases/sdk-tools
that the default tools folder is discontinued.
Then here: https://developer.android.com/studio/command-line#tools-sdk they say that we should use the new cmdline-tools folder.
But in the sdkmanager page, they still refers to the old tool location and if you download the tools suggested in the deprecation notice, which points here, the tool you download has the deprecated 26.1.1 version...
They have more than one problem with documentation  😂

Lol, no versioning of documentation makes it so confusing

By the way, this is the url to download the new tools: https://dl.google.com/android/repository/commandlinetools-mac-6514223_latest.zip, which is exactly the same version of the one listed here https://developer.android.com/studio#cmdline-tools
So the link at least is updated with the new tools

Thanks.  The new link has already been used in the Dockerfile here.


How to find collected data

Hi,
I run my fuzzer with
bazel run //examples:NeethiPolicyFuzzer -- /home/gbaru/code/fuzzer/jazzer/examples/input
The generated output is:
`
...
== Java Exception: java.lang.IllegalArgumentException: service is not a wsp:Policy element.
at org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:176)
at org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:113)
at org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:99)
at org.apache.neethi.PolicyEngine.getPolicy(PolicyEngine.java:78)
at com.example.NeethiPolicyFuzzer.fuzzerTestOneInput(NeethiPolicyFuzzer.java:19)
DEDUP_TOKEN: 53578f7fc4051ac1
== libFuzzer crashing input ==
MS: 0 ; base unit:<PHONE_NUMBER>000000000000000000000000000000
artifact_prefix='/home/gbaru/.cache/bazel/_bazel_gbaru/a0479a67e61f3c869908bb9821663bb2/execroot/jazzer/bazel-out/k8-opt/testlogs/examples/NeethiPolicyFuzzer/test.outputs/'; Test unit written to /home/gbaru/.cache/bazel/_bazel_gbaru/a0479a67e61f3c869908bb9821663bb2/execroot/jazzer/bazel-out/k8-opt/testlogs/examples/NeethiPolicyFuzzer/test.outputs/crash-b7a277d1941569e326f379db3a8c23e9978bbeda
reproducer_path='/home/gbaru/.cache/bazel/_bazel_gbaru/a0479a67e61f3c869908bb9821663bb2/execroot/jazzer/bazel-out/k8-opt/testlogs/examples/NeethiPolicyFuzzer/test.outputs'; Java reproducer written to /home/gbaru/.cache/bazel/_bazel_gbaru/a0479a67e61f3c869908bb9821663bb2/execroot/jazzer/bazel-out/k8-opt/testlogs/examples/NeethiPolicyFuzzer/test.outputs/Crash_b7a277d1941569e326f379db3a8c23e9978bbeda.java
`
But none of these files exist:
'
cat: /home/gbaru/.cache/bazel/_bazel_gbaru/a0479a67e61f3c869908bb9821663bb2/execroot/jazzer/bazel-out/k8-opt/testlogs/examples/NeethiPolicyFuzzer/test.outputs/crash-b7a277d1941569e326f379db3a8c23e9978bbeda: No such file or directory
'
Is this a bug? What is the way to collect crashes?
Thx

Bazel zips up the test outputs after the run, so you should be seeing a zip in the testlogs directory corresponding to the test.
That said, java_fuzz_test is more of a way for us to offer ready made examples than a supported way to fuzz real targets. I would recommend using either the command-line interface or, if you want good Bazel support, rules_fuzzing.

Thanks for the feedback.
I didn't find any zip in the testlogs directory. I assume the command-line interface mentioned is ./jazzer.
When running the following line i got a crash and reproducer (unzipped) in the launching directory:
./jazzer --cp=./examples/NeethiPolicyFuzzer_target_deploy.jar --target_class=com.example.NeethiPolicyFuzzer
I will look into the rules_fuzzing, thanks for suggesting


Possible duplicate roleBindings being created

@mrajashree has seen this in a downstream cluster and there have been at least two internal reports of seeing this in larger setups.
It appears to affect multiple versions of rancher but at this point there are no clear steps to repro but needs to be investigated thoroughly to determine if rancher really is creating duplicate roleBindings.
There are multiple data sets that can be used to look at this which I have.
gz#12526
gz#13400
gz#14235

yup I added a user to a cluster as owner, and the CRTB created 3 CRBs in the downstream cluster for the same user with role cluster-owner, and same rbac label authz.cluster.cattle.io/rtb-owner

I added a user to a cluster as owner, and the CRTB created 3 CRBs in the downstream cluster for the same user with role cluster-owner, and same rbac label authz.cluster.cattle.io/rtb-owner .
We use generated names for those clusterrolebindings and that could be the reason.
This does not repro always, happened only once

Hi @mrajashree, we have a cluster where this seems to happen often.  Please DM me if you would like access (customer has offered)

Hi @mrajashree, we have a cluster where this seems to happen often.  Please DM me if you would like access (customer has offered)

I am now able to reliably reproduce this issue with the following steps:

Deploy Rancher HA (3 replicas)
Create 3-5 users
Deploy downstream cluster
Add users as members to project=default in downstream cluster
Add users as members to downstream cluster
Dump the duplicate RoleBindings and ClusterRoleBindings
Restart rancher pods
Wait for startup / initialization
Dump duplicates again
Observe that the number of duplicates has increased

Duplicates appear to be created when cache retrieval operations via the indicies in the management/auth controllers don't return results for existing bindings. I am continuing to investigate.

After the design discussions, the proper fix for this is to move to a deterministic names instead of generated names.

Able to reproduce this on v2.4.15 by following @Ryan steps:

On HA rancher server, create a three users from global --> security --> users
Create a cluster and add the users as members in the cluster [from default project]
From the kubectl commands, get the count of the role-bindings and cluster role-bindings
Restart the rancher pods
Once the cluster is active, from the same kubectl commands, observer the count of role-bindings and cluster role-bindings increase. [increased by 10]

On 2.5.7 HA setup followed same steps as above but couldn't reproduce the issue
On 2.5-head single node:
Followed the same steps as above and observed the value of cluster cluster role-bindings increase by 1 but no change in the count of role-bindings

We will test on 2.5-head but reopening the issue for PRs for master-head to be merged

@sowmyav27 I will prepare forward port PR to master, but will hold off on merging anything until after testing is completed.

I already have a master PR but will merge after @ryansann merges his fixes.

Verified test scenarios:
HA Rancher with 3 nodes all roles enabled Version v2.4.15
Steps:

Create users 1-5 from global --> security --> users
Logging in as user1, created a cluster with 1 etcd, 1 cp, 3 worker and install istio
Logging in as user2, created a cluster with 1 etcd, 1 cp, 3 worker and created a project P1 and install monitoring
As admin, create a project P1 in cluster1 and add user 3 as Project owner and project member --- From the rolebindings list verify duplicates role bindings created for cluster1 - project P1
As admin, add user to P1 as project member and verified no duplicate role bindings created
Logged in as user3, create a namespace, deploy workload and ingress in project P1 on cluster from step2
Logged in as user4,  deploy workload and ingress in project P1 on cluster from step3 in an already available namespace in P1
Restart the rancher pods and verify the role bindings, multiple cluster rile bindings and role bindings are created:
get the list of all duplicates created.

| DEBU[0001]   total duplicate role bindings: 41
  | DEBU[0001]   groups of duplicate cluster role bindings: 2
  | DEBU[0001]   total duplicate cluster role bindings: 4

Upgrade the rancher server to the version v2.5.8-rc2
Verified after upgrade the duplicates are not seen on the rancher
As admin, create a project P2 in the cluster from step2 and add user3 in this project as Cluster owner and cluster member.
Verify the role bindings and duplicate role bindings list -- No duplicates are seen on the rancher server.
Create a project P2 on the cluster from step3
Add the user5 as a project member in the project P2 and cluster owner in the same cluster
Verified no duplicates are created

reopening because of issue found - https://github.com/rancher/rancher/issues/32105

@sowmyav27 can we move this issue forward with QA/testing and track the issue of duplicates not being cleaned up separately in the issue you linked? I don't want to conflate the two things as they are separate efforts.

Verified fresh install  v2.5-d1083bc63e4ddde70ffadd09bf0133ae5862b5fe-head and master-1c3629fbe520d4cfe66b95c31cfdd2f3946f39dc-head

Created users 1-5 and roles a
user1 - install istio and add project p1. Add user3 to P1 as PM and PO
user2 - install monitoring and add project P2. Add user4 to P2 as PM
user3 and user4- deploy workload and ingress in respective projects
Got the list of rolebindings created and verified the bindings created were deterministic name and not generated names.
Verified no duplicates were seen in the bindings result

Verified upgrade from v2.4.15 --> master-1c3629fbe520d4cfe66b95c31cfdd2f3946f39dc-head followed the same test steps updated in the upgrade from 2.4.15 --> 2.5-head
Upgrade from 2.5.7 HA --> 2.5-d1083bc63e4ddde70ffadd09bf0133ae5862b5fe-head HA

Created users 1-5 and roles a
user1 - install istio and add project p1. Add user3 to P1 as PM and PO
user2 - install monitoring and add project P2. Add user4 to P2 as PM
user3 and user4- deploy workload and ingress in respective projects
Restarted the rancher server and got the list of rolebindings created and the duplicates count.
Upgrade the rancher server to the latest 2.5-d1083bc63e4ddde70ffadd09bf0133ae5862b5fe-head
Verified no duplicates seen and created users to the new and existing projects and the users have permissions to the resources as provided.


Split css by vue components

Laravel Mix Version: 4.1.4
Node Version: 12.6.1
NPM Version: 6.13.4
OS: macOS 10.15.4

Hello
I am importing css files inside tag <style> in every vue components and then webpack includes them in tag <head>.
Problem: Now in head i get all styles from all components, even if they are not on the page.
Is it possible to get only exactly needed styles?
Thanks.

You can use the extractVueStyles  option for that. https://laravel-mix.com/docs/5.0/options

extractVueStyles: true - delete all styles from head

@sokolovdm Did you find a solution for this?


Jenkins  error: “RswiftGenerateInternalResources” must be enabled before it can be used

I have Integrated the R.swift framework via spm in my project. And then enabled the RswiftGenerateInternalResources in xcode while building the application in Xcode.
Followed below steps while integrating R.swift in my project.
In Project Settings, on the tab "Package Dependencies", click "+" and add github.com/mac-cain13/R.swift
Select your target, on the tab "General", in the section "Frameworks, Libraries, and Embeded Content", click "+" and add RswiftLibrary
Select your target, on the tab "Build Phases", in the section "Run Build Tool Plug-ins", click "+" and add RswiftGenerateInternalResources
Build your project, now the R struct should be available in your code, use auto-complete to explore all static references
It working fine when I run the application locally in my Xcode but the Jenkins build failed with the below error message
error: “RswiftGenerateInternalResources” must be enabled before it can be used

Please assist me in resolving this issue.
Thanks

Hi,
Could somebody please take a look into the above issue?
Thanks in advance

I too facing this issue, @tomlokhorst any idea about this issue to fix?

I’m not familiar with Jenkins, but I suspect you need to disable plugin validation, like with Xcode Cloud. See: https://github.com/mac-cain13/R.swift?tab=readme-ov-file#when-running-on-xcode-cloudOn 17 May 2024, at 18:07, SaravanakumarNatarajan2931 @.***> wrote:
I too facing this issue, @tomlokhorst any idea about this issue to fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

ok @tomlokhorst let me try that things.

@julien481516 would need some additional info to help here. The instruction I the Readme is for Xcode cloud to disable plugin validation.
What CI are you using? What exactly did you do when "switching IDESkipPackagePluginFingerprintValidation to YES in my ci file"?
Please note it's not a magic variable or anything you need to set. You need to set IDESkipPackagePluginFingerprintValidatation to YES in the Xcode user defaults. So on any CI make sure to run this command before invoking the Xcode build:
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES


Support impersonation in dev mode

@nguyenthiduyan
This adds Workflow_getGlobal and Workflow_setGlobal. You can use these to set values that are available in ALL scripts invoked from workflow class.
Also added WorkflowScript.DynamicScriptName, which is used in error reporting if set.

Added wiki page for Workflow_getGlobal and Workflow_setGlobal functions.
Updated wiki page of WorkflowScript class to add new property DynamicScriptName


ArgumentException

So yesterday I installed Rocket (lastest version) and TPA, Home and Givekit plugins. At first startup, the server ran perfectly with Rocket and other plugins but then I decided to change some Kits in the Givekit config file. After that I start the server and get this error. I don't know if it's because I messed up the Givekit config or not ( I'm pretty sure I didn't). So, any help would be appreciated.

That's a plugin specific issue, not Rocket specific

Propably a problem with one of the translation files, having a key doubled

Thanks guys but turns out it was me. I accidentally repeated the "Say" command in Command.dat :P


[Feature] Tabline right align

environment

vim: ????
vim-airline: ????
OS: ????
Have you reproduced with a minimal vimrc: ???
What is your airline configuration: ???
if you are using terminal:
terminal: ????
$TERM variable: ???
color configuration (:set t_Co?):
if you are using Neovim:
does it happen in Vim: ???

actual behavior
????
expected behavior
Tabline right align
screen shot (if possible)

What for?

i can't read top code line easily.

This should be possible with a custom formatter

Am 10.04.2020 um 11:50 schrieb xiote<EMAIL_ADDRESS>
i can't read top code line easily.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Better but...
Padding need between topline and top code.

The padding between the topline and the code can't be adjusted.


Responding is slow

Hello
I'm using easyautocomplete on my new website and my options is here
`var options = {
url: function(phrase) {
    return '{{url('getdata')}}';
},

getValue: "title",

list: {
    match: {
        enabled: true
    },
    maxNumberOfElements: 6,

    showAnimation: {
        type: "fade",
        time: 300
    },
    hideAnimation: {
        type: "fade",
        time: 300
    },
    onClickEvent: function() {
        window.location.href = APP_URL + "/search/" + $('#sch').val();
    }
},
requestDelay: 0,

theme: "square"

};`
It works nice but most recently, its response has slowed down. I dont know whats problem. When I type something it responds after 5-15 sec !
With regards.

solved 🥇  I used 	data: {!!$data!!} instead of using url in laravel.


NPC-Team 11

Description
This should be roughly a one paragraph description of the features / ideas on which your team plans to work. It should very briefly touch on why you think it should be in the game (e.g. "Adds an extra layer of depth to game play"). It should also describe how it will appear or be used in the final product (e.g. "On starting a level, the game will generate a random, procedurally-generated map").
SubFeature/component (optional)

Create NPC's
Upload NPC design sprite

Movement for each NPC
Different movements for each type of NPC

Examples (optional)
Dependencies
Dependent on Team 8.

both the teams have to make sure their ideas don't clash.

Milestones
List of sub-features you intend to have done and in Master by the end of the sprint.

[ ] Goal 1: Decide what the design of the character and its type of movements.(Sept. 17)
[ ] Goal 2: Start designing NPC (Sept. 20)
[ ] Goal 3: Start creating entity classes and animation controller classes(Sept. 23)
[ ] Goal 4: Push the NPC design sprite (Sept. 26)
[ ] Goal 5: Make sure the classes work well with the design (Sept. 29)

Completion Deadline: Oct. 4
Extras
Documentation

NPC wiki page

Members

Reuben Jonathan Joseph (@ReubenJOJO) (Reuben Jonathan Joseph)
Matthew Bezett (@mattbezett) (Matthew Bezett)
Wanqi Ma (@lalala66888) (Wanqi Ma)
Yincheng Wu (@tinymuscle) (Yincheng Wu)

Hey guys,
Just an idea... while I was doing my user testing for map design art work, a few of the users also mentioned like wildlife cuz it's a deserted island. I was wondering if a few of the npcs could be like reptiles/animals or birds.... Again just an idea :)))

Hey guys,
Just confirming that you guys will be working on NPCs disappearing at night and Animation of NPCs.
Also letting you know that we (Team 8) will go ahead and implement functionality to enable players to have conversation with NPCs


Does not run command in ssh?

Does not run command in ssh?
Hello, excellent work this script to deploy, I have used it in PHP project and it has worked wonderfully.
I recently decided to use your deploy script for golang application, it runs perfectly without any error, sends the binary to the server in the specified path.
What happens is a snippet of code I added for it to run the binary in the background. It doesn't run, could you help me find out what I've been doing wrong?
Here's the script I'm using, thank you in advance for your attention. Hug.
name: 🚀 Deploy on push

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: ssh deploy
        uses<EMAIL_ADDRESS>        env:
          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
          REMOTE_HOST: ${{ secrets.SSH_HOST }}
          REMOTE_USER: ${{ secrets.SSH_USER }}
          REMOTE_PORT: ${{ secrets.HOST_PORT }}
          SOURCE: "/go.realm.com.br"
          TARGET: ${{ secrets.DEPLOY_TARGET }}
          run: |
            cd .. &&
            cd /home/username &&
            chmod +x /home/username/go.realm.com.br &&
            nohup ./go.realm.com.br &

It looks to me like it may be an indentation issue. Perhaps this will work?
name: 🚀 Deploy on push

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: ssh deploy
        uses<EMAIL_ADDRESS>        env:
          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
          REMOTE_HOST: ${{ secrets.SSH_HOST }}
          REMOTE_USER: ${{ secrets.SSH_USER }}
          REMOTE_PORT: ${{ secrets.HOST_PORT }}
          SOURCE: "/go.realm.com.br"
          TARGET: ${{ secrets.DEPLOY_TARGET }}
        run: |
          cd .. &&
          cd /home/username &&
          chmod +x /home/username/go.realm.com.br &&
          nohup ./go.realm.com.br &

@rodriguesfas were you able to get this to work? Perhaps I'm trying to do something that isn't possible, but I also wanted to run a command immediately after the rsync. As you said, the code in your example deploys successfully, but the command in run appears to not be run.
I tried @zulaica indentation example, but this throws the error that each step can only contain 'uses' or 'run' but not both.
Any help would be appreciated, first time using github actions so not very clear how these work.

Hi friend, I have not pursued the idea of using Go at the moment. I have not tested this solution. Sorry for not being able to help you.

@rodriguesfas thanks, same here, after spending an hour or so I moved on to another github action (ssh-action) that did support this. Was my first time using github actions, so I think I may have just been improperly trying to use this project, but for pure deploying via rsync it worked very well.

I've added support to execute script(s) before and after rsync.
https://github.com/easingthemes/ssh-deploy#10-script_after-optional-default-

I've added support to execute script(s) before and after rsync. https://github.com/easingthemes/ssh-deploy#10-script_after-optional-default-

Is it possible to execute a script on the target machine, rather than the host machine?

yes, both scripts are executed on remote machine
      SCRIPT_BEFORE:
      SCRIPT_AFTER:


remove location name on vaccination events

Trello - Remove location names from vaccination event labels.
The original intent of adding the location name on the events tracking interactions with the vaccination block was to be able to tell in which locations user were interacting with the links more often. That makes difficult to aggregate the events by type of link (Eligibility or Options) across all locations.
Also, there we have Content Groups set up for state, metro and county pages, so we can use that as secondary dimension when looking at vaccination events.

 Analytics - remove location names from event labels


feat: promote aiven_valkey and aiven_valkey_user out of beta

About this change—what it does
Promote aiven_valkey and aiven_valkey_user resources / data sources out of beta.

tests


Upstream the inline cell_output_to_nodes

From #24

Note this also now needs to be up-streamed: https://github.com/ExecutableBookProject/MyST-NB/blob/4d83e8cc6668d2e8ba531ea11bc49b242d1ddcd8/myst_nb/transform.py#L66

It is the same as cell_output_to_nodes but returns inline-level elements rather block-level (literal instead of literal_block, math instead of math_block, etc) and is utilised in the new glue functionality: https://myst-nb.readthedocs.io/en/latest/use/glue.html#the-glu-any-role-directive

Well its been removed in any case 😆


[graphiql] Parser error for VARIABLE_DEFINITION directive with default value

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Expected Behavior
I'd expect this query to not have parser errors.
Steps To Reproduce
Create a VARIABLE_DEFINITION directive and put it on a variable definition that has a default value.
Environment

GraphiQL Version: 3.0.5

Anything else?
No response

Relevant section of spec for this syntax at https://spec.graphql.org/October2021/#sec-Language.Variables


[language][move] Incremental improvements to parser error handling

This includes several changes to clean up Move's parser error handling and provide some better diagnostic error messages. There is still more that could be done here, but this gets things to a basic level that should be fine for a first release. Here are some of the changes:

Avoid using the term "token" in error messages since it is may not be familiar to many users.
Use custom code instead of the token_match macro that we have been using to magically identify the expected set of tokens at different points in the parse
Clean up the parser code to simplify it

Motivation
Provide more informative error messages and simplify the implementation of the parser
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Added some new tests and updated the existing ones for modified error messages

@bors-libra r=tzakian

:pushpin: Commit 60bacad has been approved by tzakian

:hourglass: Testing commit 60bacad70d0cf748204f3bc265e1862e6b56fb63 with merge be553d9f53c0c5e040a587c7a431395a9f83f482...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: tzakian
Pushing be553d9f53c0c5e040a587c7a431395a9f83f482 to master...


Added Car Price Predictions

Closes #832
Hey @Niketkumardheeryan ,I have added Car Price predictions .Below is few details regarding the topic I choosed.
To be able to predict used cars market value can help both buyers and sellers. There are lots of individuals who are interested in the used car market at some points in their life because they wanted to sell their car or buy a used car. In this process, it’s a big corner to pay too much or sell less then it’s market value.In this we are going to predict the Price of Used Cars using various features like Present_Price, Selling_Price, Kms_Driven, Fuel_Type, Year etc.
Please label this under gssoc24.
Thank you.

@pavitraag There is already many These kind of Regression model present  in this repo ,And I didn't find any unique thing in your code , Please try to Some unique or create projects.
Or
You can integrate this model , we will Accept the Deployed model ,But Can't move with this imple model


Add a row for HEIC file support in the chart

iOS defaults to .HEIC for photos, which a lot of apps/services don't support. For example, Photoview supports it while PiGallery2 presently does not. This would be a major factor for an iOS user.

This seems like a reasonable feature to add. It is partially covered under the Live Photos feature, but it is possible that a photo gallery may support HEIC without Live Photos.

it is possible that a photo gallery may support HEIC without Live Photos.

For sure. Piwigo does support HEIC, but not Live Photos (not yet)


gcc/newlib: more flexible runtime dependencies

As foreshadowed in https://github.com/timvideos/conda-hdmi2usb-packages/pull/65#issuecomment-468093967
Remove resolved_packages('host') package lock runtime dependencies, so as to allow more flexible automatic dependencies on the gcc/newlib packages, and thus fewer version conflicts on doing upgrades.  Most of the actually required dependencies will be transitively pulled in via requiring gcc/nostdc anyway.
Builds okay here locally for lm32:
vagrant@conda:~/conda-hdmi2usb-packages$ echo $DATE_STR
20190228_004924
vagrant@conda:~/conda-hdmi2usb-packages$ ./conda-env.sh list | grep lm32
binutils-lm32-elf         2.31.1          20190228_004924    local
gcc-lm32-elf-newlib       8.2.0           20190228_004924    local
gcc-lm32-elf-nostdc       8.2.0           20190228_004924    local
vagrant@conda:~/conda-hdmi2usb-packages$

Looks pretty good;
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov-dump): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/ld-linux-x86-64.so.2 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov-dump): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcc-ranlib): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcc-nm): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-cpp): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/ld-linux-x86-64.so.2 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-cpp): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcc-ar): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcc): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/ld-linux-x86-64.so.2 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcc): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov-tool): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/ld-linux-x86-64.so.2 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov-tool): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/ld-linux-x86-64.so.2 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
   INFO (gcc-lm32-elf-newlib,bin/lm32-elf-newlib-gcov): Needed DSO x86_64-conda_cos6-linux-gnu/sysroot/lib/libc.so.6 found in CDT/compiler package defaults::gcc_impl_linux-64-7.3.0-habb00fd_1
WARNING (gcc-lm32-elf-newlib): dso library package timvideos::gcc-lm32-elf-nostdc-8.2.0-20190228_010540 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (gcc-lm32-elf-newlib): run-exports library package defaults::gmp-6.1.2-h6c8ec71_1 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)
WARNING (gcc-lm32-elf-newlib): run-exports library package defaults::mpfr-4.0.1-hdf1c602_3 in requirements/run but it is not used (i.e. it is overdepending or perhaps statically linked? If that is what you want then add it to `build/ignore_run_exports`)


Notebook cut fails to paste

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.0-insider
Commit: f125afbc800ec611f5a9ab1333c769832ce424b3
Date: 2023-08-21T05:34:23.256Z
Electron: 25.5.0
ElectronBuildId: 23084831
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.6.0
OS Version: MacOS 13.5

Steps to Reproduce:

Open a notebook.
Write something into a cell.
Cut the contents of the cell.
Cut the cell.
Attempt to paste the contents of the cell somewhere.
It doesn't work.

Here are some reasons I think this is a bug:

This workflow works in JupyterLab (which is where I developed this bad habit)
If you replace 3. with "copy", it works
If you replace 4. with "delete", it works

It seems Jupyter Lab separates the clipboard for cell operations and content operations.


Update types

Automatically update types based on the latest github webhooks spec

Codecov Report

Merging #6 (c8ce3c3) into main (207f068) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines         5137      5151   +14
=========================================
+ Hits          5137      5151   +14

Impacted Files
Coverage Δ

src/gh_webhooks/types.py
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Batch impl v2 should pick batch jobs in FIFO

Why are the changes needed?

As title
We should ref to FIFO design, pick oldest task to run.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Was this patch authored or co-authored using generative AI tooling?

No

Thanks, merged to master/1.8


xfce: make xfwm optional

Motivation for this change
This is a hack to deal with #18238. It adds an option to disable xfwm when using xfce (enabled by default). I haven't tested it thoroughly, but it is at least an effective workaround for the issue.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

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

Maybe we want to add this to noDesktop option?

BTW I have just added xmonad to application autostart in xfce4-session-settings -- then xfce (not xfce+xmonad) works good for me.

Is this ready for integration?

It seems to work, at least.

I think this is fine, but what do you think about merging this to noDesktop?

Yep, just that -- I thought of making it to disable xfwm instead to reduce number of similar options. This however would require you and others who want it to also add back packages that they seem useful (panel, desktop, notify daemon). I'm not sure that's a good idea, so I'm just proposing.


Implement all JSON-RPC endpoints

Checklist of endpoints to support, and which are supported in master or pull requests

[x] support all the web_* methods

[x] web3_clientVersion #834
[x] web3_sha3 #836

[ ] support all the net_* methods

[x] net_listening
[x] net_peerCount
[x] net_version #840

[ ] support all the eth_* write methods

[ ] make list of methods

[ ] support all the eth_* read-only methods

[x] eth_protocolVersion
[x] eth_syncing
[x] eth_coinbase
[x] eth_mining
[x] eth_hashrate
[x] eth_gasPrice
[x] eth_accounts
[x] eth_blockNumber
[x] eth_getBalance
[x] eth_getStorageAt
[x] eth_getTransactionCount
[x] eth_getBlockTransactionCountByHash
[x] eth_getBlockTransactionCountByNumber
[x] eth_getUncleCountByBlockHash
[x] eth_getUncleCountByBlockNumber block int
[x] eth_getUncleCountByBlockNumber block string
[x] eth_getCode
[x] eth_call
[x] eth_estimateGas
[x] eth_getBlockByHash
[x] eth_getBlockByNumber block int
[x] eth_getBlockByNumber block string
[x] eth_getTransactionByHash
[x] eth_getTransactionByBlockHashAndIndex
[x] eth_getTransactionByBlockNumberAndIndex
[x] eth_getTransactionReceipt
[x] eth_getUncleByBlockHashAndIndex
[x] eth_getUncleByBlockNumberAndIndex block int
[x] eth_getUncleByBlockNumberAndIndex block string
[ ] eth_getCompilers (deprecated)
[ ] eth_getLogs
[x] eth_getWork

I believe we can close this for the same reason that we closed #20 (they seemed fairly overlapping) but feel free to reopen in case I misunderstood.

Yeah, I think the "write" methods were the main difference, and since trinity won't host keys for the foreseeable future, I'm good with closing :+1:


Stream commands incorrect keys parsing

Command xreadgroup:
in index.js should be added:
case 'xreadgroup':
        for (i = 0; i < args.length - 1; i++) {
          if (args[i].toUpperCase() === 'STREAMS') {
            for (var j = i + 1; j < (args.length - 1); j++) {
              keys.push(j)
            }
            break
          }
        }
      break

See pull request https://github.com/NodeRedis/redis-commands/pull/31

Could you please describe the behaviour which is causing problems? As it's written, I'm not seeing a problem.

Yes, sorry.
The problem is, that when you use ioredis, which is using this library, there is an option keyPrefix, which automaticaly adds prefix to keys in every command.
When you call xreadgroup within ioredis library, the command on redis should look like XREADGROUP GROUP groupName .... STREAMS key1
This library provides key info for first string from command, which is GROUP and when you use some prefix the command is:
XREADGROUP prefix:GROUP groupName .... STREAMS key1
instead of
XREADGROUP GROUP groupName .... STREAMS prefix:key1

This applies to XREAD as well.

This patch seems to work fine. Is there any particular reason why is this not yet merged?

This patch seems to work fine. Is there any particular reason why is this not yet merged?

There were some mistakes discussed in the pr: https://github.com/NodeRedis/redis-commands/pull/31

Fixed by 43b4efe. This is included in the latest release.


ARROW-9530: [C++] Add option to disable jemalloc background thread on Linux

Currently Arrow builds that enable jemalloc also enable background threads.  There is no way to disable this without recompiling arrow.

MALLOC_CONF and /etc/malloc.conf are ignored as they are lower precedence than global variable initialization
Disabling dirty page purging via jemalloc_set_decay_ms does not terminate the background threads
Switching to a different allocator (e.g. python's set_default_memory_pool) does not terminate the background threads.

This PR adds a capability to do so.  In a future PR it may be worth looking into some mechanism to prevent the threads from starting at all (e.g. migrate away from global variable initialization) but there is no good lifecycle hook for this and adding a run-once initial configuration step when the allocator is first accessed adds complexity and potential race cases.

As best I can tell this method should be thread safe but I can't find any good jemalloc documentation on this so I just left it vague.  I figure most users will be shutting down the background threads before they start using Arrow anyways.
I confirmed that shutting down the background threads did indeed shutdown the threads and that the valgrind potential leak goes away (FYI, the leak is a valgrind error as valgrind is not properly waiting for detached threads to shut down, more on that here: https://bugs.kde.org/show_bug.cgi?id=415141)

CI failures unrelated.  CC @jonkeane @pitrou


home-manager: fix typo

Rebased into master: https://github.com/rycee/home-manager/commit/5605e46acbe06f82fe9392559ce201fa9de2e0a6. Thanks!


Develop

Coverage decreased (-0.4%) to 81.238% when pulling dde6668005cab02eab0a61faf0ca71a77e755fad on develop into 5c45cff4265726c76bea0a06da270d0d1b6fb185 on qa.


javascript in CommandAction not working

I am trying to add a simple js in command action and it is not working, as per the documented code.
is there anything else that is required?

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

ID: a308b804-3b45-ef9a-8179-39b1cb1fafec
Version Independent ID: b6acb0ff-4397-ccee-2b92-2c253f36bc99
Content: CommandUIHandler element
Content Source: docs/schema/commanduihandler-element.md
Product: office-online-server
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Please provide your key code and project config. There must be a configuration issue on your side. No additional configuration is required.

Hi @ashishonce, can you provide more details on your setup as without the used code or definition, we cannot reproduce this. Thanks for the additional information advance.

{ListUrlDir} - claims to be the Server-relative URL of the site plus the list's folder, for me it translated to "Sp2Ex_Emails" but the "Server-relative URL of the site plus the list's root folder" should have been "/sites/sp2ex/testweb1/Sp2Ex_Emails"

@Vesa Juvonen
I have a small add-in which adds a custom action to the sharepoint ribbon
control for document library.
The button works fine when CommandAction doesn't contain Javascript and
contains a appurl endpoint instead. When I try to deploy attached Element.
It doesn't deploy by giving deployment error.
Severity Code Description Project File Line Suppression State
Error Error occurred in deployment step 'Install SharePoint Add-in': There
were errors when validating the App Package. XXXXXX 0
Is there something we need to do extra?
On Mon, Nov 5, 2018 at 2:12 PM Michal Hainc<EMAIL_ADDRESS>wrote:

{ListUrlDir} - claims to be the Server-relative URL of the site plus the
list's folder, for me it translated to "Sp2Ex_Emails" but the
"Server-relative URL of the site plus the list's root folder" should have
been "/sites/sp2ex/testweb1/Sp2Ex_Emails"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/2660#issuecomment-435795169,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMI5sgFWgcEROhElpIc5MkCCOtv11nqRks5ur_oMgaJpZM4XBYgM
.

--
Ashish Kumar

Can the javascript command action be part of a provider hosted .app add-in package? I think not.

if EnabledScript can have script, which will run after every interaction ,
then I don't think there should be any restriction on running an script for
CommandAction. Even if it is restricted, would like to know any good reason
why it is restricted.
As someone can write the logic within Enabled Script also.
On Mon, Nov 5, 2018 at 7:19 PM Michal Hainc<EMAIL_ADDRESS>wrote:

Can the javascript command action be part of a provider hosted .app add-in
package? I think not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/2660#issuecomment-435879909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMI5suNKhz5WXJ6Y0brIRoj3tVCbXi0jks5usEHhgaJpZM4XBYgM
.

--
Ashish Kumar

maybe: https://social.msdn.microsoft.com/Forums/en-US/d6144f37-c363-48dd-8493-d167841f66f9/commanduihandler-enabledscript-stopped-working-for-app?forum=appsforsharepoint


Add Strimzi 0.15.0 to Community Operators

This PR updates the Strimzi Kafka operator in community-operators - it adds the version 0.15.0.
Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

If I read the log right, it seems that the test failed because of:
conditions:
- lastProbeTime: null
  lastTransitionTime: "2019-12-09T17:35:11Z"
  message: '0/4 nodes are available: 2 Insufficient cpu, 2 node(s) had taints that
    the pod didn''t tolerate.'
  reason: Unschedulable
  status: "False"
  type: PodScheduled
phase: Pending
qosClass: Burstable

We use following resources:
                resources:
                  limits:
                    cpu: 1000m
                    memory: 256Mi
                  requests:
                    cpu: 200m
                    memory: 256Mi

Is that too much for the test?

@scholzj, leave it empty resources: {}. It works better in the current setup.

@J0zi Done. Although TBH I'm a bit affraid how well it will work in different environments with LimitRanges etc. Also Java doesn't always behave nicely when it does not have clear memory limits :-o.

@J0zi I think the scorecard test is deleting the resources too quickly for the operator to deploy Kafka since that normally takes several minutes (deploying Zookeeper first etc.). Is there anyway for us to configure the timeouts?

/retest

@J0zi Please merge per the authors request.


Refactor Collection::add()

I see what you were trying to do with Collection:add() but making it capable of adding EITHER one item OR several items, is not going to work. At least not the way it's currently written. What if you want to add a traversable object?
// internally this will loop over the object and add its constituents to the collection, when the user's intention was most likely to simply add the object itself to the collection.
$collection->add(new SomeTraversableObject);

If you want to add multiple items with one call, I suggest one of the following:
$collection->add($item1, $item2, $item3, $item4, ...$more);

// or...

$collection->union($traversable_or_array);

UPDATE: I have left comments on the initial commit by @Plopix . It has this recommendation among others.

https://github.com/Novactive/NovaCollection/pull/11


fix: repetition issue in v5.mdx

Description (required)
The duplicate word has been removed from the v5 migration guide.
Related issues & labels (optional)

Closes #
Suggested label: 5.0

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

en/guides/upgrade-to/v5.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.


Fix tests for Rails 5.2

Rails 5.2 introduces a concept of migration contexts.  More details on that can be found here:

https://github.com/rails/rails/commit/a2827ec9811b5
https://kirshatrov.com/2018/04/01/async-migrations/

Fixes #14.

One issue has been fixed, but it is not Rails-5.2-ready yet. The problem probably comes from some changes in ActiveRecord's private APIs.

@skalee please feel free to merge when ready. Thanks!

I have it done better on some side branch. In fact, that other branch is quite a rewrite.

Sounds good — then is that other branch ready soon? If so we can close this current one to prevent confusion.

Closing in favour of #27.


Configurable lifecycle hooks for controller container

Context for this change
haproxy-ingress controller runs behind NLB on AWS with VPC CNI , where haproxy-ingress Pods gets IP from VPC CIDRs and gets added as targets in NLB target group.
I need to be able to configure lifecycle to keep the pod around (by making it sleep) at least until NLB's deregistration_delay - so that in-flight requests can be served by haproxy-ingress Pods whenever replica counts are reduced.
This change is tested - without the lifecycle hook I see traffic gets dropped on reducing replica count.
Question regarding this change
As per doc leader election is used for cert management. Does keeping terminating pod longer through lifecycle affect the leader election and correctness when it comes to cert management?

Hi thanks for the contribution! lgtm, merging now, will add in the next v0.10+ releases.
Regarding the question: you should be using preStop to prevent the controller pod to stop immediately. This will keep all the controller's queues running, so the leader will continue to work as expected, and issuing certificates if needed. You can however finish the leader in the exact moment it's signing a new certificate - this will end up not creating or updating the certificate secret, a new leader will be elected, when leader changes a new validation is made by the new leader, and that failed signature will be restarted - which can happen with or without lifecycle configured, so nothing changes here.

That sounds great - thank you for detailed explanation and accepting PR!
Looking forward to the next releases :)


[MM-25771] Dont show deleted profiles on team and channel members block

Summary

The team members block in the system console displays deleted users since the getProfiles selectors return deleted users by default.
This applies the fix by creating a new filter at the redux level instead of filtering the users in the component that was how the team members modal does it on the app side does it but I felt that was not optimal. I think eventually we should add a flag to the backend to exclude deleted users too but for now this will suffice.

Ticket Link

https://mattermost.atlassian.net/browse/MM-25771

Related PRs

Has redux: https://github.com/mattermost/mattermost-redux/pull/1169

Maybe we want to add Cherrypick Approved if this is meant for 5.24?

Code looks good but could we create another ticket (enhancement ticket?) that says we should remove this filter in favor of doing the filtering in the backend. I feel this could lead to performance hits and that this type of filtering is better if done in the backend. I understand it's meant as a quick fix for 5.24 but I feel it would make sense if we create another ticket since we should add a flag to exclude/include deleted members as you suggested.

Will always need to have client side filtering since you cannot guarantee the contents of the profiles state to not have deleted users due to interaction with other components.
Server side filtering is a plus but not necessarily required since client side filtering will have to be done either way

Looks good, but https://github.com/mattermost/mattermost-redux/pull/1169 needs to be merged first so that the redux commit can be updated.

Hi @fmunshi
I observed the following issue and I am not sure if its because of the changes in this PR (or) an existing issue unrelated to this PR. Can you please confirm it once.
https://mattermost.atlassian.net/browse/MM-25860
If it's not related to this PR, then we can go ahead and merge this PR and still provide a separate PR for the above ticket.

The issue is unrelated to this PR - however i think I should still fix it for v5.24 in a different PR

@fmunshi
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#5662-upstream-release-5.24-1591629907
Branch 'automated-cherry-pick-of-#5662-upstream-release-5.24-1591629907' set up to track remote branch 'release-5.24' from 'upstream'.
+++ Downloading patch to /tmp/5662.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/5662.patch

Applying: MM-25771 Dont show deleted profiles on team and channel members block in sys console
Using index info to reconstruct a base tree...
M	components/admin_console/team_channel_settings/channel/details/channel_members/channel_members.tsx
M	components/admin_console/team_channel_settings/team/details/team_members/team_members.tsx
M	package-lock.json
M	package.json
Falling back to patching base and 3-way merge...
Auto-merging package.json
CONFLICT (content): Merge conflict in package.json
Auto-merging package-lock.json
CONFLICT (content): Merge conflict in package-lock.json
Auto-merging components/admin_console/team_channel_settings/team/details/team_members/team_members.tsx
Auto-merging components/admin_console/team_channel_settings/channel/details/channel_members/channel_members.tsx
Patch failed at 0001 MM-25771 Dont show deleted profiles on team and channel members block in sys console
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU package-lock.json
UU package.json

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.


Edge cases around response headers

if a response header is required, the random() function should fill it in when missing
if a response header is not required, a response that's constructed without that header should type check (in OpenAPI 2, assume all headers are optional, as there's no way to mark it required)

In order to make the type check work, the generated code passed as a type argument to ResponseBuilderFactory is going to have a have a requiredHeaders type.
When all of the required headers and content types are exhausted, but there remain some optional headers, the return type will have to add a dummy property like "allHeadersAreOptional". So that { allHeadersAreOptional: string } is a valid return type.
If you're reading this and it makes no sense, don't worry. It makes sense to me. At least today it does. Hopefully I'll finish before it stops making sense. One day I'll document properly how this crazy type system works.

The second bullet point is solved as of 0.38.1.


Test Forking

Please close this pull request because it doesn't have any changes regarding Dogehouse functionalities/bugs or something related.


Create SubOperatorConfigs using "shared" credential type for local endpoints

Push build is failing due to the branch name causing the "must be no more than 63 characters" error when creating OpenShift resources.


Mldb 1104 export

kmeans function has been modified to take its SQL query in a single parameter.

+1


New project with Angular 6; MeteorCLI or Meteor with Angular CLI?

This is not a real issue, other then that I miss some clarity in which example to follow now with latest Meteor and Angular 6.
My last project, I used A5 ang angular-compilers, and then I was pointed at using Angular CLI (as it was much better: https://github.com/Urigo/angular-meteor/tree/master/examples/angularcli-meteor).
But after a couple of months of absence, I see that there is another project called MeteorCLI which doesn't require me to install and eject stuff out of NG CLI.
So before I start and get into trouble, which is the recommend way to work with Meteor, Angular 6, Rxjs and Mongo. Is that MeteorCLI or angularcli-meteor?
Maybe it would be good to move examples that are deprecated to a deprecated folder with explanation why they are deprecated.
Currently there are so many examples with different folder layouts , import folders everywhere. It get's very confusing for someone to get into Meteor with A6.
What I love about Angular 6 is that is it build so well and also documented so well. When combining it with Meteor, it feels a bit flaky because the angular-meteor implementation seems to be in constant flux.
I am having trouble introducing this at work since it needs to be production stable.
I love the work you guys are doing, and if I can contribute in writing docs or anything else, I am happy to help.
Cheers

Hello @mattiLeBlanc,
it depends on your preference to either work in an Angular or Meteor environment. Specifically in regard to testing, building and deployment.
For example, if you rely on Meteor CLI, you can easily integrate your deployment process with https://github.com/zodern/meteor-up
Otherwise, you rely on the tools around Angular CLI, that help you to develop, analyze and build your code.
As there were some changes for both Angular 6 and Rxjs, the example using Angular CLI have not yet been updated.
If you like to use Meteor CLI, you can use my PR: #1927
All the Meteor CLI examples have been updated to use Meteor <IP_ADDRESS> with Angular 6.0.7
There are some outstanding changes in this PR, that are specific to Travis CI and running the test suite. Those should not hinder you from running the Meteor CLI examples successfully.
Georgy

@georgyberdyshev I used to very much like MeteorUp, and then it was kind off discontinued.
Glad to hear it is back up again, because that made deploying to AWS very easy.
Personally, I found the Angular CLI method with creating an API folder a bit strange.
It would be nice if Meteor CLI could proxy Angular CLI in some fashion so that you can install Angular in your Meteor and use all familiar commands.
I have no clue if that is achievable or not.
I think the beauty of Meteor was and still is it's CLI and MeteorUp fits nicely in. But I would like to see proper typing and all behaviour that I am used to when using the Angular CLI.
I hope now that Angular has settled in, the Meteor team can adopt a best practice for Angular 6 and make it easy to get on board as a developer with having to debug and figure out how to get your app working.

You can try

@ardatan
I am working with NGRX, do you know why I have to use @Inject to get rid of the error
Uncaught (in promise): Error: Can't resolve all parameters for ChannelsEffects: (?, ?).

My channelEffect constructor:
@Injectable()
export class ChannelsEffects {
  constructor(
    @Inject( Actions ) private actions$: Actions,
    @Inject( fromServices.ChannelsService) private channelService: fromServices.ChannelsService,
   ) {

  }

I know using the @Inject makes stuff work but I don't understand why I need this in my Angular Meteor project. I have declared the providers in my feature module which works with a normal NG CLI Product.
I also have the reflect polyfill enabled.


docs: Fix backstage.io/techdocs-ref example

URL Reader's readTree does not work without a branch for GitHub, yet. The PR https://github.com/backstage/backstage/pull/4120 adds support for the default branch. So, this change can be reverted once the support is released.
Created after https://github.com/backstage/backstage/pull/4147

I am surprised that
    backstage.io/managed-by-location: url:http://github.com/backstage/backstage/catalog-info.yaml

can work, because the URL gives a 404 and it should be
http://github.com/backstage/backstage/blob/master/catalog-info.yaml

in my understanding.
(Think we should really have a page with a spec of how url should be used for all providers.)

I am surprised that
    backstage.io/managed-by-location: url:http://github.com/backstage/backstage/catalog-info.yaml

can work, because the URL gives a 404 and it should be
http://github.com/backstage/backstage/blob/master/catalog-info.yaml

in my understanding.
(Think we should really have a page with a spec of how url should be used for all providers.)


Bump Catch2 to v2.12.1

Thanks @e-kwsm

This PR is causing my CMake to be very unhappy:

 -- Catch not found in /home/yutong/Code/rdkit/External/catch/catch

 Downloading https://github.com/catchorg/Catch2/archive/v2.12.1.tar.gz...

 CMake Error at External/catch/CMakeLists.txt:22 (file):
   file RENAME failed to rename

     /home/yutong/Code/rdkit/External/catch/Catch2-2.12.1

   to

     /home/yutong/Code/rdkit/External/catch/catch

   because: Directory not empty

 CATCH: /home/yutong/Code/rdkit/External/catch/catch/single_include/catch2

 CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message):
   No header defined for python3; skipping header check
 Call Stack (most recent call first):
   CMakeLists.txt:272 (find_package)

@proteneer : you need to cleanup the old version that's there: just remove the directory $RDBASE/External/catch/catch

Thanks - I removed the wrong folder. For some reason I thought external
deps were collected into builds.
On Wed, May 6, 2020 at 11:27 AM Greg Landrum<EMAIL_ADDRESS>wrote:

@proteneer https://github.com/proteneer : you need to cleanup the old
version that's there: just remove the directory
$RDBASE/External/catch/catch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/pull/3136#issuecomment-624717595, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AARM2FGCAYYL2KMWYL4ND2LRQF6WBANCNFSM4MYMTDFQ
.

--
Yutong Zhao


Is there a way to parse bookmarks?

I noticed you mentioned ability to parse bookmarks in Readme, but I'm unable to find any reference to that in code or in examples. Help please?

+1

I see now that the TODO file includes a note about bookmarks as a possible feature.

I ended up creating a branch of a branch of active_pdftk to get my bookmarks, if you're interested. Changes can be viewed here.

Very cool, thanks for the info @Tuckie !

Any update on this? The README suggests that bookmarks are available, but I'm not seeing them. Thanks!


Reordering instruments changes track<->instrument assignments

Reordering instruments in the tracker (which is required to change sync track order, which in turn can be necessary when having "connected" syncs like vec4) proved to be quite painful, because the notes are immediately assigned to different (wrong) instruments and you have to be super careful to get the original track->instrument assignments correctly again (by drag-reordering tracks as well) after such an operation.
Would it be possible to decouple the two reordering operations entirely?
(if this behavior is a size optimization to avoid saving the track order in the assembly export - could we add a "lock tracks and instruments" button that is only available when it makes sense (when all tracks for a specific instrument are adjacent), that allows to simultaneously reorder tracks and instruments?)

The original crazy idea was that track does not associate with instrument. Why? Because one track with 3 voices could be used trigger three different instruments; particularly potentially useful for triggering 3 effect tracks (e.g. first drop, second drop, third drop).
But the practice is that practically no-one uses these advanced features.
Maybe "lock tracks and instruments" button is possible, but I need to think carefully what corner cases mean (for example, what does it mean to move an instrument that is associated with only 50% of a track).

I think the feature that instruments and tracks are separate things is quite cool and should absolutely stay. The request is rather about the editing behavior (I'd love the tracks to keep their instrument assignment when reordering instruments), so the reordering is less (time and brain consuming) work :)

I am now considering that by default, we could just reorder the tracks when reordering the instruments and do best effort to keep them synchronized, throwing minor warning if the reordering was not possible. Similarly, we could just delete the track(s) when deleting the instruments if there's clear relationship between a track and instrument. Then perhaps holding down CTRL or something like that could be used to avoid this.

Just reporting in: this will result in fundamental refactoring of the model, probably for the good. Manipulating two separate entities as if they would a single entity was quite a bit more "lost nights sleep" than I expected, but it's starting to work... notice in the video that the bd instrument has two tracks associated with it. We can freely reorder the instruments and the tracks follow the reordering, but if we try to pull one of the bd tracks away from another, it complains as this would "split" the bd instrument so that there would be another instrument in the middle.
https://github.com/user-attachments/assets/68e4c7e0-5d6e-4475-957c-62cda23098df

this is great! solves the problem without loss of generality.

This one was a lot harder than I hoped! But it's merged, let's see what you think of it. Notice the Instrument-Track linking toggle and the new Split Tracks / Split Instruments buttons.

Thank you for implementing this. Tested it and this makes reordering a lot easier. Super cool <3


Enable killing Xorg with Ctrl+Alt+Backspace

The line terminate:ctrl_alt_bksp seems to be responsible. But currently we don't have this entire file... where would it have to come from?
OptiPlex:/home/user/helloSystem/Menu/build% cat /usr/local/etc/X11/xorg.conf.d/10-input-keyboard.conf
Section "InputClass"
    Identifier      "Keyboard0"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver          "libinput"
    Option          "XkbRules"   "evdev"
    Option          "XkbLayout"  "de"
    Option          "XkbVariant" "nodeadkeys"
    Option          "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

As an alternative, we could set it as a "regular" global shortcut. This ways users could change it in the GUI.

We can literally just place this into /usr/local/etc/X11/xorg.conf.d/10-input-keyboard.conf?

Edge case: if a user is familiar with a dialogue in response to Control-Alt-Delete (GNOME, KDE, Windows) then after no response to that key chord, the next attempt to gain the dialogue might be Control-Alt-Backspace and a sudden death will be unexpected.
That's not enough of a case for me to suggest not enabling killing. Just food for thought.

Narrower edge case: https://forums.linuxmint.com/viewtopic.php?t=263844 someone used Control-Alt-Backspace whilst guessing how to delete a line. I empathise; after years of using shortcuts, I still sometimes make wild guesses in Konsole and other apps. I have only myself to blame for the consequences :-)

You are right. Maybe we should not enable  it by default.

https://support.apple.com/en-gb/HT201236#sleep

… To log out immediately without confirming, press Option-Shift-Command-Q. …

– comparable, but it's obscure, and I can't recall whether the resulting quits of applications are suitably clean.


Shelly 1 PM Mini G3 FW 1.4.4

I get alot of this errors.
error - [17:25:10.712] [ShellyWsClient]: Pong not received from device shelly1pmminig3-543204507274 host <IP_ADDRESS>, closing connection.
But just from this device, none error from the other 40 devices.

Hi,
thanks for your interest.
The device itself doesn't have any know issue. We have it in our production and dev setup and no problems seen so far.
I can just suggest to check the wifi signal of the device (maybe is placed somewhere there is not a great signal).
Eventually you could also try to factory reset it... but is more likely a network problem in my experience.

Feel free to reopen the issue if needed.


changefeed LAG increased  when a tikv is killed

Every region belongs to the killed tikv store will try to connect that tikv again,  and the retry backoff time is 100ms
If there are thousands of regions, that will cause big changefeed LAG (100ms * region count)
[2023/09/13 17:09:03.713 +08:00] [WARN] [client.go:636] ["get grpc stream client failed"] [namespace=default] [changefeed=test] [regionID=1398592] [requestID=102976] [storeID=6] [error="[CDC:ErrTiKVEventFeed]tikv event feed failed: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:20160: connect: connection refused\""] [errorVerbose="[CDC:ErrTiKVEventFeed]tikv event feed failed: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:20160: connect: connection refused\"\ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/errors@v0.11.5-0.20220729040631-518f63d66278/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\tgithub.com/pingcap/errors@v0.11.5-0.20220729040631-518f63d66278/normalize.go:164\ngithub.com/pingcap/tiflow/pkg/errors.WrapError\n\tgithub.com/pingcap/tiflow/pkg/errors/helper.go:34\ngithub.com/pingcap/tiflow/cdc/kv.(*CDCClient).newStream\n\tgithub.com/pingcap/tiflow/cdc/kv/client.go:239\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).requestRegionToStore\n\tgithub.com/pingcap/tiflow/cdc/kv/client.go:632\ngithub.com/pingcap/tiflow/cdc/kv.(*eventFeedSession).eventFeed.func3\n\tgithub.com/pingcap/tiflow/cdc/kv/client.go:425\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.1.0/errgroup/errgroup.go:75\nruntime.goexit\n\truntime/asm_amd64.s:1650"]

/label affects-6.5

/assign @sdojjy

/close


[MiVboeTJ] Fixes slf4j apoc logger

Why
Because we were seeing messages like this one on startup:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Looking at the test code that has been added as well, a probably less invasive choice would have been adding the simple implementation to test scope only.
Now, APOC enforces that dependency to Neo4j.
Neo4j embedded enforces it to whatever container it is run in.
Somebodies application is using a different provider all of sudden.
See for reference
https://www.slf4j.org/codes.html#multiple_bindings

Embedded components such as libraries or frameworks should not declare a dependency on any SLF4J binding but only depend on slf4j-api. When a library declares a compile-time dependency on a SLF4J binding, it imposes that binding on the end-user, thus negating SLF4J's purpose. When you come across an embedded component declaring a compile-time dependency on any SLF4J binding, please take the time to contact the authors of said component/library and kindly ask them to mend their ways.

In essence, it's kind of a hard problem, as usually Neo4j is the host for plugins, but can itself be hosted too.
Probably it's worth doing a coordinated approach to solve this

Neo4j as a standalone product should (and most likely must) contain a preferred implementation of SLF4j, so that the product has control over its logging flow
Neo4j as an embeddable (both as embedded database but also as test-harness) should not do this, so that the above recommendation from SLF4J is upheld. Completely ok to default to no-op here.
APOC and anything else that are only meant to be hosted or embedded must not carry implementations with them.


Add Github topics after v3 release.

After the new, electron-based platform has its initial release, it seems like a logical move to add Github tags (called "topics") to the project.
The benefits may include increased visibility for the project and better organization for Github as a whole.

I created a project for the next minor version of Goofy. My idea is to select bugs and features to be addressed in the next release and track the progress of them there. I hope this provides a little more transparency for the development.
Also it would be great to find people to jump on the issues in the "selected for development" column and creating PRs for them.


Added myself as a maintainer

Added myself as a maintainer

Coverage remained the same at 27.408% when pulling d4fa7a246b49ac6a42d87e0833c08f7bd7493eff on maintainer-3 into e22ba07b332e83d8e0afddf806e30e9bd4d197fc on master.


Optimise docs site

This avoids FOIT in favour of FOUT: that is, show a fallback font while the webfont (Roboto) is loading. This means the content is readable in half the time, on a slow connection. (This is how @font-face used to work, before browsers changed their behaviour.)
This also inlines the CSS, to avoid an additional blocking request before the content can be rendered.
Before (>7s to content):

After: (<3s to content):

Thanks Tim!


[top, dv] Clean up spi en_monitor

Remove all the spi.*en_monitor in chip-level.
No need to disable the SPI monitor as CSB is assigned to 1 (inactive), when SPI enable is off.
  assign spi_device0_if.csb = __enable_spi_device[0] ?
      {'1, dios[top_earlgrey_pkg::DioPadSpiHostCsL]} : '1;

Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

Nice, thanks.