Fixed naming in tarball so that 0.3.1 will stop getting deleted

Signed-off-by: Brady Siegel<EMAIL_ADDRESS>

Here's a listing of helm repo index with the current commit on this branch
cat index.yaml
apiVersion: v1
entries:
  aws-pca-issuer:
  - apiVersion: v2
    appVersion: v0.3.1
    created: "2022-01-21T14:59:57.13085455Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: 2947e925e35732bb8c4143080c7cd01ac39ee53058d2deaddc68128bbc921831
    name: aws-pca-issuer
    type: application
    urls:
    - aws-pca-issuer-0.1.2.tgz
    version: 0.1.2
  - apiVersion: v2
    appVersion: v0.2.1
    created: "2022-01-21T14:59:57.130179307Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: 0867fc85ddea6c1c5c0889911521ed63fa7b1f6023de842cf397754cb427b8cd
    name: aws-pca-issuer
    type: application
    urls:
    - aws-pca-issuer-0.1.1.tgz
    version: 0.1.1
  - apiVersion: v2
    appVersion: v0.2.0
    created: "2022-01-21T14:59:57.129548672Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: 883a5f7e1f7da5e5d76ac98c22b5b3aabbcd0af3fccc8bada66b1155406fd5a8
    name: aws-pca-issuer
    type: application
    urls:
    - aws-pca-issuer-0.1.0.tgz
    version: 0.1.0
  aws-privateca-issuer:
  - apiVersion: v2
    appVersion: v1.1.0
    created: "2022-01-21T14:59:57.132842648Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: a8be4957c3e75da6024517172a0e1ff67bef2e23c9b49b66c143afdddae60fb3
    name: aws-privateca-issuer
    type: application
    urls:
    - aws-privateca-issuer-1.1.0.tgz
    version: 1.1.0
  - apiVersion: v2
    appVersion: v1.0.0
    created: "2022-01-21T14:59:57.132136244Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: fcaa982bbdc7fbb55a32d4ecfbd69edbae811b71e354dedc0bfded96af282c14
    name: aws-privateca-issuer
    type: application
    urls:
    - aws-privateca-issuer-1.0.0.tgz
    version: 1.0.0
  - apiVersion: v2
    appVersion: v0.3.1
    created: "2022-01-21T14:59:57.131487575Z"
    description: An addon for cert-manager to sign certificates using AWS PCA
    digest: 35d9e273aaae6f7ae89f28e76da80b09330f1fc833f0404cc6256ed6a9fe08b1
    name: aws-privateca-issuer
    type: application
    urls:
    - aws-privateca-issuer-0.1.2.tgz
    version: 0.1.2
generated: "2022-01-21T14:59:57.128716436Z`


fix updates_for makes redundant calls

Type of PR (feature, enhancement, bug fix, etc.)
Bug fix
Description
Modify updates_for element to verify that a page is required before fetching it.
This PR essentially implements the suggestion made in #209, with minor tweaks.
I've done my best to test this new functionality, but I am not a heavy user of updates_for and would appreciate if @julianrubisch could sanity check this. Specifically, my concern is that there could be an unexpected interaction with lazily loaded Turbo Frame content?
I was concerned that filtering out blocks might cause the index-based element selection to point to the wrong element, but so far, I haven't been able to trip it up. I really don't want to break this functionality.
@andrewerlanger I also removed the previous line 117, which was where we performed the shouldUpdate check initially. It seems as though this should no longer be necessary. Is there a good reason to run the check again?
I've tested on a simple User model with enable_updates, as well as name and email attributes:
<%= updates_for current_user, only: :email do %>

<%= current_user.name %>

<%= current_user.email %>

<% end %>

<%= updates_for current_user, only: :name do %>

<%= current_user.name %>

<%= current_user.email %>

<% end %>

Seems to work fine when I update either attribute.
Fixes #209
Why should this be added
@andrewerlanger pointed out that we fetch pages from the server before checking if they are used, which is a waste of computing resources and bandwidth.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing
[x] This is not a documentation update

@julianrubisch @andrewerlanger any feedback so far? I'd love to get this merged if everything looks okay.

@julianrubisch @leastbad not sure how I missed these messages but only just seeing them now. Sorry for the radio silence and many thanks for pushing ahead with the fix :)


Clean up io.opencensus.internal.StringUtil.

We don't need StringUtil.sanitize, since we no longer sanitize tags.
Additionally, we don't need to throw an AssertionError from the constructor to
discourage instantiation of the class, because the class is now in the internal
package.

@songy23 Do you think we can remove these constants and methods now?

Codecov Report

Merging #682 into master will decrease coverage by 0.09%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##             master     #682     +/-   ##
===========================================
- Coverage     77.02%   76.92%   -0.1%
+ Complexity      733      727      -6
===========================================
  Files           133      133
  Lines          3499     3489     -10
  Branches        333      330      -3
===========================================
- Hits           2695     2684     -11
- Misses          741      742      +1
  Partials         63       63

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/io/opencensus/internal/StringUtil.java
66.66% <0%> (-27.09%)
5 <0> (-6)

Continue to review full report at Codecov.

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

Coverage decreased (-0.09%) to 78.733% when pulling dad2633a87da92e1122a7cf18bcf981bc4e6dc55 on sebright:clean-up-string-util into 98451dbada593f953a9f9cb73a159775b8afd0c5 on census-instrumentation:master.

Thanks!  I'll merge when the build passes.

Coverage decreased (-0.09%) to 78.733% when pulling 802d0cde2a8a087490bb41cc618130453fcfa536 on sebright:clean-up-string-util into 98451dbada593f953a9f9cb73a159775b8afd0c5 on census-instrumentation:master.


chore(blog): announcing the work on AsyncAPI spec 3.0 release

Description

Adds the blog announcing the work on AsyncAPI 3.0 release
Adds cover image (from Unsplash) and author avatar

Related issue(s)
https://github.com/asyncapi/website/issues/583

Hi @derberg and @alequetzalli 👋
I have made all the suggested changes! Please have a look once you have the opportunity 😄

@jonaslagoni as you lead 3.0 meeting, you should approve this article IMHO, especially that you created a related issue

@jonaslagoni as you lead 3.0 meeting, you should approve this article IMHO, especially that you created a related issue

Will do 👍

Hi @derberg @jonaslagoni
This should be ready to merge now. Thanks for all the reviews 🚀

@HarshCasper I see @jonaslagoni provided a link to the meeting issue, please update PR/
@alequetzalli I think it is ready for final review

Hi @derberg
It is ready for the final review now 😄

@jonaslagoni Final review from @alequetzalli provided. I guess we can set publish date for tomorrow. Also please approve so we know you are happy with the article.
@HarshCasper thanks a lot mate 🙏🏼

/rtm


Unable to retrieve any codes

Hello, the tool only occasionally retrieves relevant codes from webarchive -- otherwise the output is empty:
wayback-google-analytics -u https://yapatriot.ru https://zanogu.com https://whoswho.com.ua https://adamants.ru -s 01/01/2015 -f yearly -o xlsx

