prevent 'self' kwargs to be passed to Template.render

self can be passed to Template.render method which result to a TypeError:
render() got multiple values for argument 'self'

For example framework like wagtail use self in their context.
By the way this PR offer a fallback to this in place of self.
Another alternative could be an optional settings to defined a custom Template class from django's settings.
Let me know you through

I close this PR because #4 fix the issue


dex - add skeleton loader

What kind of PR is this?:

/kind feature
What this PR does / why we need it:

Add skeleton loader to inform user that the content is loading if the API is taking time to return

Which issue(s) does this PR fixes?:

Fixes #609
Additional comments?:

Tested on web and pixel 3a (with network throttling) and iPhone 12
Requires network throttling to test on playground network

@thedoublejay this is after removing the rounded corners


Add Microsoft.IO.Redist and System.Memory package

Extracted common changes from 2 branches that I'm working on.
Tested the changes by aliasing the IO types in FileUtilities. (actual change in separate branch)

@ccastanedaucf You can use exp/net472 after this gets merged in to experiment with spans and stuff.

I assume this impacts the Mono build too right?
/cc @radical

@akoeplinger @radical
Not quite sure how this impacts Mono. The redist package  targets 4.7.2, which should be OK with Mono? Maybe it would require updating Mono for our repo?

@cdmihai it depends on what the package does (haven't looked), if it just p/invokes into Win32 APIs that won't work on Mono :)

@rainersigwald, ready to merge?


[Feature] User and process manage authorization improvement

Improvement expected
The process support authorization manage, the user who create the process can set it as private or public.  As the public process, the admin also can configure whether it is visible or editable for other user.
And when the user was deleted, the public process still exists and can be edit, because it is a part of project.
Current problem
Currently, we want each developer has their own account as user, developer can create process within project, and each process my related by dependence. But we found out, when we delete a user, the process created by this user can not be edit anymore, and cause some js error on frontend ui.

I have created a new issue for collecting permission redesign. #1333

please see #1333
Focus on #1333 discussion


Check if data is countable

Hi,
Every once in a while we see this in our logs where Redis seems to be returning data that is not countable.
If I check if the data is_countable prior prior to the loop it fixes it.
[2024-12-05 15:23:03] worker.ERROR: count(): Argument #1 ($value) must be of type Countable|array, int given {"exception":"[object] (TypeError(code: 0): count(): Argument #1 ($value) must be of type Countable|array, int given at /home/ss/application/vendor/predis/predis/src/Command/Redis/ZRANGE.php:96)
[stacktrace]
#0 /home/ss/application/vendor/predis/predis/src/Command/Redis/ZRANGE.php(96): count(0)
#1 /home/ss/application/vendor/predis/predis/src/Client.php(391): Predis\Command\Redis\ZRANGE->parseResponse(0)

@vladvildanov this seems like an issue with not detecting the mode in 6.2 doesn't it?
@streamingsystems What Redis version are you using?

Hi,
From regis-cli I run info:
Server
redis_version:7.2.4
The strange this is that we have many thousands of requests this go through our redis system and randomly will get that in the logs.
If it matters we are running sentinel and master / replica setup.

I saw this again again this morning:
[2024-12-06 07:53:04] worker.CRITICAL: count(): Argument #1 ($value) must be of type Countable|array, int given
[2024-12-06 07:53:04] worker.ERROR: count(): Argument #1 ($value) must be of type Countable|array, int given {"exception":"[object] (TypeError(code: 0): count(): Argument #1 ($value) must be of type Counta
ble|array, int given at /home/ss/application/vendor/predis/predis/src/Command/Redis/ZRANGE.php:96)
[stacktrace]
#0 /home/ss/application/vendor/predis/predis/src/Command/Redis/ZRANGE.php(96): count(0)
Also, instead of is_countable($data) you can just put if ($data) {}, around the for loop - anything to stop $data which is an integer from being passed into count().

@tillkruss @streamingsystems Hmm, that's weird because response schema for ZRANGE command is an array, so you should never get integer. Could you confirm you get a reply a different from what is specified in documentation?
https://redis.io/docs/latest/commands/zrange/


[CONTP-402] Config component replacing global func in config webhook

What does this PR do?
Replace global function to access config instance with the config component as a parameter
Motivation
We want the agent code base to respect best practices. Tech-debt clean up.
Describe how to test/QA your changes
N/A.

LGTM, please fix lint.


Feedback for Request priorities

We need to change the order of "The mailbox" and the "An email filter" in the list in this section
_The priority assigned to a case can be determined by, for example:
The contact
The company
The mailbox
An email filter_
As the e-mail filter will apply over the e-mail box priority from the e-mail box.
The right order should be:
The contact
The company
An email filter
The mailbox

Document Details
⚠ Do not edit this section. It is required for docs.superOffice.com ➟ Docs Team processing.

Content Source: help-en-request-priority

Checked with team (Stian): email filter goes on the top


Potential fix for resource cloning showing back up

Fixes https://github.com/chef/chef-provisioning-aws/issues/159
\cc @jkeiser

I need to persist both fixes so that this change works with Chef 12.1 and 12.2 (and 11.x, etc.)

:+1:


.Net: Bug: Update packages to .NET 9

Hello guys!
I was upgrading our project to the latest .NET version and I found that you have dependency on packages from version 8.. for that reason we cannot upgrade. Below I state the error that I have. Thanks!
Describe the bug
Application.csproj: Warning NU1608 : Detected package version outside of dependency constraint: Microsoft.SemanticKernel.Prompty 1.30.0-alpha requires Microsoft.Extensions.FileProviders.Physical (>= 8.0.0 && < 9.0.0) but version Microsoft.Extensions.FileProviders.Physical 9.0.0 was resolved.
Expected behavior
The solution should build.

@sant11h - you should see a fix for this in this week's package 1.31.0.  Thanks for reporting it.  @markwallace-microsoft  is going to work on this.

Setting upper bounds on package references like this is very much discouraged:
https://github.com/microsoft/semantic-kernel/blob/b8680fa599b6b7dacad17e67c94904c1c2dbf5eb/dotnet/Directory.Packages.props#L84-L85


Implementing cluster CLI tests

[ x] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

Resolves #597


Add htmlmin flag removeOptionalTags

Adding the removeOptionalTags flag to htmlmin strips out optional tags (in this case head, body), as well as optional closing tags (html). This brings the generated index.html file down from 3,515 bytes to 3,447 bytes before gzip.

That's brilliant! I just need to check if it's still HTML5 valid.
Thank you,
Laurentiu

It's still HTL5 valid, and still scores 100 on Lighthouse. We only loose the "live reload" functionality in LiveServer extension.
As size of the site is more important than dev convenience I think this is acceptable trade-off. What do you think @ZPanic0 ?

In my case live reload didn't work to start with unless I edited the index.html in the dist folder, even with gulp dev running.
I also found that removeAttributeQuotes and collapseBooleanAttributes shaved off a few more bytes (down to 3,340 bytes), but they come with some caveats.
The HTML 4.0 spec suggests using quotes even if the string doesn't need to be delimited since not all browsers may behave the same without them. collapseBooleanAttributes is a bit safer, only potentially disabling a css corner case I've personally never seen.

I will merge this PR. I think what it ads is more important than what we loose.
Please feel free to make another PR for collapseBooleanAttributes.
Thank you for the contribution.


datashader canvas does not use width and ylim options

When plotting this (both in notebook and lab),
y = np.random.randn(100000) pd.DataFrame(y).reset_index().hvplot('index','0',datashade=True,width=3000,ylim=(-1,1))
I would expect to obtain the same result as
datashade(hv.Curve(y),y_range=(-1,1),width=3000).options(width=3000)
though it renders like
datashade(hv.Curve(y)).options(width=3000,ylim=(-1,1))
i.e. a stretched and cropped version of the rasterization obtained on the smaller default width.

I tried this on my system and I can get it working with the first option where you mentioned width inside the hvplot command.

Ok, that is strange. Just to be sure I updated everything so I have holoviews=1.11.3 datashader=0.6.9 and hvplot=0.4.0 from conda-forge and I don't get the expected rendering with hvplot. I have the bug on windows7 with chrome and osX with safari. What is your os and browser and versions of the libraries?

I am using chrome on osx

Well with width=900 you'll won't notice the difference, try with width=3000

I actually did, since I couldn't capture the entire photo, I didnt use that for showing here

Well I have this on chrome osX

What could be different? I use this set of imports then the three lines, that's it:
import numpy as np
import pandas as pd
import hvplot.pandas
import holoviews as hv
hv.extension('bokeh')
from holoviews.operation.datashader import datashade

I can't reproduce:

Please reopen if you still see this bug on latest versions.

Well, your screenshot shows that you reproduced the bug. The two images should be the same and they are not.
Notice also that if you slightly zoom in and out of the upper plot, it will rerasterize and produce the expected figure.

Ah I misunderstood. Reopening.


Alterations to global cluster set

Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>Regarding: https://github.com/stolostron/backlog/issues/23958
Currently these changes are being applied to all cluster set overviews. Awaiting for feedback.

/hold

Was able to confirm with @imjoyjean that the status section will not appear in the global cluster set, as there are no relevant status items to display.

/retest-required

Just noticed the code smells...

/unhold

/hold

/lgtm

/unhold


Gamesetup

Not yet ready to merge just yet, because it broke the Scroll part, but the rest is OK.

This is not going as planned ; it somehow has an old commit, which should not be merged ...


fix byte array to hex

Current byte array to hex implementation is wrong!

Coverage remained the same at 74.458% when pulling cbaa065e9d9d91092d655003c355956f60acb797 on jilen:fix_bytea_encoder into 1d7182bab37e1f1091ae793bf1a08cc88d648421 on finagle:master.

Thanks @jilen!


Removes formatting feature

