hotfix: disable fuzzing build

Until https://github.com/AztecProtocol/aztec-packages/issues/6682 when we can turn this back on

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.
| Metric |  |
| - |  |
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,464
9,464
9,476

l1_rollup_execution_gas
616,105
616,105
616,117

l2_block_processing_time_in_ms
1,315 (+1%)
4,862
9,722 (+1%)

l2_block_building_time_in_ms
46,946 (+1%)
185,396 (+1%)
370,839 (+1%)

l2_block_rollup_simulation_time_in_ms
46,774 (+1%)
184,770 (+1%)
369,595 (+1%)

l2_block_public_tx_process_time_in_ms
24,967 (+1%)
103,976 (+1%)
212,940

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
9,550 (+1%)
14,569

node_database_size_in_bytes
14,499,920
21,385,296

pxe_database_size_in_bytes
18,071
29,868

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
proving_time_in_ms
input_size_in_bytes
output_size_in_bytes
proof_size_in_bytes
num_public_inputs
size_in_gates

private-kernel-init
164
3,572
24,414
20,630
64,614
89,536
2,731
1,048,576

private-kernel-inner
624
4,127 (+1%)
52,587
92,318
64,614
89,536
2,731
2,097,152

private-kernel-tail
547
2,792 (-1%)
43,291 (+2%)
90,237
77,498
10,656
266
2,097,152

base-parity
6.49 (+1%)
1,183 (-2%)
2,795 (-2%)
128
64.0
2,208
2.00
131,072

root-parity
49.2 (-1%)
62.6 (-5%)
51,216 (+1%)
27,084
64.0
2,720
18.0
2,097,152

base-rollup
784 (+6%)
2,442
84,440 (-2%)
119,610
756
3,648
47.0
4,194,304

root-rollup
112 (-2%)
79.1
22,847 (+2%)
25,297
620
3,456
41.0
1,048,576

public-kernel-app-logic
523
2,875
51,715 (+1%)
104,941
86,302
114,784
3,520
2,097,152

public-kernel-tail
1,190
25,373 (+10%)
182,225 (+1%)
395,386
7,522
10,656
266
8,388,608

private-kernel-reset-small
594
2,185 (+7%)
49,522 (+1%)
120,733
64,614
89,536
2,731
2,097,152

merge-rollup
29.0 (+2%)
N/A
N/A
16,534
756
N/A
N/A
N/A

public-kernel-setup
624 (-3%)
N/A
N/A
104,941
86,302
N/A
N/A
N/A

public-kernel-teardown
528 (-2%)
N/A
N/A
104,941
86,302
N/A
N/A
N/A

private-kernel-tail-to-public
N/A
8,263 (-5%)
95,227 (+2%)
N/A
N/A
114,784
3,520
4,194,304

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms
proof_size_in_bytes
proving_time_in_ms
size_in_gates
num_public_inputs

ContractClassRegisterer:register
1,344
9,944
468 (+1%)
N/A
N/A
N/A
N/A

ContractInstanceDeployer:deploy
1,408
9,944
41.2 (-1%)
N/A
N/A
N/A
N/A

MultiCallEntrypoint:entrypoint
1,920
9,944
1,434 (-1%)
N/A
N/A
N/A
N/A

SchnorrAccount:constructor
1,312
9,944
1,003 (-1%)
N/A
N/A
N/A
N/A

SchnorrAccount:entrypoint
2,304
9,944
2,113 (-3%)
16,768
50,175 (-1%)
2,097,152
457

Token:privately_mint_private_note
1,280
9,944
1,126
N/A
N/A
N/A
N/A

Token:transfer
1,376
9,944
4,061
16,768
56,555
2,097,152
457

Benchmarking:create_note
1,312
9,944
979 (-5%)
N/A
N/A
N/A
N/A

FPC:fee_entrypoint_public
1,344
9,944
231
N/A
N/A
N/A
N/A

SchnorrAccount:spend_private_authwit
1,280
9,944
77.4 (-2%)
N/A
N/A
N/A
N/A

Token:unshield
1,376
9,944
3,271 (-2%)
N/A
N/A
N/A
N/A

