Example application

I think it would be great to have a demo app in contrib org. I have divided app goals from app requirements.
App goals:

demonstrate OpenTracing features: baggage, find a bottleneck...
show how the app can be instrumentation

App requirements:

distributed polyglot app
HTTP and RPC communication
instrumentation

explicit
framework integration
agent

database instrumentation
simple way to change tracing backed

The app could be deployed with docker-compose. Add more requirements/goals please.

+1 on this, good idea. But if we do this,  we need a distributed application, client -> server -> db, at least. in order to demonstrate a cross-process propagation. And if considering multi language platforms, we need more applications.
This is a big project. 🥇 😊

We already have one, I am happy to migrate it to opentracing: https://github.com/uber/jaeger/tree/master/examples/hotrod. It has 4 micro-services, a front end, and 2 simulated databases.
But it is all in Go. I know that @adriancole uses services in multiple languages when giving talks on Zipkin, which is great but a lot more tedious to setup for someone who wants to play with the demo app.  Our demo can be run with a single command go run ./main.go all.

I think it would be beneficial to have use-case based examples. For instance, a hello-world of sorts, for those who just want to understand how the basic blocks fit together, to run after reading the intro docs. A simple Java Servlet with the framework integration from -contrib would be sufficient.
Then a second one, similar to what @yurishkuro mentioned, with a microservices use-case, more advanced but not that complex.
And finally a "show case" example, where people can use as reference for specific (advanced?) use cases, like what @pavolloffay suggested.

Hey Guys - starting somewhat simpler, @tedsuo and I are working on a turnkey tracing project for Go, Python, Java where we create a sample app with frameworks in it instrumented for OT and hooked to a tracer. The goal is to quick start a developer looking to understand tracing for his or her environment. We'll create docs around the project and make it super easy to consume. Then we will evangelize it.
If you are interested, we can have a quick chat April first week to share our vision and progress to date. Let me know!


Remove RATA-101 Check

[x] Need to Remove RATA-101-B check to resolve RATA import issues

Pull Request: https://github.com/US-EPA-CAMD/easey-qa-certification-api/pull/513

CEMValue and RATAReferenceValue accept 0

CEMValue and RATAReferenceValue is greater than 0 and is not rounded to the nearest 1000 - Is FLOW

Check has been removed


Support other audio types

this should support other common types such as mp4. Ideally this would also support audio types coming from WhatsApp

48fd65b addresses this


disable shop items

as per screenshot, I cannot upgrade sword, but it still shows as a viable purchase. maybe gray-out the name and replace the pric with "owned" ?

why do you say it still shows as a valid purchase? it's not on the list in the second command.

you're right! tired eyes completely glazed over!


Reaction supply sends historical reactions when tapped.

Here's a simple Discord bot. It prints out when somebody adds a reaction to the message.
#!raku

use API::Discord;

sub MAIN(Str $token) {
    my $discord = API::Discord.new(:$token);

    $discord.connect;
    await $discord.ready;

    my $channel = $discord.get-channel(465122426221756426);
    my $message = await $channel.send-message("React to me");

    react {
        whenever $message.events -> $r {
            $r.say;
        }
    }
}

And I react to it with 👌
« ♥
» ♥
All guilds ready!
{d => {channel_id =><PHONE_NUMBER>21756426, emoji => {id => (Any), name => 👌}, guild_id =><PHONE_NUMBER>75015936, member => {deaf => False, hoisted_role =><PHONE_NUMBER>12635393, joined_at => 2017-01-13T12:14:04.372000+00:00, mute => False, nick => (Any), premium_since => 2019-12-09T11:16:52.299000+00:00, roles => [269513102712635393<PHONE_NUMBER>45608969], user => {avatar => 0eabcd875d9a0fce4a194f7c58dec5a3, discriminator => 2319, id =><PHONE_NUMBER>70955275, username => altreus™}}, message_id =><PHONE_NUMBER>54569779, user_id =><PHONE_NUMBER>70955275}, op => 0, s => 4, t => MESSAGE_REACTION_ADD}

Now we have the bot react to the message
    $message.add-reaction('☺');

And we hear about the bot's reaction in the react, even though it's already happened:
« ♥
» ♥
All guilds ready!
{d => {channel_id =><PHONE_NUMBER>21756426, emoji => {id => (Any), name => ☺}, guild_id =><PHONE_NUMBER>75015936, member => {deaf => False, hoisted_role => (Any), joined_at => 2020-03-26T22:27:02.164045+00:00, mute => False, nick => (Any), premium_since => (Any), roles => [692871222450585610], user => {avatar => (Any), bot => True, discriminator => 2915, id =><PHONE_NUMBER>59389472, username => vurl}}, message_id =><PHONE_NUMBER>28076299, user_id =><PHONE_NUMBER>59389472}, op => 0, s => 4, t => MESSAGE_REACTION_ADD}
{d => {channel_id =><PHONE_NUMBER>21756426, emoji => {id =><PHONE_NUMBER>02387785, name => eng101}, guild_id =><PHONE_NUMBER>75015936, member => {deaf => False, hoisted_role =><PHONE_NUMBER>12635393, joined_at => 2017-01-13T12:14:04.372000+00:00, mute => False, nick => (Any), premium_since => 2019-12-09T11:16:52.299000+00:00, roles => [269513102712635393<PHONE_NUMBER>45608969], user => {avatar => 0eabcd875d9a0fce4a194f7c58dec5a3, discriminator => 2319, id =><PHONE_NUMBER>70955275, username => altreus™}}, message_id =><PHONE_NUMBER>28076299, user_id =><PHONE_NUMBER>70955275}, op => 0, s => 5, t => MESSAGE_REACTION_ADD}

We've tried this with sleeps in it and it still returns all historical emoji, even though the supply should be live.

Relevant parts:
https://github.com/shuppet/p6-api-discord/blob/master/lib/API/Discord/Message.pm6#L150
https://github.com/shuppet/p6-api-discord/blob/master/lib/API/Discord/Message.pm6#L172


feat: Simulate deploy, registry schema and attestation with Resolver.sol

Description
Create a Resolver.sol Contract in the trustful-gap-contracts and test it.

Obs: At first you can use the SchemaResolver.sol from the EAS repository.

Objective
We need to test the deploy, registry and attestation flow, therefore you need to create three different files to test each process.

[x] Create and deploy a Resolver.t.sol file
[x] Create an Schema linked to the previous deployed resolver
[x] Create an attestation given the previous Schema and Resolver.

Issue closed with the PR #15


"Method not found: Godot.Error Godot.File.Open(string,int)"

Is this library still being updated?

Hey there, sorry this library is no longer updated or maintained by the original authors


Package Breaks Local Antd Theming

I'm trying to use this library in a project built with antd 4. For some reason, importing the component (without even importing the styles) breaks my theming and makes the app goes back to the default blue Color.

Can you provide a demo?

Sure, here's the repo that I made to illustrate the issue: https://github.com/hiimdjango/Antd-Json-Editor-Demo

I guess one way to fix it, is moving antd to peerDependencies in your package.json and remove that css import from your files.


Loading previously saved features: ValueError: cannot convert float NaN to integer

Not sure whether this is a bug or I am doing something incorrectly, but:
assume the feature matrix is created as in all of the example documentation:
feature_matrix, feature_defs = ft.dfs(entityset = es,
                                      target_entity = "test",
                                      agg_primitives = ["mean","min","median"],
                                      verbose = True,
                                      n_jobs = 1,
                                      max_depth = 2)

this is working fine and I am able to save and export these features without any problems.
However, if we want to move this into production the following workflow breaks:

Storing created features:

feature_matrix_enc, features_enc = ft.encode_features(feature_matrix, feature_defs)

Creating file for the export:

ft.save_features(features_enc, "feature_definitions")

Loading the features (for the test case - nothing actually changes, same live environment):

saved_features = ft.load_features("feature_definitions")

Transforming them back, using the same entity es that was used to create the features:

feature_matrix = ft.calculate_feature_matrix(saved_features, es)

However, the last step returns the following error:
...

  File "pandas\_libs\lib.pyx", line 456, in pandas._libs.lib.astype_intsafe

  File "pandas/_libs/src\util.pxd", line 142, in util.set_value_at_unsafe

ValueError: cannot convert float NaN to integer

Is there a way to fix this? If the original feature matrix was created despite those NaN values, can we ignore them on load? Or am I missing something?
Big thanks!

@nutle can you provide the full stack trace?
also, what version of featuretools are you using?

