[RFC] Documentation how to handle failure

I stated documenting way's of how to handle failed command's using this bundle. I'm not done with this yet but this is to let you know i'm working on it.
If you have any feedback please let me know.

I think the documentation is done.

👍  useful!

I'm merging this now but this needs to move to the new docs

@geekdevs Can you add your configuration then i will check it in my testing setup.

@cmodijk I have configuration identical to yours here https://github.com/SimpleBus/RabbitMQBundleBridge/pull/23/commits/01f5411b2210e02893701225b77c8d1170c884ec. To be clear - I am trying to do "Auto retry" part.
I think this issue appears on latest versions of RabbitMQ as they implemented loop detection. I was testing with RabbitMQ 3.6.4

I'm currently working on a new project that uses 3.6.9 i will check if the retry part stil works in this project and will get back to you.

@geekdevs I'm sorry i just tested this with the following config with RabbitMQ 3.6.9 and the result is that ever 10 seconds (10000 milliseconds) the message is moved from the asynchronous_commands_fallback back to  asynchronous_commands when the handler trows an exception. I can also see that it has bean tried again and again.

old_sound_rabbit_mq:
    connections:
        default:
            host:                   '%rabbitmq_host%'
            port:                   '%rabbitmq_port%'
            vhost:                  '%rabbitmq_vhost%'
            user:                   '%rabbitmq_user%'
            password:               '%rabbitmq_password%'
            lazy:                   true
            keepalive:              true
    producers:
        asynchronous_commands:
            connection:             default
            exchange_options:       { name: 'asynchronous_commands', type: topic }
        asynchronous_events:
            connection:             default
            exchange_options:       { name: 'asynchronous_events', type: topic }
    consumers:
        # Fallback
        asynchronous_commands_fallback:
            connection:             default
            exchange_options:       { name: 'asynchronous_commands_fallback', type: topic }
            queue_options:          { name: 'asynchronous_commands_fallback', routing_keys: ['#'], arguments: {'x-dead-letter-exchange': ['S', 'asynchronous_commands'], 'x-message-ttl': ['I', 10000]} }
            callback:               'simple_bus.rabbit_mq_bundle_bridge.commands_consumer'
            qos_options:            { prefetch_size: 0, prefetch_count: 10, global: false }
        asynchronous_events_fallback:
            connection:             default
            exchange_options:       { name: 'asynchronous_events_fallback', type: topic }
            queue_options:          { name: 'asynchronous_events_fallback', routing_keys: ['#'], arguments: {'x-dead-letter-exchange': ['S', 'asynchronous_events'], 'x-message-ttl': ['I', 10000]} }
            callback:               'simple_bus.rabbit_mq_bundle_bridge.commands_consumer'
            qos_options:            { prefetch_size: 0, prefetch_count: 10, global: false }

        asynchronous_commands:
            connection:             default
            exchange_options:       { name: 'asynchronous_commands', type: topic }
            queue_options:          { name: 'asynchronous_commands', routing_keys: [''], arguments: {'x-dead-letter-exchange': ['S', 'asynchronous_commands_fallback']} }
            callback:               'simple_bus.rabbit_mq_bundle_bridge.commands_consumer'
            qos_options:            { prefetch_size: 0, prefetch_count: 10, global: false }
        asynchronous_events:
            connection:             default
            exchange_options:       { name: 'asynchronous_events', type: topic }
            queue_options:          { name: 'asynchronous_events', routing_keys: [''], arguments: {'x-dead-letter-exchange': ['S', 'asynchronous_events_fallback']} }
            callback:               'simple_bus.rabbit_mq_bundle_bridge.events_consumer'
            qos_options:            { prefetch_size: 0, prefetch_count: 10, global: false }


No documentation on 'docker service create --mount'

I haven't had time to look into the source unfortunately, but what is this mysterious --mount flag in docker service create?
  -m, --mount value                  Attach a mount to the service

Can't find any docs at https://docs.docker.com/engine/reference/commandline/service_create/
It's not really clear how volumes / data management is intended to fit into the Swarm mode picture in general (how do volume plugins work?  how do you manage distributed volumes for services?), so getting some documentation around that would be great.

cc @sfsmithcha

also @cpuguy83 if you have any input or guidance ... I might write some if you have a few pointers

ping: @tiborvass the way I understand this is still WIP

So far I did manage to make it work with a local directory or a local volume.
 Have a PR to fix, hopefully for RC3.

@F21 The way to do this would be to used named volumes. I think it's perfectly correct that volumes are cleaned up when a service is removed.
Note that you really shouldn't be removing a service unless you really want to remove it.  Services should not have the same management semantics as containers. A container is a payload, a service is an orchestration object.  If you want to "stop" a service, you set the replica count to 0.
For 1.12, we are working on some documentation on how to handle real persistent services (e.g. databases)... basically you'll need to use node constraints and named volumes for dealing with these kinds of workloads.  You will not be able to use the scaled-replicas feature (which probably you shouldn't for these anyway) with this setup.
We have, as of right now anyway, purposefully left off the -v flag for future use... what that looks like is still TBD.

There's an issue created for documenting --mount; https://github.com/docker/docker/issues/24277, improving the mount-syntax; https://github.com/docker/docker/issues/24190, some issues around using volume plugins: https://github.com/docker/docker/issues/23619, and some other issues IIRC
@nathanleclaire do you want to keep this one open, or do you have enough information to close this?

I think since it's well known issue it's fine to close

@ggtools
writable is not support any more, use "readonly", like this
--mount type=bind,source=/data/mysql_data,target=/var/lib/mysql,readonly=false
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly=true \

@Linuxing volumes should now be writable by default, so you can remove the readonly=false

What exactly is the best practice way to set up persistent storage with a docker swarm? Or shared storage, to be exact - that's the point of scaling up a service. Comment by @Linuxing is slightly misleading given servers like mysql can't work on the same files in a distributed way, while servers like nginx could take their own /var/www as long as it's provided on the hosts.
I'm pretty sure somewhere it was written that docker service create is supposed to be analogous to docker run, so I'm not exactly sure what is the reasoning behind dropping -v and replacing it with the (imho, more complex) --mount?

Docker doesn't do data migration itself, so swarm can't be responsible for having the data on the machine. For stateful apps you need use something like ceph plugin to mount the storage on the node.

@titpetric docker service create is most definitely not the same as docker run.
-v was dropped because services don't orchestrate volumes. We specifically use the term mount because that is what services do. You can have a service that has a template for creating a volume that the service then mounts in for you, but it does not itself handle volumes, so it's intentionally left out for now.

docker service create --name example --replicas 2 -p 6001:6001 --mount type=bind,source=/root/logs/example,target=/root/logs  registry-vpc.cn-hangzhou.aliyuncs.com/quancheng/example-web:20160905
@thaJeztah
example.2  registry-vpc.cn-hangzhou.aliyuncs.com/quancheng/example-web:20160905  iZ230brnviiZ  Shutdown       Rejected 4 seconds ago  "invalid bind mount source, so…"

@jiaoge You can get the full message by inspecting the task.
I suspect it's because the source path doesn't exist on the node.

@cpuguy83
you are right! the source path doesn't exist,but i think the error message is not friendly

@jiaoge pretty sure the full message is invalid bind mount source, source path not found

@cpuguy83
ok，how can see the full message？
docker service ps   only give me the short msg

@jiaoge docker inspect <task id>

@cpuguy83
thanks. so cool!

Hello,
I'm getting the same error as @jiaoge: invalid bind mount source, source path not found. It seems docker is unable to locate my source path, even tho I'm passing it correctly.
Here's the command:
docker service create \
--name registry \
--label "registry" \
--publish 5000:5000 \
--mount "type=bind,source=`pwd`/certs,target=/certs,readonly=true" \
--mount "type=bind,source=`pwd`/data,target=/var/lib/registry" \
--env REGISTRY_STORAGE=s3 \
--env REGISTRY_STORAGE_S3_REGION=sa-east-1 \
--env REGISTRY_STORAGE_S3_BUCKET=<bucket name> \
--env REGISTRY_STORAGE_S3_V4AUTH=true \
--env REGISTRY_STORAGE_S3_REDIRECT_DISABLE=true \
--env REGISTRY_STORAGE_S3_SECURE=true \
--env REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
--env REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
registry:2

pwd directory does contains certs and data directories, so I'm not sure why it is unable to find them.
I'm a newb at docker/docker swarm, so this might sound like a dumb question but, could it be that swarm is creating the container in a node different to where I'm issue the command and thus can't find the directories there? If so, what are the alternatives?

@francisbrito Correct. The bind source must be on the node that it's getting scheduled to.

The bind source must be on the node that it's getting scheduled to

OMG !! Of course!

Is there a way to use the --mount flag for an external mount, like in the case of Google Cloud Platform?  I'm trying to figure out how to mount a Google Cloud Platform persistent disk in the container which is deployed as part of a docker swarm.
So far as I can tell, I can only mount those to the host and not necessarily directly to a container (without first mounting on the host), and that doesn't work because I don't know what Swarm node the container will be on.

@slooker Yes, you can use --mount with any volume driver.
There is a plugin here: https://github.com/mcuadros/gce-docker
I'm not sure of the quality of this plugin.
RexRay also has a GCE provider.

@cpuguy83 Normally I use docker service create when creating swarm services.  It doesn't seem like there's any volume flag, nor is there a volume-driver flag.  Am I missing something?  Either there's another way to create swarm services or this can't be used with swarm on GCE?

@slooker services use the --mount flag. Docs are merged on GitHub, but not published yet; https://github.com/docker/docker/blob/master/docs/reference/commandline/service_create.md#add-bind-mounts-or-volumes

@thaJeztah  Bummer.  I still get "Error looking up volume plugin gce" even after installing it via the docker image.  I'll search some more to see if I can figure it out.  Thanks!


Adding a Chatwork contrib recipe

[ ] Bug fix #…?
[X] New feature?
[ ] BC breaks?
[ ] Deprecations?
[ ] Tests added?
[X] Changelog updated?

@hieudt-2054 Thank you very much for your contribution!


Question about RespAlgStruct in response of NEGOTIATE_ALGORITHMS (libspdm\library\spdm_responder_lib\libspdm_rsp_algorithms.c)