FPC:fee_entrypoint_private
1,376
9,944
4,055 (-2%)
N/A
N/A
N/A
N/A

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.7 (+2%)
16.9
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.619 (+3%)
0.519 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.7
76.4
248
475
933
1,851
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.497
0.471
0.449
0.444
0.442
0.441
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
58.5 (+1%)
113
359
700
1,392
2,778
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.506 (+1%)
0.505
0.483 (-1%)
0.481
0.481
0.481
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
62.8 (+1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
107

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.556 (+1%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
83,794
665,117

Transaction size based on fee payment method
| Metric |  |
| - |  |


Copy does not work with image in media-preview extension

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Version: 1.74.3 (on github.dev)
OS Version: Linux, Gnome, Chrome

Steps to Reproduce:

Open an image in the media-preview extension
Right click on the image and select copy
Attempt to paste the image somewhere

Nothing happens. Also note that Cut and Paste make no sense here as menu items.
I assume that these are just the default context menu options from #54285 - perhaps these should be removed entirely from the preview extension and we could manually implement copy?

@VSCodeTriageBot assign this to me

@a-stewart
Are these the correct steps to reproduce the issue?
I'm unable to verify it on my mac.
Can you provide more information?

@mjbvz  I would like to wokr on this issue.

@mjbvz I would like to try solving this issue.

@a-stewart You right-click an image and select "copy", then you click a folder in VSCode's explorer and select "paste". The image should be pasted into that folder but it doesn't.

@StephenChips I would like to work on this issuse.
https://user-images.githubusercontent.com/65065614/229474677-e5d34f6f-1180-46ba-94d7-5b82d1458418.mp4

@StephenChips I would like to work on this issuse. @a-stewart here, I tried to copy and paste (Ctrl+v) it. But it doesn't work.

That is what I meant. The file isn't copied to the destination after you click paste.

After a day of researching, I think I can explain why this issue happens.
Basically in the core webview module (see src/vs/workbench/contrib/webview/browser/webview.contribution.ts), three default context menu actions (cut, copy and paste) are added to the WebviewContext menu, which are accessible throught all webviews, and image-previewer happens to be one of them, so after you right-click anywhere in a image previewer, you will be able to see these three actions.
Take "copy" as an instance, after you clicks this actions, the editor will post an message to the image previewer, telling it to execute copying. If there is a correspondent listener for this perpose, the image will be copied, but unfortunately there isn't one.
This problem has existed for quite a bit of time. The original modification that cause this problem i here #65310, which is meant to allow users to copy selected text within an extension's README page. There is also a closed issue that describe such issue in #123301. Personally I think providing action cut, copy and paste for all webviews is a little bit hasty, since there are not universally required for each webview, and even some of them need, the subject to be copied may vary from different webviews, or even different places in a same webview.
I can solve it by disabling the default actions first (there is a option preventDefaultContextMenuItems to achieve this), then let image previewer to implement its own copy and cut functionality, but I think this is rather a quick and sloppy solution. There should be another better way to solve this issue.

@StephenChips What about adding a copy handler inside the image preview:
document.addEventListener('copy', () => {
    ...
})

@mjbvz
Here's what I tried

VSC insiders without any extensions
Open a folder with a *.png file
Open the png file in vscode
Right click and select Copy
Paste into folder in vscode = does not work
Paste into markdown cell in vscode = does not work

What am i doing wrong?

Pasting image data into folders isn't supported by VS Code. Pasting into a notebook cells works fine for me though. To verify though you can also paste into an external image editor


[New Port Request] ptlib

ITNOA
Library name: ptlib
Library description: Open Phone Abstraction Library (OPAL) is a C++ multi-platform, multi-protocol library for Fax, Video & Voice over IP and other networks. Also included is the Portable Tool Library (PTLib) which is a C++ multi-platform abstraction library.
Source repository URL: https://sourceforge.net/p/opalvoip/ptlib/
Project homepage (if different from the source repository): http://wiki.opalvoip.org/index.php?n=Main.BuildingPTLib

I create ticket in official repository of ptlib https://sourceforge.net/p/opalvoip/feature-requests/29/ but I do not have any hope to official team member work on it :(

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


[Bug Report] Env Checker (reset with seed): This should never happen

Describe the bug
When checking my environment, the check_reset_seed test fails and I get the following error:
This should never happen, please report this issue. The error was: cannot pickle 'generator' object
It looks like it is related to line 85 in order_enforcing.py. When deepcopying the env_spec (which holds a Generator object), it fails.
Code example
No response
System info

pip
gymnasium==0.28.1
Ubuntu 22.04
3.8.17

Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Interesting bug, could you provide example code to replicate the issue?

Well, i just call the check on my custom env:
env_checker.check_env(env, skip_render_check=True)

Could you produce an example script for me to test with? I suspect that one of your environment parameters is a generator not a tuple

Ok. I figured out that the deepcopy fails, because my own code provides some non-pickleable objects. Here's an example:
from __future__ import annotations
from typing import Any
import gymnasium
from gymnasium.core import ObsType
from gymnasium.utils import env_checker

class Unpickleable:
    def __getstate__(self):
        raise RuntimeError('Cannot pickle me!')

class CustomEnv(gymnasium.Env):

    def __init__(self, unpickleable) -> None:
        self.action_space = gymnasium.spaces.Discrete(2)
        self.observation_space = gymnasium.spaces.Discrete(2)
        super().__init__()

    def step(self, action):
        return self.observation_space.sample(), 0, False, {}

    def reset(self, *, seed: int | None = None, options: dict[str, Any] | None = None) -> tuple[
        ObsType, dict[str, Any]]:
        super().reset(seed=seed, options=options)
        if seed is not None:
            self.observation_space.seed(seed)
        return self.observation_space.sample(), {}

gymnasium.register(
    id='Custom-v0',
    entry_point='__main__:CustomEnv',
    kwargs={'unpickleable': Unpickleable()},
)

if __name__ == '__main__':
    env = gymnasium.make('Custom-v0')
    env_checker.check_env(env, skip_render_check=True)

I updated the script to provide the unpickleable object at env creation. This reproduces exactly my error.

The problem seems to happen specifically when the argument in an env's constructor cannot be copied. Some logic in the wrappers (including the env checker) creates a deepcopy of the env spec so that the wrapper's spec can be appropriately modified in the wrappers, without modifying the underlying env's spec.
It'd definitely be good to improve the error message, but I'm not sure if there's anything else we can/should do. Can you describe what use-case you have where you're passing uncopiable/unpicklable objects to the constructor? (I'm trying to assess if this is a very unusual edge case, or something we need to seriously consider)

My specific use case is that I pass CARLA objects (e.g. a world instance).
However, there are many use cases where we deal with non-pickleable objects, such as network connections.

Fixed in #982


Message rejection when timestamps are equal

https://github.com/ethereum/builder-specs/blob/e602513bd5be4b8f0cc799af2c25e95049c2036e/apis/builder/validators.yaml#L9
The above validation results in duplicates of valid messages returning: {"code":400,"message":"invalid timestamp"}
I was under the impression registrations needed to be re-signed infrequently, and the once per epoch registration we are sending would be a duplicate.
This timestamp requirement also creates a re-signing once per epoch requirement (or however frequently we re send registrations), which could add a lot of load for a client running a lot of validators.

also #24


Have ApplicationName rules changed recently?

Looks like ApplicationName we specify on Azure SignalR connection creation on the server side, stopped working recently, if it contains "-" sign.
Worst thing is that there is nothing I could find in the log, at least for ASP.NET version of the library (not Core). It just returns 400, when trying to connect to ASRS. I had to debug the library to find the URL it calls and see the error in browser then.
Are there any other changing around it? like maxmin length, other forbidden characters, etc..

Hi @klioqc, thanks for contacting us and sorry that we have a regression bug for AspNet users, and the fix is deploying now, region by region. We've applied the hotfix to a few affected users right after we notice that but may missed yours. It may take some time to roll out to you resource. So would you tell us which region your resource is in? We can help fix that right now.

oh, so this is just temporarily? Ok, then.
I am still developing so I am using free tier in canadaeast region.
thank you

Should be fixed.


please publish a new NPM package

Hi,
I need the last commit about allowing to stub the decode method for a nodejs project I'm working on, would it be possible for you to release a new NPM package with this last commit?
Thank you in advance

We also need to update package latest master version for vulnerability.
(Need decode method unset define property version)

Please also address
CVE-2022-25883 - Medium Severity Vulnerability

Library home page: https://registry.npmjs.org/semver/-/semver-7.5.0.tgz

Dependency Hierarchy:
- jsonwebtoken-9.0.0.tgz
- :x: semver-7.5.0.tgz (Vulnerable Library)
Found in base branch: master

 Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Publish Date: 2023-06-21
URL: CVE-2022-25883

 CVSS 3 Score Details (5.3)

Base Score Metrics:

Exploitability Metrics:

Attack Vector: Network
Attack Complexity: Low
Privileges Required: None
User Interaction: None
Scope: Unchanged

Impact Metrics:

Confidentiality Impact: None
Integrity Impact: None
Availability Impact: Low

For more information on CVSS3 Scores, click here.

 Suggested Fix

Type: Upgrade version
Origin: https://github.com/npm/node-semver/pull/564
Release Date: 2023-06-21
Fix Resolution: semver - 7.5.2

Until a new version will be published, you can force the transient dependency update by adding the following to your package.json:
"overrides": {
"semver": "7.5.3"
}

9.0.1 has been published https://www.npmjs.com/package/jsonwebtoken?activeTab=versions

That new version did not fix the semver issue https://github.com/auth0/node-jsonwebtoken/compare/v9.0.0...v9.0.1

This has been fixed in release v9.0.2.


Refactor e2e legs GitHub workflow

Use one GitHub action file to launch all legs by accepting arguments/inputs that parameterize each run configuration

e2e-leg-2-* should be fixed with the change in #756


US-1964 WalletConnect sessions don't get erased when the wallet is reset

@jessgusclark @Freshenext
Renamed the storage back


Error when importing pymc3 in salmon notebook

Running the second cell in the spawning salmon notebook throws an error:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_13157/2218611635.py in <module>
      2 import numpy as np
      3 import pandas as pd
----> 4 import pymc3 as pm
      5 import arviz as az
      6 import matplotlib.pyplot as plt

~/anaconda3/envs/gp_tutorial/lib/python3.7/site-packages/pymc3/__init__.py in <module>
     11 from .model_graph import model_to_graphviz
     12 from . import ode
---> 13 from .stats import *
     14 from .sampling import *
     15 from .step_methods import *

~/anaconda3/envs/gp_tutorial/lib/python3.7/site-packages/pymc3/stats/__init__.py in <module>
     30 compare = map_args(az.compare)
     31 ess = map_args(az.ess)
---> 32 geweke = map_args(az.geweke)
     33 hpd = map_args(az.hpd)
     34 loo = map_args(az.loo)

AttributeError: module 'arviz' has no attribute 'geweke'

What version of PyMC3 are you using? Try updating with pip or conda depending on how you install your Python libraries.
I will close this, as it is not an issue with the notebook, but with your PyMC installation.

I'm not sure. I followed the instructions for creating a conda environment in the README. I'll dig into that and see if I can figure that out. Your YT video from PyData 2019 is really good. I've been searching for something that I could learn GP's from and finally found this. Thanks.

Thanks! Let me update the environment.yml file and see if that helps.

OK, give it a try using the updated conda environment.

Thanks! I rebuilt the environment, but still got the error. Then I ran pip install --update pymc3 inside the environment and now it's working. I really appreciate the help and thanks again for the really good tutorial.


Conditionally skip tests in the absence of Mesos/AWS (resolves #180)

Jenkins, test this please.

Jenkins, test this please.


[PDOException]   SQLSTATE[HY000] [2002] No such file or directory

I am attempting to install Bookstack from the ububtu install script on 16.04
Everything looks good except I get the following error before the end and when i visit the IP i get the error from bookstack "something may have went wrong"

First thing that came to my mind was, that you are trying to use sqlite. If so please check if a file named database.sqlite is existing in the storage/ directory.
If you try to use any other database please provide further information from storage/logs/laravel.log

Apparantly the first option was to put in a domain, the first time I put in http://IP and got this error. The next time I ran this i tried http://FQDN and this time it worked perfectly.


Proxy forms without relying on the request body

Fixes #57 and replaced #60.
For requests with a form content type .Net seems to consume the request body if model binding / method parameters are present on a controller, even if they should be using route or query string values. Avoid the problem by re-creating the request body from the form data.

This is awesome: thanks!

Codecov Report

Merging #61 into master will decrease coverage by 0.15%.
The diff coverage is 96.96%.

@@             Coverage Diff             @@
##            master      #61      +/-   ##
===========================================
- Coverage   100.00%   99.84%   -0.16%
===========================================
  Files           12       12
  Lines          628      658      +30
===========================================
+ Hits           628      657      +29
- Misses           0        1       +1

Impacted Files
Coverage Δ

src/Core/Helpers/Helpers.cs
97.29% <95.45%> (-2.71%)
:arrow_down:

src/Core/Extensions/Http.cs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@PreferLinux, didn't think it needed a PR...
https://github.com/twitchax/AspNetCore.Proxy/commit/8fdd4711d8728747d2a8ef6624a416c27774246d

Looks good!


2116: improve resilience of posthog integration

What are the relevant tickets?
https://github.com/mitodl/mitxonline/issues/2116
Description
Defines the generic Posthog functionality found in MITx Online and MIT Open to ol-django.  This ol-django functionality will later be imported into MIT Open and MITx Online in order to reduce redundant code across our applications.
How can this be tested?
You can use this MITx Online branch to test the functionality provided by this PR: https://github.com/mitodl/mitxonline/tree/ol-django-posthog
Test setup
You will need to perform the following steps in order to test this PR using the MITx Online branch above.

From within the ol-django project, run pants package "src/mitol/posthog:"
Copy the file from dist/mitol-django-posthog-2024.4.16.tar.gz and paste it into the main directory of the MITx Online application.
From within the MITx Online application's root directory, run docker-compose run -u root --rm web poetry add ./mitol-django-posthog-2024.4.16.tar.gz.
From the same location as step 3, run docker-compose run -u root --rm web poetry install.
From the same location as step 4, run docker-compose build.
Follow the "Installation and setup" section of the README included with this PR.
From within the MITx Online application's root directory, run docker-compose up.
Verify that your local MITx Online application appears as it should when POSTHOG_ENABLED=True is defined in your .env file.
Verify that your local MITx Online application appears as it should when POSTHOG_ENABLED=False is defined in your .env file.

@rhysyngsun I don't understand why https://github.com/mitodl/ol-django/blob/0a678e6983d8aff56e50a87b4d37ecabb56c60d4/build-support/bin/mitol/build_support/commands/changelog.py#L74 is reporting that I need to make change logs for a bunch of apps that I didn't modify.  That doesn't seem right.


How I can do inference on the model only with a question?

Hi, I want to know if is possible to use the model to get directly the SQL statment, after giving it a question in natural language. Actually if for example, I use the dev.json (modified version from spider dataset) attached, I have no result in pred.sql.
Thank you for help.

I can give it also the database schema, but in the dev.json for example, there is also the query, that is a result that I want. It's possible to give question + database schema but without the query?

@lihaoyang-ruc I'm trying to add a dataset to the database/ folder to and create custom questions for this, separate from the spider datasets. Is there a way to easily create tables.json and the other JSON files needed for RESDSQL to run inference, or do these JSON files need to be crafted by hand?

I am sorry for this. I don't have such a script to create the tables.json file, because all datasets adopted in RESDSQL (such as Spider-DK, Dr.Spider, etc.) already obey the same structure as Spider. Maybe you can find something useful from Spider's project (https://github.com/taoyds/spider).

This question is closed due to inactivity. If you have further questions, please feel free to open it again or create a new question.

@lihaoyang-ruc Can you please provide a script that takes as inputs "Database + Question" and returns the corresponding SQL query?


Prevent initial view.render when model.fetch is true

A glitch appears every time a view uses the loading helper.
— The view is rendered a first time.
— Then, the model is fetched and the view's loading attribute changes, so the the view is rendered a second time (showing/hiding things depending on the loading helper).
— Then, the fetch succeed or failed, so the view is rendered a third time.
The first render seems wrong to me. If a view has to fetch something, it should be hidden until the fetch has begin, right?

What is causing the first render here? A jsfiddle/jsbin would help debug this a bit. Generally we try to defer rendering of views as long as possible, so I suspect that the first operation is related to an insert or similar.


Pool UI withdraw UX fixes

A few fixes, https://www.awesomescreenshot.com/video/17220184?key=e816242ad8471ba4f90ab70baa7b89e6

When I select an option and start withdrawing, the radio button disappears (but it stays bold). It should still show the radio button

When I withdraw, the approval message appears then disappears. It should persist so the user can click into Explorer or close out

When I go to a pool where I have no LP tokens my balance should be 0 (not empty)

still shows the green message briefly
https://www.awesomescreenshot.com/video/17291079


training on Y channel

sorry but I have some questions that need your help.
I wanna train my own model based EDSR on Y channel, and my evaluation on DIV2K is rising，but when I evaluate on Set5, Set14, compared with the model training on RGB, the result is lower，Do you know why ?
Thanks a lot anyway
Looking forward to your reply

Can you describe your experiment in more detail and provide your results？


Replace in and out env vars with pudl_settings dagster resource

We decided ripping out pudl_settings should be done in a separate PR so we're going to revert back to using pudl_settings for now. See #2293
Scope:

[ ] pudl_settings resource is created and propagated to assets, io managers and other resources
[ ] The PUDL_OUTPUT and PUDL_CACHE no more.

@zschira making this change will affect #1874. How should we structure this work? It might make sense for you to get the CI passing on #2299 with the env vars, merge 2299 in then replace the env vars with a pudl_settings resource. We could also add the pudl_settings resource to the #2299 branch.

Now that #2299 is close to being merged in I think it makes sense to tackle this issue in a new PR. I partially tackled this issue in the dagster-asset-etl in a previous commit but reverted back to using the env vars.  Will have to update the ETL code and the test fixture to use the pudl_settingsresource.


onHighlightChange is not called in GWT

PieMenu version 4.2.0 doesn't fire the onHighlightChange callback in GWT. I tested this on libGDX version 1.9.10, 1.9.11 as well as 1.9.12-SNAPSHOT. It works as expected in Desktop (LWJGL3)
I used the code in the ClickDrag example for testing it out.
I also tested it on PieMenu version 4.1.0 which worked as expected in both GWT as well as LWJGL3

Have you tested it the other Listeners work? (Is it only onHighlightChange?)

Alright, I have the fix.
Can you try the gwt-pool-fix? https://github.com/payne911/PieMenu/tree/gwt-pool-fix
More specifically, those were the 2 commits that fixed the issue:

https://github.com/payne911/PieMenu/commit/707e41c0fe3e8a54c35d3cfd8e344bc95185a08c
https://github.com/payne911/PieMenu/commit/bdbd25d643611b40337378338bead71de71f94a0

(I got mixed up a bit when referencing the issue in the commit message.)
Expect a release by Monday.

Your fix works on GWT! :smiley:

Great!
Before merging the built GitHub Pages, I want to try to find a way to activate a similar configuration for my GWT Launcher:
https://github.com/payne911/PieMenu/blob/master/src/test/java/com/payne/games/piemenu/DesktopLauncher.java#L10
As it is, the PieMenus displayed on the online demo are far from being as sharp as on the desktop application, so I'd love that to be fixed. If you have any ideas, feel free to share!

v4.3.0 is out!
https://github.com/payne911/PieMenu/releases/tag/4.3.0
Let me know if anything is wrong. :)
It most probably should have been v4.2.1 because there weren't any major additions, but I realized that a bit too late and didn't feel like going back onto all the modifications in the different branches to fix that.


Check if repetition time defined in the nifti header is the same as the one in corresponding JSON file.

I'm testing out reading the headers with this library https://github.com/scijs/nifti-js . So far I've only tested two files (ds001/sub-01/anat/sub-01_inplaneT2.nii.gz and ds001/sub-01/anat/sub-01_T1w.nii.gz). Here's an example of what that library is extracting. I don't see repetition time? Do you know if those particular files don't contain it or if that's a limitation of the library?
{
    "dimension": 3,
    "type": "int16",
    "encoding": "raw",
    "endian": "little",
    "sizes": [
        128,
        128,
        33
    ],
    "spaceUnits": [
        "mm",
        "mm",
        "mm"
    ],
    "spacings": [
        1.5625,
        1.5625,
        4
    ],
    "spaceDimension": 3,
    "buffer": {},
    "data": {...}
}

It also appears that this library doesn't support partial file reads (i.e. reading and parsing the first 1000 bytes). So I haven't been able to test any of the larger functional scans due to memory limitations.
Do you know of any other javascript libraries that parse nifti binaries? And if not do you know where to find the specification for how the binary data is encoded? I found a link to this NIH side that appears to be down. http://nifti.nimh.nih.gov/

Adding this for reference. It looks to be a good resource for understanding the nifti format http://brainder.org/2012/09/23/the-nifti-file-format/

Yes - Anderson did a great job writing this up. To answer your questions:

RepetitionTime only makes sense for _dwi and _bold files (they are 4 dimensional)
I don't know of any other npm installable nifti reading library. I agree we should try to read only the header. If not to complicated we should enhance the nifti-js library by this feature or publish our own nifti reading library. There are some other JS based project that have nifti reading support built in that we can use for inspiration: https://github.com/rii-mango/Papaya and https://github.com/xtk/X

I've had some luck this morning getting nifti-js to only read through the header values. However, now I might need some help understanding how to get the repetition time from the header. Anderson lists out all of the header values and their location/size on that write up. Repetition time isn't mentioned in the header list. Is this a value that I need to interpret from other values or does it actually exist in the header somewhere I'm not seeing?

Ok. I think I'm getting the hang of this. I forked the nifti-js library (https://github.com/Squishymedia/nifti-header) and was able to get some more values from the header.
{
    "dimension": 4,
    "type": "int16",
    "encoding": "raw",
    "endian": "little",
    "sizes": [
        64,
        64,
        33,
        300
    ],
    "spaceUnits": [
        "mm",
        "mm",
        "mm",
        "s"
    ],
    "spacings": [
        3.125,
        3.125,
        4,
        1
    ],
    "spaceDimension": 3,
    "buffer": {},
    "intent_p1": 0,
    "intent_p2": 0,
    "intent_p3": 0,
    "intent_code": 0,
    "datatype": "int16",
    "bitpix": 16,
    "slice_start": 0,
    "pixdim": [
        0,
        3.125,
        3.125,
        4,
        1
    ],
    "vox_offset": 352,
    "scl_slope": 1,
    "scl_inter": 0,
    "slice_end": 0,
    "slice_code": 0,
    "xyzt_units": [
        "mm",
        "mm",
        "mm",
        "s"
    ],
    "cal_max": 0,
    "cal_min": 0,
    "slice_duration": 0,
    "toffset": 0,
    "descrip": "FSL4.0\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
    "aux_file": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
    "qform_code": 0,
    "sform_code": 0,
    "quatern_b": 0,
    "quatern_c": 0,
    "quatern_d": 0,
    "qoffset_x": 0,
    "qoffset_y": 0,
    "qoffset_z": 0
}

Is my understanding correct that pixdim[4] is the repetition time and xyzt_units[3] is the corresponding unit for repetition time? I'll spend a little time cleaning up the output of the nifti-header lib so it outputs values with the same names their defined with in the nifti specification.
I haven't yet published it to npm or anything so let me know if you have any thoughts about how we should position this library. For example, should we keep it focused on nifti headers or rename and expand it to include other values.

Yes - this is the correct way of reading repetition time. Mind that some files (for example structural scans: _T1w.nii.gz) will be 3D so will not have fourth dimension defined.
In terms of disseminating this code the most sense would be sending a PR to https://github.com/scijs/nifti-js with the functionality you added. Hopefully the maintainer would be able to merge it and push it to npm. If that will not happen we should publish our own fork.

Alright I've got a pull request in with the nifti-js library to make that a little more flexible. The maintainer has been super responsive so that should go through and be a useful library if we need more data later on. It also supports outputting the header in NRRD format. I don't know too much about that format but it seems somewhat more future proof and interoperable with other systems.
I've built out header only nifti reading that works in the browser and server and I've built out the repetition time checks on a branch called "nifti-header". There's just a couple of things to wrap up.
The big one is figuring out a testing strategy. Now that we're relying on NIfTI file contents, the core BIDS test fails due to the empty scan files. Does it sound realistic to update the test data to include header data? The header exists in the first 348 bytes of the file so that how big the files would need to be. If you have the originals you or I could probably write a script to rewrite the scans to only contain the headers. Let me know if you would like to try that out or we can try to suppress those errors during the core bids test.
The other thing I wanted to check with you is a couple assumptions that I've made in the checks. The first being that the nifti format supports the following units for the time dimension.
s
ms
us
Hz
ppm
rad/s

I set the check up so if the time is in milliseconds or microseconds it will convert the value to seconds before checking if it matches the JSON value. Which also means we're not forcing users to define it in seconds like they have to in the JSON file.
If it's defined in any of the other units I'm throwing an error. Do we need to accommodate those other units for the scan time dimension?
And lastly here are the new errors that I've written. All of them are currently considered errors and the last one will also include the json location message.
We were unable to read the contents of this file.

Repetition time was not defined in seconds, milliseconds or microseconds in the scan's header.

Repetition time did not match between the scan's header and the associated JSON metadata file.

Let me know if you'd like me to change any of the error language or if any of these should be considered warnings instead.

I also forgot to mention that with the dataset ds001 repetition time is showing up as 1 second in the header and 2 seconds in the sidecar. Do you know of another tool to read nifti headers so I can check if this is an issue with the dataset or with the nifti-js library?

Great job!
a) Yes seconds, milliseconds or microseconds are the only valid units.
b) I believe this dataset is indeed suffering with incorrect times in the headers. You can check these things using this viewer: http://ric.uthscsa.edu/mango/
c) testing - we can indeed create datasets with only headers, but it would be easier if we had a argument disabling header testing that we would use for datasets and include a couple of nifti files to test just the header validation.

Just my two cents: there are some converters that do not conserve the time of repetition info when converted to nifti but split in two files (hdr/img), because then the volumes are not 4D but 3D, and it seems some converters then "forget" to add the time of repetition.

BIDS requires 4D .nii[.gz] (not a pair of hdr/img) files. We recommend the excellent dcm2niix (which also generate BIDS compatible JSON files).


Improve username behavior

Fixes #1

Added a check, such that the first char of the username is not allowed to be a . or _

@googlebot I signed it!


Feat 1.16 addserver

Purpose of this pull request
add a server support for check session, deploy session;
accept submit  job, get job status ,job log from client
Which issue you fix
Fixes # (1657).
Checklist:

[ ] I have executed the 'mvn spotless:apply' command to format my code.
[ ] I have a meaningful commit message (including the issue id, the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.')
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have checked my code and corrected any misspellings.
[ ] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。


Sumatra fails when importing non standard libray

I'm having problems with Sumatra when trying to run any file that imports a non standart library.
Sumatra is version 0.7.3 installed using pip
smt run fails with the following output:
Using /usr/bin/python
Using /usr/bin/python
Traceback (most recent call last):
  File "/usr/local/bin/smt", line 31, in <module>
    main(sys.argv[2:])
  File "/usr/local/lib/python2.7/dist-packages/sumatra/commands.py", line 401, in run
    version=args.version or 'current')
  File "/usr/local/lib/python2.7/dist-packages/sumatra/projects.py", line 216, in launch
    launch_mode, label, reason, timestamp_format)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/projects.py", line 206, in new_record
    record.register(working_copy)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/records.py", line 113, in register
    self.dependencies = dependency_finder.find_dependencies(self.main_file, self.executable)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/dependency_finder/__init__.py", line 37, in find_dependencies
    return python.find_dependencies(filename, executable)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/dependency_finder/python.py", line 227, in find_dependencies
    return core.find_versions(dependencies, heuristics)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/dependency_finder/core.py", line 65, in find_versions
    dependencies = heuristic(dependencies)
  File "/usr/local/lib/python2.7/dist-packages/sumatra/dependency_finder/core.py", line 42, in find_versions_from_versioncontrol
    dependency.version = wc.current_version()
  File "/usr/local/lib/python2.7/dist-packages/sumatra/versioncontrol/_git.py", line 80, in current_version
    return head.commit.hexsha
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 183, in _get_commit
    obj = self._get_object()
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 176, in _get_object
    return Object.new_from_sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path)))
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 125, in dereference_recursive
    hexsha, ref_path = cls._get_ref_info(repo, ref_path)
  File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 157, in _get_ref_info
    raise ValueError("Reference at %r does not exist" % ref_path)
