Handle player collision with AI soldiers

Currently AI soldiers only get represented as actors on the client. This means if a player walks into an AI soldier even if the soldier is an actor on their client, because there's no actor on the server, the player will be able to walk right through the AI. Option 1 is probably better below.
Note: to view server LOD use console variable: pm.DebugMassPawnServerRepresentation 1
Option 1:

[x] In Project Settings search for "PawnServerRepresentationLOD" and update the LODDistance and LODMax Count values such that AI near player will be an actor (see screenshot below). We already configure PawnServerRepresentation trait in DA_MassSoldier_US/RU so that high LOD will have an actor.
[x] Update UMassPawnServerRepresentationLODProcessor::Execute so that if entity doesn't have FMassPlayerControlledPawnTag it won't automatically assign them medium LOD.

To verify fix:

[x] In L_SmallNoObstacles in client net mode walk into an AI soldier.

~Option 2:~

[ ] ~Update UMassPawnServerRepresentationLODProcessor::Execute so that for player controlled entities it will query UMassNavigationSubsystem's obstacle grid to find nearby entities. See UMassCharacterBlueprintLibrary::GetNearbyObstacles for an example. We should extract the common logic from that function into a shared function we can use both in GetNearbyObstacles and for this task.~
[ ] ~For nearby entities that are less than 4m (this is the value used in UMassCharacterBlueprintLibrary::GetNearbyObstacles which is fine), force them to high LOD so they'll be actors. See how we set RepresentationLODFragment.LOD in UMassPawnServerRepresentationLODProcessor::Execute as an example.~

Fixed in https://github.com/HaywireInteractive/OnAllFronts/commit/bae43d9203529d6bd504852e2ab74c1c99783f10


[SPARK-33304][R][SQL] Add from_avro and to_avro functions to SparkR

What changes were proposed in this pull request?

Adds from_avro and to_avro functions to SparkR.
Why are the changes needed?

Feature parity.
Does this PR introduce any user-facing change?

New functions exposed in SparkR API.
How was this patch tested?

New unit tests.

Test build #130499 has started for PR 30216 at commit 6cde957.

Test build #130499 has finished for PR 30216 at commit 6cde957.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130499/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35103/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35103/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35103/
Test PASSed.

Test build #130504 has started for PR 30216 at commit 1e9545f.

Test build #130504 has finished for PR 30216 at commit 1e9545f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130504/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35107/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35107/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35107/
Test PASSed.

Test build #130519 has started for PR 30216 at commit c5e5186.

I am going to rebase it to master, to fix AppVeyor failure.

Test build #130520 has started for PR 30216 at commit 55c3780.

Test build #130519 has finished for PR 30216 at commit c5e5186.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130519/
Test PASSed.

Test build #130520 has finished for PR 30216 at commit 55c3780.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130520/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35119/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35120/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35119/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35119/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35120/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35120/
Test PASSed.

Test build #130529 has started for PR 30216 at commit 8bdf665.

Test build #130529 has finished for PR 30216 at commit 8bdf665.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test build #130530 has started for PR 30216 at commit 1457133.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35129/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35129/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35129/
Test PASSed.

Test build #130530 has finished for PR 30216 at commit 1457133.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130530/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35130/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35130/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35130/
Test PASSed.

Test build #130534 has started for PR 30216 at commit 63f7792.

Test build #130534 has finished for PR 30216 at commit 63f7792.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130534/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35134/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35134/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35134/
Test PASSed.

Thank you, @zero323 .

Retest this please.

Test build #130736 has started for PR 30216 at commit 63f7792.

Test build #130736 has finished for PR 30216 at commit 63f7792.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130736/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35345/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35345/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35345/
Test FAILed.

Merged to master.

Thanks @dongjoon-hyun @HyukjinKwon!


cannot have a mutable reference to an immutable object

after recent v update, I'm getting this error when I try to use crystallib library
error: `freeflowuniverse.crystallib.process.processmap` is immutable, cannot have a mutable reference to an immutable object
   44 | //then you can get it everywhere
   45 | pub fn processmap_get() ?&ProcessMap {
   46 |     mut pm := process.processmap
      |                       ~~~~~~~~~~
   47 |     pm.scan()?
   48 |     return pm
checker summary: 1 V errors, 0 V warnings, 0 V notices

I will push a fix on the development_refactor branch

You can do mut pm := unsafe { process.processmap }


Split out remote regexp in to smaller parts

By splitting by fields, we get a nice slice of [name URL purpose] which makes the regexp for matching a URL more manageable and work with github URLs without usernames #107
(sorry it's been about 4-5 years since I last touched any Go)

Looks very good, thanks!
I will release it soon.


Add empty visual box to all virtual links

Introduces a virtual_link macro that supersedes the former virtual_link_inertia
Addresses the issue identified by @Tordjx in https://github.com/upkie/upkie_description/pull/19#issuecomment-2259933854
Fixes https://github.com/upkie/upkie_description/issues/20

Checking that the IMU frame orientation is now displayed correctly:
python display_frames.py --only imu

We can check from the pi3hat docs that this is indeed the proper orientation:

The pi3hat is mounted with USB ports to the left of the robot (NB: when looking at the model, battery is at the back) and with the pi3hat below the raspi with respect to the vertical
The y-axis (green) is indeed pointing towards the left of the robot (= USB ports)
The z-axis (blue) is indeed pointing down
The x-axis (red) points towards the back (battery), which I checked visually is indeed where the CAN connectors are


Revert "Remove mutex before poolRefresh"

Reverts dmacvicar/terraform-provider-libvirt#495
fix #https://github.com/dmacvicar/terraform-provider-libvirt/issues/504
I think if we don't find a  solution the wise solution is to revert this.
@wking cc

@wking Do you think you can test this PR and see if that works for you again?

I can't test now, but should be able to test before tomorrow.  Thanks :)

Tested with:
$ terraform-provider-libvirt -version
terraform-provider-libvirt 8f4a5f464842b7027e473e3fe4a2671987702cbc
Compiled against library: libvirt 3.9.0
Using library: libvirt 3.9.0
Running hypervisor: QEMU 2.9.0
Running against daemon: 3.9.0

and everything works reliably again :).  Thanks again :heart:

@dmacvicar  imho we can merge this.
@wking thx for feedback :santa: :mrs_claus: :gift:


Implement 'get room' endpoint

See ticket #521 on the CAS3 Trello board.

Currently, there is no way to get details of a single room in the API. This means that the client has to use the GET /premises/{premisesId}/rooms endpoint to get all rooms in a premises, and then filter this list to get a particular room. This is an inconvenience for the implementation of the 'view/edit room details' pages.
This PR provides the GET /premises/{premisesId}/rooms/{roomId} endpoint to allow the client to just request the details of a single room, which simplifies the client-side implementation for viewing and editing rooms.

Given this a try with https://github.com/ministryofjustice/hmpps-temporary-accommodation-ui/pull/12, looks good!


onAppOpenAttribution don't return af_dp

Report
Plugin Version
5.2.0
On what Platform are you having the issue?
ios
What did you do?
open app using an onelink.
What did you expect to happen?
onAppOpenAttribution to be called and return with all atributes data (af_dp and others)
data:
af_dp: "br.com.myapp://app-section"
af_force_deeplink: "true"
af_ios_url: "https://www.appsflyer.com/"
link: "https://myapp.onelink.me/wZZ4/MD"
What happened instead?
onAppOpenAttribution was called, but the return data didn't have any info about the onelink that was used.
data: {
 link: "br.com.myapp://google/link/?dismiss=1&is_weak_match=1"
},
status: "success"
type: "onAppOpenAttribution"

Please provide any other relevant information.
This only happens on ios. On android, it works as expected.

Hi @lucasaugustin!
This happens because you probably process deep links via Firebase SDK first. Please check your AppDelegate continueUserActivity and openURL methods if you process links by different SDKs. We suggest that you first process the links by AppsFlyer SDK or create some condition to decide which links would be processed by AppsFlyer and which by Firebase.

hi @af-vs.
This seems to be an intermittent issue.
we have updated the plugin version to 6.0.30 and now most devices work as expected, but there is one where the error continues to happen.
Our continueUserActivity and openURL methods only have the Appsflyer use.
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation {  [[AppsFlyerLib shared] handleOpenURL:url sourceApplication:sourceApplication withAnnotation:annotation]; return YES; }
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary *) options { [[AppsFlyerLib shared] handleOpenUrl:url options:options];
But we do use firebase in our project, so i guess the error is related to this.
The problem is that we need configure it inside the didFinishLaunchingWithOptions, that is used before the continueUserActivity and openURL methods.
There is any other way that we can fix this problem?


Pixi doesn't seem to be isolating environments correctly

I'm trying to install a Pixi environment in a docker container based on the image ate ghcr.io/prefix-dev/pixi:latest. I have a pyproject.toml that looks something like
[tool.pixi.dependencies]
python = ">=3.12"

[tool.pixi.pypi-dependencies]
local-package = { path = ".", editable = true }

[tool.pixi.feature.dev.pypi-dependencies]
custom-dev-dep = { git =<EMAIL_ADDRESS>rev = "revision" }

[tool.pixi.environments]
default = { features = [], solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }

Of interest here is the the dependency installed from a git repo. The container in question does not have git installed—however, I believe this shouldn't matter as in the container I install the default environment with
RUN pixi install -e default

This step, however, results in this error:
 => ERROR [base build 4/5] RUN pixi install -e prod                                                      68.7s
------
 > [base build 4/5] RUN pixi install -e prod:
68.59   × failed to solve the pypi requirements of 'default' 'linux-64'
68.59   ├─▶ Failed to download and build `dsrepo-backend @ git+ssh://
68.59   │   git@url/custom-dev-dep.git@revision`
68.59   ├─▶ Git operation failed
68.59   ╰─▶ Git executable not found. Ensure that Git is installed and available.
68.59

I don't get this error if I comment out the custom-dev-dep line in the pyproject.toml. This seems to suggest that Pixi is trying to fetch the requirements of the dev environment, even when I'm not asking for it—I feel like this isn't the expected behavior?

I believe you're seeing https://github.com/prefix-dev/pixi-docker/issues/41 (see also https://github.com/prefix-dev/pixi/issues/1388 and https://github.com/prefix-dev/pixi/issues/2588)


Enable pnpm cache on CI

Now, installing dependencies spent 10-15sec, becoming one-third!
Not cached: https://github.com/kuma-ui/kuma-ui/actions/runs/5774108606/job/15650715632?pr=269
Cached: https://github.com/kuma-ui/kuma-ui/actions/runs/5774120528/job/15650743609
The doc about pnpm cache on GitHub Actions here: https://pnpm.io/continuous-integration#github-actions

Please let me know if internal changes like this also require changeset.

@yukukotani
Thank you so much for improving the workflow! As for a changeset, it's not required, but you're welcome to add one 👍


Keda and Hashiorp Vault Authtication using serviceAccount as Auth method

Discussed in https://github.com/kedacore/keda/discussions/4601

Originally posted by btwseeu78 June  1, 2023
I am currently Testing Hashicorp Vault authentication for keda, we noticed the way keda uses is it directly uses serviceaccount token for keda for keda operator now i am getting some issues with and definitely need better examples on authentication.
I found the Architecture is quote troublesome.
Since the triggers or all the triggers will use operator service account to communicate that means we need a key than can read creds from all paths , that itself is problematic to have, and also this can not used at all in shared cluster where there are multiple project hosted since it mean violation of policy.
Suggestion would handling it how external secret operator does since its one of the standardized way to pull secret from vault.
Also we need more logs for Auth errors seems very limited.
for now im getting token not found error on my trigger,
also we are seeing this error as well for some reason.
2023-06-01T10:13:28Z    INFO    Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference                            {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"kedalab-scaled-vault","namespace":"monitoring"}, "namespace": "monitoring", "name": "kedalab-scaled-vault", "reconcileID": "021a8854-1a92-4b9b-bed5-d08ca2e6a605"}
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x2f61695]
``
</div>

