Chart packaged on Windows cannot be used on Linux

I have a Chart called DummySpring created for test purposes. It has been packaged on Windows using helm.
When I upload my package to monocular running in the k8s cluser it does not properly unpack it.
After the upload I can see following error message in the monocular logs.
time="2018-03-01T14:59:30Z" level=info msg="Using cache directory" path="/root/monocular/repo-data"
time="2018-03-01T14:59:30Z" level=info msg="Local cache missing" name=DummySpring version=0.2.0
time="2018-03-01T14:59:30Z" level=info msg="Downloading metadata" dest="/root/monocular/repo-data/DummySpring/0.2.0/chart.tgz"
time="2018-03-01T14:59:30Z" level=info msg="Storing in cache" path="/root/monocular/repo-data/DummySpring/0.2.0/README.md"
time="2018-03-01T14:59:30Z" level=error msg="Error on DownloadAndExtractChartTarball" error="open /tmp/chart495105674/DummySpring/README.md: no such file or directory"

When I logged into the POD and checked the content of the temp directory it turned out that is has not been properly unpacked. Instead of putting files into a directory the tool unpacked them to the root of the temp dir with the names matching Windows relative paths. Listing of the directory shows following content
/tmp/chart495105674 # ls -la
total 48
drwx------    3 root     root          4096 Mar  1 14:59 .
drwxrwxrwt    1 root     root         20480 Mar  1 14:59 ..
drwx------    2 root     root          4096 Mar  1 14:59 DummySpring
-rwxr-xr-x    1 root     root           333 Mar  1 14:59 DummySpring\.helmignore
-rwxr-xr-x    1 root     root           149 Mar  1 14:59 DummySpring\README.md
-rwxr-xr-x    1 root     root          1057 Mar  1 14:59 DummySpring\templates\_helpers.tpl
-rwxr-xr-x    1 root     root          1535 Mar  1 14:59 DummySpring\templates\complete.yaml

I have packed exactly the same chart on Linux and it works properly.

Wow interesting, I did not expect that. I assume the Windows package works with Helm CLI correctly?
I don't currently have the bandwidth to fix this issue right now, but would be happy to accept a patch for it.

@prydonius Thanks for quick answer. The tar.gz file is packaged properly using Helm CLI.

@maciejmaciejewski are you able to install the Windows Helm clients package on a Linux Helm client?

@prydonius yes I am
> helm install DummySpring-0.2.0.tgz
  NAME:   invited-worm
  LAST DEPLOYED: Thu Mar  1 16:57:39 2018
  NAMESPACE: default
  STATUS: DEPLOYED

@maciejmaciejewski okay was just wondering if Helm actually fully supported this, seems like it does.

I have exactly the same problem here :

The DownloadAndExtractChartTarball function crashes because the "deflate" task produce this weird files output ...


Connecting to locally hosted model which is exposed via LM Studio Local Server

Feature Description / 功能描述
Please describe the feature you would like to see added or improved. / 请描述您希望添加或改进的功能。
Goal / 目标
Explain the goal you hope to achieve with this feature. / 请说明您希望通过这个功能实现的目标。
Expected Behavior / 预期行为
Describe the behavior you expect from this feature. / 请描述您期望的功能行为。
Alternative Solutions / 其他解决方案
If you have considered any alternative solutions, please provide them here. / 如果您已经考虑了其他解决方案，请在此处提供。
Additional Notes / 其他备注
If you have any additional information or notes, please add them here. / 如果有其他补充信息，请在此处添加。

Please kindly refrain from opening duplicate issues, as it helps us maintain efficiency and organization in addressing each unique concern.


Audio library

Implement some sort of sound library (OpenAL Soft?).

Basic sound playback is it. It now needs to be abstracted to an audio system.

Done.


[Core] PHP Json Serialization support.

Will be doing cleanup to trim the test models and have just 2 to 3 of them.

@Ndiritu Kindly take some time to review the changes.

Hi @baywet, kindly reapprove dismissed your approval while resolving a conflict.


⚠ Bofrost.es has degraded performance

In 30de905, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1882 ms

Resolved: Bofrost.es performance has improved in c3c2094 after 6 minutes.


Parameter Function Macro

We should provide a macro for building parameter function objects for consistency and to better allow the construction of containers without having to use JuMP.Containers.@container explicitly.

#138 finalizes the syntax and undoes some of what #118 introduced.


Query regarding virtuoso_db.zip update

Have you updated the following file recently?
https://www.dropbox.com/s/q38g0fwx1a3lz8q/virtuoso_db.zip

I don't think so. Have you noticed anything different?

Ok. Thanks.


Please add support for optional genius api host address

I would like to use this library from browser.
In order to fight the CORS , improve performance and lower the load on actual API, I am setting up a CDN that will have the same domain name as my website but will redirect all calls to genius.com.

Soon™

Soon™

🎉Added in v4.2.0

🎉Added in v4.2.0

Wow @zyrouge that was a very prompt response, thanks!
Is genius website URL (www.genius.com) also configurable? To be able to fetch the lyrics from the browser?

Wow @zyrouge that was a very prompt response, thanks!
Is genius website URL (www.genius.com) also configurable? To be able to fetch the lyrics from the browser?

Wow @zyrouge that was a very prompt response, thanks!
Is genius website URL (www.genius.com) also configurable? To be able to fetch the lyrics from the browser?

Yeah options.origin.url

Wow @zyrouge that was a very prompt response, thanks!
Is genius website URL (www.genius.com) also configurable? To be able to fetch the lyrics from the browser?

Yeah options.origin.url


Install-WindowsFeature MSMQ-Server errors out

I have tried to install  MSMQ-Server using windowsservercore-ltsc2016 as well as windowsservercore-1709 (both 4.7.1 and 4.7.2 versions) and docker build always errors out with the following message:

DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

A simple docker file such as the one below can consistently reproduce this issue
# escape=`
FROM microsoft/aspnet:4.7.2-windowsservercore-1709
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Install-WindowsFeature MSMQ-Server;

Any help in resolving this is greatly appreciated.

It looks like installing MSMQ-Server within a container is not supported - see https://social.msdn.microsoft.com/Forums/en-US/bce99a7d-aa60-44fa-a348-450855650810/msmqserver-is-it-supported.
Closing as this issue is not specific to the microsoft/dotnet-framework images.  Feel free to continue the conversation.


fix: home list events filter

We still list the self-send transactions but
we do not display them, because they are required
in order to have the next timestamp for the pagination. This commit fix a misplaced filter that mixed up
events index for the event selection.
close #463

Self-ACK b89eee30dfee77f357463ccc5d16ceeed705ff43


PRQL for Multidimensional data

Thanks for creating prql! It seems like a great idea.
I tried to try prql for the first time today. I followed the installation instructions and installed prql-python 0.3.1 in my python 3.10 environment. Then I tried to run the example code. On
sql = prql.compile(prql_query)

I got AttributeError: module 'prql_python' has no attribute 'compile'. Looking closer, and comparing the to tests
https://github.com/PRQL/prql/blob/eedc7fa3ac915ac79cf5a3de25fde4416fa49827/prql-python/python/tests/test_all.py#L14-L21
...I found that my API is different .dir(prql) shows
['__all__',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'prql_python',
 'to_json',
 'to_sql']

This is a confusing experience for me as a first-time prql user. Am I doing something wrong?

Hi @rabernat ! Great to hear from you. And sorry that your first experience here is not so good.
We've just changed some of our APIs (here) and so there's a disconnect between the currently released version and main — the docs are on main with compile, and the most recent release uses to_sql.
Until we do a 0.4.0 release, compile is to_sql.
Let me know any issues with that at all...

Gotcha, thanks a lot Max!
Now that I've got you here, I'll briefly share my idea, which will probably not surprise you. I wanted to play around with the idea of creating of compiling PRQL to xarray code. 😆  I'm convinced having some kind of query language interface to xarray would open up analytics to a lot more users. So I'm not interested in compiling to SQL but instead I would like to access the AST directly...is this just the json?
I'm sure you've thought about this idea as well, and I'd be curious to get your thoughts.

I wanted to play around with the idea of creating of compiling PRQL to xarray code.

It would be quite the combination. I'd be very keen to help.
It's crossed my mind before; here are some initial thoughts:

A query language that works as text does have some advantages[^1].

It's self-contained / "flat" — no chance of "did you import X?"
Flexible — can pipe it from the CLI / use it from a browser, no need to have a specific runtime
Copy & paste generally works — maybe not always a good thing, but nice for beginners.

But Xarray already has a good API!

