Hardware Improvements

I change tutorial how to optimizing render by hardware improvements.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @goingtoprofandy, thank you for the PR! Unfortunately, your branch has some merge conflicts that are difficult to resolve. The painless way to fix this is to create a fresh PR.
So I'm going to close your PR now and looking forward to your new one. I'm so sorry for the inconvenience.


[stdlib] Use type inference for Bool vars

This commit makes the declarations of boolean variables more concise by using type inference

It may be concise, but I always appreciate when type annotations are kept around, even in simple cases like this.

+1 on this. In my opinion, type annotations can be useful when the type is unclear from a quick glance (for example, when assigning the result of a long function chain). In this case, however, we're clearly assigning a Boolean literal (either "true" or "false") to each variable. Explicitly writing “: Bool” only makes the declaration longer and less instantly readable.

While I do prefer always using type inference, I can appreciate how others including @CodaFi would prefer that they be kept around so this change may be more subjective than I thought. And perhaps a bit more in the case of instance variables where other variables without initial default values have types specified. Curious to hear what others have to say on this, and if Apple has any kind of recommendation on minor style concerns like this.

@jawwad Some of the library code will be fragile, and having explicit type annotations will help to not accidentally break ABI.  We prefer to postpone this discussion until resilience is implemented and applied to the library.


"bc: command not found" when setting PX4_SIM_SPEED_FACTOR environment var.

Error:
ERROR [param] not enough arguments.
Try 'param set PARAM_NAME 3 [fail]'
etc/init.d-posix/rcS: line 193: bc: command not found
Tried with both v0.8 and v0.9 installation for Windows.
Steps to reproduce:
Run run-console.bat
cd Firmware
export PX4_SIM_SPEED_FACTOR=2
make px4_sitl jmavsim
Output:
[0/1] cd /cygdrive/c/PX4/home/Firmware/build/px4_sitl_defa...mware /cygdrive/c/PX4/home/Firmware/build/px4_sitl_default
SITL ARGS
sitl_bin: /cygdrive/c/PX4/home/Firmware/build/px4_sitl_default/bin/px4.exe
debugger: none
program: jmavsim
model: none
world: none
src_path: /cygdrive/c/PX4/home/Firmware
build_path: /cygdrive/c/PX4/home/Firmware/build/px4_sitl_default
empty model, setting iris as default
SITL COMMAND: "/cygdrive/c/PX4/home/Firmware/build/px4_sitl_default/bin/px4.exe" "/cygdrive/c/PX4/home/Firmware"/ROMFS/px4fmu_common -s etc/init.d-posix/rcS -t "/cygdrive/c/PX4/home/Firmware"/test_data
Buildfile: C:\PX4\home\Firmware\Tools\jMAVSim\build.xml
make_dirs:
compile:
create_run_jar:
INFO  [px4] Creating symlink /cygdrive/c/PX4/home/Firmware/ROMFS/px4fmu_common -> /cygdrive/c/PX4/home/Firmware/build/px4_sitl_default/tmp/rootfs/etc