After a discussion with @haya14busa we decided to remove the formatting action again as this should be left inside a seperate repository (see https://github.com/reviewdog/action-remark-lint/pull/25). This repository can be found on https://github.com/rickstaa/action-black.

@haya14busa What do you think should I add a minor or major version change label for this?

@haya14busa What do you think should I add a minor or major version change label for this?

@haya14busa What do you think should I add a minor or major version change label for this?

Maybe we can bump major version because it's breaking change.
I'm fine to just bump minor/patch version if it's just released recently and the # of users is small.
I leave it to you.

@haya14busa What do you think should I add a minor or major version change label for this?

Maybe we can bump major version because it's breaking change.
I'm fine to just bump minor/patch version if it's just released recently and the # of users is small.
I leave it to you.

🧪 Additional (successful) test results can be found https://github.com/rickstaa/action-test-repo/pull/51.

🧪 Additional (successful) test results can be found https://github.com/rickstaa/action-test-repo/pull/51.

alex disable specifc word
<!--alex disable black-->
Add to entrypoint.sh for clearing check.
see get-alex/alex - Control

alex disable specifc word
<!--alex disable black-->
Add to entrypoint.sh for clearing check.
see get-alex/alex - Control


[Monthly Maintenance] Fix broken links

This PR covers any broken links within the /docs/ directory causing 404s found by the Screaming Frog SEO Spider.

This change is

@chenopis Sorry, just now looking at this—so happy with the lower numbers!


Is possible to show weekdays title in this widget?

How to view weekdays title.
Ex:

Yes it is possible

Can you guide me pls.

Resolved with 1.0.0


What does sceen.util_screen do?

It groups the data in a couple of places in an unintuitive way. Since I'm reworking how the data is grouped, it would be good to figure out this one as well.

Same for screen.event_classification_screen.


Test failure: missing BlockCodes ?

The CI on macOS for GHC 9.6 reports a failed test case (ICU_VER=73.2):
https://github.com/haskell/text-icu/actions/runs/6341389638/job/17224925448#step:11:26
t_blockCode: [Failed]
*** Failed! (after 76 tests):
Exception:
  toEnum{BlockCode}: tag (322) is outside of enumeration's range (0,320)
  CallStack (from HasCallStack):
    error, called at Data/Text/ICU/Char.hsc:485:17 in text-icu-<IP_ADDRESS>-inplace:Data.Text.ICU.Char
'\203257'

The Windows CI has a similar test failure (ICU_VER=73.2):
https://github.com/haskell/text-icu/actions/runs/6341389638/job/17224926997#step:11:25
  t_blockCode: [Failed]
*** Failed! (after 47 tests):
Exception:
  toEnum{BlockCode}: tag (322) is outside of enumeration's range (0,320)
  CallStack (from HasCallStack):
    error, called at Data\Text\ICU\Char.hsc:485:17 in text-icu-<IP_ADDRESS>-inplace:Data.Text.ICU.Char
'\201586'

These could be symptomatic that text-icu has fallen behind the ICU lib.
ICU 72 has Unicode 15, but currently only ICU 70 is supported.
I suppose this package needs some updates to the state of the art.
ATTN: @vshabanov

https://github.com/haskell/text-icu/actions/runs/6361312691/job/17275646782#step:11:957
  t_blockCode: [Failed]
*** Failed! (after 7 tests):
Exception:
  toEnum{BlockCode}: tag (326) is outside of enumeration's range (0,320)
  CallStack (from HasCallStack):
    error, called at Data\Text\ICU\Char.hsc:485:17 in text-icu-<IP_ADDRESS>-74el0JRRzFBG38VQ4Hqf7Y:Data.Text.ICU.Char
'\73494'
(used seed<PHONE_NUMBER>720826537)

Same with '\202654'

Thank you, just uploaded text-icu-<IP_ADDRESS> which fixes the issue.

Some of the tests fail now because they use the pre-72 version of ICU

Yes I see for Stackage LTS:
             : [Failed]
           expected: [ChessSymbols,CjkUnifiedIdeographsExtensionH,Kawi]
            but got: [ChessSymbols,NoBlock,NoBlock]

It would be nice if there was some detection.

Some of the tests fail now because they use the pre-72 version of ICU

CI on ubuntu-22.04 fails now always.  This platform comes with ICU 70.1, see https://github.com/haskell/text-icu/actions/runs/6371163841/job/17292886318#step:8:17.
It would be good if text-icu worked smoothly for the latest Ubuntu LTSs (those shipped by github actions) also from the developer perspective.  That means, cabal test should run out-of-the-box.

We should probably open a new issue or reopen this one?
I need to allow the tests to fail in Nightly too

Should be fixed in text-icu-<IP_ADDRESS>

I deprecated <IP_ADDRESS> on hackage.

If you would like the testsuite re-enabled in Stackage, please open a PR for that, thanks


Added a link to Service from Instance summary screen.

https://bugzilla.redhat.com/show_bug.cgi?id=1127688
@martinpovolny please review/test.

@h-kataria, @martinpovolny reviewed/tested works as expected.  Ready to merge.


Add queryParams() to ServiceRequestContext

It would be convenient to access query parameters from ServiceRequestContext like pathParams.
https://github.com/line/armeria/blob/bcb621e46c26f0ac84b4b820687383a99b509019/core/src/main/java/com/linecorp/armeria/server/ServiceRequestContext.java#L251-L259
interface ServiceRequestContext {
    QueryParams queryParams();
    String queryParam(String name);
}

can I try this issue? 😄
cc. @ikhoon

Please, go ahead. 🙇♂


unable to use parallel for bytearray inputs

Reporting a bug

[ ] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

when you do

import numba as nb
@nb.njit(parallel=True)
def sum(arr):
    x = 0
    for i in nb.prange(len(arr)):
        x += arr[i]
    return x

sum(bytearray('ABCD'))

in numba 0.38.1, the following error results:
LoweringError: Failed at nopython (nopython mode backend)
No definition for lowering bytearray(uint8, 1d, C).shape

parallel=False does work.

Thanks for the report. I can reproduce on master. I suspect it is because of an assumption made around indexing and np.array types.


Windows env vars and Linux relative home path

Swap absolute path with env variables and adjust linux payload according to case sensitivity

Thank you for that kind Sir. Merging and closing


Add new command to pause while processing events.

Often in test playback, one may want to pause while still letting the
application process events e.g. timer events. Added a new command (in
pqAbstractMiscellaneousEventPlayer) for the same.

@mwestphal This helps make tests with animations play back more reliably

+1


Add Exposure of Power Consumption

Hey, i only have a short question.
Will this Plugin expose the power consumption of the outlets to homekit?

Currently, I am unaware that this plugin supports that. A pull request is welcome for this.

Maybe there could be a reference for the power exposure by looking into homebridge-tuya plugin.
Unfortunately i couldnt try it, but the config seems like there is an option to expose the power consumption.
Reference to: https://github.com/iRayanKhan/homebridge-tuya/blob/master/config-example.MD

Im not sure if Homekit itself can show power consumptions in the UI. (Can someone please clarify this? Maybe with an Screenshot how the UI will look with an official Homekit enabled Power-Meter?)
I did a few requests with HTTP-Catcher to my Meross MSS310 - i can get all the power consumption with following request. Also i was able to get all the data which is saved in on the device.
Request send to device looking at the current consumption via Meross-App:
{
  "payload" : {
    "electricity" : {
      "channel" : 0
    }
  },
  "header" : {
    "messageId" : "MSG-ID",
    "method" : "GET",
    "from" : "http:\/\/IP-HERE\/config",
    "payloadVersion" : 1,
    "namespace" : "Appliance.Control.Electricity",
    "sign" : "SIGn-ID-HERE",
    "triggerSrc" : "iOS",
    "timestamp" : TIMESTAMP-HERE
  }
}

Response from device:
{
    "header": {
        "messageId": "MSG-ID",
        "namespace": "Appliance.Control.Electricity",
        "method": "GETACK",
        "payloadVersion": 1,
        "from": "/appliance/FROM-ID/publish",
        "timestamp": TIMESTAMP,
        "timestampMs": 350,
        "sign": "SIGN-ID"
    },
    "payload": {
        "electricity": {
            "channel": 0,
            "current": 1526,
            "voltage": 2368,
            "power": 253198,
            "config": {
                "voltageRatio": 188,
                "electricityRatio": 100
            }
        }
    }
}

Im not sure if Homekit itself can show power consumptions in the UI. (Can someone please clarify this? Maybe with an Screenshot how the UI will look with an official Homekit enabled Power-Meter?)
I did a few requests with HTTP-Catcher to my Meross MSS310 - i can get all the power consumption with following request. Also i was able to get all the data which is saved in on the device.
Request send to device looking at the current consumption via Meross-App:
{
  "payload" : {
    "electricity" : {
      "channel" : 0
    }
  },
  "header" : {
    "messageId" : "MSG-ID",
    "method" : "GET",
    "from" : "http:\/\/IP-HERE\/config",
    "payloadVersion" : 1,
    "namespace" : "Appliance.Control.Electricity",
    "sign" : "SIGn-ID-HERE",
    "triggerSrc" : "iOS",
    "timestamp" : TIMESTAMP-HERE
  }
}

Response from device:
{
    "header": {
        "messageId": "MSG-ID",
        "namespace": "Appliance.Control.Electricity",
        "method": "GETACK",
        "payloadVersion": 1,
        "from": "/appliance/FROM-ID/publish",
        "timestamp": TIMESTAMP,
        "timestampMs": 350,
        "sign": "SIGN-ID"
    },
    "payload": {
        "electricity": {
            "channel": 0,
            "current": 1526,
            "voltage": 2368,
            "power": 253198,
            "config": {
                "voltageRatio": 188,
                "electricityRatio": 100
            }
        }
    }
}

This is possible with HomeKit, because the HomeKit Eve app can show it and use it for scene triggers. https://images-na.ssl-images-amazon.com/images/I/81kpO5zCKPL.AC_SX425.jpg

Hi! Yeah, it is possible and very useful. I have updated the plugin and I have lost all my work.
I had changed the get status request into the request who return also the ampere, volt, and power info and I wrote this info into text files.
With nod-red I called every 5 minutes this and always with nod-red I set the info into an MQTT server.
With another plugin (https://github.com/arachnetech/homebridge-mqttthing#readme) I saw all in the Eve App!!

so, does that mean it is possible for @donavanbecker to add it to a final release of the Homebridge plugin?

See #151

I am looking for the same feature, so far I can only see the Smart Plug MSS310 as an "on/off plug" in homekit. I have tried to install this plugin as beta and tried to use force cloud mode, but it can't see the power consumption in homekit or use changes in the consumption for automation scenarios.
Can anybody point me to the right direction here? Is this at all possible with this plugin and homekit? Or would a total custom implementation be required as shown in the node red example above?

Hi @chris319
You will need to install the Eve HomeKit app, inside this you should find it shows values for power and voltage.
You can use the config to setup a threshold so the 'outlet in use' value is either on or off depending on whether the power is greater than the value you configured. You can use this to setup automations based on whether the outlet is in use depending on the threshold you configured.
Hope this helps,

Thank you very much @bwp91! I am just getting into the whole home automation topic and there is a lot to learn. With your helpful comment I was now able to expose the plugs to home using your plugins and then also utilize the plugs in 3rd party apps like Eve or Home+ which provide the additional power consumption data to be used in automation scenarios. :-)

Hey @bwp91
The topic is already a bit older but I use Homebridge yust since this year and stumble only now on it.
Unfortunately, the EVE app does not show consumption values of my MSS310. I can see the plugs in the app, control them and include them in automations.
Only the consumption values I can not use.
Has there been any change in the components since last year that the consumption display in EVE no longer works or do I have to activate this function somewhere separately?
If it matters, my Homebridge is running via Docker on Synology NAS. All software and firmware are up to date.
It would be great if you could give me a tip

Bump to hatty24's comment - Eve does not show any energy data for meross MSS210P - the meross tool itself show energy consumption properly


[Proposal] Auto check new packages license when push a PR

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release
Describe the proposal

Auto check packages license when PR import new packages,if the license is "Forbids" to used should remove it!
Some check tools and check result like:

# glice "github.com/dapr/dapr/pkg/components"
+----------------------------------------------+-----------------------------------------------------------------------+--------------+
|                  DEPENDENCY                  |                                REPOURL                                |   LICENSE    |
+----------------------------------------------+-----------------------------------------------------------------------+--------------+
| bou.ke/monkey                                |                                                                       |              |
| contrib.go.opencensus.io/exporter/prometheus | https://github.com/census-ecosystem/opencensus-go-exporter-prometheus | Apache-2.0   |
| contrib.go.opencensus.io/exporter/zipkin     | https://github.com/census-ecosystem/opencensus-go-exporter-zipkin     | Apache-2.0   |
| github.com/AdhityaRamadhanus/fasthttpcors    | https://github.com/AdhityaRamadhanus/fasthttpcors                     | MIT          |
| github.com/PuerkitoBio/purell                | https://github.com/PuerkitoBio/purell                                 | bsd-3-clause |
| github.com/agrea/ptr                         | https://github.com/agrea/ptr                                          | MIT          |
| github.com/cenkalti/backoff/v4               | https://github.com/cenkalti/backoff                                   | MIT          |
| github.com/dapr/components-contrib           | https://github.com/dapr/components-contrib                            | MIT          |
| github.com/dapr/kit                          | https://github.com/dapr/kit                                           | MIT          |
| github.com/fasthttp/router                   | https://github.com/fasthttp/router                                    | bsd-3-clause |
| github.com/fsnotify/fsnotify                 | https://github.com/fsnotify/fsnotify                                  | bsd-3-clause |
| github.com/ghodss/yaml                       | https://github.com/ghodss/yaml                                        | Other        |
| github.com/gogo/protobuf                     | https://github.com/gogo/protobuf                                      | Other        |
| github.com/golang/protobuf                   | https://github.com/golang/protobuf                                    | bsd-3-clause |
| github.com/google/go-cmp                     | https://github.com/google/go-cmp                                      | bsd-3-clause |
| github.com/google/uuid                       | https://github.com/google/uuid                                        | bsd-3-clause |
| github.com/gorilla/mux                       | https://github.com/gorilla/mux                                        | bsd-3-clause |
| github.com/grpc-ecosystem/go-grpc-middleware | https://github.com/grpc-ecosystem/go-grpc-middleware                  | Apache-2.0   |
| github.com/hashicorp/go-hclog                | https://github.com/hashicorp/go-hclog                                 | MIT          |
| github.com/hashicorp/go-msgpack              | https://github.com/hashicorp/go-msgpack                               | bsd-3-clause |
| github.com/hashicorp/go-multierror           | https://github.com/hashicorp/go-multierror                            | MPL-2.0      |
| github.com/hashicorp/raft                    | https://github.com/hashicorp/raft                                     | MPL-2.0      |
| github.com/hashicorp/raft-boltdb             | https://github.com/hashicorp/raft-boltdb                              |              |
| github.com/json-iterator/go                  | https://github.com/json-iterator/go                                   |              |
| github.com/kelseyhightower/envconfig         | https://github.com/kelseyhightower/envconfig                          |              |
| github.com/minio/blake2b-simd                | https://github.com/minio/blake2b-simd                                 |              |
| github.com/mitchellh/mapstructure            | https://github.com/mitchellh/mapstructure                             |              |
| github.com/openzipkin/zipkin-go              | https://github.com/openzipkin/zipkin-go                               |              |
| github.com/phayes/freeport                   | https://github.com/phayes/freeport                                    |              |
| github.com/pkg/errors                        | https://github.com/pkg/errors                                         |              |
| github.com/prometheus/client_golang          | https://github.com/prometheus/client_golang                           |              |
| github.com/prometheus/client_model           | https://github.com/prometheus/client_model                            |              |
| github.com/prometheus/common                 | https://github.com/prometheus/common                                  |              |
| github.com/stretchr/testify                  | https://github.com/stretchr/testify                                   |              |
| github.com/trusch/grpc-proxy                 | https://github.com/trusch/grpc-proxy                                  |              |
| github.com/valyala/fasthttp                  | https://github.com/valyala/fasthttp                                   |              |
| go.opencensus.io                             | https://github.com/census-instrumentation/opencensus-go               |              |
| go.opentelemetry.io/otel                     | https://github.com/open-telemetry/opentelemetry-go                    |              |
| go.uber.org/atomic                           | https://github.com/uber-go/atomic                                     |              |
| golang.org/x/net                             | https://go.googlesource.com/net                                       |              |
| google.golang.org/genproto                   |                                                                       |              |
| google.golang.org/grpc                       |                                                                       |              |
| google.golang.org/protobuf                   |                                                                       |              |
| gopkg.in/yaml.v2                             |                                                                       |              |
| k8s.io/api                                   |                                                                       |              |
| k8s.io/apiextensions-apiserver               |                                                                       |              |
| k8s.io/apimachinery                          |                                                                       |              |
| k8s.io/cli-runtime                           |                                                                       |              |
| k8s.io/client-go                             |                                                                       |              |
| k8s.io/code-generator                        |                                                                       |              |
| k8s.io/klog                                  |                                                                       |              |
| k8s.io/metrics                               |                                                                       |              |
| sigs.k8s.io/controller-runtime               | https://github.com/kubernetes-sigs/controller-runtime                 |              |
+----------------------------------------------+-----------------------------------------------------------------------+--------------+

@artursouza @yaron2 https://app.fossa.com provide an easy way to add license check, just login and bind, then you can get a license checker with GH and status image via a PR, details refer to https://github.com/daixiang0/dapr/pull/2.

There are lots of dependencies without licenses, as https://app.fossa.com/projects/git%2Bgithub.com%2Fdaixiang0%2Fdapr/refs/branch/master/5ad3b79a5ea607cde92e7d087c75d2f99a766f34/issues/licensing?filter=unlicensed_dependency&revisionScanId=6001899.

LGTM. Does the tool allow an exception to ignore some of the dependencies? We can check those manually to make sure we are safe before putting in as an exception. But, in case a new dependency is added without a license, then the check should fail for new violations.

It supports I thnk as https://github.com/fossas/spectrometer/blob/master/docs/reference/fossa_yml.md#targets.


Performance enhancements and more idiomatic Rust

It was just some fun for me, please have a look and feel free to merge if you like it.
Generally there is more error checking now, which makes the code look a bit more dense in places.
Cheers

You can watch the development stream on youtube.
Looksies #1 [Let's look at 'nth']
[!thumb](https://youtu.be/w9FTMVmOw5I)

Thanks for the feedback! Great video. :)


pin nlohmann_json, closes #28

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Oops, I only now realize that this version has been build for arm64 for any version >= 3.9.1.
I interpreted the comment in qiskit-aer's recipe.yaml incorrectly.
Sorry for the noise!

I added the automerge label because of the triviality of this change.


Multiple Attributes linked on a Data Element in preview in the Orchestrator

In CR8003 - Kate Test 1 I have created a default term/ code called "Test" and linked it to a data element code set.
Navigate directly to the attribute and you will see the code:

Navigate directly to the data element and you will see the code correctly listed as a default code:

However, there are two attributes with the same name linked to this data element.
The first does not list the new "test" default code and also has the linked data element repeated numerous times:

The second has missing information and the linked data element repeated numerous times:

Current update is that this is still an issue on our backlog to investigate, track via:

MauroDataMapper-NHSD/mdm-plugin-nhs-data-dictionary#83

19/08/24 - System C are working on this.

I have investigated this issue and I think it is related to:

#523

The semantic links also seem incorrect here. When the Element or Attribute lists the related items, these semantic links are important to produce the correct links to items. However, since branches created from Mauro seem to produce the incorrect semantic links (compared to the ingested branches, which seem correct to me in this scenario), I think the Mauro team (@jamesrwelch) needs to first isolate these issues before the actual link output is investigated further.
I believe there is nothing else System C can do at this point, so I consider this out of scope.

@jamesrwelch - will you be able to fix this?

@jamesrwelch will have a look at this when he has access to our test instance.

This could be the same issue as #523.

An update - I spoke to @jamesrwelch about this issue this morning. We think something has gone wrong when creating new branches - when a branch is ingested, all the links between Elements and Attributes are correct, but once you create a new branch from that in Mauro, those links are not correctly maintained. This means that previewing pages with those Element/Attribute links in are referencing the wrong branches and causing duplication.
@jamesrwelch said he will investigate the cause proper, since this will be an issue within Mauro's core system.

This issue is superseded by #586


ISPN-1715: Upgrade Jackson to 1.9.2

https://issues.jboss.org/browse/ISPN-1715

ho no why did AS7 break that again :(
there it goes again, this breaks Search's clustering as it's a dependency of Avro.

pgier upgraded it in AS7


dcm2niix: 1.0.20190410 -> 1.0.20190902

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dcm2niix/versions.
meta.description for dcm2niix is: '"dcm2niix DICOM to NIfTI converter"'.
meta.homepage for dcm2niix is: '"https://www.nitrc.org/projects/dcm2nii"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.0.20190902 with grep in /nix/store/8y0j1zl3qabidls1aw0d45ay317bkyw3-dcm2niix-1.0.20190902

directory tree listing: https://gist.github.com/6993d6514d142072a26577c3febb3085

du listing: https://gist.github.com/0916188d9f7d05c21f1fd1f471347070

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
dcm2niix

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8y0j1zl3qabidls1aw0d45ay317bkyw3-dcm2niix-1.0.20190902 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A dcm2niix https://github.com/r-ryantm/nixpkgs/archive/d2ea06ed85f8e17c737a1a6454790ddea291a4fe.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8y0j1zl3qabidls1aw0d45ay317bkyw3-dcm2niix-1.0.20190902
ls -la /nix/store/8y0j1zl3qabidls1aw0d45ay317bkyw3-dcm2niix-1.0.20190902/bin

cc @ashgillman for testing.

I'm afraid I will not be able to text this for about a week. I'm on conference without my Nix PC. I'm happy with @jonringer 's testing for this to be accepted in the meantime.

it's a patch version, i don't think it's too high risk


Improving user inteface and adding icons to the botton navigation bar

Currently the Bottom Navagation bar has a little UI/UX interfae, and the subcsribe div is completly out of sync with the website.
I would like to start of by changeing that, I will also add icons for the social media networks.
Since Its a community service i would like to add a credits section show casing there contribution toward the society.

I woulf like you to assigne me this task under gssoc-ext and hacktoberfest tags

@yeshwanth-ds you can start working on it

Can you assign this task to me

@GarimaSingh0109 I have completed the task and raised pull request #41


Not working as expected when there are 2 Infinite Scroll Component in a page

The plugin is not working when there is 2 Infinite Scroll Component on a page. The next function is called when we scroll the second list and not when we reach the bottom of the first list.
Is there any workaround to use 2 infinite scroll components on the same page?
I have forked the example demo code to reproduce this issue
https://codesandbox.io/s/zealous-panka-6o0uw6

@daggmano @leonh  @fooki @Meberem


Selecting recognizers for license key compliance

Hey microblink team,
We just finished an implementation of the library and were issued a production key, unfortunately, our production key crashes the app because the blinkid-ui-ios library loads an unsupported recognizer.
Is there a way to specify which recognizers are loaded from the underlying SDK in order to avoid a license key exception?
Nikola from sales directed us to modify the SDK ourselves, which would break our CI update and require us to maintain our own version of the library. Not a very good solution.

Hi,
for limiting recognizer loading, please refer to this section of the documentation:
https://github.com/BlinkID/blinkid-ui-ios#how-do-i-limit-selection-to-specific-countries-and-document-types
I hope this solves your problem.
Best regards,
Dominik


SIGSEGV on OSX

[02-Dec-2017 00:15:55] WARNING: [pool www] child 1618 exited on signal 11 (SIGSEGV) after 55.787030 seconds from start
Is this a know issue ?
I use vips-8.5.9-Fri Dec  1 23:13:50 CET 2017
vips installed with brew and the php extension compile with pecl
OSX 10.13.1
Tested with PHP 7.1 and 7.2 it's pretty random, sometime everything work and it fast ... and sometimes just crash
Thanks

Oh dear, no, it should be stable. It's being used in production on quite a few sites and no one has reported anything like this.
Could you build with debugging on and get a stack trace on the segv? I could look over your code, if you're able to share it. If you can make a reproducible test-case, that would be best of all, of course.

I try to test the ext with Neos CMS (neos.io). The CMS offer CLI tools to (re)generate thumbnails, and those commands work great, but if the thumbnail are build during a web request, it crash sometimes, I try to debug a bit more to detect where the request crash in the system, if I found nothing, i will try to setup a PHP version with more debuging tools.

So after a bit of debugging the segv happens during the call of vips_foreign_find_load in \Jcupitt\Vips\Image::findLoad.

Is it a certain image (or image extension) that random crashes?
Or perhaps a 1x1 GIF image is being processed? If so, then it is fixed with https://github.com/jcupitt/libvips/issues/773.

Interesting! Does that image kill it every time? Could you send the file somehow?

@jcupitt I prepare a small script that process only this image, outside of the CMS, and I publish it if I can reproduce the error

My test project https://github.com/dfeyer/php-vips-ext-test
So the problem seems related to my setup, from the CLI it work nicely, for a web request it crash
→ php Web/index.php Vips
Driver: Vips
Runtime: 359 ms
Memory usage: 2 MiB (real)
Memory usage: 0.90319061279297 MiB
Generated file size: 61.6318359375 KiB%

# dfeyer at dfeyer.local in ~/Documents/Projets/php-vips-ext-test on git:master ✖ [11:35:16]
→ php Web/index.php Imagick
Driver: Imagick
Runtime: 4100 ms
Memory usage: 2 MiB (real)
Memory usage: 0.74958801269531 MiB
Generated file size: 25.8740234375 KiB%

# dfeyer at dfeyer.local in ~/Documents/Projets/php-vips-ext-test on git:master ✖ [11:35:29]
→ php Web/index.php Gd
Driver: Gd
Runtime: 1137 ms
Memory usage:<PHONE_NUMBER>5 MiB (real)
Memory usage:<PHONE_NUMBER>5391 MiB
Generated file size: 24.0263671875 KiB%

From a web request:
Works fine:
http://localhost:8180/index.php?driver=Gd
http://localhost:8180/index.php?driver=Vips
Segv:
http://localhost:8180/index.php?driver=Vips
Trying to output a phpinfo, work from the CLI, segv from a web request ...

It seems to work for me from the CLI, but I can't get caddy to cooperate, some error about a bad gateway.
I think your CaddyFile needs to be renamed as Caddyfile, or it'll fail on a case-sensitive system.
$ ~/caddy/caddy
Activating privacy features... done.
NOTICE: Startup directive will be removed in a later version. Please migrate to 'on startup'
NOTICE: Shutdown directive will be removed in a later version. Please migrate to 'on shutdown'
http://*:8180
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
<IP_ADDRESS> - - [05/Dec/2017:16:31:26 +0000] "GET / HTTP/1.1" 404 38
05/Dec/2017:16:31:27 +0000 [ERROR 502 /index.php] dial tcp <IP_ADDRESS>:9000: getsockopt: connection refused

I'll keep trying.

@jcupitt this command should be fine to launch caddy
caddy --conf CaddyFile --root Web
You need to adapt the path to your PHP FPM binary in the CaddyFile configuration

[www]
user = nobody
group = nobody
listen = <IP_ADDRESS>:9000
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3

The content of my PHP FPM configuration file

I couldn't reproduce the segv with Caddy + PHP-FPM + PHP 7.2 + libvips 8.5.9 on CentOS 7.4. I was able to successfully create the thumbnail from CLI and web.
BTW,
I noticed php5 in your previous message (and in the CaddyFile). Is this on purpose? The binary extension and PHP wrapper only works on PHP 7+.

I noticed php5 in your previous message (and in the CaddyFile). Is this on purpose? The binary extension and PHP wrapper only works on PHP 7+.

It's just a symlink php5 but yes I use PHP 7.0, 7.1 and 7.2 ... and same crash for all the version. So it's something related to PHP FPM ... or Caddy ... I try this morning to have debug build of PHP ... but failed dramaticaly ...


Add missing changelog record

Forgot to add that we also had one more fix from @ruiaraujo

:+1:

👍


typo add explain for ns_name

Proposed changes
Issue Number: close #xxx
<--Describe your changes.-->
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

Please rebase the code.


Timeline Request

Hey Devs,
There are currently 2 showstoppers for me in Archetype, which have caused me to pause development on my project.  First, there's the name space issue.  Then there's the issue of not being able to reference asset partitions from within other asset partitions to create a many to many type relationship.  I can work around the latter by using IterableBigMaps, but it's kind of ugly.  But there's simply no workaround for the former that doesn't create an irretrievable mess.
So my question is, is there some kind of timeline for when this will be addressed.  I was told last month that the namespace thing would be addressed in November, which is almost over, and there haven't been any commits in a couple of months.
In short, any timeline guidance would be really appreciated as I really want to get back to coding this thing, and I am trying to find out if I should wait or move over to e.g. Ligo (which I'm reluctant to do because I really like Archetype).
Thanks in advance.

Hello @evronm,
thank you for your feedback.
Indeed we are late on the arl import. We should have it by January.
Regarding "not being able to reference asset partitions from within other asset partitions" could you illustrate that with a basic example so that we have a precise idea of your need ?
We have been busy with support and documentation, and on the dev side, we have been working on the TS binding of archetype (and still are) which is a game changer for all integration subjects.
Kind regards.

Well, the classic example of what I'd want to do is something like tagging (not actually what I'm trying to do but a simple example):
Asset tags {   idt: nat;   tag: string; } Asset posts {   idp: nat;   title: string;   content: string;   tags:  partition<post_tags>; } Asset post_tags {   p_tags: partition<tags>; }
I just typed that in, so I'm not sure it will give the correct error, but that's the gist of the kind of thing I'm trying to accomplish.
Thanks again.


Chapter 15 : Adding Authentication [404 Error in production]

Hi,
I think i might have missed a step or two, but authentification works fine on my localhost but i have a 404 Error in prod when i click on SignIn button it goes to pages "prod.com/api/auth/callback/credentials" and then i have the error.
For information, i have added the same variables that i have in my local env in the production as well

I have added the same variables for the production env
Does anyone have any idea how to make the authentifications work in the prod?
Thanks

Redeploying to the prod solved this issue


adding symlink to plugin in plugin directory

Changes

:bug: Makes plugin discoverable by kn by adding a symlink to the plugin in ~/.config/kn/plugins directory

This is take 2 on a fix for #23 .
Note that this has only been tested on Linux and needs someone with a Mac to verify that it also works on Mac before it should be merged.
/hold

/assign @maximilien

As per discussion in PR 1399, kn will look up plugins in $PATH by default, so this is no longer needed


No AppStore Updates anymore?

I have seen that the Version 1.7 is out at Github but no update at the AppStore?

The update have been in the App Store limbo for the last couple of weeks...
I'm trying to resubmit it now.


Missing in Sophia Script Wrapper 2.0

Missing there in UI and result script:
TaskViewButton
PeopleTaskbar
SecondsInSystemClock

I have these functions in 21H1. In my understanding, you're using the LTSC version. It doesn't support those functions. So there is no bug. :)

Эх, ты. :)


