python-logstash-async upgrade

Motivation and context
This is a necessary upgrade of python-logstash-async library.
For cvat these PRs are vital:
https://github.com/eht16/python-logstash-async/pull/73
https://github.com/eht16/python-logstash-async/pull/72
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

@azhavoro
Do you think we can update the dependency?

/check

@PMazarovich , thanks for the contribution. Let's check that all works. If it is so, we will accept the change.

/check

/check


View Messages posted on topics?

This might be the lamest question; however, I am unable to figure this out, can someone guide me?
I have added my cluster
Able to create topics form the CMAK UI and Java Code.
Able to post messages to my topics
How do I view those messages on the CMAK UI?

I dont believe this tool has ever had a topic browser. AKHQ, Kafdrop, and KafkaUI do, however.


Crash when trying to add items to task

crash-2022-10-17_14.33.12-client.txt

The stack trace is somewhat different nowadays in the GT part, but I was running into the same issue.
In my case, the issue was caused by using a custom material registry in GT, and having no materials where cables, item pipes, or fluid pipes were generated. This caused this.enabledMaterials to be empty in getFallbackType() in BlockCable, BlockItemPipe, and BlockFluidPipe.
I "fixed" it by adding a couple of dummy materials: one with cable and item pipe properties, and another with a fluid pipe property. The item list in BQ still shows missing textures for any prefix with no valid materials (ie spring, exquisite gem, etc), but at least there's no crash.
Not sure where the actual fix for this should be (maybe if GT didn't register items/blocks if no materials exist, or making getFallbackType return dummy data), but at least there's a workaround.


Create aliases ln (for log), lg (for log10)

Users often write lg and ln to calculate the natural and decimal logarithms.

Good idea.  Do you want to submit a PR?
Bruce
On Sun, Sep 20, 2020 at 1:00 PM diman3210<EMAIL_ADDRESS>wrote:

Users often write lg and ln to calculate the natural and decimal
logarithms.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neonxp/MathExecutor/issues/75, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYW6SYJI5JQWXSUIBVT3WLSGYYKTANCNFSM4RTXQYXQ
.

yes

how do I do this?

  Do you work in that
branch.  Run unit tests, add some unit tests.  When you think it is all
working, push branch.  Go back to GitHub and open a Pull Request on our
project, referencing yours.  GitHub fixed this up recently, so should be
straightforward.
Let me know if you have any questions or problems you can't figure out.
Contributing to open source is fun!
Bruce
On Mon, Sep 21, 2020 at 11:37 AM diman3210<EMAIL_ADDRESS>wrote:

how do I do this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neonxp/MathExecutor/issues/75#issuecomment-696196809,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYW6S5OEKEMTIXCOPWWDV3SG5XKPANCNFSM4RTXQYXQ
.

Now in V2.1.5.
Thanks for the PR.


How to export onnx model?

Anyone know how to export onnx model?

Excuse me, I am currently unable to obtain F1 metrics from the culane dataset in "Normal", "Crowded" and other scenarios from the test results, I would appreciate it if you could let me know

Anyone know how to export onnx model?

Sorry, we haven’t tried exporting to an ONNX model and don’t have plans to do so.


Add tests for PyTorch operators

Could look at the Python test cases in https://github.com/pytorch/pytorch/tree/main/test, or lean more on tests in torch-mlir: https://github.com/llvm/torch-mlir/tree/main/test. There are also some tests in https://github.com/nod-ai/SHARK-TestSuite/tree/main/e2eshark/pytorch/operators.
Generally looking for proof that the work tracked in https://github.com/nod-ai/SHARK-Turbine/issues/347 has fully landed in IREE and is supported across the full range of targets.

From @Groverkss here on Discord:

I've started using iree-turbine to generate tests. Writing IR for something like gather + attention fusion is somewhat hard for me, it's much easier to just write it in iree-turbine
This is the template i used:
import torch
import torch.nn as nn

import iree.turbine.aot as aot

class GatherAttention(nn.Module):
    def __init__(self):
        super().__init__()

    def forward(self, q: torch.Tensor, k_mem: torch.Tensor, k_indices:
                torch.Tensor, v: torch.Tensor):
        k = torch.gather(k_mem, dim=2, index=k_indices)
        out = nn.functional.scaled_dot_product_attention(q, k, v)
        return out

model = GatherAttention()

q = torch.randn(2, 10, 4096, 64, dtype=torch.float16)
k_mem = torch.randn(2, 10, 4096, 64, dtype=torch.float16)
v = torch.randn(2, 10, 4096, 64, dtype=torch.float16)
k_indices = torch.arange(2 * 10 * 4096 * 64).reshape((2, 10, 4096, 64))

exported = aot.export(model, q, k_mem, k_indices, v)
exported.print_readable()

Would recommend generating tests like this because you can also check correctness with torch this way


Config.dat has wrong format

The format is wrong anyway and does not match the original, so I'd highly suggest we get rid of it and just make the whole thing use .json files

Fixed in https://github.com/SlightlyIntelligentMonkey/CaveStoryRecoded/commit/493d5c242d36dce433b5da4f4d43e7f8c89768b1


Add support for local Telldus control

Supported features: Lights On/Off and Dimming.
Adds telldus as a dependency.

Thanks!


visualization problem

Hi, I found a visualization problem when I follow your docs/INFER.md.

python test.py --cfg_file cfgs/scannet_models/spconv_clip_base15_caption_adamw.yaml --ckpt output/scannet_models/spconv_clip_base15_caption/exp_tag/ckpt/checkpoint_epoch_128_6488.pth  --save_results semantic,instance
python visual_utils/visualize_indoor.py

Traceback (most recent call last):
  File "visual_utils/visualize_indoor.py", line 217, in <module>
    rooms = sorted(os.listdir(opt.prediction_path + '/pred_instance'))
FileNotFoundError: [Errno 2] No such file or directory: './results/pred_instance'

Then I got into eval_utils.py,
https://github.com/CVMI-Lab/PLA/blob/3d8494b9499c9f7f2b1ed869fd7f57c960042a1a/tools/eval_utils/eval_utils.py#L85
The value of parameter eval_output_dir is /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488. So I'm confused that when I run test.py, set --save_results semantic,instance, it should generate files ending in py and pth in the PLA/data/scannetv2/val/ and PLA/data/scannetv2/val_pth/ directory, but it not.
Or am I misunderstanding the steps of visualization? Looking forward to your reply.Any assistant will be appreciated.

Hi, the results will be saved into the eval_output_dir which is /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488 in your case. You should find 'pred_instance' and 'semantic_pred' directories under your 'eval_output_dir'. For instance evaluation, the saving code is here. https://github.com/CVMI-Lab/PLA/blob/3d8494b9499c9f7f2b1ed869fd7f57c960042a1a/tools/eval_utils/eval_utils.py#L275-L288

Thank you for your reply, but there were no eval_output_dir in /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488 after running python test.py --cfg_file cfgs/scannet_models/spconv_clip_base15_caption_adamw.yaml --ckpt output/scannet_models/spconv_clip_base15_caption/exp_tag/ckpt/checkpoint_epoch_128_6488.pth  --save_results semantic,instance.

Hi, could you please provide a list of the contents in '/PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488'?

Hello, based on the information you provided, the results are expected to be stored in the directory /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488/val/default/.
And the eval_output_dir in the code that saves the results should also be set to this path, rather than just /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488.
To locate the exact location of the eval_output_dir in the code, you can step in the code by yourself. Alternatively, you can use the find command to search for the saved results.
Here comes my example:

Hi, thank you for your attention, yes the eval_output_dir is /PLA/output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488/val/default/.

The previous command I run python test.py --cfg_file cfgs/scannet_models/spconv_clip_base15_caption_adamw.yaml --ckpt output/scannet_models/spconv_clip_base15_caption/exp_tag/ckpt/checkpoint_epoch_128_6488.pth  --save_results semantic,instance is wrong.
It should be python test.py --cfg_file cfgs/scannet_models/spconv_clip_base15_caption_adamw.yaml --ckpt output/scannet_models/spconv_clip_base15_caption/exp_tag/ckpt/checkpoint_epoch_128_6488.pth  --save_results semantic & python test.py --cfg_file cfgs/scannet_models/inst/spconv_clip_base13_caption_adamw.yaml --ckpt output/scannet_models/spconv_clip_base15_caption/exp_tag/ckpt/checkpoint_epoch_128_6488.pth  --save_results instance.
--save_results semantic,instance cannot be recognized.
BTW, I'm a little confused with the yaml file name. I notice that the base_class_idx in cfgs/scannet_models/inst/spconv_clip_base13_caption_adamw.yaml  & cfgs/scannet_models/spconv_clip_base15_caption_adamw.yaml is same. I mean if the file name base** is base on base_class_idx?
And when I run python tools/visual_utils/visualize_indoor.py --prediction_path output/scannet_models/spconv_clip_base15_caption_adamw/default/eval/epoch_6488/val/default/ --task semantic_pred , I got
0 scene0011_00.npy
Traceback (most recent call last):
  File "tools/visual_utils/visualize_indoor.py", line 234, in <module>
    vis(opt)
  File "tools/visual_utils/visualize_indoor.py", line 165, in vis
    data_dict = get_coords_color(opt)
  File "tools/visual_utils/visualize_indoor.py", line 61, in get_coords_color
    data_dict = get_input(opt)
  File "tools/visual_utils/visualize_indoor.py", line 27, in get_input
    xyz, rgb, alpha, face_indices = read_ply(input_file)
  File "/var/autofs/home/hale/usrs/wangjuan/code/PLA/tools/visual_utils/indoor_utils/ply_utils.py", line 6, in read_ply
    plydata = PlyData.read(path)
  File "/home/usrs/wangjuan/anaconda3/envs/PLA/lib/python3.7/site-packages/plyfile.py", line 498, in read
    (must_close, stream) = _open_stream(stream, 'read')
  File "/home/usrs/wangjuan/anaconda3/envs/PLA/lib/python3.7/site-packages/plyfile.py", line 657, in _open_stream
    return (True, open(stream, read_or_write[0] + 'b'))
FileNotFoundError: [Errno 2] No such file or directory: '../../data/scannetv2/val/scene0011_00_vh_clean_2.ply'

https://github.com/CVMI-Lab/PLA/blob/3d8494b9499c9f7f2b1ed869fd7f57c960042a1a/tools/visual_utils/visualize_indoor.py#L19-L23
Is the visualization code not up to date?

Maybe the command should be updated to --save_results instance semantic. We will look at it later.
If you do not need to write ply file with mesh when visualization, you can comment out line 25, 31, 32 and modify the line 28 into xyz, rgb, label, inst_label, *_ = torch.load(label_file) in https://github.com/CVMI-Lab/PLA/blob/3d8494b9499c9f7f2b1ed869fd7f57c960042a1a/tools/visual_utils/visualize_indoor.py#L25C4-L32.

The PLY file is not necessary. If you do not need to visualize the mesh, you can disregard this file based on my previous instructions. However, if you wish to visualize the mesh with better quality, you can download the PLY file from the ScanNet website. We are unable to distribute these files due to certain conditions. We will provide a clearer version of the visualization code in the future.

Thank you for your reply. Looking forward to your clearer version of the visualization code.


Domain list keeps replicating itself.

I've recently started to use Zipline and for how it looks and works been happy with my choice.
However, the Domains list in the manage accounts tab keeps replicating the itself. To the point the array is quite large.
It looks like it just appends the old list into the new one and I'm not able to shrink/clean it, where I'd just have one domain in the list.

This does seem to be a problem, though since you only have one domain you can just use that domain and not worry about the list. The list is for selecting random domains from a list of a few, and if you only have 1 it will just pick the same one over and over again. I'll be working on a fix for that soon though should be included in the next patch

This does seem to be a problem, though since you only have one domain you can just use that domain and not worry about the list. The list is for selecting random domains from a list of a few, and if you only have 1 it will just pick the same one over and over again. I'll be working on a fix for that soon though should be included in the next patch

It's not a big deal, but it's choosing http alot over the few https entries. Mostly just prefer having the image url being https aswell. Other then that it's nothing major yea


Add base styles and tweak existing layout

Base styles

add Nunito google font
add colors as CSS custom properties
initial footer
initial PostDetail

Main component update

Update Main to internally wrap each child in a column. This should make it easier to use Main across the various screens since the single/double column layout is common.
Update Post and PostsScreen to use above.

@SheldonCheng can help to squash the commits? PR looks good to me.
@lxcid you want to review as well?


Update engine.py

if use custom datasets from coco_utils.py need to
reshape target files, because after call dataloader for datasets we have unnecessarily reshape which need to be revert to its normal shape

I did some task for pin insulator instance segmentation fine tuning and i'v face with some trouble to reach my goal
there is another problem too, when is use:
!git clone https://github.com/pytorch/vision.git
%cd vision
!git checkout v0.3.0
in my colab there is new import line in coco_utile.py import torch_.six which is'n in the main repository


Revert interface changes

revert #20

commit 3485c468cd16db221b0762f88a43cf87e8732ec7
merge adec1bc1e50c7501e3b95aa4598b51184528b1c3

Notes: These changes aren't quite as ready as we thought and are blocking
high-priority fixes.

@marten-seemann I'm going to revert these for now as they're making it difficult to fix other issues. Let's move forward with putting connection setup logic in go-libp2p-conn first and move forward on this afterwards.

Coverage remained the same at 18.182% when pulling 5a35c20ebcbdbcc0ab2ddae284ab6fce8a854888 on revert/interface-changes into 3485c468cd16db221b0762f88a43cf87e8732ec7 on master.

Can we revert only the interface changes? I believe we don't need the ConnWrap anymore, as well as the TimeoutOpt.

@marten-seemann Good point, I've cherry-picked them back.

Thanks. LGTM.

Coverage increased (+5.3%) to 23.529% when pulling 31ccf379435f07668c2f201138161b1577b35ecf on revert/interface-changes into 3485c468cd16db221b0762f88a43cf87e8732ec7 on master.

Coverage remained the same at 18.182% when pulling e3c159d4944a4267c9113f35002cf90f25fd9261 on revert/interface-changes into 3485c468cd16db221b0762f88a43cf87e8732ec7 on master.


chore: test against current node versions, added badges, added license file

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Browsers in S America and Asia show bandwidth?

This is a good article with screenshots of a number of mobile browsers - where and how they communicate data consumption:
https://beebom.com/best-data-saving-android-browsers/
A little old, but still holds up as you can see by current browser market share in Asia: Chrome dominates, but a bunch of the others are basically non-existent in US/EU markets: Samsung Internet, Opera, UC Browser.
https://gs.statcounter.com/browser-market-share/all/asia
Firefox Lite
Designed specifically for Asia, available only in specific countries' Android Play Stores. Many of the features are either directly related to data consumption management (Turbo Mode) or indirectly: Pre-loaded content and pre-configured services mean content delivery shifts a subset of ongoing network activity to app updates.
https://support.mozilla.org/en-US/products/firefox-lite/get-started


[PacReq] [Package Add] Microsoft Edge Beta (Deb)

Fixes #235

Fixes #235

Not really, he also wanted Microsoft Edge Dev release


Deprecated license identifiers in JSON file

I notice that the identifiers listed under "Deprecated Licenses" in the license list are not included in the JSON list at https://spdx.org/licenses/licenses.json. Is this intentional?
Most troubling are eCos-2.0 and WxWindows, which are OSI-approved.

I don't think it was intentional - the RDF version of the license list includes the deprecated licenses.
I'll add this in to the tool so they will be included in the next license list update which should be sometime around the first week of January.
BTW - The eCos-2.0 license was replaced by (GPL-2.0 with eCos-exception-2.0) and the WxWindows license was replaced by (GPL-2.0 with WxWindows-exception-3.1)

@goneall Thanks for this!
Frankly, if there are approved equivalents, I'm not sure the JSON list should include the old deprecated identifiers. At a minimum, it might be nice to list licenses with a boolean deprecated flag, like isOSIApproved.

Good point.  Turns out there is no deprecated flag for the RDFa format either.  I would like to keep the two formats in sync.
In the short term, we could not include the deprecated licenses in the JSON format (as it is today) and fix the application to not include them in the RDFa format either to keep both formats in sync.
Longer term, we could add a deprecated flag - since this is a change to the spec we would need agreement from the spdx-tech group.

Is "deprecated" defined or otherwise discussed in the spec?
I assume the concept was introduced more from a technical point of view than a legal one. Compare OSI, which doesn't "deprecate", but does categorize.
https://opensource.org/licenses/category
Both "superseded" and "retired" are OSI categories.

I believe the only references to the deprecated licenses are on the spdx.org/licenses web page itself.  I do believe it was a technical consideration that drove this definition.  There was a proposal to remove the license ID's since they were no longer needed due to the license expression syntax introduced in SPDX 2.0.
The technical team was concerned that SPDX 1.0 applications would break if these were removed completely, so we came up with the deprecated approach.

@kemitchell I'm about to start working on the license list tool to add detailed JSON pages for each license.  What if I add another Boolean field for each license entry in the licenses.json file "deprecated" which would be true if the license is deprecated?  This would make it easier to filter.
Would this break anything?  Seems like it should be backwards compatible for must usage.

That sounds great.

Going back through the old issues - I see that this has been updated on spdx.org/licenses.  The deprecated licenses are now include with a flag deprecated=true.


Bump GitHub actions to latest versions

This PR bumps GitHub actions to their latest versions, this avoiding deprectation warnings as e.g. seen here.

thank you @deining !


toSource(new Error)

Is it possible?
I want to catch and rewrite it as 'console.trace(' + toSource(e) + ')'

This is probably the wrong library for that use case. The purpose here is to serialize things for eval or script tags—no attempts are made to serialize typed JS objects (beyond RegExp and Dates).


Policy: Add TLS SNI support

Add new serverNames field to Cilium Network Policy to restrict the allowed TLS SNIs. This is implemented as an Envoy redirect, but does not need TLS termination, as TLS SNI extension is in clear in the Client Hello message.
As a follow-up, a test case will be added to https://github.com/cilium/cilium-cli
CiliumNetworkPolicy now supports enforcement of SNI in TLS connections.

/test

@nebril Added the unit tests :-)