Hi,
I check the respond message of NEGOTIATE_ALGORITHMS, I capture the code here for reference:
line 495:
_spdm_response->struct_table[0].alg_type = SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_DHE;
spdm_response->struct_table[0].alg_count = 0x20;
spdm_response->struct_table[0].alg_supported = (uint16_t)libspdm_prioritize_algorithm(
dhe_priority_table, LIBSPDM_ARRAY_SIZE(dhe_priority_table),
spdm_context->local_context.algorithm.dhe_named_group,
spdm_context->connection_info.algorithm.dhe_named_group);
spdm_response->struct_table[1].alg_type = SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_AEAD;
spdm_response->struct_table[1].alg_count = 0x20;
spdm_response->struct_table[1].alg_supported = (uint16_t)libspdm_prioritize_algorithm(
    aead_priority_table, LIBSPDM_ARRAY_SIZE(aead_priority_table),
    spdm_context->local_context.algorithm.aead_cipher_suite,
    spdm_context->connection_info.algorithm.aead_cipher_suite);

spdm_response->struct_table[2].alg_type =
    SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_REQ_BASE_ASYM_ALG;
spdm_response->struct_table[2].alg_count = 0x20;
spdm_response->struct_table[2].alg_supported = (uint16_t)libspdm_prioritize_algorithm(
    req_asym_priority_table,
    LIBSPDM_ARRAY_SIZE(req_asym_priority_table),
    spdm_context->local_context.algorithm.req_base_asym_alg,
    spdm_context->connection_info.algorithm.req_base_asym_alg);

spdm_response->struct_table[3].alg_type =
    SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_KEY_SCHEDULE;
spdm_response->struct_table[3].alg_count = 0x20;
spdm_response->struct_table[3].alg_supported = (uint16_t)libspdm_prioritize_algorithm(
    key_schedule_priority_table,
    LIBSPDM_ARRAY_SIZE(key_schedule_priority_table),
    spdm_context->local_context.algorithm.key_schedule,
    spdm_context->connection_info.algorithm.key_schedule);_

May i know why we need struct_table since already have BaseAsymAlgo/BaseHashAlgo ? and Does responder must support algorithms in this RespAlgStruct ? I couldn't find how to disable them except delete code.
Background: The MCU in my project only support Hash function.

May i know why we need struct_table since already have BaseAsymAlgo/BaseHashAlgo

Please check SPDM spec. It defines more algorithms such as DHE, AEAD, etc.

Does responder must support algorithms in this RespAlgStruct ?

No. If responder does not support all the algos defined in struct_table, it can be absent.

Thank you for your quick response, Bellock,Jiewen.
Yes, That's is what i try to enable（unsigened measurement）.

@YangYunLong1988 If this answered your question please close the issue.

Question answered.


VerticalBarSeries - strange xDomain behavior with time data

When creating an VerticalBarSeries with a predefined xDomain and an xType of time, the chart is rendered with a vastly different time domain than the one specified.
Given the following example:
      // An arbitrary time range, in this case 1 hr
      <XYPlot
        xType="time"
        xDomain={[new Date().getTime() - 3600000, new Date().getTime()]}
        height={250}
        width={500}
      >
        <XAxis />
        <YAxis />
        <VerticalBarSeries
          data={[
            {x: new Date().getTime() - 1800000, y: 10}
          ]}/>
      </XYPlot>

The following is rendered:

The XYPlot attempts to adjust the domain by a small delta. However, the code which handles the edge case for one data entry (e.g., _computeLeftDomainAdjustment) subtracts 0.5 from the single data point, and you end up with a domain containing a negative timestamp and a timestamp in the far future.
Note I am not sure if this affects other series types, but it seems likely.
Is there a better domain adjustment that could be made here?

@akindr I would actually endorse not using BarSeries for things on a continuous domain. Instead consider using RectSeries (the only difference is that you specify left and right edges of the box use x0 for left and x for right). BarSeries does weird auto positioning that is appropriate for categorical data, but makes weird distortions for continuous data

I'm gonna close this as there is now a solution in place to address (rect series), let me know if i missed anythign


Switched Filament rendering from native to JS

Reference Issue
Fixes #434
Really I'm hoping to also fix #673, but that hasn't happened yet, though at least this has opened a discussion with Filament about their renderer (bug). Here I've switched from filament's native renderer to their JS version, which is a bit simpler and already has gltfio. If we go forward with this, I believe we can remove all of the filament building stuff from our repo, so long as we're willing to pull down a binary for cmgen. I checked in the linux executable for now, but we could also consider other means (like pulling it from the github release).
I also updated our fidelity tests, switching from gltf to glb and removing some less useful ones.

I think this one is good to go now. I'm going to say it also fixes #515, as I updated the Readme. We're blocked on a few of the khronos tests because they don't have GLB versions and FilamentJS has a bug with opening GLTFs in another directory. Once either of those is fixed, we should be able to add them back in (I only removed the config entries, so it should be quick to put them back).

Closing in favor of #682, where I've rebased onto master.


Google Cloud Shell Tutorial: missing step for "npm install"

https://github.com/wechaty/wechaty-getting-started

There should be a step of "npm install" ,otherwise the following error  will occur.

Thank you very much for noticing this!
I'm working on the Google Cloud Shell part this afternoon, building a new tutorial on cloud shell, and now I believe it's ready to use.
Please follow the latest version of README and let me if you have any issues & suggestions!

I'm running the example on the Google Cloud Shell  same time :) .
Could you post the link of README. Thanks so much!

The "quick start" is likely the first component newcomers touch  , which is composed with api referrence,discuss group,tutorials ,token applying etc.  I wonder if tag the issues in type of component , it would be more friendly to developers or users who would submit issues.

Hi, we are working on the docs for some time, could you please review the quick start part of the docs today, and give some advice/suggestion to us?
Thank you very much!


Add error log in the SSR console.  :)


Directory renamed

Assigned Issue Number ?
#1708
Language(s) Opted ?
C
Number of file(s) added or updated ?
1
Name and location of the file(s) ?
Algorithm => Tree => GenericTreeImplementation => GenericTree.C
Checklist

[x] I've followed the contributing guidelines
[x] The content added isn't directly copied from any sources like gfg, tutorialpoint, etc.
[x] I've referred the correct issue number.
[x] Comments have been added
[x] I've  synced-up my forked repo.
[x] Ain't pushing from the main branch.

It was nice contributing with this project.
Can I be assigned more tasks in this repository?
On Sun, Oct 3, 2021, 4:10 PM Priyanshu Tiwari @.***>
wrote:

Merged #1736 https://github.com/ahampriyanshu/algo_ds_101/pull/1736
into main.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ahampriyanshu/algo_ds_101/pull/1736#event-5399558158,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASS3UX26GANZIFIBEBDIAHDUFAXITANCNFSM5FHOQFYQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


How can I get these configuration(mkz_config.pb.txt)?

How can I get these value of parameters? from lincoln_mkz's manual? or other source?
Thanks!
'modules/common/data/mkz_config.pb.txt'
vehicle_param {
front_edge_to_center: 3.89
back_edge_to_center: 1.043
left_edge_to_center: 1.055
right_edge_to_center: 1.055
length: 4.933
width: 2.11
height: 1.48
min_turn_radius: 5.05386147161
max_acceleration: 2.0
max_deceleration: -6.0
max_steer_angle: 8.20304748437
max_steer_angle_rate: 6.98131700798
steer_ratio: 16
wheel_base: 2.8448
wheel_rolling_radius: 0.335
}

Some are from the specification (length, width, height, etc). Some are from measurements and it might depend on your own configuration (front_edge_to_center, etc.).

@startcode
How to measure this kind of parameters like 'front_edge_to_center'? Using a tape to measure? How to ensure the precision of measurement?
Many thanks!

@turinglife
Measuring tape should do the job in most cases. If you would like to be safe, you can also leave some margin.
If you aim to achieve higher precision, CAD model should give the better answer. I doubt the car manufacturers would provide them to public. Another way to achieve high precision is to use a theodolite to measure the positions of reference points on the car.

@YangHan101
so many thanks

Closing as the issue seems to be resolved.


WIP: issue #241: range checking

@tbeu something like this?

Yes, with setting err_ and breaking the loop in the else branch.

Please let mealso know if UBSan is happy with this kind of fixes.


Unable to change Navigation Item Type when no Collection is enabled for the plugin

Perhaps I'm trying to use the plugin incorrectly.  I'm trying to create a navigation menu without using any of my collections.  Specifically, when I try to create a new menu item, the save button is never enabled.
For my case, I'm simply trying to use the plugin to allow my admin to create the menu structure, using URLs for each menu item.  When I add a new item, the save button is never enabled.
Additionally, I've added two custom fields to the menu items, but they don't appear in the New Item entry screen.
Am I using the plugin improperly?  Thanks in advance for your feedback.
https://github.com/user-attachments/assets/b0644af2-cbf2-4374-a32e-c72d51825da8
PS: Thanks of the quick-fix for #487

I see a potential gap in the logic here.
We assumed based on the most of use cases that at least one Collection / Single Type is going to be enabled and the Navigation item type checks if it is true or not. What I can ask you as an interim "fix" is to enable at least one collection in settings and you'll get this dropdown enabled for selection between "Internal source", "External source", "Wrapper".
We'll fix that check soon, as part of the next release.

Thank you !  That's very helpful.  I simply added an arbitrary collection (and didn't fill-in any of the supporting fields), then attached a menu item to an arbitrary collection entry.  That allowed me to save, and I can see the menu in the API.  Thanks for the fast response!  Much appreciated!