message_edit: Fix false sub/unsub bookend on using a near link.

We were not setting the historical flag correctly for
messages fetched via json_fetch_raw_message when used didn't
have any UserMessage.
Extended relevant tests to fetch check message flags too.
discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/Wrong.20.28un.29subscription.20bars

Merged, thanks @amanagr!


markdown preview: allow opening images in a new editor

Images opened in the markdown preview could have a context menu that includes 'Open Image' that opens the image in a new editor.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

what do you mean by open in new editor, did you mean open in new vscode window?

Hey, I would like to work on this issue .. @mjbvz

@mjbvz can i work on this

Yes, since this is a smaller feature feel free to start working and submit a PR when it's ready or you need some early feedback/pointers

@mjbvz i working in this issue done all the ui things.
case 'openImage': {
			const img = document.getElementById(data.id);
			if (img instanceof HTMLImageElement) {
				openImage(img);
			}
			return;
		}

now i have to write the openImage function but i can find any inbuilt methods or vscode api to do this. can you help me @mjbvz
async function openImage(image: HTMLImageElement) {

}

@Gobinath-B can I work on this with you?

Yeah sure. For now I added open image button next to copy image. Only thing I have to do is write a function using vscode api or call a existing open image function to give functionality to the button

I managed to call the open image function, but currently it doesn't do anything. I have been looking for open in new tab functionality.

