Bucket: Cannot create AWS S3 in us-east-1 region

Is this a bug report or feature request?

Bug Report

Deviation from expected behavior:
Attempting to create a Bucket backed by ResourceClass in region: us-east-1 will result in no bucket being created, and a constant loop of reconcile.
2019/02/13 19:44:16 reconciling bucket.storage.crossplane.io/v1alpha1: crossplane-system/crossplane-east-bucket-2
2019/02/13 19:44:16 reconciling s3bucket.storage.aws.crossplane.io/v1alpha1: crossplane-system/bucket-93a66228-2fc7-11e9-842f-42010a80016e
2019/02/13 19:44:16 reconciling s3bucket.storage.aws.crossplane.io/v1alpha1: crossplane-system/bucket-93a66228-2fc7-11e9-842f-42010a80016e
2019/02/13 19:44:16 reconciling s3bucket.storage.aws.crossplane.io/v1alpha1: crossplane-system/bucket-93a66228-2fc7-11e9-842f-42010a80016e
2019/02/13 19:44:16 reconciling s3bucket.storage.aws.crossplane.io/v1alpha1: crossplane-system/bucket-93a66228-2fc7-11e9-842f-42010a80016e
...

Underlying S3Bucket shows
Conditions:
    Last Transition Time:  2019-02-13T19:43:44Z
    Message:               InvalidLocationConstraint: The specified location-constraint is not valid
                           status code: 400, request id: E1123A57BFC745E8, host id: 7m/WCehj5bIvKYtJEkeOV6xqS5tMuD4iqCoUUezrUtAR20D8knqzJOb52WZV6QRlKlAeozlCsFE=
    Reason:                Failed to create resource
    Status:                True
    Type:                  Failed

Expected behavior:
Bucket is eventually created, and accessible.
How to reproduce it (minimal and precise):
kubectl create secret generic aws-provider-creds --from-file=credentials=~/.aws/credentials
---
# AWS provider that references the secrete credentials
apiVersion: aws.crossplane.io/v1alpha1
kind: Provider
metadata:
  name: aws-provider
  namespace: crossplane-system
spec:
  credentialsSecretRef:
    key: credentials
    name: aws-provider-creds
  region: us-east-1
---
# ResourceClass for AWS S3 Buckets
apiVersion: core.crossplane.io/v1alpha1
kind: ResourceClass
metadata:
  name: s3-bucket-east
  namespace: crossplane-system
parameters:
  versioning: "false"
  predefinedACL: private
  region: us-east-1
provisioner: s3bucket.storage.aws.crossplane.io/v1alpha1
providerRef:
  name: aws-provider
reclaimPolicy: Delete
---
# bucket resource
apiVersion: storage.crossplane.io/v1alpha1
kind: Bucket
metadata:
  name: crossplane-east-bucket-2
spec:
  name: crossplane-east-bucket-2
  predefinedACL: Private
  localPermission: ReadWrite
  classReference:
    name: s3-bucket-east
    namespace: crossplane-system

Environment:

OS (e.g. from /etc/os-release): Container-Optimized OS from Google
Kernel (e.g. uname -a): 4.14.65+
Cloud provider or hardware configuration: beta.kubernetes.io/instance-type=n1-standard-4
Crossplane version (tag, release, helm chart version): 0.0.0-350.ae6ef1a
Kubernetes version (use kubectl version): client v1.10.12, server 1.11.6-gke.2
Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift): GKE

I've noticed in the docs, https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region it indicates that no location constraint is required for us-east-1.
We set a location constraint here:
https://github.com/crossplaneio/crossplane/blob/ae6ef1a7ca0df035e4097441be7c5eecd4743f24/pkg/clients/aws/s3/s3.go#L183
As a starting point, I might test if removing the location constraint if it's us-east-1 resolves this.


Update to aiohttp 3

as well as several other code cleanups (flake8 without excludes E codes).
Also drop support for python 3.4 and add 3.7.
Tests should pass and docs build ok on python 3.5 and 3.7 (not tested with 3.6)

I recommend using pre-commit+black for formatting so you don't have to hand-format these any more. See https://github.com/marshmallow-code/marshmallow/blob/dev/.pre-commit-config.yaml for example.
I also recommend removing invoke in favor of using tox for running dev commands, which we've done in all the marshmallow libs: https://github.com/marshmallow-code/marshmallow/issues/1020#issuecomment-433544037.
Feel free to take or leave these recommendations, though.. whatever you're most comfortable with is best.


Fix #2238: Drop support for Strong Mode.

As was announced in
https://groups.google.com/forum/#!topic/strengthen-js/ojj3TDxbHpQ
the Strong Mode experiment has been canceled, and support for Strong
Mode will be progressively removed from V8.
There is therefore no point supporting Strong Mode anymore.

Review by @nicolasstucki and @gzm0

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2859/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3686/
Test PASSed.

I assume you git greped for various combinations of "strong mode" and didn't find anything anymore. If so: LGTM

I searched for "strong" in the GitHub interface: https://github.com/scala-js/scala-js/search?utf8=✓&q=strong

I checked with git grep as well. You seemed to have caught everything.
LGTM.

LGTM


Nucleo mounting hole in the wrong place

One of the nucleo mounting holes doesn't line up.  See datasheet/drawing for correct location.

closing this ticket be cause we will move the STM32 to the board directly so this no longer applies


Update Commands doc with info on what scenarios global commands are intended for

http://docs.asp.net/en/latest/dnx/commands.html#comment-2341662532

Not needed anymore now that we are moving to .NET CLI.


Make inline links, links

Currently links within the text are not clickable links. Would be nice if they could be clickable. Not sure if this will be solved by #211

child of #3

implemented with #248 closing.


✨ Uplift IPAM, CAPI to v0.4.7 in release-0.5 branch

What this PR does / why we need it:
Follows https://github.com/kubernetes-sigs/cluster-api/blob/v0.4.7/go.mod to uplift packages.
Updates:

github.com/metal3-io/ip-address-manager/api to v0.0.0-20220203134753-f57cb5214075
sigs.k8s.io/cluster-api to v0.4.7

Downgrades two packages to be compliant with corresponding CAPI release:

controller-gen.kubebuilder.io/version: v0.6.2
k8s.io/utils to v0.0.0-20210802155522-efc7438f0176

