UMA compatibiliy

Hello,
Thank you for the "SCIM for Keycloak" plugin.
I got it working on latest Keycloak version, currently syncing Azure AD users thanks to the tutorial.
However, I'm not able to make it work with a custom app that uses the SCIM-node library (made by Gluu but adapted for our use-case).
This library expects, as per the norm, to get a 401 HTTP return code when accessing an UMA-protected resource. This 401 should contain a permission ticket. However in my testing the ticket information is not present when getting a 401 on /auth/realms/myrealm/scim/v2/Users.
Can you tell me if this setup is supposed to work (so UMA is supported and the problem is somewhere else on my side), or if UMA compatibility is at the moment not supported.

the SCIM endpoint are indeed not respecting the UMA protocol. A failed authentication attempt is simply responded with 401 unauthenticated or if successfully authenticated with a 403 forbidden if the necessary roles for accessing the resources are missing.
What is it you want to achieve by using the UMA protocol on the SCIM endpoints? I have considered the SCIM endpoints to be in an administrational function only to be used by very few authorized parties. What is your use-case?

OK, thanks for your answer.
The need is only to make SCIM to work correctly in my app, replacing an existing Gluu server with Keycloak.
The use-case is that the webapp allows users with enough privileges to list and change some user attributes through SCIM.
This boils down to calling getUser() et editUser() from this library. This library is not really flexible: it expects to be able to authenticate through UMA.
Do you know any good SCIM library for NodeJS that will work with your plugin?

unfortunately I cannot give you a good advice here, since I am using my own implementation of a SCIM client in my JS applications that has very simplified though.
import {useUserLogin} from "../provider/login-provider";
import {Optional} from "./utils";

