AkShare 导入失败

遇到任何问题，请先确认您的 AkShare 版本是最新的
pip install akshare --upgrade  # Python 版本需要大于 3.7

描述遇到的问题

操作系统版本
window 64

Python 版本
3.8.5

AkShare 版本

接口的名称和代码

接口报错的截图或代码

>>> import akshare as ak
Traceback (most recent call last):
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\__init__.py", line 1146, in <module>
    from akshare.fortune.hurun import hurun_rank
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\fortune\hurun.py", line 8, in <module>
    import numpy as np
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "D:\Users\fatty\Anaconda3\python.exe"
  * The NumPy version is: "1.19.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

期望获得的正确结果

第一步就失败了，我需要帮助，都是最新的，谢谢

遇到任何问题，请先确认您的 AkShare 版本是最新的
pip install akshare --upgrade  # Python 版本需要大于 3.7

描述遇到的问题

操作系统版本
window 64
Python 版本
3.8.5
AkShare 版本

接口的名称和代码
接口报错的截图或代码

>>> import akshare as ak
Traceback (most recent call last):
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\__init__.py", line 1146, in <module>
    from akshare.fortune.hurun import hurun_rank
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\fortune\hurun.py", line 8, in <module>
    import numpy as np
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "D:\Users\fatty\Anaconda3\python.exe"
  * The NumPy version is: "1.19.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

期望获得的正确结果

第一步就失败了，我需要帮助，都是最新的，谢谢

pip install --upgrade numpy

遇到任何问题，请先确认您的 AkShare 版本是最新的
pip install akshare --upgrade  # Python 版本需要大于 3.7

描述遇到的问题

操作系统版本
window 64
Python 版本
3.8.5
AkShare 版本

接口的名称和代码
接口报错的截图或代码

>>> import akshare as ak
Traceback (most recent call last):
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\__init__.py", line 1146, in <module>
    from akshare.fortune.hurun import hurun_rank
  File "D:\Users\fatty\Anaconda3\lib\site-packages\akshare\fortune\hurun.py", line 8, in <module>
    import numpy as np
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "D:\Users\fatty\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "D:\Users\fatty\Anaconda3\python.exe"
  * The NumPy version is: "1.19.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

期望获得的正确结果

第一步就失败了，我需要帮助，都是最新的，谢谢

pip install --upgrade numpy

已经是最新的了，网上查询过这个错误，也是提示更新，不管用，还有什么其他的可能原因吗？不是python开发者，都是按文档操作来的，谢谢。

解决了：
1：pip uninstall numpy
2：conda install numpy
3：conda install pandas
4：conda install kiwisolver
现在可以正常导入了，谢谢


Remove Pierre Rambaud

Questions
Answers

Description?
Remove Pierre Rambaud

CI is failing 😆

Done in https://github.com/PrestaShop/ps-project-metrics/pull/38


How to use this module with HapiJS ecosystem?

Can you provide an example of how to use this plugin with HapiJS ecosystem?

Looks like someone has you covered: https://github.com/SimonDegraeve/hapi-webpack-plugin
Will keep the issue open until this has been added to the docs

Thanks!! @glenjamin


Error creating volumes on Ubuntu 16.04

We need to install the latest version of di-ruby-lvm-attrib
Cookbook version
3.0.0
Chef-client version
12.15.19
Platform Details
Ubuntu 16.04
Scenario:
Create volumes
Steps to Reproduce:
Run test-kitchen tests
Expected Result:
Not bomb out creating volumes
Actual Result:
 Recipe: test::create_thin
         * log[Creating physical volume for test] action write

         * lvm_physical_volume[/dev/loop0] action create
           * chef_gem[di-ruby-lvm-attrib] action install
             - install version 0.0.26 of package di-ruby-lvm-attrib
           * chef_gem[di-ruby-lvm] action install
             - install version 0.2.1 of package di-ruby-lvm

           ================================================================================
           Error executing action `create` on resource 'lvm_physical_volume[/dev/loop0]'
           ================================================================================

           ArgumentError
           -------------
           Unable to load lvm attributes [lvs.yaml] for version [2.02.133(2)]. The version/object may not be supported or you may need to upgrade the di-ruby-lvm-attrib gem. Error [No such file or directory @ rb_sysopen - /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/di-ruby-lvm-attrib-0.0.26/lib/lvm/attributes/2.02.133(2)/lvs.yaml]

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/lvm/libraries/provider_lvm_physical_volume.rb:47:in `new'
           /tmp/kitchen/cache/cookbooks/lvm/libraries/provider_lvm_physical_volume.rb:47:in `action_create'

           Resource Declaration:
           ---------------------