I would generally prefer write PRQL than Pandas for simple transformations (and I'd mostly rather write pandas than SQL), but xarray is good (as a result of your & others impressive design & constant dedication).
I was increasingly using xarray for 2D data. But the SQL hegemony is strong — where the data is already in a DB, pulling it out into memory / Zarr to use the xarray API seemed inefficient. So eventually got frustrated enough using SQL that I thought we could do better.

Are you thinking this would be something like an easy way into xarray / xarray's data format?

I could imagine that being quite useful if we're willing to give some up things, like performance.
For example, "do I use where or sel"; "what's a coord vs. an index" are questions I get a lot, and often for datasets which are small enough that it wouldn't matter to do the wrong thing.
So maybe an approach that handled these for you could be good? You know the use cases much better than I do.

We'd have to figure out how to represent dimensions / variables / coords / indexes / etc

This is a 2 minute effort, but maybe something like
# Specify the file name here (even https...)
from `temperatures.zarr`

# filter works like sel (and maybe like where for non-indexes?)
filter (date | in @2020-01-01..@2021-01-01)

# select operate on variables rather than columns
select [lat, long, date, temp]

# derive is basically the same as PRQL now, but no need
# for a window to calculate groups for one variable over a subset of dimensions
derive temp_avg = (aggregate (average_temp))

derive temp_avg_date = (
  group [lat, long] (
    aggregate (average temp)
  )
)

Still lots to figure out — what about isel / merge / etc?

I'm very happy to help, I'm especially happy to help on the "PRQL infra" side, if we needed any changes to PRQL to make something like this work.

[^1]: This doesn't feel like a complete explanation of why text-based queries seem so attractive. Very open to other ideas!

While we probably could also do multidimensional queries with PRQL, I think we should stick to relational model, at least for now.
Also, I don't see how multidimensional is different from having a relation, whose primary key is compound of all dimensions (but that is probably my limited view on the matter).

While we probably could also do multidimensional queries with PRQL, I think we should stick to relational model, at least for now.

I agree it's not a project priority — we should keep focused, especially now.
But I'm def fine to spend some time on the idea given my experience with xarray (though I won't be the primary person driving it unfortunately, given PRQL's focus).
And I don't think it would need to impact the standard relational query.
(and I think it's v speculative at this stage)

Also, I don't see how multidimensional is different from having a relation, whose primary key is compound of all dimensions (but that is probably my limited view on the matter).

Yes, good question. Briefly:

In a very abstract way they're equivalent, but in the same way that "all turing-complete languages are equivalent".
Having a multi-dimensional array is great for navigating those dimensions; i.e. you can ask for the next date or the next latitude, and those are the same for all latitudes & dates respectively
Storing dense multidimensional arrays in memory allows for extremely high performance across any dimension. e.g. "next date" is just moving a pointer; no need to work out what the next date is / query an index / etc. Summing over any number of dimensions, or calculating a moving average is similarly fast.
You can write functions that don't know about the number of dimensions without explicit map or loop logic. Have a function that calculates the returns to a portfolio of securities — e.g. (ds.weight * ds.constituent_return).sum('constituent')? Then pass an array in with multiple portfolios on a portfolio dimension, and you get back a result that has the returns for multiple portfolios.
The Xarray data model allows for multiple aligned variables — you can see in the logo at https://docs.xarray.dev. So we can have a Temperature array dimensioned by (date, lat, lon) and a Height array dimensioned by (lat, lon),  aligned which each other, which makes operations between those again convenient and performant. In a relational model, those would need to be multiple tables with a foreign-key relationship, or nested arrays (whose nested column is secondary to the primary column). That means that with xarray you can have all your working data in a single aligned object you pass around, it's beautiful.

(ok not as brief as I'd hope but regardless...)


The name 'AsyncExecutionFlowScopeContext' does not exist in the current context when using nuget

The compile error shown appears when using nuget install Dryioc, Dryioc.Mvc, and Dryioc.Web.
Why does this happen?
The name 'AsyncExecutionFlowScopeContext' does not exist in the current context
The error occurs in the drylocmvc.cs file,
The compile error is on AsyncExecutionFlowScopeContext.Default;
Do I have to create this AsyncExecutionFlowScopeContext class
public class AsyncExecutionFlowScopeContextRequestHandler : IDryIocHttpModuleRequestHandler
{
/// Uses a default instance of shared scope context that can be propagated throw async / await boundaries
internal static IScopeContext DefaultScopeContext = AsyncExecutionFlowScopeContext.Default;

Are you on .NET 4.7 ?

yes net framework 4.7 and visual studio 2017

I encountered the same error. net framework 4.6.1, I ended up cloning the source codes...


Added one link for web developing Scrimba and sort the link alphabetically

Summary of your changes
Description

Checklist

[ -] My change follows the Contributing Guidelines
[- ] I have added only one new link to the list.
[- ] I have checked that the link that I added does NOT exist in the project already.
[- ] I have sorted the link alphabetically under the related section.

Please merge this branch if it's good. Thanks!


Error when install Boost on windows due to dependency on openssl-linux

I was installing Boost and I obtained this error:
Additional packages (*) will be modified to complete this operation.
Starting package 1/49: openssl-unix:vs2017
Building package openssl-unix[core]:vs2017...
CMake Error at ports/openssl-unix/portfile.cmake:2 (message):
  This port is only for openssl on Unix-like systems
Call Stack (most recent call first):
  scripts/ports.cmake:71 (include)

Error: Building package openssl-unix:vs2017 failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: openssl-unix:vs2017
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.

Obviously I cannot install a unix-only package in windows, so I need to know how to solve it. Can I simply remove it from dependency in the CONTROL file, or there's the possibility to set dependencies according to operating system?

Ok it was my error.
From control-files.md file I've noticed that in order to avoid Linux packages I need to use windows word inside the triplet name.
I've changed the triplet name from vs2017 to x64-windows-vs2017 and it should work.


✨ Add needgraph directive

This is a draft implementation of needgraph, it is intended to be almost a drop-in replacement for needflow, except it uses https://graphviz.org/ directly as the underlying engine, rather than using https://plantuml.com/
To compare the two, this PR currently adds a needflow/needgraph, showing the same thing, to the top of the tutorial: https://sphinx-needs--1235.org.readthedocs.build/en/1235/tutorial.html (see Example 1 and Example 2)
The intention of this is to simplify and improve performance of graph builds:

calls to plantuml requires installing it, then initialising an entire Java virtual machine to render the graph, whereas graphviz just requires a CLI call to an executable, making it a lot simpler, and likely faster than

note, potentially in the future, there is even a full-blown python FFI wrapping the Graphviz C library, which could make things even quicker, although they are still working on wheel distributions: https://github.com/pygraphviz/pygraphviz/issues/167
integration with sphinx for plantuml requires a third-party library (https://github.com/sphinx-contrib/plantuml), whereas graphviz integration is built-in (https://www.sphinx-doc.org/en/master/usage/extensions/graphviz.html)

Currently, also, if needgraph is used, it will emit an "experimental" warning, unless it is suppressed:
suppress_warnings = ["needs.experimental"]

TODOs
the main issue to make it fully comparable to needflow, is a few configurations that are hard-coded with plantuml syntax:

link fields: style, style_part, style_start, style_end
needs_diagram_template
needs_flow_configs

To allow for use of the config option, currently a separate needs_graph_configs configuration, similar to needs_flow_configs but using graphviz syntax as the values.
These directive options have not yet been added (all others have):

show_legend
show_filters
scale (not sure if this actually works anyway for plantuml)

not yet implemented logic:

showing child needs / need parts
how to translate link fields: style, style_part, style_start, style_end

added directive options:

alt
class
name

improvement overneedflow:

png images are clickable (node -> need definition)

currently the rendering is restricted to HTML output only, this could fairly easily be extended to latex/man/text/texinfo, which sphinx.ext.graphviz already supports, the only main reason it is not already, is that we override the visitor node currently, to make some improvements

@chrisjsewell Really cool implementation! I have worked on this even, so cool to see how fare the implementation already is.
I even tried to implement a possibility to use graphviz graphs directly in a need or document like needarch or needuml for plantuml.
For this I used needgraph. So I want to suggest to hide the implementation of needflow with graphviz from the user and would make plantuml / graphviz as a configuration option in conf.py or the dedicated needflow directive.
So we can use needgraph to be used like needuml for jinja templated need processing.
What do you think?

What do you think?

all done


Update entry.sh

Corrected the filepath for the base docker image entrypoint

Could you provide a failing use case? This action already runs in a docker context without failing. Can you provide your github action yaml?

I tested the action on a private repo and it is not able to locate docker-entrypoint.sh.
Output:

/entry.sh: line 122: docker-entrypoint.sh: command not found

Workflow yaml:
name: deploy-pending-changesets
on:
  push:
    branches:
      - 'master'

jobs:
  test:
    name: Test Configuration
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: liquibase/liquibase-github-action@v1
        with:
          operation: 'status'
          classpath: './ETL/SQL'
          changeLogFile: 'changelog.xml'
          username: ${{ secrets.DB_USERNAME }}
          password: ${{ secrets.DB_PASSWORD }}
          url: ${{ secrets.DB_URL }}

It looks like the docker image changed the location of the entrypoint script between 3.10.3 and 4.1.
I was able to verify the change for the latest liquibase version by pulling the action code into my private repo.

@mcred Any update on this?

@nsanor Working to fix the liquibase docker image instead to where docker-entrypoint.sh works whether you are using 3.10.3 or 4.2.2+ version of liquibase.

@molivasdat Ok, thanks for the update. I'll close this PR.


[question] Which is the proper way to make a library settings "overrideable" ?

Hi,
First, thanks for this amazing lib.
I don't know if is a bug or wrong usage, so, I'm trying to give some details with code examples.
Consider the follow application structure:
example_project/
  -> main_application/
      -> __init__.py
      -> main.py
      -> settings.yaml
  -> library/
      -> __init__.py
      -> awesome.py
      -> settings.yaml

The file contents are:
main.py
from library.awesome import amazing_function

if __name__ == "__main__":
    amazing_function()

awesome.py
from dynaconf import settings

def amazing_function():
    print(settings.TO_OVERRIDE_CONF)

if __name__ == "__main__":
    amazing_function()

main_application/settings.yaml
default:
  TO_OVERRIDE_CONF: "b"

library/settings.yaml
default:
  TO_OVERRIDE_CONF: "a"

When I execute main.py will print: "b"
If I delete/rename main_application/settings.yaml and execute again I will get an exception:
AttributeError: 'Settings' object has no attribute 'TO_OVERRIDE_CONF'

I was expecting to get "a" from library/settings.yaml or am I terribly wrong ? :thinking:
I've made some attempts to get this behavior, wrapping settings module to use LazySettings.
Consider following:

Add main_application/configurator.py

from os.path import dirname

from dynaconf import LazySettings
import library

lib_settings_abs_path = dirname(library.__file__) + "/" + "settings.yaml"

settings = LazySettings(
    DEBUG_LEVEL_FOR_DYNACONF="DEBUG",
    PRELOAD_FOR_DYNACONF=[lib_settings_abs_path],
)

then change the main_application/main.py to
from library.awesome import amazing_function
from main_application.configurator import settings

if __name__ == "__main__":
    print(settings.TO_OVERRIDE_CONF)
    amazing_function()

I'll get printed "a" from library/settings.yaml, which is nice, but amazing_function() will raise an the AttributeError exception. :cry:. Why they do not consider look the settings.yaml beside him as last resource ?
And with this approach, If a restore main_application/settings.yaml wich contains "b" on TO_OVERRIDE_CONF I got:
a
b

Which is a from settings.TO_OVERRIDE_CONF and b from amazing_function(), this confused me.
I was expecting to get b from settings.TO_OVERRIDE_CONF because of main_application/settings.yaml is in place and the arg PRELOAD_FOR_DYNACONF preloaded the library/settings.yaml, but the local main_application/settings.yaml should override the preloaded one, is that right :thinking: ?
Added the files to a repo to make easy to reproduce: https://github.com/danielmartins/dynaconf_samples

This is related to #299 and still needed, it is possible right now but we   need a better/documented  way


Sparse query vector

This PR builds upon #62.
It refactors the sparse search to represent queries and documents as CSR matrices. The SPARTA model is updated to fit this setup.
It also adds a clean SPLADE model along with an eval code. The SPLADE authors used a DenseRetrievalExactSearch in their demo script, but as SPLADE is labeled as a sparse model it should use a SparseSearch in my opinion. The results are not directly comparable as it uses the co-condenser instead of distilbert as base model. I could not find a URL to download the link of the original model.
Maxime.

Hi Maxime,
Thanks for integrating SPLADE using CSR matrices! I will be running it on my side and will let you know if it matches the numbers we have dataset by dataset (for the CoCodenser version).
For the "original" SPLADE model, it is available here: https://github.com/naver/splade/tree/main/weights/distilsplade_max, but as individual files. We are working into making it available as a tar.gz as well.

Hi Carlos,

Thanks for integrating SPLADE using CSR matrices! I will be running it on my side and will let you know if it matches the numbers we have dataset by dataset (for the CoCodenser version).

Nice, thanks!

For the "original" SPLADE model, it is available here: https://github.com/naver/splade/tree/main/weights/distilsplade_max, but as individual files. We are working into making it available as a tar.gz as well.

Uploading the model on the HuggingFace hub would also be possible (and easier to download).

Hi @maximedb,
Thanks again for making use of the CSR matrices for SPLADE. I would have a look at the PR and merge it with beir soon.
A mention of a side project of mine: Sparse Retrieval (https://github.com/NThakur20/sparse-retrieval). We are currently developing a ready-to-use toolkit for efficient training and inference of all neural sparse retrieval models such as SPLADE, SPARTA, uniCOIL, TILDE, and DeepImpact. The implementation of SPLADE with CSR matrices works. However, we find it better and more efficient to use an Inverted index such as Pyserini. The project is planned to come out by end of February! We will keep you updated soon.
We will reproduce the various sparse baselines and additionally upload the models on HF.
Kind Regards,
Nandan Thakur

Really cool stuff! The multi-gpu encoding is game changer :-)

Uploading the model on the HuggingFace hub would also be possible (and easier to download).
We would love to, but we are still seeing internally how we can do it. Here's a link for the "original model" in the same way as the new ones: https://download-de.europe.naverlabs.com/Splade_Release_Jan22/distilsplade_max.tar.gz

A mention of a side project of mine: Sparse Retrieval (https://github.com/NThakur20/sparse-retrieval). We are currently developing a ready-to-use toolkit for efficient training and inference of all neural sparse retrieval models such as SPLADE, SPARTA, uniCOIL, TILDE, and DeepImpact. The implementation of SPLADE with CSR matrices works. However, we find it better and more efficient to use an Inverted index such as Pyserini. The project is planned to come out by end of February! We will keep you updated soon.

It looks really cool Nandan, I've starred and will keep an eye on it :)


Skeleton structure idea for replay methods

Coverage decreased (-2.6%) to 74.576% when pulling 5e98635244567ceb740b8500f2848d381cf14041 on dev-rec into ca287462a43fdfa0dfe19ad4eebd8a5825fbc1f5 on master.


8 packages have newer versions incompatible with dependency constraints

Hello,
I am new to flutter. I am trying to run first command :
flutter pub add honeywell_scanner
and I get
"honeywell_scanner" is already in "dependencies". Will try to update the constraint.
Resolving dependencies...
Downloading packages...
  collection 1.18.0 (1.19.0 available)
  leak_tracker 10.0.4 (10.0.5 available)
  leak_tracker_flutter_testing 3.0.3 (3.0.5 available)
  material_color_utilities 0.8.0 (0.12.0 available)
  meta 1.12.0 (1.15.0 available)
  string_scanner 1.2.0 (1.3.0 available)
  test_api 0.7.0 (0.7.3 available)
  vm_service 14.2.1 (14.2.4 available)
Got dependencies!
8 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.

Any hint would be highly apreciated.
Thank you,
Daniel

That is not any problem that is just a summary of pub get after adding a dependency, is common to have dependencies not pointing to latest version due to constraints, I recommend you to check https://docs.flutter.dev and also https://semver.org/.
I will close this issue as is not related to the plugin


python39Packages.pymc3: fix

Motivation for this change
This PR fixes PyMC3 version 3.11.4
theano-pymc is also packaged since it is a dependency
of this version of PyMC3
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests : I run package tests but they seem to stale at 53%, that is probably why they're not included in the previous commits of default.nix
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@nidabdella thanks for your first contribution :)

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 161947 run on x86_64-linux 1

3 packages built:

python310Packages.theano-pymc
python39Packages.pymc3
python39Packages.theano-pymc


Things to do before release

These are the things that need to be done for Release 1.0

[] Place background image in new 'images' folder
[] Modify speed of game
[] Modify brickcolors
[] Maybe more ?

-[] update format for checklist

[ ] checkbox

[ ] Place background image in new 'images' folder
[ ] Modify speed of game
[ ] Modify brick colors
[ ] Maybe more ?

-[ ] Place background image in new 'images' folder
-[ ] Modify speed of game
-[ ] Modify brick colors
-[ ] Maybe more ?

[ ] Place background image in new 'images' folder-
[ ] Modify speed of game
[ ] Modify brick colors
[ ] Maybe more ?


fatal error C1083: Cannot open include file: 'ITKDeprecatedExport.h': No such file or directory

Description

Steps to Reproduce

Expected behavior

Actual behavior

Reproducibility

Versions

Environment

Additional Information

That file is generated by the Deprecated module. To get it, you need to enable Module_ITKDeprecated when configuring ITK.


Unexpected error fetching GitHub release for tag

I don't know what the problem is. Here's the workflow https://github.com/Delfi1/InkSky/actions/runs/9536802385/job/26284150929

https://github.com/Delfi1/InkSky/actions/runs/9536802385/workflow#L51 - remove the , at the end of the line and it should work.


Destructuring any type into new object cast to array

TypeScript Version:  3.8.3

Search Terms:
destructuring, type cast
Code
 // partial definitions
    /**
     * Creates a new entities and copies all entity properties from given objects into their new entities.
     * Note that it copies only properties that present in entity schema.
     */
    static create<T extends BaseEntity>(this: ObjectType<T>, entityLikeArray: DeepPartial<T>[]): T[];
    /**
     * Creates a new entity instance and copies all entity properties from this object into a new entity.
     * Note that it copies only properties that present in entity schema.
     */
    static create<T extends BaseEntity>(this: ObjectType<T>, entityLike: DeepPartial<T>): T;

// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
const o: any = {};
const entity = Entity.create({...o});

Expected behavior:
entity type to an object
Actual behavior:
entity type to object array
Playground Link:
Related Issues:
#34780

Repros need to be self-contained - something where we can run them without guessing what BaseEntity, ObjectType, and DeepPartial mean.


WIN DeFI app: Got error in isBlockchainStarted: Error: Network Error

After starting, syncing and using Defi app 2.1.4 (Windows 10) it suddenly stops working, needs to be killed via task manager and logs show lots of errors. After restart I have to sync the whole chain again. Did this for four times now.
Bitdefender firewall allows all connections for the app.
Can you see in the logs what the problem is?
[2020-12-27 13:44:36.804] [IPC-RENDERER-error] Error: File not selected
    at DialogManager.<anonymous> (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:134:35)
    at step (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:52:23)
    at Object.next (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:33:53)
    at fulfilled (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:24:58)
[2020-12-27 13:44:36.811] [IPC-RENDERER-error] Error: File not selected
    at DialogManager.<anonymous> (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:134:35)
    at step (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:52:23)
    at Object.next (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:33:53)
    at fulfilled (C:\Users\djed\AppData\Local\Programs\defi-app\resources\app.asar\electron-app\build\src\services\dialogmanager.js:24:58)
[2020-12-27 13:44:38.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:42.353] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:42.593] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:44.371] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:46.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:48.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:50.351] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:52.382] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:54.342] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:56.340] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:44:58.370] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:00.343] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:02.340] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:04.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:06.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:08.373] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:10.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:12.342] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:14.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:16.343] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:18.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:20.372] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:22.342] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:24.340] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:26.341] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:28.342] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:45:29.825] [IPC-RENDERER-info] Force close defid
[2020-12-27 13:46:03.084] [IPC-MAIN-info] Checking for update
[2020-12-27 13:46:15.911] [IPC-MAIN-info] Node start initiated
[2020-12-27 13:46:15.924] [IPC-MAIN-info] Update for version 2.1.4 is not available (latest version: 2.1.4, downgrade is disallowed).
[2020-12-27 13:46:15.928] [IPC-MAIN-debug] checkForUpdatesAndNotify called, downloadPromise is null
[2020-12-27 13:46:18.127] [IPC-MAIN-info] Node started
[2020-12-27 13:46:20.174] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:46:22.158] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:46:24.158] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:46:26.157] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 503
[2020-12-27 13:46:26.508] [IPC-RENDERER-info] Corrupted block database detected. Please restart with -reindex or -reindex-chainstate to recover.
[2020-12-27 13:46:30.169] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:46:30.407] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:46:32.179] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:46:32.202] [IPC-RENDERER-info] Node start initiated
[2020-12-27 13:46:34.158] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Network Error
[2020-12-27 13:46:34.258] [IPC-RENDERER-info] Node started
[2020-12-27 13:51:34.431] [IPC-RENDERER-info] {}
[2020-12-27 13:51:57.291] [IPC-MAIN-info] Checking for update
[2020-12-27 13:51:58.330] [IPC-MAIN-info] Node start initiated
[2020-12-27 13:51:59.249] [IPC-MAIN-info] Update for version 2.1.4 is not available (latest version: 2.1.4, downgrade is disallowed).
[2020-12-27 13:51:59.252] [IPC-MAIN-debug] checkForUpdatesAndNotify called, downloadPromise is null
[2020-12-27 13:52:00.485] [IPC-MAIN-info] Node started
[2020-12-27 13:52:02.511] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:52:04.498] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:52:06.497] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500
[2020-12-27 13:52:08.498] [IPC-RENDERER-error] Got error in isBlockchainStarted: Error: Request failed with status code 500