export function useScimClient()
{

  const auth = useUserLogin();

  function createResource(resourcePath, resource, onSuccess, onError)
  {
    auth.accessToken.then(accessToken =>
    {
      fetch(resourcePath, {
        method: "POST",
        headers: {
          'Content-Type': 'application/scim+json',
          'Authorization': 'Bearer ' + accessToken
        },
        body: JSON.stringify(resource)
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 201,
          status: response.status,
          resource: response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  function getResource(resourcePath, id, params, onSuccess, onError)
  {
    auth.accessToken.then(accessToken =>
    {
      let searchParams = new Optional(params).map(parameters => "?" + new URLSearchParams(parameters).toString())
                                             .orElse("");
      let url = resourcePath + new Optional(id).map(val => "/" + encodeURIComponent(val)).orElse("") + searchParams;

      fetch(url, {
        method: "GET",
        headers: {
          'Authorization': 'Bearer ' + accessToken
        }
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 200,
          status: response.status,
          resource: response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  async function listResources({
                                 resourcePath,
                                 startIndex,
                                 count,
                                 filter,
                                 sortBy,
                                 sortOrder,
                                 attributes,
                                 excludedAttributes,
                                 onSuccess,
                                 onError
                               } = {})
  {
    auth.accessToken.then(accessToken =>
    {
      let startIndexParam = new Optional(startIndex).map(val => "startIndex=" + val).orElse(null);
      let countParam = new Optional(count).map(val => "count=" + val).orElse(null);
      let filterParam = new Optional(filter).map(val => "filter=" + encodeURI(val)).orElse(null);
      let sortByParam = new Optional(sortBy).map(val => "sortBy=" + encodeURI(val)).orElse(null);
      let sortOrderParam = new Optional(sortOrder).map(val => "sortOrder=" + val).orElse(null);
      let attributesParam = new Optional(attributes).map(val => "attributes=" + encodeURI(val)).orElse(null);
      let excludedAttributesParam = new Optional(excludedAttributes).map(
        val => "excludedAttributes=" + encodeURI(val)).orElse(null);

      let query = Array.of(startIndexParam, countParam, filterParam, sortByParam, sortOrderParam, attributesParam,
        excludedAttributesParam)
                       .filter(val => val != null)
                       .join("&");

      query = new Optional(query).filter(val => val.length > 0).map(val => "?" + val).orElse("");

      let requestUrl = resourcePath + query;

      fetch(requestUrl, {
        method: "GET",
        headers: {
          'Authorization': 'Bearer ' + accessToken
        }
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 200,
          status: response.status,
          resource: response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  function updateResource(resourcePath, id, resource, onSuccess, onError)
  {
    auth.accessToken.then(accessToken =>
    {
      fetch(resourcePath + "/" + encodeURIComponent(id), {
        method: "PUT",
        headers: {
          'Content-Type': 'application/scim+json',
          'Authorization': 'Bearer ' + accessToken
        },
        body: JSON.stringify(resource)
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 200,
          status: response.status,
          resource: response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  function patchResource(resourcePath, id, patchBody, onSuccess, onError)
  {
    auth.accessToken.then(accessToken =>
    {
      fetch(resourcePath + "/" + encodeURIComponent(id), {
        method: "PATCH",
        headers: {
          'Content-Type': 'application/scim+json',
          'Authorization': 'Bearer ' + accessToken
        },
        body: JSON.stringify(patchBody)
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 200,
          status: response.status,
          resource: response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  function deleteResource(resourcePath, id, requestBody, onSuccess, onError)
  {
    auth.accessToken.then(accessToken =>
    {
      fetch(resourcePath + "/" + encodeURIComponent(id), {
        method: "DELETE",
        headers: {
          'Authorization': 'Bearer ' + accessToken
        },
        body: requestBody ? JSON.stringify(requestBody) : null
      }).then(response =>
      {
        let tmpResponse = {
          success: response.status === 204,
          status: response.status,
          resource: response.status === 204 ? undefined : response.json()
        };
        if (tmpResponse.success)
        {
          new Optional(onSuccess).ifPresent(func => func());
        }
        else
        {
          new Optional(onError).ifPresent(func => tmpResponse.resource.then(json => func(json)));
        }
        return tmpResponse;
      });
    });
  }

  return {
    createResource: createResource,
    getResource: getResource,
    listResources: listResources,
    updateResource: updateResource,
    patchResource: patchResource,
    deleteResource: deleteResource
  };
}

Thanks, I will try to get it working with my app, and report back probably next week.

In the provided code, I guess that you're using the user access token to authenticate the requests.

Does that mean that any authenticated user can do SCIM operations?
On a more general perspective, how fine-grained are the authorization in the SCIM server? only client <-> realms? Can I ensure that 2 SCIM clients will only do SCIM operations on their users, and not the other users in the same realm?

There is a yes and a no

It is basically possible to grant every user access to the SCIM endpoints and I just noticed that I am not pointing out clearly enough that this is possible if the configuration is neglected.
The details can be found here: https://scim-for-keycloak.de/documentation/administration/realm-management

First things first. (section Enable Access to SCIM) Authentication on the SCIM endpoints are only authorized if authenticated by a client that was assigned in the "Service Provder -> Authorization" section.
for the different resource-types (section: Resource Type Authorization) you can assign realmRoles that are necessary to get access to the different endpoints. A more detailed documentation can be found here: https://github.com/Captain-P-Goldfish/SCIM-SDK/wiki/Authentication-and-Authorization#authorization.

The SCIM endpoints are not accessible if no Client in the authorization section was assigned (If the authentication is turned on). And users authenticating over other applications (other Clients) will not be granted access.

Thx. This question pointed out that the documentation on the website on this topic should be brought more to the foreground
Each realm has its own individual security configuration. So the configuration for realm A will have no effect for the configuration on realm B

I will try to create some graphics with enough explanations for the website

Thanks.
So, it seems that there is no way to restrict a SCIM client to manage only "its" users (the roles are bound to a Resource Type, not a resource). This implies that I need to make use of a different realm per business client (a client being in that case an OIDC client + potentially another OIDC client for AzureAD and SCIM if not using the local user DB).
This has some big impacts on our application, so I need to assess the solutions available for multi-tenancy.

Ah I see what you are getting at. This is indeed not possible with this solution. I once had a similiar problem where we wanted to share the same users for different tenants but with different access-rights on these tenants and its resources. The easiest way in my opinion is to use different realms and try to synchronize users between realms. It would probably also be possible to add an create the users in one realm and to add a delegation identity-provider from realm B to realm A so that the users from there are accepted too in realm B.
I actually never tried this its just a theory that might work :-)

Well, the problem for us is more that we wanted the authentication server to be the entry point for all users, and after authentication the user would be redirected to the correct applicative instance by the reverse-proxy. However Keycloak assumes that users will reach the correct realm login URL. So :

Either we put all the users in the same realm, so the login URL is the same for everyone (but this is not compatible with different SCIM clients that will not be restricted to only their users). Maybe a plugin like Keycloak Organizations can help.
Either we go multi-realm, by developping a custom component that will redirect to the correct realm, or using a plugin like Keycloak Multi-Tenancy.

FYI, we made our own implementation of NodeJS SCIM library (only the few functions needed). This work great!
Now we'll have to find a solution for the mutli-tenancy problem.
Anyway this has nothing to do with UMA compatibility, so you can close the issue if you want, as we do not need it anymore, or keep it open if you think this feature can be interesting for the project.


Add Enabled options to ProxyRoute, Cluster & Destination

What should we add or change to make your life better?
Add a bool Enabled property to ProxyRoute, Cluster & Destination and only apply them if Enabled is true.
Why is this important to you?
There are scenarios that we need to temporary stop serving requests for a specific route or cluster. It's easier to set Enabled to false, instead of removing a whole section for a route and bring it back later.

There are scenarios that we need to temporary stop serving requests for a specific route or cluster.

Can you give examples for these scenarios?

There are scenarios that we need to temporary stop serving requests for a specific route or cluster.

Can you give examples for these scenarios?

Can you give examples for these scenarios?

The scenarios happens when YARP is being used as an API Manager. Sometimes there's a need to stop serving an API (route) or set of APIs (cluster) or sometimes we need to config an API but publish it later.

Can you give examples for these scenarios?

The scenarios happens when YARP is being used as an API Manager. Sometimes there's a need to stop serving an API (route) or set of APIs (cluster) or sometimes we need to config an API but publish it later.

``range(n): 0, 1, 2, ... n-1
range(x,y): x, x+1, x+2, ... y-1 code this over this

``range(n): 0, 1, 2, ... n-1
range(x,y): x, x+1, x+2, ... y-1 code this over this

Would you expect the config validator to run for these disabled entities? We don't do that for things like Session Affinity since we assume the config may be incomplete. Note routes that fail validation can cause the entire config to be rejected.
https://github.com/microsoft/reverse-proxy/blob/240c5b7b79d5813c90f5f52e0d68fcd504dc0c81/src/ReverseProxy/Service/Config/ConfigValidator.cs#L307-L311

Would you expect the config validator to run for these disabled entities? We don't do that for things like Session Affinity since we assume the config may be incomplete. Note routes that fail validation can cause the entire config to be rejected.
https://github.com/microsoft/reverse-proxy/blob/240c5b7b79d5813c90f5f52e0d68fcd504dc0c81/src/ReverseProxy/Service/Config/ConfigValidator.cs#L307-L311

Also add some factor for it like 2V And 5V That's Better

Also add some factor for it like 2V And 5V That's Better

Would you expect the config validator to run for these disabled entities? We don't do that for things like Session Affinity since we assume the config may be incomplete. Note routes that fail validation can cause the entire config to be rejected.

Uhmm, I think the ideal solution would be to also validate disabled entities but if the validation failed only ignore that specific entity whether it's disabled or enabled and log them at critical level or report it in health check or expose the validation errors via an API, so eventually there's a dashboard that shows all valid and invalid entities.

Would you expect the config validator to run for these disabled entities? We don't do that for things like Session Affinity since we assume the config may be incomplete. Note routes that fail validation can cause the entire config to be rejected.

Uhmm, I think the ideal solution would be to also validate disabled entities but if the validation failed only ignore that specific entity whether it's disabled or enabled and log them at critical level or report it in health check or expose the validation errors via an API, so eventually there's a dashboard that shows all valid and invalid entities.

@Tratcher how is appsettings.json parsed? Does it support comments?
@Kahbazi if so would that be an adequate solution?

@Tratcher how is appsettings.json parsed? Does it support comments?
@Kahbazi if so would that be an adequate solution?

@Kahbazi if so would that be an adequate solution?

Commenting the entities will work, but it would be helpful to have a dashboard to see enabled and disabled entities.

@Kahbazi if so would that be an adequate solution?

Commenting the entities will work, but it would be helpful to have a dashboard to see enabled and disabled entities.

Triage: We should leave this custom per config provider -- in json we should just leverage comments (our parser supports it we think).
ServiceFabric provider can do something on its own if it is important there.
Closing.


Is it possible for you share the bed file with unbound/bound ALU regions?

Due to some technical issues I was unable to setup peak calling with MultiGPS and unable to generate the positive/negative window files chr3toY_pos_shuf.bed and chr3toY_pos_shuf.bed. I imagine these files are quite big, could the authors please share a bed file with ALU regions that overlaps with bound/unbound regions ?

Hi Sheetal,
Feel free to use the following links to see the files:
alus.bed, a bed file containing all the hg38 Alu regions: https://mitra.stanford.edu/kundaje/oak/kcochran/domain_adaptation_nosexchr/data/hg38/alus.bed
chr3toY_neg_shuf.bed, a bed file containing all genomic windows not bound by CTCF, for all chromosomes except 1,2,M,X,Y (apologies that the filename is confusing, but chrX/chrY are not used): https://mitra.stanford.edu/kundaje/oak/kcochran/domain_adaptation_nosexchr/data/hg38/CTCF/chr3toY_neg_shuf.bed
chr3toY_pos_shuf.bed, a bed file containing all genomic windows bound by CTCF on all chromosomes except 1,2,M,X,Y: https://mitra.stanford.edu/kundaje/oak/kcochran/domain_adaptation_nosexchr/data/hg38/CTCF/chr3toY_pos_shuf.bed
To obtain the files for the other TFs used in the original study, simply replace "CTCF" with "CEBPA", "Hnf4a", or "RXRA" in the link.
Hope this helps!
Kelly


Finding runtime changes for .NET 4.8

I apologize as I am completely missing it, but I can't find a list of Runtime (vs Retargeting) changes for .NET 4.8. When I choose the drop downs on this page ("Select the .NET Framework you are currently targeting and then the .NET Framework you wish to migrate to") it redirects me to the Retargeting Changes page and for each item on that page the "Type" is listed as Retargeting. Even when choosing .NET 4.0 to 4.8 it only lists Retargeting changes and not Runtime changes. Thanks in advance for your help.

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

ID: 4ea2516e-2b0d-7759-1703-c3a146a5c343
Version Independent ID: 0776830f-df42-931d-ec86-f57b17a6545e
Content: Runtime Changes in the .NET Framework
Content Source: docs/framework/migration-guide/runtime/index.md
Product: dotnet-framework
Technology: dotnet-appcompat
GitHub Login: @conniey
Microsoft Alias: ronpet

Thanks for pointing this out, @csrowell. I apologize for the inconvenience. We've unfortunately supplied incorrect URLs for all runtime changes that include .NET Framework 4.8, which causes retargeting rather than runtime changes to be displayed. We'll fix this immediately, though changes won't be published to docs.microsoft.com until early next week.
In the meantime, you can manually modify the URL to display runtime changes. For example, if you select runtime changes from .NET Framework 4.5.2 to .NET Framework 4.8, the page at https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.5.2-4.8 is displayed. To display the corresponding runtime changes page, change retargeting in the URL to runtime, so that the URL becomes https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/runtime/4.5.2-4.8.

Perfect, thanks for the workaround and letting me know I'm not crazy. 😊


[TECHDEBT][Persistence] Fix Persistence Module TODOs - Consolidate Actor

Objective
A general cleanup issue is needed to tackle TODO's and ensure the persistence module is usable/readable by consolidating Actor with BaseActor as part of https://github.com/pokt-network/pocket/issues/172.
Origin Document
Should follow issue-#128, issue-#105, issue-#147 and issue-#148 the persistence module is messier and more difficult to understand than the developers would want for organic external contribution.
Goals / Deliverables

[ ] Consolidate Actor in persistence/schema/base_actor.go with BaseActor in persistence/schema/base_actor.go.

General issue checklist

[ ] Update the appropriate CHANGELOG
[ ] Update the README
[ ] If applicable, update the source code tree explanation
[ ] If applicable, add or update a state, sequence or flowchart diagram using mermaid
[ ] Update any relevant global documentation & references
[ ] Document small issues / TODOs along the way

Creator: @andrewnguyen22
Co-creator: @Olshansk

@andrewnguyen22 Could you take this one on if you have some spare cycles?

@Olshansk @jessicadaugherty during sync meeting we de-prioritized this in backlog for this sprint. I will pick up tickets accordingly in backlog if necessary


Code syntax not displayed on my preview notes

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[X] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[X] Markdown.  Markdown features, such as syntax support and features

Describe the bug
My code syntax on my preview notes are not rendering. It seems that css has some trouble to load correctly since the upload of VSCode to 1.66
To Reproduce
Steps to reproduce the behavior:
1-On dendron md file, write:
def function(x):
    print(x)

2-Show preview
Expected behavior
The code should be displayed correctly
Screenshots

Desktop (please complete the following information)

OS: MAC OS
Browser (if with published websites; include version): [e.g. chrome, safari]
Versions (all that apply to bug):

Dendron Extension: 0.88
VS Code version:1.66
Dendron CLI:

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dev:Dendron: Open Logs here

Thanks for creating the issue. We had a chat in Discord.
Since this is resolved by reverting the VSCode version, I'll mark this to automatically close in 4 days.


Quick Script install failure on Ubuntu 20.04 LTS

Deployment Method

[X] Installer
[ ] Docker Development
[ ] Docker Production
[ ] Bare metal Development
[ ] Bare metal Production
[ ] Digital Ocean image
[ ] Other (please provide a link Steps to Reproduce

Describe the problem*
When doing a new install using the quick script installer on a Ubuntu 20.04 LTS droplet on Digital ocean the install completes successfully but the Inventree service does not work with the Nginx proxy returning 502.
A similar issue is mentioned in this discussion: https://github.com/inventree/InvenTree/discussions/6109. But after running the mentioned "inventree run cli update" the issue does not seem to be fixed.
Steps to Reproduce

Create a new droplet with Ubuntu 20.04 LTS on Digital ocean
Update all packages using apt
Run the one liner: "wget -qO install.sh https://get.inventree.org && bash install.sh"

Relevant log output
Inventree logs after running the installer:
Jan 02 19:13:07 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: Stopped inventree-worker-1.service.
Jan 02 19:13:07 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: Started inventree-worker-1.service.
 Are you sure it's installed and available on your PYTHONPATH >
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: inventree-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: inventree-worker-1.service: Failed with result 'exit-code'.
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: inventree-worker-1.service: Scheduled restart job, restart counter is at 7.
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: Stopped inventree-worker-1.service.
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: inventree-worker-1.service: Start request repeated too quickly.
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: inventree-worker-1.service: Failed with result 'exit-code'.
Jan 02 19:13:08 ubuntu-s-1vcpu-1gb-ams3-01 systemd[1]: Failed to start inventree-worker-1.service

The issue seems to be already fixed in the main / development branch.


Update for Hyper 0.10

See: https://github.com/hyperium/hyper/issues/934
Once the tokio stack is released and hyper 0.10 is too this sample and book should be updated with the new concepts in a new section.
The iron part can't really be done until it's up to date with async io.

That'shyper 0.11. And this could probably be done now that it's in master.


macOS Hombrew -> rar -> wrong Syntax

Hello.
The Program says "we need rar" and its easy to install via homebrew...
Then it says to install rar: brew install caskroom/cask/rar
This gives an Error and says you need to use: brew install homebrew/cask/rar
Error: caskroom/cask was moved. Tap homebrew/cask instead.
➜  ~ brew install homebrew/cask/rar
==> Downloading https://www.rarlab.com/rar/rarmacos-x64-624.tar.gz
######################################################################### 100.0%
==> Installing Cask rar
==> Moving Generic Artifact 'default.sfx' to '/usr/local/lib/default.sfx'
==> Moving Generic Artifact 'rarfiles.lst' to '/usr/local/etc/rarfiles.lst'
==> Linking Binary 'rar' to '/usr/local/bin/rar'
==> Linking Binary 'unrar' to '/usr/local/bin/unrar'
🍺  rar was successfully installed!
➜  ~
So the Correct Syntax is: brew install homebrew/cask/rar

i installed comictagger on another machine.
brew install rar is enough :)

@tocotronaut that helps, but unfortunately the directory are not saved. I use the latest release (1.6.0-alpha.10).


Fixing structure

This PR contains primarily docs changes. I added a Benefits section which I intend to expand. RIght now, it contains the reproducibility aspect of ZenML. There is just one small change to the actual codebase with adding _check_registered in the BasePipeline to ensure no duplication of pipeline yaml files
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING.md document.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I have read through the new parts. Aside from the few comments, they all LGTM!

I have read through the new parts. Aside from the few comments, they all LGTM!


Changed case for URL_MD5 in gtest.cmake

This fixes a bug while configuring the project
[  3%] Performing download step (download, verify and extract) for
'gtest-external'
-- downloading...
src='https://github.com/google/googletest/archive/release-1.7.0.zip'
dst='D:/Jenkins/jobs/clFFT_From_GitHub/workspace/build/gtest-external-prefix/src/release-1.7.0.zip'
-- [download 0% complete]
...
-- [download 100% complete]
-- verifying file...
file='D:/Jenkins/jobs/clFFT_From_GitHub/workspace/build/gtest-external-prefix/src/release-1.7.0.zip'
-- MD5 hash of
D:/Jenkins/jobs/clFFT_From_GitHub/workspace/build/gtest-external-prefix/src/release-1.7.0.zip
does not match expected value
expected: 'EF5E700C8A0F3EE123E2E0209B8B4961'
actual: 'ef5e700c8a0f3ee123e2e0209b8b4961'
cmake --version
3.6.1

The PR fails for Windows, but the PR is not related to the problem encountered on Windows. -> Can be merged

What platform does this fail on?  Linux or MacOSX?

@kknox Looks like windows..

The original bug was detected on my machine, a Windows/MinGW job on a personal Jenkins server. The bug occurs in CMake, with considers that two md5sum with different case are different.
I have created a PR to fix this.
Unfortunately, the AppVeyor job with my PR fails, but it does not seem to be related with my PR.
So, I guess it can be merged!

it's silly that the MD5 sum is case sensitive, I've never run into this issue before, but i've never tested on mingw.  Btw, have you ever tested on the new 'ubuntu on windows' functionality on win10?  Just a curiousity question.  Otherwise, i consider this fix benign and safe to merge.  Changed target to /develop branch.


option/doc: fix kube-proxy-services-optional.md link broken

Signed-off-by: ArthurChiao<EMAIL_ADDRESS>

CC @brb , thanks!


Prompt to convert dashes to underscores

In rally-emacs, if you try to create a clj file with dashes in the filename, you will be prompted to change the dashes to underscores. This is really nice, as it's easy to forget to use underscores in the filename. We should have this feature too.

This is actually from clj-refactor. See here.


Can't unset Line Numbers setting "relative"

Type: Bug
This is on a locally installed VSCode instance.

change settings line number from "on" to "relative"
reload Window
change settings line number back to "on"
reload Winow
Line numbers will now be "relative" again

I tried modifying the JSON user settings and specifically setting "editor.lineNumbers": "on" but that also did not help
I tried deleting the settings file under %APPDATA%/Code/User. After the VSCode Window is reloaded a new settings file is generated pre-filled with "editor.lineNumbers": "relative"!

Thanks for the fast response!
Settings Sync is disabled
The problem does not reproduce with extensions disabled!
--> I was able to pinpoint the culprit of the issue thanks to your
suggestion.
https://marketplace.visualstudio.com/items?itemName=EnkelDigital.relative-goto
I wasn't aware that I had that extension installed.
The description of the extension is a little ambiguous as it states at the
top
"Should be used together with relative line numbers setting in VS code."
but further down it mentions that it
"
*Changes editor.lineNumbers settings on activation to use relative line
numbers" *
So... it's a feature not a bug ;-)
I uninstalled the extension and everything went back to normal finally!
Thanks for the help!
Issue can be closed!
Best regards,
Michael
On Wed, Mar 29, 2023 at 7:44 PM Raymond Zhao @.***>
wrote:

Does this issue reproduce with extensions disabled?
Also, is settings sync enabled?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/178549#issuecomment-1489037120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHU3XFKY4XWRU3227KC4BQ3W6RYGBANCNFSM6AAAAAAWLPDOMY
.
You are receiving this because you authored the thread.Message ID:
@.***>

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


SHACL - Skip validation if no changes

Skip validation if there are no changes in a transaction.
Changes that require validation:

added or removed statement
changed shapes

Special edge case that should skip validation:

shapes changed but underlying store is empty and no added or removed statements

Unit tests are important

Changing this to:
Skip validation if there are no changes in a transaction.
Changes that require validation:

added or removed statement

We don't support revalidating the entire store at the moment, so changing the shacl shapes doesn't retroactively validate previously added data.


npm run build

Hey Leonardo, first of all awesome plugin!!
when I run npm run develop it works perfect, however when am trying to build (npm run build) I get the following error:
ERROR in app.5759ff76dd1a0612ec02.js from UglifyJs Unexpected token: punc (() [./node_modules/vue-multilanguage/src/vue-multilanguage.js:196,0][app.5759ff76dd1a0612ec02.js:2987,10]
You can see the video of the error happening here:
https://www.useloom.com/share/626412a7e56b47389f7a116c092deb9d

"nuxt": "^1.0.0-rc11"
"vue-multilanguage": "^2.2.3"

Project

package.json
nuxt.config.js

Hi, this error no is in vue-multilanguage, but you can resolve commenting the UglifyJS line in webpack.config.js.

Great plugin indeed. Simple and efficient.
But I have run into the same exact problem:
ERROR in static/js/vendor.57d8ec30172fe67cd491.js from UglifyJs
Unexpected token: punc (() [./~/vue-multilanguage/src/vue-multilanguage.js:196,0][static/js/vendor.57d8ec30172fe67cd491.js:40469,10]

And after many attempts, the only thing that fixed the issue was indeed to comment out the UglifyJS lines from webpack.config.js.
But what exactly is going on here?
In my case it happened after installing vue-multilanguage.
But I see that the same issue is reported on several other github vue components, so most probably is not a fault of any of these.
Is it babel not being up to date with ES2016?

Hi All,
Ran into the same problem (when building a Vue Project, I'm NOT using Laravel...)
IMHO ... 'commenting out the UglifyJS line in webpack.config.js.' isn't the way to go...
The must be a reason why UglifyJS is mentioned in 'webpack.config.js' no ?
Why don't other packages have this problem with  UglifyJS ?
(it's just a Q... I don't have that much experience with WebPacks...)
Thanks in advance for your answer.
Kind regards,
Johnny


Provide (custom) icons

Icons should be applied as eye candy to content boxes, navigation, etc.
To maintain scalability, the icons should be provided as SVGs. They may be created using Inkscape, but will require (manual) optimization.

[ ] Create Icons

[ ] Meta (articles, aside box)
[ ] Quote (articles, aside box (tubhrq))
[ ] Also in this series (articles, aside box)

some sort of bookshelf or something reminding a library

[ ] provide the means to include and style these icons

[ ] Preferred Approach

[ ] Async loading of a dedicated icon file (icons.svg) containing the icons as SVG symbols and inlining them using JavaScript
[ ] Using JS (Progressive Enhancement) to inject the icons into the DOM (SVG use)
[ ] have the actual styling already included in the overall style.css

Resources

general information about using SVGs for styling, not directly related; https://stackoverflow.com/questions/19255296/is-there-a-way-to-use-svg-as-content-in-a-pseudo-element-before-or-after
General Information: https://css-tricks.com/using-svg/
Create an icon sprite file like this: https://css-tricks.com/svg-fragment-identifiers-work/
https://css-tricks.com/pretty-good-svg-icon-system/ Recommends inlining the icons, which is what I want to do, though I want to use async loading and DOM manipulation to make caching available
Highly relevant: How to setup the SVG to be able to style them while utilizing SVG's use: https://tympanus.net/codrops/2015/07/16/styling-svg-use-content-css/

similar: https://fvsch.com/svg-icons


Enhancement: UI of toggle button can be improved

The toggle button for dark mode and light mode looks basic. It can be improved.

I would like to work on this

kindly suggest what u wish to do

icons like a sun for light mode and a moon for dark mode or background could change color with a gradient effect.


feature/SupportZepMemoryAndAutoSummary

Support https://docs.getzep.com/sdk/langchain/ in Flowise.
Some limits:

the unique session id should be changed manually in every conversion, because zep server doesn't support session id reuse now

zep-test Chatflow.zip
a simple chatflow demo.

thanks @wangerzi for the Zep addition!
can you help me understand the session id? what do you mean by should be changed manually in every conversion?

thanks @wangerzi for the Zep addition! can you help me understand the session id? what do you mean by should be changed manually in every conversion?

@HenryHengZJ Flowise is an interesting project, I'm very happy to make some contributions.😀
The session id in zep just like a unique identity of a conversion, zep server use session id to find memory, find summary for a request.
But when we want to create a new conversion in flowise, we must change the session id (or automatic generate a uuid for new conversion), because we can't clear zep chat history in this session by api.

Talk is cheap, I'm already prepared a demo to explain it:
Execution Prepare:

run a zep server locally, refer: https://docs.getzep.com/deployment/quickstart/
manually install langchain and @getzep/zep-js

// import { ZepMemory } from 'langchain/memory/zep'
// import { Memory, Message } from '@getzep/zep-js'
const { ZepMemory } = require('langchain/memory/zep')
const { Memory, Message } = require('@getzep/zep-js')

const sessionId = 'test-3'
const zepURL = 'http://localhost:8000'

const memory = new ZepMemory({
    sessionId,
    memoryKey: 'chat_history',
    returnMessages: true,
    baseURL: zepURL
})

async function init() {
    const history = [
        {
            role: 'human',
            content: 'Who was Octavia Butler?'
        },
        {
            role: 'ai',
            content: 'Octavia Estelle Butler (June 22, 1947 – February 24, 2006) was an American' + ' science fiction author.'
        }
    ]

    const messages = history.map(({ role, content }) => new Message({ role, content }))
    const zepMemory = new Memory({ messages })

    await memory.zepClient.addMemory(sessionId, zepMemory)
}

async function testSearch() {
    await init()
    const data = await memory.loadMemoryVariables({
        lastN: 10
    })
    console.log('search data:', data)
}

async function testClear() {
    await memory.clear()
}

async function testCase1() {
    console.log('first search')
    await testSearch()
    await testClear()
    console.log('already cleared')
    await testSearch()
}

testCase1()

Execution Result told us if we can't use official api memory.clear() to reuse a same session id:
$ node test-zep.js
first search
search data: {
  chat_history: [
    ChatMessage {
      text: 'Who was Octavia Butler?',
      name: undefined,
      role: 'human'
    },
    ChatMessage {
      text: 'Octavia Estelle Butler (June 22, 1947 – February 24, 2006) was an American science fiction author.',
      name: undefined,
      role: 'ai'
    }
  ]
}
already cleared
D:\phpStudy\WWW\github\Flowise\node_modules\@getzep\zep-js\dist\zep-client.js:143
                    throw new exceptions_1.UnexpectedResponseError(`addMemoryAsync got an Unexpected status code: ${error.response.status}`);
                          ^

UnexpectedResponseError: addMemoryAsync got an Unexpected status code: 400
    at ZepClient.<anonymous> (D:\phpStudy\WWW\github\Flowise\node_modules\@getzep\zep-js\dist\zep-client.js:143:27)
    at Generator.throw (<anonymous>)
    at rejected (D:\phpStudy\WWW\github\Flowise\node_modules\@getzep\zep-js\dist\zep-client.js:29:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  responseData: undefined
}

Node.js v18.16.0

References:

Langchain source code: https://github.com/hwchase17/langchainjs/blob/main/langchain/src/memory/zep.ts#L143-L152
Zep document: https://www.getzep.com/zep-langchainjs-memory/

@wangerzi oh okay in that case, can we just use timestamp string as session id? that way we can save user from inputting/changing session id everytime

@HenryHengZJ Sounds like a great idea to solve this problem👏, I'll try to use the conversion start time as zep session after 8 hours  (after wake up🌞)

@HenryHengZJ According to the current data structure, I think the first chat message id is a better choice for chat_id
For generality, I found the first chat message in backend, and pass it by options in INode definition init?(nodeData: INodeData, input: string, options?: ICommonObject): Promise<any>
This is the minimum modification in my mind, but I'm not sure if you have better solution for this.

Key Code:

https://github.com/FlowiseAI/Flowise/pull/284/files#diff-8e6dfbbfb522575fe7c568c2de518bf9de351de83c9dbb48eaa865cd54450eb3R509-R518
https://github.com/FlowiseAI/Flowise/pull/284/files#diff-473a2e7fb254080e3d1f8e339d5bbf13cb756874dd9aae2b3def6d49a8dfb41dR218

@HenryHengZJ According to the current data structure, I think the first chat message id is a better choice for chat_id
For generality, I found the first chat message in backend, and pass it by options in INode definition init?(nodeData: INodeData, input: string, options?: ICommonObject): Promise<any>
This is the minimum modification in my mind, but I'm not sure if you have better solution for this.

Key Code:

https://github.com/FlowiseAI/Flowise/pull/284/files#diff-8e6dfbbfb522575fe7c568c2de518bf9de351de83c9dbb48eaa865cd54450eb3R509-R518
https://github.com/FlowiseAI/Flowise/pull/284/files#diff-473a2e7fb254080e3d1f8e339d5bbf13cb756874dd9aae2b3def6d49a8dfb41dR218

i love the idea of using first chat id, that way when user clear the conversation, the session id will also be refreshed

@HenryHengZJ I'm already update the code based on our conversion, and I create a new function getChatId at index.ts, it's easy to use but I'm not sure if this is the best place.

@HenryHengZJ Thank you very much for your patience and guidance, I have changed my code by your comment.😀
em, but I just have a little confusion, I don't known how to test ChildProcess.ts in the UI

@HenryHengZJ Thank you very much for your patience and guidance, I have changed my code by your comment.😀
em, but I just have a little confusion, I don't known how to test ChildProcess.ts in the UI

In the .env file in packages/server, you can specify the EXECUTION_MODE: https://github.com/FlowiseAI/Flowise/blob/main/packages/server/.env.example#L4

@HenryHengZJ Thank you very much for your patience and guidance, I have changed my code by your comment.😀
em, but I just have a little confusion, I don't known how to test ChildProcess.ts in the UI

In the .env file in packages/server, you can specify the EXECUTION_MODE: https://github.com/FlowiseAI/Flowise/blob/main/packages/server/.env.example#L4

Thanks for answering, I've updated some code to remove a useless ORM query and tested the ChildProcess.ts by modify .env

thanks @wangerzi !! tested and it works like a charm!
really appreciate the ground work of session id using chat id, it makes it easy for other memory implementation thats using session id as well


message/options.go: Add LocationPath() to access location

Please use brokeri branch as base, or we will get confused.

See https://github.com/brokeri/go-coap/pull/2


strip http:// from host

I was testing out outpost for the first time, and my tests kept failing until I finally realized I prefixed the host option with an http://. Maybe it would be a good idea to strip http:// and https:// from when running an outpost?

It's a good idea! I will try to work on outpost this weekend.

Cool, thanks for the quick reply. Let me know if you need any help.


Adapter support for endpoint reporters

The Owin and Nancy adapters do not currently work with the new endpoint reporters model. Mentioned in #27.

Stable release in v0.4.4


Add ocean heat content diagnostic

This adds a diagnostic for ocean heat content.
It produces figures similar to AR5 Chapter 9 Figure 9.17.
This is the diagnostic part of ESMValGroup/ESMValTool#922 and depends on the prior inclusion of the core part in ESMValGroup/ESMValCore#192.

please merge the latest version2_development into your branch to solve the failed test(s)

please merge the latest version2_development into your branch to solve the failed test(s)

OK I have done this merge with help from @valeriupredoi. :wine_glass:
Running the recipe fails with
 File "/home/users/till/anaconda3/envs/esmvaltool/lib/python3.7/site-packages/esmvalcore/_recipe.py", line 755, in _get_preprocessor_task     _add_cmor_info(variable)   File "/home/users/till/anaconda3/envs/esmvaltool/lib/python3.7/site-packages/esmvalcore/_recipe.py", line 125, in _add_cmor_info     format(cmor_table, short_name, mip)) esmvalcore._recipe_checks.RecipeError: Unable to load CMOR table 'CMIP5' for variable 'ohc' with mip 'Omon'
so I reckon there is a wrinkle in the CMOR table for CMIP5?

@tillku your ESMValCore needs to be on the CRESCENDO_ocean_heat_content_core branch rather than on development -> as a developer you must install the specific core branch that is associated with your ESMValTool development branch and not just install ESMValCore from conda as a package since that will be grabbing what's in the esmvalgroup channel (which is on development branch). So, in your esmvaltool environment:
git clone https://github.com/ESMValGroup/ESMValCore.git (if you don't already have it)
cd ESMValCore
git checkout CRESCENDO_ocean_heat_content_core
pip install -e '.[develop]'

also, I realized I gave a bunch of instructions and din't actually tell you why you are seeing that error: the CMOR table for custom var ohc -> esmvalcore/cmor/tables/custom/CMOR_ohc.dat exists only on the CRESCENDO_ocean_heat_content_core branch, otherwise it'll panic and say it can't find the var's CMOR table :beer:

@valeriupredoi Thanks for that. I've followed your instructions. ESMValTool is running now on JASMIN on sci1. But not on sci3, if that makes sense?
(esmvaltool) [till@jasmin-sci3 esmvaltool]$ esmvaltool -c ~/config-user.yml recipes/recipe_ocean_heatcontent.yml Traceback (most recent call last):   File "/home/users/till/miniconda2/envs/esmvaltool/bin/esmvaltool", line 6, in <module>     from pkg_resources import load_entry_point   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>     @_call_aside   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside     f(*args, **kwargs)   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set     working_set = WorkingSet._build_master()   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master     ws.require(__requires__)   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require     needed = self.resolve(parse_requirements(requirements))   File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve     raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'esmvalcore<2.1,>=2.0.0b0' distribution was not found and is required by ESMValTool

@valeriupredoi Thanks for that. I've followed your instructions. ESMValTool is running now on JASMIN on sci1. But not on sci3, if that makes sense?
(esmvaltool) [till@jasmin-sci3 esmvaltool]$ esmvaltool -c ~/config-user.yml recipes/recipe_ocean_heatcontent.yml Traceback (most recent call last): File "/home/users/till/miniconda2/envs/esmvaltool/bin/esmvaltool", line 6, in <module> from pkg_resources import load_entry_point File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module> @_call_aside File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside f(*args, **kwargs) File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/home/users/till/miniconda2/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'esmvalcore<2.1,>=2.0.0b0' distribution was not found and is required by ESMValTool

@valeriupredoi gentle nudge to V whether he can figure out why the recipe runs on sci1 but not sci3?

@tillku unfortunately I can not reproduce your issue on sci3 -> all seems to work fine for me, it may be that the esmvalcore package is somehow not installed for you, can you tell me what you get when (in the esmvaltool environment) do conda list esmvalcore? :beer:

@valeriupredoi This is what I get:
`(esmvaltool) [till@jasmin-sci3 ESMValTool]$ conda list esmvalcore
packages in environment at /home/users/till/miniconda2/envs/esmvaltool:

Name                    Version                   Build  Channel
`

@tillku that means you don't have the esmvalcore package installed in your environment; please install the CRESCENDO_ocean_heat_content_core branch of ESMValCore :beer:

This uncovered a bug in the volcello file for the CMIP5 dataset IPSL-CM5A-LR. There the depth levels are ordered the wrong way around. It seems at the moment it is impossible to fix fx files, but I hope this will change soon with ESMValGroup/ESMValCore#170.


Update Plotly Viz nodes: BAR, HISTOGRAM, BIG NUMBER, LINE

Description

[x] I've included a concise description of what each node does

Styleguide

[x] My node adheres to the styleguide for Flojoy nodes

Docs

[x] I've submitted a PR for a documentation page for the new node(s) that contains usage examples (see docs.flojoy.io)

Screenshots of the apps output
LINE

HISTOGRAM

BAR

BIG NUMBER

Thanks for making these fixes @smahmed776 ! So that we can confirm this is all working, could you add

screenshots of each example app's output and/or
ideally unit tests for each node

Thanks!

I have added screenshot of app output for each app. Please have a look


Broken subtitles from Youtube

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.05.16
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

E:\collections\pictures\movies\_youtube\Uncle Dane>youtube-dl -v --all-subs "https://www.youtube.com/watch?v=3u8JBh3ciIs"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--all-subs', 'https://www.youtube.com/watch?v=3u8JBh3ciIs']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.05.16
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-05-09-git-8649f5dca6-full_build-www.gyan.dev, ffprobe 2021-05-09-git-8649f5dca6-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] 3u8JBh3ciIs: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.en.vtt
[info] Writing video subtitles to: How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.en-US.vtt
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r1---sn-5aauxax-bvue.googlevideo.com/videoplayback?expire=1622599294&ei=HpK2YJnrJJGNyAWm8YC4CQ&ip=<IP_ADDRESS>&id=o-AK77KDOZqH9yoaITJ0bR4cDKd2cD9vk8k4X0ZuUWcp_O&itag=299&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&hcs=ir%2C&mh=_l&mm=31%2C29&mn=sn-5aauxax-bvue%2Csn-5go7yne6&ms=au%2Crdu&mv=m&mvi=1&pl=24&shardbypass=yes&initcwndbps=1197500&vprv=1&mime=video%2Fmp4&ns=Lmnvdw_FNsQrBb774pNN_ssF&gir=yes&clen=888164859&dur=1489.916&lmt=1609743214211521&mt=1622576689&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=GueCTOYV3LFOCvAE&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wQwIfRlUOMbleL4NsL2Mla7KdR6wY6IZMo3Q6sa_YOrl_0QIgcLWOMIqf57xuY_QmK8nC4QdHVAFYc9EGHByZ1y2BgFY%3D&lsparams=hcs%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cshardbypass%2Cinitcwndbps&lsig=AG3C_xAwRQIhAKuaIbVxBIzdd943R311vAFINXqtBM_MnQFotL3H4yf3AiBDTpB-zkAUXLzTrsvnuiUsuKPYxk_auOMLkRovPPW9Xg%3D%3D'
[download] Destination: How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f299.mp4
[download] 100% of 847.02MiB in 00:22
[debug] Invoking downloader on 'https://r1---sn-5aauxax-bvue.googlevideo.com/videoplayback?expire=1622599294&ei=HpK2YJnrJJGNyAWm8YC4CQ&ip=<IP_ADDRESS>&id=o-AK77KDOZqH9yoaITJ0bR4cDKd2cD9vk8k4X0ZuUWcp_O&itag=251&source=youtube&requiressl=yes&hcs=ir%2C&mh=_l&mm=31%2C29&mn=sn-5aauxax-bvue%2Csn-5go7yne6&ms=au%2Crdu&mv=m&mvi=1&pl=24&shardbypass=yes&initcwndbps=1197500&vprv=1&mime=audio%2Fwebm&ns=Lmnvdw_FNsQrBb774pNN_ssF&gir=yes&clen=25370523&dur=1489.941&lmt=1609608201984510&mt=1622576689&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=GueCTOYV3LFOCvAE&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAPDKgC-JTS-kzOigU8SIUADWjVIEZ586rQGofikJKC6BAiEAgifcOCM_ADh7UgYXLZ5VF553cukyQq1cHJMcjGoP1KA%3D&lsparams=hcs%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cshardbypass%2Cinitcwndbps&lsig=AG3C_xAwRQIhAKuaIbVxBIzdd943R311vAFINXqtBM_MnQFotL3H4yf3AiBDTpB-zkAUXLzTrsvnuiUsuKPYxk_auOMLkRovPPW9Xg%3D%3D'
[download] Destination: How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f251.webm
[download] 100% of 24.20MiB in 00:00
[ffmpeg] Merging formats into "How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f299.mp4" -i "file:How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f251.webm" -c copy -map "0:v:0" -map "1:a:0" "file:How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.temp.mkv"
Deleting original file How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f299.mp4 (pass -k to keep)
Deleting original file How To Fight Every Class In TF2 (As Engineer) (And Win!)-3u8JBh3ciIs.f251.webm (pass -k to keep)

Description

The subtitles of this video (which have a completely different look to them that I've never seen on Youtube before) are completely broken when downloaded. Every line of the subtitles is duplicated 3 times, and neither positioned nor colored correctly like it is when played on Youtube.

May be a YouTube problem.
While playing the video on browser, if you open browser's dev tools and look "timedtext" file, though the format is different from vtt, you will find 3 entries per cue. And vtt returned from YouTube contains 3 entries per cue.


Add SNX Proxy

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

@kolya182 might need to delete 0xa6dc3158828db1268e2969b74b357ae7f4bcebe9z

HI @hav-noms thank you for your contribution. Just now we reorganized tokens by folders. Please read the new contribution guide here https://developer.trustwallet.com/add_new_token_image. If you have any questions, please let me know.


SO-4103: New rule: Active descriptions on inactive concepts should have a single inactivation indicator member

Codecov Report

Merging #580 into 7.x will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                7.x     #580   +/-   ##
=========================================
  Coverage     52.79%   52.79%
- Complexity    13589    13591    +2
=========================================
  Files          1800     1800
  Lines         86327    86327
  Branches      11302    11302
=========================================
+ Hits          45574    45575    +1
  Misses        35961    35961
+ Partials       4792     4791    -1

Impacted Files
Coverage Δ
Complexity Δ

...ernational/snowowl/internal/eventbus/EventBus.java
67.32% <0.00%> (-0.50%)
38.00% <0.00%> (-1.00%)

.../snomed/core/ecl/SnomedEclRefinementEvaluator.java
87.46% <0.00%> (-0.30%)
110.00% <0.00%> (ø%)

...d/ecl/parser/antlr/internal/InternalEclParser.java
56.52% <0.00%> (+0.05%)
368.00% <0.00%> (+2.00%)

...index/src/com/b2international/index/es/EsNode.java
86.04% <0.00%> (+1.16%)
16.00% <0.00%> (+1.00%)

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 7640094...916882c. Read the comment docs.


Unique 'issue' : Trading with custom villager with custommodeldata items

This is a unique issue thats not a fault of the mod but I remember that its wasnt an issue on the now abandoned EasierVillagerTrading.  I have a custom villager thats used to change and item (eg Cooked Pork) for a custom Taco (which is still cooked Pork).
When using your mod it keeps taking this items that are already altered (new texture) and trading them on a loop.  Im unsure HOW this could be fixed but thought I'd write here if maybe you had some ideas.

The mod uses Minecraft's autofill code. Minecraft only checks if the specifyed item component(s) are equal when trading. That means if the trade doesn't specify any item components it allows all items with the same item type to be traded just like what happend in your case.
I can implement my own code to move the items into the slots that matches exactly.


EDS CSS stylesheet

Is your feature request related to a problem? Please describe.
I want to use the EDS in a simple HTML file. This would also allow non-React projects to use the EDS. We build our documentation using Sphinx and would like to style the docs to adhere with the EDS. Sphinx requires a simple CSS file for custom themes and it's not possible to use the React components for this.
Describe the solution you'd like
An EDS CSS stylesheet that can be imported into a HTML file.
Describe alternatives you've considered
Start using React, but it's not really an option for us as we need to build our docs with Sphinx.
Additional context
The "original" bootstrap works in this way. https://getbootstrap.com/

Thank you so much for your suggestions!
We definitely want to do more to bring EDS to the CSS side of things. We already have services for generating css based on tokens and even had a small POC in for tokens and elements in css . This is still a very work-in-progress so use at your own risk 😅
We don't know in what form we will bring EDS to CSS (we do like the approaches Tachyons and Tailwind CSS have done), but its definitely on our roadmap!

That css file definitely looks similar to what I had in mind! I don't think the components themselves are the most important as a MVP. It's more the styling to get a similar look and feel as the EDS. If people need the EDS components, it might be a sign that they should be using React anyways. As for Sphinx, we don't really have control over the build html, so in that situation we only care about the styling.

We have the same request (consistent styling of sphinx-built documentation).
FWIW, we use a quick-and-dirty EDS-like sphinx styling now that looks... acceptable... but will probably make the designers pull out their hair. If anyone has a more polished one, please chime in :)
In conf.py,
html_theme = 'nature'
html_css_files = [
    'equinor.css',
    'https://eds-static.equinor.com/font/equinor-font.css',
]

and static/equinor.css
* {
    font-family: "Equinor", Arial, Helvetica, sans-serif !important;
    text-shadow: none !important;
}

div.related {
    background-color: #007079;
}

We have the same request (consistent styling of sphinx-built documentation).
FWIW, we use a quick-and-dirty EDS-like sphinx styling now that looks... acceptable... but will probably make the designers pull out their hair. If anyone has a more polished one, please chime in :)
In conf.py,
html_theme = 'nature'
html_css_files = [
    'equinor.css',
    'https://eds-static.equinor.com/font/equinor-font.css',
]

and static/equinor.css
* {
    font-family: "Equinor", Arial, Helvetica, sans-serif !important;
    text-shadow: none !important;
}

div.related {
    background-color: #007079;
}

Thanks for your feedback @jobh :)
Quickly looking at Sphinx, its looks like you need more of an actual EDS css-library to style the html used for generating documentation?

Ideally, we'd have an EDS theme for sphinx. If many projects use sphinx, this may be worth the effort.
Or, with much less effort, pick one existing theme from https://sphinx-themes.org/ which is close to EDS guidelines, and tweak the styling (fonts and colours) with an additional EDS css library.


JS Interop: toString() isn't calling JS's toString()

When I compile the following code with dart2js:
import 'package:js/js.dart';

@JS('Buffer.from')
external Buffer bufferFrom(String source, String encoding);

@JS()
class Buffer {
  external String toString();
}

void main() {
  print(bufferFrom("foobar", "utf8").toString());
}

and run it on Node (using this preamble), it prints [102, 111, 111, 98, 97, 114]. However, if I run node directly and write Buffer.from("foobar", "utf8").toString(), I get "foobar" as expected.

I've also encountered this issue:
import 'package:test/test.dart';

void main() {
  var buffer = Buffer.from([102, 111, 111, 66, 97, 114]);

  print(buffer.runtimeType);
  // Uint8List

  expect(buffer.toString('utf8'), equals('fooBar'));
  // NoSuchMethodError: method not found: 'toString$1' (t1.toString$1 is not a function)
}

The Buffer class is converted to a Uint8List, probably because on recent Node.js versions, Buffer extends from Uint8Array.
So we can't use toString(encoding) as this signature is not supported by the Uint8List class.

In case it helps anyone else still learning Dart interop and trying to work around this issue:
You can treat buffer as List type, which can be decoded to string via utf8.encode() (from dart:convert).
At least, this was enough to get Node libsass bindings working via package:js for me (Dart sass didn't work out for me in "dart2js" last I tried).


gpu-compute: Use timing DMAs for GPUFS HSA signals

The functional HSA signal read was a hack left in the gpu-compute code. In full system, this functional read is causing problems occasionally with the translation not yet being in the page table. The error message output by gem5 was a fatal message on the readBlob method in port proxy. Changing this to a timing DMA fixes this problem.
This commit adds the various timing DMA functions to send and receive response and clean up. A helper method "sendCompletionSignal" is added to the GPUCommandProcessor because the indentation level was getting too deep. This change applies only to FS mode. Code for SE mode is equivalent to what it was before this commit.
Change-Id: I1bfcaa0a52731cdf9532a7fd0eb06ab2f0e09d48

I assume SE mode can't use the same support because of something it doesn't have?

Square was hanging when I tried it.  I'm not invested enough in SE mode to spend time debugging why, hence the FullSystem conditional


Launch generator for weave-kube

Currently, if a user wants to configure some parameter of weave-kube, such as the IP allocation range, we advise that they download a copy of the standard config, edit it and run from that edited copy. This is complex, error-prone and risks falling out of sync with changes in the standard config.
Instead, we could generate the desired config on demand from a cloud service.

Issue to track: https://github.com/weaveworks/launch-generator/issues/43


Implement select styles

Hi Oskar,
Great work on the project! I plan to use it in a personal project and would appreciate it if you could provide the styles for the select element.
Thank you!

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer


Fitnezz Template added

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <issue_number_here>

This would be great if you provide any of this   📝

[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[x] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[x] Navbar design
[x] Footer
[x] Single page website
[x] Animation design
[x] parallax effect design
[x] Others

Checklist ✅
]

[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest contributor

Any tutorials or documentation have you added
(made by you only not from google)

[ ] Tutorial
[x] Documentation

Screenshots / Gif (Compulsory) 📸

![Screenshot from 2021-10-01 12-19-47](https://user-images.githubusercontent.com/70656957/135577685-e42583be-2d89-439d-b3c5-0713ed33808a.png

)

hey @Subhradeep10 pls improve it ...content is not visible clearly

@Ayan-thecodeking Check it out, I have fixed it

@Ayan-thecodeking Check it out, I have fixed it

Can you pls add a screen recording showing responsiveness ...for both of your changes

https://user-images.githubusercontent.com/70656957/135655975-c352610a-7844-4062-8443-405b4f17ecbe.mp4
@Ayan-thecodeking See it bro, start watching from 7-8 second

@Ayan-thecodeking The files are changed..

@Subhradeep10 pls add a screen recording ... Ss u have added is not up to mark
I think lot of improvement is required in ur fitness template ...

https://user-images.githubusercontent.com/70656957/135701808-bc4af510-02a9-4f90-baea-0833c172cece.mp4
@Ayan-thecodeking

Ok @Subhradeep10 now ok..I'll merge it soon :)

@Ayan-thecodeking Sure


Make 'ui-money-mask' come 'R$ 12,00' instead 'R$ 00,12' when you type '12'

There is some way (additional attribute or something like) to put values from left to right on 'ui-money-mask'?
For example:
When you type '12' on your keyboard the mask comes: 'R$ 00,12'
There's some way to come 'R$ 12,00'? And only let you type a cents value when you press the 'comma key'?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26565771-make-ui-money-mask-come-r-12-00-instead-r-00-12-when-you-type-12?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Unfortunately not. But it should not be difficult to implement. Pull requests are welcome.

1

@assisrafael I'll do. How can I call this feature?

So, I've tried to implement this feat and here are some updates.
The expected behavior is that the user types a unlimited number of numbers and when he presses the decimalDelimiter, it adds the decimalDelimiter into the mask so that the user can type the decimals. if the user never types the decimalDelimiter, the formatted value will be: $ 99999. Considering this, decimalDelimiter and decimals are optional (mask value: currency + recursive number + optional decimals.
The problem is that angular-input-mask uses StringMask to format the users input data and StringMask doesn't allow optional characters (In this case, the decimalDelimiter).
I've tried to create a new StringMask when the user presses the decimalDelimiter but it will require a complex logic to control when the value coming from the server have decimalDelimiter and create the correct mask to it, to control when the user presses backspace to clear only the decimals until the decimalDelimiter and so on.
@assisrafael Do you have something in your mind in how implement this feature?

Hi are there any updates on this missing feature?

+1

I'm working on this issue, i changed the place where validations occurs to "onBlur" event, (yeah, i've looked so many javascript frameworks that do this kind of validation and it is the best alternative), i only have one question, how can i call this feature? uiOnBlurValidation? and, @assisrafael this frameworks have some config options that can be set on angular.module().config() ?
The current progress:

Does anyone have a pull request/fix for this?

@Devqon I did a commit on my fork: https://github.com/rafaelzomer/angular-input-masks/tree/uiLeftToRight

@assisrafael you resolve this?

+1

+1


Write tutorial documentation for Ralph open-source usage

Purpose
Ralph's first use is easier with a tutorial with given functional data. It gives a lot of additional information that could be usually given in question to the FUN team.
Proposal
Provide simple test data to test all ralph's commands and write a tutorial for a first use with this data.
Create a bunch of archives overlaying all use cases:

[ ] JSON formatted
[ ] random text information
[ ] GELF formatted
[ ] Non GELF formatted
[ ] Edx formatted
[ ] xAPI formatted

Write a workflow that covers all the ralph's command (to test each one of them and to understand their utility):

[x] push all archives to the Swift backend
[x]  list all uploaded archives in the backend
[x]  fetch archives from a backend
[ ]  extract with GELF parser
[ ]  validate xAPI format
[ ]  validate edX format
[ ]  convert from xAPI to edX
[ ]  convert from edX to xAPI

Outdated as the tutorials are integrated in the documentation refacto see #492


Issue with rapl energy on Linux - value seems wrong by a 100x factor

CodeCarbon version: codecarbon==1.0.0
Python version: 3.8.3
Operating System: Linux ubuntu 20.04 LTS

Description
I've been measuring the energy consumption of a CPU-only inference (7 min long) using several tools :

powerAPI / smartwatt : powerapi.org/
pyJoule : https://pyjoules.readthedocs.io/en/latest/index.html
codecarbon

Codecarbon gives wildly different results : 2.15 Wh for powerAPI, 2.21 Wh for pyJoules and 0.035 Wh for codecarbon. Given the duration of the test and the processor in my test computer, I believe powerAPI and pyJoule to be right and codecarbon to have an issue.
I had a quick look on how codecarbon measure energy on linux, in IntelRAPL.get_cpu_details ; if I understand it correctly, you calculate the power of the cpu by reading the energy consumed during 10 milliseconds (and of course dividing it then by 10ms, to get an average power during these 10ms)  and then use that value to compute the energy for the tracker interval (15s by default). This seems to lead to under-estimating the global energy usage, there is no reason to be sure that the average power these 10ms is the same than the average power during the 10s interval.
Besides, as the rapl counter simply counts joules, it would be easier and more accurate to look at this counter simply at the beginning and and of the 10s interval to get a measure of the energy used by the cpu during that interval.
Is there a reason for this process or have I misunderstood the implementation ?
I have not tried codecarbon on Windows so I can not say if the reported value has the same issue.

Thanks for the feedback and sorry for the time it took for us to get back to you. It's a good suggestion, we'll improve.

Improvement has been made, do we still have the problem ?


Let Dependabot upgrade web-features dev dependencies more strictly

Upgrades to packages/web-features are a little weird, since it only changes the lockfile. This ought to upgrade them more in line with the top-level package.json.

6ac2ef2325d26b0c430c6dd08665d2361fa4653d


Address deprecation of plugin-types and prefetch-src

Policy > Updated with appropriate deprecation notices and handling.
Test classes > Updated to assert the new behavior and ignore errors where applicable.

Related to: https://github.com/zaproxy/zaproxy/issues/8077 and https://github.com/zaproxy/zap-extensions/pull/4950

Thanks, will get working on the next one.

Thanks for the contribution, 3.10.0-SNAPSHOT is available.
Maybe you can provide your full name for the list of contributors....

Rick Mitchell


Added documentation for the --command flag

Reference pr: https://github.com/okteto/okteto/pull/3215. I also changed the position of the --env flag to match the up.go file
Signed-off-by: Abhisman Sarkar<EMAIL_ADDRESS>

Appreciate it :) @pchico83


Following the fundamental requirements for the initial start

may try to add show before drawing what alphabet that request for now soon!

Cooooooooooooooooool


Remove unnecessary spaces from document object’s page_content of BiliBiliLoader

Remove unnecessary spaces from document object’s page_content of BiliBiliLoader
Fix BiliBiliLoader document and test file

@eyurtsev  Don't forget to merge it, thanks!


feat(forgot password layout/function): forgot password layout and fun…

…ctionality
forgot password layout, functionality and runs npm run sync to get the Login.js page and render the
login component

Initial Layout

When request succeed

When request has problem

Email received


add MS Graph Mail integration to Email Communication

Status
Ready
Related Issues
related: https://github.com/demisto/etc/issues/33997
related: https://github.com/demisto/content/pull/12183
Description
Added to Email Communication pack the support of Microsoft Graph Mail after the command reply-mail was added.

@altmannyarden @guykeller @amshamah419 Doc review completed.

Will merge this PR once the PR(https://github.com/demisto/content/pull/12183) will be merged.


STAR-404: Add maxColumnValueLengthsMap support in StatsMetadata (ds-trunk)

there are no tests for that field
there is a test, LegacySSTableTest which verifies different formats


[minor] Minor bump

I want to release a patch version before the next minor bump, to facilitate easy conversion from existing storage formats to pickle. This then serves as a landing platform for all the work after that which will require a minor bump.

[x] Only pickle as a storage backend #414
[ ] Streamline storage architecture (leave it extensible and tests looping over backends to make re-introducing a different backend easy)
[x] Remove node job and trim dependencies #415
[x] Remove node packages and their registration #417
[ ] Revisit documentation
[ ] WAIT for 0.9.5 to be released, so there is an intermediate version available to allow users to easily upgrade from h5-serialized workflows to pickle-serialization

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
90 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-1.4%) to 91.021%

Files with Coverage Reduction
New Missed Lines
%

nodes/macro.py
3
90.14%

nodes/composite.py
5
88.63%

channels.py
10
94.05%

mixin/storage.py
18
90.45%

workflow.py
23
66.15%

node.py
31
83.93%

Totals

Change from base Build<PHONE_NUMBER>1:
-1.4%

Covered Lines:
3041

Relevant Lines:
3341

💛  - Coveralls


Fix VRP SolverResourceTest

With the current termination configured in the test profile, solving
ends when the CH is done. This is too short for the test to be able to
reliably verify the solver is solving. So instead of that, just wait
until it stops solving.

JIRA

Referenced pull requests

jenkins retest this

Why is one of the builds canceled?
Do we need two build chain workflows?

not sure what is happening on the build-chain ... @Ginxo ?

@radtriste @yurloc build-chain has nothing to do with job cancellation, in any case is GHA configuration, but anyway I don't see any reason on workflow configuration for the jobs to be cancelled. So... I've restarted them and the jobs are not cancelled anymore... it seems to be a GHA exception here... let's wait for jobs completion.

@Ginxo could it be caused by cancel-in-progress: true? https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency

@yurloc I didn't check the right files.
So it is obviously due to
https://github.com/kiegroup/optaplanner-quickstarts/blob/ca673db4dd1a1ed36117d74783675a00b29ad90a/.github/workflows/pull_request.yml#L20
and
https://github.com/kiegroup/optaplanner-quickstarts/blob/ca673db4dd1a1ed36117d74783675a00b29ad90a/.github/workflows/full-downstream.yml#L20
So fdb and pr jobs are colliding... Pushing a commit to fix this and also making FDB job to be run by label (as we do in optaplanner)

@yurloc @radtriste look:
https://github.com/yurloc/optaplanner-quickstarts/commit/46c60928bf5588fc7792d6cd939f48efea81abe0#diff-dade13b21248589cfd115a1a19122645302300751c49d3a67d176a5349e36330
https://github.com/yurloc/optaplanner-quickstarts/commit/63ba90bb8c08807c0dd1d99131dda6ec4fc93ef4#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6b
@yurloc can you please rebase

@Ginxo why is there such a collision? Do we really need 2 separate workflow files both running FDB jobs that collide with each other?

@yurloc

one of the jobs (pull_request.yml) is running a pull request job (PR's project plus its upstream dependencies).
the other job (full-downstream.yml) is running a full downstream (PR's project plus its upstream + downstream dependencies)

they are colliding due to they are using same concurrency.group key, which is wrong. My proposal is obviously replace the one from full-downstream.yml and additionally be able to run it on demand (by adding run_fdb label to the PR)

I think that first part of os_java_ci yaml file and pull-request yaml file are checking the same ...
we would just have check for JDK 16 (soon 17?) in os_java_ci and maybe rename that file.
wdyt ?
and maybe also use the build-chain with JDK 16 ?

Folks, I introduced another PR:
https://github.com/kiegroup/optaplanner-quickstarts/pull/186
This one removes os_java_ci, as we do not need that one. (pull_request does the same thing, but better.)
It also adds JDK 17.
I am running in the cancellation issue though.


Configure the database number with SentinelMonitoredRedisClient ?

Hi,
How can I configure the db number when creating a SentinelMonitoredRedisClient ?
Is it possible ?
Thanks for your help

Yeah you need to make that line https://github.com/etaty/rediscala/blob/ecef67f9e5fa5e2e3b41fe6640d4824dc9b161f1/src/main/scala/redis/Redis.scala#L150
a parameter of SentinelMonitoredRedisClient createClient: (String, Int) => RedisClient
would you like to create a pull request?

Yes, can you review it ?
https://github.com/etaty/rediscala/pull/127


Install our own conda distributable

The following occurs when we attempt to create a conda env on mac agents.
conda create --name azure-core python=3.9 --yes
Collecting package metadata (current_repodata.json): ...working... failed
NotWritableError: The current user does not have write permissions to a required path.
  path: /usr/local/miniconda/pkgs/cache/53d7ef51.json
  uid: 501
  gid: 20
If you feel that permissions on this path are set incorrectly, you can manually
change them by executing
  $ sudo chown 501:20 /usr/local/miniconda/pkgs/cache/53d7ef51.json
In general, it's not advisable to use 'sudo conda'.

Need to install ourselves to ensure that write access is available without sudo.

Will be covered by #27575


Generate CommandConstants.VERSION based on project.version

Now it's always 1.0.0.

Ref: https://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files


react-native link hangs after "Assets have been successfully linked to your project"

[x] I have reviewed the documentation
[x] I have searched existing issues
[x] I am using the latest React Native version

after running
react-native link
Scanning folders for symlinks in /Users/appfolder/node_modules (12ms)
rnpm-install info Platform 'ios' module react-native-firebase is already linked
rnpm-install info Linking react-native-firebase android dependency
rnpm-install info Platform 'android' module react-native-firebase has been successfully linked
rnpm-install info Platform 'ios' module react-native-image-crop-picker is already linked
rnpm-install info Linking react-native-image-crop-picker android dependency
rnpm-install info Platform 'android' module react-native-image-crop-picker has been successfully linked
rnpm-install info Linking react-native-localization ios dependency
rnpm-install info Platform 'ios' module react-native-localization has been successfully linked
rnpm-install info Linking react-native-localization android dependency
rnpm-install info Platform 'android' module react-native-localization has been successfully linked
rnpm-install info Platform 'ios' module react-native-maps is already linked
rnpm-install info Linking react-native-maps android dependency
rnpm-install info Platform 'android' module react-native-maps has been successfully linked
rnpm-install info Platform 'ios' module react-native-vector-icons is already linked
rnpm-install info Linking react-native-vector-icons android dependency
rnpm-install info Platform 'android' module react-native-vector-icons has been successfully linked
rnpm-install info Linking assets to ios project
rnpm-install info Linking assets to android project
rnpm-install info Assets have been successfully linked to your project
^^^^
stuck here.
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.9.1
Yarn: 1.6.0
npm: 6.1.0
Watchman: Not Found
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.4 => 0.55.4
also I'm using
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:3.2.1'
Expected Behavior
succesfull linking
Actual Behavior
console stuck.
What can cause this, where to look first?

I have this exact same issue, and it feels like an issue with react-native-git-upgrade. Upgrading from 0.44 to either 0.48 or 0.55 hangs at rnpm-install info Assets have been successfully linked to your project but yarn install succeeds (including rnpm).
Why has this been assigned as a Stack Overflow question?

I have the same problem. I updated from 0.49 to 0.55 with react-native-git-upgrade.

I did just create a fresh project with react-native init __MY_PROJECT_NAME__ and I also have this issue.

+1

Same issue. Upgraded using react-native-git-upgrade

+1

Any reason why this is labeled as closed?

I don't know, but it was 'react-native-fetch-blob' that was causing it to hang on my machine. If I don't include that in my package.json it doesn't hang.

Same issue here, just created a fresh project with react-native init

same issue

Ok after cloning the react-native repo, setting up sinopia to get local dev working (oh boy was that painful) turns out the issue is that commander.js is not returning on complete, if you hit enter it terminates the task and then it works.
The fix is to find out how to make this automatically return upon completion without hitting enter.

Upgrading to node 10 resolves the issue.

This is a serious issue and needs to be addressed on this thread and not stackoverflow.  The command  will hang on random processes.  Im still investigating if this is a non-interactive shell vs. interactive shell problem, but its clearly an issue within the the react-native link CLI call.  I see this occuring more frequently from remote SSH calls to scripts invoking the react-native link CLI call vs. running the same script locally, but most of us want to automate our tasks for building from a build server and this is breaking that process.  Can someone from Facebook or this project's community address this issue.... PLEASE!!!


Updating imfsensoractivitymonitor example code snippets with working code

Updating imfsensoractivitymonitor example code snippets with working code
Also updated the snippets to use c++/winrt for COM callback implementation and WIL return macros/ com ptrs etc.
Relevant doc/sample links added.

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

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

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


fix time series compaction policy -> compact consecutive empty rowsets

Proposed changes
Issue Number: close #xxx
Sometimes we need to merge a large number of empty versions to reduce meta-information.


Is there any example aabout micro on Linkerd(kubernetes)?

....I am here again!
We use micro on kubernetes and it works very well. But to do some monitoring issue,we decided to use Linkerd to do the job.However,we meet a lot problems,such as convert the "static selector" to dtab service discovery,multi protocal support...
If you have relevant practices, could you give us some advice?
Thanks.

There's no guide for moving to linkerd. We've found it's not well suited to the cloud environment due to its use of the JVM. Instead you should look at the newer project conduit which can be injected into the kubernetes pod with one command. https://github.com/runconduit/conduit

I think you are right! As you said the conduit is under heavy development,not having some important feature,such as "circuit-breaking","traffic management".Maybe we should find other excellent project,like istio.
Thanks.
Finally,Micro is a very good project，we have used it to build our simple microservice framework.


Pass seq through each layer of abstraction

Previously we were passing seq through only one layer of abstraction,
but it doesn't look like it was actually making it out of get(). This
adds a simple full-stack test for the correct behavior and adds a fix
to ensure that the test passes.

copying my comment from https://github.com/ssbc/muxrpc/issues/47#issuecomment-493625722:

with regards to https://github.com/flumedb/flumeview-hashtable/pull/3, you should feel free to break compatibility! if the worry is adding seq to the returned value (which is a valid worry), then i think a breaking change with { value, seq }, which is a clear upgrade path that only affects modules depending on flumeview-hashtable, is preferred to changing our expectation around callbacks to be able to return multiple values through additional arguments.

I think (item, index) => {} is a common enough pattern in JavaScript that I'm hesitant to turn it into an object, although that would make future changes easier. I don't actually need a second arg here since I'm not going to pass it through muxrpc, but in general I'm +1 on breaking backward-compat if necessary.
...although admittedly I'd rather that muxrpc didn't restrict us to 2 callback args. :dancing_women:

I'd rather keep it backwards compatible, because also that would be more consistent in general. This is also just a change to a flumeview. concerns from ssb shouldn't intrude here, flume is meant to be more general.

also, I know that in the use case @christianbundy has, seq is only used internally, it doesn't actually need to be exposed over muxrpc, that's just for testing, right?

It's not just for testing, but it is only used internally. See: https://github.com/ssbc/ssb-db/pull/262

oh yes, this is used by sbot get which is used by so many things, we definitely do not want to break that. I meant that you only needed to expose it via muxrpc so that you could test it from the cli?

@dominictarr
Right, I only needed it over muxrpc for testing because I was doing:
get(key, (err, msg, seq) => del(seq, cb))

But instead I've just patched del() the same way we patched get() so it uses a message key rather than a sequence number.

@christianbundy great, that makes more sense as an ssb api


support different hash algos

I want to ensure this project can support multiple algorithms in the long term. Originally sha256 was selected due to its use coreutils, docker images, kubernetes, OCI, and release automation tools. But, ideally other algos could be supported.
References

multihash
OCI descriptor digests

Please comment on this issue with prior art in other projects. I would love to see simple text based file formats with existing use.

/cc @justaugustus


dig not installed on target host

The known_hosts module uses dig to do a dns lookup.  However, dig may not be installed.  Use getent(which is a libc binary) instead.
==
ip=$(getent hosts $host | cut -f 1 -d ' ')
If you want, I could create a pull request, but this issue is rather simple to fix.

Closed via #7


I am trying to use your code to test on NCAR dataset, but I found that the public dataset NCAR is a binary file after downloading and provided matlab code to convert to event data structure, but according to dataset's readme you provided , the input format of ncar is txt. can provide the code for data processing?

Hi, did you managed to resolve this issue?


Add deployment prompt to the CLI and scaffold a Github action

Based on a brief conversation with @iaserrat this should be a simple github action that we scaffold out for the user.

Feel free to transfer to new location.


mediatype unknown throws error

Describe the bug
[Window Title]
Error
[Main Instruction]
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: internal error in Neon module: Failed to get DisplayUpdater.Type: Error { code: 0x80070057, message: "The media type specified is not valid.  Please specify either MediaPlaybackType_Music, MediaPlaybackType_Video, or MediaPlaybackType_Image.", win32_error: 87 }
at MediaServiceProvider.set mediaType [as mediaType] (E:\git\ytmdesktop2\node_modules\xosms\dist\binding.js:70:16)
at Object.__handleTrackMediaOSControlChange (webpack:///./src/app/plugins/mediaControlProvider.plugin.ts?:89:39)
at IpcMainImpl.func (webpack:///./src/app/utils/onIpcEvent.ts?:41:47)
at IpcMainImpl.emit (events.js:327:22)
at IpcMainImpl.EventEmitter.emit (domain.js:467:12)
at Object.__onActiveTrack (webpack:///./src/app/plugins/trackProvider.plugin.ts?:53:62)
at IpcMainImpl.func (webpack:///./src/app/utils/onIpcEvent.ts?:41:47)
at IpcMainImpl.emit (events.js:315:20)
at IpcMainImpl.EventEmitter.emit (domain.js:467:12)
at Object.eval (webpack:///./src/app/plugins/settingsProvider.plugin.ts?:110:66)
webpack:///./src/app/plugins/mediaControlProvider.plugin.ts?:89:39:

To Reproduce
Steps to reproduce the behavior:

set mediatype to unknown

Expected behavior
unknown to be set (or removed the option)
Desktop (please complete the following information):

OS: Windows 11
Browser electron
Version 12.0.1

Xosms:

Version 0.2.0

@NovusTheory would API raise an error if there would be null or something else.
It seems quite confusing, that using the same cross-platform lib you can create an error using some of the enum values on specific platform. Maybe it would be better to set some default value (Music for example) to prevent rising of an error?

That is true that it could be confusing. But unfortunately some platforms either play nice or they don't and as seen here Windows will not play nice and unfortunately likely won't let you set it to null or Unknown but Windows will provide Unknown if the developer has never set the media type yet.
Is there a better alternative to this? Xosms initial design was made after Windows but there's a lot of variances in the ways other operating systems do their media service that it makes it a bit weird to work with as some allow for one thing and some don't. Passing unknown could work perfectly fine for other systems but as evident here it doesn't work for Windows.
I do not think setting a default value is the best solution here as it becomes confusing very fast to the developer why their media type isn't being properly set. Would a better solution be to provide an API in xosms to check what APIs, values, or other are supported in the current operating system so the developer can work around those? This is more of just an unfortunate circumstance of supporting cross platform and you'll always have OS specific quirks.

In the next version Xosms will now explicitly throw with an error message stating you cannot use the Unknown enum value for any enums with it. Additionally if the enum value specified is not valid e.g. the operating system doesn't support it or the value just isn't supported yet then it will throw an error instead of panicking the thread which it used to do.
I'll keep this issue open until it's merged into main and released

Closing as the above is merged now


The shape in current model is torch.Size([0])

Thank you for this amazing project!
I'm having trouble loading the model when attempting to finetune, both in lora and adapters.
File "finetune/lora.py", line 106, in main
    model.load_state_dict(checkpoint, strict=False)
  File ".local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2056, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Parrot:

size mismatch for lm_head.weight: copying a param with shape torch.Size([50688, 4096]) from checkpoint, the shape in current model is torch.Size([0]).

size mismatch for transformer.wte.weight: copying a param with shape torch.Size([50688, 4096]) from checkpoint, the shape in current model is torch.Size([0]).

size mismatch for transformer.h.0.norm_1.weight: copying a param with shape torch.Size([4096]) from checkpoint, the shape in current model is torch.Size([0]).

size mismatch for transformer.h.0.norm_1.bias: copying a param with shape torch.Size([4096]) from checkpoint, the shape in current model is torch.Size([0]).

...

I am using stablelm-base-alpha-3b and received the same errors on falcon.
However,  generate/base.py is working perfectly in loading the model and generating a response.
Any ideas would be appreciated!

Looks like an issue with the model instantiation. Can you pull main and call scripts/convert_hf_checkpoint.py again?


[1.12] CI improvements train 🚄

including #3464 and #3456
Testing

Trade-offs

Dependencies

Screenshots

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


Test templates improvement

Part of https://divio-ch.atlassian.net/browse/CMS-882

[x] - moves templates used in tests to current repo
[x] - installs additional plugin
[x] - adds second placeholder
[x] - further tests improvements

NOTE: had to add .ready(1s) to prevent problems of form submit after user pastes copied content and BE data haven't been created yet /cc @dhorelik

lgtm


Update CLI flags documentation

Proposed changes

Update flags documentation to include missing flags, updated defaults, etc.

Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING document
[x]  I have run make install-tools and have attached any dependency changes to this pull request
[x] If applicable, I have added tests that prove my fix is effective or that my feature works
[x] If applicable, I have checked that any relevant tests pass after adding my changes
[x] If applicable, I have updated any relevant documentation (README.md)
[x] If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

Codecov Report
Patch coverage has no change and project coverage change: -0.18% :warning:

Comparison is base (556f51e) 66.44% compared to head (5b2a512) 66.26%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #476      +/-   ##
==========================================
- Coverage   66.44%   66.26%   -0.18%
==========================================
  Files         118      118
  Lines       13390    13390
==========================================
- Hits         8897     8873      -24
- Misses       3903     3928      +25
+ Partials      590      589       -1

see 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.