Update Blazor custom user account section

Fixes #18199
From the original issue ...
https://github.com/dotnet/AspNetCore.Docs/issues/17650#issue-595775463
The registration is shown as ...
builder.Services.AddApiAuthorization<RemoteAuthenticationState, OidcAccount>()
    .AddAccountClaimsPrincipalFactory<RemoteAuthenticationState, OidcAccount,
        CustomAccountFactory>();

... but should that be on AddMsalAuthentication? ...
builder.Services.AddMsalAuthentication<RemoteAuthenticationState, OidcAccount>()
    .AddAccountClaimsPrincipalFactory<RemoteAuthenticationState, OidcAccount,
        CustomAccountFactory>();

That's what actually worked in the AAD groups and roles scenario on the https://github.com/dotnet/AspNetCore.Docs/pull/18145 PR (i.e., adding it to AddApiAuthorization was a no-op for the scenario). Also, AddApiAuthorization wouldn't make sense in an app that doesn't call an API because AddApiAuthorization wouldn't exist.
... AND/OR ... are we missing guidance on when the factory would be registered on one versus the other or even both?
I'd also like to change OidcAccount to CustomUserAccount to match the naming format of RemoteUserAccount (this change is on the PR).

.AddAccountClaimsPrincipalFactory<RemoteAuthenticationState, OidcAccount>  can be applied to any of the different flavors of auth AddOidcAuthentication, AddApiAuthorization, AddMsalAthentication. It's orthogonal to the underlying auth provider.


synth fails with W^X enabled

Having W^X enabled on FreeBSD 13.0, synth fails immediately.
/etc/sysctl.conf
kern.elf32.allow_wx=0
kern.elf64.allow_wx=0

> doas synth upgrade-system
Password:
exec_new_vmspace: mapping stack size 0x20000000 prot 0x7 failed mach error 2 errno 13
fish: Job 1, 'doas synth upgrade-system' terminated by signal SIGABRT (Abort)

