k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait

when I use " ./k8sClusterManagement.py -p /cluster-configuration -a deploy" , some errors in log:
error 1:
k8sPaiLibrary.maintainlib.common : Executing the command on host [192.168.1.*]: sudo ./worker-deployment/hosts-check.sh 192.168.1.*

error 2:
2018-06-01 09:20:26,974 [INFO] - k8sPaiLibrary.maintainlib.kubectl_install : Execute the script to install kubectl on your host!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 51.7M  100 51.7M    0     0  5386k      0  0:00:09  0:00:09 --:--:-- 5095k
2018-06-01 09:20:37,582 [INFO] - k8sPaiLibrary.maintainlib.kubectl_install : Generate the configuation file of kubectl.
Error from server (InternalError): an error on the server ("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\n\n\n\n<title>500 Unable to connect</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n\n\n\n
Unable to connect
\n\n
Tinyproxy was unable to connect to the remote web server.
\n\n
\n\n
Generated by tinyproxy version 1.8.3.
\n\n\n\n") has prevented the request from succeeding (get nodes)
2018-06-01 09:20:38,731 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.

I come from china and some website about google is not accessed，I used the proxy in my machine but error still come，So  anyone have idea about this？ ths

@wm10240
error1： It seems your log is incomplete, and could you show us the complete log?
error2：
Juse as the log saying.
2018-06-01 09:20:38,731 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
There will be a delay before the master node started. So you will have to wait for sometimes. Actually it's not a error, it should be a warning.

Thank you very much, so fast your answer，The following is  log completely（I don't use VPN this time）：
error1 ：
root@dev-55:/pai/pai-management# ./k8sClusterManagement.py -p /cluster-configuration -a deploy
2018-06-02 03:40:52,326 [INFO] - __main__ : Begin option validation!
2018-06-02 03:40:52,326 [INFO] - __main__ : Pass option validation!
2018-06-02 03:40:52,353 [INFO] - __main__ : Begin to initialize PAI.
2018-06-02 03:40:52,365 [WARNING] - k8sPaiLibrary.maintainlib.deploy : Begin to deploy a new cluster to your machine or vm.
2018-06-02 03:40:52,365 [INFO] - k8sPaiLibrary.maintainlib.deploy : Begin to deploy k8s on host <IP_ADDRESS>, the node role is [ master ]
2018-06-02 03:40:52,405 [INFO] - paramiko.transport : Connected (version 2.0, client OpenSSH_7.2p2)
/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV
  self._cipher = factory.new(key, *args, **kwargs)
2018-06-02 03:40:52,682 [INFO] - paramiko.transport : Authentication (publickey) failed.
2018-06-02 03:40:52,696 [INFO] - paramiko.transport : Authentication (password) successful!
mind@2017
2018-06-02 03:40:52,852 [INFO] - paramiko.transport : Connected (version 2.0, client OpenSSH_7.2p2)
2018-06-02 03:40:53,009 [INFO] - paramiko.transport : Authentication (password) successful!
2018-06-02 03:40:53,144 [INFO] - paramiko.transport.sftp : [chan 0] Opened sftp connection (server version 3)
2018-06-02 03:40:53,146 [INFO] - paramiko.transport.sftp : [chan 0] sftp session closed.
2018-06-02 03:40:53,152 [INFO] - paramiko.transport : Connected (version 2.0, client OpenSSH_7.2p2)
2018-06-02 03:40:53,360 [INFO] - paramiko.transport : Authentication (publickey) failed.
2018-06-02 03:40:53,370 [INFO] - paramiko.transport : Authentication (password) successful!
2018-06-02 03:40:53,484 [INFO] - k8sPaiLibrary.maintainlib.common : Executing the command on host [<IP_ADDRESS>]: tar -xvf master-deployment.tar
mind@2017
tar: master-deployment.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
2018-06-02 03:40:53,491 [INFO] - paramiko.transport : Connected (version 2.0, client OpenSSH_7.2p2)
2018-06-02 03:40:53,675 [INFO] - paramiko.transport : Authentication (publickey) failed.
2018-06-02 03:40:53,694 [INFO] - paramiko.transport : Authentication (password) successful!
2018-06-02 03:40:53,800 [INFO] - k8sPaiLibrary.maintainlib.common : Executing the command on host [<IP_ADDRESS>]: sudo ./master-deployment/hosts-check.sh <IP_ADDRESS>
mind@2017
sudo: ./master-deployment/hosts-check.sh: command not found
2018-06-02 03:40:53,814 [INFO] - paramiko.transport : Connected (version 2.0, client OpenSSH_7.2p2)
2018-06-02 03:40:53,994 [INFO] - paramiko.transport : Authentication (publickey) failed.
2018-06-02 03:40:54,017 [INFO] - paramiko.transport : Authentication (password) successful!
2018-06-02 03:40:54,183 [INFO] - k8sPaiLibrary.maintainlib.common : Executing the command on host [<IP_ADDRESS>]: sudo ./master-deployment/docker-ce-install.sh
mind@2017

error2:
2018-06-02 03:41:17,298 [INFO] - k8sPaiLibrary.maintainlib.kubectl_install : Generate the configuation file of kubectl.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:22,673 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:22,836 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:22,928 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:23,037 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:23,103 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host
2018-06-02 03:41:23,185 [ERROR] - k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait.
Unable to connect to the server: dial tcp: lookup IP on <IP_ADDRESS>:53: no such host

Hi,
Some Questions.
1): Which branch do you use to deploy pai to your cluster?
2): How many master nodes in your cluster-configuration? If there are more than one master node in the configuration file, how did you set the load-balance-ip in kubernetes-configuration.yaml.

@wm10240 Please make sure that you have correctly set the username and password for the ssh service on each machine (I noticed that your password was '**********' in your log. Did you replace the actual one with these wildcards before pasting it here?). And please also tell us your: 1) Linux distribution version; and 2) Python version. Thanks!

Hi, thanks to report this. I think this a bug in the script. Because, by default, the script assume the tar package should be in the path /home/${user}, but when the user is root, and the issue will be triggled.
@hwuu We should fix this Bug.

@wm10240 I have fix the issue through this PR. And It will be merged into master in the future. #657
@hwuu Please help me to review it.
Btw
#655 we should be careful about the return value of the ssh function.

Hi @wm10240  the fix has been merged into master branch. I think it could solve the first problem.

@ydye good work，ths


Merge integration

Added the auto-generate feature for cheatsheet

Standardised the CliSyntax: TITLE, ADDRESS, ANSWER

Added filters by tag for FLASHCARD, CHEATSHEET and NOTE specifics

Looks good! :)


Remove the portable-simd unpublished crate

In order to be able to publish the v0.9.0 on crates.io, a crate must have all its dependencies available on crates.io. Unfortunately, the portable-simd crate is not published but is part of the core library, we can try to use this instead.
I am encountering only one final issue with the above-defined library switch. The Mask<i16, 8_usize>::to_bitmask doesn't exist in the core library. I must find a way to reproduce the behavior of mask.to_bitmask()[0] as we only need that.
The internal implementations of the to_bitmask method do not look too complex:

The generic impl.
The x86_64 impl.

For context

https://github.com/rust-lang/portable-simd/issues/204
https://github.com/rust-lang/portable-simd/pull/239

In summary
to_bitmask is not present in std because it requires the generic_const_exprs and std is compiled with no features.
It's a common enough operation that supporting int/byte bitmasks without generic_const_exprs is being actively worked on.
Next steps
We're fortunate in that we use u16x8s. The masks were interested in happen to map perfectly onto a u8.
I think you're suggesting we write a specialized implementation for 8 lane width bitmasks(?). Trouble is: we don't have access to intrinsics::simd_bitmask and would need to reimplement it. I think we'd be better off contributing to the upstream effort.

Demo of changes we'd need to make if merged. (The git dep could be removed in favor of std::simd, the Cargo.toml changes are only to demo that there are no features)
https://github.com/saik0/roaring-rs/pull/8

Hey @saik0,
I have another idea about this issue, why can't we just release this version but we remove the simd feature from the Cargo.toml, this way no one will be able to enable it and see that it doesn't compile. We keep the core::simd dependency to be able to cartes.io.
I will, obviously, need to change the release notes, the parts that talk about performance improvements thanks to your SIMD-related work.
What do you think about that?

The ToBitmask branch has been merged into portable-simd/master and is being merged into rust nightly

https://github.com/rust-lang/portable-simd/pull/239
https://github.com/rust-lang/rust/pull/94452

If there's nothing time sensitive about the release I think we should wait. I can open a PR similar to https://github.com/saik0/roaring-rs/pull/8 but based nightly once it's merged.

Merged. See #217


💝 Thank you for your cool software 🎆