Gave me this:
[{'https://yapatriot.ru': {'archived_UA_codes': {'UA-65087228-1': {'first_seen': '20/01/2017:03:55', 'last_seen': '30/06/2019:05:32'}, 'UA-53176102-14': {'first_seen': '15/06/2015:19:36', 'last_seen': '15/06/2015:19:36'}}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://zanogu.com': {'current_UA_code': [], 'current_GA_code': [], 'current_GTM_code': [], 'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://whoswho.com.ua': {'current_UA_code': [], 'current_GA_code': [], 'current_GTM_code': [], 'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://adamants.ru': {'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}]

And this:
[{'https://yapatriot.ru': {'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://zanogu.com': {'current_UA_code': [], 'current_GA_code': [], 'current_GTM_code': [], 'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://whoswho.com.ua': {'current_UA_code': [], 'current_GA_code': [], 'current_GTM_code': [], 'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}, {'https://adamants.ru': {'archived_UA_codes': {}, 'archived_GA_codes': {}, 'archived_GTM_codes': {}}}]

on two separate runs. I was able to retrieve UA for zanogu.com and none of the others on another try. No error messages are displayed in the process; I ran the tool on two virtual environments and a remote machine.

Running it 12 hours later worked and I managed to collect some archived and current codes for my list.

Closing this for now, it's likely related to how the wayback machine is handling requests.


Syncing from upstream zalando/patroni (master)

bt_gitbot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

165 of 165 (100.0%)  changed or added relevant lines in 14 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.859%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
13457

Relevant Lines:
13476

💛  - Coveralls


iOS builds

Closing this as won't fix for the time being. Yes, it'd be nice to have iOS builds for this but it's not a high priority for shipping what is likely to be a fairly niche app.


[Since 0.6.13] Crashes on thumbnails load while running on ARChon(1.2/2.1 Chrome 64-bit, Windows 7 x64)

java.lang.NullPointerException
at android.graphics.Bitmap.getAllocationByteCount(Bitmap.java:1170)
at com.hippo.ehviewer.b.r.a(ImageCache.java:103)
at com.hippo.ehviewer.b.r.a(ImageCache.java:99)
at com.hippo.ehviewer.b.g.a(AnyCache.java:318)
at com.hippo.ehviewer.b.g.b(AnyCache.java:307)
at android.support.v4.c.g.c(LruCache.java:249)
at android.support.v4.c.g.a(LruCache.java:139)
at com.hippo.ehviewer.b.a.a(AnyCache.java:183)
at com.hippo.ehviewer.f.run(ImageLoader.java:162)
at java.lang.Thread.run(Thread.java:841)
E/Process (  204): java.lang.Exception: Backtrace information
E/Process (  204): 	at android.os.Process.killProcess(Process.java:1011)
E/Process (  204): 	at com.hippo.ehviewer.AppContext.uncaughtException(AppContext.java:160)
E/Process (  204): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/Process (  204): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
(Working fine on my real Android device running CM11 though)
EDIT: Last working version (for ARChon) is: <IP_ADDRESS> <IP_ADDRESS>

Crash every time ?

Double-checked, yes it crashes every time (it loads title and other things fine but crashes right before any thumbnail shows up)

I checked the code. It should not happen. But I do some warning thing about generic type in the code of cache. Maybe the code is error for the platform.

<IP_ADDRESS> work fine and 0.6.12 does not ? I only add web login in 0.6.12. Could you please show the error log in <IP_ADDRESS> ?

Sorry, my bad... I don't know how it happened but the apk I had with the name of 0.6.12 acturally was 0.6.13, so there was nothing unaccountable.

It's OK. I will fix the warning.

I'm having the same issue here - program crashing on physical device with android 4.4 since 0.6.13, logs are exactly the same as above.

@Laforeta Could you please tell me your phone model ?

@seven332 Motorola Droid Maxx (XT-1080M). I can install and run all pre-0.6.13 versions without crash so this seems to be a specific issue.

@Laforeta Did you phone use ART as runtime environmen ?

@seven332 No, it was on Dalvik the whole time. I tried switching to ART and it did not help.

@RadarNyan @Laforeta I hope it work now.
Please download the apk from here https://mega.co.nz/#!BtEXWBAS!HxibUXmfTZSkWq3h8dewEtabGq7m3VLTbJ8zWOy9zWM

@seven332 Thank you very much for your time. I tried the linked build and it still crashes the same way as before. If this only affects a few devices then perhaps you should not worry about it - I will try to do some debugging on my end. Thanks again for your help.

Recent Chrome Update breaks ARChon (I can't even run the 2048 sample app) and the app worked fine on my phone, so there's nothing I can do... will check once ARChon back to work though.

It is my mistake, I didn't check the log carefully. I should have gotten the reason earlier.
Actually it is a bug of kitkat. I checked the source code of Android.
In kitkat-release branch, it will throw NullPointerException if mBuffer is null
1169    public final int getAllocationByteCount() {
1170        return mBuffer.length;
1171    }

In kitkat-mr1-release branch, they fixed the bug
1169    public final int getAllocationByteCount() {
1170        if (mBuffer == null) {
1171            // native backed bitmaps don't support reconfiguration,
1172            // so alloc size is always content size
1173            return getByteCount();
1174        }
1175        return mBuffer.length;
1176    }

So just avoid invoking this method.
It should work this time.
https://mega.co.nz/#!kpFVhZJI!mn6e2sK2IMl1sSKqh8KpT_3XVoVmhyKoevnAiOsHsns

@Laforeta Please check the apk above.

@seven332 that did the magic - it is fully stable now. Thanks heaps! This explains why people on 4.4.1 and later versions of Android never had the issue to begin with.


Improved maps styling

Signed-off-by: A4k9<EMAIL_ADDRESS>
Proposed changes
Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue
Optimised as well as improved the styling of the country and city Maps in the community section:

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the commit for DCO to be passed.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

/merge


[test] Convert filter_chain_benchmark_test to benchmark cc binary and test framework

Description: Convert filter_chain_benchmark_test to benchmark cc binary and test framework
Risk Level: n/a
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Seems like something is going on with a benchmark file header to cause CI failures. I'll wait on an update on that front.
/wait-any

Seems like something is going on with a benchmark file header to cause CI failures. I'll wait on an update on that front.
/wait-any

clang-tidy was broken last week.  I kick'ed CI in the hope it's fixed by now.


Automate: Verify that user can perform wildcard search via APIExport virtual workspace

This is an automation for test case OCP-59765.
Test: passed: (31.4s) 2023-02-14T11:45:00 "[area/apiexports] Author:zxiao-Critical-[API] Verify that user can perform wildcard search via APIExport virtual workspace [Suite:kcp/smoke/parallel]"

/cc @kasturinarra @xingxingxia @Phaow

some minor comment, rest looks good to me.

/lgtm

/lgtm


910b qwen72b lora微调OOM

Reminder

[X] I have read the README and searched the existing issues.

System Info
训练环境： 2 * 910b 32G显卡
启动脚本：
export MASTER_HOST="$VC_WORKER_HOSTS"
export MASTER_ADDR="${VC_WORKER_HOSTS%%,}"
export MASTER_ADDR=$(ping "$MASTER_ADDR" -c 1 | sed '1{s/[^(](//;s/).*//;q}')
export NNODES="$MA_NUM_HOSTS"
export RANK="$VC_TASK_INDEX"
export NODE_RANK="$VC_TASK_INDEX"
export MASTER_PORT=30008
export NGPUS_PER_NODE="$MA_NUM_GPUS"
llamafactory-cli env
llamafactory-cli train -h
llamafactory-cli train examples/lora_multi_npu/llama3_lora_sft_ds_8_wph.yaml
错误日志：
RuntimeError:     NPU out of memory. Tried to allocate 130.00 MiB (NPU 0; 29.50 GiB total capacity; 28.45 GiB already allocated; 28.45 GiB current active; 31.40 MiB free; 28.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.    new_value = value.to(device)
5297	new_value = value.to(device)
5298
5299	RuntimeError: NPU out of memory. Tried to allocate 130.00 MiB (NPU 2; 29.50 GiB total capacity; 28.45 GiB already allocated; 28.45 GiB current active; 39.18 MiB free; 28.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.
5300	RuntimeError: NPU out of memory. Tried to allocate 130.00 MiB (NPU 3; 29.50 GiB total capacity; 28.45 GiB already allocated; 28.45 GiB current active; 35.10 MiB free; 28.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.
Reproduction
启动脚本：
yaml配置
model
model_name_or_path: /model_dir/Qwen1.5-72B-Chat
method
stage: sft
do_train: true
finetuning_type: lora
lora_target: all
ddp
ddp_timeout: 180000000
deepspeed: examples/deepspeed/ds_z0_config.json
dataset
dataset: identity,alpaca_en_demo
template: qwen
cutoff_len: 4096
max_samples: 1000
overwrite_cache: true
preprocessing_num_workers: 16
output
output_dir: /dataset/data_dir/qwen2_sft/test
logging_steps: 1
save_steps: 200
plot_loss: true
overwrite_output_dir: true
train
per_device_train_batch_size: 1
gradient_accumulation_steps: 8
learning_rate: 1.0e-4
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true
eval
do_eval: true
val_size: 0.1
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 500
Expected behavior
期望微调成功
Others
No response

你的设备不够微调 72b

需要几台节点才能进行微调

你的设备不够微调 72b

需要多少节点才能进行微调


Deprecate versioned __swift__ macro in imported (Obj)C(++) code.

Leaving behind an un-versioned __swift__ macro.
Originally added in https://github.com/swiftlang/swift/pull/4510 (rdar://26921435) following a discussion in https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160822/002754.html, the versioned macro was used to allow clients primarily to ready their existing ObjectiveC code for Swift 2 -> Swift 3 transition.
Now that neither one of those versions is a supported language mode and we have versioned APINotes support, and we do not currently know of clients that rely on the version carried by this macro, we would like to deprecate it, leaving behind the un-versioned -D__swift__.
The reason for the deprecation is that it is likely that in a build with multiple targets which have very similar configuration aside from Swift language version, they would not be able to share module dependencies due to the mismatch in the macro value.

@swift-ci test

@swift-ci Please Test Source Compatibility

@swift-ci test

@swift-ci test Linux platform


Docker plugin update from 20.07 to 22.04 / 22.07

I wanted to update the Trident plugin from 20.07 to 22.04, but I encountered errors which I can't easily fix.
Environment

Trident version: 20.07
Trident installation flags used: docker plugin install --grant-all-permissions --alias netapp netapp/trident-plugin:22.04 config=/etc/netappdvp/netapp.jsonl
Container runtime: Docker 20.10.12
OS: Ubuntu 20.04.4
NetApp backend types: ONTAP

To Reproduce
docker plugin disable -f netapp:latest
docker plugin rm netapp:latest

docker plugin install --grant-all-permissions --alias netapp netapp/trident-plugin/new:22.04 config=/etc/netappdvp/netapp.json
22.04: Pulling from netapp/trident-plugin
Digest: sha256:30bb4e6292df74830f6317f3af0e360039bdd509ef1089d1161976e385c7ccdc
006b910162ba: Complete
Error response from daemon: dial unix /run/docker/plugins/e4d7644e51d7e3352663105995cf5508ac462d6a5729f7dc625ed08bc2c3b131/netapp.sock: connect: no such file or directory

netapp.sock: connect: no such file or directory  Info that the container could not be started,  the logs:
[...] level=error msg="time=\"2022-08-16T08:11:33Z\" level=info msg=\"Running Trident storage orchestrator.\" binary=/netapp/trident build_time=\"Fri Apr 29 17:02:09 UTC 2022\" version=22.04.0" plugin=e4d7644e51d7e3352663105995cf5508ac462d6a5729f7dc625ed08bc2c3b131
[...] level=info msg="time=\"2022-08-16T08:11:33Z\" level=info msg=\"Initialized logging.\" buildTime=\"Fri Apr 29 17:02:09 UTC 2022\" logFileLocation=/var/log/trident/netapp.log logLevel=info" plugin=e4d7644e51d7e3352663105995cf5508ac462d6a5729f7dc625ed08bc2c3b131
[...] level=error msg="time=\"2022-08-16T08:11:33Z\" level=fatal msg=\"Unable to start the Docker frontend. plugin.hostVolumePath /docker/plugins/e4d7644e51d7e3352663105995cf5508ac462d6a5729f7dc625ed08bc2c3b131/propagated-mount does not exist on /host path\"" plugin=e4d7644e51d7e3352663105995cf5508ac462d6a5729f7dc625ed08bc2c3b131

On a test server I have Ubuntu 21.04 running, here  was the installation of the trident plugin 22.04  without any problems. Probably the 20.04.4 version is too "old", unfortunately an update is currently not possible.
There was a similar error in #507.
I had used the same config settings images on my  server and test server.
(i testet it also with 22.07, same error)

Hi @tperelle,
Please open a NetApp support case for your Docker related issue. We continue to struggle to obtain a way to reproduce an environment where the Trident Docker Plugin fails.


Update users.json

What does this PR do?
Just add my X and Github profile

Great. About to merge
Make sure to drop a star ⭐ to the repository @amanrajrana


Reconnect flag & feature

Library needs a configurable flag to reconnect on any unexpected disconnects.  This needs some logic to keep it from running wild, maybe a max reconnect of X with a Y delay between attempts.

This was resolved in v0.10 with commit 54e14babb252c8154f6dbf9e5fbece23eea1b03f


Pattern matching operator

Proposal: =~ (as in Perl and Ruby) and is like operator to do the equivalent of a single pattern match switch. For example:
match := x =~ [/\s+/, ...rest]
---
const match = Array.isArray(x) && x.length >= 1 && /\s+/.test(x[0])
const [, ...rest] = match ? x : [undefined]

if x =~ [/\s+/, ...rest]
  console.log rest
---
if Array.isArray(x) && x.length >= 1 && /\s+/.test(x[0])
  const [, ...rest] = x
  console.log(rest)

(based on discussions in Discord)

We may want to explore the details a little more. Maybe :~ if it is making const binding match declarations?
[/\s+/, ...rest] :~ x

This may be satisfied by conditional bindings. Since you'd need to check the result of the match anyway you'll always need an if condition. At least I don't know of any compelling examples where a standalone operator would be better than what we added recently.

Good point; we'd just need to extend conditional lexical binding to include pattern matching. (Without the condition in not sure it makes sense, as you say.)
The order is flipped though. Consider for example:
if /\s+/ := string
  console.log "whitespace"

I wonder if it makes sense to offer a flipped version. But instead of =~ it could be spelled =:.
if string =: /\s+/
  console.log "whitespace"

It looks like conditional declarations handle this pretty well:
https://civet.dev/playground?code=aWYgWy9ccysvLCAuLi5yZXN0XSA6PSB4CiAgY29uc29sZS5sb2cgcmVzdA%3D%3D
if [/\s+/, ...rest] := x
  console.log rest

I agree this covers many use cases, where you want to fork immediately depending on whether something matches a pattern. But I've had a couple of occasions recently where I want to store a boolean for whether there's a match. Current example:
infinite := end matches {type: "Identifier", name: "Infinity"}

To use pattern matching, I need to do something like
infinite := if {type: "Identifier", name: "Infinity"} := end then true
//or
infinite := switch end
  {type: "Identifier", name: "Infinity"} then true

Partly it'd be nice to have notation for if ... then true else false. I guess we'd normally write that Boolean ... so one option is:
infinite := Boolean {type: "Identifier", name: "Infinity"} := end

If we wanted a new keyword:
infinite := whether {type: "Identifier", name: "Infinity"} := end

Probably there are many more options... but perhaps worth kicking this one around some more.

Would a custom inline operator that people can declare handle this?

An idea for an operator that doesn't need a new keyword: another extension of is. We already have is not and is in (though admittedly both not and in are keywords now). We could add an is like:
infinite := end is like {type: "Identifier", name: "Infinity"}

This would prevent us from comparing something to a variable like via the is operator, but if we like this notation, maybe that's a small price to pay?

is like sounds good to me.


Breaking changes from comfyui

Looks like the upstream change at https://github.com/comfyanonymous/ComfyUI/commit/7f469203b7b4547f1d0f7113d18095334fa06a4d broke thousands of workflows using rgthree-comfy. Seed and other nodes all break due to now missing an important node property that was available beforehand.
I can't seem to find the culprit yet.
In the meantime, you can move ComfyUI back a couple days before that bad commit went in.
git reset --hard d19de275

The seed widget is fucked. And I literally just released a workflow that uses it heavily. Talk about bad timing lol.

Yea, this is unfortunate. I filed https://github.com/comfyanonymous/ComfyUI/issues/2193 but I'm not sure they'll fix it... The group nodes commit a couple days ago made a pretty fundamental change to an important method...

Alright, I think my latest changes may work around the change; pulling to the latest of comfyui and rgthree-comfy should be fixed now.

Wonderful, thank you for your efforts!


Develop a New Dark Theme for Our App

Pull Request Details:

Title: Develop a New Dark Theme for Our App
PR Link: #8
Issue: #7

Next Steps:
I'm ready for feedback and any necessary revisions. Please review at your earliest convenience, and feel free to provide comments or suggest improvements.
Thank you for your time and consideration!

Hey Jayesh
Thank you for your contribution to Develop a New Dark Theme for Our App ! We appreciate your efforts in enhancing our onboarding experience.
Review:
I've reviewed your changes, and overall, they look great. The onboarding steps are engaging, and your code is well-structured and clean.
Again, thank you for your valuable contribution. We look forward to working together to create an exceptional user onboarding experience!
Happy coding!


Estimated account value on busy.org is different from steemit.com

Expected Behavior
this is a little confusing, when I open the wallet on busy.org my account's estimated value is shown as below

Actual Behavior
Should my account's estimated value is as shown below

Though this has no effect on posting and others, but this will confuse users about their account's estimated value.
How To Reproduce

Go to https://busy.org/@shaphir/transfers and see estimated account value
Then, match with estimated account values in my steemit here
Their numbers are different there
Browser: Google Chrome: fast & scure version 66.0.3359.158
Operating system: Oppo a57 android version 6.0.1

Recording Of The Bug
https://youtu.be/SsziGclKdNQ

that is because steemit calculates on a longer period of time, meaning busy is more accurate

Yes, Busy calculate the estimated account value with current market price. I'm closing this issue as there is not a real issue about it.


Feature: Remove from the bootstrap the online keys

What is the feature about?
The current bootstrap sends the online keys to API (bootstrap), and the Worker stores it in the Key Storage Vault (based on the configuration)
This was implemented on the first RSTUF prototype, using the LocalKeyStorage.
But in a production scenario or even when we have SaaS Key Vaults, the Key Vaults will be read-only. The Workers will only read the keys based on some configuration.
The responsibility/action to add the keys to the Key Vault is for the Key Owners/Administrators, including LocalKeyStorage, which is based on filesystem/volume.
The feature is to simplify the bootstrap/ceremony process

Remove the online Keys from the bootstrap process
Reduce the number of keys/threshold to 1/1 as the default
Make the LocalKeyStorage configuration more explicit about the key file name

Services it relates to
repository-service-for-tuf-cli, repository-service-for-tuf-api, repository-service-for-tuf-worker
Related tasks
No response
References
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

More elaborated changes to be done:
Worker
The LocalKeyVault configuration class method needs to be extended with the following parameters:

Optional LOCAL_KEYVAULT_SNAPSHOT: inform the file name, default: snapshot.key
Optional LOCAL_KEYVAULT_TIMESMAP: inform the file name, default: timestamp.key
Optional LOCAL_KEYVAULT_BINS: inform the file name, default: bins.key
Optional LOCAL_KEYVAULT_SNAPSHOT_PASSWORD: inform the password/secret to load the Snapshot key
Optional LOCAL_KEYVAULT_TIMESTAMP_PASSWORD: inform the password/secret to load the Timestamp key
Optional LOCAL_KEYVAULT_BINS_PASSWORD: inform the password/secret to load the BINS key
Optional LOCAL_KEYVAULT_SNAPSHOT_TYPE: cryptography, default: ed25519
Optional LOCAL_KEYVAULT_TIMESMAP_TYPE: cryptography, default: ed25519
Optional LOCAL_KEYVAULT_BINS_TYPE: cryptography, default: ed25519

services.keyvault.local can be simplified.

The method put is no longer required
The method get requires some changes:

It can use SecuritySystemLib directly to open the file
Add parameter cryptography. The default is ed25519 as supported by CLI Ceremony
Change parameter password as optional. Default is None

repository.bootstrap action to store online keys is no longer required.
Documentation needs to be updated showing that the keys need to be added to a Volume accessible by RSTUF Worker.
API
bootstrap.RoleSettings.key is not required anymore in the bootstrap payload.
CLI
In the cli.admin.ceremony

No longer need to load the online keys
No need add to the payload the online keys

What if a user wants to have more than 1 online keys?
What will happen with the variables LOCAL_KEYVAULT_SNAPSHOT, LOCAL_KEYVAULT_TIMESMAP and LOCAL_KEYVAULT_BINS?
Should they be a glob or regex?
If there is more than 1 key what will also happen with the LOCAL_KEYVAULT_SNAPSHOT_PASSWORD, LOCAL_KEYVAULT_TIMESTAMP_PASSWORD and LOCAL_KEYVAULT_BINS_PASSWORD as there most likely will be different passwords for each of the keys.

What if a user wants to have more than 1 online keys?
What will happen with the variables LOCAL_KEYVAULT_SNAPSHOT, LOCAL_KEYVAULT_TIMESMAP and LOCAL_KEYVAULT_BINS?
Should they be a glob or regex?
If there is more than 1 key what will also happen with the LOCAL_KEYVAULT_SNAPSHOT_PASSWORD, LOCAL_KEYVAULT_TIMESTAMP_PASSWORD and LOCAL_KEYVAULT_BINS_PASSWORD as there most likely will be different passwords for each of the keys.

As the keys are in an online vault, we will support a single key.
If the vault is compromised, all the keys are comprised.
More keys would be valid if different cryptography algorithms or different vaults. But I don't think we want to support it at the moment.

Related tasks

[ ] https://github.com/vmware/repository-service-tuf-worker/issues/170
[ ] https://github.com/vmware/repository-service-tuf-worker/issues/169
[ ] https://github.com/vmware/repository-service-tuf-worker/issues/171
[ ] https://github.com/vmware/repository-service-tuf/issues/213
[ ] https://github.com/vmware/repository-service-tuf-api/issues/229
[ ] https://github.com/vmware/repository-service-tuf-api/issues/230
[ ] https://github.com/vmware/repository-service-tuf-cli/issues/178

After discussing with @lukpueh and @MVrachev, we conclude that the online key keyid/public key is not required.
The online key must be loaded during the signing ceremony to generate the signed Root metadata.
If the key doesn't match the given online key to the RSTUF Worker, it will fail during the bootstrap process.
Two tasks were closed due to it.

I included https://github.com/vmware/repository-service-tuf-cli/issues/219 as we have an open PR in review for it. 🎉

I Included https://github.com/vmware/repository-service-tuf/issues/288 to align the RSTUF containers to the online key.


Add missing include in http/read.ipp

Fixes a compilation error that occurred when using BOOST_ASIO_SEPARATE_COMPILATION.

Merged


How I can see test log from tests tree?

My example:
Describe 'Open Document template' {
	Describe '<Name>' -ForEach @(
		$DestinationTemplateFile | Get-Item |
		ForEach-Object { @{ Name = $_.Name; FullName = $_.FullName } }
	) {
		It 'is valid (by ODFValidator)' {
			{
				java -D"file.encoding=UTF-8" -jar $ODFValidatorJarPath -e -w $FullName
				if ( $LASTEXITCODE -ne 0 )
				{
					Write-Error -Message 'Validation failed!' -ErrorAction 'Stop';
				};
			} | Should -Not -Throw
		}
	}
}

One test failed. How I can see test output from test tree?

Test output is visible in the integrated console if you set your powershell extension run or debug verbosity preference. I also used to show it in the test result window but a last minute API change broke that part, I'm working on resolving it.

@JustinGrote , ok, thank You!
And how i can set for this extension Pester run verbosity preference? And other Pester configuration params?

@JustinGrote , ok, thank You!
And how i can set for this extension Pester run verbosity preference? And other Pester configuration params?

https://code.visualstudio.com/docs/languages/powershell#_powershell-extension-settings

Currently the extension inherits your settings from $PesterPreference. I plan to later add a config file to pick up other pester settings.

Currently the extension inherits your settings from $PesterPreference. I plan to later add a config file to pick up other pester settings.

Ok, thank You!


Update abandoned misogi ruby-rubocop

Fixes #7017 by replacing "misgogi-ruby-rubcop" with "LoranKloeze.ruby-rubocop-revived"

Thank you for this!


Improvement and bug fix.

List of Italian names extended from 341 to 889 items.
Fixed a special case on FiscalCode generation.
FiscalCode test cases extended and optimized.

Current coverage is 95.63% (diff: 100%)

No coverage report found for develop at 75518a4.

Powered by Codecov. Last update 75518a4...c93672b


URL from OpenMobilityData BART GTFS --> empty zip

Please create the PR and a member of the Mobility Data team will take it from here - thanks!

[x] This PR only touches end_to_end.ym in .github/workflows
[x] -abort_on_error to false
[ ] Null Pointer Exception --> add bug and NPE tag
[x] Attach the dataset and report from the workflow run to this PR

Summary:

[x] optimize GitHub Action worflow run for this specific PR

DONE: See https://github.com/MobilityData/gtfs-validator/pull/462/commits/095b5199635eb94e5f8983a954cd008cd4d6ab1a

[ ] compute Path in a separate use case (mmmm that actually was for json report path generation (name of the json report file), so not sure it applies here. I'll let you decide and let me know what you implemented/issues created/... you ended up putting or not in this PR in a convenient way for you, @lionel-nj
[ ] put BART dataset back in place (ordering by issue number).
[ ] remove -x agency.txt

Summarize the changes in the pull request including how it relates to any issues (include the #number, or link them).
Expected behavior:
Explain and/or show screenshots for how you expect the pull request to work in your testing (in case other devices exhibit different behavior).
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Run the unit tests with gradle test to make sure you didn't break anything
[ ] Format the title like "Fix #<issue_number> - " (for example - "Fix #1111 - Check for null value before using field")
[ ] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

bart.zip
validation_report_all.zip

The link in job was not the good one, we should check with the one I suggest. However, the linked issue seems related to #433, where the same bug was fixed.

I know. There is something weird. You should be in good shape to investigate and debug.
Thks,

compute Path in a separate use case (mmmm that actually was for json report path generation (name of the json report file), so not sure it applies here. I'll let you decide and let me know what you implemented/issues created/... you ended up putting or not in this PR in a convenient way for you, @lionel-nj

I will open an issue regarding this, and implement in a separate PR if that is okay with you

As https://github.com/MobilityData/gtfs-validator/runs/1344351102?check_suite_focus=true demonstrates:the error is no longer raised.


[Not a contribution] kong logs  exporter.lua:329 failed getting upstream health: balancer not found

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.5.1
Current Behavior
When using the prometheus plugin and
when curling /metrics (curl http://<IP_ADDRESS>:8001/metric)
Kong logs the following line several times:
[error] 1517#0: *6156 [kong] exporter.lua:329 failed getting upstream health: balancer not found, client: <IP_ADDRESS>, server: kong_admin, request: "GET /metrics HTTP/1.1", host: "<IP_ADDRESS>:8001"
This happens in the control-panel, kong is deployed in hybrid mode on VMs.
Expected Behavior
No message on errors.log
Steps To Reproduce
1. Set the prometheus plugin as global
2. curl http://<IP_ADDRESS>:8001/metric
3. tail error logs

Anything else?
CentOS

I think we skip initializing balancer on control plane, and after all, those metrics aren't available at control plane as well.
Will make a PR to hide healthcheck metrics on control plane.


Session 88e5eab8-83cb-4991-8281-5037d07a45e7. Object reference not set to an instance of an object.

Investigative information
Please provide the following:

UTC Timestamp: 15:30 PM 2020-01-06
Migration Tool App version : Azure App Service Migration Tool V. 1.0.1
OS Version: Windows Server 2008 R2 Standard

Repro steps
After I choose a site, the system cannot generate assessment report for web site. I attached the json report. Please tell me what is wrong?
AnonAssessmentInfo.json.txt
Provide the steps required to reproduce the problem:

Expected behavior
Provide a description of the expected behavior.

Actual behavior
Provide a description of the actual behavior observed.

Known workarounds
Provide a description of any known workarounds.

Hi!
Thanks for much for sending this file.  I was able to use it to reproduce the problem here and find the bug.
The issue is that some configuration objects in the JSON are not deserializing properly.  This result in invalid objects in the analysis code that we do here, which leads to the exception.
This is something that we can fix on our side, without anyone needing to re-download the Migration Assistant.
Once we have made the fix here, I will let you know, so you can try it again.
I do want to set your expectations, though, that once this is fixed, your site will have some issues which will need to be addressed before it could be automatically migrated.  Once the fix is in place, the behavior change that you should see, is that the Migration Assistant will list them for you, hopefully with enough information to understand how to proceed.
We would be interested in your feedback about that, once the fix for the current issue is available.
Thanks again,
-Wade

Perfect, thank you for your fast answer.
I will be waiting the fix, as soon as possible.
THXS.

We have updated the assessment site and it should now be able to return the full assessment results to you. Please give it another try and let us know if you are still seeing any issues or have questions/comments about the assessment results.
And thank you, again, for providing the debugging details!
-Kristina

We believe this issue should be fixed as of last messages - please open a new issue if you see this behavior still occurring.


Unify isModificationNode and isModificationSubquery, delete some unnecessary code

This PR merges the concepts of a "modification node" and a "modification subquery": a node is now a modification node (maybe a bit of a misnomer),  if

it is one of InsertNode, UpdateNode, RemoveNode or UpsertNode or
a SubqueryNode that contains a modification node

NOTE that this means that in the situation where we have SubqueryNode1 -> SubqueryNode2 -> InsertNode, this means that SubqueryNode1 and SubqueryNode2 are modification nodes.
This is a change to the previous behaviour where SubqueryNode1 would not have been a modification subquery, leading to wrong behaviouir of optimizer rules and executors.

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10368/ (still running)

Jenkins is blue.


Add convenience function to detect if a list of TraitsDatas all have the same trait set

What
Add a public function that, when given a list of TraitsDatas, will return true when they all have the same trait set, and false otherwise.
Why
Since we relaxed the restriction that all regsitered TraitsDatas must have the same trait set in https://github.com/OpenAssetIO/OpenAssetIO/issues/1029, managers lost a potentially useful guarantee that they could optimise around.  A workaround for this is to have a convenience function that managers can use to detect trait set homogeneity.
This was originally part of the ACs for https://github.com/OpenAssetIO/OpenAssetIO/issues/1029 but spun off.

[fix] Don't forget we need to add something so

A manager can determine if the TraitsData instances supplied to the register method share a common trait set with a single line of code.

Originally posted by @foundrytom in https://github.com/OpenAssetIO/OpenAssetIO/pull/1037#discussion_r1291273320
ACs

Free function alongside/with TraitsDatas that supports all the input values to manager interface methods that are a collection of traits data.
SIMPLES :meercat:
C++ and Python

Closing this as it dosen't seem like something we would be adding if it wasn't making up for lost functionality, seems best to take a more holistic approach to conveniences. This particular convenience as well is quite simple to do language natively, it's essentially a std::all_of call, (one presumes there's a python equivilent).
Furthermore, there's some confusion over where to put this, as the traits module dosen't exist in python, due to us using native python list for our TraitsDatas type, so we'd need to create one just for this to follow the AC's, which has implicative work. Overall just better to decide to do this positively because we want it, rather than negatively because it used to happen in the past.

Can we demonstrate this is trivial before we close it? We have trait in Python now too...


Marketing Analytics: LinkedIn Insight Tag

As an Opentrons marketer, I would like to have the LinkedIn Insight tag on our website, so that I can retarget our website visitors on LinkedIn.
Acceptance Criteria

[ ] Add Insight tag to opentrons.com

Open Questions

Full JS insight tag or just image pixel?
Just opentrons.com, or other properties as well?

Tag
[add tag here]

The Insight tag should be installed on subdomains www/protocols/shop as outlined in their specs. This can be done first if necessary, as it is both easier and more essential to building up our audiences.
linkedin insights tag.txt
The second part of this is to measure conversions using pixel tracking since we don't have confirmation pages that would otherwise trigger rules-based conversions. The pixel tracking process, which is outlined here , looks like it is most easily implemented via GTM though I'm not sure we're using that for our sites currently.
linkedin conversion schedule demo.txt
linkedin conversion email team.txt
linkedin conversion chat team.txt

@umbhau  so I understand, why would a ticket like this be closed?

hey @mmonsees -- my understanding was that you and Mike decided to tackle these tags through GTM.


Some onlyfans models not visible in OF-scraper

Is it possible to do so that the list of what follows on OF will be updated So that missing models will be possible scrapt from?
did have full list the day before yesterday but now 15 plus models are missing from the list. If I go to the OF website, it is there and can see video and pictures and listen to audio messages

What command are you using?

I used ofscraper in powershell as command and clicked on Download content from a user and selected from the list that comes up.

Can you run of scraper --log debug --post all
Provide log file up to username selection
Also the username your looking for
You can provide this on the discord


Bug | Named route will not match

Hey,
I run into this trying to add CORS support, and the browser is sending an OPTIONS request.
I have a path called "/storage"
Seems like routes will never match due to the following:
Index.js line number 140:
  if (url.length > 1 && url.endsWith("/"))
   url = url.slice(0, -1);

Which removes any trailing slashes from the url
On the other hand line 1267:
route.path = addSlashes(globalPath) + (opts.path || "");

Meaning it always adds a trailing slash to the end of the route
So line 169, will never be true:
if (url.startsWith(route.path)) {

As url will never have a trailing slash, while route.path will always have one.

Thanks for the report! Please make a test repository with this bug to reproduce it.


Incorrect packages being used

I am getting the below error when trying to use this tool. urlparse was renamed to urllib.parse in python3, therefore the vimeo package is not useable in this repo, rendering the tool unusable
Traceback (most recent call last):
  File "/Users/danharling/Documents/projects/videos-transfer-vimeo/videos-transfer-vimeo.py", line 7, in <module>
    import vimeo
  File "/Users/danharling/Documents/projects/videos-transfer-vimeo/env/lib/python3.9/site-packages/vimeo/__init__.py", line 8, in <module>
    from vimeo.client import Client
  File "/Users/danharling/Documents/projects/videos-transfer-vimeo/env/lib/python3.9/site-packages/vimeo/client.py", line 5, in <module>
    import urlparse
ModuleNotFoundError: No module named 'urlparse'

It seems like I have mistakenly added the vimeo module to the step-by-step, when the correct module should be PyVimeo. Let me know if uninstalling vimeo with pip and installing PyVimeo works

It seems like I have mistakenly added the vimeo module to the step-by-step, when the correct module should be PyVimeo. Let me know if uninstalling vimeo with pip and installing PyVimeo works

Yes pip installing PyVimeo works, thanks!


java.lang.NoClassDefFoundError:

4.0.0-b3-STABLE. I'm running Spigot 1.8.3
[03:26:34] [Server thread/INFO]: Starting minecraft server version 1.8.3
[03:26:34] [Server thread/INFO]: Loading properties
[03:26:34] [Server thread/INFO]: Default game type: SURVIVAL
[03:26:34] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-2f787bd-e4ca2af (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
I get this error on startup of server:  http://pastebin.com/QKnbWMbe
and then this one when I stop the server:  http://pastebin.com/dybCnPH1
Thanks for any fix/help!  Greatly appreciated!

That's actually an error on the MythicMobs end.

Ah shoot, - I'm sorry, - didn't have my glasses on XD    Thank you, sorry!


Partially Enforced sets Enforced status to true

Redo of the change made earlier about the partially enforced state.
Not the "Partially Enforced" will count as Enforced (will set the Enforced Status to true)

@guicassolato I wanted to wait until checks have passed before posting it in the Slack discussion. For me, it would make sense to close #677 as we don't really want to revert the change. What was fixed in that PR is still valid - it just revealed another issue. I'm using the old issue just for tracking purposes.
The initial issue was about not using the correct status to check subresources of the policy: we will always assume they are ready. Now we are checking it properly.
What was discussed is related to what we mark policy if not all subresources are ready.
A brief recap of the conversation that lead to this:
Initially, it was decided to have Enforced - False on Partially Enforced as a way to highlight that the policy is not fine; or rather subresources that are affected by the policy are not ok. E.g. DNS Policy targeting GW with 2 listeners. We create a DNS Record per listener and one of the records is not ready due to misconfiguration. It was debated that if we mark Enforced - true it will mislead to the belief that all DNS records are ok.
What was discussed in the Slack thread makes more sense tbh. With this change, we will mark the DNS Policy as not enforced only if we fail to retrieve the list of DNS Records or if there is no single DNS Record controlled by the policy and in a ready state. In all other cases the Enforced will always be true.
The rest of the policies will be fine and will stop being Enforced - false once overridden.

Thanks @makslion. I'll close #677 then.


[Release Checklist] 2.0.0-RC2

[x] OpenShift Pipeline
[x] Konvoy Pipeline
[ ] Native K8s Pipeline
Upgrade Pipelines

[ ]  1.0 to 2.0.0-RC2
[ ]  1.1 to 2.0.0-RC2
[ ]  1.2 to 2.0.0-RC2
[ ]  1.3 to 2.0.0-RC2
[ ]  1.4 to 2.0.0-RC2
[ ]  1.5 to 2.0.0-RC2
[ ]  1.6 to 2.0.0-RC2
[ ]  1.7 to 2.0.0-RC2
[ ]  1.8 to 2.0.0-RC2
[x]  1.9 to 2.0.0-RC2
[x] 1.10.0 to 2.0.0-RC2
[x] 1.11.0 to 2.0.0-RC2
[x] 1.12.0 to 2.0.0-RC2

ZFS Upgrade Pipelines

[ ]  0.4 to 0.9.1-RC2
[ ]  0.4.1 to 0.9.1-RC2
[ ]  0.5 to 0.9.1-RC2
[ ]  0.6 to 0.9.1-RC2
[ ]  0.6.1 to 0.9.1-RC2
[ ] 0.7.0 to 0.9.1-RC2
[ ] 0.8.0 to 0.9.1-RC2
[ ] 0.9.0 to 0.9.1-RC2

Manual testing

[x] spc pool and cspc pool migration
cspc/csi volume upgrade

[ ] 1.10.0 to 2.0.0-RC2
[x] 1.11.0 to 2.0.0-RC2
[x] 1.12.0 to 2.0.0-RC2

Dog Fooding

[ ] Upgrade Workload cluster

Images are:
openebs/jiva:2.0.0-RC2
openebs/cstor-istgt:2.0.0-RC2
openebs/cstor-pool:2.0.0-RC2

openebs/linux-utils:2.0.0-RC2

openebs/node-disk-exporter:0.8.0-RC2
openebs/node-disk-operator:0.8.0-RC2
openebs/node-disk-manager:0.8.0-RC2

openebs/zfs-driver:0.9.1-RC2
openebs/provisioner-localpv:2.0.0-RC2

openebs/velero-plugin:2.0.0-RC2
openebs/snapshot-provisioner:2.0.0-RC2
openebs/snapshot-controller:2.0.0-RC2
openebs/openebs-k8s-provisioner:2.0.0-RC2
openebs/admission-server:2.0.0-RC2
openebs/m-upgrade:2.0.0-RC2
openebs/m-exporter:2.0.0-RC2
openebs/cstor-volume-mgmt:2.0.0-RC2
openebs/cstor-pool-mgmt:2.0.0-RC2
openebs/m-apiserver:2.0.0-RC2

openebs/migrate-amd64:2.0.0-RC2
openebs/upgrade-amd64:2.0.0-RC2
openebs/cstor-webhook-amd64:2.0.0-RC2
openebs/cstor-pool-manager-amd64:2.0.0-RC2
openebs/cstor-volume-manager-amd64:2.0.0-RC2
openebs/cspc-operator-amd64:2.0.0-RC2
openebs/cvc-operator-amd64:2.0.0-RC2
openebs/cstor-csi-driver:2.0.0-RC2

Observations from this pipeline:

Size unit representation in cspi resource sometimes getting Mi, Ki even in bytes also.
Default status values in cspi, get empty values  (readOnly, provisioned and healthy replicas count) https://github.com/openebs/openebs/issues/3102

For the below images also pipelines completed successfully
openebs/snapshot-provisioner:2.0.0-RC3
openebs/snapshot-controller::2.0.0-RC3
openebs/openebs-k8s-provisioner:2.0.0-RC3
openebs/provisioner-localpv:2.0.0-RC3

While upgrading the control plane to 2.0.0-RC image seeing that the older unclaimed blockdevices remains in InActive state. Corresponding to this devices new blockdevices were created and in Active state. Will track the updates in this issue https://github.com/openebs/openebs/issues/3104

While migrating the spc pool getting the below job error log. and migration is not succeeded
k8s@e2e1-master:~/e2e-tests$ kubectl logs -f migrate-spc-sparse-claim-lqb57 -n openebs
I0814 08:56:05.252575       1 cstor_pool.go:78] Migrating spc cstor-block-disk-pool to cspc
I0814 08:56:05.300005       1 pool.go:153] Creating equivalent cspc cstor-block-disk-pool for spc cstor-block-disk-pool
I0814 08:56:05.313461       1 pool.go:328] Migrating csp cstor-block-disk-pool-cos9 to cspi cstor-block-disk-pool-9gf4
I0814 08:56:05.313493       1 pool.go:405] Scaling down deployment cstor-block-disk-pool-cos9
E0814 08:56:05.349511       1 cstor_pool.go:86] CStorPoolInstance.cstor.openebs.io "cstor-block-disk-pool-9gf4" is invalid: [status.healthyReplicas: Required value, status.provisionedReplicas: Required value, status.readOnly: Required value]
F0814 08:56:05.349828       1 cstor_pool.go:49] Failed to migrate cStor SPC : cstor-block-disk-pool

This issue was fixed in this PR: https://github.com/openebs/upgrade/pull/36

Fixed issue:

Default status values in cspi, get empty values (readOnly, provisioned and healthy replicas count), fixed as part of this PR https://github.com/openebs/cstor-operators/pull/156

Known issues:

Size unit representation in cspi resource sometimes getting Mi, Ki even in bytes (https://github.com/openebs/openebs/issues/3102)
In upgrade old bd were remains in Inactive state (https://github.com/openebs/openebs/issues/3104)


69 bug with lead time and time generated calculation

So the issue was two things. First the test case had issues. An attribute was wrong and the date time was quering for the generated time not varification time. Secondly the way I was trying to calculate those in the query, did not work. So I fixed that for both quering outputs and predictions.

Looks great and makes sense!


python310Packages.django-classy-tags: 4.0.0 -> 4.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.django-classy-tags is: Class based template tags for Django
meta.homepage for python310Packages.django-classy-tags is: https://github.com/divio/django-classy-tags
meta.changelog for python310Packages.django-classy-tags is: https://github.com/django-cms/django-classy-tags/blob/4.1.0/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.1.0 with grep in /nix/store/30gcr5p1pgxbqnllkr9jhmwy98falzqq-python3.10-django-classy-tags-4.1.0
found 4.1.0 in filename of file in /nix/store/30gcr5p1pgxbqnllkr9jhmwy98falzqq-python3.10-django-classy-tags-4.1.0

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

13 total rebuild path(s)

13 package rebuild(s)

First fifty rebuilds by attrpath
healthchecks
mailman-web
python310Packages.django-classy-tags
python310Packages.django-compressor
python310Packages.django-libsass
python310Packages.django-mailman3
python310Packages.django-sekizai
python311Packages.django-classy-tags
python311Packages.django-compressor
python311Packages.django-libsass
python311Packages.django-mailman3
python311Packages.django-sekizai
seahub

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/30gcr5p1pgxbqnllkr9jhmwy98falzqq-python3.10-django-classy-tags-4.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.django-classy-tags https://github.com/r-ryantm/nixpkgs/archive/887665e9cc881af5e22e6b65edb001171a29e97c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/30gcr5p1pgxbqnllkr9jhmwy98falzqq-python3.10-django-classy-tags-4.1.0
ls -la /nix/store/30gcr5p1pgxbqnllkr9jhmwy98falzqq-python3.10-django-classy-tags-4.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

13 packages built:

healthchecks
mailman-web
python310Packages.django-classy-tags
python310Packages.django-compressor
python310Packages.django-libsass
python310Packages.django-mailman3
python310Packages.django-sekizai
python311Packages.django-classy-tags
python311Packages.django-compressor
python311Packages.django-libsass
python311Packages.django-mailman3
python311Packages.django-sekizai
seahub

Maintainer pings

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

24 packages built:

healthchecks
mailman-web
mailman-web.dist
python310Packages.django-classy-tags
python310Packages.django-classy-tags.dist
python310Packages.django-compressor
python310Packages.django-compressor.dist
python310Packages.django-libsass
python310Packages.django-libsass.dist
python310Packages.django-mailman3
python310Packages.django-mailman3.dist
python310Packages.django-sekizai
python310Packages.django-sekizai.dist
python311Packages.django-classy-tags
python311Packages.django-classy-tags.dist
python311Packages.django-compressor
python311Packages.django-compressor.dist
python311Packages.django-libsass
python311Packages.django-libsass.dist
python311Packages.django-mailman3
python311Packages.django-mailman3.dist
python311Packages.django-sekizai
python311Packages.django-sekizai.dist
seahub


Error in Training teacher model

I have generated 100 episodes using the given script but when i try to train the birdview i am getting this error
MDB_INVALID: File is not an LMDB file
can you please guide me what can be the issue?
any help will be appreciated.
Many thanks
Fitash

Make sure you pass the correct path to data when running the training script.

the path is correct with two folders train and val both containing different episodes

Can you print the fullpath here: https://github.com/dianchen96/LearningByCheating/blob/release-0.9.6/bird_view/utils/datasets/birdview_lmdb.py#L64 and see if it makes sense?
If yes then check the dataset size. If both make sense then the issue might be related to the lmdb installation.

Closing it for now. If this is not solved feel free to reopen it and commen below.

I tried:

Reinstalling lmdb
ignoring the bad files
regenerating episodes

only few episodes can be used, all others gave the same error
I am using ubunutu 18.04, python 3.6.9, lmdb 0.94

Can you try running in the python environment we provided in the setup instructions? That uses python 3.5.

I tried that first but ended up with this results
UnsatisfiableError: The following specifications were found to be in conflict:

blas 1.0 mkl
gmp 6.1.2 h6c8ec71_1 -> libgcc-ng 7.2.0.*
gmp 6.1.2 h6c8ec71_1 -> libstdcxx-ng 7.2.0.*
Use "conda info " to see the dependencies for each package.

I tried that and same error as
/media/fitash/Carladata/train/001: MDB_INVALID: File is not an LMDB file

which ubuntu version are you using?
I am using 18.04

Thanks for the details. I used 18.04 and 16.04 and both worked for me. Do the corrupt runs have the correct files in it (i.e lock.mdb etc.) & have the correct file size?

the lock files are of the same size while the data file is sometime 2.0gbs sometime 1.8 and 2.2. Mostly the corrupt files are other than the last 6 files

This is odd... the file sizes look correct to me. I will try your env and see if i can reproduce it. In the mean time can you try what if you just collect 1 episode and see if it is corrupted. Also maybe take a a look at https://stackoverflow.com/questions/44407659/how-to-force-64-bit-lmdb-to-generate-a-32-bit-database if your machine is 32-bit.


Issues with MariaDB not seen in MySQL

Found a bug? Please fill out the sections below. 👍
Issue Summary
during manage.py migrate, the following warning is displayed:
WARNINGS:
wagtailcore.WorkflowState: (models.W036) MariaDB does not support unique constraints with conditions.
HINT: A constraint won't be created. Silence this warning if you don't care about it.
Steps to Reproduce
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
after migrate completes, I attempt to run manage.py load_initial_data and errors out with:
File "/xxxx3.9/site-packages/MySQLdb/connections.py", line 254, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.IntegrityError: (1062, "Duplicate entry '2-1-1' for key 'wagtailcore_groupcollect_group_id_collection_id_p_a21cefe9_uniq'")
fixtures/bakerydemo.json was created with manage.py dumpdata >bakerydemo.json (SQLITE import of same json file is OK)
Running MariaDB 10.6.5 database server

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (no)

Technical details

Python version: Run python --version.  3.9.9

Django version: Look in your requirements.txt, or run pip show django | grep Version  Django>=3.2,<3.3.

Wagtail version: Look at the bottom of the Settings menu in the Wagtail admin, or run pip show wagtail | grep Version:. Name: wagtail
Version: 2.15.1

Browser version: You can use https://www.whatsmybrowser.org/ to find this out.
Firefox 95.1-1

Wondering if there's a MariaDB setting that could ignore/jump over this error?

mysqlclient 1.3.1 seemed to take care of the issue. The same warning is shown for native mysql, and I think I was missing an optional parameter when I attempted to dumpdata.

请问这个问题确定原因了吗，解决了吗


Polygon entities are missing outlines

See Sandcastle demo - the blue polygon has outline enabled, but no outline is visible, even if you increase outlineWidth.

Thanks @SunBlack!  We just had a small typo in the word 'height'
I submitted a fix here: #5643


Resolves #93: Uses boto3 to find region if possible

Rather than depending on the partially implemented AWS_DEFAULT_REGION
check, this change makes it so credstash relies more heavily on boto3 to
discover regions. Now we can do things like define an ~/.aws/config
file that looks like this:
[profile work]
region=us-west-2

and run credstash like this:
AWS_PROFILE=work credstash -n arn:aws:iam::000000000000:role/some-role get test

and it will successfully find the correct region
Only in the case where the region is absolutely not found, does
credstash then default to us-east-1. It's slightly backward
incompatible, but I think it's a nice improvement.

@artburkart Thanks for another PR.
What do you think about dropping a default region from credstash? So I'm thinking the resolution rules would be:

--region parameter
Let boto* go through its own rules
If region is not found raise an exception

What do you think about that?
Thank you for pointing out a backward incompatible change. Given the number of PRs that are outstanding, I'm going through all of them now to create a new major version of credstash that will include backward incompatible changes so it's good to call those out when you see them so they can be documented.

While I don't think it will impact me personally, it could break backward compatibility for some (maybe many?) of the current users out there. Would there be a way to tell users this is a breaking change?

What I'd like to do is start following semver conventions for releases. Major version bumps indicate breaking changes or major updates to functionality. Breaking changes would also be documented, probably in the release notes. We could also do beta releases that are usable for some time before committing to a full on release to give folks time to adjust, though that would be a little more overhead.

okay, I'll make that change then :)
On Fri, Oct 27, 2017 at 11:26 AM, wayne-luminal<EMAIL_ADDRESS>wrote:

What I'd like to do is start following semver conventions for releases.
Major version bumps indicate breaking changes or major updates to
functionality. Breaking changes would also be documented, probably in the
release notes. We could also do beta releases that are usable for some time
before committing to a full on release to give folks time to adjust, though
that would be a little more overhead.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fugue/credstash/pull/180#issuecomment-340003672, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAcSqHn8wUv8hPUi2nrZZ1w1OkPQSR_5ks5swfY2gaJpZM4P359t
.

I’m thinking more and more that removing the default and raising an exception in the worst case is the best option. If there is no default way to get a region let the user know and configure it the way they want, either using boto3 default chain of config or the —region shortcut.

How soon do you need this? I don't want to hold anyone up if you wanted it yesterday or something like that :)

Well, I'm no longer using CredStash in any of my projects for various reasons (including that I changed employer), so I don't need it any time soon :P Still, I think this change makes for a better experience overall.

Heh, I figured it wasn't too urgent for you, since the request was made over a year ago. I was more curious whether there was any urgency on the luminal side of things. :) Regardless, I made the update.

@artburkart @wayne-luminal i'd really like to see this PR implemented. should it be redone from the ground up or is there something we can do to nudge it over the line?

@inhumantsar – I think the PR is still good as-is, but I'd need to resolve one minor plaintext conflict and get it approved and merged for it to go live.


⚠ Mobitopup has degraded performance

In 7807ab6, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3626 ms

Resolved: Mobitopup performance has improved in 48a5c56.


added kafka node pools and configure strimzi to enable KRaft mode

Type of change

Enhancement / new feature

Description
Adapt the code to enable to use of KRaft mode when deploying kafka with Strimzi. With that we can save deploying time.
Additional Context
Fixes #733
Checklist

[X] Write tests
[X] Make sure all tests pass
[x] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[X] Make sure all Sonar-Lint warnings are addressed or are justifiably ignored.
[X] Update documentation
[X] Reference relevant issue(s) and close them after merging
[X] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

@strimzi-ci run system tests

:heavy_check_mark: Test Summary :heavy_check_mark:
BUILD NUMBER: 1
KAFKA VERSION: 3.6.1
TOTAL: 4
PASS: 3
FAIL: 0
SKIP: 1

Out of interest, why are we still configuring the entity operators in the kafka CR?
strimzi-cluster-operator-7d676b9685-fxct4   1/1     Terminating         0          4m9s
strimzi-cluster-operator-7d676b9685-fxct4   0/1     Terminating         0          4m10s
strimzi-cluster-operator-7d676b9685-fxct4   0/1     Terminating         0          4m11s
strimzi-cluster-operator-7d676b9685-fxct4   0/1     Terminating         0          4m11s
strimzi-cluster-operator-7d676b9685-fxct4   0/1     Terminating         0          4m11s
I don't think we have any dependency on it now we are using the test-clients.

Out of interest, why are we still configuring the entity operators in the kafka CR?
strimzi-cluster-operator-7d676b9685-fxct4 1/1 Terminating 0 4m9s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m10s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s
I don't think we have any dependency on it now we are using the test-clients.

It is included in the installation yaml downloaded from strimzi.io, so we cannot modify it easily. We would need to modify the strimzi deployment to improve the installation time, but I think this is not a task for now as we need to focus on the Topic Encryption system tests.

Out of interest, why are we still configuring the entity operators in the kafka CR?
strimzi-cluster-operator-7d676b9685-fxct4 1/1 Terminating 0 4m9s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m10s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s strimzi-cluster-operator-7d676b9685-fxct4 0/1 Terminating 0 4m11s
I don't think we have any dependency on it now we are using the test-clients.

It is included in the installation yaml downloaded from strimzi.io, so we cannot modify it easily. We would need to modify the strimzi deployment to improve the installation time, but I think this is not a task for now as we need to focus on the Topic Encryption system tests.

That's not right.  It only gets deployed because the kafka cr enables the user and topic operators.  You could just remove it in KafkaTemplates.java by removing.
-                .editEntityOperator()
-                .editUserOperator()
-                .withNewInlineLogging()
-                .addToLoggers("rootLogger.level", LogLevel.INFO.name())
-                .endInlineLogging()
-                .endUserOperator()
-                .editTopicOperator()
-                .withNewInlineLogging()
-                .addToLoggers("rootLogger.level", LogLevel.INFO.name())
-                .endInlineLogging()
-                .endTopicOperator()
-                .endEntityOperator()

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:heavy_exclamation_mark: System tests Failed (no tests results are present) :heavy_exclamation_mark:


Health Check Set Up article added

Hey @yusufuyanik1 - I took a quick look at the notebook and did some restructuring/rephrasing in some points. Please take another look and let me know when you think it's ready to be merged.

Hey @StijnKas Thanks for restructuring/rephrasing, it looks better now. I think it is ready to be merged.


⚠ Bofrost.es has degraded performance

In 1a0eb56, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1803 ms

Resolved: Bofrost.es performance has improved in dfa2421 after 13 minutes.


Allow for import and export of Database

Allow to export and import Database file like what Nova Launcher does to safely back up and transfer data

As an optimization of size we could set any defaulted properties to "null" to save on file space if it's going to be in some kind of text format like JSON or something like that. Importer needs to know this of course


Whitespace to right of responsive iframe

Occurs when the width of the element is not a whole number.
Whitespace

iframe Computed Styles

iframe html Computed Styles

Platform
Browser
Details

OS X Yosemite
Chrome
As Described

OS X Yosemite
Opera
?

OS X Yosemite
Safari
?

OS X Yosemite
Firefox
?

Windows 8/8.1
Chrome
?

Windows 8/8.1
Opera
?

Windows 8/8.1
IE
?

Windows 8/8.1
Firefox
?

Mobile/Tablet Devices
?
?

Unpossible due to the nature of the iframe element there doesn't seem to be a fix at the moment.
Will look into alternatives later on.


is is possible to reassign SvgPath?

After the page is loaded, I try to change SvgPath with a button click but it will not reload to another svg image? is it even possible?
I have just defined on xaml
   <abstractions:SvgImage x:Name="backgroundImage"  SvgAssembly="{Binding SvgAssembly}"
    SvgPath="" HeightRequest="369" WidthRequest="200" BackgroundColor="White" HorizontalOptions="Center" VerticalOptions="Center"/>

and on the code behind simply, onselection action, I try to change the image using the path but it didnt work. What should I do to more in order to replace the image dynamically?
 public myPage()
        {
            InitializeComponent();
            backgroundImage.SvgPath = "image1.svg";

        }

		void OnSelection (object sender, SelectedItemChangedEventArgs e)
		{
           backgroundImage.SvgPath = "image2.svg";

        }

Re-Assigning does not work for me either.

it doesn't work for data binding too


Update docs on increasing the persistent log sizes

Hey @lmbarros not to put too much on your plate since you are looking to persistent logging maybe answers to these questions by Zoobot would be great to be documented

@lmbarros Repinging for about finishing this.

@vipulgupta2048 What are the Zoobot's questions you mentioned?
The current status here is that I am getting errors when following the instructions on README to test and rebuild the docs after my changes.
After a successful npm install, npm starts errors with this:
><EMAIL_ADDRESS>start /home/lmb/balena/balena-io/docs
> node index.js

internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module './nav.json'
Require stack:
- /home/lmb/balena/balena-io/docs/server/index.coffee
- /home/lmb/balena/balena-io/docs/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/home/lmb/balena/balena-io/docs/server/index.coffee:5:14)
    at Object.<anonymous> (/home/lmb/balena/balena-io/docs/server/index.coffee:1:1)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.loadFile (/home/lmb/balena/balena-io/docs/node_modules/coffeescript/lib/coffeescript/register.js:18:19)
    at Module.load (/home/lmb/balena/balena-io/docs/node_modules/coffeescript/lib/coffeescript/register.js:53:36)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/home/lmb/balena/balena-io/docs/index.js:2:1)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47
 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/lmb/balena/balena-io/docs/server/index.coffee',
    '/home/lmb/balena/balena-io/docs/index.js'
  ]
}

And npm run build:fast gives me this:
><EMAIL_ADDRESS>build:fast /home/lmb/balena/balena-io/docs
> ./tools/build.sh && webpack --mode production

Building HTML...
(node:77181) UnhandledPromiseRejectionWarning: Error: Invalid frontmatter in the file at: /home/lmb/balena/balena-io/docs/pages/reference/base-images/base-images.md
    at Metalsmith.<anonymous> (/home/lmb/balena/balena-io/docs/node_modules/metalsmith/lib/index.js:462:21)
    at Generator.next (<anonymous>:null:null)
    at Metalsmith.next (/home/lmb/balena/balena-io/docs/node_modules/co/index.js:74:21)
    at /home/lmb/balena/balena-io/docs/node_modules/co/index.js:93:18
    at /home/lmb/balena/balena-io/docs/node_modules/thunkify-wrap/index.js:96:12
    at /home/lmb/balena/balena-io/docs/node_modules/graceful-fs/graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)

@lmbarros Check out https://github.com/balena-io/docs/issues/2267, forgot to mention it in my original message.
Also, please rebase your branch to fix the issue that you are seeing. I fixed the frontmatter issue with #2266

Thanks, @vipulgupta2048 ! Ready for review! I didn't take into account Zoobot's questions (have higher-prio tasks now), but I think this PR is an improvement over the current docs nevertheless.

Hello @Maher4Ever Looking back on this change, it seemed @lmbarros might have tested it on development/production and found something. So pinging to see if he knows something.
I was under the impression changing the setting should work in any environment. Since you have tested it and if you can then please do open a PR to rectify this.

Hi @Maher4Ever ! As far as I know it should technically work in production mode, too. It's just that we currently don't offer a simple and safe way to change this config, and we generally recommend against manual config modifications to production devices (because mistakes can cause hard-to-solve problems).


Support MySQL5 for DELETE query.

Use case
komapper generate query when execute the code.
db.runQuery {
  QueryDsl.delete(someTable).where { someTable.id inList listOf(1, 2, 3) }
}
// --> delete from some_table as t0_ where t0_.id in (?);

But, MySQL5 is not supported table alias.
MySQL throws ERROR 1064 (42000) .
Describe the solution you'd like
komapper should generate query like belows if database is MySQL5.
(I don't know if it is possible...)
delete aa from some_table as aa where aa.user_id in (?);

Versions

Komapper: 1.1.2
Kotlin: 1.7.10
JVM: 11
JDBC Driver or R2DBC Driver: JDBC
Database: MySQL5
OS: Ubuntu 22

Currently MySQL 5 is not supported.
However, you can avoid this problem by creating your own dialect:
val url = "jdbc:mysql://localhost/test"
val defaultDialect = JdbcDialects.get("mysql")
val customDialect = object : JdbcDialect by defaultDialect {
    override fun supportsAliasForDeleteStatement() = false
}

val db = JdbcDatabase(url, dialect = customDialect)

Now you can execute your query without any exceptions:
db.runQuery {
  QueryDsl.delete(someTable).where { someTable.id inList listOf(1, 2, 3) }
}
// --> delete from some_table where id in (?);

I was able to solve the problem by the method presented!
Thank you!!

Just FYI, you can accomplish the same thing using the Service Provider Interface.
This approach makes JdbcDatabase instantiation simple.
Here is an example.
Step 1
Create a JdbcDialectFactory implementation class:
package example

import org.komapper.dialect.mysql.jdbc.MySqlJdbcDialect
import org.komapper.jdbc.JdbcDialect
import org.komapper.jdbc.spi.JdbcDialectFactory

class CustomDialectFactory : JdbcDialectFactory {

    private val mySqlDialect = MySqlJdbcDialect()

    override val priority: Int get() = super.priority + 10

    override fun supports(driver: String): Boolean {
        return driver.lowercase() == mySqlDialect.driver
    }

    override fun create(): JdbcDialect {
        return object : JdbcDialect by mySqlDialect {
            override fun supportsAliasForDeleteStatement(): Boolean = false
        }
    }
}

Step 2
Register the above class in a file with the following name:

META-INF/services/org.komapper.jdbc.spi.JdbcDialectFactory

Step 3
Use the your own dialect in your application:
val url = "jdbc:mysql://localhost/test"
val db = JdbcDatabase(url) // this db instance uses your own dialect

You don't need to specify the dialect in the application. It is loaded implicitly.


[RFC]: improve README examples of random/streams namespace

Description
This RFC proposes to improve the README examples of the random/streams namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the random/streams namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the random/streams namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

I want to work on this issue. Please assign me for this task. @Planeshifter


Google Pay not working in ionic capacitor app

Platform

[ ] Web
[ ] iOS
[ x] Android

Describe the bug
i am using ionic capacitor and want to integrate google pay using that plugin but as i click button to present google pay screen blinks and nothing happen no dialog for google pay form.
//variable.gradle
ext {
minSdkVersion = 26
compileSdkVersion = 34
targetSdkVersion = 33
androidxActivityVersion = '1.2.0'
androidxAppCompatVersion = '1.2.0'
androidxCoordinatorLayoutVersion = '1.1.0'
androidxCoreVersion = '1.3.2'
androidxFragmentVersion = '1.3.0'
junitVersion = '4.13.1'
androidxJunitVersion = '1.1.2'
androidxEspressoCoreVersion = '3.3.0'
cordovaAndroidVersion = '7.0.0'
stripeAndroidVersion = '20.41.0'
}
//below is buttons code
async createGooglePay() {
await Stripe.createGooglePay({
  paymentIntentClientSecret: "some payemnt intent",
  paymentSummaryItems: [
    {
      label: 'Product Name',
      amount: 1099.0,
    },
  ],
  merchantIdentifier: 'merchant.com.getcapacitor.stripe',
  countryCode: 'US',
  currency: 'USD',
});

}
async presentGooglePay() {
return Stripe.presentGooglePay();
}
To Reproduce
Expected behavior
it should display google pay form
Screenshots

Additional context
Add any other context about the problem here.
Usage Product
If you adopt this plugin, please let us know which product you are using.
Product Name:
Product URL :
Using Function:

[x] Payment Sheet / Payment Flow
[ ] Apple Pay
[x] Google Pay
[ ] Identity (@capacitor-community/stripe-identity)
[ ] Terminal（@capacitor-community/stripe-terminal）

please let me know if i am doing wrong somthing

@rdlabo  anyone please help

I came to know that it look like google pay luncher issue that blink but does not show on screen ,any fix

Sorry for the delay, most likely the settings in strings.xml and AndroidManifest.xml are wrong. Or you don't have Google Pay configured on your device.
まず、 Stripe.isGooglePayAvailable() で利用可能かを調べてください。ドキュメントはここにあります。
https://stripe.capacitorjs.jp/docs/google-pay

I encountered the problem that Stripe.isGooglePayAvailable() always gives an error. When debugging, I found that this block of code in the capacitor-community-stripe plugin:
class MetaData(protected var contextSupplier: Supplier) {
....
            val appInfo = contextSupplier
                .get() // => it always is null so other variable setting is skipped. e.g enableGooglePay
                .packageManager
                .getApplicationInfo(contextSupplier.get().packageName, PackageManager.GET_META_DATA)

            enableGooglePay =
                appInfo.metaData.getBoolean("com.getcapacitor.community.stripe.enable_google_pay")
....

My AndroidManifest.xml


Get Parrit Travis-CI running again

With the move to Parrit org, Travis CI is not running anything at the moment.  I put in a request to owners (since I'm not a owner) to add Parrit org.  Feel to free to reject and do it under an owner's Travis account

I approved the access.  Looks like the badge on the readme needs to be updated too?


Dockerfilereuse

This introduces dockerfile re-usage via cpp preprocessing. Less copy-paste in our numerous dockerfiles, single file where to make changes!
Old targets work as usual, and dockerfiles are regenerated if the inputs are changed.
This was written on top of the license file build optimization.

Codecov Report

Merging #1013 (5cc1eca) into main (ca503ba) will not change coverage.
 Consider uploading reports for the commit 3067ea2 to get more accurate results

@@           Coverage Diff           @@
##             main    #1013   +/-   ##
=======================================
  Coverage   53.15%   53.15%
=======================================
  Files          40       40
  Lines        4340     4340
=======================================
  Hits         2307     2307
  Misses       1906     1906
  Partials      127      127

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@uniemimu can you rebase this PR on top of resent main to re-trigger CI?

/lgtm

Thanks. I still found a few bugs by doing a thorough self-review.

@uniemimu sure. just let us know when we can merge it.

squashed, ready

Squashed again after latest fixes for review comments. Note the newline had to be changed from \n to \N due to other \n usage in dockerfiles (fpga initcontainer echo).


add async with motor to chat message history

Hi!
Thank you for integrating my code into this repository. My original pull request was #27234, where I added asynchronous support for the MongoDBChatMessageHistory class. However, during the transfer of my code to this repository, my name was not retained in the commit history.
I would like to kindly ask for a correction in the commit history to reflect my authorship. Thank you in advance for your understanding and help with this!
@efriis

Hi @efriis,
Just a gentle reminder about my request to reflect my authorship in the commit history for PR #27234. Is there any update on this?
Thank you!


Updating service instances

This branch adds support for Updating a Service Instance API.
See #14 for details.

Closing due to this.


Callfixup for _guard_dispatch_icall on x86-64-win

The added callfixup allows the Decompiler to correctly recognize CFG function targets.
This implements the suggested changes from issue #318.

Thanks for the pull request. I had a suggestion for the submitted fixup and some questions.
The 'goto[RAX]' should be changed to 'call[RAX]' to preserve the fact that a call is being issued. This will get rid of the "Could not recover jumptable ..." warnings, as in the #318 screen shot.
Can you point us to an example binary where '_guard_dispatch_icall' is getting called?  Do you know what version(s) of Visual Studio generates it?  Ideally we would like Ghidra to automatically recognize the function.
This appears similar to '_guard_check_icall' but the examples I've seen go through RCX instead of RAX. Is this a possibility with '_guard_dispatch_icall'?

Here's one: https://msdl.microsoft.com/download/symbols/kerneltracecontrol.dll/3a2aa1f940000/kerneltracecontrol.dll
Pretty much any Windows 10 DLL should include it; guard_dispatch_icall was a Win 10 addition to join guard_check_icall.
And call [RAX] does indeed work much better than goto [RAX].

I changed the the branch accordingly.

The 'goto[RAX]' should be changed to 'call[RAX]' to preserve the fact that a call is being issued. This will get rid of the "Could not recover jumptable ..." warnings, as in the #318 screen shot.

It seems that I misunderstood the Callfixup feature as it was my impression that you would model the Callfixup to reflect what the target function is doing and since the _guard_dispatch_icall() is targeted by a call _guard_dispatch_icall() and the function then performs a jmp RAX. So I thought a goto should be used. Thanks for clearing that up.

Can you point us to an example binary where '_guard_dispatch_icall' is getting called? Do you know what version(s) of Visual Studio generates it? Ideally we would like Ghidra to automatically recognize the function.

Most of the Windows 10 (x64) binaries employ that, at least core-DLLs do (kernel stuff, amsi, etc.).

Thanks for making the change. We're prepared to accept the PR. We usually ask that it be presented as a single commit. We could do that on our end but want to give you the chance to do a signed commit.

If it's no trouble for you, you're free to squash it on your end, as I haven't set-up signing with this account.

Squashed in bdcbe2cf3a8b4c8310be892aa9b6240b2e101570 and merged.


World map

User story
As an impact officer, I want to see up-to-date dashboard across all nodes, so that I can use these when creating impact stories.

[x] I can see a world map with the location and counts of the training events.

The map has been implement. With that as the single checkbox for this issue, I will close it. However, we should remember to user-test with the impact officer that they get all the charts/data they need (perhaps we need a general user-testing issue).


OAuth options should be included in "Register" page

Description
Since they do not have accounts, new users are more likely to click "Register" than "Sign In".
When OAuth is enabled, the register page (e.g. https://try.gitea.io/user/sign_up ) does not indicate that you can sign in with one of the providers.  Here's a screenshot from try.gitea.io (which has GitHub sign in enabled):

Ideally the "Sign In With" OAuth box from the "Sign In" page would also be included in the "Register" page.
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
affects try.gitea.io
Database
No response

Related this one:

https://github.com/go-gitea/gitea/issues/19809


(#12) singular published story API is deprecated for versions v2.4 and higher

I send
https://graph.facebook.com/v14.0/17814849610/media?image_url=https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a.jpg
&is_carousel_item=true
&access_token=
But it not working

Sorry, I don't understand. Can you add more information? What's your Bridgy user page URL or Facebook username? What are you trying to do.

I'm trying to use an API to post to my instagram account. It seems that this error indicates that I do not have rights to use the API.
I registered in Graph API Explorer to get permission and changed my account type to "business account", but when using this method:
POST /{ig-user-id}/media
to load an image into the carousel,  I still get the error, this time this one:

(#100) Tried accessing nonexisting field (instagram_business_account) on node type (Application)

Sounds like you're in the wrong GitHub project, Bridgy doesn't offer posting to Instagram. Are you looking https://developers.facebook.com/community?category=1682619081946621 ?


wasm-bindgen does not generate browser shims when target is wasm32-unknown-emscripten

Hi I want to mix wasm32-unknown-emscripten with wasm-bindgen in some way.
Regarding to #2505 :
AFAIK emscripten wants its own JS shims and all that, and having two systems of managing shims won't mix well.

This is true, however in my case I want use most features of web-sys (wgpu, winit) and some set of emscripten. Basically, I want to use libc from emscripten and all other stuff from wasm-bindgen.
However when I use wasm-bindgen to generate js it didn't generate shim for browser, I use this command:
wasm-bindgen --out-dir target/generated --target web --keep-debug target/wasm32-unknown-emscripten/debug/rs.wasm

The generated js (target --web) is:
import * as __wbg_star0 from 'env';
import * as __wbg_star1 from 'wasi_snapshot_preview1';

let wasm;

async function load(module, imports) {
    if (typeof Response === 'function' && module instanceof Response) {
        if (typeof WebAssembly.instantiateStreaming === 'function') {
            try {
                return await WebAssembly.instantiateStreaming(module, imports);

            } catch (e) {
                if (module.headers.get('Content-Type') != 'application/wasm') {
                    console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);

                } else {
                    throw e;
                }
            }
        }

        const bytes = await module.arrayBuffer();
        return await WebAssembly.instantiate(bytes, imports);

    } else {
        const instance = await WebAssembly.instantiate(module, imports);

        if (instance instanceof WebAssembly.Instance) {
            return { instance, module };

        } else {
            return instance;
        }
    }
}

async function init(input) {
    if (typeof input === 'undefined') {
        input = new URL('road_bg.wasm', import.meta.url);
    }
    const imports = {};
    imports['env'] = __wbg_star0;
    imports['wasi_snapshot_preview1'] = __wbg_star1;

    if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
        input = fetch(input);
    }

    const { instance, module } = await load(await input, imports);

    wasm = instance.exports;
    init.__wbindgen_wasm_module = module;
    wasm.__wbindgen_start();
    return wasm;
}

export default init;

It looks like js for nodejs not for browser. It didn't work because there are no env and wasi_snapshot_preview1 in browser. If I use --browser instead of --target web the generation is even more strange:
import * as wasm from "./road_bg.wasm";
export * from "./road_bg.js"; // --> import * as wasm from './road_bg.wasm';
wasm.__wbindgen_start();

I expect that wasm-bindgen generates same shims for browser both for wasm32-unknown-unknown and wasm32-unknown-emscripten.
When I use wasm32-unknow-unknown for same project, shim generated correctly:
wasm-bindgen --out-dir target/generated --target web --keep-debug target/wasm32-unknown-unknown/debug/rs.wasm

Generated js:

let wasm;

const heap = new Array(32).fill(undefined);

heap.push(undefined, null, true, false);

function getObject(idx) { return heap[idx]; }

let heap_next = heap.length;

function dropObject(idx) {
    if (idx < 36) return;
    heap[idx] = heap_next;
    heap_next = idx;
}

function takeObject(idx) {
    const ret = getObject(idx);
    dropObject(idx);
    return ret;
}

function addHeapObject(obj) {
    if (heap_next === heap.length) heap.push(heap.length + 1);
    const idx = heap_next;
    heap_next = heap[idx];

    heap[idx] = obj;
    return idx;
}

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });

cachedTextDecoder.decode();

let cachegetUint8Memory0 = null;
function getUint8Memory0() {
    if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
        cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
    }
    return cachegetUint8Memory0;
}

function getStringFromWasm0(ptr, len) {
    return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}

function isLikeNone(x) {
    return x === undefined || x === null;
}

let cachegetFloat64Memory0 = null;
function getFloat64Memory0() {
    if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
        cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
    }
    return cachegetFloat64Memory0;
}

let cachegetInt32Memory0 = null;
function getInt32Memory0() {
    if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
        cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
    }
    return cachegetInt32Memory0;
}

function debugString(val) {
    // primitive types
    const type = typeof val;

//...

So, why it acts like this?

Thanks for the report, but wasm-bindgen doesn't support the emscripten wasm target at this time. I haven't ever tested it myself so I don't know how far off we would be from getting it to work, but it's expected that emscripten doesn't work at the moment.

Do you think it can be supported at some time?

Perhaps, but I won't personally be leading that effort.


Request to change color of mHeaderControl Icon in toolbar

I'm using the "compact dark theme" which is one of the three standard themes that are in a stock Firefox install (there is also compact light and default.) Since mHeaderControl uses black for the color of it's toolbar icon, it is barely visible when using the stock "compact dark theme". Any thoughts on changing the color, even if it is some shade of grey? (or whatever you feel would be best) - it would make it much more visible and stand out better in the toolbar. Please consider this. Thanks! Brilliant add-on!

Thanks for the input, I'll think of something.
Don't especially like the current icon anyway 😉

MANY Thanks! Keep up the great work on this GREAT add-on!


Using MFA with terragrunt

I am running my workflow using GitHub Actions and I need terragrunt to assume a role but to assume the role ,MFA is required. Please how can I dynamically configure terragrunt to authenticate (mfa) to assume the role.

MFA and automation don't typically go together. MFA devices are typically used by humans; machine users don't usually have multiple factors (e.g., an iPhone or key fob) to work with, right?


Perf plots akp

Instead of digging deeper into the code (transformers) I only fixed how the perf_plots.plot_pred_vs_actual() is rendered by checking for 0's in the weights and fixing the actual_y_values there instead of further back in the code. If it's better, I can work on instead changing untransform() to to fix the mean value data --> zero-centered data transformation issue where nan's are replaced with 0's for regression models.
Additionally, I added a check in the featurization.make_weights() to only replace nan's with 0's if the model_type is classification.
Lastly, I make sure to exclude nan's from model_dataset.get_classes() which returns a set of class labels.

This addresses #283, but #284 should be merged before this one.


[AMA]

Ask me anything...
@pmarsceill,
Hey, what happened to tablab.io?

Cost too much to run on Heroku at the time... the production DB filled up and I couldn't afford to keep it going. I do think I could rebuild it now for almost nothing. It's very tempting.

Plus one to this. Used it to create a couple of tabs and thought it was an awesome tool. If running costs are a problem maybe you could accept donations or else release a client for people to use locally?