1 high vulnerability after npm install

Hey there.
I'm very interested on this template and I'm giving it a try.
I've just discovered that after running npm install command it shows me this warnings' list. It's possible to solve it? Thanks in advance.
$ npm install

added 158 packages, and audited 159 packages in 611ms

8 packages are looking for funding
  run `npm fund` for details

4 vulnerabilities (3 moderate, 1 high)

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

Then, if I run npm audit command outputs this:
$ npm audit
# npm audit report

axios  0.8.1 - 0.27.2
Severity: moderate
Axios Cross-Site Request Forgery Vulnerability - https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
No fix available
node_modules/axios
  localtunnel  >=1.9.0
  Depends on vulnerable versions of axios
  node_modules/localtunnel
    browser-sync  2.24.0-rc1 - 3.0.0-alpha.2
    Depends on vulnerable versions of localtunnel
    node_modules/browser-sync
      lite-server  *
      Depends on vulnerable versions of browser-sync
      node_modules/lite-server

4 vulnerabilities (3 moderate, 1 high)

Some issues need review, and may require choosing
a different dependency.

Hi @davidromani.
I've fixed the dependency issue with lite-server; everything should be correct now. Apologies for the inconvenience caused. When we made this template, these vulnerabilities were not flagged, but it's now fixed. Please delete the version you've downloaded and download the new one.
Thank you.

Thank you so much @gammafp! Now, it works perfectly!!
I've another question that I made in #phaser-3 Discord server (without answer) related with this template... as here are not allowed discussions maybe you can help me...
It's possible to use phaserjs/template-importmap combined with Typescript? In other words... it's possible to use Typescript with importmap way to load ES modules?

I replied on Discord to you, but for anyone who finds this in the future: essentially, no.
Typescript is not native to the browser. To use it you have to transpile it to JavaScript. The only language the browser can run natively.
To use TS you need to use a bundler or similar, which we have plenty of alternative templates for that.

Thanks for your attention @photonstorm
Just googling around Typescript transpiler I found this tool that seems pretty awesome. Maybe SWC will be useful to keep this importmap template as is, enabling the power of Typescript with just a tool (not with a full bundler/packager solution).

That would make this an SWC + TypeScript template. The point of this template specifically is you don't need to install anything, you can simply just code immediately.


Didn't receive any messages

I’m learning to create my own bot. I’m following a tutorial in the documentation, but I don’t understand why it isn’t working.
Here is my code:
import { config } from "dotenv";
import { Bot } from "grammy";

// Load environment variables
config();

const bot = new Bot(process.env.BOT_TOKEN);

// Commands
bot.command("start", async (ctx) => {
  ctx.reply("Welcome! Up and running.");
});

// Messages
bot.on("message", (ctx) => {
  console.log(ctx);

  ctx.reply("Hmm");
});

// Start the bot (using long polling)
bot.start();

After running the bot, nothing happens when I send a message to it.

Set DEBUG and see what is logged.
export DEBUG='*'

Set DEBUG and see what is logged.
export DEBUG='*'

I discovered the error was due to Node version 21, I used version 18 and it worked. But strangely, no errors were printed, including the DEBUG set

There is a bug in Node>18 that it can't perform network requests reliably if the ping is higher than 250 ms. Using Node 18 will work.


PlayList functionality is added (and some minor bugs that caused instance to stop playing)

Fixed LAST FM bugs when its not enabled
Fix if it can't find the artist/song to play and it will stop the play
Added PlayList functionality.

implemented with playlist feature.

closed wrong one.

Thanks for these! I'll take a look as soon as I can

Your welcome.. Thanks.


rPackages.later: False positive atomic detection

rPackages.later does not build on darwin aarch64. IIUC this is because the configure scripts has an atomic detection, which is false possitive.
Steps To Reproduce
nix-build -A rPackages.later

Build log
Build fails with
-latomic linker flag needed.
...
ld: library not found for -latomic
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

Additional context
Applying this patch fixes the issues
--- a/configure	2022-05-18 15:11:29.290465967 +0200
+++ b/configure	2022-05-18 15:11:53.806777256 +0200
@@ -5,21 +5,6 @@
 # Find compiler
 CC=`"${R_HOME}"/bin/R CMD config CC`

-# Detect whether -latomic is needed during linking. This is needed on some
-# platforms, notably ARM (Raspberry Pi).
-echo "#include <stdint.h>
-uint64_t v;
-int main() {
-    return (int)__atomic_load_n(&v, __ATOMIC_ACQUIRE);
-}" | ${CC} -x c - -o /dev/null > /dev/null 2>&1
-
-if [ $? -eq 0 ]; then
-  echo "-latomic linker flag not needed."
-else
-  echo "-latomic linker flag needed."
-  EXTRA_PKG_LIBS=-latomic
-fi
-
 case "$CC" in
   *undefined*)
     echo "Found UBSAN. Will skip tests that raise false positives."

    R =
      let
        rPackages = pkgs.rPackages.override {
          overrides = {
            later = pkgs.rPackages.later.overrideAttrs (old: {
              # atomic detection is false positive on macOS aarch64
              patches = with pkgs; lib.optional (with stdenv; isAarch64 && isDarwin) ./r-later.patch;
            });
          };
        };
      in
      rWrapper.override {
        packages = with rPackages; [
          later
        ];
      };

I would provide a PR adding a patch to pkgs/development/r-modules/patches but since this patch is only required on darwin aarch64 I'm not sure how to proceed. Is this a nixpkgs bug or r-lib/later?