also we are getting errros on vault login with our trigger:

ERROR   scale_handler   error authenticate to Vault     {"type": "ScaledObject", "namespace": "monitoring", "name": "kedalab-scaled-vault", "triggerAuthRef.Name": "vault-test", "error": "Error making API request.\n\nNamespace: monitoring\nURL: PUT https://xxxx:8200/v1/auth/xxxxxx/login\nCode: 400. Errors:\n\n* missing client token"}

If I get it correctly, this issue is to improve the authentication nstory and how it fetches the information, is that correct?

I think the issue is that the current implementation references a file mounted in the keda operator pod rather than an external service account. VSO handles this a bit differently by allowing you to reference a service account by name, then impersonating that service account when using the kubernetes auth method.


[CSM - 276] Rename newWAddress -> newAddress

@ajnsit would you mind creating another PR with base branch 0.5-rc . I propose:

create branch X out of 0.5-rc
cherry pick this commit to X
make PR

I am not sure how changing base branch is working in github but it pulls a big diff in this branch

Right, that's what you should do.
Also it's not necessary to create a new PR, you can force push to this one and change base branch here.

@akegalj I changed the base to the rc branch.


fenv; public scalbn

Codecov Report

Merging #20 (6b59455) into musl-go (da3e47a) will decrease coverage by 0.28%.
The diff coverage is 25.38%.

@@             Coverage Diff             @@
##           musl-go      #20      +/-   ##
===========================================
- Coverage    37.13%   36.84%   -0.29%
===========================================
  Files           87       90       +3
  Lines         5952     5998      +46
===========================================
  Hits          2210     2210
- Misses        3595     3641      +46
  Partials       147      147

Impacted Files
Coverage Δ

copysignf.c.i.go
0.00% <0.00%> (ø)

fabsf.c.i.go
0.00% <0.00%> (ø)

fenv.c.i.go
0.00% <0.00%> (ø)

fesetround.c.i.go
0.00% <0.00%> (ø)

fmodf.c.i.go
0.00% <0.00%> (ø)

frexpf.c.i.go
0.00% <0.00%> (ø)

locale_map.c.i.go
0.00% <0.00%> (ø)

mmap.c.i.go
0.00% <0.00%> (ø)

munmap.c.i.go
0.00% <0.00%> (ø)

ofl.c.i.go
0.00% <0.00%> (ø)

... and 25 more

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 da3e47a...6b59455. Read the comment docs.


feat(@toss/utils): flatten array

Overview

A function that flattens a two-dimensional array into a one-dimensional array.
PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

Hello, we no longer maintain @toss/utils package and we recommend es-toolkit for all users. Please use flatten from es-toolkit instead!


Get access keys from Azure Resource Manager to make Cosmos DB calls : Errors

The metod should be Get and not Post
The API version is not supported. I used for example : 2016-03-31

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

ID: 589b0c8f-72ea-911e-6ab6-481ef3e24680
Version Independent ID: f82ccf62-8eb5-ad76-7f72-1636e36f794d
Content: Use a Windows VM system-assigned managed identity to access Azure Cosmos DB
Content Source: articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-cosmos-db.md
Service: active-directory
GitHub Login: @daveba
Microsoft Alias: daveba

@SamirFarhat  Thanks for the feedback! We are currently investigating and will update you shortly.

@SamirFarhat Thanks for the feedback! I created a pull request with your suggested change.
cc: @daveba


Expose runtime structure

A recreation of #88, which doesn't seem to be updated. See discussion in that PR. Closes #91.
The motivationis as expressed in #91 and #88, to allow access to the runtime. An example of where this is used is criterion. If this is merged and a release issued, I will put a PR in to criterion with AsyncExecutor trait impl as a criterion feature. Until then, the following works
struct AsyncRuntime(tokio_uring::Runtime);

impl criterion::async_executor::AsyncExecutor for &AsyncRuntime {
    fn block_on<T>(&self, future: impl futures::Future<Output = T>) -> T {
        self.0.block_on(future)
    }
}

// ...

fn bench(c: &mut Criterion) {
    // ...
    let mut ring_opts = tokio_uring::uring_builder();
    let mut builder = tokio_uring::builder();
    builder.uring_builder(&ring_opts);
    let runtime = AsyncRuntime(tokio_uring::Runtime::new(&builder).unwrap());
    let runtime = &runtime;

   c.bench_with_input(BenchmarkId::new("input_example", size), &size, |b, &s| {
        // Insert a call to `to_async` to convert the bencher to async mode.
        // The timing loops are the same as with the normal bencher.
        b.to_async(runtime).iter(|| do_something(s));
    });
}

@FrankReh Is that a suitable usage statement?

@ollie-etl Thanks for the quick uptake. I have more questions about the commit message than I do the files changes. The changed files look good to me.
Is the usage showing an example bench that would act like a main for criterion benchmarking or does all that setup need to be duplicated for each benchmark or each file that would have benchmarking in it?

@Noah-Kennedy If these changes look good to you too, will you merge? My question about the running example can wait.

@FrankReh With criterion, you can share setup per group, https://bheisler.github.io/criterion.rs/book/user_guide/benchmarking_with_inputs.html#benchmarking-with-a-range-of-values.
My example is only a single function.
The newtyped trait implementation is something that I'd hope to get up-streamed to criterion. That will require a new published version

Just going to wait for @Noah-Kennedy to accept this one. It looks good to me. I wish there were an example binary using criterion but we have lots of other functionality that doesn't come with an example binary either so there's no need to start that here.

It looks like the benchmarks spend most of their time in FuturesUnordered. I'm going to try and cleanup our results a bit and see what can be optimized.

We should probably move this over to discord or to a dedicated issue thread.

Discord seems better.

Ah, meant to post this svg in another thread.


Documentation problems

First things first, I'd like to thank Jerry for being cool and taking care of docs, however, i have encountered some minor problems in the docs.

For example, basicbotsetup.md could probably be named as basic-bot-setup.md.
Same goes with advancedbotsetup.md, it could be named as advanced-bot-setup.md

I would also love the link in basicbotsetup (for the guide) to be changed into https://discordpy.readthedocs.io/en/latest/discord.html
And the example installation snippet to be changed into py -3 -m pip install discord.py disgames. This was initially made to be used with discord.py and will stay as it is until we provide support for other libs as well.

Everything else seems good enough <3

Alr fixed? in https://github.com/andrewthederp/Disgames/pull/12?

:+1:


What are TARGET_* environment variables?

I see that CC_<target>, CXX_<target>, and etc. are used by rust cc crate. What uses are the TARGET_* environment variables? Are they already used by some common build system (e.g., rustc, cc, cmake), or just for the convenience of the container user as shortcuts?

ChatGPT is your friend for such kind of questions:
Environment variables like TARGET_CC, TARGET_CFLAGS, TARGET_LDFLAGS, etc., are often used in the context of cross-compilation. Cross-compilation is the process of compiling code for a platform that is different from the one on which the compiler is running. This is common when developing software for embedded systems, gaming consoles, or any other specialized hardware that differs from a developer's typical desktop or laptop environment.
Here is a brief explanation of what these environment variables typically represent:

TARGET_CC: This variable specifies the cross-compiler to be used for compiling the target binaries. For example, if you are compiling code on an x86_64 machine for an ARM-based system, TARGET_CC might be set to an ARM-targeted gcc, such as arm-linux-gnueabihf-gcc.

TARGET_CFLAGS: This stands for the target-specific compiler flags that should be used when compiling the code. These flags might optimize the code for the target architecture, define macros specific to the target environment, or include target-specific include directories.