Yes, sorry, full stack:
Traceback (most recent call last):

  File "<ipython-input-169-d366d9917a97>", line 7, in <module>
    feature_matrix = ft.calculate_feature_matrix(saved_features, es)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 267, in calculate_feature_matrix
    pass_columns=pass_columns)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 530, in linear_calculate_chunks
    backend=backend)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 351, in calculate_chunk
    training_window=window)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\utils.py", line 36, in wrapped
    r = method(*args, **kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 325, in calc_results
    profile=profile)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\pandas_backend.py", line 197, in calculate_all_features
    result_frame = handler(group, input_frames)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\computational_backends\pandas_backend.py", line 323, in _calculate_transform_features
    values = feature_func(*variable_data)

  File "C:\user_dir\\Anaconda3\lib\site-packages\featuretools\primitives\standard\binary_transform.py", line 161, in equal_scalar
    return pd.Series(vals).astype(pd.Series([self.value]).dtype) == self.value

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\util\_decorators.py", line 178, in wrapper
    return func(*args, **kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5001, in astype
    **kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\internals.py", line 3714, in astype
    return self.apply('astype', dtype=dtype, **kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\internals.py", line 3581, in apply
    applied = getattr(b, f)(**kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\internals.py", line 575, in astype
    **kwargs)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\internals.py", line 664, in _astype
    values = astype_nansafe(values.ravel(), dtype, copy=True)

  File "C:\user_dir\\Anaconda3\lib\site-packages\pandas\core\dtypes\cast.py", line 709, in astype_nansafe
    return lib.astype_intsafe(arr.ravel(), dtype).reshape(arr.shape)

  File "pandas\_libs\lib.pyx", line 456, in pandas._libs.lib.astype_intsafe

  File "pandas/_libs/src\util.pxd", line 142, in util.set_value_at_unsafe

ValueError: cannot convert float NaN to integer

Workflow is running through Windows 10 + Anaconda + Python 3.7
print(ft.__version__)
0.7.0

I admit that the original data was not clean, and in time we will clean it and remove the NaN's and the likes if that is going to be necessary.
However, the main concern was that if the original flow was able to handle the data, in theory so should the stored and re-loaded flow, right?

you're right. this is likely a bug. we are trying to reproduce now. are you able to share the data and exact code you ran to hit it? if you prefer you can send it to us directly at<EMAIL_ADDRESS>

@nutle we just implemented a fix in #504. Can you try to install that branch directly and see if the error still persists?
You can install the branch with this command
pip install -e git://github.com/featuretools/featuretools.git@remove-casting#egg=featuretools

Thank you for the prompt fix! Will test and get back to you ASAP.

Now, after updating the package, the stack is:
C:\user_dir\Anaconda3\lib\site-packages\pandas\core\ops.py:1167: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
  result = method(y)
Traceback (most recent call last):

  File "<ipython-input-4-d366d9917a97>", line 7, in <module>
    feature_matrix = ft.calculate_feature_matrix(saved_features, es)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 267, in calculate_feature_matrix
    pass_columns=pass_columns)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 530, in linear_calculate_chunks
    backend=backend)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 351, in calculate_chunk
    training_window=window)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\utils.py", line 36, in wrapped
    r = method(*args, **kwargs)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 325, in calc_results
    profile=profile)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\pandas_backend.py", line 197, in calculate_all_features
    result_frame = handler(group, input_frames)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\computational_backends\pandas_backend.py", line 323, in _calculate_transform_features
    values = feature_func(*variable_data)

  File "C:\user_dir\Anaconda3\lib\site-packages\featuretools\primitives\standard\binary_transform.py", line 160, in equal_scalar
    return pd.Series(vals) == self.value

  File "C:\user_dir\Anaconda3\lib\site-packages\pandas\core\ops.py", line 1283, in wrapper
    res = na_op(values, other)

  File "C:\user_dir\Anaconda3\lib\site-packages\pandas\core\ops.py", line 1169, in na_op
    raise TypeError("invalid type comparison")

TypeError: invalid type comparison

are you able to share a data sample that reproduces the error?

@nutle actually, what version of pandas are you using? I suspect it is below 0.24.0. If so, can you try to upgrade and run the branch again?

Sorry for not responding earlier, had a lot of unrelated tasks. I didn't have time earlier to catch the precise row that was causing the bug, but what Ive noticed is that it definitelly crashes when Last and Num-unique are used as primitives. Probably it has something to do with counting nulls?
Pandas should be the latest version, if I recall correctly, since I tested this on a fresh python install.

can you confirm the pandas version?

It was in fact 0.23.4, and upgrading to 0.24.2 seems to have solved it. Thank you!


Resolved non-responsive layout for Apt installation steps on Downloads page

Before

After