ValueError: Reference at 'refs/heads/master' does not exist

(An older version of this issue said that there is an error importing numpy but i've found out that the error appears with any non standart library)

Is your "non-standard" library under version control with Git? If so, what is the currently checked-out branch, and what branches exist?

@timtammittee I don't have enough information to reproduce this. Please can you reply to my questions from Sept 21st?

I'm sorry, I was a bit busy with work but I'll look back into it the next
few days.
Am 02.01.2016 11:33 schrieb "Andrew Davison"<EMAIL_ADDRESS>
@timtammittee https://github.com/timtammittee I don't have enough
information to reproduce this. Please can you reply to my questions from
Sept 21st?
—
Reply to this email directly or view it on GitHub
https://github.com/open-research/sumatra/issues/296#issuecomment-168379028
.

Ok, had finally had a look at it again and could not reproduce it.
i guess this issue can be closed

Thanks for looking at this again! Feel free to re-open the issue if you encounter the problem again (ideally with precise steps how to reproduce it).


Update aws-java-sdk-core to 1.12.440

About this PR
📦 Updates com.amazonaws:aws-java-sdk-core from 1.12.435 to 1.12.440
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #479.


Add Ruby3.2 support

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

Thank you!


setting EXTRAS_TARGET_ACTIVITY value from proper Activity for Sensors Demo

I see that for Sensors Demo we're starting ListBeaconsActivity, but we're using EXTRAS_TARGET_ACTIVITY value from ListNearablesActivity. I think, we should use EXTRAS_TARGET_ACTIVITY from ListBeaconsActivity in this case. It's working properly, because values from these two different activities are the same. It could stop working correctly when someone changes EXTRAS_TARGET_ACTIVITY value in ListNearablesActivity.

Thanks a lot :)