Can you share the location of image opening functionality

The function that you made openImage is not called automatically. The command needs to be called first and then the openImage function is called through the command. I got till that part. I'm still looking for how to implement it so that it opens a new tab in the preview column or maybe a third column beside the preview.

We can use WebView.
I managed to create a new editor tab like how preview shows up currently, but I don't know how to pass the image source to the WebView panel because it's being called on the markdown file, not the image. I posted the changes to my branch MSViswanth/vscode/md-img-new-tab.

Hi @mjbvz, I have a working implementation for images present in the current workspace folder. Do I just make a new pull request?

@MSViswanth , I working on this issue first. I'm worried that your action wasting both of our time. Feel free to find another issue to work. If you are comfortable to help me on this issue ,I'm appreciate that. But working on the same issue either waste your time or my time.

@Gobinath-B Well, alright.
I would have liked you to merge my changes instead of just copying them.
I'm not comfortable with helping you on this.
Good luck.

Thanks @MSViswanth


iOS: No notifications received after app is force quit

The app that my team works on is currently using GCM as the platform to send push notifications to device. We have noticed that after our app is force quit (not running in the app switch on iOS), we do not receive any notifications. So basically, its as if the notifications that should be sent using Apple Push Notification Service is not happening.
We thought this might be an issue with how we were doing things in our app, but we were able to reproduce this issue using the iOS GCM sample project.
If you know about this issue, any advice on how to fix the issue is greatly appreciated! Thanks!