Adjusted CSS styles and layout properties to ensure responsiveness for the Apt installation steps on the Downloads page (https://bruno-website.vercel.app/downloads). The changes ensure a consistent and user-friendly experience across various devices and screen sizes, resolving the issue-No:https://github.com/usebruno/bruno-website/issues/29  where the installation steps were not displaying correctly

@Aribaskar-jb The diff is too large and is hard to review. It appears your code editor has prettier(or some other code formatter) configured and is auto formatting the file.
Could you update the PR so that the diff is just restricted to the changes that fixes the issue?

@helloanoop The code has bean updated and i have removed the formatter

Thank you for taking care of this @Aribaskar-jb !


🎨  for circular input/outputs

This is great as it also helps us to understand the edge cases in which users manage to fabricate a cycle.


mkdocs with pheasant builds fine but can't serve

I'm using python 3.8, mkdocs 1.1 and pheasant tag 2.5.4
If I try to build site for tests/docs inside pheasant source directory, it's ok:
>>> mkdocs build
INFO    -  [Pheasant] Converter created.
INFO    -  [Pheasant] Converter configured.
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /data/pkestene/install/python/pheasant/tests/docs/site
INFO    -  [Pheasant] Converting 14 pages.
[12/12][=========================] [1/14]docs/index.md [23:27:00]
[08/08][=========================] [2/14]docs/main.md [23:27:00]
[10/10][=========================] [3/14]docs/test.md [23:27:00]
[01/01][=========================] [4/14]docs/conftest.py [23:27:00]

but then if I want to serve:
>>> mkdocs serve
INFO    -  Building documentation...
INFO    -  [Pheasant] Converter created.
INFO    -  [Pheasant] Converter configured.
INFO    -  Cleaning site directory
INFO    -  [Pheasant] Converting 14 pages.
[12/12][=========================] [1/14]docs/index.md [23:27:09]
[08/08][=========================] [2/14]docs/main.md [23:27:09]
[10/10][=========================] [3/14]docs/test.md [23:27:09]
[01/01][=========================] [4/14]docs/conftest.py [23:27:09]
INFO    -  [Pheasant] Conversion finished. Elapsed time: 1.75s
INFO    -  Documentation built in 1.83 seconds
Traceback (most recent call last):
  File "/home/pkestene/local/miniconda3/envs/eclairs/bin/mkdocs", line 10, in <module>
    sys.exit(cli())
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/mkdocs/__main__.py", line 140, in serve_command
    serve.serve(
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/mkdocs/commands/serve.py", line 146, in serve
    _livereload(host, port, config, builder, site_dir)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/mkdocs/commands/serve.py", line 76, in _livereload
    server = config['plugins'].run_event('serve', server, config=config)
  File "/home/pkestene/local/miniconda3/envs/eclairs/lib/python3.8/site-packages/mkdocs/plugins.py", line 94, in run_event
    result = method(item, **kwargs)
TypeError: on_serve() missing 1 required positional argument: 'builder'
Shutting down kernel [python3]...Done.

I don't known if the problem is inside mkdocs itself or in pheasant.
I'm nor sure about Pytest failing but at least on Travis, the test was passed here (Python 3.8/Linux)

ok, thank you.

with mkdocs 1.1.1 it's ok; I don't see any requiment upon mkdocs >= 1.1.1 in the pheasant, maybe it could be added ?
the unit test is still failing...


issue in QMChatviewcontroller example

i am unable to run QMChatviewcontroller demo. get some lib error.. No issue.I created new project ,added QMChatviewcontroller through pods. Used same code from file 'DemoChatViewController' given in QMChatviewcontroller. I have just kept 2 messgaes. Plesae see the screenshot how it is looking.  Look at first message. It is coming automatically. Today header must not be included in a message. Also, why the collectionview is scrolled to bottom? I tried setting automaticallyScrollsToMostRecentMessage to NO. still there is no effect?
I installed QMChatviewcontroller using command yesterday =>
pod 'QMChatViewController'

Please check.

Hi,
Example project is working fine for me 😕
Can you please attach any logs of the exact error you are having and any additional steps on how to reproduce it?


CF_GetTakeFXChain doesn't return hwnd for docked FXChain - Bug or Docs-issue

CF_GetTakeFXChain seems to return the HWND only for FXChain-windows, who aren't docked.
If that's the only way to handle it, I suggest to add a small explanation to the docs to clear up possible confusion.

Which version of SWS? Support for docked FX chains was added in v2.12.
There are additional fixes (unrelated to the dock) to that function queued for the next update (dev builds at https://github.com/reaper-oss/sws/pull/1396#issuecomment-656342588).

Ok, I'm not on the 2.12-prereleases yet, so if it's already done, I think I can close the issue.
Thanx for the heads up :)


[Documentation] Macro file name isn't congruent with actual macro name

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
Pretty straightforward. There is a macro that has a different file name than the macro itself. This seems counterintuitive. I've gone ahead and created a PR, but it asked to create an issue for it first.
Relevant error log or model output
No response
Expected behavior
The Macro and Macro file would have the same name.
dbt Project configurations
N/A
Package versions
N/A
What database are you using dbt with?
bigquery
dbt Version
1.3.0
Additional Context
No response
Are you willing to open a PR to help address this issue?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @duncan771 thanks for opening this issue. I agree that this should be renamed to be consistent with the macro name. I will be sure to review your PR in the coming week and will let you know if there are any notes before approving and folding into our next release!


Script plugin type

Port the script plugin type from the GUI project. Architect an rpc hook to control script instances from a local instrument manager instance, even from a different process

Script plugin type and runner method complete, still working on a way to integrate with RPC for remote control of script execution


Login page background does not cover whole screen on large resolution screens

Occurs when testing on dad's computer.

☝ One of the most common testing methods in software engineering.

Lolol @mictab, not entirely sure how to test resolution problems - the simulator on my Macbook only goes so far. The background is fine even on the highest res when I use the simulator. However, my father's computer (Dell XPS 13) has a really messed up resolution that screws up our iprogd project as well as this one :P

Fixed by adding background-size: 100% on computers, and removing background image for mobile and tablets.


fix: 修复zstack使用win镜像时userdata base64加密问题

这个 PR 实现什么功能/修复什么问题:
修复zstack使用win镜像时userdata base64加密问题
是否需要 backport 到之前的 release 分支:

release/3.1

/area region
/cc @zexi

Codecov Report

Merging #6458 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6458      +/-   ##
==========================================
- Coverage    7.19%    7.19%   -0.01%
==========================================
  Files         646      646
  Lines      108724   108726       +2
==========================================
  Hits         7819     7819
- Misses     100305   100307       +2
  Partials      600      600

Flag
Coverage Δ

#aFlag
7.19% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/zstack.go
6.49% <0.00%> (-0.18%)
:arrow_down:

Continue to review full report at Codecov.

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


Readme updates and Dockerfile updates

Updates to Readme and Dockerfile. More suggestions welcome.

Codecov Report

Merging #9 into master will decrease coverage by 5.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage    37.2%   31.74%   -5.47%
==========================================
  Files          14       14
  Lines         879      879
  Branches      119      119
==========================================
- Hits          327      279      -48
- Misses        521      589      +68
+ Partials       31       11      -20

Impacted Files
Coverage Δ

modules/cdGetBing.py
13.51% <0%> (-29.73%)
:arrow_down:

modules/cdGetBitly.py
12.35% <0%> (-29.22%)
:arrow_down:

Continue to review full report at Codecov.

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

Changes applied

LGTM


DotNetCoreCLI@2 doesn't have access to feeds when installing tools which leads to failures

Question, Bug, or Feature?
Bug
Enter Task Name: DotNetCoreCLI@2
Issue Description
Trying to install tools when you have a nuget.config fails because it doesn't have access to the feeds. Even though this tool is in the public Nuget.org repo it still tries our private repositories first and fails to auth.
  - task: DotNetCoreCLI@2
    inputs:
      command: 'custom'
      custom: 'tool'
      arguments: 'install --global dotnet-reportgenerator-globaltool'
      feedsToUse: 'config'
      nugetConfigPath: '$(System.DefaultWorkingDirectory)/nuget.config'
    displayName: "Install dotnet-reportgenerator-globaltool"

This is a public tool in Nuget but for some reason it tries to look in the private repositories first and so fails. I understand that some tasks don't have access to feeds (only restore does) but this means we can't use this to install the tool we want as we have private feeds in our nuget.config.
When I first tried this I tried not passing:
      feedsToUse: 'config'
      nugetConfigPath: '$(System.DefaultWorkingDirectory)/nuget.config'

but it still fails as it picks up the config in the root of the repo by default.
Our nuget.config:

Task logs

For now I'm having to work around this by using a Pwsh script that installs the tool and make sure I set the directory to somewhere random outside of the project root:
  - task: PowerShell@2
    inputs:
      targetType: inline
      script:
        dotnet tool install --global dotnet-reportgenerator-globaltool
      workingDirectory: $(Agent.ToolsDirectory) # Try to be outside of the project
    displayName: "Install dotnet-reportgenerator-globaltool"

For now I'm having to work around this by using a Pwsh script that installs the tool and make sure I set the directory to somewhere random outside of the project root:
  - task: PowerShell@2
    inputs:
      targetType: inline
      script:
        dotnet tool install --global dotnet-reportgenerator-globaltool
      workingDirectory: $(Agent.ToolsDirectory) # Try to be outside of the project
    displayName: "Install dotnet-reportgenerator-globaltool"

Hey @ElvenSpellmaker,
You don't need to mention nuget feed in the task as this field is used only by the restore command.
You can directly use dotnet task with below configuration:
steps:
- task: DotNetCoreCLI@2
  displayName: 'dotnet custom'
  inputs:
    command: custom
    custom: tool
    arguments: 'install --tool-path coverage dotnet-reportgenerator-globaltool'

The above fails as it loads the NuGet.config file in the project as mentioned in my issue, it tries to enumerate the sources and fails to do so as only restore has access... This shouldn't be closed, it's still an issue.

@ElvenSpellmaker Can you pass the NuGet config as an argument to the task as mentioned in this doc
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install#options
It is the dotnet tool that is automatically picking your Nuget file, so the task can't do anything here.

The dotnet custom command is not supposed to use any nuget configuration. Please reach out to dotnet team, if above solution doesn't fix the issue.

@vineetmimrot The custom command needs to use the nuget config, because the tool you install could be in a private feed.

Can you please try the workaround as passing nuget configuration as argument of custom command.

@ElvenSpellmaker The following worked for me to install a tool from a private Azure DevOps Artifacts feed:
- task: NuGetAuthenticate@1
  displayName: Authenticate artifacts feed

- task: DotNetCoreCLI@2
  displayName: Download package
  inputs:
    command: custom
    custom: tool
    arguments: >-
      install MyTool
      --tool-path .
      --add-source https://pkgs.dev.azure.com/MyOrg/MyProj/_packaging/MyFeed/nuget/v3/index.json


bootstrap grid the gui

The graph results in an issue with a scrollbar, and the info blocks need to go under the search at smaller widths.

The info boxes should respect the layout. Loading the response currently re-scales the cols.

We might want to come back later to tweak and maybe do something with mobile devices, but this works (for desktops) for now.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in 1013bf2 after 5 minutes.


refs #343: Fix walk and look points storage and retrieval

Fixes #343 : The data should be stored using built-in types (int, float, String, and so on) in order to avoid hacks in Web games. A validation was added to assign the values for the walk_to_point and look_at_point based on the available data in the character's Dictionary.

I would move this into a couple of functions, named something like pack_vector_state and unpack_vector_state (or anything that makes sense).
I agree with @balloonpopper about hardening the data with prior validation.

@balloonpopper @stickgrinder I made an update using RegEx to validate the format of the stored String.
Regarding the creation of a function to pack those vectors (PopochiuCharacter.walk_to_point and PopochiuCharacter.look_at_point), I’m thinking about drafting a proposal to add a feature that automatically stores any Vector2 property in objects saved as a JSON dictionary, with x and y keys and values.
Let me know what you think, and if it’s okay to merge this PR as it is (if approved), leaving the pack_vector_state function for the proposal I’m referring to.

This looks complicated to me. Can we get away with just checking if it's the expected format as only Popochiu should be setting it and therefore the state should be known.
If you want to make it support all the use cases though (presumably you might be planning to use this in other places?) then it looks good.
I might be reading it wrongly (I'm not familiar enough with the codebase), but isn't the default case a dictionary? If so, I'd suggest putting the dictionary check before the regex.

When you suggested including a validation, I thought of a regular expression that could also cover us in case someone manually modifies the JSON file information.
Right now, saved games can have a string "Vector2(x, y)" or "(x, y)", which is why I also thought a RegEx was a good option. Once we merge the PR, it will start saving as a Dictionary. I don’t mind changing the order of the checks.

@mapedorr this looks good to me. It solves the problem and is tidy.
I like your proposal for supporting Vectors state saving/loading. Can you open an "task" issue for that?
@balloonpopper do you think your open conversations could be resolved?
If you're just waiting for my validation, please go ahead and merge this fix!

I'm happy that my questions have been addressed


Error when player hasn't met all NPCs yet

If the player hasn't met all NPCs, opening the options page throws an error:
[01:45:37 ERROR NPC Map Locations Mod] This mod failed in the InputEvents.ButtonPressed event. Technical details:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at NPCMapLocations.MapModMenu..ctor(Int32 x, Int32 y, Int32 width, Int32 height, Boolean[] showSecondaryNPCs, Dictionary`2 customNPCs, Int32 customNpcId, Dictionary`2 markerCrop, Dictionary`2 npcNames) in C:\source\_Stardew\Mods.Bouhm\NPCMapLocations\MapModMenu.cs:line 92
   at NPCMapLocations.MapModMain.HandleInput(GameMenu menu, SButton input) in C:\source\_Stardew\Mods.Bouhm\NPCMapLocations\MapModMain.cs:line 177
   at NPCMapLocations.MapModMain.InputEvents_ButtonPressed(Object sender, EventArgsInput e) in C:\source\_Stardew\Mods.Bouhm\NPCMapLocations\MapModMain.cs:line 167
   at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 54

See full SMAPI log.

maybe fixed in #cf25162?


Amend commit message on #222

It currently says
Adds -f and -C as short options for --justfile and --working-directory
respectively.

-C should be -d

Fixed. Good catch!


Complete Requested Changes From PR #5

Requested changes from PR #5 need to be added to the Users model.

@padjo I believe this will be up to you

Sneha has completed the changes (server error and model schema changes). I will add Cors in today. it's not directly related to her routes but a general thing we have to take care of . Thanks

i'm going to work on Login and auth

Added cors in my latest PR


feat: i18n for aggregate data exchange job type [DHIS2-13552]

@ismay Yes. Just that the parameter is a list of aggregate data exchange objects.

Have put a fix in place for the app crash when trying to add a Exchange aggregate data job
Visible state below
Loading State for the add form for the Exchange aggregate data job

Fetching Data Ids Error State for the add form for the Exchange aggregate data job

Working add form for the Exchange aggregate data job


Helm v3 support adding/referencing Azure container registry as repository

I would like to store my helm chart in Azure container registry using Helm 3. There is existing documentation on how to do this:
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-helm-repos#use-the-helm-3-client
I am pulling in all the helm charts i need to deploy via dependencies block in Chart.yaml. How do i reference an ACR repository? I don't see any example of ACR in https://helm.sh/docs/topics/chart_repository/
Here is an example of what I want to do:
Run
 helm repo add acr https://my-acr.azurecr.io

In chart.yaml
dependencies:
- name: my-helm-chart
  repository: '@acr'
  version: 1.0.0

Related azure issue:
https://github.com/MicrosoftDocs/azure-docs/issues/32165

An Azure Container Registry is referred to as an OCI Registry, and this is an experimental feature. Documentation for what's supported with OCI registries can be found here: https://helm.sh/docs/topics/registries
Support for referencing OCI repositories as a dependency is still a work-in-progress. See #7613.
Closing as a duplicate of #6593. Thank you for your question.


fix: default UDWFImpl::expressions returns all expressions

Which issue does this PR close?
Closes #13168.
Rationale for this change
Same as in  #13168.
What changes are included in this PR?
WindowUDFImpl::expressions is changed to return all the input expressions by default instead of only the 1st one.
Are these changes tested?
Covered by existing tests.
Are there any user-facing changes?
Not from a released version.

Thank you! I tested this same code on datafusion-python. We do have a unit test there that caught the issue. I wonder if we should add one here. Not a blocking suggestion, because I do think this is a regression.

Thank you @Michael-J-Ward and @timsaucer
The reason we introduced a regression is likely due to the lack of a test and thus I think a test with the fix would be super helpful. Any thoughts about how to trigger it ? I can potentially help write such a test

The reason we introduced a regression is likely due to the lack of a test and thus I think a test with the fix would be super helpful. Any thoughts about how to trigger it ? I can potentially help write such a test

I'll write it up.

This is possible way to unit test the default implementation of expressions().
But putting this in test datafusion/expr/src/udwf.rs is not possible because of the dependency on datafusion_physical_expr::expressions::lit. So maybe we can add this to the functions-window crate.
#[cfg(test)]
mod tests {
    use arrow::datatypes::{DataType, Field};
    use datafusion_common::Result;
    use datafusion_expr::{PartitionEvaluator, Signature, Volatility, WindowUDF, WindowUDFImpl};
    use datafusion_functions_window_common::expr::ExpressionArgs;
    use datafusion_functions_window_common::field::WindowUDFFieldArgs;
    use datafusion_functions_window_common::partition::PartitionEvaluatorArgs;
    use std::any::Any;
    use datafusion_physical_expr::expressions::lit;

    #[derive(Debug)]
    struct ThreeArgWindowUDF {
        signature: Signature,
    }

    impl ThreeArgWindowUDF {
        fn new() -> Self {
            Self {
                signature: Signature::uniform(
                    3,
                    vec![DataType::Int32, DataType::Boolean, DataType::Float32],
                    Volatility::Immutable,
                ),
            }
        }
    }

    impl WindowUDFImpl for ThreeArgWindowUDF {
        fn as_any(&self) -> &dyn Any {
            self
        }

        fn name(&self) -> &str {
            "three_arg_window_udf"
        }

        fn signature(&self) -> &Signature {
            &self.signature
        }

        fn partition_evaluator(&self, _: PartitionEvaluatorArgs) -> Result<Box<dyn PartitionEvaluator>> {
            todo!()
        }

        fn field(&self, _: WindowUDFFieldArgs) -> Result<Field> {
            todo!()
        }
    }

    #[test]
    fn test_input_expressions() -> Result<()> {
        let udwf = WindowUDF::from(ThreeArgWindowUDF::new());

        let input_exprs = vec![lit(1), lit(false), lit(0.5)]; // Vec<Arc<dyn PhysicalExpr>>
        let input_types =[DataType::Int32, DataType::Boolean, DataType::Float32]; // Vec<DataType>
        let actual = udwf.expressions(ExpressionArgs::new(&input_exprs, &input_types));

        assert_eq!(actual.len(), 3);

        assert_eq!(
            format!("{:?}", actual.first().unwrap()),
            format!("{:?}", input_exprs.first().unwrap()),
        );
        assert_eq!(
            format!("{:?}", actual.get(1).unwrap()),
            format!("{:?}", input_exprs.get(1).unwrap())
        );
        assert_eq!(
            format!("{:?}", actual.get(2).unwrap()),
            format!("{:?}", input_exprs.get(2).unwrap())
        );

        Ok(())
    }
}

Thank you for writing that up! I added it, verified it fails without @Michael-J-Ward 's fix and passes with the correction. @Michael-J-Ward do you mind if I push it to your branch?

Since the testing approach made sense, I rewrote it to be a bit more exhaustive than the initial iteration.
I added more test cases to cover when 0, 1, 2 and 3 input expressions are provided. Earlier version only checks for exactly 3 arguments and I think that is insufficient testing to avoid any regressions in the future.
It passes in main when there are only 0 or 1 argument. It fails when 2 or more arguments are provided. The failing test cases will only pass with @Michael-J-Ward's fix.
$ cargo test -p datafusion-functions-window test_default_expressions

running 1 test
test tests::test_default_expressions ... FAILED

failures:

---- tests::test_default_expressions stdout ----
thread 'tests::test_default_expressions' panicked at datafusion/functions-window/src/lib.rs:192:13:
assertion `left == right` failed:
Input expressions: [Column { name: "a", index: 0 }, Column { name: "b", index: 1 }]
Returned expressions: [Column { name: "a", index: 0 }]
  left: 2
 right: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    tests::test_default_expressions

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s

The same limitation as earlier applies. It is not possible to place this unit test in datafusion/expr/src/udwf.rs because of this dependency: datafusion_physical_expr::expressions::lit.
I think we can add this to the functions-window crate.

@timsaucer Please feel free to make any improvements you feel would be beneficial.
Code:
#[cfg(test)]
mod tests {
    use arrow::datatypes::{DataType, Field, Schema};
    use datafusion_common::Result;
    use datafusion_expr::{
        PartitionEvaluator, Signature, TypeSignature, Volatility, WindowUDF,
        WindowUDFImpl,
    };
    use datafusion_functions_window_common::expr::ExpressionArgs;
    use datafusion_functions_window_common::field::WindowUDFFieldArgs;
    use datafusion_functions_window_common::partition::PartitionEvaluatorArgs;
    use datafusion_physical_expr::expressions::{col, lit};
    use datafusion_physical_expr_common::physical_expr::PhysicalExpr;
    use std::any::Any;

    #[derive(Debug)]
    struct VariadicWindowUDF {
        signature: Signature,
    }

    impl VariadicWindowUDF {
        fn new() -> Self {
            Self {
                signature: Signature::one_of(
                    vec![
                        TypeSignature::Any(0),
                        TypeSignature::Any(1),
                        TypeSignature::Any(2),
                        TypeSignature::Any(3),
                    ],
                    Volatility::Immutable,
                ),
            }
        }
    }

    impl WindowUDFImpl for VariadicWindowUDF {
        fn as_any(&self) -> &dyn Any {
            self
        }

        fn name(&self) -> &str {
            "variadic_window_udf"
        }

        fn signature(&self) -> &Signature {
            &self.signature
        }

        fn partition_evaluator(
            &self,
            _: PartitionEvaluatorArgs,
        ) -> Result<Box<dyn PartitionEvaluator>> {
            unimplemented!("unnecessary for testing");
        }

        fn field(&self, _: WindowUDFFieldArgs) -> Result<Field> {
            unimplemented!("unnecessary for testing");
        }
    }

    #[test]
    // Fixes: default implementation of `WindowUDFImpl::expressions`
    // returns all input expressions to the user-defined window
    // function unmodified.
    //
    // See: https://github.com/apache/datafusion/pull/13169
    fn test_default_expressions() -> Result<()> {
        let udwf = WindowUDF::from(VariadicWindowUDF::new());

        let field_a = Field::new("a", DataType::Int32, false);
        let field_b = Field::new("b", DataType::Float32, false);
        let field_c = Field::new("c", DataType::Boolean, false);
        let schema = Schema::new(vec![field_a, field_b, field_c]);

        let test_cases = vec![
            //
            // Zero arguments
            //
            vec![],
            //
            // Single argument
            //
            vec![col("a", &schema)?],
            vec![lit(1)],
            //
            // Two arguments
            //
            vec![col("a", &schema)?, col("b", &schema)?],
            vec![col("a", &schema)?, lit(2)],
            vec![lit(false), col("a", &schema)?],
            //
            // Three arguments
            //
            vec![col("a", &schema)?, col("b", &schema)?, col("c", &schema)?],
            vec![col("a", &schema)?, col("b", &schema)?, lit(false)],
            vec![col("a", &schema)?, lit(0.5), col("c", &schema)?],
            vec![lit(3), col("b", &schema)?, col("c", &schema)?],
        ];

        for input_exprs in &test_cases {
            let input_types = input_exprs
                .iter()
                .map(|expr: &std::sync::Arc<dyn PhysicalExpr>| {
                    expr.data_type(&schema).unwrap()
                })
                .collect::<Vec<_>>();
            let expr_args = ExpressionArgs::new(input_exprs, &input_types);

            let ret_exprs = udwf.expressions(expr_args);

            // Verify same number of input expressions are returned
            assert_eq!(
                input_exprs.len(),
                ret_exprs.len(),
                "\nInput expressions: {:?}\nReturned expressions: {:?}",
                input_exprs,
                ret_exprs
            );

            // Compares each returned expression with original input expressions
            for (expected, actual) in input_exprs.iter().zip(&ret_exprs) {
                assert_eq!(
                    format!("{expected:?}"),
                    format!("{actual:?}"),
                    "\nInput expressions: {:?}\nReturned expressions: {:?}",
                    input_exprs,
                    ret_exprs
                );
            }
        }
        Ok(())
    }
}

The same limitation as earlier applies. It is not possible to place this unit test in datafusion/expr/src/udwf.rs because of this dependency: datafusion_physical_expr::expressions::lit.

We can always put the tests in https://github.com/apache/datafusion/blob/main/datafusion/core/tests/core_integration.rs which has access to all the functionality

Thank you @jcsherin . I appreciate you taking point on writing up the unit test. I've tested and pushed it. Does anyone else want to review?


No pip-install in Doodba QA

It seems that fixing #98 broke some scripts from Doodba QA that used pip to download things from the Internet inside the running Odoo container, such as coverage.
Gotta fix that. I think that we could bundle tools such as coverage, flake8 and pylint-odoo directly in the base image. It would make them fatter, but CI would be faster too. What do you think? @pedrobaeza

Not sure if this is related but I ran into an issue using pip within the scaffolding approach.
It turned out that the tecnativa/odoo-base has an "ONBUILD USER odoo" instruction inside the Dockerfile leaving me puzzled with an:
 Permission denied: '/usr/local/lib/python2.7/dist-packages/openupgradelib-1.3.2-py2.7.egg-info/PKG-INFO'

I could easily fix that by adding a USER instruction in odoo/Dockerfile
# edit odoo/Dockerfile
USER root
RUN pip install --upgrade git+https://github.com/OCA/openupgradelib.git@master

@pniederlag but why don't you add git+https://github.com/OCA/openupgradelib.git@master on pip.txt file in /odoo/custom/dependencies/pip.txt?

@pedrobaeza just because I didn't know of this possibility to adapt the setup. Thx for pointing me at it. Would this update openupgradelib or will I end up with two different versions?
Experience has taught me that having different versions of one library will cause trouble at some point in the future, so I really like to stick with one version of each component. ;)
Regards,
Peter

One version

Yikes, I forgot to close this issue.
It was fixed from https://github.com/Tecnativa/doodba-qa/commit/5261e5601e5c2125280ce35767444c673eb52877 onwards. It adds a relocatable virtualenv that contains all QA dependencies and it gets mounted inside the dooba running container. This way, all QA dependencies are in the QA image, making it correctly separated and faster (no more download than the image itself).


Add support for table name placeholder in SPEL for @Query in JDBC and R2DBC

Currently, there is no way to reference the name of the table in the SPEL expression in @Query. The behavior I guess should be similar to one we have now in JPA. So something like this:
@Query("SELECT * FROM #{#tableName} WHERE status = #{#status.name()}")
List<MyEntity> findByStatus(Status status);

I think would be the way to go.

Table-name pre-processing requires an additional step to resolve expressions inline without binding these as parameters. The table name would be rendered in its final form meaning with quotation.

And I guess we would need to parse the whole thing first to determine, which expression we must process with inline String replacement and which become parameters.

JPA does something along the lines of `String.replace("#{#entityName}}", …)" which is pretty isolated and it doesn't introduce much of additional injection risks.

@mp911de Maybe I'm wrong, but in JPA the entityName is just added as an additional variable into Evaluation context. I guess this is better then just doing String.replace()...


chore: remove validate_request_with_table

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
chore: remove validate_request_with_table
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Please rebase from the main branch.


Error: null is not an object (evaluating 'window.name().length')

Workflow version
2022.4
Alfred version
5.0.6
macOS version
11.5.2
Debugger output
[21:29:45.180] Logging Started...
[21:29:46.884] Window Switcher[Script Filter] Queuing argument '(null)'
[21:29:51.079] Window Switcher[Script Filter] Script with argv '(null)' finished
[21:29:51.082] ERROR: Window Switcher[Script Filter] Code 1: /Users/sachit/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/14CD0F27-B467-4C53-87D9-176BA93FA2DE: execution error: Error: TypeError: null is not an object (evaluating 'window.name().length') (-2700)

More details
I tried using the given command "win " and it immediately throws an error. (Also occurs with anything following win.)
Expected behavior: options for windows in the space come up to allow switching

Try it again with this version and post he debugger output. It should still fail but identify the app causing the problem.

Yes, that’s the output but I need it from a time where the workflow fails for you. That will help identify which app caused the problem so it can be properly investigated and fixed.

Closing until there is more information.

@sachit-menon The workflow has been rewritten in Swift, so worth giving it another go. Download it from the releases, I’d be interested to know how it behaves on Big Sur.


fix: handle possible null values on digitize dates

This adds additional handlings for cases where the created or modified dates are null on digitize_features. This can be the case with migrated features from the previous implementation of digitize.

that was fast :)


The trigger should be dropped first

https://github.com/deep-foundation/deeplinks/blob/b81db190559ef24dda9b24a08bd0c93e0d4bf90a/migrations/1621815803575-promises.ts#L27-L28

Fixed at https://github.com/deep-foundation/deeplinks/commit/73e6273964e2e978de854079277de4e2eb3b1718


separate cartesian walker from rowspec consumption

Description
Prework for #1141

Approved, but probably best not to merge until the semantic versioning is done.


React global Variable doesn't work

I am new to react. But I find it annoying to write import  statement all the time. So, I tried to use webpack's ProvidePlugin. But it does not work in create-react-app. I found this solution https://github.com/facebook/create-react-app/issues/4281#issuecomment-381119612 and it also doesn't work. It gives an error
My App.js code:

globals.js code:

The error:

How can I make this work?

This is a really bad practice. Why do you want to make this work? This is also not really a CRA issue and would probably be better asked on stackoverflow about webdev in general.
Why not just export joinn and then import that?


feat(WIP): add the custom handlers for cosmwasm

Description
closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Do these handlers carry any risk of bypassing GetSigners security? For example, the rule where MsgSupply.Supplier field must be the same address that signed it

It should not bypass the signer's rule, it is the same as sending a msg through the leverage MsgServer, but definitely we can double-check that with a script/test


"Nonce does not match" - error on login

When logging in I receive an error "Encountered an error from auth0 - invalid_token -- Nonce does not match." Refreshing the page seems to fix the issue and login proceeds as expected.
I'm using RS256, logging in from root page and returning to root page, all other settings are the same as the example specifies.
Ember 2.11.0
auth0-lock 10.11.0
auth0.js 8.2.0
ember-simple-auth 1.2.0
ember-simple-auth-auth0 3.0.0
Recent activity here which may well be related:
https://github.com/auth0/auth0.js/issues/365

Closing here. Looks like this got fixed on their end.
https://github.com/auth0/auth0.js/pull/382

This is still happening to me. Why is it still happening?

auth0/auth0.js#382 merged March 91th 2017:

auth0.js released to version 8.6.0 on April 24th 2017:

Blueprint generator for ember-simple-auth-auth0 adds version ^8.6.0:


MB-2108 Important shipment dates component

Description
A new component for rendering important shipment dates!
Setup
make storybook
Code Review Verification Steps

[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

@gidjin made some changes - thanks for the feedback!

@dlee11 made those adjustments - let me know if there's anything else I should address.

@dlee11 updated!


Fix CI

Gaurd tensordot float16 with cpu check.

cc @dc-dc-dc

it looks like cpu float16 passed on mac, can add an additional check for os by checking against platform.system(). Or have a global boolean variable at the top of the file like:
IS_LINUX=platform.system() == "Linux"

So future tests can guard against it

Hmm good point. That's more annoying than I thought. We should indeed keep the float16 CPU tests if we are on a mac.

LGTM 🚀


is the extension not open-source anymore?

I noticed the latest release doesn't match the version in the stores...

Hi, this extension was acquired a month ago. See the twitter and discrod announcment.

Actually. it's not in good hands. And it doesn't work anymore. Very sad ;(

@melroy89 WDYM you use huggingface, for what?


Adding WSSecurity Auth method

Intro
Moving forward with this #20, here goes the PR to iterate the proposal :).
What changed

Add new types (WSSecurityOptions, WSSecurityType)
Allow new auth type to SoapModuleOptions
Change how to auth method is create and setting to the client.
Add some test to cover new code.

Test
-----------------------------|---------|----------|---------|---------|-------------------
File                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------------------|---------|----------|---------|---------|-------------------
All files                    |   97.01 |      100 |      85 |    96.3 |
 soap-constants.ts           |     100 |      100 |     100 |     100 |
 soap-module-options.type.ts |     100 |      100 |       0 |     100 |
 soap-providers.ts           |   92.86 |      100 |   81.82 |   90.48 | 45-46
 soap.module.ts              |     100 |      100 |     100 |     100 |
 soap.service.ts             |     100 |      100 |     100 |     100 |
-----------------------------|---------|----------|---------|---------|-------------------
Test Suites: 3 passed, 3 total
Tests:       19 passed, 19 total
Snapshots:   0 total
Time:        12.062 s
Ran all test suites.

All right then. Everything seems good to me. I'm going to merge it and I will publish a new version as soon as I can.

All right then. Everything seems good to me. I'm going to merge it and I will publish a new version as soon as I can.

😀  Super, thanks @lehh . Let me know if I can help with anything else.
Regards.

Now published on v2.1.0 :)


Change React-Router & data fetch useQuery implementation

both #18 and #19 are similar routing/fetch implementations, and need to be fixed together.


[tests-only]bump core commit id

Bump core commit id to ensure that all the tests are passing
part of : https://github.com/owncloud/QA/issues/680#issuecomment-888057804

@ishank011 this is ready to merge


Adding domain and sac register read in cfg

This PR adds support for reading the domain and sac registers in the CFG module.

LGTM. Let's bump bp_tests to master to include those new tests in this PR


Support early/mid/late  #35

Yes, sure. I will do it. Thanks.

@patapizza There you go. But travis build have failed with message "The job exceeded the maximum time limit for jobs, and has been terminated."

Thanks @serefayar!


Adopting Dagster at Mapbox

URL: https://medium.com/dagster-io/incrementally-adopting-dagster-at-mapbox-b635b1118594
Review (1-2 sentences): We all know that Dagster may be (and maybe already is) the Next Big Thing after Airflow. But how many success stories did you read? Yes, adoption grows, but something impossible with Airflow? Well, folks from Mapbox hit the wall of complexity with Airflow and Dagster is what saved them (they think)

Published in Digest #6.


[Feature request] Option to only backup starred clippings

people often use backup features in different apps when they get a new phone or if they do system reset. it would be great to have an option to only select to backup important (starred) clippings.

OK~ That option will be added in the next version.


Investigate what happens with missing data

We need to check our error handling with missing data:
Eg: Line has one blank value on an axis - it should leave a break

fixed


Hey, I've verified and I assure that I'm running youtube-dl 2016.10.12

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.10.12. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.10.12

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.10.12
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Hey,
I am using the latest version and ever since yesterday I cannot present videos.
these are videos that are not playing: gbRZiqxbkU0 xfeyYNHmzWg 8wxOVn99FTE
Anu help?
Thanks!

gbRZiqxbkU0 and xfeyYNHmzWg downloads and plays fine for me. Please paste full logs. For 8wxOVn99FTE see #343

we are using the youtube_dl as a library on a server and what we see is for w id=DONblKZmDHk  with player //s.ytimg.com/yts/jsbin/player-iw_IL-vfl-d-kGk/base.js the following    return lambda s: initial_function([s])
  File "/base/data/home/apps/s~vodio-int/urlrdr:101.396308480248623455/lib/youtube_dl/jsinterp.py", line 254, in resf
    res, abort = self.interpret_statement(stmt, local_vars)
  File "/base/data/home/apps/s~vodio-int/urlrdr:101.396308480248623455/lib/youtube_dl/jsinterp.py", line 55, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/base/data/home/apps/s~vodio-int/urlrdr:101.396308480248623455/lib/youtube_dl/jsinterp.py", line 174, in interpret_expression
    return objmember
KeyError: u'Qv'

Please format your log. Backticks are useful: https://guides.github.com/features/mastering-markdown/


IndexError

Processing CBS11016_chr1A
Traceback (most recent call last):
File "GFF2MSS.py", line 161, in
product_name = DF_Extract(anno_in, mRNA_ID)
File "GFF2MSS.py", line 31, in DF_Extract
out_DATA= tmp_DF.iat[0,1]
File "/Users/emmannadi/opt/anaconda3/lib/python3.7/site-packages/pandas/core/indexing.py", line 2200, in getitem
return self.obj._get_value(*key, takeable=self._takeable)
File "/Users/emmannadi/opt/anaconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 2826, in _get_value
return com.maybe_box_datetimelike(series._values[index])
IndexError: index 0 is out of bounds for axis 0 with size 0

I came across the same error today. This seems to be an error caused by the mismatch of gene names between --gff and --ann. The error disappeared when I changed the gene names in --ann to match gff's ID attributes of the "mRNA" features rather than the "gene" features.


Add link to web apps migration workload page

Docs Build status updates of commit e821095:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/dotnet-howto-migrate-app-service.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Feature request: IMAP support

We make a mail client. It would be cool if mailcrab also supported IMAP.

IMAP is not really within the use-cases that MailCrab was intended for. I can imagine that providing IMAP support would also introduce the complexity of folders etc.
However - I would be open for any ideas that would allow adding IMAP support without adding too much complexity to the code base. Maybe you have some suggestions for crates I could look at?


Add a README to the client's package…

… taken from the old engine-api project. 🐯
Closes #26450 👼
/cc @icecrime @thaJeztah @SvenDowideit
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

ping @LK4D4 Looks like we've got a swarm deadlock here.

stack trace from the daemon: https://gist.github.com/cpuguy83/c373497ef0c52cbf53b8fcde752e8751

Oh wait, sorry I saw the 'context deadline exceeded' and went straight to swarm, may not be swarm.

LGTM

LGTM

Should this be cherry-picked to 1.12x?

@mstanleyjones no, no need to, it's only a README, so only visible on GitHub (and relates to code changes for 1.13)


vCheck for Multiple vCenter and Non-Outlook Environment

Hi,
I would like to run vCheck for multiple vCenter and i don't use the outlook in my environment.Do i have any solution for this?
I really appreciate the work.

At the moment, running vCheck against multiple vCenters is not a supported solution- see Issue #204 for a bit more info.
As for Outlook, vCheck just sends a HTML formatted message, so any capable email client (and an SMTP server to send email via) is all that is required.


Use correct Response type in service provider

I noticed that #84 caused some tests to fail, my apologies. This PR fixes those failing tests.

Thanks!


fix: project_id in resource details not correct

这个 PR 实现什么功能/修复什么问题:
修正：资源输出details的project_id字段值不正确

是否需要 backport 到之前的 release 分支:

release/3.4

/area util
/cc @zexi

Codecov Report

Merging #8246 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8246      +/-   ##
=========================================
- Coverage    6.21%   6.18%   -0.04%
=========================================
  Files         759     150     -609
  Lines      117257   20950   -96307
=========================================
- Hits         7289    1296    -5993
+ Misses     109309   19505   -89804
+ Partials      659     149     -510

Flag
Coverage Δ

#aFlag
6.18% <ø> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/util/qemuimg/qemuimg.go

pkg/monitor/tsdb/driver/influxdb/influxdb.go

pkg/compute/models/instance_snapshots.go

pkg/compute/models/scalinggroup_network.go

pkg/multicloud/esxi/ip.go

pkg/multicloud/ucloud/ucloud.go

pkg/compute/models/wires.go

pkg/util/ansible/session.go

pkg/compute/models/dns_recordsets.go

pkg/keystone/models/implied_role.go

... and 599 more

Continue to review full report at Codecov.

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


twitter source connector create button is not enable

I can not create twitter connector
https://drive.google.com/file/d/1lX1dhQom_tnzgV-ahyrpVnfcH3IaUpf5/view?usp=sharing

Is this issue resolved? I'm also facing the same issue with lensesio/fast-data-dev:latest image.


Fix example

Removed autoprefixer so it is possible to run example. Webpack 2 no longer allows custom properties in configuration.

@fredjens sorry have been busy with work more than I expected lately. The CI still fails with: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

Happy to merged it once the CI works fine

This problem is actually in the React plugin and not the example, but it's the same problem, so it make sense to fix it here too.

thx @fredjens, now you need a release from us, right?

Cool! I actually think there's a few more things that needs to be fixed... But if you release a minor in the meantime, it's cool :)


Updating to ^5.1.0 broke the observables emitting events after the first one

Hi guys,
my app stopped working after upgrading to 5.1.x
At first, i thought i was having this issue: https://github.com/angular-redux/ng2-redux/issues/259
After closer look, I saw, that observables that i get with @select are working but they emit only the first event (so .subscribe(x => { console.log(x);} ) will log only once. Downgrading to ng2-redux fixed this issue. Am i missing some breaking change in ng2-redux?
Dependencies in package.json:
"dependencies": {
    "@angular/common": "^2.3.1",
    "@angular/compiler": "^2.3.1",
    "@angular/core": "^2.3.1",
    "@angular/forms": "^2.3.1",
    "@angular/http": "^2.3.1",
    "@angular/material": "^2.0.0-beta.1",
    "@angular/platform-browser": "^2.3.1",
    "@angular/platform-browser-dynamic": "^2.3.1",
    "@angular/router": "^3.3.1",
    "core-js": "^2.4.1",
    "ng2-redux": "^5.1.2",
    "redux": "^3.6.0",
    "redux-logger": "^2.8.1",
    "rxjs": "^5.0.1",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.7.2"
  }

There was a change done so that changes only get emitted if the state actually changes (ie: if you fire an action that doesn't cause a state change).
let someReducer(state, action) => {
   switch(action.type) {
       case 'HANDLED' : return Object.assign({},state, { someModification: action.payLoad })
       default: return state;
   }
}

//

ngRedux.dispatch({type: 'HANDLED'}) // modifies state - subscribers should get called
ngRedux.dispatch({type: 'SOME_OTHER_TYPE'}) // if this doesn't modify state, then the subscribers don't get called

Is there a possibility that you have a reducer that is mutating state instead of returning a new copy?

@e-schultz: yes, i'm changing the state but not doing a new copy of the object. Thank you for the explaination


added patch for conda-4.3 compatibility.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks @marscher. This is being superseded by PR ( https://github.com/conda-forge/conda-build-all-feedstock/pull/32 ), which is a new release containing your patch. Thanks again for your hard work on it. 👍

you're welcome!


[Chrome-Extension] We need to use the HTTPS protocol in our development environment.

We thought our service should also use https in the development environment.
Because, Facebook use https protocol. so, if we use http, our code will not work properly.
But, we thought that it wasn't always easy to use https on localhost's protocol. so, we need to get some feedback this please.
We think our product might be able to use the proxy now. please let me know if you have any comments on this.

if we made key file for localhost test, how should we manage key file..? It needs to be accessible to everyone contribute to this project. but key file should be don't reveal in essence. let me know if you have any ideas!

i made google drive share link for key and cert file and shared env filelist before project. i think that not bad solution~

There's a solution for development env.

Click shield🛡 icon at the right end of address bar in browser, and click Load Unsafe Scripts.

Now you allowed mixed content and the site become insecure mode.

It's for only development env.

Done!


ci: add coverage from #3089 to hubble testing in CNI Release Test Pipeline

Reason for Change:

Adds in missing changes from #3089 to CNI Release Test Pipeline
Issue Fixed:

Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[x] relevant PR labels added

Notes:

/azp run Azure Container Networking PR


Tests from different monorepo package are ignored in coverage

🐛 Bug Report

I have a monorepo, and some tests are in a separate package.
packages/
  package-a/
  package-b/
  tests/

I have a root ject.config.js with projects set to an array of specific packages as <rootDir>/packages/package-X/ items, and every package has its own jest.config.js with some overrides. Tests work from the root and from an individual package.
Tests in packages/tests import files from another packages by their name like import { } from '@user/package-a/src/utils.js';. Those tests present in Jest output and are green, but missing in coverage output.
If I add an explicit collectCoverageFrom: [ '**/*.js' ] then I can see those files in coverage having 0%.
Changing an import to a path like import { } from '../../package-a/src/utils.js'; has no effect. Removing node_modules from coveragePathIgnorePatterns doesn't help too.
When I run tests from the packages/tests with --coverage option, all tests in this package are green, but the coverage table is empty.
Adding <rootDir> item to the projects emits right coverage, but runs tests in some packages that it shouldn't (that why projects have not all packages listed).
To Reproduce
Steps to reproduce the behavior:
Run Jest from the root in such monorepo configuration, there will be no coverage.
Expected behavior

Coverage should work as if imports are by path.
Link to repl or repo (highly encouraged)

Repo
yarn
yarn test --coverage

Tests from packages/undercut-tests don't count for coverage of packages/undercut-pull.
envinfo

$ npx envinfo --preset jest
npx: installed 1 in 1.146s

System:
    OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  npmPackages:
    jest: ^24.9.0 => 24.9.0

Jest 26 doesn't solve the issue:
git clone https://github.com/the-spyke/undercut
cd undercut
yarn
yarn test --coverage

@pveyes could you share what your workaround with roots looks like? We're running into this issue currently, I had no idea that cross-module coverage would be ignored. We're currently using projects, like so:
jest.base.config.js // each module config pulls this in and adds customization
modules
|__ a
    |__ jest.config.js
|__ b
    |__ jest.config.js

I am having the following monorepo structure
|___packages
         |_________ foo
         |_________ bar
         |_________ more

My jest config
--collectCoverageFrom=\"<rootDir>/packages/**/src/**/*.(js|ts|tsx)\"

but it seems to be skipping bar. The only difference I can spot between bar and others is that it contains ts files only. However the directory structure is as per the glob mentioned above.
Can anyone tell me how to troubleshoot this?


[WIP] Refactor elements state design and labeling mechanism

This PR addresses all the proposed improvents in #197. It also does a lot of code modularization and simplification (see added lines/ removed lines count) .
Regarding how the labeling mechanism was changed: now any labeling action is applied to all the panels at once. Therefore, this process is synchronized. The synchronization process goes through all the panels state and updates the element in the elements dictionary if it is present.

Codecov Report

Merging #200 (c6afb88) into main (f3d9685) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head c6afb88 differs from pull request most recent head c8d9768. Consider uploading reports for the commit c8d9768 to get more accurate results

@@           Coverage Diff           @@
##             main     #200   +/-   ##
=======================================
  Coverage   83.24%   83.24%
=======================================
  Files          56       56
  Lines        3635     3635
=======================================
  Hits         3026     3026
  Misses        609      609

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove delegation from Sensu service handlers

Delegating tasks to sensu_api_host assumes some particular conditions,
such as there only being one API host, and that the value represents a
hostname under Ansible control, instead of load balancer address.
Remove it completely, as any masters under management should have their
services properly restarted when they reach the same tasks in their own
plays.

I've just tested a bit more today and it seems the current situation with services is unreliable even with a single machine. For example, an API restart should be triggered when the transport configuration changes, but it is not. Also, the Redis configuration is written two times, once in the client and server tasks. It seems wise to split those up into a set of common tasks.

Dumb question: is there any reason common.yml and client.yml can't be combined? (of course client.yml would have to be moved up to where common.yml is now) Either way, thanks for taking the time to improve the PR, it handles one or two other gotchas I found as well. Since it touches a lot of things I'll want to do one more test cycle, but I like how it looks 👍

@smuth4 I do think they can be combined, I didn't do it to avoid changing the structure even more than I already did.
I only had the chance to test with Ubuntu, but it is indeed a good idea to check if FreeBSD and SmartOS really needed those tasks in their particular places.

Thanks for following up, that also solves one or two other gotchas I found. Since it touches a lot of things I'll want to bring it through one more test cycle, but I like the way it's looking 👍

Sorry, didn't mean to let this molder. Thanks for the work!


Fixed #20023, Added eol=lf to .gitattributes file.

Details: https://github.com/yiisoft/yii2/issues/20023

Thanks.


ALSA receiver improvements

Use snd_pcm_set_params to set up the PCM, which should work better on audio devices with unusually small or large buffers.
Add a -v option to see the parameters that ALSA chose.
Change -t to be a target latency instead of a strange ALSA start threshold
Finish the rare short writes

Thanks for debianuser in freenode #alsa for explaining how to actually use all this ALSA stuff.

Thanks Ivan :+1:


[Lab 4.6] Sudoku Solver: Context

5.md
all medium and hard cards associated with 5.md should be separated into steps

not quite understand about the part of seperating into steps. I check the 5.md of Lab4.1, 4.2, 4.5. They do not have steps. But anyway, I separate the context of 5.md file into parts.


Did not get a chance to even do question 2

1 / 6
I know you hit issues with your DB on this one. Let me know if you'd like to take another stab at it and resubmit.


fix: package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:

https://snyk.io/vuln/npm:lodash:20180130

@FerrielMelarpis I upgraded all dependencies to reduce vulnerabilities. New version is 1.0.1.

@nareshbhatia great! Any plan for new features with joinjs?

I am not actively using it myself. Just trying to keep it up-to-date. If you have any ideas, please feel free to submit a PR.


Revert "Allow init & unseal in one go"

Reverts banzaicloud/bank-vaults#8

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


fail to install luacrypto

$  luarocks install luacrypto
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-2.src.rock...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-2.src.rock... switching to 'build' mode
gcc -O2 -fPIC -I/home/lxz/torch/install/include -c src/lcrypto.c -o src/lcrypto.o -I/usr/include
src/lcrypto.c: In function ‘digest_pnew’:
src/lcrypto.c:81:61: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX));
^~~~~~~~~~
src/lcrypto.c: In function ‘digest_reset’:
src/lcrypto.c:120:10: warning: implicit declaration of function ‘EVP_MD_CTX_cleanup’; did you mean ‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration]
if (!EVP_MD_CTX_cleanup(c))
^~~~~~~~~~~~~~~~~~
EVP_MD_CTX_create
src/lcrypto.c: In function ‘encrypt_pnew’:
src/lcrypto.c:331:69: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
EVP_CIPHER_CTX *c = (EVP_CIPHER_CTX *)lua_newuserdata(L, sizeof(EVP_CIPHER_CTX));
^~~~~~~~~~~~~~
src/lcrypto.c: In function ‘encrypt_fencrypt’:
src/lcrypto.c:425:20: error: storage size of ‘c’ isn’t known
EVP_CIPHER_CTX c;
^
src/lcrypto.c: In function ‘decrypt_pnew’:
src/lcrypto.c:470:69: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
EVP_CIPHER_CTX *c = (EVP_CIPHER_CTX *)lua_newuserdata(L, sizeof(EVP_CIPHER_CTX));
^~~~~~~~~~~~~~
src/lcrypto.c: In function ‘decrypt_fdecrypt’:
src/lcrypto.c:561:20: error: storage size of ‘c’ isn’t known
EVP_CIPHER_CTX c;
^
src/lcrypto.c: In function ‘hmac_pnew’:
src/lcrypto.c:604:57: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
HMAC_CTX *c = (HMAC_CTX *)lua_newuserdata(L, sizeof(HMAC_CTX));
^~~~~~~~
src/lcrypto.c: In function ‘hmac_fnew’:
src/lcrypto.c:621:5: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
HMAC_CTX_init(c);
^~~~~~~~~~~~~
HMAC_CTX_new
src/lcrypto.c: In function ‘hmac_clone’:
src/lcrypto.c:631:5: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
*d = *c;
^~
src/lcrypto.c: In function ‘hmac_gc’:
src/lcrypto.c:697:5: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(c);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
src/lcrypto.c: In function ‘hmac_fdigest’:
src/lcrypto.c:711:14: error: storage size of ‘c’ isn’t known
HMAC_CTX c;
^
src/lcrypto.c: In function ‘sign_pnew’:
src/lcrypto.c:747:61: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX));
^~~~~~~~~~
src/lcrypto.c: In function ‘sign_fsign’:
src/lcrypto.c:828:20: error: storage size of ‘c’ isn’t known
EVP_MD_CTX c;
^
src/lcrypto.c: In function ‘verify_pnew’:
src/lcrypto.c:857:61: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX));
^~~~~~~~~~
src/lcrypto.c: In function ‘verify_fverify’:
src/lcrypto.c:940:20: error: storage size of ‘c’ isn’t known
EVP_MD_CTX c;
^
src/lcrypto.c: In function ‘rand_pseudo_bytes’:
src/lcrypto.c:992:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
return rand_do_bytes(L, RAND_pseudo_bytes);
^~~~~~
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/err.h:13,
from src/lcrypto.c:7:
/usr/include/openssl/rand.h:44:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
^
src/lcrypto.c: In function ‘pkey_generate’:
src/lcrypto.c:1064:9: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
RSA *rsa = RSA_generate_key(key_len, RSA_F4, NULL, NULL);
^~~
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/err.h:13,
from src/lcrypto.c:7:
/usr/include/openssl/rsa.h:234:1: note: declared here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
src/lcrypto.c:1074:9: warning: ‘DSA_generate_parameters’ is deprecated [-Wdeprecated-declarations]
DSA *dsa = DSA_generate_parameters(key_len, NULL, 0, NULL, NULL, NULL, NULL);
^~~
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/err.h:13,
from src/lcrypto.c:7:
/usr/include/openssl/dsa.h:117:1: note: declared here
DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
^
src/lcrypto.c: In function ‘pkey_to_pem’:
src/lcrypto.c:1164:27: error: dereferencing pointer to incomplete type ‘struct evp_pkey_st’
if (private && pkey_st->type == EVP_PKEY_DSA)
^~
src/lcrypto.c: In function ‘pkey_tostring’:
src/lcrypto.c:1277:60: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
sprintf(buf, "%s %s %d %p", LUACRYPTO_PKEYNAME, (*pkey)->type == EVP_PKEY_DSA ? "DSA" : "RSA", EVP_PKEY_bits(*pkey), pkey);
^~
src/lcrypto.c: In function ‘seal_pnew’:
src/lcrypto.c:1299:46: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
c->ctx = (EVP_CIPHER_CTX *)malloc(sizeof(EVP_CIPHER_CTX));
^~~~~~~~~~~~~~
In file included from src/lcrypto.c:8:0:
src/lcrypto.c: In function ‘seal_tostring’:
src/lcrypto.c:1320:81: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
s, "%s %p %s", LUACRYPTO_SEALNAME, (void *)c, EVP_CIPHER_name(c->ctx->cipher));
^
src/lcrypto.c: In function ‘seal_fseal’:
src/lcrypto.c:1400:20: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^~~
src/lcrypto.c: In function ‘open_pnew’:
src/lcrypto.c:1483:46: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
c->ctx = (EVP_CIPHER_CTX *)malloc(sizeof(EVP_CIPHER_CTX));
^~~~~~~~~~~~~~
src/lcrypto.c: In function ‘open_fopen’:
src/lcrypto.c:1602:20: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^~~
Error: Build error: Failed compiling object src/lcrypto.o