Restore ZIP related steps

This PR adds a task to create the zip package for a vaadin-core-elements release. Not all previously deleted tasks are needed anymore (Sauli was right to delete those). 😄

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Make Caffeine cache loading work in non-GAE thread

Caffeine cache loading happens asynchronously in a different thread than
the main app engine thread. When a VKey is created in that thread, it
tries to ascertain that the current thread is an GAE thread and fails.
In this PR we introduce a MasqueradedCacheLoader abstract class that
overrides the reload function, which runs in the background thread to
refresh the cache on demand, in order to trick Ofy into thinking that it
runs in an GAE thread.

This change is

Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @CydeWeys, @jianglai, and @weiminyu)

core/src/main/java/google/registry/model/CacheUtils.java line 97 at r4 (raw file):

      }
      value = load(key);
      if (!AppEngineEnvironment.isInAppEngineEnvironment()) {

I don't think this will ever trigger, right? Given that we set the environment on the current thread above...

Oops, you are absolutely right.


bot-example-flask.py not working?

I request hooks to be send to my server using:
#!/usr/bin/python
from webexteamssdk import WebexTeamsAPI
import sys

api = WebexTeamsAPI()

wh = api.webhooks.create(name = "All messages",
                    targetUrl = "https://MY_HOST:5000/events",
                    resource = "messages",
                    event = "created",
                    filter = None, secret = None)

print(wh)

and then post a message to a test channel using:
#!/usr/bin/python
from webexteamssdk import WebexTeamsAPI
import sys

def usage():
    print "Usage: {0} channel \"message\"".format(sys.argv[0])

if len(sys.argv) != 3:
    usage()
    sys.exit(1)

api = WebexTeamsAPI()

# Find all rooms that have 'webexteamssdk Demo' in their title
all_rooms = api.rooms.list()

i = 0
chanid=-1
channel = sys.argv[1].lower()
for room in all_rooms:
    if room.title.lower() == channel:
        chanid = room.id
        break

if chanid == -1:
    print "Channel not subscribed: {0}".format(sys.argv[1])
    usage()
    sys.exit(1)

# Post a message to the new room, and upload a file

api.messages.create(chanid, text=sys.argv[2])

using the command:
./post.py SergeTest 'hi gang'

The bot-example-flask.py instance on MYHOST does get a message, but complains about bad request syntax, like:
/home/serge/.local/lib/python2.7/site-packages/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  warnings.warn(warning, RequestsDependencyWarning)
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] code 400, message Bad request syntax ('\x16\x03\x03\x00\xeb\x01\x00\x00\xe7\x03\x03]\xc0\x85\xf81KW\x1e\xf0I\xd5\xed\xeb\x82J\xdcE\xeeK\xc9\x14\xd6\xf3H\xd8\xd9\xa7;IyOz\x00\x00d\xc0$\xc0(\x00=\xc0&\xc0*\x00k\x00j\xc0')
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] "^V^C^C^@<EB>^A^@^@<E7>^C^C]<C0><85><F8>1KW^^<F0>I<D5><ED><EB><82>J<DC>E<EE>K<C9>^T<D6><F3>H<D8>٧;IyOz^@^@d<C0>$<C0>(^@=<C0>&<C0>*^@k^@j<C0>" 400 -
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] code 400, message Bad request syntax ('\x16\x03\x03\x00\xeb\x01\x00\x00\xe7\x03\x03]\xc0\x85\xf8A\x07\xb8j\xa2\xc7N\xc8\xbf\xe5M\x8eIH\x04G/@\xf0\xdc\x91L\xaf')
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] "^V^C^C^@<EB>^A^@^@<E7>^C^C]<C0><85><F8>A^G<B8>j<A2><C7>Nȿ<E5>M<8E>IH^DG/@<F0>L<AF>" 400 -
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x03\x00\xeb\x01\x00\x00\xe7\x03\x03]\xc0\x85\xf8')
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] "^V^C^C^@<EB>^A^@^@<E7>^C^C]<C0><85><F8>^M<BE><BF><F8><FE><B4><C2>zqrW<81>p.
^Vy^X<F8>e<87><A8><C4>t<BD><ED>`<B1><B7>^@^@d<C0>$<C0>(^@=<C0>&<C0>*^@k^@j<C0>" 400 -
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] "POST / HTTP/1.1" 404 -
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] code 400, message Bad request syntax ("\x16\x03\x03\x00\xeb\x01\x00\x00\xe7\x03\x03]\xc0\x85\xf8\x98\xe0\xa0\x19a\x05;\xcdQ\xc5*X\xa2\xe8\xbf\x8dp\xa3\xd1\xce'\x14\xe8\xc0f\xd4@Q\x00\x00d\xc0$\xc0(\x00=\xc0&\xc0*\x00k\x00j\xc0")
<IP_ADDRESS> - - [04/Nov/2019 20:11:36] "^V^C^C^@<EB>^A^@^@<E7>^C^C]<C0><85><F8><98><E0><A0>^Ya^E;<CD>Q<C5>*X<A2>迍p
<A3><D1><CE>'^T<E8><C0>f<D4>@Q^@^@d<C0>$<C0>(^@=<C0>&<C0>*^@k^@j<C0>" 400 -

(109 lines of output, not all pasted above)

Ping?
It would be a tremendous help to both myself and my team if we could get this working.

Hm, maybe this project is out of date?  Maybe there's a newer python or golang teams api framework i should be using?

@hallyn I do apologize that you did not receive a timely response.  This is a community-developed and maintained project, and at first glance, it looked like your issue was something local to your setup.
I have confirmed the bot-example-flask.py example code is working as expected.  I was unable to reproduce your issue using the code samples you provided (thank you for those!).
You have probably long moved past working on this, but perchance you are still curious:

Given the output you posted, it looks like an encoding problem.  I suspect that your machine was using an encoding other than UTF-8.  All communications with the Webex Teams APIs should use UTF-8 encoding (and decoding) for processing the exchanged messages.
I also noted a small potential error in your code (this should not have caused your issue, but I ran into it when attempting to reproduce your issue):

The shebang line at the top of your scripts is #!/usr/bin/python.  Perhaps you meant #!/usr/bin/env python?  You may have been using a different Python interpreter than you were expecting.  This caused my system to use the system-installed Python v2 interpreter when I was running your script.

Thanks, this would indeed still be useful to me.  I'll aim to re-try and verify whether i was using UTF-8 and python3.  If python2 is known to not work, that could well be it.

Great.  Let me know if you run into any issues.  For your reference, here is a GIST with the files I used in attempting to recreate your issue.  I hope it helps.


fix: codecov.yml invalid

While at it, rename it to be hidden. (Docs say it's OK)
Turns out one can validate it with:
curl -X POST --data-binary @.codecov.yml https://codecov.io/validate

FOR THE 100TH TIME


Wrong encoding in extension License link

Does this issue occur when all extensions are disabled?: N/A

VS Code Version: 1.77.0-insider
OS Version: Windows_NT x64 10.0.22621

Steps to Reproduce:

Create a VS code extension where the License file has non-ASCII characters. Use UTF-8 encoding for the file.
Publish the extension
Open the License link from the marketplace page for the extension

Any non-ASCII characters now look messed up in the file that pops up

An example of an extension that has this issue is the Azure Machine Learning extension. But this is an issue in VS Code itself, not in any particular extension. Any extension that has non-ASCII has this issue.

Note:
The encoding issue doesn't show up when following the License link from the Marketplace page, only when clicking the link in the VS Code marketplace
https://marketplace.visualstudio.com/items/ms-toolsai.vscode-ai/license

I tried ms-toolsai.vscode-ai extension and the license link opens properly for me. Can you please provide the exact extension you are having the issue?

@sandy081 here's the direct link to the License for ms-toolsai.vscode-ai that appears when clicking on License from within VS Code itself: https://ms-toolsai.gallerycdn.vsassets.io/extensions/ms-toolsai/vscode-ai/0.28.0/1678213352093/Microsoft.VisualStudio.Services.Content.License
If you see under clause 2.b. it says "(collectively, â€œBuild Devicesâ€)" with those strange characters.
If you see the same license from the link that's linked from the web version of the marketplace (https://marketplace.visualstudio.com/items/ms-toolsai.vscode-ai/license)
you'll notice that the encoding is correct and it says "(collectively, “Build Devices”)"

Another example is the Data Wrangler extension. Here's the direct link to the License page: https://ms-toolsai.gallerycdn.vsassets.io/extensions/ms-toolsai/datawrangler/0.2.1/1679242792198/Microsoft.VisualStudio.Services.Content.License
There you can see the text with messed up encoding: "Remarque: Ce logiciel Ã©tant distribuÃ© au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en franÃ§ais."
The text with correct encoding reads "Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français."


[Ready to Review] Dashboard/select template when creating project

Purpose
Issue https://openscience.atlassian.net/browse/OSF-5872
Trello https://trello.com/c/kRPKAZQD/88-templating-should-be-an-option-for-top-level-projects
Missing functionality from old dashboard.  Allows user to create a project using one of their own projects as a template.  Does not search through all public projects at this time.
Changes
Adds template dropdown to Add project modal.  Uses select2 to get searchable dropdown, very similar to old implementation (except here using apiv2/mithril. old used apiv1/knockout)

@caneruguz, template PR.

@sloria - do you know what is causing this failing test?  I don't know why my changes are making this fail?

OSF-5872 is in Code Review and links to this PR, but this PR has "[WIP]" in the title and Travis is red. Are you ready for review here, @pattisdr?

@whit537, I am struggling to figure out why this test is failing.

Looks like the failing test is part of the karma subsuite. I'm attempting to isolate it with:
[osf.io]$ inv karma --single --browsers=PhantomJS

I get two failures!
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 272 of 274 (2 FAILED) (skipped 2) (5.326 secs / 4.144 secs)

How do I isolate one test?

How do I isolate one test?

Blech. :disappointed: https://github.com/karma-runner/karma/issues/553

Alright, so are we using mocha or jasmine or ... ?

Maybe mocha?

Per https://github.com/karma-runner/karma/issues/553#issuecomment-37769505, this gives some output that looks promising:
[osf.io]$ inv karma --browsers=PhantomJS &
[osf.io]$ sleep 10 # ish
[osf.io]$ karma run -- --grep=filteredtestexpr

Now to determine a good value for filteredtestexpr ...

Pretty sure this is the failing test ...

Now I'm getting an error from karma run (I do still see karma start in ps):
[osf.io]$ karma run
[2016-03-21 21:33:04.010] [DEBUG] config - Loading config /Users/whit537/workbench/cos/osf.io/karma.conf.js
PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
  Some of your tests did a full page reload!

PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 0 of 0 ERROR (0.006 secs / 0 secs)

PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
  Some of your tests did a full page reload!

PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 0 of 0 ERROR (0.006 secs / 0 secs)

[osf.io]$

If I'm debugging some hairy code I sometimes see this error. It would be really helpful if Karma said what URL my tests tried to navigate to.

I know it's important but there is no straightforward way to actually fix this in karma, as the architecture currently does not allow for this.

https://github.com/karma-runner/karma/issues/1101 :disappointed:

I thought maybe I should make sure I'm using the right karma, but alackaday:
$ ./node_modules/karma/bin/karma run
[2016-03-21 21:39:56.355] [DEBUG] config - Loading config /Users/whit537/workbench/cos/osf.io/karma.conf.js
PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
  Some of your tests did a full page reload!

PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 0 of 0 ERROR (0.009 secs / 0 secs)

$ which -a karma
node_modules/.bin//karma
$

Alright, skunked for now @pattisdr. :-/

I noticed @abought reporting a similar-looking test failure on OSF-5794, which he also saw on a third PR, but while those two (one, two) appear to be the same failing test, it's a different (karma) test from the one we're seeing here.
I guess I wanted to put it on the table that it's possible that the failure we're seeing here is unrelated to code changes here.

The failure I was reporting was fixed last night, and should therefore be fixed once you pull develop and force a rerun:
https://github.com/CenterForOpenScience/osf.io/commit/3a7e0a53e1ce906e1839cd2179ce99706b99b54f

Commented out the website/static/js/tests/addProjectPlugin.test.js.  According to @mfraezz, "removing it stops all tests from failing, so I'm assuming it messes up Karma's/PhantomJS's state somehow".
The addProjectPlugin test probably needs some work so @caneruguz was fine with commenting it out and fixing later.

@pattisdr Is the intention to fix the test before merging this PR? Or does "later" mean after this PR is merged? Why not get to the bottom of the test failure, if it's causing problems across the codebase (e.g., @abought's failures?)?

Commented-out code is a bad sign. It means we're cutting corners and accumulating cruft.

The addProjectPlugin test probably needs some work so @caneruguz was fine with commenting it out and fixing later.

Instead of commenting out code, can you explicitly skip the test? Eg
https://github.com/abought/osf.io/blob/06038911f781b117241e022ef694b7a6ece0afae/website/static/js/tests/apiApplication.test.js#L59-L59

can you explicitly skip the test

Also a sign that we're cutting corners and accumulating cruft, but at least it's the right way to accumulate cruft. :-)

@pattisdr Is the intention to fix the test before merging this PR? Or does "later" mean after this PR is merged? Why not get to the bottom of the test failure, if it's causing problems across the codebase (e.g., @abought's failures?)?

I have many dashboard fixes on my plate right now and fixing a test I believe is unrelated to this specific PR is a lower priority for me.  I can try to skip the test for now instead.

@abought, can I use this same text to skip?
it.skip('is invalid when field not a url', () => {
            // FIXME: URL validator not working as intended
            vmd.callbackUrl('notaurl');
            assert.isFalse(vmd.isValid());
        });

I have many dashboard fixes on my plate right now and fixing a test I believe is unrelated to this specific PR is a lower priority for me.

Fair enough.

can I use this same text to skip?

I believe this would be the diff that @abought is suggesting:
diff --git a/website/static/js/tests/addProjectPlugin.test.js b/website/static/js/tests/addProjectPlugin.test.js
index ac0b671..230a370 100644
--- a/website/static/js/tests/addProjectPlugin.test.js
+++ b/website/static/js/tests/addProjectPlugin.test.js
@@ -8,7 +8,7 @@ var AddProject = require('js/addProjectPlugin');

 //console.log(AddProject);
 describe('AddProjectPlugin', () => {
-    it('should validate if new project name is not empty', () => {
+    it.skip('should validate if new project name is not empty', () => {
         var project = new AddProject.controller();
         project.newProjectName('Hello');
         project.checkValid();
@@ -17,7 +17,7 @@ describe('AddProjectPlugin', () => {
         project.checkValid();
         assert.notOk(project.isValid(), false);
     });
-    it('should reset states and defaults when reset function runs', () => {
+    it.skip('should reset states and defaults when reset function runs', () => {
         var project = new AddProject.controller();
         // Change values
         project.newProjectName('Hello there');
@@ -32,4 +32,4 @@ describe('AddProjectPlugin', () => {
         assert.equal(project.newProjectDesc(), '');
         assert.equal(project.newProjectCategory(), 'project');
     });
-});
\ No newline at end of file
+});

Pass finished. https://github.com/CenterForOpenScience/osf.io/pull/5199#discussion_r57029662 is the main issue I'd like to see resolved (though it's not a hard blocker).

@sloria, templating changed to avoid redundant request to fetch user nodes.  In my projects page, only top level nodes are showing up as template options, and it's possible not all templates are loaded before the user is attempting to select them.
Caner is making a lot of changes to how nodes are being fetched - I will hold off fixing this until then.

Closed in favor of https://github.com/CenterForOpenScience/osf.io/pull/5310


With blaze, kyuubi will use only one task for small file merging

Describe the bug
With blaze, kyuubi will use only one task for small file merging：

DAG for this stage is as follow：

To Reproduce
I use spark3.3.1 with blaze v4.0.0 and kyuubi-extension-spark-3-3_2.12-1.8.1.jar
and related configrations are as follow:
--conf spark.sql.extensions=org.apache.spark.sql.blaze.BlazeSparkSessionExtension,org.apache.kyuubi.sql.KyuubiSparkSQLExtension
--conf spark.sql.optimizer.insertRepartitionBeforeWriteIfNoShuffle.enabled=true
--conf spark.blaze.enable=true
--conf spark.shuffle.service.enabled=false
--conf spark.shuffle.manager=org.apache.spark.sql.execution.blaze.shuffle.celeborn.BlazeCelebornShuffleManager

#663 Maybe you can cherry-pick this patch to check weather is fixed
fixed!! thank you


Use posix-spawn instead of Open3.

Ok, honestly not sure how much this will improve things, but perhaps, perhaps, perhaps it will shave a few seconds off that 10s number. Would you mind testing with that site and reporting if there's any speed boost?
Best option would be to use C-bindings in Git... maybe use Rugged or something instead of shelling out at all? Who could we ask about that?

Still want this? Should be faster.

Why not?

Looooool you're the greatest.

Thanks :heart:


Ask for help. How can I use one MediaComposer to cut three videos ,then add different effects like rotation effect for each one and join them?

I can do that by using tmp files. But how can I do it using one MediaComposer?

Yes, you can. For example you can take 3 videos with different camera rotation and join them with applying RotatEffect with different rotation angles

@marlon-b Thank you. But how can I?
For example, I can handle one source file using this:
        mediaComposer.addSourceFile(mediaUri1);
        mediaComposer.setTargetFile(dstMediaPath);

        configureVideoEncoder(mediaComposer, 480, 480);
        configureAudioEncoder(mediaComposer);

        IVideoEffect effect = new RotateEffect(video_rotation, factory.getEglUtil());
        mediaComposer.addVideoEffect(effect);
        MediaFile mediaFile = mediaComposer.getSourceFiles().get(0);
        mediaFile.addSegment(new Pair<Long, Long>(segmentFrom1, segmentTo1));

Then if I add
 mediaComposer.addSourceFile(mediaUri2);
 mediaComposer.addSourceFile(mediaUri3);

The same RotateEffect will be applied to the second and the third video. That's not what I want.

You have to create 3 RotateEffect objects with different angles. Set segment to every of them. Also add 3 source files with start, end positions if you want to cut. Please take care about start, end positions for effect and files segments.

I do not have a simple example by hand, but you can take a look at this as a reference:
int index = 0;
for (MediaFileParameters mediaFileParameters : listMediaFileParameters) {
String fileName = "";
if (mediaFileParameters.getFileType() == MediaFileParameters.FILE_JPG) {
fileName = activity.getCacheDir() + "/" + fileNameSubstitute;
	JpegSubstituteEffect effect = new JpegSubstituteEffect(mediaFileParameters.getFullPath()
											 , new Resolution(width, height)
											 , listMediaFileParameters.get(index).getRotation()
											 , androidMediaObjectFactory.getEglUtil());

	FileSegment fileSegment = new FileSegment((long)listPositionsInTarget.get(index).getStart() * 1000, (long)listPositionsInTarget.get(index).getEnd() * 1000);
	effect.setSegment(fileSegment);
	mediaComposer.addVideoEffect(effect);
} else {
	fileName = mediaFileParameters.getFullPath();

	if (mediaFileParametersTarget.getEffect() > 0 || mediaFileParameters.getRotation() > 0) {
		IVideoEffect effect = null;
		switch (mediaFileParametersTarget.getEffect()){
			case 1:
				effect = new SepiaEffect(mediaFileParameters.getRotation()
										, androidMediaObjectFactory.getEglUtil());
				break;
			case 2:
				effect = new GrayscaleEffect(mediaFileParameters.getRotation()
											, androidMediaObjectFactory.getEglUtil());
				break;
			case 3:
				effect = new InverseEffect(mediaFileParameters.getRotation()
											, androidMediaObjectFactory.getEglUtil());
				break;
			case 0:
				if (mediaFileParameters.getRotation() > 0) {
					effect = new RotateEffect(mediaFileParameters.getRotation()
											 , androidMediaObjectFactory.getEglUtil());
				}
				break;
		}

		FileSegment fileSegment = new FileSegment((long) listPositionsInTarget.get(index).getStart() * 1000, (long) listPositionsInTarget.get(index).getEnd() * 1000);
		effect.setSegment(fileSegment);
		mediaComposer.addVideoEffect(effect);
	}
}

try {
	mediaComposer.addSourceFile(fileName);
}  catch (Exception e) {
	Toast.makeText(activity, e.getMessage(), Toast.LENGTH_LONG).show();
} finally {
	MediaFile mediaFile = mediaComposer.getSourceFiles().get(mediaComposer.getSourceFiles().size() - 1);
	mediaFile.addSegment(new Pair<Long, Long>((long)mediaFileParameters.getStartPosition() * 1000, (long)mediaFileParameters.getEndPosition() * 1000));
	index++;
}

}

I believe this will help, but I still don't understand what the FileSegment is.
If I have three 10s video, all cut to be from 5s to 6s.
Then what the three FileSegments?

@marlon-b Can you take a look at my problem?

please try to set 3 segments:
0, 1000
and for
mediaFile.addSegment
set 5000, 6000

Then I got only the first rotated.

please show your code

Are we too noisy here? The problem is almost solved. Maybe we can private chat.
My code is like this:
        mediaComposer.setTargetFile(dstMediaPath);

        configureVideoEncoder(mediaComposer, 480, 480);
        configureAudioEncoder(mediaComposer);
long t=segmentTo-segmentFrom;
        IVideoEffect effect = new RotateEffect(90, factory.getEglUtil());
        effect.setSegment(new FileSegment(0, t));
        mediaComposer.addVideoEffect(effect);
        mediaComposer.addSourceFile(mediaUri1);

        MediaFile mediaFile = mediaComposer.getSourceFiles().get(0);
        mediaFile.addSegment(new Pair<Long, Long>(segmentFrom, segmentTo));

        effect = new RotateEffect(90, factory.getEglUtil());
        effect.setSegment(new FileSegment(0, t));
        mediaComposer.addVideoEffect(effect);
        mediaComposer.addSourceFile(mediaUri1);
        mediaFile = mediaComposer.getSourceFiles().get(1);
        mediaFile.addSegment(new Pair<Long, Long>(segmentFrom, segmentTo));

        effect = new RotateEffect(90, factory.getEglUtil());
        effect.setSegment(new FileSegment(0, t));
        mediaComposer.addVideoEffect(effect);
        mediaComposer.addSourceFile(mediaUri1);
        mediaFile = mediaComposer.getSourceFiles().get(2);
        mediaFile.addSegment(new Pair<Long, Long>(segmentFrom, segmentTo));

can you try to have three different effect objects, effect 1, effect 2 and effect 3?

I try it. That makes no difference

@marlon-b And I found another problem related to this one. #38

Hi, @mysyljr, @marlon-b.
These days I'm making app to record and join videos, but I've got some problem.
After transcode or join, audio of video is changed.
Hope you to provide advice if possible.
Regards.

@polaris0227 This may be the problem relevant to the codec type, which requires specific information of your video file and the codec in use.

感谢您的回复。
你启动过Github示例软件吗？
这一问题也出现在示例软件。
Thank you so much for your advice.
But I'm not sure how to resolve this problem.
Did you test sample app in Github?
This problem also happens in sample.
If I transcode mp4 file that was also recorded using this app, audio is
changed.
Hope to provide detailed advice.
Regards.
On Sun, Jun 26, 2016 at 6:16 PM, 梁俊仁<EMAIL_ADDRESS>wrote:

@polaris0227 https://github.com/polaris0227 This may be the problem
relevant to the codec type, which requires specific information of your
video file and the codec in use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/INDExOS/media-for-mobile/issues/32#issuecomment-228606176,
or mute the thread
https://github.com/notifications/unsubscribe/ANbfpItnKi9ooWjkdc8a3oLb5PmkmFxoks5qPpfNgaJpZM4IfBhO
.

@polaris0227 这我倒是没怎么注意，但我目前不太相信任何mp4文件都能出这个问题，我会回去试试的。

谢谢。我在期待您的回答，试试以后请告诉我结果。
On Mon, Jun 27, 2016 at 5:42 AM, 梁俊仁<EMAIL_ADDRESS>wrote:

@polaris0227 https://github.com/polaris0227
这我倒是没怎么注意，但我目前不太相信任何mp4文件都能出这个问题，我会回去试试的。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/INDExOS/media-for-mobile/issues/32#issuecomment-228643009,
or mute the thread
https://github.com/notifications/unsubscribe/ANbfpB_7CoB-d1xN1nefsQBP2I8z4Gakks5qPziOgaJpZM4IfBhO
.

我试了试，没有发现这个问题

能送给我apk文件吗？让我试试。
On Tue, Jun 28, 2016 at 6:59 PM, 梁俊仁<EMAIL_ADDRESS>wrote:

我试了试，没有发现这个问题
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/INDExOS/media-for-mobile/issues/32#issuecomment-229095524,
or mute the thread
https://github.com/notifications/unsubscribe/ANbfpME9qmzzxH5bwspkE_GuBEAwgghcks5qQUTYgaJpZM4IfBhO
.

我的在结束录像的时候，常常出个错误。是不是您的也那样？
On Tue, Jun 28, 2016 at 8:51 PM, Polaris My<EMAIL_ADDRESS>wrote:

能送给我apk文件吗？让我试试。
On Tue, Jun 28, 2016 at 6:59 PM, 梁俊仁<EMAIL_ADDRESS>wrote:

我试了试，没有发现这个问题
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/INDExOS/media-for-mobile/issues/32#issuecomment-229095524,
or mute the thread
https://github.com/notifications/unsubscribe/ANbfpME9qmzzxH5bwspkE_GuBEAwgghcks5qQUTYgaJpZM4IfBhO
.

我用的就是里面的sample，没有发现问题，你用的是android6吗？
录像功能我目前还没有用过

我用的也是里面的sample。
你能不能送给我你的源码和apk文件？
On Wed, Jun 29, 2016 at 5:35 AM, 梁俊仁<EMAIL_ADDRESS>wrote:

我用的就是里面的sample，没有发现问题，你用的是android6吗？
录像功能我目前还没有用过
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/INDExOS/media-for-mobile/issues/32#issuecomment-229240888,
or mute the thread
https://github.com/notifications/unsubscribe/ANbfpOGCGhbmKaFE1HcVqoLib3jm7-hKks5qQdoIgaJpZM4IfBhO
.


rename kyma-operator => lifecycle-manager

To be merged after rename after https://github.com/kyma-project/kyma-operator/pull/126 is completed

/hold

/test pre-main-manifest-operator-controller-lint


SET_DOMAIN_NAME setting is not used

Setting it to False should prevent the auto-population of django.contrib.sites.Site.

We have a note in the readme about that so I'm closing this ticket.


Issues with isaacgym

Hi,
We are using the project in the issacgym environment, but there is an error:
When we read the model from urdf and run print(model.names)
after import isaacgym
we encountered an error:
TypeError: No Python class registered for C++ class std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
However, if we do the above steps before import isaacgym, the error does not occur.
Would you please give us some ideas about how to deal with it? Our python version is 3.8.19 and our isaacgym version is 1.0rc4.

Hello, thanks for your interest in Pinocchio!
Could you provide a minimum example?
I'm not sure how Isaac Gym exposes things from C++ to Python, I'd wager it's using pybind11 but I can't be sure. Pinocchio uses the older Boost.Python, which has a conversion registry system, and in the bindings to Python we define a bunch of wrapper classes for common C++ classes (here, std::vector<std::string>). The import order (which package you load first) can change which wrapper classes or converters for many classes are defined first and at the "top" of the "conversion registry".
It's important to check your import order: either you need to import Pinocchio first, or IsaacGym first, to get consistent behaviour.

@ManifoldFR I have downloaded isaacgym package and it package libboost_python. The gym_38.so link against boost_python, so you're probably right. Something weird it that a ton of distributed library also link against libboost_python but are not python modules…
We already encounter similar issue with ompl : https://github.com/stack-of-tasks/eigenpy/issues/392
But it's look like isaacgym is more aggressive with the registry…

Huh, weird that Isaac gym is using Boost.Python... seems like we're not the last ones

@Norweig1an Unfortunately, it seeems that the way isaacgym packages boost-python is faulty.
We cannot do much as we are not the maintainer of this package.
As you have found a solution (by proper import) to circumstantiate this issue, we will close it.
Thanks for raising it and providing a solution to the Pinocchio community.


Expand testdata tests across the board, add bunch of tests

Just a stepping stone to more coverage. This fills the following gaps:

[x] Expands tests for TaskSeq.choose and TaskSeq.chooseAsync
[x] Expands tests for TaskSeq.exactlyOne/tryExactlyOne
[x] Expands tests for TaskSeq.filter/filterAsync
[x] Expands tests for TaskSeq.find/findAsync/tryFind/tryFindAsync

TODO:

[x] Expanding tests for TaskSeq.collect/collectAsync
[x] Expanding tests for TaskSeq.fold/foldAsync
[x] Expanding tests for TaskSeq.head/tryHead
[x] Expanding tests for TaskSeq.item/tryItem
[x] Expanding tests for TaskSeq.iter/iterAsync/iteri/iteriAsync (wrt side effects)
[x] Expanding tests for TaskSeq.map/mapAsync
[ ] Expanding tests for TaskSeq.pick/pickAsync/tryPick/tryPickAsync
[ ] Expanding tests for TaskSeq.zip

Only two sets to go! Wow, that was a bit more work than I had hoped, but found a few bugs in the process, so not an entire waste of time to unify most tests around a decent test set of taskSeq sequences, with side effects and without.


Sharing and storing in DB doesn't work.

Hi,
does not work when using haproxy and trusted SSL certificates (all three components configured with HTTPS).
Do you have any working example of docker-compose.yaml and .env for public internet domains ?

Please show me the error message.

@freezah I'm so sad, the error message is not provided by Docker or NodeJS(entrypoint). The error is beyond this project, I'can't provide helps.

@alswl , ok, understood. Although my question is have you successfully deployed excalidraw + room + storage on a remote server publicly available over https ?

@freezah I'm sure it works. You can check https://draw2.dmitrysamoylenko.in/#room=f8671f3fdef3ada5128c,Dyn8aqg8RII9rzUVIl9i7w .
You should check the request chains of your deployments.
And the excalidraw-room project is depend on crypto module, it required HTTPS protocol.

@freezah I see. I think the sample(provide by another developer) was not works as expected properly.
But in my self-host domain(a private intranet deploy), it works.
I'm lack of cloud resources , so I cannot provide a online demo.

I experience the same issue.
@freezah could you find a solution for the problem?
The error log message indicates, that a Firebase project id is missing.
@alswl Would it be possible for you to show us your excalidraw.env.production file?

Thanks to @an-hen .
Yes, REACT_APP_STORAGE_BACKEND shows the storage provider is firebase or http server, not the schema.


Added labels and annotations for helm

Description
This change added the following:
app.kubernetes.io/managed-by: Helm to the dynatrace-operator.commonLabels definition
and annotations for meta.helm.sh/release-name and meta.helm.sh/release-namespace to individual yaml files.
Issue I'm trying to fix:
When redeploying the application via helm, helm complains if specific labels and annoations are missing from resources it is trying to update, for example:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ValidatingWebhookConfiguration "dynatrace-webhook" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "dynatrace-operator"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "dynatrace"
Motivation
I'm using Terraform helm_release to manage the deployment of the dynatrace-operator to kubernetes. The initial installation goes well, but updates fail.
How can this be tested?
To test deploy the dynatrace-operator via helm; make a change to a value, and try to redeploy
Checklist

[ ] Unit tests have been updated/added
[ ] PR is labeled accordingly
[x] I have read and understood the contribution guidelines

This seems to be an error with your installation, maybe because you have some leftovers from older installations, however those labels are added always by helm itself and should not be added by the Dynatrace Operator, please reach out to our support of you have issues with your installation: https://support.dynatrace.com/


Fix ancient links for the monotype commands

I'll change it so it directs them to the home of the challenges then.


parameter for maximum distance

This is the most performant Levenshtein implementation for NodeJS of which I know, and I have a though on how to make it faster for many applications.
When testing many string pairs by similarity (for example, when sorting, or filtering strings above or below a threshold), often we are happy to short-circuit on any pair with a distance greater than max.
> leven('abcdef', '123456')`
6
> leven('abcdef', 'abcdefg')`
1
> leven('abcdef', '123456', 3)`
3
> leven('abcdef', 'abcdefg', 3)`
1

At scale, given that the least similar strings are also very expensive to compute, there is a big potential savings.  (For one, just comparing length is enough to discard many candidates.)
(For pairs with a distance above max, the distance returned can be null, max or max + 1 - I don't have a strong opinion on which is best, but probably max is the most useful, as it would require not extra handling for sorting or filtering.)

Makes sense. PR welcome. Should be an options-object with an option called maximumDistance.

but probably max is the most useful, as it would require not extra handling for sorting or filtering.)

👍

Feel free to take inspiration from this code: https://github.com/Yomguithereal/talisman/blob/master/src/metrics/distance/levenshtein.js#L230-L340

This is not the fastest Levenshtein implementation for NodeJS. In fact it is not even the second fastest. The fastest is:
https://github.com/ka-weihe/node-levenshtein

If anyone wants to work on this, see https://github.com/sindresorhus/leven/pull/15 for the previous attempt and the feedback there.


ng run error on ubuntu

root@localhost:$ ng
/usr/local/lib/node_modules/angular-cli/node_modules/@ngtools/json-schema/src/schema-class-factory.js:33
result.push(...indices);
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/angular-cli/node_modules/@ngtools/json-schema/src/index.js:2:30)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

How to resolve it! Please me! on Ubuntu 16.04 LTS

Just installed the CLI myself this morning from an 'npm install -g angular-cli' and i get exactly the same issue when running 'ng new'.
I'm on MacOS though.

You should be using npm install -g @angular/cli

Same problem after running the above command. 'ng new' just gives the following:
iains-iMac:git iain$ ng new iainsangular
/usr/local/lib/node_modules/@angular/cli/models/config/config.js:15
constructor(_configPath, schema, configJson, fallbacks = []) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/@angular/cli/models/config.js:2:18)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

This seems to be occurring too on Win10, with the following:
Node v4.4.7
NPM v4.2.0
Strangely, ng --v causes the same error to pop up.

And this is why you use the issue template... Especially the 'Versions' section.
Node 4.4.7 is basically ancient at this point. Angular CLI uses new Javascript features that aren't available in Node 4.
Upgrade Node to 6.9.5 LTS or above.

Thanks Ionaru.  Upgraded to v6.9.0 and error immediately disappeared.

CLI Quickstart at angular.io still mentions at least node 4.x.x in Step 1.

@thojo Actually the information has been changed on Github, but the website hasn't updated yet.

I fixed it with updated version of nodejs npm install npm@latest -g

Yeah I'm sorry about that, it took us a while to update the CLI quickstart. The problem really was node and npm version.

Had the same issue; I updated npm but that didnt solve the issue.
So I uninstalled node.js from my computer and installed again, which fixed the problem.

Same problem with ubuntu, even if you use the newest package via repo install it has still the version 4.X
Check your node version node --version
Or better use node version manager (nvm)

Try this guys...
npm cache clean -f
npm install -g n
n stable

Ubuntu does not upgrade major NodeJS versions, you have to redo the installation steps to install a newer major version.
For example the commands below will install NodeJS 6
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

And these commands below will install NodeJS 8
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Notice the curl link changed from 6 to 8.

lonaru, you comment helped me a lot. Thanks very much!

I have same issue on Ubuntu 16.04, @Ionaru  comment solve my issue, thanks,

@Ionaru's comment solved this for me on ubuntu 17.04. Reason for angular-cli not working was that legacy node was installed. Thank you ionaru!

how to update the node ..???  i have tried all the ways to update or upgrade still my node version is
v4.2.6?? wt should i do?

You're probably running into the issue with node and nodejs pointing to different installs.  If you tried the following below, then the new version is node and you can remove nodejs.
npm cache clean -f
npm install -g n
n stable

Side note, I had to run npm install @angular/cli to my local working directory and then to my global too at sudo npm install -g @angular/cli.

If you follow the apt install I would suggest to remove any locally installed node first:
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}

Thank you Ionaru you the new repo and update worked well for me.


Clean up React docs

Removed reference to React only being in the browser because of server side rendering

General editing + cleanup

Made formatting and caps more consistent

[x] I have read freeCodeCamp's contribution guidelines.

[x] My pull request has a descriptive title (not a vague title like Update index.md)

[x] My pull request targets the master branch of freeCodeCamp.

[x] None of my changes are plagiarized from another source without proper attribution.

[x] My article does not contain shortened URLs or affiliate links.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


ENH: Synchronize ORC with upstream

Synchronize the orc read and write functions with upstream pandas

No tests because it would require pyarrow, which is not installed.

No tests because it would require pyarrow, which is not installed.

It would just have to go in the section in pyproject.toml under [tool.poetry.dev-dependencies] so wouldn't be an installation requirement for the stubs, just for testing, and I think we should do that.

I see that you are skipping the tests if we have pandas < 1.5.  Did you test this with main from pandas?

I'm good with these changes, but can you answer this question: https://github.com/pandas-dev/pandas-stubs/pull/204#issuecomment-1220603356
Also need to resolve conflicts.  (realizing this is a PITA as I keep approving PR's)

I see that you are skipping the tests if we have pandas < 1.5. Did you test this with main from pandas?

Yes, it passes on main.

Ready for merge.


Building for Android

I've already compiled SDL2 for Android using
/opt/android-ndk-linux/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-18

How can I link to the native library when using cargo-apk?

I have absolutely 0 experience building on Android, sorry. I think you'd be better on asking directly in the issues of cargo-apk, chances are linking a lib with cargo-apk is generic and there is nothing specific to sdl2, so asking for help over there would probably result in higher chances of someone knowing what to do there.
On Apr 25, 2017, 23:50, at 23:50, Thomas Schaller<EMAIL_ADDRESS>wrote:

I've already compiled SDL2 for Android using
/opt/android-ndk-linux/ndk-build NDK_PROJECT_PATH=.
APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-18

How can I link to the native library when using
cargo-apk?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/AngryLawyer/rust-sdl2/issues/648

@torkleyy Did you managed to build?

@ip Unfortunately not, I came up with another solution for my particular problem.

@torkleyy could you please share your solution?

I used glutin for my game. I'm not sure if that's an option for you.

Oh, I see. Currently ggez depends on sdl, so it's not an option.


Why ci? why?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Convert a list of input datasets

The current CLI for convert is iohub convert -i <input-ome-tiff-folder> -o <output.zarr>.
In my experience/opinion this is a bit clunky because it requires you to

type out the dataset name twice (once for input, once for output),
specify .zarr unnecessarily, and
it's not compatible with wildcards.

This PR changes the interface to iohub convert /glob/of/ome-tiff/folders/* with an optional -o <output-folder> parameter that defaults to the current directory.
In practice, I almost always want to convert all of the datasets within a folder, and I want to duplicate the folder names. So, for example, iohub convert /path/to/project/* will fill my current directory with the converted .zarrs.

Whoops now the real tests are breaking...I'll fix before re-requesting review.

How is this different from the following?
for dataset in /path/to/many/datasets/*; do iohub convert $dataset; done

Thanks @ziw-liu, I agree. Since I wrote this I've improved my bash skills, and I'm fine leaving it as is. Closing.


Document content trust for swarm services

Problem description
Document feature added in https://github.com/docker/docker/pull/29156/
--with-registry-auth
Project version(s) affected
Engine 1.13

Closed via #1065


cache very big and don't release

The query cache has been growing, and the configuration item uncompressed_cache_size is not in effect!

There is no query cache in CH.
Do you mean Linux cache? It normal Unix-like OS use all free memory for the disk cache.

Thank you very much for your reply！
I would like to ask what the specific function of this configuration item uncompressed_cache_size is. Can't it be used to control the query cache?
| |
屈亚星
|
|
<EMAIL_ADDRESS>|
签名由网易邮箱大师定制
On 08/1/2019 00:59，Denis<EMAIL_ADDRESS>wrote：
There is no query cache in CH.
Do you mean Linux cache? It normal Unix-like OS use all free memory for the disk cache.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

use_uncompressed_cache
https://clickhouse.yandex/docs/en/operations/settings/settings/#setting-use_uncompressed_cache
it is disabled by default

I would like to ask what the specific function of this configuration item uncompressed_cache_size is. Can't it be used to control the query cache?

It allows to cache blocks of data in decompressed form to avoid the cost of decompressing data and reading data from disk for repeating queries. Uncompressed cache is less efficient than OS page cache and usually kept small (for example, 10% or RAM).


Update AnVIL Explorer hero to "AnVIL Explorer" from "AnVIL Data Explorer

Need
As part of more clearly differentiating the dataset catalog from the Data Explorer, we update the explorer's name to "AnVIL Explorer."

Complete


prep commits for buddy list

from #26717

Merged after fixing a commit message typo (and too-long title), thanks @evykassirer!


MBBSEmu - Add Enabled Flag to modules.json

This enhancement would add an Enabled flag to the modules.json record for each module enumerated within the JSON file.
Currently the only way an individual is able to remove a module from being loaded from MBBSEmu, they have to remove the entire entry from the modules.json file. This results in multiple different backups/copies in order to not lose configurations that have already been entered but not needed.
A new modules.json file would look like this:
{
  "Modules": [
    {
      "Identifier": "WCCMMUD",
      "Path": "c:\\dos\\modules\\mmud111g\\",
      "Enabled" : 1
    },{
      "Identifier": "RTSLORD",
      "Path": "c:\\dos\\modules\\lord\\",
      "Enabled" : 0
    },{
      "Identifier": "MBMGEMP",
      "Path": "c:\\dos\\modules\\ge\\"
    }
  ]
}

In this example, MajorMUD and Galactic Empire are enabled while LORD is disabled.
Absence of the flag results in Enabled being defaulted to 1 (on)

The module is still loaded at runtime, but it's not Added to MbbsHost

An additional enhancement would be adding a Sysop Command which would enable/add a disabled module to MBBSEmu while running.
/SYS ENABLE <moduleName>  would set Enabled to 1 for the module and load it into MbbsHost
/SYS DISABLE <moduleName> would set Enabled to 0 for the module and unload it from MbbsHost


Feature/update nouislider dependency

The nouislider dev dependency in the package.lock file has been updated to 'latest'. However the version present in the dependencies list of the compiled package has not been updated.
This PR updates the nouislider version in the compiled package to the version which is present in the development package.lock file (14.6.3).
The width override is removed as the original handle offset issue that it fixed has now been fixed by the updated version of nouislider.

@geoffreyp7 Thank you for the contribution


Add note about version in cocoapods

We've already received 3 PRs adding this parameter, this should avoid it in the future.

Will using a Gemfile work when using the bundled fastlane?

Should we add a note saying that this will not work if fastlane is installed via the zip file or homebrew?

@ohwutup
If the fastlane bundle was installed this could still work, since we're shelling out and could call pod using bundle exec. Maybe we should change the line https://github.com/fastlane/fastlane/blob/7908e2af585ce859312972bc2bd9e361f4229b86/fastlane/lib/fastlane/actions/cocoapods.rb#L17 here and remove the shell_out_should_use_bundle_exec? and just honor the use_bundle_exec param. This is a bit confusing for the user anyway as to why setting use_bundle_exec seemingly doesn't do anything.

I'm ok either way, however we should merge this PR with the warning for now to avoid getting further PRs adding the version number. Feel free to merge directly after approving the PR 👍


Make the project go get-able

Currently you can't go get this repo because both oragono.go and oragono-web.go declare function main().
You should move these to their own directories, e.g. cmd/oragono/oragono.go and cmd/oragono-web/oragono-web.go.
The go tool expects that one directory is one package. Although both of these files are package main they are really different things and so should be separated.

Ah, thanks for the issue! I'll move -web to its own directory along those lines and see what I wanna do regarding the base oragono.go. Thanks very much for bringing up this issue, I agree and I'll make sure it gets resolved :)

It's a bit ugly but 34089bd383d5178c7f4ce842b5b3ed86629b0bcb resolves this issue at least (and makes the project go get'able). I'll take a look at some further packaging docs/recommendations and will probably end up moving the core oragono.go file to its own directory in a similar way – thanks for letting me know about this!

Thanks!


[Question] Can we use this in background?

I wanna play sound without opening the nodered admin UI, upon testing, it does not play sound when the UI admin is close.
Is there any we can do? Thanks!

As the node says - this is for use in the browser only - so yes it needs the UI running... If you want to play sounds natively on the server then you need something like node-red-contrib-play-sound or noce0red0contrib-audio