Hi @pfeiler , thanks for your feedback. Do you have any screenshots / screen recordings that displays what you're facing? Also, could you send your app logs? We need more details in order investigate how to reproduce this issue. Thank you.

Hi Izzy,
I have the same problem. It always occures when restarting the app. The start screen loads for a while  and then states the message:  "Unable to start blockchain" (similar to #106 ) after restarting everything has to be resynced like in #138.
My log files are attached. I do not get the out of memory error like in #138 but get the network error similar to the op of this issue.
Thanks
Andy
File is to big for github attachment: You can download all 3 of my loggs here: https://we.tl/t-EdFJDRnTOY

Hi Izzy,
I have the same problem. It always occures when restarting the app. The start screen loads for a while  and then states the message:  "Unable to start blockchain" (similar to #106 ) after restarting everything has to be resynced like in #138.
My log files are attached. I do not get the out of memory error like in #138 but get the network error similar to the op of this issue.
Thanks
Andy
File is to big for github attachment: You can download all 3 of my loggs here: https://we.tl/t-EdFJDRnTOY

Hi @Mekiso , thanks for your feedback. I'm unable to see anything in the link you provided for your app logs, could you drag and drop in the comment box to send them over? If the file size is too big, at least the app log. Please give the team time to investigate this issue, thank you for your understanding!

Hi @Mekiso , thanks for your feedback. I'm unable to see anything in the link you provided for your app logs, could you drag and drop in the comment box to send them over? If the file size is too big, at least the app log. Please give the team time to investigate this issue, thank you for your understanding!

Hi @izzycsy
you need to copy - paste the link. I don't know why git doesn't forward you to the web page.
The app log and config file is attached. If you also need the binary, Please follow the link.
All the best
Andy
app_log.zip

Hi @izzycsy
you need to copy - paste the link. I don't know why git doesn't forward you to the web page.
The app log and config file is attached. If you also need the binary, Please follow the link.
All the best
Andy
app_log.zip

Thanks for the tip @AndyThoma , well received on your app log. Please give us time to investigate this issue.

Thanks for the tip @AndyThoma , well received on your app log. Please give us time to investigate this issue.

@Mekiso logs are well received. Thank you.

@Mekiso logs are well received. Thank you.

@pfeiler @Mekiso @AndyThoma , in the mean time, v2.1.5 is out, https://defichain.com/downloads/.
Please give a thumbs up to this comment if your issue has been resolved, if not, we'll further investigate. Thank you.

@pfeiler @Mekiso @AndyThoma , in the mean time, v2.1.5 is out, https://defichain.com/downloads/.
Please give a thumbs up to this comment if your issue has been resolved, if not, we'll further investigate. Thank you.

Moved my coins to Bittrex .. will try at another time

Moved my coins to Bittrex .. will try at another time


[164]

Summary:
Hi!
I am curious about how Next.js associates with BOS. Do you have any documentation or tutorials that you could recommend?
Info
Location: VN
Type: 💬 INQUIRY
🔗 Open share link
🌍 Open ticket in Gleap

Hi! I am curious about how Next.js associates with BOS. Do you have any documentation or tutorials that you could recommend?

hey, sorry for the delay here! next.js is used in the gateway porton: checkout https://near.dev for a breakdown on BOS repos.


docs: separate out DataFrame from LazyFrame in "api-completeness"

This page makes it look like we hardly support anything for Dask: https://narwhals-dev.github.io/narwhals/api-completeness/dataframe/
However, if you scroll down to LazyFrame, you'll see that actually, we do 😎 We should make a separate LazyFrame page, distinct from the DataFrame one
file to look at: https://github.com/narwhals-dev/narwhals/blob/main/utils/generate_backend_completeness.py
contributing guide: https://github.com/narwhals-dev/narwhals/blob/main/CONTRIBUTING.md

I'd like to check this one out


Add a P2P chat component

Just though of this. Wouldn't it be cool if you could choose to participate in some sort of chat with all your WebTorrent peers using WebRTC? Since you're sharing content it seems that you're also sharing an interest. And that's always a good place to start a conversation!
I was thinking like an opt-in sidepanel with a chat "hosted" by the peers - like Friends!

This is actually a pretty neat idea. It might make sense on instant.io (not built directly into WebTorrent, of course). If someone wants to take a stab at this, it might be fun to deploy it and see how/if people use it.

This is a cool idea, but out of scope. Closing so we can stay focused. Eye on the prize.


Add forwardRef to all components

This PR adds React.forwardRef to all generated components, and I believe closes #2.
I tested this on one of my projects, and it seems to work.
+1 for the simple build process btw! 👍

This is great, thank you 🙂


[Segment Replication] Swap primary engine to NRTReplicationEngine during handoff.

Separating this out from #3989.  We will need to handle primary demotion to replica and swap its engine from an InternalEngine to NRTReplicationEngine.

Closing this issue, the primary can't be demoted without a restart, and will be restarted with the appropriate engine type.


Add GUI and HTML control info to page footer

Follow-up #6260
Footer will include "Win", "Java", or "Web" and "IE" or "Edge". Now we can just ask for a screen shot and will know what a user is running.
Examples:

fyi, browser strings (navigator.userAgent):
Win - IE:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Win - Edge:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/113.0.1774.35

Java:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/614.1 (KHTML, like Gecko) JavaFX/17 Safari/614.1


Adding another point in Github Docs, about when contributions are not counted.

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Link to the Github Doc page which can be improved
What part(s) of the article would you like to see updated?
Problem I faced maybe the same problem many users might be facing.

As sometimes user may be confused why their contributions are not counted, when they fork some repository but if any issue happens he/she might have to delete that repository and create the fork again. We don't get our contributions counted for the deleted repository.

This should be mentioned in this doc clearly stating this rule as well that they don't count this as contribution.

Additional information
Many users might be confused due to this ambiguity. So, assign this issue to me, I would like to improve this.
### Tasks

@aditi5926 Thanks so much for opening a PR! I'll get this triaged for review ✨

@aditi5926 Thank you for opening an issue! I'll get this triaged for review ✨

I can also fix this issue can you assign this to me?


Return 2.11

@cquiroz I think you were bitten a bug in Steward where it removed 2.11 from publishing:
https://github.com/cquiroz/sbt-locales/pull/102

Oh thanks


DPRINT support for n300, running on chip 0 only

Preliminary testing shows that device setup is hanging when DPrint is enabled on N300. To reproduce, see https://github.com/tenstorrent-metal/tt-metal/blob/main/tests/tt_metal/tt_metal/unit_tests_fast_dispatch/common/command_queue_fixture.hpp:51 and re-enable the tests for N300.
There's been some changes to the print server code since then so should also confirm that this issue still exists.

PR https://github.com/tenstorrent-metal/tt-metal/pull/4401 implements support/testing for n300 device 0


[core] Introduce useId hook

[x] I have followed (at least) the PR section of the contributing guide.

As discussed with @oliviertassinari, 4 usages is probably a good time for abstraction. Raising this as a draft as I'm not too sure of the API. Will add tests later if this draft is good enough to become a proper PR.

@NMinhNguyen Thanks

Adding https://github.com/facebook/react/pull/17322 to the thread as it might be relevant for somebody coming back to this pull request in the future.


Alternative 'else' syntax

I think it should be 'or else', to sound more like a threat.

:+1:

:+1:

:smiley:

:+1:

brilliant :+1:

so much yes

How is else if treated in this context? Same way as now?

Maybe it would have an optional comma or else, if.

:+1:

I think the opening if statement should be silent and implied:
Pay(10000000):
Hurt(nobody)
Or else:
Suffer(consequences)
Works nicely

@hardlianotion so basically some look ahead to check if the next line
contains "Or else"?
ma 25. tammikuuta 2016 klo 1.31 hardlianotion<EMAIL_ADDRESS>kirjoitti:

I think the opening if statement should be silent and implied:
Pay(10000000):
Hurt(nobody)
Or else:
Suffer(consequences)
Works nicely
—
Reply to this email directly or view it on GitHub
https://github.com/samshadwell/TrumpScript/issues/13#issuecomment-174356599
.

No. That would require unbounded look ahead and I'm not writing it.

Also where does the IF statement implicitly go in there? before pay, before hurt, or right before the or else? do Pay and Hurt have returns?


Update relation inside parent relation - Apollo 4

I want to save a relation inside a relation. The structure is like this:
Contact --> Adresses --> Telephones.
So a Contact can have several adresses and each address can have several telephone numbers. This mutation works perfectly in Insomnia:
mutation {
    updateContact (
        input: {
            id: 1
            name: "John Doe"

            addresses: {
                update: [
                    {
                        id: 1
                        street: "1 Infinite Loop"
                        city: "Cupertino"

                        telephones: {
                            update: [
                                {
                                    id: 1
                                    number: "123-456-7890"
                                }
                            ]
                        }
                    }
                ]

            }
        }
    ) {
        id
    }
}

In my Vue 3 file, I have this mutation:
const UpdateContact = gql`
    mutation updateContact (
        $id: ID!
        $name: String!
        $addresses: [AddressInput!]
        ) {
        updateContact (
            input: {
                id: $id
                name: $name
                addresses: {
                    update: $addresses
                }
            }
        ) {
            id
        }
    }
`

How can I add my update command for the telephones? I didn't find any example in the docs or on the web for this. Is it possible?
Right now, I have this in my setup method in the component:
watchEffect(() => {
    if (contact.value.id) {
        data.id = contact.value.id;
        data.name = contact.value.name;

        data.addresses = contact.value.addresses.map((address) => {
            return {
                id: address.id,
                street: address.street,
                city: address.city,

                telephones: address.telephones.map((telephone) => {
                    return {
                        id: telephone.id,
                        number: telephone.number,
                    }
                }),
            };
        });
    }
})

const { mutate: updateContact } = useMutation <Contact> (UpdateContact, () => ({
    variables: {
        id: data.id,
        name: data.name,
        addresses: data.addresses,
    },
}))

If I remove the telephones part, all goes well. But when i send it I get this error:
Variable "$addresses" got invalid value [{"id":3,"street":"1 Infinite Loop","city":"Cupertino","telephones":[{"id":3,"number":123-456-7890}]}]; Field "0" is not defined by type UpdateTelephones at value[0].telephones.
Since the mutation works in Insomnia, I guess the problem comes from how I prepare the data / request but I can't figure it out. Any ideas how I can send the telephones as an object with it's own update command?
Thanks!

please someone delete this. Found a solution.


Stubs generated with RestDocs - JsonMappingException: "No content to map due to end-of-input" when the request has no body

Hi,
I am generating wiremock stubs with RestDocs. I am trying to test the scenario where no body is specified in the POST request:
        mockMvc.perform(post("/{number}/data", 1111).contentType(APPLICATION_JSON_UTF8))
                .andExpect(status().isBadRequest())
                // generating [ WireMock Stub, Contract DSL documentation ] using RestDocs
                .andDo(MockMvcRestDocumentation.document("getData_givenNumberAndNullValues_thenBadRequest",
                                                         preprocessRequest(prettyPrint()),
                                                         preprocessResponse(prettyPrint()),
                                                         SpringCloudContractRestDocs.dslContract()));
    }

I am getting following exception:
Caused by: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
 at [Source: ; line: 1, column: 1]
	at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3781)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2726)
	at com.github.tomakehurst.wiremock.common.Json.read(Json.java:48)
	at com.github.tomakehurst.wiremock.matching.EqualToJsonPattern.<init>(EqualToJsonPattern.java:46)
	at com.github.tomakehurst.wiremock.client.WireMock.equalToJson(WireMock.java:150)
	at org.springframework.cloud.contract.wiremock.restdocs.WireMockSnippet.bodyPattern(WireMockSnippet.java:196)
	at org.springframework.cloud.contract.wiremock.restdocs.WireMockSnippet.requestBuilder(WireMockSnippet.java:167)
	at org.springframework.cloud.contract.wiremock.restdocs.WireMockSnippet.request(WireMockSnippet.java:140)
	at org.springframework.cloud.contract.wiremock.restdocs.WireMockSnippet.document(WireMockSnippet.java:95)
	at org.springframework.restdocs.generate.RestDocumentationGenerator.handle(RestDocumentationGenerator.java:196)
	... 37 more

