Expose options of MeshDebugPluginMaterial

Exposing all options of MeshDebugPluginMaterial for users to modify after initialization.
Would it be ok if I remove the class members mode and multiply, and instead rely on options.mode and options.multiply? It'd make things consistent.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14127/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14127/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14127/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14127/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14127/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14127/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14127/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14127/merge#BCU1XR#0

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14127/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.


Apt-get Install in debian

Hi,
I installed the package on Ubuntu 18.04 LTS
(I believe) withh apt-get Install (or only apt Install, dont know)
But in Debian the package is not found (Stretch), even not when googling it.
Is there a way to Install it that way?
Is there a reason that it is not in the repo of debian?
I am trying to use it with bitwarden_rs
https://github.com/dani-garcia/bitwarden_rs/issues/452

you need to clone the repo and build the package then move it to /opt/bin
There's a build.sh file to help you build it

I gave up on trying to use this and instead just used docker by itself.
You can user a flag to make your container stay on and restart after a system reboot.
First, make sure docker is started and enabled to start on boot
systemctl start docker
systemctl enable docker
then add this flag when starting your container or in your docker-compose.yaml file
--restart unless-stopped
https://docs.docker.com/config/containers/start-containers-automatically/

No need to build it, just download the latest release here.


Don't make long vibration until resource has been downloaded by target (Android)

Follow-up to #13
In case of a file share, the client should ideally receive the message with download URL, then download the file, then ack.

With E2EE: to implement the full semantics of "transfer complete and successful", the client should ideally receive the messages with download URLs, then download and decrypt all the files, then ack.

In case of a multi-file share, the mobile cannot wait for any specific resource cast to wait for a final ack.
Instead, we'll have to create a new specific endpoint for this.

Now endpoints

/dispatch (for single resourche share)
/waitforack (for multiple resource share)

wait for a maximum of 30s, and the client sends ack only after it has finished downloading and decrypting.


Global link colour overriden when including sass

Hi there folks!
I don't fully get what's going on here, but i had a weird issue when including tna-frontend in nationalarchives/ds-caselaw-public-ui in that the tna-frontend css globally overrode our link style with an undefined variable, leading to all links showing as black:

(note that the titles of judgments are black, as are the unselected pagination links, rendering them effectively invisible).
I haven't been able to track down exactly where in tna-frontend that color: var(--link) directive comes from - bizarrely it also seems to take precedence over other more specific rules in our own codebase - even if i set --link to our global link colour before including the tna-frontend css, it still seems to take precedence over other more specific selectors in our own css? I've managed to get around this by sprinkling some !importants around our codebase, but would be good to understand a bit better what's actually going on.
thank you!
Tim

The colour of the links is set by the selected theme.
You will need a tna-template class in the <html> element as well as either:

tna-template--system-theme or
tna-template--light-theme or
tna-template--dark-theme

This will then set all the CSS custom properties we need for colours:

Without these classes, I imagine the links will default to black because there is no variable set.

The resets for images, videos, canvases etc. are only element specificity (0-0-1) which means they can be overwritten with a single class (0-1-0). If we were to scope them inside another class (e.g. .tna-template img 0-1-1) then overwriting those styles for an image within a component using BEM (e.g. .tna-card__image 0-1-0) wouldn't be possible without more specific selectors.
The same applies to the * selector - scoping that makes it more important and then harder to override. There are also quite a number of elements that benefit from the margin: 0; padding: 0; reset and I don't think we could remove that without quite a bit of work and testing.
The main consumers of TNA Frontend will be creating new services using the library rather than migrating existing ones. Given that there are so many different possible styles and libraries that other services could be using I think we could potentially spend too long trying to make it more seamless for a number of one-time migrations when instead we could be improving and adding to the components we have. We also have to be aware that we are a very small and focused team.
I need to have a think about this and what the best way forward is.


feat/EP-3094/handle-workspace-deletion

CHANGES:

handle workspace deletion using a separate background handler
removeByQuery handler for Mongo documents
esDeleteByQuery handler for ES documents
createLifecyclePolicy/removeMapTiles handler for S3 objects.
refactor search service (+improve logging)

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


freebsd: convert rlimit.Cur to uint64

Hi,
the rlimit.Cur is a int64 so I just hardcoded the conversion. Are you fine with this? Otherwise I can break out the function and add a _freebsd.go file etc but this seemed easier.
log from current master:
[cryptix@svahnry ~/go/src/github.com/codahale/metrics/runtime:master] uname -a
FreeBSD svahnry 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:09:46 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[cryptix@svahnry ~/go/src/github.com/codahale/metrics/runtime:master] go test
# github.com/codahale/metrics/runtime
./fds.go:17: cannot use rlimit.Cur (type int64) as type uint64 in return argument
FAIL	github.com/codahale/metrics/runtime [build failed]

Awesome, thanks! I’ll add a comment to make sure it doesn’t get removed in the future.


Is the "fast server" required for Postal to work?

Hey Adam,
Great work on open sourcing this 😄
If I didn't want click or open tracking, is the "fast server" still required? Is there a way to disable it?

Nope - it's not required. In fact, the default configuration file has it disabled. See the config file for details. You can just set fast_server.enabled to false and it won't be started and tracking will be hidden in the UI.

Ah sweet, so just 1 IP is required for basic usage?


build_cyber on AARCH64 doesn't work

Describe the bug
I'm trying to build Apollo CyberRT in a AARCH64 machine. I'm able to build the Aarch64 docker image using cyber_start/cyber_into scripts. Once inside Im trying to build the CyberRT using "./apollo.sh build_cyber". But it fails as below.
[INFO] Building on aarch64...
[INFO] Building with --jobs=3 for aarch64
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC
INFO: (02-14 23:09:03.009) Found 655 targets...
ERROR: (02-14 23:09:08.114) /apollo/modules/tools/visualizer/BUILD:27:1: C++ compilation of rule '//modules/tools/visualizer:visualizer_lib' failed (Exit 1).
In file included from modules/tools/visualizer/video_images_dialog.cc:17:0:
./modules/tools/visualizer/video_images_dialog.h:19:29: fatal error: QtWidgets/QDialog: No such file or directory
compilation terminated.
INFO: (02-14 23:09:08.222) Elapsed time: 10.865s, Critical Path: 0.53s
============================
[ERROR] Build failed!
[INFO] Took 18 seconds
============================

To Reproduce
Steps to reproduce the behavior:

Build Aarch64 Docker image using cyber_start.sh and drop into the container using cyber_into.sh
In the container do "./apollo.sh buil_cyber" and here the system fails as above.

Expected behavior
Build completes successfully.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04/Aarch64

If anyone have seen this problem/had a solution please reply.

@SenRamakri please try to comment out the visualizer first in the build and see how it goes.

@quning18 - Thanks for your response, I'll try that out and post the results.

Describe the bug
I'm trying to build Apollo CyberRT in a AARCH64 machine. I'm able to build the Aarch64 docker image using cyber_start/cyber_into scripts. Once inside Im trying to build the CyberRT using "./apollo.sh build_cyber". But it fails as below.
[INFO] Building on aarch64...
[INFO] Building with --jobs=3 for aarch64
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC
INFO: (02-14 23:09:03.009) Found 655 targets...
ERROR: (02-14 23:09:08.114) /apollo/modules/tools/visualizer/BUILD:27:1: C++ compilation of rule '//modules/tools/visualizer:visualizer_lib' failed (Exit 1).
In file included from modules/tools/visualizer/video_images_dialog.cc:17:0:
./modules/tools/visualizer/video_images_dialog.h:19:29: fatal error: QtWidgets/QDialog: No such file or directory
compilation terminated.
INFO: (02-14 23:09:08.222) Elapsed time: 10.865s, Critical Path: 0.53s
============================
[ERROR] Build failed!
[INFO] Took 18 seconds
============================

To Reproduce
Steps to reproduce the behavior:

Build Aarch64 Docker image using cyber_start.sh and drop into the container using cyber_into.sh
In the container do "./apollo.sh buil_cyber" and here the system fails as above.

Expected behavior
Build completes successfully.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04/Aarch64

If anyone have seen this problem/had a solution please reply.

bash apollo.sh build cyber

should work now as of master  3711be4317 .

Hi @SenRamakri , as we haven't received response for long, I am going to close this issue now. Please feel free to create another issue if you have other questions. Thanks for supporting Apollo!


XMPPIntegrationTest fails with Camel 2.22.0-SNAPSHOT

In camel-2.22.x branch and Camel e144038b7616256ff643f495165361ac6d82e2a2 XMPPIntegrationTest fails

Working fine for me with https://github.com/apache/camel/commit/e57b788860d438e86cd924ee1dc5e6ff7d9008cd.

Maybe it is something endemic to my new laptop. Let me recheck.

Yes, works now. Since the last week, I appended  <my-hostname> <my-hostname>.localdomain to the localhost lines of my /etc/hosts and made docker accessible to my user (added to docker group and ch[own|mod]ed /var/run/docker.sock). Not sure which one helped.


How to deploy multiple docker image built by docker-compose into single instance?

Hey team!
I'm very glad to use the github action for docker container build and deploy. I'm using docker-compose to run my web app which is consisting of one static react web app and one node app to prerender for SPA in each Dockerfile. I've made a workflow to build with docker-compose. But, I can't figure out to deploy the generated docker images into the single server instance in azure through github action workflow.
Is there any reference for my case?

@mattdamon108 any sucess?

can you use https://github.com/Azure/webapps-deploy this github action? multi container deployment is supported in this. Check if this solves your problem

Please try out other action. closing this issue.


Fix code example in option 2 (bad arrow function)

Description
copy paste code results in error due to missing > in example.
this PR provides a copy+pasteable example for option 2
Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[x] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

Thanks Steve


⚠ Roblox Devforum has degraded performance

In 77c864e, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 21355 ms

Resolved: Roblox Devforum performance has improved in e5ba704.


Importing several timeseries using CSV raised "Validation errors" without telling why

Hello,
I tried to import several timeseries at once using user interface but I was getting the following error

:x: Validation errors!
Validation errors
Invalid CSV file content: Timeseries "NewTSName" can't be created.
The following CSV file was used:
Building,Site,Name,Campaign scope,Zone,Unit,Space,Storey,Description
Building3,TestSite,NewTSName,TestCampaignScope0,Zone1,Unit,Salle 1,R1,Description1