Context
Recently I wanted to make a data analysis chronicle, only with terminal based tools. Then I found termgraph <3
Finally I could implement my idea.... even better than expected, so I wanted to thank you for your great tool and show yo can could be achieved thanks to your software :

Full Katacoda scenario
Dedicated and compact DEV.to post
Youtube demo

Hopefully you'll like it.
Kind Regards;
Adrien

Thanks, glad you're finding a good use of it 👍


Damage on Full Life does not show bonuses for ranged skills

In 3.0, it was changed from Melee Damage on Full Life, to just Damage on Full Life with attack skills.
However, bonuses still only show when using a melee skill.

With what get this aint working for you?

Not that familiar with this website or what get is, but it's on the most recent update, afaik. Version 1.4.59

Do you have the "Are you always on Full Life?" option set in the Configuration tab? It may not appear unless you have Damage on Full Life linked to your main skill.

The "Are you always on Full Life?" option does not show up even if you link it to your main skill. it only works when you link it to a melee skill

I can't manage to reproduce it. The option always appears when the support is linked to the main skill, even when it is a ranged skill; the only thing that can cause it not to appear is if the main skill is disabled (for example, if there's no compatible weapon equipped).

I have still not seen any confirmed cases of that option failing to appear under the required conditions, and it shouldn't be mechanically possible anyway. Regardless, as of the next update all condition options upon which any support gems depend will always be shown, even if enabling them will have no effect; hopefully this change will dispel any remaining confusion regarding such options.


Use SSL_KEY and SSL_CERTIFICATE if present in ENV

If there is a cert already use it.
If not, use the ENV.
If no ENV, use an auto-generated one.

Note that this will likely require storing the key/cert on a volume:

If there is a cert already use it.


Add simple paginations with 10 items per page in projects.tsx

This PR

Adds a simple pagination to the projects page

https://github.com/BuidlGuidl/sandgarden.buidlguidl.com/assets/108868128/b9a2aded-6dd8-445a-a10c-9c7e9300e096
TODO

[ ] reset scrollbar to top on a new page

Closes #3

Thank you @portdeveloper !!
The in-page scrollbar feels a bit weird, doesn't it?  We could try removing it and just smooth-scrolling to the top of recent contributions when changing pages.


Turn off Java Projects panel from sidebar.

For some reason every time I run a java file, the side bar opens, highlighting the java projects panel. I really do not use the panel, since I do not find it uselful.
I also tried to hide the panel , by right clicking on it hiding it. But every time I run a java code, it opens agains, causing my sidebar to toggle on. I do not want this.

Will take a look

@arshapplied Any reason turning off the issue? Is there anything new found on your side?


Can not download pet dataset in lesson1

Hey, when I am executing this command in my Jupyter notebook, the download stucks there, means no dataset is downloading using that...
Lesson1:- command
path = untar_data(URLs.PETS); path

can You guide me what is an issue with this ????

I tried this today using a SageMaker notebook and had no issues downloading it.

when am I run using with colab notebook, it works fine. but when I am run in my PC, using this link that is not downloaded, I have windows10 os in my PC, I am run it with jupyter notebook.

I can not find an original issue but right now I am solving it using manual operations, using wget and tar.
Thanks for ur support.


Zig update

this PR depends on mattgodbolt/compiler-explorer-image#272 and adds support for the newest version of zig, updates the syntax, and adds support for emitting llvm ir from zig.
Closes #1328
on as side note: zig 0.4.0 and trunk seem to be broken but i can't get compiler-explorer to build locally to debug it :/.

Hi!
The PR changes look great! Thanks :)
Regarding the issues you're having with building CE, can you share a bit more into it? It should just be a matter of running make (or make dev for faster iteration times) / npm run dev.
Maybe https://github.com/mattgodbolt/compiler-explorer/pull/1621 is releated?

before #1621 zig was working for me...
"On disk caches: should handle existing data" fails when running make check.
does the make dev or make work locally for you? the Makefile seems to trying to use node to execute a shell script...

@emekoi make and make dev work for me: what OS are you on? If you run node --version what do you get?
What do you get if you run cat .node-bin ?

i'm on windows. node --version gives v10.16.3 and cat .node-bin leads to my node installation.

I'm afraid I can't help much on Windows (I don't have it and we don't "officially" support it). However the node version looks OK and it makes sense that .node-bin points at it.
I can easily imagine that our tests don't pass on Windows: especially those interacting with the filesystem. But make dev should work. When you say "The Makefiles seems to [be] trying to use node to execute a shell script"; can you paste some output that makes you think that? Hopefully it's something quick and easy we can fix! :)

at line 62 in the Makefile, the dev rule calls ./node_modules/.bin/supervisor using node, and on windows
dev: export NODE_ENV=DEV
dev: prereqs install-git-hooks ## Runs the site as a developer; including live reload support and installation of git hooks
	$(NODE) ./node_modules/.bin/supervisor -w app.js,lib,etc/config -e 'js|node|properties' --exec $(NODE) $(NODE_ARGS) -- ./app.js $(EXTRA_ARGS)

and on my system ./node_modules/.bin/supervisor is this shell script:
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "$basedir/node" ]; then
  "$basedir/node"  "$basedir/../supervisor/lib/cli-wrapper.js" "$@"
  ret=$?
else
  node  "$basedir/../supervisor/lib/cli-wrapper.js" "$@"
  ret=$?
fi
exit $ret

that calls the real supervisor script.

Ah! I see :\ This is unfortunate as I use $(NODE) so that supervisor actually runs with the version of $(NODE) we pick, and not whatever random node is on your path. I'll try a workaround though!
Thanks!

e.g. on my system:
~/d/compiler-explorer (master|✔) 35.2s $ cat node_modules/.bin/supervisor
#!/usr/bin/env node
var path = require("path")
  , fs = require("fs")
  , args = process.argv.slice(1)

var arg, base;
do arg = args.shift();
while ( fs.realpathSync(arg) !== __filename
  && !(base = path.basename(arg)).match(/^supervisor$|^supervisor.js$|^node-supervisor$/)
)

require("./supervisor").run(args)

which picks up node from the env. The version you have seems to be a little smarter. I wonder if supervisor or npm have updated. Will see if there's a version that fixes this...else I'll have to do some PATH manipulation.

i don't think there is any issue on your end, rather this seems to be a part of npm.

I've just checked in a change which hopefully fixes your issue. If not, then I have an idea to use npm run instead.

i think i found the reason: npx shell auto-fallback is being activated on my system for some reason which is causing these issues


ROGER-1084 - Support webui urls

Added the ability to specify flags for mesos leader ui url and marathon web ui url.

LGTM


Is there any way to run this with Runpodctl?

Hi, I've tried running this with runpodctl according to this guide (https://blog.runpod.io/runpod-dockerless-cli-innovation/) and I've changed the model to: https://huggingface.co/cagliostrolab/animagine-xl-3.1
But every time I run it I get this error:
ValueError: The deprecation tuple ('no variant default', '0.24.0', "You are trying to load the model files of the variant=fp16, but no such modeling files are available.The default model files: {'unet/diffusion_pytorch_model.safetensors', 'text_encoder/model.safetensors', 'text_encoder_2/model.safetensors', 'vae/diffusion_pytorch_model.safetensors'} will be loaded instead. Make sure to not load from variant=fp16if such variant modeling files are not available. Doing so will lead to an error in v0.24.0 as defaulting to non-variantmodeling files is deprecated.") should be removed since diffusers' version 0.28.1 is >= 0.24.0
I've tried changing diffuser version in requirements.txt and even changing models but everytime I get this error. Any help appreciated!

Seems it was an error with the model


Statusbar and splash screen

Hi!
Well, I got it the status bar transparent following your tips, but when app start in the splash screen, the status bar is always black. =/
Any ideia?

Thanks for opening an issue with me.
I noticed the problem. I'm trying different solutions. But, i don't have a good solution for the moment.If you find the solution, I'm happy to accept a pull request.

I have no solution either :/

@arthurflor Just hide the status bar when splash screen moment.

any solution for this?

Not yet. There is no good solution now. :disappointed:
You can try this method:

@arthurflor Just hide the status bar when splash screen moment.


Added migrations

I've added migrations for the models in password_policies using South (for versions less than Django 1.7) and using Django's migration framework for versions >= 1.7

Merged. Thx!


Add config for zype extractor

Add a configuration for Zype extractor. This one is used by Nebula and possibly by some other platforms, but I'm not aware of any.
A sample JSON for reference, if you want to check: https://pastebin.com/cuxZpa9C
That one is then converted to this nfo: https://pastebin.com/P0iAsiNJ
I'm not sure about the description, as it can get pretty bloated as you can see. While that itself is not a problem, I guess not many clients wouldn't do correct parsing to show it correctly (Jellyfin doesn't unfortunately). In my current setup, I just remove it.

Also, I think that these configurations are not needed, unless I'm overlooking something. As the json output should be always the same (it'd be the job of the extractor to properly fill the data). Unless the extractors are allower to write custom stuff into the json file.