Any comments on the second part of the issue?  I've added a couple 'Additional Fields (in my case, they're called blurb which is a string, and icon, which is media).  I expected those input fields to appear in the UI when creating a new Menu Item.  I don't see the input fields, nor do I see the fields in the API response when trying to render the API.
Am I doing something wrong?

Might be connected with the same check and/or with selected Internal Type.
Need to investigate it, then can provide more info. Hopefully tomorrow.

@CodeToTee in regard to the additional fields seems you've got them set as not visible. By default and to avoid unexpected behaviors of already existing navigation items when you're adding a new additional field is set to hidden. Use the eye button to change the visibility and save the changes.

Fixed in v3.0.3

Thanks, @cyp3rius !  Sorry I missed the 'hidden' flag.  Your quick response is much appreciated!

No probs, the newest version has reordered buttons so it should help a bit.


Error install node-red-contrib-ttn 2.0.5

Install 'node-red-contrib-ttn 2.0.5' in Node-red produced the following error:
2019-06-06T06:42:22.212Z Install : node-red-contrib-ttn 2.0.5
2019-06-06T06:42:21.841Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production<EMAIL_ADDRESS>2019-06-06T06:43:58.882Z [out]
2019-06-06T06:43:58.882Z [out] ><EMAIL_ADDRESS>install /config/node-red/node_modules/grpc
2019-06-06T06:43:58.882Z [out] > node-pre-gyp install --fallback-to-build --library=static_library
2019-06-06T06:43:58.882Z [out]
2019-06-06T06:44:03.254Z [err] node-pre-gyp
2019-06-06T06:44:03.259Z [err]
2019-06-06T06:44:03.260Z [err] WARN
2019-06-06T06:44:03.260Z [err]  Using request for node-pre-gyp https download
2019-06-06T06:44:04.406Z [err] node-pre-gyp
2019-06-06T06:44:04.406Z [err]  WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.21.1/node-v64-linux-arm-musl.tar.gz
2019-06-06T06:44:04.407Z [err] node-pre-gyp
2019-06-06T06:44:04.407Z [err] WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, musl) (falling back to source compile with node-gyp)
2019-06-06T06:44:04.407Z [err]
2019-06-06T06:44:15.198Z [err] gyp
2019-06-06T06:44:15.206Z [err]
2019-06-06T06:44:15.207Z [err] ERR!
2019-06-06T06:44:15.207Z [err]  build error
2019-06-06T06:44:15.208Z [err]
2019-06-06T06:44:15.212Z [err] gyp
2019-06-06T06:44:15.213Z [err]  ERR!
2019-06-06T06:44:15.213Z [err] stack Error: not found: make
2019-06-06T06:44:15.213Z [err] gyp
2019-06-06T06:44:15.213Z [err]  ERR!
2019-06-06T06:44:15.214Z [err]  stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2019-06-06T06:44:15.214Z [err] gyp ERR!
2019-06-06T06:44:15.215Z [err]  stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2019-06-06T06:44:15.215Z [err] gyp
2019-06-06T06:44:15.215Z [err] ERR! stack
2019-06-06T06:44:15.216Z [err]      at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2019-06-06T06:44:15.216Z [err] gyp
2019-06-06T06:44:15.216Z [err]  ERR! stack
2019-06-06T06:44:15.216Z [err]      at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2019-06-06T06:44:15.216Z [err] gyp
2019-06-06T06:44:15.217Z [err]  ERR!
2019-06-06T06:44:15.217Z [err] stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2019-06-06T06:44:15.217Z [err] gyp
2019-06-06T06:44:15.217Z [err]  ERR!
2019-06-06T06:44:15.218Z [err] stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2019-06-06T06:44:15.218Z [err] gyp ERR!
2019-06-06T06:44:15.219Z [err]  stack     at FSReqWrap.oncomplete (fs.js:154:21)
2019-06-06T06:44:15.220Z [err] gyp
2019-06-06T06:44:15.221Z [err]  ERR! System
2019-06-06T06:44:15.221Z [err]  Linux 4.14.98-v7
2019-06-06T06:44:15.222Z [err] gyp
2019-06-06T06:44:15.223Z [err]  ERR! command
2019-06-06T06:44:15.223Z [err]  "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl/grpc_node.node" "--module_name=grpc_node" "--module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
2019-06-06T06:44:15.223Z [err] gyp
2019-06-06T06:44:15.224Z [err] ERR! cwd
2019-06-06T06:44:15.224Z [err]  /config/node-red/node_modules/grpc
2019-06-06T06:44:15.224Z [err] gyp
2019-06-06T06:44:15.225Z [err]  ERR!
2019-06-06T06:44:15.225Z [err]  node -v v10.14.2
2019-06-06T06:44:15.225Z [err] gyp
2019-06-06T06:44:15.226Z [err] ERR!
2019-06-06T06:44:15.226Z [err] node-gyp -v v3.8.0
2019-06-06T06:44:15.226Z [err] gyp
2019-06-06T06:44:15.227Z [err] ERR! not ok
2019-06-06T06:44:15.227Z [err]
2019-06-06T06:44:15.240Z [err] node-pre-gyp
2019-06-06T06:44:15.241Z [err]  ERR! build error
2019-06-06T06:44:15.241Z [err]
2019-06-06T06:44:15.245Z [err] node-pre-gyp
2019-06-06T06:44:15.245Z [err]  ERR! stack
2019-06-06T06:44:15.246Z [err]  Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
2019-06-06T06:44:15.246Z [err] node-pre-gyp ERR!
2019-06-06T06:44:15.246Z [err]  stack
2019-06-06T06:44:15.246Z [err]      at ChildProcess. (/config/node-red/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2019-06-06T06:44:15.246Z [err] node-pre-gyp
2019-06-06T06:44:15.247Z [err] ERR! stack
2019-06-06T06:44:15.247Z [err]      at ChildProcess.emit (events.js:182:13)
2019-06-06T06:44:15.247Z [err] node-pre-gyp
2019-06-06T06:44:15.247Z [err] ERR!
2019-06-06T06:44:15.253Z [err] stack     at maybeClose (internal/child_process.js:962:16)
2019-06-06T06:44:15.253Z [err] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
2019-06-06T06:44:15.253Z [err] node-pre-gyp ERR! System Linux 4.14.98-v7
2019-06-06T06:44:15.253Z [err] node-pre-gyp
2019-06-06T06:44:15.258Z [err]  ERR! command "/usr/bin/node" "/config/node-red/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
2019-06-06T06:44:15.259Z [err] node-pre-gyp ERR! cwd /config/node-red/node_modules/grpc
2019-06-06T06:44:15.259Z [err] node-pre-gyp ERR! node -v v10.14.2
2019-06-06T06:44:15.259Z [err] node-pre-gyp ERR! node-pre-gyp -v v0.13.0
2019-06-06T06:44:15.259Z [err] node-pre-gyp ERR! not ok
2019-06-06T06:44:15.262Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-musl --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
2019-06-06T06:44:20.081Z [err] npm
2019-06-06T06:44:20.082Z [err]
2019-06-06T06:44:20.083Z [err] ERR! code ELIFECYCLE
2019-06-06T06:44:20.084Z [err] npm
2019-06-06T06:44:20.085Z [err]  ERR! errno
2019-06-06T06:44:20.085Z [err]  1
2019-06-06T06:44:20.095Z [err] npm
2019-06-06T06:44:20.096Z [err]  ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build --library=static_library
2019-06-06T06:44:20.096Z [err] npm
2019-06-06T06:44:20.096Z [err] ERR! Exit status 1
2019-06-06T06:44:20.097Z [err] npm
2019-06-06T06:44:20.097Z [err]  ERR!
2019-06-06T06:44:20.098Z [err] npm ERR!
2019-06-06T06:44:20.098Z [err]  Failed at the<EMAIL_ADDRESS>install script.
2019-06-06T06:44:20.098Z [err] npm
2019-06-06T06:44:20.098Z [err]  ERR! This is probably not a problem with npm. There is likely additional logging output above.
2019-06-06T06:44:20.481Z [err]
2019-06-06T06:44:20.483Z [err] npm ERR! A complete log of this run can be found in:
2019-06-06T06:44:20.483Z [err] npm ERR!     /root/.npm/_logs/2019-06-06T06_44_20_345Z-debug.log
2019-06-06T06:44:20.562Z rc=1

Is this a duplicate of https://github.com/TheThingsNetwork/nodered-app-node/issues/44 ?

I have no idea. The above debug notification is from the Raspberry PI. Alternatively I have installed node-red on windows and then installed<EMAIL_ADDRESS>via Pallette. Again the following error messages. It may have to do with accessing a Git link

2019-06-12T06:42:13.974Z Install : node-red-contrib-ttn 2.0.5
2019-06-12T06:42:13.982Z npm.cmd install --no-audit --no-update-notifier --save --save-prefix="~" --production<EMAIL_ADDRESS>2019-06-12T06:42:43.804Z [err] npm
2019-06-12T06:42:43.804Z [err] ERR! path git
2019-06-12T06:42:43.804Z [err] npm ERR!
2019-06-12T06:42:43.804Z [err]  code ENOENT
2019-06-12T06:42:43.804Z [err] npm ERR!
2019-06-12T06:42:43.804Z [err]  errno ENOENT
2019-06-12T06:42:43.804Z [err] npm
2019-06-12T06:42:43.804Z [err]  ERR! syscall
2019-06-12T06:42:43.804Z [err]  spawn git
2019-06-12T06:42:43.806Z [err] npm ERR!
2019-06-12T06:42:43.806Z [err] enoent Error while executing:
2019-06-12T06:42:43.806Z [err] npm ERR! enoent undefined ls-remote -h -t https://github.com/thethingsnetwork/api.git
2019-06-12T06:42:43.806Z [err] npm
2019-06-12T06:42:43.806Z [err]  ERR! enoent
2019-06-12T06:42:43.806Z [err] npm ERR!
2019-06-12T06:42:43.806Z [err] enoent
2019-06-12T06:42:43.806Z [err] npm
2019-06-12T06:42:43.806Z [err] ERR! enoent spawn git ENOENT
2019-06-12T06:42:43.806Z [err] npm ERR!
2019-06-12T06:42:43.806Z [err] enoent This is related to npm not being able to find a file.
2019-06-12T06:42:43.806Z [err] npm ERR!
2019-06-12T06:42:43.806Z [err] enoent
2019-06-12T06:42:44.038Z [err]
2019-06-12T06:42:44.038Z [err] npm ERR!      C:\Users\tonpi\AppData\Roaming\npm-cache_logs\2019-06-12T06_42_43_808Z-debug.log
2019-06-12T06:42:44.061Z rc=1

I have the same problem on Raspberry Pi 3b+.
Has everybody an idea to solve the problem? The same exceptions occurs when I try to Install the node-red-contrib-ttn over the Website NodeRed
pi@CL1NodeRed:~/.node-red $ npm install node-red-contrib-ttn
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/thethingsnetwork/api.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-08-09T15_15_43_731Z-debug.log

Is this the same as https://github.com/TheThingsNetwork/nodered-app-node/issues/44 ?

no, nodeRed starts with some warnings but I cant install in the Palette....

pi@CL1NodeRed:~/.node-red $ node-red-pi --max-old-space-size=256
9 Aug 18:00:36 - [info]
Welcome to Node-RED
9 Aug 18:00:36 - [info] Node-RED version: v0.20.7
9 Aug 18:00:36 - [info] Node.js  version: v10.16.2
9 Aug 18:00:36 - [info] Linux 4.19.42-v7+ arm LE
9 Aug 18:00:37 - [info] Loading palette nodes
9 Aug 18:00:41 - [info] Settings file  : /home/pi/.node-red/settings.js
9 Aug 18:00:41 - [info] Context store  : 'default' [module=memory]
9 Aug 18:00:41 - [info] User directory : /home/pi/.node-red
9 Aug 18:00:41 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Aug 18:00:41 - [info] Flows file     : /home/pi/.node-red/flows_CL1NodeRed.json
9 Aug 18:00:41 - [info] Creating new flow file
9 Aug 18:00:41 - [warn]

Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
9 Aug 18:00:41 - [info] Starting flows
9 Aug 18:00:41 - [info] Started flows
9 Aug 18:00:41 - [info] Server now running at http://<IP_ADDRESS>:1880/

@theArcher73 please see the problem in that issue; it's also related to installation, but then through CLI and not through the palette.

RPi support is now deprecated. We'll add guides for V3 to work with builtin Node-RED nodes (i.e. the MQTT input and output nodes)


Wrapped Windows Binaries panic exit when they are cryptographically signed

Bug description
Wrapped binaries on Windows are broken after they are cryptographically signed. The executable will always abort with the following error:
panicked at startpe/src/main.rs:98:9:
file signature is invalid

Cryptographic Signature is shown as valid by Windows.
Reproduction steps

Wrap a windows binary with wrappe
Execute the binary (if you are allowed to run unsigned binaries at all) => Works
Sign the windows binary (Windows Code Signing)
Execute the binary => Panic Exit with above error (stored in a txt file)

Signed Windows binaries now work with release 1.0.2.


Dataset initialization problems

Hello, thank you for sharing this work!
I see the default corpus in src/clean/make_dataset.py is corpus_chronology.
But this corpus doesn't have the in_30_corpus column. Should we use corpus_updated instead?

Hi @fosfrancesco, Huw is on holiday right now but he should be able to get back to you soon after he gets back! Glad you are interested in the dataset.

Thanks Francesco, this change should definitely be made for anyone hoping to build the database from source in the future :) To make things easier (given that YouTube links are liable to be taken down), I've now made the audio available by request on this Zenodo record. Hope you've been able to make use of this!

