36.0 update broke the icons on Project View

Left is 2020.3.2 with Material icons 35.0 vs the most recent 2021.1.1 of IntelliJ IDEA Ultimate and 36.0 on the right.
Package and Project Files views have the folders icons, and most of the files ones, but no the classes.

Solved.


Queue and Table private endpoints are also needed in Batch Pipelines

Section https://learn.microsoft.com/en-us/azure/machine-learning/how-to-secure-workspace-vnet?tabs=pe%2Ccli#secure-azure-storage-accounts mentions that you only need 'Queue' and 'Table' endpoints when using ParallelRunStep when using Private endpoints
However this is also needed when running batch endpoints, for example when running the MLops-v2 QuickStart you will encounter an error when running the deploy-batch-endpoint-pipeline https://github.com/Azure/mlops-v2/blob/main/QUICKSTART.md#inner--outer-loop-moving-to-production---azure-devops
Error received in the logs will be
The master role failed. [AccessError("Failed to create table 'prsa8cb79c6x9d7cx4487x991ax182662a8c479job' due to authorization failure. If your workspace locates inside a private network, make sure to configure private endpoints for the storage account with 'table' and 'queue' subresources. Refer to https://aka.ms/prs-private-endpoint-tip for details."),
And more related errors.
Once the endpoints for queue and table created then the error disappears.
Thanks
Shane

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

ID: 226c7926-de43-598b-d9d7-4f5f2ffbd72e
Version Independent ID: 2cf84d0c-927e-3678-4aac-ae15398a2638
Content: Secure an Azure Machine Learning workspace with virtual networks - Azure Machine Learning
Content Source: articles/machine-learning/how-to-secure-workspace-vnet.md
Service: machine-learning
Sub-service: enterprise-readiness
GitHub Login: @jhirono
Microsoft Alias: jhirono

@ShaneOsborne
Thanks for your feedback! We will investigate and update as appropriate.

@ShaneOsborne
Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

Thank you for your feedback, it is correct and let me update the doc.

@Blackmist can you update our doc?

#please-close


Fix storing storage engine tick for truncate operation (3.6)

Backporting fix for internal issue #742 to 3.6
https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/11558/

Tests blue


Fix inline diff icon hard to click

Fix #214541
This is how it works after the change
https://github.com/microsoft/vscode/assets/68118705/dfd93a25-5e01-470b-801c-4700d1816a99

@alexr00 Hi, do you have time to review this? It's been half a month, pinging just in case you missed it

Thanks for the ping, I wasn't aware of this PR!

This seems ok to me. @alexdima and @aeschi for linesDecorations and folding, respectively.

I think you pinged the wrong person, should probably be @aeschli

@Legend-Master you are correct, thanks!

Moving to July while we wait for @aeschli and @alexdima to take a look.

@alexr00 Looks good to me!

@alexdima Hi, it's been more than 2 months, do you have time to take a look?

Is this still relevant?


cookie authentication with session_id?

How can I have a prompt for adding a session_id inside my cookie so I can authenticate with my requests? I'm not using the Authorization bearer scheme.

You can now set securitySchemes as an option on your generateOpenApiDocument function.
Try this! 👇
const openApiDocument = generateOpenApiDocument(appRouter, {
  title: 'tRPC OpenAPI',
  version: '1.0.0',
  baseUrl: 'http://localhost:3000/api',
  securitySchemes: {
    CookieAuth: {
      type: 'http',
      scheme: 'cookie',
      in: 'cookie',
      name: 'session_id',
    },
  },
})

Sick!! Thank you!


issue #62 Changes done for Docker Integration Tests to run them regularly

…arly

Disabling Read/Write Suite as they consume lot of time and need fixing
Fix the TestSparkSession so that it can be used
Disable Parallel Execution

(cherry picked from commit 0691116ea72d2b141948c44fff26a793a398cfc6)

opening


Job Launcher - Verify sender of crypto payment

Description
Add a signature verification to payment/crypto endpoint to make sure the requester actually sent the transaction.
Motivation
We need to verify that the requester is who actually sent the payment.
Implementation details
Add a signature to payment/crypto payload and verify that the message has been signed by the same address that sent the transaction hash.

Touhid


Campaign workflow discussion

Meta-issue to track some open issues / discussion points from campaign automation PR

[ ]  eu-addr2line sometimes returns non-0 exit code....I just muted it, but maybe not all the output is there..
[ ] since smatcher is doing the smatch line matching, and can also consume input from the ghidra path, can we remove that smatch match feature from fast_matcher and rename the tool to something more obvious, like edges2lines?
[ ] global resources created by make prepare  should have separate location, like $ASSET_ROOT=$BKC_ROOT/assets/
[ ] smatch audit should be done for current selected config and kernel tree. It would be good to have a check for this at least, or even better output directly to ASSET_ROOT/<version/config-hash>/. OTOH smatch audit always takes a couple minutes and is something we may often want to skip....e.g. pipeline.py --skip-smatch?
[ ] all the fuzz.sh jobs can be turned into single parametrized task abstraction?
[ ] not using much of parsl in the end, and the cloud/cluster abstractions are probably also half broken. perhaps we can switch this pipeline to multiprocess.pool() now?
[ ] look at campaign stats and tune harness configuration, document expected results

Also, final smatcher report has not been added to pipeline.py

need to separate the output (report) from stdout/stderr
don't abort on broken workdir, just report and keep going
directly scan for workdirs/addr2line inputs so user can supply single campaign dir
render a simple html page?

kAFL workdirs should be in /dev/shm for better perf and then moved to storage folder. Here is another reason:
Launching kAFL with workdir /home/steffens/data/campaign-2022-10-19-test-pipeline/BPH_HANDLE_CONTROL_MESSAGE/workdir_8z9no8xn..
[...]
  File "/home/steffens/ccc/kafl/fuzzer/kafl_fuzzer/manager/communicator.py", line 30, in __init__
    self.listener = Listener(self.address, 'AF_UNIX', backlog=1000)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 448, in __init__
    self._listener = SocketListener(address, family, backlog)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 591, in __init__
    self._socket.bind(address)
OSError: AF_UNIX path too long

(Longer term, the sockets + named shm files used by kafl/qemu should be separated from the workdir..)

In pipeline.py, the task for summarize.sh generates the summary.html but does not produce associated decoded stack traces. The necessary jobs are written to stack_decode.lst, we just need to run them.

pipeline.py --use-fast-matcher 1 -p 16 causes 16*$(nproc) processes due to this:
https://github.com/intel/ccc-linux-guest-hardening/blob/d50c17787f5509d8933fbca7fcaaa8a656e13157/bkc/kafl/fuzz.sh#L348
Should use taskset to limit the child's visible nproc, or better run smatch directly?


Implemented multistage Dockerfile to shrink SOASuite image size

Final image size shrunk from 13.5GB to 6.37GB due to removal of intermediate installer file layers

Similar to https://github.com/oracle/docker-images/pull/952 and https://github.com/oracle/docker-images/pull/946

@ericsmalling could you please sign (or point me towards your existing) Oracle Contributor License Agreement?

I'm trying to find a new person from the SOA team to review this.

Avi the new SOA person incharged of images is Raj Venkatesan

@ericsmalling still waiting on your Oracle CLA too.

Closing due to lack of response.


Allow "wire:ref" to be assigned to multiple targets

Is your feature request related to a problem? Please describe.
I have a page with many buttons, several of which (but not all of which) I would like to have trigger the same loading state. It appears that the relationship between wire:target and wire:ref is 1 to 1 and doesn't allow 1 to many.
Describe the solution you'd like
Perhaps just allowing a wire:ref to be assigned to multiple things at the same time?
Describe alternatives you've considered
As of now, at least as far as I can tell, the only solution is to create a specific loading state for each button.
Additional context
It might also be nice to allow a loading state to have multiple targets specified for wire:target.

Ok @intrepidws, after thinking about the various options. Here's what I think is best:
<button wire:ref="foo">
<button wire:ref="bar">

<div wire:loading wire:target="foo, bar">...</div>

I implemented this in the master branch. It will be available with the next release.

Cool, thanks @calebporzio


hyper ERROR: Error from daemon's response: VM response data is nil

on Ubuntu 14.04.3 LTS , the hyper run failed  :
hyper images
REPOSITORY     TAG                 IMAGE ID                           CREATED             VIRTUAL SIZE
ubuntu         latest              a5a467fddcb8                2015-10-23 05:57:04            179.2 MB
service hyperd status

hyperd is running

hyper run ubuntu
hyper ERROR: Error from daemon's response: VM response data is nil

@zhengxiaochuan-3 , sorry for the inconvenient.
what's the hyper version (build from source or downloaded binary)? And could you paste the log file in /var/log/hyper/  .
Thank you!

@gnawux

@zhengxiaochuan-3 weird, is there anything not normal in the configuration of this machine? I think your operating system and image are both tested. And can you see any error messages when start the qemu command line manually?
qemu -machine pc-i440fx-2.0,accel=kvm,usb=off -global kvm-pit.lost_tick_policy=discard -cpu host -drive if=pflash,file=/var/lib/hyper/bios-qboot.bin,readonly=on -drive if=pflash,file=/var/lib/hyper/cbfs-qboot.rom,readonly=on -realtime mlock=off -no-user-config -nodefaults -no-hpet -rtc base=utc,driftfix=slew -no-reboot -display none -boot strict=on -m 128 -smp 1 -qmp unix:/var/run/hyper/vm-NunbJiqFZu/qmp.sock,server,nowait -serial unix:/var/run/hyper/vm-NunbJiqFZu/console.sock,server,nowait -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x2 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 -chardev socket,id=charch0,path=/var/run/hyper/vm-NunbJiqFZu/hyper.sock,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charch0,id=channel0,name=sh.hyper.channel.0 -chardev socket,id=charch1,path=/var/run/hyper/vm-NunbJiqFZu/tty.sock,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charch1,id=channel1,name=sh.hyper.channel.1 -fsdev local,id=virtio9p,path=/var/run/hyper/vm-NunbJiqFZu/share_dir,security_model=none -device virtio-9p-pci,fsdev=virtio9p,mount_tag=share_dir

@zhengxiaochuan-3
These are the information after the failure, could you paste the INFO messages before the message? And you can enable verbose log buy add the -v flag to the daemon (https://docs.hyper.sh/trouble_shooting/index.html)
And looks there is some device operation failure, did you compile qemu from source?

@gnawux
--- did you compile qemu from source
no,I just install qemu with this cmd "apt-get install qemu"
all the daemon infos :
[HYPER INFO  1101 16:32:46 03058 server.go] Calling POST /pod/run
[HYPER INFO  1101 16:32:46 03058 job.go] +job podRun({"id":"ubuntu-9105010387","containers":[{"name":"ubuntu-9105010387","image":"ubuntu","command":[],"workdir":"/","entrypoint":[],"ports":[],"envs":[],"volumes":[],"files":[],"restartPolicy":"never"}],"resource":{"vcpu":1,"memory":128},"files":[],"volumes":[],"tty":true,"type":"","RestartPolicy":""}, no)
[HYPER INFO  1101 16:32:46 03058 pod.go] {"id":"ubuntu-9105010387","containers":[{"name":"ubuntu-9105010387","image":"ubuntu","command":[],"workdir":"/","entrypoint":[],"ports":[],"envs":[],"volumes":[],"files":[],"restartPolicy":"never"}],"resource":{"vcpu":1,"memory":128},"files":[],"volumes":[],"tty":true,"type":"","RestartPolicy":""}
[HYPER INFO  1101 16:32:46 03058 pod.go] podArgs: {"id":"ubuntu-9105010387","containers":[{"name":"ubuntu-9105010387","image":"ubuntu","command":[],"workdir":"/","entrypoint":[],"ports":[],"envs":[],"volumes":[],"files":[],"restartPolicy":"never"}],"resource":{"vcpu":1,"memory":128},"files":[],"volumes":[],"tty":true,"type":"","RestartPolicy":""}
[HYPER INFO  1101 16:32:46 03058 pod.go] leveldb: not found
[HYPER INFO  1101 16:32:46 03058 pod.go] Process the Containers section in POD SPEC
[HYPER INFO  1101 16:32:46 03058 tags.go] LookupImage Name is ubuntu
[HYPER INFO  1101 16:32:46 03058 container.go] ready to get the container(224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c) info
[HYPER INFO  1101 16:32:46 03058 pod.go] The config: kernel=/var/lib/hyper/kernel, initrd=/var/lib/hyper/hyper-initrd.img
POD id is pod-chNJTxyOyO
[HYPER INFO  1101 16:32:46 03058 container.go] ready to get the container(224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c) info
[HYPER INFO  1101 16:32:46 03058 qemu_process.go] cmdline arguments: -machine pc-i440fx-2.0,accel=kvm,usb=off -global kvm-pit.lost_tick_policy=discard -cpu host -drive if=pflash,file=/var/lib/hyper/bios-qboot.bin,readonly=on -drive if=pflash,file=/var/lib/hyper/cbfs-qboot.rom,readonly=on -realtime mlock=off -no-user-config -nodefaults -no-hpet -rtc base=utc,driftfix=slew -no-reboot -display none -boot strict=on -m 128 -smp 1 -qmp unix:/var/run/hyper/vm-NunbJiqFZu/qmp.sock,server,nowait -serial unix:/var/run/hyper/vm-NunbJiqFZu/console.sock,server,nowait -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x2 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 -chardev socket,id=charch0,path=/var/run/hyper/vm-NunbJiqFZu/hyper.sock,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charch0,id=channel0,name=sh.hyper.channel.0 -chardev socket,id=charch1,path=/var/run/hyper/vm-NunbJiqFZu/tty.sock,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charch1,id=channel1,name=sh.hyper.channel.1 -fsdev local,id=virtio9p,path=/var/run/hyper/vm-NunbJiqFZu/share_dir,security_model=none -device virtio-9p-pci,fsdev=virtio9p,mount_tag=share_dir
[HYPER INFO  1101 16:32:46 03058 pod.go] Parsing envs for container 0: 0 Evs
[HYPER INFO  1101 16:32:46 03058 pod.go] The fs type is dir
[HYPER INFO  1101 16:32:46 03058 pod.go] WorkingDir is
[HYPER INFO  1101 16:32:46 03058 pod.go] Image is /224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c/rootfs
[HYPER INFO  1101 16:32:46 03058 pod.go] Container Info is
&{224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c  /224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c/rootfs dir  [] [/bin/bash] map[]}
[HYPER INFO  1101 16:32:46 03058 pod.go] container 0 created 224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c, workdir , env: map[]
[HYPER INFO  1101 16:32:46 03058 hypervisor.go] main event loop got message 22(COMMAND_RUN_POD)
[HYPER INFO  1101 16:32:46 03058 vm_states.go] got spec, prepare devices
[HYPER INFO  1101 16:32:46 03058 vm.go] hyperHandlePodEvent pod pod-chNJTxyOyO, vm vm-NunbJiqFZu
[HYPER INFO  1101 16:32:46 03058 vm.go] hyperHandlePodEvent pod pod-chNJTxyOyO, vm vm-NunbJiqFZu
[HYPER INFO  1101 16:32:46 03058 context.go] VM vm-NunbJiqFZu: state change from  to 'STARTING'
[HYPER INFO  1101 16:32:46 03058 hypervisor.go] main event loop got message 13(EVENT_INTERFACE_ADD)
[HYPER INFO  1101 16:32:46 03058 qmp_wrapper.go] send net to qemu at 21
[HYPER INFO  1101 16:32:46 03058 qmp_handler.go] got new session during initializing
[HYPER INFO  1101 16:32:46 03058 qemu_process.go] qemu daemon pid 3131.
[HYPER INFO  1101 16:32:46 03058 qemu_process.go] starting daemon with pid: 3131
[HYPER WARN  1101 16:32:56 03058 qmp_handler.go] Initializer Timeout.
[HYPER ERROR 1101 16:32:56 03058 qmp_handler.go] QMP initialize timeout
[HYPER INFO  1101 16:32:56 03058 hypervisor.go] main event loop got message 32(ERROR_INIT_FAIL)
[HYPER ERROR 1101 16:32:56 03058 vm_states.go] QMP Init timeout
[HYPER ERROR 1101 16:32:56 03058 vm_states.go] Shutting down because of an exception: Fail during init pod running environment
[HYPER INFO  1101 16:32:56 03058 context.go] VM vm-NunbJiqFZu: state change from STARTING to 'TERMINATING'
[HYPER INFO  1101 16:32:56 03058 vm.go] Get the response from VM, VM id is vm-NunbJiqFZu!
[HYPER INFO  1101 16:32:56 03058 hypervisor.go] main event loop got message 25(COMMAND_SHUTDOWN)
[HYPER INFO  1101 16:32:56 03058 vm_states.go] got event during terminating
[HYPER ERROR 1101 16:32:56 03058 init_comm.go] Cannot connect to hyper socket dial unix /var/run/hyper/vm-NunbJiqFZu/hyper.sock: connect: connection refused
[HYPER INFO  1101 16:32:56 03058 hypervisor.go] main event loop got message 32(ERROR_INIT_FAIL)
[HYPER INFO  1101 16:32:56 03058 vm_states.go] got event during terminating
[HYPER ERROR 1101 16:32:56 03058 tty.go] Cannot connect to tty socket dial unix /var/run/hyper/vm-NunbJiqFZu/tty.sock: connect: connection refused
[HYPER ERROR 1101 16:32:56 03058 init_comm.go] failed to connected to /var/run/hyper/vm-NunbJiqFZu/console.sock dial unix /var/run/hyper/vm-NunbJiqFZu/console.sock: connect: no such file or directory
[HYPER ERROR 1101 16:32:56 03058 qmp_handler.go] failed to connected to /var/run/hyper/vm-NunbJiqFZu/qmp.sock dial unix /var/run/hyper/vm-NunbJiqFZu/qmp.sock: connect: connection refused
[HYPER INFO  1101 16:32:56 03058 hypervisor.go] main event loop got message 32(ERROR_INIT_FAIL)
[HYPER INFO  1101 16:32:56 03058 vm_states.go] got event during terminating
[HYPER INFO  1101 16:33:06 03058 hypervisor.go] main event loop got message 3(EVENT_VM_TIMEOUT)
[HYPER WARN  1101 16:33:06 03058 vm_states.go] VM did not exit in time, try to stop it
[HYPER ERROR 1101 16:33:06 03058 vm_states.go] Shutting down because of an exception: vm terminating timeout
[HYPER INFO  1101 16:33:06 03058 vm.go] Got response: 7: vm terminating timeout
[HYPER INFO  1101 16:33:16 03058 qemu_process.go] kill Qemu... 3131
[HYPER INFO  1101 16:33:16 03058 hypervisor.go] main event loop got message 2(EVENT_VM_KILL)
[HYPER INFO  1101 16:33:16 03058 vm_states.go] Got VM force killed message, go to cleaning up
[HYPER INFO  1101 16:33:16 03058 vm_states.go] VM has exit...
[HYPER INFO  1101 16:33:16 03058 vm.go] Got response: 2: VM shut down
[HYPER ERROR 1101 16:33:16 03058 pod.go] VM response data is nil
[HYPER INFO  1101 16:33:16 03058 devicemap.go] need unmount aufs /224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c/rootfs
[HYPER INFO  1101 16:33:16 03058 job.go] -job podRun({"id":"ubuntu-9105010387","containers":[{"name":"ubuntu-9105010387","image":"ubuntu","command":[],"workdir":"/","entrypoint":[],"ports":[],"envs":[],"volumes":[],"files":[],"restartPolicy":"never"}],"resource":{"vcpu":1,"memory":128},"files":[],"volumes":[],"tty":true,"type":"","RestartPolicy":""}, no) ERR: VM response data is nil
[HYPER INFO  1101 16:33:16 03058 devicemap.go] remove network card 0: <IP_ADDRESS>
[HYPER INFO  1101 16:33:16 03058 context.go] VM vm-NunbJiqFZu: state change from TERMINATING to 'DESTROYING'
[HYPER ERROR 1101 16:33:16 03058 server.go] Handler for POST /pod/run returned error: VM response data is nil
[HYPER ERROR 1101 16:33:16 03058 server.go] HTTP Error: statusCode=500 VM response data is nil
[HYPER INFO  1101 16:33:16 03058 volume_linux.go] Ready to unmount the target : /var/run/hyper/vm-NunbJiqFZu/share_dir/224e97d150b67792f4423ecd1fbe34eb451ba7b86c376a3c76fe1b18c9ff017c/rootfs
[HYPER INFO  1101 16:33:16 03058 hypervisor.go] main event loop got message 14(EVENT_INTERFACE_DELETE)
[HYPER INFO  1101 16:33:16 03058 devicemap.go] interface 0 released
[HYPER INFO  1101 16:33:16 03058 vm_states.go] Unplug interface return with true
[HYPER INFO  1101 16:33:16 03058 hypervisor.go] main event loop got message 7(EVENT_CONTAINER_DELETE)
[HYPER INFO  1101 16:33:16 03058 devicemap.go] container 0 umounted
[HYPER INFO  1101 16:33:16 03058 vm_states.go] Unplug container return with true
[HYPER INFO  1101 16:33:34 03058 hypervisor.go] main event loop got message 3(EVENT_VM_TIMEOUT)
[HYPER INFO  1101 16:33:34 03058 vm_states.go] Device removing timeout

@zhengxiaochuan-3 looks the qemu didn't initialized in 10 seconds, this is not a normal case. I think reboot or restart might help...
And the current master branch improved the vm start process, you may have a try to Build from Source. And we are also planning to provide new version of binary soon.

@gnawux
system rebooted, but hyper run still failed.
ok,looking for new version of binary hyper.
thanks a lot .

@gnawux
I builded hyper from source on centos7.1 , no more this issue again.

No more issues with the master source code.


微信二维码过期，帮忙更新，谢谢！[BUG]

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
No response
期望行为 | Expected Behavior
微信二维码过期了，帮忙更新，谢谢
复现方法 | Steps To Reproduce
微信二维码过期了，帮忙更新，谢谢
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
微信二维码过期了，帮忙更新，谢谢

更新了


Bio formats 5.5.3

New post for release of Bio-Formats 5.5.3

Thanks @dgault
looks good (+1 for accent)


[Mictosoft Store] Unable to move DBeaver CE to other disk

System information:

OS: Windows 11
DBeaver version: <IP_ADDRESS>207091910
Additional extensions: None

Problem:

Trying to move DBeaver CE from C: to D:

Failed with message 'Operation finished unsuccessfully, please try again later. Error code: 0x80073d02'

This is how Microsoft Store works. You can't move applications to another location.
You can download DBeaver from dbeaver.io and put it in any location.


MongoDB 5.0 EOL in Oct 2024

MongoDB 5.0 EOL in Oct 2024
This isn't an immediate issue, but we should start analyzing the upgrade possibilities potentially targeting 7.0, that means also providing any DB scripts if any, updating docker compos files accordingly and e2e tests accordingly.
In development and e2e tests, it should be simpler, but in prod at AmLight running 5.0, they'll need to upgrade first to 6.0 to quote the docs (so this upgrade "path" also needs to be explored locally confirming that it works):

Upgrade Version Path
To upgrade an existing MongoDB deployment to 7.0, you must be running a 6.0-series release.
To upgrade from a version earlier than the 6.0-series, you must successively upgrade major releases until you have upgraded to 6.0-series. For example, if you are running a 5.0-series, you must upgrade first to 6.0 before you can upgrade to 7.0.

Potentially, to upgrade to 7.0 in prod, maybe we could also recommend bootstrapping a new replicaset cluster on 7.0 leveraging the export/dump tools since AmLight is running MongoDB in a container that should be doable, and then parametrizing the env vars accordingly, anyway just a thought but this also needs to be explored and confirmed:
mongoexport
mongoimport
mongodump
mongorestore

It'd be great to also try to tackle this adjacent DB script organization task: https://github.com/kytos-ng/kytos-ng.github.io/issues/61


Frontend JavaScript is not running in /docs

The JavaScript in GOV.UK Frontend (for example for button link shim) is not being included or run in the Prototype Kit.
UPDATE
This only affects /docs (the documentation site)

Trello ticket: https://trello.com/c/S84vYp0J/1029-frontend-javascript-is-not-being-included-or-initialised-in-the-prototype-kit


Restructure twist controller

Thanks, @ipa-fxm-mb
I really like the new structure! It will help a lot when further extending the functionality!
I created this PR for being able to leave some comments on the code....
We can discuss the comments on Monday.

I get the following SegFault when commanding twists with base_active enabled:
It's probably a dimension mismatch when adding columns for the base DoF's...
[ INFO] [1429462236.582045606, 43.040000000]: StartTracking
[ INFO] [1429462236.675248083, 43.048000000]: CobFrameTracker started WITHOUT SECURITY MONITORING
[ INFO] [1429462236.775764467, 43.072000000]: ============== START AugmentedSolver::CartToJnt ==============
[ INFO] [1429462236.780021913, 43.072000000]: Old calculation of qdot_out_vec = -2.24692e-05
-2.90437e-07
-2.24691e-05
-1.1411e-08
-2.24692e-05
1.72318e-07
-2.24692e-05
-6.14989e-08
-1.05532e-10
4.44418e-08

[ INFO] [1429462236.780260927, 43.072000000]: Old calculation needed time = 0.002928

cob_twist_controller_node: /usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:394: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::DenseCoeffsBase<Derived, 1>::Index) [with Derived = Eigen::Matrix<double, -1, 1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = double; Eigen::DenseCoeffsBase<Derived, 1>::Index = long int]: Assertion `index >= 0 && index < size()' failed.
[arm_left/twist_controller-32] process has died [pid 24368, exit code -6, cmd /home/fxm/projects/indigo/care-o-bot/devel/lib/cob_twist_controller/cob_twist_controller_node __name:=twist_controller __log:=/home/fxm/.ros/log/b7bb85f4-e6b3-11e4-9b42-00271039ca78/arm_left-twist_controller-32.log].
log file: /home/fxm/.ros/log/b7bb85f4-e6b3-11e4-9b42-00271039ca78/arm_left-twist_controller-32*.log

base_compensation mode works well!

Will we remove the "old" code (i.e. here or do you still feel like keeping it?
If we remove it, we should also remove everything that is only in there because it was used by the "old" code, such as damping method "truncation" in cfg and all that...

Thanks for all the effort you are putting into this!
Great job! :+1:

As a reminder to myself:
Update parameter yaml's in cob_robots and schunk_robots (if necessary)!

Tested code and wrote test report (on smb in stud-directory)

catkin_make install worked (0 errors)

source install/setup.bash
and final smoke test worked as well.

Looks very nice now! Awesome!
Have a look at my last comments, then feel free to open a PullRequest to ipa320/cob_control directly!
Hopefully we will have the chance to test it with the real robot hardware during our next Hackathon next Wednesday,

closing this one as it will be merged in https://github.com/ipa320/cob_control/pull/33


Rearrangement::cell_index should not be mandatory

A cell_index  is unique to studies with paired heavy:light chain data. It's not universal, so this field should be optional instead of required.
Also, it should be type: string instead of type: integer, as the index may be a number, a nucleotide barcode, a well identifier, etc.

Agree.

Agree.

Resolved in #89.


Cannot import name 'maybe_sync'

Describe the bug
Cannot seem to import datasets when running run_summarizer.py script on a VM set up on ovhcloud
Steps to reproduce the bug
from datasets import load_dataset

Expected results
No error
Actual results
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/lib/python3.7/site-packages/datasets/init.py", line 34, in
from .arrow_dataset import Dataset, concatenate_datasets
File "/opt/conda/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 48, in
from .arrow_writer import ArrowWriter, OptimizedTypedSequence
File "/opt/conda/lib/python3.7/site-packages/datasets/arrow_writer.py", line 27, in
from .features import (
File "/opt/conda/lib/python3.7/site-packages/datasets/features/init.py", line 2, in
from .audio import Audio
File "/opt/conda/lib/python3.7/site-packages/datasets/features/audio.py", line 8, in
from ..utils.streaming_download_manager import xopen
File "/opt/conda/lib/python3.7/site-packages/datasets/utils/streaming_download_manager.py", line 16, in
from ..filesystems import COMPRESSION_FILESYSTEMS
File "/opt/conda/lib/python3.7/site-packages/datasets/filesystems/init.py", line 13, in
from .s3filesystem import S3FileSystem  # noqa: F401
File "/opt/conda/lib/python3.7/site-packages/datasets/filesystems/s3filesystem.py", line 1, in
import s3fs
File "/opt/conda/lib/python3.7/site-packages/s3fs/init.py", line 1, in
from .core import S3FileSystem, S3File
File "/opt/conda/lib/python3.7/site-packages/s3fs/core.py", line 11, in
from fsspec.asyn import AsyncFileSystem, sync, sync_wrapper, maybe_sync
ImportError: cannot import name 'maybe_sync' from 'fsspec.asyn' (/opt/conda/lib/python3.7/site-packages/fsspec/asyn.py)
Environment info

datasets version: 1.16.0
Platform: OVH Cloud Tesla V100 Machine
Python version: 3.7.9
PyArrow version: 6.0.1

Hi ! Can you try updating fsspec ? The minimum version is 2021.05.0

hey @lhoestq. I'm using fsspec-2021.11.1 but still getting that error.

Maybe this discussion can help:
https://github.com/fsspec/filesystem_spec/issues/597#issuecomment-958646964

Thanks @lhoestq. Downgrading fsspec and s3fs to 2021.10 fixed this issue!


Certain queries fail due to parser issue

There is an issue in the graphql_parser with certain queries - see https://github.com/angel-dart/graphql/issues/23 for the issue and sample queries.
The parsing failure causes the "operationName" to be set to null. In the 1.0.0+4 (as opposed to 1.0.0-beta.1+1) this has been detected and fixed by changing a null "operationName" to 'UNNAMED/' + document.hashCode.toString();. This seems to guarantee the query will fail. Commented out this line seems to allow the queries to work - though I am guessing it will break something else.
This query will fail:
query customerMemberAttributes($memberId: Int!){
  customerByCustomerId(customerId: 7) {
    customerMemberAttributesByCustomerId {
      nodes {
        customerMemberAttributeId
        memberAttributesByCustomerMemberAttributeId(condition: {memberId: $memberId}) {
          nodes {
            memberAttributeId
          }
        }
      }
    }
  }
}

this query does not fail:
query customerMemberAttributes($memberId: Int!){
  customerByCustomerId(customerId: 7) {
    customerMemberAttributesByCustomerId {
      nodes {
        customerMemberAttributeId
        memberAttributesByCustomerMemberAttributeId(condition: {memberId: 7}) {
          nodes {
            memberAttributeId
          }
        }
      }
    }
  }
}

I am unsure what issue the check for the null query name fixed but the current version of the library does fail a few of my queries.

@HofmannZ Related to #235
I have the same problem.

(hopeflly) closed by #276


Likes tab is some times placed in the home tab position

Hello
I love this extension but for some reason, some times the "Likes" tab is placed where the "Home" tab should be and it's super annoying because one unconsciously already assumes/remembers the "Home" tab is the first item so one ends up clicking the wrong tab.
Can you please look into it and provide a fix soon? Thanks in advance!
Expected behavior:

Actual behavior (which happens randomly):

Closing as this extension is now deprecated: https://github.com/sindresorhus/refined-twitter/commit/8dd9df749d3a4e82c95b2bd6628c8d65f0f72e6c


Any plans to support italics?

Are there any plans to add support for italic fonts? There are currently few schemes that do it, italics in comments, keyword, etc. would look beautiful on this color scheme.

It would be a nice option to have. I can create a pull request maybe later this week. You can paste this code in your vimrc in the meantime.
highlight Comment cterm=italic " Italic comments.
highlight Comment gui=italic " Italic comments in gui.
highlight Todo cterm=italic " Italic comments.
highlight Todo gui=italic " Italic comments in gui.
...


[Bug] VOI inverted status after updating SUV parameters

Describe the Bug
Hi all,
A small bug visible in the demo server,
When going in the TMTV mode and changing a SUV parameter and hit the "reload data" button, the SUV parameter and recomputed which is normal but the Inverted status of the LUT is lost (see capture)

After double click on a viewport to make it full screen it goes back to the required inverted status

Steps to Reproduce

Go to TMTV mode
change patient weight
Hit Reload data

The current behavior
Voi inverted is lost, image has a black background for PT viewport
The expected behavior
PET viewport shall perserve their inverted status when updated SUV volume being rendered (in our case white background)
OS
Window and Linux
Node version
18
Browser
Chrome latest version

This is most likely fixed in the recent pushes by me.

I verified on https://viewer-dev.ohif.org/ and a local sandbox that this is still an issue. FYI @sedghi.

I see, then it is another problem

Sounds solved


feat(queued-request-controller): Replace confirmation with switch event

Explanation
When the QueuedRequestController requires the globally selected network to be changed, we now emit an event rather than triggering a confirmation. This aligns with recent designs for this use case.
The actions NetworkController:getNetworkConfigurationByNetworkClientId and ApprovalController:addRequest were only used for triggering the switch network confirmation, so they are no longer needed now. They have been removed. This removes the last dependency of this controller on the ApprovalController, so it has been removed as a dependency as well.
References
Closes #3983
Changelog
@metamask/package-a
Changed

BREAKING: The QueuedRequestController no longer triggers a confirmation when a network switch is needed

The network switch now happens automatically, with no confirmation.
A new QueuedRequestController:networkSwitched event has been added to communicate when this has happened.
The QueuedRequestController messenger no longer needs access to the actions NetworkController:getNetworkConfigurationByNetworkClientId and ApprovalController:addRequest.
The package @metamask/approval-controller has been completely removed as a dependency

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

This depends upon #3781

Looks good to me! Straightforward replacement of Approval:addRequest and NetworkController: getNetworkConfigurationByNetworkClientId with QueuedRequestController:networkSwitched.

All tests passing with extra typing.
diff --git a/packages/queued-request-controller/src/QueuedRequestController.test.ts b/packages/queued-request-controller/src/QueuedRequestController.test.ts
index e7b4503e4..c377997a7 100644
--- a/packages/queued-request-controller/src/QueuedRequestController.test.ts
+++ b/packages/queued-request-controller/src/QueuedRequestController.test.ts
@@ -14,6 +14,7 @@ import type {
   QueuedRequestControllerEvents,
   QueuedRequestControllerMessenger,
   QueuedRequestControllerOptions,
+  QueuedRequestControllerNetworkSwitched,
 } from './QueuedRequestController';
 import {
   QueuedRequestController,
@@ -66,7 +67,9 @@ describe('QueuedRequestController', () => {
     });

     it('switches network if a request comes in for a different selected chain', async () => {
-      const mockSetActiveNetwork = jest.fn();
+      const mockSetActiveNetwork: jest.Mocked<
+        NetworkControllerSetActiveNetworkAction['handler']
+      > = jest.fn();
       const { messenger } = buildControllerMessenger({
         networkControllerGetState: jest.fn().mockReturnValue({
           ...cloneDeep(defaultNetworkState),
@@ -77,7 +80,9 @@ describe('QueuedRequestController', () => {
           .fn()
           .mockImplementation((_origin) => 'differentNetworkClientId'),
       });
-      const onNetworkSwitched = jest.fn();
+      const onNetworkSwitched: jest.Mocked<
+        (...payloads: QueuedRequestControllerNetworkSwitched['payload']) => void
+      > = jest.fn();
       messenger.subscribe(
         'QueuedRequestController:networkSwitched',
         onNetworkSwitched,
@@ -101,7 +106,9 @@ describe('QueuedRequestController', () => {
     });

     it('does not switch networks if a request comes in for the same selected chain', async () => {
-      const mockSetActiveNetwork = jest.fn();
+      const mockSetActiveNetwork: jest.Mocked<
+        NetworkControllerSetActiveNetworkAction['handler']
+      > = jest.fn();
       const { messenger } = buildControllerMessenger({
         networkControllerGetState: jest.fn().mockReturnValue({
           ...cloneDeep(defaultNetworkState),
@@ -112,7 +119,9 @@ describe('QueuedRequestController', () => {
           .fn()
           .mockImplementation((_origin) => 'selectedNetworkClientId'),
       });
-      const onNetworkSwitched = jest.fn();
+      const onNetworkSwitched: jest.Mocked<
+        (...payloads: QueuedRequestControllerNetworkSwitched['payload']) => void
+      > = jest.fn();
       messenger.subscribe(
         'QueuedRequestController:networkSwitched',
         onNetworkSwitched,
@@ -412,7 +421,9 @@ describe('QueuedRequestController', () => {
     });

     it('switches network if a new batch has a different selected chain', async () => {
-      const mockSetActiveNetwork = jest.fn();
+      const mockSetActiveNetwork: jest.Mocked<
+        NetworkControllerSetActiveNetworkAction['handler']
+      > = jest.fn();
       const { messenger } = buildControllerMessenger({
         networkControllerGetState: jest.fn().mockReturnValue({
           ...cloneDeep(defaultNetworkState),
@@ -427,7 +438,9 @@ describe('QueuedRequestController', () => {
               : 'selectedNetworkClientId',
           ),
       });
-      const onNetworkSwitched = jest.fn();
+      const onNetworkSwitched: jest.Mocked<
+        (...payloads: QueuedRequestControllerNetworkSwitched['payload']) => void
+      > = jest.fn();
       messenger.subscribe(
         'QueuedRequestController:networkSwitched',
         onNetworkSwitched,
@@ -468,7 +481,9 @@ describe('QueuedRequestController', () => {
     });

     it('does not switch networks if a new batch has the same selected chain', async () => {
-      const mockSetActiveNetwork = jest.fn();
+      const mockSetActiveNetwork: jest.Mocked<
+        NetworkControllerSetActiveNetworkAction['handler']
+      > = jest.fn();
       const { messenger } = buildControllerMessenger({
         networkControllerGetState: jest.fn().mockReturnValue({
           ...cloneDeep(defaultNetworkState),
@@ -479,7 +494,9 @@ describe('QueuedRequestController', () => {
           .fn()
           .mockImplementation(() => 'selectedNetworkClientId'),
       });
-      const onNetworkSwitched = jest.fn();
+      const onNetworkSwitched: jest.Mocked<
+        (...payloads: QueuedRequestControllerNetworkSwitched['payload']) => void
+      > = jest.fn();
       messenger.subscribe(
         'QueuedRequestController:networkSwitched',
         onNetworkSwitched,

Bringing this out of review because the PR this depends on (#3781) actually introduces a regression unless bundled with this change. So instead we may want to merge this into that PR first, rather than the other way around. See this comment for details: https://github.com/MetaMask/core/pull/3781#issuecomment-1971313789

@metamaskbot publish-previews

@metamaskbot publish-preview


[BUG] The extractor does not publish the artifact with API changes

Release version
5.1.4
Describe the bug
During the modification extraction phase there are no errors, the extractor extracts all the modifications, but in the end there are no files in the published artifact other than the lint one.
Expected behavior
That the extractor creates an artifact containing the changes made to the bees and creates the PR associated with it
Actual behavior
The extractor extracts the modified files but does not publish these changes within the artifact
Reproduction Steps
I modify any api inside apim and then launch the extraction pipeline. But nothing happens, below is the detail of the artifact creation task..
Artifact name input: artifacts-from-portal
Uploading pipeline artifact from /home/vsts/work/1/a for build #80
Using default max parallelism.
Max dedup parallelism: 192
DomainId: 0
Verbose, ArtifactHttpClientFactory.CreateVssHttpClient: DedupStoreHttpClient with BaseUri: https://vsblobprodweu2.vsblob.visualstudio.com/A92fddbc3-09c9-4f2e-8a7a-241aa03e0a71/, MaxRetries:5, SendTimeout:00:01:40
Information, ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 1defd828-cb23-4d20-b65e-f597c53d373f
Verbose, Started ITelemetrySender BlobStoreApplicationInsightsTelemetrySender.
Hashtype: Dedup1024K
Information, DedupManifestArtifactClient will correlate http requests with X-TFS-Session 1defd828-cb23-4d20-b65e-f597c53d373f
Verbose, Globbing completed in: 00:00:00.0111228
Verbose, Pages to upload computed in 00:00:00.0037364
Information, Processed 0 files from /home/vsts/work/1/a successfully.
Verbose, ManifestId: B5*01
Verbose, ContentNode: No files
Verbose, RootId: 6F*02
Verbose, Trying to put node 6F*02 of 1 children, 0 receipts used. (Children: B5*01 [None])
Verbose, Added node 6F*02 of 1 children and got 1 receipts back. (Receipts: 6F*02 [2024-04-25T21:20:53Z])
Information, Uploaded 0 out of 61 bytes
Information, Content upload is done!
Information,
Content upload statistics:
Total Content: 61.0 bytes
Physical Content Uploaded: 0.0 bytes
Logical Content Uploaded: 0.0 bytes
Compression Saved: 0.0 bytes
Deduplication Saved: 61.0 bytes
Number of Chunks Uploaded: 0
Total Number of Chunks: 1

I noticed that he here Uploading pipeline artifact from /home/vsts/work/1/a for build #80 talks about a folder a, but mine is called apiops

The extractor is only responsible for extracting the artifacts. You need to trigger the publisher pipeline to promote the changes across apim instances. Please refer to the docs and the wiki.

I am experiencing the same issue. Everything appears correct in the extractor (all green), but running the extractor does not produce any results. There should be some warning or indication explaining why the artifact was not created.
To troubleshoot, I moved the code to another project and pipeline with an identical setup but using a new service connection. In this new setup, it works fine. However, it does not work with the original service connection. I suspect that the problem lies with the service connection, specifically that the service principal does not have sufficient permissions. Unfortunately, no errors or warnings are thrown, and it fails silently. The image below shows that oh everything looks good but artifacts not created at all.
I think you can focus on the permissions of the app registrations if it has the comprehensive permissions to do the job.


bump to gatsby@next

[ ] Migrate to gatsby-source-prismic
https://prismic.io/docs/technologies/migration-guide-gatsby

Read some feedback here
https://github.com/prismicio/prismic-reactjs/issues/88


Support for the SAMD architecture

Hey there,
It looks like this library only works with AVR architecture currently. Any plans to support SAMD?
Thanks.

Hello tlemery,
I haven't used a SAMD board myself but feel free to open a pull-request with the necessary changes.


Support drag/drop upload

This works best https://github.com/react-dropzone/react-dropzone

@OlivierJM The file input in the media content modal also supports dropping files onto it. Or It needs to be more explicit in its appearance as supporting drag-and-drop?

Okay


Updated Frontendcore and Scss compilation to use libscss

Thanks to libscss and grunt-sass now the scss compilation doesn't require Ruby or compass. Also the compilation time is improved from 7 seconds to a few miliseconds :O

Hell yeah!


[AutoPR resources/resource-manager] chore: jsonfmt resources

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6237

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/3753


"Python extension loading..." and high cpu usage

Environment data

VS Code version:  1.54.3 (commit 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8)
Extension version (available under the Extensions sidebar): v2021.2.636928669
OS and version: macOS 11.2.3 (20D91)
Python version (& distribution if applicable, e.g. Anaconda): 3.9.1 (via pyenv)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: n/a
Relevant/affected Python-related VS Code extensions and their versions: Pylance v2021.3.1
Value of the python.languageServer setting: pylance

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
When opening a project / python source file, the Python extension will load, and whilst using VSCode to edit .py source files the application will run smoothly, without excessive CPU usage.
Actual behaviour
The status bar displays "Python extension loading..." and this never resolves.
After a while (15 mins) the cpu goes through the roof - specifically a number of bash process start up and consume cpu.
Disabling / removing the Python extension fixes this.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create a new virtualenv
Install some linters into venv - e.g. black, isort, flake8, mypy (works with any/all of them)
Open a Python project (e.g. django source repo).
Set the Python environment to the local venv
Open a .py source file, and try editing (check for language server features)
Try linting, running "Format Document"

Logs

Output for Python in the Output panel

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonTensorboardExperimentcf'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'CollectLSRequestTiming - control'
> conda --version
> pyenv root
> python3.7 ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
> python3 ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/Projects/acme/.venv/bin/python ~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-03-16 08:52:12: Failed to get interpreter information for '/usr/local/bin/python3-32' [Error: Command failed: "/usr/local/bin/python3-32" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/interpreterInfo.py"
/bin/sh: /usr/local/bin/python3-32: Bad CPU type in executable

    at ChildProcess.exithandler (child_process.js:312:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:674:12)] {
  killed: false,
  code: 126,
  signal: null,
  cmd: '"/usr/local/bin/python3-32" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/interpreterInfo.py"'
}
...
Error 2021-03-16 08:52:27: Failed to get interpreter information for '$HOME/.pyenv/shims/python3.8' [Error: Command failed: "$HOME/.pyenv/shims/python3.8" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/interpreterInfo.py"

    at ChildProcess.exithandler (child_process.js:312:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)] {
  killed: true,
  code: null,
  signal: 'SIGTERM',
  cmd: '"$HOME/.pyenv/shims/python3.8" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py" "$HOME/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/interpreterInfo.py"'
}

@hugorodgerbrown Try adding this to your user settings:
    "python.experiments.optInto": [
        "pythonDiscoveryModule"
    ],

Hi @karthiknadig - I've added that - and so far, so good (albeit only just restarted vscode). Do you have any insight into what the pythonDiscoveryModule experiment is?

One of the issues we have had with the extension is that if you have several virtual envs in your system, we attempt to identify all of them by running a python script for each environment. This can potentially launch several python processes at once. The new implementation (which is experimental) does not run python to identify environments and it throttles how many python processes are launched simultaneously for the purpose of discovery.


setup for commandTests appears to be broken

- name: curl localhost
  setup: [['/app-cfg/entrypoint.sh']]
  command: ['/usr/bin/curl']
  args: ['localhost']
  expectedOutput: ['.*OK.']

--- FAIL: TestAll/Command_Test:_curl_localhost (0.00s)
command.go:43: Please provide a valid entrypoint to run for test curl localhost

Also fails if setup appears as it does in the Dockerfile:
setup: [["/app-cfg/entrypoint.sh"]]
or
setup: ["/app-cfg/entrypoint.sh"]

Ah sorry, I see the problem now. command is a string, not a []string. Since you're passing in a list of strings, it's not getting parsed correctly. Removing the brackets around /usr/bin/curl should fix it.


[ORCA-163] Implement launch_workflow() and LaunchInfo dataclass

I was initially going to port the launch_workflow() implementation from sagetasks (source), but I decided to refactor it. Its reliance on the init_launch_workflow_data() method is clunky. I also didn't like the large number of function parameters.
To address this, I implemented the LaunchInfo dataclass. Its goal is to encapsulate the information related to launching a workflow. It essentially operates like an OpenAPI model. This results in much cleaner client code. This class can eventually be reused for get_workflow().
I'm marking this PR as a draft because I would like to tackle the following subtasks:

[x] Implement get_compute_env() in the client class
[x] Implement get_latest_compute_env() in the ops class
[x] Implement higher-level launch_workflow() in the ops class

This version would use the default values from the compute environment (e.g. work directory) when launching a workflow (example)
This version would ideally be idempotent, if possible

Thank goodness for the test suite! I was able to resolve multiple merge conflicts with confidence.


ImportError: cannot import name 'chunk' from 'pychunk'

Hey @bhavaniravi the idea seems to be great and i tried the package out but unfortunately I'm not able to test the package via pip installation !!

Seems to have been fixed. This is cool btw!
https://github.com/bhavaniravi/pychunk/blob/a99a7d774dc5ece563136aee08f033688892a0ea/pychunk/__init__.py#L1

Yes you are correct but the changes are not published, So this fix has to be released to the package else it will break during import!


Add PyPI Version Badge to README

Fix #97
Help users know that there is a PyPI package associated with the repo and to know the version of the latest package.

Thanks, @linynjosh!


Garbage collect container log file symlinks

A user who was hit by a crash-looping DNS pod (see #8144) says that he's "seeing 7,891 log files in /var/log/containers for kube-dns-*". We should be cleaning these up at some point.
@satnam6502

We have log rotation set up for Docker container logs (set up by @brendandburns I think). If we have a crash loop then the log rotation frequency we have right now is not going to save anyone. I am not sure that changing the log rotation frequency to catch crash loops is the right thing to do. If this pod is ill then surely nothing else (much) is working in the cluster and this is the least of your problems?

Also, are the symlinks the issue, or the actual log files?

@satnam6502 parking in your bucket while we decide what needs to be done here for v1.

The issue is to ensure we have something making sure we don't allow a resource to grow unbounded over time, so that nodes can run indefinitely without running out of disk. The logs themselves being garbage collected is great. Is there anything that ever garbage collects the symlinks?
It's possible that there is something already and it just hadn't cleaned up this user's symlinks yet, which would be great, but if not, we should seriously consider adding something.

I view the symlinks as a temporary terrible hack until we can get the required metadata in a more disciplined manner.

I'd also like to get the metadata into the logs, which is I think what these symlinks are about.  I can see two options: we can either have the log collector connect to the API, or we can have kubelet write the information (the pod info) to a JSON file under /var/lib/containers/ (and GC it!)
Any thoughts on which way is better?  And if the latter, what are the chances of getting this into 1.0?

e.g. I'm thinking we should write a data file like this (totally untested, just "here's what I mean"): https://github.com/GoogleCloudPlatform/kubernetes/commit/e6d8ac6d2e867d0a5eaa3af433d4beccade86b45

@jimmidyson is our man I think for doing this properly.

https://github.com/GoogleCloudPlatform/kubernetes/pull/8632 is in the works, although perhaps less elegant than your example

That PR doesn't look it includes labels though, although maybe I can abuse naming & namespacing to meet my current requirements.
BTW, found this little trick to delete those broken links:
find -L /var/log/containers -type l -delete
The trick is explained here: http://www.trilithium.com/johan/2011/09/delete-broken-symlinks/

The fluentd plugin in #8632 can add metadata retrieved from api server, but there's still an unanswered question on service accounts for static pods required to authenticate to api server.
I really like the metadata file being local on the node. How would you deal with label updates to running pods? With the fluentd plugin we set up a watch to be notified of pod label changes to update metadata. With the file approach could set up file watches I guess.
But that's out of scope of this issue & should probably be discussed in a separate issue. The crux of this issue is that symlinks should be garbage collected at the same time as the docker container. Should be a quick easy fix to make.

The reason I did not add code to delete the symlinks as soon as the container is deleted is that we need to allow so time for the collector to grab the last few dying breath log lines before the symlink is deleted. For this I thought we could just spawn a goroutine with a delay (5 minutes?) after which the deletion occurs. Right now that is not done so if the symlink is deleted as soon as the container is deleted then we will loose log lines.

With docker when the container is deleted isn't the log file deleted too? So the symlink will be a dead link... no need to keep it after container is deleted.

The log file lingers.

@satnam6502 Are you perhaps confusing stopping a container (docker stop / docker.StopContainer)  with deleting a container (docker rm / docker.RemoveContainer)? AFAIK the latter deletes the whole container from the file system, including the log file & this is what happens in container GC - see https://github.com/GoogleCloudPlatform/kubernetes/blob/4a6ab7fd3698c5cc7172c5bd63efab320d1f2d17/pkg/kubelet/container_gc.go#L178.
IMO we have to clean up symlinks when the container is deleted by container GC else we're leaving dead symlinks as the OP stated.

What I notice is that after a container for a Kubernetes pod is not running anymore and has been restarted (i.e. another container is running for that image) the log files for the old ones are still around ( and thankfully subject to log rotation). Perhaps I am wrong? I will check.

But yes, we need to delete the symlinks of course -- just in a way that does not loose log lines.

Right so there's the difference between a pod being deleted & a docker container being deleted. When a pod is deleted the underlying docker container is not deleted so the docker log file remains until the docker container is actually deleted.
The docker container is deleted only through container garbage collection & that only happens when certain thresholds are met (e.g. 100 dead containers). When the docker container is deleted the log file is also deleted at this point.
So we need to add the symlink cleanup to the docker container deletion which is done in container GC, not pod lifecycle.

Thanks for clearing that up (quite literally).


Added Danger Xcode Summary Plugin from #242

I mentioned in #248 about it.
Danger Xcode Summary Plugin - A Danger plugin that shows all build errors, warnings and unit tests results generated from xcodebuild.

          2 Errors

  :no_entry_sign:
  Please provide a summary in the Pull Request description

  :no_entry_sign:
  summary file not found

  Generated by :no_entry_sign: danger

There is something you should add to xcodebuild to generate summary?

@piv199 hmmm, it doesn't say in the README....
@diogot can you help us?

Hi @lfarah, sure!
@piv199 are correct. You need to generate the summary, maybe it's not very clear but it is on README (we'll make a more detailed documentation)

You need to use xcpretty with xcpretty-json-formatter to generate a JSON file that this plugin can read.

Our plugins need a json with the summary of issues and to create it we use xcpretty, here is an example on how to generate:
cat xcode-output.log | XCPRETTY_JSON_FILE_OUTPUT="xcodebuild.json" xcpretty -f `xcpretty-json-formatter`

In your case may be easy to generate on the build.
I create a pull request with a possible implementation #250

Hey @diogot, thanks for replying so fast and taking the time to actually open a PR.
I think it's worth saying something inside the usage like:

Install XCPretty
Install xcpretty-json-formatter
Just add this line to your Dangerfile:

xcode_summary.report 'xcodebuild.json


The code for extracting the question feature by bert

Well, Is the model in nextqa for question features the final model? Or I still need to train? I just utilize the model to extract question feature while the results drop significantly by nearly 5 points.

For NExT-QA dataset, we did not finetune BERT ourselves but directly use the officially provided BERT feature in the NExT-QA repo.

You cannot directly use this model to extract question features as it it pretrained with QA pairs.

Please ensure your exracted features representations are aligned with the corresponding annotations,  eg, batch size=1..

If you do not have the aformentioned problems, you may need to pretrain it yourself to get a closer result, as I do not quit remember how this model was obtained. For pretraining, pls set the max length to 37 and pretrain for about 3 epochs, save the intermediate models and select the one that gives the best results on validation set for feature extraction.

Ok, thanks. I get one closer
| |
Shandong University
|
|
@.***
|
On 5/16/2022 21:19，Junbin @.***> wrote：
For NExT-QA dataset, we did not finetune BERT ourselves but directly use the officially provided BERT feature in the NExT-QA repo.
You cannot directly use this model to extract question features as it it pretrained with QA pairs.
Please ensure your exracted features representations are aligned with the corresponding annotations, eg, batch size=1..
If you do not have the aformentioned problems, you may need to pretrain it yourself to get a closer result, as I do not quit remember how this model was obtained. For pretraining, pls set the max length to 37 and pretrain for about 3 epochs, save the intermediate models and select the one that gives the best results on validation set for feature extraction.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Add Javascript example to connecto to RDS using Lambda with IAM auth

Issue #, if available:
Description of changes:
Added JavaScript code snippet to connect to RDS using Lambda with IAM auth.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for the snippet and @kathvish for reviewing! Will get this merged.


add skeletal PPP (Keagan)

hello, I think you need to hook it into your section of the AboutUs.md. You can see an example here.

Thanks for the catch @samuelim01


Certain demangled names can create blank type references

Version and Platform (required):

Binary Ninja Version: <= 3.5.4467
OS: macOS
OS Version: 12.5
CPU Architecture: M1

Bug Description:
Certain names, when demangled, would create named type references to the empty string "". These names appear to be correlated with MSVC RTTI.
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

Run python snippet: demangle_ms(Architecture["x86_64"], "??_R1A@?0A@EA@bad_alloc@std@@8")
Observe returned type is struct

Expected Behavior:
I expected demangled type names to not be blank

This was fixed in 3.5.4468


[build-docs] build: create Docker Build section

follow-up https://github.com/docker/docker.github.io/pull/14642
as discussed with @dockertopia we have created a dedicated build-docs branch so we can iterate changes over this one and when everything looks good on this branch, merge it to master.
Each PR targeting the build-docs branch should have [build-docs] as title prefix.
I have added this branch to netlify deployment so we will able to have an overview of the current progress:

Changes will be visible at https://build-docs--docsdocker.netlify.app/
cc @dockertopia @chris-crone @tonistiigi @thaJeztah @usha-mandya
Signed-off-by: CrazyMax<EMAIL_ADDRESS>

Looks good: https://build-docs--docsdocker.netlify.app/build/ !!


Bundle generating empty truststore.p12 when no password is provided

I used the below config to create a pkcs12 additional format bundle without password. But the created truststore is empty.
apiVersion: trust.cert-manager.io/v1alpha1
kind: Bundle
metadata:
  name: truststore
spec:
  sources:
    - secret:
        key: root-certs.pem
        name: trusted-certs
  target:
    additionalFormats:
      pkcs12:
        key: truststore.p12
        password: ''
    secret:
      key: root-certs.pem

The secret contains the required bundle, but the truststore.p12 is empty.
The result remains the same when I use a configmap source.

I tested this a bit locally and I think what's happening is simply that keytool can't parse the file. Still worth a fix, but we're not making an empty p12 - we're just making one that keytool can't read.
Our tests do check that a passwordless file can be read - but obviously they're using our pkcs12 library which can read passwordless files.
The library says this:

Passwordless encodes PKCS#12 files without any encryption or MACs. A lot of software has trouble reading such files, so it's probably only useful for creating Java trust stores using Encoder.EncodeTrustStore or Encoder.EncodeTrustStoreEntries.

I've confirmed that the following patch creates a passwordless PKCS#12 file that keytool can read:
diff --git a/pkg/bundle/sync.go b/pkg/bundle/sync.go
index 1966af0..ea36eaf 100644
--- a/pkg/bundle/sync.go
+++ b/pkg/bundle/sync.go
@@ -320,7 +320,13 @@ func (e pkcs12Encoder) encode(trustBundle string) ([]byte, error) {
 		})
 	}

-	return pkcs12.LegacyRC2.EncodeTrustStoreEntries(entries, e.password)
+	encoder := pkcs12.LegacyRC2
+
+	if e.password == "" {
+		encoder = pkcs12.Passwordless
+	}
+
+	return encoder.EncodeTrustStoreEntries(entries, e.password)
 }

 // syncConfigMapTarget syncs the given data to the target ConfigMap in the given namespace.

And I've also confirmed that the resulting file is readable by our tests. I'd like to check with the team if we're happy to make that change in general.

Thanks for the investigation, @SgtCoDFish! I submitted the PR adding PKCS#12 support, and I should have tested the truststore with keytool. Java applications probably represent the far majority of consumers of PKCS#12 truststores in trust-manager, and it would be a pity if the Java keytool cannot read it. I am highly positive about your suggested change! 👍


Duckdb update 0.10.0 -> 0.10.2

Hello Antony! I will resolve draft status and tag you when Carlo finish his work, if you don't mind.

[x] duckdb version bump.
[x] duckdb-async version bump.
[x] package-lock.json update.

Hello @antonycourtney! Can I ask you to take a look?

Any timeline for when this will be merged?

It's 0.10.2 now, any updates on that ? Thanks

It's 0.10.2 now, any updates on that ? Thanks

Hello @Youssef-Harby! Done.

@Youssef-Harby Published about 30 seconds ago.

Thanks for the PR @npatsakula and apologies for the delay.

Thanks all!


PoC build fix

@blueandgold I had commented it out as the build was failing due to the error thrown while creating G Suite resource and didn't want this to prevent this error from running integration tests.
However, I took some time and fixed it. Build logs can be found here: https://travis-ci.org/forseti-security/forseti-security/builds/601401774

@red2k18 Can you outline what the root cause was and how this addresses that problem?

Build passed: https://travis-ci.org/forseti-security/forseti-security/jobs/603027053?utm_medium=notification&utm_source=github_status

Fixes #3355


Rename package

There's another python package using the sendfile package name. We should also take this opportunity to move code out of __init__.py.

Rename package to something like django_sendfile
Move code from __init__.py to sendfile.py
Imports will now look like from django_sendfile.sendfile import sendfile

I want to know if we could suggest a new name to the package than sendfile. I think we can create a "better brand"

@alexandresebrao no, I'm not interested in doing that. This issue is only for renaming the folder where the package is installed to avoid potential conflicts

I must add I found this package because I was desperately looking for a maintained version of django-sendfile. I may have missed it with another name...
Thanks for your work at maintaining this useful little piece of code!


Allow timepicker container to be an element

Proposed changes
The datepicker requires an element to be specified for the container, the time picker requires a selector string. This change allows an element to be specified while retaining the original method as a fallback
Types of changes

[X] Bug fix (non-breaking change which fixes an issue).
[X] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[X] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[X] All new and existing tests passed.

Hi! You shoud probably propose this change in this active fork: https://github.com/materializecss/materialize


addMgaIniTime() Doesn't Check for Null

if pUPortMalloc() fails, NULL is not checked and memcpy crashes.
*pMgaDataOut = (UBX_U1*)pUPortMalloc(*iSize);
if (*pMgaDataOut == NULL)
   printk("NULL!!!\n");

Oh great catch! Thank you for the identifying this.


Unable to start the edxapp service

Hi I have deployed Openedx Ficus version on the Azure platform,
The instances was working well and the site was up in running , but now we face an issue as to unable to start the edxapp services , Please help us resolve this issue. we are unable to start the edxapp services and we find that both lms and cms down.
I am able to build the LMS successfully, but unable to build the cms.
When we are trying to start the services using the following command
sudo /edx/bin/supervisorctl restart edxapp:
Its throwing up an error as this "unix:///edx/var/supervisor/supervisor.sock no such file".
Kindly help us resolve this issue.

Make sure you are attempting to do this on the VMSS instance instead of the jumpbox.

Closing issue since no further response.


can not load https://livecodes-sandbox.pages.dev/v4/compiler

when i run npm run serve , the browser can not load https://livecodes-sandbox.pages.dev/v4/compiler,is this close source?

It is this page:
https://github.com/live-codes/livecodes/blob/develop/src/livecodes/html/sandbox/v5/compiler.html
It is just being served from a different origin for security reasons.
I believe your problem is solved since you already closed the issue.
However, this is how you serve the app:
# clone the repo
git clone https://github.com/live-codes/livecodes

# move into the directory
cd livecodes

# install dependencies
npm i

# build the app
npm run build

# then you can serve it from the directory "build"
npm run serve

I hope this helps.
Please let me know if you still face any problems.

Sorry to revive this issue - is there a way to serve the compiler.html page from my own host? I haven't yet tracked down how this livecodes-sandbox.pages.dev iframe src gets loaded / how to influence that. Would also appreciate any update on offline mode. Thank you

You may change the URL in the sandbox service, here: https://github.com/live-codes/livecodes/blob/develop/src/livecodes/services/sandbox.ts
I have not started work on offline mode, yet.
Currently, preparing for public release/announcements.

Thank you, got it! And good luck!


6.0.3 searchEnabled: false broke in multiselect focusing on choices__input--cloned on empty space click

reference to demonstration:
https://jsfiddle.net/pvvnxdementor5/9gmv72L1/17/

They both work in your example?  Could you provide a clearer description please

Just try to get a focus on search input by clicking anywhere except it.

I can focus using my keyboard and my mouse?

If i click by mouse on .choices__inner of first multeselect, (not a .choices__input--cloned), then i get automatic focus on .choices__input--cloned - i can just simple start write a word.
But if i click on .choices__inner of second multiselect, i can't start writing search request , becouse i haven't focus on search input.


Try to seperate module but fail

Description
I'm submitting a question

I'm trying to modularize the game of life example to learn about how to nest up component in yew. I separate the Cellule as a idependent component so that I could reuse the component in other form of game of life. So I impl it like:
#[derive(Clone, Copy, PartialEq)]
enum LifeState {
    Alive,
    Dead,
}

#[derive(Clone, Copy)]
pub struct Cellule {
    life_state: LifeState
}

pub enum Msg {
    Toggle,
    SetAlive,
    SetDead,
}

// methods in original example omitted
impl Cellule {
    pub fn toggle(&mut self) {
        match self.life_state {
            LifeState::Alive => self.life_state = LifeState::Dead,
            LifeState::Dead => self.life_state = LifeState::Alive,
        }
    }
}

impl<CTX> Component<CTX> for Cellule { ... }

impl<CTX, COMP> Renderable<CTX, COMP> for Cellule
where
    CTX: 'static, COMP: Component<CTX>,
{
    fn view(&self) -> Html<CTX, COMP> {
        html! {

        }
    }
}

and In the GameOfLife model, I call the the view method like:
impl<CTX> Renderable<CTX, GameOfLife> for GameOfLife
where
    CTX: AsMut<IntervalService> + 'static,
{
    fn view(&self) -> Html<CTX, Self> {
        html! {

{ "Game of Life" }

                            { for self.cellules.iter().map(|cell| cell.view()) }

                            <button class="game-button", onclick=|_| Msg::Random,>{ "Random" }</button>
                            <button class="game-button", onclick=|_| Msg::Step,>{ "Step" }</button>
                            <button class="game-button", onclick=|_| Msg::Start,>{ "Start" }</button>
                            <button class="game-button", onclick=|_| Msg::Stop,>{ "Stop" }</button>
                            <button class="game-button", onclick=|_| Msg::Reset,>{ "Reset" }</button>

                      { "Game of Life - a yew experiment " }

                    { "source" }

        }
    }
}

Expected Results
I think this would decouple the Cellule and GameOfLife, but I failed.
Actual Results
It reminds me that I have to use the Message of COMP type, which means I can't decouple the Cellule with GameOfLife as an independent component

error[E0271]: type mismatch resolving `<COMP as yew::html::Component<CTX>>::Mess                            age == cellule::Msg`
  --> src\cellule.rs:83:9
   |
83 | /         html! {
84 | |

86 | |         }
   | |_________^ expected associated type, found enum `cellule::Msg`
   |
   = note: expected type `<COMP as yew::html::Component<CTX>>::Message`
              found type `cellule::Msg`
   = note: required because of the requirements on the impl of `yew::virtual_dom                            ::Listener<CTX, COMP>` for `yew::html::onclick::Wrapper<[closure@<html_impl macr                            os>:50:15: 50:19]>`
   = note: required for the cast to the object type `yew::virtual_dom::Listener<                            CTX, COMP>`
   = note: this error originates in a macro outside of the current crate (in Nig                            htly builds, run with -Z external-macro-backtrace for more info)

Context (Environment)

Rust: v1.28.0 nightly(2018-06-06

yew: v0.4.0

target: wasm32-unknown-unknown

cargo-web: v0.6.2

@huangjj27 would you like to give it another shot now that https://github.com/yewstack/yew/pull/783 removes the COMP type restriction?


Update README.md

Hi,
This small PR adds a link to get your app on F-Droid 👍
close #98

I won't sign that kind of stuff, closing this.


Incompatible with Defold 1.2.148

More info: https://forum.defold.com/t/facebook-instant-error/45624

Solved, see https://forum.defold.com/t/facebook-instant-error/45624 for details.


blog: Using Azure remotes in DVC

Tentative publish date: 06/22/22
Things left to update:

[x] image (make sure to use https://tinypng.com/)
[ ] comments link
[ ] technical style (code blocks formatted correctly with dvc, python, yaml, etc)

🚩 Your build failed. See the build logs here

Updating this branch with the latest version of master should fix the build!

Sorry, unable to review this week.


#48in24: minesweeper 2024-05-14

[ ] Run bin/configlet sync -u -e minesweeper (updates the Markdown files and maybe tests.toml)

docs: instructions unsynced: minesweeper
docs: introduction missing: minesweeper
metadata: unsynced: minesweeper

[ ] Drop strict types comments from test file and example code (these are useless)
[ ] Add and sync test meta data to tests (uuid / @testdox in DocBlocks)
[ ] Decide on adding / adjusting / ordering test cases to match current problem specs

Do not redesign the student's interface or add test cases that would invalidate existing community solutions. These are extra tasks, which should be discussed in advance.
Replaces #686

@homersimpsons FYI: This exercise is so far away from problem specifications, syncing it will result in a new exercise. It seems like it wasn't sync'ed for Exercism V3...
The main difference is, that PHP track expects a border (with border completeness validation) around the board. This is not mentioned in instructions and not part of tests in problem spec.
If you don't object to this, I'll come up with the PR on the weekend.

If you don't object to this, I'll come up with the PR on the weekend.

Looks like there are only 19 published solutions on https://exercism.org/tracks/php/exercises/minesweeper/solutions so yes let's clean it up just like #694


No syntax highlighting on EDA rulebooks

Summary
Event-Driven Ansible rulebooks are not syntax highlighted and auto completion is missing

in comparison to playbooks:

the ansible-lint part is working correctly. Only syntax highlighting and auto completion is missing.
Extension version
v24.6.0
VS Code version
1.90.1
Ansible Version
$ ansible --version
ansible [core 2.17.0]
  config file = /workspaces/eda-demo/eda/ansible.cfg
  configured module search path = ['/workspaces/eda-demo/eda/library']
  ansible python module location = /usr/local/python/3.11.9/lib/python3.11/site-packages/ansible
  ansible collection location = /workspaces/eda-demo/eda/collections
  executable location = /usr/local/python/current/bin/ansible
  python version = 3.11.9 (main, Jun  6 2024, 09:15:00) [GCC 12.2.0] (/usr/local/python/3.11.9/bin/python3.11)
  jinja version = 3.1.4
  libyaml = True

OS / Environment
VSCode devcontainer based on  "image": "mcr.microsoft.com/devcontainers/base:bookworm",
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

ansible-lint --version
ansible-lint 24.6.0 using ansible-core:2.17.0 ansible-compat:24.6.0 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8

Relevant log output
Path for lint: /usr/local/python/current/bin/ansible-lint
Validating using ansible-lint
cmd 'ansible-lint --version' has the following error/warning: WARNING: PATH altered to include /usr/local/python/3.11.9/bin, /usr/local/python/3.11.9/bin :: This is usually a sign of broken local setup, which can cause unexpected behaviors.

cmd 'ansible-lint --version' has the following error/warning: WARNING: PATH altered to include /usr/local/python/3.11.9/bin, /usr/local/python/3.11.9/bin :: This is usually a sign of broken local setup, which can cause unexpected behaviors.

[Info  - 2:29:57 PM] [ansible-lint] WARNING: PATH altered to include /usr/local/python/3.11.9/bin, /usr/local/python/3.11.9/bin :: This is usually a sign of broken local setup, which can cause unexpected behaviors.

Passed: 0 failure(s), 0 warning(s) on 1 files. Profile 'production' was required, and it passed.

@tepene, supporting the syntax for EDA rulebooks is currently not planned. That said, we will happily review incoming PRs to support this in the extension. Closing this issue for now.


Relation between subject and linked_subject

Within a subject record, the keys linked_subjects and link_type are used to describe the relation of the record's subject to other subjects. However, these relations are often directional, therefore it needs to be specified how to interpret this information.
For expample, the information <subject>, <father>, <linked_subject> can be either interpreted

<subject> IS <father> OF <linked_subject>

or

<subject> HAS <father> <linked_subject>

but this describes reciprocal situations.
Is there any standard whether to use HAS or IS?

I have a question re pedigrees. Is  the current schema able to capture relationships that are not possible to infer from data available, but that are relevant? Example, we have samples of a child and the four grandparents. The parents died. But you want to be able to keep track of the grandparents being maternal or paternal. Would you (a) use a relationship has_maternal_grandmother instead of has_grandmother, or (b) would you use has_grandmother and attach the description maternal to the link?. I am not sure (b) can be done with the current schema. Also, is there and ontology for pedigree relationships we can follow (for human and other species)?

I found this ontology in Bioportal (http://bioportal.bioontology.org/ontologies/FHHO), and realized that also half-sibling relationships need to keep track of being maternal of paternal.

<subject> IS <father> OF <linked_subject>

Regarding implementation, this interpretation implies that <subject> <father> maintains a list of its children as presumably <subject> can be <father> to more than one <linked_subject>

<subject> HAS <father> <linked_subject>

While this interpretation implies that <subject> only needs a single <linked_subject> data element as presumably <subject> can only have one <father>. This interpretation follows the schema better.
However that might not be true for all relations, and in the general case it can be an n-to-n relationship. An n-to-n relationship generally implies in the database world that you need a separate entity (table) to record multiple relations.

Note that a more complex annotation scheme was discussed by MiniStd (see #308 ) but shelfed.

closing as stale/moot


tweak APIRequestCount API based on implementation and data collection

We found a few issues during implementation

new API for all API types
move removedInRelease to status
label indicating removed release for selection
new field for total access each hour and total in 24h
remove lastupdatetime
allow spec to indicate how many users to include

This covers those

first round of comments done
/hold
adding hold so we can tag while I'm doing manual verification

pushed update making tragically imprecise names.
@sttts I'm happy to add the SSA markers, but you'll need to tell me what they are.

/lgtm

/bugzilla refresh


ccmlib/common: print out process if it's listen given address

when we start, for instance, a scylla node, we use check_socket_available() to see if the given address can be bound, if not an exception is raised. but we still have no idea who is listening on this address.
in this change, we print out the process in this case, so that we can understand the problem better. in general, it's either an infra issue, or, it could be caused by a buggy test.

this change was inspired by https://jenkins.scylladb.com/job/scylla-6.0/job/next/47/testReport/junit/nodetool_additional_test/TestNodetool/Build___x86___dtest_with_topology_changes___test_status/

I don't know how useful it would be, if we don't log the scylla processes when scylla starts
we really want to identify which test that process belong to, we know it's scylla...

does the parent process helps?

@tchaikov
I would recommend giving it a ride, at least in gating, to see it's not breaking anything

running at https://jenkins.scylladb.com/job/scylla-master/job/byo/job/dtest-byo/342/

I don't know how useful it would be, if we don't log the scylla processes when scylla starts
we really want to identify which test that process belong to, we know it's scylla...

does the parent process help? also, the timestamp should help.

not much as well
in this situation you have a rouge scylla process up (my guess)
you have 5 test processes running in the same time, dtest/ccm should have killed the cluster at the end of the test
each time a scylla process gonna start there this print:
21:04:15,154 741     ccm                            DEBUG    cluster.py          :754  | test_load_older_snapshot_and_refresh: node1: Starting scylla: args=['/jenkins/workspace/scylla-6.0/gating-dtest-release-with-consistent-topology-changes/scylla/.dtest/dtest-7hc6kw6e/test/node1/bin/scylla', '--options-file', '/jenkins/workspace/scylla-6.0/gating-dtest-release-with-consistent-topology-changes/scylla/.dtest/dtest-7hc6kw6e/test/node1/conf/scylla.yaml', '--log-to-stdout', '1', '--abort-on-seastar-bad-alloc', '--abort-on-lsa-bad-alloc', '1', '--abort-on-internal-error', '1', '--api-address', '<IP_ADDRESS>', '--smp', '2', '--memory', '1024M', '--developer-mode', 'true', '--default-log-level', 'info', '--overprovisioned', '--prometheus-address', '<IP_ADDRESS>', '--unsafe-bypass-fsync', '1', '--kernel-page-cache', '1', '--commitlog-use-o-dsync', '0', '--max-networking-io-control-blocks', '1000'] wait_other_notice=True wait_for_binary_proto=True
``

you need a way to correlate between test failure listing on a specific address (and you have the process id of who holds it)
to the test started that scylla process, so you can investigate why clearing up of the process didn't work in that test.

@fruch i think this is the at least what we can do at this moment. if there is anything else i can do, i would be happy to make it happen.

@fruch i agree this is not a turn-key solution, but i think this is at least what we can do at this moment. if there is anything else i can do, i would be happy to make it happen.

I think adding a print of the scylla process, when we start it, would make this PR a bit more useful, and we would be able to hunt down which test have start the process

v2:

print out scylla instance's pid after launching it.

@fruch could you take another look?

I don't see this log print... it's on it's own commit ?

v2:

print out scylla instance's pid after launching it.

@fruch could you take another look?

I don't see this log print... it's on it's own commit ?

sorry, it was on another branch. now included in this PR.

v2:

print out scylla instance's pid after launching it.

@fruch could you take another look?

I don't see this log print... it's on it's own commit ?

sorry, it was on another branch. now included in this PR.

yeah looks better


[ Suggestion ] Sort function performance dump table alphabetically.

As the title says. It would be wonderful to have the profiled functions table be sorted alphabetically.

There'll likely be a config option to decide how the user wants to sort (ascending or descending, and by which column)

Implemented in 5e42382. Sorting can now be specified in the command itself (e.g. /fprofile dump name descending)


Add removal_action to remove settings.ddev.redis.php on add-on removal

The Issue
In DDEV v1.22.0+ there is a removal_actions section of the install.yaml, specifically for things like what this add-on does, adding settings config into sites/default.
How This PR Solves The Issue
Do the cleanup of sites/default/settings.ddev.redis.php on removal
Manual Testing Instructions
On a drupal site:
ddev get https://github.com/rfay/ddev-redis/tarball/20230720_post_removal_action
Verify that sites/default/settings.ddev.redis.php exists
ddev get --remove redis
You should have no sites/default/settings.ddev.redis.php any more.
Make sure it doesn't break on DDEV v1.22.6 (which should ignore that extra section)
Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes

Manually tested with v1.21.6 and v1.22.0, all seems to work correctly.


Data brick / raster stack development

Moving towards Hydroshare and more formalizing the format we are going to use. Builds on #22

Producing netcdfs per year.


Rearrange file structure and fix sendinline test

Also please update the title and add a description to reflect the fact that is doing more than just moving contracts around and adding a new test. It is also augmenting the behavior of the eosio.msig contract to enable contract to call approve and unapprove with a permission level that is the eosio.code permission of the sending contract.


inverse CDF for Gamma/Beta distributions

Hi!
I was wondering whether there is a way to get an equivalent of the Gamma/Beta (and other standard distributions) quantile function: scipy.stats.gamma.ppf
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.gamma.html
https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.gammaincinv.html
The inverse cumulative function is already implemented for the Gaussian distribution, but not for the Gamma / Beta distributions.
Although this may not be the best way to do so [1], this could be useful for using the "reparametrization trick" for Gamma / Beta distributions.
Thanks!
Alex.
[1]: Figurnov, Mikhail, Shakir Mohamed, and Andriy Mnih. "Implicit reparameterization gradients." Advances in neural information processing systems 31 (2018).

Hi - these kinds of features are generally added on an as-needed basis. If you're interested in putting together a pull request, we'd be happy to review it! But we don't have anyone actively working on expanding the jax.scipy.stats and jax.scipy.special API coverage at the moment.


Some songs not available in OGG Vorbis format

Most songs that I could find have the following set of formats available: AAC_160, AAC_320, MP4_128, MP4_128_DUAL, OGG_VORBIS_160, OGG_VORBIS_320, OGG_VORBIS_96, OTHER5
However, "I Write Sins Not Tragedies" by Panic! at the Disco (link), for some reason, doesn't have this set of formats: notably, it's missing all 3 Vorbis formats, leaving only AAC_160, AAC_320, MP4_128, MP4_128_DUAL, OTHER5.
Since librespot only tries playing the Vorbis formats, it will fail playing this song (in v0.1.6, it'd even panic here, but that seems to be fixed in the dev branch).
I haven't found another song that's missing Vorbis, not even on the same album. I'm not sure if the added effort to support a different format as fallback is worth it for what seems to be only one song (or, well, I would be very surprised if this was the only song with this quirk, but I haven't found any others yet).

I suppose I fixed this panic "en passent", but I never thought it would actually occur.
I don't think it would be too hard to add more supported formats (just maybe the recently added ogg passthrough makes it more difficult). The official clients must support them too if they can play this track.

I just came across the album "Diamonds" by "Enforcer" which also won't play citing an OggError(NoCapturePatternFound) on all tracks so I guess this is the same problem.
The web player works fine just not librespot.

I just came across the album "Diamonds" by "Enforcer" which also won't play citing an OggError(NoCapturePatternFound) on all tracks so I guess this is the same problem.

I don't think it's the same problem. In this case, ogg is still in the list of available formats but librespot is not able to play the downloaded files. Maybe they're really corrupted and the spotify clients are able to use another format as fallback, but could be another reason as well.

Couple of random thoughts:

I know librespot-java supports MP3 too but none of the others.
Doesn't the Spotify Web Player play AAC? Given the same bitrate, AAC is likely more efficient and of higher psychoacoustic quality than Vorbis. AAC platform support is not so great as Ogg Vorbis.
Symphonia is an interesting project to watch, that aims to offer native Rust demuxing and decoding support for a wide variety of formats including Ogg, MP4, Vorbis, MP3, AAC and FLAC.
When Spotify HiFi lands, we should revisit this and see what knobs we can supply to choose different audio formats. (perhaps including optionally AAC over Vorbis, maybe feature gated)

Spotify HiFi?  I guess that's only for new songs?  The number of songs they have at the moment with pops and clicks in them that sound like CD ripping errors is surprising.  There wouldn't be any point in having those in higher quality unless they could get a better quality source than a poorly ripped CD.
(Case in point, skip to 1:32 on the first track in this album: https://open.spotify.com/track/5CNJnvtmdxvbE062pLbfAK?si=CuHZf00oRE2eWPhBvOW7nw - I reported it in July 2020 and it was referred to the "content team" who apparently still haven't done anything about it.)

We don't know yet, official news channel is here: https://newsroom.spotify.com/2021-02-22/five-things-to-know-about-spotify-hifi/
Spotify requires musicians / distributors to submit their music in WAV and FLAC format, so there should be a cache of lossless masters.

(Case in point, skip to 1:32 on the first track in this album: https://open.spotify.com/track/5CNJnvtmdxvbE062pLbfAK?si=CuHZf00oRE2eWPhBvOW7nw - I reported it in July 2020 and it was referred to the "content team" who apparently still haven't done anything about it.)

Wow.... that is quite impressively horrendous. For me, anything after that timestamp is a garbled mess of musical pain. I don't think that's a good example of pops and clicks from "CD ripping", that sounds more like full-on data corruption. But it is interesting that it's the same in both the official client and the web streaming which points to Spotify having been given a crap source from the musician.

AAC platform support is not so great as Ogg Vorbis.

Yes. Spotify's official client is built on Chromium Embedded Framework which (by default) does not include non-free codecs like AAC.

Yes. Spotify's official client is built on Chromium Embedded Framework which (by default) does not include non-free codecs like AAC.

Symphonia is an interesting project to watch, that aims to offer pure Rust demuxing and decoding support for a wide variety of formats including Ogg, MP4, Vorbis, MP3, AAC and FLAC.

It's  actually quite tempting to see how far we can get with this. Vorbis isn't in (yet), but MP3 and AAC are under compatible MPL license. So that could solve two issues in one swoop (and keep lewton around for Vorbis for the time being).
I think FLAC is a good candidate for Spotify HiFi, only time will tell.
Regardless of it'll be FLAC, and if we want to depend on Symphonia or not, this would still be a fun exercise to get multi-format support in and we can always swap libraries later.
Only let-down is that Symphonia outputs samples in i16 instead of f32, but that seems to be the case for the native fdk and faad2 libraries too. FLAC doesn't support floating point anyway. We can still promote i16 to f32 for purpose of high-quality volume normalisation and control.
Let me know your thoughts and I can take a look at it.

Those AAC streams are encrypted with an external DRM (web player uses Widevine, streams provided by internal API probably use PlayReady), the existing key retrieval API doesn't work for them. Playing such streams will likely require bundling in a proprietary DRM library and reverse engineering how to set it up correctly.

The 24 and 48 kbps AAC streams too? Those can be fetched with spirc the "Old Way" so I was betting that those were not subject to DRM. Not the higher-bitrate AAC ones that the web player streams though, they are not in the protobufs.
I'm making progress on my multi-format branch, should be close to fetching and decoding AAC's and MP3's soon. Also saw in the latest protobufs that FLAC is in. So that sets us up for Spotify HiFi once released, and when we figure out how to advertise HiFi support with the new API.

The 24 and 48 kbps AAC streams too? Those can be fetched with spirc the "Old Way" so I was betting that those were not subject to DRM. Not the higher-bitrate AAC ones that the web player streams though, they are not in the protobufs.

Not sure about the spirc but the AACs that appear in Track::files for few tracks I checked were all DRM encrypted.

For reference, Psst is switching from minivorbis to Symphonia: https://github.com/jpochyla/psst/pull/197. Support for normalisation data is already in. I'll look into it, and welcome any PRs.

In my local new-api branch I've got MP3 support in, but now I can't find any track that's available in MP3 :sweat_smile: who can point me to one?
The song in the issue description, "I Write Sins Not Tragedies" by Panic! at the Disco, is only available in CMAF-encrypted AAC (iso8mp41dashcmfc). Not much we can do about that.
The album "Diamonds" by "Enforcer" seems to play fine?

Confirming "Diamonds" by "Enforcer" recently got Vorbis versions added.  I haven't come across any other MP3-only songs.

MP3 support implemented in new-api @ https://github.com/librespot-org/librespot/commit/7921f239276099ac1175233fc45252e14030ea52. While I haven't been able to find any MP3 tracks on the CDN, I am pretty confident such files will play fine.
Playing MP3's from external URL's is covered by issue #818.
Please reopen this if and only if you are encounter non-playing MP3 or Ogg Vorbis tracks that are actually available from Spotify's own infrastructure.