Adding overwrite functionality

Adds the ability to change the names of countries, if f ex you aren't satisfied what the United Nations are calling the country. Or if the maintainer of this lib is slow to update the data. 😁

Haha thanks @fannarsh , yes. I think this will sufficient 😄


compiler: Misc code generation fixes

Mostly emerged in the past month by developing the CUDA backend in devitopro
I've collected them here in this PR
PR equipped with tests (or updating the existing ones)

Merged


The docker failed to be started after cc 3.0 is reinstalled

[root@192 runtime]# sh -x .ci/install_cc_runtime.sh
...
Redirecting to /bin/systemctl start  cc-proxy.service
Warning: cc-proxy.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[root@192 runtime]# docker ps
CONTAINER ID        IMAGE                                          COMMAND                  CREATED             STATUS              PORTS                   NAMES
8425e4f99464        preugistry.service.ucloud.cn/cicd/deploy_log   "/bin/sh -c 'cron && "   45 hours ago        Up 19 seconds       <IP_ADDRESS>:1514->514/tcp   lxh_log_1
[root@192 runtime]# docker ps -a
CONTAINER ID        IMAGE                                          COMMAND                  CREATED             STATUS                            PORTS                   NAMES
772b3eb707c1        busybox                                        "/bin/sh"                37 hours ago        Exited (137) About a minute ago                           c2web
ba8dea7f1366        busybox                                        "/bin/sh"                37 hours ago        Exited (137) About a minute ago                           cweb
9ac96220087f        uhub.ucloud.cn/lxhtest1/ovs-plugin             "docker-ovs-plugin -d"   44 hours ago        Exited (0) 2 minutes ago                                  lxh_plugin_1
b5c6f106eb1f        uhub.ucloud.cn/lxhtest1/openvswitch:2.3.2      "/usr/bin/supervisord"   44 hours ago        Exited (0) 2 minutes ago                                  lxh_ovs_1
8425e4f99464        preugistry.service.ucloud.cn/cicd/deploy_log   "/bin/sh -c 'cron && "   45 hours ago        Up 22 seconds                     <IP_ADDRESS>:1514->514/tcp   lxh_log_1
965e67543a76        redis                                          "docker-entrypoint.sh"   11 days ago         Exited (0) 8 days ago                                     clearweb
a132cc4efe56        redis                                          "docker-entrypoint.sh"   11 days ago         Exited (0) 8 days ago                                     nauseous_swartz
1cd1c4a2dbaf        redis                                          "docker-entrypoint.sh"   11 days ago         Exited (0) 8 days ago                                     web
[root@192 runtime]# docker start 9ac96220087f b5c6f106eb1f
9ac96220087f
b5c6f106eb1f
[root@192 runtime]# docker start ba8dea7f1366 772b3eb707c1
Error response from daemon: Post http://%2Frun%2Fdocker%2Fplugins%2Fovs.sock/NetworkDriver.Join: http: ContentLength=301 with Body length 0
Error response from daemon: Post http://%2Frun%2Fdocker%2Fplugins%2Fovs.sock/NetworkDriver.Join: http: ContentLength=301 with Body length 0
Error: failed to start containers: ba8dea7f1366, 772b3eb707c1
[root@192 runtime]# docker ps
CONTAINER ID        IMAGE                                          COMMAND                  CREATED             STATUS              PORTS                   NAMES
9ac96220087f        uhub.ucloud.cn/lxhtest1/ovs-plugin             "docker-ovs-plugin -d"   44 hours ago        Up About a minute                           lxh_plugin_1
b5c6f106eb1f        uhub.ucloud.cn/lxhtest1/openvswitch:2.3.2      "/usr/bin/supervisord"   44 hours ago        Up About a minute                           lxh_ovs_1
8425e4f99464        preugistry.service.ucloud.cn/cicd/deploy_log   "/bin/sh -c 'cron && "   45 hours ago        Up About a minute   <IP_ADDRESS>:1514->514/tcp   lxh_log_1
[root@192 runtime]#
[root@192 runtime]# docker network rm mynet
mynet
[root@192 runtime]#
[root@192 runtime]# sudo systemctl restart docker
[root@192 runtime]#
[root@192 runtime]# docker start 9ac96220087f b5c6f106eb1f
9ac96220087f
b5c6f106eb1f
[root@192 runtime]# sudo systemctl restart docker^C
[root@192 runtime]# docker network create -d ovs mynet
5cd7b7050fabf9ae7a584c838445c595e774023f721db2a33071eed044faa14a
[root@192 runtime]# docker start ba8dea7f1366 772b3eb707c1
Error response from daemon: oci runtime error: ID already in use, unique ID should be provided
Error response from daemon: oci runtime error: ID already in use, unique ID should be provided
Error: failed to start containers: ba8dea7f1366, 772b3eb707c1
[root@192 runtime]#
[root@192 runtime]# docker ps
CONTAINER ID        IMAGE                                          COMMAND                  CREATED             STATUS              PORTS                   NAMES
9ac96220087f        uhub.ucloud.cn/lxhtest1/ovs-plugin             "docker-ovs-plugin -d"   45 hours ago        Up About a minute                           lxh_plugin_1
b5c6f106eb1f        uhub.ucloud.cn/lxhtest1/openvswitch:2.3.2      "/usr/bin/supervisord"   45 hours ago        Up About a minute                           lxh_ovs_1
8425e4f99464        preugistry.service.ucloud.cn/cicd/deploy_log   "/bin/sh -c 'cron && "   45 hours ago        Up About a minute   <IP_ADDRESS>:1514->514/tcp   lxh_log_1
[root@192 runtime]#

This is a script to install clear containers on a one-shot CI machine (the environment is discarded after the CI run), so it doesn't have to be idempotent. That said we still need to have a better way for people to install the cc runtime from source (issue #157).

@wuzhy, can you please reopen if this is still an issue with the beta release?


Typo

Oh hi Rich. May I have access to this repo so I can create a PR for a typo?