I was able to download the data and use the corresponding annotations. So all good from my side! Thank you for this work


bug: .tfsec directory is created when running with --no-module-downloads

Describe the bug
TFsec seems to create .tfsec directory inside the current directory, even if I explicitly specify --no-module-downloads option.
Moreover, it always seems to create it, even when I run tfsec --help.
To Reproduce
Run:
tfsec --no-module-downloads --concise-output ; find .tfsec

Result:

No problems detected!

.tfsec
.tfsec/cache

Expected behavior
.tfsec directory is created only when needed (i.e. when TFsec needs to populate the cache).
Screenshots/Output
Please see above.
System Info
$ tfsec --version
v1.19.1
$ terraform --version
Terraform v1.0.11
$ uname -irs
Linux 5.4.0-107-generic x86_64

Example Code
N/A
Additional context
N/A

Still a problem in v1.21.2


session error

I deployed balck candy with docker-composer and it works well when I visit it via my ip address. However, after binding my domain name and ip address using nginx, I am stuck on the login page with a "422 Unprocessable Entity" error when accessing the website via the domain name, but it works well via my ip address. I think it is a seesion error but I can't get it through. Any help will be appreciated!

Hi, please post your nginx config and docker-compose file,  so I can check if there is an issue with the config file. If you can get the error log of black candy, please post it too. Thanks

Thanks for your reply. Here is the configs and logs.
The docker-compose.yml:
version: '3.4'
services:
  app: &app_base
    container_name: 'blackcandy_app'
    image: blackcandy/blackcandy
    volumes:
      - ./log:/app/log
      - /media_data:/media_data
      - production_uploads_data:/app/public/uploads
    environment:
      DB_HOST: postgres
      DB_USER: postgres
      REDIS_CACHE_URL: redis://redis:6379/1
      REDIS_SIDEKIQ_URL: redis://redis:6379/2
      MEDIA_PATH: /media_data
    depends_on:
      - postgres
      - redis
  postgres:
    container_name: 'blackcandy_postgres'
    image: postgres:11.1-alpine
    volumes:
      - production_db_data:/var/lib/postgresql/data
  redis:
    container_name: 'blackcandy_redis'
    image: redis:4.0-alpine
    volumes:
      - production_redis_data:/data
  worker:
    container_name: 'blackcandy_worker'
    <<: *app_base
    command: bundle exec sidekiq
  web:
    container_name: 'blackcandy_web'
    <<: *app_base
    depends_on:
      - app
      - worker
    ports:
      - 8000:80
    command: nginx -g 'pid /tmp/nginx.pid; daemon off;'
volumes:
  production_db_data:
  production_redis_data:
  production_uploads_data:

The nginx.conf:
# For more information on configuration, see:
#   * Official English Documentation: http://nginx.org/en/docs/
#   * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 1024;
    multi_accept on;
    use epoll;
}