Cannot be reproduced here.
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.1.0, macOS 13.0.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.11.0`
 - channels(user): `"darwin, home-manager, nixpkgs, nur-packages"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/user/.nix-defexpr/channels/nixpkgs`


feat: add support to extract from different identifier on JWT

What type of PR is this?

What this PR does / why we need it:
Introduce new fields on Security Policy's JWT API for adding support to enable JWT token extraction from different identifiers.
Which issue(s) this PR fixes:

Fixes #2186

Hey @ardikabs, Are there any specific use cases where you require these fields? Envoy comes with a ton of configuration options, and EG won't want to expose them all to end users - that's the primary design goal of EG: make it easier for users to use Envoy as a gateway proxy. Our approach in EG is to streamline the user experience by hiding the complexity of Envoy and giving user a simpler UI.

Yes, currently in our use case, the running services are depends on JWT token extraction from Cookie. The reason why we stick with that because it is a running service and we are trying to migrate from Ingress to Gateway API.
Changing the current implementation from cookie to header might be quite hassle, and might introduce unexpected behavior.
Then, looking back at the Envoy implementation, this is doable.

Sounds reasonable, defer to @arkodg

I think its reasonable, even this upstream GEP PR https://github.com/kubernetes-sigs/gateway-api/pull/2213/files  refers to fetching JWT from cookies

You can specify multiple tokens and jwt filter will verify all of them.
On Mon, Nov 20, 2023, 13:53 Arko Dasgupta @.***> wrote:

@.**** commented on this pull request.
In api/v1alpha1/jwt_types.go
https://github.com/envoyproxy/gateway/pull/2206#discussion_r1399793783:

@@ -54,7 +54,20 @@ type JWTProvider struct {
// The claim must be of type; string, int, double, bool. Array type claims are not supported
//
ClaimToHeaders []ClaimToHeader json:"claimToHeaders,omitempty"

// TODO: Add TBD JWT fields based on defined use cases.

// FromHeaders is a list of HTTP request headers to extract the JWT token from.
// By default JWT Authentication extract JWT token from the Authorization HTTP Header using Bearer schema or
// extract it from access_token query parameters.
// See: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/jwt_authn/v3/config.proto
FromHeaders []JWTFromHeader json:"fromHeaders,omitempty"

// FromCookies is a list of cookie names to extract the JWT token from.
// See: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/jwt_authn/v3/config.proto

is this a AND case where all cookies specified MUST have a JWT in it ?
—
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/gateway/pull/2206#pullrequestreview-1740761120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCWIV5LRSE52QCTAY3PXTYFPGM3AVCNFSM6AAAAAA7Q3O2V6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBQG43DCMJSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

/retest

hey @ardikabs, thanks for making the changes, PR looks good, added one  comment around API doc string, else LGTM


Quickstart not installing namespace kratix-worker-system

Following this Quickstart guide here.
Maybe similar to issue 282 from agardnerIT.
The issue is that the namespace kratix-worker-system has not been setup when checked at end of this Quickstart guide page.
I did notice that these yaml files - this and this - refer to worker-1 so I modified the KIND worker cluster to be called that. However I have run these steps for it named worker and worker-1 and same issue occurs.
Steps:
kind create cluster --image kindest/node:v1.27.3 --name platform
export PLATFORM="kind-platform"

kubectl --context $PLATFORM apply --filename https://github.com/cert-manager/cert-manager/releases/download/v1.15.0/cert-manager.yaml

# check cert manager working before installing kratix
kubectl --context $PLATFORM get pods --namespace cert-manager

# install kratix on platform cluster
kubectl apply --context $PLATFORM --filename https://github.com/syntasso/kratix/releases/latest/download/kratix.yaml
kubectl --context $PLATFORM get pods -n kratix-platform-system

# Install MinIO and register it as a BucketStateStore
kubectl apply --context $PLATFORM --filename https://raw.githubusercontent.com/syntasso/kratix/main/config/samples/minio-install.yaml
kubectl apply --context $PLATFORM --filename https://raw.githubusercontent.com/syntasso/kratix/main/config/samples/platform_v1alpha1_bucketstatestore.yaml

kind create cluster --image kindest/node:v1.27.3 --name worker-1
export WORKER="kind-worker-1"

# install flux
kubectl apply --context $WORKER --filename https://raw.githubusercontent.com/syntasso/kratix/main/hack/destination/gitops-tk-install.yaml

# check working
kubectl --context $WORKER get pods --namespace flux-system

# Configure Flux to pull down from MinIO
kubectl apply --context $WORKER --filename https://raw.githubusercontent.com/syntasso/kratix/main/hack/destination/gitops-tk-resources.yaml

# Register the worker cluster as a Destination
kubectl apply --context $PLATFORM --filename https://raw.githubusercontent.com/syntasso/kratix/main/config/samples/platform_v1alpha1_worker.yaml

kubectl --context $WORKER get namespace kratix-worker-system

Issue occurs error returned:
Error from server (NotFound): namespaces "kratix-worker-system" not found

My environment:
# sw_vers
ProductName:		macOS
ProductVersion:		14.7
BuildVersion:		23H124

I am using podman not docker
# podman machine list
NAME                    VM TYPE     CREATED       LAST UP            CPUS        MEMORY      DISK SIZE
podman-machine-default  applehv     7 months ago  Currently running  2           3.725GiB    93GiB

KIND
# kind get clusters
enabling experimental podman provider
platform
worker-1

I created a single quickstart cluster.
kind create cluster --image kindest/node:v1.27.3 --name quickstart
# set PLATFORM to point to the platform cluster context
export PLATFORM="kind-quickstart"

The same happens for the all in one Quickstart - again using podman.
...
 ~ kubectl get namespace kratix-worker-system
Error from server (NotFound): namespaces "kratix-worker-system" not found

Cluster list
~ kind get clusters
enabling experimental podman provider
platform
quickstart
worker-1

Hi @jeremycaine
Thanks for sharing this! I've just been looking into this issue.
I can't reproduce your issue if I wait till all resources are available before proceeding to the next step, but I can reproduce this issue locally if I don't wait for cert-manager to install before installing kratix, so when you run:
kubectl --context $PLATFORM apply --filename https://github.com/cert-manager/cert-manager/releases/download/v1.15.0/cert-manager.yaml
Do you wait until cert manager is available before installing kratix?
kubectl apply --context $PLATFORM --filename https://github.com/syntasso/kratix/releases/latest/download/kratix.yaml
Also, just to help with debugging, what OS are you running on? (thanks for trying with docker and podman!)

Yes I wait until cert manager pods all show "running" before installing Kratix.
# check cert manager working before installing kratix
kubectl --context $PLATFORM get pods --namespace cert-manager

Is there another check that could be done on cert-manager? Perhaps it might report all pods running, but there is still some other initialisation going on?
At the moment I can only use podman on my work laptop. I will try and find an alternative environment to use 'docker'.
# sw_vers
ProductName:		macOS
ProductVersion:		14.7
BuildVersion:		23H124

Thanks for the context! If you can find a docker environment, let me know if you continue to see this issue.

Have you tried podman or just docker?

At the moment, I haven’t tested the Quickstart guide with Podman, so it’s possible that some steps may not work as expected. That said, Podman support hasn’t been a common request from our community so far(I think you might be the first!).
If you uncover any further findings or issues as you experiment, please do share! It’s always super helpful feedback.
Let me know how you get on with Docker in an alternative environment, happy to assist further!

I will see about using docker on my other laptop later today.
Podman/OpenShift architecture is rootless user to increase security model which a lot of enterprise customers look for (I work for IBM who own Red Hat). When Kratix gets used in an enterprise environment more sophisticated security and opinionated deployment requirements like OpenShift might come up.

Perfect, thanks @jeremycaine if I get time I'll have a look into the podman issues.


Library interfaces

Add interface headers for installed libraries to use TypeART for consumption by other tools.
Extend runtime interface with more query functions.
Libraries and interface headers for other tools

RuntimeInterface.h is used with typeart::Runtime

Query type related information (during runtime)

TypeDatabase.h is used with typeart::Types(Static) and/or typeart::Runtime

Query static type information from the types.yaml file

TypeGenerator.h is used (by TypeART) to generate type ids with typeart::TypeGenStatic

Generate type id LLVM types (built-in, user-defined)

TypeInterface.h represents value ranges for type id integers (see TypeGenerator, TypeDatabase, RuntimeInterface)

Name clashes

Use TYPEART_ instead of TA_ prefix for enums
CMake: rename targets using typeart prefix

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

338 of 422 (80.09%)  changed or added relevant lines in 15 files are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-1.1%) to 88.308%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/passes/TypeARTPass.cpp
4
5
80.0%

lib/passes/typegen/StructTypeHandler.cpp
15
17
88.24%

lib/runtime/Runtime.cpp
16
19
84.21%

lib/typelib/TypeIO.cpp
27
31
87.1%

lib/passes/typegen/VectorTypeHandler.cpp
39
48
81.25%

lib/typelib/TypeDB.cpp
21
35
60.0%

lib/runtime/TypeResolution.cpp
83
107
77.57%

lib/passes/typegen/TypeManager.cpp
118
145
81.38%

Files with Coverage Reduction
New Missed Lines
%

lib/runtime/Runtime.cpp
1
91.94%

lib/typelib/TypeDB.cpp
1
74.67%

lib/runtime/TypeResolution.cpp
12
81.85%

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
3059

Relevant Lines:
3464

💛  - Coveralls


FGA sometimes not selecting support units.

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
JP
FGA build number
2740
Describe the bug
Except QP, Orbs and Monuments sometimes FGA will just stop at the support units select screen.
Video
It just stop here.
Device model
BlueStacks 5.21.301.1005 P64
Android version
12
Screen size
1280x720
RAM
4GB

Video
It just stop here.

need video and screenshots

Ah, nevermind, I figured it out, seem like it just lag, it just long delayed, about 5s.


New version: Microsoft.VCRedist.2015+.x86 version 14.38.33135.0

Pull request has been created with komac v2.1.1 :watermelon:

Resolves #140860

Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Close with reason: Duplicate of #140862;


Project got corrupted after terrible crash

Godot version:
3.1 beta3
OS/device including version:
Windows 10 x64
Issue description:
So uh, just now my laptop decided to randomly crash after running the game. Not sure how much it was caused by Godot, but as a result, my project.godot got completely corrupted, as well as few scene files I had open at the time.  Attaching one of the files just to show what happened:
AvatarEditor.zip
No idea what happened and how it happened and if it's even related to Godot, but as some of my files were corrupted, I'm reporting it just in case it's indeed some Godot issue.
EDIT:
Now I noticed that it also corrupted one of the scripts that I had set in autoload.
Steps to reproduce:
No idea ;_;

It is unlikely that the crash is Godot-related. In nowadays OS, a high level software can really hardly crash a computer. What most likely happened is that a driver bug or a kernel issue crashed your computer, while the system was writing in those file. Which resulted in garbage written down into those files.
There is likely nothing we can do about this bug, since it is likely dependent on your machine and its drivers.

@KoBeWi My only suggestion to use a version control system so that you don't lose too much if you work. Sorry to hear what happened!

Closing, because it never happened again.


Bot messages not visible

This is probably an issue with my discord settings but whenever the bot posts something, the message is not visible. I can see that it has responded in the text channel but there is no message below the Bot's name. Typing .au new yields the new private message, but again, the message is not visible.
Hopefully this is a simple discord setting.

Yeah this is most likely a permissions issue. Make sure the bot has permissions to type in your channel, post embeds, etc. Most of the time I believe this is a channel permissions issue

So I looked through the permissions and everything was assigned by the automatic Bot invite. This bug is also affecting the DM messages from the bot, so it is not just a server/channel permission issue.

I'm not sure what to say; I still assert my previous statement that this 100% has to be a permissions issue.
Discord did report an outage specifically relating to embeds earlier today, but I doubt that was the cause.
Are you trying .au commands in DMs directly to the bot? You should only be typing in channels, and those channels need to:

allow the bot to post embeds and messages at the server level (which you're right, would be set automatically in the Bot invite link)
Explicitly be set per channel, both to whatever role the Bot has, but potentially to the Bot user as well.

The bot only sends messages through standard Discord API calls; any of those calls failing (where the bot can send the message, but not Embed) can only come down to some sort of permissions issue

It seems like the bot is functioning. It responds to the .au command in the text channel and also sends me the DM invite but all the messages are not visible. I just get the tag showing there is a message from the bot but there is no text after the ID tag.
Really weird. I have never seen a bug like this and use discord all the time.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Denver Quane<EMAIL_ADDRESS>Sent: Wednesday, November 18, 2020 10:24:15 PM
To: denverquane/automuteus<EMAIL_ADDRESS>Cc: josinjj<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [denverquane/automuteus] Bot messages not visible (#252)
I'm not sure what to say; I still assert my previous statement that this 100% has to be a permissions issue.
Discord did report an outage specifically relating to embeds earlier today, but I doubt that was the cause.
Are you trying .au commands in DMs directly to the bot? You should only be typing in channels, and those channels need to:

allow the bot to post embeds and messages at the server level (which you're right, would be set automatically in the Bot invite link)
Explicitly be set per channel, both to whatever role the Bot has, but potentially to the Bot user as well.

The bot only sends messages through standard Discord API calls; any of those calls failing (where the bot can send the message, but not Embed) can only come down to some sort of permissions issue
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/denverquane/automuteus/issues/252#issuecomment-730157713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBYUBTVKHP72IKEBFWQZ5DSQS2Y7ANCNFSM4TS2BVVA.

Have you checked your discord settings at "Text & Images"?
Maybe you have disabled some settings that are needed to show the message correctly.

SOLVED. It was the website preview setting.


Incorrect totalDifficulty value

Description
When we execute the attached test case, the output states that the totalDifficulty is "0", which seems an incorrect value.
Steps to Reproduce (Bug)

Download test files
test_cases.zip

Run the node with the following command
besu --data-path test_cases/data-besu --genesis-file test_cases/besu.json --rpc-http-port 8549 --rpc-http-enabled --rpc-http-api ETH --network-id 15 --discovery-enabled false

Execute the javascript test case
test1.js

Expected behavior: [What you expect to happen]
Returns the correct totalDifficulty value.
Actual behavior: [What actually happens]
totalDifficulty is 0
Frequency: [What percentage of the time does it occur?]
Always
Versions (Add all that apply)

Software version: besu/v22.4.4/linux-x86_64/openjdk-java-16
OS Name & Version: Ubuntu 20.04.4 LTS

Hi there - can you paste In the test-case in the issue? depending on your genesis (and network) no TTD will be passed. 22.4.4 does not have all of our TTD configs in place.

Hi, @non-fungible-nelson
Below is the test case that led to the issue.
const Web3 = require("web3");
const web3_besu = new Web3("http://localhost:8549");
(async () => {
  async function besu() {
        try {
            let aa0 = "0x4ea43ec4e28ce7b4ae567f42928f26dc4e183dfd1fadb17c37d170ab4e24d52a";
            let aa1 = 0;
            let aa2 = false;
            return await web3_besu.eth.getUncle(aa0, aa1, aa2);
        } catch (error) {
            return "[ERROR] " + error.message;
        }
    }
    let rv = await besu();
    console.log(rv);
})();

Below is the genesis json file that we used to construct test network.
{
    "config": {
        "chainId": 15,
        "homesteadBlock": 0,
        "daoForkSupport": false,
        "eip150Block": 0,
        "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "eip155Block": 0,
        "eip158Block": 0,
        "byzantiumBlock": 0,
        "constantinopleBlock": 0,
        "petersburgBlock": 0,
        "istanbulBlock": 0,
        "muirGlacierBlock": 0,
        "berlinBlock": 0,
        "londonBlock": 1,
        "ethash": {}
    },
    "difficulty": "1",
    "gasLimit": "8000000",
    "nonce": "0x0000000000000000",
    "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "coinbase": "0x0000000000000000000000000000000000000000",
    "timestamp": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "extraData": "",
    "alloc": {
        "0x91c94e565750a50E1b0d0779De01823E8F4D20f2": {
            "balance": "850000000000000000000"
        }
    }
}

You can find the test network that we have constructed (data-besu.tar) from the attached zip file (test_cases.zip).
If we execute the above test case, Besu client returns "0" for the totalDifficulty field.
I'm wondering if this is an expected behavior of the Besu client.
I would appreciate your comments on this matter.

Any comments or suggestions on this issue would be appreciated.

Hi @sjmini - can you try specifying the milestone blocks? The docs here have more info: https://besu.hyperledger.org/en/stable/public-networks/reference/genesis-items/#milestone-blocks
This might fix your issue, please let me know if this is not the case.

I'd also recommend updating to 22.7.1

@non-fungible-nelson Thank you for the suggestions.
Unfortunately the problem still occurs even though I specified the 0 for the milestone block and updating to 22.7.1 doesn't solve this problem.

Bumping this up.

Geth does not track totalDifficulty for non-canonical blocks.
https://github.com/ethereum/go-ethereum/issues/25505#issuecomment-1215127020
Can someone confirm if Besu has the same behaviour?

Besu does not calculate totalDifficulty for ommer blocks - the difficulty is explicitly set to 0. See: UncleBlockResult.java:36
Given ommers shouldn't be a concern post-merge, it's probably not worth updating. I'll close this ticket.


Console errors thrown in Firefox relating to the GDS Transport font 'hdmx table'

The console in Firefox shows errors relating to GDS Transport:

downloadable font: hdmx: the table should not be present when bit 2 and 4 of the head->flags are not set (font-family: "GDS Transport" style:normal weight:700 stretch:100 src index:0) source: https://design-system.service.gov.uk/assets/fonts/bold-b542beb274-v2.woff2

downloadable font: Table discarded (font-family: "GDS Transport" style:normal weight:700 stretch:100 src index:0) source: https://design-system.service.gov.uk/assets/fonts/bold-b542beb274-v2.woff2

downloadable font: hdmx: the table should not be present when bit 2 and 4 of the head->flags are not set (font-family: "GDS Transport" style:normal weight:400 stretch:100 src index:0) source: https://design-system.service.gov.uk/assets/fonts/light-94a07e06a1-v2.woff2

downloadable font: Table discarded (font-family: "GDS Transport" style:normal weight:400 stretch:100 src index:0) source: https://design-system.service.gov.uk/assets/fonts/light-94a07e06a1-v2.woff2

Despite being raised as errors, the fonts appear to display correctly.
This appears to relate to the font's horizontal device metrics (hdmx) table. Specifically:

This table improves the performance of OpenType fonts with TrueType outlines. This table is not necessary at all unless instructions are used to control the “phantom points,” and should be omitted if bits 2 and 4 of the flags field in the 'head' table are zero.

It sounds as though bits 2 and 4 are zero, but the font includes an hdmx table.
If the hdmx table is included, but is not being used, this may be worth exploring as the hdmx table adds 'approximately 9,600 bytes to the font file'.

I'm still seeing this error in 5.7.1


getting-started gce-guide tells users to use downloaded kubectl

Save new users some pain by avoiding client/server version skew when they first try kubernetes on gce.

LGTM


[MODULE] - Summary Generator

Description
I have a very long text to read, but running short of time, I need something to summarise what the text says. This module tackles that issue.
Do you already have an implementation?
If so, please share it here. For instance:
from typing import Dict, any
def my_module(record: Dict[str, Any]) -> str:
    return record["my-text"].text.lower()

Additional context
Add any other context or screenshots about the feature request here.

HuggingFace has a summary pipeline that can be used for this.
from transformers import pipeline

def load_and_summarize(chunks, max_length, min_lenght):
    # Load in the summarizer
    summarizer = pipeline('summarization')

    # Write a summary for each chunk
    res = summarizer(chunks, max_length=max_length, min_length=min_lenght, do_sample=False)

    # Append the individual chunks back together
    summary = ' '.join(summ['summary_text'] for summ in res)
    return summary

Closing as we do have some modules for creating summaries already


[stable/locust] Passing arguments to the master/worker docker-entrypoint.sh scripts

I have args that I want to pass to the docker-entrypoint.sh scripts ran on both the master and worker pods.
Can either the configmap-config.yaml or the worker/master-deployment.yaml files be updated to support this?
Or is the intent that the command value can be overridden somehow.

I actually have this already in a branch. I'll push it and create a PR.

@KaneRodriguez let me know if the merged PR doesn't work for you.


expose internals for use in other plugins

I'd like to use your code to clean up my tsx files after my custom plugin makes changes.

Thanks for your PR 👋
but I think you can use the multi-plugins without any conflict.
{
  "plugins": [
    ["danger-remove-unused-import", { "ignore": ["react"] }],
    ["your-custom-plugin"]
  ]
}

I have 3 questions about that.

Will this run "./custom-plugin" and then danger-remove-unused-import?

Will this invoke the ast parser again?

What if I only want to run danger-remove-unused-import if the other
plugin makes a change?

Thank you for creating and maintaining this project. And thank you for
taking time with me.
What if
On Mon, Dec 11, 2017 at 10:29 PM Cong Yu<EMAIL_ADDRESS>wrote:

Thanks for your PR 👋
but I think you can use the multi-plugins without any conflict.
{
"plugins": [
["danger-remove-unused-import", { "ignore": ["react"] }],
["your-custom-plugin"]
]
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/imcuttle/babel-plugin-danger-remove-unused-import/pull/1#issuecomment-350934542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGk3iVqwCveDnb49gAHAfiVXgSVx4b2nks5s_fMWgaJpZM4Q-Moe
.

--
David Weisz
917-478-6829

the concept of Babel:

the process order of plugin and preset

Plugins run before Presets.
Plugin ordering is first to last.
Preset ordering is reversed (last to first).

the detail logic of babel process

Plugins do go before presets, but it just adds the same visitors first before merging them.

As the picture shown

And babel-plugin-danger-remove-unused-import attach to the AST's root named Program,
so the plugin is in higher order.
I wish the words can make some works.

So how do you propose I do what I need to do?
--
David Weisz
917-478-6829

What's your custom plugin doing?

How exhaustive the explanation is!
Thanks again, I feel your thinking and project is pretty cool.
and I guess you can use the config of babel: (but maybe it doesn't works)
{
  presets: ["@babel/preset-typescript"],
  plugins: [
    // remove the Identifiers PlatformSwitch, Mobile, Desktop, and DesktopSpecificComponent
    // which don't belongs to Import syntax
    // Note: the visitor of your plugin must be attached to the root node named Program
    "your-plugin",
    // find the unused imports from Program's node
    "danger-remove-unused-import"
  ]
}

BZW, Thanks for your PR 👋


CUDA out of memory

Running below command on Centos 7 with 2 32GB Nvidia-tesla v100 gpu card. model "microsoft/Phi-3-mini-4k-instruct" and probe "dan"
I have enough memory 32 GB to hold this ~3B llm but not sure why i am getting below error..
command:
 python3 -m garak --model_type huggingface --model_name microsoft/Phi-3-mini-4k-instruct --report_prefix microsoft_Phi-3-mini-4k-instruct --probes dan
error:
024-06-07 14:05:59,485  DEBUG  harness: probe start for garak.probes.dan.Dan_10_0
2024-06-07 14:05:59,485  DEBUG  probe execute: <garak.probes.dan.Dan_10_0 object at 0x7f6c0087dfc0>
2024-06-07 14:06:04,066  ERROR  CUDA out of memory. Tried to allocate 88.00 MiB. GPU
2024-06-07 14:06:04,067  DEBUG  probe return: <garak.probes.dan.Dan_10_0 object at 0x7f6c0087dfc0> with 1 attempts

stdout:
dan.Dan_10_0                                                                                dan.DAN: SKIP  ok on    0/   0
dan.Dan_10_0                                                             mitigation.MitigationBypass: SKIP  ok on    0/   0

closing for now .. after enabling multi-gpu the error is gone !


Don't set versions of external dependencies in BOM

For example, in https://github.com/GoogleCloudPlatform/google-cloud-java/blob/184c219c7a7d38bd8146e3a4d35f0972a1d24a10/google-cloud-bom/pom.xml#L136 we're setting the version of netty-tcnative-boringssl-static. This conflicts with the version we're using in spring-cloud-gcp.
If users build their application, they get
java.lang.NoClassDefFoundError: Could not initialize class io.netty.handler.ssl.OpenSslEngine
	at io.netty.handler.ssl.OpenSslContext.newEngine0(OpenSslContext.java:49)
	at io.netty.handler.ssl.ReferenceCountedOpenSslContext.newEngine(ReferenceCountedOpenSslContext.java:378)
	at io.grpc.netty.ProtocolNegotiators$TlsNegotiator$1.handlerAdded(ProtocolNegotiators.java:306)
	at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:606)
	... 19 common frames omitted

Ideally, BOMs only export the versions of the modules the project implements. The dependencies used by the project should go in another pom, e.g., https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/pom.xml
Can we remove the versions of the dependencies of google-cloud-java from the BOM?

@garrettjonesgoogle Is there any action item required to resolve the problem other than moving to netty-grpc-shaded? If not, I think we should resolve this as dup of #2813.

There are a bunch of other external packages that we set versions for also.

@saturnism Do you have any recommendations here?

Per discussion from email:

Move non google-client libraries (i.e., 3rd party dependencies, like netty, guava, protobuf, org.json, any test-related libraries) to parent dependency management section, so that it's not exported via the BOM, but is still a direct dependency of the sub modules.
Advise the use of Enforcer plugin to detect conflicting versions in user's POM. In the user's POM, enforcer won't be able to detect version conflicts if the version was managed by the BOM.  Thus #1 is can be a good thing.
Move pluginManagement and pluginRepository section from BOM to parent. There is no reason to export those via a BOM.

We have moved the dependencies not managed by our project to the parent pom, so closing this out now.


Attribute error when using hdfs during program exit

I observe an attribute error when the python program/session ends after using the PyArrowHDFS implementation. This does not impact the program in any way during execution(as far as I have observed).
Reproducer:
from fsspec.implementations.hdfs import PyArrowHDFS
fs = PyArrowHDFS()

After exit:
AttributeError: 'HadoopFileSystem' object has no attribute 'close'
Exception ignored in: 'pyarrow.lib.HadoopFileSystem.__dealloc__'
AttributeError: 'HadoopFileSystem' object has no attribute 'close'

Thanks for the report. Is this happening in PyArrowHDFS.__del__?

PyArrowHDFS does not seem to have a __del__  method (unless I'm missing something)

Does it inherit one? I may be confused.

On Aug 21, 2019, at 16:34, Ayush Dattagupta<EMAIL_ADDRESS>wrote:
PyArrowHDFS does not seem to have a del method (unless I'm missing something)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry, I was confused. I was looking at AbstractBufferedFile.__del__.
I can verify the issue with the docker image from https://github.com/dask/dask/tree/master/continuous_integration/hdfs.


Fix: gave right var as class label for confusion matrix

Was looking into the training script to get how it works and found this mistake.
Please do not access the variables in the dataloader directly and only use that for which there is a function.
This label list for example is sorted based on the input but the y_test and y_train you get as output are sorted based on whatever the binarizer does, so you also get the labels from the binarizer.

dataloader.target_unique labels would be this: [['tertbutoxy3F', 'tertbutoxy9F', 'ethyl', 'thiophenoxy', 'neopentyl', 'Br', 'phenoxy', 'methyl', 'Cl', 'tertbutoxy6F', 'tertbutoxy']]
and y_labels, that is returned from the dl.load_data() funciton is this: ['Br', 'Cl', 'ethyl', 'methyl', 'neopentyl', 'phenoxy', 'tertbutoxy', 'tertbutoxy3F', 'tertbutoxy6F', 'tertbutoxy9F', 'thiophenoxy']
Only the one on the bottom is sorted according to the y_test and y_train that is returned. Top one is effectively random.

Looks like python doesn't have privatization like c++ :(


[transfer] Fix date_imported to use a correct ISO 8601 date

Fix date_imported key to use a proper ISO 8601 format (with hyphens and colons) rather than concatenated numbers.  Botocore expects the former rather than the latter, and when given a bare number it incorrectly interprets it as UNIX timestamp rather than %Y%m%d%H%M%S date.
This can particularly be seen on systems with 32-bit time_t, where the resulting timestamp overflows (it would correspond to year 643378 today), and causes tests/test_transfer/test_transfer.py failures such as:
E       RuntimeError: Unable to calculate correct timezone offset for "20240907201715"

When using %Y-%m-%d %H:%M:%S format, the relevant tests pass both on systems with 64-bit and 32-bit time_t.

Sure, updated it to do that. It's also going to work on 32-bit arches, at least until 2038 (and then, everything else will fail too, so not an issue).

Thanks!


Error: DiscordRpc.cpp

i always get this error:
Error: DiscordRpc.cpp
C:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/linc_discord_rpc.h(7): fatal error C1083: Cannot open include file: '../lib/discord-rpc/include/discord-rpc.h': No such file or directory
And yes, I installed it correctly and I have rebuilt it like 5 times, it never works, is there any way to fix it?

Its most likely that you forgot to connect the discord_rpc
Try writing this in cmd
haxelib git discord_rpc
https://github.com/Aidan63/linc_discord-rpc

If it doesn't work, then I don't know.
Also what version?

My version of haxe is 4.2.4, and unfortunately it didn't work for me

my version of haxe is 4.2.4, and unfortunately it didn't work for me

I already solved the discord thing, but now when I load the kade engine, when it reaches 37 it takes me out of the game.

i fixed all my problems with haxe, but thanks a lot anyways


Backfill data

We should have some data going back further?

I'll get this done tomorrow @captn3m0

Going through some of the older themes to see if we can add a few more badges:

🐶:Animal themed (DEC 2022 – Cats, MAY 2022 – Dogs)
📺: Movie/TV Shows (SEP 2022 – 7 Deadly Sins AUG 2022 – The Expanse
JUL 2022 – Squid Game
JUN 2022 – Jurassic Park APR 2022 – Miyazaki	JAN 2022 – Avatar: The Last Airbender SEP 2021 – Tenet DEC 2019 – Die Hard)
🎮: Video Game (JAN 2022 – Avatar: The Last Airbender)
🍣: Food (OCT 2021 – Condiments  AUG 2020 – The Great British Baking Show)
📖: Books (JUL 2021 – Agatha Christie’s Poirot

Reminder for this.


Publish support for collecting aliases

Since the PR I raised the other day (#31) is now merged, could these changes be published to crates.io please?

Sure thingo! 0.21.0 has been just published 🙂


Add localeChangeInterceptor to root context

This is https://github.com/apereo/cas/pull/3104 for master.
Allows for locale change on the MVC endpoints,
e.g. /consentReview, /error.

Coverage remained the same at 45.882% when pulling 86ee406d6d90dedbd92e0500c5c592a8f2658206 on arbner:locale-fix into aced4914264f924542803e8a2dbf145ab3f048d3 on apereo:master.


Pre-select when enum has single value

See, e.g. this schema: https://github.com/lobid/lobid.github.com/blob/d3232d016663a689727add65356412f17cd5cef7/data/2019-09-xx-oer-schema.json
Twice (here and here), there is only one value enumerated for type. It would be nice if it was pre-selected in the respective dropdown.

I just noticed that there also is const in JSON Schema, see https://json-schema.org/understanding-json-schema/reference/generic.html#constant-values. We might also use this for pre-selecting values...


[SnapshotV2] Improve Unit test coverage for create snapshot

Is your feature request related to a problem? Please describe
The SnapshotsService.java file currently has low unit test coverage, and recent changes to the file have not been fully covered by unit tests. To ensure the reliability and stability of this component, it is proposed to increase the unit test coverage.
Related component
Storage:Snapshots
Describe alternatives you've considered
No response
Additional context
No response

Thanks for filing this issue, please feel free to submit a pull request. cc @sachinpkale @ltaragi @gbbafna
[Triage - attendees 1 2 3 4 5]


Select2 v4 marking an option as selected does not refresh, instead duplicates element

I'm trying to mark an option as selected through another field value but the select2 control does not show the selection, instead duplicates the element with a disabled selected option (to the left).
The parent select is updated from another field in an iframe.  The option update works without select2 enabled.  I use the following code for the same.
$('.searchrow').click(function (e) {
    var srchdata = $(this).data('search').split("|");
    var target = ".srchtarget-" + $(this).data('target');
    var targetoption = target + " option[value='" + srchdata[0] + "']";
    var parentctrl = window.parent.document;
    $(targetoption,parentctrl).attr("selected","selected");
    $(target,parentctrl).select2();
});

This outputs the following:

Note that the option is also selected correctly in the select2 control.
Using $(target,parentctrl).val(srchdata[0]).select2(); gives similar results too.
I tried to destroy the select2 before update, but that gives an error that 'destroy' option is applied in an element that is not using select2.

Two things

Always trigger the change event after you change the value of an input on a page, it's what JS controls use to determine if there was a change. Browsers trigger it natively, you can trigger it in JS with $('select').trigger('change').

You should use the selected property of the <option> instead of the attribute. This is what Select2 uses, and it's part of the native DOM specification for HTMLOptionElement. The main difference here is calling .prop('selected', true) instead of attr('selected', 'selected').

If your issue isn't fixed after making these changes, can you wrap this up into a small test case (hosted on jsbin or jsfiddle) where we can reproduce the issue?

I tried both options but the result was the same.  Here's the jsbin for the code (without iframe, but that should not make any difference).  The code works here but I don't think the select2 loads.  It seems to show the native control (which worked in my case too).  You could alter this with correct path for select2.
http://jsbin.com/sofodidijo/edit?html,css,js,output

It looks like jsDelivr is giving the wrong JS/CSS links (cdnjs is giving the right ones), I've corrected those in the following jsbins.
http://jsbin.com/voqowufaca/1/edit?html,css,js,output
http://jsbin.com/fakidenotu/1/edit?html,css,js,output
After fixing the JS and CSS, it appears to work with Select2.

Is this version in cdn different than what is available for download?  Because, I use a downloaded copy in my project but I linked the jsDelivr in jsbin just to show you what's happening.  I still have that bug with my copy which says v4.0.0

If you're using a downloaded version, make sure to pull it from the tag (4.0.0) which is a stable version instead of the master branch, which is unstable.
https://github.com/select2/select2/tree/4.0.0

I downloaded the latest release version from the site at https://github.com/select2/select2/archive/4.0.0.zip with the tag kevin-brown released this on Apr 26 · 136 commits to master since this release.  Isn't that the stable one?  However, I downloaded the stable version that you have indicated but the result is still the same.
I sort of put a jsbin with iframe that loads jsfiddle which contains the button that doesn't work. I guess the iframe control is not able to access the parent.
http://jsbin.com/vexupu/edit?html,js,output

This has been open for a long time.  Any idea when is this likely to be fixed?

Any idea when is this likely to be fixed?

Right now this isn't on any of the lists of tickets we are going to close before we release 4.0.1, so I have no idea when this will be fixed.
The process can be sped up if the root cause is tracked down, even more so if a pull request is created that fixes the issue.

I found the solution after long last.  The issue was with the way the parent DOM was being accessed.  I changed the following two lines:
var parentctrl = window.parent.document;
$(targetoption,parentctrl).attr("selected","selected");

to
var parentctrl = window.parent;
parentctrl.$(targetoption).prop("selected", true).parent().select2();

and it works.  The same works with val() property too.
parentctrl.$(targetoption).val("IN").parent().select2();

However, with multiselect, the val() replaces the already selected option if the iframe window is accessed again for adding another (unless I also pass the previous selected value again as an array).  prop() works well in this case.

I have a similar problem.
I have a select2 field with ajax query, and a pre-selected option. The ajax query is displayed correctly but when I select an entry, it appends the entry to the list of options and do not update the "selected" property, keeping it on the previous (and original) option.

Same here.

hi dehy
how to resove your problem . i dont

@sunalive are you still experiencing this problem?  Have you seen issue #4608?  Your example link is no longer accessible, but if it's a problem with iframes then it could be the same issue.

I am experiencing the exact same behaviour as @dehy.

@Alexweissman: No. I no longer have this issue. I had solved this long ago and have given the solution in the comment above @dehy.
@Others: If the option is preselected while loading the page, you'll have to deselect it with $(elem).attr() while you receive the Ajax response.  This is because the selected attribute is part of the page html and not js dom.  If the option is being selected in the dom (by the user after loading the page), you can manipulate it with .prop().  Please see my solution for an example.

Ah, ok.  Isn't prop generally preferred when setting dynamic attributes anyway?

Yes. You'll use .prop() for manipulating the dom (dynamically) but it is not effective for manipulating page html attributes directly. The reason is that manipulated dynamic attributes are not available for other objects outside the object that is manipulating it until they are saved (which is expected) but the page html is universal as it is already loaded and available for all.

Same as dehy, the view didn't update while the value changed.

My solution:
$('select.select2-ajax').each(function() {
$(this).select2({
width: '100%',
ajax: {
url: $(this).data('get-items-route'),
data: function (params) {
var query = {
search: params.term,
type: $(this).data('get-items-field'),
page: params.page || 1
}
return query;
}
}
});
    $(this).on('select2:select',function(e){
        var data = e.params.data;
        $(e.currentTarget).find("option[value='" + data.id + "']").attr('selected','selected');
    });

    $(this).on('select2:unselect',function(e){
        var data = e.params.data;
        $(e.currentTarget).find("option[value='" + data.id + "']").attr('selected',false);
    });
});


More transperancy options

The only current transparency option is a toggle on / off for the main background of the bar. It'd be great to have more options and maybe a slider for opacity strength.

I'd love to see this implemented for the widgets (Dashboard, media, clock menu etc) and the bar background itself.

@sweetspace
Each element can now have a custom opacity applied to it. This includes:
Bar's background
Bar's buttons
Each dropdown menu: Theming > General Settings > Menu Opacity
Notifications
OSD
Tooltip (controlled by dropdown menu opacity: Theming > General Settings > Menu Opacity)
System popover menus (controlled by dropdown menu opacity: Theming > General Settings > Menu Opacity)

Thank you!


New validation error types

These validation error types are to be used in the migrated tests in the sds shared library.
JIRA LINK

Closing this PR as all the changes will be made in the internal repo.


Fix compat with Mingw-w64

I propose the following changes that I have to apply in order to be able to use OpenCV with Mingw-w64 as a 3rd party. I also notice other issues that can be found following http://www.irisa.fr/lagadic/visp/documentation/visp-2.10.0/tutorial-install-win81-mingw64.html#issue_win81_mingw. The work arround consist in turning tiff, dshow and ipp support OFF during CMake configuration.
Fabien

http://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/2411/steps/whitespace/logs/stdio

I have removed the trailing whitespace

Can you tell me more about why the endianness test doesn't work with MinGW? Have you tried to debug the problem?

I get the issue http://www.irisa.fr/lagadic/visp/documentation/visp-2.10.0/tutorial-install-win81-mingw64.html#issue_win81_mingw_opencv_endianness
I don't try to debug.

@SpecLad, are you satisfied by the answer?

Well... not entirely. I'd still like to know why the test doesn't work with MinGW. I was going to investigate in my copious free time, although if anyone knows already, then do tell.

OK, so I did investigate, and... it worked. At least, the test worked, I haven't actually tried to build OpenCV afterwards.
So I need more details. What CMake version are you using? What version of GCC?

g++ 4.8.3
cmake 3.1.0

@SpecLad, do you need any additional information or you can approve this MR?

@fspindle, please, resolve merge conflicts.

Oh yeah, thanks for reminding me. I actually tested the versions you posted, @fspindle, and it worked fine for me. So I can only conclude that the problem is in something other than the build script. Indeed, the errors shown in that screenshot seem to indicate some form of configuration problem. If you find out the cause of the problem and it turns out to be insoluble without disabling the check, then please post an explanation.
As for your other change, that has already been independently integrated in #3889. Tell me if the current version doesn't work for you.
Closing for now; reopen if you have any new information.


fix(useKeyboardDimensions): Optimize setState in hook

Code coverage down by this commit 37eae8d199a372b46398fb61e4bef892ba09ea68,  It's fixed issue when we run on android with useListenersOnAndroid: false, but add iOS's listener

Thanks @giautm. Sorry, didn't feel well, that's why it took so long. Released in version 2.1.


Got permission denied while trying to connect to the Docker daemon socket at

mrsk deploy
gives me:
  Deploy lock was not released.
  ERROR (SSHKit::Command::Failed): docker exit status: 1
docker stdout: Nothing written
docker stderr: WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/auth": dial unix /var/run/docker.sock: connect: permission denied

This is trying to deploy to an Ubuntu EC2 server on AWS.
I'm not clear about where the error means  — is it telling me it can't connect to my local docker deamon or the docker deamon instance?
I have the Dockerfile copied directly from https://www.driftingruby.com/episodes/deploying-with-mrsk
my deploy file looks like this.
I think everything is configured the right way now, with DOCKER_USERNAME, DOCKER_PASSWORD and RAILS_MASTER_KEY stored in .env.
# Name of your application. Used to uniquely configure containers.
service: helios-panoptes

# Name of the container image.
image: jasonheliosdevshop/helios-panoptes

# Deploy to these servers.
servers:
  - <IP_ADDRESS>

registry:
  username:
    - DOCKER_USERNAME
  password:
    - DOCKER_PASSWORD

env:
  secret:
    - RAILS_MASTER_KEY

ssh:
  user: ubuntu

Your user ubuntu is not allow to use the (remote) Docker socket /var/run/docker.sock because its file/group ownership is root:docker. Add ubuntu to the docker group on the remote server (<IP_ADDRESS>).

Also the file needs to chmod 666

Also the file needs to chmod 666

I don‘t think so actually. chmod 666 would leave the Docker socket accessible to everybody - which is a potential security issue.
Following should be enough:
sudo usermod -aG docker ubuntu

confirming
sudo usermod -aG docker ubuntu
works


Develop semantic model of specs repo dir structure

There has been ongoing work for reviewing, updating and codifying the set of rules on what spec directory structure is allowed to be going forward. Current status is captured here:

https://aka.ms/azsdk/spec-dirs

This work item is about:

Aiding the process of determining the allowed directory structure by gathering relevant data.
Leveraging that work in form of a reusable software component for all the spec PR validation tools.

Inputs:

The actual spec dirs in relevant branches, e.g. public main
https://aka.ms/azsdk/spec-dirs
https://github.com/Azure/azure-rest-api-specs/pull/28929
Rules captured inside https://github.com/Azure/avocado
Assumptions in openapi-alps
To reuse as code template: https://github.com/Azure/azure-rest-api-specs/pull/28927
My chat with Wes and Mike on Teams.
? Wes' source for Specification Index
Mike K's script. See here.

Output:

Implementation of rules captured in https://aka.ms/azsdk/spec-dirs, with analysis of existing directories:

which directory is for service vs service group
details of all the services
which directory is violating the rules, how long it has been doing it (is it relatively new or legacy/brownfield?) and how exactly it is violating the rules (to determine if the rules perhaps require adjustment)

@konrad-jamrozik: Related?
https://github.com/Azure/azure-rest-api-specs/issues/28466

@konrad-jamrozik: Related?
Azure/azure-rest-api-specs#28466

Yes :) Thanks!

@mikeharder can you let me know if this looks like a good way to start work on this?
My approach to break the ground on this work:
Setup:

Use suppressions as inspiration. copy-paste-adapt.
Refer to the guide I wrote for Armstrong to understand how everything is wired together.

Milestone 1: stub implementation

Start with stub implementation that will at first have the "semantic model" component/tool that will do almost nothing, except printing something out. Ensure there is some basic test for it and a way to invoke it. Basically like hollowed-out empty shell of suppressions tool.
Then add a shell of a GitHub action, based of typespec-requirement.yaml, that will call into the shell of the semantic model component.
Run the pipeline and observe it calling the component and observe it printing out to the GH action run log.
Add GH action for tests to the semantic model component, akin to suppressions-test.yaml.
Do the same for typespec-requirement-test.yaml.


Cannot launch floor

Bot doesnt launch floor. It clicks play and than nothing (doesnt click "random" i guess)
[12:56] Starting Dungeon floor 5
[12:56] menu, wait count: 0
[12:56] Starting Dungeon floor 5
[12:57] Waiting for match to start 0
[12:57] menu, wait count: 1
[12:57] Starting Dungeon floor 5
P.S. Works fine during match, but doesnt start the floor

Floor 5 works for me. Can you check if your Bluestacks resolution is set to "Portrait" with the resolution "900x1600"
When the bot clicks the "random" button it is at a fixed coordinate (500, 600). If your resolution is set correctly, it should always hit the "random" button.

i have same issue here... Except for floor 5 and 9 able to start game, but other floors unable to click play button and keep scrolling to the bottom... my BS resolution was set to 1600x900

Could you guys provide me a screenshot of a floor that doesn't launch (the menu with the "Random" button it doesn't click)? Please use the Bluestacks screenshot button in the right sidebar and then upload it here

[15:17] Bot mainloop started
[15:17] Starting Dungeon floor 11
[15:18] Waiting for match to start 0
[15:19] menu, wait count: 0
[15:19] Starting Dungeon floor 11
[15:20] Waiting for match to start 0
[15:21] menu, wait count: 1
[15:21] Starting Dungeon floor 11

Bot not clicking the play button on floor 11, it clicked on floor 12 after that keep scrolling to bottom and infinity loop to try start floor 11

To be clear, the bot never clicked the "Play"-button for floor 11? Instead it clicked on Floor 12, correct?

To be clear, the bot never clicked the "Play"-button for floor 11? Instead it clicked on Floor 12, correct?
In that case, it seems like the bot has detected an icon on a floor that is not available yet that it wants to click. (floor 12 in this example) I'll look into it when I have the time.
This seems to be a different issue than @ReqyH posted. From my understanding @ReqyH his bot opens the correct floor, but then doesn't click the random button. If so could @ReqyH provide a screenshot of the menu with the "Random" it should be clicking?

@hatehackppl I'll keep the debugging log short and sweet. After some debugging I noticed the bot doesn't scroll far enough to be able to click the play-button for dungeon 11, as shown in the image below.

I added a very short delay of 0,035s between every swipe and stopping the scrolling movement. The bot now scrolls slighty further and is able to click the play button for dungeon 11 as shown in the image below.

@

ReqyH

@ReqyH can you check with the latest release if this issue still persists? If so, please send me a screenshot from Bluestacks of the "selecting allies" screen, the one with the Random-button the bot fails to click.

Bot doesnt launch floor. It clicks play and than nothing (doesnt click "random" i guess) [12:56] Starting Dungeon floor 5 [12:56] menu, wait count: 0 [12:56] Starting Dungeon floor 5 [12:57] Waiting for match to start 0 [12:57] menu, wait count: 1 [12:57] Starting Dungeon floor 5
P.S. Works fine during match, but doesnt start the floor

@ReqyH can you check with the latest release if this issue still persists? If so, please send me a screenshot from Bluestacks of the "selecting allies" screen, the one with the Random-button the bot fails to click.

@hatehackppl I'll keep the debugging log short and sweet. After some debugging I noticed the bot doesn't scroll far enough to be able to click the play-button for dungeon 11, as shown in the image below.  I added a very short delay of 0,035s between every swipe and stopping the scrolling movement. The bot now scrolls slighty further and is able to click the play button for dungeon 11 as shown in the image below.

Awesome!!! It works now, TQVM for the fix

@niels-db Awesome!!! It works now, TQVM for the fix!

Bot doesnt launch floor. It clicks play and than nothing (doesnt click "random" i guess) [12:56] Starting Dungeon floor 5 [12:56] menu, wait count: 0 [12:56] Starting Dungeon floor 5 [12:57] Waiting for match to start 0 [12:57] menu, wait count: 1 [12:57] Starting Dungeon floor 5
P.S. Works fine during match, but doesnt start the floor

@ReqyH can you check with the latest release if this issue still persists? If so, please send me a screenshot from Bluestacks of the "selecting allies" screen, the one with the Random-button the bot fails to click.

Sorry for delayed answer, it works now 👍


Possibility to integrate a custom logger

Sometimes it's neccesary to log data for every request sent to the server.

@arditmezini I agree and thank you for your suggestion. I will try to work on it on the next version or you could also contribute to this library and integrate those feature. :)

Custom Logger: https://github.com/salslab/AspNetCoreApiLoggingSample
I integrated both into my repository:  https://github.com/enkodellc/blazorboilerplate/blob/master/src/BlazorBoilerplate.Server/Middleware/APIResponseRequestLogginMiddleware.cs


Add Ubuntu 18.04

Ubuntu 18.04 should be added to the list of supported OSes
Thanks

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

ID: f89338c0-968d-c22f-5b0d-ed3870ebc2fa
Version Independent ID: 6daae1cc-f758-1d37-9de3-80a2832c08ef
Content: Create an Azure virtual machine with Accelerated Networking
Content Source: articles/virtual-network/create-vm-accelerated-networking-cli.md
Service: virtual-network
GitHub Login: @gsilva5
Microsoft Alias: gsilva

@adewaleo Thank you for your input. I have assigned this issue to the author, to investigate and update the documentation.

no p @msrini-MSIT, thanks.

@msrini-MSFT Do we have an update on this? The document still doesn't list Ubuntu 18.04. Is this confirmed to be tested and supported?

@gsilva5 , Can you take a look at this issue?

Gentle ping. Can someone confirm that accelerated networking is supported on Ubuntu 18.04?


Spelling fix

This was fixed in https://github.com/cardano-foundation/developer-portal/pull/1243

well spotted @NotSimple ... originally reported issue fixed + suggestion above corrected now, so closing this.


Adding missing catalytic activity term xrefs based on def xref

Spreadsheet is here: https://docs.google.com/spreadsheets/d/1ytuqiOii6IYvMgy2rqRiy6JDCXIyucLcqcy5vFTO3bk/edit?gid=0#gid=0
New mappings based on EC as def xref:

[x] GO:1990464	D-2-hydroxyacid dehydrogenase (quinone) activity
Add EC:<IP_ADDRESS> etc.
[x] GO:0000249	C-22 sterol desaturase activity
Fix "xref: EC:<IP_ADDRESS> {comment="skos:exactMatch"}"
[x] GO:1990585	hydroxyproline O-arabinosyltransferase activity
add EC:<IP_ADDRESS> etc
[x] GO:0089702	undecaprenyl-phosphate glucose phosphotransferase activity
Add EC <IP_ADDRESS> etc
[x] GO:0090499	pimelyl-[acyl-carrier protein] methyl ester esterase activity
Add EC <IP_ADDRESS> etc
[x] GO:0036311	chitin disaccharide deacetylase activity
Add EC <IP_ADDRESS> etc
[x] GO:0035888	isoguanine deaminase activity
Add RHEA:47720
[x] GO:0090710	phosphomevalonate decarboxylase activity
Add EC <IP_ADDRESS> etc
[x] GO:0090471	9,15,9'-tri-cis-zeta-carotene isomerase activity
Add  EC:<IP_ADDRESS> etc
[x] GO:0002952	(4S)-4-hydroxy-5-phosphonooxypentane-2,3-dione isomerase activity
Add EC:<IP_ADDRESS> etc

New mappings based on MetaCyc as def xref:

[x] GO:0000247	C-8 sterol isomerase activity
add MetaCyc:RXN3O-203 RHEA:33435 as term xrefs and check parentage
[x] GO:0043883	malolactic enzyme activity
MetaCyc:RXN8E-5623 appears to be obsolete
Reaction is EC:<IP_ADDRESS> / RXN-16819 / RHEA:46277
[x] GO:0052625	4-aminobenzoate amino acid synthetase activity
Add MetaCyc:RXN-10884 as term xref and update def
[x] GO:0052626	benzoate amino acid synthetase activity
Add MetaCyc:RXN-10886 as term xref and update def
[x] GO:0052627	vanillate amino acid synthetase activity
Add MetaCyc:RXN-10885 as term xref and update def
[x] GO:0052628	4-hydroxybenzoate amino acid synthetase activity
Change def xref to MetaCyc:RXN-10887
[x] GO:0052754	GTP:coenzyme F420 guanyltransferase activity
Add MetaCyc:RXN-9385 as term xref and check parentage (MetaCyc:RXN-9385] = EC:2.7.7.M12)
[x] GO:0090439	tetraketide alpha-pyrone synthase activity
RXN-12183 is obsolete.
Seems to be replaced with RXN-16407 (no EC/RHEA)
[x] GO:0090595	acetyl-CoA:L-lysine N6-acetyltransferase
MetaCyc:LYSACET-RXN = EC:<IP_ADDRESS>6 = RHEA:69476

Terms with EC def xref that shouldn't have (i.e. they describe a more general activity and are already the def xref on the corresponding more general GO term):
GO:0047498	calcium-dependent phospholipase A2 activity [EC:<IP_ADDRESS>]
GO:0047499	calcium-independent phospholipase A2 activity [EC:<IP_ADDRESS>]

[EC:<IP_ADDRESS>] = GO:0004623 phospholipase A2 activity
[ ] use PMID:34831185 instead

GO:0004726	non-membrane spanning protein tyrosine phosphatase activity [EC:<IP_ADDRESS>]
GO:0005001	transmembrane receptor protein tyrosine phosphatase activity [EC:<IP_ADDRESS>]

[EC:<IP_ADDRESS>] = GO:0004725 protein tyrosine phosphatase activity
[ ] use PMID:34353440 instead

GO:0008294	calcium- and calmodulin-responsive adenylate cyclase activity

[EC:<IP_ADDRESS> = GO:0004016 = adenylate cyclase activity
[ ] use PMID:1739965 instead


Kubeclient-Adapter Extensions: add getter to retrieve common K8s resources in a convenient way

Description
Please refactor adapters to create methods for accessing additional resources as requested in https://github.com/kyma-incubator/reconciler/pull/199#discussion_r732647861.

Already implemented


Cannot pass RealmRequest to RealmResultController

Hi guys,
I have encountered weird problem. I added to my Podfile pod 'RealmResultsController', '~> 0.4.2'
Installing Realm (0.99.0)
Installing RealmResultsController (0.4.2)
Installing RealmSwift (0.99.0)

It actually instaled newer vesion of Realm, than is in your release notes and I cannot get RealmResultsController (0.4.2) and  Realm (0.98.6) to install together.
And in my humble opinion due having newer Realm it causes this:
LeagueTableViewController.swift:40:68: Cannot convert value of type 'RealmRequest<APIUnit>' to expected argument type 'RealmRequest<_>'

My code is:
realm = try! Realm()
let request = RealmRequest<APIUnit>(predicate: NSPredicate(value: true),
                                    realm: realm,
                                    sortDescriptors: [
                                        SortDescriptor(property: "projectID"),
                                        SortDescriptor(property: "name")
    ])

rrc = try! RealmResultsController<APIUnit, APIUnitPOSO>(request: request,
                                                        sectionKeyPath: "projectID",
                                                        mapper: APIUnit.map)
rrc!.delegate = self
rrc!.performFetch()

Or I might be wrong and do something seriously wrong.... here is screenshot:

Thanks for any help or clarification.

Could your RealmResultsController init be missing the filter param?

Hey @jallen @syky27 , are you using CocoaPods? The last version (0.4.3)?

Yes but the last version is 1.0.0 and you dont have to worry about this for me anymore I used something else with no bugs there.

On 13 May 2016, at 17:38, Pol Quintana<EMAIL_ADDRESS>wrote:
Hey @jallen @syky27 , are you using CocoaPods? The last version (0.4.3)?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@syky27 what workaround did you use? I'm getting the same error

@joshuarcher At first I butchered it somehow together...
But I switched to https://github.com/Roobiq/RBQFetchedResultsController which works like a charm...


bazel test //magenta/... error

My environment is Ubuntu18.04,bazel 0.26.0
The error reads like:
root@ecs-60f5:~/magenta# bazel test //magenta/...
ERROR: error loading package 'magenta/music/alignment': Unable to find package for @com_google_protobuf//:protobuf.bzl: The repository '@com_google_protobuf' could not be resolved.
INFO: Elapsed time: 0.191s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading: magenta/music/alignment
I'm sorry if it's a foolish question.

Hi @AragakiSaro, we no longer user Bazel for the main Magenta repo. Could you please sync your git client and follow the new installation instructions in our README?


Unable to debug under Arch Linux: "Python is not installed" / "You need to select a Python interpreter"

Environment data

VS Code version: 1.50.1
Extension version (available under the Extensions sidebar): v2020.10.332292344
OS and version: Arch Linux (rolling)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): n/a
Relevant/affected Python packages and their versions: -
Relevant/affected Python-related VS Code extensions and their versions: -
Value of the python.languageServer setting: None

Expected behaviour
After setting the Python binary once, I'm able to run python scripts using F5.
Actual behaviour
When pressing F5, a window pops up: "You need to select a Python interpreter before you start debugging. Tip: ..."
When I click on "Select Python Interpreter", I see the current value (which correctly is /usr/bin/python). I enter /usr/bin/python,  or /usr/bin/python3.8, and I'm immediately asked again, so I enter the same value again. No error is shown.
Then, when I press F5, the same window as before pops up again.

@mephinet I see you're using an older version of the extension. Can you try updating to the latest and see if it has the same problem?

I have the same issue, can you give me a hint how to install a newer version?
I am also on Arch with the same version: v2020.10.332292344
When I click install another version it tells me this is the latest one, available since 4 days.

@hwmrocker are you using the open source version of VS Code? The latest version of the Python extension on the open-vsx marketplace is 2020.10.332292344, whereas on Microsoft's marketplace it is 2020.11.358366026. I was having the same issue, but installing the proprietary version of VS Code solved it, so I imagine this is just a bug on the 2020.10.332292344 version of the extension.

This is caused by an issue with the latest version of electron (9.3.4) and vscode:
https://github.com/microsoft/vscode/issues/110322
The workaround (downgrading electron) :
https://github.com/microsoft/vscode/issues/110322#issuecomment-726426703

Related #9576

Can confirm that downgrading electron9 from 9.3.4 to 9.3.3 fixed the issue for me on Arch Linux. For others:
sudo pacman -U /var/cache/pacman/pkg/electron9-9.3.3-1-x86_64.pkg.tar.zst

(Or whichever earlier version you happen to have cached.)

downgrading electron9 solved my python interpreter error, but now it complains that "Linter pylint is not installed".

same issue here on Arch Linux

downgrading electron9 solved my python interpreter error, but now it complains that "Linter pylint is not installed".

We're diverging from this GitHub issue, but pylint is a Python package. Did you check if it's installed in your Python environment?

Yes, I did check. All was working well until the most recent Arch/Manjaro updates.

You might want to start a new issue then. My suspicion is the behavior I've seen recently where the extension always looks to the system Python first. You might want to install python-pylint for Manjaro and see if that gives you a workaround for now.

Following update electron9 9.3.5-1 it appears to be fixed on my machine, no more downgrading required.

Should be fixed in the latest release of extension.


Vulkan not found: Ubuntu 18.04LTS

When trying to install dependencies using the mapd-deps-ubuntu.sh script, get the following error:
+ pushd vulkan
/vulkan /
+ wget --continue 'https://vulkan.lunarg.com/sdk/download/1.1.101/linux/vulkansdk-linux-x86_64-1.1.101.tar.gz?Human=true' -O vulkansdk-linux-x86_64-1.1.101.tar.gz
--2019-03-25 21:07:33--  https://vulkan.lunarg.com/sdk/download/1.1.101/linux/vulkansdk-linux-x86_64-1.1.101.tar.gz?Human=true
Resolving vulkan.lunarg.com (vulkan.lunarg.com)... <IP_ADDRESS>, <IP_ADDRESS>, 2620:108:700f::3645:e108, ...
Connecting to vulkan.lunarg.com (vulkan.lunarg.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
Syntax error in Set-Cookie: u=d%2Fkc3n9qw4oclDklSJNDqsKzSxV2lIUbSwgz0f61exkPE9TxFahRNPqQ1gQF%0AFmfgcSz3BB%2FPsLz9xlZt5Ilgig%3D%3D; ; path=/; SameSite=Lax at position 102.
Syntax error in Set-Cookie: a=XZxs35QBwvluz8x%2Bgl5n4w%3D%3D; expires=Wed, 17 Mar 2049 21:07:33 +0000; ; path=/; SameSite=Lax at position 74.
2019-03-25 21:07:33 ERROR 404: Not Found.

This was fixed in master late last week. If you're building from source, you'll need to update/rebase.

I cloned this in a Docker image. It's today's master.

(checking)

https://github.com/omnisci/mapd-core-internal/pull/3194
From the command line you pasted above, you do not have this change

Will be synced over to the open source repo in a few minutes, once I verify the tests pass.

D'oh! Sorry, @randyzwitch, I totally missed that this was in the OS repo.


Help message for '--output' is generated non-deterministically

The reason is that the keys of a map are joined together without defined order.
The help message
-o, --output string                 Output format. One of: json|yaml|name|go-template-file|templatefile|template|go-template|jsonpath|jsonpath-file. (default "yaml")
generated in https://github.com/kubernetes/cli-runtime/blob/178667528169f9c3c166d14da444500b89c4a8c7/pkg/genericclioptions/print_flags.go#L127
uses the keys of the map in https://github.com/kubernetes/cli-runtime/blob/178667528169f9c3c166d14da444500b89c4a8c7/pkg/genericclioptions/template_flags.go#L33-L38
for generating this list in https://github.com/kubernetes/cli-runtime/blob/178667528169f9c3c166d14da444500b89c4a8c7/pkg/genericclioptions/template_flags.go#L50-L57
This means that this help message is different from time to time it's called and, more seriously, also when auto-generating documentation.
Instead, the order should be deterministic. I suggest to alphabetically order the keys.

I had an old version of this cli-library, where the sort.String() was missing.
Sorry for the noise.


Fixed the image display issue

This file is showing 5 commits behind T_T.
Okay I edited in leaderboard.html file and now image issue is fixed.

Please resolve conflicts.


These Endpoints are no accurate

[Enter feedback here]
I have Exchange Hybrid setup, I have check the endpoints mentioned in line #9 "Used to configure [Exchange Hybrid], using the [Exchange Hybrid Configuration Wizard])"
I have found some endpoints are not exists such as asl.configure.office.com; tds.configure.office.com..
I have tested it in the lab , I found many endpoints are not mentioned in this article.
This is a show stopper for our hybrid setup , I can't just ask the security team to allow unrestricted internet access for exchange server

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

ID: 5de1e69c-aee8-2cd4-3f69-5288253d9b2a
Version Independent ID: 3bcee52a-c7be-6ce3-05a9-2409ec30661c
Content: Other endpoints not included in the Office 365 IP Address and URL Web service - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/additional-office365-ip-addresses-and-urls.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

Thanks for reaching out, @SultanRayes. I'll look into the issue with the teo URLs you mentioned. Can you give me an example or two of URLs you are seeing that are not included in the web service or Other Endpoints page?
 I'll look into the issue with the teo URLs you mentioned. Can you give me an example or two of URLs you are seeing that are not included in the web service or Other Endpoints page?
Thanks,
Kelley
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F8008%23issuecomment-1067287665&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=uOSltjnH5lde1B6YUuLPGYJjY0gazLAPVBNwC%2FkoqHA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKZ2AKXTRZCVZ7G3YMUYJDDU76S7FANCNFSM5QWWHMCQ&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=rE0bYwvTn3Ea%2FpbDlOqPQCPw7mKCkFxw1adjTynk9DE%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2B8mny7Q2odrrU%2BSbmVjD3Vrqk%2BLHLhqpKtaiVTW5pqE%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=G2yej9mQE1kQKj1Cdw7X%2Bzs5FwSi11AYOhUcxQBQUXI%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

IP addresses ...
 I'll look into the issue with the teo URLs you mentioned. Can you give me an example or two of URLs you are seeing that are not included in the web service or Other Endpoints page?
Thanks,
Kelley
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F8008%23issuecomment-1067287665&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=uOSltjnH5lde1B6YUuLPGYJjY0gazLAPVBNwC%2FkoqHA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKZ2AKXTRZCVZ7G3YMUYJDDU76S7FANCNFSM5QWWHMCQ&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=rE0bYwvTn3Ea%2FpbDlOqPQCPw7mKCkFxw1adjTynk9DE%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2B8mny7Q2odrrU%2BSbmVjD3Vrqk%2BLHLhqpKtaiVTW5pqE%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||0914df4d35ec4d90f31108da05fe93ef|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637828888216838160|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=G2yej9mQE1kQKj1Cdw7X%2Bzs5FwSi11AYOhUcxQBQUXI%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@SultanRayes, most of the endpoints you listed are included in the M365 endpoints web service and can be found here: https://docs.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges. You also listed a number of non-Microsoft endpoints and CDN URLs, none of which we control. The specific article you're commenting on (Other endpoints not included in the Office 365 IP Address and URL Web service - Microsoft 365 Enterprise) is only intended to enumerate endpoints that for various reasons are not included in the web service.
Is this helpful? If you haven't already, you can read https://docs.microsoft.com/microsoft-365/enterprise/microsoft-365-network-connectivity-principles?view=o365-worldwide#new-office-365-endpoint-categories for more information on how to permit a limited set of endpoints.
Kelley

Also, there is some information about Exchange hybrid endpoints here: https://docs.microsoft.com/en-us/exchange/hybrid-deployment-prerequisites#hybrid-deployment-protocols-ports-and-endpoints. I would recommend reading this to see if it provides more relevant information. I'll leave this issue open for a time in case the links I've provided don't resolve your issue.
Thanks,
Kelley

Thanks for reaching out to the Microsoft 365 Enterprise content team. Because all Microsoft 365 endpoints data displayed in learn.microsoft.com articles is autogenerated by the Microsoft 365 endpoints web service, the content team cannot resolve issues directly related to this data.
We recommend that you contact your organization’s TAM (Technical Account Manager) to escalate your inquiry to the engineering team associated with the endpoint in question. If you do not have a TAM assigned to your organization, please contact Microsoft Support.


More dev architecture slide updates.

Include more projects in ecosystem slides.
Add some images and update links to images.
Mention working groups in another slide.
Fix updated link to wsgi that should have been updated to asgi.

I was just going to come say I've already got some more updates from additional attempt to record these 😅. I'll wait a day before opening another PR and see how far I can get into 2021 videos.
I really appreciate all the reviews and PR merges though @hexylena and sorry this is taking longer than I expected.

hahah! my bad timing, ok. No worries @jmchilton, thanks for the status update, I appreciate it!


Add Esperanto Translations

Add folder eo to localisation, containing translations of all json files into Esperanto.
These translations are not perfect, but they should be good enough.
Notes:
Acronyms such as 'NSFW' were left the same.
I assumed these translations were accurate:

premium = premio
bot = roboto
Discord Server = Diskorda Servilo
NSFW = NSFW (otherwise NSPL for Ne Sekura Por Laborejo)
doujin (fandom) = fervolularo (aro de fervoluloj)
slash command = oblikva ordono
tag = etikedo
pong (return of ping command) = respondo (responce)
run (a command) = ordoni
memory (RAM) = memorilo
bookmark = legosignoj (plural)

.vscode/settings.json was also added for for tab size formatting.
localisation/eo/ESPERANTO_NOTES.md can be deleted, it is just a mirror of this PR for future reference.

Hope this is helpful :)

Thank you for your contribution! I don't speak or know the language but I think the translations are all good, will add them soon in Crowdin for everyone else to contribute/proofread.

One important thing to notice is that you'll also need to edit a few of the framework's code in order to fully support this language. Feel free to join the Discord server for devs discussion if you like to.

Thanks!


Apollo - Angular Example

That's really such a great idea! Do you have already experience with Apollo - Angular integration?
If you have an example it would be really great to see it :)

@tfiwm yes!
Here you go: https://github.com/APIs-guru/angular-apollo-lodash-demo 🎁


event multiple occurences

Hi, I'm using this library on a pi to watch on input event. When i test it manually connecting the input pi to 3.3V pin the event occur once till i detach the connection as I expect.
Insted if I connect the input pin to 3.3V pin through a relay, even if the relay state is stable, I'm getting multiple event fires.
The library fires a rising event at each slot of debounceTime that i set at 2 sec.
When the input pin will move to 0 volt I'm getting a falling event at each debounceTime slot.
There is a way to debug this case? Any other that get same use case? It's a bug?
Thanks

Maybe with the picture is simply to understand. The goal is get a signal from the relay to generate an event. Below there is an abstraction of the code:
let button = new Gpio(17, 'in', 'rising', {debounceTimeout: 2000});
button.watch(function(err, value) { console.log('event'); });
The circuit and the software works quite well. The only problem I'm getting is when the realy switch state from 87a to 87 I'm reciving the event code side. But I'm getting lots of event (one each 2 sec) not only one. To be more precise the relay swtich state and maintain it.
I hope that now is more clear.

Please post a complete program that can be used to reproduce the problem.

@msartor92 The relay is not being used the way it should normally be used in the circuit diagram above.
It looks like it's an automotive relay. If this is the case then pin 30 is the common pin, pin 87 is the normally open contact and pin 87a is the normally closed contact. While the circuit diagram looks like it should work it assumes that their is no additional circuitry inside the relay that would prevent it from working.
Perhaps it would work better if pin 30 was used as the common pin (connected to 3.3v) and pin 87 (normally open contact) was connected to GPIO17. Pin 87 would also need to be connect to ground via a strong pull-down resistor. When the relay is triggered there would then be a rising edge on pin 87.

I'm going to go ahead and close this issue as it doesn't look like it's an onoff issue. If it turns out that it is an onoff bug the issue can be reopened.


这个项目已经不维护了吗? python3.7似乎不兼容

python3.7 使用pipenv 安装报错
pipenv install itchatmp
Installing itchatmp… Adding itchatmp to Pipfile's [packages]… ✔ Installation Succeeded  Pipfile.lock (c896b0) out of date, updating to (889585)… Locking [dev-packages] dependencies… Locking [packages] dependencies… ✘ Locking Failed!  Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module>     main()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main     parsed.requirements_dir, parsed.packages)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main     requirements_dir=requirements_dir,   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve     req_dir=requirements_dir   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps     req_dir=req_dir,   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps     resolved_tree = resolver.resolve()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve     results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve     has_changed, best_matches = self._resolve_one_round()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round     for dep in self._iter_dependencies(best_match):   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies     dependencies = self.repository.get_dependencies(ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 234, in get_dependencies     legacy_results = self.get_legacy_dependencies(ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 426, in get_legacy_dependencies     results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 297, in resolve_reqs     results = resolver._resolve_one(reqset, ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 274, in _resolve_one     self.requires_python = check_dist_requires_python(dist, absorb=False)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/utils/packaging.py", line 62, in check_dist_requires_python     '.'.join(map(str, sys.version_info[:3])),) pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: futures requires Python '>=2.6, <3' but the running Python is 3.7.1 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module>     main()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main     parsed.requirements_dir, parsed.packages)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main     requirements_dir=requirements_dir,   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve     req_dir=requirements_dir   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps     req_dir=req_dir,   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps     resolved_tree = resolver.resolve()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve     results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve     has_changed, best_matches = self._resolve_one_round()   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round     for dep in self._iter_dependencies(best_match):   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies     dependencies = self.repository.get_dependencies(ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 234, in get_dependencies     legacy_results = self.get_legacy_dependencies(ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 426, in get_legacy_dependencies     results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 297, in resolve_reqs     results = resolver._resolve_one(reqset, ireq)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 274, in _resolve_one     self.requires_python = check_dist_requires_python(dist, absorb=False)   File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/utils/packaging.py", line 62, in check_dist_requires_python     '.'.join(map(str, sys.version_info[:3])),) pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: futures requires Python '>=2.6, <3' but the running Python is 3.7.1

我的就是3.7，可以安装运行但是目前仍然无法使用

python3.7 使用pipenv 安装报错
pipenv install itchatmp
Installing itchatmp… Adding itchatmp to Pipfile's [packages]… ✔ Installation Succeeded Pipfile.lock (c896b0) out of date, updating to (889585)… Locking [dev-packages] dependencies… Locking [packages] dependencies… ✘ Locking Failed! Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module> main() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main parsed.requirements_dir, parsed.packages) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main requirements_dir=requirements_dir, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve req_dir=requirements_dir File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps req_dir=req_dir, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps resolved_tree = resolver.resolve() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve has_changed, best_matches = self._resolve_one_round() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round for dep in self._iter_dependencies(best_match): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies dependencies = self.repository.get_dependencies(ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 234, in get_dependencies legacy_results = self.get_legacy_dependencies(ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 426, in get_legacy_dependencies results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 297, in resolve_reqs results = resolver._resolve_one(reqset, ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 274, in _resolve_one self.requires_python = check_dist_requires_python(dist, absorb=False) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/utils/packaging.py", line 62, in check_dist_requires_python '.'.join(map(str, sys.version_info[:3])),) pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: futures requires Python '>=2.6, <3' but the running Python is 3.7.1 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 126, in <module> main() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 119, in main parsed.requirements_dir, parsed.packages) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 85, in _main requirements_dir=requirements_dir, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve req_dir=requirements_dir File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps req_dir=req_dir, File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps resolved_tree = resolver.resolve() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 385, in resolve results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve has_changed, best_matches = self._resolve_one_round() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round for dep in self._iter_dependencies(best_match): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies dependencies = self.repository.get_dependencies(ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 234, in get_dependencies legacy_results = self.get_legacy_dependencies(ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 426, in get_legacy_dependencies results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 297, in resolve_reqs results = resolver._resolve_one(reqset, ireq) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 274, in _resolve_one self.requires_python = check_dist_requires_python(dist, absorb=False) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/utils/packaging.py", line 62, in check_dist_requires_python '.'.join(map(str, sys.version_info[:3])),) pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: futures requires Python '>=2.6, <3' but the running Python is 3.7.1
我的就是3.7，可以安装运行但是目前仍然无法使用