Building3,TestSite,TestCampaignScope0 have ever been created
After turning around the problem... I noticed that unit wasn't set correctly.
Maybe a more explicit error message could be raised.
An other important point to improve user experience could be to provide sample import file (so typo with columns names won't occur).
Kind regards

Yes, it is kinda hard to report errors.
Basically, what the code does it instantiate the Timeseries object, flush it to DB and catch errors. The error message could contain the database message but it sucks to pass database error messages to the frontend. Unit validation occurs at flush time. We could catch the unit error separately, but this leaves all other errors, and those may be quite ugly for a user, for instance those related to unique constraints.
At least, we flush between each line, to the users knows which line is wrong.
Also, a poorly documented "limitation" is that units must conform to pint notation, which is generally fine but can be surprising. For instance, m2 must be written m^2.
I'm not sure what can reasonably be done here.
Indeed sample files with column headers is something feasible that we had in mind but we haven't found time for that as it is not a priority for us (we generally copy the same spreadsheet for all projects).


Add role to drop streamlit

We are missing the role specifications for this command.

Needed to run pytest --snapshot-update for tests to pass

@blackary if you are able to merge this in, please do so.


[Bug]The tooltip is not displayed when the user hover on the org name in Create org section

Description
[What happened]The tooltip is not displayed when the user hover on the org name in Create org section Only when the organization name is very large but it should be consistent
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots

Go to application page
under the create organization section
hover on organization name
4.verify the display

The Organization name should be displayed inside the tooltip

Important Details
Version: [Cloud ]
OS: Windows
Browser Chrome
Environment Production

I would like to work on this issue. Please assign it to me.

Hi @SandipPalit , I think you already have a few issues assigned to you. So please complete those before taking on new ones! Looking forward to your contribution :)

@Nikhil-Nandagopal Some of my PRs are pending. So please assign this issue. I will complete the rest of the issues also.

This is not happening for me right now. Closing.


Enhances command spo folder add

Closes #5894

Thank you @MathijsVerbeeck, we'll try to have a look at it ASAP.

Merged manually, thank you for this PR!


remove unhelpful slot_usages

remove slot_usage assertions if they

are empty
reiterate the global settings for a slot

Haven't chose an implementation yet

SchemaView

might emit the schema with some style differences

Various partially-implemented LinkML fixers
yq (Go version form Mike Farah)
manual

cc @mslarae13

I wrote some minimal schema fixer code
import unittest
import os
from linkml_runtime.dumpers import yaml_dumper

from linkml.utils.schema_fixer import SchemaFixer

from linkml_runtime import SchemaView

ROOT = os.path.join(os.path.dirname(__file__), '..')
SCHEMA_DIR = os.path.join(ROOT, "src", "mixs", "schema")
SCHEMA_FILE = "mixs.yaml"
SCHEMA_PATH = os.path.join(SCHEMA_DIR, SCHEMA_FILE)

schema_view = SchemaView(SCHEMA_PATH)

schema_def = schema_view.schema

fixer = SchemaFixer()
fixer.remove_redundant_slot_usage(schema_def)

yaml_dumper.dump(schema_def, "mixs_no_redundant_slot_usage.yaml")

And then did find & replace in PyCharm to undo the more verbose forms that the schema fixer introduced:

delete all assertions with these keys:

name
text
from_schema
reduced these to their most compact form:

prefixes
annotations
settings


Debug build DLL hangs on LoadLibrary (Windows)

I'm encountering an issue where a DLL built in Debug configuration hangs when loaded using LoadLibrary. Dependency Walker also freezes when attempting to load the DLL. This issue does not occur in Release mode.
The hang occurs during the DLL loading process, specifically when using the SYCL parallel_for construct. Removing this construct allows the DLL to load correctly.
Minimal Reproducible Example:
#include <sycl/sycl.hpp>

extern "C" __declspec(dllexport) void acpp_dll_function()
{
    auto d_selector{ sycl::cpu_selector_v };
    sycl::queue q(d_selector);
    q.submit([&](sycl::handler& h)
    {
        h.parallel_for(sycl::range<1>(1), [=](auto i) {});
    });
}

This simple DLL hangs on load in Debug mode.
Build:
Using command line:
python "c:/adaptivecpp/bin/acpp" -g -D_DEBUG -shared -o dynamiclib.dll dynamiclib.cpp --acpp-targets="omp" -D_MT -lmsvcrtd -Xlinker /NODEFAULTLIB:libcmt
Using cmake:
CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(dynamiclib)

set(AdaptiveCpp_DIR "C:/AdaptiveCpp/lib/cmake/AdaptiveCpp")
set(ACPP_TARGETS "omp")

set(CMAKE_C_COMPILER "C:/llvm/bin/clang.exe")
set(CMAKE_CXX_COMPILER "C:/llvm/bin/clang++.exe")

find_package(AdaptiveCpp CONFIG REQUIRED)

include_directories(${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR})

add_library(dynamiclib SHARED "dynamiclib.cpp")
add_sycl_to_target(TARGET dynamiclib SOURCES "dynamiclib.cpp")

cmake .. -G Ninja -DCMAKE_C_COMPILER=clang.exe -DCMAKE_CXX_COMPILER=clang++.exe -DCMAKE_BUILD_TYPE=Debug
ninja
Trying to load DLL:
HMODULE acpp_dll = LoadLibrary(L"dynamiclib.dll"); // hangs here

Dependency Walker also freezes while trying to load this DLL.
Any insights or suggestions would be greatly appreciated.

Some update.
I've made some progress in investigating the DLL loading issue and wanted to share the latest findings.
Using Process Monitor alongside Dependency Walker, I've confirmed that there are no issues with dependency resolution. All necessary DLLs are found, opened, and then closed without any errors, just before the hang occurs.
I used gflags and WinDbg to analyze the call stack at the point of the hang. The last output line before the hang is:
LdrpInitializeNode - INFO: Calling init routine 00007FFB70A50E90 for DLL "C:\Users\Daniil\source\repos\Test\LoadLibraryTest\x64\Debug\dynamiclib.dll"
The call stack suggests a hang related to a lock, specifically involving C++ standard library mutex operations. This indicates that the issue is happening during the dynamic initialization of the DLL.
As my code is extremely simple and doesn't contain any global objects, this indicates that the hang is likely occurring within the AdaptiveCpp runtime initialization.
I am using Release build of AdaptiveCpp. I plan to build AdaptiveCpp with Debug configuration to include debug symbols. This will probably provide greater visibility into the library's initialization code during the DLL loading process.

This page has a lot of good information on what you are allowed to do in DllMain: https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices
Try Application Verifier, it might add more information, but it sounds like a loader lock problem.

Thank you for the information. However, I have no DllMain. The code I provided is a full reproducer. Providing DllMain in a Windows DLL is not strictly necessary. The compiler and linker automatically generate an entry point for the DLL. However, I tried to add DllMain for debug purposes, and this didn't help, breakpoint in this function doesn't hit, which indicates that the problem may occur in other dependency libraries.

Hi @blinkfrog. I'm not really a Windows person so I'm afraid I cannot help much. I am just curious, you said the hang occurs if you remove the parallel_for().  Does that mean that it works if you leave the construction of the queue in the code? That would be surprising, because the construction of a queue should already trigger the initialization of the AdaptiveCpp runtime and its backends.
Your reproducer is missing a q.wait() (or some other form of synchronization) at the end to avoid UB. But if you say that the issue is triggered at startup, then this is probably not related to your problem :(

Hi @illuhad. No, it's the opposite: hang occurs only when parallel_for() is present.
As for missing q.wait(). Please correct me if I am wrong, but In SYCL, using q.wait() isn't strictly necessary. It can be needed in some cases though. In this particular reproducer, SYCL runtime anyway should wait for all tasks to be finished when deconstructing queue (and buffers, if they would be used here).

Are there any globals (or static data structures) that are calling OS code in the library?  Those get initialized and code run in them at load.  I can't tell you how many times I have been burnt by this particular issue.

No, it's the opposite: hang occurs only when parallel_for() is present.

That's interesting. I would not expect any additional libraries being loaded just for a parallel_for. Except perhaps some internal libraries of backends that we do not control. Does it happen for both CUDA and OpenMP backends? Does it also happen if you just compile for CUDA, and then force it to run on OpenMP (e.g. using ACPP_VISIBILITY_MASK="omp")?

As for missing q.wait(). Please correct me if I am wrong, but In SYCL, using q.wait() isn't strictly necessary. It can be needed in some cases though. In this particular reproducer, SYCL runtime anyway should wait for all tasks to be finished when deconstructing queue (and buffers, if they would be used here).

No, this is incorrect. Buffers have their own synchronization rules, so if you were using buffers they might block in their destructor. But for the queue itself, this is not the case. From https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:interface.queue.class

A SYCL queue may be destroyed even when there are uncompleted commands that have been submitted to the queue. Doing so does not block. Instead, any commands that have been submitted to the queue begin execution when their requisites are satisfied, just as they would had the queue not been destroyed. Any event objects for those commands are signaled in the normal manner when the command completes. Resources associated with the queue will be freed by the time the last command completes.

Queue destructor does not block. Normally this is not an issue, if the task does not have any observable side effect, as in your case. However, problems can arise if there is also no synchronization before exiting main(). In this case, the AdaptiveCpp runtime might try to finish the enqueued tasks while the program is already starting to shut down. This can cause all kinds of backend-specific issues. E.g. compute drivers might already have unloaded at this point.
I could imagine that similar issues occur if you start unloading your library withour prior synchronization.

Are there any globals (or static data structures) that are calling OS code in the library? Those get initialized and code run in them at load. I can't tell you how many times I have been burnt by this particular issue.

Almost all of the runtime is initialized "at first use", so loading the runtime itself should not be an issue. What it does do however which departs from that pattern is that it registers the kernels that are contained in the binary with the kernel cache using constructors of global objects. I'm not sure to what extent this process includes OS functions in the call graph. In principle, it is not complex logic. It might check some environment variables for user settings that it is affected by.
But if this is connected to the problem, it might explain why there is only a problem if the code actually includes a kernel.

That's interesting. I would not expect any additional libraries being loaded just for a parallel_for. Except perhaps some internal libraries of backends that we do not control. Does it happen for both CUDA and OpenMP backends? Does it also happen if you just compile for CUDA, and then force it to run on OpenMP (e.g. using ACPP_VISIBILITY_MASK="omp")?

Yes, it happens for both CUDA and OpenMP backends. Just have tried also this mixed variant - compiled for CUDA and forced to run on OpenMP, but result is the same - it hangs.
From the last lines of the call stack I only can conclude that the hang occurs during the dynamic initialization of global objects. The lock might be part of the initialization of a global or static object, possibly a singleton.
00 000000a5`1737f248 00007ffb`c0627975     ntdll!NtWaitForAlertByThreadId+0x14
01 000000a5`1737f250 00007ffa`e8072793     ntdll!RtlAcquireSRWLockExclusive+0x165
02 000000a5`1737f2c0 00007ffa`e80724e5     MSVCP140D!mtx_do_lock+0xb3 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\mutex.cpp @ 95]
03 000000a5`1737f320 00007ffb`707c86d0     MSVCP140D!_Mtx_lock+0x15 [D:\a\_work\1\s\src\vctools\crt\github\stl\src\mutex.cpp @ 164]
04 000000a5`1737f350 00007ffb`707c85a8     dynamiclib!acpp_dll_function+0x7680

