Not compatible whit angular 9

This likely means that the library (ng-diff-match-patch) which declares DiffMatchPatchModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

I have the same error. Iuk.

Men, I found the solution this problema. You need update ng-diff-match-patch to last version.

Would you be willing to a PR?
On Tue, 30 Jun 2020, 1:52 am bukohub<EMAIL_ADDRESS>wrote:

Men, I found the solution this problema. You need update
ng-diff-match-patch to last version.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hipster-labs/generator-jhipster-entity-audit/issues/148#issuecomment-651428658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIOKF5BTJZZYPZH7G2A6ZDRZESNNANCNFSM4MLCQU5A
.

There's already a PR for that (https://github.com/hipster-labs/generator-jhipster-entity-audit/pull/147), but I'm not in favor of merging it until we know where this new version of ng-diff-match-patch comes from (https://github.com/elliotforbes/ng-diff-match-patch/issues/39)

Oh I didn't realize that we are changing lib. Ok I'll leave it to you then
On Tue, 30 Jun 2020, 1:02 pm Aurélien Mino<EMAIL_ADDRESS>wrote:

There's already a PR for that (#147
https://github.com/hipster-labs/generator-jhipster-entity-audit/pull/147),
but I'm not in favor of merging it until we know where this new version of
ng-diff-match-patch comes from (elliotforbes/ng-diff-match-patch#39
https://github.com/elliotforbes/ng-diff-match-patch/issues/39)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hipster-labs/generator-jhipster-entity-audit/issues/148#issuecomment-651722534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIOKF4UBCQP6DYGUVPNJCDRZHA5XANCNFSM4MLCQU5A
.

@murdos, @deepu105. Actually, there are some problems with generator-jhipster-entity-audit in angular 9.

ng-diff-match-patch, (I solved that solution with update version, but @murdos  has reason).
admin-routing.module.ts, generates two commas in his route.
entity-audit-modal.component.html, generates a
, that generates issue, in tags left and right (angular version problem).

In all the time using entity-audit, this was my problems.

This generate is incredible (really). I would like contribute it, but I don't know how to do a PR.

@bukohub how did you resolve no 3?

@murdos, @deepu105. Actually, there are some problems with generator-jhipster-entity-audit in angular 9.
1. ng-diff-match-patch, (I solved that solution with update version, but @murdos  has reason).

2. admin-routing.module.ts, generates two commas in his route.

3. entity-audit-modal.component.html, generates a
, that generates issue, in tags left and right (angular version problem).

In all the time using entity-audit, this was my problems.

@bukohub how did you resolve no 3?

@murdos, @deepu105. Actually, there are some problems with generator-jhipster-entity-audit in angular 9.
1. ng-diff-match-patch, (I solved that solution with update version, but @murdos  has reason).

2. admin-routing.module.ts, generates two commas in his route.

3. entity-audit-modal.component.html, generates a
, that generates issue, in tags left and right (angular version problem).

In all the time using entity-audit, this was my problems.

Probably there are much better ways, I changed the entity-audit-modal.component.ts to make left and right as regular strings:
export class EntityAuditModalComponent {   action?: string;   left: string = "";   right: string = "";


Ssm backend get command invocation upstream

Add support for getting command invocations to the SSM backend.

Coverage increased (+0.2%) to 92.347% when pulling de532b93b78a01763ac622bd538ce12c41b86893 on nimbis:ssm-backend-get-command-invocation-upstream into 42d486f9b056e001e31d9212c06063422a86be35 on spulec:master.

Test that failed doesn't look like code I've touched. I can't restart the build, but I suspect the issue is related to date time estimation and comparison.

Looks great; thanks!


Insert designing

Thank you for the PR Kavhita, overall looks good! 👏 👏  I'll be just leaving some notes if you don't mind :)

Codecov Report
Patch and project coverage have no change.

Comparison is base (6a18937) 100.00% compared to head (5745ecd) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff              @@
##           release/0.8      #516   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               67        67
  Lines             1239      1239
  Branches           460       460
=============================================
  Hits              1239      1239

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Lootr Server-Side Crash Java 1.12.2

lootr-1.12.2-0.1.1
Upon adding Lootr to my Vorps Reborn pack server, it crashes as soon as it gets to Lootr in the loading sequence.
https://www.curseforge.com/minecraft/modpacks/vorps-reborn/files/3832945
crash-2022-06-19_03.58.27-server.txt
latest.log

Thanks for the report! This should be fixed in 0.1.2.


Add middlewares to GraphQLServerLambda

Closes #398 wrapping executableSchema with applyMiddleware from graphql-middleware

Thanks @flpStrri for fixing this!


Better to use reward(m, s, a, sp, o) and observation(m, s, a, sp)

Hi @dominikstrb one potential improvement is that it is better to use versions of functions with more arguments, e.g. reward(m, s, a, sp, o) or reward(m, s, a, sp) and observation(m, s, a, sp) instead of reward(m, s, a) and observation(m, a, sp). This will allow compatibility with more problems.

Hi @zsunberg, thanks for the suggestion! I am not sure if it is possible to use reward(m, s, a, sp, o) in this case. Looking at the original paper for the algorithm (http://www.fore.robot.cc/papers/Pineau03a.pdf), the backup equation is

So it looks like the reward function cannot depend on the next state or the observation. Am I overlooking someting? I am not all that familiar with POMDP solving methods and basically just tried to stick to the paper.
For the observation function, I have now switched to the more general version.

In the latest version of POMDPModelTools, there is a way to automatically cache the results of taking expectations of reward(m, s, a, sp, o): https://juliapomdp.github.io/POMDPModelTools.jl/dev/model_transformations/#State-Action-Reward-Model
# somewhere at the beginning
r = StateActionReward(pomdp)
# when you need to use R(s, a) in the backups
r(s, a)

This will allow the solver to work with models that have reward(m, s, a, sp, o).

Great, thanks! Fixed it.


Refine the set of publications subject to the AI OA workflow

Currently, if a publication has a file from Activity Insight, RMD checks for an OA location. If the publication has an OA location, the publication does not go through the AI OA workflow.
Instead, we should check the "Open access status" field and check for a ScholarSphere open access location.

If the "open access status" is "gold" or "hybrid", or if there is a ScholarSphere open access location, the publication should not go through the AI OA workflow. RMD should report to AI that the publication is already openly available. This information should be passed along to the AI user via the AI field that RMD calls "Activity insight postprint status." The file should either be removed from RMD or not imported.
If the "open access status" is "green", "bronze", or "closed" and there is no ScholarSphere open access location, the publication should go through the AI OA workflow.

Are there situations where a publication may already have one or more open access locations listed in RMD, but we'd still want it to go through this workflow and possibly be deposited into ScholarSphere? I feel like we've discussed this before, but I just can't remember all of the details (or how to find where they were recorded) - my apologies.

So it sounds like a publication could have "green", "bronze", or "closed" OA status and already have an open access location that is not ScholarSphere, and in that case we'd want to try to deposit in ScholarSphere?

Are there situations where a publication may already have one or more open access locations listed in RMD, but we'd still want it to go through this workflow and possibly be deposited into ScholarSphere?

Yes, @EricDurante

So it sounds like a publication could have "green", "bronze", or "closed" OA status and already have an open access location that is not ScholarSphere, and in that case we'd want to try to deposit in ScholarSphere?

Correct.
If the status is "green" or "bronze", there should always be at least one OA link. If there's a ScholarSphere link, we don't want to deposit because we don't want duplicates in ScholarSphere. Otherwise, though, we do want to deposit.  The reason for this is that "bronze" often turns back into "closed". With "green", it's pretty unlikely that would happen, but since the AI user has essentially asked us to deposit the file in ScholarSphere, we're putting a thumb on the scale to follow their wishes (whereas with "gold" or "hybrid" we are going to disregard their wishes). We definitely talked about this during the design phase, but I'm not seeing it documented in github.

Ok, here's my rough idea for this in terms of implementation - please scrutinize:

We can change the base filter (Publication.activity_insight_oa_publication) for publications that belong in this workflow so that only publications that already have ScholarSphere open access locations are excluded as opposed to excluding publications with any open access locations. We may need to change this logic as well.
Automatically retrieving open access status info is going to be dependent on knowing and verifying DOI, so all publications with a file and with no ScholarSphere open access location are still going to need to enter at least the first parts of the workflow.
We'll need to update the existing step in the workflow that fetches OA metadata from OAB and Unpaywall so that it always pulls in open access status from Unpaywall.
Publications that have both a verified DOI and a timestamp indicating that their OA metadata has been checked but that have no open access status are going to need to be kicked out for manual review at some point. Maybe presence of OA status becomes another criterion for not being included in the manual permissions review list? Not sure if that makes sense or if it would be better to catch this earlier in its own bucket...
Once we know open access status, we can use a status of "gold" or "hybrid" to filter publications out of the subsequent steps.

We definitely talked about this during the design phase, but I'm not seeing it documented in github.

Ah yes - I recall now. Sorry again that I was foggy on the details.

No worries!

We'll need to update the existing step in the workflow that fetches OA metadata from OAB and Unpaywall so that it always pulls in open access status from Unpaywall.

I suspect in this workflow we are currently only pulling permissions metadata from OAB's permissions API. But RMD is importing open access status from Unpaywall for all publications (maybe not at exactly the right time for things that get DOIs added/confirmed in this workflow).

Related #653


behind CDN

Is it possible using shadowsocks-libev proxy with v2ray-plugin on VPS behind CDN?
I have alot Linux exp., but I can't setup it. What I do wrong?
On server and client I have used same updated Linux OS with same software versions
shadowsocks-libev 3.2.5
shadowsocks-v2ray-plugin 1.1.0

How I do this:
Create free domain
https://freenom.com
Reg. on cloudflare.com and add your domain
https://dash.cloudflare.com>{DOMAIN.TLD}

DNS page>A, Name=@, ipv4_address={VPS V4IP}, Automatic TTL>Add Record
Crypto page>SSL, Flexible

Set cloudflare nameservers

on https://my.freenom.com>My Domains>Manage Domains>Management Tools>Nameservers
from https://dash.cloudflare.com>{DOMAIN.TLD}>DNS page

Generating certs
https://dash.cloudflare.com>{DOMAIN.TLD}>Get your API key>Global API Key>View
export CF_Key="{GLOBAL_API_KEY}"
export CF_Email="{EMAIL_FOR_CLOUDFLARE_LOGIN}"
acme.sh --issue --dns dns_cf -d {DOMAIN.TLD}

shadowsocks-libev server settings
{
  "server": "<IP_ADDRESS>",
  "server_port": 443,
  "password": "{PASSWORD}",
  "method": "xchacha20-ietf-poly1305",
  "plugin": "v2ray-plugin",
  "plugin_opts": "server;tls;host={DOMAIN.TLD};cert=/home/user/.acme.sh/{DOMAIN.TLD}/fullchain.cer;key=/home/user/.acme.sh/{DOMAIN.TLD}/{DOMAIN.TLD}.key;loglevel=debug"
}

sudo ss-server -c /etc/shadowsocks/config.json
shadowsocks-libev client settings
{
  "server": "{DOMAIN.TLD}",
  "server_port": 443,
  "local_address": "<IP_ADDRESS>",
  "local_port": 1080,
  "password": "{PASSWORD}",
  "method": "xchacha20-ietf-poly1305",
  "plugin": "v2ray-plugin",
  "plugin_opts": "tls;host={DOMAIN.TLD};loglevel=debug"
}

sudo ss-local -c /etc/shadowsocks/config.json
Setting browser proxy settings to
type=SOCKS5 IP=<IP_ADDRESS> port=1080
On client I getting:
(I hid the domain name from log)
...
 2019-04-18 06:07:25 INFO: connect to riot.im:443
2019/04/18 06:07:25 [Debug] [1844585956] v2ray.com/core/proxy/dokodemo: processing connection from: [::1]:42008
2019/04/18 06:07:25 [Info] [1844585956] v2ray.com/core/app/dispatcher: default route for tcp:<IP_ADDRESS>:0
2019/04/18 06:07:25 [Info] [1844585956] v2ray.com/core/common/mux: dispatching request to tcp:<IP_ADDRESS>:0
2019/04/18 06:07:25 [Info] v2ray.com/core/proxy/freedom: opening connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:25 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:25 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:25 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:26 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:26 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:{DOMAIN.TLD}:443
2019/04/18 06:07:27 [Info] failed to handler mux client connection > v2ray.com/core/proxy/freedom: failed to open connection to tcp:{DOMAIN.TLD}:443 > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://{DOMAIN.TLD}/):  > remote error: tls: handshake failure] > v2ray.com/core/common/retry: all retry attempts failed
2019/04/18 06:07:27 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe
2019/04/18 06:07:28 [Info] [1844585956] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > context canceled
2019/04/18 06:07:28 [Info] [1844585956] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe
...

On server I getting:
(different timezones)
2019/04/18 03:53:22 http: TLS handshake error from <IP_ADDRESS>:20334: tls: no cipher suite supported by both client and server

Double check if you have enabled websocket in CloudFlare.

websocket enabled by default on cloudflare Network page

Can you confirm that the plugin works without CDN?

on server
I disable cloudflare service and switch domain settings to freenom DNS
Now I getting on server
2019/04/18 04:56:52 http: TLS handshake error from <IP_ADDRESS>:45216: remote error: tls:
bad certificate
2019/04/18 04:56:52 http: TLS handshake error from <IP_ADDRESS>:45220: remote error: tls: bad certificate
2019/04/18 04:56:54 http: TLS handshake error from <IP_ADDRESS>:45238: remote error: tls: bad certificate

Oh, wow, seems like I typo in one char in domain name. it was .gg instead .gq
"plugin_opts": "tls;host={DOMAIN.gg};loglevel=debug"
2019/04/18 07:57:17 [Info] failed to handler mux client connection > v2ray.com/core/proxy/freedom: failed to open connection to tcp:meshnet.gq:443 > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://{DOMAIN.gq/):  > **x509: certificate is valid for {DOMAIN.gq}, not {DOMAIN.gg}**] > v2ray.com/core/common/retry: all retry attempts failed

now I getting on client
x509: certificate signed by unknown authority

now 521 Origin Down > websocket: bad handshake

on server:
2019/04/18 08:57:16 [Info] [1883109256] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed
to transport request > websocket: close 1006 (abnormal closure): unexpected EOF
2019/04/18 08:57:16 [Info] [1883109256] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled
2019/04/18 08:57:16 [Info] [4272083748] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed
to transport request > websocket: close 1006 (abnormal closure): unexpected EOF
2019/04/18 08:57:16 [Info] [4272083748] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled
2019/04/18 08:57:16 [Info] [1217812956] v2ray.com/core/common/mux: unexpected EOF > v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe
2019/04/18 08:57:16 [Info] [1217812956] v2ray.com/core/common/mux: session 1 ends. > io: read/write on closed pipe

It works directly, but not over CDN

also works over CDN in websocket (HTTP) mode. I change port to 80 and remove TLS from config, and it works. But I need TLS

How about trying stunnel for TLS termination on your client computer? It works for me, I aslo use it to balance load between various Cloudflare IPs.
The sample config is:
[socks]
client = yes
accept = <IP_ADDRESS>:1337
connect = <IP_ADDRESS>:443
connect = <IP_ADDRESS>:443
connect = <IP_ADDRESS>:443
protocolHost = <your domain>:443
verifyChain = yes
checkHost = <your domain>
CApath = /etc/ssl/certs

Then just set server and server_port to <IP_ADDRESS> and 1337 respectively in shadowsocks config.

@devarped do you mean ss-libev>v2ray-plugin (websocket - http server)<->v2ray-plugin (websocket - http client)<ss-libev<stunnel (TLS)?

@devarped do you mean ss-libev>v2ray-plugin (websocket - http server)<->v2ray-plugin (websocket - http client)<ss-libev<stunnel (TLS)?

Not exactly. I meant that stunnel should be on client, so it's something like this: (server: ss-libev <- v2ray-plugin (in TLS mode)) <-> (client: stunnel -> v2ray-plugin (in regular non-TLS mode) -> ss-libev).

Finally it works
minimal configs with shadowsocks-libev + v2ray-plugin with certs from certbot in TLS mode behind cloudflare CDN:
$ sudo cat /root/.secrets/certbot/cloudflare.ini
dns_cloudflare_email =<EMAIL_ADDRESS>dns_cloudflare_api_key = api_key

$ sudo l /root/.secrets/certbot/cloudflare.ini
-rwx------ 1 root root 106 Apr 19 01:58 /root/.secrets/certbot/cloudflare.ini

sudo certbot certonly \
  --dns-cloudflare \
  --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini \
  --dns-cloudflare-propagation-seconds 120 \
  -d domain.tld

server:
{
  "server": "<IP_ADDRESS>",
  "server_port": 443,
  "password": "password",
  "method": "aes-256-gcm",
  "timeout": 300,
  "plugin": "v2ray-plugin",
  "plugin_opts": "server;tls;host=domain.tld;cert=/etc/letsencrypt/live/domain.tld/fullchain.pem;key=/etc/letsencrypt/live/domain.tld/privkey.pem;loglevel=debug"
}

sudo ss-server -c server.config
client:
{
  "server": "domain.tld",
  "server_port": 443,
  "local_port": 1080,
  "password": "password",
  "method": "aes-256-gcm",
  "timeout": 300,
  "plugin": "v2ray-plugin",
  "plugin_opts": "tls;host=domain.tld;loglevel=debug"
}

pkill v2ray; ss-local -c client.config

minimal client configs with stunnel
cat /etc/stunnel/stunnel.conf
foreground = yes

[socks]
client = yes
accept = <IP_ADDRESS>:1337
connect = cloudflare_ip:443
connect = cloudflare_ip:443
protocolHost = domain.tld:443
verifyChain = yes
checkHost = domain.tld
CApath = /etc/ssl/certs

stunnel  /etc/stunnel/stunnel.conf
{
  "server": "<IP_ADDRESS>",
  "server_port": 1337,
  "local_port": 1080,
  "password": "password",
  "method": "aes-256-gcm",
  "timeout": 300,
  "plugin": "v2ray-plugin",
  "plugin_opts": "host=domain.tld",
}

@devarped I don't know what the problem was, but now it seems to work. Thank you anyway.
What are the advantages of using stunnel for load balancing on Сloudflare CDN?

Server side for stunnel?

@whoizit

I don't know what the problem was

I guess the problem was in v2ray cipher support, as it does not implement all the ciphers supported by Cloudflare and major browsers, for example, it does not support TLS 1.3 yet (if I'm wrong, then this is an issue with Android plugin). So, I have to use stunnel to decrypt TLS 1.3 for v2ray instead of handling it within v2ray itself.

What are the advantages of using stunnel for load balancing on Сloudflare CDN?

I guess it will make the traffic look more legitimate, since the packaets are being sent to different addreses instead of only one.
@malikshi
I didn't try to use stunnel on server side, but I think it shouldn't be too hard, stunnel example config shows an example of TLS front-end for a webserver, which should also work with v2ray.

Finally it works
minimal configs with shadowsocks-libev + v2ray-plugin with certs from certbot in TLS mode behind cloudflare CDN:
$ sudo cat /root/.secrets/certbot/cloudflare.ini
dns_cloudflare_email =<EMAIL_ADDRESS>dns_cloudflare_api_key = api_key

$ sudo l /root/.secrets/certbot/cloudflare.ini
-rwx------ 1 root root 106 Apr 19 01:58 /root/.secrets/certbot/cloudflare.ini

sudo certbot certonly \
  --dns-cloudflare \
  --dns-cloudflare-credentials /root/.secrets/certbot/cloudflare.ini \
  --dns-cloudflare-propagation-seconds 120 \
  -d domain.tld

server:
{
  "server": "<IP_ADDRESS>",
  "server_port": 443,
  "password": "password",
  "method": "aes-256-gcm",
  "timeout": 300,
  "plugin": "v2ray-plugin",
  "plugin_opts": "server;tls;host=domain.tld;cert=/etc/letsencrypt/live/domain.tld/fullchain.pem;key=/etc/letsencrypt/live/domain.tld/privkey.pem;loglevel=debug"
}

sudo ss-server -c server.config
client:
{
  "server": "domain.tld",
  "server_port": 443,
  "local_port": 1080,
  "password": "password",
  "method": "aes-256-gcm",
  "timeout": 300,
  "plugin": "v2ray-plugin",
  "plugin_opts": "tls;host=domain.tld;loglevel=debug"
}

pkill v2ray; ss-local -c client.config

With the same configs as above, Now I get this error on client:
521 Origin Down > websocket: bad handshake] > v2ray.com/core/common/retry: all retry attempts failed
Do you have any idea?

Double check you config. If u set correct domain.tld, i believe you need just await 24h before cert will work. Try to test it, please.

I double checked, config is the same as yours.
I will wait for time,
Here is current client full log:
2019-04-20 21:13:07 INFO: connect to www.instagram.com:443
2019/04/20 21:13:07 [Debug] [3858380295] v2ray.com/core/proxy/dokodemo: processing connection from: <IP_ADDRESS>:42006
2019/04/20 21:13:07 [Info] [3858380295] v2ray.com/core/app/dispatcher: default route for tcp:<IP_ADDRESS>:0
2019/04/20 21:13:07 [Info] [3858380295] v2ray.com/core/common/mux: dispatching request to tcp:<IP_ADDRESS>:0
2019/04/20 21:13:07 [Info] v2ray.com/core/proxy/freedom: opening connection to tcp:example.com:443
2019/04/20 21:13:07 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:example.com:443
2019/04/20 21:13:09 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:example.com:443
2019/04/20 21:13:09 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:example.com:443
2019/04/20 21:13:10 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:example.com:443
2019/04/20 21:13:12 [Info] v2ray.com/core/transport/internet/websocket: creating connection to tcp:example.com:443
2019/04/20 21:13:13 [Info] failed to handler mux client connection > v2ray.com/core/proxy/freedom: failed to open connection to tcp:example.com:443 > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://example.com/): 521 Origin Down > websocket: bad handshake] > v2ray.com/core/common/retry: all retry attempts failed
2019/04/20 21:13:13 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe
2019/04/20 21:13:14 [Info] [3858380295] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > context canceled
2019/04/20 21:13:14 [Info] [3858380295] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe

I replace my domain with example.com in the above log.

I don't know this is important or not, but when I directly go to my domain on browser,
Cloud flare show me Error 522 page.

521 Origin Down > websocket: bad handshake
I getting same issue long time, and I don't know how was it resolved, Just a wait. I have no answer. I post best minimal config, it's absolutelly correct.

check yours ports on client and server
$ sudo ss -nlp | egrep 'ss-server|ss-local|v2ray'
udp                UNCONN              0                    0                                                                                <IP_ADDRESS>:1080                <IP_ADDRESS>:*       users:(("ss-local",pid=29127,fd=7))
tcp                LISTEN              0                    128                                                                                <IP_ADDRESS>:1080                <IP_ADDRESS>:*       users:(("ss-local",pid=29127,fd=6))
tcp                LISTEN              0                    128                                                                                [::1]:55547                  [::]:*       users:(("v2ray-plugin",pid=29128,fd=4))

i getting 521 if I open my domain from browser

i getting 521 if I open my domain from browser

Thanks, same as me, because there is no web server running on server.

check yours ports on client and server
$ sudo ss -nlp | egrep 'ss-server|ss-local|v2ray'
[sudo] password for user:
udp   UNCONN 0      0                                       <IP_ADDRESS>:443
                         <IP_ADDRESS>:*                                    users:(("ss-server",pid=16495,fd=7))
tcp   LISTEN 0      1024                                  <IP_ADDRESS>:37109
                         <IP_ADDRESS>:*                                    users:(("ss-server",pid=16495,fd=5))
tcp   LISTEN 0      4096                                          *:443
                               *:*                                    users:(("v2ray-plugin",pid=16496,fd=3))

$ sudo ss -nlp | egrep 'ss-server|ss-local|v2ray'
udp                UNCONN              0                    0                                                                                <IP_ADDRESS>:1080                <IP_ADDRESS>:*       users:(("ss-local",pid=29127,fd=7))
tcp                LISTEN              0                    128                                                                                <IP_ADDRESS>:1080                <IP_ADDRESS>:*       users:(("ss-local",pid=29127,fd=6))
tcp                LISTEN              0                    128                                                                                [::1]:55547                  [::]:*       users:(("v2ray-plugin",pid=29128,fd=4))

Server:
server $ sudo ss -nlp | egrep 'ss-server|ss-local|v2ray'
tcp  LISTEN 0       1024     <IP_ADDRESS>:32383              <IP_ADDRESS>:*       users:(("ss-server",pid=16852,fd=5))
tcp  LISTEN 0       4096             *:443                      *:*       users:(("v2ray-plugin_li",pid=16853,fd=3))

Client:
client $ sudo ss -nlp | egrep 'ss-server|ss-local|v2ray'
tcp     LISTEN              0          128     <IP_ADDRESS>:9090                <IP_ADDRESS>:*            users:(("ss-local",pid=9289,fd=6))
tcp     LISTEN              0          128     <IP_ADDRESS>:50483               <IP_ADDRESS>:*            users:(("v2ray-plugin_li",pid=9290,fd=4))

While I'm waiting 24h for cert, Do ss-server and v2ray have to run on the server with HTTPS mode?
Or I can temporarily switch to HTTP mode?

Test if it works without a CDN. Set your VPS ip to "server" in client

do you change TLS version on cloudflare Crypto page? v2ray-plugin still not support TLS v1.3

do you change TLS version on cloudflare Crypto page? v2ray-plugin still not support TLS v1.3

It was Enbaled, I disable it now. but I still get the same handshake error.

Does it work without a CDN?

Test if it works without a CDN. Set your VPS ip to "server" in client

It works  directly with TLS.
It also works over CDN without TLS.
But I need TLS over CDN.

https://community.cloudflare.com/t/cloudflare-serving-wrong-ssl-certificate/1021
https://community.cloudflare.com/t/certificate-ssl-does-not-work/34962

In TLS without CDN mode, I receive connections log on server.
In HTTP with CDN mode, I also receive connections log on server.
But In TLS with CDN mode, I don't receive any connection log on server, why requests from client is not received by server?

I think the problem is in the cloudflare and/or certificate. I had the same problem, but idk how I solve it.

On DNS page of cloudflare , for domain you added, The status icon is orange or is gray?

orange
all by default, I just put minimal TLS version 1.2 and SSL Full (strict) on Crypto page

orange
all by default, I just put minimal TLS version 1.2 and SSL Full (strict) on Crypto page

Thank, Fixed with change to your these configs.
When you go this address: https://www.google.com/search?q=ip
The IP displayed to you, is IP of cloud-flare or is IP of your server?

on this page I see link to wiki page about IP.
On another sites I see my VPS IP. And it's correct, cause Cloudflare CDN only proxying traffic to my VPS.
You should set socks5 <IP_ADDRESS>:1080 to your web browser proxy setting

I did before,
So Same as me, I just think because this is behind CND, The IP should be the IP of Cloudflare.
So every thing works.
Thank you so much for your great help. @whoizit ,
I will remove all posts in this thread, for some considerations.

it turns out the certificate cloudflare is not required. You can use letsencrypt cert, so it even simpler:
sudo certbot certonly --standalone -d $MY_DOMAIN -m $EMAIL --agree-tos --non-interactive

@whoizit
What kind of CDN can v2ray use? Must the CDN support websocket?
Can v2ray use CDN that support HTTP2 or HTTPS ?

@Jay54520 You can read in README.md which types are supported by the v2ray-plugin. Yes, CDN should support websocket or quic proxying. Cloudflare, for example support free websocket proxying from 2015.


Support for Microsoft Share point cloud, OneDrive and Box.net

Hi,
Can you clarify that OAuthSwift works for following cloud providers Microsoft SharePoint, OneDrive and Box.net.
Thanks And Regards,
Pushan

No we cannot work for you... All tested providers are listed... But if provider follow oauth...
Find provider doc and try yourself (you can add provider into demo app to test)
or ask the question in stackoverflow(but I think you will not have response)

thanks


docs: Add README (#5)

Fixes #5

Yoir intention is clear, however it is up to the user IMHO to decide whether a DI framework is used or not

Yeah, that's why I said I may change the API to support easier creation without DI.
Either way don't take my comments the wrong way, I really appreciate that you started with the README. I'll polish it a bit when I have the time.


(Feat) Revert to JEI from EMI

Hi! I'm running a small-ish private modded server, and I'm currently having issues with some JEI-related addons that I'm trying to debug. (I don't actually know whether the bug is in JEI or EMI yet.) For that purpose, it'd be nice to be able to easily revert from EMI to plain JEI.
Some of my EMI addons (specifically EMI Loot, I believe) have to be matched between client and server, so I can't just remove EMI client-side without also telling all my players to remove it as well. It would be nice if EMI could self-disable, ideally from within Minecraft itself, in a way that doesn't take down JEI entirely with it.

EMI is a mod separate from JEI, not an addon. There is no clean way for EMI's compat with JEI to be toggled live and this unfortunately isn't really a use case that the mod was designed for. Sorry.


[Improvement] Support multi-line content in form data

Overview

Insomnia Version:5.0.2
Operating System: Windows 10
Summary:

Posting Multi-line content within url-encoded POST.
Pasting content into value field strips any carriage returns from string.

The app is already setup to handle newlines (AFAIK), there is just no way to input them into the UI yet.
Here is my first idea for supporting multi-line form input but there may be a better way:

Similar to how multi-part form has Text and File types, add an additional type for "blob" text
When type is "blob", show a button that pops a modal dialog to edit multiline text
If someone pastes multiline text into the single-line input, automatically convert it to "blob"

Let me know if you have any better ideas.


Up message limit to 2k.  Added extra logging

What is the context of this PR?
Fixed a bug where a conversation of more than 10 messages gets cut off to only the 10 most recent messages
How to review
Send a message to respondant.  Log into frontstage as respondant, reply 10 times.  You should see 11 messages whereas before this fix you would only see 10.

Temporary fix to allow the system to move forward while we investigate and correctly fix the current pagination.


How can I update the queue id in a release definition?

Using "az pipelines update" you can update build definitions only.

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

ID: 2a2123ca-5408-8f93-6f5c-93fe74684523
Version Independent ID: 7a03fe73-da7f-9b5a-38e7-ef51d85d49fd
Content: az pipelines
Content Source: latest/docs-ref-autogen/ext/azure-devops/pipelines.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

pipelines

What do you mean by pipelines?

I mean this issue is owned by pipelines service team.


Dangerous CTRL+r hotkey

I have a small UX suggestion. In most applications (web browsers, file browser, smth like baobab) CTRL+r reloads the current view. In dua however, it permanently deletes without prompt 🥶 (assuming you have files selected).
Maybe a hotkey like DEL or SHIFT+DEL would be more intuitive.
Anyways thanks for the great utility I use it all the time :)

I've accidentally deleted a directory by pressing ctrl+r in the normal view, it does not seem to be constrained to the selected tab
There should at least be some kind of confirmation if it's enabled in the tree tab

I am sorry to hear that.
Which version are you using? I cannot reproduce this with the latest one.

There should be a configuration to disallow deletion.
For example, for ncdu we can have:
$ cat /etc/ncdu.conf
# Do not allow any modifications to the filesystem.
--disable-delete
--disable-shell

There could be a read-only/browse-only mode, by passing an additional flag maybe. Of course that wouldn't necessarily prevent accidents accept for the most cautious users.


Fix Definition#register_named_scope! for Rails 5

I was getting the following running:
Rails 5.0.0.beta3
scoped_search 3.2.2
Ruby 2.3.0
MySQL 5.6.19
NoMethodError - undefined method `where' for nil:NilClass:
  scoped_search (3.2.2) lib/scoped_search/definition.rb:253:in `block in register_named_scope!'
  activerecord (5.0.0.beta3) lib/active_record/scoping/named.rb:159:in `block (2 levels) in scope'
  activerecord (5.0.0.beta3) lib/active_record/relation.rb:351:in `scoping'
  activerecord (5.0.0.beta3) lib/active_record/scoping/named.rb:159:in `block in scope'
  activerecord (5.0.0.beta3) lib/active_record/relation/delegation.rb:89:in `block in method_missing'
  activerecord (5.0.0.beta3) lib/active_record/relation.rb:351:in `scoping'
  activerecord (5.0.0.beta3) lib/active_record/relation/delegation.rb:89:in `method_missing'
  app/path/to/file.rb:12:in `results'

Changes:

5fb757e Handles Rails 5 explicitly so that it calls @klass.all over @klass.where(nil)
630f125 Changes @klass to definition.klass as @klass was returning nil inside the proc

@wvanbergen what are your thoughts on this? Do you need anything else from me to feel happy with merging?

Would you be able to add a new Gemfile for 5.0 and add it to .travis.yml?  This should ensure the test suite passes and the gem continues to support 5.0.

@domcleal Added Gemfile.activerecord50 which installs 5.0.0.rc1. Had to tweak the travis Ruby versions and exclude Gemfile.activerecord50build jobs from running on Ruby < 2.2.2 (as this is minimum required version for Rails 5).
All jobs other than this one are passing: https://travis-ci.org/wvanbergen/scoped_search/jobs/129107200 although I wouldn't expect activerecord 3.2 and Ruby 2.3.0 to work together. Are you happy to exclude or allow failure on that build job?

All jobs other than this one are passing: https://travis-ci.org/wvanbergen/scoped_search/jobs/129107200 although I wouldn't expect activerecord 3.2 and Ruby 2.3.0 to work together. Are you happy to exclude or allow failure on that build job?

No, I wouldn't either - I'd suggest just excluding it.

Thanks @paulspringett!

@domcleal no problem at all, thanks for your help :)

@wvanbergen would you mind cutting a release with this some time?

I'm on vacation, so I won't be able to do this until mid August.
On Monday, 18 July 2016, Dominic Cleal<EMAIL_ADDRESS>wrote:

@wvanbergen https://github.com/wvanbergen would you mind cutting a
release with this some time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wvanbergen/scoped_search/pull/141#issuecomment-233271562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA9_tf03c8d_pNTfnEHE-r2goPXj0MXks5qWzuVgaJpZM4IRC6z
.

No worries, have a good break.

Done


[BUG] Failed to load schemas from the extension: connection reset

It might be a same bug in #53 but his solution did not work for me so I thought open an independent issue is fine.
Describe the bug
Whenever I open a json files under origins datapack, I am told that "unable to load schemas from 'https://raw.githubusercontent.com/SnaveSutit/origins-mod-json-schemas/main/schemas/apoli/power_types/fire_projectile.json : read ECONNRESET'" (the original text is Chinese). And the extension does not work either.
Even with a VPN in TUN mode the error remains. However, I can directly visit github.com without VPN.
The error does not happen before 2.2.0 and happen without an error info before 3.1.0.
To Reproduce
As explained above. I dont know whether being in China mainland is a necessary condition.
Expected behavior
I hope the extension works at least with a VPN requirement.

With my further testing, I find that in version 3.1.0, the extension could mark and tell the mistakes but failed to show text completion.

This is a partial duplicate of #53
China is notorious for it's strict internet policies, so that's what I'm assuming is causing this issue.

I see you mentioned that you tried the solution suggested in #53, and it didn't work.
You downloaded the schemas repo, and linked all of the schemas locally in your user settings?

Not yet since I'm still struggling to understand how to linked schemas locally. "His solution" refers to "using VPN in TUN mode".
I'm quite curious about why this error do not happen before 2.2.0. Anyway, I would try your solution. Thanks a lot.

At the bottom of the other issue I suggested the same solution I suggested above: https://github.com/SnaveSutit/origins-mod-vscode-extension/issues/53#issuecomment-2336373203

The reason it happens in newer versions is because I split the VSCode plugin up from the JSON Schemas, they're now stored remotely and have to be fetched from Github. So I don't have to update the VSCode plugin every time I make a small change to the Schemas, they'll just update automatically, even without restarting VSCode.


Cot 809 adding extra sscs roles

Jira link (if applicable)
COT-809
Change description
Added new roles as defined in the confluence page.  New roles added to parameterized tests and two tests parameterized to deal with extra roles.
Checklist

[x] commit messages are meaningful and follow good commit message guidelines
[x] Does this PR introduce a breaking change - no breaking change.

This has been closed, no longer required due to a further refactoring been done and implemented under #1813


chore: added initial version of PPOTrainer support

Description
I added support for the PPOTrainer.
from transformers import pipeline
from trl import PPOConfig

task_mapping = TrainingTask.for_proximal_policy_optimization(text=dataset.field_by_name("text"))
trainer = ArgillaTrainer(
    dataset=dataset,
    task=task_mapping,
    framework="trl",
    fetch_records=False
)
# assuming we have an arbitrarily trained textcat model
reward_model = pipeline("sentiment-analysis", model="lvwerra/distilbert-imdb")
trainer.update_config(reward_model=sentiment_pipe) # this is always required but if not done it provides a warning
trainer.train(output_dir="my_awesone_model")

Closes #3522
Type of change

[X] New feature (non-breaking change which adds functionality)
[X] Improvement (change adding some improvement to an existing functionality)

How Has This Been Tested

[ ] tests/integration/client/feedback/training/test_trl.py

Checklist

[ ] I added relevant documentation
[X] I followed the style guidelines of this project
[X] I did a self-review of my code
[X] I made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Test failures also exist in feat/integration_trl & fixed in develop. I'll propagate the fix down all branches, i.e. merge develop into feat/integration_trl and then update this branch as well.


Most functions could be const

See title. I'm not an expert on what subset of const functions are stabilized yet, but I think a lot could already be const fn (think AsciiChar::as_byte).

Many methods can, but it's not yet possible to convert from other types, and without those, making other methods const doesn't seem all that useful.
Creating AsciiChar from u8 or char requires transmute or match (but with 129 arms!).
Going from &str or &[u8] to &AsciiStr or back requires "dereferencing" raw pointers (or transmute).
Vec::new() surprisingly isn't const yet either, so AsciiString::new() cannot be const either.
While writing this i remembered reading about an union transmute trick, but it turns out that only works for constants, not const fns. ugh.
For many of the functions that can be made const, it isn't as simple as slapping const on them either.
For example AsciiChar::is_blank() has to be changed from self == AsciiChar::Space || self == AsciiChar::Tab to (self as u8 == b' ') | (self as u8 == b'\t').
For AsciiChar::as_byte() you can instead write  as u8, and then you can use u8's .is_ascii_xxx() methods instead of AsciiChars.
Are there other methods that would still be useful to you as const fn even without converting from primitive types?
Thank you for opening an issue anyway, I had considered opening one as a note and to track what is possible.

Most AsciiChar methods has been made const fn with version 1.0.0.
I figured out that a const fn AsciiChar::new() was possible by indexing into a constant array.
For AsciiStr and AsciiString everything above still holds, so I'm leaving this issue open until they can be created in const contexts.

[x] AsciiChar::new()
[ ] AsciiStr::new()
[ ] AsciiString::new()


htmq: minor adjustmenst to deployment

#66  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dyc3 and the rest of your teammates on  Graphite


Add theme configuration options to the documentation

Description
As a developer it would be really nice to have the theme configuration in the component documentation. Maybe it used to work, but the tab for configuration theme is now empty.
Problem Statement/Justification
Add speed to implementation and ease of adopting the library.
Proposed Solution or API
Make the theme tab in doc show configuration options
Alternatives
No response
Additional Information
No response

@torleifhalseth we're working on this at the moment as part of Hacktoberfest. Thanks for raising this issue. If you're interested to contribute, have a go at it!


[SKIP CI] Turning off tar future timestamp issue

fixes #1556
Note: This is follow-up change to #1554 (currently in review); so sending out this one to get proper review.
Testing done: locally (make build-all)
=== Cleaning work files, images and plugin(s)...
rm -rf /tmp/plugin
rm -f docker-volume-vsphere
docker plugin rm shuklanirdesh/docker-volume-vsphere:0.16-dev -f
shuklanirdesh/docker-volume-vsphere:0.16-dev
docker rm -vf tempContainer
tempContainer
docker rmi shuklanirdesh/docker-volume-vsphere:rootfs
Untagged: shuklanirdesh/docker-volume-vsphere:rootfs
Deleted: sha256:21565646afd6d1ae650faa6fcb1a00cb18c910b2541a7d31375ae29413a964bd
Deleted: sha256:534c034383c0695ed5ffc4e931faef9990e0f606bcb20abdeb774ccc8faeef9d
Deleted: sha256:338a299fcdfc17ce0702357b5807071fad799191cc6d975b866bc18bc13d1bf5
== building Docker image, unpacking to ./rootfs and creating plugin...
cp ../build/docker-volume-vsphere .
docker build -q -t shuklanirdesh/docker-volume-vsphere:rootfs .
sha256:c7b88ac8bad307adcac14b883afadf99ae07387aaef49827d14755c1eb4f1a57
docker create --name tempContainer shuklanirdesh/docker-volume-vsphere:rootfs
bd1253e37a1d5845bd95f0f4af120c794fc15425d4de58210f28e55be58fda15
mkdir -p /tmp/plugin/rootfs
docker export  tempContainer  | tar -xm -C /tmp/plugin/rootfs
cp config.json docker-volume-vsphere /tmp/plugin
-- Creating  plugin shuklanirdesh/docker-volume-vsphere:0.16-dev ...
docker plugin create shuklanirdesh/docker-volume-vsphere:0.16-dev /tmp/plugin
shuklanirdesh/docker-volume-vsphere:0.16-dev
Pushing shuklanirdesh/docker-volume-vsphere:0.16-dev to dockerhub.io...
 Nothing else in this PR, thus approving

Thanks @msterin !  I have kept only cleanup routine changes and reverted changes that I proposed for plugin/Makefile. I will keep the #1556 for further investigation.


Modified allowed http package versions to allow for compatibility with tonutils package

Solves https://github.com/romanovichim/dartTonconnect/issues/7


My Seedlot page cypress test

Follow the test plan created in #920
Create a my seedlot page cypress test.
Be careful of what api calls to mock as some are already mocked.
Acceptance Criteria

[ ] all functionalities are tested on my seedlots page
[ ] mocked data should be stored in /fixtures

rolled over sprint 27

After discussion, it is decided that we should test with real data, this will make testing easier down the road, e.g. registration form and review. We will come back to this

Removed from sprint 28

Added more tests for sorting all the columns.


How to automatically deploy

Is there any easy way to automatically deploy (e.g. via script or IAC)?

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

ID: d9e42d58-9f16-ca43-6f93-3458a454fa27
Version Independent ID: f43a52ad-e5a5-f346-130a-03964553b650
Content: How to deploy an Azure Storage Mover agent.
Content Source: articles/storage-mover/agent-deploy.md
Service: azure-storage-mover
GitHub Login: @stevenmatthew
Microsoft Alias: shaas

@dombat
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


color doesn't work

Hey, any idea why the color doesn't work?

Same problem here. Using macOS Sierra on MacBook Pro Late 2015. Any suggestions how to solve this issue?

Same! 😔

Same here. Would love to know how to fix it, thanks!

I just tested it again. It works for me. I remove it completely and then installed it.
Did you follow the instructions? https://github.com/benmarten/Monokai_Fish_OSX#installation
What macOS, Terminal and Fish versions are you using?
Mine are 10.13.1, 2.8(400), 2.6.0.

Hi Ben, thanks for the reply. The colors work when I'm using vim, but the bash commands do not have color like the image you showed there. Thanks.

Colors are working for me. Don't forget fish set_colors.fish
OSX 10.11.6 (15G18013)
Terminal Version 2.6.1 (361.1)
fish, version 2.7.0

@ysze this does not currently work in bash, only fish.


ENV["JULIA_STACKTRACE_MINIMAL"] = true doesn't apply for non-interactive errors

Love this project, it'll save me a lot of scrolling. I'm noticing that the minimal display doesn't work on non-interactive cases:
File: a.jl
ENV["JULIA_STACKTRACE_MINIMAL"] = true
using AbbreviatedStackTraces
sum([])

$ julia a.jl
ERROR: LoadError: MethodError: no method matching zero(::Type{Any})
Closest candidates are:
  zero(::Type{Union{Missing, T}}) where T at missing.jl:105
  zero(::Union{Type{P}, P}) where P<:Dates.Period at /usr/share/julia/stdlib/v1.8/Dates/src/periods.jl:53
  zero(::LinearAlgebra.Diagonal) at /usr/share/julia/stdlib/v1.8/LinearAlgebra/src/special.jl:381
  ...
Stacktrace:
  [1-16] ⋮ internal @ Base, Unknown
    [17] sum(a::Vector{Any})
       @ Base ./reducedim.jl:994
    [18] top-level scope
       @ ~/a.jl:5
Use `err` to retrieve the full stack trace.

Glad you like it!
The default intention is that non-interactive cases shouldn't abbreviate, because the Julia maintainers were concerned about losing debug info from, e.g., cluster runs. So, I suspect there's some conflict there that I should fix.
But, you may be able to make it work as you intend it by setting ENV["JULIA_STACKTRACE_ABBREVIATED"] = true, which is what is meant to allow abbreviation during non-interactive use.

I haven't been able to reproduce what you specifically see on Julia 1.8.5, but I have found that with ENV["JULIA_STACKTRACE_ABBREVIATED"] = true, no stack trace is output at all.
Can you tell me any more? Like Julia version, OS?

Ah, got it. You must already be setting that, it just isn't applying the minimal style to the visible frames. And figured out the issue, fix is coming.

Thank you!!! And yes, I forgot I threw the abbreviated stack frames in my startup.jl


load: drafts

[x] draft record
[ ] draft files
[ ] analyse what else is missing

Closing this issue, there are others for specific parts https://github.com/inveniosoftware/invenio-rdm-migrator/issues/87 and https://github.com/zenodo/zenodo-rdm/issues/311


[flash_ctrl,dv] overwrite overread test

Signed-off-by: Jaedon Kim<EMAIL_ADDRESS>

Also in general - it would be great to have some comments/description of the PR. So when it is merged and others referring to this PR, they can understand the purpose of this PR ;)

Also in general - it would be great to have some comments/description of the PR. So when it is merged and others referring to this PR, they can understand the purpose of this PR ;)

Got it. Let me put more comments on top.


Home/Away

Have you thought about adding the ability to set Home/Away ?
Then you could do away with the horrible slow Heatmiser app
PS Another small issue, the "Documentation" link in the integration is wrong https://www.home-assistant.io/integrations/heatmiser_netmonitor

I liked the idea of setting the holidays, so it has been added now. This repo is obsolete now, and the new code is at https://github.com/mmillmor/heatmiser_netmonitor, which you can install using HACS


Improve experience of download-spec-tests

Problem description
As the size of spec test files increases in every release (from ~670MB for v1.4.0 to ~780MB for v1.5.0-alpha.3), it takes 20+ minutes for me to download all files.
Currently downloading spec test provides minimal log output on the download progress. Only at the beginning of download, and when the download is finished, which could be 10-20 minutes apart. It would be great to provide more info (eg. a progress bar, download time remaining) during download such that users/devs know what to expect. Here is a sample log of the current behaviour:
NC@Chainsafe beacon-node % yarn download-spec-tests
yarn run v1.22.22
$ node --loader=ts-node/esm test/spec/downloadTests.ts
outputDir = /Users/NC/Documents/lodestar/packages/beacon-node/spec-tests
Downloading new version v1.4.0-beta.6
Cleaning existing version v1.5.0-alpha.3 at /Users/NC/Documents/lodestar/packages/beacon-node/spec-tests
outputDir = /Users/NC/Documents/lodestar/packages/beacon-node/spec-tests-bls
version v0.1.1 already downloaded
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/general.tar.gz - 15889101 bytes
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/mainnet.tar.gz - 421709376 bytes
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz - 239776755 bytes
Downloaded  https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/general.tar.gz
Download attempt 2 for https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/mainnet.tar.gz failed: aborted
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/mainnet.tar.gz - 421709376 bytes
Downloaded  https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/mainnet.tar.gz
Download attempt 2 for https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz failed: aborted
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz - 239776755 bytes
Download attempt 3 for https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz failed: aborted
Downloading https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz - 239776755 bytes
Downloaded https://github.com/ethereum/consensus-spec-tests/releases/download/v1.4.0-beta.6/minimal.tar.gz - 239776755 bytes

Moreover, partially downloaded files are deleted when reattempting to download spec test. This is an issue when having slow and unstable internet, a user may already have downloaded general and minimal spec tests, but internet drops when downloading mainnet. When he runs yarn download-spec-tests again, general and minimal are deleted and everything is being re-downloaded.
Solution description

Provide more helpful log output on the progress of spec test download
Only download missing spec tests

Additional context
No response

definitely agree, I've run into the same problem

Hey! I'm planning to work on this issue and would like to be assigned to it. I propose using the cli-progress package to display download progress. Do you think this is the right approach? Please assign me this issue so I can get started!

Yea I think that's a good idea! Thanks for picking this up


Multiple multipart data with same name in multipart

@pylover Currently, multipart is a dictionary and does not support having several multipart data with the same name.
To support this, I think we have 2 options:

Use list as a value of a multipart dict:

Example:
multipart={'inputFiles':[filelike1, filelike2]}

Change type of multipart from dict to list of tuples:

Example:
multipart=[('inputFiles', filelike1), ('inputFiles', filelike2)]

I'm wondering why you need such kind of HTTPForm? I guess you can handle it much better than this.


changelog

I think it would be good have a change log somewhere.

Check https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md .


Building and Deploying the LiveScan3D-Hololens (Windows 10 and Unity)

@MarekKowalski I have tried to open the LiveScan3D-Hololens with different versions of Unity.
Unity 5.6.1f1 crashes when I open the the project. Same result with Unity 5.6.0 too. I have tried auto-port (offered by Unity in latest version unity 2019.x and 2018.x) and there are complilation issues. In summary, I have livescan3D working properly but struggling to get LiveScan3D-Hololens to work with windows 10 and different versions of Unity.
Can you please say which windows version you used originally or the combined version of windows and unity (5.6.0 or Unity 5.6.1f1,...) that worked for you? I tried in Windows 10 Enterprise 64-bit (10.0, Build 17763).
Thank you and cheers,
Aravinda
P.S: A shout out to @marc-hanheide (my mentor) since he wished to join the discussion.

Hmm, that's a weird one. There is no error from Unity, right? Does it crash immediatelly when you open the directory? Have you tried removing some of the files and then opening? What compilation errors do you get?
I'm not sure which Unity version Iw as using for this in the past.
Marek

Looks like someone got the project to open in 5.6.0f3 recently: https://github.com/MarekKowalski/LiveScan3D-Hololens/issues/22

Thanks @MarekKowalski I have reached out to the issue opener in #22

Hi @MarekKowalski
I am able to successfully deploy the app in Windows 10. I am giving the details of the version I used for everyone's reference.
Unity - 2018.4.14f1
Visual Studio - Microsoft Visual Studio Community 2019 Version 16.4.2
Cheers,
Aravinda
P.S: I am closing this issue since I was able to build and deploy in Windows 10

Hi @MarekKowalski
I am able to successfully deploy the app in Windows 10. I am giving the details of the version I used for everyone's reference.
Unity - 2018.4.14f1
Visual Studio - Microsoft Visual Studio Community 2019 Version 16.4.2
Cheers,
Aravinda
P.S: I am closing this issue since I was able to build and deploy in Windows 10


[Netty 5] Asynchronous File I/O

Depending upon the OS implementation the standard system calls for FDs may result in blocking when those FDs are backed by on disk files (even if the FD is in non-blocking mode). Some OSes offer an asynchronous file API to avoid these issues and we should investigate using this in our native transports.
Datastax has async file code in a Netty fork and is eager to contribute it back to Netty core (if it makes sense to have it in netty).

jlink / jmod / modularized jar would be suitable for these os-specific requirements
including iocp(win), epoll(linux) and kqueue(mac)
Maybe its time to create a true netty-native project

Just thinking loud: It would be great to allow injecting specialized I/O scheduler policies (a-la https://www.scylladb.com/2018/04/19/scylla-i-o-scheduler-3/) accessible on user-level with a mechanism similar to what Netty already deliver with the writeabilityChange event/isWriteable query, to avoid I/O submissions to block or allocate native space on kernel-side, depending on the filesystem used...

a few years ago, I tried to contribute this codebase into netty, at the time it did not make much sense since there was only a single place where the native bits could land on:
https://github.com/apache/activemq-artemis-native
perhaps we could take a fresh look into what datastax has, and merge the concepts, and perhaps do a new thing using netty schedulers to perform the writes


use protobufjs.loadSync to ensure schema load timing.

I think this would address #35,  @smarigowda, do you have a test environment you can verify this patch with?

Okay - I've just tested it. Works for me.

@perezd Do we want to replace __dirname and fix #37 too?

I'm not really sure what else it should be, any suggested alternatives?

Also honestly, I'm not convinced __dirname is an anti-pattern truly in commonjs, so let's merge this and let discussion continue on #37 if alternatives can/should be explored.

Sounds good to me

I think this would address #35, @smarigowda, do you have a test environment you can verify this patch with?

I tested this on my local setup and it is working. I am able to see the event in Riemann log. Thank you.


Random Music Sheet gets downloaded with Individual Parts

I thought it was weird for a second when a song I wanted to play had Violin and Violincellos for the instruments when the Individual Parts are processed, but it turns out every song is like that. At least the ones I tried.
https://musescore.com/user/18022666/scores/6230718
https://musescore.com/user/18022666/scores/6161945
Neither of these gave me the right music sheet for me to use, and instead just gave me a random sheet from god knows where.

(Sheet on Musescore site)

(Sheet on the Musescore program)

So wait, it's working fine for you? It's stuck on processing for more than an hour for me

So wait, it's working fine for you? It's stuck on processing for more than an hour for me
If by fine you mean not being able to use the sheet I got, then yeah. Technically it's "Fine".

Is Musescore screwing with the Music Sheets now?

So wait, it's working fine for you? It's stuck on processing for more than an hour for me

If by fine you mean not being able to use the sheet I got, then yeah. Technically it's "Fine".
Is Musescore screwing with the Music Sheets now?

Idk man, I'm just trying to download a pdf or midi from the website, I click on " Individual Parts " But it's stuck on processing in a new tab.

PDF or MIDI should work now,
and the Individual Parts are fixed.


A typo in method name?

Hello, when I read the source code for version 0.3.12, I found a typo in class HTMLParser.
The method name is any_css_matchse(). Is it supposed to be any_css_matches()? Or is this by design?

It's a typo


Hotfix rounding issues

Fix #582: improve fix in #627 by changing the rounding method so that it uses the WbPrecision::doubleToString rounded value.
Using the string value to round reduces differences when saving the value to file and make it more robust to the intrinsic floating noise.
Note that for almost all the values the two rounding methods are equivalent.
This is the same principle it was used in #627 where the value was extracted from the spin box text, but now it has a higher precision that fixes the reset to default issue.

:+1:

:eyes:


Is ua-parser/uap-php really optional dependency?

Package ua-parser/uap-php is in suggest section of composer.json, but it's in require instead of require-dev. Is this dependency optional or required?

This was changed to an actual dependency to solve https://github.com/nelmio/NelmioSecurityBundle/issues/132


[Bug]: ReturnOutputData.init() got an unexpected keyword argument 'originalData'

What happened?
Hello, I am going to use Home Assistant to integrate apsystem ez1, but the code reports an error. I checked the local interface return contains an extra parameter: "originalData". In your code, "init" failed.

The python error
2024-10-08 14:31:44.497 ERROR (MainThread) [homeassistant.components.apsystems] Unexpected error fetching APSystems Data data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/apsystems/coordinator.py", line 46, in _async_update_data
    output_data = await self.api.get_output_data()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/APsystemsEZ1/__init__.py", line 189, in get_output_data
    return ReturnOutputData(**response["data"]) if response else None
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ReturnOutputData.__init__() got an unexpected keyword argument 'originalData'

Your python version
python3
Your OS inlcuding your version
Home ASSISTANT OS 13.1 (RPI 5)

When I write the constructor manually, everything works fine. Can I submit a PR?

That's not how it works, we'll have to investigate why your inverter returns that data, as other don't. Which model and firmware version are you using specifically?

Thank you for your prompt reply, here is the photo of my inverter information:

Very interesting! I'd appreciate a PR, but you have to make sure that the originalData is optional as my inverter doesn't return that. Just get started with the PR and feel free to ask for help there!

Thank you, I have submitted a PR.


Migrate to null safety , please

I have added null safety support in plugin. Please update plugin and check


Unhandled exception probably during Get-ExchangeServerCertificates call

The following issue was reported by a user of the script:
Errors that occurred that wasn't handled
new-object : Exception calling ".ctor" with "1" argument(s): "The object identifier does not represent a valid object.
(Exception from HRESULT: 0x800710D8)"
At line:1 char:3
+ ,(new-object Microsoft.Powershell.Commands.DnsNameProperty -argumentl ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

new-object : Exception calling ".ctor" with "1" argument(s): "The object identifier does not represent a valid object.
(Exception from HRESULT: 0x800710D8)"
At line:1 char:3
+ ,(new-object Microsoft.Powershell.Commands.DnsNameProperty -argumentl ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

It might be related to the logic of how we fallback in case of a non-existing FriendlyName.

This is a known constructor issue. We run into this issue in cases where the returned certificate object has no DnsNameList value set (for example the Azure TenantEncryptionCert don't have https://social.technet.microsoft.com/wiki/contents/articles/52938.azure-vm-s-tenantencryptioncert-added.aspx).
The only way to handle this behavior is to count the errors before and after running through the logic and then exclude any newly added error by calling Invoke-CatchActions.


Fixed issue #1516 | Easy Issue (Java)

Pull Request Type
What kind of change does this PR introduce?

Solved an issue/task

What is the current behavior?

Issue Number: https://github.com/fork-commit-merge/fork-commit-merge/issues/1516
What is the new behavior?

Java application that prompts the user for their name and then prints a greeting message.

done

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


feat(front): Protected areas new workflow[MARXAN-1241]

Protected areas new workflow + fixes previous workflow
Overview
Feature relevant tickets
MARXAN-1241

So we have some problems with Protected Areas:
API
1 - To invalidate query and be able to update the protected areas after uploading a new custom one, we would need a new job “onUploadCustomProtectedArea” to invalidate when it succeed.
2 - We should need a PATCH instead a POST to be able to send only the threshold and not the areas + threshold. (or an other separately async job).
FRONT
1 - From some reason once the protected areas process is finish, the flow stands still on threshold subtab although saved subtab is planing-unit-preview


add Member#isPending

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
this PR adds Member#isPending and GuildMemberUpdatePendingEvent. i'm not really sure about the event name as it's a pretty much one-way event but.. yeah

Does the Discord API also allow for checking if a Guild has rule screening enabled and for fetching/updating said rules?
Cuz that would fit into this PR as well

Yes, it's a guild feature: MEMBER_VERIFICATION_GATE_ENABLED

My main concern is that it is not documented if there's an event when this gets changed
There's a pull request to document this, but Discord doesn't make breaking changes regardless of documentation status.

My main concern is that it is not documented if there's an event when this gets changed

There's a pull request to document this, but Discord doesn't make breaking changes regardless of documentation status.

I see https://github.com/discord/discord-api-docs/pull/2396#issuecomment-749360966

i thought about adding membership screening details too, but as those are unfinished, and more types are going to be added in the future, i think it will be better to wait until it's completely finished

Regarding latest commit: is PUBLIC gone now?

Regarding latest commit: is PUBLIC gone now?

yes, at least it's gone from the official docs

Regarding latest commit: is PUBLIC gone now?

yes, at least it's gone from the official docs

And is there a replacement? cuz public basically meant discoverable/community

Regarding latest commit: is PUBLIC gone now?

yes, at least it's gone from the official docs

And is there a replacement? cuz public basically meant discoverable/community

yep, that's literally DISCOVERABLE feature

Looking through the diffs of doc state of this branch and the discord docs, there are a few differences tho:
JDA docs are missing:

COMMUNITY
FEATURABLE

JDA Docs have extra (apart from the 2 new ones):

MORE_EMOJI

I wouldn't touch the MORE_EMOJI tho, since i am not sure about whether it is still used for some special servers (and iirc it was always kinda hidden).
The other 2 might be wise to add here, as this MR already touches that part of the docs anyways

Looking through the diffs of doc state of this branch and the discord docs, there are a few differences tho:
JDA docs are missing:
* COMMUNITY

* FEATURABLE

JDA Docs have extra (apart from the 2 new ones):
* MORE_EMOJI

I wouldn't touch the MORE_EMOJI tho, since i am not sure about whether it is still used for some special servers (and iirc it was always kinda hidden).
The other 2 might be wise to add here, as this MR already touches that part of the docs anyways

i've added community and featurable features in my community updates/rules channel pr. more_emoji is more about your decision as i don't see any issue with removing it

I searched about 4k guilds and did not find the feature https://canary.discord.com/channels/125227483518861312/169484473333710848/790942477443923968
I suggest that if it was to be removed it should be its own PR

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

i just forgot to add it

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

i just forgot to add it

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

~i just forgot to add it~ actually no, all methods have been replaced by ClassWalker

Still needs a on method to my knowledge... Not sure tho.

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

~i just forgot to add it~ actually no, all methods have been replaced by ClassWalker

Still needs a on method to my knowledge... Not sure tho.

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

~i just forgot to add it~ actually no, all methods have been replaced by ClassWalker

Still needs a on method to my knowledge... Not sure tho.

Yes it does. the classwalker still needs reference methods to call. if the method is not defined, it won't be called

Something I noticed, but why isn't there a on method for the event?
Does Discord simply not send one when this happens or what is the main reason behind this not being present? How are bots supposed to listen for this even if there isn't a on for the ListenerAdabter?

~i just forgot to add it~ actually no, all methods have been replaced by ClassWalker

Still needs a on method to my knowledge... Not sure tho.

Yes it does. the classwalker still needs reference methods to call. if the method is not defined, it won't be called

Member update events only work when the member is cached.

Member update events only work when the member is cached.

Member update events only work when the member is cached.

That's the odd thing here. Since I only use the bot on one Guild do I have the Member caching set to all.

Member update events only work when the member is cached.

That's the odd thing here. Since I only use the bot on one Guild do I have the Member caching set to all.

@MinnDevelopment

Member update events only work when the member is cached.

Why? It's not like GuildMemberRoleRemoveEvent/GuildMemberRoleAddEvent update events where we HAVE to know member's previous data.
In case of pending it doesn't make any sense, it's very important thing that we need the fact that member accepted community rules (current new value) even if it don't cached and we can't get the previous value (which will be false most likely).
It must be fired always IMO. The old pending value could be just nullable if it is not available in cache.

@MinnDevelopment

Member update events only work when the member is cached.

Why? It's not like GuildMemberRoleRemoveEvent/GuildMemberRoleAddEvent update events where we HAVE to know member's previous data.
In case of pending it doesn't make any sense, it's very important thing that we need the fact that member accepted community rules (current new value) even if it don't cached and we can't get the previous value (which will be false most likely).
It must be fired always IMO. The old pending value could be just nullable if it is not available in cache.

@MinnDevelopment

Member update events only work when the member is cached.

Why? It's not like GuildMemberRoleRemoveEvent/GuildMemberRoleAddEvent update events where we HAVE to know member's previous data.
In case of pending it doesn't make any sense, it's very important thing that we need the fact that member accepted community rules (current new value) even if it doesn't cached and we can't get the previous value (which will be false most likely).
It must be always fired to get the current value IMO. The old pending value could be just nullable in case it isn't available in cache.

it's not like the "pending event" is an event by itself. it's a guild member update event and in order to fire the pending event, jda has to compare the previous data against the new data

@MinnDevelopment

Member update events only work when the member is cached.

Why? It's not like GuildMemberRoleRemoveEvent/GuildMemberRoleAddEvent update events where we HAVE to know member's previous data.
In case of pending it doesn't make any sense, it's very important thing that we need the fact that member accepted community rules (current new value) even if it doesn't cached and we can't get the previous value (which will be false most likely).
It must be always fired to get the current value IMO. The old pending value could be just nullable in case it isn't available in cache.

it's not like the "pending event" is an event by itself. it's a guild member update event and in order to fire the pending event, jda has to compare the previous data against the new data

@GoldRenard https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/events/guild/member/GuildMemberUpdateEvent.html
Discord only sends an update with the new data, regardless of what changes. The library cannot figure out what changed without a cache of the previous state. See also https://github.com/discord/discord-api-docs/issues/2137

@GoldRenard https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/events/guild/member/GuildMemberUpdateEvent.html
Discord only sends an update with the new data, regardless of what changes. The library cannot figure out what changed without a cache of the previous state. See also https://github.com/discord/discord-api-docs/issues/2137

it's not like the "pending event" is an event by itself. it's a guild member update event and in order to fire the pending event, jda has to compare the previous pending boolean against the "new" pending boolean. if the previous state "isn't cached", jda cannot assume it's the pending flag being updated

Yeah I figured it out by myself after reading discord docs just before your comment. Huff...

it's not like the "pending event" is an event by itself. it's a guild member update event and in order to fire the pending event, jda has to compare the previous pending boolean against the "new" pending boolean. if the previous state "isn't cached", jda cannot assume it's the pending flag being updated

Yeah I figured it out by myself after reading discord docs just before your comment. Huff...

Something I'm curious to know about is, what exact settings, such as Cache Flags, Chunking filter, etc, are needed for this to work.
As I mentioned before does my bot use the ALL MemberCachePolicy and the ChunkingFilter is also set to ALL, yet the event won't get fired here at all.
I currently think that this could perhaps require the CLIENT_STATUS flag, which is disabled in createDefault, to work? I really see no other reason as to why the even either doesn't get fired or doesn't give back updated values like the new boolean.

Something I'm curious to know about is, what exact settings, such as Cache Flags, Chunking filter, etc, are needed for this to work.
As I mentioned before does my bot use the ALL MemberCachePolicy and the ChunkingFilter is also set to ALL, yet the event won't get fired here at all.
I currently think that this could perhaps require the CLIENT_STATUS flag, which is disabled in createDefault, to work? I really see no other reason as to why the even either doesn't get fired or doesn't give back updated values like the new boolean.

Maybe it makes sense to add a MemberCachePolicy.PENDING to make handling of pending members easier?
Example:
static MemberCachePolicy PENDING = Member::isPending;

In theory, this should allow bots to handle pending without caching all members.

Maybe it makes sense to add a MemberCachePolicy.PENDING to make handling of pending members easier?
Example:
static MemberCachePolicy PENDING = Member::isPending;

In theory, this should allow bots to handle pending without caching all members.

I think I found my issue.
I used the getNewPending wrong. I actually thought true means the member is passing the screen, while it actually is false... Didn't test it yet, but I'm sure that's the problem I had.

I think I found my issue.
I used the getNewPending wrong. I actually thought true means the member is passing the screen, while it actually is false... Didn't test it yet, but I'm sure that's the problem I had.

Since it seems like discord is still trying to figure this out we might just want to mark all these things as @Incubating so we can put this temporary API design into 4.2.1.


Source code available?

It would be nice to have the flutter source code as well and not only the built container.

I am doing some cleanup, but my plan is to post the source code to this repo. Hopefully within next few days.

Commit complete for source code.


After sleeping mode on mac, user can not check old environments.

After sleeping mode on mac, I can check my old environments because button became unclickable and looks like below:

Can't check my environments on Mac. Seems not fixes @amangeldizhusubaliev

Has this been tested on Linux and Windows as well? Or is it simply surfacing here because Mac users are much more prone to close the lid all the time?

@niclash, this issue presents only on mac.

Related: https://bugreports.qt.io/browse/QTBUG-63848

Need to observe.

Did not face with this problem

Has left MacOS in sleep mode.
All of my envrionments are healthy and possible to check:

Fixed in prod


Update English release notes

Hello, I translated latest release notes to English, and updated English website's en/docs/releases.md. For some versions, I have checked main repository version-to-version diffs (example) in order to get more information about what's changed.
Also, I moved release date from h2 title to the separate text, in order to match consistency with Japanese main version.
Please take a look, and let me know if changes are needed~

Thanks!


HierarchyId issue with Ef core 6.x after scaffold -> return all properties with type HierarchyId

Hello Guys,
I have a project net ef core console 6.0;

Ef tools are v. 6.0.0;

I'm trying to scaffold a SQL Server 2019 database for this Poc ;
One of the tables contains a HierarchyId field; (only one);

After the scaffold, all models got all properties of type HierarchyId which looks like a bug to me.

Thanks

@bricelam @roji @smitpatel I am able to reproduce this.

I am so sorry But i still Have this Issue #84 in my Project with .net 6 / EF Core 6
is this Issue is solved or not

Just published version 3.0.1 which includes a fix for this.


Can you please check the input file the state shows 46 = VT

Target of URL should have appropriate data now.


Add additional filter sets to the FilterCatalog

Pat Walters curated the ChEMBL filter sets here: https://github.com/PatWalters/rd_filters
These could be integrated into the RDKit set of filter catalogs.

[ ] BMS
[ ] Dundee
[ ] Glaxo
[ ] Inpharmatica
[ ] LINT
[x] MLSMR (=NIH)
[x] PAINS
[ ] SureChEMBL

I'd be happy to add these.

Are these in yet?

No, should be by next year.

What happened with this filters? are they now a part of RDKIT?

@theabhijitdn not yet.
@bp-kelley : do you want me to do this one?

We should probably add the Novartis set as well.  I’ll add pat’s sets for now.


Fix undefined index when ignore_missing is active

Sending this both here and to FosElasticaBundle. https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/1236

Thanks.
Test suite fails, but seems unrelated as it fails with the same errors in master branch.


Light-weight game loader

It would be nice to have a tiny main class in front of the current Terasology class that can do jar loading and such from actual library jars within Terasology.jar - currently the lib jars are simply unzipped and placed directly into the jar file
It should also bring up a splash screen while then loading the main game (and should probably land at the game menu, not directly into the world)
Jar-with-jar seems a common issue to solve, one easy example to find is http://one-jar.sourceforge.net - any research implementation of a jar-within-jar setup + splash screen would be handy!
This should work for both the plain application (primary goal) and the applet (maybe not the same approach, but at least it shouldn't break anything)

Somewhat related to item #103 - which more or less splits out the splash/loading screen while this item can be for the smart jar loader thing. Quite doable to work on both at once.


runno-run tag fetches relative wasm src from /, and not from the local dir

I have a web page in a sub-folder /debug on the web server, and its debug/index.html has a <runno-wasi src="./my.wasm"> tag and  a file /debug/my.wasm.
[Problem] But runno tries to fetch the file /my.wasm, and not /debug/my.wasm as was expected.
A work-around is to put the full path in the tag, <runno-wasi src="/debug/my.wasm">  , but that is of course undesirable if one wants to move it around later.

I think it's just doing a fetch on the src, so not sure why this isn't working. Might be that fetch doesn't handle this particular behaviour.

If it doesnt happen to you, it may have been my webproxy/caddy rules that rewrite the url in a confusing way, so I'm closing this for now, and look into it on my side.


Format loss when uploaded on github

Here is two screenshots taken when the site is generated localy and when it is live on github

@vbursucianu set baseURL in your _config.yml


doc: Correct the underlying index of zerofiers

Correct the underlying index of zerofiers $Z$
Description
Correct the underlying index of zerofiers $Z$ :

$Z_j^T$ denote the transition constraint zerofiers for $k=1,\dots,n_T$.

to

$Z_k^T$ denote the transition constraint zerofiers for $k=1,\dots,n_T$.

Type of change
Please delete options that are not relevant.

[ ] New feature
[ ] Bug fix
[ ] Optimization

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] This change is an Optimization

[ ] Benchmarks added/run

Hi @diegokingston could you please provide the rationale for rejecting the pull request?


Allow overriding Fluent functions

Original fluent does not limit function overriding

Function overriding allowed
FluentBundle no more final

This is especially significant due to the lack of a built-in DATETIME function.

So, what are you thinking about this request? In the original implementation, there were no limits (https://github.com/projectfluent/fluent.js/blob/main/fluent-bundle/src/bundle.ts#LL75C20-L75C20), and we successfully overwrote built-in functions to support square/cubic units and some messy formats like usd-per-square-meter to support $1000/m².

Hello, do you plan accept this? Or do you have any questions?

So all this is necessary for uniform behavior. To make the backend implementation behave the same as the frontend implementation

Done

@hakastein Thank you, and sorry for the delay. I will try to release a new version soon :)


URQL_DATA

urql version : "^2.0.3"
const isServerSide = typeof window === 'undefined';
const ssrCache = ssrExchange({ isClient: !isServerSide });
const ssr = ssrExchange({
  isClient: !isServerSide,
  initialState: !isServerSide ? window.__URQL_DATA__ : undefined,
});

i get this warning !!
Property '__URQL_DATA__' does not exist on type 'Window & typeof globalThis'

This is just a TypeScript warning. Either you need to declare that this global exists or cast window to any.


MAINT: Restore pip-pre test fullness

The OpenBLAS bug has been fixed I think, so this should work.

:( test failures are real and need some fixing and/or triaging. Hopefully I can get to it next week

Doing this smoked out a few issues with latest builds, I'll work on fixing those. Marking for merge when green but it might be a while :)


⚠ Processors has degraded performance

In 28166e6, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: Processors performance has improved in 528e32b.


add oneway options to speed up gevent async send

ignore response when oneway=true added to dsn.

Closing this as there's no clear reason its beneficial


service reconciliation is not triggered when instances of LB services is stopped/destroyed.

Server version - v0.24.0
Steps to reproduce the problem:
Create LB service with scale 2.
Stop/Destroy one of the instances.
Wait for few minutes.
There is no reconciliation triggered and the service remains in "Degraded" state.

Tested with server version - build from master - Jun/18
On stopping LB instance , service reconciliation of services work. But deleting instance , service reconciliation is still not working. Logged #1288 to track it.


Add a kill switch

An uncaught exception on a terracotta thread should result in connection closure.

This change is causing test failures as  L1ThrowableHandler keeping the MessageTransportListener to be collected (see ConnectionWatcher). Maybe using WeakReference should work.

looks like this change needs more thought.  Let's table it for now.  Thanks for catching

obsolete


Error while using older Cmake version

One of my teammates tried to build the project in an older Cmake version (3.5.1) and got the following error:
 INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "PUBLIC_HEADER" is not allowed.

Apparently, this was a requirement prior to CMake 3.19 update. Link to a related thread on cmake forums talking about the issue. Attaching a screenshot of the error.

gcc is about 10 years old and cmake about 8years out of date. If you can fix it without conditionals then feel free to submit a pull request but otherwise it's just too old.


Fixed collapsing and small screen view

So I downloaded and installed this module but when I added the right side bar I found that a) it wouldn't collapse when I hit the button and b) its javascript detection for width wasn't working correctly. Therefor I forked his repository (or rather helpful robots updated version of his repo) merged all the branches together and fixed the issues above so the plugin functions.
Please note I am using SS 3.4.1 and have the moderno cms theme installed.

@helpfulrobot Thanks for your great contributions
Cheers,
Mooror

Thanks for this!

Happy to help :D


Implement permission checks for Collection UI routes and functionality

Description
Adds permission checks for Collections under the 'WorkflowAdministration' permission.
NO_ACCESS

The collection URLs will return a 404 page
The collection link will not be visible in the sidebar nav

READ_ACCESS

The collection link will be visible in the sidebar nav
The collection table will display the full list of collection
- Without the "Bulk action" dropdown
- Without the table action items
- Without the "Create collection" button
Individual collection pages will display the collection details in a
read only view
- The action menu to edit/clone/delete the collection will not
be visible

READ_WRITE_ACCESS

The full feature set of collections will be available

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)

Current dependencies on/for this PR:

master

PR #3701   👈

This comment was auto-generated by Graphite.


Fix wrong certificate for https://cryptecs.eu

It seems like some misconfiguration happened when addressing issue #5.
The website serves the wrong certificate when trying to access https://cryptecs.eu (without the www subdomain) and I get errors like the following.

Firefox does not trust this site because it uses a certificate that is not valid for cryptecs.eu. The certificate is only valid for the following names: *.github.com, www.github.com, github.io, github.com, *.github.io, githubusercontent.com, *.githubusercontent.com

Hm. That didn't happen when I tested after the reconfiguration. Needs some investigation.

This seems fixed for me now. Do you want to check/investigate more?

Thank you for verifying @iko4. Will close this now.


fix(uscfc): implement new site

Solves #1221

Delete uscfc_vaccine_u and uscfc_u and their example files. Published and unpublished opinions are in the same page for uscfc. On uscfc_vaccine, we only find Unpublished opinions

Adding new item:
    case_dates: "2023-12-06"
    case_names: "Harlow v. Secretary of Health and Human Services"
    download_urls: "https://ecf.cofc.uscourts.gov/cgi-bin/show_public_doc?2020vv0550-76-0"
    precedential_statuses: "Unpublished"
    blocked_statuses: "False"
    date_filed_is_approximate: "False"
    docket_numbers: "20-550V"
    judges: "C. Moran"
    summaries: "PUBLIC DECISION (Originally filed: 11/13/2023) regarding [75] DECISION of Special Master Signed by Special Master Christian J. Moran. (dksc) Service on parties made."
    case_name_shorts: "Harlow"

I think you need to parse out the vaccine stuff separately from the rest of the federal claims opinions.
This case for example is a published decision.

@flooie I addressed your comments, please check again

To get the proper status for vaccine opinions I had to implement extract_from_text, since the site marks them all as "unreported". I found some older ones marked as Unpublished that should be Published; so even when the site marked the status it was sometimes wrong
https://www.courtlistener.com/opinion/4896639/trigueros-v-secretary-of-health-and-human-services/?q=court_id%3Auscfc+"published+decision"&type=o&order_by=score+desc&stat_Unpublished=on
https://www.courtlistener.com/opinion/4753749/eamick-v-secretary-of-health-and-human-services/?q=court_id%3Auscfc+"published+decision"&type=o&order_by=score+desc&stat_Unpublished=on&page=6

About the summary, it has varying amount of information. Once the judges are removed, it reads better.
I also picked up the (originally filed... ) and put it into case["other_dates"], and it improves readibility of the "summary"
About it holding info for uscfc_vaccine,  it tells in very few words what the document is about. I think it would be worth to keep. For example:

PUBLIC DECISION regarding [46] Ruling on Entitlement,, DECISION of Special Master,, Order on Motion for Ruling on the Record
PUBLIC DECISION regarding [20] DECISION Stipulation/Proffer
PUBLIC DECISION regarding [42] Findings of Fact & Conclusions of Law


feat: upgrade rn version to 0.68

Issue #, if available:
Description of changes:
Upgrade RN version and dependencies for wrapper and example project
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@arekkubaczkowski Looks like Android CI is failing with a missing APK error, this PR will also need to be rebased. Will hold off on this upgrade until the next release.


Upgrade your account link is wrong on organizations

it should be a<EMAIL_ADDRESS>Also it should be hidden for users that are not the admin.

Do you mean this link should be a mailto?

Where have you found an upgrade link for non-owners? I can't reproduce.

This was @andrewxhill  or @namessanti. Guys can you provide some more info?

adding @andrewbt to correct me if i'm wrong.
but i think this was for users within the organization. if they reached their quota they still got a link to the upgrade page as a notification, instead of an "email your admin", speaking of which,
https://github.com/CartoDB/cartodb/issues/4465

I see this message at import time, this should be improved but I think it's not what you mean.

I've also seen that clicking your quota is a plan link (although it doesn't work) and should be disabled for org users.

I'll wait for @andrewbt details on this to fix this details as well.

This is the upgrade your account link in #4227 . It goes to http://cartodb.com/account/umap-admin/upgrade, which an Enterprise user should never see because that page talks about the standard/personal plans.
This link should really just be a link to<EMAIL_ADDRESS>or<EMAIL_ADDRESS>, whichever is most appropriate (probably enterprise-support)

I've seen that link is in several places right now. After talking to @saleiva, instead of changing every upgrade link for the owner we'll link to organization owner plan page:

And this page will be redesigned by @josecruz (CartoDB/cartodb-central/issues/715) to support this use case of "I'm the owner of the organization and I want to upgrade something.
I'll continue with this after redesign.

This will be redesigned so closing


Title of "Fuel Up" in tutorial becomes "Adding Fuel"

Describe the bug
Title of "Fuel Up" in tutorial becomes "Adding Fuel"
Steps to reproduce the behavior

Navigate to https://arcade.makecode.com/--skillmap
Start tutorial "Fuel Up"
Observe the title of tutorial

Actual behavior
Title of "Fuel Up" in tutorial becomes "Adding Fuel"
Expect behavior
Title should be same with the name of tutorial.
Screenshot

Additional context
1.OS: Windows11
2.arcade version: 1.13.5
3.Microsoft MakeCode version: 8.6.4

Fixed in next PR