This repository is public and no additional access is required to create a PR. The "Contributing" section of the README (https://github.com/PagerDuty/security-training#contributing) has instructions for how you can fork the repository and then create a PR.
Any typo fixes are definitely welcome!
Thanks,
Rich


custom date field code

I desire the blank or 1/1/1990 returned from database to be a blank presented to the user in the custom date field.  Currently, the code gives back the current system date to the field instead of blank so the user thinks the date is really from the database (which is not true).  The validation says 'invalid date' for a blank field even though the date is not a required field.

jsGrid doesn't have built-in date field.
Anyway, if you need assistance, provide an example, so we can reproduce the issue.
You could fork this jsfiddle https://jsfiddle.net/tabalinas/kL291xp5/.

No activity


reproducibility PR2: add new statement creation

#931

add discriptions to your PRs - only for once you request review!

@jjmachan you're right. PR2 is to be merged after PR1. I cut a branch from PR1 because changes to be made was depended on each other.


Add proper counts to product option lists

This was a lot less work than I had previously anticipated.

Coverage increased (+0.001%) to 99.39% when pulling e68b104103f6b83a2efe133e9d9f408bb9cdadca on proper-counts into e6a65cdd61363e63e4c9590236dd3c875ad76139 on master.


added grpc topic

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[ ] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

gRPC is a modern and popular framework that is very widely used in a many projects.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Hello @MikeMcQuaid
can you review my PR?

Thanks for the PR @bialas1993!

can you review my PR?

It was the weekend, please be more patient in future, thanks!

Thanks for the PR @bialas1993!

can you review my PR?

It was the weekend, please be more patient in future, thanks!

You're right.. sorry about that 😢
Thanks for your CR!

No worries, thanks for the apology ❤

Ora=hooray =emotions,bonds=feelings-mood,.


Sui Fullnode issue on startup with the last devnet development

Steps to Reproduce Issue
Following the official update procedure :
$ cargo run --release --bin sui-node -- --config-path fullnode.yaml

Finished release [optimized] target(s) in 0.75s
Running `target/release/sui-node --config-path fullnode.yaml`
2022-08-08T08:06:13.252826Z  INFO sui_node: Default Jemalloc conf:
2022-08-08T08:06:13.253323Z  INFO sui_node::admin: starting admin server filter=info address=<IP_ADDRESS>:1337
2022-08-08T08:06:13.253387Z  INFO sui_node: Starting Prometheus HTTP endpoint at <IP_ADDRESS>:9184
2022-08-08T08:06:13.253429Z  INFO sui_node: Initializing sui-node listening on /dns/localhost/tcp/8080/http node=k#9bd3e78fb250bdd923e0e009e14582e08e75d54c9b9e0216feaa6c51ae9c3d1a
2022-08-08T08:06:13.253976Z  INFO sui_node: Jemalloc: 6 MB allocated / 9 MB resident
2022-08-08T08:06:13.321697Z  INFO sui_storage::lock_service: LockService command processing loop started
2022-08-08T08:06:13.322533Z  INFO sui_storage::lock_service: LockService queries processing loop started
thread '2022-08-08T08:06:13.460176Z ERROR telemetry_subscribers: panicked at 'called `Option::unwrap()` on a `None` value', /home/admin/sui/crates/sui-core/src/authority/authority_store.rs:1365:14 panic.file="/home/admin/sui/crates/sui-core/src/authority/authority_store.rs" panic.line=1365 panic.column=14
main' panicked at 'called `Option::unwrap()` on a `None` value', /home/admin/sui/crates/sui-core/src/authority/authority_store.rs:1365:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2022-08-08T08:06:13.462043Z  INFO sui_storage::lock_service: LockService command loop stopped, the sender on other end hung up/dropped
2022-08-08T08:06:13.462052Z  INFO sui_storage::lock_service: LockService queries loop stopped, the sender on other end hung up/dropped

Result
Application crash
Expected state
Application up and running
System Information

OS: Debian 11.4
Compiler: rustc 1.62.1

I just have to delete suidb


Minor doc fixes

For #2892

Mention the props getFillColor and getRadius in the Standalone doc example.

Fix broken links for observablehq

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

Coverage remained the same at 62.099% when pulling 867d8cc996c141d84f9af3a820a8e067269e3156 on kaushikb11:v7doc-fixes into 3f47a957e4634cfcec992746dffdc64f2dba670b on uber:master.


In line 85, beta power1 is None type, causing errors.

beta1_power = math_ops.cast(self._get_non_slot_variable("beta1_power", graph=graph), var.dtype.base_dtype)
No configuration changes on my end, throwing an error that beta power1 is None.

Looks like at some point eager execution is getting turned off. Not sure why though...


Homepage: Prize info

Total in prizes
More details (how many, etc)

Waiting for design

Completed at #24


opt Optimize instr by avoiding repeated traversal of strl.

Proposed changes
Previously, get_char_len was repeatedly traversed during execution. Now, it is precomputed for optimization.
    static int execute(const StringRef& strl, const StringRef& strr) {
        if (strr.size == 0) {
            return 1;
        }
        StringSearch search(&strr);
        // Hive returns positions starting from 1.
        int loc = search.search(&strl);
        if (loc > 0) {
            size_t len = std::min((size_t)loc, strl.size);
            loc = simd::VStringFunctions::get_char_len(strl.data, len);
        }
        return loc + 1;
    }

Issue Number: close #xxx

run buildall

run p0


Implements some fixes for Django 2.0

I think this breaks Python 2 and some earlier Django compatibility. Biggest fix was namespace issues I was having post Django 1.10.

2 Additions:
I'd also like to say, I am very impressed at how well the code worked. Thanks!
This probably shouldn't be merged into the master

I played around with this a bit today and your changes worked great with python 2.7, 3.6 and Django 1.11/2.0 so I squashed your commits and merged.  Sorry it took so longer to take a look.  I just don't have enough free time.

Hi folks, django-baker was really useful for getting started on a recent project where we began with a postgres db, reverse-engineered with python manage.py inspectdb and then built the views, urls and templates with baker. I made my own edits to handle py3.6 so great to see this in master. Thanks 👍


Miner not mining the right ore after custom ore gen was made.

Issue description:
I'm not sure how to example my issues sorry.
I have used COFH world to make a different spawn rate of mekanism salt for 2 different dimensions as a test. When I set the digital miner to mine salt in dimension B it worked fine but when I asked the miner to mine salt from dimension C it mined graval. I then went to the overworld and found that the miner would mine salt with no issues. I did a bit more testing and found that when I blacklist a dimension so I can add a different spawn rate for salt the digital miner would not miner the salt from the blacklisted dimenison. This also happens with mekanism copper as well. (The ore dose spawn in the right dimension with no issues)
Version (make sure you are on the latest version before reporting):
Forge <IP_ADDRESS>55
Mekanism 1.12.2-<IP_ADDRESS>5
COFH world 1.12.2-<IP_ADDRESS>
If you would like the COFH world json then let me know.

Please post all relevant configs including the "blacklist", and show your filter setup in the erroring dimension.

COFH json
https://pastebin.com/ZBFZn6q6
If it helps I can zip my modpack up it very small.

Looks ok on first glance. Can we see the digital miner filter config in the dimension where you're getting gravel?

I'm using more then one filter because I was testing to see if it was something I was doing wrong.

Material filter is your problem; it will mine anything that has the block material based on sand.

Ok so that fix that issues but now. I thinks there is no salt when there is.

and you know this because?

Keep in mind, the Digital Miner gui is not functioning as an AND operator, but an OR. If the block matches one of them, it processes it.
Please show your Digital Miner settings after the previous mentioned chagne & a visible block of salt underneath the miner (so you're sure there is salt)

I found the issues the dimension mod was changing the block ids. Also there was salt 30 blocks down from the miner. Thank you guys for all of your help.


log to stdout by default

Can we log to stdout by default if no log file is specified? I know i can set log file to /dev/stdout but would prefer this to be the default when user explicitly chooses not to set log file. This is perfect for docker containers. Currently, stdout is only used if log level is set to verbose:
	if verbose {
		log.SetOutput(os.Stdout)
	}

I can PR this if you agree. Good job on this project btw!

@gesquive if your interested in a docker image build, please see this: https://github.com/gbolo/dockerfiles/tree/master/digitalocean-ddns

Thanks for the quick update on this @gesquive


⚠ Fetchers has degraded performance

In b16a4f8, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 284 ms

Resolved: Fetchers performance has improved in 2acf8de.


Flame graph percentage display

Overview

Adds a dropdown inside the info box which displays stack percentages (top and overall)
Centres text inside info box
Stacks text inside info box on smaller screens with ability to scroll to see all text
Adds titles to each text element inside info box in case of massive path or function string

Before
https://upload.clinicjs.org/public/c748ff5b367a00825f2f8157d85d70c54402cf628b02faa5ca9437a92e63bcb3/49653.clinic-flame.html#selectedNode=207&zoomedNode=&exclude=8000&merged=true
After
https://upload.clinicjs.org/public/eb6802c7c59ef7005c46ae87e42d1d46fc7f2693bbeb099a8396ea945755c0e4/49653.clinic-flame.html#selectedNode=207&zoomedNode=&exclude=8000&merged=true

@AlanSl @cuginoAle would be good to double check this works still with the UI updates and whether it might conflict with other percentage work.
I've rebased and uploaded a profile here: https://preprod.clinicjs.org/public/ee6adfc257d89e99723d625ca321d3f04f112156b86b712f2aa298acee2048f0/5338.clinic-flame.html#selectedNode=946&zoomedNode=&exclude=83c0&merged=true
If all looks good to you still, might be nice to get this out since it's been hanging around a while :)

I noticed the following z-index issue:

I believe the bug is not related to this PR though, it might have been there since day 1 and we didn't notice it before ;)

We're creating a dev branch for https://github.com/nearform/node-clinic-flame/pull/85 and related new features - when that PR is merged into dev can you make this point against dev instead of master and update it, moving the %s box to the new space on the right-hand side, then we can (finally!) merge it

We're creating a dev branch for #85 and related new features - when that PR is merged into dev can you make this point against dev instead of master and update it, moving the %s box to the new space on the right-hand side, then we can (finally!) merge it.
And then the same with #75

Awesome! Will do @AlanSl 👍

@AlanSl @cuginoAle I've moved the dropdown into the space freed up by the footer work. Although it's not longer part of the info-box visually, the info-box hooks into a lot of functionality which made it more suitable to living within that element, even though stylistically it sits inline with the selection controls.
Updated here: https://preprod.clinicjs.org/public/3be33843bfda13bd4083c9cd723a89862618c11a0d2d42594e1773497273b153/5338.clinic-flame.html#selectedNode=938&zoomedNode=&exclude=83c0&merged=true

Tiny tweak: can you make the height and vertical alignment of the text match the buttons on the left? Then good to go

My mistake, was sure I'd fixed that 🤔
Updated: https://preprod.clinicjs.org/public/f29ad0a0b7cd0028451afe52536e6a725b5da36a87fcbd1c94225bbcef5cff81/5338.clinic-flame.html#selectedNode=938&zoomedNode=&exclude=83c0&merged=true


dd-agent:mesos - fixes monitoring of Mesos agents

Dynamically fetches the list of mesos agents from mesos-dns and alters /etc/dd-agent/conf.d/mesos_slave.yaml accordingly.
This still under-reports the number of master nodes, but I'm not sure how to fix that.
You can try this by launching the datadog package in DC/OS and replacing the docker image in the marathon config with bowbaq/docker-dd-agent:mesos.

Hey @Bowbaq thanks for your interest in this feature.
We're going with a different approach for this as you can see in #103 so I'm going to close this PR. The new package should be updated in the DCOS universe soon, let us know if you have any question.
Thanks again!

@Bowbaq 's fix is working for me(and the default datadog agent isn't).
The default agent is trying to call the slave's hostname - but since the container can't see the hostname, it can't reach it. The fix uses the hosts private IP instead and that works well.

Hi @Yanivro
Thanks for the feedback. I just merged #110 that falls back to another method if the hostname thing doesn't work: using the default gateway of the container to reach the host/slave. It's released under the 11.3.585 tag on dockerhub.
Could you let us know if that works for your setup? Otherwise I'll reopen this PR and give it some feedback, but if we can avoid installing more things (dnsutil) in the container that would be better.
Thanks again.

Hey @hkaj , Thank you for the quick response.
I have not installed anything on the slaves but this still doesn't work.
It's trying to call this address : http://<IP_ADDRESS>:5051/state.json Which I am not sure what it is(maybe the default gateway?) But that still doesn't work. Only the IP of the slave works(like in @Bowbaq 's fix.

@Bowbaq @hkaj
I've tried using $HOST instead of the dnsutils way and that works for me, since $HOST is resolvable from inside the container.

@Yanivro thanks for staying on top of this :)
The $HOST env variable seems like a much better solution indeed, and as far as I can tell it exists on every setup, as long as the agent runs as a task.
I'll prepare a build that uses it shortly.
Thanks again!


c11_atomics: Fix to iteratively reduce workgroup size  (#939)

The generator function for atomic_fence uses the current workgroup
size to determine the number of non atomic variables per thread
in the kernel. The kernel should hence be regenerated when the
workgroup size changes.
However regenerating the kernel can itself change the workgroup
size. This change introduces an iterative loop that reduces the
workgroup sizes by 2 each time re-generating the kernel until
we find one that works (or exit at groupsize == 1)
Change-Id: Ic32fe967e32de6643e01c6775f4bddbcad0a299a

@kpet @bashbaug  Please review. This is a fix that was originally merged to the cl20_trunk branch on gitlab (links to old bugzilla issue and fix on the issue description) and not propagated to the 2.1 and future branches.
Please add anyone else that you think needs to be on the review.

Copying notes from issue description for reviewers:
Original issue:
https://www.khronos.org/members/login/bugzilla/show_bug.cgi?id=15676
Original fix merged to cl20_trunk:
https://gitlab.khronos.org/opencl/conformance-tests/-/commit/b71bb46fe0dd4aee9f5d74571a6b6982de24cf96
I've re-summarized it below.
The generator function for atomic_fence uses the current workgroup size to determine the number of non atomic variables per thread. However, when the workgroup size is modified (after the kernel is generated) we don't re-generate the kernel, leading to mismatches during verification.
Following is the sequence in file
https://github.com/KhronosGroup/OpenCL-CTS/blob/master/test_conformance/c11_atomics/common.h
1)
CurrentGroupSize is set to the maximum workgroup size allowed by the device
// set up work sizes based on device capabilities and test configuration
error = clGetDeviceInfo(deviceID, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(groupSize), &groupSize, NULL);
test_error(error, "Unable to obtain max work group size for device");
CurrentGroupSize((cl_uint)groupSize);

The CL kernel is generated. The generator function for the kernel uses the workgroup size in determining NumNonAtomicVariablesPerThread(). See calculation of NumNonAtomicVariablesPerThread in test_atomics.cpp

Workgroup size is modified depending on the max permitted for the kernel
// tune up work sizes based on kernel info
error = clGetKernelWorkGroupInfo(kernel, deviceID, CL_KERNEL_WORK_GROUP_SIZE, sizeof(groupSize), &groupSize, NULL);
test_error(error, "Unable to obtain max work group size for device and kernel combo");
If the workgroup size changes in step 3 above, the kernel needs to be re-generated. If not, the verify function uses the modified (kernel_max) workgroup size to calculate the reference values whereas the kernel was generated using the original (device_max) workgroup size.

Adding to the OpenCL 3.0 board for more visibility, though this is not a "must fix for OpenCL 3.0" issue.

Thanks for verifying @Jeremy-Kemp
@kpet  can you merge this? I'm still not sure about the protocol for merging stuff.


Support setting buf_group parameter for Read and Recv opcodes

I'm not quite sure where it makes the most sense to expose this value - on the Opcode or on the Entry. With this PR, I expose it as an option on the Opcodes.

Opcode is good, thanks.

I will merge the linux-5.8 branch and release a new version at the weekend.


Debugger stopped working after upgrading vscode to Version 1.2.1

VSCode Version: 1.2.1
OS Version: Fedora 23

Steps to Reproduce:

Write PHP code and press F5 to run PHP debugger extension
Error:  Debug adapter process has terminated unexpectedly

@forethoughtde May I know are you using any extension for PHP debugging?

I am using PHP Debug 1.9.1

Thanks @forethoughtde
I would suspect this could be a bug in the extension. Please report the same on the extension.


Add controller code

Split of https://github.com/knative-sandbox/net-gateway-api/pull/152
This patch adds controller code.
https://github.com/knative-sandbox/net-gateway-api/commit/7fd2426c6214a7bd4be2fe083f6ad283176962da is the main code and the rest of code are auto-generated code.

@markusthoemmes @ZhiminXiang @carlisia This is ready for another review :pray: Could you please take a look?

Thank you! Updated.


#1160 Specify -var-file before -var

Description
Fixes #1160 .
Specify -var-file before -var parameters for Terraform. This allows to override variable values from var file.
TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)
Specify -var-file before -var parameters for Terraform.