| ___ \ \ \ / /   /   |
| |/ /  \ V /   / /| |
|  __/   /   \  / /| |
| |     / /^\ \ ___  |
_|     /   /     |_/
px4 starting.
INFO  [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
copy_res:
BUILD SUCCESSFUL
Total time: 0 seconds
Options parsed, starting Sim.
Starting GUI...
INFO  [param] selected parameter default file eeprom/parameters_10016
[param] Loaded: eeprom/parameters_10016
etc/init.d-posix/rcS: line 185: bc: command not found
COM_DL_LOSS_T set to
ERROR [param] not enough arguments.
Try 'param set PARAM_NAME 3 [fail]'
etc/init.d-posix/rcS: line 189: bc: command not found
COM_RC_LOSS_T set to
ERROR [param] not enough arguments.
Try 'param set PARAM_NAME 3 [fail]'
etc/init.d-posix/rcS: line 193: bc: command not found
COM_OF_LOSS_T set to
ERROR [param] not enough arguments.
Try 'param set PARAM_NAME 3 [fail]'
INFO  [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
INFO  [simulator] Waiting for simulator to accept connection on TCP port 4560
INFO  [simulator] Simulator connected on TCP port 4560.
Init MAVLink
INFO  [commander] LED: open /dev/led0 failed (22)
INFO  [init] Mixer: etc/mixers/quad_w.main.mix on /dev/pwm_output0
INFO  [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 18570 remote port 14550
INFO  [mavlink] mode: Onboard, data rate: 4000000 B/s on udp port 14580 remote port 14540
INFO  [mavlink] mode: Onboard, data rate: 4000 B/s on udp port 14280 remote port 14030
INFO  [logger] logger started (mode=all)
INFO  [logger] Start file log (type: full)
INFO  [logger] [logger] ./log/2022-01-21/16_09_43.ulg
INFO  [logger] Opened full log file: ./log/2022-01-21/16_09_43.ulg
INFO  [mavlink] MAVLink only on localhost (set param MAV_BROADCAST = 1 to enable network)
INFO  [px4] Startup script returned successfully
Comments
It looks like the script uses the bc calculator package. This doesn't seem to be installed by default.

Was this fixed by your #30 updates?
The dependencies that are required can be found in the linux scripts (which are run in CI);

https://github.com/PX4/PX4-Autopilot/blob/master/Tools/setup/ubuntu.sh
https://github.com/PX4/PX4-Autopilot/blob/master/Tools/setup/requirements.txt

Windows is a bit undersupported since most dev team are on linux or macOS. We want to move to WSL2 based solution soon so it can use the same core scripts for setup.


on_train_batch_end receives batch on CPU

🐛 Bug
The callback method on_train_batch_end receives the batch still on CPU instead of the batch that the accelerator moved to the device.
To Reproduce
https://colab.research.google.com/drive/1axSx8lmpAhllnlcga6iE2eNgC1fjGK1b?usp=sharing
Expected behavior
The on_train_batch_end hook receives the batch on the device.
Environment
CUDA:
- GPU:
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- available:         True
- version:           11.1

Packages:
- numpy:             1.20.2
- pyTorch_debug:     False
- pyTorch_version:   1.8.1+cu111
- pytorch-lightning: 1.3.0rc2
- tqdm:              4.60.0
System:
- OS:                Linux
- architecture:
- 64bit
- ELF
- processor:         x86_64
- python:            3.8.8
- version:           #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020

Additional context
Asked in the discussion:

Duplicate of https://github.com/PyTorchLightning/pytorch-lightning/issues/6990, sorry my fault

@awaelchli whats the status of this fix?

Limbo.
Many hours invested into the linked PR. The new implementation seems to use more memory when compared to pure pytorch. We cannot maintain memory parity. Need to get this right.


Should check that #extends is an absolute import

Wontfix, yelp_cheetah enforces absolute import in 0.8.0


T32024 lightbox bootstrap

https://phabricator.endlessm.com/T32024

Ready for review again. For the bootstrap-vue modal I will try it in a separate PR on top of this one. I like the idea but I'm a bit skeptical because we want custom things like getting rid of the letterboxing.


clone returns VM/Template not found

should this not work given I have a working knife.rb ?
knife vsphere vm clone test --template 'Templates/Linux/RHEL BASE 6.6'

What kind of error are you getting? I've never tried loading my templates from a folder, but I think you'd want something like
knife vsphere vm clone test --folder 'Templates/Linux' --template 'RHEL BASE 6.6'
instead

sorry "VM/Template" not found, I am using the path to the templates from vm list

i That was it,was not evident from the docs... thanks ! I have another issue but i will close this one


Provider caching does not follow "well-known" discovery specification

Describe the bug
The terraform service discovery process for modules and providers states that terraform native services should be discovered using the /.well-known/terraform.json document present at a specific host.
This will then give you the base paths for a specific service, for example, a provider registry.
The specific example provided on the website is:
{
  "modules.v1": "https://modules.example.com/v1/"
}

Which is the path that the hashicorp registry and opentofu use for their modules and providers.
However, one can choose to host these services under a different base path, such as /foo/bar/v1/...
The current iteration of the provider cache makes the assumption this is not possible.
		Path:   path.Join("/v1/providers", provider.Namespace, provider.Name, "versions"),

Steps To Reproduce
Run a tf registry hosting a provider registry in path that does not start with /v1. Attempt to enable provider cache. Terragrunt run will fail, as cache server will look for modules at /v1 directly and get a 404 status.
Possibly adding a test case here will be enough to surface the issue.
Expected behavior
The cache server should respect the base path and be able to download the provider.
Versions

Terragrunt version: v0.62.0
OpenTofu/Terraform version: 1.9.2
Environment details (Ubuntu 20.04, Windows 10, etc.): alpine/terragrunt container, this tag; plus reproduced with latest master (e5e0209)

Additional context
I had this surface in a client's internal env, apologies due to the lack of screenshots/etc. In this case the issue was worked around by changing the registry to serve directly from hostname/v1 (that was possible to do); but this should still be looked into because the registry was working fine with terraform but not the cache.
My suggestion is to grab the base path from the .well-known/terraform.json and storing it in the Provider model, which then can be referenced to build the URL.
I'm happy to submit a PR, but I'm still kind of unfamiliar with the codebase so it may take a while to get merged.

 Since this was an experimental functionality, it was implemented as simply as possible. We are gradually working on full functionality. In the near future, we will implement your request as well.

@levkohimins thanks for looking into it! It's experimental but it has huge potential.
One question (not sure if it's better to discuss this in the context of another bug), I'm trying to get this to work with the mentioned internal registry, but after progressing it seems that this variable only has the file path /provider_amd64_yadayada.zip instead of https://internal-registry.foo.bar/v1/.../provider_amd64_yadayada.zip but I can't find for the life of me where this is being set.
For the public terraform registry this works just fine and the full URL is set. This means that when getter goes to download the object it just fails.

Hey @jcrsilva,

One question (not sure if it's better to discuss this in the context of another bug), I'm trying to get this to work with the mentioned internal registry, but after progressing it seems that this variable only has the file path /provider_amd64_yadayada.zip instead of https://internal-registry.foo.bar/v1/.../provider_amd64_yadayada.zip but I can't find for the life of me where this is being set.

This data is received from your (internal) registry. So you need to figure out why your registry is returning such data.

@levkohimins yeah noticed that right now. The cache server receives the request from terraform and reverse proxies it to the registry and returns a modified response.
Just figured out what the issue is: the registry is returning relative paths instead of full URLs. Terraform seems to handle it just fine, but the cache server is under the assumption that all returned paths will be full URLs.
Seems like it is another bug, want me to file it for tracking?

@jcrsilva, yes, please create another issue.

Resolved in v0.64.1 release.


S3 Gateway: Return 404 instead of 400 on trailing slash

Jira issues: CORE-336

I know I need to add a test for this but I'm really worried that if I don't hit merge right now I'll forget until 30 seconds after the release goes out. I have a to-do to add a test in a followup.


Leptos 0.7 support

Sorry if this was answered anywhere I couldn't find it.
Are there plans to make a version for leptos 0.7. It could be that its a very simple port so can wait for the leptos 0.7 full release but it would be nice to know what the plans are ?
Thanks

The plans are absolutely to port it. I'll probably release a beta version in the next few days.

The plans are absolutely to port it. I'll probably release a beta version in the next few days.

Hello, do you have a beta version for leptos 0.7 or do are you waiting for the final release?
Thanks.

The plans are absolutely to port it. I'll probably release a beta version in the next few days.

Hello, do you have a beta version for leptos 0.7 or do are you waiting for the final release?
Thanks.

A while back I started porting but unfortunately I haven't found the time to continue. I'll do so as soon as possible but I can't promise anything right now.

There is a branch where some work has been done already but as you say it's a ton of work and I haven't been able to find the time yet.
I totally accept PRs.
This is absolutely on my list of things to do but right now I don't know when I'll be able to do it.
Sorry about the wait!


Report Generator not implemented

I am unable to get the report for the completed tests

Report Generation have been implemented in TeamCity as batch file using ReportUnit


Feature Request: Playlist Cacheing for Subscribers

OS: Windows 10 Pro, would love to see the caching option for Linux as well as I think this would be great for any raspberry pi car stereo projects.
Issue Descriptions: The android app allows for google play music subscribers to cache playlists for offline play.  Is it possible to implement such a feature on your software?
Steps to Reproduce:

This has been discussed numerous times, and unfortunately no.


Use local drush if applicable

When drush is installed locally with just composer require drush/drush, platformsh-cli should use it, and not silently fail as it currently does, if drush isn't installed globally.
Notably, the platform drush-aliases command acts this way.

@pjcdawkins related is the fact that the CLI is silently displaying "Created drush aliases" even if it failed; do you want another issue for it?

It can (and does) create Drush aliases even if it can't find Drush (it just writes directly to ~/.drush/<group>.aliases.drushrc.php)

Ok, my bad then!


OffsetsForTimes giving Local: Unknown partition

Description
It has been reported that Consumer.OffsetsForTimes throws an exception "Local: Unknown partition" intermittently for partitions that exist, and that were not recently created.

We have the same issue and can reproduce with version 1.5.3. We downgraded on all our clients to version 1.5.2 and the error does not occur. Do you have any plans when this problem will be solved ?
Thank you.

I believe we fixed some issues with leader lookups in librdkafka v1.6.0: https://github.com/edenhill/librdkafka/commit/5514d2de87d41a6283b92fab32b964908dedae02

We tested again now and the is it working with Confluent.Kafka version 1.5.3 and librdkafka version 1.5.3, but not with librdkafka 1.6.0. After our testing the problem have to be in librdkafka version 1.6.0.

Can you reproduce with Debug: "all" set and provide us the logs?

Here the log with the method QueryWatermarkOffsets, I am sorry but does not use OffsetsForTimes on the client anymore. But we had the same error some days ago with the both methods. In log file you can see the error one time and the one time is does work without an error.
kafkalog2.txt

Here the log with the method QueryWatermarkOffsets, I am sorry but does not use OffsetsForTimes on the client anymore. But we had the same error some days ago with the both methods. In log file you can see two times the error and one time it does work without an error.
kafkalog3.txt

There's alot going on in that log and it's hard to make out where you are calling which API.
Could you add a printout where you call QueryWatermarkOffsets and for which topic+partitions, and add a second printout with the results / error from that same call?

Attached the code and error and debug log, the error occurs after the the assign of the consumer:

`var conf = new ConsumerConfig();
log3.txt
            if (this.Fertigungsauftrag != null && this.Fertigungsauftrag.Maschine != null && this.Fertigungsauftrag.CancelToken != null)
            {
                if (this.Fertigungsauftrag.Maschine.KafkaCluster != null && this.Fertigungsauftrag.Maschine.KafkaCluster.IsValid)
                {
                    conf = new ConsumerConfig
                    {
                        GroupId = "Consumer-" + Environment.MachineName,
                        BootstrapServers = this.Fertigungsauftrag.Maschine.KafkaCluster.BootstrapServer,
                        AutoOffsetReset = AutoOffsetReset.Latest,
                        SessionTimeoutMs = 30000,
                        Debug = "all"
                    };
                }
                else
                {
                    Logger.CustomLogger.Error("Fertigungsauftrag oder Maschine null in Kafka Consume");
                    return;
                }
            }

            using (var c = new ConsumerBuilder<string, string>(conf)
                .Build())
            {

                if (this.Fertigungsauftrag != null && this.Fertigungsauftrag.Maschine != null)
                {
                    var topic = Fertigungsauftrag.Maschine.ID.ToString() + "_121";
                    var topicNio = Fertigungsauftrag.Maschine.ID.ToString() + "_122";

                    List<CustomKafkaTopicOffset> list = new List<CustomKafkaTopicOffset>();
                    list.Add(new CustomKafkaTopicOffset(c.QueryWatermarkOffsets(new TopicPartition(topic, 0), new TimeSpan(0, 0, 10)), topic));

                    list.Add(new CustomKafkaTopicOffset(c.QueryWatermarkOffsets(new TopicPartition(topicNio, 0), new TimeSpan(0, 0, 10)), topicNio));

                    List<TopicPartitionOffset> offsets = new List<TopicPartitionOffset>();

                    foreach (var item in list)
                    {
                        //Offset zuweisen
                        if (item.Offset.High > 1)
                            offsets.Add(new TopicPartitionOffset(item.Topic, 0, item.Offset.High - 1));
                        else
                            offsets.Add(new TopicPartitionOffset(item.Topic, 0, 0));
                    }

                    c.Assign(offsets);

`

Anything new ?

I got similar problems though in a bit more random way. https://github.com/confluentinc/confluent-kafka-python/issues/1043

I have the same issue. Confluent.Kafka 1.6.3, Kafka 2.7.0.
Call to QueryWatermarkOffsets() periodically throws an exception "Local: Partition unknown".
It happens just after the consumer is created, I don't assign or subscribe the consumer before calling QueryWatermarkOffsets().
It's hard to reproduce this error deliberately, but it happens sometimes.

This is fixed and will be available in the next release (~3w).
As a workaround, call QueryWatermarkOffsets again with the same arguments.

This is fixed and will be available in the next release (~3w).
As a workaround, call QueryWatermarkOffsets again with the same arguments.

Hey there, has a fix for this been released or is this issue actually still open?

Should be fixed in v1.7.0

Hello, we still have this error today :
│ sentry-post-process-forward-transactions-756dc65f9b-lhwtr cimpl.KafkaException: KafkaError{code=_UNKNOWN_PARTITION,val=-190,str="Failed to get watermark offsets: Local: Unknown partition"}

Is there a workaround ?


outdated buffer in node 8+

https://github.com/rejas/gulp-json-editor/blob/master/index.js#L71
https://nodejs.org/docs/latest-v9.x/api/buffer.html#buffer_class_method_buffer_allocunsafe_size
does it support higher version?

Hi @jjhesk sorry for the late answer. Yes, even the current version should run under node 10. But thanks for the hint, I will update the code accordingly soon

Fixed in v2.4.0


How to use flash messages instead redirect to additional pages

Tell more about customization uii2-user

Q
A

Is bugfix?
yno

New feature?
yes/no

Breaks BC?
no

Merged. Thanks!


Question on how to use default city for the choosen locale ( Country)

Hi, i have a question.
Below is my code.
from mimesis import Generic
from mimesis.locales import Locale
from mimesis.providers.finance import Finance
generic = Generic(locale=Locale.EN)

country = generic.address.default_country()
city = generic.address.city()
state = generic.address.state()
zip_code = generic.address.zip_code()

I can generate default country for the chosen locale but the zip code doesnt make sense with state or matching city. Its more random in that country.
Is there any way how we can generate zip code which is in that state/city and that makes sense ?

Unfortunately, this is not possible right now, but we will add such a feature.


Plans to move repo to @ngrx/forms to be first class package?

Was just curious if the folks over at ngrx had any plans to make this a first class package in the ngrx repo. Would love to see this library be more discoverable and encourage everyone to use it!

There is an issue discussing this on the @ngrx repo. You can add a post there. However, from what is written there (and also based on this tweet) it is highly unlikely that ngrx-forms will ever be merged to the official @ngrx.
In terms of discoverability I am fine with being the top result when googling "ngrx forms".

@MrWolfZ can you provide your input on this discussion after 2 years now still i could not see any solid reference or best practice to use

@darpankumar please have a look at this comment. In the end it is mostly up to personal preference I guess. Personally, I always prefer ngrx-forms (sometimes as local forms), simply because I prefer strong type safety and angular forms does not give me that. However, I also understand if people want to stick with the "standard solution".


Changing minInstanceSize not scaling the base instanceSize

What did you do to encounter the bug?
Steps to reproduce the behavior:
All the following steps are performed on operator release 1.4.1
Created an AtlasDeployment using following Spec.
spec:
  projectRef:
    name: demo-project
  advancedDeploymentSpec:
    backupEnabled: true
    clusterType: REPLICASET
    mongoDBMajorVersion: "4.4"
    name: advanced-cluster
    pitEnabled: false
    replicationSpecs:
    - regionConfigs:
      - autoScaling:
          compute:
            enabled: true
            maxInstanceSize: M40
            minInstanceSize: M10
            scaleDownEnabled: true
          diskGB:
            enabled: true
        electableSpecs:
          instanceSize: M10
          nodeCount: 3
        priority: 7
        providerName: GCP
        regionName: WESTERN_EUROPE

Updated the min and max instance size
          compute:
            enabled: true
            maxInstanceSize: M40
            minInstanceSize: M10
            scaleDownEnabled: true

What did you expect?
instanceSize (which is currently M10), should be autoscaled to M20 (min size of autoscaling)
This expectation was also inline with this feedback request.
What happened instead?
Got this error first:
{"level":"INFO","time":"2022-11-23T13:35:04.409Z","msg":"Status update","atlasdeployment":"platform/advanced-cluster","lastCondition":{"type":"DeploymentReady","status":"False","lastTransitionTime":null,"reason":"DeploymentNotUpdatedInAtlas","message":"PATCH https://cloud.mongodb.com/api/atlas/v1.5/groups/63777688ed29ab0c1b643abf/clusters/advanced-cluster: 400 (request \"BASE_INSTANCE_SIZE_MUST_MATCH\") Electable and read-only nodes must all have the same instance size."}}

I expect that we don't need to pass readOnlySpecs as they are optional but wonder why the operator needs them.
Updated the Spec to include readOnlySpecs as well and then getting this error:
spec:
  advancedDeploymentSpec:
    backupEnabled: true
    clusterType: REPLICASET
    mongoDBMajorVersion: "4.4"
    name: advanced-cluster
    pitEnabled: false
    replicationSpecs:
    - regionConfigs:
      - autoScaling:
          compute:
            enabled: true
            maxInstanceSize: M40
            minInstanceSize: M10
            scaleDownEnabled: true
          diskGB:
            enabled: true
        electableSpecs:
          instanceSize: M10
          nodeCount: 3
        priority: 7
        providerName: GCP
        readOnlySpecs:
          instanceSize: M10
          nodeCount: 3
        regionName: WESTERN_EUROPE

New Error:
{"level":"WARN","time":"2022-11-23T13:37:09.424Z","msg":"The instance size is below the minimum autoscaling configuration. Setting it to M20. Consider update your CRD","atlasdeployment":"platform/advanced-cluster"}
{"level":"WARN","time":"2022-11-23T13:37:09.424Z","msg":"The instance size is below the minimum autoscaling configuration. Setting it to M20. Consider update your CRD","atlasdeployment":"platform/advanced-cluster"}
{"level":"INFO","time":"2022-11-23T13:37:09.656Z","msg":"Status update","atlasdeployment":"platform/advanced-cluster","lastCondition":{"type":"DeploymentReady","status":"False","lastTransitionTime":null,"reason":"DeploymentNotUpdatedInAtlas","message":"PATCH https://cloud.mongodb.com/api/atlas/v1.5/groups/63777688ed29ab0c1b643abf/clusters/advanced-cluster: 500 (request \"UNEXPECTED_ERROR\") Unexpected error."}}

I also tried to replicate the same scenario by adding readOnlySpecs at the first step as part of creating the AtlasDeployment but still get the same issue.
Operator Information

Operator Version - 1.4.1

Hi @sunchill06, thanks a lot for raising an issue. We will make sure it is fixed in the next release.

Hey @sunchill06,
This should be fixed in v1.5.0. Thanks again for raising this 😌


Simplify PR labeling that versions deploys

User Story - Business Need
Our CI/CD pipeline uses PR labels to determine how to bump the version of our code. We use semver versioning, which contains 3 parts (major.minor.patch), but we use more than 3 labels that eventually map to the 3 part semver scheme. This is cumbersome for developers.
We'd like to simplify this to use only 3 labels: major, minor, and patch. Those labels will match 1:1 to the semver versioning scheme.

[x] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)
As a    VA Notify developer
I want  to simplify our PR labeling scheme to align with semver
So that I can have a more streamlined development process.
Additional Info and Resources

Acceptance Criteria

[x] When a PR labeled as major is merged, the version of API is bumped a major version
[x] When a PR labeled as minor is merged, the version of API is bumped a minor version
[x] When a PR labeled as patch is merged, the version of API is bumped a patch version
[ ] Documentation (working agreements, among others) updated to reflect new labeling scheme
[ ] Team discussion to confirm that all members on team understand the new working agreement and that this labeling scheme is only for the API.

QA Considerations

Potential Dependencies

Updated https://docs.google.com/document/d/1nwZIF_lydPWfvixxZlQLNt4nqy3Qp13pHQnMcYJjTqE/edit with the new labels

Ticket is just here to remind me to send the two commits up through the pipeline for

updating PR template to include link to new labels document
updating release notes to not have any subsections

Since we are not rolling back the API, these commits will automatically go up to prod on the next API commit for the IIR fix. No need to hold open this ticket.


Optional logging and expose sendbeacon

This PR focuses on two tasks:

Kill logging unless debug: true is specified with the options
Return the sendbeacon method so additional custom events may be triggered by the user leveraging the library:

var analytics = player.ga();
analytics.sendbeacon('MyEvent', true, 'foobar');

Looks good! Thanks for the PR.


Add almad.blog

I don't know if this one is beautiful enough to be allowed to join our web ring, but of course @smizell has the last word.

@honzajavorek Your feedback about the marquee text removal has been received.


terminal window is duplicated after restarting vscode debug

When debugging, i use CTRL+SHIFT+F5 for restart debug, a new console window opens instead of using the current one.
Is this a bug?

My debug config
{
	// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
	// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
	// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
	"version": "0.2.0",
	"configurations": [
		{
			"type": "node",
			"request": "launch",
			"name": "Launch Start",
			"program": "${workspaceFolder}/app.js",
			"env": { "NODE_PATH": ".", "NODE_ENV": "production" }
		},
		{
			"type": "node",
			"request": "launch",
			"name": "Launch Dev",
			"runtimeExecutable": "nodemon",
			"program": "${workspaceFolder}/app.js",
			"restart": true,
			"console": "integratedTerminal",
			"internalConsoleOptions": "neverOpen",
			"skipFiles": ["node_modules/**"], //, "public/**"
			"env": { "NODE_PATH": ".", "NODE_ENV": "development" }
		}
	]
}

@coaperator I cannot parse your sentence "When debugging CTRL + SHIFT + F5 is restarted" into steps that I can reproduce.
Could you please provide clear steps that I can reproduce? Thanks!

@weinand just press CTRL + SHIFT + F5 several times or the restart button on the debag minipanel

And which of the 2 launch configs are you using?

And which of the 2 launch configs are you using?

latest

@weinand but what happens in the task manager when restarting debug

need add windows label

Is there any news to fix this problem?

Since your launch config uses "nodemon", and "restart": true, the debug session will automatically restart whenever nodemon detects a program change.
Given that behavior, I do not understand why you are using the "Restart" action (or button)?. This asks for problems...
"Restart" kills one session and starts a new session. This is basically the same as "nodemon" but there is a problem: in our documentation about node.js debugging and "nodemon" we clearly say:

So stopping (or restarting) the debug session will not terminate "nodemon". If you do "restart" multiple times, you will accumulate many "nodemons". In addition every "nodemon" will block the integrated terminal it was launched in. As a consequence the next debug session cannot use the same integrated terminal (because it is blocked by the previous nodemon) and creates a new one.
This is what you are seeing: many terminals and many node processes hanging around...
The correct use of a "nodemon" launch config is:

start it and let it run... it should restart the debug session automatically after every code change.
for terminating debugging press the Stop button **and kill "nodemon" in the integrated terminal with Cntr-C."


Node 12: node --debug and node --debug-brk are invalid. Please use node --inspect and node --inspect-brk instead.

When used with node 12. deprecated options are used when debugging

Looks like we would just need to update https://github.com/scottaj/mocha.el/blob/33e1b521a8a8d0225df353b51f1e8a4588ee32d0/mocha.el#L163


Twif

[Fix bug: choice extensions have three different cases (refer to TS 38.413 R17) not only TNGF case.

Yes, it is ready for review.


TensorflowLite error: Didn't find op for builtin opcode 'WHERE' version '1'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?

Hello,
I would like to run the model that I made on the Arduino BLE 33 board(nRF52840)
while uploading to board using ArduinoIDE below massage appeared

Didn't find op for builtin opcode 'WHERE' version '1'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
Failed to get registration from op code WHERE
AllocateTensors() failed
Invoke failed!

Does anyone know how to solve the problem?
I am new to TensorFlow and studying it. Please someone who has gone through help me.

my version status
tensorflow==2.8.0
TensorFlow Lite Micro Library git clone https://github.com/tensorflow/tflite-micro-arduino-examples Arduino_TensorFlowLite
Arduino IDE 2.2.1
What I been through..
I converted to .tflite file and changed to model.h and model.cc with below code
!echo "const unsigned char model[] = {" > /content/model.h
!cat gesture_model.tflite | xxd -i      >> /content/model.h
!echo "};"                              >> /content/model.h

import os
model_h_size = os.path.getsize("model.h")
print(f"Header file, model.h, is {model_h_size:,} bytes.")
print("\nOpen the side panel (refresh if needed). Double click model.h to download the file.")

Trial 0) Using AllOpsResolver
The error appeared.

Didn't find op for builtin opcode 'WHERE' version '1'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
Failed to get registration from op code WHERE
AllocateTensors() failed
Invoke failed!

Trial 1) Using MicroMutableOpResolver instead of AllOpsResolver
However, there is no AddWhere() function to add the WHERE op to the MicroMutableOpResolver.
https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/micro_mutable_op_resolver.h
static tflite::MicroMutableOpResolver<17> micro_op_resolver;
  micro_op_resolver.AddPad();
  micro_op_resolver.AddReshape();
  micro_op_resolver.AddConv2D();
  micro_op_resolver.AddTranspose();
  micro_op_resolver.AddMaxPool2D();
  micro_op_resolver.AddWhile();
  micro_op_resolver.AddConcatenation();
  micro_op_resolver.AddEqual();
  //micro_op_resolver.AddWhere();  // no function
  micro_op_resolver.AddGather();
  micro_op_resolver.AddShape();
  micro_op_resolver.AddCast();
  //micro_op_resolver.AddSparseToDense();  // no function
  micro_op_resolver.AddAdd();
  micro_op_resolver.AddStridedSlice();
  micro_op_resolver.AddPack();
  micro_op_resolver.AddFullyConnected();
  micro_op_resolver.AddLess();
  micro_op_resolver.AddIf();

// Build an interpreter to run the model with.
  static tflite::MicroInterpreter static_interpreter(
    model, micro_op_resolver, tensor_arena, kTensorArenaSize);

The following error masseges printed

MicroAllocator: Model allocation started before finishing the previously allocated model
Failed starting model allocation.
Invoke failed!

FYI) The model uses 19 OPs as shown in the above-mentioned code.
Trial 2) Does TF Lite not support the WHERE op?
It seems that the answer is NO. If you see the below link, there is the explanation of tfl.where and tfl.sparse_to_dense.
https://www.tensorflow.org/mlir/tfl_ops?hl=ko#tflwhere_tflwhereop
Trial 3) The OP Version Problem?
I've checked the op version info of this link
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/versioning/runtime_version.cc
{{BuiltinOperator_WHERE, 1}, "1.14.0"}
{{BuiltinOperator_WHERE, 2}, "2.8.0"},