Thanks for contributing!
You are correct that the json output should be similar, the point of the custom extractors is to allow for custom stuff to be added to json files as not some properties may or may not be implemented by certain extractors.
I'm in the process of revisiting this project and changing the flow to work better. Thank you for your interest!


Secure API Key storage

getpass (Python Standard Library) https://docs.python.org/3/library/getpass.html
cryptography https://pypi.org/project/cryptography/
passlib https://passlib.readthedocs.io/en/stable/
as json, i.e. atf.json:

{"key" : "your_api_key","secret":"your_secret_key"}

export as environment variables:

  export BINANCE_API_KEY=<your_api_key>
  export BINANCE_API_SECRET=<your_secret_key>

Going with env variables for now.


Starting Fewer Jupyter Servers for Notebooks

I'm still testing corner cases but wanted to get a PR out to get early feedback in case someone has strong objections to, say, the design pattern here.
Trying to do a best effort to start fewer Jupyter servers when running notebooks. I haven't done any benchmarking here, but this can go in the perf bucket for sure. The first notebook load won't be affected, but the second+ notebook will be able to leverage the Jupyter server that's already running. On my PC, the time between clicking on a notebook in a book until the kernels are finished loading is ~3 seconds (previously we were looking at ~6 seconds on the same machine just to start a Jupyter server -- i.e. not including model loading/rendering/etc.) when a Jupyter server is already running.
Couple of learnings along the way:

If the casing for the drive letter on Windows is different between the %USERPROFILE% and the notebook directory, the server starts just fine, but the session will fail to start and give a generic 404
We were calling shutdownAll() for all sessions when closing a notebook, not just the session that was associated with this notebook

Oh - looks like you need to update https://github.com/microsoft/azuredatastudio/blob/28d453fced38aad4d882455ec56381bd0f2f21c8/extensions/notebook/src/test/model/serverInstance.test.ts#L128 though - it's failing now from what I assume are your changes

@chlafreniere I just realized a potential impact of this change. are we still going to be able to pass environment variables to notebooks?

@kevcunnane for the specific questions that you had, here are the results:

test quick open / close lots of notebooks in 1 folder
As long as one server is running (i.e. within the timeout limit), was not able to get it to fail to find the existing Jupyter server, or incorrectly startup a new one
reopening ADS with lots of notebooks and then tabbing
Had one case where I tabbed very quickly and another server started up. Didn't notice any ill effects by running multiple notebooks and trying various combinations of closing/opening one more at a time
changing the timeout to 10 seconds and then testing reopen of closed notebook to verify what happens when server is shutdown and you then make it start back up. This one in particular, I wouldn't be surprised if there's a subtle bug
Results: a new server started up, as expected
Can we track adding some tests for a few of these scenarios in the future?
#7848.


[WIP] Add travis-ci integration

This PR is not currently ready to be merged. We need to coordinate a few things before it can be properly merged.