Is there a way I can generate a stub for such a scenario?

Done in https://github.com/spring-cloud/spring-cloud-contract/commit/c496722838e2abfa5dfa75c69b23f80f7f1e4e9c


[GNMT] + Contiguous samples in accuracy mode

@briandersn , when testing (on GNMT) I noticed that Offline + Accuracy mode is generating a lot of queries. Shouldn't it just generate one single query? It's ignoring my settings on https://github.com/mlperf/inference/blob/master/v0.5/translation/gnmt/tensorflow/loadgen_gnmt.py#L476
Samples inside a query are contiguous though.

@briandersn , when testing (on GNMT) I noticed that Offline + Accuracy mode is generating a lot of queries. Shouldn't it just generate one single query? It's ignoring my settings on https://github.com/mlperf/inference/blob/master/v0.5/translation/gnmt/tensorflow/loadgen_gnmt.py#L476

It does so in order to avoid loading more samples than can fit in memory. So it splits up the total sample count into performance sample count chunks.
Accuracy mode ignores the max queries and duration settings in order to visit every sample at least once.

Going to merge this one. Thanks Max!
Btw: if you have time, do you mind creating a unit test in tests/basic.cc that verifies contiguous samples for offline? You could probably take TestMultiStreamContiguousRemainderQuery and make some small modifications.