http {
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access.log  main;

    sendfile            on;
    tcp_nopush          on;
    tcp_nodelay         on;
    keepalive_timeout   65;
    types_hash_max_size 4096;

    include             /etc/nginx/mime.types;
    default_type        application/octet-stream;

    # Load modular configuration files from the /etc/nginx/conf.d directory.
    # See http://nginx.org/en/docs/ngx_core_module.html#include
    # for more information.
    include /etc/nginx/conf.d/*.conf;

    server {
        listen       80;
        # listen       [::]:80;
        server_name  brucehan.club;
        # root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        error_page 404 /404.html;
        location = /404.html {
        }

        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
        }

        location / {
            proxy_pass http://<IP_ADDRESS>:8000;
            proxy_redirect off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
    }
}

and, the production.log is filled with these following lines:
I, [2021-12-01T05:42:16.887552 #10]  INFO -- : [d08978f0-9086-4b8d-a3fc-b6dd25b2bb4f] Started GET "/" for <IP_ADDRESS> at 2021-12-01 05:42:16 +0000
I, [2021-12-01T05:42:16.888155 #10]  INFO -- : [d08978f0-9086-4b8d-a3fc-b6dd25b2bb4f] Processing by HomeController#index as HTML
I, [2021-12-01T05:42:16.889916 #10]  INFO -- : [d08978f0-9086-4b8d-a3fc-b6dd25b2bb4f] Redirected to http://brucehan.club/session/new
I, [2021-12-01T05:42:16.889998 #10]  INFO -- : [d08978f0-9086-4b8d-a3fc-b6dd25b2bb4f] Filter chain halted as :require_login rendered or redirected
I, [2021-12-01T05:42:16.890082 #10]  INFO -- : [d08978f0-9086-4b8d-a3fc-b6dd25b2bb4f] Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 325)

Looking forward to your reply！

The issue here is that you use custom nginx config, but didn't mount the config file in docker compose file.
In your docker compose file, you should use custom nginx config like this:
web:
    container_name: 'blackcandy_web'
    <<: *app_base
    depends_on:
      - app
      - worker
    volumes:
      - ./your_custom_nginx.conf:/etc/nginx/nginx.conf
    ports:
      - 8000:80
    command: nginx -g 'pid /tmp/nginx.pid; daemon off;'

Please note black candy has builtin nginx config https://github.com/aidewoode/black_candy/blob/master/config/nginx/nginx.conf .  This builtin nginx config
have some necessary config for black candy, So if you are not familiar with nginx config of rails, Please use this builtin nginx config as a template to modify.

Finally I sovled this problem. It is caused by a wrong ssl setting. Thank you so much!


(feat) xseed.sh: Add multiple download client support

I (and perhaps others?) use granular settings on the *arr side to send downloads to different client profiles, each with their own category/download folder/etc., which takes some burden off individual clients for supporting various features on their end. This PR:

Allows for specifying a comma-delimited list of download client names, instead of just one
Updates .env.sample with comments and examples (and also adds $LOGID_FILE, which might have been missing from #24)

Granular changes:

Variable names (code and .env): $[TORRENT|USENET]_CLIENT_NAME -> $[TORRENT|USENET]_CLIENTS
Loads client strings and converts to Bash array (tolerates leading/trailing spaces and saves/restores IFS)
Replaces case statements with a validation function (is_valid_client) and if/elif)

Feel free to discard this if it's outside what you wish for the script, I just made the modifications for my own setup and thought I'd give back :)

@zakkarry @bakerboy448 thank you both so much for your review!! I didn't mean to create extra work, but I do appreciate the thorough feedback and refactor. I'll do my best to keep those patterns in mind for any future contributions.

so, i did some pretty big cleanup on your commit history since you just applied suggestions from the page i think....
also instead of a merge i rebased for you.
also changed how env vars were handled a bit and the config section, but it should function correctly.
if you can try it out and let me know if you run into any issues i'd appreciate it.

Sometimes I wonder what business I think I have touching code at all :) Thank you so much for cleaning up my mess. I've confirmed the modifications work great on my end:
2024-11-18 10:57:45 [INFO] Environment variables loaded successfully
2024-11-18 10:57:45 [DEBUG] Using '.env' file for config?: true
2024-11-18 10:57:45 [INFO] Using Configuration:
2024-11-18 10:57:45 [INFO] TORRENT_CLIENTS="qBittorrent" "qBittorrent (Anime)"
2024-11-18 10:57:45 [INFO] USENET_CLIENTS="SABnzbd" "SABnzbd (Anime)"
2024-11-18 10:57:45 [INFO] XSEED_HOST=(IP)
2024-11-18 10:57:45 [INFO] XSEED_PORT=2468
2024-11-18 10:57:45 [INFO] LOG_FILE=(PATH)/xseed_db.log
2024-11-18 10:57:45 [INFO] LOGID_FILE=(PATH)/xseed-id.log
2024-11-18 10:57:45 [INFO] Detected application: sonarr
2024-11-18 10:57:45 [INFO] Processing torrent client operations for qBittorrent (Anime)...
2024-11-18 10:58:09 [INFO] Cross-seed API response: 204
2024-11-18 10:58:09 [INFO] Process completed successfully.

Sometimes I wonder what business I think I have touching code at all :) Thank you so much for cleaning up my mess. I've confirmed the modifications work great on my end:

I wouldn't go that far.
Appreciate the effort either way.


[rendering] Add annotation to map to inform user of what changed from one time step to the next

Sometimes it is not clear what changed when time is incremented or decremented. It would be helpful to have an information box communicate the change from one time to another.

This could still be a very interesting feature, but IMO it would require more than just "MITerr2 changed" and "INTerr3 was deleted". Ie. textual information that would need to be added to the database. Something like "Michigan Territory absorbed part of Indiana Territory under the Lewis Act of 1832 (made that up). Moving to post-phase-I to continue to consider.


Add possibility to add custom fields on user (and retrive them inside CUSTOM_ACCESS_TOKEN_SCRIPT variable)

Feature Description
Add possibility to add custom columns on authorizer_users table (like for examble an organizationId to create "groups" of users).
Describe the solution you'd like
Adding a column to authorizer_users table that is accessible inside CUSTOM_ACCESS_TOKEN_SCRIPT variable (inside user object).
Describe alternatives you've considered
An alternative could be concatenate the organizationID value to userID column (maybe concatenated with an _ for example) and do that splitting logic inside CUSTOM_ACCESS_TOKEN_SCRIPT variable.
Additional context
No additional context to explain.
Thanks for the hard work, this package could become the standard to handle Authorization & Authentication stuff! Look promising!

@Neosyn-Alex-Ferreli thank you for the feature request,
This is already in the road-map 👍

Hello, any news on this feature? Thanks!

@ayouboss this feature is not yet picked up. Soon will start working on it


can't receive message from each other

I'm sorry for asking a silly question

Thank you so much for sharing
After I run, can see the login successful,
But you cannot receive messages sent by the other party
Would you please tell me whether to send a failure or receive a failure, or do I have a local configuration failure?
The running environment is MacOS, openfire, 4.1.4

hey, did you resolve your problem ?


[CTA]: Expose dds-link-list-item-cta and dds-link-list-item-card-cta in the SB variant preview

The problem

Currently within the CTA component there are variants/previews accounted for the following CTA components (see below)

Text
Button
Card
Card Link
Feature

However, there are no variants/previews constructed for Link list item card CTA and Link list item CTA despite the existence of these components.

https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/src/components/cta/link-list-item-card-cta.ts
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/src/components/cta/link-list-item-cta.ts

The solution

I think it's important that we highlight these CTA components in the Storybook environment so that adopters like AEM can see how it's being used as we need to be able to define the CTA type within the CMS.
Adjust the SB stories of the CTA component to account for the following components.

Link list item card CTA
Link list item CTA

Application/website
AEM
Business priority
Low Priority = release date is not dependent on fix or not upcoming
What time frame would this ideally be needed by (if applicable)
No response
Examples
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@RichKummer I'd love to get your opinion on this improvement request from a design perspective.
cc: @ariellalgilmore

@proeung Those two components you mentioned simply extend features already provided by CTA. I don't believe there is an instance for them to ever be used on their own - they are more internal components. For instance:

dds-link-list-item-cta is used only as a CTA for content you can see in content-block-horizontal.
dds-link-list-item-card-cta is only ever used as an aside element in content-block-* components.

I do agree that the naming of them is a bit confusing. We could probably rename these, or at least mention them and their intended usage in documentation to avoid any confusion. But in any case, showcasing them in Storybook would probably only add to the confusion since they are not intended to be used in the same manner as the other CTA variations (and that may be changing too, we're in the process of auditing how these components are going to be offered).

@kennylam I think the confusion is largely due to the fact that the existing Link List component preview and docs don't have a reference to dds-link-list-item-cta. Just a bit of context, AEM is adopting the CTA component in order to leverage the CTA type that automatically renders the icon based on the selection made by the Content Editors are building.
For instance, they're assembling a layout where there's a <dds-card-cta> on top and <dds-link-list> below (see attached). Overall, I think this issue opens up a discussion that's long overdue about the usage of the regular <dds-card-footer> vs one with CTA ability and how to best document these features for adopters. Happy to jump on a call and provide detail on what we're seeing and how to best clean up the SB docs to make it clear to folks.

https://codesandbox.io/s/sad-euler-vowt9f?file=/index.html


Why padding in attention?

https://github.com/mit-han-lab/efficientvit/blob/f47de541358135d646779c90c64cd698cddd5394/efficientvit/models/nn/ops.py#L425-L428
Just wondering why padding one element in  v and then dropping the last element of out.

Have you figured it out? To me, the line 428 is somehow another form of equation(3) in the paper. out[..., :-1] is equal to QK^TV, and out[..., -1:] is the QK^T1, since in line 425, last channel of v is padded with all 1, K(V[-1:])=K. I don't have strict mathematical proof, but I think it is the basic idea of this implementation trick.

I have the same confusion.

Have you figured it out? To me, the line 428 is somehow another form of equation(3) in the paper. out[..., :-1] is equal to QK^TV, and out[..., -1:] is the QK^T1, since in line 425, last channel of v is padded with all 1, K(V[-1:])=K. I don't have strict mathematical proof, but I think it is the basic idea of this implementation trick.

It makes sense but I have no idea about what this trick is made for.   out = out[..., :-1] / (out[..., -1:] + self.eps) is actually $out = \frac{out}{1+eps}$, where eps is a small number.

Have you figured it out? To me, the line 428 is somehow another form of equation(3) in the paper. out[..., :-1] is equal to QK^TV, and out[..., -1:] is the QK^T1, since in line 425, last channel of v is padded with all 1, K(V[-1:])=K. I don't have strict mathematical proof, but I think it is the basic idea of this implementation trick.

I agree！


Add words support to Decoder

Decoder can now return array of words with start/end frames.

Thanks - any chance of some tests for this?


Feat/incenitve param

Description
Closes:

https://github.com/elys-network/issues/issues/547

What has Changed?
What specific problem were you aiming to address, and how did you successfully resolve it? If tests were not uploaded for this pull request or if coverage decreased, please provide an explanation for the change.

[x] Update incentive module abic logic to read tokenomic module time based inflation param and update its inflationary parameteres.
[x] Update unit tests
[x] Add param migrator.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Deployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.

Close this one  as the next PR I made contains all the commits in this PR.


Updating User Task tables comments

@porcelli @tiagobento It will be nice to have this included in the next release, as it's related to User Tasks :)


ImportError

Running v. 2022.9.0 on python 3.9.2 (raspberry debian bullseye).
I have imported your first Example, but I am getting this error:
Traceback (most recent call last):
  File "/home/boss/.node-red/assets/./testMower.py", line 16, in <module>
    from aioautomower import GetAccessToken, GetMowerData, Return
ImportError: cannot import name 'GetAccessToken' from 'aioautomower' (/usr/local/lib/python3.9/dist-packages/aioautomower/__init__.py)

Is it working now, and can this be closed?

Yes. Thanks.

Sent from my mobile phone. Sorry for typos -

Il Lun 5 Dic 2022, 12:54 Thomas55555 @.***> ha scritto:

Is it working now, and can this be closed?
—
Reply to this email directly, view it on GitHub
https://github.com/Thomas55555/aioautomower/issues/86#issuecomment-1337205150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBCQ3U73LQ23DSSEN3EUIDWLXJXDANCNFSM6AAAAAAQSY4HBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix: use the actual current locale instead of the default one

Proposal of the solution for the described #180 issue.
Closes #180

I'll check it out soon and get back with an answer.


Update to new Travis location

Good catch :+1:

@sagikazarmark I dont have permission to close issues and write to the repos. Is that intentional?

No, it's not. :) Lemme fix that :D

You are now super-god-admin.

Woah, that feels great! ;)


Allow configuration of the autodiscover module name

I am using another app that relies on reports.py autodiscovery. So either model_reports or my other app needs to allow this naming convention to be configurable. Ideally both of you :)

I hope this solve the issue
https://github.com/juanpex/django-model-report/commit/6d2fa6175149eb95a1a9829ae3412f38dabb1a32

Wow that was quick. :) - I was going to propose a setting but this is a much better way to do it.

;)


How to know folder size? (Google Drive)

https://rclone.org/drive/
https://rclone.org/commands/rclone_size/
I couldn`t found this feature in any programs...

what do you mean ?

plex@flix ~ $ rclone lsd gdrivecrypt:
-1 2017-02-22 05:00:10        -1 tmp
-1 2017-02-02 07:16:19        -1 movies
-1 2017-01-29 13:57:40        -1 series
-1 2017-01-29 13:56:44        -1 readme
-1 2017-01-29 13:56:39        -1 backup
plex@flix ~ $ rclone size gdrivecrypt:/backup
Total objects: 1104
Total size: 1069.608 GBytes<PHONE_NUMBER>237 Bytes)

Additionally there now is rclone ncdu which shows folder sizes nicely: https://rclone.org/commands/rclone_ncdu/
I will close this ticket now, but please reopen it if none of the mentioned features site your needs!


Duolingo app not working

This probably isn't the "done thing", but it's the only way I could think of to ping @saltedlolly and let him know his Duolingo app may be dead. (I don't have Twitter.)
It definitely is for me, I ran it in Pixlet and it was giving me 401 errors.
I did notice it said it might break at any time, and I don't necessarily expect it to be supported...
BUT, I'm whiny and entitled and I reallllly want it on my Tidbyt (my SO does, too). 😅
What are the chances of it coming back?

Ok, I have had a quick look and the API is still working but they may have changed something. See this test query: https://www.duolingo.com/2017-06-30/users/6364229/xp_summaries?startDate=2023-04-14&endDate=2023-04-24&Europe/London
One thing I notice is that the API query now seems to return the number of sessions completed each day, as well as the total time spent. It never used to include this data before, though I wished it did. I have always found setting an XP target a bit arbitrary, but it was the only option available. I much prefer the idea of setting a target of 5 lessons a day, or 30 mins a day of study. I might look into changing the Tidbyt app to do it this way. What do you think?
I'm pretty busy with other right now but I will get to it when I can.

I just pushed a fix, which should hopefully get it working for now. I will look into the improvements mentioned above.

Just been testing it out in Pixlet and I think you left in a debug thing?
Line 323:
    params = {
        'username': 'saltedlolly',
    }

Seems like it pretty much only shows your stats in its current state. 😁
But thanks for the quick fix!
I really like your ideas; "minutes a day" seems like a really natural way of doing it. 👍

Oops, I already removed that, but I must have for forgotten to update the PR.

I think they've killed it again 💔

I'm keen to pick this up and fix it but may need some assistance from someone who has had it working in the past to help test it and get it right.

I'd be happy to help you test it if you're up for it, I miss having it on my Tidbyt! ✌


Add stress test program for array and map

Closes #125
Description

Add minimal stress test program to detect data loss.
This is not a fuzz test.

[x] stress test array with Append, Insert, Set, and Remove ops
[x] stress test map with Set and Remove ops

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

Looks good! Would be great to combine the two modes and have arrays and maps be children of each other at arbitrary deeply nesting

I opened issue #157 for this.  I think it may require deep remove (currently implemented in Cadence).


Allow to focus on nested modal

Try to allow focus on nested modal with underlying modal being modal:true.
Demonstrated here http://plnkr.co/edit/93nfFuMG781Y0vVIf5UF?p=preview

Thanks @jackysee  , I've addressed this issue in a more flexible way using $.jqm.focusFunc  -- please reference #10 for examples.


I'm updating my project ERROR

I'm updating my project and getting this ERORR
TypeError: Cannot set property 'sendPacket' of undefined
I have used old uws before and now idk how to fix it. thanks for help

You have a recently modified repo https://github.com/ItsDavehere/MultiOgar that uses "ws" instead of "uWebSockets.js" but it has a bunch of custom defined 'sendPacket' functions in different files. If you are expecting any help you should probably post the full code or repo of what you are working on. Your error should tell you the file and line number so it should be easy to look up the problem. But there is no way to tell what you are doing from this issue which gives zero info

@hst-m is there anyway  I can get a version uws but of 2016 ?

its hard to update this cause the project has been stoped since 2016 and I keep getting errors the project supported uws and ws

This project is no longer a drop-in replacement to ws like it used to be in 2016. This means you have to put a bit more effort into adopting it, rather than just changing the two letters 'ws' into the three letters 'uws'.

I looked up old uws it says "Use of old uws releases is not recommended due to known bugs and problems". I would just re-code it with new uWS.js but it sounds like you don't know what you are doing so might as well use "ws" library instead and make it easy for yourself because that is what your repo is meant to use https://github.com/ItsDavehere/MultiOgar/blob/master/src/GameServer.js#L66

@hst-m thanks for your help man I will try to recode it


ref(tests): since Django 1.7 tests are auto detected based on test*.py

https://docs.djangoproject.com/en/1.7/topics/testing/overview/
When you run your tests, the default behavior of the test utility is to find all the test cases (that is, subclasses of unittest.TestCase) in any file whose name begins with test, automatically build a test suite out of those test cases, and run that suite.

Maintaining these imports was a pain. It's great that this isn't needed in newer versions of Django. :+1:


[tensoflow] Add truncated-normal operation

Description
Add support for the Truncated Normal  operation to TensorFlow only. An UnsupportedOperationException is thrown for all other engines.

Codecov Report

Merging #1005 (30b03f4) into master (8286930) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1005      +/-   ##
============================================
- Coverage     70.02%   69.92%   -0.10%
+ Complexity     5105     5101       -4
============================================
  Files           504      504
  Lines         22582    22601      +19
  Branches       2366     2367       +1
============================================
- Hits          15812    15803       -9
- Misses         5503     5538      +35
+ Partials       1267     1260       -7

Impacted Files
Coverage Δ

...pi/src/main/java/ai/djl/ndarray/BaseNDManager.java
53.46% <0.00%> (-0.54%)
:arrow_down:

api/src/main/java/ai/djl/ndarray/NDManager.java
56.75% <0.00%> (-1.99%)
:arrow_down:

...ain/java/ai/djl/tensorflow/engine/TfNDManager.java
79.36% <0.00%> (-11.79%)
:arrow_down:

...gine/src/main/java/ai/djl/dlr/engine/DlrModel.java
53.12% <0.00%> (-3.13%)
:arrow_down:

api/src/main/java/ai/djl/util/Platform.java
43.47% <0.00%> (-2.18%)
:arrow_down:

...g/src/main/java/ai/djl/serving/util/Connector.java
55.40% <0.00%> (-1.36%)
:arrow_down:

...ngine/src/main/java/ai/djl/mxnet/jna/LibUtils.java
42.23% <0.00%> (-1.25%)
:arrow_down:

...djl/training/listener/LoggingTrainingListener.java
87.61% <0.00%> (-0.89%)
:arrow_down:

...ne/src/main/java/ai/djl/mxnet/jna/StringArray.java
92.85% <0.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


New features plan

Hello,
I appreciate your dtable plugin, and I have 2 questions about it.
First, do you know if the "all_tables" (turns all tables into dtables) options will be fixed ?
And, is it in your plans to add buttons on the Dokuwiki editor to create (and edit) dtables?
Thanks for your answer.

I appreciate your dtable plugin, and I have 2 questions about it.
First, do you know if the "all_tables" (turns all tables into
dtables) options will be fixed ?
I hope it will be fixed one day, but currently I don't have time to do
it. You may try edittable plugin by Andreas Gohr. It allows to edit all
dokuwiki tables by default (although it works differently than dtable).

And, is it in your plans to add buttons on the Dokuwiki editor to
create (and edit) dtables?
Would you mean special button that will insert  tags in
your page source?

BR,
Szymon

I appreciate your dtable plugin, and I have 2 questions about it.
First, do you know if the "all_tables" (turns all tables into
dtables) options will be fixed ?
I hope it will be fixed one day, but currently I don't have time to do
it. You may try edittable plugin by Andreas Gohr. It allows to edit all
dokuwiki tables by default (although it works differently than dtable).

And, is it in your plans to add buttons on the Dokuwiki editor to
create (and edit) dtables?
Would you mean special button that will insert  tags in
your page source?

BR,
Szymon

Would you mean special button that will insert  tags in
your page source?

Yes, something like this.

It should be quite easy ;) I will try to implement it in the nearest future.

Fixed by #12


Mention required dependencies in Flutter test docs

Steps to Reproduce
https://flutter.io/testing/ doesn't mention these dependencies are required
dev_dependencies:
  test: '>=0.12.17 <0.13.0'
  flutter_test:
    sdk: flutter

Consider adding it to the default pubspec.yaml created by flutter create
See also http://stackoverflow.com/questions/40969166/flutter-unit-test-failed

https://github.com/flutter/website/blob/master/testing.md is the docs and https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/create/pubspec.yaml.tmpl is the template.  Fixing the docs is probably best.  FYI @sethladd

Patches definitely welcome. Thanks for pointing this out!


[ButtonBase] fix getting ripple size when clientX or clientY is zero

[x] I have followed (at least) the PR section of the contributing guide.

#12362
When click Button with clientX === 0 or clientY === 0 (ex. clientX = 10, clientY = 0), it has error Cannot read property '0' of undefined(becuase event.touches is undefined in click event).

How do you reproduce the issue?

How do you reproduce the issue?

click the clientX===0 or clientY===0  (not both) position of button what has ripples.

@jin60641 Thanks


Database seeder

Removes foreign keys from the JobResultSchema (we want to keep them even if there study or participants are deleted) and adds
participant_name,
participant_identifier,
participant_meta,
job_id,
job_position,
study_id,
study_name
to the 'data' row when it is stored.

I get some (new) warnings when running the unit tests. Since they pass I merged, but just fyi.
test.log


Add optional .png tracker instead of .js tracker for blockers

One of the first things I noticed when visiting my website after putting the freshlytics script in the page is that uBlock:Origin immediately blocked it (which I disabled shortly after for my site).
Because of this, I was wondering if it would be possible for freshlytics to "generate" a 1px by 1px invisible png file with the same filename as the ID token for the script that, when loaded, counts as a pageview. I would imagine that no actual .png would exist on the hard-drive anywhere, but when a request is put in for the freshlytics server, it would just return the data required for a png and tell the client requesting it that it exists, etc. etc.
The real hat-trick would be to make it so that you can embed both in your page, but it only counts it once if either-or-both load in the same go, in case javascript is being blocked.
If this isn't feasible or is outside the scope of the project, feel free to close this issue.

One of the first things I noticed when visiting my website after putting the freshlytics script in the page is that uBlock:Origin immediately blocked it (which I disabled shortly after for my site).

Thanks for the feedback! 😊 I think we should balance between what website owners want and what users want. I'm one of those users who would opt-out of product tracking even if I'm told it was collected anonymously 😅
However I don't want to be prescriptive. I think a better design would be to give the website owners a choice whether to use normal HTTP calls or to use 1px beacon images. I'm actually surprised ad blockers haven't blocked this yet 🤷♀

If this isn't feasible or is outside the scope of the project, feel free to close this issue.

Let's keep this issue open and let others chime in with their opinions 😊


Final Check: User Guide

Overview
I have checked through the user guide, and made changes mostly for formatting and grammatical aspects. In my opinion, it is ready for submission. However, I would need everyone @AY2223S2-CS2103T-T14-3/developers to help do a final check in case. Can you guys leave a comment once you have checked through?
Links
You can view the website version here.
You can access the pdf here: [CS2103-T14-3][InternBuddy]UG.pdf

The arrows in figure 7 might look a bit confusing? May need a bit more explanation

So far, everything looks good to me. I cant spot any mistakes. What about the others?

So far, everything looks good to me. I cant spot any mistakes. What about the others?

Hi @potty10, I updated two parts based on Shawn's addition and the comment from Chuhao. The pdf and link have been updated accordingly. Just for your information!
Addition 1

Addition 2


rewriting the docs of the IPCC color palette notebook

Some minor rewording of the docstrings in the color palette notebook

Could not review pull request. It may be too large, or contain no reviewable changes.

looks like timeout errors in CI, but PR looks great! I restarted CI, but if it fails again only due to timeouts, then I will merge.

Coverage remained the same at 91.395% when pulling 667ee1c6183710ddc9cf5db60e560cb8b64a138b on danielhuppmann:ar6_color_docs into b0e65627059b5c0575412af3ac1584a86e6e6f1c on IAMconsortium:master.

Coverage remained the same at 91.395% when pulling 667ee1c6183710ddc9cf5db60e560cb8b64a138b on danielhuppmann:ar6_color_docs into b0e65627059b5c0575412af3ac1584a86e6e6f1c on IAMconsortium:master.


DataExtract

Checklist

[ ] I'm reporting a new site support request
[ ] I've verified that I'm running youtube-dl version 2021.12.17
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that none of provided URLs violate any copyrights
[ ] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description

WRITE DESCRIPTION HERE

When you've worked out what you want, open a new issue.


[0.9.1] SortedSet's last() and tail() are broken for sets with non-natural order

Recent update to behavior of max() and min() in vavr 0.9.1 breaks behavior of some operations (I have found last() and tail(), haven't checked other).
This is because these operations use max() instead of maxBy(tree.comparator())
Test to reproduce error:
package io.whatever;
import static io.vavr.API.List;
import static io.vavr.API.SortedSet;
import java.util.Comparator;
import org.junit.Assert;
import org.junit.Test;
import io.vavr.collection.SortedSet;

public class VavrTest extends Assert {
  @Test
  public void test_SortedSet_last() {
    SortedSet<Integer> reverse = SortedSet(Comparator.reverseOrder(), 1, 2, 3, 4);

    assertEquals(List(4, 3, 2, 1), reverse.toList());
    assertEquals(4, (int) reverse.head());
    assertEquals(List(3, 2, 1), reverse.tail().toList());

    // works on 0.9.0, fails on 0.9.1
    assertEquals(1, (int) reverse.last());
    assertEquals(List(4, 3, 2), reverse.init().toList());

    // works on 0.9.1, fails on 0.9.0
    assertEquals(1, (int) reverse.min().get());
    assertEquals(4, (int) reverse.max().get());
  }
}

Thanks! Looks like 0.9.2 will appear soon...

As a side effect it results in class-cast exception when elements are not naturally sortable and init/last is called on SortedSet

@danieldietrich, regarding old min/max in TreeSet, these were using RedBlackTreeModule's min/max and thus were very fast. Probably to ensure there would be no performance hit from using Traversable.maxBy it would be better to implement last/head inside TreeSet.

@KTannenberg yes, that is important. I will consider that!


DO NOT MERGE: Jenkinsfile: Run Kubernetes runtime tests

Signed-off-by: Thomas Graf<EMAIL_ADDRESS>

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Jenkinsfile, line 13 at r1 (raw file):

                MEMORY = '4096'
                RUN_TEST_SUITE = '1'
		K8S = '1'

fyi looks like the indentation is using tabs

Comments from Reviewable

Merged with #639


Hotfix/embed links and lts tracker

This PR aims to release to production two fixes to the embed links on GHG Emissions and the LTS Tracker.
It brings other changes with it, but they should all be covered by FEATURE_FLAGS:

updates to the GHG Emissions module;
LTS Explorer;
NDC Explorer;
NDC Overview;
Compare All targets page;
Changes to the menu system;
Filtering by documents on the NDC Country page;

@kevinlustig are you happy for us to push to production the changes you made to the LTS Tracker?

when do you expect to hear from them on this? Should we not deploy to production until their go ahead? Thanks!

It appears the relevant folks are not in the office today. However, this is such a minor update and was approved in the form of a screenshot, so I don't think it should hold up the larger deployment. I think go ahead if the rest of the changes are ready to go.

Cheers!


chore(MegaLinter): Upgrade from v5.12.0 to v5.13.0

Add "fullmatch" to custom dictionary since the Python dictionary no longer allows arbitrary compounding of words by default. Remove "zstd" from custom dictionary, which was added to the fullstack dictionary upstream.
Upgrade all pre-commit hooks to latest.
ScribeMD/pre-commit-hooks 0.4.0 --> 0.5.0

Actually it looks like "fullmatch" was simply removed upstream. Arbitrary compounding of words was disabled by default in CSpell v5.21.0, and we are currently on v5.20.0.


React whispers don't compile using nested children

TS version: 4.2.4

This does not work:
    <oh-whisper label="Medical Records Request" onClose={() => {}}>
      <>
        <oh-markdown body={miette} />
        <oh-button
          onClick={() => {
            updateCount(count + 1);
          }}
          label="Another year of jail for Mother!"
        />
      </>
    </oh-whisper>

Build error:

[tsl] ERROR in /Users/michaellatman/dev/magenta/src/whispers/KeyboardWhisper.tsx(16,6)
TS2741: Property 'children' is missing in type '{ label: string; onClose: () => void; }' but required in type 'WhisperProps'.

Currently, we must do this:
  return (
    <oh-whisper
      label="Medical Records Request"
      onClose={() => {}}
      children={
        <>
          <oh-markdown body={miette} />
          <oh-button
            onClick={() => {
              updateCount(count + 1);
            }}
            label="Another year of jail for Mother!"
          />
        </>
      }
    />
  );

I believe that this behavior ended up just being an environment set up issue. We have better documentation for how to get JSX components working located here in our dev hub documentation. Hope that helps!
I'm going to go ahead and close this thread. If you still think there is an issue, please reopen it and we'll look further!


Renamed MergeWindowedOperator to WindowedMergeOperator.

@davidyan74 @tweise Please review.

@davidyan74 shouldn't these "tests" that look more like examples be moved under demos and fixed to actually run in the CI. Then we could also point to them as examples in the documentation.

@tweise I don't have preferences either way. But should that be separate from this PR?

@ShunxinLu please just change the package name. The location of "tests" should be separate and I can just work on that after this is merged

@davidyan74 @tweise The name of package is renamed to lowercases. Please take a look.

Please rebase to HEAD of master.
Please also remove the renames for the sample apps and create a JIRA to provide them as examples under demos.
rename library/src/test/java/org/apache/apex/malhar/lib/window/{impl => sample/merge}/KeyedWindowedMergeOperatorTestApplication.java (95%)
 rename library/src/test/java/org/apache/apex/malhar/lib/window/{impl => sample/merge}/WindowedMergeOperatorTestApplication.java (96%)

@tweise Does it mean that I only change the name of the interface in this PR? And move the sample apps under demos in another PR?

Yes, that's my suggestion. It would be great if you could pick up the demos work!


Add event to command

While navigating an ordered list, execute is called when a backspace or enter key is pressed. A plugin might want to know which key was pressed so it can decide how to handle the request. Event has been added to the command.

Here is the issue associated with this pull request:
https://github.com/guardian/scribe/issues/425

This seems reasonable to me, although it might be nice to be more consistent about passing an event to the Command in future.

Would you like me to change it? Or are you willing to merge as is?

@josh-infusionsoft I'll merge as is but if you have time to propose another PR that'll be great.


remove html labels unless tied to an input

semantically, labels are best suited for inputs. There are many labels throughout the app which should probably be divs or headings with a css class instead.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

We can probably just go for a summary tag like github does.

oh nice I didn't know about summary


Ian/quick fixes

Change description
Small fixes, but greatly improved quickstart, which also shows how you can pass pre-inferred data.

@credo-eli , check out the quickstart. There's a section on "precomputed values". See if you think that's enough of a solution.


feat: add k8s namespace indicator

Description
I needed to know on which NS i was at all time because I have many contexts and namespaces under my supervision
Motivation and Context
mistakes can always happen and I want to limit them where I can :-)
How Has This Been Tested?
I tested this on my terminal :-)
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

Noooooo so close to a perfect pr 😅
Will fix shortly
Thanks fir spotting the mistake

@davidpfarrell i fixed it

happy to share things i add for me


https://infinite.streamlit.app/ gives getting error: " Oh no. Error running app "

hi, i get
Oh no.
Error running app. If this keeps happening, please contact support.
when i try to connect to: https://infinite.streamlit.app/
it worked fine until yesterday.
What could be the reason?
Thanks
Christian

Hi Christian,
The app was temporarily offline after hitting resource limits due to high usage. Back online now: infinite.streamlit.app.
I will be investigating if recent changes have caused more frequent outages. You can also run the app locally with the provided instructions.

thanks
i try right now to install locally on my macbook
getting error that he dont find     exec(code, module.dict)
File
"/Users/christianalbertmueller/Dropbox/Orga/Projects/code/AI/infinite-bookshelf-main/main.py",
line 3, in
from groq import Groq

ModuleNotFoundError: No module named 'groq'
but its installed..
i will try to get it run :) maybe chatgpt can help.. lol
thanks for ur work. love it!
best from Munich/ germany
christian
On Sat, Aug 24, 2024 at 11:55 PM Benjamin Klieger @.***>
wrote:

Hi Christian,
The app was temporarily offline after hitting resource limits due to high
usage. Back online now: infinite.streamlit.app.
I will be investigating if recent changes have caused more frequent
outages. You can also run the app locally with the provided instructions.
—
Reply to this email directly, view it on GitHub
https://github.com/Bklieger/infinite-bookshelf/issues/54#issuecomment-2308551201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHOIT2XYD6SIVNN64OD7HTZTD6N3AVCNFSM6AAAAABNB5TD6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGU2TCMRQGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Did you install the package globally or in a virtual environment? Best practice is:
Create virtual environment for your installs
python3 -m venv venv

Activate virtual environment
source venv/bin/activate

Install packages to that environment
pip3 install -r requirements.txt

Run app
python3 -m streamlit run main.py

thanks,
with the help of Claude I got it fixed :)
best from munich
keep doing awesome.
christian
On Sun, Aug 25, 2024 at 12:10 AM Benjamin Klieger @.***>
wrote:

Did you install the package globally or in a virtual environment? Best
practice is:
Create virtual environment for your installs
python3 -m venv venv
Activate virtual environment
source venv/bin/activate
Install packages to that environment
pip3 install -r requirements.txt
Run app
python3 -m streamlit run main.py
—
Reply to this email directly, view it on GitHub
https://github.com/Bklieger/infinite-bookshelf/issues/54#issuecomment-2308554760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHOIT623XOBM47ELQVOQATZTEAHFAVCNFSM6AAAAABNB5TD6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGU2TINZWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Great to hear! Thanks for the kind words, and have fun building!
Ben

its a pleasure.
i am coder since 40 years and working right now on my own little AI app.
I can imagine the challenges u go through, also the fun :)
Maybe we can work once together.
I made the app mydaysx (period app) in 2008.
Little bit out of focus for coding now myself
and unwilling to pay a coder . had some less cool experiences.
So either waiting for the right people or the moment I can finish my
prototype.
Anyhow, thats just sharing from a coder to a coder.
Guys, i wish you best, you do great, what u do is innovative, its working
and it does add value. Most importantly.
Christian
On Sun, Aug 25, 2024 at 12:18 AM Benjamin Klieger @.***>
wrote:

Great to hear! Thanks for the kind words, and have fun building!
Ben
—
Reply to this email directly, view it on GitHub
https://github.com/Bklieger/infinite-bookshelf/issues/54#issuecomment-2308556281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHOIT4LEOXN7C7TVXO5HSLZTEBD5AVCNFSM6AAAAABNB5TD6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGU2TMMRYGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Activating hint floating window crashes treesitter

Hey there, I was hoping to bring some attention to an existing issue in the original repo:

https://github.com/anuvyklack/hydra.nvim/issues/104

It seems that activating a hydra with config.hint.type = 'window' seems to break treesitter integration somehow.
Setting any other kind of config.hint.type window luckily avoids the problem.
I can't seem to find any related error logs (via :messages or :LspInfo / :LspLog).  The behaviour I see is:

open buffer (triggering LSP to start / attach to buffer)
activate Hydra
exit Hydra
a. as I make edits, all my tree-sitter based plugins no longer seem to work (syntax highlighting on edited tokens breaks, and diagnostics etc don't pop up)
Open a new file
a. The opened file has no syntax highlighting
b. :LspInfo shows the old language server still running, but does not attach to the new buffer

I apologize for the lack of details, happy to provide a minimal reproducible example if needed.  I will also try to dig through the code when I have some more time to try and understand the root cause.  Thanks.
-- lazy-lock.json
{
  ...,
  "hydra.nvim": { "branch": "master", "commit": "3ced42c0b6a6c85583ff0f221635a7f4c1ab0dd0" },
  "nvim-treesitter": { "branch": "master", "commit": "d7353a6b72008b38aa873ace49aa97bea257941b" },
  "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
  "nvim-treesitter-textobjects": { "branch": "master", "commit": "48128953949b51235ccada535f021a505fdaf3df" },
}

# :version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068

can you give the output of :echom &ft before the hydra is opened, and then again after things have broken?

Can you send the hydra you're using, I can't reproduce this with my windows hydra, or my options hydra, both of which create floating hints.

Yep, definitely.  Actually, I was able to reproduce the syntax highlighting issue without having any other plugins installed... here's the entire config:
❯ tree ~/.config/nvim-hydra7
/Users/rperryng/.config/nvim-hydra7
├── init.lua
└── lazy-lock.json

files
-- init.lua

-- Install lazy
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.uv.fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    '--single-branch',
    'https://github.com/folke/lazy.nvim.git',
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- Setup plugins
require('lazy').setup({
  {
    'nvimtools/hydra.nvim',
    config = function()
      local hydra = require('hydra')

      hydra({
        name = 'Quickfix navigation',
        config = {
          invoke_on_body = true,
          hint = {
            type = 'window',
          },
        },
        mode = 'n',
        body = '<space>HQ',
        heads = {
          {
            'n',
            function()
              vim.cmd('silent! cnext')
            end,
          },
          {
            'p',
            function()
              vim.cmd('silent! cprevious')
            end,
          },
        },
      })
    end,
  },
})

-- lazy-lock.json
{
  "hydra.nvim": { "branch": "main", "commit": "3ced42c0b6a6c85583ff0f221635a7f4c1ab0dd0" },
  "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }
}

screencap

I'm unable to reproduce with the latest commit from main, is there anything keeping you from updating the plugin?
https://github.com/user-attachments/assets/de102b46-19dc-4004-a0c6-a13e0d6a1ba3

Aghh sorry, I didn't realize I was on an older version... i assumed that when I changed from using the original repo to the fork that lazy would pull the latest version but I guess as long as the commit sha in my lazy-lock.json was still valid that it wouldn't try to update it... really sorry about that.
It does seem the latest version works fine for the minimal example I gave but I still see the issues with my main configuration with all other plugins, I'll see if I can produce another minimal example with the latest version of nvimtools/hydra.nvim.


Broken link to Template Snap on Flask page

There is a broken link to the Template Snap on the Flask page.
Page: https://metamask.io/flask/
Broken link: https://metamask.github.io/template-snap/

Scroll to the "Built for Developers" section
Click "Try out a live Snap with MetaMask Flask here"

Result: Leads to a missing page. I believe the link should be "https://github.com/MetaMask/template-snap"

This has been fixed, thank you for reporting!


How to make an aster plot in angular using java?

Feature Proposal
How to make an aster plot in angular using java similar to the below image?

Possible Implementation
No response

Duplicate: #10346
Please don't repost issues that have been closed already.
As I stated in the discussion I made from this (#10347) you can use a polarArea chart for the slices. And write a custom plugin for the label in the center. For the outer slices you might be able to use the datalabels plugin


feat: 4674 - new UI for main image page; fallback image only for product icon

What

This is the first PR for #4674.
Other PRs will follow, that would include adding somehow the "OTHER" pictures.
The page where the UI changed is accessible from "edit product" page / "pictures".
Here we do not use fallback pictures anymore - only the picture that matches the specified language, in order to avoid confusion.
There's one single exception to that new "no fallback" rule: the product thumbnail.

Screenshot

fr
it
en

Impact on soon-to-be-removed carousel:

fr
it

Part of

#4674

Impacted files:

add_new_product_helper.dart: minor refactoring
add_new_product_page.dart: minor refactoring
image_field_extension.dart: minor refactoring
product_cards_helper.dart: removed references to fallback image - now we stick to the specified language; minor refactoring
product_image_carousel.dart: minor refactoring
product_image_gallery_view.dart: added a language selector; new UI
product_image_swipeable_view.dart: added an optional language parameter; simplified the code now relying only on ImageField
product_image_viewer.dart: minor refactoring
smooth_list_tile_card.dart: minor refactoring
smooth_product_image.dart: now we explicitly use the default image if needed

Codecov Report

Merging #4738 (b4314bb) into develop (2d90250) will decrease coverage by 0.04%.
Report is 12 commits behind head on develop.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           develop   #4738      +/-   ##
==========================================
- Coverage     9.90%   9.87%   -0.04%
==========================================
  Files          310     310
  Lines        15807   15846      +39
==========================================
- Hits          1566    1565       -1
- Misses       14241   14281      +40

Files
Coverage Δ

...lib/generic_lib/widgets/smooth_list_tile_card.dart
0.00% <ø> (ø)

.../smooth_app/lib/helpers/image_field_extension.dart
0.00% <ø> (ø)

..._app/lib/pages/product/add_new_product_helper.dart
0.00% <ø> (ø)

...th_app/lib/pages/product/add_new_product_page.dart
0.00% <ø> (ø)

...th_app/lib/pages/product/product_image_viewer.dart
0.00% <ø> (ø)

...ib/cards/product_cards/product_image_carousel.dart
0.00% <0.00%> (ø)

.../lib/generic_lib/widgets/smooth_product_image.dart
0.00% <0.00%> (ø)

...ib/pages/product/product_image_swipeable_view.dart
0.00% <0.00%> (ø)

...s/smooth_app/lib/helpers/product_cards_helper.dart
0.00% <0.00%> (ø)

.../lib/pages/product/product_image_gallery_view.dart
0.00% <0.00%> (ø)

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for your PR @monsieurtanuki :)
Just so I know where your PR stops, in terms of UI:
-> Will you do the accessibility thing?
-> … change the placeholder?
-> Add the title for the section?

Thanks for your PR @monsieurtanuki :)
Just so I know where your PR stops, in terms of UI: -> Will you do the accessibility thing? -> … change the placeholder? -> Add the title for the section?

@g123k The PR is "as is".
Let's work in an interative way: after it's merged let's fine-tune the display. There are already significant model changes in this PR. We can focus on UI details in another PR.

Everything looks good to me. I think that for "Other photos", you will be forced to use a GridView (since you have a variable number of products). And I wonder if it will not be simpler to directly use it for this part

Thank you @g123k for your review!
We don't need a GridView, a horizontal ListView.builder is good enough (cf. the carousel).
That said, there are still some details to clarify. But let's comment that on #4674 instead of that merged PR.


Sha3 and Shake

Also adds support for large/ endpoint

I guess we'll need some UT, but we can make a separate user story for that.  Does the old hash UT still work with no leaks ?


docs: Add user guide for previewing your message.

Expanded documentation for previewing your message and moved it to its own page. This documentation was previously at https://chat.zulip.org/help/streams-and-private-messages. I added a link to it from both the Streams and Private Messages documentation page as well as the table of contents (in index.md).

Automated message from Dropbox CLA bot
@maydhak, it looks like you've already signed the Dropbox CLA. Thanks!

Looks good to me.
@showell could you check it once again?

@maydhak I was unable to merge this, which probably means you need to fetch a new copy of master and rebase your branch again.  You may encounter a minor merge conflict.

Merged, thanks @maydhak!


fix(source): Syntax error when tls is enabled

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


Note compatibility issue

Add note explaining that this method is not supported under Excel for Mac (I'm testing with 15.19.1).

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/range-autofilter-method-excel.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.


Artist not removed from library when all local tracks removed and no streaming providers available

With only the local provider loaded if all tracks from an artist are removed then the library is updated on the next sync but the artist is not removed automatically.
Discussed in https://github.com/orgs/music-assistant/discussions/2159

Originally posted by accollie April 25, 2024
I think it would be cool to remove missing or edited files from the library on sync. For example if i change a file on my server or delete it. When i sync it should be removed from the music assistant library.

this one should be fixed in the next beta (b143) - but please test all (edge) cases

Sorry no change in behaviour noted

I have tested this a couple of time and works perfectly fine so maybe retest and if it still happens, try to spot some common factor when/why it happens ?

I can't see a pattern. I tried an artist that was only on one track of a various artists compilation album. For this one I just deleted the file from the NAS.
Then I tried an artist that only had a single song. For this one I removed the whole artist folder.
Then I tried an artist that had a single track on a single album. For this on I also removed the whole artist folder.
In all cases the artist remained with no albums or tracks.

I had artists remaining after deleting all the music providers, but also 4 albums, and 2051 tracks remaining - all greyed out.
My 2 cents - obviously, when deleting the providers, the associated content should be deleted as well.
When disabling the providers, I think the associated content should be hidden, the same way players are hidden in the "Players" tab when disabling a player provider.

confirmed fixed on my end on 2.1.0b3


Concurrently fetch metrics

Fixes #11

👍

@pioneerit can you please also review the proposed changes.

As for the PR LGTM.
Perhaps logic with error handling and exit on goroutine via <-ctx.Done() is something I'd double-check. AFAIK the cancel itself won't cause a stop.
At the same time by reading the code, if I understand the idea - the goal is to stop and exit on the first error.
I also looking that our test case didn't cover multiple metrics, so we're not testing concurrency at all.
@fogfish last one, not related to this PR, but just spot a magic number chunkSize. We don't have any comments or docs to it, and the values inside the func, is not the best practice. I'd create small issue and follow up on it.
P.S. I can try to help with test on Wednesday, as today and tomorrow pretty booked already

👍


[#699] Add Developer Certificate of Origin

Fixes #699
@Sanne, could you check if this is the right file, please? Thanks

yes that's the one. Thanks!


Create a documentation and presentation for the system components / architecture

[ ] Write a technical documentation how we want to solve the problems
[ ] Create a system and architecture diagram
[ ] Prepare an Excel presentation for  the project managers and communication agents to show for the potential supporters


Create Session not Working , no object returned

Trying to get  an EEG stream from the Emotiv but when function createSession is called no object is returned from the websocket. Please assist.
<!doctype html>

Emotiv Test

span id='connection'>

@ktladi21 , Can you send your sample project code ? the message above very hard to read.

It seems the subscription wasn't paid for by my company.