@denis256 @zackproser Hello!
If you have any concerns or suggestions please tell me, I would make changes asap.


sudden undervolt issues

I've had a Raspiblitz running since last September fairly flawlessly. It's now running 1.2.
About a month ago, it started acting acting funny - Zap wouldn't connect and it would seeminly freeze.
All of a sudden, I'm getting lots of undervolt warnings.

My HDD is run from a powered hub.
I have two 5v 3a powersupplies that I've been switching out, but both of them are showing the issue.
I live in Japan and the 5v 3a power supplies seem to be the best to be had.
I wonder if there isn't an error in the pi that's causing the sudden increase in undervolt warnings.

Also, I note that in the image on this github, the CPU usage is .67 or such. Mine is currently 1.84, 1.92, 2.03. Perhaps this is leading to the problem?
Thanks in advance for any help you can offer!!

Also, I note that in the image on this github, the CPU usage is .67 or such. Mine is currently 1.84, 1.92, 2.03. Perhaps this is leading to the problem?

That should be OK .. but it can be that because of your power issues your CPU speed gets trottled by RaspberryPi inner logic and so you end up with higher CPU usage in general.
That your HDD is powered by a hub is good to protect against data corruption and may be a hint that there is in general something with your raspberryPi off. Have you tried the change the RaspberryPi board? You can simply power down, exchange board and power up again - should start where it left off.

Hoy!
Thanks for the comment. I really appreciate it. I have thought that there might be something off with the pi itself, but have been trying all other fixes first.
They aren't that expensive, so...
Love your work and can't wait for future iterations! Keep it up.


[WIP] Source protocol load_many

In response to really slow load times and the conversation in slack I'm submitting this PR as WIP. It's not nearly finished.
Basically I need some help. To get the specs to pass there is behaviour that I'm not really sure how to ensure during a batch operation.
Here is the last comment on the thread for context:
I’m going to work on a PR today. I make heavy use of dataloaders in my resolvers. The load_many was ultimately the cause. The DataLoader.Source protocol does not allow for load many, so the source is forced to treat every item individually via load rather than taking care of a batch operation efficiently within the source. I’ll provide numbers in the PR but the difference I noticed last night was around 20s for 500 top level items (+combination of load one and load manys) by having more efficient batch operations. The load/load_many calls were all >1ms with many of the load_many calls running into the 100s of ms depending on the number of items before the patch and all < 1ms after the patch. I think from memory my biggest call to load many clocks in at about 180 ids which was well over 200ms just for the load_many call.
[(x500)
     load_one
     load_many (between 50-180 ids per top level record)
     load_one
  ]

@hassox can you elaborate on what this provides over https://github.com/absinthe-graphql/dataloader/blob/0ea3560a1c6d2b7f47e90abe95ed2c402114fc0c/lib/dataloader.ex#L122 ?

@benwilson512 not sure what you mean

There is already a Dataloader.load_many function. What does the load_many function on the source do that can't be done already?

@benwilson512 Here's some of the original detail from Slack:

hassox: I’m going to work on a PR today. I make heavy use of dataloaders in my resolvers. The load_many was ultimately the cause. The DataLoader.Source protocol does not allow for load many, so the source is forced to treat every item individually via load rather than taking care of a batch operation efficiently within the source. I’ll provide numbers in the PR but the difference I noticed last night was around 20s for 500 top level items (+combination of load one and load manys) by having more efficient batch operations. The load/load_many calls were all >1ms with many of the load_many calls running into the 100s of ms depending on the number of items before the patch and all < 1ms after the patch. I think from memory my biggest call to load many clocks in at about 180 ids which was well over 200ms just for the load_many call.

hassox: I just went through my query and made sure to map out all the dataloader resolvers. There weren’t that many different ones in this query. I have other queries that have more and more nested ones.

[(x500)
     load_one
     load_many (between 50-180 ids per top level record)
     load_one
  ]

hassox: I’m having a bit of trouble working what the behaviour should be for missing items when loading many.

@hassox is this for a custom source or the built in one? I'm not sure what optimizations really exist for load_many since there's no guarantee that each item passed via many is homogenous. In each case it'll take N calls within Dataloader.Ecto to figure out each item is, set defaults, build the key etc.
Can the PR start with some benchmarks indicating the problem?


Error in dplyr::mutate(): ! Problem while computing Weather = purrr::pmap(...).

Hi, i have the next error with chrips function. I think chirps package is a new version (Documentation for package ‘chirps’ version 0.1.4)
df.weather.chirps <- weather.chirps(df.input, dpp = 30)
Error in dplyr::mutate():
! Problem while computing Weather = purrr::pmap(...).
Caused by error in server %in% c("CHC", "ClimateSERV"):
! argument "server" is missing, with no default
Run rlang::last_error() to see where the error occurred.
Called from: signal_abort(cnd, .file)
Browse[1]>
I try to put server ="CHC", but don´t work.
I read the documentation but i didn´t find the function whather.chirps

Hi, Wilson.
Thanks for reporting this issue.
I just tried and figure it out to fetch the data.
To solve it, please, replace the get_chirps() at L 432 with the following:
get_chirps(data.frame(lon = c(lon), lat = c(lat)),
                   c(as.character(sta), as.character(end)),
                   server = "CHC")

Otherwise, just download the code again in ~30 min. I will submit the change to the Rmd file.
Cheers.
ADRIAN

Cool, solve it! Thank you!


Problem with js_of_ocaml type checking

Not entirely sure if this is a problem but it seems like merlin accepts the following snippet:
let () =
  (jsnew Js.date_now ())##getTime()

But compiling it with js_of_ocaml will reject it with
Error: This expression has type float but an expression was expected of type unit

This problem is fixed in master, but you said there was still problems with completion.
Could you be more specific?

Hmm it seems to be fixed. Will re-open if I encounter a problem again.


Allow use of fully qualified class names in refs

I'm working on a system that may ingest JSON messages with overlapping simple class names.  As such it would be nice to use the fully qualified class names.
I'm not a Scala developer so if there is a more idiomatic way of doing this, please let me know and I'll update the PR.  Ditto if there are specific tests you would like added.

Thanks! Looks good. I'll test it soon.

Can you please do an interactive git rebase, to "squash" the two commits into a single one? Then I'll merge it.

Done 👍


Openvswitch driver

We should have one of these for the HaaS.

It looks to me like #347 makes the same request for headnode traffic (with additional detail). Please re-open if this request would not be encompassed within #347.


TypeScript failing the build

Could one of the TS maintainers please look into this: https://travis-ci.org/paypal/downshift
[test:ts] typings/index.d.ts(118,2): error TS1036: Statements are not allowed in ambient contexts.
[test:ts] npm run test:ts --silent exited with code 1
--> Sending SIGTERM to other processes..

Filed a PR for this.

:tada: This issue has been resolved in version 2.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Introduce DirectiveSetBuilderInterface to allow runtime modification

This PR introduces the DirectiveSetBuilderInterface and the default implementation ConfigurationDirectiveSetBuilder proposed in #347, to allow for runtime modification of the CSP directive sets. The major changes are:

Introduction of DirectiveSetBuilderInterface and ConfigurationDirectiveSetBuilder;
The ContentSecurityPolicyListener constructor now takes DirectiveSetBuilderInterface instead of the directive sets directly;
Changes to NelmioSecurityExtension to provide the configuration to the ConfigurationDirectiveSetBuilders, which in turn are injected into ContentSecurityPolicyListener (instead of the directive sets).