I am currently using a GitHub auth token taken from my GitHub account. If possible, I think we should get one from the Aurelia organization account (though I'm not sure if this is possible). I can provide instructions on how to generate the encrypted token as the instructions provided by the JSPM wiki are not correct.
A Travis-CI account for Aurelia needs to be created and I need to get the proper README.md badge code.
I will need to update the gitter integration webhook url to point to the Aurelia/Discuss room.

Here is the URL to view my TravisCI logs for this. It took a good number of runs before I got it working correctly. https://travis-ci.org/AshleyGrant/skeleton-navigation

I'm going to close this for now since it's so old and also incomplete. We need to revisit some of this and see if we can get some automated testing happening on push.

I'll start working on just that sort of thing.


[formrecognizer] rerecord failing tests

These tests started failing in playback after the latest test proxy update.

/azp run python - formrecognizer - ci


[Bug] old connection not closed if ip address changed

Verify steps

[X] I have read the documentation and understand the meaning of all configuration items I have written, avoiding a large number of seemingly useful options or default values.
[ ] I have not reviewed the documentation and resolve this issue.
[ ] I have not searched the Issue Tracker  for the problem I am going to raise.
[X] I have tested with the latest Alpha branch version, and the issue still persists.
[X] I have provided server and client configuration files and processes that can reproduce the issue locally, rather than a desensitized complex client configuration file.
[X] I have provided the simplest configuration that can reproduce the error I reported, rather than relying on remote servers, TUN, graphical client interfaces, or other closed-source software.
[X] I have provided complete configuration files and logs, rather than providing only parts that I believe are useful due to confidence in my own intelligence.

Operating System
Android
System Version
Android 12
Mihomo Version
v1.18.8
Configuration File
tproxy-port: 9898
redir-port: 9797
mode: 'rule'
allow-lan: true
unified-delay: true
bind-address: '*'
log-level: silent
ipv6: false
geodata-mode: true
geox-url:
  geoip<EMAIL_ADDRESS>  geosite<EMAIL_ADDRESS>  mmdb<EMAIL_ADDRESS>tcp-concurrent: true
external-controller: <IP_ADDRESS>:9090
external-ui: ./ui
#external-ui-url: 'https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip'
external-ui-url: 'https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip'
global-client-fingerprint: chrome
hosts:
  'test-server.gov.id': <IP_ADDRESS>
profile:
  store-selected: true
  store-fake-ip: true
dns:
  enable: true
  ipv6: false
  listen: <IP_ADDRESS>:1053
  enhanced-mode: redir-host
  fake-ip-range: <IP_ADDRESS>/16
  use-hosts: true
  use-system-hosts: true
  nameserver:
    - '<IP_ADDRESS>:5591'
sniffer:
  enable: true
  override-destination: true
  sniff:
    QUIC:
      ports: [443]
    TLS:
      ports: [443, 8443]
    HTTP:
      ports: [80, 8080-20000]
      override-destination: true
  skip-domain: []
  force-domain: []
tun:
  enable: false
  device: utun
  stack: system
  dns-hijack:
    - 'any:53'
    - 'tcp://any:53'
  auto-route: false
  auto-detect-interface: false
iptables: {enable: false}
interface-name: ''
find-process-mode: always
proxies: []
proxy-groups:
  - name: DEFAULT
    type: select
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    proxies:
      - SINGAPORE
      - INDONESIA
      - UDP-SERVER
      - DIRECT
    use:
      - FREE
      - PREMIUM
      - JeelsCDN
#      - JeelsSNI
  - name: GAMING
    type: select
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    proxies:
      - SINGAPORE
      - INDONESIA
      - UDP-SERVER
      - DIRECT
    use:
      - FREE
      - PREMIUM
#      - JeelsSNI
  - name: SINGAPORE
    type: load-balance
    strategy: consistent-hashing
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    filter: '🇸🇬'
    exclude-filter: 'FoolVPN|JagoanSSH'
    use:
      - FREE
      - PREMIUM
      - JeelsCDN
#      - JeelsSNI
  - name: INDONESIA
    type: load-balance
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    filter: '🇮🇩'
#    exclude-filter: 'FoolVPN'
    use:
      - FREE
      - PREMIUM
      - JeelsCDN
#      - JeelsSNI
  - name: UDP-SERVER
    type: load-balance
    strategy: consistent-hashing
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    filter: '🇸🇬'
    exclude-filter: 'FoolVPN'
    use:
      - FREE
      - PREMIUM
  - name: DNS
    type: load-balance
    strategy: consistent-hashing
    url: 'https://www.gstatic.com/generate_204'
    interval: 200
    tolerance: 100
    lazy: true
    exclude-filter: 'FoolVPN'
    use:
      - FREE
      - PREMIUM
  - name: HOTSPOT
    type: select
    proxies:
      - REJECT
      - PASS
proxy-providers:
  PREMIUM:
    type: file
    interval: 21600
    path: ./provider/proxy/Premium.CDN
    health-check:
      enable: true
      interval: 300
      lazy: true
      url: 'https://www.gstatic.com/generate_204'
  FREE:
    type: file
    interval: 21600
    path: ./provider/proxy/Free.CDN
    health-check:
      enable: true
      interval: 300
      lazy: true
      url: 'https://www.gstatic.com/generate_204'
rule-providers:
  GAME_LOGIN:
    type: file
    behavior: classical
    interval: 86400
    path: ./provider/rule/rule_game_login.yml
  GAME_DATA:
    type: file
    behavior: classical
    interval: 86400
    path: ./provider/rule/rule_game_data.yml
  GAME_PLAY:
    type: file
    behavior: classical
    interval: 86400
    path: ./provider/rule/rule_game_play.yml
  SHORTLINK:
    type: file
    behavior: classical
    interval: 86400
    path: ./provider/rule/rule_shortlink.yml
  HOTSPOT:
    type: file
    behavior: classical
    interval: 86400
    path: ./provider/rule/rule_hotspot.yml
rules:
  # Default #
  - NETWORK,UDP,UDP-SERVER
  - MATCH,DEFAULT

Description
After the IP Address changes, old connection not close automatically

Reproduction Steps
Just run normally
Logs
No response

[X] I have provided the simplest configuration that can reproduce the error I reported

Furthermore, tun testing should be used, and the bug might be caused by other aspects of tproxy


Project Funding: H2020 Topics ERC and FETOPEN do not appear

In preset Project Funding some Topics are missing:

FETOPEN-01-2016-2017: FET-Open research and innovation actions
FETOPEN-04-2016-2017: FET Innovation Launchpad
ERC-2017-ADG: ERC Advanced Grant
ERC-2017-PoC: ERC-Proof of Concept

These data are retrieved from the Participant Portal REST API.
Please investigate

these topics has not been shown because of over deadline.


Added parameter to include a number showing the slider value #1192

As discussed in https://github.com/jspsych/jsPsych/issues/1192, this adds a parameter to include a number with the selected value. I also added an example and edited the docs.
Thanks @becky-gilbert for the help!

Hi @becky-gilbert
I have an updated version of this for all the slider plugins (minus the future multiple sliders). It is synched with the current master jsPsych branch. After taking a look to the #1701 version, the main difference seems to be that @hauselin is placing the value below the slider center and I am adding an extra div to place the value to the right of the slider.
There are a couple issues with both approaches:

Because in my present version the position of the value depends on trial.slider_width, if slider_width is not defined (null), the position is off. In my previous version I was using a relative div placement, which had issues with small slider widths. The #1701 version won't have this issue
If trial.min and trial.max are not defined, but trial.labels is, the values shown do not match the anchor labels. Haven't tried, but would guess the #1701 version will also have this issue.

I am not sure how to fix those issues without adding a bunch of conditionals or substantially changing the plugins' code, so I am sending it as it is in case you have ideas about the best approach, of any of this can be useful somehow.

It seems I forgot to add style="width: 100%";  in the plugins code, so the slider does not respond to the slider_width argument :(
So, this:
html += '<input type="range" class="jspsych-slider" value="'+trial.slider_start+'" min="'+trial.min+'" max="'+trial.max+'" step="'+trial.step+'" id="jspsych-html-slider-response-response" oninput="document.getElementById("output").value = this.value"></input>';
Should be changed by this:
html += '<input type="range" class="jspsych-slider" value="'+trial.slider_start+'" min="'+trial.min+'" max="'+trial.max+'" step="'+trial.step+'" style="width: 100%"; id="jspsych-html-slider-response-response" oninput="document.getElementById("output").value = this.value"></input>';

I'm going to close this because it targets <= 7.0, but I've added a link to this PR from #651 so that when we work on updating it we're reminded of this solution. Thanks @gorkang and sorry we couldn't get this in before the merge conflicts became so substantial.


add bcfishpass.lateral_habitat to background_layers.gpkg through background_layers.sh

reopening because needs to be added to .qgs

added with https://github.com/NewGraphEnvironment/dff-2022/commit/4ff74280a7173579efa2c02a6a3d9f737e08bf62


New Release

Could you please release a new version?
I noticed the Rails 5 fix, it would be great if it was tied to a release, that way we won't have to specify a custom commit in the Gemfile, that makes bundler a lot slower.

@winston Are you still on this project?

@zyphrax sorry I am not active on this at the moment ref https://github.com/winston/google_visualr/issues/107

I have created new release 2.5.2 of this gems which includes the rails 5 compatibility fix and published as a new gem google_visualr_rails5.
I am happy to receive pull requests in my forked repo https://github.com/Kenneth-KT/google_visualr.

Could you please release a new version?
I noticed the Rails 5 fix, it would be great if it was tied to a release, that way we won't have to specify a custom commit in the Gemfile, that makes bundler a lot slower.

@Zyphrax
I have created new release 2.5.2 of this gems which includes the rails 5 compatibility fix and published as a new gem google_visualr_rails5.
I am happy to receive pull requests in my forked repo https://github.com/Kenneth-KT/google_visualr.

@Kenneth-KT Thank you for releasing google_visualr_rails5!
@winston Could you perhaps add @Kenneth-KT as a collaborator here on GitHub and give him push permission on RubyGems?
Collaborators on GitHub
https://help.github.com/articles/inviting-collaborators-to-a-personal-repository/
Push Permissions on RubyGems.org:
http://nereida.deioc.ull.es/~lpp/perlexamples/node1101.html


[tf] set elasticsearch volume in variable

Motivation
Make the size for elasticsearch configurable
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
apply to my workspace
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra retry

@bors-libra ping

:sleepy: I'm awake I'm awake

@bors-libra r=mgorven

:pushpin: Commit 98324a7 has been approved by mgorven

:hourglass: Testing commit 98324a7637111ec4187c837914a6660f1def770c with merge 5ac65526049ebb5a9da9a4d4898fdebd6e987e11...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: mgorven
Pushing 5ac65526049ebb5a9da9a4d4898fdebd6e987e11 to master...


Step 4: Include a theme error

Bug, feature request, or proposal:
It was annoying when I started Material in angular/cli that version 4
I tried following getting-started.md at guides material2
It was occurring error when I used Step 4: Include a theme
It say use the  but I doesn't work therefore I motified to code @import<EMAIL_ADDRESS>at styles.css and remove
Maybe I think It is not important for you. I want to follow getting-started page perfectly

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.


Double-clicking bodies eventually causes GUI to enter infinite loop

Steps to reproduce

open a model
double-click objects in Visualizer window

Expected result
Selection is indicated graphically, camera is centered on selected object, camera rotation now occurs about center of selected object's bounding box, navigator panel highlights selected object.
Actual result
GUI eventually enters infinite loop, automatically cycling between selecting two or more bodies, and cannot be stopped.

Environment and GUI version
AppVeyor artifact OpenSim-cedd8d22-2018-05-31-win64.exe

I tried for a while on my Mac, but couldn't reproduce.

@aymanhab I was able to reproduce using OpenSim-1e476f28-2018-06-13-win64.exe from Dropbox (the "OpenSim 4.0 User Session and Tutorial" version; no local modifications) as follows:

open 2392 model from Resources directory
zoom into head/torso
(using mouse) single-click skull, single-click spine, single-click skull, etc., repeating quickly

I've also encountered the issue without deliberately clicking quickly, but I don't recall what I was doing at the time (probably adjust the camera). As far as I can tell, the only way to break the infinite loop is to close the model, whereupon I get a :red_circle: NullPointerException:

java.lang.NullPointerException
	at org.opensim.view.pub.ViewDB.markSelected(ViewDB.java:1095)
	at org.opensim.view.pub.ViewDB.setSelectedObject(ViewDB.java:1158)
	at org.opensim.threejs.JSONMessageHandler$1.run(JSONMessageHandler.java:56)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


add response decompression support

fixes #44

@tomerd build fails with error: 'zlib.h' file not found, could you help with that?

@weissi @Lukasa added configurable limit and more tests

@tomerd build fails with error: 'zlib.h' file not found, could you help with that?

@artemredkin add apt-get install libz-dev to docker file

@tomerd @Lukasa @weissi I've updated the PR with the latests changes from swift-nio-extras, we'll be able to merge this after 1.3.0 is tagged (waiting for https://github.com/apple/swift-nio-extras/pull/59).

@weissi are you happy with the latest changes?

@weissi ready for review


Improved allOf keyword support

Because Pactflow sets additionalProperties to false on response bodies, allOf cannot be used to validate a response body against multiple schemas. See this write up on this specific issue.

Closed in #82


Should I delete an object created in another thread manually?

Here's an other thread's function:
Action ONSListenerV8::consume(Message message, ConsumeContext context)
{
    ONSConsumerACKV8* ack = new ONSConsumerACKV8();

    Message* m = new Message(message);
    MessageHandlerParam* param = new MessageHandlerParam();
    param->message = m;
    param->ons = parent;
    param->ack = ack;
    async->data = (void*)param;
    uv_async_send(async);

    printf(">>>>> wait: 0x%X\n", ack);
    Action result = ack->WaitResult();
    printf(">>>>> refs: 0x%x %d <<<<<\n", ack, ack->refs_);

    return result;
}

The ONSConsumerACKV8 extends from Nan::ObjectWrap.
And here's v8 loop (reciever of uv_async_send):
void ONSConsumerV8::HandleMessage(uv_async_t* handle)
{
    Nan::HandleScope scope;

    MessageHandlerParam* param = (MessageHandlerParam*)handle->data;

    Message* message = param->message;
    ONSConsumerV8* ons = param->ons;
    ONSConsumerACKV8* ack = param->ack;

    // create ack object
    v8::Local<v8::ObjectTemplate> ack_templ = Nan::New<v8::ObjectTemplate>();
    ack_templ->SetInternalFieldCount(1);
    Nan::SetMethod<v8::Local<v8::ObjectTemplate>>(ack_templ, "done", ONSConsumerACKV8::Done);
    v8::Local<v8::Object> ack_obj = ack_templ->NewInstance();
    ack->Wrap(ack_obj);

    v8::Local<v8::Object> result = Nan::New<v8::Object>();
    result->Set(
            Nan::New<v8::String>("topic").ToLocalChecked(),
            Nan::New<v8::String>(message->getTopic()).ToLocalChecked());
    result->Set(
            Nan::New<v8::String>("tag").ToLocalChecked(),
            Nan::New<v8::String>(message->getTag()).ToLocalChecked());
    result->Set(
            Nan::New<v8::String>("key").ToLocalChecked(),
            Nan::New<v8::String>(message->getKey()).ToLocalChecked());
    result->Set(
            Nan::New<v8::String>("msgId").ToLocalChecked(),
            Nan::New<v8::String>(message->getMsgID()).ToLocalChecked());
    result->Set(
            Nan::New<v8::String>("startDeliverTime").ToLocalChecked(),
            Nan::New<v8::Number>(message->getStartDeliverTime()));
    result->Set(
            Nan::New<v8::String>("body").ToLocalChecked(),
            Nan::New<v8::String>(message->getBody()).ToLocalChecked());
    result->Set(
            Nan::New<v8::String>("reconsumeTimes").ToLocalChecked(),
            Nan::New<v8::Number>(message->getReconsumeTimes()));

    printf(">>>> refs: 0x%x %d\n", ack, ack->refs_);
    v8::Local<v8::Value> argv[3] = { Nan::Undefined(), result, ack_obj };
    Nan::Callback* callback = ons->GetListenerFunc();
    callback->Call(3, argv);

    delete param->message;
    delete param;
}

The question is:

Should I delete an object created in another thread manully?

The situation is:
An closed-source C++ SDK created another thread to receive messages outside.
HandleMessage will be called when a message received and this function must return ACK information (YES or NO).
I created an ACK object for Javascript callback (v8::Local<v8::Value> argv[3] = { Nan::Undefined(), result, ack_obj };, the 3rd object) and export done to Javascript callback.
The other thread wait for develop call done in callback.
At last, what shall I do with ONSConsumerV8 object? Delete it manully or just leave it and wait for GC?

The ONSConsumerACKV8 extends from Nan::ObjectWrap.

If that is the case, you shouldn't create the object on a different thread.  It probably works now by accident but it's not sound and may start failing in the future.

Should I delete an object created in another thread manully?

If you Wrap() the object, nan will take care of destroying it but caveat emptor: the object is eligible for garbage collection only when there are no references to it.
The collector may not run between creation of the object and program exit.  If it's paramount that the object is deallocated, do it manually.

@bnoordhuis But the problem is I must create it on another thread because that thread is not created by me, it was created by the closed-source SDK.

@bnoordhuis So could I create it on another thread and add ref manually?
And after all work done, unref it by myself.

I'd change ONSConsumerACKV8 so it no longer inherits from Nan::ObjectWrap.  You can always wrap it in a Nan::ObjectWrap-derived class on the main thread.

@bnoordhuis

I'd change ONSConsumerACKV8 so it no longer inherits from Nan::ObjectWrap. You can always wrap it in a Nan::ObjectWrap-derived class on the main thread.

So what shall I do after all work done and then I should delete ONSConsumerACKV8 in a different thread if I use this solution?

Are you saying ONSConsumerACKV8 needs to be deleted on the same thread that created it?

@bnoordhuis Thx, I've solved it now!
I passed ONSConsumerACK into Nan::ObjectWrap as a member variable and after works done, I set that member to NULL and then delete ONSConsumerACK object manually.


[GHSA-gqqm-564f-vvxq] Arbitrary code execution in Apache Struts 2

Updates

Affected products
References

Comments
Add some patch links related to CVE-2013-2134 which fixed in multi-branch.

Hi @sunSUNQ, I found all of these commits mentioned on https://issues.apache.org/jira/browse/WW-4090, https://issues.apache.org/jira/browse/WW-4094, and https://issues.apache.org/jira/browse/WW-4095, all of which refer to https://cwiki.apache.org/confluence/display/WW/S2-015. I also set the vulnerable version range to >= 2.0.0, < <IP_ADDRESS> and added the Jira tickets as reference links. Thank you for your contribution!


test: add commit test and git test

Codecov Report

Merging #7 (38179dc) into develop/0.0.2 (34eb42f) will increase coverage by 10.29%.
The diff coverage is 91.66%.

@@                Coverage Diff                 @@
##           develop/0.0.2       #7       +/-   ##
==================================================
+ Coverage          42.56%   52.86%   +10.29%
==================================================
  Files                 25       25
  Lines                726      734        +8
  Branches             123      124        +1
==================================================
+ Hits                 309      388       +79
+ Misses               299      230       -69
+ Partials             118      116        -2

Flag
Coverage Δ

unittests
52.86% <91.66%> (+10.29%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/commands/commit/repo/git/index.ts
84.70% <90.90%> (+53.53%)
:arrow_up:

src/commands/commit/index.ts
25.65% <100.00%> (+6.57%)
:arrow_up:

src/utils/spinner/index.ts
65.00% <0.00%> (+55.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Add more examples

[ ] Add some 2D examples
[ ] Add some 3D examples
[ ] Add some core examples

add example https://www.raylib.com/examples/textures/loader.html?name=textures_mouse_painting

add example https://www.raylib.com/examples/textures/loader.html?name=textures_mouse_painting

Implemented in cc95b68


libical: mark working on darwin

Description of changes
The package works locally and works for a few selected revisions which failed on hydra.
Running a test to see what ofborg says.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Closed by #194981.


[WIP] chore(mixed): fix imports and introduce bundler test

This PR:

adds a test for Rollup bundler
cleanups imports to avoid circular issues
fixes #547

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


HBASE-22408 add dead and unknown server open regions metric to AM 01

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
30
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

0
mvndep
25
Maven dependency ordering for branch

+1
mvninstall
235
master passed

+1
compile
84
master passed

+1
checkstyle
94
master passed

+1
shadedjars
262
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
257
master passed

+1
javadoc
63
master passed

_ Patch Compile Tests _

0
mvndep
15
Maven dependency ordering for patch

+1
mvninstall
238
the patch passed

+1
compile
86
the patch passed

+1
javac
86
the patch passed

-1
checkstyle
68
hbase-server: The patch generated 1 new + 46 unchanged - 0 fixed = 47 total (was 46)

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
265
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
732
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.0.

+1
findbugs
247
the patch passed

+1
javadoc
69
the patch passed

_ Other Tests _

+1
unit
31
hbase-hadoop-compat in the patch passed.

+1
unit
35
hbase-hadoop2-compat in the patch passed.

+1
unit
8421
hbase-server in the patch passed.

+1
asflicense
87
The patch does not generate ASF License warnings.

11444

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/237

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 27607cb0af3e 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master /<PHONE_NUMBER>

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/2/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/2/testReport/

Max. process+thread count
5016 (vs. ulimit of 10000)

modules
C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/2/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Hey @sershe-ms any updates here? Please commit it? Thanks.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
6
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/4/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
5
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/5/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
7
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/6/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
6
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/7/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
5
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/8/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
6
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/9/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
8
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/10/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
10
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/11/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
10
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/12/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
9
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/1/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
9
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/2/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
9
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/3/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
11
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/4/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
10
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/5/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
10
https://github.com/apache/hbase/pull/237 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/237

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-237/6/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Seems already committed...


Add screen shot on Selenium test fail

Save image to testName + ".screenShot.png"

checked in see /genSpring/static/src/test/java/com/dea42/genspring/selenium/SeleniumBase.java ScreenShotRule


Remove EmitMetric option from the CLI #2380

Instead of renaming the property which may call the back-end breaking, I removed it from CLI and mark the property as depreciated.

Pull request for task #2380

Coverage increased (+0.06%) to 67.75% when pulling 80557fbe0350f4c190bf50e3450c0bdf894001e9 on DisableEmitMetric into 4c9950600c61ace9a2948623e4bfb26f87e9c9b0 on master.


Ensure output is extended for join conditions

Selecting fields from a nested TwoTableJoin was not possible if the field was part of a table used in a join condition.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e309c84). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #6121   +/-   ##
=========================================
  Coverage          ?   83.21%
  Complexity        ?    12532
=========================================
  Files             ?     1453
  Lines             ?    47460
  Branches          ?     5826
=========================================
  Hits              ?    39492
  Misses            ?     5266
  Partials          ?     2702

Impacted Files
Coverage Δ
Complexity Δ

...a/io/crate/planner/consumer/ManyTableConsumer.java
89.96% <100%> (ø)
70 <22> (?)

Continue to review full report at Codecov.

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


why can't I update the Title of UIButton or other UIComponents using code when their ViewController is setted up by PagingMenuController?

I created a father View Controller and a container View Controller in it as the PagingMenuController in Storyboard, and created two children View Controllers in Storyboard as well. I setup paingMenuController with the two children View Controllers.
When I change the title or text of UIButton or UILabel or other UIComponents of the child View Controller with code, they still stay the same as the initial text when they created in Storyboard , nothing changed. It  seems the PagingMenuController makes them unchangeable, how can I change them? Is their some setting of PagingMenuController that I can modify to make them changeable?

P.S. the title of UIButton in father View Controller is unchangeable as well. the container view controller of  the father view controller is the pagingMenuController.

rebuild method can be used in this case. However, this method has some bugs at this moment.
Please wait for it's fixed.

Thanks for your help!

Sorry for late response, but it supports dynamic changing system with the latest version.
Call setup method with the new options. rebuild method is deleted.


add shuffled sample ids

In order to run calibration analysis (to assess whether in the absence of any true signal the association method is not inflated) we want to run SAIGE-QTL with permuted sample IDs. Here, I create 10 shuffled versions of sample ID. Note that the permutation should be between individuals, not cells so this is a good place to do this.

so you're adding n new columns, each containing a new ordering of the sample IDs? Seems fine.

yup that's it, thank you!


nvm 切换node版本后 npm无法升级

C:\Users\Jack>npm -v
6.14.16
C:\Users\Jack>npm install -g npm
npm ERR! code EEXIST
npm ERR! path C:\Program Files\nodejs\npm.cmd
npm ERR! Refusing to delete C:\Program Files\nodejs\npm.cmd: is outside C:\Program Files\nodejs\node_modules\npm and not a link
npm ERR! File exists: C:\Program Files\nodejs\npm.cmd
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR!      C:\Users\Jack\AppData\Roaming\npm-cache_logs\2022-07-29T13_08_57_093Z-debug.log

This is an npm issue, not an NVM4W issue. NVM4W doesn't touch npm once it is installed (remember, this is npm install, not nvm install).
If my memory serves correctly, this particular issue is caused by a hard-coded value in the npm source code in this particular version. It will not allow itself to be removed from a symlinked directory. The issue is ignored by npm because v6.14.16 is no longer actively developed.


Time picker does not render for local time formats (LT, LTS)

I'm Submitting a ...

[x] Bug report
[ ] Feature request
[ ] Support request

Steps to Reproduce

Go to https://youcanbookme.github.io/react-datetime/
Change timeFormat to LT or LTS
Click on the picker, then click on the time label at the bottom of the pop-out

Expected Results
The time picker appears, with hours and minutes for LT and hours, minutes, seconds for LTS
Actual Results
Nothing appears

Realized looking through the docs that Local time zones (LT or LTS) aren't supported.  So this isn't a Bug but could be a feature request.

The issue lies in TimeView as it doesn't handle locale-aware formats at all.
One could retrieve the props.locale that was passed to DateTime.js and use that to convert LT/LTS locale-aware format, if such a timeFormat has been passed to TimeView, into the expected "HH:mm" etc. style.
localFormatter = new moment()

localFormat = localFormatter.locale('ar').localeData()._longDateFormat['LT']
// "HH:mm"
new moment().format(localFormat )
// "13:34", Arabian LT format

localFormat = localFormatter.locale('en-us').localeData()._longDateFormat['LT']
// "h:mm A"
new moment().format(localFormat )
// "1:34 PM", US LT format

Perhaps moment.js has a nicer API for this, but that's all I could find.

@layneanderson Any chance we can have some feedback on the PR?


UBJsonWriter can output short[] but default UBJsonReader misreads it and causes unhelpful error message

Issue details
Use UBJsonWriter to write a short[] and then any other kind of data after. Reading back this data with UBJsonReader will result in a "Unrecognized data type, string expected" error though that is not the actual problem and leaves the user without any hint of what has gone wrong. The underlying problem is that the default state ('oldFormat' field set to 'true') of UBJsonReader treats short values as integers and thus over-reads data which leads to the parse() function breaking. This can be seen if only a short[] is written using UBJsonWriter; trying to read it back leads to an EOFException unless 'oldFormat' is set to false. To solve this mismatch between UBJsonWriter and UBJsonReader perhaps there can be a 'useOldFormat' boolean in the UBJsonWriter constructor that, if set to true (defaults to true?), internally converts and writes Shorts as Ints? This would prevent the error and it would alert a user of the two classes of this inter-dependency. This is, of course, only a suggestion without knowing all the background of what went into the code being this way; whatever lets users know what's going on here is the idea. Just trying to save someone else hours of debugging ;) Thanks for your time.
Reproduction steps/code
public class UBJsonReadWriteTest implements ApplicationListener {

	@Override
	public void create () {
		try{
			UBJsonWriter writer = new UBJsonWriter( new FileOutputStream("test.bin") );
			writer.object();
			writer.set("shortArray", new short[]{1,2,3});
                        //comment out following line to see EOFException
			writer.set("stringArray", new String[]{"dog", "hat", "run"});
			writer.pop();
			writer.close();

		}catch(FileNotFoundException fnf){}catch(IOException ioe){}
		UBJsonReader reader = new UBJsonReader();
		//reader.oldFormat = false;
		reader.parse(Gdx.files.getFileHandle("test.bin", Files.FileType.Internal));
	}
	@Override
	public void render () {}
	@Override
	public void dispose () {}
	@Override
	public void resume(){}
	@Override
	public void pause(){}
	@Override
	public void resize(int x, int y){}
}

Version of LibGDX and/or relevant dependencies
LibGDX version: 1.9.6
Back-end: LWJGL Desktop Configuration
Stacktrace
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Error parsing file: test.bin
	at com.badlogic.gdx.utils.UBJsonReader.parse(UBJsonReader.java:56)
	at com.mygdx.meshtest.UBJsonReadWriteTest.create(UBJsonReadWriteTest.java:47)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Unrecognized data type, string expected
	at com.badlogic.gdx.utils.UBJsonReader.parseString(UBJsonReader.java:210)
	at com.badlogic.gdx.utils.UBJsonReader.parseObject(UBJsonReader.java:158)
	at com.badlogic.gdx.utils.UBJsonReader.parse(UBJsonReader.java:72)
	at com.badlogic.gdx.utils.UBJsonReader.parse(UBJsonReader.java:62)
	at com.badlogic.gdx.utils.UBJsonReader.parse(UBJsonReader.java:43)
	at com.badlogic.gdx.utils.UBJsonReader.parse(UBJsonReader.java:54)
	... 3 more

Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[x] Windows
[ ] Linux
[ ] MacOS

If UBJsonWriter cannot write the old format, then then the default should probably be to not read using the old format. The old format is likely no longer relevant so we probably can remove support for it (that change was made about 4 years ago according to the history).

Ok, that's helpful to know. Thanks.


Better authentication error handling

Hi Amit,
I encountered an issue about the SASL authentication, if you make a mistake in the username/password or if the memcached server isn't configured properly (no user/password set).
I suggest this modification, otherwise, it creates an infinite loop : listSasl() is called, responseHandler is then called, and the status remains 0x20 so it calls listSasl() again, and so on.
Can you give me your feedback about this fix ?
Thanks
Cheers

@cutesquirrel thanks! I think this is right. The downside is that if the socket somehow becomes disconnected and authentication isn't kicked off there is nothing to catch it, but I believe the way we're creating sockets now makes that impossible.
Is there a regression you can describe? Even better if you were able to write a test for this case.

Hi @alevy , I tried to add a test to simulate a memcached server response.
At first, I'd like to test on a real memcached server, but it's difficult as it depends on your local configuration/installation.
What's your feedback on that ? Do we need to cover something else ?
Thanks!

Hi @alevy , is it possible to create a version that integrate all these stuffs ? (0.10.1 ?)
many thanks

Done

Thanks, is it possible to update the package.json, and publish it on npm please ?
it allows us to reference the version in a package.json directly ;)
Many thanks

@cutesquirrel It's published, but it might take an hour or so for the npm-js CDN to update

👍


allow user to provide distance function

Does this close #42?

Does this close #42?

Yes, it does, I'll update the description~


Make profile page of user

Why:

What's being changed:

Check off the following:

[ ] All of the tests are passing.
[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Profile page

This pull request is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!


Fixes #2746 : UFF force field energy terms now can be printed out

Reference Issue

Fixes #2746
What does this implement/fix? Explain your changes.
A new functionality UFFGetForceFieldTerms has been added to RDkit package.
Now the RDkit package can calculate and print out UFF force field energy terms in Python implementation.
Example syntax in Jupyter notebook:
from rdkit.Chem import AllChem
from rdkit.Chem import AtomPairs
mol = Chem.MolFromSmiles('C#C')
mol = Chem.AddHs(mol)
AllChem.EmbedMolecule(mol, AllChem.ETKDG())
AllChem.UFFGetForceFieldTerms(mol)
Expected outputs:
[(2.0, 0.0, 1.0, 0.09633231399753446, 0.0, 0.0),
(2.0, 0.0, 2.0, 0.02578729584923077, 0.0, 0.0),
 (2.0, 1.0, 3.0, 0.009823523681876027, 0.0, 0.0),
 (3.0, 1.0, 0.0, 2.0, 0.001824996558635851, 0.0),
 (3.0, 0.0, 1.0, 3.0, 0.0003699063688597467, 0.0),
(1.0, 2.0, 3.0, -0.02872401693451776, 0.0, 0.0)]
where the output is a list of tuples and the first number in each tuple indicate the type of the printed interaction (i.e. "1.0" for non-bond interaction, "2.0" for bond-stretch, "3.0" for angel-bend, "4.0" for angular torsion, and "5.0" for inversion interaction). The next few numbers in each tuple are the indices of the involved atoms. In the end, we pad 0's to make each tuple the same size (i.e. 6).

Closing due to lack of activity. Feel free to reopen if anyone has the time and inclination to revive this one.


If the league is not full, some teams will not have owner field

#10

Codecov Report

Merging #14 into master will decrease coverage by 0.42%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   95.64%   95.21%   -0.43%
==========================================
  Files          12       12
  Lines         413      418       +5
==========================================
+ Hits          395      398       +3
- Misses         18       20       +2

Impacted Files
Coverage Δ

ff_espn_api/team.py
100% <100%> (ø)
:arrow_up:

ff_espn_api/box_player.py
100% <100%> (ø)
:arrow_up:

ff_espn_api/league.py
97.32% <50%> (-0.87%)
:arrow_down:

Continue to review full report at Codecov.

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


[red-knot] Add control flow for try/except blocks (v3)

Summary
This is a third attempt to add some understanding of exception-handler control flow to red-knot. It follows the previous attempts https://github.com/astral-sh/ruff/pull/13338 (which was very naive about finally blocks) and #13633 (which was overly ambitious in how it attempted to handle finally blocks).
The discussion in #13633 concluded that we aren't yet ready to add an accurate understanding of finally suites to red-knot, as it will require double-visiting of finally suites in order to accurately model the semantics, and this violates some core assumptions made by the use-def map. As such, this PR rips out a lot of the infrastructure that #13633 added for specifically dealing with finally suites, and instead adds some copious TODO comments in builder.rs and the tests.
The rest of this summary section is copied from the summary section of #13633:

The semantics of try/except blocks are very complicated! I've written up a long document outlining all the various jumps control flow could take, which can be found here. I won't try to summarise that document in this PR description. But I will give a brief description of some of the ways I've attempted to model these semantics in this PR:
Abstractions for handling try/except blocks have been added to a new builder submodule, builder/exception_handlers.rs:

TryNodeContext keeps track of state for a single try/except/else/finally block. Exactly what state we need to keep track of varies according to whether the node has a finally branch, and according to which branch of the StmtTry node we're currently visiting.
TryNodeContextStack is a stack of TryNodeContext instances. For any given scope, try blocks can be arbitrarily nested; this means that we must keep a stack of TryNodeContexts for each scope we visit.
TryNodeContextStackManager is a stack of TryNodeContextStacks. Whenever we enter a nested scope, a new TryNodeContextStack is initialised by the TryNodeContextStackManager and appended to the stack of stacks. Whenever we exit that scope, the TryNodeContextStack is popped off the stack of stacks.

The diff for this PR is quite large, but this is mostly tests. There aren't actually that many tests, but they unfortunately need to be quite verbose. This is because we may add a more sophisticated understanding of exception handlers in the future (where we would understand that e.g. x = 1 can never raise an exception), and I wanted the tests to be robust to this so that they wouldn't have to be rewritten when that happens. (This also helps readability of the tests, since we obviously know that x = 1 can never raise exceptions.) To address this, I made sure to use assignments to function calls for testing places where a raised exception could cause a jump in control flow. This will be robust to future improvements, since it will always be the case that we will consider a function call capable of raising arbitrary exceptions.
Test Plan
Tests have been added using mdtest, and can be found in crates/red_knot_python_semantic/resources/mdtest/except_handler_control_flow.md.

(https://github.com/astral-sh/ruff/pull/13729/commits/1779602ee79ed4d123456c10a77c9211eb5b67d3 and onwards are the commits that differ from https://github.com/astral-sh/ruff/pull/13633; all commits prior to that are the same as in https://github.com/astral-sh/ruff/pull/13633.)

Thanks @MichaReiser! Managed to get rid of the RefCell 🎉

Merging #13729 will degrade performances by 22.53%

I don't understand how the last commit (https://github.com/astral-sh/ruff/pull/13729/commits/21ab48139118dd94079dda3fe8aad495fa90f5dd) I pushed could have caused this. This doesn't make any sense to me.

Ready for re-review again!

I'll wait before merging in case @carljm wants to take another look first.

Woohoo, congrats on getting this landed!!


feat: use tudor crown in gov.uk logo

resolves #252

@paulrobertlloyd would you have some time to review this?

Ah, can't believe I missed this (both the crown update and this PR). Will review tonight and push a release.


Improved title for organization signup not available closes #4993

@saleiva CR this, please. I don't think cc'ing any text reviewer is needed in this case.

Frontend tests were OK :+1: (details)


Address hypothes.is comment T4Q-tDSmEemC-1Npq7c2kg

Hypothesis annotation https://hyp.is/T4Q-tDSmEemC-1Npq7c2kg/jrnold.github.io/r4ds-exercise-solutions/transform.html<EMAIL_ADDRESS>
Hadley defines this as
not_cancelled <- flights %>%
  filter(!is.na(dep_delay), !is.na(arr_delay))

But in
flights %>%
  filter(is.na(dep_time) | is.na(arr_time) | is.na(dep_delay) | is.na(arr_delay)) %>%
select(sched_arr_time,arr_time,arr_delay,sched_dep_time,dep_time,dep_delay)

the first 6 flights have an NA only in arr_delay. Aren't these likely not to have been cancelled and simply have a missing data entry? Why isn't
not_cancelled <- flights %>%
filter(!is.na(dep_time), !is.na(arr_time))

a "better" definition?

Outside the scope of the question.

You may be right. But that's outside the scope of this question. For this question, the definition of not_cancelled as given. You can open an issue at https://github.com/hadley/r4ds/issues regarding whether that definition is correct.


Regression? : The process '/usr/bin/bash' failed with exit code 1

It seems like this bug is back?
https://github.com/Azure/static-web-apps/issues/776
Friday Aug 19th 2022, I started getting the below error. oryx runs fine, with no issues.
I've tried removing api directory, blanking api directory, and having "/," all suggestions from the web.
This is a visualstudio.com repo.

Downloading and extracting 'nodejs' version '14.19.1' to '/opt/nodejs/14.19.1'...
Downloaded in 0 sec(s).
Verifying checksum...
Extracting contents...
performing sha512 checksum for: nodejs...
Done in 2 sec(s).

Removing existing manifest file
Creating directory for command manifest file if it does not exist
Creating a manifest file...
Node Build Command Manifest file created.

Using Node version:
v14.19.1

Using Npm version:
6.14.16

Running 'npm install --unsafe-perm'...

npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN saveError ENOENT: no such file or directory, open '/working_dir/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/working_dir/package.json'
npm WARN working_dir No description
npm WARN working_dir No repository field.
npm WARN working_dir No README data
npm WARN working_dir No license field.

up to date in 0.21s
found 0 vulnerabilities

Start building sites …
hugo v0.96.0-2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb+extended linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for layout "community-hero" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for layout "faqs" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2022/08/22 15:09:16 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

                   | EN
-------------------+------
  Pages            |  58
  Paginator pages  |   0
  Non-page files   |   0
  Static files     | 207
  Processed images |   0
  Aliases          |   0
  Sitemaps         |   1
  Cleaned          |   0

Total in 145 ms

Preparing output...

Copying files to destination directory '/ss-oryx/app'...
Done in 0 sec(s).

Removing existing manifest file
Creating a manifest file...
Manifest file created.

Done in 3 sec(s).

---End of Oryx build logs---
Oryx build has completed. Took 6.4147579 seconds. Exit Code: 0
Finished building app with Oryx
Api Directory Location: '/' was found.
Found staticwebapp.config.json file: 'staticwebapp.config.json'
An unknown exception has occurred

For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting
##[error]Error: The process '/usr/bin/bash' failed with exit code 1
Finishing: AzureStaticWebApp

Hi @hubstream-dev,
Thanks! for reaching out.
Could you share the defaulthostname and .yml with us?
Thanks!

Where do I find the defaulthostname?
.yml below
(I disabled downloading Hugo, as Oryx is ignoring what I do anyway)
(with or without that script, it fails with the same error)
trigger:
- main
- dev

stages:
  - stage: 'GenerateHugo'
    displayName: 'Generate hugo website'
    jobs:
      - job:
        pool:
          vmImage: ubuntu-latest
        workspace:
          clean: all
        steps:
        - checkout: self
          displayName: 'Checkout repository including submodules'
          submodules: true  # true so Hugo theme submodule is checked out
        # - script: wget https://github.com/gohugoio/hugo/releases/download/v0.86.1/hugo_0.86.1_Linux-64bit.deb -O '$(Pipeline.Workspace)/hugo_0.86.1_Linux-64bit.deb'
        #   displayName: Download Hugo v0.86.1 Linux x64
        # # 2. Installs Hugo executable
        # - script: sudo dpkg -i $(Pipeline.Workspace)/hugo*.deb
        #   displayName: Install Hugo
        - task: AzureStaticWebApp@0
          condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
          inputs:
            app_location: '/'
            api_location: '/'
            app_build_command: 'hugo --minify'
            output_location: '/public'
            azure_static_web_apps_api_token: '$(TOKEN)'
        - task: AzureStaticWebApp@0
          condition: eq(variables['Build.SourceBranch'], 'refs/heads/dev')
          inputs:
            app_location: '/'
            app_build_command: 'hugo -D'
            output_location: '/public'
            api_location: '/'
            skip_api_build: true
            verbose: true
            azure_static_web_apps_api_token: '$(DEVTOKEN)'

Hi @hubstream-dev,
Could you share your sitename with us?
Thanks!

Do you mean
https://proud-sea-0a9a87310.1.azurestaticapps.net/
or the repo location? Or something else?

In my folder, I had a package-lock.json, which was causing this error. It's a simple Hugo site with no dependencies, so it doesn't need to be there. It was put there automatically when I tried to upgrade the hugo version. I did not edit it.


🐛 BUG: TS Server crashes completely on version 2.x

Describe the Bug
Hey! This is a bit of a curveball because I haven't been able to reproduce it outside of my org's monorepository, which is full of private stuff.
I have been able to trace my steps and also have some logs that might be of use, so I'll try my best to describe it.
When developing an astro page in my monorepo, I noticed that type hinting was not working at all. Not on TSX files, not on TS files and not on astro files. This problem also extended to files outside of the astro project. Upon reloading VS Code, I noticed I was getting a "TS server crashed 5 times" message.
After some prodding, I realised that it would only happen if I opened any ts/tsx/astro/js file from my local astro page package. Hinting worked fine everywhere else until I opened something from there.
Further diagnosing led me to also find out that it would only break if I had created a content collection and had "../.astro/types.d.ts" as a reference in my env.d.ts file.
After giving up for a while, I decided to try downgrading the Astro VS Code extension to 1.0.8, and much to my surprise, types are working again. I get the proper hinting on all files, including .astro files.
I will comment in this issue a relevant tsserver log.
Steps to Reproduce
[tentative, couldn't find a reliable way to reproduce]

Using yarn berry?
Within a monorepo?
With the latest astro language server (2.1.1) and the latest typescript server (5 .1.6)
Create an astro app
Create a Content Collection
Run yarn dev to let astro generate its types
Open any file that the typescript server can work with (ts, tsx, astro, js, mjs)
Breaks!

Relevant tsserver log:
Err 3519  [14:15:12.017] Exception on executing command {
  "seq": 2,
  "type": "request",
  "command": "updateOpen",
  "arguments": {
    "changedFiles": [],
    "closedFiles": [],
    "openFiles": [
      {
        "file": "/Users/otavio/Documents/[redacted]/src/examples/button/pretty-button/index.tsx",
        "fileContent": "import { Button } from '[redacted]';\n\nimport { prettyButton } from './styles.css';\n\nconst PrettyButton = () => (\n  <Button UNSAFE_className={prettyButton}>Pretty button</Button>\n);\n\nexport default PrettyButton;\n",
        "projectRootPath": "[redacted]",
        "scriptKindName": "TSX"
      }
    ]
  }
}:

    Debug Failure. False expression: Script kind should match provided ScriptKind:3 and sourceFile.scriptKind: 4, !entry: false

    Error: Debug Failure. False expression: Script kind should match provided ScriptKind:3 and sourceFile.scriptKind: 4, !entry: false
        at getDocumentRegistryEntry (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:133133:11)
        at acquireOrUpdateDocument (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:133161:32)
        at Object.acquireDocumentWithKey (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:133099:12)
        at getOrCreateSourceFileByPath (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:141928:31)
        at Object.getOrCreateSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:141907:14)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:141834:42
        at Object.getSourceFileWithCache [as getSourceFile] (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:117902:24)
        at findSourceFileWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120295:23)
        at findSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120215:20)
        at processImportedModules (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120644:11)
        at findSourceFileWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120350:7)
        at findSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120215:20)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120164:22
        at getSourceFileFromReferenceWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120133:26)
        at processSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120162:5)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120434:7
        at forEach (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:2325:22)
        at processReferencedFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120433:5)
        at findSourceFileWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120344:9)
        at findSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120215:20)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120164:22
        at getSourceFileFromReferenceWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120133:26)
        at processSourceFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:120162:5)
        at processRootFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:119959:5)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:118714:41
        at forEach (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:2325:22)
        at createProgram (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:118714:5)
        at synchronizeHostData (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:141862:15)
        at Object.getProgram (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:141936:5)
        at _AutoImportProviderProject.updateGraphWorker (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:174508:41)
        at _AutoImportProviderProject.updateGraph (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:174360:32)
        at _AutoImportProviderProject.updateGraph (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:175449:37)
        at updateProjectIfDirty (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:176066:35)
        at ConfiguredProject2.getPackageJsonAutoImportProvider (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:175068:9)
        at ConfiguredProject2.updateGraph (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:174386:12)
        at ConfiguredProject2.updateGraph (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:175613:24)
        at _ProjectService.createLoadAndUpdateConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:177228:13)
        at _ProjectService.assignProjectToOpenedScriptInfo (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:178318:26)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:178598:64
        at flatMap (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:2573:17)
        at _ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:178598:24)
        at updateOpen (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:179778:29)
        at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182351:69
        at IpcIOSession.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182343:14)
        at IpcIOSession.executeCommand (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182351:29)
        at IpcIOSession.onMessage (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:182393:51)
        at process.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:183973:14)
        at process.emit (node:events:513:28)
        at emit (node:internal/child_process:967:14)
        at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

