Support for docker run parameters

This commit introduces support for custom docker run parameters in the platform configuration file and proposes a slightly different way to configure platforms (== runners).
Refactoring platform configuration files
In the current  version, a platform configuration file is supposed to provide two mandatory sections - platform and container. This is targeted for container-based platforms (docker and singularity), and does not fit very well other platforms such as SSH, K8S and GCP. This commit proposes to rename container section to configuration:
platform:
    name: "docker"
    version: ">=18.01"
configuration:
    image: "mlperf/mlbox:hello_world"
    parameters: "--rm --net=host --privileged=true"

At the python level, the PlatformConfig class can be used for general-purpose configurations. The type of the configuration section is dictionary. Runners can provide their specific configuration objects. For instance, this commit introduces a new class ContainerPlatformConfig for container-based platforms.
Used docker run parameters.
Users can specify MLBox-specific docker run parameters. A new field named parameters is introduced in the container configuration section. This field is optional. If it is not present, null or empty default value is used: --rm --net=host --privileged=true. The exact default value is to be discussed. Current value is what was used in the previous implementation.
Docker executable
The name field in the platform section is used not only to specify the platform, but also as a docker executable. Thus, for docker platforms, valid values are docker and nvidia-docker. This may not be a good solution, a better option could be to have separate field in the configuration section.
Other updates

Updating MNIST and Hello World examples (platform configuration files and documentation pages).
Updating typing annotations to remove some of the python warnings.

@xyhuang  Please, take a look. Thanks.

do you think we can use a more specific field name e.g. docker_flags vs parameters, the idea is so that people don't confuse it with some other parameters

At the python level, the PlatformConfig class can be used for general-purpose configurations. The type of the configuration section is dictionary. Runners can provide their specific configuration objects. For instance, this commit introduces a new class ContainerPlatformConfig for container-based platforms.

does it mean that we will be using different platform configs schema for different (types of) platforms? this might be a design decision we need to make. Currently all platform configs share a same schema, I think there's a hidden risk of using multiple schemas: the runner's choice of config schema will be implicit to the user and it can sometimes get confusing e.g. the same field in a platform's config might be interpreted differently by different runners. one alternative way is that we use a big parent schema and provide each platform specific things in a sub field as a part of the big schema. e.g.:
configuration:
   # some general configs
  docker:
    # some docker configs, specify if using docker platform
  kubernetes:
    # some k8s configs, specify if using k8s platform

and a runner can take the whole config and interprets the part it is interested in.

regarding using nvidia-docker for platform name: currently the runner's description file (i.e. mlcommons_runner.yaml in the root of the runner) assumes a single platform, it might use this info for verification purpose in the future, we might need to change this to allow multi- platform names too

Currently all platform configs share a same schema

I think this is where I got confused. Is it mlcommons_box_platform? If so, it explicitly defines mandatory container field that's docker/singularity specific. Since it's a dictionary, renaming it to something more neutral like configuration  will work for other platforms. And at python level, there's bunch of classes like PlatformConfig that can interpret the dictionary content (with additional schemas) in the right way.

I think this is where I got confused. Is it mlcommons_box_platform? If so, it explicitly defines mandatory container field that's docker/singularity specific. Since it's a dictionary, renaming it to something more neutral like configuration will work for other platforms.

Yes, I am fine with this part, i think the use of configuration is better than container at top level, my question was about the use of ContainerPlatformConfig which kind of "overloads" the PlatformConfig. My initial thoughts are that it may result in multiple schema being needed for the configuration field which need to be inferred based on the platform, and my preference was to avoid "overloading" by having a sub field under configuration for each platform specific thing, so e.g. container specific configs go into a sub field called container etc. this way we can still use one single schema for all platforms.
Given the discussion from last meeting, I'm not sure if my thoughts are still relevant since the opinions seem to be against having platform specific fields, but overall I think the addition of the "parameter" field is useful and it could be general enough to support all command line flags for a platform whether or not people want to have platform specific fields in the config.


Freed autoload object causes debugger to crash without a meaningful error message (GDScript)

Tested versions
Reproducible in 4.0.x, .4.1.x, 4.2.x, 4.3.x.
System information
Godot 4.2.2 - Windows 11 Vulkan Forward+, Godot 4.2.2 - MacOS 14.5 Vulkan Forward+. With GDSCript as language
Issue description
When an autoload object is freed, the debugger will crash without any meaningful error message.
I have only observed the issue using GDScript and have not validated it in other languages.
The root cause is a forced cast happened here:https://github.com/godotengine/godot/blob/master/modules/gdscript/gdscript_editor.cpp#L406
When obj is invalid, the cast will cause a crash.

Open res://game_node.gd
Put a break point at the line: func _ready() -> print("after 1 second")
Run the scene res://game_node.tscn
Wait for the debugger to stop
Observe that the Filter Stack Variables show nothing.
Wait for some time, see the debugger crashed.

Without MRP

Create an autoload object, add queue_free() in its _ready() function
Put a breakpoint at any place in the game (at least after Autoloads are loaded)
Start the game.
Wait for the debugger to stop
Observe that the Filter Stack Variables show nothing.
Wait for some time, see the debugger crashed.

Minimal reproduction project (MRP)
autoloadqueuefree copy.zip

I created a potential fix here: https://github.com/godotengine/godot/pull/92608

Fixed by #89274.


Cannot evaluate when classpath is too big (> 30k characters)

Metals: v0.10.8
Editor: vscode
Build Server: Bloop v1.4.10-8-8d1cbc4f
When I try and use the expression evaluator that was recently updated in v0.10.8, it fails for me with:
Cannot evaluate because of ch.epfl.scala.debugadapter.internal.evaluator.ExpressionCompilationFailed: object scala in compiler mirror not found..
I was doing some spelunking with @tgodzik, and I threw in a println in the test to pull out the classpath.
println(s"Classpath -> ${System.getProperty("java.class.path")}")

The result of that is /tmp/jvm-forker-manifest7987195697692046528.jar
Given Bloop uses a separate classpath and always forks the JVM process for tests, could that be what is causing this not to work for me?

Thanks @andyczerwonka for opening this. At first I was surprised by this /tmp/jvm-forker-manifest-xx.jar file. I looked at the code in Bloop and it seems Bloop creates this file when the classpath is too big and exceeds the maximum command size on Windows. I will try to reproduce that and see if that could be the cause of the bug.

Bloop creates this file when the classpath is too big and exceeds the maximum command size on Windows. I will try to reproduce that and see if that could be the cause of the bug.

@adpi2, I’m on Linux, Ubuntu 20.04.

I confirm that the size of the classpath is the root cause of the problem. I was able to reproduce on Ubuntu and the fix is ready to be reviewed.

Enter the same error when trying to evaluate expression on vscode using metals. I'm on mac. My class path is /var/folders/sg/vr4x0_bx5tl0gdvbttcbv6qw0000gp/T/jvm-forker-manifest1627181751509981460.jar


Fix new cluster modal redirect

fix axios client export
fix getClusters url
hide alerts section when empty

Delete button is now clickable (not hidden behind empty AlertsSection

Fixes: #6


birger/512 uri

feat(apis_metainfo): add a GenericForeignKey to the Uri model
feat(apis_entities): update AbstractEntity to work with generic uri
feat(apis_relations): update GenericTripleForm to work with generic uri
feat(generic): update Enrich view to work with generic uri
feat(utils): update create_object_from_uri to work with generic uri

Closes: #512

Data migration works ✔

thats the most important part ;)

It seems like this PR removes the feature that allows user to link a Uri to a RootObject
Is that tabled for another PR or are we going to do away with manual linking of entities with URIs altogether and only rely on Merge and Import views to add an external Uri to an Object?

good point. I had added editable=False to the fields, but to keep the previous behavior it makes more sense to keep them editable. the edit and create forms now allow to set the content_type and object id.

And likewise, it is possible to link Uri to any object, but at the moment this is also not supported via the webapp, right?

thats now possible


Flanker: color changes

Blue background with white text.
Practice feedback (change colors of incorrect and correct); YELLOW for correct and RED for incorrect

This is also going to involve changing the color of the arrows, presumably to white.


Shape error