This adds a layer between the configuration (and the directive sets built from it) and ContentSecurityPolicyListener. This layer provides an integration point for application code to modify the directive sets based on the request (e.g., in a controller or a kernel event listener).

Sorry but I won't manage to review this one right now, seems solid at first sight but I'd rather give it some more thought.


development dependencies issues

Hello world :-)
I have noticed that recent pyOCD handles dependencies strictly. That causes problems when solving / developing multiple other dependencies - for instance I am now fixing the pyocd-pemicro / pypemicro and pyusb on BSD platforms. Installing test / development versions of these dependencies causes problems with running and testing pyOCD.
pkg_resources.ContextualVersionConflict: (pyocd 0.8.1a2.dev1620 (/home/user/venv38openbsd/lib/python3.8/site-packages/pyocd-0.8.1a2.dev1620-py3.8.egg), Requirement.parse('pyocd>=0.30.0'), {'pyocd-pemicro'})

Hi @cederom! 😄
It's a tricky situation. I ended up using very specific dependency versions for certain packages after experiencing a number of bugs caused by new versions of downstream dependencies. With packages that have versions >=1.0, you can rely on semantic versioning. But versions <1.0 may make incompatible changes with a minor version bump (at least, that's the reality).
If you have specific suggestions for improving the situation, I'd like to hear them!

Hello @flit :-) Maybe some sort of development switch just to disable dependencies for testing? I don't know :-) :-)

I reviewed the dependency specifications again, and it looks pretty good.
    capstone>=4.0,<5.0
    cmsis-pack-manager>=0.2.10
    colorama<1.0
    hidapi; platform_system != "Linux"
    intelhex>=2.0,<3.0
    intervaltree>=3.0.2,<4.0
    naturalsort>=1.5,<2.0
    prettytable>=2.0,<3.0
    pyelftools<1.0
    pylink-square>=0.8.2,<1.0
    pyocd_pemicro>=1.0.0.post2
    pyusb>=1.1.0,<2.0
    pyyaml>=5.1,<6.0
    six>=1.15.0,<2.0

These are all specified about as loosely as can be while still being stable (assuming SemVer is followed). All dependencies are allowed to be upgraded up to the next major revision, except hidapi and pyocd_pemicro that have no upper limit.
My strong recommendation is to use a Python virtual environment to isolate packages. This still doesn't completely resolve potential issues, but is a major improvement. I'm even planning to update the install docs to recommend using pipx.
Fyi, pyocd will be moving to PEP 517 sometime soon. Everything currently passed as parameters to setup() will move to static pyproject.toml and setup.cfg files. (The only reason I haven't switched yet is it's not clear to me how to handle the zipping of SVD files currently done in setup.py.)

Hello @flit :-) Just a quick question, as Capstone will finally make a release soon that fixes out-of-the-box build on BSD, will 5.0 be compatible with 4.0 or would that require some additional work in pyOCD ? :-)
https://github.com/capstone-engine/capstone/pull/1750


Azure China Support?

Hello maintainers!
We are now in the early phases of assessing Azure China in a single subscription. In preparation for a potential upscaling, we wanted to be a bit proactive and ask here how well this repository and the services used within are supported on Azure China.
Management groups, policies, Defender for Cloud, log analytics workspace, etc. These foundational building blocks should hopefully just work?
I'm aware it's a different story for many other services, but at least terraform-azurerm-caf-enterprise-scale should be fully covered? Or are there any caveats?
Thanks!

Hi @binaryPUNCH
The module works well with Azure China, however you must exclude the policy definitions that do not exist.


🐞 - Errors after updating to v 3.50.0 in Angular 14

Playground Link
No response
Description
After updating Taiga UI to 3.50.0 version, when I execute ng serve on my application, the following errors are displaying in terminal:
Error: node_modules/@taiga-ui/core/directives/hint/hint.directive.d.ts:11:25 - error TS2314: Generic type 'PolymorpheusComponent<T, C>' requires 2 type argument(s).

11     readonly component: PolymorpheusComponent<unknown>;
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@taiga-ui/core/directives/hint/hint.directive.d.ts:19:57 - error TS2314: Generic type 'PolymorpheusComponent<T, C>' requires 2 type argument(s).

19     constructor(el: ElementRef<HTMLElement>, component: PolymorpheusComponent<unknown>, hintService: TuiHintService, options: TuiHintOptions, activeZone?: TuiActiveZoneDirective | null | undefined);
                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@taiga-ui/core/interfaces/portal-item.d.ts:6:25 - error TS2314: Generic type 'PolymorpheusComponent<T, C>' requires 2 type argument(s).

6     readonly component: PolymorpheusComponent<any>;
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~

Angular version
14.0.0
Taiga UI version
3.50.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Could you try these steps?

make sure there's no @tinkoff/ng-polymorpheus in your package. Json
remove node_modules
remove package-lock.json
do a clean npm i

It fixed! Thanks


multiline strings

This is painful.
const vertex_shader_text: []u8 =
"uniform mat4 MVP;\n" ++
"attribute vec3 vCol;\n" ++
"attribute vec2 vPos;\n" ++
"varying vec3 color;\n" ++
"void main()\n" ++
"{\n" ++
"    gl_Position = MVP * vec4(vPos, 0.0, 1.0);\n" ++
"    color = vCol;\n" ++
"}\n";

I propose something more Pythonic, like
const vertex_shader_text: []u8 =
"""uniform mat4 MVP;
attribute vec3 vCol;
attribute vec2 vPos;
varying vec3 color;
void main()
{
    gl_Position = MVP * vec4(vPos, 0.0, 1.0);
    color = vCol;
}""";

Or just have any string be a multiline string. It wouldn't hurt existing code and it looks nice.
const vertex_shader_text: []u8 =
"uniform mat4 MVP;
attribute vec3 vCol;
attribute vec2 vPos;
varying vec3 color;
void main()
{
    gl_Position = MVP * vec4(vPos, 0.0, 1.0);
    color = vCol;
}";

Regardless of multiline string features, the ++ operator still has a purpose. It fills the role of "foo" "bar" in C - compile time string concatenation. It's useful when you have something like this:
const about_string = @compile_var("app_name") ++ "-" ++ @compile_var("version");

In this snippet, the compilation variables are available at compile time - they are the equivalent of C preprocessor defines.
Having any string be a multiline string is a reasonable idea, however, here are my reasons for not choosing it:

It might have been a typo to not put the end quote on the same line. If newline is invalid in normal string literals, the error message can be a lot better.
You might want quotes in your multiline string, and it would be a pain to escape them all, and it seems common you might want a quote in your multiline string.

Pythonic syntax looks very nice and seems tempting at first. But then, what if you want Python code in your multiline string? The point of a multiline string is to avoid having to escape anything. And I think we can accomplish that point by choosing the multiline string syntax carefully.
The C++11 syntax looks like this:
    add_simple_case("function pointers", R"SOURCE(
import "std.zig";

pub fn main(args: [][]u8) i32 => {
    const fns = []@typeof(fn1) { fn1, fn2, fn3, fn4, };
    for (f, fns) {
        print_u64(f());
        print_str("\n");
    }
    return 0;
}

fn fn1() u32 => {5}
fn fn2() u32 => {6}
fn fn3() u32 => {7}
fn fn4() u32 => {8}
    )SOURCE", "5\n6\n7\n8\n");

This is an example test case from run_tests.cpp. Here, "SOURCE" is an arbitrary string that begins and ends the multiline string. Because the user can use any string, no matter what you want to put in your multiline string, you can be guaranteed to not have to escape anything.
Another alternative is the Rust synatx, where you do: r######"foo"###### - here you can put as many pound signs as you want to. This accomplishes the same goal: instead of escaping anything in the multiline string, just add more '#'.

I choose C++11 style multiline string literal syntax and implemented it in e144ddab249af3737f04267c7f1f0f0e093ed314.


Esseker Map

Would you do that for the Esseker Map or minimum Video TuT create how to do that?
To make a donation am also willing to work.

As discussed on Teamspeak.
will make a first version port this weekend.
it will contain the merge of 'Esseker + Liberation +ACE3'
but i don't have time to fully test it. so i will need your feedback.
Problems that could still exit.

Some village / mil zone that don't have a capturable area
areas that are 'to close'

(https://github.com/bramjam/greuh_liberation.Esseker)

Thank you


chore: udapte Rust toolchain to 2024-10-17

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
This PR updates project toolchain to 1.84.0-nightly, and fixes some clippy/UT errors.
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

The failing CI is because of a rustc bug: https://github.com/rust-lang/rust/issues/131190


zero config

Remove builds from vercel.json to utilize "zero config"

Thanks!
Unfortunately, the traffic is super high and serverless solutions aren't cheap, so I decided to move to fly.io 🙂


Mention that minifiers must be ES6 aware.

R: @jeffposnick @addyosmani @gauntface
Fixes #352

Thanks for adding a note. The alternative here would be a user needing to transpile Workbox to ES5 then run a regular minifier (Uglify etc) against it (afaik). Is this something we also want to document?

@addyosmani Can we discuss that in one of the meetings or an issue? If so, then please merge this.

Also, I need an actual review so I can merge this.


Feature/cmb/add buckets model

Depends on #456
This commit adds buckets and a relationship between buckets and
scenes. Buckets are an arbitrary grouping of scenes that users may want
to perform some action on or save for later references.
Basic database interaction is added as well with the ability to
create/read/update/delete buckets in addition to adding, listing, and
removing scenes from a bucket.
I'm going to suggest we hold off on writing tests because the database
interaction functions are going to need to be edited to support the API
for filtering, sorting, and pagination so the tests would break almost immediately.

lgtm once the other PR is merged


wishlist: a way to tell if a new version is available

Hi there! First of all thank you for rakudobrew - it's totally awesome!
As I play more and more with Perl 6, I feel I want to stay as up-to-date as possible with the current state of the code. However, I'm having trouble finding a good way to know whether I should update or not.
I mean, I know rakudobrew build moar will build the latest release on moarvm, but a few questions arise:

is it the latest stable? Or the latest blead? Or none of the above?
do I already have it? (rebuilding takes a while, I don't want to do it unless I have to)

If I type rakudobrew list-available I get a HUGE list of builds with no apparent naming hints to let me know which is stable or which is new (other than a few YYYY.MM releases). Also, when I type "list" I get only "moar-nom", which hints it as the "nom" branch, and from what I could gather "nom" is the name of a "new object model" branch created in 2011, which is... strange :)
So here's what I'd love to see on rakudobrew: a way to tell if there is a new version available for my local build(s) without having to ask for a complete rebuild :)
As a bonus, if list-available would sort by last commit date and show the date, it would definitely help too!
When releases are versioned (like rakudo YYYY.MM and perl 5.22.1), it's easy to see what you have and whether it has been superseded by a newer version or not. But "build moar" currently leaves me wondering in the dark :(
What do you think?