/test

Runtime test hit an unrelated flake: https://github.com/cilium/cilium/issues/22470

test-1.24-5.4 failed due to an error in Cilium agent logs. Issued PR #22474 to fix that.

/test

/ci-external-workloads

Rebased due to CRD schema version bump on master.

/test

Travis CI fails with a build error for amd64 and with an apt-get error for arm64
ci-external-workloads is broken due to cilium-cli version check hassle (unrelated).
test-1.16-4.9 failed provisioning a VM (is this related of ending support for 4.9?)
test-1.25-4.19 hit known flake #22019

test-1.16-4.9 failed provisioning a VM (is this related of ending support for 4.9?)

If you click on Pipeline Steps from that job, then scroll down until you see the red icon with an exclamation mark, click the console icon next to it, then check the provisioning failure, there is some apt failures there too. I think that Ubuntu had an outage around the time you kicked off CI for this PR.

/test-1.16-4.9

Both fails on required checks are know flakes:

ci-external-workloads (cilium version deduction issue)
test-1.25-4.19 (#22019)


Add documentation and tests for the WebScraperStage

As part of Sherlock, a prototype of the WebScraperStage was created. This class will need the following improvements before being merged back to branch-23.11:
### Tasks
- [ ] Add docstrings for the class (including when it should be used and what task it performs)
- [ ] Add docstrings to each public method
- [ ] Add unit tests for all public functions which execute all code paths
- [ ] Add an integration test to verify the component works as part of a pipeline

You can find the prototype located here
Note: the location above links directly to a commit with the prototype. The current location and functionality of the class may have changed.

Linked PR did not close. Closing.


fix(minimal-slp-wallet): Updating to v5.8.6, with better optimize()

:tada: This PR is included in version 3.4.3 :tada:
Your semantic-release bot :package::rocket:


Basic Russian Accent

I want this accent to be applied when wearing a ushanka, but I don't know how to do that.
:cl: Pancake

add: "Russian accent."

I can't in good conscience request changes for this, but there should be a second that does actual Latin/Russian transliteration via ISO/9 or something.

Also, for posterity's sake, Noto Sans does support Cyrillic out of the box.

this should use the AddAccentClothing component recently added in #6194 for ushankas

Added the AddAccentClothing, but I definitely need more guidance on doing the replacements better.


How to tag xkf related resources

Today we don't have any support of adding custom tags to the resources we generate.
This creates issues for different reasons, mostly due to data collection around resources created in Azure.
How could we add a way of managing tag:s to our resources?
Should we support adding different tags to different resources?
Take both Azure and AWS in to account. It's good if we can keep a similar strategy between them, especially since AWS haves a number of Azure resources as well.

It's currently not possible to do global tags in Azure.
It hopefully will be possible in v4:
https://github.com/hashicorp/terraform-provider-azurerm/issues/13776#issuecomment-1164280160
In AWS this is possible.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/resource-tagging#propagating-tags-to-all-resources


Using autobind entire class with react-transform-catch-errors leads to this.props undefined in render() method

Here is the example
import React from 'react'
import {autobind} from 'core-decorators'

@autobind
export default class Test extends React.Component {
    handleClick() {

    }

    render() {
        console.log(this.props) // here props is undefined
        return (
            <button onClick={this.handleClick}>{this.props.text}</button>
        )
    }
}

Maybe we could add an option to autobind named dontBind
For example,
@autobind({dontBind: {
    'componentDidMount',
    'render'
    ...
}})

@weinot I tried to reproduce the issue with exactly the described code but it works as expected for me. Here's the source I used to try to reproduce: https://github.com/jayphelps/core-decorators-issue-56/blob/master/src/index.jsx
Can you double check that this is indeed all the code you needed to reproduce? Are you using any other decorators as well?
Which version of core-decorators and react?

Do you have 15 minutes to do a Screenhero session so I can help you debug? I will probably be able to find the issue quickly since I'm intimately familiar with core-decorators internals and how they might interact with react.

@jayphelps sorry for the later response, no other decorators are used but I use redux, react-redux and react-router in my project, maybe this causes the issue?
following is the version i use
core-decorators: v0.11.0
react: v0.14.7
Here is a demo project
https://github.com/weinot/issue-demo/
The component located in app\modules\account\components\login.jsx
Thank you for your time.

@weinot Your demo repo is perfect, I've been looking into it for a couple hours now and I know what the problem is just trying to find a good way to solve it without breaking the other situations.
The problem is with the package react-transform-catch-errors in the way it wraps the render() method. That said, they aren't doing anything wrong, in fact a similar issue was reported a while ago and we solved it but this one is just a bit different.
Will report back as soon as I have a solution. In the interim, you can either 1. use @autobind on each method you need bound, instead of binding the whole class or 2. not use react-transform-catch-errors.
:frowning: Creating a bug-free @autobind is quite hard since JavaScript is so dynamic and there are so many edge cases with inheritance and such.

@jayphelps :+1:   Thanks a lot.

@weinot fixed and published as 0.11.2 :dancer: thanks again for providing the demo repo, was invaluable in reproducing this.

For those reading later, this was tough to immediately track down without the real source code including build-pipeline because react-transform-catch-errors and similar projects literally transform your code and inject additional behavior transparently so it's not clear just from looking at the example code that this is happening. If you are experiencing similar issues and want to report them, include any possible transpiling plugins you're using.


[SPARK-15615][SQL] Add an API to load DataFrame from Dataset[String] storing JSON

What changes were proposed in this pull request?
SPARK-15615 proposes replacing the sqlContext.read.json(rdd) with a dataset equivalent.
SPARK-15463 adds a CSV API for reading from Dataset[String] so this keeps the API consistent.
I am deprecating the existing RDD based APIs.
How was this patch tested?
There are existing tests. I left most tests to use the existing APIs as they delegate to the new json API.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

ok to test

Test build #72747 has started for PR 16895 at commit 3c477c1.

Test build #72747 has finished for PR 16895 at commit 3c477c1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72747/
Test FAILed.

Merged build finished. Test FAILed.

Test build #72749 has started for PR 16895 at commit bb304de.

Test build #72749 has finished for PR 16895 at commit bb304de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72749/
Test PASSed.

Merged build finished. Test PASSed.

Test build #72960 has started for PR 16895 at commit 580b4e4.

Test build #72960 has finished for PR 16895 at commit 580b4e4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class TransportChannelHandler extends ChannelInboundHandlerAdapter
 class LinearSVCWrapperWriter(instance: LinearSVCWrapper) extends MLWriter
 class LinearSVCWrapperReader extends MLReader[LinearSVCWrapper]
class NoSuchDatabaseException(val db: String) extends AnalysisException(s\"Database '$db' not found\")
 class ResolveBroadcastHints(conf: CatalystConf) extends Rule[LogicalPlan]
case class JsonToStruct(
case class StructToJson(
case class Hint(name: String, parameters: Seq[String], child: LogicalPlan) extends UnaryNode
case class InnerOuterEstimation(conf: CatalystConf, join: Join) extends Logging
case class LeftSemiAntiEstimation(conf: CatalystConf, join: Join)
case class NumericRange(min: JDecimal, max: JDecimal) extends Range
class FileStreamOptions(parameters: CaseInsensitiveMap[String]) extends Logging

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72960/
Test PASSed.

Merged build finished. Test PASSed.

Test build #73015 has started for PR 16895 at commit 731951a.

Test build #73015 has finished for PR 16895 at commit 731951a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73015/
Test PASSed.

LGTM, I'll merge it in 1 or 2 days, if no one agains this API change.

Test build #73086 has started for PR 16895 at commit 82561c0.

Test build #73087 has started for PR 16895 at commit cdf53bf.

Test build #73086 has finished for PR 16895 at commit 82561c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class LSHParams(Params):
class LSHModel(JavaModel):
class BucketedRandomProjectionLSH(JavaEstimator, LSHParams, HasInputCol, HasOutputCol, HasSeed,
class BucketedRandomProjectionLSHModel(LSHModel, JavaMLReadable, JavaMLWritable):
class MinHashLSH(JavaEstimator, LSHParams, HasInputCol, HasOutputCol, HasSeed,
class MinHashLSHModel(LSHModel, JavaMLReadable, JavaMLWritable):
case class StreamingExplainCommand(
case class SaveIntoDataSourceCommand(
abstract class JsonDataSource[T] extends Serializable

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73086/
Test PASSed.

Test build #73087 has finished for PR 16895 at commit cdf53bf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73087/
Test PASSed.

thanks, merging to master!


Update template-best-practices.md

updated code sample to use resourceId instead of concat, updated apiVersions and moved samples to boot diags since we're migrating from unmanaged disks

@bmoore-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Writing to Azure appears to stop after 10/15 minutes of app running

This is .net core with MVC 1.0.1  running as an App Service in Azure.  Does not exhibit this issue when running locally with the DocumentDB emulator from VS.  When I start up the app the logging works as expected and then about 1/15 minutes after the app was started the logs stop being written to the database.  I'm not seeing any exceptions.  This is what I am using to configure:
Log.Logger = new LoggerConfiguration()                 .MinimumLevel.Override("Microsoft", LogEventLevel.Warning)                 .MinimumLevel.Override("Hangfire", LogEventLevel.Warning)                 .MinimumLevel.Override("System", LogEventLevel.Error)                 .Enrich.FromLogContext()                 .WriteTo.AzureDocumentDB(connectionInfo.EndPoint,                                         connectionInfo.Key,                                         databaseName: connectionInfo.DbName,                                         collectionName: connectionInfo.Collection)                                         .CreateLogger();
I am also using the provided code to init the service:
            loggerFactory.AddSerilog();             appLifetime.ApplicationStopped.Register(Log.CloseAndFlush);
If I restart the app then it works again for 10/15 and then stops.
Going to clone the repo and try to run it locally and see if I can see what I'm doing wrong or if there is a bug.

Thanks for the report - sounds like some investigation is needed. Let us know if you need help making sense of what's going on in there 👍

@buzallen, Thanks for reporting issue. I'll investigate what's going on. However, this sink is using preview version of Microsoft Azure DocumentDB driver so bugs are expected and may not be used for production. Please see https://www.nuget.org/packages/Microsoft.Azure.DocumentDB.Core/

Thanks @saleem-mirza , that's a good point.  I'm testing sinks for now but I'll keep that in mind when it's time to move forward.

@buzallen @nblumhardt
I have created a test dotnet core web application with Serilog.Sinks.AzureDocumentDB sink configured  and deployed as Azure App Service. It's been running for few hours and I haven't noticed any issue with logging.
Please keep in mind that new sink requires dotnet core version 1.1.0+. I'm closing this issue. However, if you still have issue with sink, feel free to leave a message.

Thanks @saleem-mirza.  Interesting I still have the issue even with a new clean project.  I'll have to investigate if something is configured incorrectly on my end.  I get about 5 minutes of logs to the document db and then it stops writing anything.  I'll re-post here if I discover anything.  Thanks again.

@buzallen my project.json, Startup.cs and Controller looks like as

Note: I removed unrelated stuff for sake of brevity

project.json
    {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "version": "1.1.0",
          "type": "platform"
        },
        "Serilog": "2.3.0",
        "Serilog.Sinks.AzureDocumentDb": "3.5.17"
      },
      "frameworks": {
        "netcoreapp1.6": {
          "imports": [
            "dotnet5.6",
            "dnxcore50",
            "portable-net45+win8"
          ]
        }
      }
    }

Startup.cs (ConfigureServices)
        public void ConfigureServices(IServiceCollection services)
        {
            // Add framework services.
            services.AddDbContext<ApplicationDbContext>(options =>
                options.UseSqlite(Configuration.GetConnectionString("DefaultConnection")));

            services.AddIdentity<ApplicationUser, IdentityRole>()
                .AddEntityFrameworkStores<ApplicationDbContext>()
                .AddDefaultTokenProviders();

            services.AddMvc();

            services.AddSingleton<Serilog.ILogger>(
                new Serilog.LoggerConfiguration()
                .WriteTo.AzureDocumentDB(
                    "https://xxxxx.documents.azure.com:443/",
                    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
                )
                .MinimumLevel.Verbose()
                .CreateLogger());
        }

HomeController.cs
    public class HomeController : Controller
    {
        Serilog.ILogger _logger;

        public HomeController(Serilog.ILogger logger)
        {
            _logger = logger;
            _logger.Information("HomeController constructor called.");
        }

    ...

Hopefully, it will shed some light.

Thanks again @saleem-mirza .  Switching to your implementation does work.  For reasons I'm unsure of when I set it up like I do in my original post above is when it stops logging.


[bug] IOS Wallet connect on IOS not working without error.

Link to minimal reproducible example
Create project on expo sdk 51, config you web3modal wagmi projet. launch commande 'npx expo start' scan qr code on your iPhone try to connect you wallet after wait redirect on expo app and see you're not connected.
Summary
I've create project using EXPO SDK 51.0.6 with Expo-router, and install web3modal + wagmi from walletconnect documentation.
I have follow all stpe to configure web3modal.
When i press button connect wallet. Wallets modal is shown, when I press on wallet it redirect myself on my wallet's app.
And on my wallet app's when I'm pressing connect it's redirect me to my developpement app using expo-go (phisycal device ios 17.4.5)
And to finish i'm not connect the connect wallet stay here.
List of related npm package versions
@walletconnect/react-native-compat : 2.10.5
@web3modal/wagmi-react-native : ^1.3.0
ethers: ^6.12.1
view: 1.21.4
wagmi: 1.4.13

Hey @Sl00x 👋 does it happen on Android too? Does it work for other wallets like Trust, Rainbow?

Hey @Sl00x 👋 does it happen on Android too? Does it work for other wallets like Trust, Rainbow? Also, can you provide a repository so i can reproduce the issue?

Hey @ignaciosantise it's working fine on android

can you provide a repository so i can reproduce the issue?

can you provide a repository so i can reproduce the issue?

I have this issue with this tutorial repo from doc of walletconnect:
https://github.com/crypblizz8/youtube/tree/main/7-web3modal-react-native-nft

@Sl00x i was able to connect using Trust and our react native sample wallet. Can you try connecting to mainnet instead of goerli? In case your wallet doesn't support goerli.

@Sl00x any new?

Closing for now. Reach again if the issue appears again


Capistrano 2: rollbar reports incorrect revision

I know Capistrano 2 has fallen out of fashion, so I'm sure this is a long shot. But rollbar's Capistrano 2 deploy integration reports the wrong revision when deploying. It looks like rollbar uses Capistrano's current_revision to report the revision being deployed. Unfortunately current_revision is actually the currently deployed revision not the revision being deployed. In other words, rollbar reports a deployment of what is already deployed not what is being deployed.

Released in v2.26.1 https://github.com/rollbar/rollbar-gem/releases/tag/v2.26.1


Leave retirement note

Trello: https://trello.com/c/amnaU0V9/853-decommission-the-publishing-end-to-end-tests
This is ahead of this repo being archived as these tests are no longer integrated into the GOV.UK CI process

It seems all too fitting that the final merge of this repo is a failure from a flaky test 😆


concat to singular audio stream?

i'm looking for a linux CLI util that can merge 2+ mp3s with same bit rate, sample rate, channels, encoder, into a proper mp3 with a single audio stream
the result i'm getting with mp3cat is multiple audio streams

i should also mention that NOTHING i've found is capable, including mp3wrap, ffmpeg, and lots of home brew attempts

Hello @atomGit,
do you mean you want to mix rather than to append? Have you tried 'sox' yet?
Especially:

concatenates two audio files, and
sox −m music.mp3 voice.wav mixed.flac

no, i want to prepend and append a silent track to mp3s - i don't believe sox can do that (or anything) without re-encoding

Why don't you create a silence track and add it in between like in: http://activearchives.org/wiki/Padding_an_audio_file_with_silence_using_sox?
Silence track: sox -n -r 44100 -c 2 silence.mp3 trim 0.0 3.0
mp3cat: mp3cat 1.mp3 silence.mp3 2.mp3 silence.mp3
If you want to avoid VBR, you can determine the rate of your input file and apply this to sox:
$ file 01.mp3
01.mp3: Audio file with ID3 version 2.3.0, contains:MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, Stereo

Here it's 192kbps. Use the '-C' option to specify.
sox -n -r 44100 -c 2 -C 192 silence.mp3 trim 0.0 3.0

As I read the sox documentation, it only has a "splice" capability, which is fancy, but can't do a simple join. It always does a cross-fade.

Hello Phil,
if you mean with 'simple join': take two files with 1 minute each and later have a file with 2 minutes? This is what 'mp3cat' does if you provide the two files as parameters: mp3cat 01.mp3 02.mp3.

Sorry, I think this is out of scope for this tool, which is only intended for simple use-cases. If ffmpeg can't handle it, you may have to wait for the singularity...


SchemaError on indexed objects

Hi there,
I have a pretty strange Error, and I can't find out why this happens. My db.js:
export const db = new Dexie('database');
db.version(1.4).stores({
  // Table to store badges which got loaded by #list_badges
  badges: "&rfid, project_id", // , label, global_id, valid_now, allowed_areas
});

list.svelte:
      for (const key in data) {
        // key has value of rfid id and is used as primary key in DB
        if (data.hasOwnProperty(key)) {
          const entry = data[key];
          // use put to update entries and add new items
          await db.badges.put({
            rfid: key,
            // project_id is set by svelte
            project_id: project_id,
            label: entry.label,
            global_id: entry.global_id,
            valid_now: entry.valid_now,
            allowed_areas: entry.allowed_area_ids,
          });
        }
      }
      await db.badges.where(project_id).notEqual(project_id).delete();

On .delete() I get the error name: 'SchemaError', message: 'KeyPath 467 on object store badges is not indexed'. I don't get why, because on stores({}) I declared the indexes (I think). Is this an issue of dexie/indexeddb or is it me?

Change the line:
await db.badges.where(project_id).notEqual(project_id).delete();

to
await db.badges.where('project_id').notEqual(project_id).delete();


selecting an entity in a group makes the editor crash

also can't export a scene with groups in it

Could you elaborate more? Does it happen on converted project? What type of entities and what additional components they have? Looks like grouping sprites works fine on 0.3.1-SNAPSHOT.

yes it happens on a converted project, I didnt try on a new project, it's a group of simple sprites with physics component and polygon component, if i try to click on one of the sprites the editor crashes immediately, I have another group in the same scene but without physics and polygon component, selecting the works fine though..

Ok I will try it, please also pastebin/gist editor crash report. https://github.com/kotcrab/VisEditor/wiki/Locating-Log-Files

ok i'll send it now, also when i try to export the scene here is what i'm told
export crash.txt

viseditor-crash 15-12-21 22-40-59.txt here is the log output

I just figured out what was the problem! in the list of entities in the scene, on the left, not all entities are available, thats why it crashes.. maybe a bug during the conversion, therefor it's not really a bug on the editor!


Failing context operations like add, use, list, etc.

Context operations do not work even after initializing context
How to Reproduce
Create an empty directory, and spin up a sample asyncapi spec document.
for this I used the sample mentioned in the docs :
asyncapi config context init
you should see a .asyncapi-cli file get created with the following content:
{"store":{}}

now running asyncapi config context add foo ./asyncapi.yaml gives the following message even if context is initialized already
You have no context file configured. Run "asyncapi config context init" to initialize it.

Screenshots

Link to GitHub repository with project that has issues

https://github.com/asyncapi/cli

Expected behavior

Context should be added to the .asyncapi-cli file

@aeworxet hey any ideas?

update on this issue. The command works perfectly fine if I'm building cli locally and then using it as:
./bin/run config context add foo .\asyncapi.yaml

@AnishKacham when you tested a binary, how did you install it? npm install @asyncapi/cli -g or?

@AnishKacham when you tested a binary, how did you install it? npm install @asyncapi/cli -g or?

Yes. That is indeed how I installed asyncapi cli. the ./bin/run was from cloning the repository and running npm run build

getting the same with binary installed over npm:
$ asyncapi --version
@asyncapi/cli/0.52.3 darwin-x64 node-v16.13.0

$ asyncapi config context init
Initialized context /{...}/template-for-generator-templates-asyncapi-fork/.asyncapi-cli

$ cat .asyncapi-cli
{"store":{}}

$ asyncapi config context add dummy test/fixtures/dummy.yml
You have no context file configured. Run "asyncapi config context init" to initialize it.

I think it is working for me

$ npm install @asyncapi/cli -g
[installed]

$ asyncapi --version
@asyncapi/cli/0.52.3 linux-x64 node-v18.9.0

$ asyncapi config context init
Initialized context /home/aeworxet/tmp_test/.asyncapi-cli

$ cat .asyncapi-cli
{"store":{}}

$ asyncapi config context add dummy test/fixtures/dummy.yml
Added context "dummy".

You can set it as your current context: asyncapi config context use dummy
You can use this context when needed by passing dummy as a parameter: asyncapi validate dummy

$ asyncapi config context list
dummy: test/fixtures/dummy.yml

$ node -v
v18.9.0

$ npm -v
8.19.2

host Linux
Ubuntu 20.04.6 LTS

@derberg @AnishKacham
Please share whether you use host Linux or some bash for Windows, like Git Bash/Cygwin.

host Windows
Using Powershell
$ node -v
v20.4.0

$ npm -v
9.7.2

$ asyncapi --version
@asyncapi/cli/0.52.3 win32-x64 node-v20.4.0

host Win11
via powershell
Not using Git Bash / Cygwin
" add works when you do it from location that is not git repo
so add fails only when you init for the repo. So probably loading context from repo root is problematic "
as discovered by @derberg
cc : @aeworxet @Souvikns
I've checked this and it seems like it is the issue.

I was able to reproduce this issue only when I ran in Git Bash on Windows
$ npm install @asyncapi/cli -g
$ asyncapi config context init
$ asyncapi config context add dummy test/fixtures/dummy.yml

If I rebuild locally and run
$ npm run build
$ ./bin/run config context init
$ ./bin/run config context add dummy test/fixtures/dummy.yml

everything works.
So the issue is in combination of Windows and the prebuilt binary, and it doesn't depend on the version of Node.js.
$ node -v
v14.17.6

UPD.
Strange observation:
When I run in Git Bash on Windows
$ asyncapi config context init
$ asyncapi config context add dummy test/fixtures/dummy.yml

in the root of cloned cli repo I GET reproduction.
When I run same commands in another directory which also contains directory .git, I DO NOT get the reproduction.

Diff shows no difference between prebuilt and locally built packages.

I have narrowed the search for this bug.
The bug is not reproduced when file oclif.manifest.json is removed from prebuilt @asyncapi/cli package.
When cli package is built locally it does not include oclif.manifest.json file, that is why the bug is not reproduced when using the locally built package.

oh lovely, we at least can reproduce now on local. The oclif.manifest.json must stay. Maybe we should consider to generate it on local too, and just add to .gitignore

just opened a PR with fix that should solve the problem, at least works on my machine 😄

Works on my machine too.
@AnishKacham does change from PR https://github.com/asyncapi/cli/pull/778 work on your machine?

Works on my machine too. @AnishKacham does change from PR #778 work on your machine?

Yess. That works as expected on my machine. 🎉

The code works on three machines in different tech environments, in three different states. Should be good to merge.


Improved start

This is an improved version of the start part of the launcher.
It adds a few helpful features (forwarding console to terminal, better logging structure)
And also adds a few performance improving features (restart interval for runners/processors, option to disable storage when using alternative storage mods)
With Node 8, async/await runs natively, the code is restructured slightly to use them, this simplified some of the code and in general makes promises easier to work with. (I can try refactoring into a PR without async/await if this isn't desirable)

Use async/await, this simplifies some of the code
Added log_console option, forwards console messages to terminal
Changed logs to use a rotating log rather than timestamps, this makes finding the most recent log much easier. (log_rotate_keep (default 5) controls how many to keep)
Added a storage_enabled option (default true), this allows storage to be disabled when using a mod such as screepsmod-mongo
Added restart_interval (default 3600 seconds (1hr)). This is the interval before runner and processors get restarted.

This looks interesting. Do we really need to use async/await here? It'd be the only place in this code base that raises overall minimum requirement to Node.js 8.

Not really, regular .then usage should work here, I started by modifying the launcher for personal use, I'm always hacking it in node_modules to change some things such as disabling storage and redirecting logs to stdout. I should be able to switch it back though.
As another thought, isolatedVM only compiles for newer node versions last I tried, is that not going to be setting a hard requirement for Node 8 then?

Due to better performance, and the fact that node8 is the current LTS version, we've already been recommending to people in slack who are running their own servers to use node8. I believe some of the community mods are also targeting node8 and are ignoring backwards compatibility. I really don't think changing this will disrupt much.

Rebased on current launcher master branch


Minimal sidebar theme update

I would like to update the minimal sidebar theme.
https://github.com/Venca321/Zen-Minimal-Sidebar-Theme

Sure, please create a PR and ill merge it 👍🏽


Use filepath package to get file name

Fix #1070.
path package does not handle windows \ correctly, filepath does.

:white_check_mark: odo build 648 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/f78518dfa9 by @dgolovin)


Handle non-existing db/views directory scenario for generators.

Should solve #52 when merged.

Removed trailing conditional

Should I squash the commits?

Looks good, yes.

Squashed


Closes #80 Speed up derive functions

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md under the header # admiralpeds (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiralpeds site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the Reference page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@Fanny-Gautier @rossfarrugia it also occured to me with the way I programmed this speeding up of the function I dont think we need a by_vars argument anymore, perhaps we should remove it? Originally I needed it to match the appropriate metadata by searching for the best match per subject but now I have different functions are doing it in a vectorized way

@zdz2101 Could you please review the BMI-for-age percentile calculation ? It currently gives me the same results as the BMI-for-age Z-score. e.g. patient "17261" from df_test_data_2.csv

Thanks

@zdz2101 Could you please review the BMI-for-age percentile calculation ? It currently gives me the same results as the BMI-for-age Z-score. e.g. patient "17261" from df_test_data_2.csv  Thanks

This should be fixed now

All of my comments are resolved but I'd wait for @Fanny-Gautier to double check David's test data and approve before merging. I'll also share in the dev slack in case others have chance to look today.

I cannot see the resolution for BMI-for-age percentile while I pulled the branch and have re-run everything. Maybe I am missing something.


Alternative titles chips start padding

Steps to reproduce
Manga: https://mangadex.org/title/e34c3c84-94fc-4c6e-a68c-4138b92b0886

Open synopsis

Expected behavior
No start padding
Actual behavior
Has start padding
Crash logs
N/a
Neko version
2.10.0 the can you add the old ui back
Android version
Android 12L
Device
OnePlus 6t
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to the newest version Latest.
[X] I have filled out all of the requested information in this form.

<IP_ADDRESS>


Undefined references for native library

I'm attempting to get the stock bindgen tutorial working from:
https://github.com/fitzgen/bindgen-tutorial-bzip2-sys
I have several Linux development machines running various flavors of Mint 17 & 18 (Ubuntu 14.04 and 16.04). The weird thing is that everything works fine on one machine, but on all the others machines, the linker is reporting undefined references in the native library whenever I try to create an executable.
This can be seen in an attempt to build and then run the tests for the tutorial:
$ git clone https://github.com/fitzgen/bindgen-tutorial-bzip2-sys.git
Cloning into 'bindgen-tutorial-bzip2-sys'...
remote: Counting objects: 28, done.
remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 28
Unpacking objects: 100% (28/28), done.
Checking connectivity... done.

$ cd bindgen-tutorial-bzip2-sys/
$ cargo build -j4
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading lazy_static v0.2.9
   Compiling void v1.0.2
   Compiling libloading v0.4.2
   Compiling vec_map v0.8.0
   Compiling log v0.3.8
   Compiling unicode-xid v0.0.4
   Compiling term v0.4.6
   Compiling bitflags v0.9.1
   Compiling glob v0.2.11
   Compiling rustc-serialize v0.3.24
   Compiling libc v0.2.31
   Compiling lazy_static v0.2.9
   Compiling peeking_take_while v0.1.2
   Compiling cfg-if v0.1.2
   Compiling strsim v0.6.0
   Compiling unicode-width v0.1.4
   Compiling regex-syntax v0.4.1
   Compiling utf8-ranges v1.0.0
   Compiling ansi_term v0.9.0
   Compiling bitflags v0.8.2
   Compiling unreachable v1.0.0
   Compiling term_size v0.3.0
   Compiling memchr v1.0.1
   Compiling atty v0.2.2
   Compiling clang-sys v0.19.0
   Compiling thread_local v0.3.4
   Compiling textwrap v0.8.0
   Compiling aho-corasick v0.6.3
   Compiling nom v3.2.0
   Compiling clap v2.26.2
   Compiling syntex_pos v0.58.1
   Compiling regex v0.2.2
   Compiling syntex_errors v0.58.1
   Compiling cexpr v0.2.2
   Compiling syntex_syntax v0.58.1
   Compiling env_logger v0.4.3
   Compiling aster v0.41.0
   Compiling quasi v0.32.0
   Compiling syntex v0.58.1
   Compiling quasi_codegen v0.32.0
   Compiling bindgen v0.26.3
   Compiling bindgen-tutorial-bzip2-sys v0.1.0 (file:///home/fmp/tmp/bindgen-tutorial-bzip2-sys)
    Finished dev [unoptimized + debuginfo] target(s) in 65.0 secs

$ cargo test
   Compiling bindgen-tutorial-bzip2-sys v0.1.0 (file:///home/fmp/tmp/bindgen-tutorial-bzip2-sys)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/fmp/tmp/bindgen-tutorial-bzip2-sys/target/debug/deps/bindgen_tutorial_bzip2_sys-845fbd2219e8ea65.0.o" "-o" "/home/fmp/tmp/bindgen-tutorial-bzip2-sys/target/debug/deps/bindgen_tutorial_bzip2_sys-845fbd2219e8ea65" "/home/fmp/tmp/bindgen-tutorial-bzip2-sys/target/debug/deps/bindgen_tutorial_bzip2_sys-845fbd2219e8ea65.crate.allocator.o" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/fmp/tmp/bindgen-tutorial-bzip2-sys/target/debug/deps" "-L" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "bz2" "-Wl,-Bstatic" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-30d4d638be038598.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-c58b62d995849f6d.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-359c3de19d4def40.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29fb1fb52cf57377.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9cbadc6554202be9.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-42efcbbdeb607d44.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-618c266cf9124966.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-3c10208cdd7e61cb.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-16f3b02b9a976b94.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bc70b4efeaeb398c.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-a0ad42dc8f5856aa.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-32f648f7f7567c6c.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-21491ce3d14f1ef2.rlib" "/home/fmp/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b9713bd7f605c0b2.rlib" "-Wl,-Bdynamic" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
  = note: /home/fmp/tmp/bindgen-tutorial-bzip2-sys/target/debug/deps/bindgen_tutorial_bzip2_sys-845fbd2219e8ea65.0.o: In function `bindgen_tutorial_bzip2_sys::tests::round_trip_compression_decompression':
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:21: undefined reference to `BZ2_bzCompressInit'
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:38: undefined reference to `BZ2_bzCompress'
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:49: undefined reference to `BZ2_bzCompressEnd'
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:58: undefined reference to `BZ2_bzDecompressInit'
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:74: undefined reference to `BZ2_bzDecompress'
          /home/fmp/tmp/bindgen-tutorial-bzip2-sys/src/lib.rs:86: undefined reference to `BZ2_bzDecompressEnd'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: Could not compile `bindgen-tutorial-bzip2-sys`.

To learn more, run the command again with --verbose.

I can't figure out why it's working on one computer but none of the others.
Thanks

Is bzip2 installed on the system? And is the shared library on the system's usual search path for shared libraries?
Aside: @emilio do you think we should move the tutorial into this repo to test it for breakage in CI and keep it up to date and all that?

Yes,  the dev package for bzip2 is installed via the package manager, apt-get.
$ apt list --installed | egrep '(bzip2|bz2)'
bzip2/xenial,now 1.0.6-8 amd64 [installed]
libbz2-1.0/xenial,now 1.0.6-8 amd64 [installed]
libbz2-dev/xenial,now 1.0.6-8 amd64 [installed]

and I can link to it with a C program:
$ clang -o bz2tst bz2tst.c -lbz2

Aside: @emilio do you think we should move the tutorial into this repo to test it for breakage in CI and keep it up to date and all that?

That sounds fine to me.

It appears that this may be due to the #[link_name = "..."] attributes which are being specified for each of the native functions in the bindings.rs file, like:
extern "C" {
    #[link_name = "_Z18BZ2_bzCompressInit"]
    pub fn BZ2_bzCompressInit(strm: *mut bz_stream,
                              blockSize100k: ::std::os::raw::c_int,
                              verbosity: ::std::os::raw::c_int,
                              workFactor: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}

If I manually remove them or comment them all out, then the tests seem to link and run properly, like:
extern "C" {
    //#[link_name = "_Z18BZ2_bzCompressInit"]
    pub fn BZ2_bzCompressInit(strm: *mut bz_stream,
                              blockSize100k: ::std::os::raw::c_int,
                              verbosity: ::std::os::raw::c_int,
                              workFactor: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}

Why is it mangling the names like that?
Is it required by some other compiler or operating system?
Is there a way to turn it off, or conditionally specify it on targets where it's necessary?
Thanks

Yep, same issue here, also because of wrong link_name.
The interesting thing is that at home it works, at work it doesn't...

Maybe has to do with the version of clang that I use(and the one that Rust uses)?

Rust doesn't use libclang (although it is using LLVM) -- I think that is a red herring.
bindgen is definitely affected by what version of libclang is being used, however. Right now, we test with 3.8, 3.9, and 4.0. 5.0 has been known to work well in the past, but no one has taken the time to set up our CI with it yet. Last I heard 6.0 was still trunk, has that changed?
The other thing to double check is that you have the LIBCLANG_PATH env var properly set, to be sure that clang-sys is using the correct libclang.

OK. It looks like this might be the root cause of the issue.
All of my Linux machines have multiple versions of clang, including 3.6, 3.8, and 3.9. Even the machine that "works" has v3.6, but for some reason it... works.
The clang-sys README states that it supports Cargo features like "clang_3_5", "clang_3_6", and so on up to "clang_5_0" to force it to us the specified version or newer, and that:

If you do not enable one of these features, the API provided by libclang 3.5 will be available by default.

So perhaps it is (somewhat inconsistently?) seeking the oldest libclang that it can find?
I tried to see if I could set the Cargo features, but had no luck. Admittedly I have no idea what I'm doing.
But if I set the LIBCLANG_PATH to v3.9, that appears to work, like:
LIBCLANG_PATH=/usr/lib/llvm-3.9/lib cargo build

Yes, it appears that the old clang version is causing problems, although somewhat inconsistently which made it difficult to diagnose. This issue appears to be a repeat of #528, and possibly a few others.
Setting LIBCLANG_PATH seems the correct fix, but this places a burden on users with a silent failure when things go wrong.
There is even a work-around already in place for older clang's in the bindgen::Builder to fix this: trust_clang_mangling(false) as in:
let bindings = bindgen::Builder::default()
    .trust_clang_mangling(false)
    .header("wrapper.h")
    .generate()
    .expect("Unable to generate bindings");

I hope this is harmless if we're wrapping a straight C library, which shouldn't require mangling?
I guess this issue can be closed, but it might be nice for bindgen to issue a warning on build if it detects a clang library that is unsupported.
Thanks for the help and this awesome tool.

libclang versioning is tricky, but we have hopes of eventually side-stepping the issue: https://github.com/rust-lang-nursery/rust-bindgen/issues/918

I guess this issue can be closed, but it might be nice for bindgen to issue a warning on build if it detects a clang library that is unsupported.

We do have a warning, but only in the executable, not in the library: https://github.com/rust-lang-nursery/rust-bindgen/blob/master/src/main.rs#L46
Would love to receive a PR that moves it somewhere shared by both the executable and library.


Store: activeNetwork is not set

The network id is never set, my guess here is the problem:
this.$store.dispatch(
  'navigation/setActiveNetwork',
  activeNetwork.network_id
)

default.vue is missing the networks parameter. But this is a part of the mutation in navigation.js: set_active_network(store, id, networks)

Or is the navigation/setActiveNetworkfired before accessing the networks?

Navigation is accessing the network element from store before the data is loaded


_bulk_get with latest=true option is slow

Hello.
I'm using CouchDB 3.1.0 on Ubuntu and building an app that replicates user data using PouchDB.
The replication protocol uses _bulk_get API with latest=true.
I found that this API responds 3x slower than without that option specified when I call it with 100 doc IDs on my server.
I understand PouchDB needs this option to replicate data in order to make sure that docs are always latest.
If I dropped this option, PouchDB seems to randomly crash because it gets an error response from CouchDB when the doc or its revision is not found.
Would it be possible to improve the latest behavior?
Summary
Improve latest option performance
Possible Solution
I found that it checks revision tree when latest is specified here: https://github.com/apache/couchdb/blob/3fc054d86f0844bdf851e402b05df5db08b1c230/src/fabric/src/fabric_doc_open_revs.erl#L94
But I don't know if there is room to improve it.
Thanks in advance!

The bottleneck was my network on EC2.
My cluster nodes were deployed across different regions in order to make them disaster tolerant.
That caused the network bottleneck between nodes where the RTT was around 166ms.
I moved the nodes to the single region but in different availability zones.
Now it works very fast!
Sorry for bothering you.


Support for !reference in parallel.matrix

Minimal .gitlab-ci.yml illustrating the issue
---
.TEST:
  - NAME: apa
  - NAME: boll

stages:
  - test-stage

test-job:
  image: alpine
  stage: test-stage
  parallel:
    matrix: !reference [.TEST]
  script:
    - echo test

Expected behavior
Execute testsuite with parallel matrix while expanding the reference
Host information
arch linux
gitlab-ci-local 4.39.0
Additional context
Currently running gitlab-ci-local errors with a test-job parallel.matrix is not an array.

Hello 😊
Does it work on GitLab ? I thought reference worked only for scripts, rules, variables.

Yeah, this should be working.
I shall investigate 🤟

Amazing, I don't find this usage here : https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html#reference-tags
Is there any official documentation of that ?
If not, how do you know where we can use !reference ? do you test on your own ? If so, in which keywords did you happen to discover that it works ?

I'm pretty sure ! reference can be used all over the place.
At least thats what i've tried to implement 🤣

Hmm.... Don't think gitlab-ci-local supports single param !reference at all

@fiskhest I got a fix incoming as well :+1:

Thanks for the fix @firecow!

You are very welcome, great sea creature that eats grass...

Thanks for the fix @firecow!


[UX]: MetaMaks Snap Marketing images

IMPACT

[ ] High
[ ] Medium
[X] Low

URGENCY

[ ] Critical
[ ] Major
[X] Medium
[ ] Minor

PRODUCT ENVIRONMENT
No response
DESCRIPTION OF ISSUE
Create marketing style images for Metamask
DEVICE / VIEWPORT

[ ] Desktop
[ ] Mobile

STEPS TO REPRODUCE
No response
ALTERNATIVES AND SUGGESTIONS
No response

wrong repo


Use event_organizer

This config variable is not used anywhere at the moment.

@emanuelschuetze Is this still up-to-date?

Currently (in 2.1.1) we don't use the config general_event_organizer anywhere. Any idea where it would be helpful? Otherwise we can remove this config field.
@donovaly @normanjaeckel @FinnStutzenstein Any opinion?

Remove it until someone wants to use it.

I would need it. The plan is to store there e.g. which part of a party organizes the even. If possible this info should be displayed at the lower left of the foot line in the projector. This would be helpful for public conventions ("Podiumsdiskussion") etc.


JWT

Could you please assign issue to. I am ready to contribute.

Could you please provide the description


Linter run, Autogenerated files removed, and Bug fixes

@yecksin I have changed the name of this pull request to reflect the content of it accurately


Prune dangling UTxO

Issue Number

#643
Overview

[x] I have made sure that UTxOs are saved with their first slot they got assign and the db doesn't store any duplicates.

Comments

See also: https://www.db-fiddle.com/f/cTTg5Koc4hDfnoVMd7rPUS/1

bors r+


Unnecessary "This is queryPart" log line

Is it needed to log this line here: https://github.com/DirectXMan12/k8s-prometheus-adapter/blob/ff409a0/pkg/naming/metrics_query.go#L213?
It doesn't bring much value, as you can see the generated URL in the following log-message.
If it's needed, can we at least use the log library, to match the same format?

@Multiply thanks for this issue! Indeed, this must have slipped during the PR review! If you don't mind, please submit a PR for this :-)

@s-urbaniak done.


Unable to correctly import GLTF models into Godot 4.0 (works with 3.4)

axes.zip
Godot version
v4.0.dev.calinou [71616630e] (also Godot_v4.0-dev.20211210_win64)
System information
Windows 10, Ryzen 3700x, 32GB, 3060Ti, Vulkan
Issue description
I've recorded a video of the issue from creating a new project to showing the bug occuring. The steps are mentioned in the video comments. Please let me know if there is an offical way to share videos of bugs, and I will reupload elsewhere if this Youtube hosted unlisted video is a problem. Here's the link: https://youtu.be/Xn-hqL6xnUA
I often get two resources after dragging a gltf file into the file tree. I don't know if there is any other way to import models, but I've always used this way with Godot 3.4, and it works fine.
Importing GLTF models (.glb) does not generate any other assets (scenes, meshes, materials) as it does with Godot 3.4, although I can inspect the objects in the file just fine if I double click on it in the file tree or open it in the advanced import options. The engine also doesn't ask me if I would like to create a new inherited scene any more, although if I understand correctly, it's because the model importer has been reworked for Godot 4.0.
If I try to drag the glb file into an open scene, the model is displayed until I release the mouse button, but then it vanishes, leaving an empty node, and the warning core/io/resource_format_binary.cpp:326 - Couldn't load resource (no cache): res://axes.glb::ArrayMesh_fwvu0. I tried saving and reloading the scene, but it did not help. However, when the play button is pressed, the model is there. If I delete the .godot folder and reimport the entire project, the model will be visible in the editor, but if I drag another into the scene, the same problem occurs.
This happens with any mesh I've tried exporting with default settings from Blender 3.0 or 3.1 alpha, and I have not experienced problems on Godot 3.4, only 4.0.
Steps to reproduce

Create a new empty project
Drag a glb file into the file tree panel to import it (I've attached the model I used to this bug report)
At this point, you may notice you get two resources with the same name in the file tree. If you try to delete one, Godot will
probably crash. Viewing one by double clicking should open the advanced asset importer, but note that both resources will be
selected in the file tree when you double click on either one of them. This is the first strange part of this issue.
Try dragging one of the .glb resources into the scene
In my case, the model displays in the scene until I release the mouse button to place it, but then it vanished, leaving a warning in
the console core/io/resource_format_binary.cpp:326 - Couldn't load resource (no cache): res://axes.glb::ArrayMesh_fwvu0. An empty node will be left in the scene.
Save and reload the scene. The model should now be visible.
Alternatively, place a camera in the scene and run the project. The model should be displayed correctly in game, even if it is not shown in the editor window.

Minimal reproduction project
No response

I've found that if you reference a single imported glTF scene in two different open scenes in the editor, the mesh will stop displaying in at least one of the open scenes. Closing one of the open scenes and reloading the other scene usually resolves this issue.

This causes due to updating a cache index for the main internal resource only.
https://github.com/godotengine/godot/blob/91b97dac03996c4b8791633ea6fa8fdc47852cb6/core/io/resource_format_binary.cpp#L736-L738
But this executes for the all internal resources after the above code https://github.com/godotengine/godot/blob/91b97dac03996c4b8791633ea6fa8fdc47852cb6/core/io/resource_format_binary.cpp#L754
Should we leave this condition?
https://github.com/godotengine/godot/blob/91b97dac03996c4b8791633ea6fa8fdc47852cb6/core/io/resource_format_binary.cpp#L736

Is there a pr for updating a cache index for the internal resources including main resource. so we can test?

@fire I've made some test and it's not due to a main resource. It's due to ResourceCache:
https://github.com/godotengine/godot/blob/91b97dac03996c4b8791633ea6fa8fdc47852cb6/core/io/resource_format_binary.cpp#L681-L688
But here we always create ResourceLoaderBinary, which has an internal index cache:
https://github.com/godotengine/godot/blob/91b97dac03996c4b8791633ea6fa8fdc47852cb6/core/io/resource_format_binary.cpp#L1025-L1035
Other words, internal_index_cache is empty, but a path of the resource is in the ResourceCache. The first creating of a node in a scene is successfull. But after...


Disable colorcolumn highlight in vim-plug window

ColorColumn highlight isn't interesting in the vim-plug window so it would make sense to disable it, maybe there are some other settings that should be disabled in this window by default
I've disabled it in s:prepare function below s:new_window() by adding this
set colorcolumn=0

Thanks for the suggestion. You can do it using FileType autocmd without editing the source.
autocmd FileType vim-plug setl colorcolumn=0

Yeah, I guess it makes sense for vim-plug to disable the option. But colorcolumn is a pretty recent addition to Vim. And if I want to unset it, I first have to check if the option is supported by calling exists('&colorcolumn'). So it's doable, but I kind of feel like it doesn't really worth it as it's already not impossible to customize the window using the aforementioned method.


Create a better build system

In your current build scripts, you seem to be just copying system libraries & hoping for the best, which can fail if the host system is subtly different from what you're using.
To make this better, I suggest using something small like Buildroot or KISS Linux.
Buildroot is the most mature of the two, and is specifically designed for building embedded Linux systems, which seems like a close goal to what you're doing here. It also has a lot of configuration options and build scripts for a lot of packages, including Python, which can make it feel complicated.
KISS is newer and less mature, but is very simple to understand, as most of the system is good old shell scripts & Busybox. However, it's not designed for a specific purpose like Buildroot, so it would probably only be used as a consistent base system (in a chroot or something similar) for the actual hand crafted build scripts.
So, if you want a robust build system, I'd recommend you go with Buildroot or something similar to it, but if you want your build system to be small, you can try messing around with something like KISS.

I agree, copying library files from the host system is disgusting. I will look into buildroot, this looks like exactly what we need. Thank you!

@joshiemoore regardless of how we build, I been working this morning on getting the build into github actions with a corresponding local build flow using docker. Did you have other plans?

The original build system has been replaced with a build system based on buildroot.


Fix boolean changes on eloquent models

If an eloquent model has a boolean field, it will be 1 or 0 in the database. If the model is then updated (with either true or false), originalIsEquivalent() will return false because true !== 1. However, if $current on the eloquent-model is a boolean, we can safely assume that the field is boolean and we can therefore treat $original as a boolean as well.

Nevermind, only noticed the statement for attribute casting now, which in this case is the way to go.


RLIMIT_NICE wineGE

Currently, the wine binary from WineGE shipped from this repo has no CAP_SYS_NICE set. This results in the following message logged when starting a random .exe file:
$ wine --boot

wine: RLIMIT_NICE is <= 20, unable to use setpriority safely

This should be fixed applying the suggestion here: https://github.com/ValveSoftware/Proton/issues/6141#issuecomment-1563190512
Is this something actionable from this repository side? I'm guessing setcap should be used when packaging the final binary?
I'm sorry I am not creating a PR after testing it myself - I'm not familiar enough with NixOS yet.

Derivations may not set their own capabilities - that has to be done by the host. You might want to take a look at security.wrappers and wrap the WineGE package with your desired capabilities.

Thanks, I'll do that. Might be something useful to state on the docs, though!

Honestly I didn't know wine-ge needed a cap wrapper, I don't use it. @fufexan what do you think, should we add a documentation entry on how to use wrappers or should the be a module for wine-ge?

If we're providing docs, then the module is 2 steps away. I say we can provide that as well.


Can we have tests?

This is an excellent validation library! However, are there plans toward backfilling tests? I'll be happy to contribute towards making that happen.

Thanks, I am glad that you like the library. I am not sure what you mean by backfilling tests. If you mean adding some tests, I would like that! However, I would like to ask you to only test the exposed public functions (API). I do not want unit tests or any other tests of internal library parts, as the troubles to maintain these kinds of tests usually outweigh the benefits.

Hi, I am closing this issue due to your long inactivity.


[FEATURE] Alias slack types

Description of the problem being solved
Slack-specific types (rich-text, channels, usergroups) found in Schame.slack.types are not easily discoverable. This is partly caused by them being separated from primitives (string, boolean, etc.) found in Schema.types
Alternative solutions
Aliasing Schame.slack.types to Schema.types.slack could improve discoverability of Slack-specific types (rich-text, channels, usergroups). The goal would be to make Slack-specific types "sub-types" of the Schema.types primitives (string, boolean, etc.). This would make the developers autocomplete recommend  Slack-specific types in Schema.types
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."


swift-api-digester: Refactor out several global variables. NFC

@swift-ci please smoke test and merge


Increased max tweet length to 280

Problem
The maximum tweet length is still set to 140 when it should be 280
Solution
Increased the max length
Result
Tested composing a tweet and there is no unexpected change in behavior

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

I noticed the Twitter character count still shows 140 instead of 280 when using TWTRComposer() on TwitterKit 3.4.2.


Empty and unexpected results in the viewer

Describe the bug
Sometimes there are empty results when I train a NeRF model, like this:

But sometimes it is normal:

After the training, the terminal may occur the following errors:
Task exception was never retrieved
future: <Task finished name='Task-5855' coro=<TurnClientMixin.send_data() done, defined at /home/tiger/.local/lib/python3.9/site-packages/aioice/turn.py:244> exception=TransactionFailed(Message(message_method=Method.CHANNEL_BIND, message_class=Class.ERROR, transaction_id=b'\xb4\nV\xa3\xc6\xd0\x88q\xf2\x12\xe3 '))>
Traceback (most recent call last):
  File "/home/tiger/.local/lib/python3.9/site-packages/aioice/turn.py", line 263, in send_data
    await self.channel_bind(channel, addr)
  File "/home/tiger/.local/lib/python3.9/site-packages/aioice/turn.py", line 88, in channel_bind
    await self.request_with_retry(request)
  File "/home/tiger/.local/lib/python3.9/site-packages/aioice/turn.py", line 216, in request_with_retry
    response, addr = await self.request(request)
  File "/home/tiger/.local/lib/python3.9/site-packages/aioice/turn.py", line 203, in request
    return await transaction.run()
  File "/home/tiger/.local/lib/python3.9/site-packages/aioice/stun.py", line 299, in run
    return await self.__future
aioice.stun.TransactionFailed: STUN transaction failed (403 - Forbidden IP)

In addition, when I drag the scene, the 3D object does not change with it. Please note that the camera location and object direction in the figures below:

To Reproduce
Any models may lead to this issue. F.Y.I. I train the model on a remote server and view the results in the local webviewer.
Expected behavior
Normal results with 3D objects.
Screenshots
Please see the description.
Additional context
I think it would be better if we could directly render a video by a set of pre-defined camera poses (instead of using the viewer), as the videos demonstrated in Stable-DreamFusion. I believe that sometimes this would be more helpful.
Environments

Debian GNU/Linux 11
Python 3.9.2
PyTorch 1.13.1
nerfstudio: 0.1.18 (latest version)
Browser: Microsoft Edge (Chrome kernel)
remote running

The first issue is long standing - https://github.com/nerfstudio-project/nerfstudio/issues/765
Try some of the workarounds listed.
If the scene moves, but the object doesn't that means that the webrtc connection has failed, or the training has crashed. This will always happen when you kill the training job.
If you don't want to use the viewer, you can use wandb or tensorboard, ie --vis wandb

The first issue is long standing - #765 Try some of the workarounds listed.
If the scene moves, but the object doesn't that means that the webrtc connection has failed, or the training has crashed. This will always happen when you kill the training job.
If you don't want to use the viewer, you can use wandb or tensorboard, ie --vis wandb

Thanks for your reply! The scene moves, but the object is static seems to be a common problem in my experiments. It would happen both in normal training (not killed or crashed) and after training. Could you please give me some advice?


Configurable base URL

Will throw problems if kickass.to is blocked by some ISPs. Providing a way for a developer to set the base URL to use would allow them to pull proxy list names and apply them if connections can't be made.
If kickass.to is unavailable feedparser will spit out an error about 'Not a feed'. It's been flagged on node-feedparser, and a user discovered it was caused by an incorrect request and unexpected error handling. Explicitly stating the URL would be good practice.
I believe this would make the module more robust.

Absolutely agree!
Here is where the URL is used: https://github.com/Glavin001/node-kickass/blob/master/index.js#L51
Here is what the options are passed in: https://github.com/Glavin001/node-kickass/blob/master/index.js#L7
It should be simple to have an option for the base url, store it in the instance, and use it in place of the current url where applicable. I would accept a pull request for such a feature :wink:. Thanks!

I'm currently overwriting the Kickass prototype for getURL. Oddly enough, I've just tried the JSON npm package, and that is using kickass.to and works.
It's been years since I've done any node development. Will try to get a PR done for you for this package and the JSON version ( as I presume you'd like this functionality on there also? ) shortly.

node-kickass-json is actually a Fork of my repo, and not maintained by me. However I am sure they would also love to have this PR. Thank you in advance for contributing!


Deprecation notice about support for SQLAlchemy 1.3

Dear community,
SQLAlchemy 1.3 is effectively EOL, even more when SQLAlchemy 2.0 will be released, which is around the corner [1].
It became clear we will remove support for SQLAlchemy 1.3 on the corresponding CrateDB dialect within the upcoming releases [2]. Please raise your voice if there are any objections to be considered.
We are issuing this notice early, and will also add a corresponding DeprecationWarning to another upcoming maintenance release, in order to make the intentions clear, and to inform users properly.
With kind regards,
Andreas.

[1] https://github.com/sqlalchemy/sqlalchemy/issues/8631#issuecomment-1329264864
[2] https://github.com/crate/crate-python/pull/485#discussion_r1057806508

A corresponding EOL/deprecation warning will be added with GH-503.

crate-0.30.0 has been released, and ships with the corresponding deprecation warning, still supporting all of SQLAlchemy 1.3, 1.4 and 2.0. If you are on 1.3, you should consider migrating to a higher version of SQLAlchemy soon. See also:

What’s New in SQLAlchemy 1.4
What's New in SQLAlchemy 2.0
SQLAlchemy 2.0 migration guide


fixes to CacheRoot, additional tests for GitHub registry.

also: rename registry.makePath -> regsitry.registrySpecFilePath
Signed-off-by: Oren Shomron<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 985

33 of 37 (89.19%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 69.373%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/registry/github.go
16
20
80.0%

Totals

Change from base Build 984:
0.08%

Covered Lines:
9887

Relevant Lines:
14252

💛  - Coveralls


Add hiruka3's file

I have: created a branch, created a file and made a commit, and opened a pull request

I have: created a branch, created a file and made a commit, and opened a pull request


chore(ci): add travis

This PR add travis support for the repo. It just runs lints, compiles and builds for now. When we have some unit tests, those should be added as well.
Also had to fix a few linting errors while at it.
/cc @wardbell @Foxandxss

sounds good.


Safari: Add support for tooltips

Description
Show tooltip for hostname with full URL. Also migrate to the latest API changes.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

nice! this extension always makes me sad I don't use safari. 😢
Btw - might be worth adding Add to Reading List actions to items in Search Tabs or Search History 🤔


Enable full logging

I see that I can log some internal log statements w/ Logger interface and then pipe them to something like Timber.
apolloClient = ApolloClient.builder()
        .serverUrl(baseUrl)
        .logger((priority, message, t, args) -> Timber.tag("Apollo").d(message, args))
        .build();

But I'm only seeing a few logs like this:
Cache MISS for operation com.example.api.GetSomethingQuery@df79fb2

How can I log the full json response?

If you want to log the network calls just provide the custom OkHttpClient in ApolloClient builder with the logging network interceptor.

How should this be done? I would like to include a dependency thats compatible with the OkHttp versions used by Apollo?

I made it like this
   implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
 val logging = HttpLoggingInterceptor()
    logging.level = (HttpLoggingInterceptor.Level.BODY)
    checkNotNull(authStateManager) { "authStateManager can't be null" }
    return OkHttpClient.Builder()
        .addNetworkInterceptor { chain ->
            val request = chain.request().newBuilder()
                .addHeader(
                    HEADER_AUTHORIZATION,
                    "$HEADER_AUTHORIZATION_BEARER ${accessToken}"
                ).build()

            chain.proceed(request)
        }
        .addInterceptor(logging)
        .build()

   return ApolloClient.builder()             .serverUrl(BASE_GRAPHQL_URL)             .okHttpClient(okHttpClient)             .build()


Init Timestamp within Active/PendingTimestamp TLVs.

Current coverage is 73.39% (diff: 100%)

Merging #849 into master will increase coverage by 0.22%

@@             master       #849   diff @@
==========================================
  Files           111        111
  Lines         16323      16527   +204
  Methods        2243       2261    +18
  Messages          0          0
  Branches       1963       1984    +21
==========================================
+ Hits          11943      12130   +187
+ Misses         3735       3725    -10
- Partials        645        672    +27

Powered by Codecov. Last update 8506dd0...bee42ec

LGTM 👍


Unable to load on mac

Hello,
For some reason this fantastic extension is not loading on macOS within VSC:
Here is the error I'm getting:

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2255 command 'fsharp.NewProject' not found
e.onDidNotificationChange @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2255

Regards

Hi, I hit this problem, too. It worked after I changed a setting:
    "FSharp.fsacRuntime": "net",

Hello @zaaack ,
I tried changing that same setting to "netcore" (it was already on "net" ) and restart and it does not work neither.
Very sad


ENV[ ] registeration

Thank you very much for releasing the code!
When I try to run experiment 'ant-dir' , problem occured as shown below:
It seems that 'ant-dir' is not registered in ENV[ ] list , only 'cheetah-vel' ,'sparse-point-robot' and 'point-robot'.
So , how should I register all of the envs in oyster/rlkit/envs into ENVS[ ] list?
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
python launch_experiment.py ./configs/ant-dir.json
print ENVS[ ]: {'cheetah-vel': <class 'rlkit.envs.half_cheetah_vel.HalfCheetahVelEnv'>, 'sparse-point-robot': <class 'rlkit.envs.point_robot.SparsePointEnv'>, 'point-robot': <class 'rlkit.envs.point_robot.PointEnv'>}
Traceback (most recent call last):
File "launch_experiment.py", line 144, in
main()
File "/home/ljy/anaconda3/envs/pearl/lib/python3.5/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/ljy/anaconda3/envs/pearl/lib/python3.5/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ljy/anaconda3/envs/pearl/lib/python3.5/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ljy/anaconda3/envs/pearl/lib/python3.5/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "launch_experiment.py", line 141, in main
experiment(variant)
File "launch_experiment.py", line 29, in experiment
env = NormalizedBoxEnv(ENVS[variant['env_name']]  (**variant['env_params']))
KeyError: 'ant-dir'

Thanks for pointing this out! I've registered the rest of the envs, see this https://github.com/katerakelly/oyster/commit/cea88c05f2944b68a2d9c426ac0d186432e24cb6

Thank you very much
| |
陆嘉猷
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 04/30/2019 13:55, Kate Rakelly wrote:
Closed #1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Bluetooth classic GAP callback crashed when user selected Cancel on Android phone during pairing procedure (IDFGH-4685)

Hi,
I'm currently trying to use the "bt_app_acceptor" code provided in esp-idf examples on a TTGO device.
Most of the times, the device crashed and rebooted if the I selected 'Cancel' during the Pairing procedure with my Android cellphone (Motorola g7).
Here one of the logs captured during the Pairing procedure when it crashed (if I clicked on Cancel on my phone):

I (41946) SPP_INITIATOR_DEMO: ESP_BT_GAP_CFM_REQ_EVT Please compare the numeric value: 804822
Guru Meditation Error: Core  0 panic'ed (InstructionFetchError). Exception was unhandled.

Hi, @X-Files-ESP32
Sorry to bring you the problem during the development. But could you please provide the basic information for this issue like other issues do?
Thanks

Hi,
I’m currently trying to use the ‘bt_spp_acceptor’ code provided by esp-idf as examples for classic Bluetooth applications (located in “esp-idf\examples\bluetooth\bluedroid\classic_bt” folder) to develop a new Bluetooth project.
Here are the devices I used in my test:

TTGO (with LCD display) development board to run ‘bt_spp_acceptor’ as spp server (acceptor).

Motorola g7 cellphone.

‘Serial Bluetooth Terminal’ as Android application that I used as Bluetooth Initiator (Client) on my cellphone to pair and connect to the spp acceptor running on TTGO board.
Note that you can download this app. from Playstore if you want to do a test.

Now the problem:

During the ‘pairing’ process between my cellphone and the ‘spp acceptor’ (TTGO running the bt_spp_acceptor’ code), when I received the ‘Pair with ESP_SPP_ACCEPTOR’ message asking me to confirm the 6-digit Blutooth pairing code:
-> If I click on ‘Pair’ – the code worked and my cellphone was able to pair with it and I can transmit/received messages normally on both sides without problem.
-> If I click on ‘Cancel’ then the TTGO board (bt_spp_acceptor) crashed and produced the log message below before rebooting:

I (22296) SPP_ACCEPTOR_DEMO: ESP_BT_GAP_CFM_REQ_EVT Please compare the numeric value: 551395
Guru Meditation Error: Core  0 panic'ed (InstructionFetchError). Exception was unhandled.

Note that every time during the pairing cycle if I press ‘Cancel’ on my cellphone to cancel the pairing the ‘bt_spp_acceptor’ code crashed – this is not just a random problem.
As at where it stands now, as long as this problem is not yet resolved - it is impossible for me to develop any commercial project based on the current esp-idf Bluetooth classic stack (I’m using the latest esp-idf stack).
I suspected that it’s not only just the particular problem with this TTGO development board – I tested on two diff. TTGO boards and got the same result. I hope you could test this code on a different development board just to confirm
my doubt.
Thanks you.
From: KBFEDE
Sent: Thursday, February 4, 2021 1:42 AM
To: espressif/esp-idf
Cc: X-Files-ESP32 ; Mention
Subject: Re: [espressif/esp-idf] Bluetooth classic GAP callback crashed when user selected Cancel on Android phone during pairing procedure (IDFGH-4685) (#6497)
Hi, @X-Files-ESP32
Sorry to bring you the problem during the development. But could you please provide the basic information for this issue like other issues do?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for reporting and sorry for the inconvenience, we have a fix under internal reviewing, and the issue will close automatically once the fix is available on GitHub.

Thanks for reporting, the fix is available https://github.com/espressif/esp-idf/commit/41ffe31cbd5354231eb2d51f5507c60ed8c283ae, feel free to reopen.