html-webpack-plugin is outdated

Version
4.5.9
The current used version of the html-webpack-plugin can be seen here<EMAIL_ADDRESS>What is expected?
@vue/cli-service is using html-webpack-plugin 3.2.0 which is slower than html-webpack-plugin 4.5.0 and quite outdated (3 years since the release)
See all information about the html-webpack-plugin 4.x release here: https://dev.to/jantimon/html-webpack-plugin-4-has-been-released-125d
Furthermore for webpack 5.x there will be a html-webpack-plugin 5.x which is in alpha right now

I am the author of the html-webpack-plugin - please let me know if I can be of any help to migrate to a supported version

Hi, I've recently updated to html-webpack-plugin 4 in the dev branch, and an alpha version would be released very soon. It will use webpack 5 by default.
But for now, as the plugin ecosystem hasn't fully caught up with webpack 5, I would like the next version of Vue CLI to also support opting out to webpack 4 compilation.
So I'm wondering if html-webpack-plugin can still keep support for webpack 4?

hey @sodatea
wow cool that sounds great :)
if you need any help e.g. with the template option or anything else just ping me.
Unfortunately webpack 5 is very different from webpack 4 and therefore it is very hard to maintain webpack 4 & 5 with the same html-webpack-plugin - the support plan is the following:

html-webpack-plugin 3.x - out of support - fully compatible to webpack <= 4
html-webpack-plugin 4.x - only bug fixes - fully compatible to webpack 4 & partialy compatible to webpack 5
html-webpack-plugin 5.x - active branch - fully compatible to webpack 5

Please note that html-webpack-plugin 5 is still wip - the current progress can be seen here:
https://github.com/jantimon/html-webpack-plugin/issues/1527

Besides dropping webpack 4 support, will there be any user-facing breaking changes in configuration options? If no, I think I can still find a way to support both versions 🤔

that should be possible there are only 3 breaking changes for html-webpack-plugin 5:

Drop support for appcache-webpack-plugin
scripts are now loaded deferred in the  tag to improve page load performance by default - This can be turned off by setting scriptLoading: ‘blocking’
drop webpack 4 and node <= 10 support

@sodatea html-webpack-plugin 5.x was officially released this week (it is the same code which was released as beta 1 month ago)
did you had any success upgrading vue-cli to a current html-webpack-plugin?

wow so cool thanks a lot @sodatea

@sodatea do you think you could release another alpha with this dependency updated? It stopped working this morning because of this dependency.

Yeah tomorrow.
Today is the last day of my Lunar New Year vacation and I haven't got the time to reach for my computer yet.

Oh cool, thank you. Enjoy your free time 😊

麻烦尽快更新吧，现在项目跑不起来了
ERROR  Failed to compile with 1 error                                                                                下午3:11:04

 Error: The loader "/Volumes/Work/vue3-demo/node_modules/html-webpack-plugin/lib/loader.js!/Volumes/Work/vue3-demo/public/index.html" didn'  t return html.

 - index.js:336 HtmlWebpackPlugin.evaluateCompilationResult
   [vue3-demo]/[html-webpack-plugin]/index.js:336:24

 - index.js:243
   [vue3-demo]/[html-webpack-plugin]/index.js:243:22

 - runMicrotasks

 - task_queues.js:93 processTicksAndRejections
   internal/process/task_queues.js:93:5

 - async Promise.all

 - async Promise.all

@zhangchenna https://github.com/jantimon/html-webpack-plugin/issues/1603

@zhangchenna jantimon/html-webpack-plugin#1603

thank you

Fixed in alpha.4


Adding Heinrich-Mann-Schule Dietzenbach

Hi,
please add Heinrich-Mann-Schule Dietzenbach https://www.hms-dtzb.de/ with both domains:
hms-dtzb.de (Faculty)
heinrich-mann-schule.de (Students)
TIA.
Regards,
Christian Hecker

@hecc79 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


building an enterprise website article

[ ] Reformat subtitle?
[ ] Add padding to the table

Very good article @abelhancock ! The content is super good.

preview of the featured image —


fix: disable fs.cachedChecks for custom watch ignore patterns

Description
We're seeing issues with fs.cachedChecks in Vitest in playgrounds that build a SSR bundle to dist.
Vitest has a default ignore rule that is making files added to dist invisible to the new cache: https://github.com/vitest-dev/vitest/blob/6f5b42b7a8e8a3c2ddb1c6876ea474553d686e28/packages/vitest/src/defaults.ts#L78
While we find a good way to work out these issues (it may be that the tests should be reworked, or that there is a way to support this in the fs cache), this PR disables the cache by default if there are custom rules.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

/ecosystem-ci run


Consider upgrading SharpDX references to resolve package downgrade issues

Consider an empty project like this:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview4" />
    <PackageReference Include="Avalonia.Direct2D1" Version="11.0.0-preview4" />
  </ItemGroup>
</Project>

This looks fairly innocuous, but it will fail to build:
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605:  tests -> Avalonia.Direct2D1 11.0.0-preview4 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> NETStandard.Library 1.6.0 -> System.Console 4.0.0 -> runtime.win.System.Console 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0)
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605:  tests -> Avalonia.Direct2D1 11.0.0-preview4 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem.Primitives (>= 4.0.1)
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605: Detected package downgrade: System.Buffers from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version.
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605:  tests -> Avalonia.Direct2D1 11.0.0-preview4 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Buffers (>=4.3.0)
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605:  tests -> Avalonia.Direct2D1 11.0.0-preview4 -> SharpDX 4.0.1 -> Microsoft.NETCore.App 1.0.5 -> System.Buffers (>= 4.0.0)
C:\Users\alex\source\repos\tests\tests.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
... snip ...

(For whatever reason, this only happens when RuntimeIdentifier=win10-x64 is in the project file and Avalonia.Diagnostics is referenced.)
An easy fix to this is to manually reference a newer SharpDX version:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview4" />
    <PackageReference Include="Avalonia.Direct2D1" Version="11.0.0-preview4" />
    <PackageReference Include="SharpDX.Direct2D1" Version="4.2.0" />
    <PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
  </ItemGroup>
</Project>

Seems like Avalonia should just upgrade its SharpDX references so users don't run into this.

Would like to see D2D backend alive again because it can provide the best performance on Windows. By using D2D we can bypass the GDI redirection surface and composite with DWM directly with no other overhead.

We are already using WS_EX_NOREDIRECTIONBITMAP. Without Direct2D.


mutex.eo:33-35: We need to count numbers of locks and...

The puzzle 12-aaf1d833 from #12 has to be resolved:
https://github.com/objectionary/eo-threads/blob/08fdbbedac47aba121044e8268b538774231380a/src/main/eo/org/eolang/threads/mutex.eo#L33-L35
The puzzle was created by @levBagryansky on 15-Sep-22.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd 3 puzzles #51, #52, #53 are still not solved.

@0pdd 2 puzzles #52, #53 are still not solved; solved: #51.

@0pdd the puzzle #52 is still not solved; solved: #51, #53.

@0pdd all 3 puzzles are solved here: #51, #52, #53.

The puzzle 12-aaf1d833 has disappeared from the source code, that's why I closed this issue.


Fix setting tests

These address #1315, and the last two commits make minor changes to the production code.  The 3rd commit makes full_name have a default, but then the 4th commit raises an error neither full_name or new_password is provided.  They seem like contradictory goals, but I want to make it so that somebody submitting a new password doesn't have to submit full_name and possibly spuriously create a name change.  But then I also don't want people to confused by apparently successful post requests that don't actually change any data.
In the long run, the better plan here might be to just throw out the legacy API and go to a "patch" strategy, but that's more work.  But if that is the end goal, it might be fine to just take the first two commit series from the series and abandon the last two for now.
Because I wanted you to weigh in on the last commit, I didn't put any auto-close wording in the commit messages, but if you push the first two, you can close #1315.

Also, right after pushing this, I made a tiny change and pushed again, and it's not apparent that github/travis picked it up.  I forgot to enclose a string in _(), and then I forgot to lint.

These all seem like clear improvements, thanks @showell!  We'll eventually want to move these to use the REST API (see #614), but I think the "require full_name" code was all just legacy stuff from when the only setting you could change was your name in some super-early version.


Is it considered to add a compression time setting in v4

Note: for reported bugs, please fill in the following details. bug reports without detailed steps on how to reproduce will be automatically closed.

Dragonboat version
v4
Question
When I use etcd, I can set the compression time and don't need to care about the compression entries, I don't know if dragonboat supports this feature, a lot of times for compression, I can determine the time factor but can't confirm the fixed number of entries

I am not familiar with that feature in etcd and sorry that I still couldn't fully understand what is expected to be achieved with compression time. Any chance you can provide more details, maybe by providing a concrete example on what you need?
thanks,


Add key features

I missed this bit of the FAQs somehow, gives a variety of options to choose from: https://docs.raku.org/language/faq#Why_should_I_learn_Raku?_What's_so_great_about_it?


Fix is_monotonic methods for more than 8 partitions

[x] Closes #8951
[x] Tests added / passed
[x] Passes pre-commit run --all-files

Thanks @jsignell ! I've attrached some comments to your PR, basically about unifying the functions for the increasing and decreasing cases (and adding annotations since this is new code). Aside from that, I think the issue is solved now!

@jorloplaz Thanks for taking a look at this PR! Just to confirm, I don't see your comments, maybe they're still in the draft state?

It said "pending", so I reproduce them here. Basically I suggest unifying functions instead of duplicating them with the only difference of increasing/decreasing, something like this:
def monotonic_chunk(x: pd.Series) -> pd.DataFrame:
    return pd.DataFrame(data=data, columns=["monotonic", "first", "last"])

def monotonic_combine(concatenated: pd.DataFrame, is_monotonic_prop: str) -> pd.DataFrame:
    if concatenated.empty:
        data = None
    else:
        s = pd.Series(concatenated[["first", "last"]].to_numpy().ravel())
        is_monotonic = concatenated["monotonic"].all() and getattr(s, is_monotonic_prop)
        data = [[is_monotonic, s.iloc[0], s.iloc[-1]]]
    return pd.DataFrame(data, columns=["monotonic", "first", "last"])

def monotonic_aggregate(concatenated: pd.DataFrame, is_monotonic_prop: str) -> bool:
    s = pd.Series(concatenated[["first", "last"]].to_numpy().ravel())
    return concatenated["monotonic"].all() and getattr(s, is_monotonic_prop)

And then calling them with is_monotonic_prop = "is_monotonic_increasing" or is_monotonic_prop = "is_monotonic_decreasing", respectively.

LGTM :+1:  Thanks @jsignell !


:sparkles: Support Flatcar