Please use the "priority" field as suggested here http://stackoverflow.com/questions/32410292/background-gcm-push-notification-not-received-on-certain-apple-devices

@mohitsharma0690 We have tried adding the priority field and it seems that notifications are more reliable when the app is not in the foreground, but we still do not receive any notifications after the app is force quit. Do you have any other advice?

what's the example message that you're trying to send?

@mohitsharma0690 Here is the a sample message we are sending:
{
    "priority": "high",
    "to": "<token>",
    "notification": {
        "body": "A new binder has been made available for you to review in Wdesk.",
        "type": "binder_notify",
        "badge": 12,
        "w_message_id": "1QWC6NN4F9SD75ZIASW3DU43WM9RNYTU",
        "title": "New binder available for review"
    }
}

It looks like the inconsistency might actually have to do with using a device group notification key to send a single message to multiple registered devices rather than sending a message to each registered device individually. @mohitsharma0690 does device group messaging not work reliably for iOS devices? We've had no trouble using this approach for sending messages to Android devices.
I've replicated this behavior by using Postman, sending a message directly to the devices registration token and also to the device group's notification key, with the same payload. The direct messaging seems to work all of the time, while the device group seems unreliable. I even noticed via Postman that the response to the direct messaging shows:
{
  "multicast_id":<PHONE_NUMBER>574355258,
  "success": 1,
  "failure": 0,
  "canonical_ids": 0,
  "results": [
    {
      "message_id": "0:1443027665486485%d7b195a5d7b195a5"
    }
  ]
}

whereas the device group message only shows:
{
  "success": 1,
  "failure": 0
}

Perhaps that is expected for device group messages though.
Could you please comment on the validity of using device group messages on iOS devices?

@brianblanchard-wf  Your message looks correct. It should be delivered as a normal high priority APNS message. Do you get a success response from GCM? Also I'm assuming since you do receive the notifications when your app is in the foreground your APNS certs are valid. If this is the case there is definitely something weird with your setup because the Sample Projects works perfectly fine for us.
@toddtarbox-wf  Umm that's weird. Device groups should work fine for all kinds of tokens i.e. iOS and Android. Can you verify that the device group does actually contain the device token which you're trying to send the message to?

@mohitsharma0690 Is there a good way to check for a token within a group, other than trying to add it again?

@toddtarbox-wf sadly no. I'd suggest adding two different iOS devices to a group and then see if any of them receive a message or not. Also note that GCM server should reply with "success": 2 in this case if it was successful in sending the messages to both of them.

@mohitsharma0690 - I've verified that this definitely seems like an issue with device group message to iOS devices. I added 2 iOS devices to the same group and received the expected "success": 2, but no notifications appeared on the devices. I then added an Android device to the same group and it was delivered to device. Again, I can send notifications with the same payload directly to each iOS device, but not via a group message.
Is this something you can look into? I need to know whether I need to re-write our app server code to use direct messages for iOS devices or if this is something that can be resolved on the GCM side.
If there is any further information I can provide please do not hesitate to ask.

@toddtarbox-wf  It's working fine for us. We receive messages on all the devices (iOS & Android) that are in a group. Below is the message I tried sending, can you try with that?
curl -v --data-ascii '{"notification":{ "body":"hello world '"$(date)"'"}, "priority": 10, "to":$group_id}' -H "Content-Type:application/json" -H "Authorization:key=$auth_key" "https://gcm-http.googleapis.com/gcm/send"

I tried as well using a group with multiple iOS devices, and I get notifications on all the devices.

@mohitsharma0690 @silvolu - I really appreciate the responses. I'm still unable to get group messages delivered to my iOS device. I have a group with an Android device and an iOS device. I'm able to send direct messages to both devices, but group messages only get delivered to the Android device. The response indicates "success": 2. I'm using the following command:
curl -v --data-ascii '{"notification":{ "title": "Yo!", "body":"hello world '"$(date)"'", "icon":"w_color"}, "priority": 10, "to":$group_id}' -H "Content-Type:application/json" -H "Authorization:key=$auth_key" "https://gcm-http.googleapis.com/gcm/send"

I feel like there must be something subtle I'm missing here. Any further advice for tracking this down would be greatly appreciated.

After rebooting the iPad, I'm now able to receive group messages again. Any idea how the device could have gotten into this state, where direct messages work but group messages don't, and why a reboot would resolve the issue?

@brianblanchard-wf just reproduced the same. He was not receiving messages at all (neither active or inactive app state), but after a reboot he was receiving group messages while active only. I was able to send him direct messages while inactive, but group messages were still not being delivered while the app was inactive. Which is the original inconsistency issue we were seeing. At this point I think we're going to have to re-work our server code to abandon the use of group messaging as it doesn't seem reliable, unless someone has another suggestion.

@toddtarbox-wf  This seems very strange. I don't think this is related with Group Messaging since GCM plays no role in delivering the message to the device besides sending it to APNs. Having to restart the device seems to indicate that the client's APNS connection would have been reset while no detail on the server has changed. The only thing that I'm not sure about is why do you even receive individual APNS messages in this case.
For your message GCM will simply forward the request to APNS there is no difference b/w individual or Group messages in this regard.
One thing I'd test is do you get a message when you send a Group message and your devices are Active.

@toddtarbox-wf could you use this support form to send us more data about your issue, so that we can better investigate?

@mohitsharma0690 - in @brianblanchard-wf 's current case, he only receives group messages while active, and he had to reboot the device to even get that working. I agree that it is very strange that direct messages are delivered via APNS but not group messages. However, we've been experiencing this for a few weeks now and are only now narrowing it down. It is definitely something that we consistently see.
@silvolu - I just submitted all of the details to that form, please let me know if anything else is needed. We'd be happy to work with anyone on resolving this issue.
Thanks again for all of the responses!