#
           # In /tmp/kitchen/cache/cookbooks/test/recipes/create_thin.rb

            35:   lvm_physical_volume device
            36: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/test/recipes/create_thin.rb:35:in `block in from_file'

           lvm_physical_volume("/dev/loop0") do
             provider Chef::Provider::LvmPhysicalVolume
             action :create
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :lvm_physical_volume
             cookbook_name "test"
             recipe_name "create_thin"
           end

           Platform:
           ---------
           x86_64-linux

Getting similar results when creating volume group
cookbook version: 3.1.0
Chef version: 12.15.19
  ================================================================================
    Error executing action `create` on resource 'lvm_volume_group[/dev/sdb]'
    ================================================================================

    ArgumentError
    -------------
    Unable to load lvm attributes [lvs.yaml] for version [2.02.166(2)]. The version/object may not be supported or you may need to upgrade the di-ruby-lvm-attrib gem. Error [No such file or directory @ rb_sysopen - /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/di-ruby-lvm-attrib-0.0.27/lib/lvm/attributes/2.02.166(2)/lvs.yaml]

    Cookbook Trace:
    ---------------
    /tmp/chef-zero912590331/local-mode-cache/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:58:in `new'
    /tmp/chef-zero912590331/local-mode-cache/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:58:in `action_create'

    ...

    Platform:
    ---------
    x86_64-linux

Just noticed an open pr#51

I pinged the author about getting that PR merged. Not much I can do until that happens since we depend on the gem.

Hi,
This was having a huge impact on us and it appears only one person (@gregsymons) is able to publish the updated gem for di-ruby-lvm-attrib and that person obviously has a life to live so it might be a little while before he can publish. (version 0.0.28).
I've temporarily forked his di-ruby-lvm and di-ruby-lvm-attrib repos and published my own version of the gems with support for LVM 2.02.166(2). Using this in the LVM cookbook fixes the problem.
Since it is only temporary, I'm not going to submit a PR to update this cookbook (and I don't think it should get merged anyway), but you can temporarily work around this problem by updating your copy of the lvm cookbook directly.
In the file libraries/lvm.rb update line 28:
from > chef_gem 'di-ruby-lvm-attrib' do
to > chef_gem 'otakumike-ruby-lvm-attrib' do
And in the same file on line 34:
from > chef_gem 'di-ruby-lvm' do
to > chef_gem 'otakumike-ruby-lvm' do
Finally, you need to update attributes/default.rb on line 21 to use version '0.0.28'.
from > default['lvm']['di-ruby-lvm-attrib']['version'] = '0.0.27'
to > default['lvm']['di-ruby-lvm-attrib']['version'] = '0.0.28'
I would recommend only doing this if you really need to, otherwise patience is probably a virtue until the real gem can be updated properly. If you have no choice, however, I hope this is helpful to you.

Also in libraries/lvm.rb lines 21 and 22 need to be modified from di-ruby-lvm* to otakumike-ruby-lvm*.  Otherwise it bombs on not finding di-ruby-lvm* gems.  Not a biggie, just a couple of additional changes for the workaround.  I needed it.

@jrmuir - good catch, sorry for leaving that out!

The current version on supermarket converges on Ubuntu 16.04

This has been fixed with the new gem


Deref improv

Add circular reference option to cli.
Resolve circular references either by crashing or by replacing by a object with key and value equals to circular string.
Resolve circular references is set to true by default but you can set it to false and you'll get an error saying where you have the circular reference.

I'm moving forward and gonna merge this PR. Please, if you see something wrong, missing, or just don't agree with the changes, don't hesitate to leave a comment after it's merged. I'll be happy to address these questions afterward.


How to store JWT token avoid login every time reopen the app

I use AsyncStorage with this , login success at first but then will be failed by Action type: "persist/REHYDRATE".
setAuthToken: (authToken) => dispatch(LoginActions.loginSuccess(authToken)),

Where is that code from?  What are the steps to reproduce your issue?  In a newly generated app, the token is loaded fine on app resume

Thanks Ruddell, I find the solution :
Edit App/Config/ReduxPersist.js
    whitelist: ['login', 'account'], // Optionally, just specify the keys you DO want stored to


Pass list of commiting files as parameter to npm script

Hello, thanks for good module!
But one thing is really needed.
For example, I have lint script on npm, that run linting gulp lint task. And in this task I can get list of all changed files from last commit through gulp-git to lint only them like this
gulp.task('git-diff', callback => {
  git.exec({args: `diff-index --name-only HEAD | grep .*\\.js | grep -v json`, quiet: true}, (err, stdout) => {
    .....
  });
});

But if I commit only some files this task anyway will take every changed, i.e. some files that I don't want to commit right now may have broken lint rules (for examples this files in deep development in that moment).
It would be great, if pre-commit passed list of files to npm script, for example if we have
"scripts": {
   "lint": "gulp lint"
},
"pre-commit": [
  "lint"
]

And pre-commit can call npm run lint -- --file path1 [--file path2 [--file path3]] where pathN is path to commiting files. In this case I can read in gulp array of passed files and lint only them.

you could use the --cached flag of git diff-index to only match the files that are actually staged.

Check out https://github.com/okonet/lint-staged. It solves exactly this problem.


[Csharp wrapper] pointcloud, points class Add

This PR add point cloud class to get coordinates of the depth points

I fixed Points Class Method Name

Hi @unagiHuman
This is great, thank you! Could you please resolve the conflict with post-processing change on the development branch? I updated CONTRIBUTING.md with our branching model as it was not really documented before...

understood. I will remake a new PR.


Highlight another new code line in "Part 5, work with a database in an ASP.NET Core MVC app"

In the code shown in the "Add the seed initializer" section, besides the highlighted code fragment
using (var scope = app.Services.CreateScope())
{
    var services = scope.ServiceProvider;

    SeedData.Initialize(services);
}

also the code line
using MvcMovie.Models;
should be highlighted, because it is also new.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a0a4022c-7ef1-3c30-4f9d-cf521a57a44a
Version Independent ID: a0b5e15c-d747-8710-95fb-a55c09861a1e
Content: Part 5, work with a database in an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/working-with-sql.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Any chance you could PR this? At the top right of the article, select the Edit pen icon:

Select the pen icon again. Save.

OK: https://github.com/dotnet/AspNetCore.Docs/pull/24760


Migrating repo from GitLab fails if Wiki is checked

Description
Migrating repos from GitLab fails if the user ticks the "wiki" option in Gitea, tested from https://gitlab.com/interpeer/caprock which was reported on https://Codeberg.org
It works fine if the "wiki" checkbox is left unticked. Probably a check is missing that the wiki exists // what is the branch.
log excerpt (seems relevant):
2022/04/28 22:06:21 ...s/repository/repo.go:102:MigrateRepositoryGitData() [W] Clone wiki: exit status 128 - fatal: Remote branch master not found in upstream origin

2022/04/28 22:06:23 ...ervices/task/task.go:56:handle() [E] Run task failed: unable to write commit-graph for '/data/git/gitea-repositories/interpeer/liberate.wiki.git' : chdir /data/git/gitea-repositories/interpeer/liberate.wiki.git: no such file or directory

Gitea Version
1.17.0+dev-491-g8eb1cd926
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Codeberg deployment + try.gitea.io
Database
No response

Migrate repository from https://gitlab.com/interpeer/caprock failed: unable to write commit-graph for '/data/git/gitea-repositories/6543/caprock2.wiki.git' : chdir /data/git/gitea-repositories/6543/caprock2.wiki.git: no such file or directory
-> this is is happening because the "wiki" is activated in gitlab but it's an empty git issue if you like to clone it

https://gitlab.com/interpeer/caprock/-/wikis/home it still looks empty, so probably can be checked via API? I'm just wondering if another error could occur on cloning an existing wiki and would not be detected with your change.

@fnetX blame gitlab, yes you can check via API - but it wont tell you anything about the state (if initialized or empty)

my pull https://github.com/go-gitea/gitea/pull/19563 does fix by the way ...


Add ability to create balancing thread pool for viewport generation

Feature Request
As a developer I'd like a way to balance the processing of multiple viewports across multiple threads. This allows us to scale the vuu system with the underlying physical architecture.
Description of Problem:
When the server is loaded with a large number of users, we want to be able to use the maximum number of cpu cores on the machine to service their viewports.
Potential Solutions:
What we need is a way to balance the collection of viewports across specific threads, such that if we have slow viewports, we can move them onto dedicated threads to not impact other users.

https://en.wikipedia.org/wiki/Bin_packing_problem

Fixed.


Feature Request: Embed browser tabs and other apps

It feels comfortable for me to have excalidraw document in background of my desktop.. where I navigate around relevant context.. and then other windows i.e. coding editor are fixed always-on-top mode.. would be even better if there is ability to embed them into fixed position on the document..


Fix build after breaking it in #1874

Additional output created by building the image breaks assumptions about what ./build --resolve-cname does. Fix by grepping for the cname.

closed in favour of solution by @nkraetzschmar


Why the perturbation with its value equals the maximum bound of Linf and L2 attack should be used in update?

I wonder the use of maximum bound of Linf and L2 attack in the update is the best choice?
Can it change to a value inside the [-eps, eps] interval? (smaller than eps)  Would it possible be better?

Hi @machanic, your question above is not an issue. Please reserve issues for problems in the code.
Feel free to e-mail with your doubts on the algorithm, but here is the rationale:
Yes, other configuration of the update step could be better but to reduce our sensitivity to this hyperparameter, we just set it to the bound defined by the threat model. With this, the algorithm become hyper-parameter free.


Mediatek RT2870

request for mediatek drivers my devices seems doesn't recognize my wifi adapter.

It will not work
You have to do it in your pc
Most of nh drivers not working

i'm working on mt7601U driver
but i face some error
some of them fixed but this one is still showing in dmesg log
rt2870: probe of 1-1:1.0 failed with error -1

RT2870 is confirmed working by others.
This module only provides firmware files used by a few adapters. The kernel should have the driver. XDA will probably have custom kernels for your device.

Is there any way to add mt7601u support in kernel 3.18?

And I know that this module only provides the firmware files
I compiled Ralink drivers support and now I have a working external adapter
But I want to know is mt7601u works or not in kernel 3.18 or 3.4 kernels

Assuming you're using this driver https://github.com/kuba-moo/mt7601u.
This issue https://github.com/kuba-moo/mt7601u/issues/8 says that a minimum of 3.19 is needed.

I used this but it fails
Then I used vendor's driver
It successfully compiled and the kernel module is loaded
But then is asks for eeprom.bin (in dmesg log)
I can't find any file named eeprom

The vendor's driver is from 2013 and it's said doesn't work well with newer kernels. I don't know much about this chipset driver, maybe try other ones like this one https://github.com/muratdemirtas/MT7601u

OK, let me try this


Internally-tagged enum representation could be more efficient

I'm still working on writing up a decent reproducible case for a better description of the issue, but decided to file an issue now for a braindump of what I came up with so far and to initiate a discussion.
Few days ago I tried to rewrite a parser for a pretty deep AST structure serialised as JSON. As is very common for AST structures, it's represented as a tree of internally-tagged objects like {"type": "...", ...} that should be parsed into a tree of Rust tagged enums.
Initially the code used json crate, parsing into a json::JsonValue and then it traversing that intermediate representation and manually created corresponding Rust types.
I moved it to use serde_json::Value which made performance slightly worse, but that was fine as it was meant only as an intermediate step. The endgame I was planning to end up with is using #[derive(Deserialize)] #[serde(tag = "...")], as it would, in theory, avoid an intermediate JSON tree altogether and could statically parse everything into static structures, and so make everything much faster.
Unfortunately, after doing all this migration and ending up with just static structures, I found that this made entire process >2x slower when parsing directly from string. This felt extremely surprising and, at first, I thought that the problem is somewhere in my code, but, after digging into serde's implementation I don't think so anymore.
Currently, it seems that using any non-externally-tagged representation causes Serde to collect entire input (JSON or not) into an intermediate Content tree, which explains the difference I was seeing - now, when using something like serde_json::from_value, there are two intermediate representations in place, and, when using serde_json::from_str, there is one but probably with less efficient matching than original manual match obj["type"] { ... }.
Now that I see it, I understand that this buffering into an intermediate is necessary to support cases where serde parses from a streaming reader and tag happens to be somewhere in the end of the object (like {..., "type": "..."}), but I think we could do much better for common cases and decided to raise this issue to discuss some ideas.

Before doing anything else, it's probably worth adding at least the AST case (which is quite common for JSON) as an internally-tagged benchmark to https://github.com/serde-rs/json-benchmark, as currently this workload is not represented there at all.
While JSON doesn't have any ordering, we could utilise the fact that more often than not tag does come up first in internally-tagged objects (and adjacently-tagged too). If we see that we already found it as the first element of the MapAccess, then we could check the tag value and pass the unconsumed part of MapAccess directly to proper static deserializer (this is what I've started to attempt, but seems to require quite a bit of refactoring which makes me uneasy).
Same idea as above, but could be extended to support tags somewhere in the middle too - buffer anything before the tag is found into a Content, then read the tag and then join Content + unconsumed part of MapAccess as a deserializer for the value. Although this one seems like overly complicated for unlikely benefits (it's not very common to have tags serialised somewhere in the middle).
Could allow deserialisers to mark themselves as "seekable"? This way any deserialiser over a string or a byte slice etc. could mark itself as such, and allow quickly skipping over any key-value pairs until it finds the tag, and then serde could "rewind" it back to the beginning of the map for value payload deserialisation, all without parsing into an intermediate dynamic buffer. Also seems more complicated than (1) and might be wasteful when skipping over values is as expensive as parsing, but should also help with common cases.

Does any of these sound good? Any other ideas?

I'm glad you are looking into this! The existing non-externally tagged deserializations have a long way to go in terms of performance.
Do you think it would be possible to develop this internally-tagged-assuming-tag-first mode outside of serde_derive? I am not eager to emit both tag-first and not-tag-first code for all internally tagged enums, since that is more binary size and more compile time. Also I am not eager to support a new serde attribute to opt in to the tag-first optimization. To the extent possible, I would like for deserialization logic other than what is already supported to be implemented outside of serde_derive. We can factor out whatever logic from serde_derive necessary to make that happen.

Do you think it would be possible to develop this internally-tagged-assuming-tag-first mode outside of serde_derive?

I'm planning to experiment with it outside of serde_derive first, yes, but later I was hoping to attempt to replace the current implementation with the more optimised one. I think that it shouldn't affect a binary size, since it wouldn't be two implementations as you described, but rather one with a quicker bail-out instead of buffering, but that requires further investigations.
In general, what do you think about approach (1)? Does it sound safe enough to attempt or would you rather see something like (3) happen in serde?

Just checked (1) on my project where the issue was initially noticed, and it indeed looks promising for cases when the tag is the first in the map.
Initially benchmark showed ~120ms with json::JsonValue matching, that got up to ~150ms with serde_json::Value to ~260ms with #[derive(Deserialize)] #[serde(tag = "type")] and now down to ~100ms (better than initial) with a custom Deserialize that expects a type first (and returns an error otherwise).

Results above are for from_str btw; additionally checked from_reader and that one went down from ~310ms with current derive(Deserialize) to ~140ms.

Ohh... I just realised (although haven't checked) that this gets even worse in case of nested enums (most common with tagged ASTs), because each of them creates its own intermediate Content buffer, even if the parent already has buffered the actual source into its own Content.

Updated the issue title because found out that adjacently-tagged enums already have a built-in fast path that avoid buffering when tag is the first key in the object.
Hence, it's only internally-tagged enums that are affected and need improvements.

I was hoping to attempt to replace the current implementation with the more optimised one. I think that it shouldn't affect a binary size, since it wouldn't be two implementations as you described, but rather one with a quicker bail-out instead of buffering, but that requires further investigations.

This sounds promising -- I would accept the optimization if it does not significantly affect binary size or compile time of generated code.
Bypassing the behavior of buffering per deserializer (your option 3) is something we want anyway (https://github.com/serde-rs/serde/issues/1183) but the most immediate design is blocked on stable associated type defaults (https://github.com/rust-lang/rust/issues/29661).

is something we want anyway (#1183)

Oh yeah I saw that issue and was curious but didn't dig into details.
I wonder why it needs associated type defaults - couldn't we add new methods to MapAccess instead (for arbitrary key-value access where supported)? Default trait method implementations should allow this to work in a stable Rust.

Stumbled upon this thread after observing that every lsp_server::Message (used by rust-analyzer) just directly contains json_value::Value, so for every message, two invocations of serde_json are required in order to use lsp_types. I was wondering if it'd be worth it to collapse these two serde layers into one by creating a big enum of all the LSP methods with their respective param types, using #[serde(tag = "method")] to disambiguate at the JSON-RPC level. But now I see that such an internally-tagged enum would go through the intermediate Content representation anyways, so my original idea is less exciting. I also see that the lsp_types crate is already littered with #[serde(untagged)], so the current situation is even worse than I thought: most values go through three layers, not just two.
@RReverser from a naïve reading, this comment you wrote is pretty alarming:

Ohh... I just realised (although haven't checked) that this gets even worse in case of nested enums (most common with tagged ASTs), because each of them creates its own intermediate Content buffer, even if the parent already has buffered the actual source into its own Content.

Is this still true? If so, doesn't it imply that, e.g., parsing JSON with internally tagged enums is quadratic-time? Or am I misunderstanding something?
For the case of JSON specifically, I'm wondering whether it'd be worth it to build a deserialization crate that first makes one pass to build a cheap index from node start offsets to end offsets, then uses this index in the case of internally tagged enums to jump over subtrees while searching for the tag. Has anyone done this before? Would it actually be faster? @dtolnay I'm guessing that, regardless, there's a good reason this sort of initial indexing pass wouldn't make sense to include in serde_json?

Is this still true?

Current situation not as worse as was at time of creating this issue, it was optimized in a hackish way in #2148, so if something already was buffered, the buffer will be reused. That optimisation, however, could be gone after merging #2608 if it wouldn't be adapted as suggested or in the other way.


Auth0: verifyCallback executed during startup and not after signing in

I've implemented the plugin as described in the documentation.
{
    resolve: "medusa-plugin-auth",
    options: {
      auth0: {
        clientID: Auth0ClientId,
        clientSecret: Auth0ClientSecret,
        auth0Domain: Auth0Domain,

        admin: {
          callbackUrl: `${BACKEND_URL}/admin/auth/auth0/cb`,
          failureRedirect: `${ADMIN_URL}/login`,
          successRedirect: `${ADMIN_URL}/`,
          // authPath: '/admin/auth/auth0',
          // authCallbackPath: '/admin/auth/auth0/cb',
          // expiresIn: 24 * 60 * 60 * 1000,
          verifyCallback: (container, req, accessToken, refreshToken, extraParams, profile) => {
            // implement your custom verify callback here if you need it
            debugger;
            console.log(container, req, accessToken, refreshToken, extraParams, profile)
          }
        },

        store: {
          callbackUrl: `${BACKEND_URL}/store/auth/auth0/cb`,
          failureRedirect: `${STORE_URL}/login`,
          successRedirect: `${STORE_URL}/`,
          // authPath: '/store/auth/auth0',
          // authCallbackPath: '/store/auth/auth0/cb',
          // expiresIn: 24 * 60 * 60 * 1000,
          // verifyCallback: (container, req, accessToken, refreshToken, extraParams, profile) => {
          //    // implement your custom verify callback here if you need it
          // }
        }
      }
    }
  }

When I start the backend server, the verifyCallback is executed (why? all arguments are undefined). But then, when I go to http://localhost:9000/admin/auth/auth0, I get redirected to Auth0 as expected, then after signing in, I get the following error (this is expected as the default behaviour as there is no user with that email, but that's why I want to modify the callback to change this):
Error: Unable to authenticate the user with the email ***********************
    at validateAdminCallback (E:\Work\Clevertech\Foraged\Repos\foraged-v3\backend\node_modules\medusa-plugin-auth\src\core\validate-callback.ts:40:9)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Auth0AdminStrategy.validate (E:\Work\Clevertech\Foraged\Repos\foraged-v3\backend\node_modules\medusa-plugin-auth\src\auth-strategies\auth0\admin.ts:47:23)
    at async callback (E:\Work\Clevertech\Foraged\Repos\foraged-v3\backend\node_modules\medusa-plugin-auth\src\core\passport\Strategy.ts:19:29)

verifyCallback never seems to be executed during the flow.
Using @medusajs/medusa 1.7.5 and medusa-plugin-auth 1.3.1.

Also, by using this plugin with Auth0, we still need to have a row in the user table? If so, how does the plugin maps this? Just by email address? What about password_hash? Will that simply be ignored when using this plugin?
We're trying to achieve signup/signup through Auth0 only. No plain email/password credentials allowed.

I am assuming that you are using the extender, there is a bug that will be fixed as part of the next release (mid next week) that load the config and execute the function at startup unexpectedly. For the verifyCallback if you do not provide a custom function it will use the default implemented one where the flow is explained in the documentation at the bottom of the page, it should give you the info you are looking for 👍

Yes, we're using the extender. I'll be watching for new releases.
I'm not fully understanding your comment on the verifyCallback. I'm providing a custom function as shown in the code above.
verifyCallback: (container, req, accessToken, refreshToken, extraParams, profile) => {
            // implement your custom verify callback here if you need it
            debugger;
            console.log(container, req, accessToken, refreshToken, extraParams, profile)
          }

It's just console logging the params for now, but it's a function after all. I'm not getting the execution after callback....

I ve just pushed the release of the extender to not hold that bug for too long.
If you update your extender version to the latest it should be fixed. What happen is that the async config loading was calling the function and store the result as the value of the property, therefore the value was void in your case. Hope it make sense

Perfect, it's working now!
On Tue, Jan 31, 2023 at 6:58 PM Adrien de Peretti @.***>
wrote:

I ve just pushed the release of the extender to not hold that bug for too
long.
If you update your extender version to the latest it should be fixed. What
happen is that the async config loading was calling the function and store
the result as the value of the property, therefore the value was void in
your case. Hope it make sense
—
Reply to this email directly, view it on GitHub
https://github.com/adrien2p/medusa-plugins/issues/50#issuecomment-1410826396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A44DURK7H6GGCWIDWPIVBV3WVFHDZANCNFSM6AAAAAAUMO54WA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
[image: Logo]
Emiliano Parizzi
Sr. Full Stack Developer
@.***
1345 Avenue of the Americas, 33rd Floor, New York, NY
www.clevertech.biz https://clevertech.biz/

Awesome, thanks! It's working now!

Do you feel to open a pr to update the doc and add the typings or a link to them? I am still in vacation at the moment 😅

Otherwise i let you create an issue to update the doc and i ll do it asap when I come back 💪


Could it use SQLite <IP_ADDRESS> ?

Hello, I am experiencing some issues due to multiple versions of the same DLL on my computer. I needed <IP_ADDRESS> to make VS 2015 understand how to add a SQLite ADO.NET Model from the interface, but now I get an error when I try to add it to my prohect because it cannot cast a <IP_ADDRESS> to a <IP_ADDRESS>....
I am so desesperate, SQL Server Embedded CE won't work either :(

You are using System.Data.SQLite.  Using sqlite-net with that will be ... difficult.  I would pick one or the other.

Thank you for your quick answer. You are right, I have both installed because I followed a tutorial, which partially worked, and I discovered this package through stackoverflow on a thread where someone was stuck at the same point as me.
It helped me because I could go further in the wizard, so I felt that I was going the right way.
I will try only with your package and I hope it'll work ! Thanks


Maps for super-relations in Monitor

(combined suggestion of StC and pyrog39)
Although maps of sub-relations are very useful, they sometimes lack context when studying the connection between subrelations.
It would be great to have maps for super-relations, where their members would show with a color or line dashing code that represents their roles: alternatives, excursions, etc. Ideally, the color or pattern mapping would be configurable from the left part of the Knooppuntnet window.
Actually, this could also apply to relations that directly contain ways, with the same mapping for roles (including forward/backward).

EV4 in France, from Roscoff to Morlaix could use a "forward/backward" style (cf. JOSM PT assistant style).
red : right branch
blue : left branch
cyan : main route

Style by roles :

green : main
dashed green : alternative
brown : connection

PR 11


Update README to improve readability of installation instructions

Hey 👋
Really cool project. I just wanted to improve the installation instructions a little, and make them easier to follow depending on whether you want the Mac app or to build this for iOS.
Here is a summary of the changes:

Add GIF showing how to view macOS build number
Reformat instructions into numbered list
Clarify what to download from Releases
Separate Mac and iOS instructions a little bit

This is what the How to install section looks like after these changes:

:v:

Thanks @ACyphus!


Some questions for utilys.py

Hi Jianxuan,
Thanks for sharing this great project. I just follow your paper of P-GNN and notice that the functions of "preselect_anchor" and "get_dist_max" may have problems.

In preselect_anchor(), it seems that the following code is not used at all, since you defined another get_random_anchorset() to select the anchor sets.

data.anchor_size_num = anchor_size_num
data.anchor_set = []
anchor_num_per_size = anchor_num//anchor_size_num
for i in range(anchor_size_num):
    anchor_size = 2**(i+1)-1
    anchors = np.random.choice(data.num_nodes, size=(layer_num, anchor_num_per_size, anchor_size), replace=True)
    data.anchor_set.append(anchors)
data.anchor_set_indicator = np.zeros((layer_num, anchor_num, data.num_nodes), dtype=int)

In get_dist_max(), you assigned dist_argmax[:,i] = dist_argmax_temp, however, dist_argmax_temp seems to be the index of the temp_id while not the index of the node id.

The two above questions seem not so aligned with your paper. Do I have some misunderstanding of your paper, or I do not understand your code correctly?
Kind Regard,
Jilin

Hi, thanks for the question.

Yes indeed, that's another version of anchor-set selection. You can commented in out or play around with it.
Yes, the reason is that you should use index aligned with dist_max, not node id. If you look at how I implement it, I use dist_argmax to select from dist_max, thus you should not user node id.

Hi, Jiaxuan,
Thanks for your reply. For the following question, I'm still a little confused.

Yes, the reason is that you should use index aligned with dist_max, not node id. If you look at how I implement it, I use dist_argmax to select from dist_max, thus you should not user node id.

In model.py, line 36. It seems that you are using dist_argmax to select the node feature. In this case, dist_argmax should be the node id. Am I somewhere wrong?

subset_features = feature[dists_argmax.flatten(), :]


fix(BRepMeshesManifold): Fixed some messages when inspecting Non mani…

…fold at model scale.

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


colt saa bug

The colt saa get bugged after firing view shots and then it just stop hurting eneimes, I don't know if hit reg is off or it just bugged, It been doing it for some time now.

Are you playing as Sherry? She has an odd bug where she's aiming down in her neutral stance, so she needs to aim up to hit things.

Are you playing as Sherry? She has an odd bug where she's aiming down in her neutral stance, so she needs to aim up to hit things.

No i was playing as irons in my last game, but the colt also don't work with others, every time i get the weapon it just bug itself after view shots idk why.


Very slow Jekyll Command on MacOS

Problem
Jekyll hangs at start, meaning loading/running thejekyll command is very slow on MacOS (approx > 30sec).
It appears every time the jekyll command is used, does not matter the command additions (build, serve, help etc.).
Environment

MacOS latest version: 10.13.3
Docker latest version: 17.12.0-ce-mac55 (23011)
Jekyll-Docker latest version: Build 1ae4979
Jekyll latest version: 3.7.3, standard Jekyll installation, no additional gems.
Docker run with volume

Steps to Reproduce
Run Docker with volume configuration as described within the README of jekyll-docker
docker run --rm --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" -it -p 4000:4000 -p 35729:35729 jekyll/jekyll:3.7.3 jekyll --help

or
docker run --rm --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" -it -p 4000:4000 -p 35729:35729 jekyll/jekyll:3.7.3 bash
jekyll --help

Potential Reason
After some research it seams to me the reason is docker.com.osxfs.
MacOS users describe file access with docker volumes on MacOS are very slow.
Proof: with this command (without volume configuration) the jekyll command is executed immediately
docker run --rm -it jekyll/jekyll:3.7.3 jekyll

Potential Solution
This is the best solution description I found about the Docker issue of slow shared file access and a suggestion of a solution: How to speed up shared file access in Docker for Mac. Have not tested it yet.
Or this solution: Docker-Sync.
This improved the response / loading time of the jekyll command too but not so much (approx 15 sec), so it is not satisfying but it is a well problem description by Docker: Performance tuning for volume mounts  .
Expected
Faster, instance loading time of the jeykll command on MacOS with volume configuration out of the box with jekyll-docker.
Thank you for consideration and by the way, thank you for sharing your smart jekyll-docker repository.

I was able to speed up the jekyllcommand, does take only one second to start with docker-sync. The bummer is docker-sync needs a dedicated container to run.
This is a config of docker-sync.yml:
version: "2"

options:
  verbose: true
  max-attempt: 30
syncs:
  #IMPORTANT: ensure this name is unique and does not match your other application container name
  vendor-bundle-sync: # tip: add -sync and you keep consistent names as a convention
    src: './vendor/bundle'
    sync_strategy: 'unison'
    sync_excludes: ['ignored_folder', '.ignored_dot_folder']
    sync_args:
      - "-prefer newer"
      - "-ignore='Path .git'"
      - "-ignore='BelowPath .git'"

and docker run
docker run --rm --volume="$PWD:/srv/jekyll" -v "vendor-bundle-sync:/usr/local/bundle" -it -p 4000:4000 -p 35729:35729 jekyll/jekyll:3.7.3 bash

At this time without more context as to how this directly affects this image, I'm standing around this being out of scope for me.  Docker-Sync is meant for your system not for my image as far as I can tell.  Even outside of that, including this in my documentation feels unfit, because I'm not here to teach people how to system, because everybody has an opinion on how their systems should behave.

Thank you for your feedback. Sorry, it was not my intension to bother you, neither to suggest docker-sync at an addition of jekyll-assets. This tool came up during my researchs for solutions.
I understand your point of view, not to support this area of synchronization / Docker performance issue. It took me quite a while figuring out what is the reason of the performance lack. As a Mac User I thought it could be worth sharing this Mac caching issue, because I assume there are many more Jekyll / jekeyll-docker users on a Mac and the caching was mentioned in the README. But you are right, this repo is not the place to discuss or help on general Docker related topics. :-)


Preact CLI buy-in

I am curious about the future of preact-cli. I have been experimenting with a couple of projects, each of which I have run into some issues.
One example is supporting async/await and the required tweaks needed to .babelrc, which I believe https://github.com/developit/preact-cli/pull/56 will solve. Another example is some tweaks I would like to make to the prerender.js. But both of these are opinionated changes. These are not changes that I would expect to be included in preact-cli.
As far as I can tell, to make these changes, I either need to wait for updates to preact-cli or fork preact-cli for opinionated changes.
I think both of these problems could be addressed by moving config / build scripts into the project that preact-cli generates (vue-cli does this). I have been watching https://github.com/developit/preact-cli/pull/56 (much ❤  for contributors) however I worry that this will increase the cost of buy-in of working with preact-cli.
I think the suggestion made here is an interesting option (clone templates from a repo). Here are some thoughts around this:

I would imagine this would address a lot of the buy-in issues
PWAs are the main focus, adding template repos might make it harder to support PWA by default
If a template repo updates, I would expect it be harder to update code generated from that template. I think this is a good argument for buy-in

Anyway, sorry for the opinions. Much ❤  for the project!

I am 100% in favor of opening up templates to address these issues. The only constraint I place on these efforts is that the defaults need to remain a streamlined and updatable implementation of best practices.  That is the main issue i have with scaffolding configuration rather than housing it within the CLI - it makes updates impossible.
For some context, we've had an opinionated CLI around Preact where I work for around a year and a half.  It's gone through 13 major versions, yet none of our projects have needed to be reinitialized or re-setup as a result - the configuration is housed entirely within the CLI tool, but can be mutated by passing arguments to the CLI, which enables a high degree of backwards compatibility.
I think a combination of .babelrc support and custom configuration seems like the best option here:  Preact CLI will provide all the Webpack wrapping goodness (cleaned output, built-in sensible defaults, etc), and then anyone is free to mutate that configuration as they please.  At that point your configuration (mutator) is only tied to Webpack.  I'd like to also provide utilities for manipulating configuration in a maintainable way (eg: utilities for finding and adding options to loaders/plugins instead of manually).
So your points are all very valid and things I've been pondering as well.  There's a balance here, and so far we've been quite far on the side of "just works" and "updatable", and haven't done much to address the other side of "configurable" and "scalable".
FWIW I am working on a few projects right now that I intend to convert over to Preact CLI once we've released a version that allows configuration extension.

Right now, my impression is that without the buy-in you lose the ability to easily make updates. However, I think the buy-in with #56 probably addresses most of the issues that I have with customizability.
With the buy-in, I wonder if there would exist a point where projects which were initialized with preact create mature to a point where they wish to no longer depend on preact-cli. At this point, I don't think it is relevant, but perhaps worth keeping in mind whenever increasing the buy-in to preact-cli.
[happy to close issue, excited for #56]

I think that's where things like Create React App allow "ejecting", which I'm open to but would represent a bit of work.  Perhaps being able to export the current webpack configuration but then losing out on some of the CLI niceties would be okay though.

IMO, the eject from CRA never made sense.
I'm not necessarily advocating for an eject-type, but if we were, I think it makes most sense to "stamp" out a webpack.config.js into the project's root, so that the user at least has an idea of what they had to begin with. And then if you truly want to sever all ties, it's not a big chore to delete a single file.

@lukeed I am not super familiar with CRA. However, it makes sense to me that ejecting should output a webpack.config.js and .babelrc along with anything else in preact-cli src that is needed, ie. components, lib and resources and maybe even commands.

I just double-checked -- it looks like it's been a long time since I've used CRA. 😅
Their eject now does what we've described: Converting to a Custom Setup

Yup. It might not be identical to the built-in config (loaders missing maybe) but it should be the same build output.


UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 698: invalid start byte

Traceback (most recent call last):
File "C:\Users\Ashif\Desktop\red-python-scripts-main\windows10-wifi.py", line 43, in
profile_info = subprocess.run(["netsh", "wlan", "show", "profile", name], capture_output = True).stdout.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 698: invalid start byte

you are working on windows machine since utf-8 is wrong encoding for that , utf-8 is default encoding for this if you write stdout.decode() instead replace it with stdout.decode("cp1252") it will work ;)

Thanks @daman9999

you are working on windows machine since utf-8 is wrong encoding for that , utf-8 is default encoding for this if you write stdout.decode() instead replace it with stdout.decode("cp1252") it will work ;)

tks  so much

you are working on windows machine since utf-8 is wrong encoding for that , utf-8 is default encoding for this if you write stdout.decode() instead replace it with stdout.decode("cp1252") it will work ;)

Your idea helped fix my random issue. Thank you!


Upgrade of the project, add compatibility with Tagger, Journal, Stairway, SoundLink and other features

With this PR I add the possibility to set triggers on the Notes / JournalEntry in the canvas.
The code works, but there is BUG.... to remedy an incompatibility with other modules at the time of the "mouse down" event together with the core setting "Left-Click to Release Object" active, it is necessary that if a token is selected on that event it remains at the event of "mouse up" still selected.
Unfortunately I have not found any other solution than to temporarily set the "Left-Click to Release Object" setting to false and then reset it to the original state at the "mouse up" event.
Maybe you can find a "smarter" solution.

Add many new features here the full list:

Added @Tag[list of tag separate from ','] as a filter link to interact with a specific placeable object on the canvas.
Cleanup code and integrated a better readable workflow for no so smart people like me
Avoid where possibile to recreate already existent object. Now i try to recover from the canvas/scene/game every object i needed for the trigger instead to create runtime from a wrong id or name, i lose something in performance but i think is the right road to follow
Add gulp build file for more relaxing build of the source and developing
Add github action for generate release with 'module.zip' and 'module.json'
Add integration with Stairways module, limited only to click :(
Add integration with Tagger mdule (details on readme)
Made check for entity case insensitive avoid many minor issue form miss typing the name ecc.
Add the setting 'Enable tagger integration feature' (details on readme)
Add the setting 'Enable 'journal for every scene' integration feature' (details on readme)
Add the setting 'Enable 'only use journal for every scene' integration feature' (details on readme)
Add the setting 'Enable avoid to deselect elements on the trigger event' (details on readme)
Update README with some cool banner,images and more examples
Add integration with Sound Link module
Added @JournalEntry[id]{label} as an effect link to interact with note on the canvas.

There is some known issues (check out the README Known issue paragraph)
Made a bunch of test, but i'm only one guy and i usually made some mistake, here you can download the beta version from my fork for anyone want to help me with some tests . Just install the module using this ref
https://raw.githubusercontent.com/p4535992/fvtt-module-trigger-happy/master/module-dev.json
Cheers.

I confess to only skimming the commit, but it looks good to me. I'd ask tat over the next couple of weeks you also keep an eye out on the issues list (I noticed you do that anyway) just in case anything new comes about.

Do you have a foundry discord handle? So I can properly acknowledge your work?

Discord username: 4535992#1766
Sure you can add me like a collaborator of the github project if you want.
Attention: classic.. the Tagger module version 1.2.1 (10 hour ago) just broke my Tagger integration i will open a new pr this evening after some test

You are now added - go for it. And  thanks for the work - it's much appreciated.


Remove code that set the ref head env var

We don't need that anymore since @johanfylling bumped us up to v0.57.0

Merging without review as this is a trivial change.


fix(toolchain): explicitly handle utf8 error

#446  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


make_bcs output directory reorg

Work towards new output structure for boundary conditions.
Removing "SMAP" from EASE grid cases. Changes were minimal since Weiyuan already prepared all the codes.
cc: @gmao-rreichle @weiyuan-jiang

I've tested few cases and all were zero diff. ( NLv3 C720, NLv5 M09 and ICA C180 and one LatLon case for ICA. )
@gmao-rreichle let me know if you think I should run for more cases.

Thanks, @biljanaorescanin.  The changes look ok to me, but I think it would be better to put this branch on top of the branch associated with #718, and point the PR to that branch until #718 has been merged.  Currently, there's some overlap between the PRs.
The present PR is meant to have make_bcs create the bcs files in the new dir tree structure, right?
If that's the case, then I think we should change the title of the PR to something like "make_bcs output directory reorg", and maybe change the title of #718 to something like "update make_bcs legacy input path.

@weiyuan-jiang we still have conflicts.
We should probably also change this in make_bcs and python codes, after email we all got:
#SBATCH --ntasks=28
#SBATCH --constraint=sky
to
#SBATCH --constraint="[cas|sky]"  and use $SLURM_CPUS_ON_NODE

@biljanaorescanin , Have you tried to submitted many jobs? I have concern over this line
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/4b33979cd9833e3ded52fafa027e30c50586b951/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs#L945
It appears at lat-lon, cubed-sphere and EASE cases.  If some jobs are submitted simultaneously, this directory may be deleted by the other job that finishes earlier.

Now make_bcs.py should be in sync with make_bcs.   The three program make_latlon_bcs.py, make_cube_bcs.py and make_ease_bcs.py can be tested independently

@biljanaorescanin , Have you tried to submitted many jobs? I have concern over this line
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/4b33979cd9833e3ded52fafa027e30c50586b951/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs#L945
It appears at lat-lon, cubed-sphere and EASE cases. If some jobs are submitted simultaneously, this directory may be deleted by the other job that finishes earlier.

I would have to try again. I did run before and there was no issues. But it has been a while so I don't know for sure.

Looks like running CF and LatLon cases is OK in all combinations, for many resolutions at the time, but any experiment with EASE has to be run separately just EASE.
This part we added for version:
Options for EASE grid version (land-only):
EASEv1
EASEv2 (default)
Gets appended anytime we have EASE in combination... so I get for example this mess if I do:
 Land BCs version:       ICA
Atmospheric resolution: b c12 M36
EASE grid version:      EASEv2
Ocean resolution:       O1
SMAP_EASEv2_M36.j
SMAP_EASEv2_c12.j
SMAP_EASEv2_b.j
I see during testing I didn't run many combinations at the time but individual and if I did test many cases they were in same case type CF, EASE or LatLon.  So that OUTDIR you asked about is not the problem but EASE grid version being appended.

Looks like running CF and LatLon cases is OK in all combinations, for many resolutions at the time, but any experiment with EASE has to be run separately just EASE.

@biljanaorescanin, @weiyuan-jiang: For make_bcs only, maybe we can just add augment the following comment:
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/4b33979cd9833e3ded52fafa027e30c50586b951/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs#L182
with something like "Do NOT specify a mix EASE grid and cs/LatLon grid resolutions."
This should be enough of a fix for make_bcs until it is deprecated.  I assume the same problem does not occur in the python version of make_bcs.
Does this make sense?

Looks like running CF and LatLon cases is OK in all combinations, for many resolutions at the time, but any experiment with EASE has to be run separately just EASE.

I still think we should remove that line. The OUTDIR is shared across all the jobs. You got lucky if the jobs are executed sequentially.

We should then remove it for python. Let me know when it is ready so I can start testing.

I think it is ready for the tests now.  At the same time, I want to change some names like BCNAME --> GRIDNAMES,  but it will not affect the testing.

@gmao-rreichle this is ready for you to take a look. I've run tests over all options, with multi jobs and single jobs and all are zero diff to make_bcs output.

@biljanaorescanin, @weiyuan-jiang, I added a couple of commits with minor fixes.  The first commit fixes the spelling of "questionnaire".  If you prefer, you can change to "questionary" (which happens to be the term used by python).   The second commit is minor cleanup.
But I'm not convinced that this PR is ready for prime time as far as the python utilities are concerned.  Specifically, I'm surprised that the various make_bcs_[GRID].py scripts look so different.  That is, I would have expected a cleaner set of differences when doing something like:
xxdiff make_bcs_cube.py make_bcs_latlon.py
E.g., the scripts all seem to use different variable names for, say, the SBATCH job name.  Another example is that the "source g5_modules" is done at somewhat different places.  More symmetry across these helper scripts would make future maintenance easier.
Also, is it possible to better abstract common elements such as the moving of the output files into the new dir tree structure?  I recognize that there will probably always be some differences, but the current chunks of shell script commands ("mv ...", "cd ...") is still as messy as it was in make_bcs.

I will make it cleaner

The draft PR #740 tries to make it cleaner.

@biljanaorescanin, please go ahead and start the tests.  I will look at the most recent edits one more time while testing is going on.  Chances are I would only have minimal changes that wouldn't require full retesting.

@weiyuan-jiang @gmao-rreichle @sdrabenh same error like in other PR's unrelated to our changes:
Character Resource Parameter: DU_INTERNAL_RESTART_FILE:du_internal_rst  Bootstrapping du_internal_rst forrtl: severe (194): Run-Time Check Failure. The variable 'ss2g_gridcompmod_mp_initialize_$FILE_EXISTS' is being used in '/root/project/GEOSgcm/src/Components/@GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSchem_GridComp/@GOCART/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90(378,9)' without being defined Image              PC                Routine            Line        Source              GEOSgcm.x<PHONE_NUMBER>FE9461  ss2g_gridcompmod_         378  SS2G_GridCompMod.F90

@gmao-rreichle  and @weiyuan-jiang I've tested most often used cases for NLv3 [C180 C720] O2, NL3 MOM6 C180, ICA C180 O2, NLv4 M36 and NLv5 M09 and v06 C180 O2 all were zero diff when compared to what is on develop.


Messages not viewing correctly when dynamic content is present in streams.

Description-
There is a little difference between streams that have images in them and the ones that don't . To be more specific:-
Streams with no images and having only static dom elements - These streams(Webviews actually) are simple to render and know exactly what and how to render. As a result they render the messages view in webview correctly(as per my observation, which could be limited).
Streams with images and having dynamic dom elements(like images here) - These streams don't possible know exactly about the width and heights of the components that are loaded since they are loaded while rendering. As I result I did observe a little resizing in those image components while opening the chat screen. It could be the case because in web also we do face a little repaints happening because of loading of such dynamic content and as a preventive measure we wrap such dynamic content with fixed size divs so that a lot of such repaints and resizing does not occur or even if it occurs it does not affect other nodes.
Issue Gif-

Confirm if fixed by #2279

@borisyankov Yes the resizing due to images seems to be resolved. But I think we should also check if any other dynamic component requires fix.

What are the other dynamic contents that popup in your mind? I can't think of anything but images.

Closing as confirmed fixed.


Packaged version does not match the AppVeyor generated version

From @RocketPop (https://github.com/paolosalvatori/ServiceBusExplorer/issues/29#issuecomment-272321535):

FYI - if I go to the releases "tab" and click "3.4.18" the .zip binary within has version numbers throughout that say "<IP_ADDRESS>"

PR #72 is pending.


Refactor the API for saving the report notification preferences

[x] Held on https://github.com/Expensify/Web-Expensify/pull/34059
[x] Held on https://github.com/Expensify/Web-Expensify/pull/34076

Fixed Issues
$ https://github.com/Expensify/Expensify/issues/211600
Tests

Open an #announce workspace chate
Click on the chat header to go to the details
Go to the settings
Change the notification preferences
Refresh/reload the app to ensure the setting stuck

[ ] Verify that no errors appear in the JS console

QA Steps
Same as above

[ ] Verify that no errors appear in the JS console

Screenshots

Web
https://user-images.githubusercontent.com/1228807/174681699-c518d970-54ed-445c-b01a-33459c78de88.mp4
Adding in a video to show pusher working to update multiple connected clients
https://user-images.githubusercontent.com/1228807/175089042-a5f795b2-938b-41c6-9728-9b8f20ada67f.mp4
Mobile Web
https://user-images.githubusercontent.com/1228807/174681716-c87dbf18-4a5a-40b5-96da-1b9f2ba5807e.mp4
Desktop
https://user-images.githubusercontent.com/1228807/174681731-22699d08-2120-4218-a23d-d1213830c1ab.mp4
iOS
https://user-images.githubusercontent.com/1228807/174681761-940f600a-20ab-4612-ba72-85e9ac40f004.mp4
Android
https://user-images.githubusercontent.com/1228807/174681741-9bbe6fef-379c-4086-911e-2e9933f5ca45.mp4

I made an update to web-e so that the pusher response would be sent out to all clients. It didn't result in any updates to this branch though.

Added JS docs 👍

updated @roryabraham

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @marcaaron in version: 1.1.81-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
failure ❌

Hi guys, QA reported this issue related to the notification preferences https://github.com/Expensify/App/issues/9805, it can't be reproduced consistently but happens when I change the notification preferences and refresh the browser quickly. Thoughts about this issue?

Explained in this comment -> https://github.com/Expensify/App/issues/9805#issuecomment-1181197421

🚀 Deployed to production by @roryabraham in version: 1.1.82-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


DXTC family decompression is slower than possible

DXTC family (BC1, BC2, BC3, BC4/RGTC1, BC5/RGTC2) decompression is slower than possible due to extensive use of integer division, which is very slow on most architectures. Since only division of a value less than 2048 and only by 5 or 7 is required (as well as division by 3 for a smaller range), performance could be improved by using medium-sized look-up tables.

Look-up tables have now been implemented.


Upgrade docker-compose files and db configurations to 1.5.4

In release 1.5.4, we need separate service.yml config file for each oauth2 services. The change has been done in light-docker and we need to do the same for the local build here in light-oauth2. The light-docker compose file is for developers to start OAuth2 providers in his/her local while working on the API projects. The compose file here is for developers who are working on light-oauth2. So the compose is using local build instead of docker hub.

I will be happy to make this update. I will raise a PR once it is done.


Methods starting with “when(…)” in test files are left unformatted

Hi.
With <IP_ADDRESS>.0-Eclipse_2023-03, I run into a strange issue: some methods are just skipped rather than formatted, while the rest of the file is processed just fine, and the conditions for this to happen seem to be:

Be in a test class rather than a business class. (Edit: This might be a misconception from before I noticed that methods other than when(…) worked fine. We don’t use Mockito in business code, so…)

AND

The first statement of the method, ignoring comments, is an unqualified Mockito when(…) call (rather than Mockito.when(…)).

Adding another statement before the when(…), even if it’s just a lone ;, fixes the issue.
Other methods do not seem to cause this issue; even other Mockito methods like mock() seem to be OK.

What steps will reproduce the issue?

Somewhere under a Test Sources Root directory, create a file like:

import static org.mockito.Mockito.when;

public class FormatterBug {

    void foo() {
        when(null);
           //   Random indentation
             //       Random indentation
          // Random indentation
    }
}

What is the expected result?

Something consistent, along the lines of (depending on the config):
import static org.mockito.Mockito.when;

public class FormatterBug {

    void foo() {
        when(null);
        // Random indentation
        // Random indentation
        // Random indentation
    }
}

What happens instead?

The whole method is not formatted, only what surrounds it is. There is no crash though: the formatter looks happy.

Сonsider attaching a screenshot, screencast, or a code sample when it's hard to articulate the problem.

eclipse-adapter-formatter-bug-static.webm

Paste information about IDE and OS (it can be copied from Help | About dialog).

IntelliJ IDEA 2024.1 (Ultimate Edition)
Build #IU-241.14494.240, built on March 28, 2024
Licensed to XXX
Subscription is active until XXX.
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-107-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 3982M
Cores: 8
Non-Bundled Plugins:
  Pythonid (241.14494.314)
  EclipseCodeFormatter (<IP_ADDRESS>.0-Eclipse_2023-03)
  org.asciidoctor.intellij.asciidoc (0.41.14)
  com.haulmont.jpab (241.14494.158)
Kotlin: 241.14494.240-IJ
Current Desktop: XFCE

With Maven project maven.compiler.release = 21
I tried converting an if-else chain with startsWith to a switch as per https://stackoverflow.com/a/77595373/2746335
Looks like the when clause confuses the formatter.
I'm on Intellij Build #IU-241.17011.2, built on May 7, 2024

This is/was an issue in JDT, see https://github.com/eclipse-jdt/eclipse.jdt.core/issues/609
I do not know exaclty what version of eclipse formatter is the earliest, that fixes it but at least in 2024-03/4.31 it is fixed.
@krasa  any chance to get an updated version of this plugin with an updated eclipse version?

I opened https://github.com/krasa/EclipseCodeFormatter/pull/272 to update to the Eclipse to 2024-09.

Got the update right now and it seems to work. Thanks!


feat: port CategoryTheory.Limits.Filtered

Very pleasant.

[x] depends on: #2368

This PR/issue depends on:

leanprover-community/mathlib4#2368
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2368
By Dependent Issues (🤖). Happy coding!


ModularInput: make app where input is defined available to script

When writing a modular input, the name of the application within which the input is defined is not made available to the modular input itself, even though it is available within the XML configurations through stdin. It would be nice to get an app  key within the InputDefinition provided to the modular input's stream_events method.
Sample XML provided on STDIN:
<?xml version="1.0" encoding="UTF-8"?>
<input>
  <server_host>aws-service-mon-hfw-10-124-160-167</server_host>
  <server_uri>https://<IP_ADDRESS>:8089</server_uri>
  <session_key>.....</session_key>
  <checkpoint_dir>/opt/splunk/current/var/lib/splunk/modinputs/jmeter</checkpoint_dir>
  <configuration>
    <stanza name="jmeter://etc/apps/CA-jmeter/scenarios/test.jmx" app="CA-jmeter">
      <param name="debug">0</param>
      <param name="host">aws-service-mon-hfw-10-124-160-167</param>
      <param name="index">main</param>
      <param name="interval">900</param>
      <param name="sourcetype">jmeter_input</param>
    </stanza>
  </configuration>
</input>

The app could be parsed by altering the utils.py/parse_xml_data
https://github.com/splunk/splunk-sdk-python/blob/689998070b513a335efee1e4cc27fbf568b256f3/splunklib/modularinput/utils.py#L69
by adding the following:
data[child.get("name")]['app'] = child.get("app")
Thank you, Paolo

Hi @prigio, thanks for the bug report. We're open to a pull request if you're interested in taking this on

@prigio Please reopen this issue when you have a corresponding PR with the fix. Thanks.


Allow dates to be formatted in error messages

Allow users to format the dates displayed in errors.  Uses different format for each type. e.g.:
en-GB:
  formats:
    date_validator:
      date_time: '%d %b %I:%M %p'
      time: '%I:%M %p'

Falls back to :default behaviour if no translation is found so will continue to format as it currently does.

I know this is really old, but could you add a test for it?

Closing due to inactivity.


Setup build&release automaton for osrm-backend docker

Have implemented Build Docker - osrm-backend and Release Docker - osrm-backend.
Refer to more details in https://github.com/Telenav/osrm-backend/wiki/Automation-by-GitHub-Actions


Optimal TableView Real State Management

While TableViews are implemented as standard, there are a few improvements that could improve their foot print on the screen:

An option to allow to omit the scrollbars, and automatically not show the scrollbar when there is no need for it (number of rows, columns fewer than the provided space).
Add an option to automatically expand or shrink the columns to fill the grid.
Allow multi-row titles when a title contains \n
As an expansion of the above, if two or more adjacent columns in a row are the same, unify that column+row. Example: Adjacent columns with titles Objects\nMaster and Objects\nReplica should be rendered like:

I agree that the proposal looks better than the library has at this moment. The current look is basic, though it is easy to implement and maintain. I would not be surprised if the proposal doubles the amount of the code.

It looks a little change. Yet it needs fixing: mouse click event that now must check visibility and draw method.
Add a new special value for column width? E.g, -1 and all columns that have it expand to fill the extra space. In this case all those fields would be equal in width. Adding extra attribute may make expanding scaled by original width. It does not look a big change, too
(+.4) A very big change, especially if we want to implement automatic merging of adjacent columns with similar names. Limiting header to only 2 lines helps a bit. Anyway, so many places needs rewriting: header size calculations(1 or N rows), drawing of "sort" symbol becomes not so trivial, drawing lines/headers changes, mouse click processing(and what happens if I click on "Objects" in the middle on the example above?). I do not say it is impossible :) It just takes much time to do and test.

I already have done 3 and 4; easier than I thought. I'll make a PR soon. The only challenge was finding the magic numbers in the code that represented the top row + 1 border. Mouse and Sort markers work properly. It also works for as many levels as the user wants to.
1 ended up being hard. I guess there are too many magic numbers. Hiding the scrollbars is easy, but using the space underneath wasn't. I'll give it another go later.
2 should be very easy. I haven't done it, but soon will and make a PR.
Thank you for being positive regarding the feature requests. I appreciate it.

It sounds great! Looking forward to PR


did:ebsi

Snap should support did:ebsi method

Current related PR will close this issue. Further EBSI integration is tracked at #162.


typo: remove trailing i.

The commit fixes a typo in the help message for influx_tsm
Signed-off-by: Jon Seymour<EMAIL_ADDRESS>

:+1:


Unable to extract the complete dataset

Used this command to create a combined zip from the split parts in a directory:
zip -F (name of last part of archive, which will end with .zip, not .z0X) --out (output name of compiled archive).zip
and unzip (archive name).zip  to unpack it.Unpacking gives an error after an extraction of 2.8 GB of data.
Also used p7zip to unpack individual files or the combined file and get the error

@several27 It'd be great if you could help me with this.

I am also having trouble unzipping the files. My error on mac is that the file format is not recognised.
Anyhow, thanks for your effort for making this dataset.

cat news.csv.z01 news.csv.z02 news.csv.z03 news.csv.z04 news.csv.z05 news.csv.z06 news.csv.z07 news.csv.z08 news.csv.z09 news.csv.zip > complete.zip
unzip complete.zip
^^^
This works for me.

It worked just fine for me:
cat news.csv.{z01,z02,z03,z04,z05,z06,z07,z08,z09,zip} > temp.zip && unzip temp.zip

I found using the command or 7zip in windows works. I'm closing the issue.


NTR: bed net

Definition: A processed material that is made of a flexible meshed material and functions as a barrier to keep arthropods out of a sleeping area over which it is placed.
This is different from 'bed net material' which describes what the net is made of.

Submit to ENVO and see if they are willing to take it.

https://github.com/EnvironmentOntology/envo/issues/1214


Update README.md

Pull Request Checklist
Is this in reference to an existing issue?
General

[x] Update Changelog following the conventions laid out on Keep A Changelog

[x] Update README with any necessary configuration snippets

[x] Binstubs are created if needed

[x] RuboCop passes

[x] Existing tests pass

New Plugins

[x] Tests

[x] Add the plugin to the README

[x] Does it have a complete header as outlined here

Purpose
Known Compatablity Issues

@sstarcher Can you merge this?  I don't have the ability.


Clean up notebook CSS

[ ] Break up notebook.css into parts corresponding to CellParts
[ ] Move dynamic styles into real css files, with css variables for the layout parameters

Moved more into cell part specific css through https://github.com/microsoft/vscode/pull/170260 and we have already moved a lot of css rules to variables last month.


Unit tests

Included test runs for Release.

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


Fix VariableFn type returns Object instead of V

The VariableFn<V> type incorrectly returns any Object type, rather than the type specified by V. This is a small change but has a high impact on type correctness.
This resulted in an easily preventable typing bug in our app. Here is a simplified example:
apollo: {
  project (): VueApolloQueryOptions<ProjectQueryVariables, ProjectQuery> {
    return {
      variables: { projectId: 5 }, // ❌ should be just id, but the type isn't checked 😢
      query: PROJECT_QUERY,
      fetchPolicy: 'network-only'
    }
  }
}

This means that the variables key of a few important things don't actually check V variables type:

ApolloVueSubscribeToMoreOptions<V>
VueApolloQueryOptions<V, R>
VueApolloMutationOptions<V, R>
VueApolloSubscriptionOptions<V, R>

V means a vue instance not variable.
This merge has broken many things as the test results shows.


adding informative comment (practice pull request)

I only added a comment, so you can accept or deny the pull request. If you accept, the changes I made (the comment) will be merged into your master branch. Everyone who visits your github page will get your project that includes my changes. If you deny it, the pull request will still hang around but won't be included in the master branch.

Oh ok i get it! sure I'll do pull requests if the code will get better!


Find some way to keep down the size of logs

My log folder has grown to almost 400 MB.
At least for Docker, maybe this will help? https://github.com/docker/compose/issues/1083

@erose This looks useful for development! https://www.stormconsultancy.co.uk/blog/development/tips-tricks/limit-the-size-of-your-rails-test-and-development-logs/


Final Appraisal abuse

Perhaps i may have missed an option somewhere or something, but the solver will continue to waste a synthesis action with a final appraisal instead of just switching to work on quality

It will be intended as part of the algorithm. The standard solver will push progress until it is 1 unbuffed basic synthesis away from completion to ensure that regardless of what happens with quality, the craft can succeed.

So final appraisal is a substitute for the algorithm right now, or is it working as intended?

It's not a substitute, it is the algorithm. If it's using final appraisal then it means your progress left is more than one unbuffed basic synthesis, but less than your next gain (as in it would complete your craft early).

Ohhh, I see what you are saying, my apologies. I did however, just end up making a macro for it to follow, since I'm doing the ishgard restoration crafts, I didn't want it to chase a quality I didn't need it to reach.


Add autocompletion for zettels

Probably via zettel title?
Because IDs tend to be very similar starting with a year, and then a month.
But all commands that interact with zettels only accept IDs. So it would require some more effort, probably.

And I did this effort ;-] Now the interaction is via grep patterns (running git grep in zet repo under the hood), and the output is nicely presented list of detected zettels.
This is so cool, I made it the new default for interaction, and the legacy way of searching is done with --id option.


SELinux walkthrough fixes (rebased onto dev_5_0) (rebased onto develop)

Additional commit from dev_5_0 gh-1090 copied back to develop.

--rebased-from #1090

Looks fine to merge.


Why stickers of quality code, testing and coverage not work?

Develop's Travis sticker isnts actually pointing at develop's branch but it doesnt matter. Other than that the rest of the stickers are looking fine?

It works so closing this


merge from arlac77/template-github-action,arlac77/template-kronos-component

package.json

chore(deps): add ^17.1.1 remove ^17.1.0 (devDependencies.semantic-release)

Codecov Report

Merging #981 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #981   +/-   ##
=======================================
  Coverage   92.51%   92.51%
=======================================
  Files          10       10
  Lines        1417     1417
  Branches      160      160
=======================================
  Hits         1311     1311
  Misses        106      106

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 ebce55a...a25ce84. Read the comment docs.


Table keeps empty th when setting displaySelectAll to false

Problem description
When setting enable- and displaySelectAll to false the header keeps an empty th element.

Versions

Material-UI: ^0.18.1
React: ^15.5.4
Browser: Google Chrome

Nvm, adjustForCheckbox fixed it


top bar Menu broken on Chrome and Opera

If the viewport is small enough it displays the Menu-Icon instead of the top-bar entries. Clicking on the Menu-Icon works fine for Firefox, but seems to be broken for recent Chrome and Opera (on Windows). It folds out and folds in 1x allright, but the second time, it just does not fold in any longer. It works fine in Firefox.

Looks like it's not happening anymore. Let us know. Closing this issue.
Keep in mind, we'll be re-working the top-bar component for the next version.
https://trello.com/c/hep3MVZi

Closing issue is fine with me. I have a working solution. Thanks and cheers.


[Enhancement] Dump tablet metadata of cloud native table

Add a new HTTP interface /api/cloudnative/dump_tablet_metadata/<tablet_id> to dump the tablet metadata in json format, for all tablets within the same directory of the specified tablet.
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #
Problem Summary(Required):

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0


io.dropwizard.logging.AppenderFactory must be renamed

io.dropwizard.logging.AppenderFactory must be renamed to io.dropwizard.logging.common.AppenderFactory to match the package structure in Dropwizard 3+
Without doing this, Dropwizard can't find the ElkAppenderFactory classs, which causes startup to fail because of a ConfigurationPartsingException caused by:
Could not resolve type id 'elk' as a subtype of `io.dropwizard.logging.common.AppenderFactory...
(more details elided)

