I've typed the url localhost:7897 but still couldnn't open the webUI

D:\material#13\Mangio-RVC-v23.7.0>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
Found GPU NVIDIA GeForce RTX 3060 Laptop GPU
Set fp16_run to true in 32k.json
Set fp16_run to true in 40k.json
Set fp16_run to true in 48k.json
Use Language: zh_CN
Traceback (most recent call last):
File "D:\material#13\Mangio-RVC-v23.7.0\runtime\lib\site-packages\gradio\networking.py", line 121, in start_server
s.bind((LOCALHOST_NAME, server_port))
PermissionError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\material#13\Mangio-RVC-v23.7.0\infer-web.py", line 2918, in
app.queue(concurrency_count=511, max_size=1022).launch(
File "D:\material#13\Mangio-RVC-v23.7.0\runtime\lib\site-packages\gradio\blocks.py", line 1771, in launch
server_name, server_port, local_url, app, server = networking.start_server(
File "D:\material#13\Mangio-RVC-v23.7.0\runtime\lib\site-packages\gradio\networking.py", line 124, in start_server
raise OSError(
OSError: Port 7897 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all().
D:\material#13\Mangio-RVC-v23.7.0>pause
请按任意键继续. . .
WebUI doesn't work ,even if I've typed the url localhost:7897

As you can see from the text you sent, the following is output to the console:

OSError: Port 7897 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all().

Try to use --port 8888

IS rvc project here, not mangio fork!!! Mangio have a lot bugs and mangio has stopped to update fork since july 2023. So use RVC Project

As you can see from the text you sent, the following is output to the console:

OSError: Port 7897 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all().

Try to use --port 8888

yup,a week ago I tried the port 8000 and it works,ur right ,tysm

I see!ty

how change port 7897? i meet and you same problem。i think changed port 7897 ->8000。


Ignoring visible gpu device

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):NO
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Arch Linux with linux kernel version 4.11
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):1.2.0-rc2
Bazel version (if compiling from source):0.5.0-1
CUDA/cuDNN version:8.0.61-2/6.0.21-1
GPU model and memory:Quadro M1200, 32Gig of RAM
Exact command to reproduce:running  sess = tf.session() inside the python interactive shell.

Describe the problem
I have followed the official document to install from source. The build process and the install process shows no issues, but when I run the command:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()

It says:
>>> sess = tf.Session()
2017-06-13 00:53:55.614764: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-06-13 00:53:55.614999: I tensorflow/core/common_runtime/gpu/gpu_device.cc:940] Found device 0 with properties:
name: Quadro M1200
major: 5 minor: 0 memoryClockRate (GHz) 1.148
pciBusID 0000:01:00.0
Total memory: 3.95GiB
Free memory: 3.92GiB
2017-06-13 00:53:55.615013: I tensorflow/core/common_runtime/gpu/gpu_device.cc:961] DMA: 0
2017-06-13 00:53:55.615017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0:   Y
2017-06-13 00:53:55.615022: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] Ignoring visible gpu device (device: 0, name: Quadro M1200, pci bus id: 0000:01:00.0) with Cuda compute capability 5.0. The minimum required Cuda capability is 5.2.

But when I visit the nvidia website, it says that the Quadro M1200 have Compute Capability 5.2.

TensorFlow is querying the device for what CUDA version it supports. So, maybe your driver is too old of a version. You also can get it to work by recompiling from source for compute capability 5.0.

I know that recompiling the tensorflow with capability 5.0 will work, but I am just wondering why tensorflow is saying that my GPU has only compute capability 5.0.
I am using nvidia driver 375.66

Please run this and reply with what it returns.
https://gist.github.com/eyalroz/71ce52fa80acdd1c3b192e43a6c1d930

It gives me the following result:
$ ./cuda.sh
50
Does it means that nvidia have made a mistake on their specs page?

This seems to say it is 5, so whatever you were looking at probably had a mistake.
http://www.nvidia.com/object/quadro-for-mobile-workstations.html
In any case, we just trust what the nvidia api returns, so this is not a TensorFlow issue for sure. Hopefully 5.0 is sufficient for your needs. Closing for now, Thanks!


[mlflow] The readiness probe and liveness probe need to be configurable

Is your feature request related to a problem ?
When you start mlflow behind a proxy, you often do not want to serve it on root. This means that you configure mlflow with --static-prefix and ensure it is served with a prefix mentioned.
The way the chart is designed right now, it allows for the mlflow server to be started up with this extra argument, but the readiness probe and liveness probe arent configurable to use the new prefix added to the mlflow server.
Describe the solution you'd like.
Parameterize the readiness probe and liveness probe path in the deployment to ensure it can be configured by users of the chart.
Describe alternatives you've considered.
NONE
Additional context.
No response

Hi @subramaniam20jan
Yes, good point. Let me write a unit test about it. I think the implementation should be very easy.

Hi @subramaniam20jan
The mlflow chart version 0.2.7 should solve the problem. Also, I added an example of static prefix usage to here. If it doesn't solve the problem, please feel free to reopen this issue.
Best,
Burak


test/test-constants.mjs fails if package name & repo dirname mismatch

Test: test/test-constants.mjs

TL;DR: I didn't mean to write so much, please text-to-speech it. :)
If this repo is cloned using the following code snippet, which changes the name of the destination folder, the test in question will fail.
git clone git@github.com:DerekNonGeneric/loader339.git loader339-next

I don't think I'm the only person who frequently changes repo's destination directory when cloning and I'm surprised there haven't been any reports yet. I've been aware of this problem for a few weeks now and I'm not exactly sure when it began. It's possible that it was introduced when paths started being converted into their absolute forms as is seen here:
https://github.com/DerekNonGeneric/loader339/blob/69ef4ffb44e43d41ed486c15688c8766ca4a7993/lib/constants.mjs#L7-L14
It would be cool if we could increase the test's sensitivity to avoid false negatives like this. Maybe fixtures would be preferable here. An alternative would be to document the recommended method of cloning (w/o changing destdir). For some organizations (including @ampproject), a pre-requisite to membership is having 2FA enabled, which means that all cloning essentially needs to happen using SSH for verification purposes. This doesn't work for everyone, so I would prefer we didn't need to provide cloning instructions aside from a link to which-remote-url-should-i-use document, which might go in doc/development.
I think we're looking for feature detection, so including Node.js's platform tests here might not be appropriate. Perhaps simply succeeded to import using the 'loader339/constants' specifier is sufficient evidence to cover a true-positive case.
/cc @MylesBorins

If we do end up using a fixture for this, depending on the directory structure we go with, some of our decisions may provide insight to help move https://github.com/nodejs/modules/issues/472 further along too. I know the ball is currently in my court on that issue, but any insight would be appreciated!
/cc @jkrems

Oof really sorry about my sample snippet. The one I provided is a rare case that it doesn't fail.
What I should've provided was the following.
git clone git@github.com:DerekNonGeneric/loader339.git lorem339; cd lorem339; npm i; npm t;


Compile Error

I am using ESP32-Mail-Client with ArduinoIDE 1.8.12.
I used the Board Manager to install the latest  ESP32 Arduino Core SDK (1.0.4), but I am getting the following compile error:
error: 'mbedtls_ssl_conf_psk' was not declared in this scope
How can I solve this?

KYour problem is due to an incompleted esp32 board package (ESP32 Arduino Core SDK).
Please try to uninstall and reinstall again.
I test in the latest Arduino IDE 1.8.12 and Arduino Core 1.0.4 and don't see any problem.


Separate NPM package for NamedLazyChunksWebpackPlugin

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.
1.3.0+
Desired functionality.
Currently NamedLazyChunksWebpackPlugin is an "internal" plugin that is available only as part of the CLI. However, this plugin could be useful also for the apps that have custom Webpack config and don't use the CLI.
Therefore, I have copied the plugin into its own repository and an NPM package: https://github.com/Independer/angular-named-lazy-chunks-webpack-plugin
Please consider either using that package OR pulling the plugin into one of the @angular-devkit packages, so that it can be re-used in projects with a custom Webpack config.

I agree this would be nice, WDYT @hansl?


Error (AH00020: Configuration Failed) with other subdomain vhosts present

I initially reported this in a comment on issue https://github.com/icing/mod_md/issues/301,  but it appears to be separate. I've now made sure the server aliases are unique. This works,
<IfModule md_module>
  MDomain example.com www.example.com
</IfModule>

<VirtualHost <IP_ADDRESS>:80>
  Use VhostRedirect www.example.com
  RedirectMatch permanent (.*) https://www.example.com$1
</VirtualHost>

<IfModule md_module>
<IfModule ssl_module>
<VirtualHost <IP_ADDRESS>:443>
  Use VhostDrupal www example.com
  SSLEngine on
  Use HttpsOnly
</VirtualHost>
</IfModule>
</IfModule>

but after adding
<VirtualHost <IP_ADDRESS>:80>
  Use VhostRedirect shop example.com
  RedirectMatch permanent (.*) https://shopping.example.com/
</VirtualHost>

<IfModule ssl_module>
<VirtualHost <IP_ADDRESS>:443>
  Use VhostRedirect shop example.com
  Use Ssl wildcard.example.com
  RedirectMatch permanent (.*) https://shopping.example.com/
</VirtualHost>
</IfModule>

the server crashes:

[Sat Dec 03 21:25:55.882111 2022] [:emerg] [pid 32181] AH00020: Configuration Failed, exiting

There is a cert for for the domain in the mod_md directory, so it managed to get one, but then failed to configure the vhost to use it I guess.

Can you provide a log of the failed configuration start by adding LogLevel md:trace2 at the start of your config?

No problem, but I'll have to wait until off-hours (US Eastern) so I don't get crucified for crashing everything.
FWIW I've pushed my collection of macros to https://github.com/orlitzky/apache2-macros

Leaving de-anonymized so you can see the contrast between the two that work and the one that don't.

(www) boutiquelaurie.com works fine and has no other non-www hosts.
(www) physiciansresearchinstitute.org works fine and has no other non-www hosts.
ajmichaels.com is completely unrelated -- using a paid cert on a different IP address -- and I have no idea why it appears in the mod_md logs at all.

It's *.gramophone.com that's giving me trouble. The non-www hosts are all essentially superfluous, but have been used for marketing campaigns or something in the past and tl;dr the customer wants them. But, they don't want to pay for certificates for those subdomains. That means (at least for now) that the non-www gramophone.com subdomains will all be serving a self-signed cert if you manage to hit them over https somehow. The www vhost, on the other hand, has a paid cert and is what I'm trying to convert to use mod_md, since it expires in a few days.
[Mon Dec 05 22:00:38.207764 2022] [mpm_prefork:notice] [pid 10378] AH00171: Graceful restart requested, doing restart