I think this is the problem. However, I can not find a way to modify the version that the model uses.
It would be helpful if someone comments about what I did. Thankyou!
Thank you in advance.

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

I am still working on it.

TFLite for Microcontrollers only supports a subset of TFLite ops. It does not currently support the WHERE or SPARSE_TO_DENSE op. Your options are to change the model to avoid those operations, or you can port the ops to TFLM. There is a guide on how to do so here: https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/docs/porting_reference_ops.md

I have a similar error that goes like this:
Didn't find op for builtin opcode 'SHAPE' version '1'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
I am running my tflite model on an esp32-s3 board. Do not have a solution right now.
the list of supported op codes mention the shape attribute, yet I am getting the error. What could be the solution?


docs(README): Remove smart module

Documentation update only.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Prettified!


Doc strings updates to the config type from kurmad

Adding some more docs :) /cc @krobertson @jpoler

LGTM


Header Footer Image

including a test program

Hopefully now fine, seems I have not the actual version in my system, sorry!

Hi @mfallen,
I've imported your branch into my system but there is an issue that the Class zcl_abap_bitmap isn't found. Please add that to the pull request.
CU
Gregor

HI @gregorwolf, Damn, this is Something very old in my system. Will Update tomorrow without this class (Not needed)

@gregorwolf  - program is updated, missed to delete the class!