This is resolved near as I can tell. When I run list-available, it shows all versions from oldest, to newest, by date, and then master.


Getting started with PHP Superglobals

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Getting started with php superglobals
Introduction paragraph (2-3 paragraphs):
Superglobal varriables unlike the common PHP varriables we declear in php code are inbuild  predefined varriables that are always accessible from any part of the code. They are accessed freely by any function, class or even any file without any complications.
This article will be stating and introducing the different types of PHP supergolbal varriables,  explaining their fuctionalities and finally explaining how they can in implemented if PHP code.
Key takeaways:
-The reader should be able to understand the different superglobal varriables available in PHP.
-The reader should understand the functionalities of the different superglobal varriables in PHP.
-The reader should be able to implement the different superglobals in their PHP codes successfully.
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

seems like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure. - approved @awinomackrine


Add STR_SA() unit tests

Current coverage is 87.07% (diff: 94.28%)

Merging #21 into generic will increase coverage by 13.73%

@@            generic        #21   diff @@
==========================================
  Files             5          5
  Lines           195        263    +68
  Methods           0          0
  Messages          0          0
  Branches         19         34    +15
==========================================
+ Hits            143        229    +86
+ Misses           52         31    -21
- Partials          0          3     +3

Powered by Codecov. Last update 26f6bdf...eb2e668

A lot of these could probably be pawned off onto tests of the base class... But then we'd have to monkey patch in a bunch of stuff to it. 😐 Might be worthwhile in the long run though.


Permanent CacheableImages should not pull from local cache dir only permanent dir

Currently FileSystem.getLocalFilePathFromUrl() checks if a file exists in either the local cache or permanent directories before hitting the network and saving to the appropriate local dir.
If the permanent prop flag is set to true, we should hit the network even if the file already exists in the local cache dir because cache dir files are ephemeral and the permanent prop should not rely on them (what if the user wants this image to render in a future render even if at that point in time the app does not have internet access).
Better yet, if permanent prop is set and the file exists in the cache dir but not the permanent dir, ignore the network and just copy the local file from cache dir to permanent dir.

it is a bug or future ?

Both?
It isn't fixing anything broken, it's just making behavior more in line with expectations.

okay.anyway i'm alien3d from the reddit.


Support VNS Utils on Openstack

Please rerun your tests when you have made the changes. Let MetBot 'approve' this PR with the results.


Is there a way to resize an image ONLY if the image is smaller or bigger than specified size?

I tried the max() and min() but of course those methods always resize the image and what I'm trying to find is how to tell sharp to only resize the image if (i.e.) the image is bigger than 640w and in any other case, leave the image as is.