TARGET_LDFLAGS: Similar to TARGET_CFLAGS, this variable specifies the linker flags that are relevant for the target platform. These flags might include paths to target-specific library directories or specify target-specific linker options.

TARGET_AR: If the build process involves creating static libraries, this variable might specify the archiver tool that is compatible with the target platform, such as arm-linux-gnueabihf-ar.

TARGET_AS: This variable specifies the assembler to use for the target platform.

TARGET_RANLIB: This variable specifies the ranlib tool for the target platform, which is used to generate an index to the contents of an archive and is often necessary when dealing with static libraries.

TARGET_STRIP: This variable specifies the strip tool for the target platform, which can be used to remove symbols and other unnecessary information from binary files, thus reducing their size.

These variables are typically set when configuring a build system to cross-compile software. They inform the build tools about which tools and flags to use for generating executables, libraries, and other artifacts for the target platform. It is important to note that the exact names and usage of these environment variables can vary between different build systems and projects, so always check the documentation or build scripts of the project you are working with for the specifics.

Thanks. You could answer with a single sentence: yes, they are. Certainly I think you can do better than chatGPT.


[Question][Jira] How can DevLake collect the custom fields on the Jira issue? I didn't succeed even though I used customize

Question
How can DevLake collect the custom fields on the Jira issue? I didn't succeed even though I used customize。
Screenshots
If applicable, add screenshots to help explain.
Additional context
Add any other context here.

https://devlake.apache.org/docs/next/Plugins/customize
Yes, customize is designed for custom field on jira issue. you can add custom column in issues or other domainTable, and collect data from rawLayer to fill the custom column.


Make accessing terms stats facets in results possible.

There was no way to to access terms stats facets. Adding the additional fields
and their json mappings is an easy solution to fix this.

Hi! Thanks for the PR. Seems legit :-)
For self-reference: Source for terms stats for type strings in 1.7

I've just pushed v2.0.3. Notice that you should use the new import path gopkg.in/olivere/elastic.v2 as the master branch will target Elasticsearch 2.0 soon.
Thanks again.


[Feature request] Enable expiration on badges

Would it be possible to make badges expire?
For instance it would be cool to be able to award a user a badge for the rest of the day/week/month...
It could also be that a badge expires on a specific date.

It is complicated to have "time based" events on Mattermost plugins.
If the action is not time sensitive, it could always keep track of the last time it got synced, and sync if enough time has passed. That would be check every time certain actions are taken (plugin initiated, interaction with the plugin...).
I am not actively working on the plugin right now, but if there is any contribution, I am happy to lead it into that direction. Nevertheless, I would hide all that complexity behind a global setting, since it may have strong implications on the performance.


Support additional SMB properties (creation time, last write time, etc.)

Looks good.
BTW, you wrote:

I think testing the preserve of these values is important since we do rely on the ability to persist such properties when supplied as nil in our SMBProperties struct.

I thought that meant you planned to add additional assertions to the existing test, but I didn't see those new test lines. Were you planning to add them, or have I misunderstood?

Ah, yeah, I thought I already had those there because they were there for SMB ACLs

squashing and merging


Decide the best strategy to comment selections on the Editor

From<EMAIL_ADDRESS>on 2012-05-15T01:34:07Z
I select several lines of text, then comment them all by pressing ctrl-1.
This causes spyder to go into 100% CPU usage, then it becomes unresponsive and hangs.
I have confirmed that this error was introduced in revision 606db762e3e4
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1026

From ccordoba12 on 2012-05-15T07:25:43Z
David, please post an example of the hang which I can reproduce on my side. I verified the mentioned revision with single and multiple lines and didn't find any issues, so I pushed it.
Besides, please tell me what's your platform, Python and PyQt versions.
Owner: ccordoba12
Labels: Cat-Editor MS-v2.2

From<EMAIL_ADDRESS>on 2012-05-15T09:05:45Z
I do not confirm the issue on Linux.

From ccordoba12 on 2012-05-15T10:53:34Z
I also tested it on Windows to no avail. It's probably a corner case issue, that's why I requested an example.

From ccordoba12 on 2012-05-15T16:57:13Z
Thanks for the example and for your detailed explanation. I was able to reproduce it with it.
Yikes! It's a serious bug and I think I know where it's coming from. I'll try to push a fix tomorrow.
Status: Accepted
Labels: -Priority-High Priority-Critical

From<EMAIL_ADDRESS>on 2012-05-15T16:34:54Z
Thanks Carlos and Anatoly for the quick response. I am using Ubuntu 10.04.4 LTS 64 bit, and I am just using the default qt (4.6.2-0ubuntu5.3), pyqt (4.7.2-0ubuntu1) and python (2.6.5-0ubuntu1). Here is the output of bootstrap.py:
Executing Spyder from source checkout Revision 606db762e3e4 :2045, Branch: default

Patched sys.path with /home/dap124/external_code/spyderlib-clean-server-clone
No PySide detected, using PyQt4 if available
Imported Spyder 2.2.0dev (Qt 4.6.2 via PyQt4 (API v1) 4.7.2)
0x. Enforcing parent console (Windows only)
Executing spyder.main()

I have run spyder --reset and confirm that this does not eliminate the problem. The particular example I have is that if I have the following line:
print "hello"
then pressing ctrl-1, I get the following output with the comment symbol in the wrong place:
print #"hello"
Pressing ctrl-1 again adds another hash in front of the existing one. Then if I select two lines (either two lines of code or just one line of code and a blank line), spyder goes to 100% CPU usage.
If you suspect that the python/qt/pyqt version might be to blame, then I'm happy to try installing a different version to see if that is the cause. I do note that for some reason qt and pyqt versions aren't identical.

From ccordoba12 on 2012-05-15T21:31:01Z
This issue was updated by revision 664197e9bc32 .
When a line doesn't have indentation, we don't need to move the cursor to the
next word. That's only done to position it next to the line's first character
before inserting '#'.

From ccordoba12 on 2012-05-15T21:33:11Z
David, I committed a fix. Please test it and let me know if it solves the problem before closing this issue.
Thanks again for your help.

From<EMAIL_ADDRESS>on 2012-05-15T21:42:01Z
Hello Carlos,
I just tested your fix, it definitely solves the issue with python freezing and the unindented lines getting incorrectly commented. However I did notice that these changes seem to introduce another minor issue:
I select multiple indented lines, not having any non-indented lines in the selection. It is important that I select the whole lines, not a partial selection of the text. I then press ctrl-1, and the lines are commented.
However, after this commenting, for some reason an additional blank line gets added to the selection. So if I press ctrl-1 again to undo the selection, not all selected lines have a comment in front, so instead of uncommenting, it adds an additional comment.
Obviously this is more of a quirk than a serious problem, so I wouldn't bother to raise an issue just for that, but I thought it was worth mentioning.
Thanks again for your hard work,
David

From ccordoba12 on 2012-05-15T21:47:20Z
This issue was updated by revision a645263dd825 .
Grab the text of a line only when we are about to comment it. The thing is that
the function used to add comments (add_prefix) is also used to add indentation
and we don't need the text in that case.

From<EMAIL_ADDRESS>on 2012-05-15T22:05:55Z
Sorry for not being clearer. Here is an example:
def myfunc():
print "a"
print "b"
If you select only the print lines within the function then the issue occurs. You have to select the whole lines, including the spaces which give the indent.

From ccordoba12 on 2012-05-15T21:49:49Z
David, please post an example because (again) I'm not able to reproduce the behavior :)

From<EMAIL_ADDRESS>on 2012-05-15T23:56:11Z
Looks like the logic is not that trivial. =) Carlos, how do you think - is it possible to create regression tests for this feature?

From<EMAIL_ADDRESS>on 2012-05-15T22:27:40Z
As an aside, I notice that for indented lines, the comment symbol now occurs after the tab. Is this the desired behaviour? When I have blank lines between my indented lines, the comment symbol is put at the start of the line, and commenting the whole block looks kind of messy.

From ccordoba12 on 2012-05-16T05:45:01Z
@-David:

Comment #11: I can reproduce the problem now. I'll see what I can do about it

Comment #12: The heart of the change was to put the comment symbol next to the first character of every line, not at the beginning of them. This will help users to maintain indentation when they want to comment, for example, a portion of a function but they want to continue developing more code below the commented lines. The thing is that if blank lines between indented blocks are unindented, then '#' will be surely placed at the beginning of them.

I see three solutions for this:
a) Return to old behavior (simplest but a waste of time)
b) Don't add comments to blank lines (a bit harder because the logic has to be improved when uncommenting them so everything works as it is now)
c) Add an option to switch between old and new behavior (not so hard but a bit silly I would say).
@-Anatoly:
I don't know how to create tests for this. It's like what happens with issue #872 : the only way to test this is to open the editor and to manually create different scenarios.

From<EMAIL_ADDRESS>on 2012-05-16T15:56:15Z
Carlos, thanks for your hard work on this, and sorry if I'm making it any harder!
While the issue in comment #11 I would consider a bug, I guess my comment #12 is a separate issue which might be better discussed in the google group. A good guideline could be to see what most users would expect, possibly based on the default behaviour of other editors.

From ccordoba12 on 2012-05-16T17:40:18Z
Don't worry. It's just that it seems hard to please everyone :) I have a fix for comment #11 and yep, we can ask on the list what other people think it should be the desired behavior when making comments.
Anyway, thanks to your quick feedback I've been able to really develop the feature instead of leaving it as a simple hack!

From<EMAIL_ADDRESS>on 2012-05-16T22:49:54Z
Here's a very brief survey of block commenting in a few editors that typical scientific folks might be using:
Visual Studio 2010: Comment characters are added at the current indentation level. Blank lines receive no comment character.
SciTE: Comment characters are added as the first character on the line. Blank lines receive no comment character.
MATLAB: Comment characters are added as the first character on the line. Blank lines do receive the comment character.
All pretty much the same, right? ;)
The previous Spyder behavior matches MATLAB, and conceptually it seems very easy to implement. Any line in the current selection just gets a comment character inserted at the beginning of the line. Uncommenting is just as simple.
I wonder if we might be trying to solve the wrong problem. What about spending time on the auto-indenter here: https://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/sourcecode/codeeditor.py#1759 Would it be simpler to have prevtext find the last block that wasn't a comment line instead of just taking the block above it? I haven't looked that closely at it, but just thought I'd ask....