Hello, I am encountering a shape error when running the training script CUDA_VISIBLE_DEVICES=0 python baselines/train/run_ray_train.py --framework torch --exp al_harvest. Any help is greatly appreciated.
2023-09-04 21:31:18,216 ERROR tune.py:1144 -- Trials did not complete: [PPO_meltingpot_55a86_00000] (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/ray/rllib/models/torch/recurrent_net.py", line 274, in forward_rnn (PPO pid=6862)     self._features, [h, c] = self.lstm( (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl (PPO pid=6862)     return forward_call(*args, **kwargs) (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/torch/nn/modules/rnn.py", line 810, in forward (PPO pid=6862)     self.check_forward_args(input, hx, batch_sizes) (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/torch/nn/modules/rnn.py", line 730, in check_forward_args (PPO pid=6862)     self.check_input(input, batch_sizes) (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/torch/nn/modules/rnn.py", line 218, in check_input (PPO pid=6862)     raise RuntimeError( (PPO pid=6862) RuntimeError: input.size(-1) must be equal to input_size. Expected 147, got 27 (PPO pid=6862) (PPO pid=6862) During handling of the above exception, another exception occurred: (PPO pid=6862) (PPO pid=6862) ray::PPO.__init__() (pid=6862, ip=<IP_ADDRESS>, actor_id=afbc4db286cfab682041540a01000000, repr=PPO) (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/ray/rllib/algorithms/algorithm.py", line 517, in __init__ (PPO pid=6862)     super().__init__( (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 169, in __init__ (PPO pid=6862)     self.setup(copy.deepcopy(self.config)) (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/ray/rllib/algorithms/algorithm.py", line 639, in setup (PPO pid=6862)     self.workers = WorkerSet( (PPO pid=6862)   File "/home/paperspace/miniconda3/envs/mpc_main/lib/python3.10/site-packages/ray/rllib/evaluation/worker_set.py", line 179, in __init__ (PPO pid=6862)     raise e.args[0].args[2] (PPO pid=6862) RuntimeError: input.size(-1) must be equal to input_size. Expected 147, got 27

Thank you for your question.
Quick check: Did you run sh ray_patch.sh when doing the installation?
Thanks

Yes I have ! Thank you

Ok thanks. I assume you have not made any change in setup script. Could you also check if the patch was actually applied  i.e. the file ray/rllib/models/torch/complex_input_net.py has line 181 replaced where your rllib is installed in your environment? Thsi works fine for me so seems something is going wrong with the setup (e.g. if there was any issue due to permission problem in applying the patch).

You are right. The python path was pointing to somewhere else. Appreciate the very quick help!


Fix the Webpack5 deprecation warning

Hello,
this project uses the outdated webpack-fix-style-only-entries plugin that is incompatible with Webpack 5.
Using npm run build appear the deprecation warnings:
webpack-fix-style-only-entries:
(node:18462) [DEP_WEBPACK_CHUNK_ENTRY_MODULE] DeprecationWarning: Chunk.entryModule: Use new ChunkGraph API
(node:18462) [DEP_WEBPACK_MODULE_INDEX] DeprecationWarning: Module.index: Use new ModuleGraph API
(node:18462) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: chunk.files was changed from Array to Set (using Array method 'filter' is deprecated)

The author of the webpack-fix-style-only-entries plugin recommends using the webpack-remove-empty-scripts plugin for Webpack 5.
This PR just replaces the outdated plugin with the actual version.

Hi @Jura, I have changed PR into develop


Failure occurred in build() when using hyprland-bin, hyprland-git and hyprland to install.

Seems to be like a file is missing in the git for AUR installers, please let me know if I'm the one doing something wrong!
Steps to reproduce
-Clean Arch installation through archinstall, desktop environment pre-set with awesome dwm and intel opensource drivers.
-both yay and paru AUR have given me the same error, haven't tried manual instalation since AUR is strongly recommended.
yay hyprland-git installing packages 1-4 and 1-3.
Expected outcome
Hyprland successful installation.
Noted outcome
ninja: error: '/home/lakakid/.cache/yay/hyprland-git/src/hyprland/subprojects/udis86/build/libudis86/liblibudis86.a', needed by 'Hyprland', missing and no known rule to make it
make: *** [Makefile:144: release] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: hyprland-git`
Terminal outcome
Checking for modules 'wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;libdrm;egl;xkbcommon;libinput' --   Found wayland-server, version 1.21.0 --   Found wayland-client, version 1.21.0 --   Found wayland-cursor, version 1.21.0 --   Found wayland-protocols, version 1.31 --   Found cairo, version 1.17.8 --   Found libdrm, version 2.4.115 --   Found egl, version 1.5 --   Found xkbcommon, version 1.5.0 --   Found libinput, version 1.22.1 -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps... -- Checking for module 'xcb' --   Found xcb, version 1.15 -- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps... -- Checking for module 'libsystemd' --   Found libsystemd, version 253 -- Looking for systemd/sd-daemon.h -- Looking for systemd/sd-daemon.h - found -- Setting link libraries -- Configuring done -- Generating done -- Build files have been written to: /home/lakakid/.cache/yay/hyprland-git/src/hyprland/build cmake --build ./build --config Release --target all -j8 ninja: error: '/home/lakakid/.cache/yay/hyprland-git/src/hyprland/subprojects/udis86/build/libudis86/liblibudis86.a', needed by 'Hyprland', missing and no known rule to make it make: *** [Makefile:144: release] Error 1 ==> ERROR: A failure occurred in build().     Aborting...  -> error making: hyprland-git

only git is broken, see #1652


Change the model to 8bit based

Change the model to 8-bit based.

Done: https://huggingface.co/pythainlp/wangchanglm-7.5B-sft-en-8bit-sharded


GLib-GIO-WARNING

Describe the error

Run for a few seconds and then Interrupt
Code and Error
Code:

manimgl example_scenes.py TexTransformExample
manimgl --config
Error:

GLib-GIO-WARNING **: 17:10:08.767: Unexpectedly, UWP app Microsoft.ZuneVideo_10.21021.10311.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo') supports 33 extensions but has no verbs
Environment
OS System: win10
manim version: master
python version:python3.8

same here
(process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

Run a command prompt as administrator and paste the following:
Get-AppXPackage Microsoft.ZuneVideo -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

(process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

The exactly same is to me

Run a command prompt as administrator and paste the following:
Get-AppXPackage Microsoft.ZuneVideo -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

This didn't fix it for me

Run a command prompt as administrator and paste the following:
Get-AppXPackage Microsoft.WindowsSoundRecorder -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Great.
I have fixed.
I have run this command in Power Shell Admin.
And then run cmd again.
Wow. Thanks a lot.

Hi, I get a similar version of this warning:
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP app `Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId `Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs

I tried modifying the command suggested to fix it, but with no success.

Hi, I get a similar version of this warning:
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP app `Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId `Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs

I tried modifying the command suggested to fix it, but with no success.

Have you tried Get-AppXPackage Evernote.Evernote -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}?

Hi, I get a similar version of this warning:
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP app `Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId `Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs

I tried modifying the command suggested to fix it, but with no success.

Have you tried Get-AppXPackage Evernote.Evernote -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}?

Yes, that's the command I used. I ran it in PowerShell as Administrator.

Hi, I get this warning:

Can someone help me?

Hi, I get this warning:  Can someone help me?

Try: Get-AppXPackage 20815shootingapp.AirFileViewer -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} ?

Hi, I get this warning:  Can someone help me?

Try: Get-AppXPackage 20815shootingapp.AirFileViewer -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} ?

thanks for your help, but it didn't work. i still get the same warning..

happens for me

.

i have this problem
(process:2536): GLib-GIO-WARNING **: 19:11:13.968: Unexpectedly, UWP app microsoft.windowscommunicationsapps_16005.14326.20544.0_x64__8wekyb3d8bbwe' (AUMId microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail') supports 1 extensions but has no verbs

i have this problem (process:2536): GLib-GIO-WARNING **: 19:11:13.968: Unexpectedly, UWP app microsoft.windowscommunicationsapps_16005.14326.20544.0_x64__8wekyb3d8bbwe' (AUMId microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail') supports 1 extensions but has no verbs

Try this:
Get-AppXPackage microsoft.windowscommunicationsapps -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

(process:30208): GLib-GIO-WARNING **: 19:35:53.192: Unexpectedly, UWP app Icons8LLC.Lunacy_<IP_ADDRESS>_x64__7g68zyg4rddyp' (AUMId Icons8LLC.Lunacy_7g68zyg4rddyp!App') supports 1 extensions but has no verbs
I tried the following in powershell as admin but the error is constant, if anyone finds another fix, I'll be listening!
Get-AppXPackage Icons8LLC.Lunacy -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

same here (process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

to solve is simple. Awezip and the "BreeZip: Rar, Zip & 7z Extractor" it must have corrupted. I solved by uninstalling it and reinstalling. try and tell me if it worked

@Tdroid20 how bro mine keep giving me this
(process:7260): GLib-GIO-WARNING **: 14:01:14.486: Unexpectedly, UWP app 6760NGPDFLab.PDFX_<IP_ADDRESS>_x64__sbe4t8mqwq93a' (AUMId 6760NGPDFLab.PDFX_sbe4t8mqwq93a!App') supports 32 extensions but has no verbs
Now what should i uninstall and reinstall again?

same here (process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

to solve is simple. Awezip and the "BreeZip: Rar, Zip & 7z Extractor" it must have corrupted. I solved by uninstalling it and reinstalling. try and tell me if it worked

Uninstalled BreeZip and the error disappeared. Thanks!

same here (process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

to solve is simple. Awezip and the "BreeZip: Rar, Zip & 7z Extractor" it must have corrupted. I solved by uninstalling it and reinstalling. try and tell me if it worked

Uninstalled BreeZip and the error disappeared. Thanks!

You're welcome, bro. How nice

in your case it is another app that is conflicting. I'll look around and see what it could be.

same here (process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

to solve is simple. Awezip and the "BreeZip: Rar, Zip & 7z Extractor" it must have corrupted. I solved by uninstalling it and reinstalling. try and tell me if it worked

Uninstalled BreeZip and the error disappeared. Thanks!

in your case it is another app that is conflicting. I'll look around and see what it could be.

@Tdroid20 how bro mine keep giving me this (process:7260): GLib-GIO-WARNING **: 14:01:14.486: Unexpectedly, UWP app 6760NGPDFLab.PDFX_<IP_ADDRESS>_x64__sbe4t8mqwq93a' (AUMId 6760NGPDFLab.PDFX_sbe4t8mqwq93a!App') supports 32 extensions but has no verbs
Now what should i uninstall and reinstall again?

uninstall the PDF X app: https://www.microsoft.com/pt-br/p/pdf-x-editar-pdf-leitor-pdf-anotar-pdf-conversor-pdf/9p3cp9g025rm?activetab=pivot:overviewtab
if you uninstall and the error persists let me know

I'm also getting one of these errors: I'm running Hashlips Art Engine and when I run node index.js it generates a limited number of editions (currently down to 3) and then pops up this message. The program then continues to generate the rest of my images.
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP  app Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs.
I tried running the fix mentioned above in Powershell as Administrator but all it does is add Evernote to my appdata/local/packages folder.
I'd never even heard of Evernote before this, let alone used it and I have no need or desire to install it on my computer. Has anyone found a fix for these ***supports 32 extensions but has no verbs errors?

I'm also getting one of these errors: I'm running Hashlips Art Engine and when I run node index.js it generates a limited number of editions (currently down to 3) and then pops up this message. The program then continues to generate the rest of my images.
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP app Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs.

I will have some time to answer because my native language is Portuguese. evernote must be uninstalled. this link may help to solve your problem.
Again I apologize for the delay in responding or for spelling errors. because i can't speak english very well

(process:16052): GLib-GIO-WARNING **: 09:36:17.418: Unexpectedly, UWP app '3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId '3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs

The exactly same is to me

I already solved this problem in the above cases
https://github.com/3b1b/manim/issues/1556#issuecomment-1030676778

I'm also getting one of these errors: I'm running Hashlips Art Engine and when I run node index.js it generates a limited number of editions (currently down to 3) and then pops up this message. The program then continues to generate the rest of my images.
(process:12520): GLib-GIO-WARNING **: 06:47:35.104: Unexpectedly, UWP app Evernote.Evernote_<IP_ADDRESS>_x86__q4d96b2w5wcc2' (AUMId Evernote.Evernote_q
4d96b2w5wcc2!Evernote') supports 1 extensions but has no verbs.

I will have some time to answer because my native language is Portuguese. evernote must be uninstalled. this link may help to solve your problem. https://help.evernote.com/hc/en-us/articles/208314248-Reinstale-o-Evernote
Again I apologize for the delay in responding or for spelling errors. because i can't speak english very well

Thank you for responding. I can't uninstall Evernote because I've never had it installed. It doesn't appear in my uninstall programs list and I've searched my C: drive in windows explorer. I have no files or folders with the name Evernote.

Hey. I have the same problem, but with another app.....
(process:544): GLib-GIO-WARNING **: 09:39:19.482: Unexpectedly, UWP app 3138AweZip.AweZip_<IP_ADDRESS>_x86__ffd303wmbhcjt' (AUMId 3138AweZip.AweZip_ffd303wmbhcjt!App') supports 167 extensions but has no verbs
I only have that Problem on VSC, if i run my program (plotting from DataFrames Dates out of a .csv File in Julia) from a CMD, it works fine......
Can someone help?

Hey, I meet the same problems
Windows 10
GTX 1065
ManimGL v1.6.1

(process:82216): GLib-GIO-WARNING **: 14:09:23.892: Unexpectedly, UWP app `KDEe.V.LabPlot_2.900.747.0_x64__7vt06qxq7ptv8' (AUMId `KDEe.V.LabPlot_7vt06qxq7ptv8!KDEe.V.LabPlot') supports 1 extensions but has no verbs

(process:82216): GLib-GIO-WARNING **: 14:09:23.915: Unexpectedly, UWP app `KDEe.V.Elisa_22.401.1150.0_x64__7vt06qxq7ptv8' (AUMId `KDEe.V.Elisa_7vt06qxq7ptv8!KDEe.V.Elisa') supports 9 extensions but has no verbs

(process:82216): GLib-GIO-WARNING **: 14:09:23.924: Unexpectedly, UWP app `KDEe.V.Okular_22.401.1031.0_x64__7vt06qxq7ptv8' (AUMId `KDEe.V.Okular_7vt06qxq7ptv8!KDEe.V.Okular') supports 5 extensions but has no verbs

Can someone help?

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app `Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs

Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app `Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs

Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.

same

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app `Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs

Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.

same issue, someone please provide a fast, I have stuck at this.

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app `Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs

Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.

same

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs
Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.
same issue, someone please provide a fast, I have stuck at this.

Hey, I got a similar warning after installing the Windows 11 22H2 Update.
ManimGL v1.6.1
0 Waiting:  33%|############################6                                                         | 10/30 [00:00<00:00, 33.49it/s]
(process:26268): GLib-GIO-WARNING **: 11:21:16.554: Unexpectedly, UWP app `Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 46 extensions but has no verbs

Before the update, it all went well, I guess that's because the update brought a new UWP app called ClipChamp.

please help if u have resolved it

Same here but supports 41 extensions...
(process:13932): GLib-GIO-WARNING **: 11:30:12.029: Unexpectedly, UWP app Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs

Same here
GLib-GIO-WARNING **: 10:23:05.209: Unexpectedly, UWP app Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs

Hello everyone, currently I'm using Hashlips Art Engine and an error have occured. Can you help me with that?
I run "npm run generate" but afterwards the error "GLib-GIO-WARNING **: 22:47:22.498: Unexpectedly, UWP app draw.io.draw.ioDiagrams_<IP_ADDRESS>_x64__1zh33159kp73c' (AUMId draw.io.draw.ioDiagrams_1zh33159kp73c!draw.io.draw.ioDiagrams') supports 2 extensions but has no verbs" shows up. I'm currently on Windows 10 x64. All the best!

uninstall clipchamp, and u will not see that warning again.

Can confirm that seems to have resolved the issue.

(python.exe:23456): GLib-GIO-WARNING **: 20:36:45.469: Unexpectedly, UWP app 20815shootingapp.AirFileViewer_<IP_ADDRESS>_x86__xcg28tkrsnqww' (AUMId 20815shootingapp.AirFileViewer_xcg28tkrsnqww!App') supports 318 extensions but has no verbs

Hi, I get this warning:  Can someone help me?

Try: Get-AppXPackage 20815shootingapp.AirFileViewer -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} ?

thanks for your help, but it didn't work. i still get the same warning..

I met the same problem today. How did you solve it

Hi, I get this warning:  Can someone help me?

Try: Get-AppXPackage 20815shootingapp.AirFileViewer -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} ?

thanks for your help, but it didn't work. i still get the same warning..

I met the same problem today. How did you solve it

If you don't need ClipChamp for anything, which you shouldn't, uninstall it and try again.

remove Clipchamp

Open Windows Terminal as Administrator by pressing Win + X and selecting Windows Terminal (Admin).
Type or copy-paste the following command  Get-AppxPackage *Clipchamp* | Remove-AppxPackage.

Describe the error
Run for a few seconds and then Interrupt
Code and Error
Code:
manimgl example_scenes.py TexTransformExample manimgl --config Error:
GLib-GIO-WARNING **: 17:10:08.767: Unexpectedly, UWP app Microsoft.ZuneVideo_10.21021.10311.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo') supports 33 extensions but has no verbs
Environment
OS System: win10 manim version: master python version:python3.8

I got a solution, use JeroSQ's idea, see following prompt,
Get-AppXPackage Microsoft.Office.OneNote -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
i use this prompt to solve this problem GLib-GIO-WARNING **: 23:50:55.852: Unexpectedly, UWP app Microsoft.Office.OneNote_16001.14326.21386.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim') supports 2 extensions but has no verbs
see this prompt Get-AppXPackage abcdefghijklmnopq -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}，in this warning，we change "abcdefghijklmnopq" to "Microsoft.Office.OneNote"
and then we can solve following problem by change "abcdefghijklmnopq" to "Microsoft.MSPaint" '(process:21368): GLib-GIO-WARNING **: 23:50:55.790: Unexpectedly, UWP app Microsoft.MSPaint_6.2203.1037.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint') supports 17 extensions but has no verbs'
The number or letter after the '_' symbol is the version number, just change app name

Hello everyone, currently I'm using Hashlips Art Engine and an error have occured. Can you help me with that? I run "npm run generate" but afterwards the error "GLib-GIO-WARNING **: 22:47:22.498: Unexpectedly, UWP app draw.io.draw.ioDiagrams_<IP_ADDRESS>_x64__1zh33159kp73c' (AUMId draw.io.draw.ioDiagrams_1zh33159kp73c!draw.io.draw.ioDiagrams') supports 2 extensions but has no verbs" shows up. I'm currently on Windows 10 x64. All the best!

try this ‘Get-AppXPackage draw.io.draw.ioDiagrams -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}’

Run a command prompt as administrator and paste the following:
Get-AppXPackage Microsoft.ZuneVideo -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

It doesn't work.
I got an error:
"(process:23960): GLib-GIO-WARNING **: 21:50:07.554: Unexpectedly, UWP app Microsoft.ScreenSketch_11.2303.17.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ScreenSketch_8wekyb3d8bbwe!App') supports 29 extensions but has no verbs
(process:23960): GLib-GIO-WARNING **: 21:50:07.557: Unexpectedly, UWP app Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs"
sys:win11

I'm also having the same problem, but I've tried all the methods and it says 29 extensions, so I guess I should need to use other solutions.
(process:11184): GLib-GIO-WARNING **: 09:43:42.605: Unexpectedly, UWP app Microsoft.ScreenSketch_11.2303.17.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ScreenSketch_8wekyb3d8bbwe!App') supports 29 extensions but has no verbs

For the guys having the same problem but with Microsoft.ScreenSketch @nbnb691096047 @HenYu-Yo  the solution is a little different in syntax:
Get-AppXPackage *Microsoft.ScreenSketch* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Just that! without * asterisc we still have the problem, putting the name_of_software_failing make the solution propose in this issue works, thanks to @itsauric for the initial solution.
Environment
OS System: win11 22H2 22621.2134
Manim Community version: 0.17.3
Python Version: Python v3.11.4:d2340ef

Oh, the way has useless,my terminal shows as following:
(process:40300): GLib-GIO-WARNING **: 20:38:40.720: Unexpectedly, UWP app Microsoft.ScreenSketch_11.2310.54.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ScreenSketch_8wekyb3d8bbwe!App') supports 29 extensions but has no verbs

I have these qustions on the windows 11 when i was running the manim code ,can you tell me how to solve it?Thanks
(process:19308): GLib-GIO-WARNING **: 21:09:22.579: Unexpectedly, UWP app Bandisoft.com.15700C60EE320_<IP_ADDRESS>_x64__dytvnjx3s1h08' (AUMId Bandisoft.com.15700C60EE320_dytvnjx3s1h08!Bandizip') supports 36 extensions but has no verbs
(process:19308): GLib-GIO-WARNING **: 21:09:22.652: Unexpectedly, UWP app Clipchamp.Clipchamp_<IP_ADDRESS>_neutral__yxz26nhyzhsrt' (AUMId Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs
(process:19308): GLib-GIO-WARNING **: 21:09:22.708: Unexpectedly, UWP app Microsoft.ScreenSketch_11.2310.54.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ScreenSketch_8wekyb3d8bbwe!App') supports 29 extensions but has no verbs

I have same problem and resolve this warnings using 'Windows PowerShell ISE' from the start win menu.
Just write: Get-AppxPackage program_name | Remove-AppxPackage and it works.
Example: Get-AppxPackage Clipchamp | Remove-AppxPackage.
After that my python script run without this warnings.

The "Fix" to jsut remove an app is not acceptable. For example, im not going to stop using Outlook.
GLib-GIO-WARNING **: 09:08:09.094: Unexpectedly, UWP app Microsoft.OutlookForWindows_1.2024.612.100_x64__8wekyb3d8bbwe' (AUMId Microsoft.OutlookForWindows_8wekyb3d8bbwe!Microsoft.OutlookforWindows') supports 4 extensions but has no verbs

emacs on windows relies on manim, so all users of that app are going to keep getting this warning. it is especially painful when using emacs on the console (emacs -nw) as the errors will trash the terminal output.
You can work around it somewhat by redirecting stderr to a file or NUL (cmd) or $null (powershell), ie whatever 2> errors.txt


chore: hide edit button for submissions

This PR resolves []
Description

Resolves Notion card: remove the edit artwork CTA for any myC artworks that is submitted for sale
PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

remove the edit artwork CTA for any myC artworks that is submitted for sale -daria

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (remove the edit artwork CTA for any myC artworks that is submitted for sale -daria)

  Generated by :no_entry_sign: dangerJS against d8b772008a2d72aab21a0831d38dc638f648b028


Would you release the baseline config of Table.3 Zero-Shot HOI Detection?

Hello. Would you release the baseline config of Table.3 Zero-Shot HOI Detection? Did baseline classifiers initiate without the text embeddings? thanks.

The baseline was implemented with GEN (w/o VLKT), whose classifiers (GEN) didn't initiate with text embeddings.

Thanks for your replying. Now I'm confused about how can baseline get such a high performance on Unseen-Verb (13.52), which is even better than RF-UC(12.52)

The mAP is evaluated across all unseen HOI triplets, and the scores of final HOI triplet predictions are made up of the 'HOI triplet categories scores' and the corresponding 'object categories scores'. Therefore, the object confidence scores are able to contribute a relatively high confidence for the 'unseen verb' HOI triplets, if the object was detected in the image.

Thanks, I got it. This may also be the reason why UO has the worst performance.


How to Add Addons(hint/show-hint.js) to my angular2 codemirror?

Im a beginner and using codemirror in angular2 and want to add autocomplete to my editor. My config is set to javascript.
https://plnkr.co/edit/5aiqpxjCtVmVS4VCeKmC?p=preview

@shubhijain106 here is the working example with highlighting, autocomplete (by ctrl+space) and autoheight:
https://plnkr.co/edit/xvW5LU8cQat8NsGSoGuc?p=preview


Get rid of the /place command

This command has no extra functionality to the server and only causes the server to lag

good pr 😄

Vouch

I personally like /place, is it that easy to exploit?

I personally like /place, is it that easy to exploit?

If it is spammed a ton it'll end up lagging the server, I think this is the issue prompting this to be blocked.


Private view functions cannot be called after 1.11.0

🐛 Bug Description
Before ts-sdk 1.11.0, a private view function is callable through the sdk. However, after #334, calling private view function will result in Could not find view function ABI error. It's because a private view function won't be listed in ABI, and  #334 add a ABI verification when calling view function.
For example, 0xc6bc659f1649553c1a3fa05d9727433dc03843baac29473c817d06d39e7621ba::lending::preview_account_liquidity_given_withdraw is a private view function, which cannot be found in ABI: https://explorer.aptoslabs.com/account/0xc6bc659f1649553c1a3fa05d9727433dc03843baac29473c817d06d39e7621ba/modules/code/lending?network=mainnet
According to the  Aptos document:

If you want to tag a mutable function as #[view], consider making it private so that it cannot be maliciously called during runtime.

Private view functions are considered a feature. It's suggested that either these functions be included in the ABI or the SDK not raise exceptions for functions absent from the ABI.
How to reproduce
client.view({
  payload: {
    function:
      "0xc6bc659f1649553c1a3fa05d9727433dc03843baac29473c817d06d39e7621ba::lending::preview_account_liquidity_given_withdraw",
    functionArguments: [
      "0x41ac08fb7ac6d7b6d29199e7232a5770dfa9318308d703e9a10672f6e3ab66aa",
      "0x127ea5b4c450be695e488da1c3bc013e2e93d8cf00270ef90385189844bc9755",
      "9000000",
    ],
    typeArguments: [],
  },
});

Will take a look into it when I get back.  Looks like the ABI doesn't include private view functions.
You can override remote ABI for now using a hard coded one like this, which will provide type safety and better performance
https://github.com/aptos-labs/aptos-ts-sdk/blob/main/examples%2Ftypescript-esm%2Ftransaction_with_predefined_abi.ts#L141-L150

@gregnazario The example you provided is for entry functions. Is there a way to provide ABI for view function?

@gregnazario The example you provided is for entry functions. Is there a way to provide ABI for view function?

Yes. Take a look at the view function api. The payload argument is of type InputViewFunctionData which accepts an optional abi property. So could do something like that
const response = await aptos.view({
 payload: {
        function: "0x1::account::get_sequence_number",
        functionArguments: ["0x1"],
        abi:myABI
  }
})

@0xmaayan I found that to use this, we need to construct an ABI object of the function. How to construct the ABI with an plain ABI json?

We could optionally instead provide the ability to use a view function without an ABI, but you will have to encode the arguments as BCS, and get it right (with no hints).
Maybe need to make a ABI generator minimally.


Annotations should not be resized on import

How to reproduce:

Import diagram with annotations that have lines wrapping inside bounding box
Annotation has been automatically resized and lines are not wrapped anymore

Expected:

Annotation should look same was, as during initial imprort

See original post for details.
Related version: 1.5
Notes:
From usage perspective better behaviour would be to resize bounding box and update DI only on edit. On import - use existing DI width and height information.

Needs to be addressed via https://github.com/bpmn-io/bpmn-js/issues/634 and https://github.com/bpmn-io/bpmn-js/issues/628.

Reverted the broken automatic text annotation resizing feature. Will be released as part of the next Camunda Modeler patch release.


feat(clustering): report config reload errors to Konnect

summary
This adds new error-reporting for data planes running in Konnect.
When config update fails due to invalid configuration or more transient reasons (e.g. LMDB map size exceeded), the data plane will collect the error into a JSON payload and send this back to the control-plane as a binary WebSocket message.
I have refactored some of the code in kong.clustering.config_helper.update() to make error-handling more ergonomic and robust (swapping in xpcall to get better exception data).
On the Konnect mode limitation
In its initial form, this feature is being added for Konnect-only deployments. Konnect is only supported by Enterprise versions of Kong, but this feature requires changes to files in the kong/clustering/* tree that would be very frustrating to maintain if committed directly to the EE codebase. I think refactoring could help with this obstacle, but with the current state of kong.clustering it would need to be a pretty large refactor.
For these reasons, the code has been added to OSS. Because the konnect_mode flag is only present in EE, I am using a custom plugin to monkey-patch kong.clustering.init_dp_worker() such that error reporting is always enabled. Otherwise we would not be able to test this code in OSS, making maintenance even more of a headache.
For OSS and non-Konnect EE deployments, the side-effect is that there is that the data plane's code path for reconfigure payloads does some unnecessary work preparing an error payload that will ultimately be discarded, but this is only in the error-handling path and should hopefully not become a performance concern.
NOTE: Because OSS data planes are not yet supported by Konnect, there is no changelog entry for this feature. I will add one for the EE pull request.
Example Payloads
Invalid Declarative Config
{
  "type": "error",
  "error": {
    "name": "declarative configuration parse failure",
    "config_hash": "706f787e686e32a565e2a578aba1b347",
    "source": "kong.db.declarative.parse_table"
    "message": "declarative config is invalid: {extra_top_level_field=\"unknown field\"}",
    "code": 14,
    "fields": {
      "extra_top_level_field": "unknown field"
    },
    "flattened_errors": [
      {
        "entity_id": "2e1373fa-874a-426c-b639-b9e20284ebbc",
        "entity_name": "my-service",
        "entity_tags": [
          "tag-1",
          "tag-2"
        ],
        "entity_type": "service",
        "errors": [
          {
            "field": "host",
            "message": "required field missing",
            "type": "field"
          },
          {
            "field": "extra_field",
            "message": "unknown field",
            "type": "field"
          }
        ]
      }
    ]
  }
}

Exception Thrown During Config Reload
{
  "type": "error",
  "error": {
    "name": "configuration reload failed",
    "config_hash": "8cb8c00863336fee14e4364ab3e8819c",
    "exception": "...plugins/kong/plugins/cluster-error-reporting/handler.lua:19: oh no!",
    "message": "an exception was raised while updating the configuration",
    "source": "kong.clustering.config_helper.update",
    "traceback": "...plugins/kong/plugins/cluster-error-reporting/handler.lua:19: oh no!\nstack traceback:\n\t...michaelm/git/kong/kong/kong/clustering/config_helper.lua:278: in function <...michaelm/git/kong/kong/kong/clustering/config_helper.lua:272>\n\t[C]: in function 'error'\n\t...plugins/kong/plugins/cluster-error-reporting/handler.lua:19: in function 'load_into_cache_with_events'\n\t...michaelm/git/kong/kong/kong/clustering/config_helper.lua:346: in function <...michaelm/git/kong/kong/kong/clustering/config_helper.lua:297>\n\t[C]: in function 'xpcall'\n\t...michaelm/git/kong/kong/kong/clustering/config_helper.lua:374: in function 'update'\n\t/home/michaelm/git/kong/kong/kong/clustering/data_plane.lua:255: in function </home/michaelm/git/kong/kong/kong/clustering/data_plane.lua:224>"
  }
}

LMDB Map Full
{
  "type": "error",
  "error": {
    "name": "configuration reload failed",
    "config_hash": "d78ed6c82b8aedf5323f249b3f0a363d",
    "message": "map full",
    "source": "kong.db.declarative.load_into_cache_with_events"
  }
}

See also
KAG-3249

@flrgh To help clarifying, are the following assertions correct?

in case of multiple errors, we expect the DP to send multiple error messages
at any time, a payload would generate at most one error per type (e.g. one invalid declarative configuration, one transient error and one exception)

@GGabriele @flrgh - Do you guys need any help here? We are 1 week from feature freeze.

Do you guys need any help here? We are 1 week from feature freeze.

@RobSerafini aside from needing gateway team code review (which can be sorted with tomorrows PR meeting), I need a product/manager decision on whether or not this is a pure OSS feature or a Konnect-only feature.

* in case of multiple errors, we expect the DP to send multiple error messages

* at any time, a payload would generate at most one error per type (e.g. one `invalid declarative configuration`, one `transient error` and one `exception`)

@GGabriele I think I haven't done the best job of laying out specifications with examples, and "error" as a term is pretty generic, so allow me to expand a little and see if this answers your questions...
Let's call the final JSON-encoded, binary WebSocket message that is sent to the CP the error payload.
An error payload is a JSON object with a top-level classification of type: "error" and an object in the error attribute:
{
  "type": "error",
  "error": {
    "name":        "my error name",
    "config_hash": "588b0c0baa505a71be9369608e8b75f1",

    ...other attributes specific to error.name also live here
  }
}

...where error.name describes the type of error that was recorded and includes exactly one of (currently 3) different strings that are being added to kong/constants.lua:
+  CLUSTERING_DATA_PLANE_ERROR = {
+    CONFIG_PARSE     = "declarative configuration parse failure",
+    RELOAD_FAILED    = "configuration reload failed",
+    GENERIC          = "generic or unknown error",
+  },

Additionally, error.config_hash represents the value of config_hash within the reconfigure message that was received from the CP.
Upon receiving a reconfigure payload from the CP, the DP enacts a serialized, atomic(ish) procedure for handling the payload: decode it, validate it, and then reload runtime state from it. If any one of those steps fails, the process is immediately aborted, and the DP sends an error payload for the CP--the contents of which will depend upon which step yielded an error. Because this is a direct consequence of the DP's receipt of a reconfigure payload from the CP, one message from the CP will result in at most one error payload being sent from the DP.
In the case of CONFIG_PARSE, there will be an array called error.flattened_errors* that contains individual error structures, because a single declarative config may contain more than one invalid entity. So by definition, yes, an error payload can contain more than one "error", but that is just an implementation detail of the declarative validation code and the error structure it returns. Each error contained within error.flattened_errors is to be considered part of the entire CONFIG_PARSE error payload as a unit. Here is complete example of a CONFIG_PARSE error payload
{
  "type": "error",
  "error": {
    "name": "declarative configuration parse failure",
    "config_hash": "ba5fa5346a9f48062895911e5ebcee03",
    "message": "declarative config is invalid: {}",
    "source": "kong.db.declarative.parse_table",
    "code": 14,
    "fields": {},
    "flattened_errors": [
      {
        "entity_id": "3923d481-b21c-4c0e-a91e-e4eb5d63a8f7",
        "entity_name": "my-other-service",
        "entity_tags": [
          "tag-1",
          "tag-2"
        ],
        "entity_type": "service",
        "errors": [
          {
            "field": "host",
            "message": "required field missing",
            "type": "field"
          },
          {
            "field": "extra_field",
            "message": "unknown field",
            "type": "field"
          }
        ]
      },
      {
        "entity_id": "908e55c2-0b83-4c47-b291-eb9c8776fef3",
        "entity_name": "my-service",
        "entity_tags": [
          "tag-1",
          "tag-2"
        ],
        "entity_type": "service",
        "errors": [
          {
            "field": "host",
            "message": "required field missing",
            "type": "field"
          }
        ]
      }
    ]
  }
}

* flattened_errors is not something introduced by this PR. See this older PR for more context on where it comes from

@flrgh thanks a lot for the clarification, this is super helpful!!

Added an additional commit with better test coverage (assert more fields and cover the error() case). Please squash this on merge.

@GGabriele - I would like a final approval from you on behalf of Konnect.


sdxl mlperf inf cuda doesn't work

I tried https://docs.mlcommons.org/inference/benchmarks/text_to_image/sdxl to run sdxl and ran
cm run script --tags=run-mlperf,inference,_find-performance,_full,_r4.1 \
   --model=sdxl \
   --implementation=reference \
   --framework=pytorch \
   --category=datacenter \
   --scenario=Offline \
   --execution_mode=test \
   --device=cuda  \
   --quiet \
   --test_query_count=50

I got this
Installing collected packages: mpmath, flatbuffers, sympy, protobuf, packaging, numpy, humanfriendly, coloredlogs, onnxruntime_gpu
Successfully installed coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 mpmath-1.3.0 numpy-1.26.4 onnxruntime_gpu-1.18.1 packaging-24.1 protobuf-5.27.2 sympy-1.13.0
           ! cd /root/CM/repos/local/cache/97f8d388b4774e7c
           ! call<EMAIL_ADDRESS>from tmp-run.sh
           ! call "postprocess" from<EMAIL_ADDRESS>          Detected version: 1.18.1

    * cm run script "get ml-model stable-diffusion text-to-image sdxl raw _onnx _fp32"

CM error: no scripts were found with above tags and variations

variation tags ['onnx', 'fp32'] are not matching for the found script get-ml-model-stable-diffusion with variations dict_keys(['batch_size.#', 'fp32', 'fp16', 'int8', 'pytorch', 'pytorch,fp16', 'pytorch,fp32', 'uint8', 'huggingface', 'mlcommons', 'git', 'wget', 'rclone', 'rclone,fp32', 'rclone,fp16'])
!

I am not sure how to fix that. Any help is appreciated ... Thanks!

Can you please do cm pull repo and retry?

It started working. thank you for a quick fix.


Designing /api/v2

After discussing with Peter on Slack, let's start a discussion about what v2 might look like:
These are the endpoints we have now:
/chrom-sizes/
/uids_by_filename/
/tilesets/
/tileset_info/
/tiles/
/register_url/

If this were RESTful, how many resources would there be? I think there's just 3:

/chrom-sizes/ or /coord-systems/
/tilesets/
/tiles/

/register_url/ ideally should be some kind of POST request to /tilesets/... a way to register a new remote tileset.
/tileset_info/ would just be a GET request to /tilesets/ with a id parameter
/uids_by_filename/ would just be a different GET request to /tilesets/
Thoughts?

Thanks for getting this discussion started. Without knowing the prior discussion it would be helpful to point out what the current limitations are to know how we can best address them. RESTfulness is nice to have but certainly not needed. Some things are even harder / less performant with a pure RESTful interface.
In general, fragments_by_loci  needs to be there too unless we want to drop support for HiPiler.
Its API docs are here: http://higlass.io/api/v1/fragments_by_loci/
Note, that this endpoint is not RESTful and it's hard to make it RESTful as you have to send state in a POST request to retrieve the snippets.

/register_url/ ideally should be some kind of POST request to /tilesets/... a way to register a new remote tileset.

If a remote tileset and a local tileset behave in the same way then I agree, otherwise I would treat them as two different resources. Generally, a PUT request would be safer though due to idempotency.

/uids_by_filename/ would just be a different GET request to /tilesets/

How can there be different GET requests to /tilesets/? I might be wrong but I think as soon as you send any state with a GET request the API is not RESTful anymore. I am not saying that we need a pure REST API. To decide that we should probably point out which parts of the current API could be improved.

I agree that there's no need to be purely RESTful. But it would still be nice to make it clear what resources exist and consolidate unnecessary methods like tileset_info.

How can there be different GET requests to /tilesets/?

Sorry, I was being sloppy. I meant that it could be a response to a different set of input arguments. uids_by_filename is basically an alternative way for the server to format the /tilesets/ GET query, no?

If a remote tileset and a local tileset behave in the same way then I agree, otherwise I would treat them as two different resources.

Good question. In higlass-python, the remote tileset registration merely locates the url on a httpfs mount and stores that location as a file path. Otherwise it behaves just like a local tileset. Though, I don't think all remote tilesets need to be mounted over httpfs. Some backends should be able to handle remote resources naturally. This is a server-side implementation detail, so I'm not sure whether they should be treated as different resources or not.

Generally, a PUT request would be safer though due to idempotency.

Yes, good RESTing :)

In general, fragments_by_loci needs to be there too unless we want to drop support for HiPiler.

Yes, good point! What other methods did I miss in my list above?

it would be helpful to point out what the current limitations are to know how we can best address them.

The goal would be to document a spec that can be used to implement functional higlass servers, like the one I cobbled together in higlass-python. In higlass-python we want to find the lowest-barrier way to design a custom tileset (and/or coordinate system) and serve it to a higlass client, either by (1) constructing a viewconf programmatically, or by (2) constructing a track source server programmatically.... and (1) is actually achieved through (2), so this is really all about (2).
e.g., the flask server in higlass-python currently doesn't implement fragments_by_loci.

Even putting v2 aside, maybe we should have a proper API reference for all v1 endpoints (http://docs.higlass.io/higlass_server.html#api)

Update. I was really only listing the tilesets API, which is the minimal set for a track source server. But here is a more complete listing.
Tilesets
/chrom-sizes/
/uids_by_filename/
/tilesets/
/tileset_info/
/tiles/
/register_url/

Viewconfs
/viewconf/

Completion
/suggest/

Fragments
/fragments_by_loci/
/fragments_by_chr/
/loci/

I'm not aware that we're actually using uids_by_filename for anything. It's a good function to have for checking before deleting tilesets. In an ideal world, each tileset should point to its own file. In the less than ideal world that we live, multiple tilesets could point to the same file.
When deleting a file, all tilesets should be checked to make sure they don't point to it.

which is the minimal set for a track source server

What's your definition of a minimal track source server? For viewing data, only /tileset_info and /tiles are necessary. For listing available tilesets we add /tilesets. For saving viewconfs /viewconfs.
There are often cases where I only implement tileset_info and tiles because I use higlass-python to view a dataset and I'm not interested in having it listed in the track listings, storing viewconfs or using hipiler.
With that said, I think your classification makes a lot of sense. Most important, IMO, is documentation for the current API. I know flask has some add-ons that auto-document APIs and Django probably does too. Haven't spent enough time looking at them to be familiar.

What's your definition of a minimal track source server?

I think a proper track source server should provide its tileset listing, so that it can be registered with a viewer-client and display its offerings. tileset_info and tiles are probably a minimal API for a non-public track source server.

Does use of tilesets?ac=foo do the same as uids_by_filename?
$ curl -qL "http://<IP_ADDRESS>/api/v1/tilesets?ac=foo" | jq .results[0].uuid
"Vuol_ez-QlO98FsSgtwLyQ"
I didn't know that tilesets could point to the same filename. I thought
that ingesting a tileset adds a suffix if the filename already exists.
Non-RESTful utility endpoints are helpful. Using filter options with
existing endpoints works, too, but the higlass API documentation might lack
some detail on these (https://docs.higlass.io/higlass_server.html#api). It
is definitely helpful to be able to get UUIDs from filenames for my use
case, but I had to dig into the higlass-server code to find other filter
options.
I don't have much useful to add to the v2 discussion, but thought a
perspective from the user side about endpoints might be helpful.
On Tue, May 7, 2019 at 10:06 AM Peter Kerpedjiev<EMAIL_ADDRESS>wrote:

I'm not aware that we're actually using uids_by_filename for anything.
It's a good function to have for checking before deleting tilesets. In an
ideal world, each tileset should point to its own file. In the less than
ideal world that we live, multiple tilesets could point to the same file.
When deleting a file, all tilesets should be checked to make sure they
don't point to it.
which is the minimal set for a track source server
What's your definition of a minimal track source server? For viewing data,
only /tileset_info and /tiles are necessary. For listing available
tilesets we add /tilesets. For saving viewconfs /viewconfs.
There are often cases where I only implement tileset_info and tiles
because I use higlass-python to view a dataset and I'm not interested in
having it listed in the track listings, storing viewconfs or using hipiler.
With that said, I think your classification makes a lot of sense. Most
important, IMO, is documentation for the current API. I know flask has some
add-ons that auto-document APIs and Django probably does too. Haven't spent
enough time looking at them to be familiar.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/higlass/higlass/issues/642#issuecomment-490166305,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAIGMHIDZMPCIJV2VJB6Z3PUGZILANCNFSM4HKWY5CA
.


[BUG]: it's still showing that the column types are incompatible even though I have changed the type

Report hasn't been filed before.

[X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?
^0.36.0
What version of drizzle-kit are you using?
^0.27.1
Other packages
No response
Describe the Bug
I have changed the type of the user_id column from integer to text,
I was referencing this column in two other columns as well so even though in my migrations files it's showing that it altered the type of all the tables("foreign key included") it's saying that types are incompatible.
I have some existing data in the tables which is of type integer but from now on I want to change the type of all tables from integer to text


image_picker plugin causes Android app to crash

I installed the image_picker plugin into my project, and it works with iOS, But now the Android build crashes with the error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.

Any idea why the Android build crashes when using this plugin?

Duplicate of #23929

Using image picker 0.4.6: https://pub.dartlang.org/packages/image_picker/versions/0.4.6#-readme-tab- solves this


Support additional file extensions (ex. .cshtml)

Some languages have special file extensions for their html templates.
This extension does not seem to support ".cshtml" aka "razor" which is Microsoft Razor Page file extension.
I tried adding it to the supportedLanguages setting but it had no effect. Could support be added?

Nevermind! Apparently the correct language ID is aspnetcorerazor instead of razor.


Braces rule: Incorrect indent in HTML/PHP mix

Bug report
Adding another test case for incorrect indentation, adding to #6513 and #6470.

PHP CS Fixer 3.9.5 Grand Awaiting by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 7.4.30
Command:
php-cs-fixer fix -vvv --rules=braces testcase.php
Code snippet that reproduces the problem
Expecting no changes to the following file:

foo
        <?php if (!isset($_COOKIE['foo'])) : ?>
            (no foo)
        <?php else : ?>
            (foo)
        <?php endif; ?>

Headline

<?php
if (isset($_GET['include']) || isset($_GET['exclude'])) {
    echo 'filtered';
}

?>
Fineprint

Headline

    <?php
    $headers = ['Sorry' => 'The header_list function cannot be used on this server.'];
    if (function_exists("headers_list")) {
        $headers = headers_list();
    }

    foreach ($headers as $key => $value) {
        echo "
" . htmlspecialchars($key) . "
";
        echo "
" . htmlspecialchars($value) . "
";
    }
    ?>

The file gets indentations added in the closing PHP tag before "Fineprint" and inside the
 code part, indenting the first line "Headers: Sorry" by two levels, everything else by one.
If you remove the first
 block containing an if statement in alternative syntax, the indentation below is actually REMOVING one level, leaving the "Headers: Sorry" line in the correct level - I assume by accident.

This could be related to #6481. With 3.9.5 I am experiencing the issue with PHPCsFixer continously applying indent especially in files with mixed PHP/HTML code (.phtml view scripts).

This could be also related to: #6550

For me, space is incorrectly added (over and over again, with each run), while for #6550 it seems like space is incorrectly removed. However, @SvenRtbg mentions above that was able to produce both behaviours - adding and removing of space.
The 3.9.x series seems totally broken in regard to HTML/PHP mix files. I am currently staying with ~3.8.0 in my composer.

Feels the same bug as in https://github.com/symplify/symplify/issues/4344

For me, space is incorrectly added (over and over again, with each run), while for #6550 it seems like space is incorrectly removed. However, @SvenRtbg mentions above that was able to produce both behaviours - adding and removing of space.
The 3.9.x series seems totally broken in regard to HTML/PHP mix files. I am currently staying with ~3.8.0 in my composer.

Having same problem, so rolled back to 3.8.* release, because that one is not messing up with mixed code.

Hey. thanks for your report!
I understand this is not best outcome for you, but core team will not put effort to fix this issue - I will also close it now [but feel free to continue discussion with anyone interested]
The HTML support will be revoked in code as it was never supposed to be officially supported. If you mix PHP with any other language, we consider it as bad practice and encourage to separate your logic from your view, and if you need code-support in view like for templating, we suggest to use one of templating engines.
If you want to still rely on Fixer for HTML-mixed files, till it's officially dropped, and you want to have bug you noticed fixed, I do encourage you to run PR with the fix. It will be recognised and merged with same flow as any other ticket - the only difference is that the fix need to come from interested ppl [and not from the core team]
You may take a look at search feature looking for HTML keyword to get extra context.
Big thanks for understanding!

also, braces rule is now deprecated


How do you authenticate

Hi there, I added this to my workflow, but it gets stuck at the login step, retries a few times and fails with unauthorized. How are you supposed to authenticate?
      - name: Install doctl
        uses: digitalocean/action-doctl@v2
        with:
          token: ${{ secrets.DIGITALOCEAN_TOKEN }}

      - name: DigitalOcean Docker Image Publish
        uses: ripplr-io/docr-docker-publish@v1
        with:
          image_path: registry/container

Sorry, my registry URL was wrong.


Provide support for a pure Java module

Please abstract this library so it can work in the context of a pure java environment.
Business logic often can (and should be) simplified in a pure java module. The concept of jobs certainly fits this criteria.
This can be done with with having a pure java "core" jobdispatcher module, and a second "android" implementation of it. Somewhat similar to how Retrofit adds RxJava support without bundling it into the core library.

This is an interesting idea, but for now we'd like to focus on making this the best possible job library on Android. That means taking advantage of the tools and components available in the Android framework and Google Play services.


TAI-1550: Created groovy for bbsi microservices build

@timsb

@kapil-sanghvi Do you want to add bbsi-stub in here like PLA have? https://github.com/hmrc/jenkins-jobs/blob/master/jobs/ci_open_jenkins/build/pla.groovy

@kapil-sanghvi we might want to change the stub to bbsi-dynamic-stub first though!


Find missing parent fixtures in Rails framework unit tests

Is your feature request related to a problem? Please describe.
This request is for Rails framework testing specific, not for Rails applications.
Rails unit test uses Fixture and some of the fixtures have foreign key relationships like :authors has a foreign key to :author_address.
Each test class that load :authors should also load :author_address but actually not always loaded. Therefore these pull requests have been made.
https://github.com/rails/rails/pull/42829
https://github.com/rails/rails/pull/43101
https://github.com/rails/rails/pull/43873
Describe the solution you'd like
I'd like to find a way missing parent fixtures if child fixture is loaded.
Describe alternatives you've considered
So far, Rails contributors took care of these missing fixtures manually.
Additional context
I have opened this as a feature request in the repository, any comments and or suggestions are welcome on how to address it.

Can you please provide a reproducible example?
Does running the code result in errors?
Is it possible to detect missing fixtures with static code analysis?
Does it make sense to detect this with static code analysis when there's an error printed by Rails when you run a test?
What the cop would suggest doing?

Thanks for the command. I'm considering creating a custom cop because this request is very specific to testing the Rails framework itself.


NO-ISSUE: Remove config flag externalGatewayInterface from ovn.yaml

This flag is for building a secondary bridge br-ex1 for OVN-K. The br-ex1 bridge is used by the multiple external gateway feature that we don't support in microshift.

/retest

CI is currently broken for reasons unrelated to this PR.
While we wait for the team to fix that, please open a ticket in Jira and link this PR to it so we can track the change and make sure we create a release note for it.

/retest

/jira refresh

/retest

@pliurh could you also remove the externalGatewayInterface from ./packaging/systemd/configure-ovs.sh? This script reads the ovn.yaml and configure the br-ex if externalGatewayInterface is specified.

This setting appears in the user documentation, too, so please coordinate with @ShaunaDiaz to make sure that information is updated or removed.
$ git grep externalGatewayInterface
modules/microshift-cni.adoc:* The `externalGatewayInterface` is not specified in the `ovn.yaml` config file.
modules/microshift-cni.adoc:* The `externalGatewayInterface` is user-specified in the `ovn.yaml` config file.
modules/microshift-configuring-ovn.adoc:  externalGatewayInterface: "" <2>
modules/microshift-configuring-ovn.adoc:|`ovsInit.externalGatewayInterface`
modules/microshift-configuring-ovn.adoc:  externalGatewayInterface: eth1

could you also remove the externalGatewayInterface from ./packaging/systemd/configure-ovs.sh?

The script's logic can also help remove the br-ex1 bridge if externalGatewayInterface is undefined. So we shall keep it for the upgrade scenario.

/retest

/lgtm

/test e2e-openshift-conformance-reduced-arm

/cherrypick release-4.13


add importlib-metadata dependancy

Description

add importlib-metadata dependancy

Checklist

[ ] Pre-commit hook is installed to do formatting checks before committing code...etc
[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings

This should be resolved in js-ng, I think some of the pending PRs already have it.

We can merge it now, then remove it later when https://github.com/threefoldtech/js-ng/pull/518 and https://github.com/threefoldtech/js-ng/pull/518 (the later need to be moved to sdk repo).


Added process.browser to DefinePlugin

The idea is that there is no need for passing
if (!process.browser) {
  console.log('hello from server!');
}

to the client side bundle.
This can also be used for storing server-side-only secrets without leaking it to the client. Although i'm not sure if that's a good idea, because accidentally running the app in NODE_ENV==development in "production" would leak all those secrets.
Also, i'm pretty new to next.js and it's codebase so I might have misunderstood some parts and how everything fits together, but I think this should work?

Is process.browser something standard? Do some any other projects follow that?

For the server only secrets, always go with env variables as they work fine in the server's getInitial props.

Is process.browser something standard? Do some any other projects follow that?

Actually, that's a really good question. I thought it was next.js that set that variable somewhere. But it turns out it seems to be part of webpack2 after some digging around. Only reason I found it in the first place is because I saw some examples in this repository that used it.
webpack -> node-libs-browser -> node-process, which mention that process.browser can be used in isomorphic environments.
In any case I've seen some do by checking out the examples,  process.browser and some do !req for determining if this is executed on browser or on server and standardizing on one way for this I think can be useful, for consistency and for production bundle size like my fix fixes if we go with process.browser.

For the server only secrets, always go with env variables as they work fine in the server's getInitial props.

Of course! It never occurred to me. For some reason I thought that they would have to be evaluated during build step and therefore leak anyways. Thanks!

I'm going to close this PR since it's not needed 👌


Ads disappear when device is in landcape mode

Hey,
I have implemented this plugin in my app and it works fine, the only problem is that when I rotate my device the ads disappear, and when I rotate it back to portrait the ads do not appear anymore.
Can you help me please?
Thanks for your reply and help!

The banner size is different in landscape & portrait mode.
You can use the pro version:
https://github.com/floatinghotpot/cordova-admob-pro
It will auto fit or refresh when you rotate screen.

It is the same thing with pro... When I rotate the device, ads disappear and I need to exit the app, then reopen it for ads to reappear

Just to specify, I am using this code : https://github.com/floatinghotpot/cordova-admob-pro/blob/master/test/admob_simple.js

When create banner, add 1 more options: orientationRenew: true, then the plugin will renew banner when rotate.

Ok, I'll try that, thanks!!
On Aug 31, 2016 1:47 PM, "Raymond Xie"<EMAIL_ADDRESS>wrote:

When create banner, add 1 more options: orientationRenew: true, then the
plugin will renew banner when rotate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floatinghotpot/cordova-plugin-admob/issues/215#issuecomment-243727723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWA_hZM_E9UbR5MQYOcchaHlG5-wI_sks5qlVumgaJpZM4Jwt6n
.

It's not working... I am using Framework7 with Cocoon.io, is this problem common or just happening with me?

Not very sure, as tested with Cocoon.io

First, the ads appear normally, but when I rotate the screen, they disappear as you can see in thw screenshots!

The portrait banner and landscape banner are different. Instead of re-creating the banner, a simple approach is to use fix orientation, for app, in many cases, portrait is a good choice.

Okay, thanks. This issue should not be closed because the issue is not
fixed.
On Aug 31, 2016 3:29 PM, "Raymond Xie"<EMAIL_ADDRESS>wrote:

The portrait banner and landscape banner are different. Instead of
re-creating the banner, a simple approach is to use fix orientation, for
app, in many cases, portrait is a good choice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floatinghotpot/cordova-plugin-admob/issues/215#issuecomment-243748635,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWA_nX-hmMHIktOWJ3xb0IdEkutXkl2ks5qlXOUgaJpZM4Jwt6n
.

Or you can do it in your app code, detect orientation change event, then re-create the banner.

Can I do that with JS? If yes, do you have a simple code to do that??
On Aug 31, 2016 3:32 PM, "Raymond Xie"<EMAIL_ADDRESS>wrote:

Or you can do it in your app code, detect orientation change event, then
re-create the banner.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floatinghotpot/cordova-plugin-admob/issues/215#issuecomment-243749342,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWA_rdvsHfgtME_taouy5o8aF8PAU5Oks5qlXRNgaJpZM4Jwt6n
.

https://developer.mozilla.org/en-US/docs/Web/Events/orientationchange
window.addEventListener("orientationchange", function() {
    alert("the orientation of the device is now " + screen.orientation.angle);
});

If I add that, it will update when I rotate the screen? And can I make a
button show a interstitial ad for donations, for example, Donate ??
On Aug 31, 2016 3:57 PM, "Raymond Xie"<EMAIL_ADDRESS>wrote:

https://developer.mozilla.org/en-US/docs/Web/Events/orientationchange
window.addEventListener("orientationchange", function() {
alert("the orientation of the device is now " + screen.orientation.angle);
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/floatinghotpot/cordova-plugin-admob/issues/215#issuecomment-243755086,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWA_rWV98Sk8bxtS_JB0KIu4WaDF3Hxks5qlXodgaJpZM4Jwt6n
.


Teach SUI tab to respect close / prev / next tab bindings

A temporary solution for https://github.com/microsoft/terminal/pull/8882
PR Checklist

[x] CLA signed.
[ ] Tests added/passed
[ ] Documentation updated.
[ ] Schema updated.
[x] I've discussed this with core contributors already.

@msftbot make sure @zadjii-msft signs off

@msftbot make sure @zadjii-msft signs off


Error running ./build.sh on Ubuntu - System.ComponentModel.Composition

On a fresh clone, running build.sh, I get the following error. What should be my next steps to deubg or otherwise resolve?
btomasini@btomasini-laptop02 ~/D/g/example> ./build.sh
Could not load file or assembly or one of its dependencies.
System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
File name: 'System.ComponentModel.Composition, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at NuGet.CommandLine.Program.MainCore (System.String workingDirectory, System.String[] args) [0x000e3] in <845485c546924737a40430d80ba302fd>:0
Could not restore NuGet packages.

Here is my config:
btomasini@btomasini-laptop02 ~/D/g/example> lsb_release  -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

btomasini@btomasini-laptop02 ~/D/g/example> dotnet --version
2.1.401

This example requires mono on Linux, which version are you running? I would recommend 5.4 or later.

Possibly related:
Downloading packages.config...
Downloading NuGet...

Unhandled Exception:
System.TypeLoadException: Could not load type 'System.AppContext' from assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'System.AppContext' from assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Could not restore NuGet tools.

@devlead's comment make me notice that the vm had mono 4.x installed. Updating mono to the latest version (5.18) fixed it.

With the release of Cake 2.0.0-rc0001 we no longer ship the Cake.exe runner. #58 changed this example to use the bootstrapper for the Cake tool, so mono is no longer a requirement for running Cake in this example.


Android Basics: Get data from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet#5
In which task and step of the codelab can this issue be found?
Object declarations
Describe the problem
In the sentence: "Each time your app calls MarsApi.retrofitService, the caller will access the same a singleton Retrofit object that implements MarsApiService which is created on the first access." it seem that the 'a' in "the same a singleton Retrofit object" is not necessary.
Steps to reproduce?
As stated above.
Versions
Not applicable.
Additional information
Nil.

Duplicate of #22

@KKH-tw
Thank you for reaching out to us. The issue is fixed and published.


add per rule processed label

adding the possibility to define a label per rule to be added to the mail thread

@tomlux looks good to me, thanks for your contribution!


incompatible with python3.8?

Hi,
I created a new conda env and installed only neuroglancer using pip and tried to run this:
import neuroglancer
import webbrowser
from threading import Event

keep_server_alive = Event()
viewer = neuroglancer.Viewer()

with viewer.txn() as s:
    s.layers['raw'] = neuroglancer.ImageLayer(
        source='brainmaps://280984173682:adultob:raw')
    s.layers['seg'] = neuroglancer.SegmentationLayer(
        source='brainmaps://487208920048:adultob:seg_v2_9nm_484558417fb_18nm_fb_107004781_otfa:200614_prj487208920048_graph_postapr'
    )
    s.layout = 'xy-3d'
    s.showSlices = False

if __name__ == '__main__':
    webbrowser.open_new(viewer.get_viewer_url())
    keep_server_alive.wait()

which resulted in this error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\site-packages\neuroglancer\server.py", line 306, in start_server
global_server = Server(ioloop=ioloop, **global_server_args)
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\site-packages\neuroglancer\server.py", line 100, in init
http_server.add_sockets(sockets)
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Utilities\Anaconda\envs\cls_neurons\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
The same thing runs without error when forcing python to 3,7.
Also is there a more elegant solution to keep the server alive other than using and event? And I think moving to the command line interface might have introduced some errors to the examples.
Thanks!

This seems to be a Windows issue? I am fine with 3.7. But if this the case it might be worth allerting other Windows users.

The NotImplementedError appears to be the one described here under "Platforms":
https://www.tornadoweb.org/en/stable/index.html#installation
It probably makes sense to add code to Neuroglancer to set the event loop when the server is started on Windows.
Can you tell me which examples seem to be broken?
The solution you have with the event seems like a reasonable way to keep the server alive, and it allows you to quit the server by triggering the event.

https://github.com/google/neuroglancer/blob/master/python/examples/example_action.py
https://github.com/google/neuroglancer/blob/master/python/examples/example_row_layout.py
https://github.com/google/neuroglancer/blob/master/python/examples/example_grid_layout.py
I think these would need argparse imported. Also, I don't really know how to run them without adding an event.wait...

To run the examples, you can use python -i, as per the instructions here: https://github.com/google/neuroglancer/blob/master/python/README.md#example

Oh yes! Thanks!! And sorry for being so unfocused…
From: Jeremy Maitin-Shepard<EMAIL_ADDRESS>Sent: Thursday, October 8, 2020 8:45 AM
To: google/neuroglancer<EMAIL_ADDRESS>Cc: Moenig, Nila<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [google/neuroglancer] incompatible with python3.8? (#253)
To run the examples, you can use python -i, as per the instructions here: https://github.com/google/neuroglancer/blob/master/python/README.md#example
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/google/neuroglancer/issues/253#issuecomment-705367189, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUJZVAIJMLIZSDFNDQFXR3SJVNVNANCNFSM4SHKCFAQ.


Build fails when specifying css file name with --outputCssFileName

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
Build does not finish when specifying the css file name. Error: Unknown platforms: main.foo.css
What behavior are you expecting?
Build to succeed.
Steps to reproduce:

Install blank ionic template
run: ionic build ios --prod --outputCssFileName main.foo.css

Which @ionic/app-scripts version are you using?
1.1.0
On previous versions a different error occurs - will log separate issue.

Same issue on 1.0.1

1.0.0 has Error: ENOENT: no such file or directory, open '/.../www/build/main.css'

Also happens with --webpack, this is Cordova not being able to find the platform.
Thanks,
Dan

This issue was moved to driftyco/ionic-cli#1925


Add uTP message format

So I am making this PR because I would like to standardize a messaging format for sending data over uTP or start working towards it. Currently there is nothing in the spec for handing this, except for the idea of streaming data which is very vague. I propose we follow a format something like this.

Bytes
Fields
Description

1
message_id
The message_id of the response

5
length
length of the payload

?
payload
the data of the response encoded in ssz

I am suggesting we add a message_id and length prefix as a header for the data we send over uTP.

message_id would allow us to handle the data sent over uTP stream using an event loop ethereum/trin#102 there are good arguments for it. 2 benefits of it is that it is simple and less added complexity to name a few. I do think it would be beneficial for this and others have expressed this in the issue listed above as well.
length would allow of to know when we have received all of the data being streamed so we can handle it and eventually close the connection if wanted when we have received it all.

For this I propose we could add a checksum or something using the first few bytes of a keccak or sha256 hash of the payload. Or maybe you meant like making sure they sent actually valid data which would be handled in the handler I would assume.

I'm of the opinion that our uTP specification shouldn't delve below the level of establishing the stream of bytes between the two clients.
Anything that deals with the actual format of the data sent over that stream should be done at a higher level specification.
I would encourage us to figure this out while building out either the OFFER/ACCEPT/uTP or FINDCONTENT/FOUNDCONTENT/uTP flows.

Before I take a closer look at the code, is the broad idea of this proposal encapsulating uTP packets in yet another message format, with the header fields as length? ie, the payload in the above diagram is the entire uTP packet. So in total we would have something like: UDP(TALKREQ(Length prefix/to-be-def-msg-format(uTP packet))))

It wouldn't be the length of a uTP packet it would be the length of a payload being sent
Let's say you had a payload [1,0,1,0,1,0,1,0,1,1] you want to send over uTP or TCP it would work the same.
But we don't know if the payload will he sent in one packet depending how big payload is. This is abstracted we will get the data as it comes.
Let's say this data has to be sent in 5 packets
Packet1(0,0,0,10,1,0)
Packet2(1,0)
Packet3(1,0)
Packet4(1,0)
Packet5(1,1)
But we could event get the whole payload in one packet
Packet1(0,0,0,10,1,0,1,0,1,0,1,0,1,1)
We don't know when we will get all of the packets or in other words when the stream will reveal all of the data of one payload. But we have to handle the stream, but if it was case 1 we would to try to deseralize the result before we got the whole payload.
Anyways the length prefix would be a higher level thing.
Hopefully that somewhat clarifies things.  Piper has a point this can be somewhere else.

So as I understand from your explanation, the problem is that since udp abstracts a stream, we don't know how many packets the stream is broken into. So if we try to deserialize the packets, we might get incorrect deserializations. So the suggested solution is introducing a length prefix of the payload to be sent, which lets the receiver know if entire packet has been sent.
For example, if the payload to be sent is 100B. Then this is the length prefix for each packet sent. As packets come in from the stream, the length of each payload can be calculated by the receiver, until it sums up to 100, at which point the receiver can close the connection immediately and deserialize. Is this a correct interpretation?

Now that the ultralight uTP implementation is working on a rudimentary level, I thought I'd weigh in here.  Due to the way our uTP implementation hooks into the main client, we don't currently have any metadata attached to each uTP socket that gets opened (e.g. what content-keys are being sent, etc).  I don't really love the idea of enforcing any structure on the uTP message format at the level of uTP beyond what the protocol already defines (which requires us to wait for the FIN packet plus all the DATA packets that should arrive before it (based on the sequence numbers).  That seems far and away the most flexible and should work for us (though we haven't done any battle testing of our implementation so no idea how it will perform under load when it's got more than one or two peers to interact with).
What I do like though is a uTPContentUnionType which would be an SSZ union implemented outside of uTP but defines what type of content was sent over the socket.  Some of this is driven by Ultralight implementation specific considerations but I think this could be a useful way to approach the handling of content delivered over uTP.  I did an experiment in this branch which implements this just for block headers and only sending a single block header at a time (though this could easily be expanded to be an array of block headers or whatever other content is being served).  Thoughts?

I will close this PR as it has been superseded by https://github.com/ethereum/portal-network-specs/pull/148


Move volume replacement from tablet to manager

In the tablet constructor volume replacement is done.  That made sense when all operations went through a hosted tablet.  However with scans, splits, compactions, etc no longer requiring hosting of a tablet, volume replacement may no longer be done before these operations happen.
This functionality probably needs to move to the manager.  Maybe the manager only needs to do this once for the lifetime of the process because its an instance property that is not expected to change while processes are running.

Ran into this while working on #3625.  Plan to remove the volume replacement code from the tablet as part of those changes because it no longer makes sense there and require work to update.


test-branch/execute-job/quoted-authorization/65fc35d0-4313-4211-bcd4-bea29c8b3af7

PR for testing 4a71f924dd1a212c8256325a3d4ea424d148f0df

/canonical/self-hosted-runners/run-workflows 4a71f924dd1a212c8256325a3d4ea424d148f0df


🔨 load_dependency: remove

Tasks

[ ] Replace load_dependency with load_dataset

[x] 2024
[ ] 2023

[x] 11, 12

[ ] Replace load_dependency with load_snapshot

[x] 2024
[ ] 2023

[x] 11, 12

Other additions

[x] Add **kwargs to paths.load_snapshot
[x] Improve some errors in CI/CD so they show the step name

Notes
To replace load_dependency → load_dataset

Search for: Dataset = paths\.load_dependency\((.*)\) and cast\(Dataset, paths\.load_dependency\((.*)\)\)
Replace with: = paths.load_dataset($1) and paths.load_dataset($1), respectively.

To replace load_dependency → load_snapshot

Search for: Snapshot = paths\.load_dependency\((.*)\) and cast\(Snapshot, paths\.load_dependency\((.*)\)\)
Replace with: = paths.load_snapshot($1) and paths.load_snapshot($1), respectively.

Additional notes

Use 2024-**-**/** (and so one) to filter files by year
Make sure to remove unnecessary imports (cast, Dataset, Snapshot)

@spoonerf As I am removing deprecated code, I found that this step is failing:
garden/tuberculosis/2023-11-27/burden_disaggregated

due to duplicate indices. Is this expected?

@lucasrodes - not expected, I'll try and take a look today.