It does so in order to avoid loading more samples than can fit in memory. So it splits up the total sample count into performance sample count chunks.

The query size is indeed only 3003, but somehow it gets repeated a number of times.
Internally, GNMT keeps track of a counter to count the number of translations it made. With the following command line you will see that much more translations are performed than the query size:
cd <git_repo>/v0.5/translation/gnmt/tensorflow
python loadgen_gnmt.py --mode Accuracy --scenario Offline --verbose
Received query
Received query
Received query
Received query
Received query
Received query
Received query
Performed 3003 translations
Received query
Performed 6006 translations
Received query
Performed 9009 translations
Received query
Performed 12012 translations

Btw: if you have time, do you mind creating a unit test in tests/basic.cc that verifies contiguous samples for offline? You could probably take TestMultiStreamContiguousRemainderQuery and make some small modifications.

I agree, while creating the PR I also found this to be missing. It will be something for after Friday though.

@briandersn , interesting, the following values seem to result in the expected behavior (which you mentioned):
total_queries = 3003
perf_queries = 100
However, this one does not:
total_queries = 3003
perf_queries = 1001
You can also check mlperf_log_accuracy.json to observe total translations that have been performed. In addition, it seems like "load_samples_to_ram" gets called for every separate query in the first case, but not in the second.

Opened #387 for followup regarding the issues Max outlined above.
Unit tests after Friday is okay.


⚠ ClamAV has degraded performance

In 0e5c100, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in ef214fc.


Inner Shadow

#31059  Use case
While trying to develop Neumorphic design, I did not find inner shadow feature in BoxShadow(). Without it, complex neumorphic design is not possible.
Proposal
Can u guys add InnerShadow in BoxShadow() property?(Shadow Inside). This feature should come with built in library feature. Painting an InnerShadow from scratch is time consuming and not worthwhile.

Hi @shallx
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


[JAVA-3759] Fix for BsonBinary subtype v4 conversion to UUID

https://jira.mongodb.org/browse/JAVA-3759
Bug: BsonBinary subtype v4 (UUID Standard) gets converted back to Binary instead of UUID
On reading UUID subtype V4 from MongoDB using mongo-java-driver 3.12.5, BsonBinary subtype v4 (STANDARD Uuid) gets converted back to Binary and not UUID.
Line of code where this bug occurs:
https://github.com/mongodb/mongo-java-driver/blob/master/bson/src/main/org/bson/BSONCallbackAdapter.java#L86
Which throws mapping exception only in case of UUID v4 (and not in V3) : Causing: dev.morphia.mapping.MappingException: Could not map Entity with ID: org.bson.types.Binary@e1123829
As a result, calling client is forced to add a decoding hook transformer for Binary to UUID
Options

As discussed on the Jira issue, this would be a backwards breaking change.


Support neo4j temporal types

Neo4j 3.4 introduced temporal types, including datetime and local_datetime. The neo4j gem does not yet support these: it converts Ruby Date, Time, DateTime types into an integer, and duration types are not utilised. Please add support for these temporal types.

I should be able to spare some time to work on this, but don't know enough about the neo4j API or the ruby gems to drive it.

All those types will be supported in neo4j-ruby-driver. They already are in the jruby version. There is work remaining to make the neo4j gem fully leverage the driver. That will probably happen along with discontinuing support for any adaptor except the the (bolt) driver.

Not sure if this helps or hurts, and I know this issue is old and is currently being worked on (via neo4j-ruby-driver w/ seabolt), but figured I'd chime in.
I wanted to use neo4j and neo4j-core (thanks so much for all the work!) but I really wanted to utilize the temporal types introduced in Neo4j 3.4, so I spent some time digging into the official java driver and got the current Bolt adaptor working with Date/DateTime/Time ruby classes.
neo4j-core: https://github.com/ashie1287/neo4j-core/commit/3c6332ecd4d52c99d72774c362611c8cabaf8f3c
neo4j: https://github.com/ashie1287/neo4j/commit/5757e4466f11c3bb0c770cebd1d5a98ecb59f5fc
Unfortunately, there's no documentation for Bolt v2, v3, or v4, so that's why I went off the java driver implementation. I also discovered this developer site, but it's still lacking. https://neo4j-drivers.github.io
The implementation is minimal, pretty hacky, and definitely breaks support for existing projects (that use Integer for temporal types, or use Neo4j < 3.4), but it does work for my needs (tested with Neo4j 3.5.9 and 3.5.5, which is the version GrapheneDB is currently on). It also jumps from Bolt v1 to Bolt v3 (with neo4j 3.5.5, I couldn't successfully negotiate handshake for v2, sending v2 still put the connection on v1).
As with everyone, my time is limited, but I'm curious to hear if it's worth cleaning up the implementation and submitting a PR. I'd most likely need a lot of direction, and I think it'd be a lot of work, specifically:

Supporting all of Bolt v1, v2 and v3
Supporting projects using Neo4j < 3.4
Supporting projects still using Integer for temporal types

Either way, just wanted to share and try to give back a little. Thanks again for all the work!

Ah, also just seeing https://github.com/neo4jrb/neo4j/pull/1575 , not sure if that invalidates anything above.


Export symbols BankToken and Erc20Token

The types BankToken and Erc20Token are needed to construct a codes without a connection.
BankTokens was removed to avoid maintaining an unnecessary type. Usage was unified with the Erc20Token.

The relevant caller code is here: https://github.com/iov-one/token-finder/pull/13/files#diff-f953b3a2fb6d7cd16d698364c6a1dc45R7-R17
But in general, you want every type that is part of a public interface to be exported, such that the user can decide to either pass the value directly or create a variable of the correct type.


HDDS-10815. Upgrade Spring Framework to 5.3.34

What changes were proposed in this pull request?
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10815
How was this patch tested?
https://github.com/rohit-kb/ozone/actions/runs/8964476874

Thanks @rohit-kb for the patch.

Thanks @adoroszlai for the review.


RootElement not updated with new props on listen

I am trying to re-render a page after a change is emitted to listen. RootElement is getting the changes from the emitter, and the callback in componentDidMount is called with the correct childProps. this.props is set to use the new childProps correctly when we set it using _.assign. However, once we call this.forceUpdate(), the props are reset to what they were before the change. Since this happens with every update, the page is not responsive on the client-side. Here is the code for reference.
this.props.subscribe(childProps => {
        ...
        // Okay, now we've complained about it
        // sufficiently, let's go ahead and update.
        this.props = _.assign({}, this.props, {childProps});
        this.forceUpdate();
});

I am using React 15.4.1

Thanks for reporting @salehhamadeh.
I wonder if this broke with the React 15 upgrade... 🤔
Any idea what we could do here to get it working?

Can we use setState instead of updating the props and forcing an update?

React Server RootElements set props on first render.  Seems weird to change that to state later?


Retry pip installation failures in integration tests

http://jenkins.cgcloud.info/job/toil-pull-request-integration-tests/198/testReport/src.toil.test.provisioners.cgcloud.provisionerTest/CGCloudRestartTest/testAutoScaledCluster/

Turned out to be a concurrency issue with pip: 85c71a712ae4a440bc8fe8347f44ad7356ead41e


Comments on training notebooks

Hi!
Just to be clear, the notebooks are awesome, definitely really good, so this is more of a nitpick than a serious criticism, so feel free to ignore it.

01_tf_data.ipynb
The reason of these data indices is not clear in the code/test, may be confusing?
x[3*i + sim,...,0] = data[0][40:-40,30:-30,40:-40]
The exercise says "Modify train_data" but there is no such function/variable as train_data.

02_tf_models.ipynb
You will inevitably get the question "why MSE, why Adam, why 1e-3". One option is to write something in the notebook (albeit I know the answer is probably "we tried it and it works"), the other is just to be ready for the question :).
The section that does # generate artificial training and validation data may use some code-comments, but admittedly, with a quick look I can infer what everything is doing. Maybe its good as is, so people scratch their head a bit.