From ccordoba12 on 2012-05-17T14:17:59Z
The reason the block above is taken is because when you hit Enter, first this event is ran on the widget and then we compute the indentation level for the new line based on the indentation of the previous one.
That's also why Ctrl+Z works in two steps when you want to undo an "Enter event".
Here is also the workings of other editors with respect to comments:
Eclipse + PyDev: First character on the line
Kate: Current indentation level
Emacs: Maintains the level of the least indented line on the selection and doesn't add comments to blank lines

From ccordoba12 on 2012-05-17T14:19:05Z
This issue was updated by revision b48946b15f99 .
Giving that now comments are inserted at the current indentation level, trying
to extend the selection to include the comment character was giving non expected
results for indented lines because the character is already inside the selection

From ccordoba12 on 2012-05-17T14:20:08Z
Ok, I think I fixed the issue on comment #11. David, please try it and tell me what you see

From<EMAIL_ADDRESS>on 2012-05-17T18:09:58Z
@-Carlos: I can confirm that the issue in comment number 11 no longer arises
@-jed: I just tried your patch, it works fine for me
By the way, I just checked out issue #1020 and realised that there is some overlap in the discussion - sorry for not raising this point there.

From<EMAIL_ADDRESS>on 2012-05-17T16:47:05Z
I almost hesitate to make this post because Carlos has dedicated so much time to this already, but in light of comment #12 I felt inclined to chime in further.
I have to agree with David's comment about messy comments for two reasons. First, having all the comment symbols occur at the left edge makes it easy to see which lines have been block commented, especially given that with the exception of scripting most Python code has very few characters at the very left edge of the editor. Second, when there are deliberate documentation comments inserted in the code it makes them appear at the same indentation level as the code around them even during block commenting. Compare these two:
#if True:
## Comment entered for documentation
#print "Blah"
#
#def myfunc():
#print "a"
#print "b"
----------------
#if True:
#    # Comment entered for documentation
#    print "Blah"
#
#def myfunc():
#    print "a"
#    print "b"
To me, it's much easier in the second case to see that the whole block has been commented out by block commenting. Furthermore, you can pretty much still read the code like it was code because your mind uses the block comment as a nice clean left edge.
I managed to change the auto-indent code to address the heart of the problem in issue #1020 while preserving Spyder's old block comment style. Note that the attached patch is derived from rd1e857785927 and not the current tip. The easiest way to test this is to roll your repo back to rd1e857785927 and import the patch to your working copy there. Instead of looking at just the previous line to determine indenting the auto-indenter now finds the previous uncommented line. I was worried about what would happen if you had lots of comments above you, so I created the attached indent_test.py to test this out. Try placing your cursor at the end of line 3489 and hit enter. The code now has to find the "if True:" all the way on line 1 before it decides how to indent, and it seems to perform well without introducing delay.
Any thoughts?
Attachment: indent_patch.patch indent_test.py

From ccordoba12 on 2012-05-17T21:44:42Z
Jed, thanks for raising your points and especially for contributing a different approach with new code! I haven't invested too much time so don't worry about it. At least I'm happy my changes have started this discussion but perhaps I should have asked on the list for suggestions before jumping too quickly on them.
All in all I think you're right: it's easier on the eye to see all comments lined up on the left. If indentation is preserved correctly I'll be in favor of reverting my changes and adding yours. I don't have time right now to test them but I hope to do it tomorrow.
Summary: Decide the best strategy to comment selections on the Editor
Labels: -Priority-Critical Priority-Medium

From<EMAIL_ADDRESS>on 2012-05-17T22:13:36Z
issue #1020 has been merged into this issue.

From<EMAIL_ADDRESS>on 2012-05-19T12:38:40Z
For convenience, I created a bookmark in my clone that implements the patch posted in comment 21. Bookmark name is jedludlow-issue-1026. If anyone wants to test it, feel free to pull it down and post code review comments: https://code.google.com/r/jedludlow-spyderlib-default/source/list?name=jedludlow-issue-1026

From ccordoba12 on 2012-05-18T06:16:09Z
Ok, good to know and thanks for the encouragement!

From<EMAIL_ADDRESS>on 2012-05-17T22:26:56Z
@-Carlos: I'm not sure asking on the mailing list would have produced a better result. It's actually much easier to evaluate these kinds of subtle usability issues when you have working prototypes, so the fact that you dove in and implemented the changes resulted in great, concrete code examples for testing indenting behavior which spurred good discussion. Besides, this kind of experimentation is so easy and inexpensive with a good version control system. Keep up the good work.

From<EMAIL_ADDRESS>on 2012-05-24T07:58:39Z
I am +1 for lined up hash signs. No prospects when I'll be able to look into how the patch works.
I still wonder if it is possible to mock Qt calls or make an elementary widget for text editor test. Where we can insert some text, place a cursor, send "Ctrl-1" key and then compare the contents with desired result?

From<EMAIL_ADDRESS>on 2012-05-24T08:29:10Z
@-techtonik: The codeeditor widget can be run as a stand-alone Qt app for testing this. Just execute codeeditor.py.

From<EMAIL_ADDRESS>on 2012-06-05T07:42:14Z
As long as my concerns from issue #1020 remain resolved I don't particularly care how pretty the commented code looks.

From<EMAIL_ADDRESS>on 2012-06-05T00:33:58Z
Having been using this feature of spyder for the past few weeks, I still much prefer the comments at the start of the line.

From<EMAIL_ADDRESS>on 2012-12-27T08:09:41Z
I created a proposed solution that addresses both issue #1020 and issue #1026 back at comment 27. That was a long time ago, so I have rebased my fix off of the latest tip. It can be pulled from bookmark jedludlow-issue-1026-rebased in my clone here: https://code.google.com/r/jedludlow-spyderlib-default/source/list?name=jedludlow-issue-1026-rebased It should be fairly simple to review, and the test file attached in comment 21 is instructive for illustrating the behavior under the changes. I've been running these changes for several months now, and I haven't seen any issues. I would propose pulling this to the default branch.
I've also closed my previous development branch on this issue, referenced in comment 27.

From pierre.raybaut on 2013-01-02T12:46:09Z
Merged to main branch with revision d955e66bf27a .
Status: Fixed

From<EMAIL_ADDRESS>on 2013-01-02T13:13:46Z
Status: Verified

From<EMAIL_ADDRESS>on 2013-01-02T13:24:47Z
issue #1020 has been merged into this issue.

From ccordoba12 on 2013-01-03T07:27:28Z
Jed, you were totally right: it's easier to differentiate commented blocks from regular comments when they are started on the first column. This was the right thing to do.
Thanks for taking the time to implement it the right way :)


Publish Python outbound HTTP support

Is your feature request related to a problem? Please describe.
Wasm Workers Server has an interface for allowing WebAssembly modules to make outbound HTTP requests.
Provide a Python interpreter based on our Python assets that has support for Python scripts to make HTTP requests by using the explicit HTTP wws interface.
This is the most straightforward solution in the sense that the python script needs to import wws_http (or some module name similar to this), and use this interface to make outbound HTTP requests.
A next step would be to integrate the Python standard library with this system, but this is a feature outside of the scope of this issue.
Describe the solution you'd like
A python script like the following:
import wws_http

_, _, status_code, success = wws_http.send_http_request(
  "https://google.com,
  "GET",
  [],
  [],
  ""
)

Will make a GET HTTP request to "https://google.com". This issue does not provide a suggestion on how the API should look like: a more idiomatic Python API is perfectly fine and wanted.
New Python interpreters with WWS HTTP support are provided in the asset list of releases.
Describe alternatives you've considered
No response
Additional context
No response

Related: https://github.com/vmware-labs/wasm-workers-server/issues/176

This Python runtime will be provided in the wws repository.


[Feature Request]:  Add Signup/signin page Responsive UI

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add signup page and sign in page to login the users
Use Case
Adding this UI it will help to login user, track there orders, customizes services, user review and feedback
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[ ] I'm a GSSOC'24 contributor
[X] I have starred the repository

@DevGajjar28 not needed we already got one


conftest.py not included in sdist

Running the tests from the sdist results in
[  138s] test/test_compatibility.py .                                             [  4%]
[  141s] test/test_simple_compression.py EEE..........                            [ 60%]
[  141s] test/test_simple_decompression.py EEE......                              [100%]
[  141s]
[  141s] ==================================== ERRORS ====================================
[  141s] ___________ ERROR at setup of test_roundtrip_compression_with_files ____________
[  141s] file /home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/test/test_simple_compression.py, line 16
[  141s]   def test_roundtrip_compression_with_files(simple_compressed_file):
[  141s] E       fixture 'simple_compressed_file' not found
[  141s] >       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_xml_attribute, record_xml_property, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
[  141s] >       use 'pytest --fixtures [testpath]' for help on them.
[  141s]
[  141s] /home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/test/test_simple_compression.py:16

Also the libbrotli/tests/testdata is not included.
It is fairly large, so maybe not including it is a good thing, but the error message is currently
[  109s] ImportError while loading conftest '/home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/test/conftest.py'.
[  109s] /usr/lib/python2.7/site-packages/six.py:709: in exec_
[  109s]     exec("""exec _code_ in _globs_, _locs_""")
[  109s] test/conftest.py:11: in <module>
[  109s]     os.path.join(TEST_DATA_DIR, p) for p in os.listdir(TEST_DATA_DIR)
[  109s] E   OSError: [Errno 2] No such file or directory: '/home/abuild/rpmbuild/BUILD/brotlipy-0.7.0/libbrotli/tests/testdata'