Same issue here, and it is the same issue described at https://github.com/mkottman/luacrypto/issues/46 .
The solution is to install libssl version 1.0.0 as described at that issue.
However, the most recent linux distros doesn't have libssl1.0 in the repos. I tried to install luacrypto on both Ubuntu 19.04 and in a docker with alpine linux:latest with no results. The docs says that luacrypt is compatible with libssl 0.9.7+ but that's just not true, there was some breaking changes in libssl1.1 and luacrypto has not been updated.
I think the solution is to use an old ubuntu/debian docker image which has libssl1.0 in the repos if you want to insist in lua, pretty bad situation.

The solution is to install libssl1.0-dev, as @lsevero commented. Here you can read the whole thread: https://github.com/rvm/rvm/issues/4764.
Shortly said, what you need to do in debian is mentioned below (i'm running debian 11) It at least compiled after running configure script:

as root edit /etc/apt/sources.list.
add deb http://archive.debian.org/debian-security stretch/updates main
sudo apt update
sudo apt install libssl1.0-dev

The thread mentioned above is kinda old but this is solution if from may2023, so it should work for now.


midiManager.endpoints and midiManager.devices.devices only give an empty list []

Please Confirm

[X] I have reviewed the MIDIKit Documentation which contains descriptive guides and extensive API reference
[X] I have searched Issues and Discussions to see if the same question has already been asked

macOS Version(s) Used to Build
macOS 12 Monterey, macOS 11 Big Sur
Xcode Version(s)
Xcode 14, Xcode 13.3.1
Description
When using the midiManager declared via:
let midiManager = MIDIManager(
        clientName: "name",
        model: "model",
        manufacturer: "blockarchitech"
)

And then trying to list devices:
print(midiManager.devices.devices)
..or
print(midiManager.endpoints.inputs)
..or
print(midiManager.endpoints.outputs)

It will always return
[]

Crash Logs, Screenshots or Other Attachments (if applicable)
No response

Mistyped try midiManager.start(). Whoops!


Deterministic output of generated models

Motivation
When we re-generate models the generator seems to randomly order the properties in the model.
So even if the model had no changes, when you do a diff on one generated model compared to the previous they are different, even though they are the same.
See here for an example of a model that was re-generated using the beta-2 command line kontent generator.
During code reviews people will ask questions on why this was done. It also causes unnecessary noise during code reviews.

Proposed solution
Perhaps just sort all properties alphabetically is an easy fix for this issue. That way everything gets generated the same way all the time.

fixed in https://github.com/Kentico/kontent-generators-net/releases/tag/5.0.0-beta4

You guys rock! Thanks so much.


Hyperparameter Configuration Guidelines for Custom Datasets

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm always frustrated when I try to fine-tune the model with my dataset. I'm currently using Moirai-R models for a feasibility study as part of a demand forecasting model enhancement project. I am finding it challenging to configure various parameters, such as Prediction Time (PDT), Context Length (CTX), Patch Size (PSZ), Batch Size (BSZ), and Test Set Length(TEST), or to set the 'offset', 'eval_length', 'prediction_lengths', 'context_lengths', and 'patch_sizes' parameters in the YAML file located under uni2ts/cli/conf/finetune/val_data. Each of these parameters has a significant impact on the model's performance, and optimizing them remains both challenging and time-consuming. I am particularly facing significant challenges due to the small size of my dataset, which is insufficient for effectively training and testing models. The limited size of the dataset makes it challenging to properly tune and optimize the model, often leading to suboptimal performance and reduced robustness in predictions.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I wonder if it is possible to provide a comprehensive parameter configuration guideline tailored to the characteristics of the dataset, such as its size. I would like to see documentation that can guide users through the process of setting these parameters based on the characteristics of their specific datasets. It can recommend clearly defined parameter ranges and YAML-specific settings. Specific parameter setups could be provided for different scenarios, such as small datasets, large datasets, or models requiring high robustness in predictions. For example, the documentation might include guidance on reducing overfitting with small datasets or improving generalization with limited data points. It would be helpful to include a clear explanation of how each parameter affects the model's performance and predictions. It would be helpful to include a clear explanation of how each parameter affects the model's performance and predictions.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
As an alternative, I attempted to adjust the parameters manually through trial and error. However, this approach proved to be highly time-consuming and inefficient, as it required extensive iterations to identify optimal configurations, especially with a small dataset. I considered implementing grid search or random search to systematically explore parameter combinations. While these methods can find better configurations, they are computationally expensive and not ideal given the limited size of my dataset. Additionally, I followed the instructions provided in the README file of the GitHub repository to fine-tune a pre-trained model on my custom dataset. I created data configuration files and defined the ranges for the hyperparameters as part of the fine-tuning process. However, setting the appropriate ranges for them was difficult, so the performance did not meet my expectations.
Additional context
Add any other context or screenshots about the feature request here.
There are no additional details or screenshots related to this feature request.

Hi @JYDataScience, thanks for your suggestion. Our early versions primarily focused on pre-training and evaluation, while the fine-tuning functionality lacked comprehensive experimental testing and detailed tutorials. I found there is a high demand for fine-tuning in the community. We will improve it in the future. Let me know if you have any other suggestion.


Fix: can't use init or load with a record with correct gradient requi…

Pull Request Template
Changes
Implement a more specific recorder for param which creates a tensor with the same behavior as when creating a normal param.
Testing
Add a basic test with the linear module to validate the behavior.

Looks good to me. If I understood the problem correctly, one cannot load param with require_grad enabled?


Consider supporting the OGC GeoPackage Extension for Tiled Gridded Coverage Data (17-066r1)

Consider supporting the OGC GeoPackage Extension for Tiled Gridded Coverage Data (17-066r1) http://docs.opengeospatial.org/is/17-066r1/17-066r1.html
The document can be found on the main geopackage standard page https://www.opengeospatial.org/standards/geopackage
The extension provides the means of storing raster data such as GeoTIFF-encoded imagery in a GeoPackage.

Support was added a year ago, starting in version 2.0.1.
See:

in geopackage-java
in geopackage-core-java
tests
creation example

That's excellent! Great job.
Thanks.


Documentation minor tweaks

Home

[x] reformulate "Focus on your modelling and less on generate a validation report"

User Guide

[ ] "statistics" leads to "odd" skill page (looks like part of the terminology)

[ ] rm https://github.com/DHI/modelskill/blob/main/docs/user-guide/skill.qmd

Getting Started

[x] "This page describes the typical ModelSkill workflow for comparing model results and observations." -> the most simple workflow; link to workflow page

Selecting

[x] elaborate https://dhi.github.io/modelskill/user-guide/selecting-data.html#comparer-objects (query + selecting from a Collection)

Examples

[ ] Link to all notebooks
[ ] MIKE 21 HD better thumbnail

[x] Hiding other formats #487
[x] Avoid edit this page #487

@ecomodeller plotting section https://dhi.github.io/modelskill/api/plotting.html in API documentation misses the nice subpages you've made e.g. https://dhi.github.io/modelskill/api/plotting.spatial_overview.html - could you please help fixing this (or let me know how to)?

I think it should be enough to add  some contents the the plotting section:
--- a/docs/_quarto.yml
+++ b/docs/_quarto.yml
@@ -93,6 +93,12 @@ website:
             - api/SkillTable.qmd
         - text: "Plotting"
           href: api/plotting.qmd
+          contents:
+            - api/plotting.scatter.qmd
+            - api/plotting.wind_rose.qmd
+            - api/plotting.taylor_diagram.qmd
+            - api/plotting.spatial_overview.qmd
+            - api/plotting.temporal_coverage.qmd
         - text: "Metrics"
           href: api/metrics.qmd
         - text: "Settings"

@ecomodeller - do you know why from_config is not showing in the left pane menu https://dhi.github.io/modelskill/api/from_config.html#modelskill.from_config it is part of _quarto.yml ??? 🤔

Another thing 🙏
@ecomodeller do you know how I remove the odd top part of model and observation api pages?

Nope

Closes #487


Allow queryParams to be passed to constructor

Currently the constructor of ServerRequest looks like this:
https://github.com/Nyholm/psr7/blob/867ce43052cb60e32001a8a0aa825f1830882ad8/src/ServerRequest.php#L45
The PSR says (here) about queryParams:

They MAY be injected during instantiation, such as from PHP's $_GET superglobal, or MAY be derived from some other value such as the URI.

Would it be a good idea to allow them to be injected via the constructor?

I am not sure what we would gain by changing the constructor at this point. I would advise people to always try and use the PSR-17 factories, and that one does not allow for injecting a value for queryParams at instantiation either.
Because of all the MAYs as well as the warning note on ServerRequestInterface::getQueryParams about it not being in sync, I personally wouldn’t even trust the usefulness of the query parameters within the object. Unless, much like with getParsedBody(), a value was set by a middleware under my own control.
Would a change like this make us more compatible with other implementations? Are there any specific reasons why setting the query parameters at the start is super useful?