That's all!
Let me repeat that this notebooks are awesome. I can only be described as someone with a mild interest on NN that only programmed a fully contented perception network 10 years ago and I could follow this tutorial (with some google searches) quite well.

Thanks for all the feedback! I included all your comments and also added the automatic data download in the 00_*.ipynb notebook since the data is now available on Zenodo.
Could you run a final test of all notebooks including the data download?

Sorry been super busy doing tons of computing on my machine and I had no time to test. Hopefully I will in the next days!


Getting too many "Task has already been locked by someone else." messages

What triggers this notification? I'm pretty sure we have more than enough tasks available in our challenge, but some of our contributors in a mapathon are getting a lot of this message.

@govvin That happens when you start working on a task that someone else is already working on. The server won't typically serve up tasks that are already locked, though, so it doesn't sound right that you're running into it a lot. Are mappers just completing tasks normally, or finding tasks to work on some other way?
Also, that looks like MapRoulette v3.5.3. We deployed v3.5.4 earlier today, so you might try refreshing your browser if you're still seeing v3.5.3 (the version is in the footer).

They are working on tasks normally, either randomly or nearby.  This is the first time we encountered this, which is unusual.
I'll check out the new version! Thanks.

I'm going to close this issue, but feel free to reopen if it continues to be a problem.


Re-enable html-formatter/ruby

It was disabled in #955. That issue says html-formatter depends on the compatibility-kit, but it isn't obvious to me in what way. @mpkorstanje can you elaborate?

The ruby implementation of the html formatter uses the CCK messages to generate the acceptance report. I'm not sure if that was intentional. The other two use use fake cucumber.
https://github.com/cucumber/cucumber/blob/master/html-formatter/ruby/Makefile#L7

Thanks for the explanation @mpkorstanje. @vincent-psarga - could you have a look into this? I've released all the monorepo stuff up until html-formatter 5.0.0. We need to make another release of html-formatter 5.0.1 to make sure the ruby implementation is released (and then release the remaining libs). Otherwise we won't have a cucumber-ruby that works with the latest messages 12.0.0 and gherkin 13.0.0.

Actually, I have a better idea how to fix this, so I'll impolement it


Add bulk requests and grouping to the whisp count query

Is your feature request related to a problem? Please describe
Currently the whispsCount query takes a single mongo format query, and returns the count of documents which match that query. In cases where an application needs to get the count of whisps in bulk, a separate request is required for each query, resulting in a high number of requests from the browser (e.g. one for every row of a table).
Describe the solution you'd like

Extend whispsCount to allow bulk requests, and grouping by specific criteria in the mongo query
Stop using the mongo countDocuments() function, and use db.collection.aggregate instead which will allow us to have a grouping functionality (explained more in detail below)
Grouping criteria would be optional - not necessary if the consuming app wants a total document count based on the matched query