/kind feature
Describe the solution you'd like
I think its nice to use flatcar as image inside Hetzner to build CAPI clusters.
Therefore you need (best case):

Kubernetes Image Builder support for Hetzner (or you can build your own flatcar image using packer as described in this repo with Hetzners rescue system)
But more important: ignition support for this provider

Feature Request
So the resulting feature request is ignition support for this provider to support flatcar bootstrapping.

Update for all interested users: There was a PR in the image-builder project to build hcloud images which includes flatcar images. See https://github.com/kubernetes-sigs/image-builder/pull/1170

Can be used with custom image-builder image.


chore: use node20 in cargo-sweep action

Description
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Allow CI Workflow Run

[ ] approve CI run for commit: 03b3d4d82ff19a83a751588f94d1c81a4517d914

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Allow CI Workflow Run

[ ] approve CI run for commit: 03b3d4d82ff19a83a751588f94d1c81a4517d914

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer


Inference time

Hi, I'm grateful for your excellent work! I've implemented the code as per the instructions, and it runs without errors. However, the inference time is slow, approximately 176 seconds per iteration. I tested it on an 80G A100 GPU, and it seems to be using around 71G of GPU memory. Is this normal?

Thats odd, with a google A100 for motion-06 its peaking at 12.2GB
100% 20/20 [01:21<00:00,  4.05s/it]
100% 116/116 [00:04<00:00, 27.11it/s]

Thats odd, with a google A100 for motion-06 its peaking at 12.2GB
100% 20/20 [01:21<00:00, 4.05s/it] 100% 116/116 [00:04<00:00, 27.11it/s]

How did you get that? With a RTX 4090 I get much more VRAM usage than that number.

Here is my config file using motion-06
num_inference_steps: 20
guidance_scale: 6
enable_zero_snr: true
weight_dtype: "fp16"
guidance_types:

'depth'
'normal'
'semantic_map'
'dwpose'

noise_scheduler_kwargs:
num_train_timesteps: 1000
beta_start:          0.00085
beta_end:            0.012
beta_schedule:       "linear"
steps_offset:        1
clip_sample:         false
unet_additional_kwargs:
use_inflated_groupnorm: true
unet_use_cross_frame_attention: false
unet_use_temporal_attention: false
use_motion_module: true
motion_module_resolutions:

1
2
4
8
motion_module_mid_block: true
motion_module_decoder_only: false
motion_module_type: Vanilla
motion_module_kwargs:
num_attention_heads: 8
num_transformer_block: 1
attention_block_types:

Temporal_Self
Temporal_Self
temporal_position_encoding: true
temporal_position_encoding_max_len: 32
temporal_attention_dim_div: 1

guidance_encoder_kwargs:
guidance_embedding_channels: 320
guidance_input_channels: 3
block_out_channels: [16, 32, 96, 256]
enable_xformers_memory_efficient_attention: true


select field issue with String ID