See Upgrade Notes for Dropwizard 3.0.x

Also see https://github.com/sleberknight/kiwi-beta/issues/343


Planned migration to Angular 6 and CLI and name change

I am planning on migrating this to angular 6 and looking to at refactoring the code base.

Keep an eye on https://github.com/dalestone/henry-gantt and raise your issues there.


Label outline not following the text

Godot version
4.0,3
System information
Windows 10
Issue description
For some reason, the outline of the letter "B" of the text "Blobs" on the label named "points" is not following the text. I was converting my game to Godot 4 when this bug happened, have no idea why it is happening and how to fix it.

Steps to reproduce

Download the files of the Scene, Script and Text font(located on Minimal reproduction project)
Fix the Scene and Script dependencies(if some dependencies are not in the zip file it's because i think they will not be important)
Make a scene that the camera can go up and add the Hud scene to it
Watch the bug

Minimal reproduction project
Here are the files:
textoutlinebug_files.zip

Your minimum reproduction project is incomplete, you need to include the project.godot file as per the instructions, please do this next time to make this easier

Your minimum reproduction project is incomplete, you need to include the project.godot file as per the instructions, please do this next time to make this easier

Your minimum reproduction project is incomplete, you need to include the project.godot file as per the instructions, please do this next time to make this easier, it also won't run as you have removed parts that are needed, for example res://scenes/misc_scenes/gameover.tscn

Isn't it possible to make the Bug without the project?(Just creating a new project and importing the stuff), i also mentioned that some dependencies are not present because i think it should have no importance with the bug, those dependencies should be fixed manually, change it to another think just to debug.

Your minimum reproduction project is incomplete, you need to include the project.godot file as per the instructions, please do this next time to make this easier, it also won't run as you have removed parts that are needed, for example res://scenes/misc_scenes/gameover.tscn, and seemingly a bunch of autoloads

So, sorry for not completing the requirements, i just tried now to create a project to replicate the bug but it's not happening, maybe i need to send the game's project to someone, but i'm scared of someone steeling my game, is there anyone trustable here? Again, sorry 😅

If you are unable to make a project that shows this bug then we can't really help, and we can't just investigate your whole game so you need to remove everything unrelated and make it into a project you can show, what you keep in it is your choice, just as long as it actually works and shows the bug.
At minimum it needs to be possible to run it, and for the bug to show up. In your case the required parts are:

project.godot, remove any autoloads or similar that use things that aren't included
A scene that displays the error or bug

You can remove anything you're concerned will be stolen, and you need to remember that you might violate copyright by uploading things here if you have a limited licence, for example if you bought a font or image somewhere and you did not get the right to give it away to anyone.
If you are unable to do this we unfortunately can't help
To make sure that it works, please open the project yourself before uploading it, to prevent any issues

If you are unable to make a project that shows this bug then we can't really help, and we can't just investigate your whole game so you need to remove everything unrelated and make it into a project you can show, what you keep in it is your choice, just as long as it actually works and shows the bug.
At minimum it needs to be possible to run it, and for the bug to show up. In your case the required parts are:

project.godot, remove any autoloads or similar that use things that aren't included
A scene that displays the error or bug

You can remove anything you're concerned will be stolen, and you need to remember that you might violate copyright by uploading things here if you have a limited licence, for example if you bought a font or image somewhere and you did not get the right to give it away to anyone.
If you are unable to do this we unfortunately can't help
To make sure that it works, please open the project yourself before uploading it, to prevent any issues

Ok, i'll try to replicate the bug again.

If you are unable to make a project that shows this bug then we can't really help, and we can't just investigate your whole game so you need to remove everything unrelated and make it into a project you can show, what you keep in it is your choice, just as long as it actually works and shows the bug.
At minimum it needs to be possible to run it, and for the bug to show up. In your case the required parts are:

project.godot, remove any autoloads or similar that use things that aren't included
A scene that displays the error or bug

You can remove anything you're concerned will be stolen, and you need to remember that you might violate copyright by uploading things here if you have a limited licence, for example if you bought a font or image somewhere and you did not get the right to give it away to anyone.
If you are unable to do this we unfortunately can't help
To make sure that it works, please open the project yourself before uploading it, to prevent any issues

I did it! I recreated the bug on a separated project! YAyyyYyYyYyyyyYYYyYYy

I think I know that happens. Try to change children order in your hud and see what happens.
And then try to switch to Compatibility renderer👀

I think I know that happens. @NandoBroquiGames Try to change children order in your hud and see what happens. And then try to switch to Compatibility renderer👀

Ok, I'll try that. But what is the logic? And also, ins't Compatibility renderer the same as GLES2 on Godot 3?(I heard that Godot 4 doesn't support it anymore but I'm asking due to the "colors" of each renderer)

I think I know that happens. @NandoBroquiGames Try to change children order in your hud and see what happens. And then try to switch to Compatibility renderer👀

OMG! Thanks! This actually worked. I just changed to compatibility and it worked!

I can't reproduce the bug myself with the attached project (on Linux with AMD GPU), but if you still reproduce the bug on your device with the Vulkan renderer, this would still be a bug that we need to resolve.

I can't reproduce the bug myself with the attached project (on Linux with AMD GPU), but if you still reproduce the bug on your device with the Vulkan renderer, this would still be a bug that we need to resolve.

I want to know what are the difference with the renderers. Like, what is the closest to Godot 3 "GLES3" renderer? I used mobile because I though it was the equivalent to that renderer.
Btw, should I reopen the report?

This is a duplicate of Zero child of CanvasLayer (which is a child of Camera2D) may render with wrong transform [Windows, Intel HD 630 or lower] #58314.

Like, what is the closest to Godot 3 "GLES3" renderer? I used mobile because I though it was the equivalent to that renderer.

The closest equivalent is Compatibility, not Mobile.

Ok, thank you!

This is a duplicate of Zero child of CanvasLayer (which is a child of Camera2D) may render with wrong transform [Windows, Intel HD 630 or lower] #58314.

 This issue is getting more and more "popular", heh.


allow custom content_extractore

the default content_extractor doesn't work for me, i need have one custom content extractor to work for my special task

Why not set it outside of the library instead?
e.g.
article = Article()
article.extractor = CustomExtractor()

article.download()
#...


Other transforms / reassignment methods

As promised (in a StackExchange thread) ... some examples for you to use for testing (and comparison) and as examples and to add to your test suite or examples archive. Just grab the sounds from the videos.
15 second segment of a drum solo at 1/4 speed
https://www.youtube.com/watch?v=6orozX1GD1w
(House music with preacher talking)
https://www.youtube.com/watch?v=nd2J4xTrSHQ
(The drum at full and 1/4 speed, a segment of the 2001 theme and the House segment with preacher at full and 1/4 speed)
https://www.youtube.com/watch?v=itUSUau6DJM
((The Vampire Song)
https://www.youtube.com/watch?v=OugT7uGGtNg
You may want to consider expanding your software to include a fuller range of transforms (or to use for comparison). The time-scale transform, which the videos show an early implementation of (in the process of being upgraded), is described in more detail in the description page of the Vampire Song. Its main property is that it is invariant with respect to arbitrary frequency reassignment (e.g. even a random scrambling of frequencies): an arbitrarily-reassigned scalogram will yield, upon inversion, the same result as the original scalogram - both reproducing the original signal.
Originally posted by @RockBrentwood in https://github.com/OverLordGoldDragon/ssqueezepy/issues/9#issuecomment-1186387394

Thanks for the submission @RockBrentwood
The invariance you're describing is universal to time-frequency transforms with unity stride and filterbanks real-valued in frequency, via the one-integral inverse, within frequency-dependent rescaling and Hilbert transform. It'd indeed very neat. The "time-scale transform" is implemented here as CWT, and the CWT itself supports a log-linear discretization akin to the Non-Stationary Gabor Transform (NSGT).
On comparing reassignment methods, testing on "real data" isn't the most informative. Key properties are best tested directly with synthetic signals - component separation, AM and FM modulation rates, etc. TestSignals is fairly comprehensive, but not exhaustive. If you compare SSQ against WVD, you'll find one suffers from quadratic interference. SSQ's predecessor, "squeezing", isn't invertible, and doesn't faithfully capture AM modulations. SSQ also supports higher-order extensions, and nonuniform sampling. Hence I'd be careful on labeling something to be "same as SSQ".


API?

Hey mate, was just wondering if you have any plans for an API?

Yes!  At one point a contributor contacted me about actually building it, but he got busy with life and had to put the work on hold...

I'd be interested in hearing what you planned to build on top of the API. What kind of integration are you planning?

There is another thread over on http://support.helpy.io/en/topics/51-is-there-an-api-option/posts about the same thing.

I was actually planning on building mobile apps for Helpy, and a support SDK for mobile apps on top of it ... just wanted to check if you have API before I contact you to discuss details (and my ideas) regarding that. If you've got an email that I can hit ... ^_^

It would be great to have an SDK for Android/iOS which allowed app users to have conversations with the support team through Helpy.
I also think there's a lot of value in a (perhaps hybrid) app for the Admin interface, which would provide the support team with updates to their assigned topics etc, allowing for more timely responses.

@olliebennett I agree on both- in fact the admin app/SDK is something that I had in the back of my mind from the beginning.  @mario We have a slack room set up, shoot me an email at hello at scottmiller.io and we can discuss this more offline.

Loving all of the work y'all have done so far! Just curious, how in-depth is the API work you have planned? The one killer feature I'm looking around for is Slack integration since my organization thrives on it. Is that anywhere in your plans yet?

@jmarnold Slack integration is definitely something I have been thinking of.  Slack integration can mean a few things- are you thinking more of getting alerts in Slack when there is a new discussion, being able to reply to discussions through slack, or both?

@scott Oh man, I wasn't thinking of going too crazy ;). I was just thinking of some basic notifications. My organization uses Slack as kind of the hub of ALL information so being able to push stuff there would be HUGE.

Creating a slack integration you described @jmarnold (push notifications) should be pretty simple using rails observers or monkey patching models. Anyway, that's still a monkey patching which is a bad thing. On the other hand, i'm not sure (that's my personal opinion, i'm not part of helpy team) if things like slack integration should be a part of the core. Are there maybe any plans for creating a plugins/hooks system for helpy ? That would make a huge sense. I could even came up with a slack plugin then cause my organisation needs one as well.

I agree this is a better thing for a plugin/gem.  I have been working on a plugin system that will leverage engines and deface for adding/modifying the core UI.

You sure about deface? I can hear people complains a lot about it, there is a fork of spree that came up recently which dropped deface support, not sure why though but i kind of trust those guys http://solidus.io/

@jmarnold @mbajur Slack integration: Helpy_Slack

@scott Nice! Thanks!


Obius89 patch 1.1pullrequests

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @obius89!
Thank you for your contribution. We definitely want our customers to be contributing to this shared resource.
However, I don't think we will approve this pull request as it stands because I don't think it adds value that the rest of the community can use.
Please feel free to update this pull request if you have more useful contributions you would like to share.
Thanks!