No, this is incorrect. Buffers have their own synchronization rules, so if you were using buffers they might block in their destructor. But for the queue itself, this is not the case. From https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:interface.queue.class (...) Queue destructor does not block. (...)

Thanks, this is very useful to know (although I never use SYCL without buffers and I usually work with accessors that way so I don't need to call q.wait() at all, as all tasks are synchronized internally. I use it mainly when benchmarking performance).

Can you try commenting out this line here?
https://github.com/AdaptiveCpp/AdaptiveCpp/blob/7041cdf31521571d1cc7aad4de6fe7dc27593317/include/hipSYCL/sycl/handler.hpp#L807C5-L807C39

Can you try commenting out this line here?
https://github.com/AdaptiveCpp/AdaptiveCpp/blob/7041cdf31521571d1cc7aad4de6fe7dc27593317/include/hipSYCL/sycl/handler.hpp#L807C5-L807C39

Can you try commenting out this line here?

Sure! After commenting this line out, my test app loads dll fine now without hanging on LoadLibrary.

Some update regarding this issue.
The hang occurs not only when loading the DLL but also when starting an executable built in Debug mode. The executable hangs at the same point – acquiring a mutex lock, which suggests a common underlying problem.
The hang is specifically occurring within the acpp-rt.dll
I have a questions.
In my current setup, the Debug build of my program uses the AdaptiveCpp runtime built in Release configuration. Could this be a potential cause of the hang issue? Is it generally advisable or acceptable to use a Release build of AdaptiveCpp with a Debug build of a program?
I also would like to know if such a configuration (Debug program with Release AdaptiveCpp runtime) is commonly used or tested on Linux.
Thank you for your time and assistance.

Hi, this is not systematically tested, but I remember having occasionally used such configurations on Linux when changing build types. I am not aware of any issues nor why this could cause problems. But I don't know about Windows (are there ABI changes on Windows when switching between debug and release builds?).

Jup, don't mix Debug and Release on windows, they have different abi and when linking normally (I.e. not at runtime), you will be notified about this by erroring out with "iterator level x in file X doesn't match level y in file Y"

Thank you very much. I am new to building opensource programs from source, and using cmake in overall. Could you please suggest a proper way to build and install debug version of llvm and AdaptiveCpp in case if I need to have both Debug and Release versions? Should I install them into a different directories, or this isn't needed - may be binaries will have d suffix added?
Installing them to different directories but having the same binaries names can lead to a problem when required dll can't be properly selected when its path is resolved via Environment PATH variable - in this case the same dll will be selected in all configurations.

Is Debug build of LLVM required for debug build of AdaptiveCpp? I can't build Debug LLVM: I get this error: LINK : fatal error LNK1189: library limit of 65535 objects exceeded

Closing the issue as it is obviously because of mixing Release build of AdaptiveCpp/Clang and Debug build of binaries I build. I should use Debug build of Clang which I can't compile :( and AdaptiveCpp for debug purposes.


Detect the repetition of the exercise in the video.

Segmentation ------------- Done [1/2]
Repetition Segregation ---- Estimated completion by Saturday, Feb 10, 2024


Make metrics immutability more obvious

Added a failing test for the sample ordering in output.

If it helps you understand the code better, it's fine. I'm on the fence about Samples -> WireThingy. It is less code, but we lose sensible zero-values for Metric.

Will rebase to get new test.

I had a go at making the metrics methods take pointers, but it tends to invade the entire codebase (can't call methods with pointer receivers when they are used as non-pointer values in a map).  So I decided against.  A smart compiler will notice that we don't modify the receiver, and pass it by references.  Not that go has a smart compiler...


JSONDecodeError while populating player data

Ran into the following issue while using the create_postgres.sh shell script.
nbasql ❯ ./scripts/create_postgres.sh
Connecting to postgres database.
Initializing schema.
Populating team data
team Table Loading |██████████████████████████████| 100.0%
Populating player data
Traceback (most recent call last):------------------| 0.0%
  File "/Users/avadhanij/dev/nbasql/nba-sql/stats/nba_sql.py", line 259, in <module>
    main()
  File "/Users/avadhanij/dev/nbasql/nba-sql/stats/nba_sql.py", line 105, in main
    populate_base_tables(
  File "/Users/avadhanij/dev/nbasql/nba-sql/stats/nba_sql.py", line 221, in populate_base_tables
    player_requester.add_player(season_id)
  File "/Users/avadhanij/dev/nbasql/nba-sql/stats/player.py", line 49, in add_player
    response = requests.get(url=self.player_info_url, headers=headers, params=params_str).json()
  File "/Users/avadhanij/.virtualenvs/nbasql/lib/python3.9/site-packages/requests/models.py", line 900, in json
    return complexjson.loads(self.text, **kwargs)
  File<EMAIL_ADDRESS>line 346, in loads
    return _default_decoder.decode(s)
  File<EMAIL_ADDRESS>line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File<EMAIL_ADDRESS>line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Not entirely clear if it's because of some change in format of incoming data.

Strange. I'll give it a run this week and see if I can repro it.

@avadhanij Cool queries on your branch. Do you mind if I add some to the wiki as examples?

First off, my bad, I should have seen the link to your wiki. I am a bit surprised that you are storing the sql dump as a release. Isn't that data proprietary?
Anyway, I am not entirely sure what you would add from here to you wiki, but sure, go ahead.

🤫 I'm not sure. If I get asked to remove the file, then I will.
The 50/40/90 query caught my eye, if I do end up adding it I will credit you.

I think you have me confused with some one else :). I haven't even been able to get this to run yet.
My first two attempts resulted in errors, that I created issues out of. I forked your repo to work on those myself.

@avadhanij Yes, it looks like I have my mistake. I can get around to these issues this weekend, but if you have figured them out yourself I'd gladly accept a PR.

I don't think so. I was not able to reproduce this issue.
Which may be because I have mainly been using it with one season (2020-21). This showed up when I tried to run it with all seasons. I will give that a try again.

Huh, I am also getting this when importing from the beginning, but 2020-21 is fine. I'll debug this further, maybe they've invalidated the last season.

Oh no, this is caused by rate limiting, I believe. We're getting 502 errors. Increasing the time between requests to .7 seconds made the error occur later, looking at the responses. I wonder if it is time to understand how this behaves in AWS (if the NBA has blocked whatever IP block that AWS uses), and distribute each season to a unique machine.
Regardless, I'll close this issue once I merge that change, and link this to the distribute issue.

Increasing the timeout didn't work for the earlier seasons. I wonder if we should change the default behavior to just load the current season.

So you are saying that at this time, a user can't generate a DB with all the seasons?

I wonder if we should change the default behavior to just load the current season

This isn't a bad idea. Make it incremental, so that user can choose which seasons are important.

Yes, it appears so. I can successfully load 2020-21, but starting from the 1996-97 season the endpoint returns a 400 error. I'm not sure if the params that the player endpoint accepts has changed, I have this weekend free so I'll dig in to it before just defaulting to the current season. Its a better user experience loading the most recent data than seeing an error on first run, though.

Tried to get back to this issue since I've been making some changes. For 1996-97 I'm now seeing
./scripts/create_postgres.sh
Connecting to postgres database.
Initializing schema.
Populating base tables
Populating team data
team Table Loading |██████████████████████████████| 100.0%
Populating player data
player Table Loading |██████████████████████████████| 100.0%
Loading event types.
Loading player_game_log season Data |██████████████████████████████| 100.0% This one will take a while...
Loading cached game table.
Traceback (most recent call last):
  File "stats/nba_sql.py", line 392, in <module>
    main()
  File "/Users/pope/Projects/nba-sql/venv/lib/python3.8/site-packages/gooey/python_bindings/gooey_decorator.py", line 134, in <lambda>
    return lambda *args, **kwargs: func(*args, **kwargs)
  File "stats/nba_sql.py", line 238, in main
    game_builder.populate_table(game_set)
  File "/Users/pope/Projects/nba-sql/stats/game.py", line 54, in populate_table
    new_row['team_id_winner'] = teams[teams.index(entry.loser) - 1]
ValueError:<PHONE_NUMBER> is not in list

Which seems odd. Not a JSONDecodeError, but we have a team that might not exist in the list of teams?


RFE: option to resize or disable help overlay

The help feature is really cool, but I could image scenarios in which it is undesired, and when interacting with a multitouch surface, the insidePanel hover triggers a bit wildly. The option to hide or scale this feature would be a nice touch (pun i guess intended?)

done! added to 4.0.1.
Simple tweak basically the toggle for tool tips drops the z index and kills the opacity on hover. makes it possible for someone to set the toggle with an expression if they want, to get momentary tool tips if desired.


Provide an easy way to log to a file (or just add an example of how to do so)

I think it may be as easy as a File writer instead of stdout, but in that case we need to document it in
an example

I did a custom-logger example in WebRTC repo that people could cite/use.
In the future when we move to slog that will make things a lot easier.


feat: add room_membership tests

Signed-off-by: Meenal Trivedi<EMAIL_ADDRESS>

@kegsay please review

Hey @kegsay all the requested changes have been taken care of


Align postgis default version with postgres version

As the values for the postgis version is hard-coded, this module currently installs by default older, unsupported versions of postgis.
This commit updates the module to align with current default postgis versions for each related postgres version.

👍 LGTM


How do other mods add recipes?

Hey I am the author of modtweaker, currently support is broken, and I am wondering how I am meant to add recipes now, since it changed between 7>>8

Some more details on what you need might get this a bit further?

Support should actually work just fine, but yeah, it did change.  Mekanism now uses IMC for recipes, I wrote up a complete guide on how to integrate here: https://github.com/aidancbrady/Mekanism/wiki/IMC-based-recipe-integration

:/ Minetweaker does notsupport inc message... Sigh, atleast I have a reason
to implement imc now...
On Wednesday, June 24, 2015, Aidan<EMAIL_ADDRESS>wrote:

Support should actually work just fine, but yeah, it did change. Mekanism
now uses IMC for recipes, I wrote up a complete guide on how to integrate
here:
https://github.com/aidancbrady/Mekanism/wiki/IMC-based-recipe-integration
—
Reply to this email directly or view it on GitHub
https://github.com/aidancbrady/Mekanism/issues/2753#issuecomment-114659353
.


Missing message macro in AC_CHECK_LIB call

Running configure results in the following message:
checking for srunner_run_all in -lcheck... no
../../../dependencies/csptr/configure: line 12116: Could: command not found
checking whether ln -s works... yes

I think you probably wanted AC_MSG_ERROR/AC_MSG_NOTICE
Here is the line in question:
https://github.com/Snaipe/c-smart-pointers/blob/master/configure.ac#L16

Thank you for noticing!


Complex matrix support

Hi, I'm looking to use this for complex128 csr matrices, but it is not currently supported.
Is this in the pipeline?  Is it straightforward to implement?
Right now, I'm performing a workaround by constructing a twice as large, real matrix, which works but is significantly slower.
Thanks!

My bad... in the above comment I was actually not setting mtype correctly. Those outputs correspond to feeding complex inputs when Pardiso is expecting real inputs (still having mtype=11).
My approach to trying to get complex numbers to work was:

Comment out the checks in PyPardiso that see if A and b are of type float64

Update the pointers in _call_pardiso(self, A, b) to c_float64_p = np.ctypeslib.ndpointer(np.complex128)

Run the following

import numpy as np
import scipy.sparse as sp
from scipy.sparse.linalg import spsolve
from pypardiso import *

ps = PyPardisoSolver(mtype=6)

np.random.seed(13)
n = 6
density = 0.1

A = sp.csr_matrix(sp.rand(n, n, density) + sp.eye(n)*1j)
A = A + A.transpose()
b = np.random.rand(n,1)+1j

x_pardiso = ps.solve(A,b)
print(x_pardiso)

x_scipy = spsolve(A,b)
print(x_scipy)

This gives a Segmentation fault (core dumped) from somewhere inside self._mkl_pardiso(). Note also that using c_float64_p = np.ctypeslib.ndpointer(np.float64) also works for the real case (with mtype=11), so it doesn't seem that the issue lies with using np.ctypeslib.ndpointer.

One additional point... using mtype=3, corresponding to the complex and structurally symmetric case gets rid of the segfault but the result doesn't seem to match Scipy's solution.

See my pull request #9

@ianwilliamson @haasad I don't know if anyone is still interested in complex types in pypardiso now (2 years later) but I stumbled upon this as I was trying to wrap complex types for PARDISO 6 and got curious so I was playing around.
I think that this pull request #9 might actually work (more or less -- there is a test failing due to the removed conversion from half-precision that used to happen behind the scenes)!
The problem with the example code in https://github.com/haasad/PyPardisoProject/issues/8#issuecomment-409024397 (I think) is that the matrix type is specified as a symmetric type mtype=6 which means that we should be passing a triangular matrix to PARDISO rather than passing the redundant other-half of the matrix as well.  I verified on my local machine that passing either the triangular matrix or changing the mtype to nonsymmetric works.
(Possible that there were other problems I don't know about here)

@victorminden Feel free to take over that pull request, if you wish.
Just FYI... there is also this package: https://github.com/dwfmarchant/pyMKL that wraps (what I think is the same solver) and supports complex numbers. We have used it successfully over the past few years.

@ianwilliamson  Thanks for the note, I have been looking at PyMKL as well.  My interest is as part of a "which of these two projects would be more straightforward for trying out PARDISO 6 with complex support via Python", so when I saw this and #10 I was trying to investigate low-hanging fruit here.  Will spend more time with PyMKL as well.

Ah, makes sense. It would be really useful to have a working interface to pardiso version 6 from Python.

[https://github.com/andrejstmh/PyPardisoProject/tree/master/pypardiso]


Add caching to CI scripts

Ideally these tests are run when PRs are merged into ocaml/ocaml (or perhaps even on PRs).
Short of that, we instead trigger the CI

every Monday
on pull requests
on pushes

This approach causes needless test runs.  Extending the CI-script with a cache would save carbon from a full run on Mondays if the latest compiler version has already had a test run. The 'cache-keys' should probably combine the ocaml-commit and the multicoretests-commit as changes to either should be considered a reason to rerun the tests.

Fixed by #157


Importer: multiple relationships not handled if objects don't have slugs

Note: This is a regression in behaviour, as a result of the importer refactor over a year ago. Noone else seems to have noticed, so it's not urgent, but we should consider if this can/should be fixed, or if the docs should be updated. I'd lean towards the former, it's quite the gotcha!
Summary
If you attempt to run an import with a bunch of posts with related tags/authors, where the tags or authors in the import file don't have a slug, the importer will not import all the relations. It will only import the first related item.
Individual tags and authors are imported correctly.
Individual posts are imported correctly.
Associations between posts and items without a slug are silently lost, without error or warning.
This is due to this line:
https://github.com/TryGhost/Ghost/blob/d1e3205569f11fcb0d9867dd68de781478c4c7f6/core/server/data/importer/importers/data/posts.js#L111
This is where we try to look up items from the  import file, and match them to the object that was actually imported (the ids will be different). This line assumes it can match on slug. If the import file didn't have a slug, this will look for an originalSlug (which will be undefined) that matches the slug from the import file (which is also undefined).
This line (_.find) will always return the first item.
Therefore, in these lines we go from having all references, to all references pointing at the same, first tag.
To Reproduce

Try importing this file, in which tags don't have slugs https://gist.github.com/ErisDS/10fed8d3df18512598bca9d9535d2152
After importing, notice all tags are present
See that the post "example post" only has the tag "A Tag" associated with it, instead of all 4 tags
See that the post "second post" has the tag "A Tag" associated with it, but it should be "#Internal"

There is no expectation that the import file must contain slugs for all objects: https://docs.ghost.org/api/migration/. Only IDs and a name/title.
Technical details:

Ghost Version: master

Additional note: In the previous iteration of the importer, we kept an id-based map. I think the correct fix is to keep / check based on the original id, not the original slug. All related items must have ids, so that relations work.

This bug still exists for authors. Below are two reproduction cases, setup for both require:

you have an owner user which you are logged in as
you have a second user in the system called "Me" with the email<EMAIL_ADDRESS>and the slug "me" that is not the owner user

Note: you can create this 2nd user by trying either import file below & then deleting content after, as the import works when the user doesn't already exist.
Example 1. Current Ghost with relations as a separate resource:
{
    "meta": {
        "exported_on":<PHONE_NUMBER>891,
        "version": "2.14.0"
    },
    "data": {
        "posts": [
            {
                "id": 1,
                "title": "Hello World"
            }
        ],
        "users": [
            {
                "id": 5,
                "name": "Me",
                "email"<EMAIL_ADDRESS>            }
        ],
        "posts_authors": [{
            "post_id": 1,
            "author_id": 5
        }]
    }
}

Importer shows:

Example 2. Oldschool author relation inside the post table:
{
    "meta": {
        "exported_on":<PHONE_NUMBER>891,
        "version": "2.14.0"
    },
    "data": {
        "posts": [
            {
                "id": 1,
                "author_id": 5,
                "title": "Hello World"
            }
        ],
        "users": [
            {
                "id": 5,
                "name": "Me",
                "email"<EMAIL_ADDRESS>            }
        ]
    }
}

Importer shows:

In both cases, the author ends up being the owner, not the 2nd user. In the first case this happens with no warning, and in the 2nd there is at least a clear warning.
If you add "slug": "me" to the user record in both files, both will work correctly.

Still running into this when doing various platform migrations


Error in Location: crates/evm/evm/src/executors/invariant/mod.rs:230

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
0.2.0
What command(s) is the bug in?
forge test --fork-url https://binance.llamarpc.com  --fork-block-number 19078510
Operating System
Linux
Describe the bug
When lauching the command, i've got the following message :
No files changed, compilation skipped
2024-06-14T19:28:20.195771Z ERROR sharedbackend: Failed to send/recv basic err=failed to get account for 0x699029b38ca5Ef1d9559ece21B98f5981C305eb8: Max retries exceeded address=0x699029b38ca5Ef1d9559ece21B98f5981C305eb8
The application panicked (crashed).
Message:  could not make raw evm call:
backend: failed while inspecting
Context:

Error #0: database error: failed to get account for 0x699029b38ca5Ef1d9559ece21B98f5981C305eb8: Max retries exceeded
Error #1: failed to get account for 0x699029b38ca5Ef1d9559ece21B98f5981C305eb8: Max retries exceeded
Location: crates/evm/evm/src/executors/invariant/mod.rs:230

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 8 frames hidden ⋮
9: proptest::test_runner::runner::call_test::h94a7f50e94762e41
at :
10: proptest::test_runner::runner::TestRunner::gen_and_run_case::h817469c4dd8d0e55
at :
11: proptest::test_runner::runner::TestRunner::run_in_process::hcd0b46311676dc9f
at :
12: forge::runner::ContractRunner::run_invariant_test::h55120638ca6b891a
at :
13: rayon::iter::plumbing::bridge_producer_consumer::helper::h4ba7699c373ca576
at :
14: rayon_core::join::join_context::{{closure}}::h801bcfe825e31612
at :
15: rayon::iter::plumbing::bridge_producer_consumer::helper::h4ba7699c373ca576
at :
16: rayon_core::join::join_context::{{closure}}::h801bcfe825e31612
at :
17: <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute::ha72919220ed182e7
at :
18: rayon_core::registry::WorkerThread::wait_until_cold::h1b8d643da4e07a77
at :
19: std::sys_common::backtrace::__rust_begin_short_backtrace::hc940be88c9f95cda
at :
20: core::ops::function::FnOnce::call_once{{vtable.shim}}::h488a74cb13bf57a7
at :
21: std::sys::pal::unix::thread::Thread::new::thread_start::h3631815ad38387d6
at :
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Aborted

please specify the entire forge version (forge --version).  It looks like you're using an older version that doesn't handle error properly, if so please update to latest and retry (most probably test will fail but forge shouldn't panic)

I run same test and confirm forge does not panic but test just fails with message, I am going to close this one, please update to latest and retry


🐛 [firebase_dynamic_links] onLink listener not signaling faulty dynamic link data URI

Bug report
We have set up Firebase Authentication as well as Dynamic Links as described in the respective tutorials (here and here). Logins (Social, Email Link) as well as deep links into the app work fine.
However, we encountered an issue as described for firebase-js already: https://github.com/firebase/firebase-js-sdk/issues/5054. In this case, a faulty URL is given as dynamic link data. For example https://link.[xyz].app/?link=https://xyz.firebaseapp.com/__/[...] becomes https:/link.[xyz].app/?link=https://xyz.firebaseapp.com/__/[...] (note the missing /).
The listener for the latest dynamic link events FirebaseDynamicLinks.instance.onLink.listen() does not emit anything in this case, the faulty URL seems to be silently failing the internal parsing.
Expected behavior
It would be really helpful, if one would get some information about this, instead. FirebaseDynamicLinks.instance.onLink.listen() should emit some information about a faulty URL being received, maybe even an error.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.6.2 21G320 darwin-arm, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.74.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Thanks for the report. Treating this as an enhancement for the plugin to detect and emit some information about a faulty URL being received, maybe even an error.

Hey @toebgen, do you mind providing steps to reproduce this issue and I can take a look?


Get Started with Flux

hi, do you have any docker container with flux v2?
best regards

Yes, there is a GHCR package (docker container) which does include the Flux v2 CLI:
https://github.com/fluxcd/flux2/pkgs/container/flux-cli
The individual controllers each are published in a separate container image as well, the Flux CLI handles installing them for you. You can build your own container images from this image if you want them to have the latest Flux CLI 👍

@kingdonb Not sure ... Is this a common use-case we might want to document somewhere?


Camera is undefined

I copy the sample to my site as HTTP://bobiyou.com/test, but the console show the camera is undefined, please help me, thanks a lot.
https://s.nimbusweb.me/image/2192823/fkepofuqqe8rz590pxmv/8GKAtmHWTfIAGFIv/hSbDrH7qBao5Vref/screenshot-bobiyou.com-2018.10.20-18-42-30.jpg

I have the same issue

I have the same issue


Separate run_app in init_app and start_app, for daemons

Now you can initialize the entire application using one function, run_app(). For daemons, it's useful to fork the main process as late as possible, since if the program will fail after fork, the service manager will not be informed and the daemon results as successfully started. For this reason I think it's useful to have at least a separation of run_app() in an init function and a start one, so you can run them separately if you want.

Running asyncio programs should not be forked.
Moreover, forking event loop instance is very error-prone.
Taking it into account I doubt if splitting run_app() makes any sense.


Bytes::into_mut shortcut

It is a simple wrapper around Bytes::try_mut. It is convenient,
because I guess most of the time try_mut is used exacly as
into_mut is implemented.

This is the implementation of From<Bytes> for Bytes: https://github.com/carllerche/bytes/blob/master/src/bytes.rs#L1274-L1279
I'm going to close the PR, if you think that into_mut should also be exposed, please open a new issue to discuss.

Thanks!


feat: Add redshift_cluster_nodes to the outputs

With new AWS 3.57.0 provider - new output for Redshift has been added - redshift_cluster_nodes - it's available now to fetch IP addresses for nodes.
https://github.com/hashicorp/terraform-provider-aws/blob/v3.57.0/CHANGELOG.md

@antonbabenko I've bumped AWS provider required by the module. Left TF version as it is (some people might be on the old version and I don't want to introduce any trouble for them)

@evilr00t Thank you for this PR!
v3.4.0 has been just released.


Microsoft.Azd version 0.9.2

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Please HOLD on merge. This requires a manual update to the install YAML.

This is good to merge when approved. Thanks!
cc @heaths


Activity Nights

Activity Nights
A description of the issue:
Although server membership steadily keeps increasing, as people join the server upon hearing of the programme, activity either remains stagnant, or decreases, as previously active members end up leaving the server.
Proposed Solution:
Activity nights in order to have "something to do" that is not restricted to what ends up to be the same types of conversations repeatedly.
Examples could include, but are not limited to:

Multiplayer matches. These could be either short term (Mario Party, Mario Kart) or longer in duration (Civ V, Factorio)
Movie nights. Server members vote for a movie to watch (within reason), and arrangements are made to stream it.

Mario Party 7 (via Dolphin) sounds like it could be fun, but it only supports up to 4 players at a time. The 8-player deluxe mode requires people to share controllers, which doesn't really work through netplay. Also the multiplayer mode for Mario Kart Double Dash requires splitscreen, which doesn't look great at low (<1080p) resolutions.
Generally, Dolphin games are super fun but we'd need to split people into teams and make appropriate voice channels for them.
Jackbox Party Pack could be pretty fun as an alternative

This is something I'd absolutely be in support of. Whilst we are expecting to see a bump in activity when year 3 launches on the third, many of those members will stick around for long enough to ask for Assess help then run off. Being more than just a source of help will help the server grow and make life more interesting for existing members.
With regards to movie nights, I'm not sure what (if any) legal issues would arise, but that's something that can be looked into.
Perhaps we could look at integrating a schedule into , or just keep it simple with a Google Calendar. A Discord channel of upcoming events might work better for people who are less involved with the server, so they don't have to go anywhere else to get info about upcoming events. All things that can be discussed.
As far as game choice, it would be good to see a mix of premium titles (Factorio, GMod, Civ 5), and free to participate stuff (Pretend You're Xyzzy, Jackbox) so we can get as many people involved as possible. I’m happy to throw some of my free Google Cloud credit into game servers if that’s needed, although we’d probably have to manage it a bit more closely than the most recent Minecraft server which was completely hands off and was left up long after people stopped using it.

We are going to need to to TTT at some point though

Mario Party 7 (via Dolphin) sounds like it could be fun, but it only supports up to 4 players at a time. The 8-player deluxe mode requires people to share controllers, which doesn't really work through netplay. Also the multiplayer mode for Mario Kart Double Dash requires splitscreen, which doesn't look great at low (<1080p) resolutions.
Generally, Dolphin games are super fun but we'd need to split people into teams and make appropriate voice channels for them.
Jackbox Party Pack could be pretty fun as an alternative?

Yeah, Dolphin stuff can be a lot more work, but with sufficient planning, that could be great.

Yeah, Dolphin stuff can be a lot more work, but with sufficient planning, that could be great.

Agreed, and this might actually be a good time to use the Wiki feature for this repo.
A "Game Night" entry could be useful for people who want a guide for setting up Dolphin etc.

Yeah, Dolphin stuff can be a lot more work, but with sufficient planning, that could be great.

Agreed, and this might actually be a good time to use the Wiki feature for this repo.
A "Game Night" entry could be useful for people who want a guide for setting up Dolphin etc.

And the living nightmare that is installing Garry's Mod

A factorio server would be lit. The headless server is pretty non-intensive, and I believe it won't actually validate user profiles too, so anybody with a less-that-legitimate-copy would still be able to participate.

A factorio server would be lit. The headless server is pretty non-intensive, and I believe it won't actually validate user profiles too, so anybody with a less-that-legitimate-copy would still be able to participate.

Grrrr piracy

Seems like a fantastic idea; I'd love to take part in some of these - and would also be happy pitching in logistically if needed ;D
I feel like when looking for community games you usually want to look for games with:

high player lobby counts, so everyone can play together
either free, such as an MMO or fortnite or ubiquitous enough that people will have it such as Minecraft; lowers the barrier to entry as much as possible
Keeps people in the game playing for as long as possible eg no permaout conditions or short rounds; means people don't get left by the wayside where possible ;D

I'd also, in reference to above comments, recommend we try to stay within legal constraints - offline modes are cool but distributing cracked stuff I imagine is less so.
Regarding movie nights, it might be a pain to do, but in theory people could locally source the media, and then something of a simulwatch could take place - although this could easily become a bit of a pain with larger numbers I imagine.

either free, such as an MMO or fortnite or ubiquitous enough that people will have it such as Minecraft; lowers the barrier to entry as much as possible

I'm so sorry

I'm so sorry
same

Server members selected at random so as to not keep repeating them:

I'm so so sorry.
I suppose this also counts as my suggestions for games.

Unironically can we do deathrun on the hive (hivemc.eu) or siij

Another idea:

Whilst the idea very much appeals to me, can we not have an entirely game-centric focus? Some of us can't afford/don't have storage for/simply don't want to get this amount of games, especially if we didn't have any of them to begin with, but still want to be included in the activities. Nonetheless, I'm entirely open to having activity nights, so long as every now and then, the games played/activities done are completely inclusive for everyone, regardless of having certain software or not e.g. Jackbox.
Also, methinks time for a revive:

Also @thebeanogamer @AnonGuy the amount of time you both have to make these never ceases to amaze me.

Also, methinks time for a revive:

You raise a good point. Let me know via your platform of choice if you want an invite to the Steam group.

Can we get this for the porn discovery server as well

Can we get this for the porn discovery server as well

I'm almost disapointed it took you this long to come up with that one.

@thebeanogamer Actually I only just found out this existed, and the request is genuine

@thebeanogamer Actually I only just found out this existed, and the request is genuine

For the record, no we are not doing that.

Wait, what about Psych? Large lobby count, hilarious in-jokes, only need a phone or tablet, and F2P so everyone can get involved; all they need is the code and it's easy to co-ordinate. Opinions?

The only drawback is, are we going for PC so we can screenshare, or are we not restricting ourselves to any specific platform (this could open up the avenue of co-ordinated console gaming matches)?

It could work. I mean, variety is important, but it would probably be a good idea to conduct a survey to gather opinions.

@thebeanogamer Can confirm I would be more than happy to add a schedule to our site, whether it be via google calendar API/Integration or by hand. :+1:

I'd be happy to make some sort of voting site where people can submit games / activities for a game night, admins can short list them and then a public, anonymous vote is held.

Oh my God it's glorious.

I'd be happy to make some sort of voting site where people can submit games / activities for a game night, admins can short list them and then a public, anonymous vote is held.

That would be great. Would it be worth intergrating calendar into this, or is that too much feature creep? If you want, I'll setup a GitHub repo and use Netlify to deploy it onto activities.cyberdiscoverycommunity.uk or similar. Obviously we'd need to agree programming language and whatnot though.

These have pretty much been launched now and discussion of them is now almost entirely on the server itself. Safe to say, the meta issue can be closed now since activity nights are now resolved!

I think it's still important to have an issue open for this.

As far as I understand, only one game night has actually been implemented, so it would be nice to have somewhere to continue to plan and aggregate ideas for further game nights. Simply having these discussions in a server channel doesn't guarantee that all interested parties have seen it.
Is there any chance this could be reopened?

I completely agree with the aforementioned point of maybe a schedule/plan for future game nights

I mean, this hasn't been touched in months, but I'd be more than happy to host/help with the organisation of game nights/ tournaments. If this were to happen, would you rather I make brackets via challonge or a system of DMing me on Discord?


Quandl python client replaced ny Nasdaq Data link

Summary
closes #192
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

25 of 42 (59.52%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.5%) to 83.017%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_finance/data_providers/yahoo_data_provider.py
0
1
0.0%

qiskit_finance/data_providers/exchange_data_provider.py
9
16
56.25%

qiskit_finance/data_providers/wikipedia_data_provider.py
5
14
35.71%

Files with Coverage Reduction
New Missed Lines
%

qiskit_finance/data_providers/yahoo_data_provider.py
1
83.72%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
699

Relevant Lines:
842

💛  - Coveralls


Add support for regular expression in CharacterTextSplitter

Feature request
The current version of CharacterTextSplitter does not provide support for a regular expression in the separator argument.
Motivation
Many documents can be split by slightly different patterns that can be handled by regular expression
Your contribution

Thanks for the quick reply! For instance, a document has the tag "Page X" in the footnote and the word "Page" is commonly also referenced in the body text. In that case, "Page" cannot be used as a separator.

okay, understood.
Below should've been possible but we might have issues in the _merge_split method as it takes the separator and uses it to join into bigger chunks.
Eg:
import re
from langchain.text_splitter import TextSplitter

class RegexTextSplitter(TextSplitter):

    def __init__(self, pattern: str, **kwargs):
        super().__init__(**kwargs)
        self.pattern = pattern

    def split_text(self, text: str):
         if self.pattern:
            splits = re.split(self.pattern, text)
        else:
            splits = list(text)
        return self._merge_splits(splits, self.pattern)

The offered solution does not work. While it doesn't fail, the _merge_splits method is unable to handle regex correctly.
    splitter = RegexTextSplitter("\d", chunk_size=30,chunk_overlap=0)
    splits = splitter.split_text("hello world 123 asdf")
    print(splits)

    splitter = RegexTextSplitter("\d+", chunk_size=30,chunk_overlap=0)
    splits = splitter.split_text("hello world 123 asdf")
    print(splits)

    splitter = RegexTextSplitter("[12]", chunk_size=30,chunk_overlap=0)
    splits = splitter.split_text("hello world 123 asdf")
    print(splits)

['hello world \\d\\d\\d asdf']
['hello world \\d+ asdf']
['hello world [12][12]3 asdf']


MediaStreamTrack has been disposed.

Versions:
kotlin = "2.0.0"
streamWebRTC = "1.1.2"
Issue description:
when I leave the call I call the disconnet() function
    override fun disconnect() {
        // dispose audio & video tracks.
        remoteVideoTrackFlow.replayCache.forEach { videoTrack ->
            videoTrack.dispose()
        }
        localVideoTrackFlow.replayCache.forEach { videoTrack ->
            videoTrack.dispose()
        }
        localAudioTrack.dispose()
        localVideoTrack.dispose()

        // dispose audio handler and video capturer.
        audioHandler.stop()
        videoCapturer.stopCapture()
        videoCapturer.dispose()

        // dispose signaling clients and socket.
        signalingClient.dispose()
    }

then if I try to join again the app will crash with this exception
java.lang.IllegalStateException: MediaStreamTrack has been disposed.
at org.webrtc.MediaStreamTrack.checkMediaStreamTrackExists(MediaStreamTrack.java:120)
at org.webrtc.MediaStreamTrack.getNativeMediaStreamTrack(MediaStreamTrack.java:114)
at org.webrtc.VideoTrack.addSink(VideoTrack.java:40)
at quran.ui.components.session.VideoRendererKt.setupVideo(VideoRenderer.kt:77)
at quran.ui.components.session.VideoRendererKt.VideoRenderer$lambda$8(VideoRenderer.kt:47)
at quran.ui.components.session.VideoRendererKt.$r8$lambda$n6UVi621O36qTiSUJBF7tT5eapI(Unknown Source:0)
What have I tried:
my current solution for this is to dispose the entire WebRtcSessionManager and create an other one, I followed this solution because I wasn't able to identify how to recreate the MediaStreamTrack if it was disposed, and I figured out since it worked the first time then disposing the entire class and recreating it from the start would solve the issue but I would like to understand.
Other:
why even bother calling disconnet() since it disposes the MediaStreamTrack not calling it will not result in a crash but the camera wont show up

Hi @YoussefHachicha, the new release, version 1.3.0, is now available and includes the m125 patches. Could you check if this issue still occurs with the updated release?


chore(infra.ci): add large jnlp linux agents

This PR adds two large linux agents on infra.ci.jenkins.io with similar resources than jdk17 agents on ci.jenkins.io.
Ref:

https://github.com/jenkins-infra/account-app/pull/354#issuecomment-1973243093

Diff LGTM, self-merging.


Is this a meiligao protocol?

I've configured a device VT310 to be handeled as meiligao device,
I receive this HEX:
2017-07-16 18:29:30 DEBUG: [ED0CC37C: 30008 < <IP_ADDRESS>] HEX:<PHONE_NUMBER>353f3f3f3f3f3f3f3f3f3f26413939353526423137323333362e3030302c412c333634362e323933312c4e2c30313031312e383836332c452c302e30302c302e30302c3136303731372c2c2c412a36307c302e397c26433030303030303030303026443030343a3d3b393e264530303030303030302659303030303030303023232323

which translates to ascii:
$$1035??????????&A9955&B172336.000,A,3646.2931,N,01011.8863,E,0.00,0.00,160717,,,A*60|0.9|&C0000000000&D004:=;9>&E00000000&Y00000000####

But it dosen't get handled correctly, I noticed that data ends with ## while meiligao should end with \n
Is it a meiligao protocol or should I point device to another protocol?
Best regards

It's not Meiligao. It's CarTrack protocol, port 5061 in Traccar.

Thank you.
On Jul 16, 2017 22:48, "Anton Tananaev"<EMAIL_ADDRESS>wrote:

It's not Meiligao. It's CarTrack protocol, port 5061 in Traccar.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/3357#issuecomment-315639645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACaj6roBj0cMjCJo7UnnoZF2TFCo49F3ks5sOoVHgaJpZM4OZXNn
.


⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In db5711b, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 199 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in c8de014.


Turn off latex completions for .tex documents

When I write a latex document, the latex completions package messes with my typing, occasionally replacing a tex macro with a unicode symbol. Could there be a hot-key to turn it off?
I tried to  add this to keymap.cson, but it didn't work. (?)
'atom-workspace':
  'alt-cmd-l': 'latex-completions:toggle-enabled'

I went ahead and added an option to disable this in certain scopes, so from now on it won't appear in .tex or .latex by default. Let me know if that should be something different.

I think this is right. Maybe there could be an option  / hot-key to turn it on-off in other files as well? Thanks.

Seems like a good idea but it's not something I'm that interested in doing myself. Feel free to send a patch though, it'd be pretty easy to implement.

When I find the time to learn js and how to code atom . . .


Start the webhook before informers sync.

Some webhooks (e.g. conversion) are required to list resources, so by delaying those until after informers have synced, we create a deadlock when they run in the same process.  This change has two key parts:

Start the webhook immediately when our process starts, and issue a callback from sharedmain when the informers have synced.
Block Admit calls until informers have synced (all conversions are exempt), unless they have been designated by implementing webhook.StatelessAdmissionController.

Our built-in admission controllers (defaulting, validation, configmap validation) have all been marked as stateless, the main case where we want to block Admit calls is when we require the informer to have synchronized to populate indices for Bindings.

/lgtm
/approve


Change the way target_cluster function is works

Instead of having a function inside rule_extraction.jl that finds the index of the target_cluster, it would be better to have a function inside time_series_clustering.jl that returns a version of the clusters vector but only with 1s and 0s (for target and non target clusters). The advantages of this approach are:

We would be able to easily plot those two clusters and say something like "these 6 clusters that we had before are now this two clusters"
target_cluster is now being called inside both cluster_rules (function that uses SIRUS to extractr rules) and viz.rules_scatter. With this approach, we can just pass this vector of clusters to both and be more certain that they both are using the same information
This way is also easier to compute things like the variance of the target cluster in the future to assess how good this target_cluster is

I think I agree.
Later on we would want the user to be able to do the entire process with a single function call I think.
The workflow would be something like:

User runs some scenarios
With the scenarios, the user would like to identify the most performant cluster according to a (meta-)metric
Print or visualize the identified rule sets for the scenarios identified with 2

On top of that, we would want to allow other ways of identifying scenarios of interest (such as the robustness criteria I spoke of earlier today, e.g., a set of metrics maintaining a median score > 30th percentile over time). Would be interesting to see a comparison.


Publication title could include RFC number as a prefix

Description
Currently the RFC metadata provided in bibtex format or assigned to the DOI puts the RFC number in a separate field, for example:

https://datatracker.ietf.org/doc/rfc2119/bibtex/
<EMAIL_ADDRESS>
Unfortunately, most automatic citation generators will ignore the RFC number and render the citation without it:

https://citation.crosscite.org/
https://citer.toolforge.org/

The RFC number is a very important bibliographic information. Often, it's the main form of referring to a particular RFC.
The only safe and robust way to guarantee the RFC won't be lost in automatic citation management is to include it as a prefix in the title, for example:

"RFC 2119: Key words for use in RFCs to Indicate Requirement Levels"

Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

The RPC provides DOI info to crossref.org when we publish an RFC. The RFC number is captured in the "publisher_item" tag. Perhaps we need to use a different label for RFC numbers -- something that would be more likely to be included in a citation -- when we provide info to crossref.

Incidentally, I just noticed the current proposal is already implemented in the HTML version, both in the title element and in the title metadata:
https://datatracker.ietf.org/doc/html/rfc2119


Versions of numpy starting in 2.X will fail due to bool8 data-type being removed

https://numpy.org/devdocs/release/2.0.0-notes.html
#Support for seven data type string aliases has been removed from np.dtype: int0, uint0, void0, object0, str0, bytes0 and bool8.
(gh-24807)
Traceback (most recent call last):
  File "./src/my_script.py", line 9, in <module>
    from voxcell import RegionMap, VoxelData
  File "./venv2/lib/python3.11/site-packages/voxcell/__init__.py", line 6, in <module>
    from voxcell.voxel_data import (
  File "./venv2/lib/python3.11/site-packages/voxcell/voxel_data.py", line 4, in <module>
    import nrrd
  File "./venv2/lib/python3.11/site-packages/nrrd/__init__.py", line 2, in <module>
    from nrrd.formatters import *
  File "./venv2/lib/python3.11/site-packages/nrrd/formatters.py", line 3, in <module>
    import nptyping as npt
  File "./venv2/lib/python3.11/site-packages/nptyping/__init__.py", line 30, in <module>
    from nptyping.ndarray import NDArray
  File "./venv2/lib/python3.11/site-packages/nptyping/ndarray.py", line 32, in <module>
    from nptyping.shape_expression import (
  File "./venv2/lib/python3.11/site-packages/nptyping/shape_expression.py", line 35, in <module>
    from nptyping.typing_ import Literal
  File "./venv2/lib/python3.11/site-packages/nptyping/typing_.py", line 66, in <module>
    Bool8: TypeAlias = np.bool8
                       ^^^^^^^^
  File "./venv2/lib/python3.11/site-packages/numpy/__init__.py", line 410, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

Looks like this is not directly a voxcell issue but maybe capping the numpy version can help prevent this problem?

Capping the numpy would be dangerous, since it impacts the resolver, and it's not really a hard dependency.
@eleftherioszisis successfully got pynrrd to drop it, so once that's released, we should be in the clear: https://github.com/mhe/pynrrd/pull/154

Cool, indeed it's much better. Thanks!

We'll have to see when a release is made, perhaps I will ping the maintainer.

A release has been made, so nptyping isn't used, and this error will go away.
However, their API has changed, so we have another thing to fix: https://github.com/BlueBrain/voxcell/issues/37


Delete "Empty" Participant Not Possible

When removing a participant from the session who does not have an email address assigned (authentication via session code not user session code), the removal is not working (the list still shows the participant and the participant can still log on)

Will be part of next release (0.7.9)


Hypernetwork problem

I can't find "hypernetwork" in the settings. Will it no longer be supported?

Check with A1111

Check with A1111

They changed the location, now it's in the text2img tab


splunk-kubernetes-objects configmap.yaml format error

Behavior:

Define multiple configs for an object, e.g.

objects:
  core:
    v1:
      - name: pods
        namespace: default
        mode: pull
        interval: 60m

Expected

Objects are pulled/watched with the defined properties

Actual

Get config error

Root cause is the configmap.yaml template mistakenly removed necessary newlines.


Feature request that LXD Profiles auto create storage volumes for addtional disks

Hi
LXD 4.22 on Ubuntu Server 20.04 AMD64.  I have only tested on LXD managed ZFS storage pools.
Profiles are happy to auto create the root volumes wherever. Additional disks in the profiles have to be manually created before the instance has to be created, and size restrictions are not supported on these additional disks (profile validation fails on save).
This behaviour adds complexity to automation.
In the future, please could you extend the auto creation and size limitation features to multiple additional disks stipulated in Profiles, if they don't exist. Also auto deletion on instance deletion.
More info;
https://discuss.linuxcontainers.org/t/how-to-autoprovision-additional-disks-using-profiles-or-ansible-in-a-cluster/13285
Many thanks!

The reason why the size property doesn't apply to non-root disks is because those disks can be shared with multiple instances. Instead the size property on the volume itself is used for this.
The general idea of being able to define a disk entry in a profile which would then cause a new volume to be created when an instance gets created is something we've ran into before but so far haven't found an elegant way to address.


Correctness issue with partition pruning

Currently turning off until we determine details of the bug:
spark.sql.parquet.enablePartitionPruning: false

fixed in palantir19


Stress tests: Turn off explicit schema testing

This change should turn off workflows that are hitting 0x950 assert (see https://dev.azure.com/fluidframework/internal/_workitems/edit/7759/) and make pipeline less noisy, such that we can see any other failures that it might be hiding.
There are no production scenarios at the moment that are changing schemas, and this this assert should not be hit in production.
A PR will follow with more logging and enabling this testing back to diagnose it further and fix the issue is finds.
Some info about assert:
It asserts that the sequence number of previous schema change should be below latest sequence number that attempts to change schema. That should never happen in real life, but I can't figure out why it does happen. It happens only when schema changes, which results in schema change op being sent. An assert fires on validation of that op.
My attempt to reconstruct stress test in smaller environment did not lead to any results - everything works fine, including running service tests locally.

FYI - I believe I found a bug - fix & logging will follow in https://github.com/microsoft/FluidFramework/pull/20678


DT regression from Improved type inference for object literals

https://github.com/Microsoft/TypeScript/pull/19513 broke a DefinitelyTyped test.
EDIT: Same for d3-selection-multi.
It's hard to say what exactly changed. Something that used to be assignable is no longer assignable.
In baconjs the error is:
baconjs-tests.ts(187,28): error TS2345: Argument of type '(groupedStream: EventStream<string, { id: number; type: string; val?: number; }>) => EventStream<...' is not assignable to parameter of type '(groupedStream: EventStream<{}, { id: number; type: string; val: number; } | { id: number; type: ...'.
  Types of parameters 'groupedStream' and 'groupedStream' are incompatible.
    Type 'EventStream<{}, { id: number; type: string; val: number; } | { id: number; type: string; val?: un...' is not assignable to type 'EventStream<string, { id: number; type: string; val?: number; }>'.
      Type '{}' is not assignable to type 'string'.
baconjs-tests.ts(188,22): error TS7006: Parameter 'groupedStream' implicitly has an 'any' type.
baconjs-tests.ts(188,62): error TS7006: Parameter 'acc' implicitly has an 'any' type.
baconjs-tests.ts(188,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
baconjs-tests.ts(189,22): error TS7006: Parameter 'sum' implicitly has an 'any' type.

In d3-selection-multi the error is:
d3-selection-multi-tests.ts(37,29): error TS2345: Argument of type '(this: HTMLAnchorElement, d: string, i: number, g: ArrayLike<HTMLAnchorElement> | HTMLAnchorEleme...' is not assignable to parameter of type 'ValueFn<HTMLAnchorElement, string, ValueMap<HTMLAnchorElement, string>>'.
  Type '{ id?: undefined; } | { id: string; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
    Type '{ id?: undefined; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
      Property 'id' is incompatible with index signature.
        Type 'undefined' is not assignable to type 'string | number | boolean | ValueFn<HTMLAnchorElement, string, string | number | boolean | null> ...'.
d3-selection-multi-tests.ts(92,34): error TS2345: Argument of type '(this: HTMLAnchorElement, d: string, i: number, g: ArrayLike<HTMLAnchorElement> | HTMLAnchorEleme...' is not assignable to parameter of type 'ValueFn<HTMLAnchorElement, string, ValueMap<HTMLAnchorElement, string>>'.
  Type '{ href?: undefined; } | { href: string; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
    Type '{ href?: undefined; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
      Property 'href' is incompatible with index signature.
        Type 'undefined' is not assignable to type 'string | number | boolean | ValueFn<HTMLAnchorElement, string, string | number | boolean | null> ...'.
d3-selection-multi-tests.ts(121,31): error TS2345: Argument of type '(this: HTMLAnchorElement, d: string, i: number, g: ArrayLike<HTMLAnchorElement> | HTMLAnchorEleme...' is not assignable to parameter of type 'ValueFn<HTMLAnchorElement, string, ValueMap<HTMLAnchorElement, string>>'.
  Type '{ id?: undefined; } | { id: string; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
    Type '{ id?: undefined; }' is not assignable to type 'ValueMap<HTMLAnchorElement, string>'.
      Property 'id' is incompatible with index signature.
        Type 'undefined' is not assignable to type 'string | number | boolean | ValueFn<HTMLAnchorElement, string, string | number | boolean | null> ...'.

 var events = [
                {id: 1, type: "add", val: 3},
                {id: 2, type: "add", val: -1},
                {id: 1, type: "add", val: 2},
                {id: 2, type: "cancel"},
                {id: 3, type: "add", val: 2},
                {id: 3, type: "cancel"},
                {id: 1, type: "add", val: 1},
                {id: 1, type: "add", val: 2},
                {id: 1, type: "cancel"}
            ];

events used to be inferred to { id: number; type: string; } | { id: number; type: string; val: number} now it is { id: number; type: string; val: number} | { id: number; type: string; val?: undefined}. which is not assignable from { id: number; type: string; val?: number} any more
seems like the new type is worse..

The new type is fine and in fact more correct. The real issue is that we don't consider { ... , p: T | U } assignable to { ... , p: T } | { ... , p: U }. We've gotten this request several times before, it may be time to get it done.
BTW, it's interesting to observe that an object type with one or more properties that have union types should behave equivalently to a union of object types with all possible permutations of those property types. This of course expands exponentially, so real life scenarios typically only have one property for which the expansion takes place, and it may be that those are the only ones we really care about.

@ahejlsberg The error in d3-selection-multi looks different -- we are inferring a type for a callback and  then issuing an error that the inferred type isn't assignable to the declared callback type.

BTW, it's interesting to observe that an object type with one or more properties that have union types should behave equivalently to a union of object types with all possible permutations of those property types. This of course expands exponentially, so real life scenarios typically only have one property for which the expansion takes place, and it may be that those are the only ones we really care about.

#14865 Is open to track is already.

closing in favor of #14865

The three new errors in d3-selection-multi-tests.ts are all correct. We now infer a return type of { id: string } | { id?: undefined } where previously we just inferred {}. The more precise return type then causes an error because undefined isn't a permitted property value (probably an oversight since null appears to be permitted).


Feat/opa group mapper

See https://github.com/stackabletech/hdfs-operator/issues/401

I would also like this to follow the example of the revamped druid OPA authorizer in terms of Maven setup, Java code style etc.
But: I'm fine with merging this as is and I can then do the follow-up work on README and POM etc.
I'll leave the choice up to you.


YouTube shows old display and tells me to get chrome

I am using chrome 63, full user agent string is Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36. Other websites (like the Google homepage) seem fine.

Can you post a screenshot of what those messages look like?

Here is the regular look of YouTube on Chrome:

And here is what it looks like through my proxy, also using chrome:

While it's not an issue as far as functionality goes it's just kind of weird. The server is based in Singapore if that makes a difference but I don't see why it would. My proxy is running at www.sneakysneaky.tk.

I think that's because YouTube plugin automatically removes all javascript from youtube pages:
https://github.com/Athlon1600/php-proxy-plugin-bundle/blob/master/src/YoutubePlugin.php#L68
and that's because javascript is either not working or causing extra problems.

Not actually an issue, it’s just how the plugin works.


feat(pageserver): use split layer writer in gc-compaction

Problem
Part of #8002, the final big PR in the batch.
Summary of changes
This pull request uses the new split layer writer in the gc-compaction.

It changes how layers are split. Previously, we split layers based on the original split point, but this creates too many layers (test_gc_feedback has one key per layer).

Therefore, we first verify if the layer map can be processed by the current algorithm (See https://github.com/neondatabase/neon/pull/8191, it's basically the same check)
On that, we proceed with the compaction.

Added a new set of functions with_discard in the split layer writer. This helps us skip layers if we are going to produce the same persistent key.
The delta writer will keep the updates of the same key in a single file. This might create a super large layer, but we can optimize it later.
The split layer writer is used in the gc-compaction algorithm, and it will split layers based on size.
Fix the image layer summary block encoded the wrong key range.

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

ready for review again :)

We get auto-cleanup both at runtime and on crash because unfinished writers have the Drop impl that does cleanup, and they use a temp suffix for the file name which we clean up on startup.

Yes I agree -- I created a follow-up item in the epic issue that we make the split layer writer atomic. This would be some amount of work but will make the split layer writer easier to use.

Also, could you make it use NON_L0_MAX in the one place in tenant.rs where it currently does key.field6 -= 1;? Then all locations that rely on the hack use that constant.

Then all locations that rely on the hack use that constant.

I did that before that but just now I realized I didn't replace all places, and I pushed a fix :)


_pickle.UnpicklingError: invalid load key, 'v'.

When run main_test.py,"_pickle.UnpicklingError: invalid load key, 'v'.". Could you help?

download the .pth independently

Thanks!


Auto corrected by following Lint Ruby Style/PerlBackrefs

Auto corrected by following Lint Ruby Style/PerlBackrefs
Click here to configure it on awesomecode.io

Coverage remained the same at 77.912% when pulling d483c97446cca2d5b23ee04466820812a67d7811 on awesomecode-lint-ruby-style-perlbackrefs-48655 into 96b7fe6335b25413cf4be85086d2fe5849cc5c16 on master.


Gfx::applyScissorRect Before Clean The Screen

When we use glScissor in OpenGL, we always let it apply the rect to glClear, as， without glScissor,  the glClear clean the whole screen defaulted.
But with oryol,  applyScissorRect needs call in a pass, means glScissor can only call after glClear. How can I let scissor apply to clear action with Oryol api?

The current behaviour is that the viewport is reset to the pass framebuffer size, and the scissor test is disabled (so if there is a left-over scissor-rect it won't influence the clear operation), this basically means you cannot do a clear limited to a scissor or viewport region (as far as I can see this is also not possible in Metal, because scissor rects are set on a MTLRenderCommandEncoder, and the clear happens implicitely when creating the MTLRenderCommandEncoder at the start of each pass.
After the Gfx module has been moved to sokol-gfx the behaviour will be slightly different:

viewport will be reset to full size (same as now)
scissor rect will be reset to full size
scissor test will always be enabled, so there will be no separate enable/disable scissor state in the pipeline object, main reason for this is that Metal also doesn't have a separate scissor-enable state

OK. Thanks. I'll try other ways.


Endpoint for follower/following search

In swiftagram, you have endpoint to fetch user follower/following list page by page. But I wonder how can I search follower/following users? Is there an endpoint for it?
For Example:
v1/user/friendship/follower?q=abc
Show only my followers, username/name includes "abc"

Hey @senolatac,
No, there isn't a method querying followers/following by name/username, right now.
It's mostly cause I forgot to add it back 😅
If it's still working like it should I'll push an update within a couple hours.


rmv redundant prefix

eric-kandel-lab-to-nwb/
├── LICENSE
├── make_env.yml
├── pyproject.toml
├── README.md
├── requirements.txt
├── setup.py
└── src
    ├── eric_kandel_lab_to_nwb
    │   └── brenda_milner_2022
    │       ├── brenda_milner_2022behaviorinterface.py
    │       ├── brenda_milner_2022_convert_script.py
    │       ├── brenda_milner_2022_metadata.yml
    │       ├── brenda_milner_2022nwbconverter.py
    │       ├── brenda_milner_2022_requirements.txt
    │       └── __init__.py
    └── __init__.py

Can we remove the "brenda_milner_2022" prefix from brenda_milner_2022behaviorinterface.py etc.? It's redundant if these files are already in the brenda_milner_2022 directory

Can you also not use real neuroscientist's names? It might imply an endorsement that we don't really have. Could you use fictional or historical characters? Like Plato or Bruce Banner

Can you also not use real neuroscientist's names? It might imply an endorsement that we don't really have. Could you use fictional or historical characters? Like Plato or Bruce Banner

Yeah that's a good point, we should not be doing that. I always endorse the classic anonymous naming scheme for this kind of thing: John & Jane Doe. Not as fun as Marvel characters, I know, but it's the most professional/legal IMO.

yeah, we could probably get away with it but no need to cause any potential legal issues with Disney. Maybe stick to public domain, historical, or stock names like Jane Doe

As for the heart of the question on this issue, I believe the justification is two-fold:
(a) The name of the Python file mirrors the name of the single class definition that it contains, just like any of our interfaces in the core NeuroConv. That is, the file /neuroconv/datainterfaces/ecephys/spikeglx/spikeglxdatainterface contains the SpikeGLXDataInterface (OK, technically the actual name of the class is SpikeGLXRecordingInterface, but for custom interfaces in a conversion project they are usually just a DataInterface or a <DataType>Interface like above).
This class should always have a prefix that indicates it's specific use to the very specific experiment setup, and will typically mirror the prefix of the corresponding custom NWBConverter class. Otherwise, if you just named such things BehaviorInterface and relied on submodule locale to determine the specify, I could foresee all kinds of confusing mistakes resulting from such ambiguity that would take more time than necessary to debug. Better to just include a bit more extra information ahead of time and avoid the situation IMO
(b) Given (a), if the file containing this class became misplaced accidentally (even within the same project) it is easier to overlook such a misplacement when the file stem itself has something that indicates this specificity rather than having to introspect the file contents to guess. This philosophy is similar to the DANDI organization, where the name of each NWB file contains the session and subject IDs for that file in addition to the file being nested within folders whose names also contain that information

Also worth mentioning, with regards to (a) in the past I've always tried to use the smallest prefix possible that keeps things in the repo unique, and can always be changed on the fly (keep is simple on first cookiecut, then extend over time on the repo).
This came up a lot in the Buzsaki repo where most experimenters only had one big paper that the data corresponded to, so I'd usually just set the prefix to be the last name of that experimenter.
Additional info would like year of the paper publication or differentiating subject matter of the paper would only be added to the last name if the author had or in this case was expecting to have more publications. So milner2022behaviorinterface is a bit less typing to that extent.

can we change this to:
doe-lab-to-nwb/
├── LICENSE
├── make_env.yml
├── pyproject.toml
├── README.md
├── requirements.txt
├── setup.py
└── src
    ├── doe_to_nwb
    │   └── milner2022
    │       ├── behaviorinterface.py
    │       ├── convert_script.py
    │       ├── metadata.yml
    │       ├── nwbconverter.py
    │       ├── requirements.txt
    │       └── __init__.py
    └── __init__.py


Add d3.create and selection.adopt.

D3 3.x is basically frozen as I work on D3 4.0 which will be released in the next few months. If you want to propose changes to the selections API, please file an issue over in d3-selection. However, I’m extremely conservative about adding new API methods, and I’m not inclined to add these methods as-is, especially without discussion. Thanks!


Context nodes are sometimes placed at the wrong horizontal position.

It turned out that incontext nodes are actually duplicated, if they are referenced from a different vertical rank.
I introduced visited_nodes when adding context nodes to prevent this.


download fever.db from amazonaws failed

This error means you are trying to access a bucket that has been locked down by AWS so that nobody can access it, regardless of permissions -- all access has been disabled.
It can occur because a bill goes unpaid and probably for other reasons as well..
Connecting to s3-eu-west-1.amazonaws.com (s3-eu-west-1.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-05-09 14:30:29 ERROR 403: Forbidden.

Where you able to download the files?


Geo cleanup

add bdd100k into datasets.py
cleaned up geography measure python file
added weather/quantile bar plots into geography notebook

Alex todo: will remove Geography Analysis Deprecated before final push. Just keeping now in case I need to make any changes, it's easier to have old geo analysis side by side while editing.


chore: upgrade @nuxt/module-builder

Description
This updates the version of module-builder used to one that emits .js/.d.ts files in the runtime/ directory.
I'm not sure if there was a reason it wasn't already updated, but if so let me know so we can fix it upstream.
Linked Issues
resolves https://github.com/vite-pwa/nuxt/issues/155
Additional Context

[!TIP]
The author of this PR can publish a preview release by commenting /publish below.

/publish