That could be enhanced by indicating that the user should fetch the data separately, and give them the gitmodule sha which they should use to fetch the right test data for that release.

Closed in https://github.com/python-hyper/brotlipy/pull/161


MinSDK is 14 instead of 7

If I add this library to a project with minSDK 10, I get this:
`Error:Gradle: Execution failed for task ':app:processAppAlphaManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in     library /.../app/build/intermediates/exploded-  aar/com.timehop.stickyheadersrecyclerview/library/0.3.6/AndroidManifest.xml
This can easily be fixed by <uses-sdk tools:overrideLibrary="com.timehop.stickyheadersrecyclerview"/> but maybe you can change it anyway.

Does the library work OK for you on SDK 10?  I just tried to run the sample on SDK 10 and the headers weren't measured correctly.  Not sure if it's worth figuring out why.

TBO I forgot to check if actually looks ok. I did now and the headers fill the whole screen. If you are not planning on it, I will probably have a look and try to fix it.

That would be great - I spent a few minutes looking at it this morning but didn't find the issue.  It looks like the headers are measured and laid out correctly but not drawn correctly.

Yes, it looks like the the header view itself is not the issue. Even just rendering a fixed sized view directly onto the canvas without translation fills the canvas with that view:
canvas.save();
mAdapter.onCreateHeaderViewHolder(parent).itemView.draw(canvas);
canvas.restore();

Not sure what could be done here.

There are some other libraries working for API 7, so if you don´t plan to support such version it would be nice to change the readme: https://github.com/timehop/sticky-headers-recyclerview/pull/40
Personally I would like to try this lib since it seems easier to use than others (e.g. https://github.com/eowise/recyclerview-stickyheaders) but I cannot increase that much the minimum sdk of my app :/

I think this should be able to work on 7+ with a few modifications. I tried
earlier but didn't have much time and couldn't find a solution. I will
merge your PR for now but it would be awesome if someone else could spend a
few minutes trying to make it work on lower API versions!
On Apr 9, 2015 6:42 PM, "Shyish"<EMAIL_ADDRESS>wrote:

There are some other libraries working for API 7, so if you don´t plan to
support such version it would be nice to change the readme: #40
https://github.com/timehop/sticky-headers-recyclerview/pull/40
Personally I would like to try this lib since it seems easier to use than
others (e.g. https://github.com/eowise/recyclerview-stickyheaders) but I
cannot increase that much the minimum sdk of my app :/
—
Reply to this email directly or view it on GitHub
https://github.com/timehop/sticky-headers-recyclerview/issues/25#issuecomment-91373407
.

Hey, Can I use this library on minSdkVersion 9 ? Do I have to do those "hacks" you mentioned above?

I couldn't figure out how to get it to render correctly but I'm sure it's
possible. Would love a community contribution.
On Apr 20, 2015 6:29 AM, "Thanos Psaridis (Fisherman)" <
<EMAIL_ADDRESS>wrote:

Hey, Can I use this library on minSdkVersion 9 ? Do I have to do those
"hacks" you mentioned above?
—
Reply to this email directly or view it on GitHub
https://github.com/timehop/sticky-headers-recyclerview/issues/25#issuecomment-94428551
.

Thanks I'll try this out and post back if I find any issues on Gingerbreads

Any feedback on this? Looking to try this out, but figured I would see if there were any immediate issues supporting minSdkVersion 9 or 10.

There are definitely still issues - would love for someone to dig in and figure it out.


Exception message

Information

OS: [eg Windows/Linux/MacOS] MacOS
Version: [e.g. 0.33.0] 12.6.5
Terminal: [e.g Windows Terminal] iTerm

Describe the bug
In my command class I have the following
 public MyCommand()
 {
        var builder = new ConfigurationBuilder()
            .SetBasePath(Directory.GetCurrentDirectory())
            .AddJsonFile("appsettings.json", optional: false)
            .AddJsonFile("appsettings.development.json", optional: true);

        var config = builder.Build();
        var connString = config.GetValue<string>("Mongo:ConnectionString");
        var databaseName = config.GetValue<string>("Mongo:DatabaseName");
        var collectionName = config.GetValue<string>("Mongo:EntityTracking:Collection");

        if (string.IsNullOrWhiteSpace(connString))
        {
            throw new Exception("Mongo connection string is not provided");
        }
}

If the appsettings file doesn't exist for example and throws an exception or the config value validation throws, the error message reported is Error: Could not resolve type MyCommand
I've seen the code tries to create a "pretty" error message but for some reason I don't get the exception message appearing in the console in this example.
To Reproduce
See above
Expected behavior
The exception message rendered to the console
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Shouldn't this code be executed as part of the command Execute method instead of inside the constructor?
public class MyCommand : Command<MyCommand.MySettings>
{
    private readonly IAnsiConsole _console;

    public class MySettings : CommandSettings
    {
    }

    public MyCommand(IAnsiConsole console)
    {
        _console = console ?? throw new ArgumentNullException(nameof(console));
    }

    public override int Execute(CommandContext context, MySettings settings)
    {
        var builder = new ConfigurationBuilder()
            .SetBasePath(Directory.GetCurrentDirectory())
            .AddJsonFile("appsettings.json", optional: false)
            .AddJsonFile("appsettings.development.json", optional: true);

        var config = builder.Build();
        var connString = config.GetValue<string>("Mongo:ConnectionString");
        var databaseName = config.GetValue<string>("Mongo:DatabaseName");
        var collectionName = config.GetValue<string>("Mongo:EntityTracking:Collection");

        if (string.IsNullOrWhiteSpace(connString))
        {
            throw new Exception("Mongo connection string is not provided");
        }

        // Actual business here

        return 0;
    }
}

@jchannon This is by design.
When you add the exception to the constructor, it is impossible for spectre.console to create the command. In this case, the message of the underlying (inner) exception is not shown to the user because it is normally a very technical description.
What you can do is, like @0xced said, move the exception into the Execute part. This way, you'll see the message of the exception as output to the user.
The alternatives to this are described in the Exceptions section of the documentation: Either use PropagateExceptions() or SetExceptionHandler().


Jest Tests

Wait for other PRs to be merged and then do this one.

I'll open a new PR for heroku_ci.sh because its logically a separate feature and I want to merge all Javascript-heavy branches.


Enable STS token exchange for XDS flow

Describe the feature request
Currently, STS token exchange is not enabled for XDS flow.  This feature is to enable STS token exchange for XDS flow.
Describe alternatives you've considered
No alternative since XDS flow should be able to turn on/off token exchange.
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[X ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

https://github.com/istio/istio/pull/29942 does this


macOS <= 10.9: error: chosen constructor is explicit in copy-initialization

The following is a regression from cereal 1.1.2, which does not have this problem.
Full build log: https://gist.github.com/ilovezfs/43068bcbd2aaf678017fbf88f7f62d5c
When trying to build cereal 1.2.1 or the develop branch @ 1e5e6489189c52153f3a197f8bf7c7693ea30902 on macOS <= 10.9 the build fails with
/tmp/cereal-20160903-81215-l0wzgn/./include/cereal/details/polymorphic_impl.hpp:227:61: error: chosen constructor is explicit in copy-initialization
          auto & derivedMap = baseMap.insert( lb, {baseKey, {}} )->second;
                                                            ^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:838:14: note: constructor declared here
    explicit map(const key_compare& __comp = key_compare())
             ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/utility:262:37: note: passing argument to parameter '__y' here
    pair(const _T1& __x, const _T2& __y)

This does not affect macOS 10.10 or 10.11.

Sounds like whatever version of clang Apple is using there has an explicit default constructor for map. Try this and see if it fixes the problem:
Replace line 227 with:
auto & derivedMap = baseMap.insert( lb, {baseKey, std::map<std::type_index, std::vector<PolymorphicCaster const*>>{}} )->second;

I don't have any way of easily testing this myself so if you have to play around to get this to work let me know what had to change.

Today I also encountered this issue and after replacing the line like you suggested it worked fine. Thanks.

I encountered the same issue with with a clang-3.8 + libc++ build on an Ubuntu Trusty machine.  Are there any objections to a PR with the above fix https://github.com/USCiLab/cereal/issues/339#issuecomment-246166717
auto & derivedMap = baseMap.insert( lb, {baseKey, std::map<std::type_index, std::vector<PolymorphicCaster const*>>{}} )->second;

I believe this was addressed here: https://github.com/USCiLab/cereal/commit/fcef0da01a07cca054caf25a2eeddeb5114a7b52#commitcomment-23652411

I've tested the fix from develop and it works fine.  I believe this issue can be closed.

Thanks!


techeability can't be added to MultimodalConversableAgent

What feature would you like to be added?
When I want't add teachability to MultimodalConversableAgent, it appears TypeError,
teachability.py", line 87, in add_to_agent
agent.system_message
TypeError: can only concatenate list (not "str") to list
After I change the code to fit different tye, it raise another ValueError:
conversable_agent.py", line 862, in _process_received_message
raise ValueError(
ValueError: Received message can't be converted into a valid ChatCompletion message. Either content or function_call must be provided.
Why is this needed?
Do you have any plan to add  the teachability to MultimodalConversableAgent?

@rickyloynd-microsoft does teachability support MultimodalConversableAgent in 0.2?

This would be a reasonable extension, but it's currently out-of-scope for our Microsoft team. Maybe a community member would be interested in pursuing it.


Bad links and Upgrade Analytics Adjustment

The Upgrade Analytics link has been updated and fixed to point to Upgrade Readiness
Also renamed Analytics to Upgrade Readiness (which is the new name for the capability being discussed in this section)
Corrected Block at First Sight link

@computeronix,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

I see no reason this could not be merged, though I would like to view the preview of it first....


Revised on the original Application/#154707979

delete constructor(args) {  super(args)  this.state = {projectId: this.props.match.params.id} } componentDidMount () {  this.props.fetchProjectById(this.state.projectId) }
change this.state.projectId into this.props.match.params.id as @sexta13 suggested

@sexta13
I made a change as you suggested.
Since the original branch Application/#154707979 has been closed, I create a new branch Application/#154707979_revised, in which only the code you required is changed.
Please let me know if you have questions.


Bug

Fatal error: Uncaught Error: Class "cooldogedev\libPromise\constant\PromiseState" not found in D:\PocketMine-MP\virions\libPromise\src\cooldogedev\libPromise\thread\ThreadedPromise.php:87
Stack trace:
#0 D:\PocketMine-MP\virions\libPromise\src\cooldogedev\libPromise\traits\SharedPromisePartsTrait.php(73): cooldogedev\libPromise\thread\ThreadedPromise->handleRejection()
#1 D:\PocketMine-MP\virions\libPromise\src\cooldogedev\libPromise\thread\PromiseSettlerThread.php(73): cooldogedev\libPromise\thread\ThreadedPromise->settle()
#2 phar://D:/PocketMine-MP/PocketMine-MP.phar/src/thread/CommonThreadPartsTrait.php(93): cooldogedev\libPromise\thread\PromiseSettlerThread->onRun()
#3 [internal function]: pocketmine\thread\Thread->run()
#4 {main}
  thrown in D:\PocketMine-MP\virions\libPromise\src\cooldogedev\libPromise\thread\ThreadedPromise.php on line 87

there is no other thread running and i haven't changed anything

That's a very strange error, can you provide the steps to reproduce it with a fresh server? +

I tried creating a new server (latest binary and PocketMine-MP version) and re-downloading your virion but the error still occurs

Sorry for the late reply, I'm currently busy with school. It clearly says the class wasn't found it could be a corrupted installation?

I'll try to reproduce this as soon as possible

This bug no longer appears after the latest commit


Not exposed to the external internal routing

At the moment, I are faced with the problem, is the props in the Router. Match(props.match in route) object outside for less than
example of render :
 render() {
        return <React.Fragment>
            <Layout>
                <Header className="header">
                    <div className="logo" />
                    <Menu
                        theme="dark"
                        mode="horizontal"
                        defaultSelectedKeys={['2']}
                        style={{ lineHeight: '64px' }}
                    >
                        <Menu.Item key="1">nav 1</Menu.Item>
                        <Menu.Item key="2">nav 2</Menu.Item>
                        <Menu.Item key="3">nav 3</Menu.Item>
                    </Menu>
                </Header>
                <Content style={{ padding: '0 24px', minHeight: 280 }}>
                    <BreadCrumbWrap
                        style={{margin:'10px 0'}}
                        routes={routes}
                        match={match}
                    />
                    <Router getUserConfirmation={this.getUserConfirmation}>
                        <Switch>
                            {
                                routes.map((route)=>
                                    <Route path={route.path} component={route.component} key={route.path} exact={route.isExact} />
                                )
                            }
                        </Switch>
                    </Router>
                </Content>
                <Footer style={{ textAlign: 'center' }}>
                    Ant Design ©2016 Created by Ant UED
                </Footer>
            </Layout>
        </React.Fragment>
    }

BreadCrumbWrap is my created component, i want to use following router match information .
But it dose not belong to the router, I can't get
i feel router should provide an interface for external use it.

I need a similar history. Listen such function

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!


Please add support for the error line number to the error message for DB2

When using DB2 with DBeaver, it is difficult to debug sql queries without specific line number in the error message.
If possible for the DB2 engine, add support for the error line number to the error message.
Similar FR for sql server:
https://github.com/dbeaver/dbeaver/issues/4816

Thank you for the idea.

Seems like it won't be possible for DB2 as the database doesn't return the number of the line with error, it only sends the error for the entire query regardless if it is written in a single or multiple lines. We already have the functionality to highlight the problematic query in a script, but I don't think more detailed message is possible.


Fix jittering while standing on a turning train

Resolves #47
Resolved with a method overwrite in LocalPlayer. Mojang (for some reason) overrides getViewYRot() to return getYRot() if the player is not a passenger.
Compatibility of this change is yet to be determined.

This change seems to cause some slight weirdness with some mods, but the effect is not too bad so I'm going to merge this anyways. Opening a tracking issue for when I decide to fix that up (which might invoke specific compatibility but oh well).


trouble getting controller type FPS to work

I am playing with using GLAM to build a prototype of a virtual showroom in which I want to place some objects (models, images, videos) that the user can explore in FPS mode, initially just in the browser but eventually using an Oculus Rift as well.
Following the examples I have got my head around the basics but for some reason I can’t get controller type FPS to work. It appears to just be defaulting back to type=”model”, just allowing me to rotate and zoom around the model, rather than move around the space like I am expecting.
For example if I modify https://github.com/tparisi/glam/blob/master/examples/basic/glamcube.html to include a controller tag inside the  tag then it renders fine if I set it to type="model", but when I change it to type="fps" the cube doesn't render, but it also doesn't seem to generate any errors in the console.
example  code that doesn't work:
<scene>
<controller type="fps"></controller>
<box id="photocube"></box>
</scene>
Any help would be much appreciated, and a demo of the FPS controller mode in action would be a great addition to the documentation.

Hey Jules - I verified that this is a bug. I found an issue with fixing it, namely that in order to have a good FPS you will need keyboard input. We need a way to make the GLAM canvas take the keyboard input. Internally there is a way to do that via JavaScript by setting it as a "tabstop" but I need to think about how to surface this to the tag set. Maybe just a "tabstop" attribute on the root <glam> tag?
Any thoughts?

Hi Tony, thanks for getting onto this. So as I understand it the tabstop setting is essentially targeting the canvas inside the glam tag to expect/accept the keyboard input.
I haven't tested whether I can have multiple glam tags (and scenes) in one page, but assuming you can it might make more sense to call the attribute something like keyTarget or inputTarget or something similar rather than expose the tabstop concept at the tag level.
I presume it makes more sense to have that attribute set on the glam tag rather than the scene but that is obviously your call.
Thanks again for looking at this, once we get the fps setting working I would be happy to contribute an example to the GLAM repo for others to refer to.

Good points...
I don't have multiple GLAM canvases working on a single page yet. That's something I need to work on - later.
Would tabstop/keyTarget/whatever automatically give the set focus to the canvas, or would it just make it so that clicking gives it focus?
Do you think this is an appropriate thing to put in the declaration syntax, or would it be better to just provide an API method e.g. glam.focus()?
Tony

No problem on the multiple canvas scenario, I hadn't actually thought of using that in any case. :)
I guess you could add it as an attribute on the GLAM canvas so that if the attribute is present then it would automatically set the focus to that canvas, and then add an API method as well that could be used to programatically switch on and off the focus.
A default behaviour of setting the focus by clicking in the canvas would probably make sense too, then it would still work even if you didn't set the attribute or make the API call.
Is that useful?

Yes very useful. r/e the default behavior of clicking: that makes sense but I would also want to provide a "notabstop" attribute to override that. Thanks for the input; let me meditate a little and I'll keep in you in the loop as I make the changes.!


Update: Add rain wet dry error

corrected false_wet_rate and adopted test accordingly

closed because pulled from wrong branch


I have a new suggestion.

There is a lot of meaning loss when translating images one by one into the language I want, even when I use GPT-4. It makes the mangas feel emotionless as if a robot is speaking. This is probably because the story from previous pages is not known. Now I have 2 suggestions for you. Can you add one of them if it is not too much trouble?
Suggestion 1: Having a way to correct the translated texts before embedding them into the image. While this would be very useful for us, it might reduce the practicality a bit.
Suggestion 2: Processing all the added images in sequence and sending all the images for translation at once. This would greatly reduce the cost since we would send the system prompt only once instead of every time. I also believe this would result in incredibly high-quality translations. After receiving the response, it could then embed the translations into the images one by one. According to my calculations, this would halve the cost. Of course, since this may not suit every user, it would be great to have an on/off switch in the settings.

Additionally, thank you for sharing this amazing program with us. When the quality of artificial intelligence has reached this level, I found it incredibly difficult to wait weeks for a new chapter. This program has been a lifesaver.

I guess you didn't like my suggestions.

@Sterben1579
Hey. Sorry I didn't reply. I've actually been working on a Manual Mode for this app (where you can draw up your own text boxes or look at and edit the OCR Text or Translations so I've been kinda busy)
Your suggestions aren't bad. Although I don't know about pasting the context of the entire chapter or so. That's a huge cost upturn I think. Currently, the LLMs see the entire text for the page. If at say pay 5, I'm also pasting in all the text for the previous 5 pages, that's a lot more context. I'll think about it though. I may implement it as an Optional settings.

If you could add a feature that allows us to edit text on images, move it around, or resize it just like in Photoshop, it would be amazing. I initially suggested sending all the images at once to improve translation quality because I didn't think this was possible. However, your suggested method would be incredible. Being able to edit the images would make all our tasks much easier.

Ok so you don't get too excited, it's not going to be like photoshop. It's just well, the whole process is broken up into parts right ?
First the bubble and text detectors, then OCR, then Inpainting, the getting the translations then Pasting them.
Each of those steps could introduce failure modes. What i'm doing is you being able to correct the aftermaths of those steps. So if the bubble detector misses a bubble then you can just draw the area manually or if the OCR isn't quite right, then you can correct the text in a separate text box on the screen before it gets translated and so on.

Even the features you mentioned above would make our work so much easier. Let me explain why. I have actually been facing an issue for the past few days. I translate from English to Turkish, and mangas often split one sentence into 2 or 3 speech bubbles. English and Turkish have very different sentence structures. So, when those types of bubbles are translated, the resulting sentence structure is very awkward. If you could add a feature to manually adjust translated sentences or manually delete speech bubbles, it would be incredible. I'm eagerly looking forward to it.

After coming across your program, I created a random project and registered for the Microsoft Startup program. I received a $2500 credit from OpenAI. The $2500 credit is just waiting to be used for manga translations :D 👍

After coming across your program, I created a random project and registered for the Microsoft Startup program. I received a $2500 credit from OpenAI. The $2500 credit is just waiting to be used for manga translations :D 👍

Hello, can you explain how you got the loan? Frankly, I would be very happy, I don't have a budget and I have to constantly top up the balance.

Where are u from mate?

ogkalu2

Hello "ogkalu2," how are you? I see that a new update has arrived. Is it an update with the new features we discussed or just a bug fix update? I was eagerly waiting for your new update.

Hello "ogkalu2," how are you? I see that a new update has arrived. Is it an update with the new features we discussed or just a bug fix update? I was eagerly waiting for your new update.

It's not the new update. Just bug fixes and an updated Readme. I'll let you know when that's done. Might take a week or two.

It's not the new update. Just bug fixes and an updated Readme. I'll let you know when that's done. Might take a week or two.

I am eagerly awaiting the new update. I’m so excited about it that I can hardly sleep at night. Is there an estimated release date?

@Sterben1579 Today Probably. Maybe Tomorrow

It's up now


Move Speakers Data To Sanity

We want to move the speaker data found in data/speakers.js to sanity.io so that we can have site admins update the content as needed.
You will need to get the sanity.io api token from @mikelnorth to connect your sanity studio for development.

This is dependent on the speaker's page being completed

I got this finished.


Post-beta enhancements

Opening this as a catch-all for anything we come across that we should add after the beta release. I figure we can collect these here for now and then break them out into individual issues when it's time to assign and work on them.

Ability to specify new names for each migrated VM in the plan wizard
Ability to specify a different target namespace for each VM in the plan wizard

Also, we now have a post-beta label for issues that are better-defined, and we should move any of these that we decide to keep into their own issues.

@ahadas do we support
Ability to specify new names for each migrated VM in the plan wizard
Ability to specify a different target namespace for each VM in the plan wizard

in the backend ?
p.s.
@rszwajko  is currently working on incorporating a vm list in the plan form, we can add editable "new name" and "new namespace" and "hook" to this table

closing because backend do not support this feature


Implement Comment Section (UI) #24... (Using bootstrap)

I created this section using a download bootstrap. I will tried to work on another version using JS and HTML without bootstrap.

@sobogunkenny  this code you wrote is not readable.
Besides we are not using any external CSS

@sobogunkenny  this code you wrote is not readable.
Besides we are not using any external CSS

Okay. Noted.


feat: OPTIC-1360: [BE] create Account settings endpoints that handle existing functionality in the django template

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[x] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[x] Backend (API)
[ ] Frontend

Describe the reason for change
Adding endpoint for getting the needed information about a user in an organization for the new Settings page.
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[x] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e

[ ] integration

[x] unit

https://github.com/HumanSignal/label-studio-sdk/pull/364 linked by Workflow Run

Left a small question but overall looks great! Good job @mcanu !

/git merge develop


[SPARK-8749][SQL] Remove HiveTypeCoercion trait.

Moved all the rules into the companion object.

Merged build triggered.

Merged build started.

Test build #36231 has started for   PR 7147 at commit c1c6dc0.

lgtm

Test build #36231 has finished for   PR 7147 at commit c1c6dc0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


fix: Force the app language to be set by the router

Hi everyone,
Despite doing a lot of tests, after deleting data from the application, and restarting it, an error was raised.
So I made a code similar to the migration tool... but in the router.

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (a6faac0) 9.89% compared to head (46601cb) 9.89%.

Files
Patch %
Lines

.../smooth_app/lib/pages/navigator/app_navigator.dart
0.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #4819      +/-   ##
==========================================
- Coverage     9.89%   9.89%   -0.01%
==========================================
  Files          311     311
  Lines        15784   15786       +2
==========================================
  Hits          1562    1562
- Misses       14222   14224       +2

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


Add support for config-driven channel registration for structs

Scenarios:

Struct as an "object prototype" could have an object mapping of names -> types, for channels that get registered to every struct instance
Potentially per-instance name -> types mapping, for config-driven instance-specific channel registration?

It might make sense for each struct instance to be passed some configuration data during build.

This is implemented.


Test for alternative class assignment

Foo = Class.new
is equivalent to:
class Foo; end
We should treat it as such, not as just any other constant.
WIP, implementation to come. Early comments welcome.

Marking this as closed pending real implementation. I'm not opposed to it, but I'm not in favor of it either. It really would depend on how much complexity was involved.
One difference in the calculus from my decision 2 years ago is that the legacy handlers would no longer need updating for this. You can support the regular Ruby handlers only.


Two entitlements files

@nikDemyankov
Hi again,
One more question about the plugin.  I am using Xcode 7.0.1 and before I installed your plugin, my Cordova project already had an entitlements file in the Root directory with an entry for webcredentials:mydomain.com.  The name of the file being My Project.entitlements.  When I do a Cordova Prepare command, the plugin adds another entitlements file in the Resources directory with applinks:www.mydomain.com and the file has the exact same name as the other entitlements file in the ROOT directory.   Everything works fine with the universal links as I posted before in the other post.  My question is whether this is a bug or intentional?
I also noticed that under Build Settings > Code Signing > Code Signing Entitlements is pointing the entitlements file that the plugin created in the Resources directory.
Thanks!

This is not a bug, this is totally fine. You can have as many entitlements files as you want.
From the native developer perspective, to enable Universal Links in Xcode you need to:

Open Capabilities tab of your project and activate Associated Domains feature.
Add there records in format: applinks:<your_domain>, where <your_domain> is... your domain :)

As a result, Xcode will generate .entitlements file with proper data. And this file is usually created in the root folder of the project.
Our plugin does all that on a cordova build phase (or ionic build):

Creates .entitlements file if it doesn't exist in the Resources folder. If it does - it will append data to it.
Put's there all hosts, that you defined in config.xml.
Add's that file to the build target.
Add's it to the Code Signing Entitlements because it is a custom entitlements file.

Why do I put it in the Resources folder? No reason, actually. Just because I like it to be there. Plus less chances of conflicts with the existing entitlement file. If you want - you can move it.

Excellent, thank you again for the thorough explanation.  Everything is working very well, great work!

Thanks :)

Hi Nik,
I followed your indications and can see the /Resources/myApp.entitlements file being created but it doesn't seem to be added to the build target as you mention, nor is the path to the Resources folder added to the 'CODE_SIGN_ENTITLEMENTS'.
It only seems to be added to the build when placed under the root folder of the project.
I'm running Cordova 6.4.0 and build for iOS >9.0
Am I missing anything?

@MarsupiL I'm facing the same issue. I see the file under Resources/<appname>.entitlements but XCode cannot seem to recognize it. That is why when I look under the Associated Domains under Capabilities, none of the links are there. Any idea why ? cc @nikDemyankov
Thank you very much for your help in advance!

@adityasaxena @MarsupiL Tried it on the fresh project and .entitlements file was added to the project, and I can see Associated Domains active in the Capabilities tab.
 If not, please, do.
What node version you are using?
What cordova iOS platform version you are using?
Maybe some step-by-step guide how to get this error...

If I would be able to reproduce it - I should be able to fix it...

Haven't tried on a new project yet, but I managed to fix it using the cordova-custom-config plugin to add the CODE_SIGN_ENTITLEMENTS and the content of the Entitlements-Debug.plist and Entitlements-Release.plist files introduced in Cordova-ios 4.3.0.
I'm using node 7.0.0 and Cordova-ios 4.3.1

Prior to 4.3.0 Cordova didn't have entitlements file, so I had to implement a custom hook that will generate it and add to the Xcode project. But now they do - so yes, one way to go is to use your approach. Although, it's strange that you are facing this issue :(

So I created a new project and can confirm that there is a conflict with the cordova-custom-config plugin. The plugin itself does not create issues but as soon as I set any preference for an XCBuildConfiguration element in the config file it seems to remove the CODE_SIGN_ENTITLEMENTS set to /Resources/myProject.entitlements defined by your plugin.

Okay, thanks for the input, will check it out. At least now I know how to reproduce it.

Correction: even without any custom config preference set, the custom-config plugin overrides the entitlements set in the project.pbxproj

I'm the author of the cordova-custom-config plugin and I've finally made some time to look into this.
I'm unable to reproduce a scenario where this plugin causes the loss of the reference to the entitlements file created by the universal links plugin - see this screencapture for my test results.
For more details, see my last comment regarding this on the issue opened against cordova-custom-config regarding this behaviour.

@dpa99c and @nikDemyankov this is definitely an issue for anyone who uses the Cordova CLI as its intended.  If you do a "cordova platform add ios" and look at the build.xcconfig file for ios, this points to the Entitlements file that should contain all of your capabilities such as push, or whatever else..
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist

When plugins modify the value of CODE_SIGN_ENTITLEMENTS for their own purposes and point to Resources/{appName}.entitlements, they dont merge with the capabilities or other config thats already set in Cordova's Entitlements-debug.plist or Entitlements-release.plist files.  This messes up Cordovas automatic release/export through the CLI because now you're required to manually change capabilities before building/releasing.  This is a problem for people who use the Cordova CLI as intended to where you shouldnt even need to open Xcode and can do Continuous integration builds.
Basically, plugins need to upgrade their hooks to set entitlements values in Cordovas Entitlements-debug.plist and Entitlements-release.plist files that are generated with the CLI, rather than invalidating those files

Update: I found and fixed a bug (see #108) which should resolve this issue when this plugin is used in conjunction with cordova-custom-config. The bug has nothing to do directly with modification of CODE_SIGN_ENTITLEMENTS, but was a race condition in file I/O which caused cordova-custom-config to overwrite modifications made by this (and other) plugins.
The fix has been published in a patch release<EMAIL_ADDRESS>

Thanks so much! I had fixed this in another plugin but that was in internal
thing. Glad we have the fix now. Cheers!

the problem is still there. Use https://github.com/chancezeus/cordova-universal-links-plugin in mean while, it has the problem fixed.


Fixed #26483 -- Change docs.python.org links to point to Python 3

Added version 3 on every docs.python.org links (grep "docs.python.org" docs -R)
Kept python 2 links in :

docs/releases/{1.3, 1.4, 1.6}.txt (python 3 wasn't supported)
docs/releases/1.9.txt (specific python 2 reference to httplib.responses L1056)
refs/utils.txt (python2 reference specified)
topics/python3.txt

Could you please use my initial patch on the ticket and try to use intersphinx where possible?

Updated in https://github.com/django/django/pull/6570


Added Himalaya Darshan College.

@gitkailash First stage of verification passed, official domain is himalayacollege.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@gitkailash Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Possible to upload videos?

I grabbed a .mp4 right off Instagram.com so I know the file type is right, but the upload isn't working... any thoughts on how to get the script working for video?

@stursby did you solve the problem? I'm searching a way for it too.

@torlakfaruk no, I didn't. I messed around with different video types, encoding, etc... couldn't get it to work.


Object serialization documentation issue

http://s3.thinkaurelius.com/docs/titan/0.9.0-M2/serializer.html#_custom_object_serialization
"The last requirement is Titan specific"
This sentence assume that the 2 first points are true for all other Tinkerpop graph db, which is not true at lease for the 1st point because AttributeSerializer is a Titan trait.
Unrelated to above, a 'd' is missing:
Titan supports arbitrary objects as property attributes and can serialize such objects to disk

Hi,
I think the documentation issue is stikl here because the first requirement IS Titan specific:
"The class must implement AttributeSerializer"
As AttributeSerializer is in the Titan API.


Introduce a surface syntax for record updates

As everybody noticed, the current syntax for record updates is cumbersome. Here is an example:
https://github.com/informalsystems/quint/blob/4ac41a437fb800133089398773b301818d1175ca/examples/cosmos/ics20/ics20.qnt#L80-L82
The truth is that there is no syntax for record updates. This is simply an operator in the standard form.
As already discussed in #570, it would be great to have a more intuitive syntax for record updates, especially, for updating multiple fields. However, we do not want to introduce a more complex operator for record updates. This calls for a surface syntax. In the spirit of the syntax proposed by @shonfeder in #570, I am proposing a special syntax form in the grammar. The spread syntax looks like a natural candidate:
{
  ...chainState,
  bank: bankResult.accounts,
  outPackets: chainState.outPackets.union(Set(packet))
}

Note that this will be only a surface syntax, which will be immediately replaced with the with operator by the parser. By doing so, we will keep the IR simple, and the users happier.
An alternative is the rust syntax for struct updates. However, the rust syntax requires a struct type, which we would like to avoid.

There is also the ocaml syntax, which is very clear imo:
{ oldRec with new1 = 2, new2 = 3  }

This is a duplicate of https://github.com/informalsystems/quint/issues/816

There is also the ocaml syntax, which is very clear imo:

{ oldRec with new1 = 2, new2 = 3  }

While I share the sentiment of OCaml syntax over JS syntax, I believe we would get more delight points from using the more familiar JS/Rust syntax.

I guess it's just a question of ... vs. with, so the stakes are pretty low. I think it goes against our design principles to pick a more cryptic operator, but maybe we'll find the splat syntax can be used for collections as well.


Changing deprecated Ansible functionality

and reusing changes from https://github.com/William-Yeh/ansible-prometheus/pull/66/commits/8d05fac89e918b90165d779c601d08de20134fce

Modified since https://github.com/William-Yeh/ansible-prometheus/tree/2.5.0


Add tests to verify git plugin is installed(ODS-452)

Signed-off-by: prudhvi<EMAIL_ADDRESS>

Jenkins Link: https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/555/
Result: Passed

Sanity  is added as a force tag on Line 12  Force Tags          Smoke    Sanity    JupyterHub , Shall I add it again?

I believe this is already tested in tests/Tests/500__jupyterhub/plugin-verification.robot but @tarukumar might be able to confirm it
Additionally, until we have a clear policy about Sanity/Tier1 tags I think Sanity should be added too as tag

Sanity is added as a force tag on Line 12 Force Tags Smoke Sanity JupyterHub , Shall I add it again?

Sanity is added as a force tag on Line 12 Force Tags Smoke Sanity JupyterHub , Shall I add it again?
Sorry, I didn't see it. I personally don't like Force Tags very much but no need to add it if all tests in the test suite follow this pattern

This has already been automated in https://github.com/red-hat-data-services/ods-ci/pull/256

This has already been automated in #256

if it's already automated then @prudhvi-165  can u close it,  @lugi0  can u please share your thoughts on it?

+1 @milindw96 , I think this should be closed


Library - Design kit page design

Rework design page for libraries to better reflect schema and structured data.
Deliverables:
Draft new design

[x] mock up new table based on schema information
[x] mock up new cards similar to current design
[x] get feedback on kits representation (table vs cards)
[x] incorporate standard copy from aubrey to overall design
[x] decide how to group kits (based on tool?)

Final design

[x] Final design based on feedback
[x] Add to prototype
[ ] Redlines

Conclusions
For V1, we will leave the catalog as is. No thumbnail or list view, but libraries must contain description (To do: write library descriptions and provide best practices and character counts)
We will not surface a status note right now. We aren't surfacing this in assets right now and the cards are overcrowded already. This will need to be thought through a bit more since it could also include elements potentially. If something needs to be called out, the description could be utilized much like Figma does it.
Design kits can be found in 3 places:

Getting started designing (Core libraries and most helpful local libraries)
Design kit catalog (Contains all design kits)
Library design kit page (Schema driven, only includes design kits that are associated with the assets in libraries, a 1:1 relationship)

For post v1
We need a better catalog experience for libraries and design kits. This could be more faceted or even guided, but work needs to be done on that experience.
We would like to add a list view for catalogs. We have heard from different people that a list view would be helpful when a user knows exactly what they need. It's a closer experience to what's on . This means we will most likely get rid of the grid view at some point. We would need to user test the views which I think could be just some easy, casual tests.


Add a HashMap.collector(Function, Function) for key/value mapping.

Java 8 comes with java.util.stream.Collectors#toMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>) which is really useful for collecting a stream of values into a specific key/value shape.
Currently Javaslang requires one to first map to a Tuple2 and then use HashMap.collector() which works fine in a lot of cases, but depending on your code base, the calling function might not have access to the stream itself.
Providing a HashMap.collector(Function) (key map function, value using Identity) and a HashMap.collector(Function,Function) (key and value mapping functions) similar to that provided by the JDK would be a big win.

I will move all incoming feature-requests to 3.0.0 now - otherwise we will never see 2.1.0.

Fixed with #2017 by @ruslansennov


com.impetus.kundera.KunderaException: All hosts are down. please check servers manully.

I am having a web application built with Play!  framework 2.4 and I am using Kundera as an ORM tool for connecting to Cassandra database. Cassandra is installed on my local system. I have downloaded this application from Git itself for an example of CRUD operations with Cassandra and Kundera. I have not been able to connect to the Cassandra database from my application. After making several changes in the persistence.xml file, lastly I am getting  the below error in my application:
com.impetus.kundera.KunderaException: All hosts are down. please check servers manully.
at com.impetus.client.cassandra.thrift.ThriftClientFactory.getPoolUsingPolicy(ThriftClientFactory.java:215) ~[kundera-cassandra-3.2.jar:na]
at com.impetus.client.cassandra.thrift.ThriftClientFactory.instantiateClient(ThriftClientFactory.java:200) ~[kundera-cassandra-3.2.jar:na]
at com.impetus.kundera.loader.GenericClientFactory.getClientInstance(GenericClientFactory.java:259) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.persistence.EntityManagerImpl.discoverClient(EntityManagerImpl.java:990) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.persistence.EntityManagerImpl.(EntityManagerImpl.java:142) ~[kundera-core-3.2.jar:na]
[error] m.p.EmployeeProcessImpl$ - All hosts are down. please check servers manully.
What could be the wrong thing in my application ? Please help me in connecting Cassandra db from my application. I am using Cassandra 2.2 version.

@vinitsharma87
You raised a related issue with a different exception. Are you able to solve this "All hosts are down" issue?
-Dev

I face a strange problem, wheneve I write EmployeeExample in persistence.xml, I get All hosts are down error, while when I change it to employeeexample, I get some other error stating that Kundera cannot find the entity Employee. What could be the problem ?

@devender-yadav  as of now its showing a different error now. I guess my database may have got connected. It shows the below error when I try to open the listing page of Employees. The error is as under:
com.impetus.kundera.query.QueryHandlerException: No entity found by the name: Employee
at com.impetus.kundera.query.KunderaQuery.initEntityClass(KunderaQuery.java:608) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.query.KunderaQuery.postParsingInit(KunderaQuery.java:540) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.query.QueryResolver.getQueryImplementation(QueryResolver.java:86) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.persistence.PersistenceDelegator.getQueryInstance(PersistenceDelegator.java:560) ~[kundera-core-3.2.jar:na]
at com.impetus.kundera.persistence.PersistenceDelegator.createQuery(PersistenceDelegator.java:521) ~[kundera-core-3.2.jar:na]
[error] m.p.EmployeeProcessImpl$ - No entity found by the name: Employee
Any reason you know for this error generation ? What things I need to check VERSION SPECIFIC so as to avoid any conflicts getting generated because of the version related errors ?

As discussed, problem was with the configuration. Closing as not an issue.