I assume this could be fixed with specific compilation flags (unclear if it's c only or both c and ada)

heh, synth made an article on this:
https://ximalas.info/2021/04/15/freebsd-13-and-wx-memory-mapping-policy-for-user-processes/

TLDR;
For now run this command if W^X enabled on FreeBSD 13:
elfctl -e +wxneeded /usr/local/bin/synth

But read the entire article.  there's even a provided script for synth.

If you don't mind amending your own copy of ports-mgmt/synth/Makefile, you can add these two lines after the WATCHDOG_EXTRA_PATCHES_OFF line and have the W^X problem taken care of automatically:
USES+=elfctl
ELF_FEATURES+=+wxneeded:build/synth

you should let the maintainer (Fluffy) know.  I'm sure he'd add those lines.
His address is listed under maintainer at https://www.freshports.org/ports-mgmt/synth

I created PR 276886, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276886. Fingers crossed.

success!


Failed to open native connection to Cassandra

Hi,
I am trying to connect to cassandra from spark-jobserver by creating spark context.
I have included libraries of spark-cassandra-connector in spark-jobserver. But when I am trying to connect to cassandra I am getting below error :

"errorClass": "java.io.IOException",
"cause": "All host(s) tried for query failed (tried: /XX.XXX.XX.XXX:9042 (com.datastax.driver.core.TransportException: [/XX.XXX.XX.XXX:9042] Cannot connect))",

"causingClass": "com.datastax.driver.core.exceptions.NoHostAvailableException",
"message": "Failed to open native connection to Cassandra at {XX.XXX.XX.XXX}:9042"

sbt conf file where I have included the spark-cassandra-connector library
libraryDependencies += "com.datastax.spark" %% "spark-cassandra-connector" % "1.1.0",
libraryDependencies += "com.datastax.spark" %% "spark-cassandra-connector-java" % "1.1.0",
libraryDependencies += "org.apache.cassandra" % "cassandra-thrift" % "2.1.2",
libraryDependencies += "org.apache.cassandra" % "cassandra-clientutil" % "2.1.2",
libraryDependencies += "com.datastax.cassandra" % "cassandra-driver-core" % "2.1.3",

Spark Code :
val conf = new SparkConf(true)

.set("spark.cassandra.connection.host", "<IP_ADDRESS>")
val sc = new SparkContext("spark://<IP_ADDRESS>:7077", "test", conf)
val rdd = sc.cassandraTable("test", "kv")
println(rdd.count)

cassandra.yaml file properties :
ssl_storage_port: 7001
listen_address: localhost
start_native_transport: true
native_transport_port: 9042
start_rpc: true
rpc_address: localhost
rpc_port: 9160
rpc_keepalive: true

Could someone guide me how to solve this issue or any possible causes ?
Thanks in advance.
-Sumant

This project is migrating away from GitHub Issues.
Discussions have moved to the Spark Connector Users' list here:
https://groups.google.com/a/lists.datastax.com/forum/#!forum/spark-connector-user
New bugs or features are being captured and managed here:
https://datastax-oss.atlassian.net/browse/SPARKC

Try adding the port on your configuration
.set("spark.cassandra.connection.port", "9042")
You can try to use socat command to forward your local port to your remote port:
socat tcp-listen:9042,fork tcp:localhost:9042 &


Migrate to jekyll?

migrate this to jekyll so that each section can be markdown file

Something something Better Informatics

Sure. thats the point - so that the migration of this content will be easy..

Something something pandoc

Yes!
On Tue, 13 Dec 2016, 6:40 p.m. William Mathewson<EMAIL_ADDRESS>wrote:

Something something pandoc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/qaisjp/inf1.hgs.club/issues/11#issuecomment-266823808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4Wat2-PvlHRiNRMna1ava027N09xgcks5rHuaugaJpZM4LME3n
.

Simply having a wonder-jekyll time

Some progress has been made
please share your thoughts


Support dual Y-Axis

Would you like to work on this feature?

[X] Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?
Some charts needs to display data of 2 different scales and units. Therefor a support for a left and right y-axis would be helpful.
Describe the solution you'd like
Turning y-axis config to accept a map or array with a name as key. Using name can be used to assign a series to. As alternative I used in a POC a hardcodedy2 property next to y.
Describe alternatives you've considered
No response
Documentation, Adoption, Migration Strategy
No response

the same problem.
I have celsius and percentage data on chart :(


Compute 4 Byte selector from SolError and SolFunction

This aims to solve #6. I think that there might be a better way to do this, perhaps. Also, I am sure there will be stylistic things to change here.. so I am opening it as a Draft Pr. Please advise on any notes.

Just saw this, reviewing.

Hey @willco-1, thanks for the contribution. Looking great. Before merging in could you do a few more small things:

[ ] Remove the redundant closure
[ ] Write a simple test or two
[ ] Do pub mod utils in lib.rs to satisfy clippy (run cargo +nightly clippy --workspace --all --all-features --locked -- -D warnings to check for yourself)

thanks!

Nice, almost there. Could you get the tests to pass now?

Clippy 🙃

Also fixed CI so that you should be able to run it yourself, apologize for the small back and forth 😅

Closes #6


Add Video: CI/CD Pipeline with Node.js and GitHub Actions

Hi,
I'm the CTO and Co-Founder of datree.io and AWS Community Hero. This is a hands-on Webinar with live coding that I'm presenting about how to build a CI/CD pipeline with GitHub Actions, Node.js and AWS ECS Fargate. We have hundreds of RSVPs and I genuinely think that it's valuable to this community.
https://dtr.ee/2DURIVu
Let me know what you think!
Best regards,
Shimon Tolts
By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

Is this still relevant? Not really a fan of linking to some sign-up form. Can we add a direct link to the video from the webinar instead after it's done?


Update GH action

Type of PR (feature, enhancement, bug fix, etc.)
Enhancement.
Description
actions/setup-ruby is deprecated and should be replaced with the maintained ruby/setup-ruby
Keep GH actions updated and remove deprecated dependencies.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing

Thanks a ton 👏

Ah, forgot that with setup-ruby you have to specify the complete ruby version... could you do that? I think 3.0.3 should be fine!

Using...
- uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0.3
        bundler-cache: true

Could both install ruby 3 and cache gems. Thus reducing next action as well :)


Unable to run the code with error importing 'spmm'

Hi, I followed the instruction to reproduce results but had a problem with module 'spmm'. My torch version is 1.8.2, torchdrug is 0.1.2. Any ideas how to fix it?

12:53:15   Epoch 0 begin
Traceback (most recent call last):
File "script/run.py", line 78, in
File "script/run.py", line 30, in train_and_validate
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\core\engine.py", line 143, in train
loss, metric = model(batch)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\tasks\reasoning.py", line 85, in forward
pred = self.predict(batch, all_loss, metric)
File "C:\Users\Pengfei\Documents\cse research\NBFNet-master\nbfnet\task.py", line 288, in predict
pred = self.model(graph, h_index, t_index, r_index, all_loss=all_loss, metric=metric)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "C:\Users\Pengfei\Documents\cse research\NBFNet-master\nbfnet\model.py", line 149, in forward
output = self.bellmanford(graph, h_index[:, 0], r_index[:, 0])
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\utils\decorator.py", line 56, in wrapper
return forward(self, *args, **kwargs)
File "C:\Users\Pengfei\Documents\cse research\NBFNet-master\nbfnet\model.py", line 115, in bellmanford
hidden = layer(step_graph, layer_input)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\layers\conv.py", line 91, in forward
update = self.message_and_aggregate(graph, input)
File "C:\Users\Pengfei\Documents\cse research\NBFNet-master\nbfnet\layer.py", line 140, in message_and_aggregate
sum = functional.generalized_rspmm(adjacency, relation_input, input, sum="add", mul=mul)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\layers\functional\spmm.py", line 378, in generalized_rspmm
return Function.apply(sparse.coalesce(), relation, input)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\layers\functional\spmm.py", line 172, in forward
forward = spmm.rspmm_add_mul_forward_cuda
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\utils\torch.py", line 27, in getattr
return getattr(self.module, key)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\utils\decorator.py", line 21, in get
result = self.func(obj)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torchdrug\utils\torch.py", line 31, in module
return cpp_extension.load(self.name, self.sources, self.extra_cflags, self.extra_cuda_cflags,
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\utils\cpp_extension.py", line 1079, in load
return _jit_compile(
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\site-packages\torch\utils\cpp_extension.py", line 1700, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Pengfei\anaconda3\envs\py38\lib\imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'spmm'

@BillBote Hi, I met a similar problem. Have you solved this issue? Thanks!

Hi! spmm is compiled by TorchDrug on the fly when you run the code. So you need to prepare the correct compilation tools for that. For windows, please see the installation instructions of TorchDrug for details.

Hello dear authors of NBFNet,
trying to reproduce NBFNet, and directly running into compiling issues of TorchDrug's spmm and its other cpp_extensions,
I realised that the conda environment needed codatoolkit-dev installed in the env, not simple cudatoolkit.
Maybe adjust your installation instructions accordingly? (As otherwise nvcc is missing)
Kind regards, and thank you for sharing this lovely piece of efficient code with us!
jnaeg

Hello dear authors of NBFNet,
trying to reproduce NBFNet, and directly running into compiling issues of TorchDrug's spmm and its other cpp_extensions, I realised that the conda environment needed codatoolkit-dev installed in the env, not simple cudatoolkit. Maybe adjust your installation instructions accordingly? (As otherwise nvcc is missing)
Kind regards, and thank you for sharing this lovely piece of efficient code with us! jnaeg

How is this method implemented? I tried to use the torchdrug installation instructions described above. But on my windows system, I run Import-VisualStudioVars -Architecture x64 $env:LIB += "; The path \Python37\libs" always returns an error


Error building AutoFlip Ubuntu 16.04.6 LTS

Hi, I am trying to build and eventually run autoflip but I've been having issues all day. I am specifically trying to build autoflip for a GPU enabled linux desktop, running Ubuntu 16.04.6 LTS. Can you confirm this is possible?
I am attempting to do this by running
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS mediapipe/examples/desktop/autoflip:run_autoflip

The build process fails with the following output:
ERROR: /home/deployer/mediapipe/mediapipe/examples/desktop/autoflip/quality/BUILD:303:1: C++ compilation of rule '//mediapipe/examples/desktop/autoflip/quality:visual_scorer' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 71 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc: In member function 'mediapipe::Status mediapipe::autoflip::VisualScorer::CalculateColorfulness(const cv::Mat&, float*) const':
mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc:118:34: error: 'CV_RGB2HSV' was not declared in this scope
   cv::cvtColor(image, image_hsv, CV_RGB2HSV);
                                  ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-ignored-attributes'
Target //mediapipe/examples/desktop/autoflip:run_autoflip failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1294.448s, Critical Path: 1018.07s
INFO: 863 processes: 862 linux-sandbox, 1 local.
FAILED: Build did NOT complete successfully

In deciphering this error output I notice two things:

cc1plus: warning: unrecognized command line option '-Wno-ignored-attributes' I assume this isn't the source of the error since this is just a warning, although somewhat weird nonetheless
The following:

error: 'CV_RGB2HSV' was not declared in this scope
 cv::cvtColor(image, image_hsv, CV_RGB2HSV);

This looks like an OpenCV error. I must be using the wrong version of OpenCV. However, I made sure I followed the instructions in install.md, making use of the setup_opencv.sh file you provide so I shouldn't be having OpenCV install issues right? The output of the setup script is:
OpenCV has been built. You can find the header files and libraries in /usr/local/include/opencv4/opencv2 and /usr/local/lib
Modifying MediaPipe opencv config
Done

I made sure to edit WORKSPACE and opencv_linux.BUILD as described in install.md. They now look like this:
WORKSPACE
[irrelevant stuff]

new_local_repository(
    name = "linux_opencv",
    build_file = "@//third_party:opencv_linux.BUILD",
    path = "/usr/local",
)

[irrelevant stuff]

and
opencv_linux.BUILD
[other stuff]
cc_library(
    name = "opencv",
    srcs = glob(
        [
            "lib/libopencv_core.so",
            "lib/libopencv_calib3d.so",
            "lib/libopencv_features2d.so",
            "lib/libopencv_optflow.so*",
            "lib/libopencv_highgui.so",
            "lib/libopencv_imgcodecs.so",
            "lib/libopencv_imgproc.so",
            "lib/libopencv_video.so",
            "lib/libopencv_videoio.so",
        ],
    ),
   hdrs = glob(["include/opencv4/**/*.h*"]),
   includes = ["include/opencv4/"],
    linkstatic = 1,
    visibility = ["//visibility:public"],
)
[other stuff]

Could any kind soul please enlighten me on what I am doing wrong? I think either:

autoflip is not GPU enabled
I am not specifying the correct path to the correct installation of openCV in WORKSPACE and opencv_linux.BUILD, I just need to figure out which one is the correct one.

Thank you very much and apologies for the long issue
PS I have tried simply using Docker for this but it appears that it does not support GPU for AutoFlip, although I suppose that is a separate issue.

I've tried running the build process with GPU disabled i.e.
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/autoflip:run_autoflip

but unfortunately got the same error as above
ERROR: /home/deployer/mediapipe/mediapipe/examples/desktop/autoflip/quality/BUILD:303:1: C++ compilation of rule '//mediapipe/examples/desktop/autoflip/quality:visual_scorer' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 70 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc: In member function 'mediapipe::Status mediapipe::autoflip::VisualScorer::CalculateColorfulness(const cv::Mat&, float*) const':
mediapipe/examples/desktop/autoflip/quality/visual_scorer.cc:118:34: error: 'CV_RGB2HSV' was not declared in this scope
   cv::cvtColor(image, image_hsv, CV_RGB2HSV);
                                  ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-ignored-attributes'
Target //mediapipe/examples/desktop/autoflip:run_autoflip failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1275.143s, Critical Path: 962.83s
INFO: 880 processes: 879 linux-sandbox, 1 local.
FAILED: Build did NOT complete successfully

I've found this which suggests a change from CV_RGB2HSV to cv::COLOR_RGB2BGR, but I'm not sure if that's the actual solution.
If it is, then surely we would have to edit visual_scorer.cc. I would go ahead and submit a pull request for this but I don't see anyone else having the same issue so I am hesitant to do so.
If you could let me know if you spot any mistakes in what I'm doing above, or if anyone is getting the same issue, please let me know. Thanks guys

right so out of curiosity I made the change from from CV_RGB2HSV to cv::COLOR_RGB2HSV which eliminated the original error but now I get an almost identical error:
ERROR: /home/deployer/mediapipe/mediapipe/examples/desktop/autoflip/quality/BUILD:112:1: C++ compilation of rule '//mediapipe/examples/desktop/autoflip/quality:scene_cropping_viz' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 72 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
mediapipe/examples/desktop/autoflip/quality/scene_cropping_viz.cc: In function 'mediapipe::Status mediapipe::autoflip::DrawFocusPointAndCropWindow(const std::vector<cv::Mat>&, const std::vector<mediapipe::autoflip::FocusPointFrame>&, float, int, int, mediapipe::ImageFormat::Format, std::vector<std::unique_ptr<mediapipe::ImageFrame> >*)':
mediapipe/examples/desktop/autoflip/quality/scene_cropping_viz.cc:169:55: error: 'CV_FILLED' was not declared in this scope
         cv::circle(viz_mat, cv::Point(x, y), 3, kRed, CV_FILLED);
                                                       ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-ignored-attributes'
Target //mediapipe/examples/desktop/autoflip:run_autoflip failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1399.618s, Critical Path: 501.93s
INFO: 761 processes: 761 linux-sandbox.
FAILED: Build did NOT complete successfully

It's complaining about CV_FILLED just as it was for CV_RGB2HSV. After some googling I found this page where the answer claims that most "CV_ constants were changed to cv:: ones in 3.0.0". If this is the case, and AutoFlip requires opencv >= 3, why does AutoFlip continue using CV_ constants which are causing the issues I am getting?
I'm going to try changing CV_FILLED to cv::FILLED as suggested and report back (unfortunately each compilation attempt takes a while to run). I'm worried however that there are many CV_ constants defined, and converting each one to cv:: format will be a huge pain, particularly when not all have changed across versions supposedly.
Again, any help is appreciated here. Thanks guys

Hi, AutoFlip should work with OpenCV 3. We didn't try it with OpenCV 4. Unfortunately, CV_FILLED is removed in OpenCV 4. But, you still have find it in OpenCV 3.4.9.
You can either upgrade all such old APIs to be OpenCV 4 compatible or downgrade the OpenCV version to be OpenCV 3. Hope this helps.

Hi, thank you for the response. I confirm that downgrading from OpenCV 4 to OpenCV 3.4.9 fixes the issues. I should note that I had to run
$ sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf'
$ sudo ldconfig

After installing to get it to work, as I was getting
error while loading shared libraries: libopencv_core.so.3.4: cannot open shared object file: No such file or directory

Since it seems that OpenCV 4 causes issues, should we perhaps update either install.md or autoflip.md noting that openCV 3 is required and OpenCV4 will cause issues?

Related https://github.com/google/mediapipe/issues/435#issuecomment-591037436

Hi, thank you for the response. I confirm that downgrading from OpenCV 4 to OpenCV 3.4.9 fixes the issues. I should note that I had to run the following after building opencv 3.4.9 to get the bazel build command to work
$ sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf'
$ sudo ldconfig

This is because I was getting
error while loading shared libraries: libopencv_core.so.3.4: cannot open shared object file: No such file or directory

Since it seems that OpenCV 4 causes issues, should we perhaps update either install.md or autoflip.md noting that openCV 3 is required and OpenCV4 will cause issues?

Thanks for the feedback. We will have a note for this issue in the coming release.


Saves new water component if I exit withtout saving

If I add new water component to the project and exit without saving the application saves the new water component.
I've tried that delete water component and exit without save and if open the application the water component is still there, so the delete function is working correctly.
I've checked the source code and I've seen there is saving when I add new terrain.
Should we save the project if we add new water or terrain component to the project?

Good point. If we dont save on water creation, what should happen to the asset files and meta files that get created for the water when you close the app? Leave them?

Good question. We could store the created file paths in memory cache and remove it when close the app. What do you think?

That sounds doable, it will need to be able to remove the files, and also the gameoject from the scene graph as well. I may try to add this as a Github project to see how the projects system works


UUID

Definitions of the UUID, respectively univeral-id, in the ONF Core IM must be checked for completeness and potentially completed.
Inserted values must be unique at least in the network domain, which is managed by the SDN Controller. Local uniqueness, inside the Device, is not sufficient.
Further characteristics (e.g. persistence after system restart or soft reset) and information structure of the ID shall be analysed and defined (if required).

Uniqueness on SDN-Controller is ensured by concatenation of NETCONF-SERVER-Identifier (mountpoint, node-id) and the device local ids.
Note: the device does not know its outside world when generation UUIDs.
Q: Where can such statement be  documented?
I: to improve we coudl define that the OAM-MAC address is part of the UUID when UUIDs are generated by the device - issue: What happens when the Backplane is removed.

Proposal to the 5G-xhaul call on 19th of October 2022:
Issue should be closed without further activity.
Note:
If native NETCONF-Server implementation exists the RFC4122 section 4.4 should be implemented. - such generation process guaranties uniqueness across the universe.
In case of Mediators as part of the OAM implementation it is necessary that the    Mediator must be able to map the UUID values of the CoreModel to the identifiers of the NetworkElement.  As a consequence the UUID values does not follow the format of RFC4122 and can guarantee uniqueness only at NetworkElement level. Uniqueness on SDN-Controller is ensured by concatenation of NETCONF-SERVER-Identifier (mountpoint, node-id) and the device local ids.


Need specify a generator with variants file

Now there is no a way to change CMake generator, only in IDE settings.
Please, add possibility to set it with cmake-variants.
It's very useful for cross-platform building projects.

It seems that it should be solved with Kit


[Bullet] Generic6DOFJoint node error

Godot version:
3.2.3 stable
OS/device including version:
Windows 10 64-bit
Issue description:
Setting either Node A or Node B throws the warning "set_param: The parameter 2 is deprecated."
Steps to reproduce:
create Generic6DOFJoint and assign either of the two nodes

@addmix Please upload a minimal reproduction project to make this easier to troubleshoot.

it happens every time so we don't need a reproduction project.
The cause is this line:
https://github.com/godotengine/godot/blob/7879b0a6e52e425350218f956cac83cd854e0067/scene/3d/physics_joint_3d.cpp#L911
when params_x[i] equals 2.
The warning is emited here:
https://github.com/godotengine/godot/blob/7879b0a6e52e425350218f956cac83cd854e0067/modules/bullet/generic_6dof_joint_bullet.cpp#L229
I'm not familiar with this code but if you tell me how to handle this I can make a PR to solve the warning.

This is still present in 3.5.1 and I'm getting it with a PinJoint as well, not just 6DOFJoint.


Add section about custom corpora to docs QA page.

Also reformat docstrings for better generated documentation and fix some docs generation warnings.

Hey @mdepinet, thanks so much for adding these. We have two questions in the Discord asking about this, so I'm going to go ahead and merge this in so we can reference them!


Endless loop in Client destructor when deleting Client

Hello.
I have a thread that runs Client loop. When i need to close, i delete Client, and its destructor falls into endless loop. It happens while it is in authorizing state.
inside Client destructor i see
auto res = output_queue_->reader_get_unsafe();
      if (res.object == nullptr && res.id == 0) {
        is_closed_ = true;
      }

res has res.id = 3 and res,object ID = 0 in debugger, and is_closed_ never true

Could you send the whole code, reproducing the issue?

I`ll try to do little example now, where i can send it?

There or to @tdlib_bot.

sent

Please, can you say when it could be fixed?
Or how can i avoid that now.
Thanks

@wertas Sorry for the long delay with response.
From the logs you sent I see that TDLib really does nothing after databases are closed and doesn't compete the closing, I can't explain it, nor I can reproduce it. It could be really helpful if you reduce your example project more, so I can reproduce the issue on a small self-contained example. The current project you sent is too big for that and requires external resources to be run.

Hello
I tried to reduce it already, but not problems appeared.
I can send my debug build if it could help

Could you try to remove as most business logic as possible and combine all the source sode and .ini files into a single file?

I tried it already before sending first, but problem was gone.

@wertas Have you managed to solve the problem?

Not it that way, i rewrote and refactored to avoid it from scratch.
If needed i can try to reproduce old problem on new tdlib version

Not it that way, i rewrote and refactored to avoid it from scratch.
If needed i can try to reproduce old problem on new tdlib version


Revert "[FLINK-22054][dist] Suppress the verbose log in kubernetes in…

…former"
In FLINK-22802, the fabric8 Kubernetes client has been upgraded to 5.5.0,
the verbose log level has been changed to Debug, so we don't need to
suppress it manually.
This reverts commit dfb4c003c84df6c4e3bf37dd506a0061fd3228f2.

@wangyang0918 , i found the verbose log has been fixed, so should we revert the previous commit?


Update ug layout section and subsection numbering

Codecov Report

Merging #315 (72de2c4) into update-ug (07304c9) will increase coverage by 1.34%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##             update-ug     #315      +/-   ##
===============================================
+ Coverage        54.90%   56.24%   +1.34%
- Complexity         647      662      +15
===============================================
  Files              131      131
  Lines             2816     2818       +2
  Branches           346      347       +1
===============================================
+ Hits              1546     1585      +39
+ Misses            1132     1108      -24
+ Partials           138      125      -13

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/trackitnus/storage/JsonAdaptedTask.java
100.00% <100.00%> (+39.28%)
11.00 <0.00> (+6.00)

.../main/java/trackitnus/logic/parser/ParserUtil.java
77.66% <0.00%> (+3.88%)
36.00% <0.00%> (+1.00%)

...ain/java/trackitnus/storage/JsonAdaptedLesson.java
94.59% <0.00%> (+37.83%)
7.00% <0.00%> (+4.00%)

...ain/java/trackitnus/storage/JsonAdaptedModule.java
100.00% <0.00%> (+42.10%)
7.00% <0.00%> (+4.00%)

Continue to review full report at Codecov.

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


Make email testing end to end process.

@rishig @timabbott This is ready for a view.

@hackerkid this looks pretty good!  I merged this, with a few tweaks:

Used the standard require_GET decorator from Django, replacing the unnecessary if statement and indentation in email_page.
Fixed a few typos
Simplified the log_email logic to not use a Python inline if statement; we try to avoid those in this project because they tend to make the code hard to read.
Added a few comments.

There's a few likely follow-up issues:

We should add a link to the /emails page in the blue boxes we show on login/registration pages after signup, since this is a nicer way to access those than the run-dev.py console.
Do we want /generate to redirect back to /emails?  I guess that would break the reload dynamic (you'd have to click to regenerate), but it's currently a bit nonintuitive how that page works.


multi-threded operation in tileserver

Hello,
Just playing around with tileserver as a hobby on the home pc, and I noticed the server spawned by the werkzeug libraries chokes heavily on a single cpu core, while trying to hit the postgis database and render them as json tiles, etc
I wonder whether it would generally benefit if you allow the threaded parameter be read from config.yaml

Slightly modify the constructor adding threaded parameter explicitly:

run_simple(server_config['host'], server_config['port'], tile_server, threaded=server_config.get('threaded', False),
               use_debugger=server_config.get('debug', False),
               use_reloader=server_config.get('reload', False))

Allow the threaded entry in config.yaml, e.g.

server:
  host: localhost
  port: 8099
  debug: true
  reload: true
  threaded: true

I personally noticed a much better distribution of CPU load among cores after that.
Regards
silviu

Sure, that seems reasonable to me. Do you mind submitting a pull request?

will take a stab at it when I get home, cheers

Closed via PR #7


chore: send + sync for quantizer build param + pub knn part schema

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.57%. Comparing base (a9fb224) to head (2cbedd4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3061      +/-   ##
==========================================
- Coverage   77.58%   77.57%   -0.01%
==========================================
  Files         240      240
  Lines       78636    78636
  Branches    78636    78636
==========================================
- Hits        61009    61005       -4
- Misses      14494    14497       +3
- Partials     3133     3134       +1

Flag
Coverage Δ

unittests
77.57% <ø> (-0.01%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: invalid element state error on assign to team

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Description
Added a driver.WaitForTransaction() call before clicking into the search box.
Issues addressed
Previously, the input.SendKeys(userOrTeamName, true); line would occasionally fail on clearing the field with an invalid element state exception. Adding a WaitForTransaction() after toggling to 'User or Team' seems to fix that.
All submissions:

[x] My code follows the code style of this project.
[x] Do existing samples that are effected by this change still run?
[x] I have added samples for new functionality.
[x] I raise detailed error messages when possible.
[x] My code does not rely on labels that have the option to be hidden.

Which browsers was this tested on?

[x] Chrome
[ ] Firefox
[ ] IE
[ ] Edge

Hi, @TYLEROL. I think this is the last PR needed to fix the test failures on powerapps-specflow-bindings


zh: Remove redundancy content from deployment docs

This PR removed some redundant content highlighted in the below picture:

Nice fix.
/lgtm
/approve

@tengqm Thanks for your quick response.


create infra: retry creating s3 vpc endpoint

Adds a retry to the function that creates the s3 vpc endpoint for infra.
Uses a single backoff for any retries and lower case comparison for AWS
error codes due to inconsistency in error code case.

Prevents this error: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_hypershift/794/pull-ci-openshift-hypershift-main-e2e-conformance/1472975518230908928


PositiveDependencyGraph negative aggregates

Currently the pdg just takes all predicates inside the body that are not directly preceeded with "not".
so
a :- b(X), not X = #sum {1: a}.
creates a positive dependency. Is this true ?

a :- b(X), not X = #sum {1: a}.
seems to be equivalent to:
a :- b(X), not a.
while
a :- b(X), not X = #sum {1: not a}.
is more like:
a :- b(X), not not a.
?
@wanko can you help me out here ? When exactly do i have a positive dependency to the head.

@rkaminsk  Can you give me a quick tip without challenging me mentally ;)

We have a dependency graph for aggregates in Section 5 of https://www.cs.uni-potsdam.de/wv/publications/DBLP_journals/corr/abs-2108-04769.pdf. It is inspired by the translation of aggregates into propositional formulas.
The gist is:

monotone aggregates induce positive depnedencies
antimonotone aggregates induce negative dependencies
other kinds of aggregates do both

It is sometimes possible to drop a double negation or turn a negated antimonotone aggregate into a positive one. An easy scenario is if there is no recursion through the negated parts.

Example to deal with later:
#false :- S = #count { (X,Y): bend(X,Y,_,1) }; not S = #sum { N,(X,Y): hint(X,Y,N) }.
With a more complicated head like hint/3 would this be a positive or negative dependency ?


fix: upgrade esbuild to 0.11

Description

Upgrade esbuild to the latest version, so vite stays in sync with the experience users get when they install esbuild standalone (e.g. npm install esbuild).
Additional context

There are some interesting bug fixes for JavaScript transpilation (for example https://github.com/evanw/esbuild/issues/1131, https://github.com/evanw/esbuild/issues/977, https://github.com/evanw/esbuild/issues/959, https://github.com/evanw/esbuild/issues/1066), but the upgrade should be relatively safe as most esbuild changes only affect chunking and code splitting (while vite uses rollup for that).

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I don't add p1-chore intentionally, cause this can have huge side-effects and there were many breaking changes in esbuild.

Thanks for the PR @ludofischer. We didn't update until now because there were breaking changes in esbuild 0.10 that affect Vite. It looks like the test suite cannot detect some issues that appear after bumping esbuild to 0.11.10.
You can yarn link to see the issues when building https://github.com/antfu/vitesse for example. dynamic imports end up as require in the bundled code. In case you want to dig deeper into this, we have a #contributing channel in Vite Land to discuss.

Seems it's caused by the edge18 target, not sure how to fix this other than increasing the version number to 79.
Related https://github.com/evanw/esbuild/issues/1146, https://github.com/evanw/esbuild/issues/1084 (maybe @evanw can help) More context: Vite uses a dynamic import polyfill for browsers that don't support it natively.

According to Microsoft, legacy Edge has been EOL since last month on March 9th, 2021 and the new Edge was added during a security update on April 13th, 2021, which includes the removal of legacy Edge.

Nice timing, changing it to edge79 sounds great then.

@GrygrFlzr @egoist were you able to avoid the dynamic import issue in a vitesse app when by moving to edge79 target? I tried locally but couldn't make it work (for support in workers, it looks like we need edge80, but I still see the same issue)

@patak-js Tried it out and cross-referenced the DynamicImport config for esbuild, and this config works with Vitesse (no require in the build output):
  // handle special build targets
  if (resolved.target === 'modules') {
    // https://caniuse.com/usage-table
    // https://caniuse.com/es6-module
    // https://caniuse.com/es6-module-dynamic-import
    // https://github.com/evanw/esbuild/blob/d354bbb/internal/compat/js_table.go#L87
    resolved.target = [
      'es2019',
      // previously: edge18
      'edge79',
      // previously: firefox60
      'firefox67',
      // previously: chrome61
      'chrome63',
      // previously: safari11
      'safari11.1'
    ]
  } else if (resolved.target === 'esnext' && resolved.minify !== 'esbuild') {
    // esnext + terser: limit to es2019 so it can be minified by terser
    resolved.target = 'es2019'
  }

However, with the import polyfill we'd actually support earlier versions as well. It's a shame we can't just pass "chromeX,safariX,...,DynamicImport" to esbuild...

@patak-js Tried it out and cross-referenced the DynamicImport config for esbuild, and this config works with Vitesse (no require in the build output):

Do I understand correctly that this change moves support for some browsers out of vanilla vite and to the legacy plugin?

setting the target explicitly to a an older browser like edge20 would still generate broken require() bundles. So you would need to use @vitejs/plugin-legacy for those

on a positive node, the number of possible dynamic loaders  would reduce from 3 to 2 (since all browsers that receive the ESM bundle also support dynamic import(), you could completely remove the dynamic import() polyfill which would leave only fully native ESM and SystemJS )

Do I understand correctly that this change moves support for some browsers out of vanilla vite and to the legacy plugin?

It depends on what the real feature diff is between the changed browser versions. We need to look at the esbuild compatibility table and see what other features are considered "supported" by esbuild due to the change. If the only significant change is dynamic imports, then we'd retain the same supported versions due to the default polyfill.
If not, then we have two options, presumably:

Consider it a breaking change, since users who need to support browsers included in the older target spec would now have to add the legacy plugin. We'd be able to remove the dynamic import polyfill in this case.
Add more automatic polyfills (perhaps an automatic legacy plugin config) for the newly required features, retaining the compatibility.

I've given it a shot to see what updating the browser targets and removing the dynamic import polyfill looks like.

I feel like  it breaks too much if the only gain is using a newer esbuild, but according to https://caniuse.com/usage-table  the change does not drop many users (especially if Edge 18 is EOL).
this pull request misses a fix for the tests so they are able to detect the original build failure with esbuild 0.11 (packages/playground/dynamic-import/ breaks if I run it manually with vite preview but somehow the tests pass even in build mode).

add more automatic polyfills (perhaps an automatic legacy plugin config) for the newly required features, retaining compatibility

I would not like the legacy plugin turning on automatically, as the I would find the build time and output change jarring.

I feel like it breaks too much if the only gain is using a newer esbuild, but according to caniuse.com/usage-table the change does not drop many users (especially if Edge 18 is EOL).

As a counter-point: there have been some important improvements since the current esbuild version, especially<EMAIL_ADDRESS>which should improve compatibility with old packages or non-standard packages significantly.

Thanks for looking into this @nihalgonsalves! We really need to move to esbuild 0.11.x (and forward). There are many issues that are going to be solved after this. I think that bumping the browser versions for this is ok, we don't have many options.
We will discuss with Evan what is the best strategy to merge this. I think it would be a minor.
Note: There have already been other releases where we needed to bump the browser versions, see https://github.com/vitejs/vite/pull/2566

@patak-js yup, I gave it some more thought, and I think that we should update the Browser Compatibility section to refer to a browserslist query instead.
# for example:
$ npx browserslist "defaults and supports es6-module, not opera > 0, not samsung > 0, not and_qq > 0"
# returns this:
and_chr 90
and_ff 87
android 90
chrome 90
chrome 89
chrome 88
chrome 87
edge 90
edge 89
edge 88
firefox 88
firefox 87
firefox 86
firefox 78
ios_saf 14.5
ios_saf 14.0-14.4
ios_saf 13.4-13.7
safari 14
safari 13.1

which would let us use a target of ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'] and let us iterate quicker in the future. Users who want to support browsers outside of this (or another specified range) would know that they have to use the legacy plugin.

@nihalgonsalves but the dynamic import polyfill gives us a wider range of browsers than that query, no?

Yeah, it's just an example. I mean that we should document some range instead of exact browser versions in the README.

I think that is a good idea. Is there a way to add the dynamic import polyfill coverage to a browserlists query?

I don't think so. But by usage, browsers that don't support dynamic imports are actually a very minuscule percentage now, that's the argument @ludofischer and I were trying to make - we could just drop the polyfill.

@ludofischer we discussed with Evan and we can move forward with the approach proposed by @nihalgonsalves. 0.2% of browsers don't justify the complexity of the dynamic import polyfill (see https://github.com/vitejs/vite/pull/1512 for an example of an issue with the plugin). And on top of that, as @nihalgonsalves explained, being able to specify the browser query as a features query instead of hard numbers is better for our users, and to avoid issues if esbuild changes again.
Technically, this change would require a major change but the affected browser set is so small that we will need to do a tradeoff here. This change is going to be released in the next minor as Vite v2.3.0
@ludofischer could you also update the docs at: https://vitejs.dev/guide/#browser-support and here https://vitejs.dev/guide/build.html#browser-compatibility? We can simplify this because pointing to full es6-module support. And add the new dynamic query
defaults and supports es6-module, not opera > 0, not samsung > 0, not and_qq > 0

Also, we should remove the application of the dynamic import polyfill by default but we should leave the option so we don't error out because of its presence in vite.config.js. We could add a deprecation message if the option is present pointing to the use of @vitejs/plugin-legacy.
The import polyfill file should also remain in the package because there are some users that are importing it by hand. We could also add a deprecation warning if this file is loaded, or just leave the file there for the foreseeable future.
Thanks again for the work on this PR.

defaults and supports es6-module, not opera > 0, not samsung > 0, not and_qq > 0

Don't you mean es6-module-dynamic-import instead of es6-module?

I believe both are irrelevant, as they don't change the output of the defaults query.
We could keep it simple:
## Browser Compatibility

-The production bundle assumes a baseline support for modern JavaScript. By default, all code is transpiled targeting [browsers with native ESM script tag support](https://caniuse.com/es6-module):
+The production bundle assumes a baseline support for modern JavaScript. Vite targets [browserslist](https://github.com/browserslist/browserslist)'s `defaults` query.
+
+This is a moving target based current usage. Run `npx browerslist` to see the current versions.

-- Chrome >=61
-- Firefox >=60
-- Safari >=11
-- Edge >=16

-A lightweight [dynamic import polyfill](https://github.com/GoogleChromeLabs/dynamic-import-polyfill) is also automatically injected.

You can specify custom targets via the [`build.target` config option](/config/#build-target), where the lowest target is `es2015`.

Note that by default, Vite only handles syntax transforms and **does not cover polyfills by default**. You can check out [Polyfill.io](https://polyfill.io/v3/) which is a service that automatically generates polyfill bundles based on the user's browser UserAgent string.

Legacy browsers can be supported via [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy), which will automatically generate legacy chunks and corresponding ES language feature polyfills. The legacy chunks are conditionally loaded only in browsers that do not have native ESM support.

We could still document the current versions, but the docs would go out of date constantly.

I believe both are irrelevant, as they don't change the output of the defaults query.

The defaults won't work as it includes ie11. We could to defaults, not  ie 11 like Babel plans to do, but at that point I prefer defaults and supports es6-module-dynamic-import as it is explicit about the goal of the query.

defaults and supports es6-module-dynamic-import gives me an extra target: op_mob 62
compared to defaults and supports es6-module and none of them returns ie11.
Isn't dynamic-import implied by defaults and supports es6-module?

defaults and supports es6-module-dynamic-import gives me an extra target: op_mob 62
compared to defaults and supports es6-module and none of them returns ie11.
Isn't dynamic-import implied by defaults and supports es6-module?

IInteresting, I never thought a browser would implement only the dynamic import().  think @nihalgonsalves was suggesting to use the "defaults" query (the output of npx browserslist) which includes ie 11.    esbuild does not accept  Opera and the mobile browsers as targets, so there's no practical difference between es6-module and es6-module-dynamic-import. I guess in theory the most correct target would be defaults and supports es6-module and supports es6-module-dynamic-import.
I was wondering whether to still automatically import the polyfill if the option is turned to true in the config or to always disable the polyfill unless users import it by hand. I lean towards telling the users to import the polyfill in their entry point if they need it as they already need to with a custom server, so at least we ensure the polyfill always gets imported the same way and we can simplify the code a bit. Otherwise we would need to make one release to disable the polyfill by default, then disable automated injection in the next release (technically two breaking changes one after another). I think this second option is more confusing. If users are experienced enough they turn the polyfill on on purpose, they probably can understand how to import it.

I guess we have to use version of the initial complicated query:
defaults and supports es6-module and supports es6-module-dynamic-import, not opera > 0, not samsung > 0, not and_qq > 0

and_chr 90
and_ff 87
android 90
chrome 90
chrome 89
chrome 88
chrome 87
edge 90
edge 89
edge 88
firefox 88
firefox 87
firefox 86
firefox 78
ios_saf 14.5
ios_saf 14.0-14.4
ios_saf 13.4-13.7
safari 14.1
safari 14
safari 13.1

@ludofischer looks like there are conflicts with main, seems that we can merge this once they are resolved 👍🏼

@ludofischer looks like there are conflicts with main, seems that we can merge this once they are resolved 👍🏼

I've rebased on main and resolved the conflict (it was // vs /* */ in a comment!).

Thanks a lot for the work on this PR 🙌🏼


Select sensors by clicking

Track the currently selected sensor's data as a global variable. Update this value when a sensor is clicked, and use when exporting CSV.
Closes #29

This looks perfect @brianstrauch !


Ionic serve stuck on transpile started

Short description of the problem:
Running ionic serve on my project does not complete. This just started happening. It gets stuck on the transpile started task.
Which @ionic/app-scripts version are you using?
3.2.2
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Ionic:
ionic (Ionic CLI)  : 4.10.3 (C:\Users\Elias\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework    : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.2
Cordova:
cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>Cordova Platforms     : browser 5.0.4
Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.4.0, (and 16 other plugins)
System:
NodeJS : v10.15.2 (C:\Program Files\nodejs\node.exe)
npm    : 6.4.1
OS     : Windows 10

I found the culprit within my code:
$ {{someVariable}}
is unable to be transpiled by ionic, the workaround was:
$ {{someVariable}}
or
$ {{someVariable}}
During this time I was able to build for specific platforms and the HTML ran fine, this is a bug from that task. It was also very time consuming to track down where the error was happening. It would've been nice to get some type of error or for it to not cause an error to begin with.


survex: init at 1.2.44

Motivation for this change
Adds survex, a package used by cavers in order to survey and map out caves in the real world. Usually this is only packaged on Debian due to its age and complexity.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Changes for building on Darwin:
pkgs/data/fonts/unscii/default.nix
pkgs/applications/misc/survex/default.nix
pkgs/top-level/all-packages.nix

That's so great.

@OPNA2608 I've added your patches as a separate commit and squashed all of the previous commits we have made. I think having a clean patch on supporting the Darwin build is important for historical purposes, and it's something cool I can reference to people and show them how Darwin support was added for this.

Actually, I see that you've modified uniscii, that'll have to be modified in a separate commit right?

Actually, I see that you've modified uniscii, that'll have to be modified in a separate commit right?

Yeah.

Actually, I see that you've modified uniscii, that'll have to be modified in a separate commit right?

Yeah.

What would the commit message be for what you have done to unscii?

Looks like this can be merged now. Can anybody take a look? :smile:


kstokenview text comes empty

Hi, when using the kstokenview, i have noticed that the tokenview.text = " " comes empty ?
I need to grab the input of the user text, compare it with a textfield and add it to a database.
Please need help for any sugestions? if I need to use the kstokenfield so, i can grab the input of the user text?

At which event you are trying to get text? It should work. Could you please send some sample code?
BTW, you can also get the input string in following delegate method. Following is example:
func tokenView(_ token: KSTokenView, performSearchWithString string: String, completion: ((_ results: Array<AnyObject>) -> Void)?) {
        print(string)
}

You may re-open if there is still any issue.

@khawars  ...
My goal: is once the user clicks on the object, it returns the object and take the string of that object and compare with other textfields.
My code:
func tokenView(token: KSTokenView, performSearchWithString string: String, completion: ((results: Array) -> Void)?) {
    let data = TranCodeSQL(objContext: self.managedObjectContext).Query("DELAY")

    var selectedArray = [[String: AnyObject]]()

            if ( data.count == 0 ){
            } else {
                for i in 0..<data.count {
                    if (String(data[i]).lowercaseString.rangeOfString(string.lowercaseString) != nil) {
                            selectedArray.append(data[i])

                    }

                }

            }
    completion!(results: selectedArray)
}

func tokenView(token: KSTokenView, displayTitleForObject object: AnyObject) -> String {

    //returns values of ["desc"]
    return object["desc"] as! String

}

But where are you checking tokenview.text? I couldn't find it in above code.

where can I implement tokenview.text?

can i display two array titles,  and only return one array title?

You can implement tokenView.text anywhere you want. It will return any untokeznied text.
Didn't get your second question regarding two array. Please explain.

ok for the first question.
for the second question:
Below, I am returning object["desc"] from the selectedArray.
In func tokenView(token: KSTokenView, displayTitleForObject object: AnyObject) -> String {
//returns values of ["desc"]
return object["desc"] as! String
}
But, I want to display 2 objects[["desc"]["sys_code"]]
and if i select a token, it returns object["sys_code"]

the first table cell: string A , string B
select table cell
and return string B


MP Metrics 2.0

Upgrade metrics to 2.0.
This is a breaking change.

List of changes required for 2.0 (some not backward compatible):

[ ] Refactor counters denoted by @Counted and add support for @ConcurrentGauge for older counters
[ ] Deprecate MetricRegistry.register(String, Metric, Metadata)
[ ] Support for MetadataBuilder and immutability
[ ] Support for new MetricID and changes to metric filters
[ ] New regex for labels
[ ] Updates to JSON format
[ ] Updates to new OpenMetric format (formerly Prometheus)
[ ] Default value of reusable
[ ] Changes to some base metric names: using total, counter to gauges and use of tags

ETA 3 weeks

Santiago and I now have the TCK passing all tests. Working on SpotBugs violations, etc.


Bug with the PWA checkmark

The seems to be a bug here:

Image is bigger than 512px but I can't check the PWA box.


Fine tune Mockingjay LARGE

Mockingjay paper says "We did not fine-tune the LARGE model, as it is meant for extracting representations." Does it mean Mockingjay LARGE will have worse performance after we fine tune it?

No, LARGE can also be fine-tuned, and the performance gain is expected.
For example, in Audio ALBERT LARGE is fine-tuned to improve phone classification (Figure 3b, denoted as Mockingjay-12L-FT).


Some configurations in SAML config page doesn't have tool-tips

Moved from: https://wso2.org/jira/browse/IDENTITY-7110
Some configurations in SAML config page doesn't have tool-tips. Refer to the attached image.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Cannot download from fanbox anymore with new beta version

Hello there and thank you for your hard work on pixiv util,
Using the lastest version of pixiv util: pixivutil20200428-beta1,
I have a problem that was not there before, if I try to grab a fanbox I am currently supporting (using f2 > artist id ), I get the following message for every post:
"skipping post: [post number] due to restricted post"
I can clearly see those posts and the pics in my browser.
Do you know anything about that? It is working with previous version.
Thank you for your help.

Good afternoon.
Maybe your authorization failed?
Check console messages when you first start PixivDownloader. Are there the following lines?
Trying to log in FANBOX with saved cookie
Login successful.

If not, then check if you have correctly specified cookiefanbox for FanBox in config.ini
My download from FanBox works fine both in the "f1" mode and in the "f2" mode, and in the "f4" mode.
The problem is only with the "f3" mode:
Input: f3
Post ids = 986608
Traceback (most recent call last):
  File "PixivUtil2.py", line 2524, in main
  File "PixivUtil2.py", line 2256, in main_loop
  File "PixivUtil2.py", line 1964, in menu_fanbox_download_by_post_id
  File "PixivBrowserFactory.pyc", line 881, in fanboxGetPost
AttributeError: 'NoneType' object has no attribute 'creatorId'
press enter to exit.

@Shagiakhmetov try latest release https://github.com/Nandaka/PixivUtil2/releases/ for f3 issue.

Good afternoon.
Maybe your authorization failed?
Check console messages when you first start PixivDownloader. Are there the following lines?
Trying to log in FANBOX with saved cookie
Login successful.

If not, then check if you have correctly specified cookiefanbox for FanBox in config.ini
My download from FanBox works fine both in the "f1" mode and in the "f2" mode, and in the "f4" mode.
The problem is only with the "f3" mode:
Input: f3
Post ids = 986608
Traceback (most recent call last):
  File "PixivUtil2.py", line 2524, in main
  File "PixivUtil2.py", line 2256, in main_loop
  File "PixivUtil2.py", line 1964, in menu_fanbox_download_by_post_id
  File "PixivBrowserFactory.pyc", line 881, in fanboxGetPost
AttributeError: 'NoneType' object has no attribute 'creatorId'
press enter to exit.

Thank you mate, worked by setting the pixivfanbox parameter, I did not now about that since it was not in the readme.


rtx crashes when run in empty environment

Describe the bug
rtx crashes if run in an empty environment, such as with env -i. My example below uses rtx env, but this also happens with rtx exec and rtx doctor.
To Reproduce
% env -i RUST_BACKTRACE=full rtx env
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: NotPresent
Location: src/fake_asdf.rs:46

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 9 frames hidden ⋮
  10: rtx::fake_asdf::get_path_with_fake_asdf::hdb532b681adeee31
      at <unknown source file>:<unknown line>
  11: core::ops::function::FnOnce::call_once::h10d8c4219f2b1be4
      at <unknown source file>:<unknown line>
  12: once_cell::imp::OnceCell<T>::initialize::{{closure}}::hbbca2ed27497d4e6
      at <unknown source file>:<unknown line>
  13: once_cell::imp::initialize_or_wait::h40e72aa25831a734
      at <unknown source file>:<unknown line>
  14: once_cell::imp::OnceCell<T>::initialize::h58aca6ee03e3843b
      at <unknown source file>:<unknown line>
  15: rtx::plugins::script_manager::ScriptManager::new::h82c8f3a70e7840f8
      at <unknown source file>:<unknown line>
  16: rtx::plugins::external_plugin::ExternalPlugin::new::h58529cb1424653e6
      at <unknown source file>:<unknown line>
  17: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h15e96e60a6835159
      at <unknown source file>:<unknown line>
  18: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter::h8439ad7ae42bee80
      at <unknown source file>:<unknown line>
  19: rtx::tool::Tool::list::hc3fa5568b91f7e66
      at <unknown source file>:<unknown line>
  20: rtx::config::Config::load::h9f7141c1afd8e071
      at <unknown source file>:<unknown line>
  21: rtx::main::h07e28bf2a6cbe9a7
      at <unknown source file>:<unknown line>
  22: std::sys_common::backtrace::__rust_begin_short_backtrace::h36474cd465763033
      at <unknown source file>:<unknown line>
  23: std::rt::lang_start::{{closure}}::h7cb7e24a14fb68eb
      at <unknown source file>:<unknown line>
  24: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h203afb3af230319a
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287
  25: std::panicking::try::do_call::hf68e87013b70f3c5
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483
  26: std::panicking::try::h040ea8f298390ba2
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447
  27: std::panic::catch_unwind::h1e17b198887a05fa
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140
  28: std::rt::lang_start_internal::{{closure}}::hfb902d8927e51b86
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148
  29: std::panicking::try::do_call::h354e6eb41f2e7d42
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483
  30: std::panicking::try::h4a39749cd018228c
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447
  31: std::panic::catch_unwind::h30bce83b8de61cca
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140
  32: std::rt::lang_start_internal::h8f7e70b1a2558118
      at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148
  33: main<unknown>
      at <unknown source file>:<unknown line>
  34: __libc_start_call_main<unknown>
      at <unknown source file>:<unknown line>
  35: __libc_start_main@@GLIBC_2.34<unknown>
      at <unknown source file>:<unknown line>
  36: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Expected behavior
% env -i rtx env
export PATH='/home/chris/.local/share/rtx/installs/java/temurin-19.0.2+7/bin:/home/chris/.local/share/rtx/installs/nodejs/19.6.0/bin:/home/chris/.local/share/rtx/installs/ruby/3.2.0/bin:/home/chris/.local/share/rtx/installs/poetry/1.3.2/bin`

rtx doctor output
% rtx doctor
rtx version:
  1.28.6 linux-x64 (4fba7fe 2023-04-20)

build:
  Target: x86_64-unknown-linux-gnu
  Features: RPM
  Built: Thu, 20 Apr 2023 03:05:10 +0000
  Rust Version: rustc 1.68.2 (9eb3afe9e 2023-03-27)
  Profile: release

shell:
  /usr/bin/zsh
  zsh 5.9 (x86_64-redhat-linux-gnu)

rtx environment variables:
  (none)

settings:
  {"experimental": "false", "missing_runtime_behavior": "warn", "always_keep_download": "false", "legacy_version_file": "true", "plugin_autoupdate_last_check_duration": "10080", "trusted_config_paths": "[]", "verbose": "false", "asdf_compat": "false", "jobs": "4", "disable_default_shorthands": "false", "log_level": "INFO", "raw": "false"}

config files:
  /home/chris/.nvmrc
  /home/chris/.tool-versions

plugins:
  java     https://github.com/halcyon/asdf-java.git#78f64955
  nodejs   https://github.com/asdf-vm/asdf-nodejs.git#c9e5df44
  poetry   https://github.com/asdf-community/asdf-poetry.git#ff6c3689
  ruby     https://github.com/asdf-vm/asdf-ruby.git#16bc8ac9

toolset:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
1 problem found:
rtx is not activated, run `rtx activate` for setup instructions

Additional context
I'm experimenting with different ways of hooking rtx up inside of emacs, and being able to run it in an empty (clean) environment might be helpful—it might make it easier to extract the variables set by rtx, e.g., with env -i rtx exec -- env -0.
(As an aside, being able to run rtx env -0 to get the output formatted like env -0 would be very helpful, but that's a separate enhancement request that I'll create.)

For what it's worth, if PATH is empty rather than not present then rtx does not crash, but there are warnings.
% env -i PATH="" $(which rtx) env
[WARN] Error running exec-env: No such file or directory (os error 2)
[WARN] Error running exec-env: No such file or directory (os error 2)
export PATH='/home/chris/.local/share/rtx/installs/java/temurin-19.0.2+7/bin:/home/chris/.local/share/rtx/installs/nodejs/19.6.0/bin:/home/chris/.local/share/rtx/installs/ruby/3.2.0/bin:/home/chris/.local/share/rtx/installs/poetry/1.3.2/bin:'

Also, an empty path entry is apparently equivalent to ., so we probably don't want this.

it's probably not going to be possible to use rtx without bash being on PATH. The error message should be clearer though.

On second thought, I probably could default to /bin/bash


"getItems" method, sort parameter is missing the "recentlyUsed" type

When using the getItems  method I am trying to pull last 12 apps and sort them first by "-recentlyUsed"; Just like we do in qlik cloud. Currently, only "createdAt", "name" and "updatedAt" are available but they are less helpful for a user that have just logged in.
Thanks!

duplicate submissions


add vendor/pkg to gitignore

It's auto generated by go install, we should ignore them.
Signed-off-by: Qiang Huang<EMAIL_ADDRESS>

LGTM

LGTM


dasel: 2.7.0 -> 2.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/TomWright/dasel/releases.
meta.description for dasel is: Query and update data structures from the command line
meta.homepage for dasel is: https://github.com/TomWright/dasel
meta.changelog for dasel is: https://github.com/TomWright/dasel/blob/v2.8.0/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.8.0 with grep in /nix/store/hk3gl8jz66xy96dsnan680g01apiw80y-dasel-2.8.0
found 2.8.0 in filename of file in /nix/store/hk3gl8jz66xy96dsnan680g01apiw80y-dasel-2.8.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

chatgpt-retrieval-plugin
dasel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hk3gl8jz66xy96dsnan680g01apiw80y-dasel-2.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dasel https://github.com/r-ryantm/nixpkgs/archive/bb009903427d6f84d28ef7591d50f58fc8a0f610.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/bb009903427d6f84d28ef7591d50f58fc8a0f610#dasel

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hk3gl8jz66xy96dsnan680g01apiw80y-dasel-2.8.0
ls -la /nix/store/hk3gl8jz66xy96dsnan680g01apiw80y-dasel-2.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

1 package built:

dasel

Maintainer pings
cc @0x4A6F for testing.

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

2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

1 package built:

dasel


Feat: Add Security Page to the Website

Describe the feature
The website currently lacks a dedicated security page that provides users with information about the site's security measures, data protection practices, and guidelines for staying secure. Adding a security page will enhance user trust and transparency.
@arghadipmanna101 Please assign this issue to me.
Describe the solution you'd like

Design and Layout
Navigation
Functionality
Content

Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

hello @jency1
please check I think it is already added

hello @jency1 please check I think it is already added

@SadafKausar2025 No, it is not there. I had checked it and then raised the issue. So, I have added it today only.
I have made the page from scratch and added it to the website along with linking it in the footer section in the home page.
Please do check it and merge this PR.
Thank you.


changed work-in-progress language

Signed-off-by: Kyle Davis<EMAIL_ADDRESS>Description
Dropped phrase regarding "work-in-progress"
Issues Resolved
n/a
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

start gradle check

start gradle check

I'm curious how a 5 word modification can cause a gradle check to fail.

Put the error message here:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:minor:buildBwcLinuxTar'.
> Building 1.2.0 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/minor/build/bwc/checkout-1.x/distribution/archives/linux-tar/build/distributions/opensearch-1.2.0-SNAPSHOT-linux-x64.tar.gz

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:staged:buildBwcLinuxTar'.
> Building 1.1.0 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/staged/build/bwc/checkout-1.1/distribution/archives/linux-tar/build/distributions/opensearch-1.1.0-SNAPSHOT-linux-x64.tar.gz

I will run the check locally to verify. In the meantime, let's give another try: start gradle check

@tlfeng Yeah, I read the log. I'm curious how building snapshots have anything to do with CONTRIBUTING.

@tlfeng Yeah, I read the log. I'm curious how building snapshots have anything to do with CONTRIBUTING.

We have started working on setting up periodical Gradle check runs to expose test failures efficiently.
The test failure is definitely not caused by your code change, but by another ahead of you. When Gradle check passes for one time, the PR can be merged, and the check is not very reliable to find defects every time, so there might be some defects in past code changes that missed in the check.

Thanks for the explanation @tlfeng !

Thanks for the explanation @tlfeng !

No problem 😄. In this case, I think it might be caused by some backport PR that merged in 1.x and 1.1 branch recently. Such as adding -min to the file name of the OpenSearch build artifact.
And I could see the 2 failures locally when runing ./gradle check.

Looks like we forgot something as part of https://github.com/opensearch-project/OpenSearch/issues/1094? But those gradle checks passed.

Gradle checks were fixed - @stockholmux rebase this please and we'll rerun?

Can one of the admins verify this patch?

After a rebase I’d be happy to make the bot happy.


Remove "symbol-observable" from .d.ts files

What is the current behavior?
The .d.ts files in npm still contains "symbol-observable", but Redux doesn't depends on "symbol-observable" any more.
Steps to Reproduce
In the header of .d.ts file:
/// <reference types="symbol-observable" />

This triple-slash is unnecessary, otherwise it will break in some cases, such as using Deno.
What is the expected behavior?
Remove that triple-slash comment and it should work.
Environment Details
Redux 4.0.5

This is already removed on master.

Ok. Will you release a new version? Last version was in last year.


aws-amplify-angular: Function expressions are not supported in decorators in 'AmplifyService'

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Compiling an (angular 5) application with ng serve --prod produces:
ERROR in app/core/modules/shared.module.ts(103,9): Error during template compile of 'SharedModule'
  Function expressions are not supported in decorators in 'AmplifyService'
    'AmplifyService' references 'AmplifyService'
      'AmplifyService' references 'AmplifyService'
        'AmplifyService' references 'ɵ2'
          'ɵ2' contains the error at ../aws-amplify-angular/lib/providers/amplify.service.js.ts(15,37)
            Consider changing the function expression into an exported function.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than AWS Amplify.

ng new AmplifyBug
npm i --save aws-amplify
npm i --save aws-amplify-angular
ng build --prod

What is the expected behavior?
To properly build without error.
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
OS: MacOS 10.13.4 (17E199)
Browser: Chrome Version 66.0.3359.117 (Official Build) (64-bit)
package.json
"aws-amplify": "^0.3.3",
"aws-amplify-angular": "^0.1.0",

You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.

Looks like this is an issue related to AOT. At the moment you can build with:
ng build --prod --aot=false

as outlined here:
https://stackoverflow.com/questions/48809849/angular-5-ng-build-prod-function-expressions-are-not-supported-in-decorators

That does work. Thanks @mlabieniec!

I wouldn't call it an AOT related issue..
It just looks like the aws-amplify-angular is not compatible with AOT, which can only be a bug in those days...

Is there a fix planned for that?
Turning off AOT is not an option these days ;-)

also turn off optimizer in addtion to aot: ng build --prod --aot=false --build-optimizer=false

@qiangli for me it works without changing the optimizer.
Turning off AOT is not really an option that I want to keep.
I didn't expect this project to have such a bug, as AOT is default for years now in --prod.

Trying to build the project with ng build --prod was giving me this error:
ERROR in app/core/auth/auth.module.ts(10,27): Error during template compile of 'AuthModule'   Function expressions are not supported in decorators in 'AmplifyAngularModule'     'AmplifyAngularModule' references 'AmplifyAngularModule'       'AmplifyAngularModule' references 'ɵ1'         'ɵ1' contains the error at ../aws-amplify-angular/lib/aws-amplify-angular.module.js.ts(12,43)           Consider changing the function expression into an exported function.
I solved the problem importing the aws-amplify-angular package from  index.ts:
import {AmplifyService, AuthState} from 'aws-amplify-angular/src';
insted of
import {AmplifyService, AuthState} from 'aws-amplify-angular';
My IDE is now happy too and ng build --prod is successfully executed.


Issue PendingIntent.FLAG_IMMUTABLE app crashed on Android app Target 31 (Android 12)

Hello, we have been having this issue on Android app Target 31.
Ref document: https://stackoverflow.com/questions/67045607/how-to-resolve-missing-pendingintent-mutability-flag-lint-warning-in-android-a
I tried with solution add dependency into build.gradle
implementation 'androidx.work:work-runtime:2.7.1'
But it still does not work.
-> My latest solution to fix this which is using patch package to modify Native code
    private PendingIntent getBoundaryPendingIntent() {
        if (mBoundaryPendingIntent != null) {
            return mBoundaryPendingIntent;
        }
        Intent intent = new Intent(getReactApplicationContext(), BoundaryEventBroadcastReceiver.class);
        mBoundaryPendingIntent = PendingIntent.getBroadcast(getReactApplicationContext(), 0, intent, PendingIntent.
                FLAG_UPDATE_CURRENT);
        return mBoundaryPendingIntent;
    }

Change mBoundaryPendingIntent = PendingIntent.getBroadcast(getReactApplicationContext(), 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); to
    final int flag =  Build.VERSION.SDK_INT >= Build.VERSION_CODES.M ? PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE : PendingIntent.FLAG_UPDATE_CURRENT;
        mBoundaryPendingIntent = PendingIntent.getBroadcast(getReactApplicationContext(), 0, intent, flag);

I think we should create PR for this. Thanks.

Try this https://www.youtube.com/watch?v=A5nvMQe-fpc


process.memory.usage increasing steady

I'm trying Aspire for the first time and found the process.memory.usage value increasing steady (n Windows 10, without serving any requests):

During writing there was a peak (marked), and after that the memory usage increases more slow.
While the Visual Studio process memory shows a different value (but stable):

In the Task Manager I can see the ASP.NET process memory increasing steady, too:

You can find the whole project source here (dev branch).
I run the micro service (without Aspire) on a Debian Linux, too, where the memory usage stays stable since a few hours now. Now I'm wondering - do I have a memory leak somewhere in my development environment, or does is come from Aspire? Is it a problem or normal operation?
UPDATE: After watching this for maybe one hour, there seemed to be some garbage collection, Maybe it was only some cache or buffer filling up data.

It's unlikely aspire is making your process memory leak. Instead, it's just making you aware of it (if it's even a leak that is). I recommend docs on diagnosing a memory leak in order to get a better understanding.
It's also likely that this could be a side effect of using server GC being on by default in ASP.NET Core projects and uses more memory. I also recommend looking at the GC counters to get a better understanding beyond high level process memory counters.


Any reason why this shouldn't work on Tomcat6?

Long story, but I can't update to Tomcat 7 @ this time. I do want to get session out of the server to support continuous deployment.  This project looks promising, but dropping the 2.0.x release into the tomcat lib directory and adding the following to the tomcat context.xml
<Manager className="com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager"
               createIfNotExist="true" />

yields the following error:
Nov 02, 2015 5:34:09 PM org.apache.catalina.session.PersistentManagerBase start
SEVERE: No Store configured, persistence disabled

Unfortunately we do rely on a few Tomcat 7 APIs so it is the true minimum.


Crash on completion of greenhouse

I missed a couple of windows, and a tick or so after putting them in, the game crashed to the crash screen.
crash-2021-04-05_23.26.38-server.txt

Second person to report this. appears to be some sort of edge case


Registry Entry Attachment API Conflicts With Fabric Mod

Description
I'm not sure if this is because it is using ARRP or something, but the latest QFAPI/QSL seems to throw a fit when using the latest port of Phonos to 1.19.2. The last version of QFAPI/QSL that doesn't do this is 4.0.0-beta.7+0.59.0-1.19.2. I suspect this is an issue with QSL or QFAPI, because the REA API seems very buggy, and Phonos doesn't do anything weird with registries (besides ARRP). Currently, the port of Phonos can be found in this repository: https://github.com/Motschen/Phonos/tree/1.19
Logs
https://mclo.gs/QKbiIkd

This may be caused by the mod registering something into a REA before registering the game object into its registry.

Please have the mod use OxidizableBlocksRegistry and remove the mixin plugin. The code that you have linked is extremely fragile and should not be used.


Fail to download video

Describe the bug
when I download 1000 pictures+20 videos from s3. it sometimes fail to download video file(very few happen on picture) ; Amplify 1.0/1.28/2.30.1 all happen such issues. this issue happen on iPhone 7 Plus(14.5)/iPhoneX(16.3)/iPhone12(16.3) test devices all.
    let fileUrl = URL(fileURLWithPath: local_path)
    let soption : StorageDownloadFileRequest.Options =  StorageDownloadFileRequest.Options(accessLevel: StorageAccessLevel.private)

    let storageOperation = Amplify.Storage.downloadFile(
        key: key,
        local: fileUrl,
        options: soption,
        progressListener: { progress in
            size_progress(progress.completedUnitCount)
        }, resultListener: {
            // result handle
     }

}
Steps To Reproduce
Steps to reproduce the behavior:
1. get s3 key + metadata information from datastore
2. download picture + video content according to media type + s3 key
3. after finished download pictures, and then may fail to download video file sometimes.

Expected behavior
download all request files successfully in one time.
Amplify Framework Version
2.30.1
Amplify Categories
Storage
Dependency manager
Cocoapods
Swift version
5.0
CLI version
10.4.1
Xcode version
Xcode 14.2
Relevant log output
when happen this issue, will print the below log:
unknown
Swift DwonloadFile Failed: Unexpected error occurred with message: Domain: [NSCocoaErrorDomain
Code: [4
LocalizedDescription: [The file doesn’t exist.
LocalizedFailureReason: [no error
LocalizedRecoverySuggestion: [. This should not happen. There is a possibility that there is a bug if this error persists. Please take a look at https://github.com/aws-amplify/amplify-ios/issues to see if there are any existing issues that match your scenario, and file an issue with the details of the bug if there isn't. Issue encountered at:
file: /Users/wushujiang/p4/temp_p4/IOS/BRANCH/CloudBackup/CloudBackup/Pods/Amplify/Amplify/Categories/Storage/Error/StorageError.swift
function: recoverySuggestion
line: 63. 7

Is this a regression?
No
Regression additional context
No response
Device
iPhoneX(16.3)/iPhone12(16.3)/iPhone7 plus(14.5)
iOS Version
16.3/14.5
Specific to simulators
No response
Additional context
No response

Hi, @ smediomike, I haven't confirmed, but it looks like the library may not be guarding against non-existent directories (if so, I will submit a fix for this).
However, to save you time, I figured I'd ask: is it possible that one of the intermediate directories within local_path doesn't exist? For example, the code below will throw the same error you're seeing:
        let directory = NSTemporaryDirectory().appending("/\(UUID().uuidString)")
        let file = directory.appending("/\(UUID().uuidString)")
        let data = Data(UUID().uuidString.utf8)
        try data.write(to: URL(fileURLWithPath: file))

And adding this just before the call to Data.write(to:), makes it work:
        try FileManager.default.createDirectory(atPath: directory, withIntermediateDirectories: true)

Hello Jimenez,
I changed possible place as you meant to promise the folder exist, I diffcult to reproduce this issue, thanks for your help. if have any further information, i will send to you again.
Best Regards,
mike.wu
在 2023年2月9日 04:00，JC @.***> 写道：
Hi, @ smediomike, I haven't confirmed, but it looks like the library may not be guarding against non-existent directories (if so, I will submit a fix for this).
However, to save you time, I figured I'd ask: is it possible that one of the intermediate directories within local_path doesn't exist? For example, the code below will throw the same error you're seeing:
    let directory = NSTemporaryDirectory().appending("/\(UUID().uuidString)")
    let file = directory.appending("/\(UUID().uuidString)")
    let data = Data(UUID().uuidString.utf8)
    try data.write(to: URL(fileURLWithPath: file))

And adding this just before the call to Data.write(to:), makes it work:
    try FileManager.default.createDirectory(atPath: directory, withIntermediateDirectories: true)

—
Reply to this email directly, view it on GitHubhttps://github.com/aws-amplify/amplify-swift/issues/2748#issuecomment-1423167971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADD6F3WMDTNX3ODEKGMCEETWWP3PRANCNFSM6AAAAAAUTV44M4.
You are receiving this because you authored the thread.Message ID: @.***>


npm i -g saucectl gives access denied error

Expected Behavior
Expected behavior is that saucectl is installed globally, without throwing exception
Actual Behavior
Throws exception on MacOs Big Sur 11.3.1 and Ubuntu 18.04
sudo npm i -g saucectl
/usr/bin/saucectl -> /usr/lib/node_modules/saucectl/index.js

><EMAIL_ADDRESS>install /usr/lib/node_modules/saucectl
> node install.js

Fetching saucectl binary
Installation failed: Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/saucectl/bin'
Check that you have access to https://github.com/saucelabs/saucectl/releases or format of the SAUCECTL_INSTALL_BINARY environment variable is correct

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2022-05-22T23_29_25_288Z-debug.log

Steps to Reproduce the Problem

Run the npm i -g saucectl command.

Specifications

Version: latest
Platform: MacOs, Ubuntu
Subsystem:Big Sierra, 18.04

This is not an issue with the install script, but rather the permission settings in your environment.
Please check out the following resources for a solution:

https://stackoverflow.com/questions/38323880/error-eacces-permission-denied
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally


Solved 20 issues

Solved from pyramid pattern 2 - pyramid pattern 21

Kindly check @aryashah2k

Hi @aryashah2k I think you forgot to add tags !!

Ill update them, also I have added this PR in the SWOC sheet, so no worries. Just make sure oyu comment your Participant ID in all of your PRs in the SWOC patternhouse sheet so that I can add them for scoring


Broken Link in README.md file.

Problem?
There is a broken link in the README.md file. The  installation guideline link is not working and shows error 404.
Reference:

Fixed in #913


I can not find datasets

Hello,
I got error while training as I could not find the datasets mentioned in example.csv.
E:\dataset\malware\malware\fbd1a4b23eff620c1a36f7c9d48590d2fccda4c2_cc82281bc576f716d9a0271d206beb81ad078b53 not exist E:\dataset\malware\malware\5746b9ed6b78d8f1cdb0b8bb9016624a46430346_007439fd0f1bfcb25e540a2b5ddbc96d7ea09afd not exist E:\dataset\malware\malware\c095da034535f15a27c073dce54212a28e1af683_8e86441bc4f6a7fc492779caf280f1d769e0cd4d not exist E:\dataset\malware\malware\3138cef67d651745c2db3744a70d6bf861e2a728_7b5ec86f006dc6d35d48821ca1311561bd86157a not exist E:\dataset\malware\malware\3f3fc4ed6a51a4385de9a38b164bcc14a4334eac_20002faf28adfd94ca98cf6ced46f14334b53684 not exist E:\dataset\malware\malware\80913fa3c7d18d89c47b42e929cf9c98729aa565_2dcb3285f944bc0b6e7cb7612dad360b9458ccdc not exist E:\dataset\malware\malware\ead2a1884a52c93c654853d2891a1208ac6ee2b8_b75311ed885fb252554ab6dc228326d388043630 not exist E:\dataset\malware\malware\19c625db4021d4934916f42b97777098b0b8cf15_0192ba11326fe2298c8cb4de616f4d4140213838 not exist E:\dataset\malware\malware\2a7a2505e43decf3583ec11bbad6ead816ef1861_2906bffe07800fe9ff93d544bff8a46e56aa64d9 not exist E:\dataset\malware\malware\488e5eea345e24440f7d0d2a32fbafda314ee6ca_df473c0493d503828157e32664e28357a4094f7a not exist E:\dataset\malware\malware\c47ed37c0e1e8be110f889f5989aea6b1bb7fda4_42c3033e34d27c951f7db7ae6aa5f45b8ef472ac not exist E:\dataset\malware\malware\0778a070b283d5f4057aeb3b42d58b82ed20e4eb_f205bd9628ff8dd7d99771f13422a665a70bb916 not exist
Can you please tell me where I can find and download them?

I found it is a problem too.........

The path in example.csv does not provide the dataset but only provides an example of input csv file format. You'll have to download your own dataset and create a csv file in the same format with each row containing the path to your malware file.


Few inconsistent parameters with paper.

Hi, recently I'm reproducing the ADE20K, and I noticed that in paper you mentioned the initial learning rate is 2e-2 and with cross_val, but in script your initial lr is 1e-2 and doesn't use cross_val. I'm little confused because it's hard to improve the performance for ADE20k.

Hi, Thanks for your interests. Considering that there are few training iterations on VOC and our learnable branch has a weight of 0.5, so we try to set the initial learning rate as 0.02 rather than 0.01. However, for ADE20K, the training schedule is longer, so we just use the initial learning rate as 0.01. I guess the results of 2e-2 on ADE20K shouldn't be different.
For cross_val, we directly refer to training scripts of PLOP. Thank you very much.

Thank you very much. Besides, my initial step's performance of ADE20k_100-50 is 41.6%, is this normal or lower?  In the paper your final performance of first 100 classes is 42.3%. I'm not sure whether 41.6% is acceptable,  I guess the initial step's performance should be larger than 42.3% because the incremental step will cause the performance degradation. Did you remember the mIoU of initial step in ADE20k_100-50?

hi, @adaxidedakaonang
We found that high version pytorch can not reach the supposed performance due to the bug caused by InplaceABNSync, which has been fixed in our latest commitment. You can refer to our latest news. Sorry for the inconvenience caused.

Thanks for the update, the previous results were based on the single GPU device, but for now I will run it on multiple GPU devices, thank you very much!


Raspberry Pi Imager + rpiboot takes 40 mins to flash 8GB memory

Using:

Raspberry Pi Imager v1.7.1 and
RPIBOOT: build-date Jan 26 2022 version 20220111~130126

And it takes 40 mins to flash a 8GB CM4 eMMC device (with rpiboot jumper set).
Flashing 12 units takes me a whole day. Is there anyway to speed it up?

There clearly something wrong there, given you are only flashing 8GB. Any unusual setups? Have you tried the Provisioner software as an alternative for multiple device flashing? https://github.com/raspberrypi/cmprovision

There clearly something wrong there, given you are only flashing 8GB. Any unusual setups?

I should mention its 40 mins to write and verify. I don't think I have an unusual setup, heres the setup:

Have you tried the Provisioner software as an alternative for multiple device flashing? https://github.com/raspberrypi/cmprovision

Does it offer a speed benefit via ethernet, or just parallelism?
I can use rpiboot to flash multiple targets at the same time. However the problem comes in dev situations, when I would like to revert an image to test the upgrade process. I have to keep waiting 40 mins for every change.
Heres the process I figures out with rpiboot:

Close or open all instances/windows of Raspberry Pi Imager so they add or remove storage targets in the same order.
Ensure the terminals' rpiboot jumper is set.

First figure out which USB port number maps to which physical USB port on the computer:

Disconnect all devices
rpiboot -1 (although -0 is something to try if desperate)
If you see it spamming lots of lines about send/loading code, that's not the port.
If it connects then you know that port matches the one you tried
Then try again for ports 2-6 until you have mapped which port number to physical USB ports.

Now plug in one device into a known USB port number
rpiboot -n where n a known USB port number
Now plug the device into the USB port, it should connect.
Leaving the existing devices plugged in, repeat until all targets are mounted.
Now open all windows of Raspberry Pi Imager, or they should be open from previous attempt.
Now start flashing one at a time, before starting the next. Only once Writing... has started, start the next one.
Turn power off to all units, disconnect rpiboot jumper.

Thanks, I' try to find some time to check this out.

"Does it offer a speed benefit via ethernet, or just parallelism?"
cmprovision downloads the data over using the gbit ethernet and is able to take advantage of the write behind caching when writing to the EMMC without having the overhead of going via USB-2, lots of small transfer and frequent flushes because the host will view it as a removable disk.
In future, rpiboot is likely to be replaced with a Linux init-rd mass storage gadget because it supports arbitrary block devices and is a bit faster than the old VPU code.

I just programmed a CM4/16GB with the latest full Raspberry Pi OS/32bit, using rpiboot and Imager1.7.1 and it took 21 minutes, including verification. Standard CM4IO board. Not sure how large the latest image is though.

@mangelozzi  The first release of the Linux initrd imager that I mentioned is now available. For me it flashed the normal Raspberry Pi OS in about 5 mins
Instructions here https://github.com/raspberrypi/usbboot/issues/119#issuecomment-1064093364
cmprovision will give the best performance  because it's downloading the data over 1Gbit Ethernet, however, it's a bit more complicated to setup.

N.B. Raspberry Pi Imager (embedded - https://github.com/raspberrypi/rpi-imager ) can also be loaded via RPIBOOT. This is also quite fast because the network download happens on the CM4. However, it doesn't export the disks via MSD so it depends on what you what to do.
The boot.img can be downloaded from here https://downloads.raspberrypi.org/net_install/
At some point I'll write a shell script to usbboot to downloaded the latest boot.img and launch rpiboot to add the embedded imager as an official "rpiboot program"

@mangelozzi The first release of the Linux initrd imager that I mentioned is now available. For me it flashed the normal Raspberry Pi OS in about 5 mins Instructions here #119 (comment)
cmprovision will give the best performance because it's downloading the data over 1Gbit Ethernet, however, it's a bit more complicated to setup.

Wow it is fast, I tried the tool with an official lite image, started it, checked back 10 mins later and it was done! Thank you for this super speedy tool!
I think part of the slowness is my custom image is bigger than the standard images, my Lite (headless) image has grown to about 5GB, even though its only contains a 25Mb git check out and a handful of apt install small programs.
Before I make an image I have a script that does the following:
swapoff then delete the swap file
sudo rm -rf /tmp/*
history -c
sudo apt-get -s clean
Delete chromium data/cache


[libra framework] Cleaned up LBR and Coin1

This PR cleans up the specs and documentation of the LBR and the Coin1
modules.
Motivation
To clean up the LBR and Coin1 modules
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
cargo test

/land


PCA in model scoring

When is PCA run on the model? Is it possible to turn off the PCA step?

there are two stages with different "kinds" of PCA:

in the layer selection, i.e. finding a layer to commit to cortical regions. model-tools uses PCA on layer activations before comparing them with neural data to keep the sizes manageable
in the pls metric, i.e. to compare model predicted activity for a region with recorded activity. The pls_regression used in several metrics performs dimensionality reduction as part of its fitting procedure