@toddtarbox-wf We've found a bug on our side that might have caused this behaviour. It will soon be fixed.

@mohitsharma0690 - is there a way I can track the progress and release of this bug?

@toddtarbox-wf There is no way for you to track the progress. It should be fixed in a couple of weeks though. We will let you know once it's done and rolled out.

@mohitsharma0690 is there any updates on this issue? We are having the same issue @toddtarbox-wf having. Topic messaging or registration_id based messages are delivered in background and foreground but group messages are only delivered in foreground state of the iOS app.

@baranbaygan Yes this should be fixed now.

@baranbaygan  Yeah, this should have been fixed quite some time ago.

@mohitsharma0690 I couldn't make device group messaging work in background state in iOS app. Single device messages or Topic messages work as expected. When priority is set to "high" iOS devices show notifications in lock screen. It doesn't work with device group messages.
I will try again, maybe I am doing something wrong. Thanks.
Btw: Response i have from gcm service looks like success:1 fail:0. Not receiving any errors.

@mohitsharma0690 iOS Device Group Messaging doesn't work when app is in background.

I also just setup GCM, really excited about the device groups feature, only to find it doesn't work :.
Here's the notification body I'm sending (through postman)
{
  "to" : <notification_key for device group>,
  "notification": {
    "sound": "default",
    "badge": "2",
    "title": "Title!",
    "body": "Body!"
  },
  "priority": "high",
  "content_available": true
}

I also receive
{
  "success": 1,
  "failure": 0
}

Is there any update on this issue? I'm still experiencing:

successful receipt w/ app open
on and off receipt w/ app in background
no notifications w/ app force quite

We're using group (batch) sending using an array of "registration_ids".
Thanks! 👍🏻

What is the message that you're trying to send? Can you post the http request params?

I am also experiencing the same issue reported by brianblanchard-wf. I am using the tutorial located at https://developers.google.com/cloud-messaging/ios/start?ver=swift
The message being sent is:
curl --header "Authorization: key=AIzaSyA-2KQCuI4eyCz8iQS2V0OGo-JxZUJV79A" --header Content-Type:"application/json" https://android.googleapis.com/gcm/send -d "{"to":"muc6iiC_Qsw:APA91bGbxZPq1GTAs-9X3tkApWep8TvlOK95I7No-8FqT6IOAGZG7LTP6P_avZWJ-WpQll1ZvaYkv9_N0OVFIoYWDCRbAYzpU0VotZFNGzjfwXxKElnITsUILX9PbnZo9ytngnlpPzwv","notification":{"body":"Hola from GCM"}}"
I'm seeing the following message in the Xcode log:
Success! Response from the GCM server:
Optional(<NSHTTPURLResponse: 0x61800002c920> { URL: https://android.googleapis.com/gcm/send } { status code: 200, headers {
"Cache-Control" = "private, max-age=0";
"Content-Encoding" = gzip;
"Content-Length" = 54;
"Content-Type" = "application/json; charset=UTF-8";
Date = "Thu, 18 Feb 2016 19:29:13 GMT";
Expires = "Thu, 18 Feb 2016 19:29:13 GMT";
Server = GSE;
"alt-svc" = "quic=":443"; ma=2592000; v="30,29,28,27,26,25"";
"alternate-protocol" = "443:quic,p=1";
"x-content-type-options" = nosniff;
"x-frame-options" = SAMEORIGIN;
"x-xss-protection" = "1; mode=block";
} })
The notification is displayed if the app is running and in the foreground. It is sporadically displayed if the app is in the background. If the notification does not display it does appear when the app is brought to the foreground. The notification does not appear at all if the app is not running. Also, if the app is running in the background and the notification is delivered, it does not display on the phone. You have to pull down to view it in the notifications area.


MIT License Request

Hi Tom,
Fantastic project! The job market has been rough in the past year or so and I found your repository extremely helpful. However, I noticed that you did not upload a license so I was unsure whether I could use your code for some of my projects. I kindly ask you to upload a license to this project, preferably MIT, so that I can at least use it for inspiration since I am having difficulty navigating the network requests and you figured it out perfectly. Feel free to check out my GitHub profile and reach out to me on LinkedIn!
Thank you.

Alright done! :)


Transfered potatoe recipe into the required structure

Thanks for the review, this in the potatoe recipe in the updated structure. See last commit :)

Hi! I deleted the unnecessary file, everything should be alright now. :)

Also, please move the file to the /recipes subfolder and rename to potatoes.qmd.

I just added this in https://github.com/lnnrtwttkhn/recipes/pull/63/commits/c1c6d0ed74807d8d384eb32b9c521b33d31c8d0f.
@Mirarufeger feel free to send another PR, if you still want to add your author information.
Ready to merge now! 🚀

@allcontributors please add @Mirarufeger  for bug, content, code


ratelimit  How to add a whitelist

hi, could you please tell me how I can add an ip in the Whitelist, my config is "zuul.ratelimit.default-policy.type=origin"

ip  whitelist

Hi @wanglan1991, this library is not meant for IP whitelisting.
The feature you can achieve by using this library is to set a certain limit of request per specific origins.

@marcosbarbero maybe a blacklist/whitelist option will be nice? I have a requirement to blacklist the IP if there was more the 100 requests in 2 minutes but skip if the IP is internal (from automation test).

Closing in favor of #385


This page does not explain how to make values optional. Only required.

It says:

Properties whose CLR type cannot contain null will be configured as required (int, decimal, bool, etc.).

Using this page, I don't see how a person can know how to make an int type required.

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

ID: dfac6ff9-1cb7-d5d4-036a-ad2f26d299f9
Version Independent ID: 6a3de9c8-9024-c155-94aa-7f8fc1c7bd58
Content: Required/optional properties - EF Core
Content Source: entity-framework/core/modeling/required-optional.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @rowanmiller
Microsoft Alias: divega

Nevermind. I see it in the beginning.


add global auth cookie

Please take a look at the suggested changes. After it's resolved, I will merge this PR to main and staging so that we can test this feature out before rolling into production.

Thank you for the feedback on my pull request. I have reviewed your suggested changes and implemented them in a new commit. I believe I have addressed your comments - please take a look at the updated pull request when you have a chance. Let me know if you have any other changes you would like me to make. I appreciate you taking the time to provide suggestions to improve my code.


Start pulling odds

Time to start pulling odds from the ESPN JSON file. Hopefully player props are included but it wouldn't be the end of the world.

5b6b811b7df786a3abba871efbe6b6cd3ff033bd Done


add test & lint target

Adding lint & test make target
These two task will be added to upstream prow

Coverage remained the same at 44.083% when pulling c80938af263c31d995e61f40fe5f3badef26e48c on M00nF1sh:new_target into 1d086d09d3e588efeb619040ba26607145f2aab1 on kubernetes-sigs:master.


WIFIMANAGER-ESP32 and WEBSERVER-ESP32

How do I start a web server after Wifi Connect? I have rewritten several skits from the esp8266. But they do not work. Does anyone have an example for me?
Thanks

but what if i want to use it as a server just to display it's state when connected to another AP?


Document setting the prefix/suffix for the ruby collector

Hi @swebb, thanks submitting the PR. I've added some minor suggestions above.
Secondly, I did a small tweak to the screenshot, what do you think about the following:

In this screenshot I highlighted where the prefix and suffix are located. I also removed the top and bottom borders and zoomed in on the image so the screenshot's more visible to folks on smaller screens (e.g. mobile phone).
Before

After

Good suggestion @olyism. I've made all of those changes.


Don't Merge! Regression pull request test

Docs Build status updates of commit b1b9479:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit b1b9479:
:clock10: Full build: the average full build time is 18 min(s) 45 sec(s), this is based on the last 201 build(s) for this repository.

Docs Build status updates of commit b1b9479:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

TestingPullRequest.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


get file PATH after upload

hi, there are a method to get the file URL after having upload it? i see that after the upload the write file function retrive only the ETag but i need to have a URL to store in the database. i can construct it by the getPath() method

Hi @DThink , have you got the file path after upload file on s3. I am having the same issue that how I got public path after upload because I want to save that path in database.
Thanks :)

Correct, getPath() would be the proper method for retrieving the location of a file following upload, you would just have to pre-pend the returned string with https://s3.amazonaws.com/.
e.g
s3fsImpl.writeFile(somePath, someData).then(function (res) => {
    var itemUrl = 'https://s3.amazonaws.com/' + s3fsImpl.getPath(somePath);
});

I'm going to close this, but feel free to let me know if this doesn't work for you and I can look into it more.


Ignore only whitespace in search box

When only white space is in the search box, this prevents any results from showing up in the table view because the search function is looking for the sequence of white space exactly. If there is white space in the search box, it should be treated as if there is nothing in the search box.

We want to be able to handle 2 cases:

Where whitespace is the only 'value' in the search box
where there is leading or trailing whitespace

Merged #283, closing this.


Hints for referencing service variables do not updated after changing service name when cloning services

Describe the bug

Steps to reproduce

Create two services.
Clone the environment, change a service name and reference the output of that service.

Result

Hints when referenced service variables are not updated.

Compare to version 0.3.1, the hints will be updated.

Expected behavior

If the server name is changed, update the hints when referencing service variables.
Environment

Walrus version: f94d57de903a925f2bd72d34b5aa1eaf8213f6ad
UI version: dev-c05317a

Additional context
Add any other context about the problem here.

Environment

Walrus version: main 8fc1ee8f23f152bbeaf1aec685c03d15ffbccae1
UI version: dev-199faf2

Test Result: pass


Server Wont Update

Have not been able to get the server to update. Im stuck on V26.11. Not sure how to force it to install the new update? Should be able to be on 26.38.