Currently the query runs the mongo command countDocuments() (https://docs.mongodb.com/manual/reference/method/db.collection.countDocuments/). countDocuments is actually just a wrapper for the following command:
db.collection.aggregate([
--
{ $match: <query> },
{ $group: { _id: null, n: { $sum: 1 } } }
])

We can easily replace countDocuments() with that command to allow us to group, and therefore manage bulk requests.
For example this query:
 db.whisps.aggregate([
    { $match: {"applicationID": "myapp"} },
    { $group: { _id: { criteria1: "$data.thing1", criteria2: "$data.thing2" }, count: { $sum: 1 } } }

Would return something like this, which satisfies the requirements:
{ "_id" : { "criteria1" : "abc", "criteria2" : "123" }, "count" : 3 }
{ "_id" : { "criteria1" : "def", "criteria2" : "123" }, "count" : 5 }
{ "_id" : { "criteria1" : "def", "criteria2" : "345" }, "count" : 7 }
{ "_id" : { "criteria1" : "xyz", "criteria2" : "999" }, "count" : 9 }

In that example the match criteria is very simple, but it could also be a more complex query with multiple things to match.
BREAKING CHANGE(S)

If we use exactly the same function for a simple query with no grouping (like the implementation today), the response would contain an object with an _id field, instead of just the number of records.
This query will also never return a record count of 0, because for the grouping functionality to work there must be at least one record matched
We could manage both of those by using the existing logic if no grouping criteria is specified, I'm just not sure if the change is critical enough to require both of these to be maintained (added to open points for discussion)

Describe alternatives you've considered
Consuming app provides an array of queries, with an ID for each query, whispr executes individual documentCount queries but returns a single response

Not an optimal solution as we would be sending many separate queries to the database

Use a mongo aggregate function so that we can add grouping functionality
(this is the proposed solution described in detail above)

Allows flexible grouping on a single field, or an object
Would potentially introduce a breaking change for single ungrouped queries, depending on how we manage it

 db.whisps.aggregate([
    { $match: {"applicationID": "myapp"} },
    { $group: { _id: { criteria1: "$data.thing1", criteria2: "$data.thing2" }, count: { $sum: 1 } } }

Additional context
Open points for discussion:

whispsCount - should it be called whispCount instead? - if it should then it allows us to introduce this feature without a breaking change (for now) as we could add the new query and decommission the old one later
Should we accept an array of queries to be matched, or have the consuming app specify a single query to match in mongo format? (either we construct the query with an OR for every item in the array, or the consuming app does that for us)
Recommended maximum number of queries in the bulk request?

whispsCount - should it be called whispCount instead? - if it should then it allows us to introduce this feature without a breaking change (for now) as we could add the new query and decommission the old one later
I agree we should rename it and then use it to decommission the old query later.

Should we accept an array of queries to be matched, or have the consuming app specify a single query to match in mongo format? (either we construct the query with an OR for every item in the array, or the consuming app does that for us)
I would prefer to provide an array of criteria arguments to a single query and let whispr do the OR combination before executing the aggregate function

Recommended maximum number of queries in the bulk request?
On the one hand we should think about limiting it, otherwise it will end up in long running times and an overloaded whispr backend. On the other hand we could say that this is in responsibility of the consuming apps to use a proper value, but that might me a too optimistic way.
For a rate limiting option we should use the nestjs throttler https://docs.nestjs.com/security/rate-limiting to do a rate limiting based on the query. To identify how much request we want to allow it might be worth to implement a k6 load test to get this number.

In a separate chat @DennisWue also mentioned that we do actually have some basic grouping capability already, which I was not aware of!
query combinedCounts {
  thing1Whisps: whispsCount(filter: { applicationID: "thing1" })
  thing2Whisps: whispsCount(filter: { applicationID: "thing2" })
}

Would return:
{
  "data": {
    "thing1Whisps": 16,
    "thing2Whisps": 0
  }
}

It's pretty simple, but becomes complex when you want to group on more than one criteria (which we do in at least one of our apps). I can't see an elegant way of doing that - I think it would be necessary to separate the grouping by an underscore in the query name.
Thoughts?

Yes it's called 'Field alias' read more here https://spec.graphql.org/June2018/#sec-Field-Alias

Yes it's called 'Field alias' read more here https://spec.graphql.org/June2018/#sec-Field-Alias

If it works then I like it! Can you give an example of what the query would need to look like using the grouping by thing1, thing2 example?

Do you mean a combined grouping?
query combinedCounts($filter: JSONObject) {
thing1Whisps: whispsCount(filter: { applicationID: "thing1" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2" })
combinedWhisps: whispsCount(filter: $filter)
}
with variable:
{"filter": { "applicationID": {"$in": ["thing1","thing2"]} }}
which would return:
{
"data": {
"thing1Whisps": 16,
"thing2Whisps": 2,
"combinedWhisps": 18
}
}

Do you mean a combined grouping?
query combinedCounts($filter: JSONObject) {
thing1Whisps: whispsCount(filter: { applicationID: "thing1" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2" })
combinedWhisps: whispsCount(filter: $filter)
}
with variable:
{"filter": { "applicationID": {"$in": ["thing1","thing2"]} }}
which would return:
{
"data": {
"thing1Whisps": 16,
"thing2Whisps": 2,
"combinedWhisps": 18
}
}

Nope, I mean where the grouping is on 2 or more criteria (like the composite key in the original example) to return something equivalent to this:
{ "_id" : { "criteria1" : "abc", "criteria2" : "123" }, "count" : 3 }
{ "_id" : { "criteria1" : "def", "criteria2" : "123" }, "count" : 5 }
{ "_id" : { "criteria1" : "def", "criteria2" : "345" }, "count" : 7 }
{ "_id" : { "criteria1" : "xyz", "criteria2" : "999" }, "count" : 9 }

Do you mean that the consuming application should manage its own mapping to manage that, either by building the composite key in the query name, or a separate hash to lookup the query name vs the composite key?

Another thought (which was not the original aim of this issue) is that the new proposal would provide some enhanced functionality for grouping when you don't know the exact query filter - for example to return the count of all whisps in the database grouped by applicationID, without knowing all distinct applicationIDs.

Do you mean a combined grouping?
query combinedCounts($filter: JSONObject) {
thing1Whisps: whispsCount(filter: { applicationID: "thing1" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2" })
combinedWhisps: whispsCount(filter: $filter)
}
with variable:
{"filter": { "applicationID": {"$in": ["thing1","thing2"]} }}
which would return:
{
"data": {
"thing1Whisps": 16,
"thing2Whisps": 2,
"combinedWhisps": 18
}
}

Nope, I mean where the grouping is on 2 or more criteria (like the composite key in the original example) to return something equivalent to this:
{ "_id" : { "criteria1" : "abc", "criteria2" : "123" }, "count" : 3 }
{ "_id" : { "criteria1" : "def", "criteria2" : "123" }, "count" : 5 }
{ "_id" : { "criteria1" : "def", "criteria2" : "345" }, "count" : 7 }
{ "_id" : { "criteria1" : "xyz", "criteria2" : "999" }, "count" : 9 }

Okay this depends on what you want to achieve. Do you want to have the count the matching criteria1 AND criteria2  or do you want the criteria1 OR criteria2 counted.
The first case AND should be as easy as:
query combinedCounts() {
thing1Whisps: whispsCount(filter: { applicationID: "thing1", type: "abc" })
thing2Whisps: whispsCount(filter: { applicationID: "thing1", type: "def" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2", type: "abc" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2", type: "def" })
}
For the OR case you would have to use the mongodb $or operator https://docs.mongodb.com/manual/reference/operator/query/or/

Do you mean that the consuming application should manage its own mapping to manage that, either by building the composite key in the query name, or a separate hash to lookup the query name vs the composite key?

Yes this would be part of the requesting application

Another thought (which was not the original aim of this issue) is that the new proposal would provide some enhanced functionality for grouping when you don't know the exact query filter - for example to return the count of all whisps in the database grouped by applicationID, without knowing all distinct applicationIDs.

I like the idea maybe we can even achieve something right now with a filter like
"filter": { "applicationID": {"$ne": ""} }
which filters for 'not equal'.

Okay this depends on what you want to achieve. Do you want to have the count the matching criteria1 AND criteria2 or do you want the criteria1 OR criteria2 counted.
The first case AND should be as easy as:
query combinedCounts() {
thing1Whisps: whispsCount(filter: { applicationID: "thing1", type: "abc" })
thing2Whisps: whispsCount(filter: { applicationID: "thing1", type: "def" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2", type: "abc" })
thing2Whisps: whispsCount(filter: { applicationID: "thing2", type: "def" })
}

I don't think I was clear enough in my initial question, yes it is an AND case, but the challenge was more around how we return it with a unique key (which I think you addressed with a lookup in the app with your comment below).
Maybe it was a typo but that query gives this error because the query alias' are duplicated:
"Fields \"thing2Whisps\" conflict because they have differing arguments.
Use different aliases on the fields to fetch both if this was intentional."

Do you mean that the consuming application should manage its own mapping to manage that, either by building the composite key in the query name, or a separate hash to lookup the query name vs the composite key?

Yes this would be part of the requesting application

Ok - so that means that the app itself would generate a unique hash for the query name, which would solve the issue above.

Sorry typo on my side, corrected the initial comment

Do you mean that the consuming application should manage its own mapping to manage that, either by building the composite key in the query name, or a separate hash to lookup the query name vs the composite key?

Yes this would be part of the requesting application

Ok - so that means that the app itself would generate a unique hash for the query name, which would solve the issue above.

Yes I think a hash as the alias and a dynamic filter could be a solution for your usecase.

@DennisWue I've just been testing your proposal with one of the queries from our apps and it does work well, even if the mapping within the consuming app adds a bit of complexity.
I do still like the grouping idea for helping with cases where you want to group without knowing the filter, but that's a different use case which could be added a bit later.
For this use case I think I'm now more in favour of @DennisWue's proposal and just doing a few documentation updates now to explain how to use the current functionality, and then consider the additional grouping option a bit later.
@Babbafett @DennisWue @David-Wennemaring @schroedermaxi what are your thoughts? Is the need for the mapping in the consuming app an issue?

I like the simplicity of the approach that we have. However, I do have a question. The current implementation still hits the database multiple times. What I mean is for each whispsCount in the query we would request new countDocuments from MongoDB. Then API rate limiting the request itself loses its purpose, as the database/app can be brought down or be made unusable (at least partially - depends on the infra) by query with unlimited whispsCounts. @Babbafett Next to the rate limiting of the API itself, should we limit the amount of whispsCount that can be requested at once?

I like the simplicity of the approach that we have. However, I do have a question. The current implementation still hits the database multiple times. What I mean is for each whispsCount in the query we would request new countDocuments from MongoDB. Then API rate limiting the request itself loses its purpose, as the database/app can be brought down or be made unusable (at least partially - depends on the infra) by query with unlimited whispsCounts. @Babbafett Next to the rate limiting of the API itself, should we limit the amount of whispsCount that can be requested at once?

It's a good point - I think we need to do some testing of that part as I'm not certain how it works and at what level we can apply the rate limiting, and what level of visibility we have in the resolver of the number of alias' in the request. I'll take a look at that when I get some time.

@nikola-kovacevic I haven't forgotten this point - I'm doing some other cleanup work this week and hope to test it at the same time.

Ok so I did some work on this today. The good news is that we could still rate limit this type of request if we want to. I did a naive implementation of NestJS throttler, with a limit of 10 requests every 10 seconds.
With this type of alias, we basically just hit the resolver x times for x aliased queries, so the throttling works in the same way as if we did x totally separate requests.
Works fine with 10 aliased requests

I then waited for the limit to reset (10 seconds and tried with more aliased requests ...
Fails instantly with 11 aliased requests

So that is good news, because when we implement a rate limiter (not in this task) it will work for this type of request.
However, this steers me back towards the original proposal because we have a genuine case today where clients are hitting the count endpoint several hundred times over a few seconds. Combining the count of all clients this is actually thousands of times per second at peak times. I think that the original proposal is likely to work much better in this case because the aggregation is done by the db, and we're not launching lots of countDocuments operations which is an expensive op.
I'm going to try a basic implementation and create some load tests to try to prove this.
Thanks @nikola-kovacevic for catching this possible issue.

Simple load testing done, and the performance of the new query is a lot better, especially when the filter size is limited and we rely on grouping instead.
I also realised that my point about subscriptions is not relevant for this issue as there's no current subscription for the which count query. It might be possible to implement a subscription for the count query once this is done: https://github.com/Sanofi-IADC/whispr/issues/425.

Closed by #420, feature included in https://github.com/Sanofi-IADC/whispr/releases/tag/v2.4.0.


Typescript support?

Any plans to publish @types/vaadin-core-elements?   I'm just starting to evaluate this package for inclusion in a project which is mainly using typescript, and it seems a shame not to have the types for this.
Thanks

We don't have any plan right now, but we want to provide these files in the future.
Probably when polymer officially releases a tool for doing that.
In the meanwhile you could try out https://github.com/bsorrentino/generator-polymerts, I have not tried it yet but seems to do it's work for polymer 1.x elements

Ah, I'm using React.  Not quite sure whether the requirements are the same.

We will wait until a reliable tool for producing those definition files is released.

any update on TypeScript support using current versions of vaadin? Any workarounds or example projects available anywhere?

Looks like the updates happen in #186.


[Request] Disabling Timestamps

Hello,
The usecase for me with that package is when manipulating other databases (not laravel based ones) so I'd be happy to have this :
    /**
     * Disabling Auto Timestamps.
     *
     * @var boolean
     */
    public $timestamps = false;

I'll try to make a PR when I got some spare time :)

Closed by PR #41


Making Asyncio ARCO runnable in notebook

Earth2Studio Pull Request
Description

Jupyter notebooks have a asyncio loop running by default which makes calling a async function from a sync function difficult. Namely blocking asyncio calls such as, run_until_complete or run_until_complete cannot be used. To get around this the data source creates a new thread for the call to run its own asyncio loop on.
Closes: https://github.com/NVIDIA/earth2studio/issues/103
Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci

/blossom-ci


Update PodDisruptionBudget API path

Tell us about your request
PodDisruptionBudget is graduating from policy/v1beta1 to policy/v1. Couldn't find it tracked anywhere yet, so opening an issue :)
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Avoid warnings in logs:
2022-11-07T14:23:11.721Z	WARN	controller	API Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget	{"commit": "51becf8-dirty"}
2022-11-07T14:29:45.724Z	WARN	controller	API Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget	{"commit": "51becf8-dirty"}
2022-11-07T14:35:40.728Z	WARN	controller	API Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget	{"commit": "51becf8-dirty"}

Are you currently working around this issue?
No.
Additional Context
No response
Attachments
No response
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

There's a couple API path upgrades that are being tracked as part of #2354. API upgrades are a bit tricky for client-side since we want to have wide support for all our users

Indeed, cheers :+1:


Share links to interesting worlds obtained in the app

Play with the simulation hyperparameters in the live demo and copy links to interesting worlds here.

https://smoren.github.io/molecular-ts/#eyJ3b3JsZENvbmZpZyI6eyJBVE9NX1JBRElVUyI6NSwiTUFYX0lOVEVSQUNUSU9OX1JBRElVUyI6MTAwLCJNQVhfTElOS19SQURJVVMiOjYwLCJNQVhfRk9SQ0UiOjEwLCJHUkFWSVRZX0ZPUkNFX01VTFRJUExJRVIiOjEsIkxJTktfRk9SQ0VfTVVMVElQTElFUiI6MC4wMTUsIkJPVU5DRV9GT1JDRV9NVUxUSVBMSUVSIjoyLCJJTkVSVElBTF9NVUxUSVBMSUVSIjowLjk2LCJTUEVFRCI6MjUsIlBMQVlCQUNLX1NQRUVEIjoxLCJTSU1QTElGSUVEX1ZJRVdfTU9ERSI6ZmFsc2UsIlRFTVBFUkFUVVJFX01VTFRJUExJRVIiOjAsIk1JTl9QT1NJVElPTiI6WzAsMCwwXSwiTUFYX1BPU0lUSU9OIjpbMjUwMCwyNTAwLDI1MDBdfSwidHlwZXNDb25maWciOnsiR1JBVklUWSI6W1stMC4zNCwwLjQxLDAuNDRdLFswLjAzLC0wLjkyLC0wLjddLFswLjQyLDAuMTQsLTAuMzJdXSwiTElOS19HUkFWSVRZIjpbWy0wLjQ0LC0wLjU1LC0wLjA5XSxbLTAuOTEsLTAuOTMsLTAuNjVdLFstMC42OCwwLjQ0LC0wLjAyXV0sIkxJTktTIjpbMywyLDJdLCJUWVBFX0xJTktTIjpbWzIsMiwzXSxbMiwyLDFdLFszLDEsMl1dLCJMSU5LX0ZBQ1RPUl9ESVNUQU5DRSI6W1sxLjA5LDEuMDMsMC45OV0sWzEuMDEsMS4zNywwLjUyXSxbMC42NSwwLjgsMS4zMl1dLCJGUkVRVUVOQ0lFUyI6WzEsMSwxXSwiQ09MT1JTIjpbWzI1MCwyMCwyMF0sWzIwMCwxNDAsMTAwXSxbODAsMTcwLDE0MF1dfX0=

Low-types configuration:

Smooth config, 2 types

Long dynamic chains, 5 types of particles

Flower-like molecules, composed world, 5 types (3+2)

Polymers with receptors, 5 types

Star-like molecules, modified version, 6 types, free radical added, 7 types
Star-like composed variant, 10 types (6+4), free radical added, 11 types, another interesting variant, 12 types, perspective variant, 11 types, perspective variant 2, 11 types
Star-like molecules, big free radicals, composed, 8 types (6+2), more argessive, another frequencies
Star-like simplified, replicating starships, 8 types, more simplified, 6 types, more dynamic variant, less number of free radicals
+1 type, more variaty, 7 types, another variant
Star-like double composed with reduction, gradual metamorphoses, 8 types (6+2), nuclear links modification variant, free radicals, perspective, perspective variant, +1 type, 9 types, more dynamic variant
Star-like (snowflakes-like) quadro composed with reducing variant, 12 types (8+8-4)
Star-like full synthetic moving molecules, 4 types, more perspective modification

Star-like (the most perspective)

Star-like double composed with reduction, gradual metamorphoses, nuclear links modification, free radicals, perspective, 8 types (6+2), perspective variant, +1 type, 9 types

Transformations
Star-like perspective with transformations, 8 types

Found by genetic
Various big symmetric gliders and stars, 3 types

Found by genetic

Various interesting complex compounds, 12 types

Found by genetic

Big variety and complexity, simmetry, 16 types

Found by genetic (10 types)

A lot of varienty polymers and gliders

Found by genetic (10 types) and reduced
Very complex structures, 4 types

Found by genetic (3 types)

Big flower-like symmetric structures
Beautiful stars and star polymers

Found by genetic clarify from new smooth (2 types)

Original
Big macro structures

Found by genetic (4 types)
Launch 1

Big various symmetric compounds, little polymers

Found by genetic

Long various chain polymers, 4 types, evolved, 4 types


Website footer2#8

Description
->I have added media queries for website responsiveness on mobile
->I have integrated smooth animations that create a visually engaging user experience. These animations include transitions on various elements, making interactions more dynamic and enjoyable.
->I've applied a linear gradient to specific elements within the project. This gradient not only adds a modern and visually appealing touch to the design but also helps improve the overall aesthetics of the user interface.
Please delete options that are not relevant.
->I have fixed #8
Type of change
->Animations
->Linear Gradient
-> Media queries
Screenshot (optional)
->Mobile

->Laptop

Thia is good work, ATleast you are learning. Closing this pr as it is already done


Introduce the GeoLineStrings archetype and support it in the map view

What
☝🏻 title

New GeoLineStrings archetype, using a new GeoLineString component
Support it in the map view
Fix heuristics for the map view: now a $origin = / single view will be spawned whenever a single GeoXXX entity exists anywhere.
Snippets and screenshot for GeoPoints
Snippet for GeoLineStrings (but not screenshot, blocked on #829)
Added some types to rerun.hpp
Fixed/copy/pasted LineStrip2D edit ui for GeoLineString
Add python unit tests for GeoPoints
Add python unit tests for GeoLineStrings

Switzerland boundaries according to a couple of AIs and an official source:

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

@rerun-bot full-check


fix: correct for api v2

Updated the dependencies with npm audit.
Corrected the API code to pull statuses correctly.
Removed unused code.

Fixes #7


Investigate Light Node Bulk Sync Missing Data

We got another instance of the token balance decrease error:
Could not find balance for token decrease
token: 0x92cbc0c7d0e70960959b45e6c2b5c581ecadda75
owner: 0xc685d2570be91660f3cce01b6f89a4b7ae526d4d

This occurred when bulk syncing with a light node after not syncing for about a week.
While it may be a red herring its worth noting that just before the error was encountered a bad connection error occurred with the error message:
aborted
eth_call returned no data (0x)
Controller Match Lookup Error: ... no suitable peers available

Inspecting the corrupted database there appear to be no logs for block 6847654 which is where the token owner first received their balance.

This seems to have been resolved since the last data corruption fix went in which was light node agnostic


More automatic way to generate route definitions in OpenAPI

Comparing with other non-Ktor frameworks and libraries Kompendium requires more handwork with route description through NotarizedRoute. There is no automatic generation like in springdoc-openapi and etc.
Is it possible to add annotation for function (like Composable in Jetpack Compose) and process it with KSP so route will be added automatically to OpenAPI spec without using Notarized Route?
Thanks for your job with Kompendium! You're awesome!

Thanks :) means a lot
It is certainly possible, and I had an issue open for a long time regarding a KSP implementation.
However, Doing spec generation via KSP would essentially become a ground up rewrite, so it won't be done in Kompendium, which will keep it's annotation-free approach.


ID error

Does this belong to this plugin? It is the only one I have installed at the moment.

I don't believe so, but if you work out differently, please let me know.


Fix use-after-free

It was fun hacking on this with you in Vilnius!

Hey @steveklabnik! Yeah that was a cool hacking session 😄
I think one way to improve the solution is to move CString::new(name).unwrap() (without as_ptr() call) back to util module, for example
pub fn str_to_cstring(str: &str) -> CString {
    // moves an ownership of CString to the caller
    CString::new(name).unwrap()
}

// ... caller of str_as_cstring()
unsafe {
    rb_define_class(
        // CString must be still alive here
        str_to_cstring(class_name).as_ptr(),
        superclass
    )
}

This may help to keep the code DRY and to avoid duplications of manual CString handling across the project. I will continue investigating it 🔍
Thanks for contribution!


Update request: pulsar 1.117.0 → 1.118.0

Package name: pulsar
Latest released version: 1.118.0
Current version on the unstable channel: 1.117.0
Current version on the stable/release channel: 1.117.0
[v] Checked the nixpkgs pull requests

Notify maintainers
@bryango

Sorry I'm super busy these days... I'll try to get back to this as soon as possible. In the meantime, please try the updateScript of this package if you can, and see if the resulting package build fine. Thank you!

i am not familiar with updateScript and not really urgently need the latest Pulsar version, but i think update request is a good way to keep actual nixpkgs's packages version.


Cannot recover AKS cluster if edited with improper SSH key

Version: v2.2.0-rc9
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create an AKS cluster normally (defaults or 1 node is ok)
Edit the AKS cluster, put in garbage data in the SSH key
You'll get the following error in the UI (as expected AKS does not like this)
Containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidParameter" Message="The value of parameter linuxProfile.ssh.publicKeys.keyData is invalid." Target="linuxProfile.ssh.publicKeys.keyData"
And this is basically what is seen when tailing logs.
Now, let's fix the issue so we can recover the cluster. Edit again and put in your correct SSH key again.

Result:
Notice that when you edit again to correct our "mistake" with the SSH key, and put in the correct SSH key, we can still not recover the cluster. You will always see the error message in the UI.
You can still navigate the UI with the cluster BUT, if you try to add workloads to the cluster this will not succeed.
NOTE: I tested in v2.1.7 and we get the error, but we are able to recover. When I plug in the correct SSH key upon edit again the cluster instantly goes back to Active state and I can successfully deploy workloads.

It may be worth noting that when you edit in either v2.1.7 or v2.2 the UI plugs in the SSH key for you -- so no user should really be changing this unless necessary. This is basically just a problem if someone made a mistake and put in an invalid SSH public key such as the "garbage data" I put in. I imagine that the common issue would be putting in the wrong ssh key not necessarily one that has invalid formatting, etc.

@daxmc99 one thing im interested in is if there is any way to recover, beyond what @davidnuzik tried

I'm having trouble reproducing this.
Steps taken:

Create azure cluster with default values and credentials
When inputting ssh creds enter "tacos"
Azure complains about the ssh keys being invalid
Edit the cluster and give them valid ssh keys cat ~/.ssh/id_rsa.pub | pbcopy
Get coffee and wait for AKS to provision
Cluster provisions successfully.
Workloads succeed

Only thing I noticed was Alert: Component controller-manager is unhealthy. and Alert: Component scheduler is unhealthy. in the UI

@daxmc99 I tested in v2.2.2-rc1 and I too cannot reproduce this now. Note step #2 should have been edit basically per the issue steps you:

Create proper AKS cluster with proper SSH key
EDIT AKS cluster make ssh key field have "garbage data" (literal string I put in)
EDIT AKS cluster again and fix ssh key

It used to not worked (repro'd a few times) but now it seems to work?
Also possible was a one-off issue communicating with Azure/slowness/etc? Not sure.
Since I cannot reproduce in v2.2.2-rc1, I think we should close the issue. cc: @cjellick


Task.yml run path was pointing to different task output

It looks like the maven itests cache task was pointing to the non-cache task

I noticed you closed this PR... any reason why?

You are absolutely right that the task.yml is pointing to the non-cache task.sh. Can you re-submit the PR?

I'm sorry about that, I closed/deleted it on my fork without thinking it would close the PR.

Merged, thanks!


add kube registry and examples

provide the doc

need UT for kube controller

Coverage decreased (-0.09%) to 61.473% when pulling 1ddc810b7e446ce6247326a82b2cde639aceba5a on ninokop:master into 9afb111a62781dad600c1b64e674db074ef77fc9 on ServiceComb:master.