Hope we get closer. Get this error now:
Program ZTEST_EXCEL_IMAGE_HEADER
Field "TYPE_IMAGE_HEADER_FOOTER" is unknown.
Seems you have to add your changes to zcl_excel_drawing=>type_image_header_footer.

Next check ;-)

It dumps now in ZCL_EXCEL_WRITER_2007->CREATE_XL_DRAWINGS_VML as you use CRM_IC_XML_STRING2XSTRING. Please replace it with SCMS_STRING_TO_XSTRING.

And maybe you get also a NetWeaver ABAP Developer Edition someday :-).

As well corrected, that part of coding I re-used from Marios Toumanis...arrgh

Danke @gregorwolf  Gregor! War zwar eine schwere Geburt, aber jeder fängt mal klein an ;-)
Grüße
Michael

Ich danke Dir recht herzlich.


Is it possible to read a directory on S3

Hello, I love the knox module but I miss the option to be able to list the contents of a folder within a bucket.
Is something like this in your roadmap?
Thanks and keep up the good work!

It's in the readme, client.list

Thank you very much Domenic! I completely missed it!


Fixing some classes requiring UnityEditor assembly while being outside of Editor asmdef

Moved a few classes from IconAssignment into Editor assemblies because they require UnityEditor
fixing #47

Looks good! Thanks @soraphis  ⭐


Feature Request: Disable feed

Details: I'd like to be able to manually disable some feeds and folders. Making so could grey them out or hide them as as read feeds. Archived could also be configured to be a smart feed.
Why this request? I'm probably not alone in taking time to curate my feeds and categorize them. But there are times in which certain feeds are less relevant to one's life. Deleting them would be to drastic. A good example could be my news category.  Whilst I find important to generally keep up with world news, there are moments in my life that I'd like to abstain from it. This could be a "detox" period, in which I want to not be exposed to certain topics.
Thanks

I wanted this last week! I was replacing Kill The Newsletter with Feed Your Email but wasn't ready to delete the old feeds yet—wound up moving them to "On My Mac" and making the whole account inactive but I can see how that might not work for everyone.

I would love this ability. Deleting feeds when I don't want them and re-adding them when I do is the obvious workaround, but of course means any items I have starred disappear as well, so it's not a particularly good workaround.

I assume deleting a feed also deletes any starred posts from that feed that might have rolled off the source? Seems destructive as a workaround.

Yes, exactly: any starred items disappear, including those that don't exist on the source any longer.  Like I said, it is not a particularly good workaround.

I'd like to see this as well.
I just added a feed for "rpilocator.com" which posts alerts when a retailer gets Raspberry Pis in stock. It posts frequently. I'm not actually looking for a Pi right now, so the posts clutter up NetNewsWire, but I don't want to delete the feed because I might need it later.

I'd love to see this ability as well.
As another use case, I've found a handful of job board RSS feeds that are certainly useful when searching for work, but not as necessary when you are not actively looking. Disabling would be a great way to silence the noise but not lose reference for when you'd like to reactivate them.


Remove pricing tier link and update summary/desc fields got Creator v2.

Data Plane API - Pull Request
🚨🚨🚨 NO CHANGES TO ANY API, ONLY TO THE USER DOCUMENTATION - EDITED THE summary & description PROPERTIES TO IMPACT THE USER DOCS AND OVERVIEW PAGES. 🚨🚨🚨
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