I'm not aware of any problems with this yet, actually the latest update must be downloaded directly during installation. Otherwise there is a problem with the Steam database.
@Pejyuu Many thanks for your contribution

Tested, currently there is no problem with the updates, Steam may have withdrawn a newer version for a short time and rolled it out again later


tf.contrib.estimator.replicate_model_fn fails when a trainable variable doesn't have gradient

tf.contrib.estimator.replicate_model_fn fails when the gradient of a trainable variable is None. The error messages are:
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 302, in train
    loss = self._train_model(input_fn, hooks, saving_listeners)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 711, in _train_model
    features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 694, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/estimator/python/estimator/replicate_model_fn.py", line 235, in replicated_model_fn
    local_ps_devices=ps_devices)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/estimator/python/estimator/replicate_model_fn.py", line 558, in _get_loss_towers
    **optional_params)
  File "model-60m-1280-2gpus-16-32-64-128-bn50000/net.py", line 38, in model_fn
    train_op = optimizer.minimize(model.total_loss, global_step)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/optimizer.py", line 353, in minimize
    name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/estimator/python/estimator/replicate_model_fn.py", line 317, in apply_gradients
    with ops_lib.control_dependencies(_extract_tensors(grads_and_vars)):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 4304, in control_dependencies
    return get_default_graph().control_dependencies(control_inputs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 4017, in control_dependencies
    c = self.as_graph_element(c)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3035, in as_graph_element
    return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3124, in _as_graph_element_locked
    types_str))
TypeError: Can not convert a NoneType into a Tensor or Operation.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

@isaprykin

@x10000year Hi!  I fixed this yesterday and the fix is coming.  Thanks for reporting.
I'll link the commit when it's available and then close the issue.  I hope you can re-built or take the nightly build to take advantage of the fix.

Thank you!


feat: add pre-commit hook

why
add Husky to handle pre-commit hooks so that we don't need to manually run yarn style:fix to format the files before committing.
how
now you just need to make sure to run husky install or yarn install once again, and ensure that husky.sh is installed. After that, Husky will automatically handle the pre-commit hooks for you.

Thanks for the contribution!


ToolTask UseCommandProcessor should handle Unicode commands

Originally filed as AB#1012708 by @MrTrillian.
When a ToolTask-derived task (like VC++'s CustomBuild) opts into running using cmd.exe, the batch file generated by ToolTask
https://github.com/microsoft/msbuild/blob/b6e7d1e07e28ac7f8e70ebee110dcfe795c30adf/src/Utilities/ToolTask.cs#L1368
may be in an encoding incapable of representing the full string.
ToolTask should do something like #143. But make sure to use the current version of that special-casing, since it has had a number of bug fixes over the years.

One tricky side of this is that you can't change the batch file encoding without also changing the console output code page, which is what programs typically honor when writing to stdout. If you detect that the batch file would contain Unicode characters and emit a chcp 65001, your batch file will be able to represent the Unicode characters, but you also will likely change the encoding of the invoked programs' stdout to UTF-8.
I was thinking that having MSBuild chcp to its own console output encoding in the batch file puts the burden of correctness on the caller. Since most callers will not change the console output encoding from OEM, the behavior in those cases will be preserved. When the callers do change it (likely to UTF-8), they should already be assuming that they will be calling programs that honor the console output code page, whether through the MSBuild indirection or not, so they can't blame MSBuild for having decided to change the console code page itself and break the target program's output. This is the case both currently (where MSBuild causes the child process' console output code page to revert to OEM), and if MSBuild opportunistically decides to change the output code page to UTF-8.


cargo-spellcheck: 0.13.2 -> 0.14.0

Description of changes

https://github.com/drahnr/cargo-spellcheck/compare/v0.13.2...v0.14.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 306558 run on x86_64-linux 1

1 package built:

cargo-spellcheck


add docs on upgrades esp new blueprint bundle headers (beyond the release notes and javadoc)

updates to release notes following recent changes to bundles, including https://github.com/apache/brooklyn-server/pull/874

got toc structure working so added that here, closing #229

TY @aledsage .  Agree on all comments.  Have fixed typo and merged.
Re javadoc, there is something very handy about comments in javadoc but agree it is inelegant referring people to it.  I wonder if there is any way we could say in our docs to "grab javadoc on Class or C?lass.method and insert here" ?  cc @tbouron

Javadoc tool generates only an HTML per class so you can potentially include this in gitbook (probably needs a custom plugin)
I don't see however how to include only a specific method


spago run command

Someone was complaining about this, but it's essentially an alias of test:
https://github.com/spacchetti/spago/blob/b6d5a6345b056c773c9011768e1914493dd97aec/app/Spago/Build.hs#L62-L70
Only difference would be the labels and that Main is used by default.

Someone was complaining about this

Not sure whether this refers to me. If so, I apologize. I didn't want to come off as "complaining."

@JordanMartinez no need to apologize, I'm pretty sure Justin didn't mean it in a negative way 🙂 (source: he uses the word "complaining" quite often IRL for many things in various meanings, and in this case I interpreted it as a general "someone expressed the need for")

Thanks for the clarification. Ah, the ambiguity of language...


GitHub v3 API fields cause error in github_search_repository table

Describe the bug
If I run a query trying to get any v3 API fields, I get this error:
> select topics from github_search_repository where query = 'repo:turbot/.github'

Error: rpc error: code = Internal desc = hydrate function hydrateRepositoryDataFromV3 failed with panic interface conversion: interface {} is struct { TextMatches []models.TextMatch; Node struct { models.Repository "graphql:\"... on Repository\"" } }, not models.Repository (SQLSTATE HV000)

+--------+
| topics |
+--------+
+--------+

Steampipe version (steampipe -v)
v0.20.9
Plugin version (steampipe plugin list)
v0.33.0
To reproduce
See above
Expected behavior
Results should be returned or those columns should not be available in the github_search_repository table if not compatible
Additional context
Add any other context about the problem here.

Ah, some oversight on my part, should be relatively easy to resolve.


StreamView no longer exists

In 2.12 there's StreamView, which allows things like
scala> Stream.from(0).view.flatMap(n => List(n, n * 2)).force.take(6).toList
res4: List[Int] = List(0, 0, 1, 2, 2, 4)

We need to decide if we need to continue supporting this, or if it's just something for the release notes.
https://github.com/scala/bug/issues/3511
In scala/scala, I removed the test/files/run/t3511.scala test case. It should be restored (from 2.12.x) if we bring back StreamView.

force is deprecated, so any changes here would be purely for backwards compatibility. Adding a special StreamView type would be a more permanent change. The code can be easily rewritten to Stream.from(0).view.flatMap(n => List(n, n * 2)).to(Stream).take(6).toList and you do get a deprecation warning for the version with force.


DS18b20 (one wire) temperature sensor with micro:bit V2 ?

Hy,
First, thanks for all your work!
I'm looking for a solution to make works ds18b20 sensor with one wire protocol and a micro:bit V2 (and micropyton of course).
Is it possible?
Thanks
G.B

As discussed in https://github.com/bbcmicrobit/micropython/issues/752, looks like @rhubarbdog might be looking at porting a driver, thanks!


building the example default_no_question_dialog failed

On Windows,
> go install github.com/wailsapp/wails/v2/cmd/wails@latest
> wails build .
Wails CLI v2.0.0

App Type:               desktop
Platforms:              windows/amd64
Compiler:               C:\Program Files\Go\bin\go.exe
Skip Bindings:          false
Build Mode:             Production
Obfuscated:             false
Skip Frontend:          false
Compress:               false
Package:                true
Clean Build Dir:        false
LDFlags:                ""
Tags:                   []
Race Detector:          false

Building target: windows/amd64
------------------------------
  - Generating bindings: Error:
main.go:10:12: pattern all:frontend/dist: no matching files found

exit status 1

ERROR:
main.go:10:12: pattern all:frontend/dist: no matching files found

exit status 1

If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

Thanks,

Thanks for opening this.  We should be able to determine the Go version at runtime and provide a better error

I'm using Go 1.19.
> go version
go version go1.19 windows/amd64

Thanks,

Thanks for the update. Try wails build without the dot. It shouldn't make any difference but....

The same result:
> wails build
Wails CLI v2.0.0

App Type:               desktop
Platforms:              windows/amd64
Compiler:               C:\Program Files\Go\bin\go.exe
Skip Bindings:          false
Build Mode:             Production
Obfuscated:             false
Skip Frontend:          false
Compress:               false
Package:                true
Clean Build Dir:        false
LDFlags:                ""
Tags:                   []
Race Detector:          false

Building target: windows/amd64
------------------------------
  - Generating bindings: Error:
main.go:10:12: pattern all:frontend/dist: no matching files found

exit status 1

ERROR:
main.go:10:12: pattern all:frontend/dist: no matching files found

exit status 1

If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

Which template did you initialise?

I just run it under default_no_question_dialog

Oh I see. By default we don't check that in but for an example we should. Thanks for letting me know. As a temporary measure, just create the dist directory and put any random file in there.

So I think 1) wails command should create the dist directory and a file automatically or 2) the empty dist directory and an empty file should exist in this example repository.

Creating a directory frontend/dist and an empty file frontend/dist/foo seemed to work.

We can't really do that as there's no way without static analysis to know which directory is being included (no reflection on embed). The templates are configured to have it available. In this instance, I just forgot to check it in 👍

Looks like this was resolved. Thanks!

Thanks for all your time in fixing this 🙏


Toggle Archived

My solution was to add a link and watch it's click action with jQuery. When
clicked, it uses a variable to determine the state of the hidden section, takes
the appropriate action (hide/show), updates the link to have appropriate text,
and the updates the variable.

@JohnSimerlink @3ygun @jmkuehn Can I get a :+1: or :-1: on this?

Well, I'm gonna go ahead and merge it.


Use Kibana logging @ logging.wellcomecollection.org

Who is this for?
Developers who want nice logs in prod
What is it doing for them?
Helping them debug when there are problems

This should be tested with a staging stack, before release.