You can use the metadata method and make a if statement on width?
like this untested code.
var image = sharp('/image/path/img.jpg');
image.metadata(function( err, metadata ) {
if ( metadata.width > 640 ) {
image.resize(640, null).toFile('output.jpg');
} else {
image.toFile('output.jpg');
});

Thank you Zewy, that actually can solve the problem in case I have the image in my file system. But I was wondering if you could actually do that with streams, for example (using your code):
// This code is just an idea. It does not currently work with sharp.
var readStream = fs.createReadStream('/image/path/img.jpg');
var transform = sharp(readStream).metadata(function(err, metadata ) {
  if ( metadata.width > 640 ) {
    transform.resize(640, null).toFile('output.jpg');
  } else {
    transform.toFile('output.jpg');
  }
  readStream.pipe(transform);
});

I tried this and the metadata callback never returns, which I suppose it means that sharp does not support streams for that. Maybe for a filesystem it's not so obvious why I would want to do this, but what if I have to download the image from a url?:
// This code is just an idea. It does not currently work with sharp.
var http = require('http');
http.get('http://some.file/in/internet.jpg', function (err, res) {
  var transform = sharp(res).metadata(function( err, metadata ) {
    if ( metadata.width > 640 ) {
      transform.resize(640, null).toFile('output.jpg');
    } else {
      transform.toFile('output.jpg');
    }
    res.pipe(transform);
  });
});

In this case, in the same request that I did to obtain the image, I'm already processing it.
Please correct me if I'm wrong but I believe that right now the only way is to download the image first and then get the metadata and then make the transformation, which is still fast, but it would be faster the way I just posted.
The thing is I'm not sure if this is even possible because I know that, in order to get the metadata, you might need to get at least the first chunk of data and maybe by then is impossible to pipe the stream to other streams. Any ideas?

Sorry, I closed by mistake. Reopened.

Inside http.get
you need to do this. else you don't have the full image to work with.
I think this will work not sure.
http.get('http://some.file/in/internet.jpg', function (err, res) {
var data = '';
    req.on('data', function (chunk) {
        data += chunk;
    });
    req.on('end', function() {
     //Work with Sharp here!
    });
});

Hello, https://github.com/lovell/sharp/issues/230#issuecomment-107739934 and https://github.com/lovell/sharp/issues/230#issuecomment-107885877 provide a couple of possible solutions for setting extract parameters based on image metadata when using Streams. You might be able to rework these for the resize parameters.

Thank you @Zewy for your replies.
@lovell, that is exactly the way I was looking to solve it. Thank you.


Stale data after updating an access code

Chancing the name of an access code works, but the ui does not refresh with the new name. Maybe we can connect some update logic into this flow: https://github.com/seamapi/react/issues/479

@razor-x this seems to be working as expected. We're invalidating the queries, which should fetch the latest (updated) data?
https://github.com/seamapi/react/assets/11449462/8876da97-d7f5-4401-8ae4-c0f52f773bb0

Can you try it on the example app? The Storybook uses the fake which updates instantly. We should probably update the fake to have a delay.


Add g:clap_project_root_markers

Close #283

I saw the document, the default value is ['.root', '.git', '.git/']. I am a little bit confused, what's the different between .git and  .git/.
If I want to add .svn into my root marker support, should I also add .svn/?

.git/ is for gitsubmodule.

Ah, I see. Thanks!


FileNotFoundError: [Errno 2] No such file or directory: './README.rst'

Summary.
Expected Result
pip install request
Installed OK
Actual Result
pip install request
Collecting request
Using cached request-0.0.13.tar.gz
Collecting get (from request)
Using cached get-0.0.21.tar.gz
Collecting post (from request)
Using cached post-0.0.13.tar.gz
Collecting setupfiles (from request)
Using cached setupfiles-0.0.50.tar.gz
Collecting query_string (from get->request)
Using cached query_string-0.0.12.tar.gz
Collecting public (from query_string->get->request)
Using cached public-0.0.41.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-bex9djjl/public/setup.py", line 28, in
setup_cfg_data = read_configuration(path)
File "/tmp/pip-build-bex9djjl/public/setup.py", line 23, in read_configuration
val = open(val).read()
FileNotFoundError: [Errno 2] No such file or directory: './README.rst'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-bex9djjl/public/
What happened instead.
Library installation failed
Reproduction Steps
pip install request

System Information
$ python -m requests.help

No module named requests.help

This command is only available on Requests v2.16.4 and greater. Otherwise,
please provide some basic information about your system (Python version,
operating system, &c).

@lvallejou85 it looks like you're missing the final "s" in the package name in your install command. It should be pip install requests.


Updated with VOIP payload for incoming call event

Feedbacks to update current incoming call payload to be VOIP based (not PSTN) to align with other events payloads

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

File
Status
Preview URL
Details

articles/event-grid/communication-services-voice-video-events.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

please enter #sign-off for the comment when you are ready. That will merge changes into the master branch and then will be published from there at 3 PM PST. Thanks.

#sign-off

#sign-off

@minwoolee-msft - Not sure why I am the author as per the metadata. I have signed off. Thanks.


match generator-jhipster methods for generating keys

Fixes JDL application generation for JWT apps, updates key to new JWT requirement of base64 encoding and 256 bits which aligns the code with generator-jhipster
Related to https://github.com/jhipster/generator-jhipster/issues/8165
Steps to reproduce issue:

Use below JDL to generate app
Run ./mvnw and app will fail due to invalid key length

application {
    config {
       searchEngine elasticsearch
    }
    entities Foo
}
entity Foo {
    failingField LocalDate
}

Please make sure the below checklist is followed for Pull Requests.

[ ] Travis tests are green
[x] Tests are added where necessary
[x] Documentation is added/updated where necessary
[x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

@ruddell Can you ckeck if the issue did not happen also in this project: https://github.com/jhipster/generator-jhipster/issues/8216 ?

I don't see Keytool used anywhere so I think we're good

Thanks @ruddell
@MathieuAA I might release a patch release today with this


Moving to IBAnimatable organization

@tbaranes please have a look when you have time. Do you think something is missing, or we can merge it and change the settings to move?

@tbaranes I have fixed those URLs, we can use relevant URLs in markdown files.

It seems good 🤔
Right now, I don't see anything missing, but I will keep you in touch if I have any ideas.

@JakeLin Merge this whenever you think it's ready, can't think to anything else 👍

@tbaranes Sure, will do it tomorrow night, I need some time to fix it if something happens.


Script on creation

Is it possible set a script to executeon each app creation ?
This script should be able to access the name of the new app and modify the ENV.
Explication:
I use a continuous integration system that push every new branch on a new app on the server but still need to create a database user and ENV before pushing my code.
It would be awesome to put this in a script that execute automatically on app creation.
Thanks !
Guillaume Besson

Check out the plugins and pluginhook sections of the docs.

Exactly what I needed ! Thanks a lot :)

No problem. If you end up writing your own plugin, feel free to add it to the list.


Update save_file.js (#1)

Adds missing double quote to saved test suite file.
Fixes #30

Hi. Sorry for the late response. I'm testing this and will release a new version tomorrow. Thank you so much for the PR.

Ok thanks!  It was a simple fix, but something that has been bothering meOn Oct 1, 2019 3:41 AM, Alex<EMAIL_ADDRESS>wrote:Merged #33 into master.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Hi. The change has been published to browser stores. Thank you @UpUpDwnDwnLftRt for your contribution.


[Upstream-community] PSMDB operator 1.6.0 stable

Signed-off-by: cap1984<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@tplavcic since you are previous contributor, can you have look at changes if ok with you?

@tplavcic since you are previous contributor, can you have look at changes if ok with you?


build: Cross-build binaries outside container

An attempt to cross-compile CGO using Goreleaser and https://github.com/goreleaser/goreleaser-cross
Plan

Build eBPF object file outside goreleaser container (so that we don't need to Rust toolchain)
Build CGO binaries using https://github.com/goreleaser/goreleaser-cross
Move binaries to the end container

Open questions

How to build a proper sysroot to support linux/amd64 and linux/arm64 goreleaser-cross
Any downside of using GCC instead of clang for libbpf clang is available

Related: https://github.com/goreleaser/goreleaser-cross/issues/4

TO DO

[x] Make sure the artefact is statically linked
[x] Make sure QEMU is not used anywhere
[x] Cross-compilation problems:# runtime/cgo
/usr/bin/ld: unrecognised emulation mode: aarch64linux
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om i386pep i386pe
clang: error: linker command failed with exit code 1 (use -v to see invocation)

[x] Make sure artifacts uploaded created and uploaded for PR check runs
[x] Figure out container action mounts

ref: https://github.com/goreleaser/goreleaser-cross-example
Alternative:  To use goreleaser build --single-target and https://github.com/parca-dev/parca-agent/pull/486 to gether to release binaries and containers.
Fixes #460
Fixes #496
Fixes #518
Fixes #519

Is there a reason why we need to use GCC? https://clang.llvm.org/docs/CrossCompilation.html#cross-compilation-using-clang

FYI the $(LIBBPF_OBJ) makefile target also needs CC=clang otherwise it uses cc which is v11 in the Debian container, not sure if clang v11 vs v14 matters and what version you would have in the cross container if ever added

Thanks for checking it. In this context. clang v11 should be enough. LLVM v11 is only needed for the Rust+Aya toolchain.

Github Actions can run in a container, maybe it can help with reproducibility and avoid installing build deps on every run
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainer

I want to use containers as a last resort but it seems like it's unavoidable. I'll check it out tomorrow.

@maxbrunet I have shamelessly stolen your changes from #486 :grimacing:  https://github.com/parca-dev/parca-agent/pull/517/commits/6fdaedc4325ac52f4a7f365f7fafac6b86307c55
The arm64 step of the container build fails. I don't know why, It's just copying some files from outside. So trying everything :)

You actually had the same issue https://github.com/parca-dev/parca-agent/pull/486#issuecomment-1160981963 I realized it now!

@maxbrunet I have shamelessly stolen your changes from #486 grimacing 6fdaedc

No worries, I was going to suggest you do so, no more QEMU!


%% anywhere in input is now replaced with %

Starting with Mako 1.3.1, %% anywhere in input now renders to %. This is a change in behavior from previous releases.
It's unclear to me if this is intended. The documentation says that %% can be used to render a % at the start of a line, but it doesn't explicitly state how %% is handled elsewhere in a line. My first interpretation was that %% elsewhere in a line wouldn't be changed.
Simple reproducing case:
$ pip install mako==1.3.0
...
Successfully installed mako-1.3.0
$ mako-render - <<< foo%%bar
foo%%bar
$ pip install mako==1.3.1
...
Successfully installed mako-1.3.1
$ mako-render - <<< foo%%bar
foo%bar

This is related to #383. From the discussion there, it seems like this was expected to possibly break users, but it's not clear to me if it was expected to break all use of %% not at the start of a line or just %% at the start of a line after whitespace (which I would expect).

Starting with Mako 1.3.1, %% anywhere in input now renders to %. This is a change in behavior from previous releases.

it is.

It's unclear to me if this is intended.

it is.
The documentation says that %% can be used to render a % at the start of a line, but it doesn't explicitly state how %% is handled elsewhere in a line. My first interpretation was that %% elsewhere in a line wouldn't be changed.
unfortunately if you look in the example in that documentation, the example itself illustrates two lines with double percents, the second line is indented.     so while the sentence in the paragraph is wrong, the example illustrates what it's supposed to look like.
prior to this change there was simply no way at all to render a single percent sign without enclosing it in quotes.

This is related to #383. From the discussion there, it seems like this was expected to possibly break users, but it's not clear to me if it was expected to break all use of %% not at the start of a line or just %% at the start of a line after whitespace (which I would expect).

it would break for users who were writing exactly two percent signs, or a multiple of two percent signs in a row, and who then expected that exact multiple of percent signs to render.  if you didnt put two percent signs and only put one, or put an odd number of percent signs, you'd get a compile error.  this is clearly buggy behavior and I thought it would be unlikely for a large number of users to have the exact scenario of where they need to render only even numbers of consecutive percent signs as given, who never tried to render an odd number of percent signs.
the only action I can take here, if you are not able to make adjustments to your code, would be that I'd revoke Mako 1.3.1 and re-release as Mako 1.4 with a stronger note.   I dont think the change should be reverted.

hi -
I just read your case more closely, and I deleted what I wrote since I assumed you were referring to the simple behavioral change of % as the first non-whitespace character.
I will evaluate your case, but I am leaning towards releasing this as Mako 1.4.0 with a stronger note and backwards compatibility note, revoking 1.3.1

I've yanked the release and reverted the change.

Perfect, thanks for the quick response!

please note that the fix will still impact double percent signs as the first non whitespace character on a line

a new version of this fix is merged in 1d6c58e7124653bc11b0a4f153bdbaab41622854 and I'm going to put 1.3.2 out with it.  since it's the only change again, if more issues we can keep reverting until we get it right (I haven't spent much time on Mako in over a decade)


Add Lasagna gallery

Add 9 photos, some are portrait, some are landscape so when you switch
over each photo, the height is gonna change.

#6 See the main issue here


vscode-resource scheme is unknown

code-server version: 1.1156-vsc1.33.1
OS Version: CentOS 7.5 with Docker 18.09.6

Description
I am creating VSCode extension which loads webview's local content.
When trying it with coder, I saw that browser cannot understand this scheme, so my resources cannot be loaded.

Steps to Reproduce
Give a try on extension that has local contents as this guide

I'm having the same issue. In my case I can load the local content inside the webview.html property, but if I try to dynamically create a

I found that if I put my resources inside a pair of double quotes, they can be loaded successfully.
Coder team has handled it at this line

@trinhpham Thanks for the comment. Surrounding the path with double quotes definitely did something, but not quite what I expected.
I have the following code running:
const script = document.createElement("script");
script.src = `"${path}"`;
script.type = "text/javascript";
document.body.appendChild(script);

When path is
vscode-resource:/home/coder/.local/share/code-server/extensions/kiegroup.appformer-js-vscode-extension-0.0.0/dist/webview/editors/dmn/org.kie.workbench.common.dmn.showcase.DMNShowcase/org.kie.workbench.common.dmn.showcase.DMNShowcase.nocache.js

Then the resource that Coder tries to download is:
http://localhost:8443/packages/ide/src/fill/%22vscode-resource:/home/coder/.local/share/code-server/extensions/kiegroup.appformer-js-vscode-extension-0.0.0/dist/webview/editors/dmn/org.kie.workbench.common.dmn.showcase.DMNShowcase/org.kie.workbench.common.dmn.showcase.DMNShowcase.nocache.js%22

Notice that I'm doing all that inside the WebView. Take a look:

I tried to find somewhere in the code where there's a URL encoding happening to the src string but no luck :(

@tiagobento Check the lines you pasted into the console. script.src doesn't have a trailing ".

@tiagobento I have no much experiment to help you on this. But I can see that:

The URL is updated => the code has worked
%22% means double quotes => Somehow the string you give has been wrapped twice

Hope this can help.

@deansheather Thanks Dean! I just tried it with the trailing quotes and it changed, but didn't quite work yet. Check the screenshot below.
@trinhpham Thanks for helping me out with that! From the screenshot below I can only assume that any string that starts with " will be changed, because when I do script.src = ..., nothing happens to the HTML attribute, but when the browser tries to download the file, it does convert it to URL encoding, which makes sense.
See:

My guess:
This code only works when we do panel.webview.html = ..., because there we actually have
<script src="vscode-resource:/the/source/to/script.js" ... />

In fact, the extension I'm building does load a script like that and it works. It's just when I'm trying to dynamically load a script that it doesn't work. Do you guys think that's reasonable?
Thanks again for all your help!

It's definitely an issue with loading the script via a console, as the code in code-server that changes the URL doesn't get executed on stuff you inject through a console.

@deansheather Yeah.. looks like it. Do you think we should reopen this issue? Or create another one? I read that the contribution guidelines are still on the works for code-server, so please tell me how I should report that.. this is a real blocker for me.
Thanks!

There's not much that we can do about changing script URLs that were injected via the console.

Hi @deansheather, sure, let me try to explain my use case in more depth.
We provide a custom preview for different file types on Visual Studio Code. When you click a file with a supported extension, a WebView immediately opens with a rendered version of that file.
To do that, we have to dynamically load the scripts related to the file extension that's being opened, so if you open a .dmn file, we load bundled-dmn-diagram.js and if you open a .bpmn file, we load bundled-bpmn-diagram.js, and so on.. We have more than one script per file extension and we have css assets that we need to download as well.
Since code-server is replacing the contents of the string we assign to panel.webview.html, I figured there would be a way to "intercept" the strings we assign to script.src too.. is that possible? If so, we could do the same kind of string replacement to "fix" the vscode-resource: URLs.
Thanks a lot in advance!

@deansheather Hi Dean! Any ideas from my last comment? Thx!

Don't think there's a way to do this from Javascript running in the browser. VS Code sorts this out by changing the web request logic in electron, but we can't really do that since we're running in the browser.


Customization for more than one device

So I need to provide the setup screen for 3 different devices, with different names and images.
On iOS' SDK I could just
[SparkSetupCustomization sharedInstance].deviceName = @"First Device";
and when I wanted to setup another device
[SparkSetupCustomization sharedInstance].deviceName = @"Another Device";
however the same seems not possible with the Android SDK. The docs says that we should create a customization.xml file in the values folder and place the customizations in there. But how should I do this with more then one device type?

You're correct, this isn't currently possible with the Android SDK.  Enabling this would require some non-trivial refactoring.

Ok. As I really need this feature, I will fork the project and try to get this to work. Then I could make a PR with the changes


Deduplicate names of virtual overloaded methods. Fix #48

r? @emilio

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon.

 Warning

These commits modify unsafe code. Please review it carefully!

@bors-servo: r+

:pushpin: Commit 5210a9f has been approved by emilio

:hourglass: Testing commit 5210a9f with merge 89e2725...

:sunny: Test successful - status-travis


Need Help with pose capturing and pose matching technique

hello @tucan9389 i'm flutter developer i don't understand swift language and i just want to know about how you captured the poses with only skeleton drawn and compared it with live feed i'm using different posenet moel here please guide me with this.
Since this is not an issue so you can close this and please reply here email<EMAIL_ADDRESS>Thanks :)

@rohitshirur007
https://github.com/tucan9389/PoseEstimation-CoreML/pull/20
Here is the guide on how to implement the matching algorithm between two different pose joints.
If you have more questions, please tell me.

Yes, Exactly what we're doing now is calculating angles for each poses so my question is are you giving all the points to only one calculation method or for each poses you're making different calculation?
( our Calculation includes calculating distance also)
Thanks :)


BUG: vts policymanager getPolicy will never return ErrNoPolicy

What version of the package are you using?
aa55d1502134308f1f3d66399ca5a8bd378b47c2
Does this issue reproduce with the latest release?
Yes (that's latest)
What OS and CPU architecture are you using (go env)?
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ec2-user/.cache/go-build"
GOENV="/home/ec2-user/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ec2-user/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ec2-user/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/ec2-user/VeracruzVerifier/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3596495490=/tmp/go-build -gno-record-gcc-switches"

What did you do?
It's complicated, since I'm calling it from Veracruz. I'm using the kvstore/Memory backend.
What did you expect to see?
getPolicy should return ErrNoPolicy when there is no policy loaded
What did you see instead?
getPolicy returns the error generated by o.Store.Get, which is not ErrNoPolicy
The error generated is from kvstore/memory.go, line 49 in my version, of the format:
return nil, fmt.Errorf("key %q not found", key)

Since getPolicy returns the wrong error message, the check:
if err == ErrNoPolicy

that is used to make sure we handle the no policy case elegantly does not match.

A potential fix is presented in #26

This has been addressed by https://github.com/veraison/services/pull/30

Does not appear to be fixed. getPolicy will now return  fmt.Errorf("%w: %q", ErrNoPolicy, policyID). When getPolicy is called in Evaluate, it's return value is tested as:
https://github.com/veraison/services/blob/341d1a834b831ec03bbe8c270adf4f1d39df3dfe/vts/policymanager/policymanager.go#L43
Since the returned error is not exactly ErrNoPolicy, this will never be true.
It appears that changing the test to:
if errors.Is(err, ErrNoPolicy) {

does work, however.

(Re-)resolved by https://github.com/veraison/services/pull/38


Move randomness to allocated buffer

Don't keep it in the DRBG object, just allocate/free as needed.

Thanks!


Clear instructions for hub pull-request

Please provide complete instructions for creating a pull request, including all steps that make a difference, with sample arguments: hub clone, hub fork, creating the feature branch with git checkout -b and pushing it correctly (I see there's https://github.com/github/hub/issues/877). I've had trouble creating pull requests from the command line so I'm not sure what combination of commands actually works.

Good idea. Ideally this information should be in help text presented by hub help pull-request.

or hub pull-request -h

This issue seems related to #2281 and unless we want to keep this as an ideation thread, it can probably be considered closed by 4813e85.

Thanks @sinisterstuf. Also the steps are covered in https://hub.github.com/#contributor


Couchbase 7.x Grafana Dashboards

Added Dashboards for:

Analytics Service
Backup Service
Buckets
Cluster Manager
Data Service Detailed
Eventing Service
FTS Service Detailed
Index Details
Index Service Detailed
Query Service Detailed
vBucket Details
XDCR

Hm, am getting some errors when I open these in Grafana - the CMOS Grafana is version 8.2.7, do we need to bring it up to 8.3 for these to work?

Closing this branch as dashboards are being moved to their own repo.  https://github.com/couchbaselabs/couchbase-grafana/pull/2


Use full text label "Refresh" on refresh button instead of just icon

For improved accessibility, always use a text label in buttons

@aalves08 which components or modals (or pages)? During triage, we want to understand if how comprehensive this issue is so we can figure out if we can still do this for Q4.

@gaktive It's just adding the text "refresh" to the manual refresh button and probably remove the tooltip (check screenshot - button showing tooltip). @kwwii do we remove the icon or do we keep it?
It should be a 0.5 size task, imo.

@kwwii did any of our other button tickets cover this already?

@gaktive No, this is a singular issue left over from some earlier work. It was identified during a demo iirc.

@aalves08 The icon should remain (similar to the other table action buttons)


routeParams is not valued for nested routes

Hi guys, the following routing
<Router>
  <Route path="/" component={App}/>
  <Route path="/aRoute" component={App}>
    <Route path=":myParam" />
  </Route>
</Router>

doesn't value routeParams when navigating to "/aRoute/1"
routeParams is valued if I use optional parameters as follow
<Router>
  <Route path="/" component={App}/>
  <Route path="/aRoute(/:myParam)" component={App}/>
</Router>

looks like a bug to me, is it an intended behaviour?
tested against version 3.0.0
below a runnable version of both scenarios
nested routes:  http://codepen.io/anon/pen/QGqWQW?editors=001
optional parameters:  http://codepen.io/anon/pen/eBGYyd?editors=001

From the docs:

routeParams
A subset of this.props.params that were directly specified in this component's route.

If your <Route path=":myParam" /> had a component, that component would have access to props.routeParams.myParam.

Thanks for the quick response,
I noticed this thing refactoring some route with optional parameters to nested routes.
I did it because of the following issue with the isActive API
3277
I was expecting nothing to break and no need to change the components implementation doing that change.
Maybe a little extra to that line in the doc would not be bad, that route is rendering that component 	after all :)


How to Enable SSL on langflow

I wanted to know how to enable SSL on a locally hosted python version of Langflow. @dosubot

An other approach would be to setup a NGINX (or Apache) Proxy Server in front of langflow (binding langflow to localhost (<IP_ADDRESS>) and NGINX to the public IP) and let NGINX handle your SSL certificates.

To enable SSL for a locally hosted Python version of Langflow, you must configure your Python server to use SSL certificates.

Generate SSL certificates.

Configure your server
example (Flask) :-
flow = LangFlow(app)
app.run(ssl_context=('cert.pem', 'key.pem'), host='<IP_ADDRESS>', port=5000)

Now check it should work.

To enable SSL on Langflow, you can use Uvicorn with SSL certificates or set up a reverse proxy (e.g., NGINX) for SSL termination. For Uvicorn, you need to generate SSL certificates and specify them when starting the server. Additionally, make sure the "chroma_server_ssl_enabled" option is set to true in Langflow's configuration.


VSCode extension notification always opens output

When the VSCode extension has an error, it displays a notification saying a request has failed, and a button to go to the output.
Closing this notification always opens the output tab, instead of when the button is pushed. By clicking the X in the notification or clearing all notifications.
Steps:

Trigger an error. A tilde at the end of a line does this nicely.
Attempt to close the notification.
Focus is forcibly changed to extension output.

I think this is the behavior of the VSCode LSP client: https://github.com/microsoft/vscode-languageserver-node/blob/master/client/src/client.ts#L2712
As you can see the first argument of the then closure is ignored (it's not declared), this means that the outputChannel is shown unconditionally. The showInformationMessage function is documented here: https://code.visualstudio.com/api/references/vscode-api

Yeah, it seems like an upstream issue to me as well!


[Feature Request] Proper perms group for owner

Can we add a way of retaining ownership while toggling some permissions such as InstaSkip?  I very often find myself not skipping at all since I feel its unfair.

For the meantime if you'd like to implement this yourself, you can do the following:
Here's the branch!
Here's the commit cc0962ed91ea74b94ac46217422e1af98cb17917
If you'd rather do the edits yourself:

Open the bot.py file located in the musicbot subfolder with a "modern" text editor like Atom or Notepad++
Goto line 1441 where it says:

        if author.id == self.config.owner_id \
                or permissions.instaskip \
                or author == player.current_entry.meta.get('author', None):

Remove this author.id == self.config.owner_id \               or  so the code looks like this:

        if permissions.instaskip \
                or author == player.current_entry.meta.get('author', None):

Now the only way someone can instaskip is if they either have the permission to or if they added the song to the queue in the first place.

I m unable to give permission to other users of my server help me plzz they cant access commands plz help

@krishna1841999 I don't see how this is related to the problem @JewBearr issued, but have you ever read the permissions wiki?

#1740 should address this


Fix queries and query labels serialization.

Pull Request Test Coverage Report for Build 231

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 90.0%

Files with Coverage Reduction
New Missed Lines
%

src/serialize.jl
1
77.14%

Totals

Change from base Build 229:
-0.09%

Covered Lines:
927

Relevant Lines:
1030

💛  - Coveralls


publish to homebrew

switching to kurt for q4 priority

@jessfraz - just to clarify, this is for the cli right?

YesOn Oct 19, 2022, at 3:31 PM, Hannah Bollar @.***> wrote:
@jessfraz - just to clarify, this is for the cli right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I had made a start in #177 to make a 'Tap', but since realised we want this publish to homebrew core, I think some of that work might still be useful though as it seems like a first step is making the binary available a tar.gz.
useful links:
cookbook https://docs.brew.sh/Formula-Cookbook#grab-the-url
more homebrew docs https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md#to-add-a-new-formula-for-foo-version-234-from-url
might be a easy example to follow https://github.com/RustScan/RustScan/issues/59

Got this PR up to homebrew atm https://github.com/Homebrew/homebrew-core/pull/117702

The PR above got rejected on "notability", it shouldn't be much work to shuffle things around and get this working as a "Tap".


Add HTML5 media events

Various events are sent when handling media that are embedded in HTML documents using the <audio> and <video> elements;

See: https://developer.mozilla.org/de/docs/Web/Guide/Events/Media_events
Identical to React's Media Events.
function render({ props, state }) {
  const {
    src
    } = props;

  const handleCanPlay => (event) => event.target.play();
  const handlePlaying => (event, component) {
    if(component.props.onPlaying) component.props.onPlaying(event);
  }

  return (
    <audio src={src} onCanPlay={handleCanPlay} onPlaying={handlePlaying}/>
  );
}

function onHitSoundPlaying(event) {
  // K. o.!!
}

<Audio src="npc/sounds/batman_hit_pow1.ogg" onPlaying={onHitSoundPlaying}/>

All timeout errors are related to Chrome on Windows NT.

Triggered a Circle-CI rebuild

I'm going to check out these failing tests later today and see what's up. If you have time to look into it, go for it. As soon as we get them passing I'll merge these two PRs and do a release. Thanks again :D

https://github.com/dekujs/deku/pull/295 should fix these failing tests


[ React Native ] "Your browser does not have secure random generator. If you don’t need unpredictable IDs, you can use nanoid/non-secure."

Hi ! First of all, thanks for all the work you did on redux-symbiote. It's a wonderful lib, writing redux-related code has never been so easy.
I'm developing 2 apps in React Native with Expo, and of course, redux-symbiote.
I upgraded redux-symbiote version from v3.0.2 to v3.1.0 and had this error since :
Your browser does not have secure random generator. If you don’t need unpredictable IDs, you can use nanoid/non-secure.

I tried replacing const nanoid = require("nanoid") with const nanoid = require("nanoid/non-secure") in src/index.js but it didn't do the trick.
My workaround was to rollback to v3.0.2 to get both my apps working again.

@naomiHauret thanks

I don't have react-native project, but you can help us with debug that file:
https://github.com/sergeysova/redux-symbiote/blob/master/src/nanoid.js

https://github.com/sergeysova/redux-symbiote/blob/master/src/nanoid.js works fine.
The problem is that in NPM not loaded version 3.2 (which contains this fix)

https://yarnpkg.com/en/package/redux-symbiote
https://npmjs.com/package/redux-symbiote
Version is released

@weyheyhey Please, check is problem solved

@sergeysova Problem solved. Thank you)

Still it is also breaks in ie10 💩

@yyynnn redux-symbiote is not tested in ie10.
What error you have? Maybe create a new issue?

I checked with browserstack. IE10, IE9 works.
import { createStore } from 'redux'
import { createSymbiote } from "redux-symbiote";

const initialState = 0;

const symbiotes = {
  INCREMENT: state => state + 1,
  DECREMENT: state => state - 1
};

const { actions, reducer } = createSymbiote(
  initialState,
  symbiotes,
  "accounts/loading"
);

const store = createStore(reducer);

console.log(`Should be 0: ${store.getState()}`)
store.dispatch(actions.INCREMENT())
store.dispatch(actions.INCREMENT())
store.dispatch(actions.INCREMENT())
store.dispatch(actions.DECREMENT())
console.log(`Should be 2: ${store.getState()}`)

console.log(store, actions)

@kldkv Thank you!

@kldkv @naomiHauret
https://github.com/sergeysova/redux-symbiote/releases/tag/v3.4.0
Released


build break

error[E0557]: feature has been removed
--> src/lib.rs:2:12
|
2 | #![feature(const_fn)]
|            ^^^^^^^^ feature has been removed
|
= note: split into finer-grained feature gates

changing #![feature(const_fn)] to #![feature(const_mut_refs)] and rustup default nightly fixes it.

You also have some clippy errors.  Easy fix

Fixed in 06eaccf8debeac32a1e7e4092318df814802d3c1
Thanks!


Python 3.7 Support

An errant except AttributeError was swallowing exceptions indicating broken Python 3.7 support for ABCs.  It turns out that the Python 3.7 C ABCs support changes the internals of ABCs a bit, necessitating a different approach to fetching the list of virtual subclasses in certain Python 3.7 installations.
TL;DR: I was doing terrible things based on the location and meatiness of Python's liver, but it got replaced with a bionic one in Python 3.7.

@frozencemetery can you run through the full python-gssapi cross platform test suite with this just to double check I didn't break anything, before I merge and publish a revision?  I've tested on Python 2.7, 3.6, and 3.7 using the normal should_be test suite.

Tested on:

[x] el7
[x] debian stable 2
[x] debian stable 3
[x] fc29 2
[x] fc29 3

(debian stable heimdal, MacOS 2, and MacOS 3 not checked because they don't run the suite.)

I'll publish an update to pypi a bit later

Release published: https://pypi.org/manage/project/shouldbe/release/0.1.1/


Enhance the scatter plot to support marginal distributions and generalize the inputs and plotting options

Enhance scatter plot

Describe the New Feature

This is an Idea from @JohnHalleyGotway:
Scatter plots from @willmayfield presentation show the histograms embedded along the x- and y-axes.  Would be nice to include this plot type in METplotpy.
We could plot FCST vs OBS columns from the MPR line type.  Or FBAR vs OBAR columns from the SL1L2 line type.  At least those would be 2 good examples.

Ooh, and the ability to color the dots by some other variable... such at HEIGHT?*
Make sure that the scatter plot functionality is added in as general a way as possible:

Recommend turning on/off the marginal distributions an option.
Enable the dots to be colored by some other metadata values.

Color by different model names (MODEL)
Color by different lead times (FCST_LEAD) or valid time (FCST_VALID_BEG)
Color by different masking regions (VX_MASK)
Color MPR data by their height value or lat/lon values

Some examples:

Plot the FCST vs OBS data from the MPR line type.
Plot the FBAR vs OBAR data from SL1L2 line type.
Plot the ME of TMP vs the ME of RH from the CNT line type.
Recommend that @anewman89 and @DanielAdriaansen add additional examples of useful scatter plot types.

Would also like this functionality to be added to METviewer in the future and would need a new METviewer issue to do so. When developing this plot type, do it with adding this new plot type to METviewer in mind.
Acceptance Testing
List input data types and sources.
Describe tests required for new functionality.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the new feature down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[x] Select engineer(s) or no engineer required
[x] Select scientist(s) or no scientist required

Labels

[x] Select component(s)
[x] Select priority
[x] Select requestor(s)

Projects and Milestone

[x] Review projects and select relevant Repository and Organization ones
[x] Select milestone

Define Related Issue(s)
Consider the impact to the other METplus components.

[x] METplus, MET, METdb, METviewer, METexpress, METcalcpy, METplotpy
[ ] Write a new issue to incorporate this new plot type in METviewer.

New Feature Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above.
[ ] Fork this repository or create a branch of develop.
Branch name:  feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

generated a reformatter in METdataio:
https://github.com/dtcenter/METdataio/issues/255

refactored the scatter plot from original plotly implementation to Matplotlib
scatter plot can read MPR input to generate the FCST vs OBS plot, with points colored by value
set up plotting code on 'seneca' using sample MPR data from the MET regression tests: /d1/projects/Land_Visualization/scatter_plot

need to verify whether to proceed with testing scatter plot with SL1L2 and CNT data within the confines of current funding.


Move remaining iproute calls to ip package

A new ip package was introduced a little while ago to centralize all ip calls, but iproute also ships a few more tools like bridge, tc, ss, devlink, ... which we also ought to have the package cover.
Looking around we have:

lxd/device/nic_sriov.go that uses ip directly and should be using the package instead
lxd/device/nic_bridged.go that uses bridge directly
lxd/device/proxy.go that uses bridge directly
lxd/device/device_utils_network.go that uses tc directly

Each of those should be looked at and suitable functions added to the ip package before replacing the existing call sites to use the new functions.

@stgraber Can I take also this?

Of course, done!


Could not find a declaration file for module '@unleash/proxy-client-vue'

Describe the bug
When I use the package in a vue + typescript + vite application with "type": "module" I get the error

Could not find a declaration file for module '@unleash/proxy-client-vue'. '.../node_modules/.pnpm/@unleash+proxy-client-vue@0.1.0_typescript<EMAIL_ADDRESS>implicitly has an 'any' type.
There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@unleash/proxy-client-vue' library may need to update its package.json or typings.ts(7016)

Steps to reproduce the bug

Install the package in a vue + typescript + vite application with "type": "module"
When importing the unleash plugin
Typescript should throw an error as shown above

Expected behavior
No error from typescript
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
No response
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
0.1.0

Hi @Ked57 , thanks for bringing this in. I will run it by the team and get back to you

Hi, I opened a PR with a potential fix 😄 thank you

Hi @Ked57 , we just released v0.1.1 with your fix.  Thank you for contributing!

thank you !


what's with the blasphemous package name?

you could have chosen another name without insulting other people.

I think it is one of the best library names I've ever seen. Please keep it!!!!

Does it takes 3 days to restart the process ?


Gpu ordered_logistic_glm_lpmf and categorical_logit_glm_lpmf

Summary
Adds OpenCL implementations for ordered_logistic_glm_lpmf() and categorical_logit_glm_lpmf(). Two new OpenCL device functions (log1p_exp() and log1m_exp()) as they are needed in ordered_logistic_glm_lpmf(). They are essentialy the same as existing CPU functions with same name in stan math.
Tests
There are new tests for both OpenCL implementations of GLMs  and both device functions.
Side Effects
None.
Checklist

[x] Math issue #1319

[x] Copyright holder: Tadej Ciglarič (University of Ljubljana)
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

I will review this one tomorrow.