This should also solve the cert-manager issue in e2e v1a5 jobs since we were using CAPI version v0.4.4 which points to the old home of cert-manager (more on this thread: https://kubernetes.slack.com/archives/C4NV3DWUC/p1643793752687769) and now it is moved from  jetstack -> cert-manager

/test-v1a5-e2e

test-v1a5-e2e

It passed where it was failing, but I had to push more changes, re-triggering again.
/test-v1a5-e2e
/test-v1a5-integration


add: php 8.1 images

Also please update README, and, if not too much, tweak the action

README and diff fixed; CI precedence still not sorted out though;


Docs: Update user story

Change content and priority of some user stories in DeveoperGuide.adoc
Clean up DeveoperGuide
Add discrete label to use cases

Coverage remained the same at 90.858% when pulling 96a49fd01f81494c2eaca89e01f942f312c0766b on HanYaodong:doc-user-story into ff131fd87cc2f7c9aed7ad919d13053d051e5a84 on CS2103AUG2017-F11-B4:master.


Add User-Agent header to Java client

Issue:#12295
It looks like we already add the User-Agent header in the .NET Client and since the header is set by browsers by default we only need to set it in the Java client now.
https://github.com/aspnet/AspNetCore/blob/8c02467b4a218df3b1b0a69bceb50f5b64f482b1/src/SignalR/clients/csharp/Http.Connections.Client/src/HttpConnection.cs#L554

We should also take a look at https://github.com/aspnet/AspNetCore/blob/8c02467b4a218df3b1b0a69bceb50f5b64f482b1/src/SignalR/clients/csharp/Http.Connections.Client/src/Internal/WebSocketsTransport.cs#L40 and see if we can fix it now

For JS we have a VERSION constant which is the full version. We can parse it, or add a new SHORT_VERSION constant or something with just the major/minor component.

How are we planning on sending the user-agent with the JS client? I don't think we can reliably modify the User-Agent header. It looks like the fetch spec technically allows it, but this still-open 4-year-old chromium bug to support modifying the User-Agent makes me think we shouldn't rely on this. Should we use some other header to send the custom user agent? Or is the default browser User-Agent good enough?

Or is the default browser User-Agent good enough?

That would let consumers know that the client is using the browser, but we wouldn't get any version information, right? Is that good enough for our purposes? @Tratcher mentioned using X-User-Agent as an alternative I believe.

Plan: Retarget this to master. Get it merged in. Then open issue to backport to 3.1 when available. That way we get it in the code ASAP and don't have to wait for the branches to be in the perfect state.

I'll squash my commits and re target on to master. Just wanted to finish up the changes I was working on today here.

This is what the user agent header looks like now
Product - Version - Detailed Version - OS - Java - Java Vendor - Java Version
Microsoft SignalR/99.99.99; 99.99.99-dev; Windows NT; Java; Oracle Corporation; 10.0.1

Also it looks like the bug associated with being able to set restricted headers, aka User-Agent, in websocket client are still open so we still need to comment out the code that @BrennanConroy pointed out above..

Tracked here now: https://github.com/aspnet/AspNetCore/pull/13168


Negotiation of higher DHE primes

It is alleged that it may be possible to factor 1024 bit Diffie Hellman primes,
See: http://arstechnica.com/security/2015/10/how-the-nsa-can-break-trillions-of-encrypted-web-and-vpn-connections/
Softether (v4.20) negotiates MODP 1024 (Group 2).
I have verified this with Wireshark.
This is out of line with the spec that says it supports MODP 1536 (Group 5)
https://www.softether.org/3-spec
Can we have it changed so the Softether Client / Server negotiates higher Diffie Hellman primes? At least 2048 bit primes or (even better) Elliptic-Curve support?

Hi NoahO
Yes SE supports both group 2 and group 5. But the server simply chooses the first Security  Association (SA) it can support and not the best.
This is actually quite easy to implement and in my opinion does not violate the ISAKMP RFC.
Do you know whether IPSec implementations (like strongswan) choose the first or the best SA?
Cheers

Modify files:
/src/Cedar/Server.c
Line 132:
#define SERVER_DEFAULT_CIPHER_NAME "AES128-GCM-SHA256"
/src/Mayaqua/Network.c
Line 236:
static char *cipher_list = "AES128-GCM-SHA256 AES128-SHA256 AES256-GCM-SHA384 AES256-SHA256 DHE-RSA-AES128-GCM-SHA256 DHE-RSA-AES128-SHA256 DHE-RSA-AES256-GCM-SHA384 DHE-RSA-AES256-SHA256 ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES256-SHA384";
Recompile, instructions in BUILD_UNIX.TXT
Install:
cp bin/vpnserver/hamcore.se2 /opt/vpnserver
cp bin/vpnserver/vpnserver /opt/vpnserver
Good luck

@omlaverde thanks for the tip. Do you have a PR with this content??

@NoahO btw a PR got merged couple of weeks ago, that added higher DH groups. Is that what you are looking for?

@moatazelmasry2 if you mean this PR https://github.com/SoftEtherVPN/SoftEtherVPN/pull/293/
I don't think it solves the negotiation issue? Only add higher primes.

@omlaverde are you sure that works? I don't see how it changes what DHE primes are used?

@Noaho ah ok, I misunderstood. In this case this is not yet implemented but we definitely should

Had a quick look at this. The following at a minimum should work:
/src/Cedar/IPsec_IkePacket.c
Line 2635
Comment out the following lines:
e->IkeDhs[IKE_P1_DH_GROUP_768_MODP] = e->EspDhs[IKE_P2_DH_GROUP_768_MODP] = dh1;
e->IkeDhs[IKE_P1_DH_GROUP_1024_MODP] = e->EspDhs[IKE_P2_DH_GROUP_1024_MODP] = dh2;
e->IkeDhs[IKE_P1_DH_GROUP_1536_MODP] = e->EspDhs[IKE_P2_DH_GROUP_1536_MODP] = dh5;
Are the older cryptos still safe? Even with these changes it will probably still try to use DES.

Is https://forum.softether.org/viewtopic.php?t=65286 related?


fix spell error

Thanks for finding and fixing this! The documentation is actually pulled directly from the electron/electron repository and so documentation changes need to be made there.
electron/electron


unmangaged/uncontained clutter view by default

By default we show uncontained/unmanaged containers in the topology. In many cases this clutters the view and makes for a bad first impression. See our public demo for an example.
Hence I reckon we should hide unmanaged/uncontained by default.

@davkal @foot any clues where in the code the default is determined? I can't even work out whether it's f/e or b/e.

In the BE!
https://github.com/weaveworks/scope/blob/c80eb42/app/api_topologies.go#L56

@foot see PR #1694 :)


feat: support additional date formats MM, YY, YYYY #359

Alaska Airlines Pull Request
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Add support for new date formats 'month', 'year', and 'fullYear' in the input component and update the documentation with examples for these formats.
New Features:

Add support for additional date formats including 'month', 'year', and 'fullYear' in the input component.

Documentation:

Update documentation to include examples and usage instructions for the new date formats 'month', 'year', and 'fullYear'.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tag not working

Example code

  ⚡ GitHub Stats

1. something
2. foo
3. bar

OR

  ⚡ GitHub Stats

![GitHub Streak Stats](http://github-readme-streak-stats.herokuapp.com?user=withrvr&date_format=j%20M%5B%20Y%5D)

![withrvr GitHub Stats](https://github-readme-stats.vercel.app/api?username=withrvr&show_icons=true)

![withrvr GitHub Most Used Language Stats](https://github-readme-stats.vercel.app/api/top-langs/?username=withrvr&langs_count=10&layout=compact)

Images

I meet the same issue today.
Add this in your style.scss, and the small triangle will back.
details > summary:first-of-type {
    display: list-item;
}

(If you don't have a style.scss yet, please follow the guide in Read Me.)
Besides, if you want to use markdown inside a HTML tag, markdown='1' is necessary.

  ⚡ GitHub Stats

1. something
2. foo
3. bar

Futher information: kramdown syntax. (Search “By default, kramdown parses all block HTML tags and all XML tags as raw HTML blocks.” if the browser jumps there.)

I think update normalize.scss would fix it forever and for all.

The Details Tag
Used to create content that can collapse or expand upon the user clicking on it.
Syntax

 Some Summarized Text
 Your Content
 Your Content

The summary tag is nested in the details tag and it has the only content that will show when collapsed.
You can play with it in your HTML code

Thanks for explaining the syntax, but it's not the key. The default triangle widget which indicates “you can click me to expand” is overwritten by mistake in normalise.css v3.0.2:
https://github.com/pages-themes/cayman/blob/29f8a343aad3bd9eea1173c01ab45a8a20acd7ff/_sass/normalize.scss#L45-L47
(The widget is a kind of list-style, so it appears when display: list-item but not when display: block;)


seamless authentication from CLI (no more token pasting!) addresses DSDEEPB-355

added Google Application Default Credentials
added --insecure flag to connect to servers without valid SSL certificates
refactored into packges
added setuptools install
created installation script for end-users
cleaned up installation to avoid users putting junk in their path
better error handling
added more informative message if gcloud credentials could not be used

This is very neat. Not a lot of code to get your requests authorized. Also, I've never worked with setuptools, python virtual environments, or traps in bash. So I learned something :)

comments addressed, rebased & squashed


Linux 64 Loader -- update requested for perf/prof fallout

Similar to how prior to cd8774d477a5294954a45bc07e4886315c055d29 the loader was broken on perf/prof branches, the linux64 does not find it's 12MemFunctions entrypoint anymore, presumably for similar reasons.
As one of the few things I have 0 idea of how to fix w/o significant effort or help, it would be nice to get a patch similar to cd8774d477a5294954a45bc07e4886315c055d29 to get it alive again on the preview branches.
If  there's anything I can do to facilitate that given ready access to linux system all day every day, let me know. I appreciate the help on that one given the obscurity :rofl:

I don't have the linux setup to test it, so would be amazing if you could test and turn it into a PR?
https://github.com/intercept/intercept/blob/cd8774d477a5294954a45bc07e4886315c055d29/src/host/loader/loader.cpp#L136 This is failing?
I can find "12MemFunctions" in latest performance x64 linux server
I think this
https://github.com/intercept/intercept/blob/cd8774d477a5294954a45bc07e4886315c055d29/src/host/loader/loader.cpp#L166-L167
Would fail.
Either this
ref -= 8;
ref = findInMemory(reinterpret_cast<char*>(&ref), sizeof(uintptr_t));
if (!ref) return 0;
return ref + 0x8;

or this
return ref + 0x16;

should work, can you try that?
The address should end (latest profiling "performance" binary) at 95D0


Remove React dev tools upsell

React dev tools have been broken since we moved to web worker but we had a gigantic upsell for them. This must be a very frustrating experience for people just starting to use react native to be told to use something and see that it doesn't work.
Removing that upsell until it works again

:+1

@facebook-github-bot shipit

It works like a charm if you're using Nuclide. Cross promotional material! ;)


Downloads fail due to limited free space

I only have a certain free space available in %TEMP%. And a result of that is downloads through SCP fails because it uses temp as a space to write the downloading file before moving it to destination folder.
There should be a way to download direct to a destination folder without using %TEMP%.
More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More? More?  echo 6^e58697b-28a1-4b4d-9090-2975b9e5aa6f&(echo 6f6282fb-f21e-4686-9b4f-b00506bd7542)1>&2&(where /q pwsh && pwsh -NoProfile -Command "$ErrorActionPreference = 'Stop';$i = [Console]::OpenStandardInput();$o = [System.IO.File]::Create('B:\TEMP\xpipe\download\Exported Version v2\Virtual Hard Disks\410797FF-A5CE-44AB-98A6-DE7CCDFE4B1E.avhdx');$left=[long] 4194304;$buffer = new-object byte[] 33668;while (($left -gt 0) -and ($read = $i.Read($buffer, 0, [math]::Min([long] 33668, $left)))) {$o.Write($buffer, 0, $read);$left=[math]::Max($left - $read, 0)};$o.Close()") || (where /q pwsh || powershell -NoProfile -Command "$ErrorActionPreference = 'Stop';$i = [Console]::OpenStandardInput();$o = [System.IO.File]::Create('B:\TEMP\xpipe\download\Exported Version v2\Virtual Hard Disks\410797FF-A5CE-44AB-98A6-DE7CCDFE4B1E.avhdx');$left=[long] 4194304;$buffer = new-object byte[] 33668;while (($left -gt 0) -and ($read = $i.Read($buffer, 0, [math]::Min([long] 33668, $left)))) {$o.Write($buffer, 0, $read);$left=[math]::Max($left - $read, 0)};$o.Close()")&(call echo 586fc40c-b8e2-468d-9a81-a8a7c5e3e121E^XIT^%errorlevel^%END)&(echo 925d0d6f-eea1-4873-86e3-990d697eb32c)1>&2

'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'o�{oxovo�{o�{oxoxo�{' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
```

I see the issue, let me think about a solution.
For now, if you just open a separate tab in the file browser for your local machine, and drag the files into your destination directory there, you should be able to avoid this problem.


A few questions

Firstly, thanks for putting this out there, it looks really useful!
A few questions / ideas:

I am self-hosting Plausible, so a configurable URL for that would be great
I'd like to be able to customise the User-Agent header
the Plausible docs suggest a url of app://localhost rather than the domain with https:// prepended

Would you be open to a PR with those changes?

Hey Jeff, glad you found this! I am psyched that you're looking at self-hosted plausible as I am thinking about self-hosting myself as well. Definitely open to changes, one at a time would be great.


WARN

[17:46:52 WARN]: [NametagEdit] Loaded class net.luckperms.api.LuckPermsProvider from LuckPerms v5.2.76 which is not a depend, softdepend or loadbefore of this plugin.

Follow the issue template, it's there for a reason.
NTE issue, not LP.

Follow the issue template, it's there for a reason.
NTE issue, not LP.


weird effect in verbose

if I instantiate the same model again, the verbose adds one repetition:

it adds one more every time I instantiate a model. Doesn’t even have to be the same model again.

hmm ... can you share a few lines of code to reproduce the problem?

sure!
let’s see it with only one reg_lambda, first just like in README, except setting one reg_lambda:
import numpy as np
import scipy.sparse as sps
from sklearn.preprocessing import StandardScaler
from pyglmnet import GLM

# create class of Generalized Linear model
model = GLM(distr='poisson', verbose=True, alpha=0.05, reg_lambda = 0.1)

n_samples, n_features = 10000, 100

# coefficients
beta0 = np.random.normal(0.0, 1.0, 1)
beta = sps.rand(n_features, 1, 0.1)
beta = np.array(beta.todense())

# training data
Xr = np.random.normal(0.0, 1.0, [n_samples, n_features])
yr = model.simulate(beta0, beta, Xr)

# testing data
Xt = np.random.normal(0.0, 1.0, [n_samples, n_features])
yt = model.simulate(beta0, beta, Xt)

# fit Generalized Linear Model
scaler = StandardScaler().fit(Xr)

now fit
model.fit(scaler.transform(Xr), yr)

here’s the output, looks good except for that extra space ;):

now instantiate another (or re-instantiate same model):
model_another = GLM(distr='poisson', verbose=True, alpha=0.05, reg_lambda = 0.1)

now fit either model:
model.fit(scaler.transform(Xr), yr)

here’s the output, it repeats everything twice:

looks like the number of repetitions equals the number of models you have instantiated so far

remove that extra spacing after dL/L:... also :)


MI - SYNAPSE TEMPLATES

This Epic tracks the doc issues related to synapse templates.

https://ei.docs.wso2.com/en/latest/micro-integrator/references/synapse-properties/template-properties/


remove duplicate code

Signed-off-by: zhao nan<EMAIL_ADDRESS>Commit Message: remove duplicate code
Additional Description:  we have used this code in initialization
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Duplicated code here for other reviewers.
https://github.com/envoyproxy/envoy/blob/fe2c7e691751bd591daccde6a081eff2d2a7471c/source/common/router/upstream_request.cc#L67

/lgtm


Release testing: No wget on Mac OSX

Running the following command on Mac OSX (in vagrant/from source instructions):
wget -q -O wallaroo-release-0.5.2.tar.gz 'https://wallaroo-labs.bintray.com/wallaroolabs-rc/wallaroo/release-0.5.2/release-0.5.2.tar.gz'

Gets the following output:
-bash: wget: command not found

We should switch to curl instead as it comes with Mac OSX:
curl -O -L 'https://wallaroo-labs.bintray.com/wallaroolabs-rc/wallaroo/release-0.5.2/wallaroo-release-0.5.2.tar.gz'

Release issue: #2359

resolved by https://github.com/WallarooLabs/wallaroo/pull/2368


CreatedDate and Excel 2016

I encounter an issue in Excel 2016 which regularly throws a warning saying something in the lines of "We found a problem with some content in..".
This warning shows up only when I set the CreatedDate prop. I know that a similar issue has already been adressed (https://github.com/SheetJS/sheetjs/issues/2189) but I am already using new Date() as suggested by @SheetJSDev.
I took a look at the core.xml file before and after file recovery, and noticed that the ISO string was only 20 characters long after Excel recovered the file, while new Date() generates a 24 characters long date. Constraining it to 20 characters with new Date().toISOString().split('.')[0]+"Z" did not change anything though.
The only notable difference before and after file recovery is the xsi:type attribue :
<dcterms:created>2022-05-12T10:21:49Z</dcterms:created>

gets corrected to :
<dcterms:created xsi:type="dcterms:W3CDTF">2022-05-12T10:21:49Z</dcterms:created>

I'm quite at a loss here and don't really know what to do to get rid of this warning (except, of course, not providing the creation date, but I need it).

Does the generated file from https://jsfiddle.net/jot943mz/ work?

Writing the xsi:type attribute has always been a part of the write logic.  It was introduced more than 8 years ago (d15b81e0e9ee61ed720d16f4e25b34d951275ff4).  The file from the fiddle also has the attribute.
In our local testing, the generated file from from the fiddle in the older issue works in Excel 2007 / 2010 / 2013 / 2016 / 2019 for Windows and 2011 / 2016 for Mac.
The Excel 2016 Windows version is 16.0.11001.20097 (32 bits).
It's entirely possible a patch update to Excel 2016 broke backwards compatibility.  If you can share both the incorrect file and the repaired file that does work, we can investigate further.


Update direct-creator-uploads.md

It's required for anything over 200mb it isn't an optional thing so should state that it's required not recommended!!!

Hi @Dectom, thanks for your contribution! You can actually use copy-from-link as another upload option for large videos, so the update would technically be inaccurate. Will close this PR as a result.


TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'

Summary
discord.py-self
Reproduction Steps
broken for selfbot
Code
No response
Expected Results
supposed to run the selfbot
Actual Results
TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'
System Information

Python v3.10.1-final
discord.py v2.0.1-final
aiohttp v3.7.4.post0
system info: Windows 10 10.0.22621

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

You are not using discord.py-self. You probably have both installed in the same environment, which is not possible as they both use the same namespace. Read the README, specifically the Using with Upstream section.


tier push does not prevent new features from being pushed to existing plans

What is the issue?
If I already have a published plan and I edit my pricing.json, I may forget to update the plan version before I push.
If all I have done is to add a feature to a plan, then that feature will be pushed under the not-edited plan version.
This could be useful functionality in a price grandfathering scenario: I may want to retroactively add a newly create feature to an old plan in order to grant the subscribers of the old plan (at an old price) access to the new feature.
I believe we should error on a push in this scenario. If we want to allow it was a way to grandfather, then that should be explicit? That would depend on how we want to handle grandfathering.
The behaviour exists whether or not there is a subscriber to the plan. It may make sense to allow this behaviour if there are no subscribers on the plan.
Steps to reproduce

Create a pricing.json:

{     "plans": {       "plan:pro@13": {         "title": "Trip Pro Plan",         "features": {           "feature:flights": {              "base": 1000           }         }       }     }   }

tier push this plan

tier pull to check that it is there

Now edit the pricing.json to add a new feature, but do not update the plan version:

{     "plans": {       "plan:pro@13": {         "title": "Trip Pro Plan",         "features": {           "feature:flights": {              "base": 1000           }         },         "feature:activities": {           "tiers": [              { "price": 1 }            ]         }       }     }   }

tier push the updated pricing.json
tier pull or Log in to Stripe dashboard and observe the new feature is present and live under the previous @version of the plan

Are there any recent changes that introduced the issue?
No response
OS
No response
OS version
No response
Tier version
0.3.7

@bmizerany Really like the idea of force push for testing as well as for grandfathered plans. Will it also takes into account updating tier price and feature settings (like mode/aggregate) when force-pushed? Adding a new feature to existing plan works as of now (as shown by @jevon). However, existing tier price and feature settings changes are currently not updated. So have to manually delete the plans and re-push them for now in test mode.

@shripadk I'm wondering if we need a force push now that tier switch is released, which is useful in the case where one has done enough "damage" they want to start over. In the case where it is a small update, changing the plan version is a quick way to update a plan.
NOTE: If force-push is implemented, it would not affect customers already on the plan, they would instead be seen to tier as having "fragments" and would not be considered on any plan (assuming they were not subscribed to two plans at once).
I'm not sure we force-push now, but I'm not 100% sold on that. Have your thoughts changed now that tier serve is out?
https://www.tier.run/docs/cli/switch

I saw the tier switch tweet on Twitter few hours back. Really excited to read about the changes (been up all night working, so heading to bed now). Will check once I wake up. I'll get back to your questions as soon as I give tier switch a try. Thank you!

@bmizerany You are right! I gave tier switch a spin and really love the idea. Prefer it over force-push for testing. Some questions:

Ability to delete/flush test accounts instead of doing it through the UI. Is this on the horizon?
List of test accounts to switch to (like git branch). Not thought through this but I might see a situation where one is experimenting with multiple plans and would want to switch between them to see which works best?
tier push <pricing.json> output currently provides links to main account instead of the switched account. I guess this needs to be changed too?

As far as grandfather accounts is concerned, I feel force-pushing features would still be valuable. Since the PriceOps Metering document mentions that:

Thus, anything that can potentially be a restricted or monetized feature is tracked in the metering system, even if the current price (as defined in the model) is 0.

New features (or even feature changes), in my opinion, should be retroactively added/modified to grandfathered accounts even if price for that feature is set to 0 for such accounts. I am guessing feature flags would require feature to be in the plan for it to validate if the user is allowed to access said feature or not. If the plan is made purely immutable then those grandfathered accounts will have to resubscribe to be able to use new features. Maybe this can be an exception to Model being purely immutable?

they would instead be seen to tier as having "fragments" and would not be considered on any plan (assuming they were not subscribed to two plans at once), and this should not be allowed by Tier in live-mode, so it could be cause confusion amongst users as to why behaviors around subscriptions and limits, etc suddenly changed for customers that have not upgraded or downgraded in a way one might think they should be.

I did not understand what "fragments" are in this context. Can you please explain? Are these features free-floating and not tied to a plan specifically? Is this some way to ensure Models remain immutable but features are still applied for grandfathered accounts?

@bmizerany You are right! I gave tier switch a spin and really love the idea. Prefer it over force-push for testing. Some questions:

Ability to delete/flush test accounts instead of doing it through the UI. Is this on the horizon?

This is on the horizon. The plan is to do this in the background after a tier switch exists, and to only garbage collect accounts older than N days. My current thinking is somewhere between 10-20 days. This could be configurable of course and also come with a way to force a garbage collection for N days. Maybe something like tier switch --gc 10d?
I've created an issue to track here: https://github.com/tierrun/tier/issues/164

List of test accounts to switch to (like git branch). Not thought through this but I might see a situation where one is experimenting with multiple variations of the Model and would want to switch between them to see which works best?

Yes. I want this too. I'm playing with some ideas. I've opened an issue for tracking: https://github.com/tierrun/tier/issues/165

tier push <pricing.json> output currently provides links to main account instead of the switched account. I guess this needs to be changed too?

Great catch. I've created an issue to track here: https://github.com/tierrun/tier/issues/166

As far as grandfather accounts is concerned, I feel force-pushing features would still be valuable. Since the PriceOps Metering document mentions that:

Thus, anything that can potentially be a restricted or monetized feature is tracked in the metering system, even if the current price (as defined in the model) is 0.

New features (or even feature changes), in my opinion, should be retroactively added/modified to grandfathered accounts even if price for that feature is set to 0 for such accounts. I am guessing feature flags would require feature to be in the plan for it to validate if the user is allowed to access said feature or not. If the plan is made purely immutable then those grandfathered accounts will have to resubscribe to be able to use new features. Maybe this can be an exception to Model being purely immutable?

they would instead be seen to tier as having "fragments" and would not be considered on any plan (assuming they were not subscribed to two plans at once), and this should not be allowed by Tier in live-mode, so it could be cause confusion amongst users as to why behaviors around subscriptions and limits, etc suddenly changed for customers that have not upgraded or downgraded in a way one might think they should be.

I did not understand what "fragments" are in this context. Can you please explain? Are these features free-floating and not tied to a plan specifically?

Tier calculates all of the plans an org is currently subscribed to by testing if all of its companion features, in the same plan, are present the org's current subscription. If not, it is considered a fragment.
A demonstration of how fragments happen (by design):
tier % tier ls
PLAN         FEATURE                 MODE  AGG  BASE
plan:free@0  feature:convert:temp               1
plan:pro@0   feature:convert:temp               0
plan:pro@0   feature:convert:volume             1
plan:pro@0   feature:convert:weight             1
plan:pro@1   feature:convert:volume             1
plan:pro@1   feature:convert:weight             1
tier % tier subscribe org:fragments plan:free@0 feature:convert:weight@plan:pro@0
tier % curl 'http://localhost:8080/v1/phase?org=org:fragments'
{
        "effective": "2022-11-18T00:29:50Z",
        "features": [
                "feature:convert:temp@plan:free@0",
                "feature:convert:weight@plan:pro@0"
        ],
        "plans": [
                "plan:free@0"
        ],
        "fragments": [
                "feature:convert:weight@plan:pro@0"
        ]
}
tier % tier limits org:fragments
FEATURE                 LIMIT  USED
feature:convert:temp    ∞      1
feature:convert:weight  ∞      1

Fragments are features in a subscription that are not accompanied by all of the other features in the same plan. For example, you may want to subscribe an org to a free plan, but give them a small taste of the pro plan.
Back to force-push. If we allow force-pushes, then it means fragments can happen inadvertently. Please see how that happens today without enforcing immutability:
Building on the state from the previous demo, I'll "force push" (because tier does not enforce immutability at the moment) a new feature to "plan:free@0", and then check which plans and fragments the org:fragments is on:
tier % cue export p.cue | tier push -
ok      plan:pro@0      feature:convert:temp    https://dashboard.stripe.com/test/products      [feature already exists]
ok      plan:free@0     feature:convert:temp    https://dashboard.stripe.com/test/products      [feature already exists]
ok      plan:free@0     feature:convert:blarbs  https://dashboard.stripe.com/test/products      [created]
tier: feature already exists
tier % curl 'http://localhost:8080/v1/phase?org=org:fragments'
{
        "effective": "2022-11-18T00:29:50Z",
        "features": [
                "feature:convert:temp@plan:free@0",
                "feature:convert:weight@plan:pro@0"
        ],
        "fragments": [
                "feature:convert:temp@plan:free@0",
                "feature:convert:weight@plan:pro@0"
        ]
}

As you can see, the org morphed from being on a plan, to be on some plan of its own, which is no real plan at all. This might be a desired state to put a customer in, but not one we want customers to accidentally transition to, without warning, because this makes determining which plan they were on difficult, if not impossible.
I hope the demonstrations help clear things up around what happens if immutability is not enforced, and what fragments are, and also show off a really powerful feature "fragments" that is undocumented... for now. :)
I'd like to add the enforcement of immutability, without force-push as a first-pass, and get a feel for what life is like with it, and also with using switch and version-bumping as workarounds to force pushing.

@shripadk I'm sorry, I left out a reply in my previous post to a question of yours:

Is this some way to ensure Models remain immutable but features are still applied for grandfathered accounts?

Yes, but it should require an intermediate migration step, one we can make very easy with an additional tool in the CLI.
The reason for requiring the intermediate migration step is that there is no one-size-fits-all migration. Different companies have different ways they want to handle grandfathering, if at all. It could be done by cohort, all-at-once, regional, etc.
The current default behavior is the safest we feel, which happens to be the default behavior in Stripe, and there are no plans to change that default. However, having some nice tools for migrating customers if new plans go live should make it a breeze to handle.

@shripadk, @jevon I landed a PR that runs 'pre-flight' checks to ensure immutability of plans. It uses a sentinel product in Stripe to determine if anything has been pushed for a plan already.
If no sentinel plans exist for existing plans, it is still possible to push new features to plans that existed before the sentinel products are written to Stripe. To play with this new feature, and add sentinels for exiting products, safely, and  pre release, you can install from source and run:
; tier pull | tier push -

I recommended running the above at least twice. The first will show, unsurprisingly, that all of the features already exist, as was seen before, because the sentinel products made it into stripe, but subsequent runs of it should show [plan already exists] which means the sentinels made it in and Tier is disallowing anything that smells like an update to the plan. It is safe to run because it only attempts to push objects that already exist, along with the the new sentinel products.


Cannot add multiple s3 datasets at the same time

Adding multiple datasets at the same time causes the second dataset to be in a paused state until the first completes.   This may be the intended behavior,  if so please close issue

I think this is probably because we are using a local job for the import. The local job queue is served by a single thread so only one import can be run at a time. Moving the import to a romanesco job could solve this.

@cjh1 that's correct, the async event queue is provided as a convenience for doing stuff in the background, but is not intended for parallelism beyond that.

Cool closing this down


Add scala support

Currently getting an exception when trying to use on a scala project locally.
[Exception]
Language scala not supported

@joelwurtz - is that easy to add?

Actually there is no image to handle Java/Scala (see https://github.com/jolicode/JoliCi/blob/master/docs/strategies/TravisCiStrategy.md), for adding this support the first step is to add the Dockerfile which will mimic travis ci environnement on this repository : https://github.com/jolicode/docker-images and then add the corresponding mapping into JoliCi
If you know how is installed java on travis ci environment and if there is already images hanling this in docker hub this can be helpful

Thanks Joel,
Official Docker repo for java: https://hub.docker.com/_/java/, then on github: https://github.com/docker-library/java.Hope that helps - let me know if anything else is needed.
Thanks, Amir
  From: Joel Wurtz<EMAIL_ADDRESS>
To: jolicode/JoliCi<EMAIL_ADDRESS>Cc: agur<EMAIL_ADDRESS>Sent: Friday, September 18, 2015 1:36 AM
Subject: Re: [JoliCi] Add scala support (#64)
Actually there is no image to handle Java/Scala (see https://github.com/jolicode/JoliCi/blob/master/docs/strategies/TravisCiStrategy.md), for adding this support the first step is to add the Dockerfile which will mimic travis ci environnement on this repository : https://github.com/jolicode/docker-images and then add the corresponding mapping into JoliCiIf you know how is installed java on travis ci environment and if there is already images hanling this in docker hub this can be helpful—
Reply to this email directly or view it on GitHub.

Hello,
Thanks for opening this issue.
Unfortunately, we don't support this repository anymore.
I'm sorry, but I'll close this issue.
I hope you understand.


[Core] Add table based operations for Count, Delete, DeleteAll, Insert, Merge, Truncate, Update.

The following must be supported.
connection.Count("TableName", queryGroup);

connection.Delete("TableName", queryGroup);

connection.DeleteAll("TableName");

connection.Insert("TableName", entity);

connection.Merge("TableName", entity, qualifiers);

connection.Truncate("TableName");

connection.Update("TableName", entity);

Will be a part of build > v1.9.0-beta1


Remove "Debug cell" action from data science code lenses for markdown cells

For #6588

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[x] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed)~
[ ] The wiki is updated with any design decisions/details.

@rchiodo Could you have a look at this? It seems to start diverging from master.

Sorry must have missed this. I didn't see the original review. Looks good to me.


CAPT-1366 TSLR journey with Teacher ID confirm mobile number

CAPT-1366 Dev - TSLR ID - Mobile playback
Updated the TSLR journey to playback and confirm the mobile number from Teacher ID.

This is currently based off https://github.com/DFE-Digital/claim-additional-payments-for-teaching/pull/2511. To review before the email PR is merged you can check the mobile number commit from this PR.

https://s118d02-app-pr-2513-as.azurewebsites.net/additional-payments/claim

https://s118d02-app-pr-2513-as.azurewebsites.net/student-loans/landing-page


Adds automated link checking and fixes broken links

Adds automated link checking and fixes broken links
:recycle: Current situation & Problem
This PR adds automated link checking of all markdown files and fixes broken links.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[X] I agree to follow the Code of Conduct and Contributing Guidelines.

Thank you for the fix @vishnuravi! Can we use the chance to directly add the URL link check to this PR.
I would suggest that we add this for every PR and in addition maybe as automated checks that run every month, e.g., on the first of the month?
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

Thanks for the feedback @PSchmiedmayer. Markdown link checks have been added here, automated checks have been added on the first of every month, and the PR has been updated to reflect that. This PR requires https://github.com/StanfordSpezi/.github/pull/40 to be merged first, since I have created a new markdown-link-check in this organization, rather than use the one from @StanfordBDHG directly to be consistent with how the REUSE and SwiftLint checks are implemented.

Added some comments over in the other PR. Thanks for improving this here! 🚀


Update astropy-helpers to v2.0.10

This is an automated update of the astropy-helpers submodule to v2.0.10. This includes both the update of the astropy-helpers sub-module, and the ah_bootstrap.py file, if needed.
A full list of changes can be found in the changelog.
This is intended to be helpful, but if you would prefer to manage these updates yourself, or if you notice any issues with this automated update, please let @bsipocz or @astrofrog know!
Similarly to the core package, the v3.0+ releases of astropy-helpers require Python 3.5+. We will open automated update PRs with astropy-helpers v3.2.x only for packages that specifically opt in for it when they start supporting Python 3.5+ only. Please let @bsipocz or @astrofrog know or add your package to the list in https://github.com/astropy/astropy-procedures/blob/master/update-packages/helpers_3.py

@bsipocz - Several builds fail with "DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead". Can you fix in this PR? Or should I have a look try to fix?

@cdeil - I don't have time for pyregion in the near future, sorry.

Rebased after recent merges. I still don't have time to fix additional issues, but at least we'll see what are the still outstanding ones.
Feel free to push changes to this branch, etc.

Yet again, this is not worse than master, so I go ahead and merge it.


Update dependencies

@all-contributors please add @MichaelDeBoey for code

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


no package for BiblioteQ

Issue description
There is no package for BiblioteQ .

BiblioteQ strives to be a professional cataloging and library management suite, utilizing a Qt interface and providing connectivity to PostgreSQL and SQLite. The SRU and Z39.50 protocols are used for retrieving data for books, journals, and magazines. The software is available for all major operating systems and should be compatible with any system that supports Qt. BiblioteQ is distributed under a BSD license.

https://textbrowser.github.io/biblioteq/index.html
Prerequisites

Some dependencies are as follows: Qt 4.8.x or Qt 5.x, and YAZ 4.x or YAZ 5.x. PostgreSQL 8.x, PostgreSQL 9.x, and SQLite 3.x are supported database engines. - https://textbrowser.github.io/biblioteq/download.html

YAZ #18721
Steps to Compile
Clone https://github.com/textbrowser/biblioteq
Acquire a supported version of Qt.
nix-shell -p qt5.qtbase seems to be sufficient. (+ YAZ)
(See Documentation/COMPILING)
qmake -o Makefile "INCPATH+=\"../yaz/yaz-5.16.0/pref/include\"" "LIBS+=\"-L../yaz/yaz-5.16.0/pref/lib\"" biblioteq.qt5.pro
make

This is the way I got it to compile.
Someone more familiar with QMake probably knows if there's a better way to do that.
Of course this complains about not being able to find the YAZ library when I run because of dynamic linking and not setting stuff up, but this is just to illustrate.

Closing, it will be added once a contributor needs it.


Admin Panel - Last seen column includes shutdown activity

The "Last Seen" column includes shutdown activity. I'm assuming this is an artifact of the proxy itself, but is a bit misleading. After shutting down several servers from users that had not been back in days, I noticed they all came up as visiting recently.

What do you mean by shutdown activity? How are you shutting them down?

I clicked "stop server" for each of the users.

Gotcha. Stopping a server was unconditionally updating the last_activity field for that user. See #226.


How to center links in navigation?

How can I center links in navigation bar?

I'm closing but please have in mind you should be able to tweak links this like any standard Bootstrap navbar.


Use Java Service Wrapper for starting and managing JmxTrans process

Tanukisoft Java Service Wrapper is a mostly standard tool to manage Java services. Maven appassembler plugin brings easy integration into the build process (already used to create the RPM). It brings additional robustness with autorestart of service on JVM freeze or other conditions.
While it brings a lot of nice things, it would change a bit the way JmxTrans is configured. In particular, JSW does not use /etc/default/jmxtrans for configuration, but its own wrapper.properties file. It would be possible to hack the way JSW works to make it work in similar way as what we have now, but that would defeat a bit the effort.
What do you think about all this ? Feedback welcomed...

As an Ops, I'm more confortable with bash startup and /etc/default/jmxtrans.
JSW is usefull when you want to use some features like auto restarting java process when it failed, but it may be useless here.
My 0.01€

In the end, JSW is still mainly a bash script (and a very small integration library). We've had a few cases where JmxTrans was stuck and would have liked to have something like JSW.
I could implement 2 profiles, one with JSW and one with the current scripts and see where it goes.


when i am running the dreadful features am getting error

error-log.txt

@sreedhar-ib you have not set IE driver path in system variable.
download IE driver https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver and set into system path.


Fix race which does not honor batch size in worker

Issue:
Even though batch size is set as 1. Noticed that 2 tasks were dequeued by the worker.
RCA:
There is a race between getAvailableWorkerAmount() and executeAndUpdateTask() in workOnce() code. Here are the sequence of events:
BATCH_SIZE is set to 1 in my case.

More than 1 tasks are present in the work queue.
Worker is started and a task is dequeued.
executeAndUpdateTask() is spawned in a go routine. However workOnce immediately checks for getAvailableWorkerAmount().
The go routine hasn't had a chance to run yet and workOnce ends up dequeuing another task.

Fix:
Update  c.increaseRunningWorkers() in workOnce() rather than inside the go routine for executeAndUpdateTask(). This ensures that getAvailableWorkerAmount() always returns the right value and we can avoid dequeuing additional tasks  (more than batchSize).
Note: From what I can read, it seems like the Java SDK client has moved away from this design and using TaskRunnerConfig to poll for tasks. I realize the go client isn't quite there yet. This is a simple fix which unblocks my work for the time being. I also notice some other draft PRs which are reworking this logic. However I was not sure if they addressed this particular race or not.

@v1r3n can you please take a look this PR as this fix needed urgently.

@v1r3n  , build failed for below unit test but I think its not related to @vikashegde-rapid  code fix which is on taskrunner . Please suggest how to proceed further.
#14 5.983 === RUN   TestKafkaQueueConfiguration
#14 5.983     event_resource_test.go:32: Delete "/event/queue/config/kafka/test_sdk_java_kafka_queue_name": unsupported protocol scheme ""
#14 5.983 --- FAIL: TestKafkaQueueConfiguration (0.00s)
#14 5.983 === RUN   TestUpdateTaskRefByName
#14 5.983 --- FAIL: TestUpdateTaskRefByName (0.00s)
#14 5.983 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
#14 5.983 	panic: runtime error: invalid memory address or nil pointer dereference

@v1r3n  thanks for approving this PR . but currently we are using conductor-go v1.3.2 version . Is it possible to  merge this PR in v1.3.2  so that we can use patch version of v1.3.2  ?  As we are our last testing cycle and we want to avoid upgrade with latest conductor version as not sure how much its impact . But definitely we are planning it for our next release. Means while Please suggest if I can get patch version from v1.3.2  so that I can raise another PR for v1.3.2

@v1r3n  Can you please merge the PR and provide the new version for it . As there is not major changes on latest v1.3.4 from v1.3.2 which I am using So I am good with latest tag after merging this PR .

@v1r3n  any update when version of conductor-go will be available with this PR fix?

@v1r3n  any update for this PR ?

@v1r3n @c4lm Any update when this PR will be merge and I can get new sdk version

Folks can we get some help in merging this up and tagging the repo please?

Hi folks,
We are looking at fixing the tests and will do a release right after that.  ETA is this week.


Update CoyoteAdapter.java

we have a problem at function parseSessionCookiesId. If the request has two JSESSIONID on the Cookie. The session will init twice. So request.isRequestedSessionIdValid() will  be invoked. But at request.isRequestedSessionIdValid() , it will call manager.findSession(requestedSessionId). This time request is not bind ClassLoader. We customized the manager. On the manager, will used some class at War. So it's will throw a ClassNotFound exception. So I think the session only need init once. Because the second init is the same as the first time. If request.isRequestedSessionIdValid return true,the second is not need.

we have a problem at function parseSessionCookiesId. If the request has two JSESSIONID on the Cookie. The session will init twice. So request.isRequestedSessionIdValid() will be invoked. But at request.isRequestedSessionIdValid() , it will call manager.findSession(requestedSessionId). This time request is not bind ClassLoader. We customized the manager. On the manager, will used some class at War. So it's will throw a ClassNotFound exception. So I think the session only need init once. Because the second init is the same as the first time. If request.isRequestedSessionIdValid return true,the second is not need.

Thanks for the PR. I understand the problem but this isn't the right fix. It will break apps when there are two session cookies and the second one is the only valid one.

I've applied what I believe to be the 'right' fix for this. We now use the web application class loader when looking up the session and checking the validity.


Add new module: help

https://github.com/the-vision/jarvis-telegram/wiki

Hi, Im interested to do this

@vvijayalakshmi21 I have assigned this issue to you. Let me know if you need any help!


Any plans to support writing out a graph directly via Display?

Right now you always have to convert the graph to a String and then write it. Wouldn't it be more efficient to instead implement Display so it can be directly written to a file or other I/O stream?

Writing to string is cheap compared to graph traversal.
Especially when the graph is large — because the resulting string is small compared to traversed graph: output contains only unique paths, not all the paths.
So, no plans, unless you know a good reason to do it.

Sorry I don't think I quite understand. You also traverse the graph when writing to a String here https://github.com/facebookexperimental/allocative/blob/54780c3037c9efd1b1875dcb869fc4959e7ac255/allocative/src/flamegraph.rs#L67. You could just as well be writing to a std::fmt::Formatter, thus eliding the intermediate string.

I understand writing to Formatting is potentially cheaper when writing to a file rather than writing to intermediate String.
But it will be like 0.01% cheaper overall, which is not worth the trouble. No?

Perhaps, but the implementation as far as I can see already only uses writeln, so the only change that would need to happen is to change the type signature of https://github.com/facebookexperimental/allocative/blob/54780c3037c9efd1b1875dcb869fc4959e7ac255/allocative/src/flamegraph.rs#L67 to take &mut Formatter<'_> instead of &mut String. Using Display just feels more "rusty" to me than returning a string.


'module' object has no attribute 'get': AttributeError

I am trying to use credstash for accessing credentials stored in KMS, however, even before accessing them, the python 2.7 lambda runtime on aws is giving me an error:
'module' object has no attribute 'get': AttributeError
Traceback (most recent call last):
  File "/var/task/lambda_function.py", line 12, in lambda_handler
    print '%s' %(credstash.get('tv.forecaster.dev.cms.username'))
AttributeError: 'module' object has no attribute 'get'

As there is hardly any info out there, i am struggling with this problem in vain. If anyone can help me solve the problem, I will be highly grateful. Following is my requirements.txt:
credstash==1.13.1
cryptography==2.0.3

I am accessing my credentials like this:
import credstash

string cred = credstash.get('name_of_the_stored_cred_in_dynamodb')

is the way i am accessing the credential using credstash wrong?

You want getSecret:
https://github.com/fugue/credstash/blob/master/credstash.py#L467
On Fri, Dec 29, 2017 at 1:30 PM, Omkar Kulkarni<EMAIL_ADDRESS>wrote:

I am trying to use credstash for accessing credentials stored in KMS,
however, even before accessing them, the python 2.7 lambda runtime on aws
is giving me an error:
'module' object has no attribute 'get': AttributeError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 12, in lambda_handler
print '%s' %(credstash.get('tv.forecaster.dev.cms.username'))
AttributeError: 'module' object has no attribute 'get'
As there is hardly any info out there, i am struggling with this problem
in vain. If anyone can help me solve the problem, I will be highly
grateful. Following is my requirements.txt:
credstash==1.13.1
cryptography==2.0.3
I am accessing my credentials like this:
import credstash
string cred = credstash.get('name_of_the_stored_cred_in_dynamodb')
is the way i am accessing the credential using credstash wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fugue/credstash/issues/194, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZ3DpRcoUx1Swgz8vLL8cH7yooBqER9ks5tFS_AgaJpZM4RPTXm
.


mowe emoji (ꈍᴗꈍ)

i added some mowe e-emoji, 😳 these ones a-awe cat themed and awso incwude s-some unicode stuff i hope you w-wike them,,, OwO
i kept the wut tabwe t-to a powew of 2 because i know computews wike t-that (ꈍᴗꈍ)

yay now whoever wants to add more emojis will have to come up with 32 more :)


[SYNC-114][FE] Various front-end editor style modifications

Description:

Update various styles to meet UX requirements

Changes:

Fix style of editor "Title" card
Fix block card in editor
Fix header style of side panel
Add placeholder in text field
Update custom.scss variables
Fix font of text field
Update edit page button variants
Update citation design
Add tiptap core & newer version of tiptap placehoder
Update dependencies in yarn lock
Fix dropdown button text styles
Adjust editor page layout
Update modal styles

Test Scope:

Screenshots (optional)

tooltip position

AS IS

TO BE
have 123 in the text field

AS IS

TO BE
Same to link feature, should have 123 in first text field

AS IS

TO BE
The time should not be set if user click cancel, and add remove dateTime on it

The additional features that need to be fixed using javascript will be implemented in a further branch.


Temporary fix running all tests

I've disabled BUILD_LIBRARY_FOR_DISTRIBUTION for Debug as a temporary fix for #681

Codecov Report

Merging #682 into master will increase coverage by 33.97%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #682       +/-   ##
===========================================
+ Coverage   35.97%   69.95%   +33.97%
===========================================
  Files          78       20       -58
  Lines        3811     1308     -2503
===========================================
- Hits         1371      915      -456
+ Misses       2440      393     -2047

Impacted Files
Coverage Δ

...ttoAdditions/Source/Common/UIColor+Additions.swift

...e/Input/Photos/Photo/PhotosInputCellProvider.swift

...e/Chat Items/PhotoMessages/PhotoMessageModel.swift

...ions/Source/Input/Photos/PhotosChatInputItem.swift

...essIndicatorView/CircleProgressIndicatorView.swift

...rce/Chat Items/TextMessages/TextMessageModel.swift

...Chat Items/TextMessages/Views/TextBubbleView.swift

...ems/CompoundMessage/Views/CompoundBubbleView.swift

...at Items/PhotoMessages/Views/PhotoBubbleView.swift

...ttoAdditions/Source/Common/CGFloat+Additions.swift

... and 88 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 eceae0e...1769393. Read the comment docs.


Segfault on empty index query in version 1.7.1 @ MacOS

Andrews-iMac:~ andy$ sw_vers -productVersion
10.13.1
Andrews-iMac:~ andy$ python3.6
Python 3.6.3 |Anaconda, Inc.| (default, Oct  6 2017, 12:04:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> import nmslib as NMSLibIndex
>>> print(NMSLibIndex.__version__)
1.7.1
>>> tidx =  NMSLibIndex.init(method='hnsw', space='l2')
>>> tidx.createIndex({'post': 2}, print_progress=False)
>>> tidx.knnQuery(np.array([0,0,0]), k=0)
Segmentation fault: 11

Rechecked version 1.7.2: reproducible at
MacOS 10.13.1 + python 3.6.3
Segmentation fault: 11
Linux 3.10.0-693.17.1.el7.x86_64 + python 3.6.4
Ошибка сегментирования (core dumped)
Trace from linux corefile, if someone need it:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by 'python3.6'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f611b55bc30 in pthread_mutex_lock () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install python36u-3.6.4-1.ius.centos7.x86_64
(gdb) info threads
  Id   Target Id         Frame
  2    Thread 0x7f6110f66700 (LWP 24621) 0x00007f611b55d945 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
* 1    Thread 0x7f611be5b740 (LWP 24581) 0x00007f611b55bc30 in pthread_mutex_lock () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007f611b55bc30 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f6108d8951b in __gthread_mutex_lock (__mutex=0x50)
    at /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/gthr-default.h:748
#2  lock (this=0x50) at /usr/include/c++/4.8.2/mutex:134
#3  lock (this=0x7ffebfc59ea0) at /usr/include/c++/4.8.2/mutex:511
#4  unique_lock (__m=..., this=0x7ffebfc59ea0) at /usr/include/c++/4.8.2/mutex:443
#5  similarity::VisitedListPool::getFreeVisitedList (this=0x0) at ./nmslib/similarity_search/include/method/hnsw.h:601
#6  0x00007f6108e28c2d in similarity::Hnsw<float>::baseSearchAlgorithmV1Merge (this=0x1d159b0, query=0x7ffebfc5a660)
    at nmslib/similarity_search/src/method/hnsw.cc:1147
#7  0x00007f6108e29c05 in similarity::Hnsw<float>::Search (this=0x1d159b0, query=<optimized out>)
    at nmslib/similarity_search/src/method/hnsw.cc:698
#8  0x00007f6108bdcbd5 in similarity::IndexWrapper<float>::knnQuery (this=0x1d16510, input=..., k=0) at nmslib.cc:124
#9  0x00007f6108bc5768 in operator() (args#1=<optimized out>, args#0=..., c=<optimized out>, __closure=<optimized out>)
    at /usr/include/python3.6m/pybind11/pybind11.h:72
#10 call_impl<pybind11::object, pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = pybind11::object; Class = similarity::IndexWrapper<float>; Arg = {pybind11::object, long unsigned int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, char [370]}]::__lambda12&, 0ul, 1ul, 2ul, pybind11::detail::void_type> (f=..., this=0x7ffebfc5a740) at /usr/include/python3.6m/pybind11/cast.h:1870
#11 call<pybind11::object, pybind11::detail::void_type, pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = pybind11::object; Class = similarity::IndexWrapper<float>; Arg = {pybind11::object, long unsigned int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, char [370]}]::__lambda12&> (f=..., this=0x7ffebfc5a740) at /usr/include/python3.6m/pybind11/cast.h:1847
#12 operator() (call=..., __closure=0x0) at /usr/include/python3.6m/pybind11/pybind11.h:155
#13 _ZZN8pybind1112cpp_function10initializeIZNS0_C1INS_6objectEN10similarity12IndexWrapperIfEEIS3_mEINS_4nameENS_9is_methodENS_7siblingENS_3argENS_5arg_vEA370_cEEEMT0_FT_DpT1_EDpRKT2_EUlPS6_S3_mE_S3_ISN_S3_mEIS7_S8_S9_SA_SB_SC_EEEvOSE_PFSD_SG_ESM_ENUlRNS_6detail13function_callEE1_4_FUNESU_ (call=...) at /usr/include/python3.6m/pybind11/pybind11.h:132
#14 0x00007f6108bc5768 in cpp_function<pybind11::object, similarity::IndexWrapper<float>, pybind11::object, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg_v, char [370]> (
    f=<optimized out>, this=<optimized out>)
   from /usr/lib64/python3.6/site-packages/nmslib.cpython-36m-x86_64-linux-gnu.so
#15 pybind11::class_<similarity::IndexWrapper<float>>::def<pybind11::object (similarity::IndexWrapper<float>::*)(pybind11::object, unsigned long), pybind11::arg, pybind11::arg_v, char [370]>(char const*, pybind11::object (similarity::IndexWrapper<float>::*&&)(pybind11::object, unsigned long), pybind11::arg const&, pybind11::arg_v const&, char const (&) [370]) (this=<optimized out>, name_=<optimized out>, f=<optimized out>) at /usr/include/python3.6m/pybind11/pybind11.h:1086
#16 0x00007f6108bb9f24 in pybind11::cpp_function::dispatcher (self=<optimized out>, args_in=0x7f61092b4a48,
    kwargs_in=0x7f611bd92558) at /usr/include/python3.6m/pybind11/pybind11.h:627
#17 0x00007f611b82595f in _PyCFunction_FastCallDict () from /lib64/libpython3.6m.so.1.0
---Type <return> to continue, or q <return> to quit---
#18 0x00007f611b825bb6 in _PyCFunction_FastCallKeywords () from /lib64/libpython3.6m.so.1.0
#19 0x00007f611b89b0c4 in call_function () from /lib64/libpython3.6m.so.1.0
#20 0x00007f611b89c7fe in _PyEval_EvalFrameDefault () from /lib64/libpython3.6m.so.1.0
#21 0x00007f611b89adc5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.6m.so.1.0
#22 0x00007f611b89b2fd in PyEval_EvalCodeEx () from /lib64/libpython3.6m.so.1.0
#23 0x00007f611b89b34b in PyEval_EvalCode () from /lib64/libpython3.6m.so.1.0
#24 0x00007f611b8c62c4 in run_mod () from /lib64/libpython3.6m.so.1.0
#25 0x00007f611b8c83d7 in PyRun_InteractiveOneObjectEx () from /lib64/libpython3.6m.so.1.0
#26 0x00007f611b8c8666 in PyRun_InteractiveLoopFlags () from /lib64/libpython3.6m.so.1.0
#27 0x00007f611b8c8e8e in PyRun_AnyFileExFlags () from /lib64/libpython3.6m.so.1.0
#28 0x00007f611b8dec4d in Py_Main () from /lib64/libpython3.6m.so.1.0
#29 0x0000000000400aee in main ()

Thanks, I will check it out. I can't imagine anyone wanting to run queries on an empty index though :-)


chore: add husky and commitlint config and semantic release

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Amending Video options crashes the game (CP2077 v 1.62)

Since installing CP2077 v 1.62, installing CET 1.24 or below cause the game to crash if I change any options in CP2077 video options. The game freezes and a few moments later then close the game. The option changes appear to have taken place when logging back in. CET is not the only mod affected. This was determined by removing all my mods then enabling them one at a time. If using a clean install of CP2077 with no mods the game works fine. There are some mods with no dependencies which I have install since and they all work fine.

Latest build 1.25.2 should be a bit more stable. If you use fullscreen, switch to borderless windowed mode as alt+tab and resolution changes may cause a crash still.
This is same as #800 I believe, closing this for now.


csi-attacher / Error processing csi / failed to detach persistentvolume / not found

Symptoms :

PersistentVolume creation is very slow - more than 15 minutes after creating a PersistentVolumeClaim
Many logs like this in trident-csi/csi-attacher :

trident-csi-8499cb999b-5hf66 csi-attacher I1130 15:26:26.140013       1 csi_handler.go:279] Detaching "csi-025a7614db532737e06abeb7bfebf538a7640c8f67fe45d739f033e1f74c23ff"
trident-csi-8499cb999b-5hf66 csi-attacher I1130 15:26:26.140322       1 csi_handler.go:279] Detaching "csi-c928016fc88f855f44be855e4193f09dba39cdb7da2b34c6a695e52d6f386158"
trident-csi-8499cb999b-5hf66 csi-attacher I1130 15:26:26.153917       1 csi_handler.go:231] Error processing "csi-025a7614db532737e06abeb7bfebf538a7640c8f67fe45d739f033e1f74c23ff": failed to detach: persistentvolume "pvc-f1bc8d9f-5406-409e-8a51-3857bd4f1265" not found
trident-csi-8499cb999b-5hf66 csi-attacher I1130 15:26:26.153947       1 csi_handler.go:231] Error processing "csi-5549f7ec12dec9e878b1a5a61c4908c3e571095ce5a78ad699ac35edc582eaa5": failed to detach: persistentvolume "pvc-7ade4485-28f1-4ed1-8980-d30e0906c716" not found
trident-csi-tdq9t trident-main time="2021-11-30T15:27:06Z" level=error msg="GRPC error: rpc error: code = NotFound desc = could not find volume mount at path: /var/lib/kubelet/pods/589831d5-504d-4e53-a991-158362584c6a/volumes/kubernetes.io~csi/pvc-8f59a857-baf3-4f9a-98b4-6aeac34e2e21/mount; stat /var/lib/kubelet/pods/589831d5-504d-4e53-a991-158362584c6a/volumes/kubernetes.io~csi/pvc-8f59a857-baf3-4f9a-98b4-6aeac34e2e21/mount: stale NFS file handle " requestID=f8b06396-7f56-4395-8c3d-b056ee244f12 requestSource=CSI
trident-csi-tdq9t trident-main time="2021-11-30T15:28:41Z" level=error msg="GRPC error: rpc error: code = NotFound desc = could not find volume mount at path: /var/lib/kubelet/pods/589831d5-504d-4e53-a991-158362584c6a/volumes/kubernetes.io~csi/pvc-8f59a857-baf3-4f9a-98b4-6aeac34e2e21/mount; stat /var/lib/kubelet/pods/589831d5-504d-4e53-a991-158362584c6a/volumes/kubernetes.io~csi/pvc-8f59a857-baf3-4f9a-98b4-6aeac34e2e21/mount: stale NFS file handle " requestID=5a37f7f8-d367-439b-8780-1c7dd45f6cb0 requestSource=CSI

Environment :

netapp-trident server version : v21.10.0
kubernetes : v1.22.3
OS : centOS stream
container runtime : cri-o

Hi @ledroide,
It may be best to contact NetApp Support to help you determine how to resolve your issues.
The information you've provided indicates that PV creation is slow (15 minutes) and we've not seen PV creation take this long in our testing.
The PVCs identified in the log statements that you captured don't match each other. Also, the log statements involve attachment which is not the same as PV creation. In addition to that there is a concerning error of stale NFS file handles. It seems that you are experiencing more than one issue that needs to be resolved.

Closing this as we haven't heard back on this issue recently. Will reopen the issue if that is needed.


Fix touch mouse scrolling

Some mices and touch devices send unusual delta (e.g. 30 or 1110 etc.)

I fail to understand what purpose moving the calls to OnScrollChange() from the IScrollInfo.MouseWheel* handlers to the SetVerticalOffset/SetHorizontalOffset methods serves.
This pull request does not change anything related to the scroll delta calculation, that's what I am wondering.


Examples not working on Ubuntu 18.04 bionic / docker 18.09.7

Description
the communication between portus and db never works
Steps to reproduce

on a brand new formated ubuntu
after installing docker-ce
clone the repo
docker-compose up -d

docker logs portus_db_1 :
[...]
190904  6:28:08 [Note] mysqld: ready for connections.
Version: '10.0.23-MariaDB-1~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
docker logs portus_portus_1 :
[...]
[WARN] couldn't connect to database. Skipping PublicActivity::Activity#parameters's serialization
Waiting for mariadb to be ready in 5 seconds
Tell me if you need more logs / details, I've check a lot of similar issues but none of them helps.

My bad, I forget to update the nginx config file with my host fqdn.


Feature request that they will probably reject XD.

Describe your suggested feature
The functionality is simple to describe but more complex to implement. It would be appropriate to add the option for advanced recommendations; that is, when accessing a manga, the system automatically suggests similar content within the same context or scope of the publication, without the need to collect user data.
Other details
I have decided to make this request because of my experience with different manga applications on mobile devices. On my previous phone, I used to use an app called Komikku, which I really found phenomenal. I greatly enjoyed its interface and especially its recommendation feature, which helped me considerably in discovering new titles and enjoying varied readings without having to spend too much time searching on my own.
However, I recently had the opportunity to try a new app called Yokai, and I must say that I was pleasantly surprised. From its more refined design to its optimized performance, Yokai quickly earned a special place in my heart and won me over to the point of becoming my favorite app for reading manga. I find that the user experience is notably superior and tailored to my needs, which is something I truly value.
Despite all the advantages Yokai offers, there is one element of Komikku that I still miss a lot: its recommendation system. This particular feature was an incredibly useful tool for me, as it provided personalized suggestions based on my preferences and reading habits, making it easy for me to discover new manga effortlessly. It is that specific functionality that I feel is missing in Yokai for my experience to be even more complete and satisfying.
That is why I would like to propose the idea of incorporating a recommendation feature in the Yokai app. I am convinced that this addition would not only enhance the user experience but also reinforce Yokai's position as the best manga app on the market. As an avid reader and admirer of the platform, I sincerely hope that my suggestion will be considered, as I am sure many other users would greatly appreciate this feature. Thank you for your attention and for developing such an amazing app. :3
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an request for a feature in the original Tachiyomi, I am opening because multiple versions of Yōkai have been released without this feature.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have checked through the app settings for my feature.
[X] I will fill out all of the requested information in this form.

Duplicate of GH-93

If you have anything to add, feel free to reply to that issue instead.


Update Mobile Resources Commit

Why:
A new Adhoc provisioning profile has been added for one of our HAs
This commit:
This commit points the project to the relevant updated mobile-resources commit

Why:
A new Adhoc provisioning profile has been added for one of our HAs
This commit:
This commit points the project to the relevant updated mobile-resources commit


<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed

How to resolve this issue?

npm install<EMAIL_ADDRESS>--save

@facebook-github-bot answered

Closing this issue as @ide says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

@ide please provide link to answer. Question has been asked on StackOverflow but none answer is satisfactory. so i thought react-native team will provide authentic reason.

@facebook-github-bot-2  will you provide link and before closing you should


Feature Request: Different attribute for name and friendly_name

Is your feature request related to a problem? Please describe.
In order to keep sensors organized / filterable, naming logics could be use to prefix sensor name " (ie: with "trash_" => sensor.trash_glass, sensor.trash_waste...)
Problem is that the same name is used for both entity_id(with underscore in place of space) and for display.
Describe the solution you'd like
It would be great to be able to have a friendly_name attribute for customize displayed name whatever the entity_id we choose.

The name is actually the friendly_name, so you can put there whatever you want to display.
The entity_id is created automatically. If you make the configuration in YAML, you cannot change teh entity_id. But if you configure the integration on the web, then you can change the display name and entity_id as usual.

Thanks for your answer.
I've finished to migrate from yaml to UI config. Everthing is fine now.


Performance could be improved

Currently text was breaked by using SKPaint.BreakText and SKPaint.MeasureText. This way we don't know width of every glyph, then we just iterate the string and test if the slice string can fit in the line with a max width.
The following two API SKPaint.GetGlyphs and SKPaint.GetGlyphWidths could be utilized to replace the previous implementation. With these two APIs, we can know excatly width of each glyph.

Closed by https://github.com/ryancheung/SkiaTextRenderer/pull/2


go-guru doesn't work on Windows

Windows 10, GNU Emacs 25.3, Go 1.9.1
go-guru returns the error below, but godef works well.
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  go-guru--goto-byte-column(256)
  go-guru--goto-pos("C:\\Go\\src\\fmt\\print.go:256:6" nil)
  go-guru-definition()
  funcall-interactively(go-guru-definition)
  call-interactively(go-guru-definition nil nil)
  command-execute(go-guru-definition)

Seems go-guru--goto-pos doesn't handle the file path like "C:\Go\src\fmt\print.go:256:6". After splitting, the file path is "C"! And the line position is incorrect as well.

@g2flyer It looks good. Would you please submit a PR?

@seagle0128 i just created a pull request (hope it's ok, i have to admit it's my first github pull request :-)

guru is deprecated.


Email carto gear api

Fixes #11692.
Acceptance: send an email from a gear, using the queue.
gears queue should be added to the configuration of the platform.

Ok, I'll provide a class with defaults closer to CARTO.

Pushed a couple of minor commits of issues I found during acceptance. @juanignaciosl take a look. If 👍, I'll proceed with the configuration changes + staging acceptance + deploy.

:+1:


Ben/devel

Motivation for this change
Things done

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

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

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

The second commit should say which package it's updating, in this case gerbil-unstable


Request: Never show more then once per X days

Please add the ability the limit rate dialog for once per X days (to prevent "annoying" customers)

Resolved in version 1.0.3


double confirm the process has already been started

EDIT: simplified the implementation
Having sent pid, the container might have not been started well, a signal comes at this time may not take into effect. see #285
as described in #285, looks send back pid too early may lead to a race condition
if a signal comes right after the init container request.
In this commit, I try to delay sending back the pid, which is a bit complicated
because the pid can not get with getpid(2) in the child process as it is in a new ns.
Signed-off-by: Wang Xu<EMAIL_ADDRESS>

jenkins failed due to the serial port breaking issue.
retest this please, hykins

both jenkins and one job of travis failed due to hyperhq/hyperd#555 , wonder if this patch increases its hit probability.

retest this please, hykins

retest this please, hykins

retest this please, hykins


Signup view model tests

Sumary
Trello card: https://trello.com/c/FJ6N5DPv/33-hacer-tests-del-signupviewmodel
Adding sign up view model tests.
Refactoring login view model tests when refactoring session service mock for tests to test view model and not mock logic.
Adding toggle visibility tests to login view model ones.

👍

👍


Front plate does not return for nested NearInteractionTouchableUnityUI

Describe the bug
When creating a Unity Canvas with a NearInteractionTouchableUnityUI. The frontplate of all PressableButton's will not return to its initial state when pushing further than max push distance. After some investigation the OnTouchCompleted is not triggered. This also occurs for other components with a nested NearInteractionTouchableUnityUI, e.g., a Unity UI ScrollRect with buttons.
To reproduce

Create a Unity canvas and convert it to MRTK standards
Add NearInteractionTouchableUnityUI  and 'set events to receive' to pointer. otherwise you are not able to scroll inside a ScrollRect with your finger. Optionally add a ScrollRect.
Add a PressableButton and PressableButton. Place it within the boundary of the canvas
Setup the moving button visuals
When pressing the button and moving your hand further than max push distance the button state remains pressed/ touched even if the hand is complete behind the button

Expected behavior
When pressing the button an moving further than max push distance the button should trigger OnTouchCompleted just like the standard buttons that do not depend on a unity canvas.
Screenshots
If applicable, add screenshots to help explain your problem.
 However when adding the NearInteractionTouchableUnityUI  to ScrollRect The buttons inside do not trigger a OnTouchCompleted  when moving your hand to far behind the button. However the OnClick is still triggered.

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Client IP enable in Kong Nginx Logs

Hello,
I would like to enable the client IP address in kong nginx logs, My Kong Instance is under the load balancer. Please let me know how to do this.

I'm closing this issue since it's from 2018. But we welcome all troubleshooting and discussion issue on Kong Nation.


ENH: skewnorm should return useful distribution

Is your feature request related to a problem? Please describe.
inconsistent results
from scipy.stats import skewnorm, describe
describe(skewnorm.rvs(a=1,size=1000000))

output (example) is
DescribeResult(nobs=1000000, minmax=(-3.264534658955493, 4.938913717289125), mean=0.5632787709254797, variance=0.6828342037997541, skewness=0.14341119237384578, kurtosis=0.05894410217278079)

Describe the solution you'd like.
output should be
DescribeResult(nobs=1000000, minmax=(..., ...), mean=0, variance=1, skewness=1, kurtosis=0)

Describe alternatives you've considered.
Whip something up myself.  But this should exist.  If it already exists, it should be made visible to find.
Additional context (e.g. screenshots, GIFs)
Maybe there is another function that can do this (but current online doc is really hard to navigate).

It sounds like you are looking for a different parameterization. https://en.m.wikipedia.org/wiki/Skew_normal_distribution suggests that it is not a standard parameterization. It sounds useful, but do you have a reference for it? (e.g. one that expresses the PDF in terms of these parameters?) If it's not something that can be expressed in closed form, you may have to convert between the parameterizations numerically.

shape parameter does not seem to correspond to actual skewness.

No, it does not seem to in the usual parameterization.

Pearson3 seems to give specified mean, variance, and skewness, but adds non-zero kurtosis.

@mdhaber What I am really after is that a measurement is provided as $x^{+a}_{-b}$ and I want a distribution similar to normal to simulates that, i.e., for $a=b=1$ it should be a normal distribution about $x$.

Well, here's what I can suggest ATM:
import numpy as np
from scipy.stats import skewnorm
from scipy.optimize import root

# desired properties
mean = 0
var = 1
skew = 1

def f(x):
    return skewnorm(*x).stats('mvs') - np.array([mean, var, skew])

# guess parameters
a = 1
loc = -1
scale = 1

# required parameters
res = root(f, [a, loc, scale])
a, loc, scale = res.x

from scipy.stats import skewnorm, describe
print(describe(skewnorm.rvs(a=a, loc=loc, scale=scale, size=1000000)))
# DescribeResult(nobs=1000000, minmax=(-1.3236065242849013, 6.82428136377313), mean=0.00014425238396072995, variance=1.0021524044699766, skewness=0.9990140235757836, kurtosis=0.8876457366902275)

@mdhaber Thanks, that seems to be a practical way of doing it.

@mdhaber Yes, that would be a useful feature; actually, just the code idea to use root to solve it may be sufficient.  (obviously, if coded in C/Fortran, it would be a lot faster, calls are expensive)

Sure, but most distributions are implemented in Python.
Yeah, maybe I'll add it to the documentation somewhere since this has come up before. I'd rather avoid creating a funding for it since it won't always work.

@2sn I've been working on skewnorm for something else, and I decided to override its method of moments fitting implementation. The formulas are useful here, too, so I thought I'd post them. There is probably little practical advantage here compared to the code above; this is just faster and more robust (which is needed for the fit method of a distribution).
# Find `skewnorm` parameters required to achieve desired mean, variance, and
# skewness. Note that max possible skewness of skewnorm is ~0.9952717 as
# shape parameter approaches infinity.
# See https://en.wikipedia.org/wiki/Skew_normal_distribution

import numpy as np
from scipy.optimize import root_scalar
from scipy import stats

def skew_d(d):  # skewness in terms of delta
    return (4-np.pi)/2 * ((d * np.sqrt(2 / np.pi))**3
                          / (1 - 2*d**2 / np.pi)**(3/2))

# desired moments
m, v, s = 0.5, 1.5, -0.9  # note that skewness magnitude can't be greater than ~0.995

# corresponding distribution parameters
d = root_scalar(lambda d: skew_d(d) - s, bracket=[-1, 1]).root
a = np.sqrt(d**2 / (1-d**2))*np.sign(s)  # shape parameter
scale = np.sqrt(v / (1 - 2*d**2/np.pi))  # scale
loc = m - scale*d*np.sqrt(2/np.pi)  # location

dist = stats.skewnorm(a, loc=loc, scale=scale)
np.testing.assert_allclose(dist.stats(moments='mvs'), [m, v, s])

@mdhaber Thanks!


InstallLayoutOrTip: Typo in example code - InputLayoutOrTip should be InstallLayoutOrTip

@mcdurdin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Copy Edit

"For example, you if your site runs version 1606, you can install an update for version 1610. Updates can also install fixes for a known issue, without modifying the sites version."
*Remove "you" after "For example,"

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

ID: 4f28ef46-ec10-139e-0667-6f61958fbc73
Version Independent ID: e6d7f0a4-63fa-af34-b022-0f23fa50450c
Content: About upgrade, update, and install - Configuration Manager
Content Source: sccm/core/understand/upgrade-update-install.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @jginternet for the feedback. If you would like to make this change yourself, select the Edit option at the top of the article. For more information, see How to contribute.

Thanks to @jpcast88 for making this edit. I'm closing the issue so no one else picks it up.
NOTE: the change won't publish until at least Monday, 6 May, due to a publishing freeze this week.


Better installation method for Windows

Currently window users have to resort to manual installation, perhaps there's a way to fix that?
We could either make a little powershell/cmd script or try to use winget (or..whatever the name is)

I thought we decided not to?

I thought we decided not to?

did we? anyways a power shell script would work

I think so, we'd have to discuss that on Discord tho


Add an optional external browser configuration options

browser_executable_path - Path to the chrome browser executable. If not supplied, the bundle installed Chromium will be used
browser_launch_headless - Whether to run without a GUI window opening. If not supplied, treated as true
browser_product - The browser to launch/connect to, one of chrome/firefox. If not supplied, treated as chrome

I merged this in but it looks like it's not working. I think there's a typo in the variable name, but even when I fix that it doesn't seem like the config vars are making it through to the puppeteer launch function.
I've tried
executablePath: config.raw.browser_executable_path

but that doesn't seem to work either....

Whoops, I think I've broken master now - I should really start testing pull requests before I merge them!


Maybe one bug in DETR's implementation?

ValueError: matrix contains invalid numeric entries (the 132th line in hungarian_assigner)
I have met this error in two different scenarios, the first occured when I tried to train a DETR from the scratch on a large-scale custom dataset,. This occured after random iterations. (By the way, if I trained the DETR from the COCO's checkpoint, then the training was OK without the error.)
As for the second, it is after when I made some changes on the original DETR Head, (the incremental refinement with no changing to the original code), then I train the model, the weights of the most part are loaded from the detr_r50_coco.pth, and the incremental part trained from scratch, and I met this ValueError after random iterations.
I might think there are some bugs in hungarian_assigner. Need for some help.

Hi, @LanceZPF  This error seems to be a loss of nan. Can you confirm it? Thank you

Hi, @LanceZPF This error seems to be a loss of nan. Can you confirm it? Thank you

Yes, I have confirmed this is the loss (or called cost_matrix in assigner) of nan. So, is it related to the setting of hyperparameters?

Yes, I suggest you use pretrained weights instead of scratch, and check hyperparameters.

Yes, I suggest you use pretrained weights instead of scratch, and check hyperparameters.

OK, thank you for your notification.

This usually means some cost contain nan of inf values, which is usually caused by the training failure of model of unclean annotations.


Derive Hash for ChildNumber and DerivationPath

It is useful for caller code to have this struct as key in HashMap

I don't think Ord is needed for HashMap keys. Perhaps for IndexMap keys or BTreeMap keys yes. It doesn't hurt to have them.
I ACKed your PR as well. I don't really mind if that one replaces this one.

I don't think Ord is needed for HashMap keys. Perhaps for IndexMap keys or BTreeMap keys yes. It doesn't hurt to have them.

Yeah, but for some reason (I guess BTreeMaps) miniscript requires it for keys (pub trait MiniscriptKey: Clone + Eq + Ord + str::FromStr + fmt::Debug + fmt::Display + hash::Hash).