Doesn’t work outright on latest Centos from Google cloud compute

I just did that on a fresh Centᴏꜱ Skylake ᴠᴍ today :
dnf install python38-devel
sudo python3.8 -m pip install numba

then :
Python 3.8.0 (default, Mar 10 2020, 14:58:28)
[GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numba
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python3.8/site-packages/numba/__init__.py", line 298, in <module>
    import numba.typed
  File "/usr/local/lib64/python3.8/site-packages/numba/typed/__init__.py", line 1, in <module>
    from .typeddict import Dict
  File "/usr/local/lib64/python3.8/site-packages/numba/typed/typeddict.py", line 23, in <module>
    def _make_dict(keyty, valty):
  File "/usr/local/lib64/python3.8/site-packages/numba/core/decorators.py", line 236, in njit
    return jit(*args, **kws)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/decorators.py", line 173, in jit
    return wrapper(pyfunc)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/decorators.py", line 187, in wrapper
    disp = dispatcher(py_func=func, locals=locals,
  File "/usr/local/lib64/python3.8/site-packages/numba/core/dispatcher.py", line 670, in __init__
    self.targetctx = self.targetdescr.target_context
  File "/usr/local/lib64/python3.8/site-packages/numba/core/registry.py", line 47, in target_context
    return self._toplevel_target_context
  File "/usr/local/lib64/python3.8/site-packages/numba/core/utils.py", line 331, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/registry.py", line 31, in _toplevel_target_context
    return cpu.CPUContext(self.typing_context)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/base.py", line 259, in __init__
    self.init()
  File "/usr/local/lib64/python3.8/site-packages/numba/core/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/cpu.py", line 47, in init
    self._internal_codegen = codegen.JITCPUCodegen("numba.exec")
  File "/usr/local/lib64/python3.8/site-packages/numba/core/codegen.py", line 645, in __init__
    self._init(self._llvm_module)
  File "/usr/local/lib64/python3.8/site-packages/numba/core/codegen.py", line 654, in _init
    tm = target.create_target_machine(**tm_options)
  File "/usr/local/lib64/python3.8/site-packages/llvmlite/binding/targets.py", line 229, in create_target_machine
    assert 0 <= opt <= 3
AssertionError
>>>

Thanks for the report. Do you happen to have the environment variable NUMBA_OPT set to something that isn't 0, 1, 2, or 3?

You re correct. I set it to 4 because llvm support 4 levels of optimizations and I wanted the highest one.

The NUMBA_OPT level corresponds roughly to LLVM opt's -O levels. Seems like there's no -O4 for opt:
$ opt --version
LLVM (http://llvm.org/):
  LLVM version 10.0.0
  Optimized build.
  <snip>

$ opt -O4
opt: Unknown command line argument '-O4'.  Try: 'opt --help'
opt: Did you mean '--O0'?

LLVM master has this encoded:
https://github.com/llvm/llvm-project/blob/25d6995079431531c2c7c8955ebe9a3d1875180d/llvm/tools/opt/opt.cpp#L893-L909
What's supporting -O4, are you perhaps thinking of clang?

From the clang docs, -O4 is equivalent to -O3.

Closing this issue as it seems to be resolved. If this is not the case please re-open with a comment about any item that appears to be unresolved. Many thanks.


ConfuserEx Error

[ERROR] Failed to load "YOUR MUTHER FIGHTER.vmp.exe" - Assembly does not appear to be a .NET assembly: ".NET data directory RVA is 0".
Failed at 11:28, 0:00 elapsed.

We trying with The strongest protect also try ConfuserEx can Protect with another thing protected well we tried With Normal exe Without protect and use ConfuserEx But Still same Error and We try rn make UnCrackable Or Harder to the File Get Cracked or source code leaked Any tip or etc for fix?

Well, is it a .NET assembly?

Fixed my bad and yes just the .net assembly have in the src Find debugger etc etc


Fix GenerationalHeapParser

Hello, i found that GenerationalHeapParser couldn't parse following CMS concurrent-mode-failure logs:
case1:
83.371: [CMS-concurrent-abortable-preclean-start]
83.751: [GC 83.751: [ParNew: 17024K->17024K(19136K), 0.0000236 secs]83.751: [CMS83.751: [CMS-concurrent-abortable-preclean: 0.026/0.380 secs] [Times: user=0.41 sys=0.04, real=0.38 secs]
 (concurrent mode failure): 103355K->96073K(107776K), 0.5668205 secs] 120379K->96073K(126912K), [CMS Perm : 15591K->15585K(28412K)], 0.5669586 secs] [Times: user=0.57 sys=0.00, real=0.57 secs]

case2:
2024-02-23T16:14:07.550+0800: 15897423.337: [GC (CMS Initial Mark) [1 CMS-initial-mark: 1398143K(1398144K)] 1957374K(1957376K), 0.4527312 secs] [Times: user=0.57 sys=0.00, real=0.45 secs]
2024-02-23T16:14:08.003+0800: 15897423.790: [CMS-concurrent-mark-start]
2024-02-23T16:14:08.172+0800: 15897423.959: [Full GC (Allocation Failure) 2024-02-23T16:14:08.172+0800: 15897423.959: [CMS2024-02-23T16:14:10.825+0800: 15897426.612: [CMS-concurrent-mark: 2.820/2.822 secs] [Times: user=2.57 sys=0.00, real=2.82 secs]
 (concurrent mode failure): 1398144K->1398143K(1398144K), 8.7753717 secs] 1957375K->1957374K(1957376K), [Metaspace: 63759K->63759K(1107968K)], 8.7755118 secs] [Times: user=8.17 sys=0.00, real=8.78 secs]

In these cases, there will be an extra  SPACE  before (concurrent mode failure), so  CONCURRENT_MODE_FAILURE_DETAILS  and CONCURRENT_MODE_FAILURE_DETAILS_META failed to recognize them.  Please take a look :)

@kcpeppe   do you have time to take a look?  It's very easy to verify this issue.


OOP school library: refactor your code

Make sure YAGNI, KISS, and DRY rules and Ruby style guide are respected.
Follow SOLID principles.
Pay special attention to the "Single-responsibility Principle".
Make sure that the role of main.rb is only to start your code and ask the user for the initial choice of options (or to quit).

@IngDavidTM  HI,   Thanks for your review could you please give some hint to how to solve that , we tried a lot but wasn't be able to solve that . Thanks

@IngDavidTM HI, Thanks for your review could you please give some hint to how to solve that , we tried a lot but wasn't be able to solve that . Thanks

Hello guys, I forgot to mention this issue during my review, if you have not fixed the issue yet, here's a hint on how to fix it. In your  list_all_rentals method in app.rb, please use the .to_i method instead of the .to_s method when getting the user input for the id. I hope this solves your issue 😄


Fix/UI style home

This is the PR for the issue regarding the "Correction for Home's content width #27"
I used flex for centering the components in home.
Added full width and max width property to some components.
I think the contributing.md appears modified because the line endings, It would be nice to add an editorconfig file to maintain compatibility.
Change:

@mercuryeater can you fix the responsive UI of this section

Off course, I'll send it tomorrow same hour.

@mercuryeater Any Progress?

I had a rough weekend but today I'm going to send another PR 😁

Hey @hellofaizan 🖐
I just sent a couple commits with new changes to the Home page, I would say the responsive it's much better.

Awesome 👍


Mismatch Attribute from Pytorch

In original Pytorch,when we call to norm a Tensor,it's maybe like:
x = x.norm(dim,keep_dim,true)

Yet use in TorchSharp i can't do this.

I see on the PyTorch site here that the parameters for norm are (p, dim, keepdim)
In TorchSharp the parameters are named the same, but ordered slightly different (dim, keepdim, p).
The following segments should be equivalent:
In PyTorch:
dim = ...
keep_dim = ...
x = x.norm(dim=dim, keepdim=keep_dim)

In TorchSharp:
int dim = ...;
bool keep_dim = ...;
x = x.norm(dim: dim, keepdim: keep_dim);

I see on the PyTorch site here that the parameters for norm are (p, dim, keepdim)
In TorchSharp the parameters are named the same, but ordered slightly different (dim, keepdim, p).
The following segments should be equivalent:
In PyTorch:
dim = ...
keep_dim = ...
x = x.norm(dim=dim, keepdim=keep_dim)

In TorchSharp:
int dim = ...;
bool keep_dim = ...;
x = x.norm(dim: dim, keepdim: keep_dim);

Thanks for your replying mate,our team finally decided to use Python to serve the model instead of recostruct into C#.


Analyse impact of OZ security advisory - Governor proposal creation may be blocked by frontrunning

Open Zeppelin has issues the following security advisory:

Governor proposal creation may be blocked by frontrunning

Affected packages: >=4.3.0 <4.9.1
Patched version: 4.9.1
Origin's ousd-governance repo is using OZ v4.6.0.
A modified versions of the OZ Governance contracts are being used.
Analysis needs to be done to see if the OZ change needs to be applied to the modified Origin governance contracts.
OpenZeppelin commit that addresses the issue: https://github.com/OpenZeppelin/openzeppelin-contracts/commit/d9474327a492f9f310f31bc53f38dbea56ed9a57

Added the commit that addresses the issue to above description

The analysis:
Our Governance contract that calls propose  imports GovernorCompatibilityBravo. That one imports OZ's 4.6.0 Governor.
This means that our proposal creations could be front-run. Until we upgrade the contracts to 4.9.1 we are vulnerable to the attack.

We will need to re-deploy the Governance contract:


Fix memory size limit

Description
Update memory size limit.
Motivation and Context
Max memory size limit is increased from 3008MB to 10GB.

Thanks for the update!

Thanks for the update!


in Home Assistant, after in installation via HACS, APM integration does not show up in the integration tab.

in my Home Assistant instance, running on a virtual machine, I installed this AMP integration via HACS.  However, once I rebooted the Home Assistant this APM integration does not show up in the list of integrations...
Error signature:  NONE...  Also, I looked in "Home-assistant.log" file, but no useful or error message related to Alexa or otherwise.
system info:
Alexa Media Player:  version  v3.10.10
HACS version:  1.15.2
Home Assistant verion:  2021.10.6
Home Assistant is running on Oracle VM Virtual box:  version  6.1.26

Have you clicked on the lower right to ADD the integration? It does not show up in integrations automatically.

i have installed the AMP for long time. since last update, its now showing in there.

Also, i am not able to re-authenticate to amazon, earlier i just put in opt and login, now it just not accepts saying invalid password. Everything is correct though

Hi OJBender, thank you very much for the feedback.
Yes, before posting my request for help, I had  pushed  the "+add integration" button few times but I could not see it. I spent an hour or so (including a restart of HA), but could not see this integration.
However, today as I was writing the email response, I was looking for some details, and I checked one more time and this time, I saw the configuration.
it seems that there is a significant delay between installing the configuration and then seeing it in the configuration menu. I really don't know why...is it supposed to take a long time ? perhaps I was simply impatient ?
Anyway, again thanks for the help.  I'm now  able to go to the next step to install AMP.

This is a known issue in HA. You have to hard refresh your browser to update your integrations list. See #1316 #992, etc.


console_bridge library not installed properly

Hello all, I am trying to build meta-ros v2.0 on Ubuntu and am seeing the error,
CMake Error at /home/venkat/internal/krogoth/build/tmp/sysroots/genericx86-64/usr/share/console_bridge/cmake/console_bridge-config.cmake:15 (message):
|   Library 'console_bridge' in package console_bridge is not installed
|   properly
| Call Stack (most recent call first):
|   CMakeLists.txt:3 (find_package)
Any idea what I am missing?
Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "genericx86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-oe           = "krogoth:895b25b387cae428c38990f4d2747603ee9dc92d"
meta-intel-aero-librealsense = "krogoth:aaede82379ebcf1ae84716855bc2b4efc4a9d53b"
meta-intel        = "master:9a2d3d844c9650697846dc2bbfe5005af83e2af4"
meta-intel-aero-connectivity = "master:4d76a35605150f6b755076bd7fa9cdabc30ffa10"
meta-intel-aero   = "master:bc09e289508fa443929ebf3ae5975071f7b733bc"
meta-python
meta-networking   = "krogoth:895b25b387cae428c38990f4d2747603ee9dc92d"
meta-ros          = "HEAD:fd9394c2871213ca3c151f7678a6c32cddffe736"

I have never noticed this issue in the past. I will need to check if I can reproduce this issue with a build configuration that close to the build configuration that you use. This will need some time, so please do have a little patience. I will look into it. If you find something out yourself, just let me know here.

Dea Vjayara1,
I tried bitbake console-bridge on this configuration and it succeeded:
$ bitbake console-bridge
Loaded 2505 entries from dependency cache.
Parsing of 1961 .bb files complete (1956 cached, 5 parsed). 2509 targets, 114 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "genericx86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-oe
meta-python
meta-multimedia   = "krogoth:895b25b387cae428c38990f4d2747603ee9dc92d"
meta-ros          = "HEAD:fd9394c2871213ca3c151f7678a6c32cddffe736"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 723 tasks of which 723 didn't need to be rerun and all succeeded.

I tested a build configuration very close to @vjayara1, but with the current commit on master (changeset 253d1fcd544caefa2058139a9421e1b8b57503d9) and did not have any build problems:
$ bitbake core-image-ros-world -k
Parsing of 1977 .bb files complete (0 cached, 1977 parsed). 2527 targets, 114 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-23"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "genericx86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "krogoth:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-oe
meta-python
meta-multimedia   = "krogoth:895b25b387cae428c38990f4d2747603ee9dc92d"
meta-ros          = "master:253d1fcd544caefa2058139a9421e1b8b57503d9"
(...)
NOTE: Tasks Summary: Attempted 7780 tasks of which 17 didn't need to be rerun and all succeeded.

I strongly propose to update to the current master and not use version 0.2 on yocto krogoth.

If not further vetoed by @vjayara1, I consider this issue resolved.


Templating engine

I apologize if I've chosen the wrong forum, but I've searched around quite a bit and haven't been able to find an answer. I'd like to build a general purpose templating engine for creating SVGs where the templates are basically razor files. Basically, I want to provide a template that looks like
<svg height="@Size" width="@Size">
  <circle cx="50" cy="50" r="40" stroke="@Stroke" stroke-width="3" fill="@Fill" />
</svg>

and have a method that outputs
<svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>

Now this is obviously a simple example, whereas the real utility would be templates utilizing the full power of Razor. Can someone point me to some documentation, examples, existing unit tests of how to do this outside the scope of asp.net? Many thanks.

You need to use ASP.NET Core 8.0 to Render Razor components outside of ASP.NET Core

Hi @davidwengier , can we open GitHub Discussion for this repository?

@LuohuaRain what scenario were you thinking that would help with?
It doesn't seem to me like this repo is overly busy to the point where issues wouldn't work as a way to ask questions. Additionally, there is currently no public API or extension points available for the Razor compiler or tooling (see https://github.com/dotnet/razor/issues/8399) so I'm not sure what questions people would ask, that weren't bug reports or feature requests. For discussion of the "Render Razor components outside of ASP.NET Core" feature you were mentioning, the ASP.NET Core runtime repo would be the appropriate place to do so, as they own that.

@LuohuaRain Thanks for the link. I'm trying to build something that can work with razor content not available at compile time. Based on this issue (https://github.com/dotnet/razor/issues/8399) it looks like things have been refactored quite a bit in 8. Is there documentation on how to compile a string containing razor code into a runtime type which could be passed to
HtmlRenderer.RenderComponentAsync(Type)
Thanks so much for the help!!!

@jackbond Right now, as noted by #8399 the API surface is unstable, and there is no public documentation on how to achieve your scenario. In general, we want to move away from making razor a general-purpose templating engine. However, for your use case of compiling a component into a type and rendering it to HTML, it seems like this would still be supported, just be aware that it might not be as extensible as you're hoping for.
I'm going to close this out as I don't believe there is anything else to do right now, but feel free to reopen it if you think that's incorrect.
Thanks!


Holding Blocks with Tip vs Body of Hand

This Delta was uncommented 3 weeks ago. That's why reachy Holds everything with the Tip of the Hand.
https://github.com/alpakadev/robot-ludens/blob/main/PythonScripts/Movement/MoveImpl.py#L100
Uncomment it to try it out.

Closing due to merging #78


Apply prompt when an exist file path error occurs

Do you want to merge the existing logs(<IP_ADDRESS>21227.log) (Y/N)? : N


go.mod: updated all the dependencies used

Ran go get -u ./...
certainly more to test than updating a package at a time, but topping
off all the things for update's sake.
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>(will need to be rebased on https://github.com/kinvolk/nebraska/pull/295)

the golang.org/x/text update was narrow and for a security task. But once I was there, it looks like there was more to update, which has more moving parts that can cause breakages. That's all.
Updated. PTAL.

the golang.org/x/text update was narrow and for a security task. But once I was there, it looks like there was more to update, which has more moving parts that can cause breakages. That's all.
Updated. PTAL.

Thanks.
Since you have to rebase (in order to pass the CI checks), please use the impreative mood (go.mod: update all the dependencies used instead of updated).

funny, i don't understand or identify with imperative voice at all. :grimacing:

updated. PTAL


Hard-coded path to /var/lib/irods in test hook

https://github.com/irods/irods_auth_plugin_pam_interactive/blob/b05360545d6dbb16e0eadf2745e39d3d0b5438d8/irods_consortium_continuous_integration_test_hook.py#L40-L41
Let's see if there's a better way to get at that path.

I think this issue goes beyond the scope of this plugin. I created this issue for discussion about how we should address this across all of our plugins: https://github.com/irods/irods_testing_environment/issues/229
For this issue, let's just make some local functions to abstract this and we can solve the larger problem for all the plugins in the other issue.

Agreed.


Feature Request: add "directConnect" config option to CLI

Feature Request

Reasons for adopting new feature: We have a server which periodically executes the end-to-end tests (powered by Jenkins), but also run the tests locally from time to time (particularly when adding or updating tests) when the directConnect option is a nice, time-saving feature; it'd be wonderful to be able to do e.g. npm run e2e -- --directConnect=true or just npm run e2e -- --directConnect rather than having to edit protractor.conf.js or juggling multiple config files.
Is this a breaking change? Nope! Existing functionality should not be affected.

You can already do this:
protractor my-conf.js --directConnect

Please open up a new bug report if this isn't working for you for some reason.

What about --directConnect=false? It doesn't work, because config.directConnect === 'false'. So, it always will be true. Please fix it https://github.com/angular/protractor/blob/master/lib/driverProviders/index.ts#L32


trigger functions

new tap functions:

has_trigger & _has_trigger
hasnt_trigger & _hasnt_trigger

Hey, did you not want to merge this, @Pscal? Kinda wondering if maybe you should take ownership of this code.


code completition issue

From<EMAIL_ADDRESS>on 2010-10-01T06:59:30Z
Hello,
finally I can reproduce a very strange behaviour:
the following code ends up in a code completition list
test
test=
--------------------------------------
def func(test):
pass
test = 3
func(te <trigger code completition>
---------------------------------------
It only works, when function func has a parameter called test or teXXXXXXX.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=396

From pierre.raybaut on 2010-10-17T13:35:33Z
First of all, allow me to check if I'm understanding well your report.

You are typing this in the console:

def func(test):
pass
test = 3

Then, after typing "func(te" in the console, and triggering the code completion, what is exactly happening?

(is it a Python or an IPython interpreter?)

From<EMAIL_ADDRESS>on 2010-10-18T01:53:12Z
Hello,
I was just trying again. Seems that the behaviour was fixed with 2.0.0beta4

From pierre.raybaut on 2010-10-18T02:01:19Z
Status: Fixed


AssertionError assert output == other_output when temperature >= 1.6 and top_p >= 0.9

Hi,
I recently attempted to apply two models to run on vllm.
At first, everything went smoothly, but after a while, it was discovered that vllm would encounter TP issues that could not be recovered.
In the end, I found that this issue is easy to  happened in a multi GPU accelerators runtime environment when temperature>=1.6  and top_p >= 0.9.
Especially in an environment with 8 GPU accelerators, it basically appears 100%.
I tried using the latest  0.2.3 version, but it still appears.
The models I tested is as follows:
1、Qwen/Qwen-72B-Chat:  https://huggingface.co/Qwen/Qwen-72B-Chat
2、Qwen/Qwen-7B-Chat:    https://huggingface.co/Qwen/Qwen-7B-Chat
The problem is as follows:
File "/usr/local/python-3.8/lib/python3.8/site-packages/vllm/engine/llm_engine.py", line 562, in step
output = self._run_workers(
File "/usr/local/python-3.8/lib/python3.8/site-packages/vllm/engine/llm_engine.py", line 718, in _run_workers
assert output == other_output

+1. Thanks @LokiLiu open this issue! I met this same issue on Llama-2-7B, both A100 and V100. My part observation is it apears when sequence longer to above 2500. It also depends on model (I fine-tuned different versions from the same base model, some of them trigger this while some not). I noticed there were previous issue opened about this https://github.com/vllm-project/vllm/issues/1684 as well.

@jianwenzh This issue may caused by some options such as unstable sorting and different GPU accelerators have chosen different IDs. Shall we consider removing this assert judgment or using the results of the first GPU accelerators(id=0) to overwrite the results of GPU accelerators(id=1~N)?

@WoosukKwon @jianwenzh  I met the same issue with the model (GPTQ quantization): https://huggingface.co/TheBloke/Llama-2-70B-GPTQ
Vllm version 0.2.6. It runs on 2 V100 GPUs.  Prompt: fails on any long prompt, a couple of sentences would do.
Every other request fails, and a new parallel request whilst the previous one works, fails the first one.
I added a couple of debug prints here: https://github.com/vllm-project/vllm/blob/main/vllm/engine/async_llm_engine.py#L225 and found this:
Output: [SequenceGroupOutput(samples=[SequenceOutput(parent_seq_id=1, output_token=0, logprobs={0: nan})], prompt_logprobs=None)]
Other output: [SequenceGroupOutput(samples=[SequenceOutput(parent_seq_id=1, output_token=0, logprobs={0: nan})], prompt_logprobs=None)]

So, the logprobs are NaN and it fails the assert as it should. Any particular place up the code invocation I could check ?

@uryuk : Have you tried this recent fix/mitigation: https://github.com/vllm-project/vllm/pull/2209 ?

Wonderful, you already took care of it @jianwenzh ! Yes, I can confirm it solved the issue in my case. Tested on 2, 4 and 8 V100 GPUs. It's a pity streams caused this instability.


Add support for Ubuntu 20.04 Focal Fossa

Currently it's not possible to install Zulip with the latest stable version on a Ubuntu 20.04 "Focal Fossa".
+++ dirname ./zulip-server-2.1.7/scripts/lib/install
++ readlink -f ./zulip-server-2.1.7/scripts/lib/../..
+ ZULIP_PATH=/tmp/tmp.sSzOHC0KQA/zulip-server-2.1.7
+ localedef -i en_US -f UTF-8 en_US.UTF-8
+ export LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ export LANG=en_US.UTF-8
+ LANG=en_US.UTF-8
+ export LANGUAGE=en_US.UTF-8
+ LANGUAGE=en_US.UTF-8
+ apt-get install -y lsb-release
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (11.1.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
++ lsb_release --short --id --release --codename
+ os_info='Ubuntu
20.04
focal'
+ read -r os_id
+ read -r os_release
+ read -r os_codename
+ case "$os_codename" in
+ set +x

Unsupported OS release: focal

Zulip in production is supported only on:
 - Debian 9 "stretch"
 - Debian 10 "buster"
 - Ubuntu 16.04 LTS "xenial"
 - Ubuntu 18.04 LTS "bionic"

For more information, see:
  https://zulip.readthedocs.io/en/latest/production/requirements.html

Zulip installation failed (exit code 1)!

The install process is designed to be idempotent, so you can retry after resolving whatever issue caused the failure (there should be a traceback above). A log of this installation is available in /var/log/zulip/install.log

I see (here: https://zulip.readthedocs.io/en/latest/production/requirements.html ) that the latest but not stable version has support for Ubuntu 20.04 - when you are planning to release a stable version with support.

This is available in master today and will be in the 3.0 release in less than 2 weeks.  You will be able to run 3.0-rc tomorrow or so, or you could run more or less exactly that code by just cloning master and installing (we document how to do that on the main installation page).


[1.3.x] chore(deps): bump bulk import frontend plugin

manual cherry-pick of https://github.com/janus-idp/backstage-showcase/pull/1626

/test e2e-tests

updated the backend plugin version

Tested the updated version on a cluster with the PR image, and it works great 👏  argo-ui did show up in the Catalog list later, I just didn't wait long enough in the screen recording.
https://github.com/user-attachments/assets/88829f2c-83b8-4ecf-a83e-d74217b7160b

/lgtm

/retest

/test all


Bin directory is different when using CRI-O

When using CRI-O we have a different default binary directory (/usr/libexec/cni). I propose that we have an extra daemonset that's used for CRI-O based installations.
Such as: https://github.com/intel/multus-cni/blob/master/images/multus-crio-daemonset.yml
We'd then go and set the bin directory in the mounted dirs: https://github.com/intel/multus-cni/blob/master/images/multus-daemonset.yml#L135-L136
And then we'd add parameters to the entrypoint script so we set these variables: https://github.com/intel/multus-cni/blob/master/images/entrypoint.sh#L7-L8

WE now have a CRIO deployment yaml


Fix translation issue for sites with a single non-root language different from English

What kind of changes does this PR include?

Changes to Starlight code

Description

Closes #1556

This pull request fixes a UI strings translation issue for sites configured with a single non-root language different from English. In such case, the UI strings were not being translated correctly and were being displayed in English.

Thank you @HiDeoo , this works perfectly!


Integrate the service API documents to the GUI.

fixed #262

@WangLiNaruto these changes are also included in #266 PR


mimic: init at <IP_ADDRESS>

Motivation for this change
Addition of mimic, Mycroft's TTS engine. Includes an executable and a pkgconfig library
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Could you rebase your changes instead of doing a merge commit?

Whoops, sure thing.


Command Jupyter: Specify Jupyter Server for Connections fails

Type: Bug

Use VS Code Insiders.
Install pre-release version of Jupyter extension.
Configure "notebook.kernelPicker.type": "mru"
Use Command Palette to run Jupyter: Specify Jupyter Server for Connections
The expected quickpick doesn't appear.
Find this in the Jupyter channel on the Output tab of Panel:

error 20:44:20.216: Failed to select Jupyter Uri, Class name = yo, completed in 3ms, has a falsy return value, Arg 1: "commandPalette", Arg 2: undefined, Return Value: undefined [TypeError: t._createParsedCallSite is not a function
	at /home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:757576
	at Array.map (<anonymous>)
	at Object.t.Qc (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:756882)
	at aa.determineExtensionFromCallStack (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:2124497)
	at lf.createProvider (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:17:228294)
	at lf.registerProvider (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:17:227209)
	at m_._activateProvider (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:17:806473)
	at e (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:17:806219)
	at /home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:17:806385
	at invoke (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:804389)
	at o.fire (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:805154)
	at Ca.set features [as features] (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:2132702)
	at Ca._updateFeatures (/home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:2133346)
	at /home/irisowner/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.1.2000141019/out/extension.node.js:2:2133188
	at h.invoke (/vscode/vscode-server-insiders/bin/linux-x64/7ef08adcc620ba1e4fcda7530c8bc907264acae9-insider/out/vs/workbench/api/node/extensionHostProcess.js:63:145)
	at p.deliver (/vscode/vscode-server-insiders/bin/linux-x64/7ef08adcc620ba1e4fcda7530c8bc907264acae9-insider/out/vs/workbench/api/node/extensionHostProcess.js:63:2029)
	at d.fire (/vscode/vscode-server-insiders/bin/linux-x64/7ef08adcc620ba1e4fcda7530c8bc907264acae9-insider/out/vs/workbench/api/node/extensionHostProcess.js:63:1667)
	at t.$acceptConfigurationChanged (/vscode/vscode-server-insiders/bin/linux-x64/7ef08adcc620ba1e4fcda7530c8bc907264acae9-insider/out/vs/workbench/api/node/extensionHostProcess.js:107:24469)
	at /vscode/vscode-server-insiders/bin/linux-x64/7ef08adcc620ba1e4fcda7530c8bc907264acae9-insider/out/vs/workbench/api/node/extensionHostProcess.js:107:23953
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]

Extension version: 2023.1.2000141019
VS Code version: Code - Insiders 1.75.0-insider (7ef08adcc620ba1e4fcda7530c8bc907264acae9, 2023-01-16T11:28:36.819Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.84GB (1.44GB free)

Process Argv
--enable-proposed-api intersystems-community.vscode-objectscript --enable-proposed-api georgejames.objectscript-notebooks

Screen Reader
no

VM
0%

Item
Value

Remote
Dev Container: vscode-iris-jupyter-server devcontainer

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)

Memory (System)
7.68GB (4.79GB free)

VM
0%

Item
Value

Remote
Dev Container: vscode-iris-jupyter-server devcontainer

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)

Memory (System)
7.68GB (4.79GB free)

VM
0%

aside from the command failing, it looks like the mru kernel picker also doesn't list an option to connect to a remote server anymore

Thanks I too can repro this issue (with the powertoys extension installed)

@Tyriar seems to be happening after the changes to bundling of the extension.
Any help would be great here.

Summary:

Found that the code does not fail in dev
Code does not fail when bundling using webpack and using development mode
Fails when using webpack with production mode
Seems to be an issue with context of the function (this inside a function seems to point to something else)


AWS Setup Guide / Example

The AWS Setup Example has been started but is still WIP.
Some help, especially from some AWS Experts would be highly appreciated!
https://github.com/J12934/juicy-ctf/blob/master/guides/aws/aws.md

FYI it says to use Kuberentes 1.14 which is no longer supported - https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html

I did just try swapping out the api name but getting this I need to dig into.
error: error validating "./aws-ingress.yaml": error validating data: [ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend]; if you choose to ignore these errors, turn validation off with --validate=false

Hi @prasket 👋
Thanks for the question, I'll update the Ingress API Version to the current one.
This need some slight changes in the yaml but nothing mayor.
BTW. the warning you initially got should normally be just a warning that this wont work anymore in kubernetes 1.22, which isn't available yet, so it should still work for now.

I've release the update in v4.3.0, should now install on all new Kubernetes versions without warnings.

AWS guide was update to simply external connection, but the guide doesn't show how to set it up using https.
Any help / changes on that front would be extremely welcome 🙏


Please add -b or shell job as an argument.

Description of the new feature / enhancement
The original Unix sudo command line utility supports a -b/-background option, which tells sudo to run the given command in the background.
Scenario when this would be used?
Simplify Task Delegation with Sudo's -b Option on Windows.
Example: In the routine of a system administrator, tasks like software updates and network adjustments are common. With the -b option in sudo, these tasks become more "streamlined"; easier to perform without the visual clutter. For instance, executing sudo -b winget upgrade --all allows for background updates of the system's software, eliminating the need for visual clutter and saving valuable time.
By leveraging the -b/-background option with sudo, administrators & casuals can streamline task delegation and improve efficiency in system management. It'd also be very useful to me <3
Supporting information

Sudo Manual -> Sudo

This seems like it would be super easy, at least on it's face. Currently, sudo spawns an elevated sudo (which gets a hidden, elevated console). Then we have the admin sudo detach from its console, and attach to the original one instead.
If we just... didn't do that detach/reattach dance, that would probably just work? The target would be connected to a hidden console window. I'm betting this should be easy.
I'd wanna double check

[ ] how this interacts with piping to files
[ ] if a console app run under sudo -b could then ShowWindow(GetConsoleWindow()) to show the hidden console.


dependabot runner broken using v11

I`ve used dependabot runners successfully now for a year with these settings:
    const defaultBuilder = Ec2RunnerProvider.imageBuilder(
      this,
      `x64-linux-ubuntu-builder`,
      {
        vpc: existingVpc,
        subnetSelection: vpcSubnets,
        os: Os.LINUX_UBUNTU,
        architecture: Architecture.X86_64,
        logRetention: 7,
        rebuildInterval: Duration.days(7),
        awsImageBuilderOptions: {
          instanceType: ec2.InstanceType.of(
            ec2.InstanceClass.M5,
            ec2.InstanceSize.LARGE,
          ),
        },
      },
    );

    const dependabotRunner = new Ec2RunnerProvider(
      this,
      `${this.stackName}-runner-ec2-dependabot`,
      {
        labels: ["dependabot"],
        vpc: existingVpc,
        subnetSelection: vpcSubnets,
        spot: true,
        instanceType: ec2.InstanceType.of(
          ec2.InstanceClass.T3,
          ec2.InstanceSize.SMALL,
        ),
        amiBuilder: defaultBuilder,
      },
    );

with major release v11 this does not work anymore.
I fixed it with
labels: ["linux", "dependabot"],

The stepfunction finds the correct runner again and starts it up, but this time it fails after registration of the runner in the runner itself.

any idea how to analyze or fix this ?
additional info:
Other runners using the same builder and same settings, just different tags - still work as expected.

Ok this seems to work...
labels: ["dependabot", "linux"],

This was a breaking change in 0.11. The built-in labels will no longer be assumed when choosing a provider. If you want to use linux you have to explicitly specify it.

@kichik
I know about this breaking
change. But I did bot expect that the order of the tags ["linux","dependabot"] or ["dependabot","linux"] have an influence on the runner execution for dependabot...
This seems to be the case.

That seems to suggest the job itself ran but failed. Do you have any information on why it failed from the job logs?

No sorry that's all I've found.
No additional debug logs are available in the job itself :-/

I have never used dependabot on GHES. If the workflow and its logs are not somewhere in the repo itself, are they maybe on the organization level?
Also, have you been able to consistently reproduce the label order issue? Might have just been a fluke. Maybe the build really did fail because the dependency upgrade was bad.

I'll try to replicate it.
I've seen in a few different repos that it got stuck...

Was this related to the label changes of GHES?

No, but we can close it - deprecated with 3.9 because here the only label transmitted is 'dependabot'


[2.1.1] App requires a provisioning profile with the Push Notifications feature

Hello,
I'm getting problems with version 2.1.1 of this step.
This is the mobileprovision file. (censored important details)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AppIDName</key>
	<string>App</string>
	<key>ApplicationIdentifierPrefix</key>
	<array>
	<string>1A234BCD56</string>
	</array>
	<key>CreationDate</key>
	<date>2017-10-15T21:57:36Z</date>
	<key>Platform</key>
	<array>
		<string>iOS</string>
	</array>
	<key>DeveloperCertificates</key>
	<array>
		<data>MIIFwTCCBKmgAwSZS/P+C5zc1/jAu+OAw==</data>
	</array>
	<key>Entitlements</key>
	<dict>
		<key>keychain-access-groups</key>
		<array>
			<string>1A234BCD56.*</string>
		</array>
		<key>get-task-allow</key>
		<false/>
		<key>application-identifier</key>
		<string>1A234BCD56.de.app</string>
		<key>com.apple.developer.associated-domains</key>
		<string>*</string>
		<key>com.apple.developer.team-identifier</key>
		<string>1A234BCD56</string>
		<key>aps-environment</key>
		<string>production</string>
		<key>beta-reports-active</key>
		<true/>
	</dict>
	<key>ExpirationDate</key>
	<date>2018-04-16T21:41:49Z</date>
	<key>Name</key>
	<string>App</string>
	<key>TeamIdentifier</key>
	<array>
		<string>9T424JFK46</string>
	</array>
	<key>TeamName</key>
	<string>Company</string>
	<key>TimeToLive</key>
	<integer>182</integer>
	<key>UUID</key>
	<string>31d60604-6d1b-44e9-b6ce-a0ba0f752ba2</string>
	<key>Version</key>
	<integer>1</integer>
</dict>
</plist>

The important thing is:
<key>aps-environment</key>
<string>production</string>

So I think push notification feature is set.
The error message is:
error: exportArchive: "APP.app" requires a provisioning profile with the Push Notifications feature.

The log says:
** ARCHIVE SUCCEEDED **

Exporting ipa from the archive...

Using export options
Generating export options
auto-detect export method, based on embedded profile
detected export method: app-store
generated export options content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>method</key>
		<string>app-store</string>
	</dict>
</plist> <nil>

The project is an Ionic / Cordova one. But I think this doesn't matter. Or?
Thanks in Advance!
P.S. Normally I will investigate the problem by myself. But maybe someone have more informations about this. Maybe this is a wellknown problem. Maybe I must generate new certificate with provisioning profile.
I will test it tomorrow on my Macbook with Bitrise CLI. 👍
Thanks in Advance!

Hi @patrickbussmann ,
thanks for the report! Could you please contact us on bitrise-on site chat? I would need to take a look on your full build.log file.

Yes I can do in few Minutes. (Up to half Hour)
With XCode 8.3 I get no Problems. But with 9 there is something new 😔

Am 17.10.2017 um 10:56 schrieb Krisztián Gödrei<EMAIL_ADDRESS>Hi @patrickbussmann ,
thanks for the report! Could you please contact us on bitrise-on site chat? I would need to take a look on your full build.log file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Another error if I'm not using Manual provisioning.
Code Signing Error: APP has conflicting provisioning settings. APP is automatically signed, but provisioning profile 31d60604-6d1b-44e9-b6ce-a0ba0f752ba2 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'

Hi @patrickbussmann ! 👋  :)
That seems to be an unrelated error - can you please create a new issue report for it? :)

Hi @viktorbenei,
I think the latest error with provisioning settings are because I commented out a line which changes the Automated Signing to Manual one.
So should I create a ticket for that or not? I think its not relevant because else the plugin must modify this setting manually.

I'd say that's up to you @patrickbussmann ;) But if you'd like to create that please do that in a separate issue, for easier tracking :)

@patrickbussmann could you please try the new version of the step?

I'll close this issue, but if you need more info/help just let us know and we'll reopen it!


IBDataDownloader Does Not Download TradeBar

Expected Behavior
Be able to download trade bar data with minute resolution:
lean data download --data-provider-historical "Interactive Brokers" --data-type Trade --resolution Minute --security-type Equity --ticker NVDA,AMD --market USA --start 20240701 --end 20240724

Actual Behavior
The LEAN CLI code returns:

DownloaderDataProvider.Main(): No data available for the following parameters: Symbol:
NVDA RHM8UTD8DT2D, Resolution: Minute, StartUtc: 7/1/2024 12:00:00 AM, EndUtc: 7/24/2024 12:00:00 AM, TickType: Trade

Potential Solution
N/A
Reproducing the Problem
Use LEAN CLI to download data
System Information
LEAN CLI
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

Closed by https://github.com/QuantConnect/Lean.Brokerages.InteractiveBrokers/pull/120


Smartdown is crashing Craft somehow??

FYI, i just tried enabling this on a brand-new, up-to-date Craft install. It made my entire site go 'down' when I tried to enable it, as in all admin and public pages render as empty white pages. Removing the Smartdown files from my plugin directory resolved the issue. I tried re-downloading and re-adding files back into the dir and the same thing happened. I've since tried installing other third party plugins... no problem.
Not sure if anyone else has run into this, as I've used this in the past without issues.

Hi Lauren,
What version of PHP are you running? SmartDown requires PHP 5.4 (which I should have made clear in the README, sorry).
Stephen

Added "requirements" note to README (ef3401bb605721117265c0ca0f3e3c5fed230e62).

thanks for working on this to help fill the gaps in terms of better coverage for markdown in craft.
i've run into a similar issue as @laurend and am currently on php 5.5.9.
trying to use the smartdown filter (for example {{ entry.body | smartdown }}) will break the page and no content will load.
any ideas on what would be causing this? i'm looking for a solution to help with rendering fenced code blocks and this seemed to be exactly it. now if i only i could get it to work i'd be a happy camper... ;)

Are there any errors in Craft's log files (/craft/storage/runtime/logs)?

just checked and it looks like nothing is being captured in the logs, unfortunately. i tried using a non-existent filter which did give me an error, whereas smartdown still renders the page partially up to the point where smartdown is being used. sorry i don't have much more information to provide.

Does SmartDown work at all on your site? For example, if you put the following in a blank template, does it output two paragraphs as expected?
{% set testContent %}
Pink, pink, well what's wrong with pink?

Seems like you've got a pink kink in your think.
{% endset %}

{{ testContent | smartdown }}

tried that out and nothing shows up :disappointed:

Is it possible for you to give me shell access to the server? Without any logs or error messages to go on, I don't really have a way of debugging this.
If yes, you can email me at support [at] experiencehq [dot] net.

Failing that, admin access to the control panel would be a decent start.

Closing this for now, due to lack of feedback.

@monooso... funny thing. I totally forgot about this thread. For some reason I was never notified that you had responded several months ago so I'm sorry that Ieft you hanging there. Now I'm working on a new project, went to use this plugin and the same thing happened. I stumbled upon this and thought it was funny that I opened the original issue in the first place.
Anyway, one interesting thing is that now I"m running my project both locally and on the live server from the same DB. The plugin files are in both locations. It seems to work fine when accessed locally (using MAMP). But when I try to access any part of my site remotely -- even the admin area -- the whole thing is blank after just enabling the plugin. I hadn't yet applied it to any templates. So I'm guessing the problem must be something to do with the remote environment.
I'm attaching what's appearing in the error log here. Hopefully you can shed some light on the issue.
******************************************************************************************************
2015/11/03 20:21:55 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in /chroot/home/pandlmed/lfab.nyc/craft/app/controllers/TemplatesController.php:59
Stack trace:
#0 [internal function]: Craft\TemplatesController->actionRender('homepage', Array)
#1 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Object(Craft\TemplatesController), Array)
#2 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Object(Craft\TemplatesController), Object(ReflectionMethod), Array)
#3 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#4 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/CController.php(286): CController->runAction(Object(CInlineAction))
#5 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/CWebApplication.php(282): CController->run('render')
#7 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/web/CWebApplication.php(141): CWebApplication->runController('templates/rende...')
#8 /chroot/home/pandlmed/lfab.nyc/craft/app/etc/web/WebApp.php(278): CWebApplication->processRequest()
#9 /chroot/home/pandlmed/lfab.nyc/craft/app/framework/base/CApplication.php(184): Craft\WebApp->processRequest()
#10 /chroot/home/pandlmed/lfab.nyc/craft/app/index.php(62): CApplication->run()
#11 /chroot/home/pandlmed/lfab.nyc/html/index.php(19): require_once('/chroot/home/pa...')
#12 {main}
REQUEST_URI=/
---
2015/11/03 20:21:55 [error] [application]

@laurend Could this be a permissions issue? Line 11 looks to be the root cause of the problem, but the require_once statement is truncated, so I can't tell which file it's attempting to load.

Closing this, due to a lack of feedback.


Enhance the menu section of the website.

The menu section of the website that displays some of the food items type can be enhanced with a better UI design. I can make the UI better using some unique designs. So kindly assign this task to me under GSSoC'24.

i would like to resolve this issue

@sinhaudita Describe how would you like to contribute.

@sinhaudita Describe how would you like to contribute.

Implementing sliding card view  can enhance the UI of menu section. I would like to work on this.


Configurable MaxConcurrentReconciles with a better default for max-reconcile-rate

Description of your changes
This PR:

Uses --max-reconcile-rate for MaxConcurrentReconciles just like any other Crossplane providers rather than using a constant.
Bumps the default for --max-reconcile-rate to 100. See the companion PR in provider kubernetes: https://github.com/crossplane-contrib/provider-kubernetes/pull/203

I have:

[x] Read and followed Crossplane's [contribution process].
[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested
See https://github.com/crossplane-contrib/provider-kubernetes/pull/203

Looks ok but not sure why the e2e test is failing. Is it broken? Ill try to debug locally, but I see same thing is happening on master

@lsviben my other PR could be fixing it: https://github.com/crossplane-contrib/provider-helm/pull/197/commits/27b35cc5bbeece71c3c261de1e41d6e0e95591b9
Working on making it up to date as you suggested, then we can rebase this one.


[Minor bug] Key errors when using functionality of label layer

🐛 Bug
In Napari when having created a label layer and upon switching to either erase, paint, fill, picker or zoom, a key error is given.
This is due to the key not being present in the _actions dictionary of the ActionManager of napari.utils. One example of the error is

In this case the key should have been napari:activate_labels_paint_mode (see image below). Also for the other cases adding labels in the keyword would fix this issue. The functionality does not seem to have changed. Transform, erase, .... seem to still work, thus it seems to be a minor bug. It seems to be introduced with the recent merge of #4894.

To Reproduce
Steps to reproduce the behavior:

Start Napari
Create labels layer
Switch to either one of the modes described above.

Expected behavior
No key errors.
Environment
napari: 0.4.17rc4.dev180+gd7b22b19.d20230125
Platform: Windows-10-10.0.22621-SP0
Python: 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:51:29) [MSC v.1929 64 bit (AMD64)]
Qt: 5.15.2
PyQt5: 5.15.7
NumPy: 1.23.4
SciPy: 1.9.3
Dask: 2022.11.0
VisPy: 0.12.1
magicgui: 0.6.0
superqt: 0.4.0
in-n-out: 0.1.6
app-model: 0.1.1
npe2: 0.6.1
OpenGL:

GL version: 4.6.0 NVIDIA 526.98
MAX_TEXTURE_SIZE: 32768

Screens:

screen 1: resolution 1920x1080, scale 1.0

Settings path:

C:\Users\w-mv\AppData\Local\napari\napari_e081f750b90253ee1b4c7328e2bd7ed6bfeabc20\settings.yaml

in qt_labels_controls.py inserting labels fixes the issue partially
action_manager.bind_button(
            'napari:activate_fill_mode',
            self.fill_button,
        )

This issue seems to be addressed in #5539, shall we close it @Czaki?


Verify all images are cropped correctly

Image datasets are loaded into csv files ready to be read in. But we need to verify that the autocrop worked well on all images

C 30 is incorrectly cropped, all other good

fixed C30, too much of the petri dish was showing, amplification pad was not centered in the petri dish, slight manual crop applied to remove petri dish edge


can´t auth

When I enter the token:
Sign in failed: ConnectError: [deadline_exceeded] the operation timed out
Linux manjaro xfce

Why are you reporting the issue here if your issue is with a VS Code extension?


Webview embedding error

In the H5 project, the drawing board plugin was used, and then webview embedding was used in the WeChat mini program to generate errors when drawing rectangles, circles, diamonds, and inserting images
TypeError: Failed to execute 'roundRect' on 'CanvasRenderingContext2D': The provided value cannot be converted to a sequence.

In the H5 project, the drawing board plugin was used, and then webview embedding was used in the WeChat mini program

Is this some fork of excalidraw or you are somehow accessing excalidraw.com directly?

to generate errors when drawing rectangles, circles, diamonds, and inserting images

What are the exact reproduction steps to reproduce this error?
Is it reproducible on excalidraw.com?

It is not a problem to embed a webview directly on excelidraw.com. My H5 project is based on Vue2 and introduces React and React DOM plugins to implement this drawing board plugin. It can be used directly on the browser and app sides without any problem, but this problem occurs when embedding the webview of the Smile mini program

In fact, exceldraw.com also reports this error when embedding the WeChat mini program webview. The difference is that although the embedding website reports this error, it does not affect the normal execution of the drawing. I know what the subsequent impact will be, but I wrote my own embedding and directly reported this error, and the entire canvas was directly destroyed

Could you please provide us wit reproduction steps?


feat: add documentation around deployment to kubernetes

[x] add basic documentation around container image & helm chart usage

[ ] helm chart doesnt have a init-container that takes care of the prisma migration
[ ] the values that are set from the .env file need to be made into strings, otherwise the chart wont render

Thank you, @levivannoort. It's looking good.
I made a few updates:

Making sure that /deploy is redirected to /deploy/docker-desktop/ in docusaurus.config.js in case we are using that URL somewhere.
Making sure the cspell checks are passing.

What are your thoughts on making the URL for kubernetes /deploy/kubernetes/? That way it follows the same pattern as the other one, and if we add another deploy method in the future it can follow that pattern too.
CC @yuval-hazaz @GreenMachine01

Thank you, @levivannoort. It's looking good.
I made a few updates:
1. Making sure that `/deploy` is redirected to `/deploy/docker-desktop/` in `docusaurus.config.js` in case we are using that URL somewhere.

2. Making sure the cspell checks are passing.

What are your thoughts on making the URL for kubernetes /deploy/kubernetes/? That way it follows the same pattern as the other one, and if we add another deploy method in the future it can follow that pattern too.
CC @yuval-hazaz @GreenMachine01

@dericksozo Agreed on the above and enforced. Updated the FAQs part of it to include the new addition aswell as make sense from a technical point of few.


Layers control and CollectionLayer

Leaflet has an unexpected (maybe not) way of hiding and showing layers on a map: it removes them to hide and adds them to show.
This is exactly what a Control.Layers does. When you activate a layer in the control, you add it to the map. When you deactivate a layer, you remove it from the map. If you want to show it again, you need to keep the reference to the layer and add it back again.
The thing is that the layers control must have all layers (so that I can choose among all of them), but the map may not contain all the layers (because some of them may not be visible by default).
I need to have a layers control on my project, but I can't get my head around this issue. What's missing in Ember-Leaflet to support the layers control? I think I need to create layers outside of the EmberLeaflet.MapView scope, so that I can also create a Layers control. At least I think I need to create layers separately because I can't pass layer class definitions to both map and control. The layers must already be created before.
What would be the best approach for this?
Another thing that occured to me is that using the layers control kind of breaks the childLayers CollectionLayer in the EmberLeaflet.MapView. When you activate a layer through the control, the control adds the layer directly on the map and the childLayers no longer reflects the leaflet map.
Don't know what kind of problems this may create, but maybe the eventual solution would be to use the baselayerchange / overlayadd / overlayremove events, or event the layeradd event. (Check map events).
Having a layers control is something very common and a very important feature in a map. So, after we solve this, we should include an example in the demo page.

+1 for LayerControls.

+1 for LayersControl.


Storage delegation API failure

The dataplatform API is failing with a new required attribute and it would affect the storage delegation module call in
https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/blob/e9210c6f188155d93b01ac1441228bcdb8542590/modules/watson-machine-learning/main.tf#L19
Once /terraform-ibm-modules/terraform-ibm-watsonx-saas-da/issues/190 is fixed, this should reference and updated version.

Watson team pushed this breaking change then rolled it back. Draft PR exists if they push the change again: https://github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da/pull/191


feat: implmenet a use defaults system WIP fixes #1607

Describe the PR
A clear and concise description of what the pull request does.
Small replication
A small replication or video walkthrough can help demonstrate the changes made. This is optional, but can help observe the intended changes. A mentioned issue that contains a replication also works.
PR checklist

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix :bug: - fix(...)
[ ] Feature - feat(...)
[ ] ARIA accessibility - fix(...)
[ ] Documentation update - docs(...)
[ ] Other (please describe)

The PR fulfills these requirements:

[ ] Pull request title and all commits follow the Conventional Commits convention or has an override in this pull request body This is very important, as the CHANGELOG is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be denied

Just heading to sleep. 5min look seems nice. I'll have time next week to look at this and other stuff.
Should we add the handeling of modelValue to useDefaults? pass emit to it, revert back to vueuse style handeling of it... Just an idea, not really sure about it.

Should we add the handeling of modelValue to useDefaults? pass emit to it, revert back to vueuse style handeling of it... Just an idea, not really sure about it.

There are some examples of how its used. Its a bit strange code, all boilerplate. But its just a computed setter.

@xvaara Something that I didn't think about is the fact that we don't know whether or not the modelvalue is bound. This causes a problem:
const props = useDefaults<typeof _props>(_props, 'BAccordion')
const _modelValue = defineModel<string | undefined>({
  default: undefined,
})
const modelValue = computed({
  get: () => props.modelValue,
  set: (v) => {
    _modelValue.value = v
  },
})

When we bind to props.modelValue when it's using the "passive" version of the modelValue, it's then bound to the wrong value.
<BAccordion />

This won't work, because internally its supposed to be using the ref. However, since we bounded to the props, it fails.
I'm not sure if there's a way to detect this (I don't think there is). Meaning, I think we may just have to refuse global options for modelValues

feat: implement a use defaults system fixes #1607
feat: implement global alias system fixes #1753
refactor: add bvn:: prefix to symbol keys
refactor: fix typo in 'BCardImageProps' change to 'BCardImgProps'
feat(BFormInput)!: move props lazy, trim & number to v-model modifier. Modifiers should behave more like native Vue modifiers (number modifier with unparseable value returns value as is)
feat(BFormInput): type number performs the same as modifier
feat(BCarouselSlide): allow individual interval for slides
chore: update deps to fix some issues (nuxt useId, vue-tsc etc)
docs: global options, aliases
feat(nuxt): automatically globally set teleportTo to #teleports
feat(BreakpointProps)!: strongly type breakpoints. Instead of weak string | number => 1,2,3...'1','2','3'...
refactor(BRow): use script setup instead of options api
refactor(BCol): use script setup instead of options api


Get stuck at initialising state..

Hi,
I am using your module for video calling in my application.
when I start the room for first time its showing one peer join and remote view is getting very lately.
In my app i have a back icon when I click on that I am leaving the room by calling leave(socketId) function.
My issue is when i click on the back icon and again going to start the room its showing initialising only but it is not connecting.
I tried  leave(socketId) and
 socket.on('disconnect', function(socketId){           console.log("on back disconnect");         // leave(socketId)         });
but they did not work and showing same as initialising
Can anyone tell me how to solve this issue.
Thanks.

Check my comments in #116
It may related
You need to control your instance cleanly

After clearing my instance if again I join the room it working fine.
But when I click my back button and again want to join then its get stuck in initialising state.
How can I control when I click on my back button?

you can try release/clean all Track/Stream/PeerConnection when press back button.
( and you may need to unmount your "vidio" view, so make sure you see: ComponentWillUnmout when press back button)
and re-initialize them once you go to "video" view.
this may related to #116 #158

I wrote like this when i click my back button:
if(this.state.socketId!=null){           leave(this.state.socketId)         }
I tried this also:
 socket.on('leave', function(socketId){         console.log("backleave");         leave(socketId); })
Both of them did not work for me.
Can You tell me how can I release or clean them ?

maybe you should try release localStream ( leave() function does not release localStream )
see: https://github.com/oney/RCTWebRTCDemo/blob/master/main.js#L265
      if (localStream) {
        for (const id in pcPeers) {
          const pc = pcPeers[id];
          pc && pc.removeStream(localStream);
        }
        localStream.release();
      }

I Tried this but still getting  the same.

can you try applying solutions in #158 to see if it work?

Tried this also but getting same issue.

I thought you are referring to react-native-webrtc module itself.
but seems you are referring to RCTWebRTCDemo instead. is that correct?
if so, then it is the app structure issue instead library itself.
RCTWebRTCDemo is just a demo showing very basic usage, and I don't think you can apply into your app as an page without any modification.
for example, the demo use heroku server which every folks who testing demo would use the same server instance. we don't know what's going on on the server. you should implement your signaling part to exchange sdp based on your logic.
about debugging direction
it is more like a react-native's life-cycle/instance-holding issue.

You can try put logs on the first line in every functions, and you will know what functions are expected to be executed which it doesn't.

post full application source code and logs you ran into error on stackoverflow.

We Used our own server not heroku but getting the same issue.I will just email you my source code can you tell me where exactly the issue is.

If it's improper to post your source code, then it's improper that you send to anyone.
webrtc can be used in lots of different ways, we are not able to debug app for everyone.
besides I'm still learning these stuff as well.
the common approach for your question, usually, is you create a simple repository which can reproduce your issue,  then go to website such as stackoverflow for helps ( be sure tag it as react-native).

in my guess, you should print logs in ComponentDidMount() and _press() function ( in RCTWebRTCDemo ) to check if they are executed after you go back to the same page again.

ok thank you @zxcpoiu

In my scenario I kept log in every function but when I click back button again want to enter room then its showing only initialization but its not going to the connecting.
 socket.on('connect', function(data) {   console.log('connecting again');   getLocalStream(true, function(stream) {     localStream = stream;     _this.setState({selfViewSrc: stream.toURL()});     _this.setState({status: 'ready', info: 'Please enter or create room ID'});      _this.setState({status: 'connect', info: 'Connecting'});         join(_this.state.roomID);   }); });
console.log is not printing for the second time

yes, that's what I was guessed. it's a app structure/instance holding issue.
when you go to that page the second times, socket doesn't connect again thus the rest of code which initialing webrtc was not called.
you can try either:

manually execute io.connect() and getLocalStream after you back to the page.
don't use global object, which means you put every creation logic in ComponentDidMount()
and clean them in ComponentWillUnmount
then you only have to worry about components's lifecycle

@zxcpoiu  thanks for the reply i just wrote as you said but when i go back in ComponentWillUnmount I cleared up everything by calling:
  socket.on('leave', function(socketId){       leave(socketId);     });
But for the response its taking much time.

socket.on is an setting an event after you create socket, you can't call it directly.
check https://github.com/socketio/socket.io-client for how to use socket.io
you should clean in ComponentWillUnmount:

leave room ( leave() )
close pc (peer connection)
close socket ( something like socket.close  )

you should create everything in ComponentDidUnmount:
something like
// --- create/connect socket
const socket = io.connect(xxxx)

// --- set events
socket.on(xxx)
socket.on(xxx)

Hi,
I said now its came to  connecting state but:
First Case: Its getting connected but for one user its showing only self view and for other user its showing only remote view.
Some times its showing only Connecting....
This is what i have written in componentWillUnMount()
`  if(this.state.socketId!=null){
pc.close()
}
delete pcPeers[this.state.socketId];

const remoteList = this.state.remoteList;
delete remoteList[this.state.socketId]
this.setState({
  remoteList: remoteList,
  selfViewSrc:null
});
this.setState({info: 'One peer leave!'});
console.log("LEAVE"+'One peer leave!')

if (localStream) {
for (const id in pcPeers) {
const pc = pcPeers[id];
pc && pc.removeStream(localStream);
}
}
localStream.release();
_this.setState({socketId:'',roomID:''});`

I don't have any video experiences, so at this stage, I can't help in further debug here now.
and I'll find time to rewrite demo to make it clearer.
and of course, if you have better structure, please make a PR to demo project

@zxcpoiu Can you tell me how to create a PR

fork upstream repository you want to improve
create a branch and make changes based on newest upstream source code on your repo
commit and push to your own forked repo

then the rest of it is google stuff, check guides below:
https://help.github.com/articles/creating-a-pull-request/
https://yangsu.github.io/pull-request-tutorial/

Nothing actionable for the plugin itself AFAIS, closing.


Windows: Bump Kolibri to 0.16-alpha17

It has been released: https://github.com/learningequality/kolibri/releases/tag/v0.16.0-alpha17
From Richard:

Flagging that once again the mac app notarization has messed up the asset upload. The assets can still be found in the artifacts for the release action here: https://github.com/learningequality/kolibri/actions/runs/5378800426 (with the same caveat as last time that they are zipped).

I suggest we wait for -alpha18 to get the fix for https://github.com/learningequality/kolibri/pull/10912

Unfortunately this doesn't work. When I first upgraded my existing install of the app to the test build from #137, it came up like this, with an empty Discovery section:

I have now erased the app data and am re-downloading a starter pack to see what happens.

Rather annoyingly it works perfectly and I didn't save the offending broken state.

Unassigning myself as I don’t have a Windows machine to verify things on.

Verified passed on the test build: v<IP_ADDRESS>
Release: Ladybird v6.24.0
Kolibri: 0.16.0a18


Fix non-existing function being used in go-unused-imports-lines

I've noticed that non-existing buffer-file-truename function is used
while browsing the source code. I beleive buffer-file-name should be
used instead. I haven't tested the change though.

buffer-file-truename is a variable defined in `C source code'.
Its value is "~/notes/foo.txt"
Local in buffer foo.txt; global value is nil

  Automatically becomes permanently buffer-local when set.
  This variable may be risky if used as a file-local variable.

Documentation:
Abbreviated truename of file visited in current buffer, or nil if none.
The truename of a file is calculated by `file-truename'
and then abbreviated with `abbreviate-file-name'.

Whoops, buffer-file-truename is a variable, no wonder I could not find it! Sorry for the bogus PR.


A peer-to-peer ride-sharing system

Proposed title of article
A peer-to-peer ride-sharing system
Proposed article introduction
Through the use of a radio-based communication system, users can negotiate directly with neighboring hosts to arrange rides on an as-needed basis. Various hosts, such as private cars and public transportation vehicles, must be accommodated by such a peer-to-peer shared trip system. Negotiation tactics and subsequent travel plans are influenced by their divergent approaches.A model of a peer-to-peer shared ride system with several sorts of agents is presented and discussed in this tutorial.
Key takeaways
1.Shared ride systems
2.Agent-based simulation and shared ride application
3.Agents in peer-to-peer shared ride systems
4.Communication in peer-to-peer shared ride system
5.Formalization in a multi-agent simulation
6.Simulating shared rides with diverse agents
Article quality
My approach to this article is good because it is broken into bits and the explanation is straight to the point.Will be indepth article explaining all aspect of this concept.To ensere it is beginners friendly i will employ easy use of language to enhnce understanding.
References
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it. 🚀

Thank you for submitting your topic. @Graceshee
After some careful consideration, it struck us that this topic may be out of our preferred topics area.
Please feel free to suggest an alternate topic to explore. 🚀


RTL Support

Hello, I'm using nuxt/toast that developed base on vue-toasted. also i'm using vue-toasted in another project with vue. I'm using Persian language so i need rtl in toast messages. but i can't find any option or something else to support rtl.
Is it available to use?
Thanks

Could this be solved with styling?

I did like this .toasted{border-radius:0; direction: rtl} in css file of toasted project but it's not effected. also I tried with className but it does not work (maybe i was used it wrong), and I don't know is another way for that or not!

Seems to be working. https://jsfiddle.net/2r6x4g0L/

sorry for my delay. seems it's okay. But is not it better to make an option for it?

This can be achieved with styling. PR welcome to integrate it in the package.
Thanks.


Issue in Microsoft LUIS importing existing application

Hi Team,
I have exported application from Microsoft LUIS into a .json file but while trying to import that .json file to a new application in LUIS I am getting the following issue:
"values provided in your Text settings are not found in parameters list". Attached is the screenshot. Please suggest.

I fixed it by removing the old json items in actions property.
Maybe an issue with the migration.

Yes, Even I have removed the old json items in actions property and have solved it.

Thanks for point this issue, LUIS should be able to handle action parameters gracefully or throw a more descriptive error message.

Rplace datetime with datetimeV2 and try again. It was in my case.


TypeScript raises an error when using custom theme props on NativeBase components

Issue Description
My codebase uses the ejected NativeBase themes, and extends them with new properties like so:
export default (variables /* : * */ = variable) => {
  const contentTheme = {
    flex: 1,
    backgroundColor: "transparent",
    "NativeBase.Segment": {
      borderWidth: 0,
      backgroundColor: "transparent"
    },
   // ----------- CUSTOM THEMES BELOW -----------------
    ".brandPrimary": {
      backgroundColor: variables.brandPrimary
    },
    ".brandSurface": {
      backgroundColor: variables.brandLight
    },
    ".white": {
      backgroundColor: "#fff"
    }
  };

  return contentTheme;
};

When I use use the custom theme in my typescript project (by setting the custom theme on a NativeBase component, I get this error:

Is there any way for me to extend the NativeBase component types so that I can eliminate these TypeScript errors?
node, npm, react-native, react and native-base version, expo version if used, xcode version
NativeBase version: 2.12.1
Expected behaviour
NativeBase components accept custom prop names without violating TypeScript.
Actual behaviour
An error is produced any time a custom prop is set on a NativeBase component.
Steps to reproduce

Eject NativeBase themes
Extend a theme with a new prop name, as shown above
Use the styling prop on a NB component:

<Content brandPrimary style={{ borderRadius: 6 }}>
  <Children ... />
</Content>

See the TypeScript error

Is the bug present in both iOS and Android or in any one of them?
Present in the IDE before making it to a device
Additional questions:

Am I extending and using the ejected themes properly?
Is it possible for me to upgrade NativeBase while maintaining my ejected theme changes? Is there documentation surrounding best practices for maintaining ejected themes?

Can we get some clarity here? If my methodology is correct, this pretty much breaks NativeBase projects with TypeScript and custom ejected styles

#2828 https://github.com/GeekyAnts/NativeBase/issues/2828

Hi @connor-odoherty , Please follow native Base Customize for custom theme. Let us know if the issue still persists?


Add support for Brave Browser beta

Any chance for getting the brave-browser-beta integrated?
thx

Sure! It shouldn't be too difficult. Just add the bookmarks file path in this table similar to chrome_beta.


Training on the Waymo dataset

Hello, now I have successfully conducted experiments on the waymo dataset following data_setup
But the experimental results in the paper cannot be reproduced.
For some metrics, it is impossible to achieve the values stated in the paper.
This is the training environment I use:

In addition, I tested the detection results on waymo you provided in the code：
Waymo
It is also impossible to reproduce the results in the paper.
I would like to know if there is an error in the data you uploaded? Can you provide the evaluation script you used to reproduce the results in the paper?
Thank you！

Hello @wbzheng11 , thanks for your interests!
Please normalize the prediced scores to [0, 1] before evaluation. And the evaluation script I used is here: https://github.com/amazon-science/progressive-coordinate-transforms/tree/main/tools/waymo.

can you share us how to normalize the predicted score?

@SlothGwon
The formulation is (score - scoremin) / (scoremax - scoremin), where scoremin is the minimum score on the test set and scoremax is the maximum one.


WIP Interactive Visualizer

This is a WIP PR. There are some obvious issues with what is here, but I just wanted to share what I have so far.
This is a tool I threw together as part of a recent hackday for CALM. The idea of this tool is to be an interactive visualizer which gives the user a much more control over the layout of their visualization.
The main feature is the ability to drag around the nodes and save a "layout" file which remembers the locations that you dragged them to. When you load an instance into the UI, you can also upload that layout file and it will place the nodes back in the correct spots.
Here's an example using traderx:

TODO:

investigate and fix why there are some duplicated relationship arrows
add support for nested nodes to represent the deployed-in and contains relationships.
make a nicer looking toolbar
write tests (sorry, no time in a hackday for tests :D)
save the layout to the place it was loaded from, not just the downloads folder
improve how the user uploads the files. Can we make it so the user only needs to upload one file instead of two?
add zoom feature, the traderx example is already too cramped
rely on the types from the shared module once this PR gets merged
add some kind of default layout. Currently on a new instance file, all the nodes will just overlap in the middle of the screen
render patterns as well as just instantiations

I've created a branch in the main repo called "visualizer" that we can merge this into for now so that others can more easily work on this code. Once it's in a better state we can then merge that into main.


Comparison with OpenCensus

How does AppMetrics compare to OpenCensus and more specifically to its c# client?

https://github.com/census-instrumentation/opencensus-csharp/

Both seem to be framework to setup the collection of metrics and to get the metrics data converted into a supported data store.

@alhardy Was this already answered somewhere?

No it wasn't. I haven't looked at that project, tickets fairly dated with no response so closed it off.
Do you have anything to share in terms of a comparison?

@alhardy No, unfortunately not. It's my question hence why I asked if maybe there is some comparison docs available somewhere.


Test compression on ZK rollups

zksync? if possible
scroll
linea
polygon zkevm

zksync
Hit a snag with deterministic deployment. ZkSync requires calling a special contract to do contract deployments instead of the usual way. This also prevents us from getting the usual addresses.
To continue testing we'll need to refactor a bit to use the alternate deployment system.
Quite a few unfortunate souls have sent 0.01 ETH to fund the deployment and the funds are now stuck there:
https://explorer.zksync.io/address/0x3fab184622dc19b6109349b94811493bf2a45362

Linea (goerli testnet)
Able to deploy contracts but getting an execution reverted error from one of the gas estimation steps. Will debug after doing a first pass on each ZK L2.

Scroll (sepolia testnet)
Able to deploy contracts but getting the error below when trying to use the Greeter contract from a compression account.
{
    "jsonrpc": "2.0",
    "error": {
        "code": -32603,
        "message": "Panic recovery",
        "data": {
            "trace_id": "1442cd4c-4615-4218-9beb-849ffd9c2a1f"
        }
    },
    "id": "38han60p71a7ehmcwks6fbvwq"
}


"Return to top" link in menu does not work

The "Return to top" link in the menu does not work.
I think it can be fixed by changing the href to "./#site-head" in line 57 of layouts/index.html which currently says:
        {{ $fnav_title | safeHTML }}

@pvarela Thanks, confirmed problem. I'll have a look into it.

it links to e.g. github.site/#site-head instead of github.site/mysite/#site-head

@pvarela thanks for suggestion, it seems to have fixed it.


Question about CommitLog::recoverAbnormally

As i know, logic of recoverAbnormally is as follow:

Find first valid CommitLog file from last one
Check all message in last valid CommitLog file
For these valid messages in last valid CommitLog file, rebuild ConsumeQueue and IndexFile
Fix all kinds of pointers, and clear ConsumeQueue redundant data

Now consider follow situation:

A few messages been written to CommitLog file L2(last 2), and these message are last messages of this CommitLog file
Create a new CommitLog file L1(last 1),then write a message to L1
At this time, L2's last few messages and L1's first message are not been written to ConsumeQueue and IndexFile yet, then RocketMQ crash
When RocketMQ restart, it will invoke recoverAbnormally, and only rebuild L1's message, L2's last few messages are lost.

If my analysis is right, i think follow solution could resolve it:

Find first valid CommitLog file from last one
Check all message in last valid CommitLog file
Fix all kinds of pointers, and clear ConsumeQueue redundant data
In step3, we could get valid ConsumeQueue max physics offset, besides we could also get IndexFile's max physics offset from file header
In the light of ConsumeQueue max physics offset and IndexFile max physics offset, we could rebuild lost content respectively

This solution not only could resolve data lost issue what i described before, but also could reduce duplicate data of ConsumeQueue and IndexFile :).

Theoretically, I agree that this is the case.Doesn't everybody have that question?Strangely enough, 19 years of asking questions and nobody paid attention


Youtube Playlist Import

A colleague of mine came up with this neat idea for a feature: add support for importing YouTube playlists from URLs that contain a list parameter:
This would be hugely useful for already existing music playlist.
Example:
https://www.youtube.com/watch?v=QaLFAlUp1U8&list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS&index=13
Assumptions:

yt-looper detects list=<playlistId> in URL and starts import process
gets  videoId for every item in playlist PLyALKMPGOR5evINIHBRgtioZBuujYFaeS (via YouTube API v3) and adds &v=<videoId> for each item, while preserving order provided by API response
after all videos are imported original list parameter is removed from URL

Basic functionality is here: http://yt.aergia.eu/#list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS :tada:
I'll make a quick brain dump now,  in case I get sleepy any time soon :zzz:
TODO/Problem

Add support for index=N parameter. It should simply start playing first segment of a video with the index. This is bit tricky as we have some edge cases:

what should happen if we append &list=<playlistId>&index=<n> to URL which already has some videos? Indexes will be shifted, and we need to handle that..

index is not verbose enough, perhaps something else needs to be used in final, normalized URL (start=<n>?)

Solve the problem with copy&paste of full YouTube URLs like:
https://www.youtube.com/watch?v=QaLFAlUp1U8&list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS&index=13

v=<videoId> and index=<n> are logically linked:  video QaLFAlUp1U8  is inside of playlist PLyALKMPGOR5evINIHBRgtioZBuujYFaeS at 13th place
in current implementation, after expansion, we get duplicate of videoId: one will be just before expanded items, and second inside of them

Possible Solution
Process v=QaLFAlUp1U8&list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS&index=13 like this:
Expand list and check if list[index] is the same as QaLFAlUp1U8. If so, remove duplicate that is before list.  I am quite sure this could be done before expansion using additional API hit, which would be executed only if URL does match discussed pattern.

Done :birthday: :balloon: :camel:
This link imports youtube playlist PLyALKMPGOR5evINIHBRgtioZBuujYFaeS and starts playback from 13th video (QaLFAlUp1U8, which is deduplicated from URL after import process):
https://yt.aergia.eu/#v=QaLFAlUp1U8&list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS&index=13
Furthermore, it recalculates index if &list=<playlistId>&index=<n> is appended to some already existing videos:
https://yt.aergia.eu/#v=eSMeUPFjQHc&t=60;80&v=ZuHZSbPJhaY&t=1h;1h5s&v=QaLFAlUp1U8&list=PLyALKMPGOR5evINIHBRgtioZBuujYFaeS&index=13


⚠ Processors has degraded performance

In 5b274c5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 63 ms

Resolved: Processors performance has improved in 8643d2e.


Add commandCall method

I'd like a commandCall method which behaves similar to the call method. It would return a specific index of a command.
Signature:
/**
 * Returns n-th call of given Command only.
 * @param commandType Command type to match
 * @param n Index of the call
 * @param input Command payload to match
 * @param strict Should the payload match strictly (default false, will match if all defined payload properties match)
 */
commandCall<TCmd extends AwsCommand<any, any>,
    TCmdInput extends TCmd extends AwsCommand<infer TIn, any> ? TIn : never,
    TCmdOutput extends TCmd extends AwsCommand<any, infer TOut> ? TOut : never,
>(
    commandType: new (input: TCmdInput) => TCmd,
    n: number,
    input?: Partial<TCmdInput>,
    strict?: boolean,
): SinonSpyCall<[TCmd], Promise<TCmdOutput>>;

Example
I have code like this:
const scanCalls = mock.commandCalls(ScanCommand);
expect(scanCalls).lengthOf(2);
scanCalls[0].calledWithMatch({
	input: { TableName: 'TestTable' },
});
scanCalls[1].calledWithMatch({
	input: { TableName: 'TestTable', ExclusiveStartKey: { id: '2' } },
});
const batchWriteCalls = mock.commandCalls(BatchWriteCommand);
expect(batchWriteCalls).lengthOf(2);
batchWriteCalls[0].calledWithMatch({
	input: {
		RequestItems: {
			TestTable: [{ PutRequest: { Item: { id: '1', _et: 'THING' } } }],
		},
	},
});
batchWriteCalls[1].calledWithMatch({
	input: {
		RequestItems: {
			TestTable: [{ PutRequest: { Item: { id: '3', _et: 'THING' } } }],
		},
	},
});

I'd like to write it like this:
mock.commandCall(ScanCommand, 0).calledWithMatch({ input: { TableName: 'TestTable' } });
mock.commandCall(ScanCommand, 1).calledWithMatch({
	input: { TableName: 'TestTable', ExclusiveStartKey: { id: '2' } },
});
mock.commandCall(BatchWriteCommand, 0).calledWithMatch({
	input: {
		RequestItems: {
			TestTable: [{ PutRequest: { Item: { id: '1', _et: 'THING' } } }],
		},
	},
});
mock.commandCall(BatchWriteCommand, 1).calledWithMatch({
	input: {
		RequestItems: {
			TestTable: [{ PutRequest: { Item: { id: '3', _et: 'THING' } } }],
		},
	},
});

Looks like a nice readability improvement. I would change the order to have the number first:
mock.commandCall(0, ScanCommand)

to be able to pass other arguments just like in commandCalls() (input matcher and strict flag).
It's easy to add re-using existing commandCalls() method, do you want to open a PR?

I would change the order to have the number first

Agreed, that's much nicer.

It's easy to add re-using existing commandCalls() method, do you want to open a PR?

Sure, just one clarification. What should happen if there's no match? The call method here has a return type of SinonSpyCall<T>:
https://github.com/m-radzikowski/aws-sdk-client-mock/blob/3ed37a9404f5385e50dcd157f8fa6962e22452ab/packages/aws-sdk-client-mock/src/awsClientStub.ts#L105-L110
But sinon returns null when there's no matching call:
https://github.com/sinonjs/sinon/blob/372593f5450c5d3d54ff23f09a90e33dbc706b59/lib/sinon/proxy.js#L50
Should I do the same thing here?

Sinon types do not take this into account, so this may, in fact, lead to unexpected null. But it's convenient and it's in tests, not production code. In our case, if you do something like return this.commandCalls(commandType)[i];, it will return undefined and that's okay, I think. The return type should still be SinonSpyCall.

Sounds good to me. Do we want to stay consistent and return null like sinon, or is undefined ok?

On second thought, maybe throwing an error is best? You can check if that makes sense in the implementation, if not, then null would be best.

I can't take credit https://github.com/sinonjs/sinon/blob/372593f5450c5d3d54ff23f09a90e33dbc706b59/lib/sinon/proxy.js#L47


Position and rotation of GroundOverlay

Hi.
I have a question about how to correctly position and rotate a ground overlay at the same time.
The ground overlay in the Android implementation uses Bounds and Bearing to position and rotate a ground overlay. So I tried overlay a building with an image and use two coordinate points (North-West and South-East) as the bounds with a bearing value that was calculated out of those two points.
The bearing itself is correct and the overlay rotates corretly. But using the bounds the ground overlay first positions the image and tries to calculate the width and height of the overlay without respecting the bearing so that the result is a wrong positioned and sized overlay.
This is how it looks like without a bearing:

This is with bearing:

And this is the expected result:

How can I accomplish that?

Anybody got this problem before and could solve it? :/


DebugTuple builder needs more options controlling its behaviour

DebugTuple should have options controlling how to output tuples with 0 and 1 element.
Currently if 0 fields are provided, only the name passed into debug_tuple is printed. Would be nice if there was option to print {name}().
Currently if only 1 field is provided, trailing comma is not printed. There should be an option to add one: (value,).
These could be added as option setters on the DebugTuple builder. E.g. fn empty_tuple(bool) and fn trailing_comma(bool).
That would make debug_tuple actually usable to print tuples.

cc @tsion

This explanation might be redundant, but I see two separate issues:

A named tuple with no elements prints Name rather than Name(). Admittedly, the latter doesn't currently exist in Rust, but it might be added later like struct Name {} was, and the former Name isn't a tuple struct at all. This might be considered an actual bug.
An un-named tuple with 0 or 1 elements prints nothing or (elem) (with no trailing comma), respectively. This is basically a feature request to make debug_tuple work for anonymous tuples.

Tuples already have debug implementations - what external implementations would exist?

@sfackler we’re trying to use in pretty-printing MIR representation for tuple aggregates. That’s at least one use case.


Update code-interpreter.md

Update Assistants API file association method

Replace deprecated file_ids parameter with tool_resources
Update Python and REST API examples to use new structure
Associate files specifically with code interpreter tool
Ensure compatibility with latest Assistants API version

@mrbullwinkle
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Find the prime numbers present in the range .

Could you please have the courtesy of reading the guidelines, giving descriptive PRs and adding comments in the code. Like what bug it fixes. What is the code doing.
Show some respect to the workflow, learn how it is done from some previous merged PRs and then contribute.


config.php belongs to user root by default: Could not auto-encrypt passwords. Error was: "cannot write file".

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Self troubleshooting

[X] I've read the documentation and made sure to follow it.
[X] I've read the troubleshooting first steps guide.

Version
1.8.2
Description
The problem
I'm using the Yourls Docker Image with the following docker-compose file below. When entering the frontend at https://yourls-url/admin/ the following warning is shown in a banner at the top:
Could not auto-encrypt passwords. Error was: "cannot write file".
Troubleshooting
As I've read in https://github.com/YOURLS/YOURLS/wiki/Username-Passwords, this is caused by missing write permissions for the www-data user. I built a custom Dockerfile for yourls to override its ENTRYPOINT and CMD to debug what happens in docker-entrypoint.sh.
It just copies the files from /usr/src/yourls/ to the current directory if there is nothing in it. Then it checks, if the file user/config.php exits. If not (which is the case for the docker container without a volume mount), then the /usr/src/yourls/user/config-docker.php is copied to that location. This causes the destination file (user/config.php) to belong to the root user (as he is executing the docker-entrypoint.sh file), rendering the auto-encryption feature useless.
This happens here: https://github.com/YOURLS/docker/blob/main/docker-entrypoint.sh#L75
If the -a or --preserve=all flag is added to the cp call, the destination file would also belong to www-data, which would fix this issue. Please let me know if I should open a MR on this. I don't know if this is intended, but it is kind of irritating to see this warning every week.
Expectation
Login to the admin dashboard without any errors.
Reproduction steps

Install yourls with the docker-compose file below (without volume mount to /var/www/html/)
Enter the admin frontend
See the warning

Context
My docker-compose file:
version: '3'
services:

  yourls:
    image: yourls:1.8.2
    container_name: yourls
    restart: always
    networks:
      db:
      # my database is in another docker network
      # but i have confirmed that this works as intended
    ports:
      - 8020:80
    # I only persist the plugins folder as everything else is configured by envvars
    volumes:
      - ./plugins:/var/www/html/user/plugins
    environment:
      YOURLS_SITE: <redacted>
      YOURLS_USER: leon
      YOURLS_PASS: ${YOURLS_PASS}
      YOURLS_DB_HOST: mysql.db
      YOURLS_DB_USER: yourls
      YOURLS_DB_PASS: ${YOURLS_DB_PASS}
      YOURLS_DB_NAME: yourls
      YOURLS_PRIVATE: 'TRUE'

networks:
  db:
    external: true

My custom Dockerfile to test the docker-entrypoint.sh file:
FROM yourls:latest
CMD ["tail", "-f", "/dev/null"]

Thanks for opening this issue @MexHigh.
This has been already fixed via https://github.com/YOURLS/docker/commit/4fe274d482243febfbe107557d22857941ab319f
Sadly it is not yet pushed to the Hub (see https://github.com/YOURLS/docker/issues/129 for the why).
While Hub image review is on-going, you can use GHCR (ghcr.io/yourls/yourls:1.8.2).

Ok thank you. It does work now.


Wish Curation List: Search fails when there isn't an assigned sponsor

Summary:
Search fails when wish doesn't have a sponsor
Steps to Reproduce:
Create a wish
Skip adding a sponsor
On the wish list page, search for a phrase
Error displays: TypeError: undefined is not an object (evaluating 'wish.sponsor.name.toLowerCase')
Resolution: Check for null before trying to treat the value as a string
src/wishList/index.js:44
let wishItem = wish.child.name.toLowerCase() + wish.sponsor.name.toLowerCase() + wish.child.hometown.toLowerCase();

Notes:
Although I haven't tried to save a wish without child name or child hometown, those values also might end up as null?

I start to work on it

working on this issue

Closing based on #117 being merged.


Name in text field does not match the active chat

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #desktop-requests.

Doesn’t happen everytime. Might happen when you're in a chat, and receive a notification from another chat. Might more have to do with tapping to go into the other chat, not sure.

Completed in full rewrite