Would be good to use https://github.com/wellcomecollection/terraform-aws-ecs-service/pull/22.

@davidpmccormick happy to talk through it with you - ping me on Slack.


Is this project dead?

Any feeedback from the cypress team? Multiple open issues and PRs, no feedback on any of those, stagnant updates

@bahmutov ?

Nope. I use it whenever I need. But since I'm not a cypress team member I cannot help merging and resolving stuff

Ah, sorry.  I thought you were on their team. :) I guess we need to fork this in order to get the fixes.


[DO NOT MERGE] SEO edits for Manage emergency calling

Edited description to include the most searched for term, ELIN. Had to remove two other examples.
Edited introduction to include ELIN.
I tried moving the ELIN content up the document by swapping the "Considerations for calling plans" and "Considerations for direct routing" sections, but given how they're written, it looks like Calling Plans is the preferred method, and direct routing is the backup if a calling plan is not available.
I don't think I can sprinkle ELIN through the document per the SEO expert's recommendation. ELIN info seems to be very specific to it's own section.
@DaniHalfin

@DaniHalfin can you check on this?

I'm going to reject this one.  This topic is about dynamic emergency calling and call routing.  It's important that those terms appear in the description.  Closing this PR.  If there are other changes, please resubmit.


Replace phar build script with box-project/box2 build tool.

Adds a box.json file that should replace the configuration used in the build file.
Removes the old build file (since it is replaced by the configuration file).
File size goes from 3 MB to ~485 KB.
Reference: #190

What if i add $phar->compressFiles(Phar::GZ); to my build script?
Now deployer.org site uses my build script, so we need to refactoring them too.
What is the benefit ща migration to box2?

New size of deployer.phar 825KB now.
I think we need to reduce number of dependencies.

Nice job @tomzx
Box really makes it simple to package an app.
I would like to add that enabling gzip compression could lead to php installations (without gzip extension enable), to fail loading the phar. Also Composer had an issue with this before.
Regarding the size of the phar, I guess we (developers) have reasonably fast bandwidth to transfer a larger file, thus making it less relevant.

@elfet Why do you prefer your own build script to using a library that is used/tested by many? What would make you change your mind?

Hmmm, i'll think about it :)

I agree with @tomzx. Nice job

Box awesome project, but i do not what to touch what's already good working.
Also i do not see any cons of this.


Scroll Action request

Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
DHTMLX grids need to be scrolled by hacky ways, such as adding to the scrollTop value or sending pagedown
What is the expected behavior?
I should be able to reliable scroll down pages, DHTMLX grids, or objects with an action invocation, similar to .click or .hover.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:  https://dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/01_50000.html
Test code
"use strict";

import { expect } from "chai";
import { ClientFunction, Selector } from "testcafe";

const querySelector = Selector(n => document.querySelector(n));

fixture("DHTMLX grid test")
    .page("https://dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/01_50000.html");

test("Scroll to element", async t => {
        const index = "tr:nth-child(200)"; //I know, this doesn't actually select the 200th element.  It's like, 214 or something.  Not really relevant to this
        await t.click(Selector("tr:nth-child(3)"));
        await scrollDown(t, ".objbox", index);
        await t
            .click(index)
            .expect(Selector(index).visible).ok();
    });

const scrollDown = async (t, moveEl, targEl) => {
    const queryVisibleSelector = querySelector.with({
        visibilityCheck: true,
        timeout: .01
    });
    var elTop = await Selector(moveEl).scrollTop;
    var elHeight = await Selector(moveEl).scrollHeight;
    var elTotal = await Selector(moveEl).clientHeight;
    console.log(await queryVisibleSelector(targEl));

    do {
        await t.eval(() => document.getElementsByClassName("objbox")[0].scrollTop += 500);
        elTop = await Selector(moveEl).scrollTop;
        elHeight = await Selector(moveEl).scrollHeight;
        elTotal = await Selector(moveEl).clientHeight;
        console.log(elHeight - elTop, elTotal);
        console.log(await queryVisibleSelector(targEl));
    } while (await queryVisibleSelector(targEl) === null && elHeight - elTop > elTotal);
    return;
}

Specify your

operating system:  Windows 7
testcafe version:  0.12.1
node.js version:  6.9.1

It's also possible I completely missed something in the documentation, apologies if I did!

Looks like if element is rendered in the overflow, testcafe has issues scrolling to the element and returns the error, The element that matches the specified selector is not visible

Hi @ClaytonAstrom,
Thanks for the proposal. Your workaround looks ok for now.
I agree, the scroll action will be useful, we need to think out it's api.
What the arguments for the t.scroll action do you expect for your case?
    t.scroll(elementSelector, scrollX, scrollY);

?

Thanks @AlexanderMoskovkin !
While I thought that might originally work, I'm not sure how universal that would be for other scenarios I'm not thinking of.  Is it possible to instead emulate the mouse wheel scroll action?  Something like t.mouseUp(y) and t.mouseDown(y) where x is the number of times the action is invoked?
That would cover the majority of conventional actions I'd guess, but then you'd probably still need something to scroll along the x-axis, so maybe the arguments you suggested are best.  I'll see if I can find a public example, but I'll at least explain what I'm looking at as best I can:
In our scenario, we use 2 dhtmlx grids side by side.  The mouse wheel moves both of them up and down at the same time, but moving left and right only scrolls the right object (so that you can still see which item that row is).  So by manipulating the objects directly, I may miss the opportunity to test if the mouse wheel functions as I expect on the page.

@ClaytonAstrom Check out https://github.com/DevExpress/testcafe/issues/527, maybe suggest API will fit your needs

Thanks @inikulin, that's pretty much exactly what I'm talking about.  I'll close the issue

@ClaytonAstrom Can you add 👍 to #527 then, please? We usually give higher priority to voted issues.

Is the window scrolling operation okay?

TestCafe performs scroll automatically when you call any action. For example if you need to scroll to some element you can use the hover action.

ok

t.scroll(element, x,y) is failing any time. it's not stablize method , hover would be alternative in this case.

TestCafe performs scroll automatically when you call any action. For example if you need to scroll to some element you can use the hover action.

hi @AlexanderMoskovkin our site having issue, not automaticlly scroll down. i've tried Hover action, but still not worked. any suggestion?
thanks.

@adamgen, I think the scrolling action won't work for your case, you need something that will emulate the mouse wheel to cover your scenario. Your page likely reacts to the mousewheel event because it is created when a user tries to scroll a page with the mouse wheel. The programmatic scroll techniques  TestCafe uses for page scrolling create only scroll events, like when a user drags the page scrollbar to scroll a page.
It will be nice if you create a separate issue about introducing the t.scrollMouseWheel action and describe your use-case there.
Also if you need the t.scroll action too, take a look at the issuehttps://github.com/DevExpress/testcafe/issues/527, I think it provides a better alternative for this proposal.


Build automation and testing tools

Is your feature request related to a problem? Please describe.
I need to automate build for multiple platforms but West does not provide scriptability, only command line execution. Nor does the documentation make the build process clear and manually reproducible.
Describe the solution you'd like
Making west a build automation tool.
Describe alternatives you've considered
Better compilation documentation enabling the user to fully comprehend environment variables and steps.
Additional context

@cerealkill have you looked at scripts/sanitycheck?

@cerealkill  Can you please describe your usecase in more details?

Please reopen with more details, not sure what is being requested here and probably it is out of scope and needs to be scripted based on the usecase.


Perf vs Prism.js

Comparing prism.js in https://github.com/johnnyreilly/blog.johnnyreilly.com/pull/95

before ~2m
after ~20m and OOM issue

Maybe related: https://github.com/facebook/jest/pull/11657
Bails with 10:04:16 AM: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array

Thanks for writing this up @orta! Happy to be a test case!

I've converted all my JS / TS samples over to use twoslash with a little regex magic. In doing so the twoslash is now out of memory-ing even harder than before:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xafd010 node::Abort() [node]
 2: 0xa141fb node::FatalError(char const*, char const*) [node]
 3: 0xce746e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xce77e7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xeb5c85  [node]
 6: 0xec5401 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 7: 0xec7fae v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 8: 0xe899da v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
 9: 0x11fea76 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
10: 0x15e7fb9  [node]
Aborted (core dumped)
Error: Process completed with exit code 134.

https://github.com/johnnyreilly/blog.johnnyreilly.com/runs/3787296743?check_suite_focus=true


mattermost support

It's the second version of Mattermost support. In this version messages are split to 3800 characters (4000 maximum message length in Mattermost).

Thanks, everything looks great! Just a few spacing changes in the comments (I'd make them myself, but can't work on forked PRs), and I'll be absolutely happy to merge.

Thanks for the fix! Looks good to me now :) Merging.
I'll also bump the package version and publish on npm.


Inferred literal types

This change is

Current dependencies on/for this PR:

main

PR #2725   👈

This comment was auto-generated by Graphite.


[Info] How frequently are the checks performed ?

Thanks for this amazing library which includes multiple checks.
As there are listeners added, it should be periodically performing these checks. How frequently are the checks performed and also is there anyway we can configure how frequently are the checks performed ?
After I started using the app I injected Frida script and noticed the hooks action listener triggered close to 1min after the script is executed.

Hi @vinithreddy3,
Yes, the checks are performed periodically. The interval is randomized, but no longer than four minutes.
Currently there isn't any option to configure this interval. However, we will think about adding this option in a future release as this could be a useful feature for some apps.
If you have any other question feel free to ask.
Cheers,
Tomas, Talsec developer.

Hi @tompsota, thanks for the quick response. My use case was especially for the hooking detection periodically in intervals of 10-15 secs (or) max 30 secs. Comparatively it looked for me that there aren't many approaches available online to detect runtime hooking frameworks like Frida. Let me look more into that.


org:Organization

Hi,
Could a party be modeled using "org:Organization" instead of "ocds:Organisation"?
Regards,
Hugo Lafuente

This will be included in the coming version. ocds:Organisation will be declared as a subclass of org:Organization