Give syntax player_head with a custom name 1.20.5.

After update 1.20.5, the syntax of the Give command has changed. I'm trying to give the player a head with a custom name, via [console] minecraft:give, it gives the error "expected , but found '['".
Full line:       - '[console] minecraft:give %player_name% minecraft:player_head[custom_name='["",{"text":"Дубовое бревно","italic":false}]',profile={properties:[{value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2I2NTFkMzVkMTlhNzBmMzc3MmVhNTU5NTZmMjIyNjRhMWZiMmFlZmY2OTU5YjRlMTQwNjVhOTU2OTYyOTcxYyJ9fX0=",name:textures}]}] 1'

The issue is the fact that your strings contain quotes. This is a YAML issue rather than a DeluxeMenus one. However, to fix it, you can escape quotes in YAML like so:
 - '[console] minecraft:give %player_name% minecraft:player_head[custom_name=''["",{"text":"Дубовое бревно","italic":false}]'',profile={properties:[{value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2I2NTFkMzVkMTlhNzBmMzc3MmVhNTU5NTZmMjIyNjRhMWZiMmFlZmY2OTU5YjRlMTQwNjVhOTU2OTYyOTcxYyJ9fX0=",name:textures}]}] 1'


cURL and response for query

Added cURL and response to api/v2/query

need to lint my file

@sunbryely-influxdata You need to re-run make generate-all and commit the files.


0.8.1 image

The image in the release notes staging-k8s.gcr.io/node-problem-detector:v0.8.1 is not available without auth.  Can a release be published to k8s.gcr.io/node-problem-detector?

Looks like the image was promoted to production, so please try without staging- prefix:
docker pull k8s.gcr.io/node-problem-detector:v0.8.1

/assign @Random-Liu

Seems better now, thank you.


🚀[FEA]: BF16 support in static capture

Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem you would like to solve.
BF16 is used in GraphCast and needs to be supported in the static capture.
Describe any alternatives you have considered
No response
Additional context
No response

bfloat16 should be fine in static capture both when using AMP or without (graphcast is entirely bfloat16). Closing.


Spam due to not canceling EntityJoinWorldEvent in HCBuoy

With the current function of HCBuoy, when removing the original EntityItem to replace with the EntityItemBuoy the event cannot be canceled or world.spawnEntity() will return false and break certain mods. This was the cause #307. To get around this, instead of canceling the spawnEntity, it uses Entity#setDead() to remove the original item and keep the buoy item. This causes issues with the EntityTracker by creating spam from EntityTrackerEntry#createSpawnPacket (lines 513) which logs if the tracked item is dead while being tracked. There may be a solution to this that removes the entity from the tracker, but until that is found the spam may have to stay.

No way to fix this unless really.


Client -> request still private in v2.0.0-RC8

The v2.0.0-RC8 release notes  state that the request method on Client has been made public (first bullet point under "Features" (https://github.com/dream11/zio-http/pull/1247)), however it looks like it's still private in v2.0.0-RC8 and v2.0.0-RC9 (source).

The request method is now public in main branch and included in latest release.


K8s runner fetch workspace tgz

changes the workspace fetcher to use a tgz stream instead
adds a retryable workspace fetcher for the k8s runner. this was a significant source of flakes that is mostly eliminated now
updates the other runners that use workspace fetcher to use tgz (lima)

keeping this in draft until #548 lands


[WIP] Add cluster proxy support to image registry

https://jira.coreos.com/browse/DEVEXP-351

i'd like to see this include a mechanism for configuring the proxy directly on the registry operator resource as well (w/ that value taking precedence over the global proxy configuration setting).
the registry operator should use the proxy configuration for:

operator talking to cloud apis (configuring storage)
setting the proxy values on the registry operand so that the registry itself uses the proxies for talking to storage apis + pulling content from upstream registries

@bparees is that not what this does? https://github.com/openshift/cluster-image-registry-operator/pull/294/files#diff-e3147933b179a3ade1d900049f1fa55bL132

@bparees nevermind, i see what you are saying,

That covers part of what i was asking (I didn't remember we already had that config, so that's great).
still need to make sure it's used w/ the right precedence and also that the operator itself starts using it when it needs to talk externally to cloud apis.

/assign @dmage

@dmage ptal, updated per your comments.

/lgtm


Lazily compute types on demand

This is just a first step. We may also do it in conversion check

bors r+


The automated release is failing 🚨

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The push permission to the Git repository is required.
semantic-release cannot push the version tag to the branch master on remote Git repository.
Please refer to the authentication configuration documentation to configure the Git credentials on your CI environment.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The push permission to the Git repository is required.
semantic-release cannot push the version tag to the branch master on remote Git repository.
Please refer to the authentication configuration documentation to configure the Git credentials on your CI environment.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

Closing this, @jaebradley and I tracked the issue down. semantic release checks git authentication by executing git push --dry-run (source). When 2 commits land in master nearly simultaneously, it's possible for there to be a race condition wherein the build that starts last pushes tags to github first. This means that the first one will get a non-zero exit code for git push --dry-run, since it does not have a locally up-to-date version of master. A quick look at the failing build logs looks to confirm this theory.
There's not really a fix for this, unless we disable concurrent builds on travis. The problem there is that it limits all builds, not just master. I propose we all just remain aware of this potential issue, and ignore/re-run failing builds if and when they happen in the future. Since all of today's failures are only for doc updates, they should be safe to ignore.


Added headLimiter to Build page

Description

Added Head Limiter to the build page
Reason

Because i want headlimiter on the build page

Aside from that code :monkaS: ...
The project has no LICENSE file.
Also please avoid using java Threads, the Bukkit Scheduler exists for a reason, I know you probably just wanted to run the code immediately but then at least assign a name to your Thread or use an ExecutorService as the creation and allocation of a new Thread is among the most expensive operations you can do.
And you are doing this on the main Thread for every cargo item placed. That is not good. That is what the ExecutorService was made for... and the bukkit scheduler (it uses an ExecutorService internally too)

i have added the license now.
Will work on the other requested changes later

Aside from that code :monkaS: ...
The project has no LICENSE file.
Also please avoid using java Threads, the Bukkit Scheduler exists for a reason, I know you probably just wanted to run the code immediately but then at least assign a name to your Thread or use an ExecutorService as the creation and allocation of a new Thread is among the most expensive operations you can do.
And you are doing this on the main Thread for every cargo item placed. That is not good. That is what the ExecutorService was made for... and the bukkit scheduler (it uses an ExecutorService internally too)

i have added the license now.
Will work on the other requested changes later


Add support for encapsulated PGP/MIME format (WIP)

Fix for #576, i.e. https://tools.ietf.org/html/rfc3156#section-6.1
I split the crypto processing into two passes, where the first only handles encrypted parts, the second only signed parts. We can probably simplify this even more because we don't want to handle multiple encrypted/signed parts at all anymore, but I tried to touch as little as possible to get this working.
Still need to profile this, it feels really sluggish. Might just be subjective...
(Note PR is not based on master but on #1299)

There was that issue for progress bars for decrypting - my device isn't slow enough to really test that issue - we can always add it in if it's noticeable with a multiphase process (not that I'm in favour of simultaneously removing features and slowing the app down).

closing this one for now, I'll get back to it later


how can i create a new world for skyland?

i just want to create a new world for skyland,just like this type in server.properties
level-type=FLAT
generator-settings=3;minecraft:air;127;

i can't find any wiki, so can you give me some guide?

now i can create a flat world and how can i do next?

will... when i try again to try this commend '/world cr skyland -d minecraft:overworld -g flat' it report like that
'''
[23:29:35] [Server thread/INFO]: No values matching pattern '-g' present for gamemode!
create skyland -d minecraft:overworld -g flat
'''

will... when i try again to try this commend /world cr skyland -d minecraft:overworld -g flat it report like that
[23:29:35] [Server thread/INFO]: No values matching pattern '-g' present for gamemode!
create skyland -d minecraft:overworld -g flat


Update config options

Some of the config sections for clustering will disappear. Also, the b1 and bz1 options in the [data] section should be removed.
URL for relevant page?
https://docs.influxdata.com/influxdb/v0.10/administration/config/

Fixed by https://github.com/influxdata/docs.influxdata.com/pull/328


Mind ecs

About the PR

Moves functionality out of Mind and into MindSystem
Adds tests to mind code
My brain is fried on tests cases, so if there are any more that need to be get added let me know.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Test failures are for real in this one

The test errors are on a test I just did cleanup on. The logic hasn't changed.
They also seem to be failing on other PRs, so not sure what's happening.

a.


What are the proprties for get the coordinate to crop the images ?

@biubug6
for the code, I find the crop coordinate but it not properly cropping,
ex:
            x = int(b[0])
            y = int(b[1])
            w = int(b[2])
            h = int(b[3])

            crop_img = img_raw[y:y+h,x:x+w]

please provide the coordinate for cropping he face

You can refer to "_crop()" in https://github.com/biubug6/Pytorch_Retinaface/blob/master/data/data_augment.py for detials.
ps: It would calculate iou between box and crop_img.

@NarasimmanSaravana1994
rectangle is added as following:
cv2_imshow(cv2.rectangle(im,(x,y),(x+w,y+h),(0,255,0),2))
I'd suggest numpy-approach for cropping, as:
crop_img = raw_img[y:y+h, x:x+w]
In dets object, we have b[0],b[1],b[2],b[3], where b[1], b[3] are y, y+h, and b[0], b[2] are x,x+w
Therefore, cropping goes as:
cropped = img_raw[b[1]:b[3], b[0]:b[2]]
Works like a charm!


New HTTP/2 Push Notification Provider API from Apple

Apple announced a new provider API coming later in 2015 that is based on HTTP/2.
https://developer.apple.com/videos/wwdc/2015/?id=720 (at about 20 minutes)
The request/response cycle with standard http status codes means that issues like #14 don't need elaborate ring buffer solutions. There is also no need for a separate feedback service.
There will be no need to keep the existing APNS provider API as the new API applies to older devices. The video mentions some other changes, such as 4K payloads and ~100-character device tokens.
For HTTP/2 in Ruby, perhaps: https://github.com/igrigorik/http-2

@nathany, Thanks for the info! This does indeed look like a nice way to resolve #14 (and the handful of related issues). I don't currently have bandwidth to move to the new HTTP/2 API, but would be happy to serve as a sounding board, reviewer, etc... if you (or someone else out there) wishes to tackle it.

+1. I also currently don't have the spare time to fully implement and maintain this and neither am I 100% confident that I have the skills to create a robust, production-quality implementation, but would be willing to play around with it once the API is finally opened on Apple's end.
Would appreciate a ping on this thread when the API is open just in case I miss the news.

Stay tuned, we’ll be going live with the new protocol and publishing new documentation soon.
Paul Danbold

It's not available quite yet, but the sandbox is working from my own tests.

For your information, the new Notification API is now available:
https://developer.apple.com/news/?id=12172015b
For people who also use Go, this is the library I'm working on:
https://github.com/RobotsAndPencils/buford

That's great news!

I've got an app that was written a couple years back that uses grocer, and our push notification cert is about to expire. I've been working with another developer for a few hours now to try and get the new cert working, but we can't seem to get it.
However, we did successfully send one using houston's CLI. I'm not 100% sure, but I think the new certs don't work with grocer at the moment.

@dkniffin - You don't need to create a new certificate. Just renew the existing certificate, once it expires. Upload the same to whatever you use to send pushes. Creating a new one will work too, but make sure, it's for the same app bundle, com.'orgname'.'appname'

Moving to the HTTP/2 push provider API is a desirable and necessary step in the long term. It will also alleviate several tricky and subtle issues we (and many other APNS clients) have with the original push provider APIs.
However, I don't use Grocer in my current product, and so am unable to dedicate much time to it other than smaller maintenance things. I am looking for someone (or someones) else to help with this project and specifically with moving it to the HTTP/2 API.
I would be happy to help with such an effort, but I can't be the one driving it at this time. Please let me know if you are interested in leading the effort and/or in helping with the project.

I have been working on a HTTP/2 client, which is going into production this week https://github.com/alloy/lowdown. Feel free to take code from it, if that helps.

@alloy Thanks! I will make a try.

On this note, I've recently released NetHttp2 (a HTTP/2 client), and also Apnotic (a full APN solution that can be easily embedded in Rails too).
Feel free to poke from there, let me know if I can be of help.


New Relic parameter for Gambit Error Message

What's this PR do?
Logs a new gambitErrorMessage  custom parameter in New Relic from helpers.sendErrorResponse.
How should this be reviewed?
Replicate #881 and verify the error message appears in New Relic:

Relevant tickets
Fixes #880
Checklist

[ ] Tested on staging.

Codecov Report

Merging #882 into develop will increase coverage by 0.26%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #882      +/-   ##
===========================================
+ Coverage     11.3%   11.56%   +0.26%
===========================================
  Files           21       21
  Lines         1053     1055       +2
===========================================
+ Hits           119      122       +3
+ Misses         934      933       -1

Impacted Files
Coverage Δ

lib/helpers.js
98% <100%> (+0.04%)
:arrow_up:

newrelic.js
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1840bc4...d9bebd1. Read the comment docs.

Good call @rapala61 ! Updated.


SSO Integration

Implement UI and user flow for:

Student enters PID/PAC
Student taps submit
System connects to ECP
ECP returns token
Token securely stored on device

The UI and login handling is mostly there already, hopefully mobile SSO demo next week goes well and we can start using it.

Can some of the tasks be labeled for first timers?

Probably not the tasks for this issue, will be keeping an eye out for others.

iOS screenshot for reference as well

This has been initially completed on the sso branch. Remaining tasks will be handled with individual issues


[BUG]  MRTK's "MRTK_FluentIconSet SDF" font does not work with URP (renders in one eye), should switch to Graphics Toolkit Shader

Describe the bug
MRTK's "MRTK_FluentIconSet SDF" font does not work with URP (renders in one eye), should switch to Graphics Toolkit Shader.  Currently the "MRTK_FluentIconSet SDF" is using the "TextMestPro/Distance Field" shader.

This shader works when using Standard Render Pipeline.  However, fails to work with the Universal Render Pipeline (at least on HoloLens 2).
We should move to one of the Graphic Toolkit's TextMesh Pro Shaders, which works with the URP.
To reproduce
Steps to reproduce the behavior:

Open MRTK3 sample app
Change to URP renderer
Deploy to HoloLens 2
All button icons only render in one eye

Expected behavior
Button Icons to render in both eyes with URP
Your setup (please complete the following information)

Unity Version - 2021.3 LTS
MRTK Version or Commit - https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/commit/c3af2c27de98c0caa96ce0be076de6127b526139

Target platform (please complete the following information)

HoloLens 2

Changing the shader to "Graphics Tools/Text Mesh Pro" seems to work.   Going to double check with maintainers on change


Use "with" instead of "along"

something() along value 3
something() with value 3

This was done in #83


adding folder fails

I try to add a folder "foo" into the (existing) folder "/a/b/" with the following code:
    i = onedrivesdk.Item()
    i.name = "foo"
    i.folder = onedrivesdk.Folder()
    cs = client.item(path="/a/b/").children
    cs.add(i)

Yet I just get:
File "C:\Users\info\AppData\Local\Programs\Python\Python35-32\lib\site-packages\onedrivesdk\request\children_collection.py", line 43, in add
    entity = Item(json.loads(self.send(entity).content))
NameError: name 'Item' is not defined

I've submitted yesterday a pull request that fixes this. In the meantime, you might want to go into your children_collection.py file and add from ..model.item import Item.
The file is located under ../onedrive-sdk-python/src/python2/request/children_collection.py.
However, if you're using it inside a virtualenv, you should make the change there, not in the SDK folder you've cloned (if you did so).

This is fixed in #86 which is now in master. I will update the version and push to pypi.

Awesome guys! Thanks a lot.


Basic Request an Icon page

Could use content help some design. I'm really just showing the basic concept. Feel free to offer other direction.

Fixes https://github.com/resolvetosavelives/healthicons/issues/56

My first shot at this

This looks good. I'm going to merge this for now as it's better than what we have today.


Support Duration for jobs periodicity

Instead of doing
name = 'send_emails'
config = {}
config[:class] = 'SendEmail'
config[:args] = 'POC email subject'
config[:every] = ['1h', {first_in: 5.minutes}]
config[:persist] = true
Resque.set_schedule(name, config)

it would be a good idea to be able to do this
config[:every] = [1.hour, {first_in: 5.minutes}]

The whole .hour and .minutes would require a dependency on ActiveSupport.
Though, maybe we could just have it take a Numeric of seconds, because...
$> 1.hour.to_i
 => 3600
$> 1.hour.is_a?(Numeric)
 => true


"kernel version you specified is not installed" when trying install an module in updated initrd 5.17

Hello.
I have installed Ubuntu 20.04.3 kernel 5.11.
After installed PPA https://launchpad.net/~tuxinvader/+archive/ubuntu/lts-mainline
sudo apt-get install linux-generic-5.17
Using uname -r show
5.17.3-051703-generic
Using dpkg --list | grep linux-image
ii  linux-image-5.11.0-27-generic                 5.11.0-27.29~20.04.1                amd64        Signed kernel image generic
ii  linux-image-generic-hwe-20.04                 <IP_ADDRESS>.29~20.04.11               amd64        Generic Linux kernel image
ii  linux-image-unsigned-5.17.3-051703-generic    5.17.3-051703.202204140912          amd64        Linux kernel image for version 5.17.3 on 64 bit x86 SMP
I have installed Rapiddisk (disk read write cache utility).
Rapiddisk have option to install modules in initrd with an command line
sudo bash install_initrd.sh --install --size=128 --cache-mode=wb --kernel=5.11.0-27-generic
changing 5.11.0-27-generic to 5.17.3-051703-generic show the message
**** Error: the kernel version you specified is not installed. Exiting...
I have installed the files below from PPA
linux-headers-5.17.3-051703_5.17.3-051703.202204140912_all
linux-headers-5.17.3-051703-generic_5.17.3-051703.202204140912_amd64.deb
linux-generic-5.17_5.17.3_amd64
linux-image-unsigned-5.17.3-051703-generic_5.17.3-051703.202204140912_amd64
linux-modules-5.17.3-051703-generic_5.17.3-051703.202204140912_amd64
I not understand if need any another file to register information in OS allowing the command line work with the updated kernel.
Please is need to install more others files ? Is correct install kernel 5.17 directly over 5.11 not installing kernel 5.13 before ?
Thanks for read.
Have an nice week.

Please modify your install_initrd.sh script and change line 178
-       kernel_installed="$(dpkg-query --list | grep -P 'linux-image-\d' |grep '^.i'| awk '{ print $2 }'| sed 's,linux-image-,,')"
+       kernel_installed="$(dpkg-query --list | grep -P 'linux-image-(unsigned-)?\d' |grep '^.i'| awk '{ print $2 }'| sed -re 's,linux-image-(unsigned-)?,,')"

Currently the script does not support unsigned kernels, this change will make it detect both signed and unsigned.
If this works for you then you might want to request a change on the pkoutoupis/rapiddisk project.

Now the script works.
Thanks very much for your reply.
Have an nice week and again thanks for your PPA.

I'm glad it's working. Closing this issue :-)


[ExceptionRender] Exceptions without $this->error still set the exceptions array when rendered

What Happened
First off, not sure if this is an actual defect or if I'm throwing exceptions incorrectly. Feel free to let me know if it's the latter.
My tests broke as of Mixer 1.1.6 and I noticed the bugfix (#128) involving the $exceptions property in the exceptions renderer, here is the specific test failure I'm encountering:
 ✘ Authenticate rejects invalid base 64 encoded payloads
   ┐
   ├ Failed asserting that two strings are equal.
   ┊ ---·Expected
   ┊ +++·Actual
   ┊ @@ @@
   ┊ -'{"exception":"BadRequestException","message":"<error message>","url":"\/users\/authenticate","code":400}'
   ┊ +'{"exception":"BadRequestException","message":"<error message>","url":"\/users\/authenticate","code":400,"exceptions":[{}]}'
   │
   ╵ /Users/path/to/my/Code/tests/TestCase/Controller/UsersControllerTest.php:165
   ┴

Note the EMPTY exceptions property in the rendered exception. Here's the test that throws this error:
$this->assertEquals(400, $this->_response->getStatusCode());
$expected = [
    'exception' => 'BadRequestException',
    'message' => AuthzError::REQUEST_AUTHORIZATION_HEADER_PAYLOAD_FAIL
    'url' => '/users/authenticate',
    'code' => 400,
    // 'exceptions' => [new stdClass()],          <-----  if I don't have this line, test fails
];
$expected = json_encode($expected);
$this->assertEquals($expected, (string) $this->_response->getBody());

See how I have to have the exceptions key in my array, with its value set to an array of a single stdClass object? That's yucky, no? It certainly feels very hacky to me. So I started tracking down where it could have come from.
It turns out that the exception getting rendered doesn't have the $this->error property set (unknown why) and so these lines (in the MixerApiExceptionRender):
$exceptions = [$exception];               // this is the offending line
$previous = $exception->getPrevious();
while ($previous != null) {
    $exceptions[] = $previous;
    $previous = $previous->getPrevious();
}

are resulting in an array with a single null entry, which gets encoded to the weird JSON as shown above.
Expected Behavior
I feel like the way it should behave is to do a null check on $this->error and set $exceptions = []; if it is null.
Steps to Reproduce
I'm just throwing basic exceptions from my controller like this, but as I mentioned above this could be wrong:
throw new BadRequestException(
    AuthzError::REQUEST_AUTHORIZATION_HEADER_REQUIRES_BASIC_SCHEME->description(true)
);

One other solution I considered was wrapping the Cake exceptions in my own custom exceptions which make sure to set $this->error but it also seems like a null check would be beneficial here.
Version and Platform (please complete the following information):

OS/Platform: macOS
CakePHP: 4.4.8
MixerApi Version: 1.1.6

Attachments
N/A

Hmm... I looked at this again and this indeed not intended behavior.

So these changes introduced in 1.1.6 were meant to compensate for a change cakephp made in 4.4.6. Take a look at the changes introduced in WebExceptionRender and the related templates such as https://github.com/cakephp/cakephp/compare/4.4.5...4.4.6 here: https://github.com/cakephp/cakephp/compare/4.4.5...4.4.6
This change caused issues in MixerAPI 1.1.5 and earlier. It appears I didn't compensate for them well. Unfortunately, as best I can tell, the exceptions property is now required.  Removing it causes issues for error rendering of standard text/html requests when debug is enabled.
** Long Term**
Exception Rendering needs to be re-thought, especially given all the other changes CakePHP has made with ErrorTraps. What MixerAPI has now will almost certainly go away with mixerapi v2 which will only support cakephp 5. In the interim I think a minor version should mark MixerApiExceptionRender::class as deprecated and instruct users to use whatever its replacement is.
** For Now**
Best I can think of to do is unset the exceptions property when debug is off which doesn't seem to cause any issues. I am leaning towards this because that data should never be displayed in production applications. This was already done with the errors property.

Testing for just the code and the error string is definitely acceptable, thanks for that suggestion.
After a little more experimentation, the $exceptions var is not in fact null on line 87 as I had previously thought. So I'm wondering now if the serialization is in fact what is causing the weird [{}] JSON. I think figuring out the exact problem there does in fact involve delving deep into the WebExceptionRenderer which I'm a bit hesitant to do for all the reasons you stated vis a vis the recent ErrorTrap changes and Cake 5.
I have confirmed via a local vendor file change that adding an unset($viewVars['exceptions']) to the debugViewVars() method resolves the problem by removing the problematic key entirely. I can put together a PR for this but might need a little help with the tests if that's OK.

https://github.com/mixerapi/mixerapi-dev/releases/tag/v1.1.7


Monoid(undefined) should be handled according to the rules on the Monoid

Is your feature request related to a problem? Please describe.
A question was raise https://github.com/evilsoft/crocks/issues/301 by @bennypowers. Floating the idea of m(nil) returning an empty for the monoid.
Describe the solution you'd like
We will need to consider the behaviour of each monoid but if undefined hits the monoid and it is not expected we should handle it accordingly. In the case of Any and All which utilize coercion, should coerce into a false. All other Monoid should throw if their carrier type cannot deal with the unit.
Describe alternatives for how you do this now
@bennypowers  can you add here if you have any
Code
Additional context

yeah I suppose the alternative would be mapping over the input with some function that coerces for you


New function: `X.P.Window.windowMultiPrompt'

Description
Like 'windowPrompt', but uses the multiple modes feature of
@Prompt@ (via 'mkXPromptWithModes').
Given a list of actions along with the windows they should work
with, display the appropriate prompt with the ability to switch
between them using the<EMAIL_ADDRESS>For example, to have a prompt that first shows you all windows, but
allows you to narrow the list down to just the windows on the
current workspace:

windowMultiPrompt config [(Goto, allWindows), (Goto, wsWindows)]

Checklist

[X] I've read CONTRIBUTING.md

[X] I tested my changes with xmonad-testing

[X] I updated the CHANGES.md file

This looks good to me.  The problem with requiring users to edit CHANGES.md is that it creates merge conflicts whenever any PRs are submitted in parallel (i.e., all the time).  It's annoying, but on the other hand I'm not sure what a better solution would be.


Adding a tab externally

I built an app using map series. It has 9 tabs. I have an application developed using php and sql server database table. I want to add my php application as an additional tab to the map series. How can I accomplish that? Thanks.

You should be able to just paste in the URL of your PHP app using the "web page" content type in a new section of your Map Series. Can you please try that if you haven't already and let me know if it works?

I am going to host my php app through our web server. After that, I should be able to embed it like you said. I will let you know if it works or not.Thanks

@oevans, That works. Thank you.


Merge optimization by fast forwarding ranges - Step 2

The merge operation receives two metaranges source-metarange destination-metarange and finds the base-metarange.
The merge operation creates a new metarange which is done by a three-way diff.
The merge operation is currently optimized in a few ways ( showed in the example ) by writing ranges without the need to read and create new ranges
The previous optimization (#2710 ) handles only cases where all three ranges ( source, destination, and base ) have the exact same bounds.
This optimization should also support the case of same bounds with multiple ranges.
Example
Let's consider the following metaranges:
base-metarange

range_id
min_key
max_key
count

1
path_a/
path_a/z
50

2
path_b/
path_b/z
50

3
path_c/
path_c/z
50

7
path_d/
path_d/z
50

destination-metarange

range_id
min_key
max_key
count

1
path_a/
path_a/z
50

4
path_b/
path_b/z
50

3
path_c/
path_c/z
50

8
path_d/
path_d/e
30

9
path_d/
path_d/z
30

source-metarange

range_id
min_key
max_key
count

1
path_a/
path_a/z
50

5
path_b/
path_b/z
55

6
path_c/
path_c/z
55

7
path_d/
path_d/z
50

10
path_f/
path_g/z
55

When creating the merge-metarange

The merge operation will write range 1 to merge-metarange without the need to read and compare
The merge operation will read range 2, range 4 and range 5 and create a new range (or ranges)  containing the merged objects
The merge operation will write range6 to merge-metarange without the need to read and compare ( fast forward optimization step 1)
The merge operation will read range 7, range 8, and range9 and create new ranges containing the merged objects
The merge operation will write range10 to the merge-metarange.

Step 1 ,2,3 and 5 are optimized.
Suggestion
Currently, the optimization works only on single ranges (i.e one for source, one for destination, and one for base )
This step should also handle the case of same bounds for a few consecutive ranges.
In the example, we would optimize step 4 by writing range 8 and range 9 without the need to read the ranges.
Note - this step should only optimize the case that one side (source or destination) is a single range and the other is a set of consecutive ranges with the same bounds. The case of consecutive ranges on both sides will not be handled as part of this issue.

After checking on some cases, we should handle the case of consecutive ranges on both sides, we wont benefit much from adding only the first.
This optimization should be done together with the case of consecutive ranges on both sides.
In order to complete this issue, we should first handle #2784


Separate Mentors from ECTs

➡ Preview
Mentor list

Mentor profile

Closing this iteration for now - can always revert to it if needed.


Map out operations input and output data structures for CLI

What
We need to map out what information we get about operations from the new ingestion system. We also need to know what the output to BigQuery should look like. Part of #19.
Why
This issue helps us know what information about operations we can get from the ingestion system and what information may have to be reconstructed or omitted.

In order to get Operations info, we need to look through Transaction information. The NewLedgerTransactionReader() function creates a transaction reader for a given ledger, which allows for iterating through each transaction. Calling txReader.Read() gives a LedgerTransaction struct, which is defined as:
type LedgerTransaction struct {
	Index    uint32
	Envelope xdr.TransactionEnvelope
	Result   xdr.TransactionResultPair
	// FeeChanges and Meta are low level values.
	// Use LedgerTransaction.GetChanges() for higher level access to ledger
	// entry changes.
	FeeChanges xdr.LedgerEntryChanges
	Meta       xdr.TransactionMeta
}

Operations are stored in tx.Envelope.V1.Tx.Operations (call a given operation op)
In order to export the data to BigQuery, we need a struct with the following fields:
source_account: string - get from op.SourceAccount.ToAccountId().GetAddress(); if it doesn't exist then use the transaction source account
transaction_id: integer - TODO: figure out history table mapping in order to connect operations to their parent transaction
type: integer - get from op.Body.Type
application_order:  integer - get from index of op in the operations list; starts at 1 instead of 0
details: struct
details.account: string
details.amount: float
details.asset_code: string
details.asset_issuer: string
details.asset_type: string
details.authorize: boolean
details.buying_asset_code: string
details.buying_asset_issuer: string
details.buying_asset_type: string
details.from: string
details.funder: string
details.high_threshold: integer
details.home_domain: string
details.inflation_dest: string
details.into: string
details.limit: float
details.low_threshold: integer
details.master_key_weight: integer
details.med_threshold: integer
details.name: string
details.offer_id: integer
details.path: Path struct
details.path.asset_code: string
details.path.asset_issuer: string
details.path.asset_issuer: string
details.price: float
details.price_r: Price struct
details.price_r.d: integer
details.price_r.n: integer
details.selling_asset_code: string
details.selling_asset_issuer: string
details.selling_asset_type: string
details.set_flags: integer
details.set_flags_s: string
details.signer_key: string
details.signer_weight: integer
details.source_amount: float
details.source_asset_code: string
details.source_asset_issuer: string
details.source_asset_type: string
details.source_max: float
details.starting_balance: float
details.to: string
details.trustee: string
details.trustor: string
details.value: string
details.clear_flags: integer
details.clear_flags_s: string
details.destination_min: string
details.bump_to: string

The details struct must be filled out on a case by case basis. The fields that get filled out are dependent on the type of operation that is being performed. If a field is not filled, it should default to null. See the Operations_Processor's Details() method for an example of a switch that fills out the details based on operation type.


CORTX-33018: Support external ssl secret

Description
This change supports a user-specified TLS/SSL certificate.
In solution.yaml, if common.ssl.external_certificate is specified, then a secret with the specified name is presumed to hold the certificate to be used by CORTX servers.
Requirements:

This secret must have the key "cortx.pem"
The contents of the field must be in PEM format, containing the Private Key and Certificate

By default common.ssl.external_secret is not specified.  In this case a certificate is generated.  (Technically, it is not generated at the time of deploy, but it uses a previously generated certificate that expires in about 10 years.  It would be better to generate this certificate at deploy time, but this PR does not address this.  It can be addressed in the future.)

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds new functionality)
[ ] Breaking change (bug fix or new feature that breaks existing functionality)
[ ] Third-party dependency update
[ ] Documentation additions or improvements
[ ] Code quality improvements to existing code or test additions/updates

Applicable issues

This change fixes an issue: CORTX-33018

CORTX image version requirements
N/A
How was this tested?

Tested with ssl.external_secret not specified
Tested with ssl.external secret set to cortx-ssl-cert (same as default name) and also as a different name.

Checklist

[x] The change is tested and works locally.
[ ] New or changed settings in the solution YAML are documented clearly in the README.md file.
[x] All commits are signed off and are in agreement with the CORTX Community DCO and CLA policy.

If this change requires newer CORTX or third party image versions:

[ ] The image fields in solution.example.yaml have been updated to use the required versions.
[ ] The appVersion field of the Helm chart has been updated to use the new CORTX version.

If this change addresses a CORTX Jira issue:

[x] The title of the PR starts with the issue ID (e.g. CORTX-XXXXX:)

Thanks, @keithpine .  Great comments.  I have addressed them all, I think.


Footer update with links to pt-BR entries

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)

Adding links to Portuguese translation of about, FAQ, CoC and support pages.

@scissorsneedfoodtoo


Make use of Rhizome

Change the code to make use of Rhizome for in-app visualization or output to a file.

Ended up using Dorothy instead.


Improve activity page monitoring

Context
The previous PR I did to monitor this page was not enough. This PR adds more information to be able to create a dashboard.
activity_page_response - response time
activity_page_timeout - if the page timed out, this is not an exact metric, it's based on previous response times that experienced time outs, over 115 seconds
activity_page_providers - the provider_ids, the activity log can show logs for multiple providers
Changes proposed in this pull request
Added more columns to query in logit
Guidance to review
I created a dummy dashboard using review data. Is there any other helpful information missing?

Dashboard
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault
[ ] Inform data insights team due to database changes
[x] Make sure all information from the Trello card is in here
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally
[x] Add PR link to Trello card

 Add benchmarking to Provider Activity Log


[iOS] MLVision Face Detection - Out of memory issue

I tested MLVisionExample with face detection in live camera and saw the error "Terminated due to memory issue" when memory use increased continuously to crash app (> 1GB). Sample app runs OK when only me is in the camera frame (front camera). App will be crashed in the following cases:

Nobody in the camera frame. I let the device on the table, nobody was detected and memory increased continuously to crash.
There're 2 persons in the camera frame. App can detect 2 persons but it will crash soon
Use: options.modeType = FIRVisionFaceDetectorModeAccurate; in code

Is the problem in the SDK or sample app?

The sample app is pretty simple; at first glance this seems to be an issue in the SDK itself.
What device were you running this on?

I run sample on iPhone 7

Are you using CocoaPod to install the Firebase/MLVision?  If so, can you check your Podfile.lock to see which version of MLVision you are using?  Please make sure to use the latest version 0.10.0.  The OOM issue existed in 0.9.0, but should be fixed in 0.10.0.

@bcdj : you're right. After updating to ver 0.10.0, the issue was fixed. Thanks guys!


Issues connecting: port 5000: Connection refused

Docker version
Client:
Version:      1.8.1
API version:  1.20
Go version:   go1.4.2
Git commit:   d12ea79
Built:        Thu Aug 13 02:49:29 UTC 2015
OS/Arch:      darwin/amd64
Server:
Version:      1.8.1
API version:  1.20
Go version:   go1.4.2
Git commit:   d12ea79
Built:        Thu Aug 13 02:49:29 UTC 2015
OS/Arch:      linux/amd64
Steps:

Run
$ docker-machine create --driver virtualbox --engine-insecure-registry <IP_ADDRESS>:5000 dev

where <IP_ADDRESS> is my docker's machine IP
$ docker-machine ls
NAME       ACTIVE   DRIVER       STATE     URL                         SWARM
dev           *        virtualbox   Running   tcp://<IP_ADDRESS>:2376

Set up docker
docker-machine env dev
eval "$(docker-machine env dev)"

Try to reach registry via curl and it fails to connect
$ curl http://<IP_ADDRESS>:5000/v1/_ping
curl: (7) Failed to connect to <IP_ADDRESS> port 5000: Connection refused

Thought adding --engine-insecure-registry would take care of it according to the documentation?

--engine-insecure-registry does not install a registry.
You may start here to install one: https://github.com/docker/distribution/blob/master/docs/index.md

I did install it...
I was able to resolve the issue by shutting everything down and recreating everything from scratch. Perhaps something went wrong the very first time when I was setting up... but yeah, not an issue.


[WIP] Java: updating for gax multiple transport refactoring

Codecov Report

Merging #1345 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1345      +/-   ##
============================================
+ Coverage     86.45%   86.51%   +0.05%
- Complexity     3854     3872      +18
============================================
  Files           378      379       +1
  Lines         15383    15449      +66
  Branches       1707     1709       +2
============================================
+ Hits          13299    13365      +66
  Misses         1627     1627
  Partials        457      457

Impacted Files
Coverage Δ
Complexity Δ

.../api/codegen/viewmodel/StaticLangSettingsView.java
100% <ø> (ø)
8 <0> (ø)
:arrow_down:

...m/google/api/codegen/viewmodel/FileHeaderView.java
75% <ø> (ø)
5 <0> (ø)
:arrow_down:

...oogle/api/codegen/viewmodel/StaticLangApiView.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...gle/api/codegen/viewmodel/ApiCallSettingsView.java
85.71% <ø> (ø)
4 <0> (ø)
:arrow_down:

...en/viewmodel/StaticLangApiAndSettingsFileView.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

.../google/api/codegen/viewmodel/ApiCallableView.java
83.33% <ø> (ø)
2 <0> (ø)
:arrow_down:

...pi/codegen/transformer/ApiCallableTransformer.java
98.21% <100%> (-0.07%)
24 <1> (+1)

...ogle/api/codegen/viewmodel/StaticLangFileView.java
100% <100%> (ø)
3 <2> (?)

...api/codegen/transformer/FileHeaderTransformer.java
100% <100%> (ø)
3 <0> (ø)
:arrow_down:

...codegen/viewmodel/StaticLangStubInterfaceView.java
100% <100%> (ø)
2 <2> (?)

... and 5 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 68ff1e7...5259563. Read the comment docs.

Addressed feedback, PTAL

LGTM but others should sign off.

LGTM from me also


[Integration]:Casper Staking

Project name
Casper staking
URL to be whitelisted
https://casper-staking.netlify.app
Code audit/review URL if available
https://github.com/ferrumnet/staking-casper-frontend/pull/5
Project description
The Ferrum staking as a service is an open source implementation of ferrum’s blockchain token staking technology.
Project's phase
Design
Who is the project owner?
Private person
Project owner's name
Nick odio
What kind of Web3 functionality will you be offering in your product?
token staking
Contact details
N/A
Link to the code
https://github.com/ferrumnet/staking-casper-frontend/pull/5
Is this a project by an enterprise partner of Casper Association or CasperLabs?
Yes
Grant/proposal number if this is a project funded by the DEVxDAO
N/A

Dear @ibraheemkabir ,
I verified the next steps with the team developing and managing Signer and the new Casper Wallet. The recommended direction is to integrate your application directly with Casper Wallet. Casper Wallet is Live. You can find the details like reference integration, FAQs and other info from here.
Please check and let me know in case of any challenges in integrating with Casper Wallet.


Dropped Compat dependency.

If the REQUIRE had said julia 0.6 instead of julia0.6-, FemtoCleaner would have stripped all of these @compats for you.

Good call, thanks. FemtoCleaner did do a pass here.


Abide single valid/invalid event for every input

Currently, there is a valid/invalid undocumented event triggered for some single inputs (not for the whole form - see issue #4802), but not for all of them.
Specifically, looking at check_validation_and_apply_styles() they are triggered only when:

The input is NOT a radio button
The input is NOT a checkbox
There is NOT a custom validator associted to the input

When the three above conditions are satisfied, you can see that
$(el).triggerHandler('valid');

or
$(el).triggerHandler('invalid');

is called.
As I stated on issue #4802, I think that having these events available can be useful. Firing them for every input may be easy to implement as the el variable is always available:

When it is a radio button they can be easily triggered calling

$(el).triggerHandler(...);

inside valid_radio()

The same for checkboxes inside valid_checkbox()
For custom validators, they can be triggered by the user within its own custom code, but adding them in this if/else block will make them always available.

Tested in Foundation 5.2.1

Duplicate, closing for https://github.com/zurb/foundation/issues/4802


WIP: Upgrade bindings for Node 10.

ld: warning: dylib (/usr/local/opt/llvm/lib/libc++.dylib) was built for newer macOS version (10.15) than being linked (10.8)
ld: warning: dylib (/usr/local/opt/llvm/lib/libunwind.dylib) was built for newer macOS version (10.15) than being linked (10.8)
ld: warning: dylib (/usr/local/opt/llvm/lib/libunwind.dylib) was built for newer macOS version (10.15) than being linked (10.8)
  c++ -o Release/obj.target/route_annotator/src/nodejs_bindings.o ../src/nodejs_bindings.cpp '-DNODE_GYP_MODULE_NAME=route_annotator' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DBUILDING_NODE_EXTENSION' '-DNDEBUG' -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/src -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/deps/openssl/config -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/deps/openssl/openssl/include -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/deps/uv/include -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/deps/zlib -I/Users/buromookerji/Library/Caches/node-gyp/10.22.0/deps/v8/include  -O3 -mmacosx-version-min=10.8 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++14 -stdlib=libc++ -fvisibility-inlines-hidden -isystem /Users/buromookerji/projects/mapbox/route-annotator/node_modules/nan -isystem /Users/buromookerji/projects/mapbox/route-annotator/mason_packages/.link/include/ -Werror -MMD -MF ./Release/.deps/Release/obj.target/route_annotator/src/nodejs_bindings.o.d.raw -I/usr/local/opt/llvm/include  -c
../src/nodejs_bindings.cpp:112:37: error: 'Utf8Value' is deprecated [-Werror,-Wdeprecated-declarations]
        const v8::String::Utf8Value tag_utf8String(info[1]);
                                    ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/nodejs_bindings.cpp:121:37: error: 'Utf8Value' is deprecated [-Werror,-Wdeprecated-declarations]
        const v8::String::Utf8Value osm_utf8String(info[0]);
                                    ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/nodejs_bindings.cpp:137:41: error: 'Utf8Value' is deprecated [-Werror,-Wdeprecated-declarations]
            const v8::String::Utf8Value file{file_array->Get(idx)};
                                        ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/buromookerji/Library/Caches/node-gyp/10.22.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
3 errors generated.
make[1]: *** [Release/obj.target/route_annotator/src/nodejs_bindings.o] Error 1


Minor session object documentation issues

I suspect this is a documentation issue, for expected and desired behaviour, rather than an unintended bug...
http://docs.python-requests.org/en/master/user/advanced/#session-objects states that

The Session object ... will use urllib3's connection pooling. So if you're making several requests to the same host, the underlying TCP connection will be reused, which can result in a significant performance increase (see HTTP persistent connection).
...
Note, however, that method-level parameters will not be persisted across requests, even if using a session. This example will only send the cookies with the first request, but not the second: ..."

There is a minor conflict between those, in that exceptions to the rule include the verify parameter and likely other connection related parameters (cert, timeout, ...?), which do in fact persist across the requests.  This is strongly implied by the opening paragraph, which says that the connection is reused.
Also "several requests to the same host" is not quite correct, I believe, as different protocols will result in different connections, naturally.

Note #3289 shows the verify parameter being persistent between requests in the same session.

What would be interesting to test is whether a connection reset of some sort causes the verify parameter in the session to the same protocol/host to be lost.  Maybe there is a test in urllib3 that already covers that scenario.

This is a known issue (see #2863) and will be fixed in an upcoming release, having had the underlying urllib3 issue fixed (shazow/urllib3#830).


Feat/adding ids  for testing

Added support for assigning custom IDs to form elements, including columns, rows, fields, and buttons. Previously, IDs were derived from the attributes provided. Now, there is the ability to override these IDs with other values.
While creating tests, I identified several scenarios where specifying a custom ID was useful. This feature resolves issues where attributes could not be added, where existing attributes were duplicated, or where no suitable ID was available.

Several AsyncPipe imports weren't being used, so I removed these also.


QUICK-FIX Do not store value of TITLE label as it's not displayed in some cases

list_all_headers_txt should contain "TITLE" as it's then converted in order to produce AssessmentEntity with title attribute.
Btw, TITLE label is still shown in info panel so another implementation could check if it's info page or info panel and still set title_lbl_txt but I think it would be overcomplexity.
@SergeyRabtsau please review

@tor4 pls update your PR https://github.com/google/ggrc-core/pull/7346 by changes in this PR

@abotalov @SergeyRabtsau Thank you 👍


Added Arduino_Servo_Motor files

Have you read the Contributing Guidelines ?

[x] Yes

Description
Added an arduino setup that demonstrates how to control a servo-motor.
fixes #561

Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
PR made under GSSoC'22 contributions

@prakhar3062 have a look .

@Kushal997-das Any updates?


Planned

Create new Label "Planned"
Also validate from issue body when a incident starts and ends
If start dateTime is empty use creation date.

Its possible to use the Details HTML object to do this.

Defined Information in comment

How its looks like in Github

How its looks like on status page

Also hide the investigation label on incident page when an maintenance is planned or at the time


Config JSON matrices format

When I export the configuration into the json file using the Save configuration button, the motion model matrices are not written out in the 2D matrix form, but in number-per-line format (see picture below). Their values are 100% correct, but it's visually difficult to check the matrix for symmetry & see its diagonal values. Could we re-format this?

This is to do with how json files are written in general. If you write a config file using BayesianTracker directly rather than through the gui:
import btrack
from btrack import datasets

config_file = btrack.datasets.cell_config()
config = btrack.config.load_config(config_file)
btrack.config.save_config('test_config.json', config)

you'll get the same result. Maybe there's a library we can use to format the json nicely, or perhaps it's possible by writing a custom json encoder to pass to pydantic, but I'm not sure.
Should we move this issue to the main BayesianTracker repo?

Alternatively, could we store these "matrices" as matrices, i.e. 2D lists?

we could but there would still be only one element per line not one sub-list per line, so it would be the same looking file just with more square brackets and indentation. We'd still need to write a custom encoder to write it nicely.
Plus changing the way the config files are written might break things for a lot of people, unless we support reading both the current format and a new format with 2d lists

Agreed it would be a drastic change but I personally don't think it is worth the effort if we keep them as 1D lists.


[Question] What browser does it supports ?

Does it support safari 9, IE 11 ?

duplicate of #359


Mariadb rejects connection

Hi,
I've installed erpnext with helm in k8 & have a woking mariadb-galera.  Tried with several mariadb deployment also. All times recieve a msq like  this:
2021-09-25 23:00:33 154 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 155 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 156 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 157 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 158 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 159 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 160 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:33 | 2021-09-25 23:00:33 161 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 7 [ERROR] Slave SQL: Error 'Operation DROP USER failed for<EMAIL_ADDRESS>on query. Default database: ''. Query: 'DROP USER<EMAIL_ADDRESS>Internal MariaDB error code: 1396
25/9/2021 20:00:34 | 2021-09-25 23:00:34 7 [Warning] WSREP: Ignoring error 'Operation DROP USER failed for<EMAIL_ADDRESS>on query. Default database: ''. Query: 'DROP USER<EMAIL_ADDRESS>Error_code: 1396
25/9/2021 20:00:34 | 2021-09-25 23:00:34 6 [Warning] 'proxies_priv' entry '@% root@mariadb-ga-0' ignored in --skip-name-resolve mode.
25/9/2021 20:00:34 | 2021-09-25 23:00:34 163 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 165 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 166 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 167 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 168 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 169 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 170 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 171 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 172 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 173 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 174 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 175 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 176 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 177 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 162 [Warning] Aborted connection 162 to db: '_dea7e04cce7812bc' user: '_dea7e04cce7812bc' host: '<IP_ADDRESS>' (Got an error reading communication packets)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 178 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 179 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 180 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 181 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 182 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 183 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 184 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 185 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 186 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 187 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 188 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 189 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 190 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 191 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 192 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:34 | 2021-09-25 23:00:34 193 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 194 [Warning] Aborted connection 194 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 195 [Warning] Aborted connection 195 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 196 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 197 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 198 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 199 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 200 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 201 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 202 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 203 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 204 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 205 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 206 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 207 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 208 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 209 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 210 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:35 | 2021-09-25 23:00:35 211 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: NO)
25/9/2021 20:00:40 | 2021-09-25 23:00:40 212 [Warning] Aborted connection 212 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:40 | 2021-09-25 23:00:40 213 [Warning] Aborted connection 213 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:41 | 2021-09-25 23:00:41 214 [Warning] Aborted connection 214 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:41 | # Time: 210925 23:00:41
25/9/2021 20:00:41 | # User@Host: root[root] @ localhost []
25/9/2021 20:00:41 | # Thread_id: 215 Schema: QC_hit: No
25/9/2021 20:00:41 | # Query_time: 0.000216 Lock_time: 0.000079 Rows_sent: 3 Rows_examined: 3
25/9/2021 20:00:41 | # Rows_affected: 0 Bytes_sent: 709
25/9/2021 20:00:41 | SET timestamp=1632610841;
25/9/2021 20:00:41 | select * from mysql.wsrep_cluster_members;
25/9/2021 20:00:45 | 2021-09-25 23:00:45 217 [Warning] Aborted connection 217 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:46 | 2021-09-25 23:00:46 218 [Warning] Aborted connection 218 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:50 | 2021-09-25 23:00:50 219 [Warning] Aborted connection 219 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:50 | 2021-09-25 23:00:50 220 [Warning] Aborted connection 220 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:50 | 2021-09-25 23:00:50 221 [Warning] Aborted connection 221 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:51 | 2021-09-25 23:00:51 222 [Warning] Aborted connection 222 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:00:51

....

2021-09-25 23:21:55 1168 [Warning] Aborted connection 1168 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
--
25/9/2021 20:21:56 | 2021-09-25 23:21:56 1169 [Warning] Aborted connection 1169 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:22:00 | 2021-09-25 23:22:00 1170 [Warning] Aborted connection 1170 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:22:00 | 2021-09-25 23:22:00 1171 [Warning] Aborted connection 1171 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:22:00 | 2021-09-25 23:22:00 1172 [Warning] Aborted connection 1172 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)
25/9/2021 20:22:00 | 2021-09-25 23:22:00 1173 [Warning] Aborted connection 1173 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication)

.....

any suggestion "where to look' for the problem ...
Many Thanks in advance!

Thank your prompt reply.

Which setup are you using?
bitnami's helm chart for galera?
Are you able to connect to mariadb a separate created client pod?
We can only do basic config, setup debugging to find out.
I don't think we've galera experts here to answer your galera specific questions.

re-open if needed

@AdZoAi  Did you get a solution for the login issue?  I am facing the same problem.

Aborted connection 222 to db: 'unconnected' user: 'unauthenticated' host: '<IP_ADDRESS>' (This connection closed normally without authentication) 25/9/2021 20:00:51
These error messages are from the kuebernetes healthcheck.sh checking the database port.   A connection attempt is made with wait-for-it.sh .     This attempt does not continue and is aborted, resulting with "db: 'unconnected' user: 'unauthenticated' " in the database logs.    Does the database , since it is external even need to be checked?


Add the ability to mute channels

This is not such good of an idea :)

Can cause additional overhead for frequently called events
Will most likely make the dev confused when he forgets to turn it back on


Openshift

Hi, I've been reworking this chart to function in an OpenShift cluster. The changes look to do a number of things:

Auto-create SCC for SonarQube with privilege so that initsysctl runs
postgres runs (by default) with arbitrary UID, under restricted SCC
add postgres serviceAccount into SCC if UID is specified, instead of using arbitrary UID

I've got it working on my OpenShift cluster with:
helm install <release_name> . --set serviceAccount.create=true,\
                                              postgresql.serviceAccount.enabled=true,\
                                              OpenShift.enabled=true,\
                                              postgresql.securityContext.enabled=false,\
                                              postgresql.volumePermissions.enabled=true,\
                                              postgresql.volumePermissions.securityContext.runAsUser="auto"

It runs postgreSQL under the default restricted SCC and creates the stripped-down "privileged" SCC for SonarQube.
SCC creation is invoked by using a new key in values.yaml (OpenShift.enabled) which asserts whether OpenShift SCC resources need to be created.
I've also:

exposed some additional postgreSQL keys in values.yaml
added an initContainer to monitor postgreSQL is up before starting SonarQube.

Just wanted to see if there is any interest in this, and any validation you'd like to apply.

@rjkernick I've updated the CHANGELOG and also added a brief explanation into the README.

Thanks for the PR


Update README.md

Sqlite3 support requirement in php.ini previous step.

@Bucklandevelopment We see this as more of an environment issue/change and not specific to making this package work.
Perhaps you can give your rationale to why this PR is suitable to this package?


Please add CHANGELOG

This will help a lot when I update the package version
Thanks a lot!

Sure @199911 : I will start making entries to it from nest time I make a release.
Sorry for inconvenience.

I have added changelog file, I will update it going forward.


Designer mode

Add Widget
Delete Widget
Edit widget
On edit widget: implement all the features:
Source, Type, Controls

[ ] Add widget button - to the header
[ ] sliders of settings in the left panel like DSZ

[ ] rest for KPI and data sources
[ ] json widget and dashboard REST
name - change
without name - add

https://github.com/intersystems-community/isc-dev/blob/72480f0f576566a6ae36da72c12be8fb4a280686/src/dev/bi.cls#L156

-[ ] (front) pass widget sizes to zen

[ ] (back) check why the type of the widget in Zen does not match the type in DSW, if the widget was created in DSW
[ ] (front) delete widget
[ ] (back+front) controls
[ ](back+front  data properties

(back) check why the type of the widget in Zen does not match the type in DSW, if the widget was created in DSW
The issue is small typo in type names:
(comboChart is the right one)

DSW operates only lowercase types. There is no list of case-sensitive types on FE side.
Can you make it work with lowercase?

@gnibeda in older version of DSW there is camel case types. This is v3.1.90 currently installed locally

I can not change how ZEN process them.
How hard it is for you to change them?

@gnibeda make a structure for backend

Waiting for answer from Carmen about API


Update README.md

Any chance you could approve this? It's not very important, but worth integrating for now.


Crops: Add Amethyst Tomato

Create sprite and growth specifications for amethyst tomato.

Graphics added.

Implemented.


CodeCommit has been deprecated

Environment information
Standard

Describe the bug
When starting a new Amplify stack in the console CodeCommit is an option (see image). This service has been deprecated and so I'm guessing it should not be an option.

Reproduction steps
Start on Console

Marking this a feature request.


Update README.md

Cruised around github and updated for recent boardroom guests. Made a push through PIsocial. There's a lot in there these days.

Thanks Mike!


Heatmap not working...

Hello Everyone,
Special thanks to @YeshanJay and @david-cako for bringing back Heatmaps. It was much needed.
I'm facing an issue with heatmaps below are some details
Platform: iOS Simulator (iPhone 11 Pro Max)
import PropTypes from 'prop-types';
import { StyleSheet, Dimensions, Text, View, ScrollView, Image } from 'react-native';
import Heatmap, { PROVIDER_GOOGLE } from 'react-native-maps';

const styles = StyleSheet.create({
  container: {
    ...StyleSheet.absoluteFillObject,
    flex: 1,
    backgroundColor: 'pink',
    justifyContent: 'center'
  },
  map: {
    ...StyleSheet.absoluteFillObject,
  },
});

const HEATMAPOINTS = [
  {latitude: 49.986111, longitude: 20.061667, weight: 1},
  {latitude:50.193139, longitude:20.288717, weight: 2},
  {latitude:49.740278, longitude:19.588611, weight: 1},
  {latitude:50.061389, longitude:19.938333, weight: 8},
  {latitude:50.174722, longitude:20.986389, weight: 11},
  {latitude:50.064507, longitude:19.920777, weight: 98},
  {latitude:49.3, longitude:19.95, weight: 41},
  {latitude:49.833333, longitude:19.940556, weight: 66},
  {latitude:49.477778, longitude:20.03, weight: 9},
  {latitude:49.975, longitude:19.828333, weight: 11},
  {latitude:50.357778, longitude:20.0325, weight: 33},
  {latitude:50.0125, longitude:20.988333, weight: 76},
  {latitude:50.067959, longitude:19.91266, weight: 63},
  {latitude:49.418588, longitude:20.323788, weight: 52},
  {latitude:49.62113, longitude:20.710777, weight: 88},
  {latitude:50.039167, longitude:19.220833, weight: 1},
  {latitude:49.970495, longitude:19.837214, weight: 78},
  {latitude:49.701667, longitude:20.425556, weight: 1},
  {latitude:50.078429, longitude:20.050861, weight: 1},
  {latitude:49.895, longitude:21.054167, weight: 1},
  {latitude:50.27722, longitude:19.569658, weight: 65},
  {latitude:49.968889, longitude:20.606389, weight: 1},
  {latitude:49.51232, longitude:19.63755, weight: 1},
  {latitude:50.018077, longitude:20.989849, weight: 35},
  {latitude:50.081698, longitude:19.895629, weight: 22},
  {latitude:49.968889, longitude:20.43, weight: 54},
  {latitude:50.279167, longitude:19.559722, weight: 1},
  {latitude:50.067947, longitude:19.912865, weight: 69},
  {latitude:49.654444, longitude:21.159167, weight: 1},
  {latitude:50.099606, longitude:20.016707, weight: 80},
  {latitude:50.357778, longitude:20.0325, weight: 99},
  {latitude:49.296628, longitude:19.959694, weight: 1},
  {latitude:50.019014, longitude:21.002474, weight: 46},
  {latitude:50.056829, longitude:19.926414, weight: 22},
  {latitude:49.616667, longitude:20.7, weight: 1},
  {latitude:49.883333, longitude:19.5, weight: 33},
  {latitude:50.054217, longitude:19.943289, weight: 1},
  {latitude:50.133333, longitude:19.4, weight: 100}
];

class Details extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      map: null,
      latitude: 33.6507561,
      longitude: 73.0461364,
    };
  }

  render() {
    return (
      <View style={styles.container}>
        <Heatmap
          initialRegion={{
            latitude: 50.0614300,
            longitude: 19.9365800,
            latitudeDelta: 0.09,
            longitudeDelta: 0.0121,
          }}
          provider={PROVIDER_GOOGLE}
          points={HEATMAPOINTS}
          style={{ flex: 1 }}
          gradient={{
            colors: ["#79BC6A", "#BBCF4C", "#EEC20B", "#F29305", "#E50000"],
            startPoints: [0, 0.25, 0.50, 0.75, 1]
          }}
        />
      </View>
    );
  }
}

export default Details;

It renders the map but it didn't show heatmap over it. Couldn't find any example or more info in Heatmap doc.
Any help regarding this will be appreciated.
Thanks

Hi @mbilalsiddique1 ,
Try it this way...
     render() {
        return (
            <View style={styles.container}>
                <MapView
                    initialRegion={{
                        latitude: 50.0614300,
                        longitude: 19.9365800,
                        latitudeDelta: 0.09,
                        longitudeDelta: 0.0121,
                    }}
                    provider={PROVIDER_GOOGLE}
                    style={{ flex: 1 }}
                >
                    <Heatmap
                        points={HEATMAPOINTS}
                        gradient={{
                            colors: ["#79BC6A", "#BBCF4C", "#EEC20B", "#F29305", "#E50000"],
                            startPoints: [0, 0.25, 0.50, 0.75, 1],
                            colorMapSize: 500
                        }}
                    ></Heatmap>
                </MapView>
            </View>
        );
    }

I'm trying to figure out how the map loaded for you without the MapView component.

Hi @mbilalsiddique1 ,
Try it this way...
     render() {
        return (
            <View style={styles.container}>
                <MapView
                    initialRegion={{
                        latitude: 50.0614300,
                        longitude: 19.9365800,
                        latitudeDelta: 0.09,
                        longitudeDelta: 0.0121,
                    }}
                    provider={PROVIDER_GOOGLE}
                    style={{ flex: 1 }}
                >
                    <Heatmap
                        points={HEATMAPOINTS}
                        gradient={{
                            colors: ["#79BC6A", "#BBCF4C", "#EEC20B", "#F29305", "#E50000"],
                            startPoints: [0, 0.25, 0.50, 0.75, 1],
                            colorMapSize: 500
                        }}
                    ></Heatmap>
                </MapView>
            </View>
        );
    }

I'm trying to figure out how the map loaded for you without the MapView component.

Hi @YeshanJay
Thanks for the response.
I tried this example but importing MapView and Heatmap gives a syntax error so I tried including them separately, it did work the other way but now I have two maps on my screen without heatmap.

Can point out where I might be doing something fishy :)

@mbilalsiddique1 Can you please send me the syntax error message?
And also can you send me how you have imported both components?

@YeshanJay Below are some details:
1st import method which turns into error:
import MapView, { Heatmap, PROVIDER_GOOGLE } from 'react-native-maps';

2nd import method which turns into syntax error (obviously)
import MapView, Heatmap, { PROVIDER_GOOGLE } from 'react-native-maps';

and 3rd method rendered two maps on it.

@YeshanJay
the react-native-maps package was at version 0.25.0 so I updated with the latest version that was pushed 16 hours ago, now it's at 0.26.0 and the first import method is working but instead of proper heatmaps, it's showing green boxes.

Hi @mbilalsiddique1 ,
Seems to be working for me (on iOS simulator).

Have you imported the "Google-Maps-iOS-Utils" library into the project?

Hi @YeshanJay ,
Thank you for this great tool! Could you show me how Heatmap is imported into a project?
Thank you so much!

@YeshanJay Below are some details:

Import the Heatmap in this way it will work
import MapView, {PROVIDER_GOOGLE, Heatmap} from 'react-native-maps';


Made tests for the project

Used jest and react testing library to make tests for math-magicians app
Checked linters
Created PR

Hi @mnaibei,
While you made a great effort in this project, I cannot proceed to review your code.
Invalid Code Review Request
Ensure you collaborate with your coding partner.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


KeyError on stream_window_updated

Problem Description
error: <IP_ADDRESS>:35292: mitmproxy has crashed!
Traceback (most recent call last):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/server.py", line 276, in server_event
    for command in layer_commands:
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 255, in handle_event
    yield from self._handle(event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 640, in _handle_event
    yield from self.event_to_child(handler, event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 661, in event_to_child
    yield from self.event_to_child(stream, command.event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 649, in event_to_child
    for command in child.handle_event(event):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 531, in passthrough
    for command in self.child_layer.handle_event(event):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/tunnel.py", line 85, in _handle_event
    yield from self.event_to_child(event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/tunnel.py", line 104, in event_to_child
    for command in self.child_layer.handle_event(event):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/tunnel.py", line 72, in _handle_event
    yield from self.receive_data(event.data)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/tls.py", line 239, in receive_data
    yield from self.event_to_child(
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/tunnel.py", line 104, in event_to_child
    for command in self.child_layer.handle_event(event):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 640, in _handle_event
    yield from self.event_to_child(handler, event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/__init__.py", line 649, in event_to_child
    for command in child.handle_event(event):
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layer.py", line 144, in handle_event
    command = command_generator.send(send)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/_http2.py", line 296, in _handle_event
    yield from super()._handle_event(event)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/_http2.py", line 137, in _handle_event
    events = self.h2_conn.receive_data(event.data)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/_http_h2.py", line 98, in receive_data
    self.stream_window_updated(event.stream_id)
  File "/home/r3r/git/mitmproxy/mitmproxy/proxy/layers/http/_http_h2.py", line 115, in stream_window_updated
    stream: h2.stream.H2Stream = self.streams[stream_id]
KeyError: 79

unfortunately i don't know how to reproduce the error.
above error only printed on event log and didn't crash mitmproxy
e:
on my last submitted issue Kriechi said this:
This looks like a problem with your addon...
If you can reproduce it with the core mitmproxy (without modifications), please feel free to reopen this issue.

if this is look like problem with my addon again, i'm ok if this issue is closed
Steps to reproduce the behavior:

System Information
Mitmproxy: 7.0.0.dev (+388, commit 4e376c6)
Python:    3.8.6
OpenSSL:   OpenSSL 1.1.1i  8 Dec 2020
Platform:  Linux-5.8.0-48-generic-x86_64-with-glibc2.32

Thanks! It would be fantastic to have a clear repro, but we have to work with what we have. :) I'll take a look of the traceback is enough.

https://github.com/mitmproxy/mitmproxy/pull/4529 should fix this! 😃


BasicEntity: map GET parameters to DELETE method

AFAIK DELETE method does not have body, so we can map entity to GET parameters.

Could you please add a test?

👍


jump check ?

maybe ?

#1712 here

#1712 here

but i got 4 warning in config.cpp

help me pls

help me pls

u just need to sync code with new config saving

help me pls

u need to sync code with new config saving

dont know how to do

in config.cpp
read(j, "jump check", a.JumpCheck);
and
WRITE("jump check", JumpCheck);

WRITE("jump check", JumpCheck);

thx bro

in config.cpp
read(j, "jump check", a.JumpCheck);
and
WRITE("jump check", JumpCheck);

but still have erroes in line 308 and line 772

in config.cpp
read(j, "jump check", a.JumpCheck);
and
WRITE("jump check", JumpCheck);

but still have erroes in line 308 and line 772

can u screenshots

in config.cpp
read(j, "jump check", a.JumpCheck);
and
WRITE("jump check", JumpCheck);

but still have erroes in line 308 and line 772

can u screenshots

how to fix ?

struct Aimbot {
bool enabled{ false };
bool onKey{ false };
int key{ 0 };
int keyMode{ 0 };
bool aimlock{ false };
bool silent{ false };
bool friendlyFire{ false };
bool visibleOnly{ true };
bool scopedOnly{ true };
bool ignoreFlash{ false };
bool ignoreSmoke{ false };
bool autoShot{ false };
bool autoScope{ false };
float fov{ 0.0f };
float smooth{ 1.0f };
int bone{ 0 };
float maxAimInaccuracy{ 1.0f };
float maxShotInaccuracy{ 1.0f };
int minDamage{ 1 };
bool killshot{ false };
bool betweenShots{ true };
**     bool JumpCheck { true }

you have "j" instead of "J"


Widgets on remote server stop working after restart/kernel switch

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
If you restart a remote jupyter kernel after using the kernel picker, widgets no longer display.
Repro:

Create a simple test environment and run a jupyter server in it

conda create -n test python=3.10.6 ipywidgets=7.7.2 -c conda-forge
conda activate test
jupyter notebook

Create a new vscode window, and within that create a new jupyter notebook. Connect to the jupyter session you started in the terminal as a remote jupyter server.
In the first cell, paste:

import ipywidgets
ipywidgets.IntSlider()

Run the cell and observe the slider appear. You can even restart the kernel and re-run and observe the slider work again.
Click the kernel picker widget in the upper right, and select the current kernel session (it should say "remote jupyter session" and specify "1 connection", i.e. like the lower entry in the picker here:
Re-run the cell and observe that the slider still works. Then restart the kernel, re-run the cell (if everything worked the cell number should be [1] again), and observe that the slider does not appear.

This also happens when connecting to a new or different existing kernel as well, but the above has fewer repro steps.
I also observe similar, but harder-to-consistently-reproduce issues where in more complex notebooks (or something?) IntSlider() will continue to work, but matplotlib plots (and tqdm progress bars) no longer appear after some combination of restarts, kernel reconnections, and/or vscode reloads. In the above repro case, there is an output section where the slider should be, but it doesn't appear; i.e.:
However, when matplotlib outputs stop working, there's not even an empty output section. I don't know if these are the same or related problems, but any suggestions as to how I might help isolate / reproduce this latter issue would be welcome -- it is frustrating to run some lengthy analysis only to discover that it's not possible to view the results of it in that session anymore. I was hoping to produce a repro of the above behavior here, but all I could get consistent was the above simple case.
VS Code Version
Version: 1.72.2 (Universal) Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:16:30.254Z (1 wk ago) Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Darwin x64 20.6.0 Sandboxed: No
Jupyter Extension Version
v2022.9.1202862440
Jupyter logs
Visual Studio Code (1.72.2, undefined, desktop)
Jupyter Extension Version: 2022.9.1202862440.
Python Extension Version: 2022.16.1.
No workspace folder opened.
info 17:28:23.230: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 17:28:23.479: LSP Notebooks experiment is enabled
info 17:28:23.791: Preferred Remote kernel for Untitled-1.ipynb is 4ee6eace-c462-43a1-8f91-17b49ad62581
info 17:28:23.791: Find preferred kernel for Untitled-1.ipynb with metadata {"orig_nbformat":4} & preferred interpreter
info 17:28:23.818: Preferred Remote kernel for Untitled-1.ipynb is 4ee6eace-c462-43a1-8f91-17b49ad62581
info 17:28:23.818: Preferred kernel 4ee6eace-c462-43a1-8f91-17b49ad62581 is exact match or top match for non python kernels, (false, undefined, true, undefined)
info 17:28:23.819: PreferredConnection: 4ee6eace-c462-43a1-8f91-17b49ad62581 found for NotebookDocument: Untitled-1.ipynb
info 17:28:23.847: Preferred Remote kernel for Untitled-1.ipynb is 4ee6eace-c462-43a1-8f91-17b49ad62581
info 17:28:23.847: Switching remote kernel to 4ee6eace-c462-43a1-8f91-17b49ad62581 for untitled:Untitled-1.ipynb?jupyter-notebook
info 17:28:23.847: Using notebook.selectKernel to force remote kernel for untitled:Untitled-1.ipynb?jupyter-notebook to 4ee6eace-c462-43a1-8f91-17b49ad62581
info 17:28:24.054: Results of switching remote kernel: true
info 17:28:25.191: Got env vars ourselves faster /Users/zpincus/miniconda/envs/hxenv/bin/python with env var count 46 in 1341ms
info 17:28:25.196: Process Execution: > ~/miniconda/envs/hxenv/bin/python -m pip list
> ~/miniconda/envs/hxenv/bin/python -m pip list
info 17:28:26.710: Got env vars with python /Users/zpincus/miniconda/envs/hxenv/bin/python, with env var count 47 and custom env var count 0 in 2860ms
info 17:28:30.046: Creating server with url : http://localhost:8888/
info 17:28:30.074: Creating server with url : http://localhost:8888/
info 17:28:30.137: Checking for server existence.
info 17:28:30.137: Checking for server usability.
info 17:28:30.137: Starting notebook server.
info 17:28:30.138: Connecting to server
info 17:28:30.138: Connecting to process server
info 17:28:30.138: Connecting server kernel http://localhost:8888/
Connecting to Jupyter server at http://localhost:8888/
info 17:28:30.138: Creating server with url : http://localhost:8888/
info 17:28:30.140: Connection complete server
info 17:28:30.140: Server started.
info 17:28:30.140: Creating server with url : http://localhost:8888/
info 17:28:40.523: Dispose Kernel 'Untitled-1.ipynb' associated with 'Untitled-1.ipynb'
info 17:28:40.528: Starting Jupyter Session startUsingRemoteKernelSpec, d177cb038fded1cce5c655145a0089033fb2621f12aa5c1faff642247aa5e29c..python3./Users/zpincus/miniconda/envs/test/python./.-m#ipykernel_launcher (Python Path: /Users/zpincus/miniconda/envs/test, EnvType: Conda, EnvName: 'test', Version: 3.10.6) for 'Untitled-1.ipynb' (disableUI=false)
http://localhost:8888/: Kernel started: d2a5ff2d-6fbc-463f-bbad-79ff3f9119d5
error 17:28:41.002: Execing shell command, Class name = b, completed in 475ms, has a falsy return value, Arg 1: "~/.vscode/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printEnvVariables.py", Arg 2: "" [Error: Command failed: conda activate test && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/zpincus/.vscode/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

	at ChildProcess.exithandler (node:child_process:408:12)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate test && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/zpincus/.vscode/extensions/ms-toolsai.jupyter-2022.9.1202862440/pythonFiles/printEnvVariables.py"
}
info 17:28:41.767: Started session for kernel startUsingRemoteKernelSpec:d177cb038fded1cce5c655145a0089033fb2621f12aa5c1faff642247aa5e29c..python3./Users/zpincus/miniconda/envs/test/python./.-m#ipykernel_launcher
http://localhost:8888/: Creating new notebook
info 17:28:42.257: Got env vars with python /Users/zpincus/miniconda/envs/test/bin/python, with env var count 45 and custom env var count 0 in 1737ms
info 17:28:42.261: Process Execution: > ~/miniconda/envs/test/bin/python -m pip list
> ~/miniconda/envs/test/bin/python -m pip list
info 17:28:42.537: Creating server with url : http://localhost:8888/
info 17:28:42.542: Updating preferred kernel for remote notebook d2a5ff2d-6fbc-463f-bbad-79ff3f9119d5
info 17:28:42.544: Creating server with url : http://localhost:8888/
info 17:28:46.390: Disposing kernel d177cb038fded1cce5c655145a0089033fb2621f12aa5c1faff642247aa5e29c..python3./Users/zpincus/miniconda/envs/test/python./.-m#ipykernel_launcher for notebook Untitled-1.ipynb due to selection of another kernel or closing of the notebook
info 17:28:46.390: Dispose Kernel 'Untitled-1.ipynb' associated with 'Untitled-1.ipynb'
info 17:28:48.397: Creating server with url : http://localhost:8888/
info 17:28:48.892: Starting Jupyter Session connectToLiveRemoteKernel, d2a5ff2d-6fbc-463f-bbad-79ff3f9119d5 for 'Untitled-1.ipynb' (disableUI=false)
info 17:28:49.005: Started session for kernel connectToLiveRemoteKernel:d2a5ff2d-6fbc-463f-bbad-79ff3f9119d5
http://localhost:8888/: Creating new notebook
info 17:28:49.021: Creating server with url : http://localhost:8888/
info 17:28:50.737: Restart requested untitled:Untitled-1.ipynb?jupyter-notebook
info 17:28:50.737: Restart kernel execution

Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

I'm sorry for not getting back, to you on this issue.
Please could try installing the latest pre-release version of the Jupyter extensioon and vscode insiders and let me know if this issue still persits.
Optionally you can wait for the next stable release to test and confirm whether this stil eixsts.

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.

Sorry, was waiting for the next stable release of everything to come out. The issue above is not fixed.
The repro is a bit more complex now as you have to explicitly choose "select another kernel..." from the kernel picker and navigate back to the remote jupyter server etc., instead of just re-selecting your current kernel. I guess that latter is correctly detected as a no-op. Alternately, selecting a different kernel and toggling back works fine.
I still don't have a better repro for the disappearance of e.g. tqdm widgets after some combination of window reloads and kernel reconnects (even without restarting the kernel), but the probability approaches 1 of widgets not working after once I've been connected to a kernel for a couple of days on a vscode-remote connection (which generally involves lots of window reloads on connection hiccups...) So any advice for providing you all with better debugging information about what's going on would be welcome.

@zpincus please install the latest pre-release version of Jupyter extension and let me know if you can replicate this.

Please install latest VS Code Insiders
Open the extensions page, search for Jupyter and click the button Switch to Pre-Release Version
Similarly please install the latest Pre-Release version of the Python extension

I can confirm that, using VS Code Insiders, with pre-release versions of Jupyter, Python, and Jupyer Notebook Renderers, I can still reproduce the above issue. Reconnecting to an existing remote kernel, and then restarting the kernel, causes widgets to no longer function.

Thanks, I can finally replicate this issue.

@zpincus I have managed to fix this, its been a long time for this issue to get resolved
The fix will in the next pre-release for VS Code insiders
(releaes will be in the next stable version, in around 4 weeks time)

Thanks so much for your help and attention on this weirdo corner case! (and all the weirdo corner-cases I keep running across…)

case! (and all the weirdo corner-cases I keep running across…)

they are all very useful and help improve  the overall product and use experience