[Mon Dec 05 22:00:41.959628 2022] [md:info] [pid 10378] AH10071: mod_md (v2.4.17), initializing...
[Mon Dec 05 22:00:41.959840 2022] [md:debug] [pid 10378] mod_md.c(451): AH10037: server seems reachable via http: and reachable via https:
[Mon Dec 05 22:00:41.959853 2022] [md:debug] [pid 10378] mod_md.c(705): AH10039: Completed MD[boutiquelaurie.com, CA=(null), Proto=ACME, Agreement=accepted, renew-mode=1 renew_window=33%, warn_window=10%
[Mon Dec 05 22:00:41.959863 2022] [md:debug] [pid 10378] mod_md.c(705): AH10039: Completed MD[gramophone.com, CA=(null), Proto=ACME, Agreement=accepted, renew-mode=1 renew_window=33%, warn_window=10%
[Mon Dec 05 22:00:41.959871 2022] [md:debug] [pid 10378] mod_md.c(705): AH10039: Completed MD[physiciansresearchinstitute.org, CA=(null), Proto=ACME, Agreement=accepted, renew-mode=1 renew_window=33%, warn_window=10%
[Mon Dec 05 22:00:41.959987 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.boutiquelaurie.com:0 matches md boutiquelaurie.com (config www.boutiquelaurie.com[default, default]) for domain boutiquelaurie.com, has now 1 MDs
[Mon Dec 05 22:00:41.959995 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.boutiquelaurie.com:0 matches md boutiquelaurie.com (config www.boutiquelaurie.com[default, default]) for domain boutiquelaurie.com, has now 1 MDs
[Mon Dec 05 22:00:41.960033 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server shop.gramophone.com:0 matches md gramophone.com (config shop.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.960040 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server shop.gramophone.com:0 matches md gramophone.com (config shop.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.960046 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server lodge.gramophone.com:0 matches md gramophone.com (config lodge.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963650 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server lodge.gramophone.com:0 matches md gramophone.com (config lodge.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963661 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server kdc.gramophone.com:0 matches md gramophone.com (config kdc.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963669 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server kdc.gramophone.com:0 matches md gramophone.com (config kdc.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963679 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server solutions.gramophone.com:0 matches md gramophone.com (config solutions.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963686 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server solutions.gramophone.com:0 matches md gramophone.com (config solutions.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963695 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.gramophone.com:0 matches md gramophone.com (config www.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963703 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.gramophone.com:0 matches md gramophone.com (config www.gramophone.com[default, default]) for domain gramophone.com, has now 1 MDs
[Mon Dec 05 22:00:41.963746 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.physiciansresearchinstitute.org:0 matches md physiciansresearchinstitute.org (config www.physiciansresearchinstitute.org[default, default]) for domain physiciansresearchinstitute.org, has now 1 MDs
[Mon Dec 05 22:00:41.963752 2022] [md:debug] [pid 10378] mod_md.c(596): AH10041: Server www.physiciansresearchinstitute.org:0 matches md physiciansresearchinstitute.org (config www.physiciansresearchinstitute.org[default, default]) for domain physiciansresearchinstitute.org, has now 1 MDs
[Mon Dec 05 22:00:41.963799 2022] [md:debug] [pid 10378] md_reg.c(836): sync MDs, start
[Mon Dec 05 22:00:41.963870 2022] [md:debug] [pid 10378] md_reg.c(899): sync MDs, 3 existing, 0 moved, 0 new.
[Mon Dec 05 22:00:41.963884 2022] [md:trace2] [pid 10378] md_reg.c(1191): boutiquelaurie.com: nothing staged
[Mon Dec 05 22:00:41.963898 2022] [md:trace2] [pid 10378] md_reg.c(1191): gramophone.com: nothing staged
[Mon Dec 05 22:00:41.963909 2022] [md:trace2] [pid 10378] md_reg.c(1191): physiciansresearchinstitute.org: nothing staged
[Mon Dec 05 22:00:42.126163 2022] [md:trace2] [pid 10378] md_crypt.c(1484): read chain with 2 certs
[Mon Dec 05 22:00:42.126174 2022] [md:debug] [pid 10378] md_ocsp.c(322): md[physiciansresearchinstitute.org]: priming OCSP status
[Mon Dec 05 22:00:42.126204 2022] [md:trace2] [pid 10378] md_ocsp.c(340): md[physiciansresearchinstitute.org]: getting ocsp responder from cert
[Mon Dec 05 22:00:42.126219 2022] [md:trace2] [pid 10378] md_crypt.c(2114): ocsp responder found 'http://r3.o.lencr.org'
[Mon Dec 05 22:00:42.126287 2022] [md:debug] [pid 10378] md_ocsp.c(361): md[physiciansresearchinstitute.org]: adding ocsp info (responder=http://r3.o.lencr.org)
[Mon Dec 05 22:00:42.126488 2022] [md:trace2] [pid 10378] md_crypt.c(1484): read chain with 2 certs
[Mon Dec 05 22:00:42.126496 2022] [md:debug] [pid 10378] md_ocsp.c(322): md[physiciansresearchinstitute.org]: priming OCSP status
[Mon Dec 05 22:00:42.126516 2022] [md:trace2] [pid 10378] md_ocsp.c(340): md[physiciansresearchinstitute.org]: getting ocsp responder from cert
[Mon Dec 05 22:00:42.126528 2022] [md:trace2] [pid 10378] md_crypt.c(2114): ocsp responder found 'http://r3.o.lencr.org'
[Mon Dec 05 22:00:42.134478 2022] [md:debug] [pid 10378] md_ocsp.c(361): md[physiciansresearchinstitute.org]: adding ocsp info (responder=http://r3.o.lencr.org)
[Mon Dec 05 22:00:42.415856 2022] [md:trace2] [pid 10378] md_crypt.c(1484): read chain with 2 certs
[Mon Dec 05 22:00:42.415867 2022] [md:debug] [pid 10378] md_ocsp.c(322): md[boutiquelaurie.com]: priming OCSP status
[Mon Dec 05 22:00:42.415896 2022] [md:trace2] [pid 10378] md_ocsp.c(340): md[boutiquelaurie.com]: getting ocsp responder from cert
[Mon Dec 05 22:00:42.415911 2022] [md:trace2] [pid 10378] md_crypt.c(2114): ocsp responder found 'http://r3.o.lencr.org'
[Mon Dec 05 22:00:42.415978 2022] [md:debug] [pid 10378] md_ocsp.c(361): md[boutiquelaurie.com]: adding ocsp info (responder=http://r3.o.lencr.org)
[Mon Dec 05 22:00:42.416180 2022] [md:trace2] [pid 10378] md_crypt.c(1484): read chain with 2 certs
[Mon Dec 05 22:00:42.416187 2022] [md:debug] [pid 10378] md_ocsp.c(322): md[boutiquelaurie.com]: priming OCSP status
[Mon Dec 05 22:00:42.416208 2022] [md:trace2] [pid 10378] md_ocsp.c(340): md[boutiquelaurie.com]: getting ocsp responder from cert
[Mon Dec 05 22:00:42.416220 2022] [md:trace2] [pid 10378] md_crypt.c(2114): ocsp responder found 'http://r3.o.lencr.org'
[Mon Dec 05 22:00:42.416273 2022] [md:debug] [pid 10378] md_ocsp.c(361): md[boutiquelaurie.com]: adding ocsp info (responder=http://r3.o.lencr.org)
[Mon Dec 05 22:00:42.458344 2022] [md:trace1] [pid 10378] mod_md.c(1241): hook ssl_add_cert_files for ajmichaels.com
[Mon Dec 05 22:00:42.458353 2022] [md:debug] [pid 10378] mod_md.c(1125): AH10113: get_certificates called for vhost ajmichaels.com.
[Mon Dec 05 22:00:43.064505 2022] [md:trace1] [pid 10378] mod_md.c(742): checking duplicate ssl assignments
[Mon Dec 05 22:00:43.064614 2022] [md:trace2] [pid 10378] mod_md.c(973): md{boutiquelaurie.com}: auto_add
[Mon Dec 05 22:00:43.064618 2022] [md:trace1] [pid 10378] mod_md.c(515): md[boutiquelaurie.com]: auto add domains
[Mon Dec 05 22:00:43.064697 2022] [md:debug] [pid 10378] mod_md.c(555): AH10169: boutiquelaurie.com: https server_rec for boutiquelaurie.com does not have protocol acme-tls/1 enabled
[Mon Dec 05 22:00:43.064707 2022] [md:debug] [pid 10378] mod_md.c(555): AH10169: boutiquelaurie.com: https server_rec for www.boutiquelaurie.com does not have protocol acme-tls/1 enabled
[Mon Dec 05 22:00:43.064712 2022] [md:trace2] [pid 10378] mod_md.c(978): md{boutiquelaurie.com}: check_usage
[Mon Dec 05 22:00:43.064723 2022] [md:trace2] [pid 10378] mod_md.c(982): md{boutiquelaurie.com}: sync_finish
[Mon Dec 05 22:00:43.064743 2022] [md:trace2] [pid 10378] md_reg.c(231): md{boutiquelaurie.com}: check cert secp256r1
[Mon Dec 05 22:00:43.065178 2022] [md:debug] [pid 10378] md_reg.c(251): md{boutiquelaurie.com}: certificate(0) is ok
[Mon Dec 05 22:00:43.065185 2022] [md:trace2] [pid 10378] md_reg.c(231): md{boutiquelaurie.com}: check cert rsa
[Mon Dec 05 22:00:43.065400 2022] [md:debug] [pid 10378] md_reg.c(251): md{boutiquelaurie.com}: certificate(1) is ok
[Mon Dec 05 22:00:43.065407 2022] [md:trace2] [pid 10378] md_reg.c(270): md{boutiquelaurie.com}: state=2, (null)
[Mon Dec 05 22:00:43.065412 2022] [md:debug] [pid 10378] md_reg.c(936): loading md boutiquelaurie.com
[Mon Dec 05 22:00:43.065488 2022] [md:debug] [pid 10378] md_reg.c(938): loaded md boutiquelaurie.com
[Mon Dec 05 22:00:43.065498 2022] [md:debug] [pid 10378] md_reg.c(982): sync MDs, finish done
[Mon Dec 05 22:00:43.065502 2022] [md:trace2] [pid 10378] mod_md.c(973): md{gramophone.com}: auto_add
[Mon Dec 05 22:00:43.065505 2022] [md:trace1] [pid 10378] mod_md.c(515): md[gramophone.com]: auto add domains
[Mon Dec 05 22:00:43.065520 2022] [md:trace2] [pid 10378] mod_md.c(1021): (22)Invalid argument: post_config done
[Mon Dec 05 22:00:43.065531 2022] [:emerg] [pid 10378] AH00020: Configuration Failed, exiting

This is very hard to read due to the nested macros. I am sure this works nicely for you, but as an outsider it is difficult.
The difference between the working and non-working config seems to be the added line:
  Use Ssl wildcard.example.com

which adds SSLCertificateFile and SSLCertificateKeyFile AFAICT.
Can you make a configuration without using your macros that fails similarly?

This is very hard to read due to the nested macros. I am sure this works nicely for you, but as an outsider it is difficult.
The difference between the working and non-working config seems to be the added line:
  Use Ssl wildcard.example.com

which adds SSLCertificateFile and SSLCertificateKeyFile AFAICT.

There's an entirely new subdomain vhost. The main vhost www.gramophone.com works fine:
<VirtualHost <IP_ADDRESS>:80>
  Use VhostRedirect www gramophone.com
  RedirectMatch permanent (.*) https://www.gramophone.com$1
</VirtualHost>

<IfModule ssl_module>
<VirtualHost <IP_ADDRESS>:443>
  Use VhostDrupal www gramophone.com
  Use Ssl www.gramophone.com
  Use HttpsOnly
</VirtualHost>
</IfModule>

but when I add a vhost that redirects a subdomain to a specific URL,
<VirtualHost <IP_ADDRESS>:80>
  Use VhostRedirect gxc gramophone.com
  RedirectMatch permanent (.*) https://www.gramophone.com/experience-center
</VirtualHost>

<IfModule ssl_module>
<VirtualHost <IP_ADDRESS>:443>
  Use VhostRedirect gxc gramophone.com
  Use Ssl www.gramophone.com
  RedirectMatch permanent (.*) https://www.gramophone.com/experience-center
</VirtualHost>
</IfModule>

it crashes. If it's important, the SSL I'm trying to use in the second case is invalid (it's signed for www.gramophone.com, not gxc.gramophone.com).

Can you make a configuration without using your macros that fails similarly?

It's easy enough to copy/paste the macros into the main configuration but the real problem is that I can only test this on the production server and testing it crashes the whole thing. We've got a few hundred sites all with SLAs that I can't be crashing to save $4/year. With https://github.com/icing/mod_md/issues/301 also affecting these subdomain vhosts, I've just given up on using LE certs for anyone with a subdomain for now.

I haven't tried this on gramophone.com again yet, but in a few similar situations, MDMatchNames servernames from v2.4.23 looks like it solves all my problems. Optimistically closing. Thanks for all you work!


CVE-2007-4559 Patch

Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.
If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

Follow upstream Envoy for resolution: https://github.com/envoyproxy/envoy/pull/23530.


Incomplete syntax highlighting and intellisense on string interpolations, tuples, and local functions

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.4)
Product Information:
Version:            1.0.4
Commit SHA-1 hash:  af1e6684fd
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.13
OS Platform: Darwin
RID:         osx.10.11-x64
Base Path:   /usr/local/share/dotnet/sdk/1.0.4
VS Code version: 1.19.3
C# Extension version: 1.13.1
Steps to reproduce

TimesTen is a local function. int in local function return type definition should be pink
Things in {} of $" " string should not be colored yellow. (I remembered seeing screenshots from other editor where that is the case, and I think that is more readable)
When start typing after { with variable names I expect intellisense to pop up. (At least if $" is preceding) however using . after a valid variable names do trigger intellisense pop up. You just have to get the first one right by your own.

Not a big deal but ref here should not be pink.

Having tuple return type for a property like this erroneously colors the property body as white, as well as non tuple property that follows it that get turns white and the return type is also white.

get and List here are not colored. The first foreach is green instead of pink. s is blue instead of white. return is blue instead of pink. orders is blue instead of white.

Thanks for filing these issues. Syntax highlighting issues should be reported over at https://github.com/dotnet/csharp-tmLanguage, which is where the C# TextMate grammar lives. The fourth issue that you mentioned above is already fixed but has not merged back into VS Code yet.
FWIW, it's helpful if multiple issues are failed as different issues, since they likely won't be fixed all at once. I'll go ahead and split this into several issues.

The first issue mentioned (local function return type) is due to https://github.com/dotnet/csharp-tmLanguage/issues/10.

I think the second issue above (highlighting in interpolations) may be an artifact of the theme you're using. Here's what it looks like in VS Code's Dark+ (default dark) theme:

I've filed https://github.com/OmniSharp/omnisharp-vscode/issues/2001 to track the third issue above.

I've filed https://github.com/dotnet/csharp-tmLanguage/issues/98 to track the fifth issue above.

I expect the sixth issue is related to the fifth one. Once the syntax highlighter has been thrown off by the tuple-returning property, the rest of the highlighting in the property is suspect.

I'm going to go ahead and close this now. I think I've covered everything that you reported. Let me know if that's not the case.


There seems to be random print statements in the code.

debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57
debug: reading doc of len 57 curr count 4
debug: len 57 read 57

Getting this spam in my console and it seems it is coming from this lib.
https://github.com/softprops/zig-bson/blob/e2d74b029c933df5e9f6eff1f98b61b7ab10dcac/src/root.zig#L115

https://github.com/softprops/zig-bson/blob/e2d74b029c933df5e9f6eff1f98b61b7ab10dcac/src/reader.zig#L51

looks like I should be using a tagged release.  My bad.


Replace jscs + jsbeautify with eslint rules

We should be able to replace all the important functionality of jscs and jsbeautify with eslint, and it would probably be helpful to have the rules consolidated into one library.

#174 Added rules to .eslintrc to allow for removal of jscs and jsbeautify. Cleaned up all lint warnings.


chore: revert version back, was bumped by mistake

Fixes #31 - for some reason the version was set to 0.5.0 and never released (the latest on NPM is 0.4.1). Let's put the version back, and when I release 0.5.0 (soon), I'll make a separate PR bumping the version.
Also, making sure lint tasks links samples to the main package correctly.

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

It probably never released because CI got stuck when the sample system tests failed. I don’t think it hurts to leave the package.json value as the next release. It also doesn’t hurt to revert, so... whichever :)


Is beamer really incompatible?

Hi everyone,
I've been regularly checking this repo, keen to get my slides to pass accessibility checks in my university. And I do manage to get my beamer slides (with plenty of weird other packages). Bearing in mind some limitations, I do get my slides to compile using the following preamble:
\DocumentMetadata{
	lang=en,
	testphase={phase-I,title,firstaid},
	pdfversion=1.9,
	pdfstandard=a-4,
}

This won't work with the pdfpc package. That does not affect me in a critical way, as I can compile my slides without them for public distribution, and recompile with my presentation notes before I go to deliver my lectures.
I'm still struggling to get headings to work, but everything else seems to work decently.
So, in summary, I think partially compatible would be a better characterisation of beamer wrt tagging.

The package status list starts with phase-III is generally needed and with that beamer directly errors.
You are using only phase-I. That merely loads the tagpdf package, activates is and adds a Document tag, it but doesn't do any tagging of its own. (Unrelated but pdf 1.9 doesn't exist, use either 1.7 and a-3 or lower, or 2.0 with a-4).
If you try the following example and upload it to ngpdf.com you will only see a complete empty html representation:

\DocumentMetadata{testphase={phase-I}}
\documentclass{beamer}
\begin{document}
\begin{frame}
some text
\end{frame}
\begin{frame}
some text
\end{frame}
\end{document}

I see, my bad, and thanks for explaining this to me. Is there any forum or issue where I could follow up the progress with tagging and beamer? Perhaps even contribute?

Anyway, since this is the first "issue" on beamer, I realised there is a discussion going on, which might be worthy to link to this issue, if this issue remains. Just in case someone else goes down this same rabbit hole.

Thanks for all the work on this. I can see you work for a British University (like me), so we are increasingly required to add accessibility to our materials, and every beginning of term I go back and spend a long time seeing if there is a (hacky or otherwise) way to coax my Beamer slides to comply with the requirements. Having a centralised place to check progress here would be indeed very helpful. Now I know who to follow.

This issue unfortunately starts out with you writing what you did (which doesn't work as Ulrike explained), so I prefer to close it with "user error" because in all likelyhood there will be people reading only your first part :-). Instead we should have an explicit issue staing that beamer is currently incompatible (if we don#t have that yet).

We can always edit the issue, can we not? And change the initial part too :-D.

If you think this is more appropriate, I can go on and edit the issue title.

Well to give a bit of and impression about the problem.
beamer errors because it redefines a footnote command and the patching in the tagging code no longer works. We can get around that with a trick and then footnotes more or less seem to work (but no longer use only beamer code so perhaps look different).
The tagging code redefines lists to be tagging aware. This breaks the overlay code of beamer and also the item labels are missing (we can provide them).
The columns environment is basically a primitive \hbox and that confuses the tagging of minipages (I have no idea how to detect that one is in a \hbox). To get around that problem one has to redefine the environment to insert a \leavevmode.
\frametitle doesn't error, but due to the way beamer process stuff it is in the structure after the text of the frame, so one would have to redefine that.
And naturally a frame should produce some structure too.
I didn't dare to test with some complicated theme ...
\DocumentMetadata{uncompress,pdfversion=2.0,testphase={phase-III,math,table}}

\documentclass{beamer}

\makeatletter
\let\footmisc@hang@makefntext\@makefntext
\newcommand\labelitemi{\textbullet}
\newcommand\labelenumi{\arabic{enumi}}
\renewenvironment<>{columns}[1][]{%
  \begin{actionenv}#2%
  \ifbeamer@onlytextwidth
    \def\beamer@colentrycode{\hbox to\textwidth\bgroup\ignorespaces}%
    \def\beamer@colexitcode{\unskip\egroup}
  \else%
    \def\beamer@colentrycode{%
      \leavevmode\hbox to\textwidth\bgroup%%<--- \leavevmode
      \leavevmode%
      \hskip-\beamer@leftmargin%
      \nobreak%
      \beamer@tempdim=\textwidth%
      \advance\beamer@tempdim by\beamer@leftmargin%
      \advance\beamer@tempdim by\beamer@rightmargin%
      \hbox to\beamer@tempdim\bgroup%
      \hbox{}\hfill\ignorespaces}%
    \def\beamer@colexitcode{\egroup%
      \nobreak%
      \hskip-\beamer@rightmargin\egroup}%
  \fi%
  \ifbeamer@centered\setkeys{beamer@col}{c}\else\setkeys{beamer@col}{t}\fi%
  \setkeys{beamer@col}{#1}%
  \par%
  \beamer@colentrycode%
  \def\beamer@colclose{}\ignorespaces}%
  {\beamer@colclose\def\beamer@colclose{}\beamer@colexitcode\end{actionenv}}
\makeatother
\begin{document}
\begin{frame}
abc

\begin{itemize} %no overlays anymore!
\item blub
\item blub
\item blub
\end{itemize}

\end{frame}
\begin{frame}
abc\footnote{bla}

\begin{enumerate} %no overlays anymore!
\item blub
\item blub
\item blub
\end{enumerate}
\end{frame}
\begin{frame}
\begin{columns}
\begin{column}{0.4\textwidth}
left column
\end{column}
\begin{column}{0.4\textwidth}
\includegraphics[width=\linewidth,alt=duck]{example-image-duck}
\end{column}
\end{columns}
\end{frame}
\end{document}

I've renamed the issue and added a bold warning at the beginning. This way, when people come here through some search they can see where we are at. The moment I have some time to do what I call  "productive procrastination" (i.e., can't focus on what I really need to do), I will try messing with the beamer files to see how far I can get with some basic slides.
But following up on the comment above. Would it not work as partial solution to force all slides with overlays to go to the last "step" of the overlay and use that as the page for tagging?
I agree that it is a non-trivial thing to automatically decide on the semantics of an animation for a screen reader, but if we consider the slides as handouts (as it seems to be a point raised in the other discussion), then just taking the slide in the final step of the overlay would give something with structure. At least 90% (bar table statistic) of the way I see overlays being used are to add (bullet) points as you talk. The semantics of reading the bullet points one by one would match that use case.

But following up on the comment above. Would it not work as partial solution to force all slides with overlays to go to the last "step" of the overlay and use that as the page for tagging?

Well that's more-or-less the argument that slides don't work with tagging, but handouts should - a 'flattened' version that can be tagged. But that is non-trivial as what makes a 'slide' is complex.
There are various technical issues and the problem that 'we can tag simple slides' runs into that what 'simple' means is a moveable feast.
At the moment, my feeling is that for lecture material, there is discussion to be had about workflows as a whole before trying to tag a subset of slides. But that isn't something that's happening in the next few weeks. On the other hand, with my day job hat on, I'd like to have something workable by the start of 2025-26 (I simply didn't have time for this AY, which for me starts on Monday). So this is very much on the agenda, but not right now - there are wider challenges we need to tackle that impact all documents.

Indeed. My AY starts on Monday as well, and the next term will be tough on me too. But whenever there is progress on this, I'm keen to help with testing if that is helpful. BTW, the "patch" you provided above works for most of my slides. With the only change needed (so far) to be to include a command for bullets in deeper itemizations.:
\makeatletter
\let\footmisc@hang@makefntext\@makefntext
\newcommand\labelitemi{\textbullet}
\newcommand\labelitemii{\textbullet}
\newcommand\labelenumi{\arabic{enumi}}
\renewenvironment<>{columns}[1][]{%
  \begin{actionenv}#2%
  \ifbeamer@onlytextwidth
    \def\beamer@colentrycode{\hbox to\textwidth\bgroup\ignorespaces}%
    \def\beamer@colexitcode{\unskip\egroup}
  \else%
    \def\beamer@colentrycode{%
      \leavevmode\hbox to\textwidth\bgroup%%<--- \leavevmode
      \leavevmode%
      \hskip-\beamer@leftmargin%
      \nobreak%
      \beamer@tempdim=\textwidth%
      \advance\beamer@tempdim by\beamer@leftmargin%
      \advance\beamer@tempdim by\beamer@rightmargin%
      \hbox to\beamer@tempdim\bgroup%
      \hbox{}\hfill\ignorespaces}%
    \def\beamer@colexitcode{\egroup%
      \nobreak%
      \hskip-\beamer@rightmargin\egroup}%
  \fi%
  \ifbeamer@centered\setkeys{beamer@col}{c}\else\setkeys{beamer@col}{t}\fi%
  \setkeys{beamer@col}{#1}%
  \par%
  \beamer@colentrycode%
  \def\beamer@colclose{}\ignorespaces}%
  {\beamer@colclose\def\beamer@colclose{}\beamer@colexitcode\end{actionenv}}
\makeatother

Would it not work as partial solution to force all slides with overlays to go to the last "step" of the overlay and use that as the page for tagging?

I think you didn't quite get my point. The problem is not so much to decide about a more or less sensible structure. The problem is to implement that. beamer redefines basically everything. Above I tested a few standard elements in a very basic setup and found problems in everyone. I added some work arounds but while they allow to compile they are clearly not perfect and destroy various beamer features. Resolving that requires lots of time.

The moment I have some time to do what I call "productive procrastination" (i.e., can't focus on what I really need to do), I will try messing with the beamer files to see how far I can get with some basic slides.

It would help a lot if we had a large amount of simple beamer files testing various elements together with tagging and which document where tagging goes wrong (check the tags in ngpdf or pdfxchange or acrobat), or where beamer features are lost, or which errors, or which have tagging warnings in the log etc. Any test file that I do not have to write and check gives me more time to ponder about solutions.


namespace yii\db\BaseActiveRecord  in this class has save()  function as shown below

 public function save($runValidation = true, $attributeNames = null)
    {
        if ($this->getIsNewRecord()) {
            return $this->insert($runValidation, $attributeNames);
        } else {
            return $this->update($runValidation, $attributeNames) !== false;
        }
    }

Why must doesn't support  $runBeforeSave  and $runAfterSave parameters ?
@cebe @samdark

Because it's not necessary.
If you do not want to trigger events in some special cases you have a plenty of options how to do it:

unbind listeners using off() method;
override beforeSave() method
manage it with scenarios
etc

best option for updating without events is updateAttributes().


Add basic array methods

Most of these were easy pickings
But I did run into a couple of interesting cases so I have another couple of questions

I think I addressed all the comments.
Maybe another question, should array_test.rb be split up at some point? It is already quite large but then testing does become more difficult of course

Yeah, if you think we should, we can split out tests for each method into their own files inside an array directory:
array/
  at_test.rb
  assoc_test.rb
  clear_test.rb
  ...

I'm super happy with this work, so I'm going to go ahead and merge. <3


SelectableTable - Feature Request

Recently in spotify-tui, we had a need to have a table which would automatically scroll to allow the highlighted item in the table always visible, similar to how SelectableList works.
This was implemented for the use case within spotify-tui, but perhaps would be widely applicable to other users of tui-rs.
I'd love to get feedback from other users if this would be broadly useful. I could even take a shot at an implementation if so. Thanks!

Just wanted to drop a note saying that at least I would find the Widget helpful.
I'm currently trying to adapt your implementation to address the use case described in #200 -- really cool work!

It's a great idea, must be implemented. I'm using your snippet that handles the selection with an offset and skip function. Working well!

I would be more than happy to have such feature in the library. I would also suggest to merge this functionality directly in the Table widget if possible (as it is my intent to merge List and SelectableList). PRs are welcome.

Sounds good! I'll start putting some code together in the coming days when I get some down time over the holidays.

It has been implemented in #242 using the initial work of @sputnick1124.


Button Text

Hi, I'm working with Ruby on Rails and Sweet Alert 2, everything is fine. I just have an issue, whenever I try to put an i18n on confirmButtonText and cancelButtonText, text go back to defaults OK and cancel... I18n works fine on title and text.
Any help?

Solved, there is a mistake on the .yml file. Surprisingly it does not accept to have a string "no" or "yes"...


PDF: "#" character appearing in title when it contains MathML

The title is encoded as:
:title-appendix-en: Recommended values of standard frequencies for applications including the practical realization of the metre and secondary representations of the second
:title-part-en: Indium 115 Ion (stem:[f ~~ 1267" "rm(THz)])
:title-en: The International System of Units

The XML is:
<title language="en" format="text/plain" type="main">The International System of Units</title>
<title language="en" format="text/plain" type="appendix">Recommended values of standard frequencies for applications including the practical realization of the metre and secondary representations of the second</title>
<title language="en" format="text/plain" type="part">Indium 115 Ion (<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>f</mi><mo>≈</mo><mn>1 267</mn><mtext> </mtext><mstyle mathvariant="normal"><mrow><mi>T</mi><mi>H</mi><mi>z</mi></mrow></mstyle></math></stem>)</title>

This issue was fixed in commit https://github.com/metanorma/mn-native-pdf/commit/e8e0b71ab77306b94ebfb3de41f2a9cdd684546c
Now it renders as:

This issue was fixed in commit https://github.com/metanorma/mn-native-pdf/commit/e8e0b71ab77306b94ebfb3de41f2a9cdd684546c
Now it renders as:

Perfect -- thanks @Intelligent2013 !

Perfect -- thanks @Intelligent2013 !


makes klive backwards compatible

makes klive backwards compatible

Correct me if I am wrong, but we should make klive compatible with gdsfactory, not kfactory with the old klive, right?

Correct me if I am wrong, but we should make klive compatible with gdsfactory, not kfactory with the old klive


First auto-import is added on same line as <script>

When I auto import something in a .vue file, the first time it add the code on the same line as the opening <script> tag.
Actual:
<script lang="ts" setup>import { PropType } from 'vue'
import { Story } from '../types'
import StoryListItem from './StoryListItem.vue'

const props = defineProps({
  stories: {
    type: Array as PropType<Story[]>,
    required: true,
  },
})
</script>

Expected:
<script lang="ts" setup>
import { PropType } from 'vue'
import { Story } from '../types'
import StoryListItem from './StoryListItem.vue'

const props = defineProps({
  stories: {
    type: Array as PropType<Story[]>,
    required: true,
  },
})
</script>

Reproduction steps:

Create an empty .vue file
Add a script section
Auto import something using the intellisense popover

Volar v0.31.1

Hi @Akryum, thanks for the report! But unfortunately even this is a simple problem, we don't have a suitable solution to resolve. Unless we have to prohibit any code at first line in script block.

So there is no possible solution their from Volar, VS Code or another part of the stack?

Just have a idea to fix. :)

Awesome! 😻

Looks like the issue is back @johnsoncodehk


Here may be a mistake while calculating FLOPs and MACs using the recommended profiling tool

Hi! This is the profiling tool used int the SUPERB Challenge
https://github.com/B06901052/DeepSpeed/tree/superb-challenge
Originally posted by @leo19941227 in https://github.com/s3prl/s3prl/issues/356#issuecomment-1153733835
The issue occurs when we apply the profiling tool to calculate the FLOPs and MACs of an upstream model, e.g., the FOLPs of shared parameters or modules would be cumulated repeated.
The possible reason comes from
https://github.com/B06901052/DeepSpeed/blob/superb-challenge/flops_profiler/profiler.py#L252-L256

Hi! Thanks for the comment. I think it would be better to open an issue on the profiling tool's repo, so that 子軒 can have the direct support for you!

Thanks for your suggestions.
It seems to be available to post an issue in the repo of the profiling tool since there is no Issues box on the profiling tool's repo.

Hey @mechanicalsea , the profiling tool's issue page is now available.
You can ask there if you still encounter problems. Thanks!


User lost 8 credits after leaving HPO app work running

🐛 Bug
From Slack:

While running my HPO app (digits-hpo-big) one job/work I guess hung indefinitely, and burned through all of my credits. I am pretty sure there's no way it was training for the whole time, considering all other runs cost around 0.05 credits each, and this one was 8 credits. No information in the logs though, just the sigterm which I assume came from my account running out of credits. Is there any way to figure out what happened?!

The username is rhjohnstone.
The user started an HPO app on August 12th, and one of the hpo works burned through 8 credits in two days.
To Reproduce
N/A

Expected behavior
The work should automatically stop when the training is finished.

Environment
Lightning Cloud

Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
PyTorch Lightning Version (e.g., 1.5.0):
Lightning App Version (e.g., 0.5.2):
PyTorch Version (e.g., 1.10):
Python version (e.g., 3.9):
OS (e.g., Linux):
CUDA/cuDNN version:
GPU models and configuration:
How you installed PyTorch (conda, pip, source):
If compiling from source, the output of torch.__config__.show():
Running environment of LightningApp (e.g. local, cloud):
Any other relevant information:

Additional context

@manskx, let's continue the discussion here.
I summarize what you've told me on Slack here:
The HPO app work could be running forever or shut down on idletimeout. The idletimeout is defined in the code itself (@manskx, of what? HPO app?)
The work might be in infinite loop or doing anything, there's no way for us to know if we don't have logs. @rhjohnstone, if you can share the source code of your app with us (you can do it privately), we can look at it to tell what could've happend.
I also suggest we introduce “low balance” email notifications that will include billing reports to make cases like this clearer. @williamFalcon, @narJH27, what do you think about the suggestion?

@rhjohnstone, I am going to follow up with you in Slack DM.

cc @luca3rd


September 2022 Recovery 2 Endgame

[x] Create a milestone September 2022 Recovery 2 @lszomoru
[x] Bump the version number @lszomoru
[x] 🔖candidate issues
[x] Assign candidate issues to the recovery milestone team
[x] Review the candidate issues, and if they pass the review assign them to the recovery milestone team
[x] All candidate fixes are peer reviewed and pushed to main and then cherry-picked into the release branch team
[x] Initiate insiders build from main
[x] Issues are tested in the insiders team
[x] Build stable for all platforms from release branch @lszomoru
[x] Issues are verified on stable build and the verified label is added team
[x] Check https://github.com/Microsoft/vscode/compare/release/1.72 to ensure no other commits have been made in the release branch @lszomoru
[ ] Update the release notes and include a link to a query for the fixed issues @gregvanl
[x] Sanity check of installable bits (server instructions)

[x] Windows 32 bit @hediet

[x] signed installer 32-bit
[x] signed user installer 32-bit
[x] zip 32-bit
[x] server 32-bit

[x] Windows 64 bit @hediet

[x] signed installer 64-bit
[x] signed user installer 64-bit
[x] zip 64-bit
[x] server 64-bit

[x] Windows ARM64 @joaomoreno

[x] signed installer ARM64
[x] signed user installer ARM64
[x] zip ARM64

[x] macOS

[x] Universal @weinand/@jrieken
[x] Intel @weinand
[x] Intel server @weinand
[x] Apple Silicon @jrieken

[x] Linux x64 @aeschli

[x] deb
[x] rpm
[x] archives
[x] snap (sudo snap install --classic --dangerous <file>.snap)

[x] Linux server @chrmarti

[x] x64
[x] x64 Alpine
[x] ARM32
[x] ARM64
[x] ARM64 Alpine

[x] Publish website @gregvanl
[x] Publish stable build @mjbvz
[x] Create an official release @mjbvz

[x] Create a tag (make sure you pull the release branch first): git tag <x.y.z> release/<x.y>
[x] Push the tag: git push origin <x.y.z>
[x] Create a GitHub release: Open the GitHub tags, and click far right ... > Create Release. Use the correct title and description from our release notes. Example

[x] Close the milestone on GitHub @mjbvz

Published 🚀

Published 🚀

@mjbvz Thanks for working, but just one question: did you guys noticed that source codes of tag 1.72.2 are exactly same with tag 1.72.1, which based on commit 129500e ?

Yeah, as @icy-fish said, the git tags "1.72.1" and "1.72.2" for this repo both point to commit 129500e.
Comparison showing no diff, no new commits: https://github.com/microsoft/vscode/compare/1.72.1...1.72.2
So I think the "1.72.2" tag was applied to the wrong commit. I'm unclear if that has anything to do with what code got built into the binaries published for 1.72.2, or whether downstreams such as VSCodium would  be affected by accidentally building the older code from Sept 2022 Recovery 1 instead?
Would it be appropriate to re-tag the actual new commits, and possibly force-push the tag? Or maybe publish the corrected tag as a new version number for less disruption to contributors, forks and downstreams?
Thanks for considering.

Thanks. The tag should be fixed now

Thank you!
Related: I think changing the git tag may have booped the GitHub Release, since it's not visible to me at the moment. (Perhaps it got converted to draft. Similar has happened to me before when updating tags.)


Asset Lineage OMAS - OMRS classification events handling

We will need to handle the classification events from OMRS so that the the Asset Lineage OMAS can publish required classification details about entities to Open Lineage Service.

Few questions to be discussed with @mandy-chessell on representing classifications in data lineage:

How should we design the data structure of classifications in lineage graph context?
What is originClassificaiton and how it is used for a classification?
How zoneMembership can be elaborated on classification lineage use case, such as HR zone, will the entities share one classification of HR zone or they will have their own unique HR zone with linkage to parent classification HR zone?
How the graph edge between an entity and  its classifications should be described to keep the consistency from OM types?

Answers and decisions after discussion with @mandy-chessell and @DimitriosMaimaris :

Classifications in OM type definitions are self-contained properties in entities. For the graph context, we will create separate vertexes for any classifications that attached with that entity. And there are two properties describing the edge between classification vertex and entity vertex:

name: will be filled from classification name
guid: will be filled with the same guid from classification with a random UUID generated during vertex creation.

For the classification vertex, all the properties will be replicated from the classified entity.

@GuyAckermans  and @DimitriosMaimaris  These are some discussions before.


Add Wifi Hotspot

Hello
Is possible to add this to your script?
It creates automatic a wifi hotspot
https://github.com/arm358/Raspberry-Pi-Automated-WiFi-Access-Point
Instructions
git clone https://github.com/arm358/Raspberry-Pi-Automated-WiFi-Access-Point
cd Raspberry-Pi-Automated-WiFi-Access-Point
sudo chmod +x setup.sh
./setup.sh
Thanks

If you want to try your hard to making a script go for it.
I don't see it getting much use of any. Other then you since you had the suggestion.
But I will add it to the back burner. I have a other things I believe that will get more use

Thanks
By the way unreal tournament is failed to download the patch url not found error


build(deps): bump nodejs version to 16.18

Align Node version to Node v16.18.x LTS, similar to what is done on project okp4/portal-web.

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


Fix scheduler and controller selectors for Kubespray

Commit 116a42ae changes 'component' label to 'k8s-app' which is not correct for Kubespray deployments.

Thanks :+1:


Missing something in DDGM example

Hi,
I might be missing a step here but in your explanation for the reparameterization trick you state the following formula

And I can see $i$ as an argument, but I fail to see how you are using it in this function - could you explain what I missed?
def reparameterization_gaussian_diffusion(self, x, i):
    return torch.sqrt(1. - self.beta) * x + torch.sqrt(self.beta) * torch.randn_like(x)

Hi!
Yes, that is true. In the implementation, I use the simplest version where beta_i = beta for all i=1, ..., L, i.e., we use a single value of beta. However, having beta_i, i.e., beta dependent on i, is the way to go to obtain better results.

That makes sense, thanks for the quick response and thanks for this excellent resource


Remove wildcard permission from clusterrole

Signed-off-by: Zack Layne<EMAIL_ADDRESS>Related issue: https://github.com/stolostron/backlog/issues/22961

/cc @KevinFCormier

/lgtm


Node Editor in Android

Hi everyone :)
I am trying to build a Android application with Node Editor features to perform basic logical application (e.g. if / else)
However since Smartphone only allows pressing operation, I am trying to figure out how to add node (e.g. AllRoundNode) by pressing a button on SideGui() as demonstrated in RunTimeNodeEditor.
Could anyone please guide me a way to achieve such operation? I am a bit lost after reading the "ContextCallback" function ....

ContextCallback receives a NodeEditorMenuCallback input variable to decide what to do.
NodeEditorMenuCallback has 4 fields: message, canvas, editor and contextClickPos.
message is a string representation of the command (deleteNode, duplicateNode, startTransition) or the ID of the node to add (allaroundNode for your case).
The next two fields are the canvas and editor where the operation will be performed. If you only have one canvas/editor, then you can simple pass NodeEditor.curNodeCanvas and NodeEditor.curEditorState.
The last field contextClickPos is the position in your screen where the node will be added/changed.
To summarize, you can just call:
NodeEditorMenuCallback cb = new NodeEditorMenuCallback("allaroundNode", NodeEditor.curNodeCanvas, NodeEditor.curEditorState);
cb.contextClickPos = new Vector2(200, 200);
NodeEditor.ContextCallback(cb);

Sorry I missed this issue for some reason.
Afaik touchscreen controls do already work, atleast they do on my tablet. Context click should be triggered through holding the touch for a sec, and the the context menu should pop up as normal...
If that does not work for some reason, what pmhpereira says is correct so you could mimic that functionality with buttons on the side panels.

I tested on my phone and the context menu only shows when touching with two fingers, but you can't select an option.

Hm, I thought the touch behaves the same on every device. Maybe it's a difference because my tablet has windows 8 not android. I'd first try to emit a right click event on android when the click lasts for more than 0.5 secs or so if that is possible, it wouldn'T require you to rewrite the wholecode much. This would be done in the Update function I guess...

Hello pmhpereira and Seneral ! Thank you for the advise!
I also tried it on my Android Phone, but with the same situation of only shows the context menu with two fingers touching.
I have used "#If UNITY_ANDROID" inside the InputEvents() with touch phase function, please see below. However, I am thinking if in mobile application, the contextMenu should still exist after moving out your finger unless further touching by the user
`
#if UNITY_ANDROID
foreach (Touch touch in Input.touches)
{
switch (touch.phase)
{
case TouchPhase.Began:
previous_touch_time = Time.time;
break;
                case TouchPhase.Stationary:
                    curEditorState.dragNode = false;
                    curEditorState.panWindow = false;

                    if (curEditorState.focusedNode != null)
                    { // Clicked a Node
                        if ((Time.time - previous_touch_time) > 1)
                        { // Detect click on a connection knob
                            if (!CanvasGUIToScreenRect(curEditorState.focusedNode.rect).Contains(touch.position))
                            { // Clicked NodeEdge, check Node Inputs and Outputs
                                NodeOutput nodeOutput = curEditorState.focusedNode.GetOutputAtPos(touch.position);
                                if (nodeOutput != null)
                                { // Output clicked -> New Connection drawn from this
                                    curEditorState.connectOutput = nodeOutput;
                                    return;
                                }

                                NodeInput nodeInput = curEditorState.focusedNode.GetInputAtPos(touch.position);
                                if (nodeInput != null && nodeInput.connection != null)
                                { // Input clicked -> Loose and edit Connection
                                  // TODO: Draw input from NodeInput
                                    curEditorState.connectOutput = nodeInput.connection;
                                    nodeInput.RemoveConnection();
                                }
                            }
                        }
                    }
                    if ((Time.time - previous_touch_time) > 1)
                    {
                        // Editor Context Click
                        GenericMenu menu = new GenericMenu();
                        if (curEditorState.connectOutput != null)
                        { // A connection is drawn, so provide a context menu with apropriate nodes to auto-connect
                            foreach (Node node in NodeTypes.nodes.Keys)
                            { // Iterate through all nodes and check for compability
                                foreach (NodeInput input in node.Inputs)
                                {
                                    if (input.type == curEditorState.connectOutput.type)
                                    {
                                        menu.AddItem(new GUIContent("Add " + NodeTypes.nodes[node].adress), false, ContextCallback, new NodeEditorMenuCallback(node.GetID, curNodeCanvas, curEditorState));
                                        break;
                                    }
                                }
                            }
                        }
                        else if (curEditorState.makeTransition != null && curEditorState.makeTransition.AcceptsTranstitions)
                        { // A transition is drawn, so provide a context menu with nodes to auto-connect
                            foreach (Node node in NodeTypes.nodes.Keys)
                            { // Iterate through all nodes and check for compability
                                if (node.AcceptsTranstitions)
                                    menu.AddItem(new GUIContent("Add " + NodeTypes.nodes[node].adress), false, ContextCallback, new NodeEditorMenuCallback(node.GetID, curNodeCanvas, curEditorState));
                            }
                        }
                        else
                        { // Ordinary context click, add all nodes to add
                            foreach (Node node in NodeTypes.nodes.Keys)
                                menu.AddItem(new GUIContent("Add " + NodeTypes.nodes[node].adress), false, ContextCallback, new NodeEditorMenuCallback(node.GetID, curNodeCanvas, curEditorState));
                        }
                        menu.ShowAsContext();
                    }
                    break;

                case TouchPhase.Moved:
                    break;

                case TouchPhase.Ended:
                    break;
            }

#endif`

I'm not sure if @Seneral ever thought of supporting this plugin in mobile devices (he said it works for Windows tablet, but possibly because it automatically emulates finger touches as mouse clicks, like a native Windows computer).
If we were to support this, I think the best approach would be to have a separate class managing the input state (one implementation for computers and one for mobile devices) and have the remaining code querying it.
@Seneral, your thoughts?

I did not actively wanted to support this but if @zardchim needs this, we can resolve this together. So, it seems only context clicks are not supported so far. I can take a look at how I can emulate it.

@Seneral  Thank you very much for the help!
Currently I am looking at a simpler way to connect node together on smartphone (e.g. by simply touching on the connection knobs consequently, a line will be automatically formed in between).
Besides, I hope to use such node editing feature to perform programming flow (e.g. if / else logical operation with input and output), thus to control an Arduino boad.
I really appreciate if you can help me, but please also advise direction / functions to me so I can work on together :) !

@zardchim, you should start by checking #37. It's currently being implemented and it is a functionality that will allow Node_Editor to call methods from any gameobject in the scene.
Building logical nodes is somewhat easier and you can start doing it yourself. It's just a matter of creating a new BoolType (currently there is a FloatType only) and implement the nodes you need (just check the default ones), which compare two inputs and output the result of the logical operation.

I've no experience with an Arduino board or similar, but there's some things to consider regarding the conditional operations.
The calculation system is only there to calculate/evaluate objects, it will visit every branch if possible and is not able to apply if/else statements in a sense that you go along a branch, if you understand what I mean. For instance you can create a bool type like @pmhpereira said but it will not help you perform that conditional operations, but only to calculate that bool value.
For this the transitioning system is built, it will allow you to move along paths based on conditions (when it's finished). Another thing I consider to add to the calculation system is something like output blocking so you can apply conditional oeprations without the transitioning system.
Before going any further though, do you have the Arduino API accessable from withing Unity? Then it'll be a first step to expose it to the user through nodes, atleast for the most common ones. It's not adviseable to always rely on the action node as it has alot of overhead compared to a normal node (when it's even implemented).
After this step I can help you with the logical programming flow part with the conditional operations:)

@Seneral  Thank you very much for the advise!
For the Arduino API, I used a simple serial interface to communicate and control. The computer will receive information from the arduino regularly, and can control the Arduino by sending serial message in the form of text "A", "B", "C". I will wrap the communication as a function, so the logical programming flow should be like:
I have a input node, that can get value by calling a function.
The value is further operated / determined through logical operation node like "If/else" , "and/or".
The result will be transmitted to a output node, and a output function will be called.
I believe most of the features are being implemented, however in Android, I find the popup menu like "UnityEditor.EditorGUILayout.EnumPopup" in CalcNode cannot be displayed, do you have suggestion on this? I also tried to popup a menu when pressing a button in the sideGUI() of RuntimeNodeEditor, but it shares the same problem .... >.<

@zardchim, you can see which custom UI elements are available in RTEditorGUI.cs. As of now, all the Popup elements are yet to be implemented. The remaining things work.
The problem with displaying the native ones at runtime is that you need to #import UnityEditor, which is impossible to do in a build. The alternative is to have our custom UI elements, which don't need UnityEditor.

Ok, so this could be done connections which will be blocked, that will be the most convenient and cleanest solution. I'll try to get to that feature tomorrow, if you can't wait it should be hard to implement (add a variable/function fo the blocking state to NodeOutput and let the calculation system (in NodeEditor.cs) handle that) :)

@pmhpereira  @Seneral  Thank you very much for the advise :)
I see, so UnityEditor.EditorGUILayout cannot be used in android while GUILayout can.

Any news on this? Did you implemented an alternative solution? ;)

@Seneral
I have been working on using the nodes to do basic control to the arduino and it works on PC, e.g. use a variable node to send command to a "LED node" to control the lightness.
However, the interface is not user-friendly on Android ... I need to press stationary on screen to popup the AddMenu and select which node to add. Besides I am thinking alternative way to replace PopUp element.
I am struggling on the scale of gui on different screen, for now different nodes are generated like node.rect = new Rect(pos.x, pos.y, 100, 50), I have replaced some of them to         node.rect = new Rect(pos.x, pos.y, (Screen.width*4/5)/5, Screen.height/7) in order to perform adaptive sizing, however is there a clever way to do so?

Than you'll be delightful to hear that I'm reworking the Input system. This will primarily seperates every control from each other and removes the mess the input function is atm, but this will also help to reassign, change and add new hotkeys and controls:)
For example you could add the ability to show the context with a double-tap instead of just the right-click.
Regarding screen dpi, it might work to use the zooming system. It works in a way that allows to manually modify the zoom and it persists (zooming only adds/substracts from the zoom factor). So you could set the zoom value apropriately on small screens depending on the Screen.dpi (or similar). Tell me if that works! :)

@Seneral
Sometimes when I connected blocks, an error "GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)" appeared. I discovered the problem arise when I try to connect 2 knobs, after I clicked one knob and pull to somewhere else, if the MouseUp position is inside a Node, the bug appear.
It may be possible related to the code below, and the error is "NullReferenceException: Object reference not set to an instance of an object
NodeEditorFramework.NodeEditor.InputEvents () (at Assets/Script/Plugins/Node_Editor/Framework/NodeEditor.cs:529)
NodeEditorFramework.NodeEditor.DrawSubCanvas (NodeEditorFramework.NodeCanvas nodeCanvas, NodeEditorFramework.NodeEditorState editorState) (at Assets/Script/Plugins/Node_Editor/Framework/NodeEditor.cs:180)
NodeEditorFramework.NodeEditor.DrawCanvas (NodeEditorFramework.NodeCanvas nodeCanvas, NodeEditorFramework.NodeEditorState editorState) (at Assets/Script/Plugins/Node_Editor/Framework/NodeEditor.cs:135)
RuntimeNodeEditor.OnGUI () (at Assets/Script/Plugins/Node_Editor/RuntimeNodeEditor.cs:75)
UnityEngine.Debug:LogException(Exception)
RuntimeNodeEditor:OnGUI() (at Assets/Script/Plugins/Node_Editor/RuntimeNodeEditor.cs:86)
"
`               case EventType.MouseUp:
                if (curEditorState.focusedNode != null && curEditorState.connectOutput != null)
                { // Apply Drawn connections on node if theres a clicked input
                    if (!curEditorState.focusedNode.Outputs.Contains(curEditorState.connectOutput))
                    { // An input was clicked, it'll will now be connected
                        NodeInput clickedInput = curEditorState.focusedNode.GetInputAtPos(e.mousePosition);
                        if (clickedInput.CanApplyConnection(curEditorState.connectOutput))
                        { // It can connect (type is equals, it does not cause recursion, ...)
                            clickedInput.ApplyConnection(curEditorState.connectOutput);
                        }
                    }
                    e.Use();
                }`

I also experienced this sometimes but never was able to reproduce it. I restructured this section a bit though and since did not experierenced that problem again, so I think that fixed it:)

@Seneral
I have git cloned a clear copy from the github and test again, and am able to reproduce the problem.
The procedure is : left click a knob and pull a wire from it, if the cursor position is inside a node when you mouseUp, the error appear.

Ah ok, reproduced that too. I already fixed that though (because I though what the heck did I do there lol), and due to some other changes I cannot directly map that fix to the current version. The following should do it though:
if (curEditorState.focusedNode != null && curEditorState.connectOutput != null)
{ // Apply Drawn connections on node if theres a clicked input
	NodeInput clickedInput = curEditorState.focusedNode.GetInputAtPos(e.mousePosition);
	if (clickedInput != null && clickedInput.CanApplyConnection(curEditorState.connectOutput))
	{ // It can connect (type is equals, it does not cause recursion, ...)
		clickedInput.ApplyConnection(curEditorState.connectOutput);
	}
	e.Use ();
}

Won't be able to respond for the next hours though:( Hope that does it for you;)

@zardchim As I said I've been working on a new Input system for the canvas groups #41 (someone on the Unity Forums wants to work in them). It is basically finished and I'll soon create a commit (probably tomorrow). It is WAY cleaner and WAY easier to add new controls to or change existing ones:)

@Seneral
It looks really awesome !!!!!!!!!!
Thumb up for thousand times (Y) (Y) (Y) !!!!!!!

Here it is 8baf1fd! Enjoy! ;)
Well it should greatly ease the creation of new controls, especially for Android! You can just add new EventHandler/Hotkey attributes to the existing controls when on android (preprocessor checks?) to provide additional ways to access these controls.
Please report back if that fits your needs, @zardchim !

@zardchim Hey, any news? I'm very interested if you managed to adapt the controls to touch:)
Additionally, I recently got the chance to work with Arduinos for a weekend, and I immediately thought about your goal. I'd really like to see what you've done so far, even if it just works on the PC right now;)


[main] Update actions

Cron -knative-prow-robot
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-actions
Details:

/retest

/retest

/retest

/retest


Scons 4.2.0 and Python 3.10: test SCons/ActionTests.py failed

Please, see the discussion of this problem in scons-users mailing list.

While running Scons tests with python 3.10.1 the SCons/ActionTests.py failed for Python 3.10 with error:
FAIL: test_function_contents (__main__.ObjectContentsTestCase)
Test that Action._function_contents works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-util/scons-4.2.0-r2/work/scons-4.2.0/SCons/ActionTests.py", line 2258, in test_function_contents
    assert c == expected[sys.version_info[:2]], "Got\n" + repr(c) + "\nExpected \n" + "\n" + repr(
AssertionError: Got
bytearray(b'3, 3, 0, 0,(),(),(|\x00S\x00),(),()')
Expected

bytearray(b'3, 3, 0, 0,(N.),(),(|\x00S\x00),(),()')

Is it realy expected value for Python3.10 as mentioned in https://github.com/SCons/scons/blob/9e1168ab8f500ee8602a1098050d38c3ee1e3260/SCons/ActionTests.py#L2254 ?
For Python 3.9 the expected value is bytearray(b'3, 3, 0, 0,(),(),(|\x00S\x00),(),()').
Should for Python 3.10.1 expected the same value instead of current expected value?
The problem doesn't present when build scons and run tests with Python 3.10.0.

Version of SCons : 4.2.0
Version of Python : 3.10.1
How you installed SCons : Gentoo package
What Platform are you on? (Linux/Windows and which version) : Gentoo Linux

Fixed in commit f21b2dd4af2874401eac65f24ef5142216e0a284


Add dataset definition for Dementia (DEM) case register (DEM_REG)

Dementia Register: Patients with a dementia diagnosis up to the end of the reporting period.
The rules for the all QOF registers and indicators are available here The specific rules for each indicator are in the section <IP_ADDRESS> of selected document; in this case: e.g., Dementia_v49.0.docx.
Rule description or comments

Rule 1: GMS registration status

Select patients who, on the achievement date, were registered for GMS. I.e., registered for GMS prior to or on the achievement date and either:

did not subsequently deregister from GMS, or
deregistered from GMS after the achievement date.

Reject the remaining patients.

Rule 2: Dementia diagnosis

Select patients from the specified population who have a dementia diagnosis recorded up to and including the achievement date. Reject the remaining patients.
Implementation details
Impletement the QOF Dementia indicator (V49; all patients with dementia should have annual personalised care plan review) for the NHS Financial Year 1st April 2023 to 31st March 2024.
Implementation steps
SETTING UP

Create your workspace:

create a new branch to the Github OpenSafely QoF repository using your username, e.g. <github-username>/add-dem-reg
then create a Github codespace in the new branch

Import the neccessary codelist into codelists.txt file in your newly created codespace:

Go to OpenCodelists and search for DEM_COD
Copy the part of the URL that specifies the codelist nhsd-primary-care-domain-refsets/dem_cod/20210127 into the codelists.txt file in the codelists folder
Next, run this command in the codelist terminal: opensafely codelists update
This will import the .csv file containing the DEM_COD codelist into the codelist folder. You can display the .csv file by clicking on it. You will notice there are two columns: code and a reference column term. You will use the code column to define the dataset later on.

The analysis folder in the codespace contains the files that process the data (i.e. define the study cohort, to which we will refer from now on as dataset, and then analyse this dataset). In this task, we focus solely on defining the dataset. First, in the analysis folder, create a new .py file where you will write your dataset definition, e.g. analysis/dem_reg_dataset_<your-name>.py.

DEFINING THE DATASET
All of the following steps should be coded in the analysis/dem_reg_dataset_<your-name>.py file and allow you to define the dataset:

Import TPP/EMIS tables
Create objects (vectors of strings) with the clinical codes
Create an empty dataset
Add new columns to this emty dataset. The new columns are generated from the columns available in the tables
Write filtering rules which will be applied to the new columns in the dataset
Filter the dataset using the rules.

Let's look at these steps in detail.

Import the neccessary tables from the TPP and/or EMIS databases. Tables contain patient variables, based on which we will define the dataset. EHR tables are in the long format (few columns - i.e. few variables, but multiple rows per patient). As a mininimum, most tables contain a column of a unique patient identifiers, a column with a clinical code (signifying a presecription, a clinical event, a patient characteristic, etc), and a column with a date when that clinical code was assigned. Because there can be multiple times the code is assigned (for example, think about recurrent prescriptions, recurrent hospital admissions), there will be frequently multiple rows per patient. When definiting the dataset, we will need to compress it to just one row, for example, by choosing the first date the medication was prescribed.

For this exercise, we will need to import tables containing information on practice registration, clinical events and patient identifiers.
We do with the following code:
from ehrql.tables.tpp import patients, practice_registrations, clinical_events

Next, we create a vector called dem_reg containing the codelist. For this, we use the column code from our .csv file in the codelists folder. In a bit, will use this vector to select patients with our clinical events of interest.

First, we have to import 'codelist_from_csv' function into our environment, using following code:

from ehrql import codelist_from_csv

Next, we create the vector of codelists:

dem_cod = codelist_from_csv(
"codelists/nhsd-primary-care-domain-refsets-dm_cod.csv",
column="code",
)

We now have to create an empty dataset. We will populate it by adding relevant information from the selected columns in the TPP/EMIS tables.

from ehrql import create_dataset
dataset = create_dataset()

Next we will populate this empty dataset by adding columns generated from the TPP/EMIS tables.

To gereate a column of patients with the diagnostic code for dementia, we first need to identify rows which contain the code for dementia, and second, since there may be multiple rows per peatient, we need to compres the table, by selecting the most recent one.
This:
clinical_events.where(clinical_events.snomedct_code.is_in(dem_cod))
identifies the rows with a dementia diagnosis.
This:
[...].sort_by(clinical_events.date).last_for_patient()
arranges the rows by date and selects the most recent row.
This:
[...].date
allows us to extract the date for the most recent dementia diagnosis.
And this:
dataset.dem_dat =
allows us to assign the column of the most recent dementia diagnosis for each patient, to our dataset.
We put this all together by:
dataset.dem_dat = clinical_events
  .where(clinical_events.snomedct_code.is_in(dem_cod))
  .sort_by(clinical_events.date)
  .last_for_patient()
  .date

Similar steps should be followed to determine practice registration reg_dat and deregsitration dereg_dat dates, using practice_registration tables.

Next, write rules that allow us to filter the dataset.

This requires us to define the index date:
index_dat = "yyyy-mm-dd"

For dementia patients this would be:
rule_dem = dem_dat < index_dat & ~dem_dat.is_null()

Remeber to also create a rule for registration: rule_reg =...

Finally, we use these rules to filter the dataset, using the following code.

The logic can be combined using & (AND), | (OR), ~ (NOT) operators.
dataset.define_population(rule_dem & rule_reg)

CREATE WORKFLOW THAT WILL GENERATE YOUR DATASET USING ITS DEFINTION

Now that we created the definition of the dataset, we have to update our project pipeline to execute this definition and generate the dataset into the output folder. Note, to save space, all outputs should be generated as zipped .gz files.

We do this by writing the following in the project.yaml script:
execution:
opensafely exec ehrql:v1 generate-dataset analysis/dem_reg_dataset_<your-name>.py
--output output/<dataset-name>.csv.gz

Notes on running ehrql and checking your code
The codespace used by OpenSAFELY does not allow to run the script lines one by one.
All the script is always run top to bottom, all lines included.
That's why after writing every line of code in the data definition file, it is good checking that it runs, so that bugs are fixed immediatly.
We do it by typing the following in the terminal:
opensafely exec ehrql:v1 generate-dataset analysis/<dataset-script-name>.py
If we want to test & try by running individual lines, we can open a "sanbox" in the terminal (ideally by splitting the terminal into two).
We may need to load example data first (typing in the terminal):
opensafely exec ehrql:v1 dump-example-data
And then:
opensafely exec ehrql:v1 sandbox example-data
This allows us to run indvidual lines by typing them in the sandbox terminal.
To exit the sandbox, we type:
opensafely exec ehrql:v1 sandbox exit()
Acceptance criteria

Import the required codelists

[ ] DEM_COD

Identify and/or create the variables needed for the dataset definitions

[ ] index_dat
[ ] dem_dat
[ ] reg_dat
[ ] dereg_dat

Create the dataset rules using the above definitions

[ ] Rule 1: rule_dem
[ ] Rule 2: rule_reg

Add an action the to the dataset definitions in the project.yaml file

[ ] Add execution of definition to project.yaml

@atamborska this looks great, you could try implementing this if you have some time this week. in case you get stuck we can look at your questions next week when I'm back


[documentation] grammatical fixes for deepspeed.mdx

This pull request contains minor grammatical changes to a documentation file that do not effect the ideas communicated in the document.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


move admin workstation creation over to gkeadm

1.3 will bring a new method for bringing up the admin workstation: gkeadm. We should align with the product direction and use gkeadm instead of terraform for the admin workstation bring up moving forward.

We have a need to deploy older versions to be able to test upgrades. I would really appreciate maintaining backwards compatibility at least one minor version back. So maybe until 1.4.0 is released keep a way to deploy 1.2.x.

Thanks for the feedback on what you'd need for your use case.
I think we can do a version check and use the terraform method for anything pre 1.3. We have something similar in place currently on the bundled load balancer.
At a minimum, users will always be able to deploy just the vsphere components and then choose their version Anthos and how they want to deploy it, but I'd like to try to keep both methods in the code.


HDDS-8546. Ozone debug chunkinfo command throws GroupMismatchException for closed container

What changes were proposed in this pull request?
Fix ozone debug chunkinfo command to work on keys that are present in closed containers, The issue was that the xceiverclient was trying to acquire the original pipeline from the keylocation which gets closed on container/pipeline close.

The fix is to use the separate standalone pipeline instance for read.

      containerOperationClient.readContainer(
          - keyLocation.getContainerID(), keyLocation.getPipeline());
          + keyLocation.getContainerID(), pipeline);

Also closed client instances by enclosing in try with resources to prevent any leaks.
Added TestOzoneDebugShell to test this

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8546
How was this patch tested?
Added a unit test

Thanks @sadanand48 for updating the patch, LGTM.

Thanks @dombizita for the review.


cannot clone VM with --cspec StaticSpec

knife vsphere vm clone test3 --template dev_template --cspec StaticSpec --cips <IP_ADDRESS>
ERROR: RbVmomi::Fault: NotFound: The object or item referred to could not be found.
Listing template just fine:
knife vsphere template  list
Template Name: dev_template
If   --cspec   is not specified got diff error:
knife vsphere vm clone test --template dev_template
Cloning template dev_template to new VM test
ERROR: RbVmomi::Fault: NicSettingMismatch: fault.NicSettingMismatch.summary
Anything missing on how to create VM?

Do you have a customization spec called StaticSpec in your vcenter server? What about running knife vsphere vm clone test3 --template dev_template --cips <IP_ADDRESS>/24?

did that and ruin into diff error:
ERROR: RbVmomi::Fault: UncustomizableGuest: Customization of the guest operating system 'centos64Guest' is not supported in this configuration. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Refer to vCenter documentation for supported configurations.
 On Friday, March 27, 2015 1:48 PM, Sean Walberg<EMAIL_ADDRESS>wrote:

Do you have a customization spec called StaticSpec in your vcenter server? What about running knife vsphere vm clone test3 --template dev_template --cips <IP_ADDRESS>/24?—
Reply to this email directly or view it on GitHub.

It sounds like your template needs the vmware tools updated. Can you convert it to a VM, update the tools, wipe the network config (rm /etc/udev/rules.d/70-persistent-net.rules /etc/sysconfig/network-scripts/ifcfg-eth0; sync; halt) and convert it back to a template? Then, try again.
This plugin works by telling the VSphere API what to do with the instance, which VMWare then does by communicating through the VMWare tools. If it's not supported by VMWare and the tools that the template starts with, there's not a lot we can do.
If the VMWare tools update doesn't work, what version of VSphere are you running? I know this works on 5.0, because our CentOS 6.5 templates use LVM.

Working great now. I've done the following to fix my problem:- added customization spec on ESX server.- changed metadata for OS name from centOS to read hat. Thanks for your help!
 On Friday, March 27, 2015 3:14 PM, Sean Walberg<EMAIL_ADDRESS>wrote:

It sounds like your template needs the vmware tools updated. Can you convert it to a VM, update the tools, wipe the network config (rm /etc/udev/rules.d/70-persistent-net.rules /etc/sysconfig/network-scripts/ifcfg-eth0; sync; halt) and convert it back to a template? Then, try again.This plugin works by telling the VSphere API what to do with the instance, which VMWare then does by communicating through the VMWare tools. If it's not supported by VMWare and the tools that the template starts with, there's not a lot we can do.If the VMWare tools update doesn't work, what version of VSphere are you running? I know this works on 5.0, because our CentOS 6.5 templates use LVM.—
Reply to this email directly or view it on GitHub.

Glad to hear that it's working!


Stellar - Accounts should be created for every new 3bot user

[x] There should be a service that can be called to create new accounts
[x] This service needs to be called for every newly created 3botaccount
[ ] Improve UX -> error page for SMS is bad

Link to doc
Why blocked?

Uncommitted @JonasWijne

@KristofVanstappen Need copywrite for "Please send SMS to and click here when done"


Wrong class name.

Wrong class name.

Javadoc on line 142 still refers to StaticInterceptor:
		    * Builder which builds new instance of the StaticInterceptor.
Also please include the apache issue id in the commit message.
Thanks!

LGTM +1


Fetch users e-mail address from Altinn profile into receipt page

Description
As a user I want my e-mail to pre-filled after I submit a form. This e-mail address is for sending a receipt of a completed form.
Screenshots

Screenshots or links to Figma (make sure your sketch is public)

Considerations
Acceptance criteria

What is allowed/not allowed (negative tesing)
Validations
Error messages and warnings
...

Tasks

[ ] Look into how this should work if the user is representing an organization.
[ ] Implement

Related to profile options where a user can set that receipts should be sent to KRR e-mail.


Puzzled about the calculation of energy MAE loss

Thanks for your great work! Recently, I began to read the codes but encountered a problem. In the IS2RE task, I found the way to calculate the energy loss is in the following codes link.
        relaxed_energy = sample["targets"]["relaxed_energy"]
        relaxed_energy = relaxed_energy.float()
        relaxed_energy = (relaxed_energy - self.e_mean) / self.e_std
        sample_size = relaxed_energy.numel()
        loss = F.l1_loss(output.float().view(-1), relaxed_energy, reduction="none")
        ...
        loss = loss.sum()

Then when print the loss, you do the following conversion link:
        loss_sum = sum(log.get("loss", 0) for log in logging_outputs)
        ...
        sample_size = sum(log.get("sample_size", 0) for log in logging_outputs)
        mean_loss = (loss_sum / sample_size) * IS2RECriterion.e_std

After careful consideration，I can't agree that the above result is equal to the original meaning of MAE of energy, which should simply be :
loss_sum = F.l1_loss(output, relaxed_energy, reduction="none").sum()
loss = loss_sum / sample_size

Since this problem should be important, hope to receive your kindly response.
Best regards.

Would you elaborate more about your question?

@zhengsx Hi, I feel sorry to tell you that I have made a mistake. The way Graphormer calculates energy MAE loss is quit right. It is me who misunderstanded the method to handle it.


Seems that compressing is not supported?

With Accept-Encoding: "gzip, deflate, br" header set, sse returned event got error triggered insdead of normal events

After reading the comment of http.Transport.DisableCompression and did an experiment, Accept-Encoding: "gzip" seems more natural and working well way to enable compression


kismet: 2023-07-R1

Changes to allow cross-compile builds with pkgsCross
See: https://gist.github.com/pete3n/4d997ee43277d31e2d7ee2a987018f5f
Description of changes

Added pre-configure export of pkg-config path to prevent breaking in configure script during cross-builds
Added config flags for protoc and protoc-c to prevent missing dependencies during cross-builds
Set withPython default to false to prevent cross-build breaking issues I have not solved yet

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[x] 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
[x  Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Try this:
--- a/pkgs/applications/networking/sniffers/kismet/default.nix
+++ b/pkgs/applications/networking/sniffers/kismet/default.nix
@@ -1,5 +1,6 @@
 { lib
 , stdenv
+, autoreconfHook
 , binutils
 , elfutils
 , fetchurl
@@ -20,7 +21,7 @@
 , python3
 , sqlite
 , withNetworkManager ? false
-, withPython ? true
+, withPython ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
 , withSensors ? false
 , zlib
 }:
@@ -37,6 +38,8 @@ stdenv.mkDerivation rec {
   postPatch = ''
     substituteInPlace Makefile.in \
       --replace "-m 4550" ""
+    substituteInPlace configure.ac \
+      --replace "pkg-config" "$PKG_CONFIG"
   '';

   postConfigure = ''
@@ -47,8 +50,13 @@ stdenv.mkDerivation rec {
         -i Makefile
   '';

+  strictDeps = true;
+
   nativeBuildInputs = [
+    autoreconfHook
     pkg-config
+    protobuf
+    protobufc
   ] ++ lib.optionals withPython [
     python3
   ];

Nick,
Thanks very much for  this. Here are my results:
, withPython ? stdenv.buildPlatform.canExecute stdenv.hostPlatform

This seems to have inverted the previous results. Now cross-compile builds run with pkgsCross build but native builds with pkgs throw the Python dependency error previously seen with the cross-builds.
Builds
x86_64-linux NixOS 23.11 (no binfmt emulation)

pkgsCross.aarch64-multiplatform.kismet [x]
pkgs.kismet [] -- fails with Python dependency
pkgs.kismet - withPython false [x]

x86_64-linux Debian 11 (no qemu-user-static)

pkgsCross.aarch64-multiplatform.kismet [x]
pkgs.kismet [] -- fails with Python dependency
pkgs.kismet - withPython false [x]

aarch64-linux Ubuntu 22.04

pkgs.kismet [] -- fails with Python dependency
pkgs.kismet - withPython false [x]

This seems to have inverted the previous results.

Oh that was a typo, try inverting it again.

Now cross-compile builds run with pkgsCross succeed but native builds with pkgs throw the Python dependency error previously seen with the cross-builds.

This could be the strictDeps.

Now cross-compile builds run with pkgsCross succeed but native builds with pkgs throw the Python dependency error previously seen with the cross-builds.

This could be the strictDeps. Try moving everything python to nativeBuildInputs

That was it. I moved the conditional Python dependencies into the nativeBuildInputs and now all build scenarios are completing. I updated the PR with these changes. Thanks for your help. I'll be happy to see this get merged up.

Result of nixpkgs-review pr 276038 run on x86_64-linux 1

1 package built:

kismet

Also please squash the commits and fix the commit message, it should look like kismet: fix cross compilation


cant download from youtube with -best -bestaudio

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE
cant download from youtube with -best -bestaudio  like this code
youtube-dl -best https://www.youtube.com/watch?v=gxud7UL8McM
or C:\Users\12345>youtube-dl.exe -bestaudio https://www.youtube.com/watch?v=gxud 7UL8McM
works only  C:\Users\12345>youtube-dl https://www.youtube.com/watch?v=gxud7UL8McM
and it just donwload the video, but i want the best audio forman from the video , like i donwload it before

There is no such option -bestaudio.


Fix Seamless ecosystem link (#215)

What changed? Why?
Updated the Seamless URL to include the scheme and full prefix. Fixes broken link on the ecosystem page.
Related https://github.com/base-org/web/issues/215.

Notes to reviewers
n/a
How has it been tested?
n/a

Review Error for wbnns @ 2023-12-21 02:48:36 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


Add package to homebrew-core

Expected Behavior
kubecolor is added to the main official Homebrew repo: https://github.com/Homebrew/homebrew-core
Current Behavior
We've our own tap: https://github.com/kubecolor/homebrew-tap
Context
No clue what the process is about to add a package to Homebrew. So this issue requires some research.
In the end, it'd be nice to have it in the official store, so kubecolor would also be available when searching on https://formulae.brew.sh/

https://github.com/Homebrew/homebrew-core/pull/166705


When create or rename a notebook, if 'e' is pressed and a note is displayed below, 'e' is taken for note edition

the same when typing a tag

transfered to joplin-vieweb "orga"


Connect Dialog, Attach with SAS or Connection String, "Connect" Always Enabled

Storage Explorer Version: 1.5.0
Platform/OS Version: all
Architecture: all
Regression From: yes
Steps to Reproduce:

Open connect dialog
Choose to attach with either SAS or connection string

Expected Experience:
The Connect button is not enabled because this is not the last step
Actual Experience:
The connect button is enabled

Merged into master for next major release.


Fixed path for submodulefile.

The submodulefile was searched in repo_path instead of repo_abspath, resulting
in not found submodules and an inclomplement archive.

@alehaa Do you have an example of how that can be reproduced?

@Kentzo this is embarrassing :/ Integrated the script from master in Travis CI - there it works. Seems like my local git was broken ...


Update main software repo README and clean markdown LINT errors from linked documents

@korran can you help with Lou's open questions?
@steph-morton can you take a quick look on any editorial issues? Thanks

Branch is now rebased with latest from main