[androidTV] Scrollview still scrollable with dpad when scrollEnabled={false}

Description
A scrollview with the scrollEnabled prop set to false still scrolls on tv remote dpad input on androidTV.
Also onScroll events are fired when the list is scrolled this way.
React Native version:
0.61.5
Expected Results
The scrollview should not scroll when scrollEnabled is set to false, regardless of touch, mouse or dpad input.

@TheDuc can you confirm this behavior still exist on the latest react-native version?
Support for handling DPAD is just recently cherrypicked to react-native version 63.2.
https://github.com/facebook/react-native/commit/00c8b3cd09526c4a8afd141344793151ccb9ea0c

@gedeagas Thanks for your comment, but that merge is also in the 0.61.5 release.
Currently the executeKeyEvent method is overridden, but that does not seem to work correctly.
I have overridden the dispatchKeyEvent method with the same code, and that seems to work, but needs more testing

yeah, @TheDuc just tested this out and found out that it's not working on latest master. Doing some digging and I found out that dispatchKeyEvent works perfectly.

yeah, I just try this out yesterday and can confirm that it's not working.  And changing executeKeyEvent dispatchKeyEvent fixes the problem.
@TheDuc can you make a pr about this on ReactHorizontalScrollView & ReactScrollView. And thx for making an issue.

Thanks for the issue @TheDuc and thank you for investigating @gedeagas!
Accepting this as a valid issue.

any updates on this? I created this merge request quite a long time ago, and nothing has happened.
The issue still persists even with the latest React-Native version (0.63.3 as of now)

Hi @TheDuc thanks for the PR. You might have an easier time merging into react-native-tvos as they maintain Android TV as well

@safaiyeh Thanks for the response, I will create a PR for react-native-tvos, however, the readme and the name clearly state that it is mainly Apple TV focused.
Moreover, may I hereby conclude that the react-native "Learn once, write anywhere" paradigm is completely abandoned, as far as tv's are concerned anyways?

Yeah I talked to the maintainer of tvos today. They are working on renaming and making it clear they are maintaining AndroidTV.
Core RN is focused on Android and iOS. Other platforms are maintained by other folks but are still unified in your app's codebase. Creating all native components for platforms is a big task for 1 repo, so it's spread out amongst people who have a bigger stake in other platforms

@TheDuc I tried with overriding dispatchKeyEvent but it dosen't work scroll view still scrolls
I have a Vertical ScrollView with scrollEnabled={false} and inside it have a multiple HorizontalScrollView with scrollEnabled={false}. When Dpad up down is presses HorizontalScrollview which is present inside Vertical ScrillView moves like listview

@prakash-altair Indeed, the fix is not working anymore since this PR https://github.com/facebook/react-native/pull/25105.
If you revert only those changes and apply my fix, it will work again.

@TheDuc
Just doing changes mentioned here will solve the issue. No need of changes as mentioned in your PR

@prakash-altair Thanks for raising this issue in the react-native-tvos repository and for your efforts!
That change does solve other issues for me but unfortunately not the scrolling issue.
I have a list of items and I only want to programmatically scroll to the next (scrollToIndex) on arrow press.
The behaviour I still see is that on arrow press the list scrolls a little bit first, and after that calls scrollToIndex and correctly scrolls to the next item.

@TheDuc have you set scrollEnabled={false} working great for me after setting this prop


Generate sma config on manual ipu-storage-container start.

Signed-off-by: Artsiom Koltun<EMAIL_ADDRESS>

Yes, yesterday I was actually wondering where these params actually come from!

You should've asked, then 😄


fix: npe in depth shader diffuseTexture

Line: https://github.com/libgdx/libgdx/blob/7fb396541a8c2777c92a5062aaa49afcab0bec1f/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/DefaultShader.java#L237C32-L237C50
This is throwing an npe because the DepthShader canRender() is recycling the shader without the diffuse texture attribute.
Step to replicate:

open: "gdx-gltf-demo-desktop-2.1.0.jar" from gdx-gltf repo (https://github.com/mgsx-dev/gdx-gltf)
load this glTF model: https://sketchfab.com/3d-models/2021-lamborghini-countach-lpi-800-4-d76b94884432422b966d1a7f8815afb5
enable shadow pass from gltf scene manager
npe

It fixes the issue you have but it introduces a regression : let say you have 2 models without blending, one with a diffuse texture and another one without diffuse texture, 2 shaders will be generated instead of one. And will then produce some unnecessary shader switches when rendering.

If we use the same shader an npe is thrown, so.. it never worked at least in our tests.
How can we avoid this shader switch ? Do we need to introduce an npe check in diffuseTexture local setter ?
--

What is the minimal pure libgdx repro steps here? Having a demo with gltf dependency is not very suitable for the tracker.
Is it two renderables with diffuse texture? One with diffuse texture, one not? Whats the minimum combination required for this to die?

To replicate in libgdx you need to render 2 different renderables using depthshader: one with diffuse texture and the other without.
--

Using a slightly modified version of the ShadowMappingTest does not reproduce this.
/*******************************************************************************
 * Copyright 2011 See AUTHORS file.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

package com.badlogic.gdx.tests.g3d;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.VertexAttributes.Usage;
import com.badlogic.gdx.graphics.g3d.Environment;
import com.badlogic.gdx.graphics.g3d.Material;
import com.badlogic.gdx.graphics.g3d.Model;
import com.badlogic.gdx.graphics.g3d.ModelBatch;
import com.badlogic.gdx.graphics.g3d.ModelInstance;
import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute;
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute;
import com.badlogic.gdx.graphics.g3d.attributes.TextureAttribute;
import com.badlogic.gdx.graphics.g3d.environment.DirectionalShadowLight;
import com.badlogic.gdx.graphics.g3d.utils.CameraInputController;
import com.badlogic.gdx.graphics.g3d.utils.DepthShaderProvider;
import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
import com.badlogic.gdx.graphics.g3d.utils.ModelBuilder;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.tests.utils.GdxTest;

public class ShadowMappingTest extends GdxTest {
    PerspectiveCamera cam;
    CameraInputController camController;
    ModelBatch modelBatch;
    Model model;
    ModelInstance instance;
    ModelInstance instance2;
    Environment environment;
    DirectionalShadowLight shadowLight;
    ModelBatch shadowBatch;
    private Model model2;

    @Override
    public void create () {
        modelBatch = new ModelBatch();
        environment = new Environment();
        environment.set(new ColorAttribute(ColorAttribute.AmbientLight, .4f, .4f, .4f, 1f));
        environment
                .add((shadowLight = new DirectionalShadowLight(1024, 1024, 30f, 30f, 1f, 100f)).set(0.8f, 0.8f, 0.8f, -1f, -.8f, -.2f));
        environment.shadowMap = shadowLight;

        cam = new PerspectiveCamera(67, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
        cam.position.set(0f, 7f, 10f);
        cam.lookAt(0, 0, 0);
        cam.near = 1f;
        cam.far = 50f;
        cam.update();

        ModelBuilder modelBuilder = new ModelBuilder();

        modelBuilder.begin();
        MeshPartBuilder mpb = modelBuilder.part("parts", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.ColorUnpacked | Usage.TextureCoordinates,
                new Material(TextureAttribute.createDiffuse(new Texture(Gdx.files.internal("data/badlogic.jpg")))));
        mpb.setColor(1f, 1f, 1f, 1f);
        mpb.sphere(2f, 2f, 2f, 10, 10);
        model = modelBuilder.end();
        instance = new ModelInstance(model);

        modelBuilder.begin();
        mpb = modelBuilder.part("parts2", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.ColorUnpacked,
            new Material());
        mpb.setColor(1f, 1f, 1f, 1f);
        mpb.sphere(4f, 2f, 2f, 10, 10);
        model2 = modelBuilder.end();
        instance2 = new ModelInstance(model2);

        shadowBatch = new ModelBatch(new DepthShaderProvider());

        Gdx.input.setInputProcessor(camController = new CameraInputController(cam));
    }

    @Override
    public void render () {
        camController.update();

        Gdx.gl.glViewport(0, 0, Gdx.graphics.getBackBufferWidth(), Gdx.graphics.getBackBufferHeight());
        Gdx.gl.glClearColor(0, 0, 0, 1);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT);

        instance2.transform.setToTranslation(4, 0, 0);

        shadowLight.begin(Vector3.Zero, cam.direction);
        shadowBatch.begin(shadowLight.getCamera());
        shadowBatch.render(instance);
        shadowBatch.render(instance2);
        shadowBatch.end();
        shadowLight.end();

        modelBatch.begin(cam);
        modelBatch.render(instance, environment);
        modelBatch.render(instance2, environment);
        modelBatch.end();
    }

    @Override
    public void dispose () {
        modelBatch.dispose();
        model.dispose();
        model2.dispose();
    }

    public boolean needsGL20 () {
        return true;
    }

    public void resume () {
    }

    public void resize (int width, int height) {
    }

    public void pause () {
    }
}

@Tom-Ski Hi, i came across this issue and found a way to reproduce it : Based on your reproduction code, i simply added a BlendingAttribute to the textured material. I also found a better fix for it, i'll create a new PR in replacement of this one .

fixed by #7541


MathJax as composer package

Hello!
Currently, MathJax only provides a bower.json file for Node.js environments.
I think it would be beneficial to also provides a composer.json file to be composer package.
I'd create one my self, but I don't want to fork it for just one small file.

Hi,
I tried to install mathjax with composer. I just created a composer.json file containing the required dependency "mathjax/mathjax". Unfortunately, the install process said that there is no such package called mathjax to install. Is version 2.5 of mathjax already available on Packagist https://packagist.org/ ? Thanks. Best regards, Christian

IIRC, you can specify git repositories directly.
We'd be happy if somebody from the Composer community wanted to maintain a MathJax submission on Packagist.

IIRC, the mathjax version numbering here on GitHub is not directly compatible with the one for composer/packagist. Mainly because of the added "-latest" avter the v2.x
However, adding this repo manually in your composer project should work. Some fiddling with configs might be required ;)

Alright, many thanks for the quick response. I will figure out how to do this. A short description in the documentation would be nice, though.

@Gefrierbrand from https://packagist.org/about it seems packagist would solve the problem since it looks for the tags (and those are semver-style)
Anyway, I've created an account for MathJax at Packagist and submitted MathJax. It picks up on both tags (though strangely only the latest two) and branches. Hope this helps.


E-test-privateFieldsAccess.dice

This doesn't actually test for an error when accessing private fields

Fixed.


Generate service trait from proto service definition

Description
Per title.
How was this PR tested?

Inspected generated code
Added unit test

A README would be useful.

Will do!

I think you might need to change something in the license check configuration file?

Yes, for some reason, this is not causing an issue in this PR, but it will in other instances.


MathNet.Numerics.fsx missing from nuget package (v 4.4.1)

I just upgraded MathNet.Numerics to the latest version in one of my F# projects, and now I'm missing "../packages/MathNet.Numerics.FSharp/MathNet.Numerics.fsx" that I always used to load it. The documentation still mentions this as the prefered way to load MathNet. I also tried referencing the dll's directly, but then I receive an error saying:
error FS0074: The type referenced through 'MathNet.Numerics.LinearAlgebra.Vector`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'MathNet.Numerics'.
Am I missing something?

Yes, it is indeed missing since v4.0, last release where it was included was v3.20.2.
I assume you use this in F# scripts?

That's what I as trying to do, yes. For the moment I downgraded to v3.20.2 again.

So I'm guessing I can just use the old version of MathNet.Numerics.fsx for the moment?

I'm not sure if this is helpful, but I think Deedle does a similar thing. I just dug into the Deedle repo and found the following structure in the .nuspec file:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
    ...
  </metadata>
  <files>
    ...
    <file src="..\bin\Deedle.fsx" target="." />
  </files>
</package>

where Deedle.fsx also contains setup code for the library. I'm guessing (but I don't know how to check) that you could just do the same.

Thanks. The problem is that I no longer have a nuspec file, as it is generated automatically during dotnet pack from the project file metadata.


Removed the incomplete vectorize decorator from numba-dpex

[X] Have you provided a meaningful PR description?
The vectorize decorator in numba-dpex has been broken for a while and needs a complete redesign to work with latest API changes. The PR removes the existing broken implementation and associated test cases. Once, we redesign the feature it will be implemented and merged.
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

Merging the PR as the internal CI failure is due to an error in generating an interoperability kernel from SPIR-V on opencl:gpu devices.


Image Manipulation

At the intermediate stage (using arrays) it would be great to have an image manipulation module. Stanford's Nick Parlante in his CS101 had JS image manipulation, perhaps his code is open source.

Looked a bit into HTML canvas, and from what I read at: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API it should be pretty straight forward to build myself

Got this working :)


Test helper convenience functions to build validation error messages

Currently a user of the test helper module has to manually construct the text of the error messages they expect to encounter when document validation fails. This requires that the caller knows exactly what the expected error message content will be and it makes their test cases brittle. For the sake of convenience and keeping things DRY, include convenience functions to automatically format each of the built in validation error messages for use in specs.
For example, instead of
testHelper.verifyDocumentNotCreated(
  doc,
  'myDocType',
  [
    'item "provider" must not be empty',
    'item "accountId" must not be less than 1',
    'property "unrecognized-property3" is not supported'
  ],
  [ 'channel1', 'channel2' ]);

one could call
testHelper.verifyDocumentNotCreated(
  doc,
  'myDocType',
  [
    testHelper.formatNotEmptyMessage('provider'),
    testHelper.formatMinimumValueMessage('accountId', 1),
    testHelper.formatUnsupportedPropertyMessage('unrecognized-property3')
  ],
  [ 'channel1', 'channel2' ]);

Resolved by https://github.com/Kashoo/synctos/pull/41 and https://github.com/Kashoo/synctos/pull/46.


Enable admin CLI to support moving volumes between datastores to allow datastore maintenance

When a user needs to deprecate a DS or needs to do maintenance on the DS they need to be able to make the volumes available via another DS during that time - either permanently or as a temporary measure. In either case presently there is no way to move docker volumes between datastores.
This issue is to enhance the admin CLI to allow the user to move volumes to a target datastore after all volumes in the source datastore are detached. Its intended as a maintenance only command and user takes care to detach volumes before use.
User should be able to specify target tenant and target datastore for the move.

Starting on this one, will post a PR in the coming week. Milestone needs to be updated.

Delayed on this with other work. Will review and post a change.


scripts: add managarm-lsp-launcher.sh

Blocked on https://github.com/managarm/managarm/issues/427 and cbuildrt and xbstrap releases.
EDIT: we should add a way to give extra packages to xbstrap lsp before releasing and merging.
EDIT2: https://github.com/managarm/xbstrap/pull/64

Please rebase the fixup commits.


How to enable HTTPs for Genieacs-gui

Dear community
Do you know any tutorial to enable HTTPs for Genieacs-gui ?
Thank you so much

Just as simple as googling 'https ruby on rails': https://www.pluralsight.com/guides/ruby-ruby-on-rails/using-https-with-ruby-on-rails
Anyway, this is an issue tracker, we usually don't provide help of this kind here. Better for these type of questions to be in the mailing list: http://lists.genieacs.com/mailman/listinfo

Github is for defect tracking, not support requests. Please take this to
the mailing list.
On Thu, Oct 12, 2017 at 11:09 PM, Sergio Fernández Rubio <
<EMAIL_ADDRESS>wrote:

Just as simple as googling 'https ruby on rails':
https://www.pluralsight.com/guides/ruby-ruby-on-rails/
using-https-with-ruby-on-rails
Anyway, this is an issue tracker, we usually don't provide help of this
kind here. Better for these type of questions to be in the mailing list:
http://lists.genieacs.com/mailman/listinfo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zaidka/genieacs-gui/issues/87#issuecomment-336369420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyrg53BD3BcyJOuuKjoXXUKm0iZJmvrks5srwyLgaJpZM4P4Bg_
.

Thank you. I will re-sent


Seamless Continuous Deployment + Github integration for Graphcool projects

What feature are you missing?
The CLI version 1.4 opens up new workflows for continuous integration and deployment. However, this needs to be setup manually and requires some configuration and wiring overhead.
I'd like to kickstart a discussion about a seamless integration that allows you to connect a Graphcool project with a Github project, so that new pushes to the repo will initialize a new deployment.
How could this feature look like in detail? Tradeoffs?
Components:

Ability to connect Github repo + Graphcool project
Ability to deploy any commit from the repo to the Graphcool project
Integration with CI, so a pre-deploy script can be executed before deploying, for testing etc.
A migrations concept (also see https://github.com/graphcool/cli/issues/173)

Prior Art:

Heroku
Netlify

My first 5 cents on this:
The CI part for me would be:

Doing a dry-run deploy (see the other FR for that)
Executing tests

The deploy part for me would be:

Having a Graphcool integration app on Github. This could be automatically setup using the cli like other Github integrations do (so you don't have to manually setup the webhooks on GH etc.)
I really like the production/preview/branch concept from netlify
I like the 'wait for CI to complete' setting on Heroku

Challenges:

Authentication
Configuring projectIds for the different environments without committing .graphcoolrc file to GH
Using environment variables/secrets without committing them to GH
Seeding (test data setup/production data setup)


FCFB-48 Kneel should burn 40 seconds if clock is not stopped

Kneel should burn 40 seconds off of the running clock

Fixed in backend

In Wisconsin UNC scrimmage, kneel only burned 30 seconds. Clock was running.
Play prompt, 2:01 left
Play result, 1:31 left


GH5005 fix documentation on open_rasterio

[ ] Closes #5005
[ ] Addresses #3185
[ ] Fixed an example line in the open_rasterio  docstring that extracted an affine transform in an old way that no longer works.

@gabriel-abrahao, do you want to try converting the code block to doctest? Otherwise this looks good to me and should be ready for merging.

@gabriel-abrahao, do you want to try converting the code block to doctest? Otherwise this looks good to me and should be ready for merging.

I tried, but building the documentation is failing on both my Linux computers just like in #4257  , so unfortunately I can't make it.

you could also use the CI to verify the changes (the doctests CI is pretty fast), but as I said we can leave that to a new PR.
Unless someone else has any comments I'll merge this tomorrow.

Hello @gabriel-abrahao! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file test.py:

Line 1:1: E265 block comment should start with '# '
Line 85:5: F401 'rasterio' imported but unused
Line 86:5: F401 'rasterio.vrt.WarpedVRT' imported but unused
Line 88:1: E305 expected 2 blank lines after class or function definition, found 1
Line 90:22: W292 no newline at end of file

you could also use the CI to verify the changes (the doctests CI is pretty fast), but as I said we can leave that to a new PR.
Unless someone else has any comments I'll merge this tomorrow.

Just did that, thanks! Is there a way to make the CI run just the check I want it to?
I'm not sure if every doctest has to import xarray as xr and import numpy as np, so I added those just in case and it's passing.
Also, right multiplying matrices will be deprecated in numpy, so now transform is on the left side.

thanks for the update, @gabriel-abrahao. I noticed this is you first PR here. Welcome to xarray!


Added a new title to the existing list

Hi @liorze  I have added a new book in the documentation section, can you help me with it?

Sure, what can I do for you?
Just letting you know, I'm not a committer in this project.

can u push the request? @liorze

and merge the request to the documents page

@jpeach  can you help me in this?

I pushed this with some minor changes to make it consistent with the other entries.

Thank you @bmahler
Sorry for the trouble.

@bmahler
Just checking in

The book in this PR is already staged (i.e. committed).  We plan to update the website later.

@kaysoky thanks :)


copy service: Only add service id to system name when needed

When copying a service Toolbox adds the id of the original service to the system name of the new service. This is only needed when copying into the same provider account and could be omitted if the copy is cross account.

Fixed in https://github.com/3scale/3scale_toolbox/pull/179
Closing it


Remove old skylight config

We are setting the SKYLIGHT_AUTHENTICATION ENV variable, so this is
not needed anymore. (It was from 2013!! 🎉 ❤)
While I was at that, I also upgraded the skylight gem.

💯


fix: improvements for oAuth implementation

Description
Small tweaks for oAuth with OIDC implementation
Motivation
This PR addresses some TS improvements as well as improves readability
Fixes:
SWAP-2835

LGTM thanks!


Scala 2.13.0-M1

Thanks @xuwei-k!

@xuwei-k
https://oss.sonatype.org/content/repositories/releases/com/github/alexarchambault/scalacheck-shapeless_1.13_2.13.0-M1/1.1.6/
https://oss.sonatype.org/content/repositories/releases/com/github/alexarchambault/scalacheck-shapeless_1.13_sjs0.6_2.13.0-M1/1.1.6/


? vimfx style

when pressing the ?, show the available keyboard shortcuts on screen.
it is exhausting to open saka each time i would like to get the keyboard binding list...

I feel your pain. This is on the huge list of Todos in #18. The best short-term work-around is to manually click on the saka icon in the toolbar and scroll through the list there.

👍 on #18
i must find some time to contribute my part to the project!

also can you add VimFx keybindings? there are quite a few unused entries in the "Vimium" keybindings (e.g. reload all tabs, hard reload, etc)

So @read-more, you can actually add VimFX keybindings by simply modifying this JSON file. It's been on my backburner for a long time. I was hoping someone familiar with VimFX/Vimium would step up to the challenge.

Hi,
I think too that VimFX keybindings would be nice, and even more with Firefox57 release that should drag a lot of VimFX users here. Although I am not a pro with VimFX, I will try to make a keybinding profile (if you are still looking for contribution, of course!).

@xNephe VimFx keybindings have already been added in #98 :) I don’t think it’s been released yet, though.

Oups, my bad. I looked to quickly through the keybonding file.
It's great if the work is already done !


Double Free in REPL

Don't ask how I discovered this, but the following sequence is repeatable on my machine to produce a "double free" crash:
$ ./YASL
YASL v0.4.0
yasl> echo hello
SyntaxError: Undeclared variable hello (line 1).
yasl> echo 'hello'
hello
yasl> print 'hello'
SyntaxError: Expected ;, got str, in line 1
SyntaxError: Invalid expression in line 2 (;).
yasl> x:=6
free(): double free detected in tcache 2
Aborted (core dumped)

Merged a fix into v0.4.1 branch


fix: properly clean up optimization temp folder

Description
Use the new esbuild context.cancel() method to stop optimization runs. This is a continuation of:

https://github.com/vitejs/vite/pull/12225

Before this PR, there may be a path where the deps_temp folder wasn't properly cleaned up.
After #12225 and this PR are merged, I'll explore using unique names for the temp folders.

What is the purpose of this pull request?

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

/ecosystem-ci run

I'm seeing flakiness on this PR, but I think it is across the board. I have seen several fails on main these past two days. @bluwy @sapphi-red maybe you could check this one out just in case too.


hmmlearn=0.2.7 doesn't support python > 3.10

hmmlearn=0.2.7 doesn't support python > 3.10, which causes installation failures for default conda/pip environments.
we should check if we can support newer hmmlearn versions; if not we should restrict the python version to ~3.10

0.2.7 also doesn't seem to work on Apple Silicon

also wanted to note that @rg727 had some concerns about unpinning 0.2.7 due to inconsistent behavior in more recent versions.


1.13 compatible ?

Yes

Yes, LuckPerms should already be 1.13 compatible. The latest build also has some additional features to 1.13 https://ci.lucko.me/view/LuckPerms/job/LuckPerms/lastSuccessfulBuild/artifact/bukkit/target/LuckPerms-Bukkit-4.2.51.jar

Yes


pip-compile 6.12.2: AttributeError: 'InstallRequirement' object has no attribute 'install_options'. Did you mean: 'global_options'

Hello,
When running pip-compile 6.12.2 on a requirements file I end up on this error:
$ pip-compile requirements_dev.in

/usr/local/lib/python3.10/dist-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
Traceback (most recent call last):
  File "/usr/local/bin/pip-compile", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/piptools/scripts/compile.py", line 589, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/usr/local/lib/python3.10/dist-packages/piptools/resolver.py", line 253, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python3.10/dist-packages/piptools/resolver.py", line 324, in _resolve_one_round
    constraints = sorted(self.constraints, key=key_from_ireq)
  File "/usr/local/lib/python3.10/dist-packages/piptools/resolver.py", line 222, in constraints
    return set(
  File "/usr/local/lib/python3.10/dist-packages/piptools/resolver.py", line 310, in _group_constraints
    yield combine_install_requirements(ireqs)
  File "/usr/local/lib/python3.10/dist-packages/piptools/resolver.py", line 136, in combine_install_requirements
    combined_ireq = copy_install_requirement(
  File "/usr/local/lib/python3.10/dist-packages/piptools/utils.py", line 459, in copy_install_requirement
    "install_options": template.install_options,
AttributeError: 'InstallRequirement' object has no attribute 'install_options'. Did you mean: 'global_options'

Environment Versions

OS Type: "22.04.3 LTS (Jammy Jellyfish)"
Python version: $ python -V: Python 3.10.12
pip version: $ pip --version: pip 23.3.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
pip-tools version: $ pip-compile --version:

/usr/local/lib/python3.10/dist-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
pip-compile, version 6.12.

Steps to replicate
See description here above.
Expected result
A working run of pip-compile.
Actual result
The run stops on the error mentioned in the description here above.
Thanks for your great work around pip and any hint you can provide to solve this issue! 🙂

I think pip was going to remove those. Perhaps, it did already. Try an older version.

Ah, you're using old pip-tools. Use the current version and it typically works with the current pip.

Indeed, my bad, I thought pip-compile came as a side-package with pip. I didn't remember it was a pip-tools friend.
After upgrading the latest to 7.3.0 everything went fine. I'm closing the current issue. Thanks.


Add PyPI project urls to setup.py

Spotted this example here:
    project_urls={
        "Issues": "https://gitlab.com/Cyb3r-Jak3/ExifReader/issues",
        "Source Code": "https://gitlab.com/Cyb3r-Jak3/ExifReader/-/tree/publish",
        "CI": "https://gitlab.com/Cyb3r-Jak3/ExifReader/pipelines",
        "Releases": "https://github.com/Cyb3r-Jak3/ExifReader"
    },

Results in this on https://pypi.org/project/ExifReader/

The keys here can be anything but the PyPI site has special case rules for the icons for some of them: https://github.com/pypa/warehouse/blob/2f00f4a9f208546ff0ebb6a6e61439021ca60a43/warehouse/templates/packaging/detail.html#L16-L60

For Datasette I'll go with:

Documentation
Changelog
Live demo
Source code
Issues
CI

Made a TIL: https://github.com/simonw/til/blob/master/pypi/project-links.md


Missdirecting the realm URL

Hello there, I'm interested in your plugin here for discourse but I'm running into a very strange issue, when I hit sign up or login with steam buttons, I am directed to the login page like usually, however once I put in my steam credentials and authorize the login, it redirects me to a URL starting with:
http://discourse
and not the proper domain name of my forum
I've tried to override the realm URL manually, and that fixed the redirection, however now I end up with an error in the popup window:
Sorry, there was an error authorizing your Steam account. Perhaps you did not approve authorization?

Any idea on why this could be happening?

Did you figure out what the problem was? I have not been able to look at my plugin for a while. But it works for me on a fresh Discourse Docker install from the instructions provided for install so I can only assume there was a configuration mistake in your install. I'm not sure what exactly the referenced changes have to do with this but I will take a look at them.


Improve Others Readme

Need to improve this component on Others/Readme.md
Improvements required :
Set screenshot again so that it looks consistent in each block
Any reference image?

@Rajdip019 Please Assign this to me


[Integration] [Hackathon] Thanos + Cortx Integration deployed with Multi-cluster Docker + Prometheus + Grafana

Replaces #1146 - for DCO
Thanos + Cortx Integration deployed with Multi-cluster Docker + Prometheus + Grafana
For DevPost Hackathon
Signed-off-by: Kumar<EMAIL_ADDRESS>
View rendered doc/integrations/thanos.md

Thanks for your participation in our hackathon and thanks for a great integration!  I'll be merging this soon.  Sorry for the delay.


Letterbox integration

Similar to anilist integration
TBD

Letterboxd api is in beta, had to request access to the beta. Waiting for a reply


Mastodon for Bridgy is not publishing and returns Page is Not Correct Response

Hello,
I am attempting to set up the feature of Bridgy that allows for posting to my Mastodon account. I was able to successfully authorize and grant all of the necessary permissions, but posts don't publish. When I go through brid.gy and attempt to publish by inserting a URL, I click the send button and get an error from Mastodon saying that the page isn't correct and something went wrong on their end. Is this something I can fix? If so, how? Thank you,
P.S.: The instance where my account is tenforward.social.

thanks for the report, and sorry for the trouble!
i haven't been able to reproduce this. i successfully used bridgy publish to interactively post to my mastodon account just now. could you post more details? eg a screenshot, the error text, the exact URL on your Mastodon instance that shows the error (with tokens, client id and secret, etc redacted!). or even better, feel free to jump into indieweb chat and grab me there.


Option to change layout from ROW to column ?

Hi there
Me again ^^
Still impressed by the quality of your lib. Just a little thing could be better : the Layout used in :

List
Date
Input

where the current value of the field is displayed at the right side : I think this design is OK for tablet, but not for smartphone. When dealing with small values it's ok (number) but when value is a string, text is very quickly wrapped on the next line.
Same remark when dealing with accessibility (large fonts), 2-columns layout with long text on both side isn't working
A good solution could be maybe to add an option to transform the current horizontal (row) layout in a vertical (column) layout, thus displaying this zone under the main one. It's doable by overriding PreferenceList but I think this should be a base option.
Thanks

Internally this was already possible (e.g. the slider places its content below instead of behind the texts).
The new version does expose a itemSetup parameter to adjust some rules for each item type... E.g.:
https://github.com/MFlisar/ComposePreferences/blob/06bc9880b0434831fd0bd2a15bc8af507ade2a8a/library/modules/screen/list/src/main/java/com/michaelflisar/composepreferences/screen/list/PreferenceList.kt#L68
The class looks like following:
https://github.com/MFlisar/ComposePreferences/blob/06bc9880b0434831fd0bd2a15bc8af507ade2a8a/library/core/src/main/java/com/michaelflisar/composepreferences/core/composables/PreferenceItem.kt#L35-L51

Perfect again, thanks alot !


use strong tls and ciphers

Postfix configuration use strong protocols and ciphers, I don't know if there is a good reason for not using them in dovecot.

Bonjour @sylvaindumont, pretty good input, thanks.

This breaks logging in from my mail clients for me (kmail and gmail on android), the larger cipher suite in #418 fixes it

Merged.

Having problems with OSX Mail client.


Story of The Day

Need to insert more evergreen stories and style them

Figured out how to upload media through uploading to buckets


Continue working through DPP as a new user with sample data

As a follow-up and breakdown of issue #340:

[ ] Get Rosa's sample data from Chris
[ ] Run plot clip and canopy cover using scif / docker on the command line

[ ] make sure this process is documented.
- where are current docs? are they easy to find? Are they where they should be?
- completion is if you have a single page you could point Rosa to that describes how she can run the analysis

Taking notes here: https://hackmd.io/@eywX1MatRnyBtYFBB3Gqwg/SJOAyLB9D

What could make the docker commands less intimidating, e.g. would it be possible to replace
docker run --rm --mount "src=${PWD}/test_data,target=/mnt,type=bind" agdrone/transformer-soilmask:2.1 --working_space "/mnt" --metadata "/mnt/experiment.yaml" "/mnt/2020-11-06_smithfield_50ft_transparent_mosaic_group1.tif"

with
soilmask.sh experiment.yml myortho.tif

?

For Rosa, the focus can be on the CyVerse interface; skip the docker stuff for her use case

Chris to review notes

Post-review of notes:
As has been mentioned elsewhere in documentation related issues, it is very difficult to know where to start at. The starting point is actually the drone-makeflow docker image (or repository, if wanting to build your own docker image). There is also a CyVerse app that performs the processing with a much reduced interface (specify 3 files: TIFF, experiment information, and plot geometries) - not requiring explicit docker/docker-related commands.

Although it hasn't been written up, I made a (silent) youtube video that I
made of the DE interface https://youtu.be/wvstIw0trSo

Updates on my work are in issue #341


Can't install the plugin

Hi everyone,
I'm trying to install this plugin (I really wanna do this) but I can't find the CEP folder you are talking about, searching on internet I understood that is some sort of adobe sdk but I still can't understand how the folder should be created.
thanks for the help

@wanbinkimoon Hi! Are you using CC 2015? and what OS?

I'm using cc 2015 and Mac OS X El Capitan
--
Nicola Bertelloni
Mobile: +39<PHONE_NUMBER>

On 08 ott 2015, at 19:12, hernan<EMAIL_ADDRESS>wrote:
@wanbinkimoon Hi! Are you using CC 2015? and what OS?
—
Reply to this email directly or view it on GitHub.

@wanbinkimoon did you try instructions on this page? they seem to work fine.
https://helpx.adobe.com/x-productkb/global/installingextensionsandaddons.html
go to "Install third-party extensions".
where it says:
Run the command ./Contents/Mac OS/ExManCmd --install .zxp to install the extension.
change it to
./Contents/MacOS/ExManCmd --install bodymovin.zxp

Yes, i get a dialog box which says that the xml file has been corrupted.
On 8 October 2015 at 21:49:52, hernan<EMAIL_ADDRESS>wrote:
@wanbinkimoon did you try instructions on this page? they seem to work fine.
https://helpx.adobe.com/x-productkb/global/installingextensionsandaddons.html
go to "Install third-party extensions".
where it says:
Run the command ./Contents/Mac OS/ExManCmd --install .zxp to install the extension.
change it to
./Contents/MacOS/ExManCmd --install bodymovin.zxp
—
Reply to this email directly or view it on GitHub.

@wanbinkimoon can you attach a screenshot of the dialog box?

May want to consider submitting this to the adobe add-ons portal
https://creative.adobe.com/addons
This way users can install it automatically through the creative cloud, extension manager is EOL (https://www.adobeexchange.com/resources/27).

@cjgammon I tried to do it twice. but I got an email informing me that zxp extensions are not accepted for AE plugins and I should create another type of installer. I haven't figured out what installer is acceptable. I guess they mean native installers.

Hi,
I tryied againg and again and again.
I made some progresses but, still not working, at the moment I'm dealing with an error 403 given by the ExManCmd, I did find any documentation on the web regarding ExManCmd errors, can you help me?

@wanbinkimoon Hi.
Another user told me it happened the same to him. But he tried again and it worked. Here is a list of error codes.
http://www.adobeexchange.com/resources/19#errors
Have you tried editing the registry key?

Hi,
I tried a lot of times but the error still come up, what do you mean editing the registry key?

@bodymovin sent you an e-mail

Can you send it again, I never receive it :)
On 14 October 2015 at 17:30:48, CJ Gammon<EMAIL_ADDRESS>wrote:
@bodymovin sent you an e-mail
—
Reply to this email directly or view it on GitHub.

I sent an e-mail to bodymovin, regarding submitting the plug-in to the adobe add-ons portal. sorry for the confusion.

I'm using cc 2015 and Mac OS X El Capitan
it doesn not show up on window>extentions

@KyleDEV how did you install it?
Instructions here usually work well.
https://helpx.adobe.com/x-productkb/global/installingextensionsandaddons.html
ignore first part and go directly to "Install third pary extensions"

@bodymovin
just before your answer, I succeeded.
I find out this link: https://www.adobeexchange.com/resources/27
and that takes me to: https://www.adobeexchange.com/resources/28
I followed the instructions
Although  the command accually was..
cd THEPATHofMY_ExMan_root
./Contents/MacOS/ExManCmd --install bodymovin.zxp
./Contents/MacOS/ExManCmd --list all
I think it basically the same as your answer.
Thank you for your help

@bodymovin
I've tried installing the plugin using the above instructions as well as trying to install it manually, but when I copy the code into terminal, I get an error:
Failed to install, status = -156!
I've tried the troubleshooting area of the Adobe website but can't seem to find this error anywhere.
I've edited the registry key.
Can you please explain the installation process as if I am 5 years old!
I'm using AE2015 on OSX Yosemite.

@ratchetdrums that error usually means the zxp file is missing or corrupted.
can you copy the command you are running to install it?
If you want to try it manually, you can follow instructions on this video:
https://vimeo.com/144533677
they are in spanish but you can follow them visually :)

Ahh I've got it working now, thank you for that video link :)
I hadn't renamed the extension folder in the CEP extensions to 'bodymovin'

You can have a look at this ZXP Installer. And the extension seems to load perfectly fine without debug mode on (CC14 & 15), since it's signed. I was wondering why you ask the user to turn on debug mode?

@Klustre nice! I didn't know about it. I'll try it out.
I ask to set debug mode to tru because if you install it manually, you need debug mode for it to work.

@bodymovin Actually as long as it's signed and none of the files are changed by the user, you can simply copy an extension's root folder to the extensions folder and it works, without setting debug mode to true.

@Klustre I'm not sure that is enough. I've received many mails telling me the extension was visible on the menu but wouldn't open. When they added the debug mode, it started working.
But I'll look further into it.

@bodymovin What I've found is that it depends on how the ZXP is being extracted. On OSX when extracting the ZXP using The Unarchiver, everything runs just fine. But when changing .zxp to .zip and extracting it with the native unzipper corrupts the package and therefore it shows up in the menu, but doesn't work. I'd be happy to hear your findings!

Confirmed had the same ting on OSX ElCaptain you need to use a 3rd party extractor.
From:  Klustre<EMAIL_ADDRESS>Reply-To:  bodymovin/bodymovin<EMAIL_ADDRESS>Date:  Friday, 11 December 2015 at 3:37 AM
To:  bodymovin/bodymovin<EMAIL_ADDRESS>Subject:  Re: [bodymovin] Can't install the plugin (#17)
@bodymovin What I've found is that it depends on how the ZXP is being extracted. On OSX when extracting the ZXP using The Unarchiver, everything runs just fine. But when changing .zxp to .zip and extracting it with the native unzipper corrupts the package and therefore it shows up in the menu, but doesn't work. I'd be happy to hear your findings!
—
Reply to this email directly or view it on GitHub.

Hey there,
I followed the tutorial you shared : https://vimeo.com/144533677
Everything looks fine except that the "Extensions" Tab doesnt show up in "Window". Anyone ?...
Thx a lot,

@bgkillertavu Which After Effects version are you using?

CS6 and CC v.<IP_ADDRESS>
I've changed both plist and checked them.
Should i try with CC2015 ?

It works just fine with CC15...

@bgkillertavu Extensions have been supported only since AE CC14, so that's why. And Extension Manager has been killed, also never supported AE. Use the ZXP Installer as noted a few posts up.

I was getting the -403! error with ExManCmd also.
I unzipped the ZXP file and moved the resulting folder into /Library/Application Support/Adobe/CEP/extensions/ and then the plugin worked for me.
I'm on OSX 10.9 w/ AE CC 2014

still open? nobody fixed this?

@wanbinkimoon Do you mean none of the above options worked for you?

@wanbinkimoon it's available on the adobe addons store.
https://creative.adobe.com/addons/products/12557
If that doesn't work for you and need to do it manually I'd suggest using instructions on this video.
https://creative.adobe.com/addons/products/12557
They are in spanish but you can follow them visually.

Hello.
I've got a similar problem. It doesn't show in AE. (Window>Extensions)
Extension is installed, shows in extension manager. I retried manually as well following the options suggested here. Still no results. (AE CC 2015.2 - on Win 10)
Thank you.

It lets me add bodymovin through the addons store but doesn't seem to be syncing with AE.
When I try install it manually, it gives me this error when I try to open the .zxp file:

it's available on the adobe add ons store
https://creative.adobe.com/addons/products/12557.

This link was working recently, now i'm getting an error message, and am unable to find bodymovin anywhere.

Yes, no idea what happened, it disappeared completely from the addons store.
I'm trying to find out what is going on.

I don't know if it helps, but I'm able to find it at https://creative.adobe.com/addons/patches/29687 when i'm logged in. The fact that it's at patches rather than products make me think something may have gone wrong with an update or something.

so if i install it manually successfully and still don't see extension in the window drop down what do I do????

@l3omtz can you check in Windows > Extensions ?

Yeah I'm in AE and at the top I see  Windows but when I click on it there is no Extensions section

what AE version are you using?

CC 2015

@l3omtz os version?

El Capitan

someone made a video on how to install it in Mac.
They're in spanish but you can follow them visually.
https://vimeo.com/144533677
let me know if the help.

lol well good thing I understand spanish, I'll let you know thank you!

AH! I had to update AE, I SEE IT NOW!!!

Hi there,
I.m looking forward to use this incredible extension but unfortunatelly I've encountered some problems. Here is what I did so far:

I've tried to install addons via adobe site (totally not working).
Extension manager doesnt work at all for AE CC15 it doesn't even show after effects on the left panel and it gives me an error.
Exman gives me an -160 error aswell.

Finally I got to the point where manual installation (copying files into CEP folder) caused that "Bodymovin" button finally showed in the after effects menu (screen attached). However clicking the button doesnt do anything and I've edit the regedit (however I'm not sure if I did it properly thats why I'm attaching a screen). I've also check the box "allow scripts to write files and acces network".
I am running AE CC2015 on win7
Thanks for your help.
[url=https://postimg.org/image/hmt66klel/][img]https://s22.postimg.org/hmt66klel/EM_error.jpg[/img][/url]
[url=https://postimg.org/image/mmqmeir19/][img]https://s22.postimg.org/mmqmeir19/inside_AE.jpg[/img][/url]
[url=https://postimg.org/image/5nhnz9ftp/][img]https://s22.postimg.org/5nhnz9ftp/path.jpg[/img][/url]
[url=https://postimg.org/image/8izcjv97h/][img]https://s22.postimg.org/8izcjv97h/regedit.jpg[/img][/url]

@jvvnsk Hi I'm attaching a screenshot of my reg editor.On the left panel, click on the CSXS.6 folder and on the right panel right click and select new > String value
Also make sure you don't have extra spaces on the name.
Then close AE and restart it.

Worked! Thank you very much :)

Hey All,
First off, incredible plugin! I'm on MacOS El Capitan 10.11.6 running After FX 2015.3, and was able to get the plugin installed manually following the Vimeo link above. Clicking on the extension in Windows > Extension produced no plugin window however. Renaming the plugin folder seemed to do the trick:
~/Library/Application Support/Adobe/CEP/extensions/com.bodymovin.bodymovin

Hope this helps anyone that was having the same issue I was. Cheers and keep animating!

To anyone still having problems with the ZXP: have a look at the aescripts ZXP installer. It has matured and is available to the public. There should be no problems installing any ZXP with it.
@bodymovin Perhaps you want to mention this in readme.md instead of the manual installation description?

whether this plugin can work in adobe after effect cs6 ?

@Ibadnf Yeah, I agree

Hi guys,
I have tried everything and still cannot get the extension menu to show up. I'm using Adobe After Effects CS6 on Windows 10. I have tried ZPX installer, aescripts + aeplugins zpx installer, and exman, all of them seem to fail. I have also done manual installation, please look at the attached images. Any help would be highly appreciated.

Hi, CS6 is not supported. CC2014 and up.

Hello everyone,
I have CC, and I can't download the plugin. I tried through Extension Manager :

What can i do ?

@clemencegermain

CC2014 and up

You should use the aescripts installer to install Bodymovin.

Hello everyone,
After getting -160 and -403 errors using terminal, I used aescripts installer to install bodymovin and succeeded. Now I go to AE window tab and I cannot see extensions tab.
I really want to install this plugin could anyone help?
thx

@velask Bodymovin supports CC2014 and up


npm install ngx-exhaustive-check --save

Is your feature request related to a problem? Please describe.

If this is used only in compile time,  then this lib should be in devDependencies

Describe the solution you'd like

npm install ngx-exhaustive-check --save-dev

Describe alternatives you've considered
Additional context

Hi, thank you for pointing it out. 😄
This package still contributes some "transform" code to the production bundle, for example:
var Nd = (() => {
  let t = class t {
    transform(r, o = []) {
      return r;
    }
  };
  (t.ɵfac = function (o) {
    return new (o || t)();
  }),
    (t.ɵpipe = ki({ name: "ec", type: t, pure: !0, standalone: !0 }));
  let e = t;
  return e;
})();

Although this is a small piece of code, eliminating it from the final bundle would be preferable.
Currently, I am unsure if there is a way to eliminate it during compilation. 🤔


Moved remote client out of docker backend

to make it more generic moved ibm_vpc client files from pywren_ibm_cloud/libs/docker/clients
to pywren_ibm_cloud/libs/clients

changed directory where docker remote files stored from default /temp to /pywren-temp

removed remote_client calls to start/stop remote system on every usage

added remote_client.start if needed to the compute.py constructor

added compute.cleanup to stop remote system using remote_client

to avoid compute.cleanup called on executor garbage collection automatically specify pywren.data_cleaner : False in the config file and call it on demand using executor_instance.clean().

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

In my opinion there is no need to modify compute.py, invoker.py and executor.py.  compute.py is a very high level abstraction of all compute backends, and the logic added here seems to be very tied to the docker backend. Is there any reason to not to add the logic you added in compute.py into the docker.py __init__ method?
Also, as @gilv mentioned, I think the clean() method is not the correct place to "stop" the VM. You can simply add the __del__ method into the docker.py and then the VM will be automatically stopped once the Compute instance is deleted. This way there is no need to add extra logic tied in the invoker.py and executor.py files since everything would be automatic. You can also use the atexit module as we do in the localhost backend to stop the VM automatically when python exits.

@JosepSampe sometimes we have
pw.docker(func1,....)
pw.docker(func2,..)
so we don't want to stop VM between them. Based on your suggestion if we use del method of the docker.py then VM will be stoped between steps

In my opinion there is no need to modify compute.py, invoker.py and executor.py. compute.py is a very high level abstraction of all compute backends, and the logic added here seems to be very tied to the docker backend. Is there any reason to not to add the logic you added in compute.py into the docker.py __init__ method?

Actually, the whole point of this design is separating the compute backend from the initialization/finalization to avoid too many sub-types of back-ends who differ only in the environment being initialized or destroyed, such as docker_vpc, docker_ecs, ow_vpc, ow_ec2, localhost_ec2, etc. With this design, compute back-ends remain unchanged, but can be combined with various initialization and finalization options. This contributes to long-term code sustainability, by maintaining fewer independent components. compute.py is the level just above the compute backend and focuses on managing low-level compute, so it seems logical to implement the template method pattern there.

@JosepSampe any input?

@erezh16 Thanks for clarifying this. So the idea here is that some of the executors (not only docker) can be backed by a VM, right?
@gilv I think that with the current code it is not possible to run multiple maps from the same executor (if you get the results from each map), since the VM is stopped after getting the results, for example the next example will fail after the first get_result():
pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result() << -- VM is stopped here
<<-- from here all the next calls will fail
pw.map(fn2)
res2 = pw.get_result()
pw.map(fn3)
res3 = pw.get_result()
...

So I'm wondering when the VM should be stopped...
In addition, now the VM is also stopped if a user uses the executor context manager, so the example you provided above will stop VM between steps as the "stop" signal was within the __del__ method. But for the context manager I think it is ok.

@JosepSampe I think the pull request of @kpavel  will not stop VM between stages. @kpavel is this corrent?
pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result() << -- VM is NOT stopped here with the PR of @kpavel
<<-- from here all the next calls will fail
pw.map(fn2)
res2 = pw.get_result()
pw.map(fn3)
res3 = pw.get_result()

@kpavel @JosepSampe just run
    pw = pywren.docker_executor(log_level='DEBUG', storage_backend='ibm_cos')
    futures = pw.map(my_first_map_function, iterdata)
    print (pw.get_result())
    futures = pw.map(my_second_map_function, iterdata)
    print (pw.get_result())

    pw.clean()
    pw.dismantle()

Perfectly works

@JosepSampe I think the pull request of @kpavel will not stop VM between stages. @kpavel is this corrent?
pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result() << -- VM is NOT stopped here with the PR of @kpavel
<<-- from here all the next calls will fail
pw.map(fn2)
res2 = pw.get_result()
pw.map(fn3)
res3 = pw.get_result()

Correct. Although, there an option to automatically trigger dismantle by setting "auto_dismantle" attribute to True in the pywren section in config.

Would it make sense to add a simple test to prove the point?

@gilv Yep, that's the point, the auto_dismantle parameter is False by default, but following the docs seems that is must be set to True. So following the docs I expected the VM to be automatically stopped even if I run more than one map().

@JosepSampe hmm...good point related  auto_dismantle..

@gilv Yep, that's the point, the auto_dismantle parameter is False by default, but following the docs seems that it must be set to True. So following the docs I expected the VM to be automatically stopped even if I run more than one map().

You right, documentation updated

Thanks @kpavel, This is now much more clear.
My main concern was always how to deal with novice users that doesn't know how things internally work (I have 60+ new of them every year ;) ). For advanced users I think it is great to have the possibility to manually stop the VM when needed. But for novice users I think the best option is to set it to True by default. Why? When coding an application, it is very common that the code raises exceptions everywhere, so the exec.dismantle() method,  probably located at the end of the script, could be never called, leaving the VM started (for days? weeks?).
Additionally, I think it would be great that the users could run multiple calls from the same executor when the auto_dismantle param is set to True. So I'm wondering if the wait() method is the correct place to put it. Why not put it in in the __del__ method of the Executor? This way there will be a consistent behaviour between traditional usage and context manager, and the dismantle method will be called even if there is an exception in the user's code.
For example, these both scripts will work correctly in the same way if "auto_dismantle" param is set to True:
pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result()
pw.map(fn2)
res2 = pw.get_result()

pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result()
pw.map(fn2)
res2 = pw.get_result()

with pywren.ibm_cf_executor() as pw:
       pw.map(fn1)
       res1 = pw.get_result()
       pw.map(fn2)
       res2 = pw.get_result()

with pywren.ibm_cf_executor() as pw:
       pw.map(fn1)
       res1 = pw.get_result()
       pw.map(fn2)
       res2 = pw.get_result()

What do you think @kpavel @gilv? ot is there something that I'm missing that requires to stop the VM after getting the results?

Thanks @kpavel, This is now much more clear.
My main concern was always how to deal with novice users that doesn't know how things internally work (I have 60+ new of them every year ;) ). For advanced users I think it is great to have the possibility to manually stop the VM when needed. But for novice users I think the best option is to set it to True by default. Why? When coding an application, it is very common that the code raises exceptions everywhere, so the exec.dismantle() method, probably located at the end of the script, could be never called, leaving the VM started (for days? weeks?).
Additionally, I think it would be great that the users could run multiple calls from the same executor when the auto_dismantle param is set to True. So I'm wondering if the wait() method is the correct place to put it. Why not put it in in the __del__ method of the Executor? This way there will be a consistent behaviour between traditional usage and context manager, and the dismantle method will be called even if there is an exception in the user's code.
For example, these both scripts will work correctly in the same way if "auto_dismantle" param is set to True:
pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result()
pw.map(fn2)
res2 = pw.get_result()

pw = pywren.docker_executor()
pw.map(fn1)
res1 = pw.get_result()
pw.map(fn2)
res2 = pw.get_result()

with pywren.ibm_cf_executor() as pw:
       pw.map(fn1)
       res1 = pw.get_result()
       pw.map(fn2)
       res2 = pw.get_result()

with pywren.ibm_cf_executor() as pw:
       pw.map(fn1)
       res1 = pw.get_result()
       pw.map(fn2)
       res2 = pw.get_result()

What do you think @kpavel @gilv? ot is there something that I'm missing that requires to stop the VM after getting the results?

@JosepSampe From my experience, you can't count on del method for such things. I also checked in pywren and didn't notice that executor.del or compute.del called ever.

@JosepSampe i agree with your points...this is also my fear that something not by the "book" and then VM will not be stoped.  I prefer to be on the safe side, so i don't mind to use del  as you suggested. But @kpavel claims that del will not solve the issue as it not always called, so seems del will not solve the issue. So the question i guess when del is called and in which cases it's not

@gilv I ran some experiments and in my case both executor.__del__ and compute.__del__ are always called correctly, even if  I provoque an exception. @kpavel In what circumstances do you see the __del__ method is not called?
The only constraint with adding logic in __del__ is that this logic always works ok except when __del__ is called when a python script has finished. During the python finalization process it is not possible to spawns process or open files, so I'm wondering if it is possible to perform a call to the VPC API...

@gilv I ran some experiments and in my case both executor.__del__ and compute.__del__ are always called correctly, even if I provoque an exception. @kpavel In what circumstances do you see the __del__ method is not called?
The only constraint with adding logic in __del__ is that this logic always works ok except when __del__ is called when a python script has finished. During the python finalization process it is not possible to spawns process or open files, so I'm wondering if it is possible to perform a call to the VPC API...

Changed the auto_dismantle to True by default. As well added call to dismantle from executor.__del__
In my environment (Python 3.7.4), i never see that executor.__del__ called. To make it more safe we should recommend users to use context manager or call the dismantle explicitly.

@JosepSampe any more comments?

@JosepSampe Nop ;) If I could replicate it, I will investigate in the future why with that environment the __del__ method is not called, and if there is any alternative

@JosepSampe i also plan to see who is right here - you claiming it's called or @kpavel who claims it'a not ;)...

@gilv I think we are all correct: The __del__ method is called when the object is destructed, i.e. if there is some reference of the executor stored somewhere, the  __del__ method is never called. If instead all the references are deleted, then the __del__ method is called. So depending of the script and how the user coded the application, it is possible that the __del__ method could be never called during the execution. In any case, I think it is always called when the script finishes its execution.


MDOP May 2019 Servicing Release: new Hotfix Link

Description:

Microsoft Desktop Optimization Pack May 2019 Servicing Release.
Replaces the outdated MDOP link to July 2018 Servicing Release.

Notes:
Thanks to @CaptainUnlikely for the Technet blogs information update.

Github issue ticket reference or closure:
Closes #4574

cc @jvsam

@lizap: Are you available for review and merge of this relevant update?

HI @shortpatti and @Dansimp, this PR is ready for your review, please merge if there are no issues. It contains the correct Desktop Optimization Pack link. Thank you.

Thank you @Dansimp!


Number of modules ignore background setting

I'm certain that this is an issue with my configuration because I'm ignorant of something or other, but I couldn't find answers anywhere. In short, my modules, in this order, are battery, date, wlan, xbacklight, pulseaudio, xkeyboard, script, and mpd. all of these are set to the same module background color, different from the bar background color, except the script module. battery, wlan, pulseaudio, and mpd ignore the module background setting in favor of the bar background setting. I can't seem to find the commonality here, it seems arbitrary which ones work and which don't.
My configuration is at https://pastebin.com/raw/z772nedU
No errors other than a "no monitor specified" warning and a "pulseaudio: using default sink" warning are output.
Screenshot: https://i.imgur.com/X8Xidf9.png
I appreciate whoever takes time out of their day to diagnose my weird configuration problem, thanks a lot.

The battery, network, pulseaudio, and mpd modules all don't have the format key, so format-background will have no effect there. They all define multiple format-* keys and you will need to set the background for each of these formats, see the formatting wiki page and #1479


Django 1.9 upgrade migrations fail

I am upgrading django to 1.9 and Oscar to 1.3(from 1.2.1) and migration gives following error
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/core/management/__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/core/management/base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/core/management/base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 200, in handle
    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/migrations/executor.py", line 92, in migrate
    self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/migrations/executor.py", line 121, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/migrations/executor.py", line 198, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/migrations/migration.py", line 123, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/migrations/operations/models.py", line 359, in database_forwards
    getattr(new_model._meta, self.option_name, set()),
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 318, in alter_unique_together
    self._delete_composed_index(model, fields, {'unique': True}, self.sql_delete_unique)
  File "/Users/nuruddin/.virtualenvs/magaz/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 347, in _delete_composed_index
    ", ".join(columns),
ValueError: Found wrong number (3) of constraints for catalogue_attributeoption(group_id, option)

Closing as this appears to be an issue with your project rather than Oscar core. You might be able to get help on the mailing list.


How to compile FreeRDP for mac?

The steps of Compiling FreeRDP for mac:
1.Download the latest freerdp.
git clone https://github.com/FreeRDP/FreeRDP.git
2.Make
cd FreeRDP
cmake . && make
3.  ./client/Mac/cli/MacFreeRDP.app/Contents/MacOS/MacFreeRDP /v:"IP adddress" /cert-ignore
When I perform cmake . && make, the error occoured:
[ 40%] Built target winpr
[ 41%] Built target winpr-tools
[ 41%] Linking C executable winpr-makecert
ld: library not found for -lcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [winpr/tools/makecert-cli/winpr-makecert] Error 1
make[1]: *** [winpr/tools/makecert-cli/CMakeFiles/winpr-makecert.dir/all] Error
How can I solve this error, or if the method of  compilation is wrong, can give me the correct compiler tutorial?

https://github.com/FreeRDP/FreeRDP/wiki/BugReporting
Please stop spamming the issue tracker and start reading the link I posted.
Additionally there is a doc folder in the git repo.


About the face enhancer

In enhance.py, there're two directories that haven't appeared in the previous steps. One is dataset_dir = '../data/face_yx_fang'. I just copy results/target/test_latest/images to this directory, which are the fake images generated in the previous step by running transfer.py.
Another one is ckpt_dir = '../checkpoints/yxu_face', which I think is the same as ckpt_dir = '../checkpoints/face'. But there's still something wrong with the final video with face enhancement. It seems that the head position from pose_source_norm.npy is wrong. Does anyone have any idea with this?
Below are some sample frames from my current result.

你好，你有微信号吗？我的981687874

你好，你有微信号吗？我的981687874
你好，请问你在运行python ./face_enhancer/prepare.py 遇到FileNotfoundError: [Error2] No such file or directory: '../data/face/'这个错误吗?
如果遇到，你是如何解决的呢?谢谢

你好，请问你在运行python ./face_enhancer/prepare.py 遇到FileNotfoundError: [Error2] No such file or directory: '../data/face/'这个错误吗?
如果遇到，你是如何解决的呢?谢谢

把代码里的空格删掉

我遇到了同样的问题  请问你解决了吗

For whoever watch this,  you need to change the filename of face_enhancer model to 'final_generator.pth' in the folder './checkpoints/face/'


[l10n] Localization class is not generated when used in a package

Steps to Reproduce
When using l10n in a project with app(s) and multiple packages, it seems that it only works (generates the localization class) if the template arb and l10n.yaml are located in the app.
Our project has the following structure:
apps/
  |
  --- app1
  --- app2
packages
  |
  --- package1
  --- package2
  --- package3

Some of these packages are actually features that can be used by any of the apps and hence, have their own set of localizations. As an experiment I tried running app1 and placed the arb template and l10n.yaml in package2, but nothing was generated, nor did I get any exception.
In the same project, if I move the files mentioned above to app1, and run it, then the localization class is generated.
It would be great if this use case is supported since there many people using similar approach (mono repo projects).

Logs
```
% flutter doctor -v
[✓] Flutter (Channel master, 1.19.0-2.0.pre.197, on Mac OS X 10.15.4 19E287, locale en-NL)
    • Flutter version 1.19.0-2.0.pre.197 at /Users/user/IdeaProjects/hue_blue/dev/flutter
    • Framework revision d9144bf8fc (2 hours ago), 2020-05-29 11:55:02 -0700
    • Engine revision c19459ab7d
    • Dart version 2.9.0 (build 2.9.0-11.0.dev 6489a0c68d)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc3)
• Android SDK at /Users/user/Library/Android/sdk/
• Platform android-R, build-tools 29.0.0-rc3
• ANDROID_HOME = /Users/user/Library/Android/sdk/
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 38.2.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Community Edition (version 2020.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 45.1.3
• Dart plugin version 201.7223.43
[✓] Connected device (1 available)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E287
• No issues found!

</details>

This is intentional. Since l10n generation relies on generating source files, the tooling needs to place these somewhere resolvable.

If the generated sources are placed in the original package, the pub-cache is invalidated and all bets are off. If the contents of the cache can't be trusted, we need to purge it and redownload on every run - not good!.

If the generated sources are placed in a generated directory, they need to be bound to the original package URI. the only way to bring two disparate folders into the same package namespace is to use a multiroot file scheme. Unfortunately this breaks debugging, since the file URIs that IDEs send will no longer map to the correct source files.

If the generated sources are placed in the application directory, they risk colliding with generated sources from the application itself. There is no straightforward way to remove the risk of collisions and still honor the l10n settings predictably.

The correct solution is to generate and check-in these source files.

@jonahwilliams, thanks for the explanation.
It's a pity that we won't be able to use this capability (generate code during build) in larger projects (using mono repo). Nevertheless, l10n is a nice tool and can be used in such setup given the user handles the code generation himself.

CC @shihaohong


[Help] Cancel builder.Prompts.choice()

My bot has a prompt that asks for user input:
builder.Prompts.choice(session, "Is it ok?", ["Yes", "No"]);
Now, when a user responds with something else other than "Yes" or "No" the program will always keep waiting for a reply that matches "Yes" or "No" with:
I did not understand. Please choose an option from the list
with the same choices as before.
I would like the bot to not ask for input again if the user types something else other than "Yes" or "No" (and reset the prompt stack so). Is there a way to do so?
Sample code of what i would like to do:
bot.dialog('/', [
    function (session) {
        builder.Prompts.choice(session, "Is it ok?", ["Yes", "No"]);
    },
    function (session, results) {
        if (results.response.entity == "Yes") {
            session.send("You have chosen Yes!");
        } else if (results.response.entity == "No") {
            session.send("You have chosen No!");
        } else {
        // users writes something else than yes or no
        // prompts pop itself from stack like it never happened
        }
    }
]);

@scibol You can probably use IPromptOptions to skip retries. Something along these lines:
var options = {
    maxRetries: 0,
};
builder.Prompts.choice(session, "Is it ok?", ["Yes", "No"], options);

@palmerabollo Thank you very much.


Enable refresh button to refresh list of buckets at the top level

When a user is at the top level of the file browser, they are looking at the list of buckets. However, if a new bucket is created, and they hit refresh, the list of buckets is not refreshed. Currently, they have to reload the page. It would be helpful if we could get the refresh button working at the top-most level.

In addition to the above, the refresh and filter features don’t work and also don’t give any user feedback when clicked. For example: clicking refresh after deleting a bucket still continues to display the bucket. Clicking filter has no effect.


Laravel 5.8

https://github.com/dogadogmbh/baum/blob/69bbcd94e0ce82cd2124708bf79c167e9a8793d6/src/Move.php#L398
The fire Method
Likelihood Of Impact: Low
The fire method (which was deprecated in Laravel 5.4) of the Illuminate/Events/Dispatcher class has been removed. You should use the dispatch method instead.

fixed


kemal: 404 adopt string given :|

It was a bit surprising that the default 404 handler "ignores" returned strings, ex:

get "/" do |env|
  env.response.status_code = 404
  "here is some failure text, unable to find something"
end

because by default kemal uses the return strings, but then for a "404" case it silently ignores it by default.  Might be nice to have the default 404 handler text somehow include any given text returned from the proc.
Cheers!

Unfortunately you can't do this. Instead you can customize your 404 error.
error 404 do |env|
  env.response.print "here is some failure text, unable to find something"
end

Right, I guess consider this a feature request that it can return more
easily custom strings to the 404.
On Thu, Nov 10, 2016 at 4:58 AM, Serdar Dogruyol<EMAIL_ADDRESS>wrote:

Unfortunately you can't do this. Instead you can customize your 404 error.
error 404 do |env|
env.response.print "here is some failure text, unable to find something"end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sdogruyol/kemal/issues/249#issuecomment-259672461,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAw0B8Slj7oHPjwmtshnWaJRcQlkhPuks5q8wbTgaJpZM4KuKiF
.

would something like this work?
get "/" do |env|
  env.response.status_code = 404
  env.response.print "here is some failure text, unable to find something"
  env.response.close
end

@sdogruyol sorry if this is the wrong place, but I'm looking for something similar. For example, I would hope that something like this would work:
error 404 do |env, err|
  env.response.content_type = "application/json"
  {message: err.message}.to_json
end

get "/thing/:id" do |env|
  # try to get id but it doesn't exist
  # ... omitted for brevity
  env.response.status_code = 404
  raise RouteNotFound("Thing not found for id: #{id}")
end

But instead, that error (and the others) does not accept my custom response content. So it seems I need to do something more manual like:

remove the existing 404 from handlers and return my own content as if it were a normal response (i.e. don't raise)
or
close the response before my route proc ends so that your tooling can't affect it?

Am I missing the right way to do this?

Update, you can't really remove the existing 404 handlers. If you remove them before you call run, then run adds them back, if you clear them after, the config was already read so mutations don't do anything. :(
I guess I have to close the response?


fail to compile

Hi, Joseph, I'm trying to compile it but it fails.
Versions:
$ cargo -V
cargo 1.63.0
$ rustc -V
rustc 1.63.0 (Arch Linux rust 1:1.63.0-1)

Error:
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/shenwei/.cargo/registry/src/github.com-1ecc6299db9ec823/sfasta-0.3.2/libsfasta/src/lib.rs:1:12
  |
1 | #![feature(byte_slice_trim_ascii)]
  |            ^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/shenwei/.cargo/registry/src/github.com-1ecc6299db9ec823/sfasta-0.3.2/libsfasta/src/lib.rs:2:12
  |
2 | #![feature(is_sorted)]
  |            ^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `sfasta` due to 2 previous errors
error: failed to compile `sfasta v0.3.2`, intermediate artifacts can be found at `/tmp/cargo-installnVyjwo`

Full log

    $ cargo install sfasta
      Downloaded sfasta v0.3.2
      Downloaded 1 crate (215.6 KB) in 12.88s
      Installing sfasta v0.3.2
      Downloaded xz v0.1.0
      Downloaded ahash v0.8.0
      Downloaded virtue v0.0.7
      Downloaded alloc-stdlib v0.2.1
      Downloaded zstd v0.11.2+zstd.1.5.2
      Downloaded bincode_derive v2.0.0-rc.1
      Downloaded bincode v2.0.0-rc.1
      Downloaded alloc-no-stdlib v2.0.3
      Downloaded unicode-ident v1.0.3
      Downloaded bitpacking v0.8.4
      Downloaded clap_lex v0.2.4
      Downloaded console v0.15.1
      Downloaded brotli-decompressor v2.3.2
      Downloaded bytelines v2.4.0
      Downloaded bitvec v1.0.1
      Downloaded crunchy v0.2.2
      Downloaded clap_derive v3.2.18
      Downloaded clap v3.2.18
      Downloaded tokio v1.20.1
      Downloaded brotli v3.3.4
      Downloaded either v1.8.0
      Downloaded futures-channel v0.3.24
      Downloaded futures v0.3.24
      Downloaded futures-io v0.3.24
      Downloaded git-version-macro v0.3.5
      Downloaded futures-task v0.3.24
      Downloaded heck v0.4.0
      Downloaded indicatif v0.17.0
      Downloaded git-version v0.3.5
      Downloaded futures-util v0.3.24
      Downloaded futures-sink v0.3.24
      Downloaded futures-macro v0.3.24
      Downloaded futures-executor v0.3.24
      Downloaded futures-core v0.3.24
      Downloaded funty v2.0.0
      Downloaded libc v0.2.132
      Downloaded os_str_bytes v6.3.0
      Downloaded pin-utils v0.1.0
      Downloaded proc-macro2 v1.0.43
      Downloaded radium v0.7.0
      Downloaded slab v0.4.7
      Downloaded serde v1.0.144
      Downloaded simdutf8 v0.1.4
      Downloaded quote v1.0.21
      Downloaded terminal_size v0.1.17
      Downloaded tap v1.0.1
      Downloaded wyz v0.5.0
      Downloaded strsim v0.10.0
      Downloaded snap v1.0.5
      Downloaded lz4_flex v0.9.4
      Downloaded proc-macro-hack v0.5.19
      Downloaded pin-project-lite v0.2.9
      Downloaded textwrap v0.15.0
      Downloaded zstd-safe v5.0.2+zstd.1.5.2
      Downloaded static_assertions v1.1.0
      Downloaded once_cell v1.13.1
      Downloaded number_prefix v0.4.0
      Downloaded syn v1.0.99
      Downloaded twox-hash v1.6.3
      Downloaded xz2 v0.1.7
      Downloaded zstd-sys v2.0.1+zstd.1.5.2
      Downloaded libz-ng-sys v1.1.8
      Downloaded 62 crates (7.3 MB) in 3.24s (largest was `libz-ng-sys` at 1.8 MB)
       Compiling libc v0.2.132
       Compiling autocfg v1.1.0
       Compiling cfg-if v1.0.0
       Compiling proc-macro2 v1.0.43
       Compiling quote v1.0.21
       Compiling unicode-ident v1.0.3
       Compiling syn v1.0.99
       Compiling once_cell v1.13.1
       Compiling version_check v0.9.4
       Compiling memchr v2.5.0
       Compiling crossbeam-utils v0.8.11
       Compiling futures-core v0.3.24
       Compiling futures-task v0.3.24
       Compiling futures-channel v0.3.24
       Compiling futures-sink v0.3.24
       Compiling futures-util v0.3.24
       Compiling scopeguard v1.1.0
       Compiling pin-project-lite v0.2.9
       Compiling pkg-config v0.3.25
       Compiling proc-macro-hack v0.5.19
       Compiling rayon-core v1.9.3
       Compiling pin-utils v0.1.0
       Compiling ppv-lite86 v0.2.16
       Compiling futures-io v0.3.24
       Compiling crossbeam-queue v0.3.6
       Compiling serde v1.0.144
       Compiling crunchy v0.2.2
       Compiling radium v0.7.0
       Compiling zstd-safe v5.0.2+zstd.1.5.2
       Compiling crc32fast v1.3.2
       Compiling log v0.4.17
       Compiling alloc-no-stdlib v2.0.3
       Compiling bytes v1.2.1
       Compiling unicode-width v0.1.9
       Compiling either v1.8.0
       Compiling heck v0.4.0
       Compiling snap v1.0.5
       Compiling static_assertions v1.1.0
       Compiling hashbrown v0.12.3
       Compiling tap v1.0.1
       Compiling termcolor v1.1.3
       Compiling os_str_bytes v6.3.0
       Compiling virtue v0.0.7
       Compiling regex-syntax v0.6.27
       Compiling strsim v0.10.0
       Compiling bitflags v1.3.2
       Compiling number_prefix v0.4.0
       Compiling humantime v2.1.0
       Compiling funty v2.0.0
       Compiling simdutf8 v0.1.4
       Compiling proc-macro-error-attr v1.0.4
       Compiling proc-macro-error v1.0.4
       Compiling ahash v0.8.0
       Compiling alloc-stdlib v0.2.1
       Compiling memoffset v0.6.5
       Compiling crossbeam-epoch v0.9.10
       Compiling slab v0.4.7
       Compiling tokio v1.20.1
       Compiling indexmap v1.9.1
       Compiling rayon v1.5.3
       Compiling itertools v0.10.3
       Compiling wyz v0.5.0
       Compiling clap_lex v0.2.4
       Compiling brotli-decompressor v2.3.2
       Compiling bincode_derive v2.0.0-rc.1
       Compiling crossbeam-channel v0.5.6
       Compiling bitpacking v0.8.4
       Compiling aho-corasick v0.7.18
       Compiling bitvec v1.0.1
       Compiling getrandom v0.2.7
       Compiling terminal_size v0.1.17
       Compiling atty v0.2.14
       Compiling num_cpus v1.13.1
       Compiling jobserver v0.1.24
       Compiling brotli v3.3.4
       Compiling rand_core v0.6.3
       Compiling textwrap v0.15.0
       Compiling console v0.15.1
       Compiling crossbeam-deque v0.8.2
       Compiling cc v1.0.73
       Compiling regex v1.6.0
       Compiling bincode v2.0.0-rc.1
       Compiling rand_chacha v0.3.1
       Compiling crossbeam v0.8.2
       Compiling indicatif v0.17.0
       Compiling cmake v0.1.48
       Compiling rand v0.8.5
       Compiling env_logger v0.9.0
       Compiling zstd-sys v2.0.1+zstd.1.5.2
       Compiling lzma-sys v0.1.19
       Compiling libmimalloc-sys v0.1.25
       Compiling libz-ng-sys v1.1.8
       Compiling twox-hash v1.6.3
       Compiling toml v0.5.9
       Compiling lz4_flex v0.9.4
       Compiling xz2 v0.1.7
       Compiling xz v0.1.0
       Compiling futures-macro v0.3.24
       Compiling git-version-macro v0.3.5
       Compiling clap_derive v3.2.18
       Compiling mimalloc v0.1.29
       Compiling git-version v0.3.5
       Compiling clap v3.2.18
       Compiling futures-executor v0.3.24
       Compiling futures v0.3.24
       Compiling bytelines v2.4.0
       Compiling flate2 v1.0.24
       Compiling zstd v0.11.2+zstd.1.5.2
       Compiling sfasta v0.3.2
    error[E0554]: `#![feature]` may not be used on the stable release channel
     --> /home/shenwei/.cargo/registry/src/github.com-1ecc6299db9ec823/sfasta-0.3.2/libsfasta/src/lib.rs:1:12
      |
    1 | #![feature(byte_slice_trim_ascii)]
      |
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/shenwei/.cargo/registry/src/github.com-1ecc6299db9ec823/sfasta-0.3.2/libsfasta/src/lib.rs:2:12
  |
2 | #![feature(is_sorted)]
  |

For more information about this error, try `rustc --explain E0554`.
error: could not compile `sfasta` due to 2 previous errors
error: failed to compile `sfasta v0.3.2`, intermediate artifacts can be found at `/tmp/cargo-installnVyjwo`

Ahh, oops on my part. I'm using some nightly features. Switch your rust install over with this:
(If you cloned the repo:
rustup overright nightly
Or if you are using cargo install:
rustup default nightly
And let me know if that works.

cargo +nightly install sfasta

btw, I've encountered the following issue:
sfa view ref.fa.sfasta | head -n2
>7|GCF_000010525.1
CATCCAGAGCGGCGGGGTCTTCTGCGGGAAGCCGTCCAGCACGTTCAGAAACGGGGAGGGCTTGGCCCTAAGCTCGCTCA
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:1015:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Is it something related to my Rust configuration?

I failed to install rustup due to file conflicts.
cargo +nightly seems not to work for my cargo 1.63.0, though the online doc also recommends this command.
$ cargo +nightly install sfasta
error: no such subcommand: `+nightly`

I think statically-compiled binary files would be more convenient for non-Rust users like me :smiling_face_with_tear:

@slw287r No, rust panics when the pipe is closed (which head does). Pushing out a fix now, give it 10 mins and give it another reinstall. Thanks for finding it!

@shenwei356 That's a good idea (and probably via conda as well). Rust mostly produces static binaries anyways, so should be good to go. But, there is only 1 nightly feature being used so I removed it for now and am pushing out a new version that works on stable.
cargo install sfasta should install 0.3.3 but if not add --force after install.


MI - INSTALL AND SETUP section (Deployment Synchronization)

Complete the docs on deployment synchronization [1].
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/setup/deployment_synchronization.md

Done.
Need review.

@nilminiwso2 we do not support dep sync in Micro Integrator. Therefore shall we remove setup/deployment_synchronization.md?

Removed references to deployment synchronization from deployment docs.


[Fix][UI Next][V1.0.0-Beta] Fix bug where name copy is invalid

Purpose of the pull request
close #9682
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #9684 (181c165) into dev (29a0ea3) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #9684      +/-   ##
============================================
- Coverage     40.02%   40.01%   -0.01%
+ Complexity     4475     4474       -1
============================================
  Files           835      835
  Lines         33550    33550
  Branches       3710     3710
============================================
- Hits          13427    13425       -2
- Misses        18875    18876       +1
- Partials       1248     1249       +1

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
53.33% <0.00%> (-1.34%)
:arrow_down:

Continue to review full report at Codecov.

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


Use a getter function to avoid manual work for future to-be-added cpu…

To avoid modifying the Get*FeaturesEnumValue() function, one can use a setter function.

@gchatelet any chance of getting this code in or any comments on it?

@gchatelet added 3 test-cases to the ARM architecture. One of them tests for out of bound.

Thx !


STACKED BAR CHART WITH NAMES

Hello, I would like to know how to use this example:
http://d3plus.org/examples/advanced/929be3aef3295d9e0acd/
But I would like that names to appear above each unit as in this example:
https://d3plus.org/examples/basic/9029130/
Thank you

already answered before https://github.com/alexandersimoes/d3plus/issues/354


Feature Request: Sample for Web Authentication (FIDO 2.0)

There should be an code example how to use the new Web Authentication standard, since it is soon to be supported by all major browsers.
https://docs.microsoft.com/en-us/microsoft-edge/dev-guide/device/web-authentication

Not asking for much are we?

Mostly want to keep track of this. Does not mean that we need to implement it anytime soon.

Do you have any links to working .net sdks?

I don't think that there are .NET libraries for it. It's actually a browser feature. So JavaScript only so far.

Client is not useful without a server.
thx ..Tom (mobile)
On Apr 12, 2018 5:27 PM, Johann Dirry<EMAIL_ADDRESS>wrote:
Not asking for much are we?
Mostly want to keep track of this. Does not mean that we need to implement it anytime soon.
Do you have any links to working .net sdks?
I don't think that there are .NET libraries for it. It's actually a browser feature. So JavaScript only so far.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/IdentityServer/IdentityServer4/issues/2232#issuecomment-380983955, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKxq1gDtRLvjTYlAV-bzLdLK3zbzLBscks5tn_DagaJpZM4TSrWJ.

Well, I have started working on U2F, but am waiting on existing pull request for 2fa.

So here is my proof of concept fido2 library for .net: https://github.com/abergs/fido2-net-lib
There's a bunch of todos such as validating the attestmentStatement correctly, support multiple formats etc. But I can put a Yubikey in my computer and "register" and do some minor verification.
Feedback etc is very welcome.

Cool. Will have a look ASAP.

@leastprivilege I actually borrowed the Base64Url code from your blog haha 💯

Maybe team up with @scottbrady91 -
https://www.scottbrady91.com/FIDO/A-FIDO2-Primer-and-Proof-of-Concept-using-ASPNET-Core
and produce an In-Mem UI showing registration and login. Would make a nice template!

this announcement bring web authn a bit closer
https://blogs.windows.com/msedgedev/2018/07/30/introducing-web-authentication-microsoft-edge/

@TomCJones the OP would have to implement the WebAuthn RP operations.

@elukewalker and @TomCJones That is what we are solving in this lib: https://github.com/abergs/fido2-net-lib. Lot's of exciting progress the last couple of days.

FIDO2 also fits nicely into the OpenID Enhanced Authentication Profile  (EAP) Working Group's EAP ACR Values spec which enables OpenID Connect RPs to request phishing-resistant authentication be performed.

I get this - any idea about where to look?
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/1.1 GET http://localhost:4728/
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 334.4534ms 404

never mind - he really means it
http://localhost:4728/index.html

@leastprivilege I think it would be interesting to discuss my second point from earlier comment. In anyway, could a Resource Owner see if the JWT has been created by a second factor on the IdSrv? A special claim?
Could a Resource Owner ask the client the make an assertment against the IdSrv if that claim is not present or e.g. older than 20 minutes (similar to linux sudo)? Or what each Resource Owner need to implement their own FIDO2 endpoints to support fido2 assertments of identity.
(I can see how a ResourceOwner might need to have those endpoints for domain specific assertments

@abergs when we implemented IDS4 I made it a requirement that the amr claim return something sensible - e.g. "amr":["pwd","otp"]. The spec says amr values are outside its scope but acr values are defined and in the new EAP draft they add "phr" and "phrh" (for phishing resistent and phishing resistent hardware) which fit nicely with my existing theme so I'd be tempted to use those values depending on the attestment we receive for a given registration. I guess you'd then return the "best of the bunch" amr in the token too.
The client is then within its rights to check the auth_time claim and amr claims and force reauthentication if it's not happy.
Our solution currently doesn't use acr_values to control authentication as this is driven by policies defined within the identity service instead. However if you wanted to put the client in control of this there's no reason why the IDP could not guide the user down the path of setting up enhanced authentication if their current setup does not meet those of the client they're trying to use. Any given client should know the requirements of the APIs it's calling.
Thanks for all your work by the way, I look forward to picking up your lib and running with it 👍

@mackie1001 hey, thanks for the comment.

and force reauthentication if it's not happy.

How would this work, simply redirecting to the SSO login page would (naively) redirect back to the client (redirect URL) since we have a valid session cookie.
Would the recommended approach be a custom login page which accepts re-auths even though user is logged in.

There are now a mix of ideas that are not fitting together well at all.

session cookies that have info needed to access apis that are obtained before accessing the api
progressive authentication where the api has specific needs that may not be part of default authn
user consent - which seems to only track scopes and not other requests for claims.
It seems like a paradigm shift is in order.

Update on FIDO2 .NET library. We just shipped the 1.0.0 Preview which has 100% conformance test passing and would love some feedback. So if you're curious about this, please give it a go 🎉 It brings examples etc for how to implemented it, so that might be a good starting ground for a IdentityServer sample?

Yep, I saw that @abergs. I need to find some time to have a look. Thanks.

@abergs Nice work, saves me a job that's for sure!

We cannot support/maintain UI/workflow samples - so will close this.
I hope I find the time to use @abergs lib - will link from the docs then.


Write some initial tests

I've omitted tests for the simple landing page since there's no real content, auth or functionality ... but it can't stay that way  😉

Initial unit and e2e tests via Vitest and Cypress has been added.  But there's still an open discussion about testing strategies in case we'd like to explore other test frameworks (like Jest, or Playwright).


Update RSAT tool names

No such thing as Azure AD DS tools - updating to AD DS tools which matches what's in the UI

@bdesmond : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Replace Github to GitHub in all applicable places

Replace Github to GitHub in all applicable places in project
Also
If possible change repository name to github-theme-for-jetbrains or jetbrains-github-theme something like that, so we could get some SEO benefits

Actually, Its safe and easy to do it now, once we have little bit of traction from people then it will become difficult, so increased priority.

Done. 😀 e0f4878


fix: Added GetConfigFromViper function

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