Checks stuck in `queued` state?
If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`.
This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.

@weidongxu-microsoft please merge


Problem with multiple carriage return on a multi line string

Hi! I have the following form data:
'\r\nContent-Disposition: form-data; name="TICKET.content"\r\n\r\n\r\nFunnel instance: global\r\nSubscription URL: <link>\r\nAccount URL: <link2>/\r\nDo this and that\r\n--'

The problem with this is because of the else-case in getFormDataFromRequest , it splits the string with
p.split(`\r\n`)

and magically picks the third index. The third index of this returns an empty string:
p.split(`\r\n`)

I wonder if there are other ways other than splitting the string with \r\n to get that text blob.

Hi @Lilja I will look into this and see what I can do.
Not sure why you're seeing this problem while I havent encountered it yet.
Can you share your test (here or link to repo)?

@Lilja should be fixed now with 0.4.0.
Plz let me know if there are still issues or solved for you

Awesome, thanks for the quick resolution.


-2016281112 (Remediation failed) Error Code: 0x87d1fde8

Policy applies but State in Endpoint Manager reports -2016281112 (Remediation failed) Error Code: 0x87d1fde8. Endpoint is Windows 1909; Azure AD Joined via AutoPilot.
I have 2 OMA-URI Settings:
I. Account Type
OMA-URI: ./Device/Vendor/MSFT/Accounts/Users/<AccountName>/LocalUserGroup
Integer
2
II. Account PWD
./Device/Vendor/MSFT/Accounts/Users/<AccountName>/Password
String
desired-password
Profile is targeting a isolated dynamic device group.
Additionally: Device configuration profile - Endpoint Protect policy is targeting All AutoPilot Devices [dynamic device group]. FYI; Local device security options > Accounts [All set to block and renaming Admin and Guest]. Going to open an case, not sure what is conflicting as the syntax seems correct.

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

ID: 309bae29-c769-5051-6c3f-aebeb455cd34
Version Independent ID: bbdfad82-025e-8aee-b3fc-bcfb8b110674
Content: Accounts CSP - Windows Client Management
Content Source: windows/client-management/mdm/accounts-csp.md
Product: w10
Technology: windows
GitHub Login: @lomayor
Microsoft Alias: dansimp

Have you looked for solutions on other pages by using search engines?

https://www.bing.com/search?q=-2016281112+(Remediation+failed)+Error+Code%3A+0x87d1fde8&qs=n&form=QBLH&sp=-1&pq=-2016281112+(remediation+failed)+error+code%3A+0x87d1fde8&sc=0-55&sk=&cvid=6E85502F80AA40728A00468D012605C8
https://www.google.com/search?q=-2016281112+(Remediation+failed)+Error+Code%3A+0x87d1fde8

Yes, no luck. Under one of the closed submissions [https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1753] If I understand this correctly having the policy apply but not reporting correctly is expected behavior due to the operation Add vs Get. That's sad. I guess I would have to use powershell or a 3rd party PAM to manage a local admin password. I'd rather not even implement one just a requirement for End User Support team and their remote tool LogMeIn Restart Applet as System Service. I'll see if simply adding them in AAD Devices - Device settings is feasible and look into Intune Remote Assistance with TeamViewer. Thanks.

Fair enough. Unfortunately, there is no guarantee that this ticket will result in the solution you are looking for, unless it is directly related to any necessary updates in the documentation article. We will have to wait and see what the other users and MS Docs team will suggest to you. Wishing you the best of luck and a prosperous new year. 😃

@felixcruz3 Thank you for submitting feedback.
I think the best way forward is if you can open a service ticket so this can get resolved ASAP. Based on outcome, let me know if it is something that can be called out in the docs.
Please follow this link to contact support for Windows 10 products: https://support.microsoft.com/hub/4338813/windows-help?os=windows-10
If you don't mind please keep us posted here on the resolution so we can get the applicable information you are discovering back into the docs.


Sync voicemail plugin with forked repo

Sync voicemail plugin with forked repo

The upgrade allow to delete the new/saved messages.

Jira Story: https://jira.grasshopper.com/browse/UNG-1435

LGTM if all flows in subscriber mode are working as expected.


surperset hive

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
0.20.0
Expected results
Visualization sucess
Actual results
(pyhive.exc.OperationalError) TExecuteStatementResp(status=TStatus(statusCode=3, infoMessages=['*org.apache.hive.service.cli.HiveSQLException:Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask:28:27', 'org.apache.hive.service.cli.operation.Operation:toSQLException:Operation.java:315', 'org.apache.hive.service.cli.operation.SQLOperation:runQuery:SQLOperation.java:180', 'org.apache.hive.service.cli.operation.SQLOperation:runInternal:SQLOperation.java:207', 'org.apache.hive.service.cli.operation.Operation:run:Operation.java:257', 'org.apache.hive.service.cli.session.HiveSessionImpl:executeStatementInternal:HiveSessionImpl.java:406', 'org.apache.hive.service.cli.session.HiveSessionImpl:executeStatement:HiveSessionImpl.java:387', 'sun.reflect.GeneratedMethodAccessor164:invoke::-1', 'sun.reflect.DelegatingMethodAccessorImpl:invoke:DelegatingMethodAccessorImpl.java:43', 'java.lang.reflect.Method:invoke:Method.java:606', 'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:78', 'org.apache.hive.service.cli.session.HiveSessionProxy:access$000:HiveSessionProxy.java:36', 'org.apache.hive.service.cli.session.HiveSessionProxy$1:run:HiveSessionProxy.java:63', 'java.security.AccessController:doPrivileged:AccessController.java:-2', 'javax.security.auth.Subject:doAs:Subject.java:415', 'org.apache.hadoop.security.UserGroupInformation:doAs:UserGroupInformation.java:1672', 'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:59', 'com.sun.proxy.$Proxy27:executeStatement::-1', 'org.apache.hive.service.cli.CLIService:executeStatement:CLIService.java:258', 'org.apache.hive.service.cli.thrift.ThriftCLIService:ExecuteStatement:ThriftCLIService.java:490', 'org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement:getResult:TCLIService.java:1313', 'org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement:getResult:TCLIService.java:1298', 'org.apache.thrift.ProcessFunction:process:ProcessFunction.java:39', 'org.apache.thrift.TBaseProcessor:process:TBaseProcessor.java:39', 'org.apache.hive.service.auth.TSetIpAddressProcessor:process:TSetIpAddressProcessor.java:56', 'org.apache.thrift.server.TThreadPoolServer$WorkerProcess:run:TThreadPoolServer.java:285', 'java.util.concurrent.ThreadPoolExecutor:runWorker:ThreadPoolExecutor.java:1145', 'java.util.concurrent.ThreadPoolExecutor$Worker:run:ThreadPoolExecutor.java:615', 'java.lang.Thread:run:Thread.java:724'], sqlState='08S01', errorCode=1, errorMessage='Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask'), operationHandle=None) [SQL: "SELECT xxx"]
Steps to reproduce

sqlState='08S01'?  i think you could check the hive server log for details

Why running 0.20.0 ?

I've experienced that you have to recreate dozens of dashboards manually if do upgrade to the newest version coz actually the functions e.g.(export and import dashboards ) had not been well tested before deployed. there is little test on crossing and compatible versions,  slow step to do the upgrade.

I've experienced that you have to recreate dozens of dashboards manually if do upgrade to the newest version coz actually the functions e.g.(export and import dashboards ) had not been well tested before deployed. there is little test on crossing and compatible versions, slow step to do the upgrade.

upgrade to the newest ,it is ok,thinks

Other alternative is to fork the latest version of superset then migrate your dashboards(visualizations) after connecting your database to the latest running instance.

yeah，that’s another way upgrading but on premise that the data model in database is not changed at least not much changed
在 2019-03-04 18:17:28，"Daniel Tumelo"<EMAIL_ADDRESS>写道：
Other alternative is to fork the latest version of superset then migrate your dashboards(visualizations) after connecting your database to the latest running instance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I got a same exception.
Check if the user has sufficient rights to do such query.
Make sure you define that user in connection string - eg. hive://vity@hiveserver.something.com:10000
That helped mi to fix my problem.

Wait why can't you just superset db upgrade ? ~0.27 introduced a new dashboard app, but outside of that everything should upgrade nicely.

ok,i will see and make sure what that command doing and push a test,thanks
在 2019-03-12 13:33:44，"Maxime Beauchemin"<EMAIL_ADDRESS>写道：
Wait why can't you just superset db upgrade ? ~0.27 introduced a new dashboard app, but outside of that everything should upgrade nicely.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Implement AsyncMap and AsyncSet

See: #385

@tshemsedinov Instead, are we implementing an asynchronous iterator?

Closed in favor of https://github.com/metarhia/metasync/issues/393.


Fix PumpScheduler to handle updated sleep window format.

Coverage increased (+0.07%) to 82.051% when pulling 2830823be710f9b17b61a678c64529c497128d38 on pump_scheduler into 9eb97568ba4a24400d70c9674a4d5178dbece01c on master.

Coverage decreased (-0.8%) to 81.151% when pulling 418c586066589de9dcfd4d8aadf6546e63e6ed83 on pump_scheduler into 9eb97568ba4a24400d70c9674a4d5178dbece01c on master.


Added Argenta Oreana Middle School (argenta-oreana.org)

@JplusComp First stage of verification passed, official domain is argenta-oreana.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


[TaskbarX v<IP_ADDRESS> Portable] "Compensate for tray, clock" doesn't work; no startup task.

I'm using TaskbarX v<IP_ADDRESS>, extracted from the release ZIP on Win10 v1709.
Whenever I tick "compensate for tray, clock, etc.", nothing happens, and it resets the checkbox when I restart the configurator.
It also hasn't created a startup task with command-line args, as I understand it's supposed to.
Am I doing something wrong? Does it need installing (not portable-ish any more)?

I looked through other open issues, and decided to test taskbar styling, too. This isn't working at all, either :'(

Just want to let you know i have seen your issue. Currently working on a different issue that might fix It

also hasn't created a startup task with command-line args, as I understand it's supposed to.

Thank you!
PS v<IP_ADDRESS>, compensate for tray, clock, etc. now crashes on the second click of Apply (e.g. tick the box, Apply, untick the box, Apply, configurator crash)


Remove logging from development build

Environment

react-advanaced-form: 1.3.2

What
I propose to remove logging (console.log) from development build.
Why

It pollutes the console on runtime
It can be easily replaced with debugger for debugging purposes
It decreases library's performance when having console in devtools open

Released under 1.3.3.


pyqt4 and pyqt5 do not build

Steps to reproduce
$ nix-build -A pythonPackages.pyqt4
...
patching script interpreter paths in /nix/store/09lxdjqjf1hl4qa77mk0y938ya55vb6k-python2.7-PyQt-x11-gpl-4.11.3
/nix/store/09lxdjqjf1hl4qa77mk0y938ya55vb6k-python2.7-PyQt-x11-gpl-4.11.3/bin/.pyuic4-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/nyj6xd7s1n1w8c0xdwk5ddhi7bjcyi9x-bash-4.3-p46/bin/sh"
/nix/store/4zq1535pa85wkaxlxdrp751jhznlw8ki-stdenv/setup: line 781: /nix/store/09lxdjqjf1hl4qa77mk0y938ya55vb6k-python2.7-PyQt-x11-gpl-4.11.3/nix-support/propagated-native-build-inputs: Permission denied
note: keeping build directory ‘/tmp/nix-build-python2.7-PyQt-x11-gpl-4.11.3.drv-0’
builder for ‘/nix/store/406x8b0d8y0mgs0mryah5h1gll2gz3w6-python2.7-PyQt-x11-gpl-4.11.3.drv’ failed with exit code 1
error: build of ‘/nix/store/406x8b0d8y0mgs0mryah5h1gll2gz3w6-python2.7-PyQt-x11-gpl-4.11.3.drv’ failed

Happens on both 16.09 and unstable. It might be due to my change in https://github.com/NixOS/nixpkgs/pull/18143/commits/4f6b6f14726296c1d402f187db995031bccd791f

It's not a random problem, and the graphical ISO is blocked by this.

Undoing my change (4f6b6f1) didn't seem to resolve the issue in case of pythonPackages.pyqt4.

Huh, I wonder how this could have happened
$ ls -l /nix/store/09lxdjqjf1hl4qa77mk0y938ya55vb6k-python2.7-PyQt-x11-gpl-4.11.3/nix-support/
total 4
lrwxrwxrwx 1 nixbld1 nixbld 114 Sep  3 15:11 propagated-native-build-inputs -> /nix/store/8dnkkcqghp92ylvnhqnk3pi1dyq51a7m-python2.7-dbus-python-1.2.4/nix-support/propagated-native-build-inputs

symbolic link instead of a new file?

    lndir ${dbus-python} $out :-D

OK, so I've got a "fix" for that. I'll try to verify some reverse dependencies.

I deleted the symbolic link and tested pythonPackages.qtconsole and it seemed to work fine. I'll check it a bit further.

I'm confident it works the same as before the recent breakage, whatever the status was. I tested running electrum at least.


Dependency problem

Hi all,
I already have a flutter project, trying to add msal_flutter:
FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.7.21 and higher.
The following dependencies do not satisfy the required version:
project ':msal_flutter' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Exception: Gradle task assembleDebug failed with exit code 1

Can I fix it in the gradle files or is it a library problem?

Hi @emaborsa Have you found any solution? I am facing the same issue in my project. Please help me if you found any solution. Thanks in advance.

Hi,
I must say, I discarded the library. It is not maintened and no support at all.

Okay Thank you for your response. Can you suggest me any library for MSAL which is maintained properly?

Unfortunately there are no libraries yet. I was thinking about to write by my self just what I need.

Okay, Thanks!

Sorry but we have no capacity to support. This plugin is provided as is as we use it internally and share it if anyone finds it interesting, however we're happy for anyone to fork and improve it.
In regards to the error you see however, I would suggest first trying to just edit the kotlin plugin version directly from the package local cache which might work, or lowering your own kotlin version. If you do come up with a solution please feel free to create a pull request so others may benefit from it.


merge MONDO_0000583 'immunoglobulin beta deficiency' with MONDO_0012987 'agammaglobulinemia 6, autosomal recessive'

Comment on MONDO_0000583 'immunoglobulin beta deficiency' says 'Consider merge with AGM6' (which I think is MONDO_0012987 'agammaglobulinemia 6, autosomal recessive')

I don't think it makes sense to merge MONDO_0000583 'immunoglobulin beta deficiency' with MONDO_0012987 'agammaglobulinemia 6, autosomal recessive'


List JSON gets corrupted

I'm using a JSON column type, as per your recommendation:
Column(JSON, info={'colanderalchemy': {'widget': deform.widget.TextAreaWidget(cols=80, rows=4)}}, default={})

This works well for dict JSONs, however it doesn't work for JSONs which represent a list. For example: [1,2,3]
If you enter [1,2,3], the following is saved to the database: 1

@hyperknot  Thanks for report bug. I fixed it in new sacrud version == 0.3.4.
Just update:
pip install sacrud -U


Research/Implement HA Docker Add-Ons

Research about Implementing HA Docker Add-Ons
Download and Add new Add-ons that will be helpful for the client.

Configure Docker-compose.yaml file, bit of tinkering but pretty straightforward

HA Docker Add-Ons (Example - VS Code, Plex Media Video...etc)

https://www.youtube.com/watch?v=DV_OD4OPKno&ab_channel=HomeAutomationGuy


See second commit with fixes


Fix/component mesh colocation filter with unique vertex

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


Flowchart Image (draw.io) scatter around when zoomed in

Hi,
I am using Flowcharting panel to show a sample SLD diagram in my grafana dashboard. The plugin is very good and very useful, thanks. But, if the flowchart / image is zoomed, the remaining part of the image is blown out of the panel boundary. Please fix this issue as soon as possible.
Thank you.

Fixed on v0.9.0

You can download it at
https://algenty.github.io/flowcharting-repository/ARCHIVES.html

Thank you very much for fixing the issue.
On Sun, 31 May 2020, 2:04 pm Arnaud GENTY<EMAIL_ADDRESS>wrote:

Closed #172 https://github.com/algenty/grafana-flowcharting/issues/172.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/algenty/grafana-flowcharting/issues/172#event-3390409499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJ4ZQYKQBUNDCMSMRXOIKLRUIJCDANCNFSM4NJ7VJPQ
.


Tektronix AWG 70000 5028 resolution docstrings

Fixes #1134
Changes proposed in this pull request:

Add a test for the docstring
Make the docstring model dependent

@astafan8

The coverage report reveals that this is not included in the coverage. Could you change .coverage to not exclude this driver (and possibly other Tektronix drivers that have tests)?

Okay, let's see how much the coverage drops.

I think we can land this with the coverage enabled for Tektronix


[Feature Request] Blacklist/Renaming List

Is there any chance we can get a config file along with the others that if Ice comes across and files matching those names (or even those exact file paths) then Ice will completely ignore those files.
Or could that file have an option to put next to the name/filepath that it's either blacklisted, or have it added to Steam under a different name. Something like this maybe?
Blacklist.txt
C:\Program Files (x86)\Steam\Steamapps\Common\Mabinogi\Mabinogi.exe       | %Blacklist
C:\Roms\Wii\PMNetplayV3.elf      | Super Smash Bros. Project M
(In this Example, %Blacklist means Ice ignores the file. Otherwise that space is used to designate the alternative name for the file)

Not sure what you use would be but I want something that if the file.name didn't match in ConsoleGrid to ignore. This way it would only pull in roms that I wanted to include.


Pass visitor to visit_number! macro

In Rust, variable identifiers in a macro_rules! body are resolved
in the scope of tht body - they cannot see through to the caller's body.
For example, the following code errors:
macro_rules! weird_ident {
    () => { my_ident; }
}

fn main() {
    let my_ident = 1;
    weird_ident!();
}

However, due to a compiler bug (https://github.com/rust-lang/rust/issues/43081),
this kind of code current compiles when a procedural macro is invoked by
a macro_rules! macro. Eventually, this will cause a compilation error.
In the visit_number! macro, you're currently writing an expression
involving visitor, and passing it to a procedural macro (paste!).
However, visitor comes from the body of the caller of visit_number!,
so this code will stop compiling once the compiler bug is fixed.
Fortunately, the identifier of visitor can be passed into
visit_number!. This modified code will with the current version of
Rust, as well as future version that causes the old code into an error.
Feel free to ask me about any questions you may have. For more details,
see https://github.com/rust-lang/rust/issues/72622

Ah, you're the one who accidentally tagged all those people by accident. 😄 Thank you for finding and fixing this issue in my code. I honestly never expected a pull request to this repo, much less due to a change to the Rust compiler, but I appreciate just being handed the fix. 👍

@alexschrod: Could you make a new point release containing this fix? When https://github.com/rust-lang/rust/pull/73084 is merged, this bug will be exposed.


How to make popup visible after 5 seconds?

Hi! Now the window opens immediately when you visit the page, how to slow down its appearance for 5 seconds?
It seems that this function is responsible for appearance
function o(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}

If you want the banner to appear after 5 seconds, you can wrap initialise() in a setTimeout().
Like so:
window.addEventListener("load", function(){
  setTimeout(function(){
    window.cookieconsent.initialise({
      "palette": {
        "popup": {
          "background": "#000"
        },
        "button": {
          "background": "#f1d600"
        }
      }
    });
  }, 5000);
});

Thank you! it works.


Bring controls into view when focused

What does the pull request do?
When a control becomes focused, scroll it into view. This is controlled by the ScrollViewer.BringIntoViewOnFocusChange property as in UWP.
Note that although the UWP documentation says:

BringIntoViewOnFocusChange can either be an attribute on an explicit ScrollViewer element, or a ScrollViewer.BringIntoViewOnFocusChange attached property usage on an element that is a child of a control that supports scrollview implicitly in its template.

This seems to be incorrect. The attached property usage in UWP (from what I can tell) should be set on the control which hosts a ScrollViewer in its template. The Avalonia version works like that and the XML docs reflect that.
I could have sworn that I'd implemented something like this ages ago, but I can't find any trace of it in the codebase and older versions don't seem to do it.

You can test this PR using the following package version. 11.0.999-cibuild0035059-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

I tested the PR code and it resolves the issue for us.


Design and validate wireframes for Loan funding flow, and Post-funding flow

Deliverables

[ ] Balsamiq wireframes (clickable) to test and prototype ideas
[ ] Interaction design is critical: build in Rimble UI components etc

High-level spec
Fundraising period

[ ] Crowdfunding page as the home page
[ ] What should the repayments table look like during fundraising period (i.e. my projected cash flow streams)

Interim period (crowdsale complete, pending selection of funders)

[ ] (potential) How do we show that a loan is fully funded?

Funding a loan

[ ] What should the "fund loan" process look like?
[ ] What warnings should we show the lender?
[ ] How do we explain the issuing of debt token to the funder?
[ ] How do we prevent someone from overfunding a loan?
[ ] How do we ask potential funders to include their email address, so that we can do a video interview with them? (Ines' request)

Funding goal complete

[ ] How should we show the details of the loan?
[ ] What should we show? i.e. on time, in default, early settled (copy Mifos' UI)
[ ] How should we show the debt token allocations? i.e. who owns the debt tokens
[ ] How should we show the repayment status (i.e. which tranches are settled, etc)

Examples:
Warning should be similar to Uniswap

Benchmarking: Kiva

![screencapture-kiva-org-2019-05-22-15_31_26](https://user-images.githubusercontent.com/518024/58181377-fbf68600-7cab-11e9-937b-93345ae58d48.png)

Benchmarking Kiva
Home

View Loan

Checkout Loan
Kiva uses a "checkout loan" model where you add loans to a basket, and then check all of them out at the same time. Kiva has an optional "donate" button which is a fairly sizable amount, that is used to cover operations.
Registration is only needed prior to checkout. Users submit email and password, but are allowed to donate anonymously.

![checkout](https://user-images.githubusercontent.com/518024/58183269-56451600-7caf-11e9-8ac0-12372d5bad13.png)

Early prototypes
https://bit.ly/enable-draft-2

From my Consensys Bootcamp group:

Looks good, could use some short summary+call to action on the very top e.g. "Invest 100DAI in Ines to get 130DAI back after X months* (*best case scenario)".

I am risk averse, and social proof isn't very persuasive to me. Could use more facets of identity than just social media accounts vouching for other social media accounts. This leads to next point:

More thorough verification. Info what happens if Ines (or Nigerian prince Nguyen Omata) does not pay loan back? Statistics from the platform (having loans on blockchain has added bonus that I can verify them independently) - how often were such loans repaid?

Centralized lending platforms can afford to be thorough (Address, bank statement, photo of ID) I am not sure how such "verification" could work in decentralized way but if I trust the platform I could be content with ("Yep, we (the platform) confirmed his/her private documents seem legit - attested to that fact on the blockchain, but you don't get to see the documents, obviously").

Hey,
First of all:

What's the use case, story for these screens? Without context it's difficult to understand it and give proper feedback, I'm gonna try it though 🤓

Main loan page:

The financial goal is 60K but I feel the main thing is that Ina want to go to Cornell. Make it connected more with her profile.

The primary CTA (lend now) comes before the details, logically tho it would look something like this: who->for what->how much->lend

the lending amount into a select input is not the best: consider displaying predefined amounts to guide the user. You can see best practices on donation sites. The last option can be 'another amount' with a number input...but don't use dropdown.

Funding loan screen: the primary cta (fund) is again a bit to deep in the screen and i feel logically it'd come before the loan details
https://twitter.com/onggunhao/status/1132744367280656385

@tspoff @adibas03 I'm going to get Ines' help to do user testing (will teach her the basics) because it's quite tedious. I want to get back to code!

Should put in more thought into the disclaimers.

[ ] Draw inspiration for Gnosis' wallet's disclaimers

https://github.com/onggunhao/enable/issues/18#issuecomment-494390305

Pre-suggested amounts (from Ketto)

v2 wireframes posted on Twitter for the community's feedback. Let's see where it goes!
https://twitter.com/onggunhao/status/1133778572219486209

Comments from Guerilla Testing:

Too much information, I'm confused by the finance terms

On the loan page, I want to see how much I earn from lending and by what date

Why is there so much details abt txns? Don't make me think

Too much friction for borrower to accept a loan. Should accept immediately

Suggested amounts need to cater to diff types of users (i.e. 7, 25, 100, 1000)

Tabs on mobile suck. Scrolling is cheap, enhances discoverability

"Is there a way to give a tip to the project?" <- something to think about instead of per-transaction fees

Revised wireframes (Draft 4):
http://bit.ly/enable-draft-4

@urmauur Please see this thread for context
Closing issue.


Finer-granularity code fragments

Thank you for this very interesting tool.
I need the ability to highlight portions of lines of source code. AFAICT this is currently not supported.
Is this something that you think you might support in the future?

Is this something that you think you might support in the future?

Hi @jacg thanks for getting in touch and for this very interesting request. Undeniably, a nice feature. But more than a little bit tricky to implement today at least. So the short answer (and probably unsatisfactory answer :) is maybe.
I'll add it to my list. For know I'll keep this thread open which will allow other users to up-vote the request which will help me gauge the overall level of interested in this feature within the broader GitPitch community. Thanks again for this feedback. David.

David,
Thanks for your reply. Maybe is a fine answer, especially with the background information that it's a little tricky to implement today: that tells me that I shouldn't hold my breath, which is valuable information.
While I wasn't really expecting it, there was at least an outside chance that you might have answered "Oh, yes, that's easy, I'll do it tomorrow ... no wait ... it's so easy that I've done it just now. There, it's ready." :-)


Need a new version release for Hammer

Version 1.0.3 is the last binary release and that only goes up to Gaprindashvili. A new version needs to be made for Hammer. 🔨

Thanks, been lazy and forgot about it! Version 1.0.4 is tagged and a High Sierra bottle is available via Homebrew!
https://github.com/chrisarcand/miqversions/releases/tag/v1.0.4


Fixed spelling errors and added more translations

Thank you so much!

Pull request was merged but ru_RU.csv is not updated. Something went wrong?


⚠ Bofrost.fr has degraded performance

In 4752875, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1609 ms

Resolved: Bofrost.fr performance has improved in afd4cad after 6 minutes.


Add encoding to Response

The desicion for issue https://github.com/prom-client-net/Prometheus.Client.AspNetCore/issues/16

@BruTyler Why we need Encoding here? In documentation, it is always text/plain; version=0.0.4. https://prometheus.io/docs/instrumenting/exposition_formats/#basic-info

@BruTyler Oh, I see #16 now...

I need time for testing it


Error when reading grib2 files with "Product Defn Template=4.46"  from EMC/NCEP

Dear grib2io developers.
Recently, it was found that, using grib2io to read  some grib2 files from EMC/NCEP would cause error as :
with grib2io.open(grib_file, mode='r') as gr
 File "/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-conda-envs/test-env3/lib/python3.9/site-packages/grib2io/_grib2io.py", line 154, in __init__
    self._build_index()
  File "/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-conda-envs/test-env3/lib/python3.9/site-packages/grib2io/_grib2io.py", line 329, in _build_index
    msg = Grib2Message(section0,section1,section2,section3,section4,section5,bmapflag)
  File "/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-conda-envs/test-env3/lib/python3.9/site-packages/grib2io/_grib2io.py", line 615, in __new__
    Pdt = templates.pdt_class_by_pdtn(pdtn)
  File "/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-conda-envs/test-env3/lib/python3.9/site-packages/grib2io/templates.py", line 2036, in pdt_class_by_pdtn
    return _pdt_by_pdtn[pdtn]
KeyError: 46

It was believed that is because there were unrecognized template numbers in the file as shown by wgrib2 -Sec4
751:663644301:Sec4 len=71 #vert coordinate=0 Product Defn Template=4.46 size=71 expected size=71""

The grib2io version is "grib2io                   2.3.0            py39hb9c10d8_0    conda-forge".
The grib2io is the tool I finally found to prevent  other mismatches/issues in those grib2 files and hence, it will be great if grib2io developers could provide a built-in solution for this problem .
Your help is appreciated.

Thanks for reaching out!  We do have an open issue #160 and pull request #161 that we are working on.


[Function builders] Additional entry points

Introduce two new function builder entry points:

buildFinalResult, to build the final result of the function builder transformation in the synthesized return
buildOptional, as an alternative name for buildIf that matches up with the proposal

@swift-ci please smoke test


[BigFix] hive external table column order changes after refreshing

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/starrocks/issues/7180
Problem Summary(Required) ：

use List to construct schema instead of Map

[FE PR Coverage check]
:disappointed: fail : 6 / 8 (75.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
0
2
00.00%

:large_blue_circle:
com/starrocks/external/HiveMetaStoreTableUtils.java
6
6
100.00%

@Mergifyio backport branch-2.3


Open file descriptor as socket

If we want to use a react server behind systemd or launchd (socket activation) we should be able to open socket that are not tcp socket.
context:
on Linux, systemd is able to listen to a port instead of a program and start the program when a connexion is open on the port. this allow the system to boot faster, use fewer ressources while the service is not used and restart the service if it crashes (or if we killed it after an upgrade) without losing any connexion
for that, systemd start the program with a an ENV variable telling it which file descriptor to connect to. With React\Socket\Server we can only connect to tcp (eg: "tcp://<IP_ADDRESS>:8080") but in this case it should be able to connect to "php://fd/$fd"
I can solve this problem like that:
<?php

namespace My\Namespace\Socket;

use React\EventLoop\LoopInterface;
use React\Socket\Server as ReactTcpOnlyServer;

class Server extends ReactTcpOnlyServer
{
    private $loop;

    public function __construct(LoopInterface $loop)
    {
        $this->loop = $loop;
        parent::__construct($loop);
    }

    public function listen($socket, $nada = '')
    {
        $this->master = @stream_socket_server($socket);
        if (false === $this->master) {
            $message = "Could not bind to $socket: $errstr";
            throw new ConnectionException($message, $errno);
        }
        stream_set_blocking($this->master, 0);

        $that = $this;

        $this->loop->addReadStream($this->master, function ($master) use ($that) {
            $newSocket = stream_socket_accept($master);
            if (false === $newSocket) {
                $that->emit('error', array(new \RuntimeException('Error accepting new connection')));

                return;
            }
            $that->handleConnection($newSocket);
        });
    }
}

but i think it would be an improvement it it could work out of the box. here the listen method should not have 2 parameters.
I propose the following changes

React\Socket\ServerInterface should not impose the second parameter on the listen method.
React\Socket\RawServer should be implemented with listen($socket)
React\Socket\Server should extend React\Socket\RawServer and implement listen($port, $host = '<IP_ADDRESS>')

not relevant anymore


docs: add initial README and TODO documentation

Initial README and TODO documentation for hono-mdx package
This PR adds:

Comprehensive README documenting:

Hono JSX support for MDX via @mdx-js/react
Required compiler options for TypeScript/JSX
Layout component with PicoCSS and Tailwind CDN integration
HTML meta tag and JSON-LD support from MDX frontmatter

Detailed TODO.md with implementation plan using nested task lists

The documentation establishes the design and requirements before implementation begins.
Link to Devin run: https://app.devin.ai/sessions/4ac3c87cdc9c4d569a609d74a510fd95

Closing in favor of #2 which contains only the documentation changes as requested. PR #2 has passed all CI checks and follows the documentation-first approach.


"TINY_HSA_DEVICES"

Is there an existing way to do this in HSA?

If you set ROCR_VISIBLE_DEVICES=0,1,2,3 etc. it should do this

If you set ROCR_VISIBLE_DEVICES=0,1,2,3 etc. it should do this

Thanks! Where did find this? Is there a list of env vars somewhere?

https://rocm.docs.amd.com/en/latest/conceptual/gpu-isolation.html


Pass tags attribute to all rpm internal rules.

What is the goal of this PR?
Adding option to pass tags to the assemble_rpm rule.
This can be beneficial in the cases when tags are intensively used. This would also allow to specify tags = ["manual"] so that .rpm is ignored when running bazel build //... and similar for the setups where rpmbuild is not available.
ref: #205
What are the changes implemented in this PR?

Adds a new tags argument to the assemble_rpm macro and pass it to all wrapped rules.

Additionally:

remove references to the .deb packages
add workspace_refs argument doc

RESOLVES #205

@zoido thank you for your contribution!


Appstudio update test-component-pac-puoi

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-puoi-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
43 seconds
build-container

✅ Succeeded
23 seconds
sanity-inspect-image

✅ Succeeded
51 seconds
clamav-scan

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
20 seconds
sbom-json-check

✅ Succeeded
11 seconds
sanity-optional-label-check

✅ Succeeded
11 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


Prevent text children of View

@lelandrichardson what did you have in mind here? Were you thinking of preventing:
<View>
  <Text>Hello</Text>
</View>

or
<View>Hello</View>

or something else entirely?


Implement label management API

Coverage increased (+0.5%) to 60.327% when pulling 876a5a63d6fe861d40ee57921351a5c3d3d04778 on ywk253100:180302_label into 8bf4f1314e69c864dbae5f57aad3127e727e512f on vmware:master.


Add a cron-like reminder, so like "every sunday at 8pm"

Maybe instead do "daily", "weekly", and "yearly"?

If we add a "repetition" field, a hacky way to do it would be to check that field when the reminder is sent and create a new reminder 1/7/365 days in the future with the same message

I doubt this would get used. Closing as wontdo.


NSGA3 elitism - initial sampling does not survive.

I am coupling the pymoo NSGA3 with pyswmm to optimize 5 objectives. I have input two extreme populations as initial set of solutions for sampling in the algorithm and I want them to survive and be in the last set of optimized solutions.
However, they survive only for small number of generations (5) but not for greater number of generations (>10). How can I enforce elitism to ensure that these two initial populations will survive through the last generation?
I appreciate your help with this.

I have seen you have also sent me an E-Mail. Let us continue the discussion here.
What is the reason why they shall survive? They are eliminated because solutions either dominate them (most likely if early during the convergence phase) or later to improve the diversity.
NSGA3 is an elitist algorithm, and of course, elitism is enforced in each generation.
However, if you want these solutions to participate in mating, you can use the object-oriented interface (https://pymoo.org/getting_started.html#Object-Oriented-Interface ) or the Callback (https://pymoo.org/interface/callback.html ) and add them in each iteration again.

If you use NSGA3 in pymoo, the selection is default in TournamentSelection(func_comp=comp_by_cv_then_random), so
if you have a good solution for one of the objectives, it is no guarantee that it will survive to the last generation, because the tournament is random, and dosent matter the fitness values. Maybe you can use TournamentSelection(func_comp=binary_tournament)  which is the default selection in the NSGA2 algorithm

That is not correct. You are right that NSGA3 uses the TournamentSelection, but this is the MATING selection and not the ENVIRONMENTAL selection/survival. The ReferenceDirectionSelection chooses first non-dominated individuals and then the closest one to each reference line. If then a second solution is selected for a line, then randomly, a solution assigned to this line is taken. Please see the paper for more details.

You're right, I deleted my comment because as soon as I wrote it I realized it was wrong


ConnectFailingTransaction

Current dependencies on/for this PR:

feature/proof-of-stake

PR #578

PR #671

PR #672

PR #673   👈

This comment was auto-generated by Graphite.


Update for GraphiQL changes

@tlvenn Do we need to update the "advanced" GraphiQL (now GraphiQL Workspace), based on your conversation here: https://github.com/OlegIlyenko/graphql-toolbox/issues/3 ?

Also, I want to make sure that:

[ ] Credit is given to Oleg, et al, for the GraphiQL inclusion in the the README
[ ] Any necessary license is included

Ya I am working on it with Oleg, there are a few issues that we need to solve before we can publish graphiql-workspace with jsdelivr and use it with Absinthe.

@tlvenn Any update on this? I think we need to freshen up the version of graphiql used; is there anything we need to do here? I saw this: https://github.com/OlegIlyenko/graphql-toolbox/issues/10

Hi @bruce, sorry meant to follow up on that sooner. I had open a PR to build the minify version that can be served using jsdelivr and then that we can use:

https://github.com/OlegIlyenko/graphiql-workspace/pull/2

There are issues raised by Oleg and I will follow up with him this coming week to fix them.

The PR has been merged, i have created 2 small PRs to update the project to the latest graphiql / graphql and add configurable headers. Should be relatively quick to merge them and then publish a new version to npm.
The issue tracking this is: https://github.com/OlegIlyenko/graphiql-workspace/issues/1
So hopefully we can expect to update the version we are using in the coming days.


Easy get crash chrome , firefox browser

Hi all
when i try using browser on x11vnc-desktop . I see it easy to crash
reproduce bug :  open several tab , quick scroll mouse up then down serveral time  or press page up/ page down several time
google-chrome-stable
[2712:2823:0817/200238.637506:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[2751:2751:0817/200238.758995:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.
[2712:2712:0817/200238.772510:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context.
(google-chrome-stable:2712): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport \u201cdisabled\u201d for address \u201cdisabled:\u201d
[2712:2712:0817/200248.055402:ERROR:CONSOLE(1)] "Not allowed to load local resource: chrome-search://local-ntp/theme.css", source: https://www.google.com/_/chrome/newtab?ie=UTF-8 (1)
[1:14:0817/200256.685075:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0817/200256.718458:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:18:0817/200257.100358:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
[1:17:0817/200324.370884:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
zsh: bus error  google-chrome-stable
firefox
(/usr/lib/firefox/firefox:765): dconf-WARNING **: Unable to open /var/lib/menu-xdg/dconf/profile/user: Permission denied
(/usr/lib/firefox/firefox:725): dconf-WARNING **: Unable to open /var/lib/menu-xdg/dconf/profile/user: Permission denied
[Parent 641, Gecko_IOThread] WARNING: pipe error (47): Connection reset by peer: file /build/firefox-x_t4I3/firefox-61.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 641, Gecko_IOThread] WARNING: pipe error (56): Connection reset by peer: file /build/firefox-x_t4I3/firefox-61.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 641, Gecko_IOThread] WARNING: pipe error (55): Connection reset by peer: file /build/firefox-x_t4I3/firefox-61.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
###!!! [Parent][MessageChannel] Error: (msgtype=0x16007F,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
Does need patch chrome / firefox before to work fine on docker environment ?
Thanks you

Are you using the latest script ubuntu_desktop.py to launch the Docker image?
It is important that the "docker run" command is started with the arguments "--shm-size 2g".
https://github.com/x11vnc/x11vnc-desktop/blob/master/ubuntu_desktop.py#L373
By default, Docker assigns only 64m to /dev/shm, which is too small and causes firefox or chrome to crash.

I will try it .
Thanks for your support


 in custom elements results in Error: Invalid negative value for  attribute height=x

If I use following html snipped in my application at a very high DOM level (near to body)
<linechart style="height: 150px;" data="app.getCurrentJobStats().loss" options="app.chartOptions"></linechart>

then everything works just fine. If I wrap that snipped above with Bootstrap's tab-system (where ng-if's and custom elements are involved) I'm getting following error:
Error: Invalid negative value for <rect> attribute width="-80"
Error: Invalid negative value for <rect> attribute height="-40"
Error: Invalid negative value for <rect> attribute width="-80"
Error: Invalid negative value for <rect> attribute height="-40"

I guess it has something todo with the Bootstrap code, because in my regular ng-if layouting stuff this doesn't happen (meaning that if my app starts without initially displaying the linechart because another div is currently in the DOM this effect doesn't happen). I tried a bit around with it and and figured out it has something todo with custom elements.
If I do this:
    <dummy-element style="height: 150px;">
        <linechart style="height: 150px;" data="app.getCurrentJobStats().loss" options="app.chartOptions"></linechart>
    </dummy-element>

then this will trigger the same errors as above. I haven't yet figured out a way to workaround this. Tried with registering dummy-element using document.registerElement but that didn't help.

Ok, the one with dummy-element is fixed if I place a display: block to its style. Issue remains with the Bootstrap tab-set:
<uib-tabset class="full-tabs">
    <uib-tab heading="STATS">
        <div style="height: 150px;">
            <linechart style="height: 150px;" data="app.getCurrentJobStats().loss" options="app.chartOptions"></linechart>
        </div>
    </uib-tab>
</uib-tabset>

Anyone an idea?

I got it a bit more working in the form that it is displaying at least the line-chart even though the error still is shown in the console.
To get it displayed I put a little directive inside my app which hooks into 'uib-tab' and triggers windows.resize event when the tab gets visible:
    .directive('uibTab', () => {
        return {
            link: function(scope, element, attributes) {
                scope.$watch(() => {
                    return !!element[0].offsetParent;
                }, () => {
                    angular.element(window).triggerHandler('resize'); //redraw line-chart
                });
            }
        }
    })

But still, there are nasty error in the console :)

Since Angular-Bootstrap's  tab-system is using transclude (https://github.com/angular-ui/bootstrap/blob/master/src/tabs/tabs.js#L118) I really believe the error comes from rendering n3-charts during a time where it isn't attached to the DOM and thus has no dimensions it can read (results in 0px/0px), where d3 is then trying to fit a graph in a 0 size space which isn't possible. Maybe we could make n3-charts pause rendering when it isn't attached to the DOM (offsetParent is not set) and only start rendering when its injected into the DOM again.

I worked around with this issue by using a own tab system which uses z-index: -1 to hide tabs instead of using transclude and DOM magic to do it. I let it open because I still think it would be useful to get at least the errors go away by only rendering the chart if its injected into the DOM.

Hi @marcj
is everything working for you? there are some issues with inferring the dimensions from the parent element when the element is not visible initially. You can see 2 workarounds in #465
Best,
Christoph

hey @chaosmail,
unfortunately not.

I still believe that it's a good idea to stop rendering when there's no parentElement detected or the size is 0px/0px, so this errors won't appear.

@chaosmail can you give me a hint where I can start fixing this? I'd like to contribute it.

Hi @marcj
maybe you could give a look into the line https://github.com/n3-charts/line-chart/blob/master/src/angularjs/LineChart.ts#L128
I guess we could make an option to disable parentElement dimensions
Does this help you?
Best,
Christoph


Crash when scrolling undo out of range

This might be fixed by either saving the state of the child view, or by finalizing the undo action when the user scrolls the RecyclerView (see Issue #5).

Fixed in Release 0.2.0.


Support for Logstash 8.0.x

Is your feature request related to a problem? Please describe.
As a user who does not want to use Data Prepper, Fluentd, or OpenTelemetry collector, I want the Logstash Output Plugin to support Logstash versions 8.0.x
Describe the solution you'd like

Add support for Logstash 8.0.x in the Logstash Output Plugin by setting the ecs_compatibility flag to disabled.  elow is the sample conf for 8.1 from Prashant:
output {
opensearch {
hosts => ["https://demo-kdyzo22un3dswky6vlb3n6pkcu.us-west-2.es.amazonaws.com:443"]
index => "cwl"
action => "create"
user => "logstash"
password => "xxxxxx"
ecs_compatibility => disabled
ssl => true
}
}

Update the version compatibility matrix to reflect the support - https://opensearch.org/docs/latest/clients/agents-and-ingestion-tools/index/

Describe alternatives you've considered
Unable to use Data Prepper, Fluentd, or OpenTelemetry collector in this case.
Additional context
Add any other context or screenshots about the feature request here.

This work was already done inside https://github.com/awslabs/logstash-output-amazon_es.  It should be fairly trivial to complete.


Update dependency @types/node-cron to v3.0.9

This PR contains the following updates:

Package
Type
Update
Change

@types/node-cron (source)
devDependencies
patch
3.0.3 -> 3.0.9

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Use correct env var for dkim use_domain

I realized that a small typo in the dkim config generator was the reason why my dkim setup wasn't working - this should fix it :)

Thanks!!

Tagged as 1.7.27 and creditetd to gotos@github


[FLINK-25874] loose PyFlink dependency of 'python-dateutil' to '>=2.8.0,<3'

What is the purpose of the change
FLINK-25874 reported that PyFlink dependency of python-dateutil==2.8.0 is very old and conflict with some python packages like great_expectations.
This PR looses the dependency.
Brief change log

loose PyFlink dependency of 'python-dateutil' to '>=2.8.0,<3'

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@HuangXingBo Can you take a look? Thanks!

@dianfu Good catch, accepted the suggestion, thank you very much!

@flinkbot run azure

@dianfu The CI check is finished successfully, anything else do we need?

@HuangXingBo @dianfu can you take a look on this?

@dianfu This PR is pending for almost 3 months, can we proceed it if there's no more concern?

Very sorry for the late response. LGTM.