I'm having an issue with using a String for the valueField in a select. When I select a new item from the select the cell goes blank.
    $("#jsGrid").jsGrid({
        editing: true,
        data: db.apps,
        fields: [
    {name: "source", title:"Source", type: "select", items: db.sources, valueField: "Id", textField: "Name"}
    ...
    db.sources = [
        { Name: "Label1", Id: "LABEL1" },
        { Name: "Label2", Id: "LABEL2" }
    ];

See:  http://jsbin.com/repexoyuqi/  (click a row, change the select value, click the first button on the control cell)

Yes, current SelectField implementation inherits NumberField and parses selected value to number. Of course, it should work for strings too.
For now there is a workaround.
Redefine editValue (filterValue and insertValue if filtering and inserting is needed) to avoid parsing.
(link to field config http://js-grid.com/docs/#fields)
{ name: "source", title:"Source", type: "select",
  items: db.sources, valueField: "Id", textField: "Name"
  editValue : function() { return this.editControl.val(); }, // for editing
  filterValue : function() { return this.filterControl.val(); }, // for filter
  insertValue : function() { return this.insertControl.val(); } // for insert
}

You also could define new field to avoid grid config cluttering. Just register a new field inheriting from jsGrid.SelectField with following code:
function TextSelectField(config) {
    jsGrid.SelectField.call(this, config);
}

TextSelectField.prototype = new jsGrid.SelectField({

    sorter: "string",

    filterValue: function() {
        return this.filterControl.val();
    },

    insertValue: function() {
        return this.insertControl.val();
    },

    editValue: function() {
        return this.editControl.val();
    }
});

jsGrid.fields.textSelect = TextSelectField;

Now you can use this field just like before, but specify type="textSelect"instead of type="select"

I've tried 1st variant, without creating the new type, so after editing displayed text disappearing.
P.S. How you can do id as numeric? You never know, what type id is. Might be GUID, what is mandatory for MSSQL database with replication enabled, might be completely something else. During more than 2 decades of DB development I seen large variety of ID types. Some serious accounting systems even using varchars of 20-30 symbols length. That's why I always using string type for id, what never fails and never trying to convert it to something else, or to analyze.
In long run it saves a lot of time. Eg. in begin designed system with ints later can change id type to something else, when you have them as string, you never in trouble...


Allow outputting the commands that will be run without running them

It would be really helpful to allow outputting the commands that will be run without running them.
That way the commands could be used to generate a dynamic matrix for GitHub Actions, and the feature runs could be split over multiple instances.

Filed #175. Could you confirm that it is the interface you were expecting?

Oh wow that was fast. Taking a look 👀.


Refactor the Alias node to avoid ambiguity

Description
Refactor the Alias node to avoid ambiguity. See https://github.com/opensearch-project/opensearch-spark/issues/974 for details.
Related Issues
Resolves https://github.com/opensearch-project/opensearch-spark/issues/974
Check List

[ ] Updated documentation (docs/ppl-lang/README.md)
[ ] Implemented unit tests
[ ] Implemented tests for combination with other commands
[ ] New added source code should include a copyright header
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

CI required to rerun when https://github.com/opensearch-project/opensearch-spark/pull/976 merged.


Scaling issue

Using the drawer while being zoomed in using Alt-Click leads to parallax between mouse and the line being drawn.
The same thin happens in full-screen mode.
Occurs in the demo page itself.

You can fix this by yourself.
Provide this code in your HTML:
`function updateCanvasSize() {
$("canvas.revealjs-drawer_canvas").attr("width" ,$("#sections").width());
$("canvas.revealjs-drawer_canvas").attr("height", $("#sections").height());
}
$( window ).resize(function() {
updateCanvasSize();
});
`


audit: enforce https for github.com urls

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Several GitHub-related URL combinations were enforced for HTTPS, but a plain http://github.com/ URLs weren't. This PR attempts to fix this.
Ref: https://github.com/Homebrew/homebrew-core/pull/9690

Any comments/concerns/objections for this change?

Thanks!


Bug fixes to h2 buffering

[approve ci autest]

Cherry picked to 9.0.x branch

Cherry-picked to 8.1.x


document the theme usage with styled-components

I load my theme with red color.
Then change it to blue - i can see that it changes but then goes black (it's a problem).
After i refresh my page my theme is blue(if i saved it) or red.
import styled from 'styled-components'
import React from 'react'
import Select from '@material-ui/core/Select'
import { styled as styledMaterial } from '@material-ui/styles'
import { withTheme } from '@material-ui/styles'

export const StyledSelect = withTheme()(
  styledMaterial(({ children, ...other }) => (
    <Select {...other}>{children}</Select>
  ))({
    color: props => props.theme.primaryColor,
    test: props => console.log(props.theme.primaryColor)
  })
)

In console i have always last color - blue/red, and no black one.
Why it's behave like this and changed it to black like something is broken?

@oliviertassinari here is the example.

@BofEmptiness There are two issues here:

I would use the styled-component theme provider to inject the Material-UI theme. I think that we should document it in https://material-ui.com/guides/interoperability/#styled-components. I'm adding the "first good issue" flag
You need to change the CSS injection order so styled-components takes precedence. I have had some good discussing with @jgoux about how to simplify the API in @material-ui/styles.

What do you think of this?:
import React from "react";
import Select from "@material-ui/core/Select";
import { styled } from "@material-ui/styles";
import MenuItem from "@material-ui/core/MenuItem";

const StyledSelect = styled(Select)({
  color: props => props.color
});

class Index extends React.Component {
  state = {
    theme: { color: "green" }
  };

  handleMouse = () => {
    this.setState({
      theme: { color: "red" }
    });
  };

  render() {
    return (
      <StyledSelect
        color={this.state.theme.color}
        value="primaryColor"
        onMouseOver={this.handleMouse}
      >
        <MenuItem value={"primaryColor"}>Основной цвет</MenuItem>
        <MenuItem value={"secondaryColor"}>Второй цвет</MenuItem>
      </StyledSelect>
    );
  }
}

export default Index;

@oliviertassinari as you linked to me a batter way i don't need this anymore.
https://material-ui.com/guides/interoperability/#styled-components

From a bundlesize perspective, you will be better off using @material-ui/styles.

I look into it, thanks.


Fix mobile targets

see commit details

merging this after last conversation with @luckysori and @da-kami to just go ahead with project setup if I am blocked (we can always tune things later on).


Fix #3645 (Copy Local)

$(Split) refers to a MSBuild property, not the item metadata that we declared a couple lines above.
As such, this was always false, and the CopyLocal metadata was never set. Hence, a few lines down, we never set ExcludeAssets to runtime.

thanks so much!


Support --recursive

python -m compressai.utils.eval_model pretrained -a mbt2018 {--recursive,-R} /mnt/ImageNet/val/ will eval subdirectories recursively.

done in b1a4cae


How to solve MethodError: no method matching sample in Turing

When I try to replicate this Turing code:
@model linreg(X, y; predictors=size(X, 2)) = begin
    #priors
    α ~ Normal(mean(y), 2.5 * std(y))
    β ~ filldist(TDist(3), predictors)
    σ ~ Exponential(1)

    #likelihood
    y ~ MvNormal(α .+ X * β, σ)
end;

chain = sample(model, NUTS(), Threads.nthreads(), 2_000, 4)

I get this error:
ERROR: MethodError: no method matching sample(::DynamicPPL.Model{var"##inner_function#302#2", NamedTuple{(:X, :y), Tuple{Matrix{Float64}, Vector{Int64}}}, DynamicPPL.ModelGen{(:X, :y), var"###linreg#328", NamedTuple{(), Tuple{}}}, Val{()}}, ::NUTS{Turing.Core.ForwardDiffAD{40}, (), AdvancedHMC.DiagEuclideanMetric}, ::Int64, ::Int64, ::Int64)
Closest candidates are:
  sample(::AbstractMCMC.AbstractModel, ::Turing.Inference.InferenceAlgorithm, ::Integer; resume_from, kwargs...) at C:\Users\x\.julia\packages\Turing\LONxt\src\inference\Inference.jl:151
  sample(::ModelType, ::SamplerType, ::Integer; kwargs...) where {ModelType<:AbstractMCMC.AbstractModel, SamplerType<:AbstractMCMC.AbstractSampler} at C:\Users\x\.julia\packages\AbstractMCMC\pi3j6\src\AbstractMCMC.jl:188
  sample(::DynamicPPL.Model, ::IPMCMC) at C:\Users\x\.julia\packages\Turing\LONxt\src\contrib\inference\AdvancedSMCExtensions.jl:282
  ...
Stacktrace:
 [1] top-level scope
   @ REPL[75]:1

And when I try:
chain = sample(model, NUTS(), MCMCThreads(), 2_000, 4)
I get this error:
chain = sample(model, NUTS(), MCMCThreads(), 2_000, 4)
ERROR: UndefVarError: MCMCThreads not defined
Stacktrace:
 [1] top-level scope
   @ REPL[84]:1

However, I have already defined:
env JULIA_NUM_THREADS=2 julia
So that:
Threads.nthreads()
2

And finally, when I try:
parameters = (
    warmup = 1000,
    steps = 3000
);

chain = sample(model, NUTS(parameters.warmup, 0.95; max_depth=10), parameters.steps + parameters.warmup)

I get this error:
ERROR: UndefVarError: filldist not defined
Stacktrace:
  [1] macro expansion
    @ C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\compiler.jl:452 [inlined]
  [2] macro expansion
    @ .\REPL[136]:4 [inlined]
  [3] (::var"##inner_function#466#10")(vi#463::UntypedVarInfo{DynamicPPL.Metadata{Dict{VarName, Int64}, Vector{Distribution}, Vector{VarName}, Vector{Real}, Vector{Set{DynamicPPL.Selector}}}, Real}, sampler#464::SampleFromPrior, ctx#462::DefaultContext, model#465::Model{var"##inner_function#466#10", NamedTuple{(:X, :y), Tuple{Matrix{Float64}, Vector{Int64}}}, ModelGen{(:X, :y), var"###linreg#492", NamedTuple{(), Tuple{}}}, Val{()}})
    @ Main C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\compiler.jl:591
  [4] #_#3
    @ C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\model.jl:24 [inlined]
  [5] Model
    @ C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\model.jl:24 [inlined]
  [6] VarInfo
    @ C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\varinfo.jl:138 [inlined]
  [7] VarInfo
    @ C:\Users\x\.julia\packages\DynamicPPL\nsoCZ\src\varinfo.jl:137 [inlined]
  [8] Sampler(alg::NUTS{Turing.Core.ForwardDiffAD{40}, (), AdvancedHMC.DiagEuclideanMetric}, model::Model{var"##inner_function#466#10", NamedTuple{(:X, :y), Tuple{Matrix{Float64}, Vector{Int64}}}, ModelGen{(:X, :y), var"###linreg#492", NamedTuple{(), Tuple{}}}, Val{()}}, s::DynamicPPL.Selector)
    @ Turing.Inference C:\Users\x\.julia\packages\Turing\LONxt\src\inference\hmc.jl:304
  [9] Sampler
    @ C:\Users\x\.julia\packages\Turing\LONxt\src\inference\hmc.jl:302 [inlined]
 [10] sample(model::Model{var"##inner_function#466#10", NamedTuple{(:X, :y), Tuple{Matrix{Float64}, Vector{Int64}}}, ModelGen{(:X, :y), var"###linreg#492", NamedTuple{(), Tuple{}}}, Val{()}}, alg::NUTS{Turing.Core.ForwardDiffAD{40}, (), AdvancedHMC.DiagEuclideanMetric}, N::Int64; resume_from::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Turing.Inference C:\Users\x\.julia\packages\Turing\LONxt\src\inference\Inference.jl:159
 [11] sample(model::Model{var"##inner_function#466#10", NamedTuple{(:X, :y), Tuple{Matrix{Float64}, Vector{Int64}}}, ModelGen{(:X, :y), var"###linreg#492", NamedTuple{(), Tuple{}}}, Val{()}}, alg::NUTS{Turing.Core.ForwardDiffAD{40}, (), AdvancedHMC.DiagEuclideanMetric}, N::Int64)
    @ Turing.Inference C:\Users\x\.julia\packages\Turing\LONxt\src\inference\Inference.jl:158
 [12] top-level scope
    @ REPL[139]:1

How can I solve this? I saw this related discussion but it does not apply to my case. Also posted here. Thanks in advance for any help.

There are two different things going on here, it seems.
First of all, the call
sample(model, NUTS(), Threads.nthreads(), 2_000, 4)

is wrong. As in the original reference, and as you tried as well, you should use
sample(model, NUTS(), MCMCThreads(), 2_000, 4)

All other issues should not occur if you use a recent version of Turing. Can you check if you imported Turing with using Turing and you use a recent version of Turing?

This is my Turing version. Still getting error.
status Turing
Status `C:\Users\x\.julia\environments\v1.7\Project.toml`
[fce5fe82] Turing v0.8.2

]rm Turing
]add Turing

status Turing
Status `C:\Users\x\.julia\environments\v1.7\Project.toml`
[fce5fe82] Turing v0.8.2

chain = sample(model, NUTS(), MCMCThreads(), 2_000, 4)

chain = sample(model, NUTS(), MCMCThreads(), 2_000, 4)
ERROR: UndefVarError: MCMCThreads not defined
Stacktrace:
 [1] top-level scope
   @ REPL[84]:1

BTW the first call was just a desperate attempt after multiple failures to call Turing using what seemed like a correct way but which didn't work.

Status `C:\Users\x\.julia\environments\v1.7\Project.toml`
[fce5fe82] Turing v0.8.2

This is a very very old version of Turing. The latest release is 0.20.4. It seems some other package holds back Turing. You can check what the problem is by running
julia> ] add<EMAIL_ADDRESS>
in the Julia REPL.
I see that you install Turing in the default environment. To avoid conflicts with other packages I strongly recommend working with project environments: https://pkgdocs.julialang.org/v1/environments/

Thanks @devmotion. Indeed, the problem I was having was because of conflicts with other packages. Working with project environments solved the problem.


Treat Wounds Macro - Medic, and Robust Health circumstance bonuses are stacking

The Medic Archetype provides the following circumstance bonus to healing received by the target(s) of it's treat wounds:

When you succeed with Battle Medicine or Treat Wounds, the target gains a circumstance bonus to the number of Hit Points they regain equal to 5 HP at DC 20, 10 HP at DC 30, or 15 HP at DC 40.

The Robust Health General feat provides a similar bonus:

Your physiology responds well to first aid. You gain a circumstance bonus to the number of Hit Points you regain equal to your level from a successful attempt to Treat your Wounds or use Battle Medicine on you.

The problem is when you roll the systems treat wounds macro, it applies an untyped bonus for healing directly on the roll, therefore when the healing is applied to a target with Robust Health there is an incorrect stacking of the circumstance bonus:

Covered by #15855 already. The entire macro needs redone


testing required on 3bot deployer

[ ] let capacity pool which is used for 3bot expire, can we still import and continue?
[ ] do automatic backup, check after X days that the backup indeed was there and we got 3bot back after deleting it
[ ]

complete this test plan, let kristof see

3bot deploying is blocked in both mainnet and testnet due to these two issues :

mainnet : https://github.com/threefoldtech/js-sdk/issues/2150

testnet : https://github.com/threefoldtech/tfexplorer/issues/272

3bot deploying is blocked in both mainnet and testnet due to these two issues :

mainnet : https://github.com/threefoldtech/js-sdk/issues/2150

testnet : https://github.com/threefoldtech/tfexplorer/issues/272

as deploying 3bot on mainnet still blocked , so i created since 2 days threebot on testnet but all the setup there gone due to testnet reset action , and when trying to create again on testnet i got an error reported here https://github.com/threefoldtech/js-sdk/issues/2211

as deploying 3bot on mainnet still blocked , so i created since 2 days threebot on testnet but all the setup there gone due to testnet reset action , and when trying to create again on testnet i got an error reported here https://github.com/threefoldtech/js-sdk/issues/2211

new 3bot deployed now after funding the wallet of testnet 3bot deployer machine .

new 3bot deployed now after funding the wallet of testnet 3bot deployer machine .

restoring the 3bot after expired is not working fine , reported here https://github.com/threefoldtech/js-sdk/issues/2233

restoring the 3bot after expired is not working fine , reported here https://github.com/threefoldtech/js-sdk/issues/2233

test scenario done successfully, the backup restored and 3bot back to work smoothly with all configuration, wallets, packages , workloads, added admins .
for more info screenshots added here https://github.com/threefoldtech/js-sdk/issues/2233#issuecomment-760202943 .

test scenario done successfully, the backup restored and 3bot back to work smoothly with all configuration, wallets, packages , workloads, added admins .
for more info screenshots added here https://github.com/threefoldtech/js-sdk/issues/2233#issuecomment-760202943 .

* [ ]  do automatic backup, check after X days that the backup indeed was there and we got 3bot back after deleting it

P.S :

destroying the 3bot instance is going to delete all its backup snapshots , so no way to get it back with the previous state .
so i just wait till it's pool expired so it's stopped automatically , then start it and the backup restored successfully.

* [ ]  do automatic backup, check after X days that the backup indeed was there and we got 3bot back after deleting it

P.S :

destroying the 3bot instance is going to delete all its backup snapshots , so no way to get it back with the previous state .
so i just wait till it's pool expired so it's stopped automatically , then start it and the backup restored successfully.

@despiegk  the backup test scenario done here and it's working fine after the pool expired and renewed .

@despiegk  the backup test scenario done here and it's working fine after the pool expired and renewed .


Chinese interface completed！

I have finished the Chinese interface of this artifact, I would like to ask if you mind if I make it public to let more people know how cool this tool is (such as Nexusmods), of course, I will indicate the source and author,  And attach the GitHub site to bring you more stars, or I'll send you the file for you to publish publicly.  These are all fine.  I personally prefer the latter.  What do you think?

Nice work, congratulations!
I don't mind if you'll make your work public. But I'll ask you to share it yourself as I actually don't have former passion to this project and right now I'm busy with other Python tasks.

This is the address of the nexus network
https://www.nexusmods.com/eldenring/mods/3805/?tab=files

Saw the screenshot. Your UI looks pretty and clean!
But checj if that your file can be downloaded from Nexus. It marked it as suspicious. I fixed that by sending letter to Nexus support so they would check it manually and make it downloadable.

I found this report, but I don't know how to solve it. I heard that you have sent a message to n.com, thank you very much.

Here is my message to support, may be will be useful for you.
I want to to publish my utility here:
{NexusMods link}

Unfortunately, some of VirusTotal checks think that my utility has viruses, but actually it has not. I made my utility with Python language, and used it's tools to convert it to .exe. And that's a usual problem that some antiviruses thinks that every .exe file that was made via Python is suspicious.

If it's possible, I ask you to review it manually and allow me to publish it.

Thank you!

I have never posted mods on Nexus website before, and I don't know who you are sending the information to. Can you provide me with your email address or shipping address? This Chinese version still reports a toxic state.

I just wrote to<EMAIL_ADDRESS>


Connected nodes are in the state of "Unit is never entered."

Connected nodes are in the state of "Unit is never entered.

fixed ed6d8807711826bafada25f4c2aee2a9905511e4


JBPM-5530 - Review case-mgmt related packages to use workbench instea…

…d of console-ng

@cristianonicolai nice! all good to go once conflicts are resolved, imo.


New serverlets

JSON portion of Week 3
THis change attempts to :

Modify DataServlet to contain an ArrayList variable containing a few hard-coded messages. Keep it simple! An ArrayList containing three hard-coded values is good enough.

Modify DataServlet so its doGet() function returns the ArrayList as a JSON string. Confirm this works by running a dev server and navigating to the /data URL in your browser.

Need to push?

I actually think most of the chnages in the Update were rendered more effiecntly so I do not think i need to push !

Ah ok. Do you want to close this PR in favor of the other one?


Linking to indexer for on-chain information about assets and collections

Ensure that all tokens and collections have a link-out to view on-chain data via BetterCall-Dev

Closing, handled in #242


Split eth-types Error

Close https://github.com/appliedzkp/zkevm-circuits/issues/294
Move bus-mapping related errors out of eth-types.

moved to https://github.com/appliedzkp/zkevm-circuits/pull/304


WordPress.WP.I18n.MissingTranslatorsComment for %d

WordPress.WP.I18n.MissingTranslatorsComment should not report for %d placeholders, since %d is sufficiently specific for every translator to know it's a number

Thank you for raising this topic,
I do not agree with your assessment however, though I'm open to hearing more opinions.

since %d is sufficiently specific for every translator to know it's a number

WordPress tries to be an open community to people of all skill levels. While experienced translators may know that %d signifies a number, beginner translators may not.
While %d is always a number, what that number signifies can make a significant difference to how the "translation" is done,
Consider the following examples:"Page %d" <= This is clear enough.
"%1$d/%2$d/%3$d" <= This is absolutely unclear without a translators comment - is this mm/dd/yyyy ? yyyy/mm/dd ? etc

this is true, but this is something you'd be able to figure out with 10 seconds of googling
true for multiple placeholders - however I meant to not report for %d only (= if there is only 1 placeholder)


Areas of Improvement in Reverse Shell

The REVERSESHELL has areas that need improvement. These areas/tasks are listed in the README file.

It will be closed now


Simple print command not working

From @roberti on November 8, 2018 9:43
Issue Type: Bug
the code in file foo.py is:
# simple print
print('hell')

The result is:
Exception has occurred: AttributeError
'NoneType' object has no attribute 'write'
File "C:\Projetos\Faculdade\POO\python\datas.py", line 4, in
print('hell')
It is working perfectly in python console. Does not work in Visual Studio Code.
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.86GB (2.44GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

anaconda-extension-pack
ms-
1.0.1

python
ms-
2018.9.2

Copied from original issue: Microsoft/vscode#62771

From @vscodebot[bot] on November 8, 2018 9:43
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Print Code (#40355)
Allow to print the editor contents (#7076)
Add Printing Option (#26863)
print function is unfunctional (#59026)

How do you run the file from VS Code? What is the Python console you mention?

From @roberti on November 8, 2018 15:32
It is really that simple as it sounds. But, lets go...
How do you run the file from VS Code? (F5, configured to run in integrated terminal)
What is the Python console you mention? (VS Code console, type python and voila. From command prompt type python and voila!)

From @roberti on November 8, 2018 15:34
Even other simple samples are not running on VS Code like this one.
from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return "Welcome to machine learning model APIs!"

if __name__ == '__main__':
    app.run()

The error:
xception has occurred: AttributeError
'NoneType' object has no attribute 'isatty'
File "C:\Projetos\Faculdade\POO\python\foo.py", line 9, in
app.run()

Mind sharing your settings.json?
You can open it by CTRL + SHIFT + P -> Preferences: Open Settings (JSON)
Also, did you config any environments on VSCode? How is it configured?
When you tried running via other IDEs, did you use the same envs to debug, and it worked??
Could you try typeof('hell') to see if it recognizes as NoneType?
When you changed the run code key, did you also change the debug keys that use F5? (Continue/Start)

json file attached.
settings.json.txt
no envs configured (new laptop installation, no work done here still now). just intalled some IDEs and run dummy samples to check the installation (standard procedure).
used same package and files to test in all different tools
typeof does not exist... but type('hell') works (actually it does not produce any output in a .py file inside vs code, but the line is executed with no exception raised).
no keys changed.

Same path as other IDEs...
C:\ProgramData\Anaconda3\
But... as you mentioned it now I made some new tests...
I don't know why, but the default executable set is "pythonw.exe" (I really didn't realized that w there untill now, I'm sorry).
Changing to "python.exe" the things work. With "pythonw.exe" the problem occurs. Actually I googled it and found the difference, and seems that the error is actually the normal behaviour for pythonw.exe.
Just can't imagine why that executable was set as default in the instalation process (I've installed VS Code through the end of Anaconda instalation).
Anyway, thank you for the assistance!
And very sorry for not have seen that before (I really had read all the settings.json relevant attributes - python path included, and didn't see that).
Best regards!
Waldemar

After I installed 64bit anaconda recently and vs code from anaconda it works exactly like yours. I think it is a mistake from anaconda.

I Agree. Probably this behaviour came from the anaconda installer. It is very time consuming - specially for people that uses python occasionaly. Is there a way to report it to anaconda?


Make stock object's GetHashCode() repeatable for classes with fields

Fixes #1264
Changes proposed in this pull request:

Core.js behavior when fields are detected

Thank you for the pull request! We will review.

Hi @d-p-y,
Thank you for the Pull Request!
And yes, unfortunately, it breaks a couple of tests. Could we try this approach - I created a Live Example for the tests that fail so that you could check the fix.
One note from my side, default parameters are not supported in IE. I would suggest using an alternative construction in a function body like:
var b = typeof b !== 'undefined' ?  b : 1;

Leonid,
I've changed implementation - it doesn't break tests 341,467, 470 anymore. It does it by implementing additional requirements for GetHashCode() as needed for Bridge.net tests.
I suggest to give function a comment as I did in my updated PR. Otherwise it is difficult to know its extra goals that are not present in CLR specification.
Hope it is useful now.
Kind regards
Dominik

@d-p-y,
Yes, the code works just perfect; merged to master for 1.13 release.
Just added a test
Thank you!


How to access the metada information?

Hello,
I couldn't able to access the metadata information from an uploaded video. Below you can find the details

Please help me..
Regards,
Varma

Could you provide a self-contained script that reproduces the problem? The metadata method should return a hash, not a string, so something weird happened.

My uploader file
class FlvUploader < Shrine
    Attacher.transloadit_processor do
      import = file.transloadit_import_step
      encode = transloadit_step("encode", "/video/encode", use: import)
      thumbs = transloadit_step("thumbs", "/video/thumbs", use: import)

      export = store.transloadit_export_step(
        use: [encode, thumbs],
        path: "${file.meta.relative_path}/${file.id}"
      )

      assembly = transloadit.assembly(
        steps: [import, encode, thumbs, export],
        notify_url: "XXXXXXXX",
        fields: {
          attacher: {
            record_id: record.id,
            name: name,
            data: file_data,
          },
        }
      )
      assembly.create!
    end

    Attacher.transloadit_saver do |results|
      transcoded = store.transloadit_file(results["encode"])
      thumbnails = store.transloadit_files(results["thumbs"])

      upload_derivatives({ transcoded: transcoded, thumbnails: thumbnails })
    end
end

Notify call back URL code
def video
      # Shrine.transloadit_verify!(params) # verify transloadit signature

      # response = JSON.parse(params["transloadit"])

      response = params["transloadit"]

      record_id, name, file_data = response["fields"]["attacher"].values
      record_class = "Klass"
      record_class = Object.const_get(record_class)

      attacher = record_class.send(:"#{name}_attacher")
      derivatives = attacher.transloadit_save(response["results"])

      begin
        record   = record_class.find(record_id)
        attacher = Shrine::Attacher.retrieve(model: record, name: name, file: file_data)
        attacher.merge_derivatives(derivatives)

        attacher.atomic_persist
        record.is_converted = true
        record.save
      rescue Shrine::AttachmentChanged, ActiveRecord::RecordNotFound
        attacher.destroy_attached # delete orphaned processed files
      end

      # return successful response for Transloadit
      render(status: 200, json: {})
end

My Shrine config file
require "shrine"
require "shrine/storage/s3"

s3_options = {
  bucket: "XXXX", # required
  access_key_id: "XXXXXXX",
  secret_access_key: "XXXXXXXX",
  region: "XXXXXXX",
}

Shrine.storages = {
  cache: Shrine::Storage::S3.new(prefix: "transloadit/cache", upload_options: { acl: "public-read" }, **s3_options),
  store: Shrine::Storage::S3.new(prefix: "transloadit", upload_options: { acl: "public-read" }, **s3_options),
}

# transloadit plugin configuration
Shrine.plugin(:transloadit,
  auth: {
    key: "XXXXXXX",
    secret: "XXXXXXX",
  },
  credentials: {
    cache: :XXXX,
    store: :XXXXX,
  })

Shrine.plugin(:activerecord)           # loads Active Record integration
Shrine.plugin(:cached_attachment_data) # enables retaining cached file across form redisplays
Shrine.plugin(:restore_cached_data)    # extracts metadata for assigned cached files
Shrine.plugin(:validation)
Shrine.plugin(:validation_helpers)
Shrine.plugin(:derivatives)
Shrine.plugin(:backgrounding)
Shrine.plugin(:upload_endpoint)

Shrine::Attacher.promote_block do
  TransloaditPromoteJob.perform_async(self.class.name, record.class.name, record.id, name, file_data)
end

That helps, but I would need an actual script that I can run with ruby script.rb, that reproduces the problem. See Shrine templates for inspiration.

I think the issue is with capturing the data posted by Transloadint and updating the derivatives based on the response.
Here is the sample data, before merging and saving the derivatives data into the database.

derivatives = attacher.transloadit_save(response["results"])

# If I print derivatives[:transcoded] got the below data

<VideoConvert::HlsUploader::UploadedFile storage=:store id="hls/d5b4387d6c1a2c2d65b72404bbdad011.flv" metadata=<ActionController::Parameters {"duration"=>30.55, "width"=>320, "height"=>240, "framerate"=>25, "video_bitrate"=>500000, "overall_bitrate"=>291263, "aspect_ratio"=>"1.333", "video_codec"=>"ffflv", "audio_bitrate"=>64000, "audio_samplerate"=>44100, "audio_channels"=>2, "audio_codec"=>"ffmp3float", "seekable"=>true, "date_file_created"=>"2015/08/07 09:13:02", "date_file_modified"=>"2020/08/19 09:14:34 GMT", "encoding_profile"=>"baseline", "encoding_level"=>"3", "turbo"=>false, "filename"=>"d5b4387d6c1a2c2d65b72404bbdad011.flv", "size"=>1112734, "mime_type"=>"video/x-flv"} permitted: false>>

After saving it into the database it is getting converted into ruby hash.
<VideoConvert::HlsUploader::UploadedFile storage=:store id="hls/d5b4387d6c1a2c2d65b72404bbdad011.flv" metadata="{\"duration\"=>30.55, \"width\"=>320, \"height\"=>240, \"framerate\"=>25, \"video_bitrate\"=>500000, \"overall_bitrate\"=>291263, \"aspect_ratio\"=>\"1.333\", \"video_codec\"=>\"ffflv\", \"audio_bitrate\"=>64000, \"audio_samplerate\"=>44100, \"audio_channels\"=>2, \"audio_codec\"=>\"ffmp3float\", \"seekable\"=>true, \"date_file_created\"=>\"2015/08/07 09:13:02\", \"date_file_modified\"=>\"2020/08/19 09:14:34 GMT\", \"encoding_profile\"=>\"baseline\", \"encoding_level\"=>\"3\", \"turbo\"=>false, \"filename\"=>\"d5b4387d6c1a2c2d65b72404bbdad011.flv\", \"size\"=>1112734, \"mime_type\"=>\"video/x-flv\"}">

The problem could be that Shrine is dealing with ActionController::Parameters instead of a pure hash. Could you try converting the transloadit response params into a pure hash before passing it over to Shrine, to see if it fixes the issue? I'm hoping a simple #to_h or #to_hash on the params would do.

Thank you @janko, the issue is resolved.


crash on 401 unauthorized status

Please complete the following information:

Library Version [e.g. v1.0.0]
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]

Describe the Bug:
when I send A user pass to my api which unauthorized and throws 401 status code. the apiresponse call adapter factory crashed.
--------- beginning of crash

2020-09-12 14:16:55.564 7771-7771/com.skydoves.pokedex E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.skydoves.pokedex, PID: 7771
retrofit2.HttpException: HTTP 401 Response.error()
at retrofit2.KotlinExtensions$await$2$2.onResponse(KotlinExtensions.kt:53)
at com.skydoves.sandwich.coroutines.ApiResponseCallDelegate$enqueueImpl$1.onResponse(ApiResponseCallDelegate.kt:33)
at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Add a clear description about the problem.
Expected Behavior:
A clear description of what you expected to happen.
onError expected to be fired

@iceberg1369
Hi, could you let me know about your details of the test codes?

@skydoves
  @Provides   @Singleton   fun provideRetrofit(okHttpClient: OkHttpClient): Retrofit {     return Retrofit.Builder()       .client(okHttpClient)       //.baseUrl("https://pokeapi.co/api/v2/")             .baseUrl("http://<IP_ADDRESS>:8082/")       .addConverterFactory(MoshiConverterFactory.create())       .addCallAdapterFactory(CoroutinesResponseCallAdapterFactory())       .build()   }

@skydoves  is there anyway to handle errors in sandwitch

i face the same issue，crash on ApiResponseCallDelegate.kt:33

I am facing the same issue : 401 returned instead of onError fired. Commenting to keep tabs on the issue

I will check this issue and release the next version as soon as possible. Thanks!

Hope to have a good solution

Same thing happening for 500 errors , basically for what isn't in that success codes array in the initializer

Please test using a new version 1.0.5-alpha01!

Hi, @iceberg1369 @masterxing @bogdanmunteanu @nevermore1000
Yesterday, released a new version 1.0.5 ! 🎉
Please try to test using the new version.
Thanks for reporting this issue! 👍

@skydoves , all working great for 401 and all 504 status codes (on error is triggered) . Will test more and come later with more feedback but all seems good for know. Thanks for the fast release 👍

@skydoves 401 error handled by onError


privacy_definition.protect_sensitivity and user-supplied sensitivity

Allow researchers to override sensitivity in reduced-security privacy definitions.
In reference to https://github.com/opendifferentialprivacy/smartnoise-core/issues/329.

There were some simplifications here because we did not need to be computing sensitivities in the accuracy functions. I trimmed the function signatures down all the way to the trait definitions.

Warning, the library is very dependent about the shape of sensitivities passed in. There should be some additional checks on the shape of sensitivity arguments.


docs: Mention that terms pages have Pages

See https://github.com/spf13/hugo/issues/2826

Not relevant anymore.


code to load 2D parameters (pretrained on imagenet) to 3D model

Could you please provide the code which loads 2D parameters (pretrained on imagenet) to I3D model？ (especially the processing of BN/GN).
Thank you very much!

Hi,
this is old tensorflow code (2017), but hopefully still helpful:
def assign_from_checkpoint_2d_to_3d_scale(model_path, var_list):
"""Creates an operation to assign specific variables from a checkpoint.
Args:
model_path: The full path to the model checkpoint. To get latest checkpoint
use model_path = tf.train.latest_checkpoint(checkpoint_dir)
var_list: A list of Variable objects or a dictionary mapping names in the
checkpoint to the corresponding variables to initialize. If empty or
None, it would return  no_op(), None.
Returns:
the restore_op and the feed_dict that need to be run to restore var_list.
Raises:
ValueError: If the checkpoint specified at model_path is missing one of
the variables in var_list.
"""
reader = pywrap_tensorflow.NewCheckpointReader(model_path)
if isinstance(var_list, (tuple, list)):
var_list = {var.op.name: var for var in var_list}
feed_dict = {}
assign_ops = []
for checkpoint_var_name in var_list:
var = var_list[checkpoint_var_name]
if not reader.has_tensor(checkpoint_var_name):
raise ValueError(
'Checkpoint is missing variable [%s]' % checkpoint_var_name)
var_value = reader.get_tensor(checkpoint_var_name)
placeholder_name = 'placeholder/' + var.op.name
placeholder_value = tf.placeholder(
    dtype=var.dtype.base_dtype,
    shape=var.get_shape(),
    name=placeholder_name)
assign_ops.append(var.assign(placeholder_value))

if var.get_shape() != var_value.shape:
  n = var_value.shape[0]
  feed_dict[placeholder_value] = np.tile(np.expand_dims(var_value/n,0), [n,1,1,1,1])
else:
  feed_dict[placeholder_value] = var_value.reshape(var.get_shape())

assign_op = tf.group(*assign_ops)
return assign_op, feed_dict

Thank you very much!
Is there bn/gn parameter in the pretrained 2D model? if so, do we need to ignore it or also load it to the I3D model?

There was batch norm in the pretrained 2d model, and i think that code
loads the corresponding parameters. We also didn't freeze the batch norm
parameters when finetuning on any of the datasets in the paper.
Joao
On Wed, Feb 20, 2019 at 2:04 PM emergencyd<EMAIL_ADDRESS>wrote:

Thank you very much!
Is there bn/gn parameter in the pretrained 2D model? if so, do we need to
ignore it or also load it to the I3D model?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/52#issuecomment-465587915,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO6qau9nCYsIqeG2-ypPeT6T-u1IXTcLks5vPVYJgaJpZM4bFJV5
.


Error 404

I tried to install this following the wiki, but I get an error 404:

Can you paste the result of:

cat docker-compose.yml
tree

Thank you.

It seems to be a docker issue, not related to this container.
You should check https://github.com/docker/docker/issues/17960


feat: implement channel cloning

Adding:

createClone channel function
.clone(reason) method
Modified createChannel to work with createClone (Unsure about this system; might need reworking)
Added tests for createClone function

closes #761

 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.

@existentiality Thank you!


Cdh workaround

@fjy
added workaround solution doc for cdh jackson conflict issue.

@mvfast Awesome! Thanks for the contrib! Do you mind filling out our CLA (druid.io/community/cla.html)? Can you also squash the commits and after that I'll merge

Cool, is it possible to have these exclusions as a maven profile?

@drcrallen I think you can exclude the dependencies in pom file too but I haven't tested that. For me, the sbt solution seems to be easier.

@mvfast Instructions for squashing and rebasing:
http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html

@mvfast did you get a chance to fill out the CLA? druid.io/community/cla.html

@fjy Yeah. I need to ask my manager which CLA to sign(company or individual). I'll reply to you today. Thanks!

@fjy Hi Fangjin, Just let you know I've filled out the CLA.

@mvfast Awesome! thanks :)

@mvfast BTW, if you want your contribution to count publicly, you may want to add your email to your github profile:
https://groups.google.com/forum/#!searchin/druid-development/credit/druid-development/1Zs3Vd9LHCQ/cadqT73UeVcJ


About latency ...

| Camera Model                       |  D400  |
| Firmware Version                   | (Open RealSense Viewer --> Click info) |
| Operating System & Version |  Ubuntu 16.04  |
| Kernel Version (Linux Only)    |  (e.g. 4.14.13)                                         |
| Platform                                 | pc  |
| SDK Version                            |  { legacy / 2.. }                          |
Issue Description
Hello, I find a word in https://github.com/IntelRealSense/librealsense/wiki/Release-Notes.
there are one known issue "Latency of 100ms (DSO-7745)", but how can I fix that, and how can I get every frame's accurate time ? is the time based the hardware, or based my computer ?

Hi @zenving
"Latency of 100ms" is somewhat of a code-name we use for the ongoing latency investigations and improvements. In practice, different sensors and configurations produce different results. We offer public latency-tool under OpenCV examples that can provide some rough estimates for some streams.
Currently, the RGB stream suffers from most latency, with about 100-140ms on Windows. IR and depth stream have less latency, about 60-70ms. Based on our measurements, Linux driver stack has less inherent latency than the Microsoft one.
Providing more optimized color conversions, projection and colorizer code would also reduce several milliseconds from the overall time.
We are also looking into ways to improve these numbers on firmware level.

You can get hardware timestamp using frame::get_timestamp() method. Please make sure frame::get_frame_timestamp_domain() returns RS2_TIMESTAMP_DOMAIN_HARDWARE_CLOCK.
You can also fetch host time the frame reached librealsense using frame.get_frame_metadata(RS2_FRAME_METADATA_TIME_OF_ARRIVAL) and when it reached the driver (Media Foundation / V4L2) using frame.get_frame_metadata(RS2_FRAME_METADATA_BACKEND_TIMESTAMP).
Please note that frame timestamp is not comparable to the later two, since there is no clock synchronisation between camera and host clocks.

What is the target frame time "Latency of 100ms"? Is it possible to achieve a latency of <40 ms for the depth and IR stream on Linux in the near future?

We are trying to get rid of all the overheads, in firmware, software and the driver and get it as low as possible. It depends on the resolution, but latency of 60ms is a reasonable goal to achieve. From my previous experience, going below 60 becomes challenging when the camera is connected via USB, I might be wrong.

does the frame rate of the stream help with the latency? or is the entire pipeline always lagging behind? how consistent is the latency? Have you guys got a benchmark or statistical analysis of the latency? If it's fairly consistent that's good.. but if it varies by +-30->60ms a lot, that's going to be horrible to deal with in a real time vision system :(


Fix couple of typos

This will create some breaking changes. The good thing is we are on version 0.7.0 so semantic versioning will allow it. Normally I would request to add deprecation/renaming comments, but in this case it is alright.
Thank you for your contribution!

I released your changes:
https://cocoapods.org/pods/CellKit
https://github.com/futuredapp/CellKit/releases/tag/0.8.0


warning in gitea.log about mysql tables

Gitea version (or commit ref): 1.14.2
Git version: 2.7.4
Operating system: ubuntu xenial, gitea launch with systemd
Database (use [x]):

[ ] PostgreSQL
[x ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x ] No

Log gist: gitea/log/gitea.log

Description
Hello
I see this warnings in logs gitea/log/gitea.log. Will these warnings be corrected in the next version of gitea, or do i have to manually correct something in the mariadb database?
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table user Column keep_activity_private db default is , struct default is false
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table user Column keep_activity_private db nullable is true, struct nullable is false
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table repository Column original_service_type db default is 0, struct default is
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table comment has column old_assignee_id but struct has not related field
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table webhook Column is_system_webhook db default is 0, struct default is
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table webhook Column is_system_webhook db nullable is false, struct nullable is true
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table webhook Column http_method db default is 'POST', struct default is
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table tracked_time Column time db nullable is true, struct nullable is false
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table review column type db type is VARCHAR(255), struct type is INT
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table language_stat Column language db nullable is true, struct nullable is false
2021/05/17 09:29:42 ...rfave/cli/command.go:173:Run() [W] Table session has column created_unix but struct has not related field

Screenshots

gitea doctor recreate-table should fix this. (Please take a backup first just in case.)

thanks, the order corrects the problem


⚠ T:Riza Community Forum has degraded performance

In dd56c6b, T:Riza Community Forum (https://community.triza.dev) experienced degraded performance:

HTTP code: 404
Response time: 2824 ms

Resolved: T:Riza Community Forum performance has improved in c8bcdc8.


gdown cannot work with large files (>20GBs)?

I have checked up all the related issues on this but still getting this error on a zip file with 29GB. Here are the URL links I tried:

https://drive.google.com/u/0/uc?id=1MR7M-as-stOIog2EyhNXwnKKC9-aXXiM&export=download&confirm=t
https://drive.google.com/u/0/uc?id=1MR7M-as-stOIog2EyhNXwnKKC9-aXXiM

I have the same issue. It seems to be related to the confirmation dialog that google can not do a virus check on such a large file and it wants a confirmation to go ahead anyway.

Is this the error you get?

+1

+2

+3

Hi. I have the same issue with my 29GB zip file. So I tried to download it with incognito from chrome, but this shows up. So it may be just google putting a limit.

To download a 28GB file from google drive, this solution works: https://stackoverflow.com/a/67550427

Thanks！
curl -H "Authorization: Bearer ACCESS_TOKEN" https://www.googleapis.com/drive/v3/files/FILE_ID?alt=media -o FILE_NAME

How  to use the command？

To download a 28GB file from google drive, this solution works: https://stackoverflow.com/a/67550427

This is a temporary solution

+5

This is the same issue as https://github.com/wkentaro/gdown/issues/43, so let's continue monitoring it there.


Update release workflow to only run on source repos

Description
We should add in a conditional check for the release workflow so that it only runs on the source repos, and not on forked copies. Its as simple as adding in if: github.repository_owner == 'terraform-aws-modules' - Ref https://github.com/prisma/prisma/issues/3539

Hi @bryantbiggs
Thanks for all these 33 PRs! All merged now :)


Want to Add Content For Types Of trees

Select the Day of Content
Day 23
What information is missing?
I want to Add Content about Various types of Tree like Binary tree,B+ trees and more

I would like to work on adding content for types of trees as described in issue #393. Could you please assign this issue to me? Thank you!


Annotations of the base class lost in the "create_model" function.

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
            pydantic version: 1.8.2
            pydantic compiled: True
                 install path: /opt/miniconda3/envs/fastapi_test/lib/python3.9/site-packages/pydantic
               python version: 3.9.7 (default, Sep 16 2021, 13:09:58)  [GCC 7.5.0]
                     platform: Linux-4.19.0-16-amd64-x86_64-with-glibc2.28
     optional deps. installed: ['dotenv', 'typing-extensions']

from pydantic import BaseModel, create_model

class A(BaseModel):
    i1: int
    s1: str

assert A.__annotations__ == {'i1': int, 's1': str}

class B(A): ...

assert B.__annotations__ == {'i1': int, 's1': str}

C = create_model('C', __base__=A)
try:
    assert C.__annotations__ == {'i1': int, 's1': str}
except AssertionError:
    print(C.__annotations__)

Was there an update on this? still happens today

For what it's worth, I looked into the behavior in v2 and v1.10.7:
from pydantic import BaseModel, create_model

class A(BaseModel):
    i1: int
    s1: str
assert A.__annotations__ == {'i1': int, 's1': str}

class B(A): ...
assert B.__annotations__ == {}

C = create_model('C', __base__=A)
assert C.__annotations__ == {}

This is how it works for "standard" types:
class A:
    i1: int
    s1: str
assert A.__annotations__ == {'i1': int, 's1': str}

class B(A): ...
assert B.__annotations__ == {}

So I would consider this issue resolved, in the sense that pydantic models now behaves the same as any other class. (As far as I can tell?)
If you need the annotations for all fields, you may be able to do something with (in v1) {k: v.type_ for k, v in MyModel.__fields__.items()}. (And I think the analogous thing in v2 would be {k: v.annotation for k, v in MyModel.model_fields.items()})


Allow indexing of memoryviews with a tuple.

Do you think that trying to do it all in one pass overcomplicates the logic?

I think I like the changes as you suggested. Got a seat on the train so I will make them now

Thanks for the PR!


:GoAddTag error with message "DEBUG: struct not found"

Thanks for making a good Go plugin for neovim, but here i found and error when use GoAddTag and i get message "DEBUG: struct not found".
My neovim information
NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

here i got this error message when i run :checkhealth vim command

i already reinstall ray-x/go.nvim but still now working.

https://user-images.githubusercontent.com/65246900/236516050-7d1b280d-d024-49b7-8194-6dab7c7654a8.mp4

go: require("go.health").check()

ERROR Failed to run healthcheck for "go" plugin. Exception:
function health#check, line 25
Vim(eval):E5108: Error executing lua ...artix/.local/share/nvim/plugged/go.nvim/lua/go/utils.lua:394: attempt to index local 'pkg' (a nil value)
stack traceback:
...artix/.local/share/nvim/plugged/go.nvim/lua/go/utils.lua:394: in function 'load_plugin'
...rtix/.local/share/nvim/plugged/go.nvim/lua/go/health.lua:84: in function 'plugin_check'
...rtix/.local/share/nvim/plugged/go.nvim/lua/go/health.lua:148: in function 'check'
[string "luaeval()"]:1: in main chunk

I have not use packer for a while. Do you use packer to load go.nvim?
Also if you are using packer, what is the result of the following?
:lua =packer_package

same here

Could you check the result of following?
:lua =packer_package

i use nvim-plug not packer

Could you check the result of following?
:lua =packer_package

I'm using lazy.nvim.
local plugins = {
 -- ...
 {
    "ray-x/go.nvim",
    dependencies = {
      "ray-x/guihua.lua",
      "neovim/nvim-lspconfig",
      "nvim-treesitter/nvim-treesitter",
    },
    config = function()
      require("go").setup()
    end,
    event = {"CmdlineEnter"},
    ft = {"go", 'gomod'},
    build = ':lua require("go.install").update_all_sync()'
  }
}

health status:
go: require("go.health").check()

Binaries ~
- go installed.
- Tool installed: golines
- Tool installed: dlv
- Tool installed: gofumpt
- Tool installed: fillstruct
- Tool installed: govulncheck
- Tool installed: gotestsum
- Tool installed: goimports
- Tool installed: json-to-struct
- Tool installed: iferr
- Tool installed: mockgen
- Tool installed: gomvp
- Tool installed: impl
- Tool installed: guru
- Tool installed: callgraph
- Tool installed: fillswitch
- Tool installed: gotests
- Tool installed: go-enum
- Tool installed: ginkgo
- Tool installed: golangci-lint
- Tool installed: gomodifytags
- Tool installed: richgo
- Tool installed: gorename
- Tool installed: gopls
- sed installed.
- curl installed.
- WARNING go treesitter parser not found, please Run `:TSInstallSync go`
- WARNING Some binaries are not installed, please check if your $HOME/go/bin or $GOBIN $exists and in your $PATH

Go Plugin Check ~
- OK lspconfig: plugin is installed
- OK nvim-treesitter: plugin is installed
- OK guihua: plugin is installed
- WARNING nvim-dap-virtual-text: not installed/loaded
- OK telescope: plugin is installed
- WARNING nvim-treesitter-go is not installed, Please run TSInstall go to install
- WARNING nvim-dap: not installed/loaded
- WARNING nvim-dap-ui: not installed/loaded
- WARNING Not all plugin installed
- OK GOPATH is set
- OK GOROOT is set
- GOBIN is not set
- Not all environment variables set

After running :TSInstallSync go, it is working properly.

thanks @thep0y after i run :TSInstallSync go now its working, ISSUE CLOSED


Estimate if MOF is charged

Feature description
We can extract the linkers and we can estimate the oxidation states using oximachine.
We need to think about how to deal with more complicated nodes with OH, etc.
Implementation idea
Alternatives

For what it's worth, I think this would be a great use-case! On the topic, I've been wondering if it'd be possible to use a similar approach to flag potentially problematic structures that don't have proper charge-balancing. For instance, a really gnarly structure to flag correctly is OVADAR. At first glance, nothing seems immediately wrong about it, but the chemical formula is Mg2Li(BTC)(HBTC)(DMF)2 whereas the formula in the CIF is Mg2Li(BTC)(BTC)(DMF)2. The only practical way (that I can tell) to catch that extra H is by decomposing the structure, getting the charge of the linker and node (e.g. with oximachine), and hoping it comes up as unbalanced. As you already alluded to, there are likely to be many challenges with charge assignment approaches, but I think such an approach would be quite useful in the end!

@arosen93 you have the GPL license for MOFid due to the openbabel dependency? It would be great to use it to get the SMILES for the linkers, but I would rather want to stay with a more permissive license

@kjappelbaum. Looks like that probably is the reason why. The MOFid repo was started by @bbucior, and I'm not sure the origins of the licensing, but I do see that openbabel is GPL. I guess that would mean MOFid in turn would need to be GPL (if my understanding of GPL is correct). A modified version of openbabel is packages with MOFid.

Confirmed, that's where the GPL decision came from. IANAL, but you might be able to use the package without re-licensing yours by calling it as a command-line utility or similar. But there would still be the challenge of the cmake compilation steps.


[ENH] make table optional

This makes afq insight dependent on hdf5, which requires installation (usually by conda). Without this, I believe afq-insight is entirely pip-installable, which is much more convenient for new users.

Pull Request Test Coverage Report for Build fd48498305af8adef543c84c837247216948fd86-PR-147
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 6ad27c9955b6a0f1710179b3d72bb215bc8f2496:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

@arokem this is ready for review/merge


website can not open

I am looking for a method to get kTP information, but I found the website can not open, is there something change, Thanks for getting back to me.

Any updates @risan ?


Extract all information about Video PID from multicast input

Hello,
I try to get all es_info about Video PID coming from multicast.
Now I use this command : tsp -I ip ip_source@multicast -l ip_interface -P until -s 5 -P analyze --normalized
I want for example extract color_space;frame_rate;interlaced_frame etc..
Thank you for your help
BR
Anas

Hi,
TSDuck essentially manipulates the system structure, not the video or audio content. Tools such as ffmpeg/ffprobe or MediaInfo are more appropriate to analyze video and audio content.
With TSDuck, the plugin PES reports a minimal set of information, e.g.:
$ tsp -I ip ... -P until -s 5 -P pes --pid 0x0140 --video-attributes -O drop
* PID 0x0140, stream_id 0xE0 (Video 0), AVC video attributes:
  1920x1080, high profile, level 4.0, 4:2:0

For more details, use ffprobe (comes with ffmpeg):
tsp -I ip ... -P until -s 5 -P filter --pid ... | ffprobe -i -
...
Input #0, mpegts, from 'pipe:':
  Duration: N/A, start: 65940.740278, bitrate: N/A
    Stream #0:0[0x140]: Video: h264 (High), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

For even more details, see MediaInfo.

Thank you Thierry.
Excactly i already use ffprobe, but i' ll hope to use only your tool :-)
BR
Anas

TSDuck and ffmpeg are complementary and are often used together. TSDuck handles the TS systems and ffmpeg handles the video and audio. TSDuck handles very few things about video and does not do it well. Conversely, ffmpeg can generate a TS but does it notoriously badly. In short, you need both tools to build a system.

Thank you for your help and your advice.
Anas


GC Bug

Summary
It currently appears that at some point I introduced a non deterministic GC bug. Using gc_stress feature flag we frequently get crashes. We'll need to hunt down this issue.

This was fixed by https://github.com/Laythe-lang/Laythe/pull/68


Replace pycrypto with pycryptodome

This replaces pycrypto requirement with pycryptodome. It is a drop-in replacement for pycrypto which is not actively maintained and has a known vulnerability, CVE-2013-7459. Moreover, one of the requirements of this package, pdfminer.six depends on pycryptodome, and pycryptodome conflicts with pycrypto, so these packages will interfere when they are installed simultaneously. All examples have been tested and run without errors

Thank you for indicating the error, the package depends of course on cryptography, not on old pycrypto


rule.feature file contains HTML tags after export

When I export the attached file into pdf
       Then EXPECTED RESULT: no formatting issues are present
       But ACTUAL RESULT:  the pdf includes unexpected characters

feature file used is provided below. result pdf is attached.
Feature: Some rules

  Background:
    Given fb

  Rule: A
    The rule A description

    Background:
      Given ab

    Example: Example A
      Given a

  Rule: B
    The rule B description

    Example: Example B
      Given b

rule.pdf
v0.1.7

duplicate #14


Fix false-positive for single item array and hash when consistent_comma

consistent_comma warns for array or hash with only one item even if open and close brackets are on same line.
VALUES = [1001]
MAP = { a: 1001 }

:+1:

The build is failing and the changelog has to be updated.

#2695 is simpler solution. Closing mine.


Fix bug where packages would remove each other's generated plans

Ready to merge in master.

Can we merge this one with master, fast? It would really help me working on other features.


Select element doesn't work on windows phone

the select element is not working on windows 8... I am creating a mobile web app that will be access via a specific link and most of the users will be using windows mobile phone.
please any assistance on this will much more appreciated.
                          <select ng-model="level">
                                <option value="1">1</option>
                                <option value="2" selected>2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                                <option value="7">7</option>
                                <option value="8">8</option>
                            </select>

Hello @diderson ! Thanks for opening an issue with us! Am i correct in thinking that this is going to be deployed to the web, and most of your users will be accessing it from IE on windows phone 8?

Hello! As we are not supporting windows phone 8 (or IE) i have decided to close this issue. Thanks for using Ionic!


NIFI-10704 - include API name of properties in processor documentation

Summary
NIFI-10704
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[x] Documentation formatting appears as expected in rendered files

Will review

Since this is supposed to be a machine-friendly name, I wonder if we should put it as the last column so it doesn't make the user-friendly information "noisy". @andrewmlim Thoughts?

@mattyb149 I understand the concern, but I think the way @greyp9 implemented is good. I think Display Name and API Name should be grouped together and since Description typically takes up a lot of space, the API Name column could get lost if placed as the last column.

Wouldn't the real fix be to have both names available through the rest api?

PropertyDescriptorDTO has the name and the display name , and you can get that from get_processor() and drilling down.

@ottobackwards The REST API provides the information, but providing it in the generated documentation makes it more accessible when writing integrations. The internal property names are effectively final once released, so publishing them in the generated component documentation seems reasonable and useful.

@exceptionfactory yeah, I was just thinking about the difference between developer documentation and UI/user documentation.   What would be nice would be if there was a second additional details page that had the config dto as json and documented for developers, or that the rest api could provide a get_default_configuration for processors and controllers

+1 LGTM, appreciate the discussion! Thanks for the improvement, merging to main


Multivalue control by Microsoft DevLabs is taking longer than expected to load

Issue: Whenever we are trying to create any work item we are getting below error: "Multivalue control by Microsoft DevLabs is taking longer than expected to load. Learn More about this extension, including available support options." This issue occured two weeks ago and it has been happening frequently.
Environment : Production and there has been no recent changes in the production environment
Troubleshoot : We troubleshooted this issue twice. In the first troubleshoot after upgrading the extension to 2.2.37 it was working as expected, then after a few days we encountered same issue so we tried to uninstall and reinstall the extension but unfortunately, we are getting the same error again.

Hello, are you available for a web session?

Hello, are you available for a web session?

screen shot will do? ...as its difficult to connect outside network

I could not reproduce the issues. Could you help us track this down by checking the browser network log (f12 in the browser), and the console log for errors?

If you continue to experience the same issue, please inform me.

Hi Team , we are getting following error intermittently “Multivalue control by Microsoft DevLabs failed to load."
Due to corporate restriction we are unable to share log , but while troubleshooting we figured out following :-

When this extension works it connects with our Azure devops fqdn , but when we receive the above error ( in network tab ) we can see extension trying to connect with azure devops app IP instead of fqdn and throws this error in console " ERR_CERT_COMMON_NAME_INVALID ".

we observed that the extension tries to send request to [ https://IP address//_apis/public/gallery/publisher/ms-devlabs/extension/vsts-extensions-multivalue-control/2.2.38/assetbyname/dist/multivalue.html ] but we receive following error :- failed to load response data no resource with given identifier found.

On exporting log we found this error  - \”errorMessage":"Error: Cannot get registered instance for : ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control\n    at https://URL/_public/_Bundling/Content?bundle=vss-bundle-async-vyuI25Wa2qSnUdfc8ONld2A3OMJmllyZvdbHfDHeck-2Gic=:279:1051\n    at l (https://URL/_public/_Bundling/Content?bundle=vss-bundle-common-vJV5sA5LIedtnC9MfvqKqsPWFBEZKb_lxdEU9Agg28TFfc=:33:8126)

Please help us in fixing this issue at the earliest


Don't error on ipmitool power off when machine is already off:

The current behavior in internal/ipmitool is to error if a request for a power-off is called against an already powered-off machine. I proposed we remove this behavior and if a request for a power-off (in internal/ipmitool) is called against an already powered-off machine we return success. This also mirrors ipmitool itself. It does not error out when an already-off machine calls power off against it.

Checklist

[x] Tests added

[x] Similar commits squashed

What does this PR implement/change/remove?

The HW vendor this change applies to (if applicable)

The HW model number, product name this change applies to (if applicable)

The BMC firmware and/or BIOS versions that this change applies to (if applicable)

What version of tooling - vendor specific or opensource does this change depend on (if applicable)

Description for changelog/release notes

Is there a way to bubble up the fact that the machine was already off without having it be an error? Or should that happen at a higher level (software could check power status before issuing the poweroff)?

Is there a way to bubble up the fact that the machine was already off without having it be an error? Or should that happen at a higher level (software could check power status before issuing the poweroff)?

good question. The current function signature of power off doesn't make this possible. PowerOff(ctx context.Context) (status bool, err error). I think a call to power state would probably be ideal.

:+1: from me.
I'm generally in favor of the functions reporting whether the device reached the requested state ( just as in #223 about power cycling ).

In general, I'd suggest methods in bmclib perform just action requested and then its upto the caller to verify if the action was successful, by invoking another bmclib method.
In some cases a clear status is returned by the action itself, see for example https://github.com/bmc-toolbox/bmclib/blob/master/providers/dell/idrac8/actions.go#L39


Set up Gitpod

[x] For upstream:

[ ] For pygae/galgebra itself :

[ ] Add https://probot.github.io/apps/gitpod/

The setup for upstream lies in https://github.com/pygae/galgebra/tree/upstream_gitpod .
The WIP setup for upstream lies in https://github.com/pygae/galgebra/tree/gitpod .

Perhaps relevant: https://github.com/features/codespaces/?utm_source=announcement&utm_medium=blog&utm_campaign=satellite-product-recap

Yeah, I requested the early access.
I believe Gitpod might not be that necessary now and the preliminary setup is already there and no further work is needed. Closing this.


No map shows at all

I'm submitting a ...  (check one with "x")
[ ] question
[x] any problem or bug report
[ ] feature request
If you choose 'problem or bug report', please select OS:  (check one with "x")
[ ] Android
[x] iOS
cordova information:  (run $> cordova plugin list)
cordova-plugin-battery-status 1.2.5 "Battery"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-dialogs 1.3.4 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-globalization 1.0.8 "Globalization"
cordova-plugin-googlemaps 2.0.0 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.2 "InAppBrowser"
cordova-plugin-media-capture 1.4.3 "Capture"
cordova-plugin-network-information 1.3.4 "Network Information"
cordova-plugin-vibration 2.1.6 "Vibration"

{}

Current behavior:
No map appears.
Expected behavior:
Small map shows on blank page.
Related code, data or error log (please format your code or data):
Code repo here:
https://github.com/samlittler/googlemaps-app-demo
I've reverted back to 2.0.0 just in case that was the problem but I can't seem to get it working on 2.1.1 either.

I should also note, I'm running this using phonegap.

This plugin does not run on browser.
This read the title?
Cordova GoogleMaps plugin for iOS and Android

Care to explain why this isn't a bug?

Oh sorry, it seems I forgot to explain the reason.
First of all, this plugin DOESN'T support browser platform.
Second, I guess you use serve command, but that is not supposed.

ping

ping

Since there is no update, I close this thread. But you can reply anytime with new information.


Corrected method name in example code

removeDirectory() was used accidentally, but this document is about removeTree()

Landed. Thanks!


Allowing listed "n/a" in Contamination* fields

Contamination estimates are library specific, and when multiple libraries are provided, according to the scheme, their estimates should be reported separated by ;.
However, at times, the contamination estimation for a library might fail or not be available. When libraries are merged, it is important to not which library a specific contamination estimate/error is from, regardless of the performance of other libraries.
Currently, Something like the field below is not a valid janno entry (according to as.janno()).

Poseidon_ID
Nr_Libraries
Capture_Type
UDG
Library_Built
Contamination
Contamination_Error

IND001
2
Shotgun;Shotgun
minus
ss
n/a;-0.023
n/a;n/a

However, I would argue, it should be possible to specify that the contamination error comes from the second library (especially in cases where that library is not of the same Capture_Type.
This behaviour possibly needs fixes in poseidon-hs as well?

> readr::write_tsv(output_janno, "~/test.janno")

> output_janno %>% poseidonR::as.janno()
Error in strsplit(res, ";") : non-character argument
> poseidonR::read_janno("~/test.janno")
Validating .janno files...
No issues with these .janno files

I actually found that converting all entires to strings and filling NAs with "n/a" seems to do the trick, so perhaps the error is not based on the validation function?

As a double-check, I used write_janno to save output_janno, and replaced the original janno file of the package it came from. This is the error I get from trident validate.
$ trident validate -d trident_list_test/
trident v0.21.0 for poseidon v2.4.0
https://poseidon-framework.github.io

Searching POSEIDON.yml files... 1 found
Checking Poseidon versions...
Initializing packages...
> 1 Can't read sample in trident_list_test/trident_list_test.janno in line 2: parse error (Failed reading: conversion error: empty) at ""
Can't read sample in trident_list_test/trident_list_test.janno in line 3: parse error (Failed reading: conversion error: empty) at ""
Can't read sample in trident_list_test/trident_list_test.janno in line 4: parse error (Failed reading: conversion error: empty) at ""
Can't read sample in trident_list_test/trident_list_test.janno in line 5: parse error (Failed reading: conversion error: empty) at ""
Can't read sample in trident_list_test/trident_list_test.janno in line 6: parse error (Failed reading: conversion error: empty) at ""

Some packages were skipped due to issues:
In the package described in trident_list_test/POSEIDON.yml:
Consistency issues in .janno file trident_list_test/trident_list_test.janno: Broken lines
Packages loaded: 0
Validation failed ✗

Hmm... does that have something to do how we encode missing values in Poseidon? Is that well-specified? I'm trying to understand whether that's an issue with the spec, or with the various implementations on it...

I think it's an issue of the implementation. The standard is not very precise on this front. I just assumed that all contamination estimates would always come with a mean and an error and wrote the code accordingly.

Upon closer inspection there are two mixed issues. Thiseas assumed that the standard covers contamination estimates per library. That is not the case. At least not so far. "Multiple contamination estimates" as described in the standard mean multiple methods to measure contamination. This does not refer to different libraries. If we want that feature, then we have to amend the standard.
Right now the standard says this:

Contamination_Err, Contamination_Meas and Contamination_Note must have the same number and order of entries, in case of multiple libraries report a value from the merged read alignment

The important observations:

The contamination estimate is not a per-library value
Empty contamination error values are not allowed
The standard is wrong in at least one way, because it should say this:

Contamination, Contamination_Err and Contamination_Meas must have the same number...

We can now discuss if we

want to implement per-library contamination estimates
want to allow empty contamination error values

Right now, the implementation reflects the standard and there is no imperative to fix the code. What I initially wrote - also in our conversation, @TCLamnidis, was wrong.

I also remembered now, that poseidonR does not even check these semantics yet. Only trident does that. So there is a third issue in the way you used the poseidonR package, Thiseas. Maybe a phone call is advisable now.

Yes, I agree, perhaps we should have a call about this. I remember discussing with @wolfgangaroo at the time, and we decided that we do not need per-library values here, we explicitly decided to have only one value that can be used for filtering or so. For example, in @TCLamnidis case, we could simply ask him to report only the maximum contamination across all libraries for that specific method.
Alternatively, we could discuss changing the standard and allowing per-library estimates... I don't know... in many cases I think we frankly don't even have per-library values ready, we only have a single estimate, and who knows how that master value was generated in case of multiple libraries. David's AADR is clear on this, he does report per library...
sigh.

Thiseas and I had a brief call to go through the issues. Here's what emerged from the discussion:

Given the high level of abstraction of Poseidon, which only considers a very derived data product (genotypes), it could actually be a sensible decision to not give per-library contamination estimates. The assumption would be, that whoever prepares the genotype data in Poseidon format already makes some decisions, which libraries to use and which to discard. So it might be fair to only report a summary statistic for the libraries actually used.
Allowing empty values for Contamination_Err might not be very meaningful, because 1. all methods and tools we know yield an error estimate and 2. if e.g. ANGSD does not report an error value, then the value in Contamination is also not reliable (and it is thus not useful to report it). So the current setup of enforcing the presence of all three  Contamination,  Contamination_Err and Contamination_Meas if one of them is filled, is justified.
The specific issues Thiseas experienced, were most likely caused by a mixture of using outdated versions and the crude interface of poseidonR.

ToDos I see based on that:

The documentation of the Contamination_* columns on the website has to be adjusted to be correct and more specific.
We have to explain better, where the standard can be found and distinguish clearly between standard and documentation. Probably a change in how we store and maintain information in the standard repo is required.
The poseidonR interface should get some more polish. It only covers a number of rather specific use cases right now.

My two cents on the above ToDos:
I found poseidonR to work well enough, and I am not sure how much use it is seeing currently apart from reading in a janno file. A way to 'standardise' janno files (say from any version to the latest/a specific version) would help perhaps, when reading files from different version, but even that might be too large a headache given the current user base.
Regarding linking documentation to the standard, it might be worth looking into the nf-core system. Namely, all the information you currently have here would be kept in a json file, which is then read into the docs webpage and rendered on the fly. That would save a lot of editing of specific bits as the schema gets updated with additional fields and definitions.
example: eager's parameters within the nf-core/eager schema vs on the [nf-co.re/eager website] (https://nf-co.re/eager/2.4.2/parameters). The latter is rendered from the former directly.
Granted, this would probably require some overhead.

The idea to transform the two tables to a json/yml file is pretty good.

Yes, I think we should ideally synchronise changes we make to the schema and the documentation. I don't think JSON/YAML will change anything though... We already have the schema in a machine-readable format. We could simply write a little Javascript component in Vue that loads the TSV we currently have for the Janno schema, and layouts that on the documentation page. In my view, whether this would be JSON/YAML or TSV doesn't make much difference... as long as it's machine-readable.

My hope with a switch to .yml was to increase the readability on GitHub. But a dedicated page on the website would solve that as well. Probably that's even better: To have everything at one place, finally.

This discussion went beyond the original issue. I close this here. Better integration of schema repo and website will be discussed elsewhere.


How does the pdp algorithm obtain the value range of the feature

How does the pdp algorithm obtain the value range of the feature

The value range is determined by the percentiles: "percentiles = np.linspace(0, 100, num=grid_resolution)".

The value range is determined by the percentiles: "percentiles = np.linspace(0, 100, num=grid_resolution)". The original setting was "np.linspace(1, 99, num=grid_resolution)". We changed it to "np.linspace(0, 100, num=grid_resolution)" in the latest update.

Thanks for reply. I have another question, can OmniXAI customize the prediction function?

Thanks!

how about the output of the prediction function
| |
@.***
|
|
@.***
|
---- Replied Message ----
| From | Yang @.> |
| Date | 12/14/2022 16:02 |
| To | @.> |
| Cc | @.>、State @.> |
| Subject | Re: [salesforce/OmniXAI] How does the pdp algorithm obtain the value range of the feature (Issue #54) |
The input of a prediction function should be Tabular, Image or Text defined in OmniXAI. They can be easily constructed from pandas dataframe, numpy array or pillow images.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>


Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@mohityadav766 needs to be merged into 1.2.3

@mohityadav766 needs to be merged into 1.2.3

done @harshach


This extension serves to which programming language

I can use this extension for two yii framework????

CSS and JavaScript


Modal window

Looks like it is working. Only one thing. It loads URL 2 times. Or at least i Have this feeling. Need testing.

How can I set the default to ---  Open events in modal window , I have tried the checked value on form, and on js files, but couldn't work