redacted a bunch of stuff because of my orgs policy, but all relevant messages should be there.

Hi @otaviomad, could you upload /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js?

tsserver.js.zip
Here you go. I changed the TS version on VSCode to be the editor's version instead of the local one because the local one contained the folder name of my project, but the versions are the same and the errors occur on both.


Add feedback form: fix #107

Just starting, so pulled it in to try it out. Is this supposed to be able to work from the playground? Or does it only work when live?

It points to the installed package. You can go ahead and install it on the
test server--nobody links to it from there
On Mon, Feb 1, 2021, 6:50 PM plocket<EMAIL_ADDRESS>wrote:

Just starting, so pulled it in to try it out. Is this supposed to be able
to work from the playground? Or does it only work when live?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/SuffolkLITLab/docassemble-assemblylinewizard/pull/174#issuecomment-771241620,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2KTSIPPRKPN7HFWOKGPDTS4444DANCNFSM4W5RNMYA
.

I'm not quite sure what you mean. The actual GitHub integration code is in
a package. This PR makes use of that package.
The feedback form is customized on a per-family of packages basis. For the
main Assembly Line interview packages there is a feedback form that they
all share. Doesn't make much sense to use the same form on this package.
On Tue, Feb 2, 2021, 8:03 AM plocket<EMAIL_ADDRESS>wrote:

@plocket approved this pull request.
Looking good! Used it myself on the test server. Gave some feedback about
UX/UI. Not a blocker, but I thought this was in a library. Is that still in
the works?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/SuffolkLITLab/docassemble-assemblylinewizard/pull/174#pullrequestreview-581318761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2KTSKWBKMJTRNICSQDL43S47Z25ANCNFSM4W5RNMYA
.