mono eats up CPU on MacOS

Issue Description
Not sure exactly where to put this (here, VSCode or dotnet/runtime). Mono is absolutely killing my CPU randomly. Don't have anything special running (just this app) with 2 tabs open. This issue is not specific to that sample app as I've seen it occur randomly in the past as well.

I have the macos sample which I believe is a proc dump to share offline.
Logs
OmniSharp log

[Logs.txt](https://github.com/OmniSharp/omnisharp-vscode/files/7187660/Logs.txt)

C# log
Does not show anything
Environment information
VSCode version: 1.60.1
C# Extension: 1.23.15
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.100-rc.2.21457.23
 Commit:    7b7148685e
Runtime Environment:
OS Name:     Mac OS X
OS Version:  11.6
OS Platform: Darwin
RID:         osx.11.0-x64
Base Path:   /Users/tanay/dev/aspnetcore/.dotnet/sdk/6.0.100-rc.2.21457.23/
Host (useful for support):
Version: 7.0.0-alpha.1.21457.1
Commit:  7292301fc5
.NET SDKs installed:
6.0.100-preview.3.21160.5 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.3.21168.19 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.4.21216.8 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.5.21264.3 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.7.21324.2 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.7.21356.3 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-preview.7.21364.4 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-rc.1.21401.2 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-rc.1.21415.3 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-rc.2.21424.34 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-rc.2.21430.28 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
6.0.100-rc.2.21457.23 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
7.0.100-alpha.1.21463.2 [/Users/tanay/dev/aspnetcore/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.13 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.14 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-dev [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.3.21158.2 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.3.21168.5 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.4.21215.16 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.5.21263.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.7.21322.5 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.7.21355.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.7.21363.16 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.1.21381.3 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.1.21413.12 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.2.21420.26 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.2.21430.13 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.2.21455.6 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0-alpha.1.21426.33 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0-dev [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.25 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.27 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.13 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.14 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.3.21157.6 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.3.21166.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.3.21167.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.4.21201.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.4.21211.7 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.4.21215.2 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.4.21216.6 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.5.21263.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.6.21302.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21321.15 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21325.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21351.2 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21355.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21360.10 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21363.9 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21372.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21372.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21374.7 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21375.2 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21376.24 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21378.2 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21378.9 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21401.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21401.3 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21405.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21414.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21421.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21423.6 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21424.25 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21430.13 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21457.6 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21466.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.21419.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.21425.4 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.21430.29 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.21457.1 [/Users/tanay/dev/aspnetcore/.dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

azure-account
ms-vscode
0.9.8

csharp
ms-dotnettools
1.23.15

EditorConfig
EditorConfig
0.16.4

jupyter
ms-toolsai
2021.8.2041215044

jupyter-keymap
ms-toolsai
1.0.0

markdown-all-in-one
yzhang
3.4.0

python
ms-python
2021.9.1230869389

vscode-icons
vscode-icons-team
11.6.0

vscode-paste-image
mushan
1.0.4

vscode-pylance
ms-python
2021.9.1

vscode-typescript-tslint-plugin
ms-vscode
1.3.3

Here's the process "sample"
Sample of mono.txt

@TanayParikh Can you try the latest omnisharp build by setting omnisharp.path to latest? I am hoping this unreleased bug fix resolves your problem.

@TanayParikh Can you try the latest omnisharp build by setting omnisharp.path to latest? I am hoping this unreleased bug fix resolves your problem.

Updated config, and will update!

closing out


cast estimate --create requests password

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

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
cast 0.2.0 (a44159a 2023-01-02T00:04:45.597843Z)
What command(s) is the bug in?
cast estimate
Operating System
macOS (Apple Silicon)
Describe the bug
cast estimate --create "$BYTECODE" ... shouldn't prompt password request.

Related comment: https://github.com/foundry-rs/foundry/pull/4038#issuecomment-1379443024

@mds1 @mattsse I've noticed this issue is happening again in the latest versions.

Do you have a command to reproduce this, including which env vars like ETH_FROM or ETH_GAS_PRICE are set? I just tried on the latest with the below command and it doesn't seem to be prompting me for a password:
$ ETH_FROM=0x209884F676AF1b993dE5d453Ee38eFD0082D6cCa ETH_GAS_PRICE=1 cast estimate --create 0x
53000

Yeah that example works the same for me, but I think I found what the problem is, if the address that I set as ETH_FROM is in the path defined by ETH_KEYSTORE it will request for the password. Is that an expected behavior?


#26: Image component with Zoom

-
-

Issue
https://github.com/ripe-tech/ripe-sdk-components-vue/issues/26

Dependencies
--

Decisions
Image component with support for zoom and pivot point. (Component with zoom on hover will be made in another PR).

Animated GIF

Check the prop forwarding and getting rid of the div we discussed


Failed to initialize video producer (Error code 4099)

Hi guys,
I'm trying to connect my camera to Kinesis and I'm facing the following error when I start the kinesis_video_streamer with my config file:
[FATAL] [1550936504.944780017]: [Initialize] Failed to initialize video producer. Error code: 4099
However, I'm able to echo hz the topic publishing the encoded data from my camera using the h264_video_encoder. I used the apt-get installation.
Thanks

Hi Adithya,
Thanks for taking a look to our Kinesis Video node. This looks like the same problem we had on #2. The fix for that bug is not released yet on Apt. Would you mind trying building from source using the branch release-v1?
Thanks

Thanks @juanrh That worked.

Sync completed, the fixed version is available in apt.


feat: Add lint cfg section handling include & exclude patterns

What
Allow the .pint.hcl to support a lint section for statically defining what rule to analyze.
Why
The CI command supports includes and excludes, but forces the concept of delta-to-another-branch.
This several scenarios this simply doesn't work:

When using merged_results_pipelines there is no delta to compare against
Depending on the gitflow used, the target branch isn't always consistent

Additionally, when using linting as part of pre-commit, tracking the paths to the rules in pre-commit config seems like a muddling of responsibilities (the rules paths is a pint configuration, not a pre-commit one)

Associated issue: https://github.com/cloudflare/pint/issues/631

@prymitive curious if you have any thoughts?


feat(wallet): ability to sweep on-chain balance

Description:
Ability to sweep on-chain balance
Motivation and Context:
Address #142
How Has This Been Tested?
Manually
Screenshots:

Types of changes:
Feature
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.01%) to 18.31% when pulling 201b84254e4861dbbcf165780c3f9078e1445d9d on mrfelton:feat/sweep-funds into 29b52164aa81fb8104d278cd3af291f83c887bfb on LN-Zap:next.


Request: Open-CL / Vulkan / Metal support

Is your feature request related to a problem? Please describe.
I have an AMD GPU so I cannot take advantage of the CUDA running.
Describe the solution you'd like
I would love either an Open-CL or a Vulkan running mode (or both) if possible.
Describe alternatives you've considered
I have tried compiling to CUDA and then running a translation layer to Open-CL but the performance isn't what I expected.
Additional context
None.

We do plan porting to other platforms soon. We just want to first have one very solid implementation and CUDA happened to be the best/easiest to do it first.

No worries! Very impressive project, I am looking forward to using it in the future.

Will it be possible to run with zluda? https://github.com/vosen/ZLUDA (CUDA on AMD GPUs)

hoping for metal support (it seemed like the cpu benchmarks were already on mac)

Is your feature request related to a problem? Please describe. I have an AMD GPU so I cannot take advantage of the CUDA running.
Describe the solution you'd like I would love either an Open-CL or a Vulkan running mode (or both) if possible.
Describe alternatives you've considered I have tried compiling to CUDA and then running a translation layer to Open-CL but the performance isn't what I expected.
Additional context None.

I think you mean AMD ROCM. ROCM is AMD's alternative to CUDA for nvidia. vulkan is for older GPUs. so finally it should look like
bend run-cu <file.hvm> # uses the ROCM interpreter (massively parallel)

I think you mean AMD ROCM. ROCM is AMD's alternative to CUDA for nvidia. vulkan is for older GPUs. so finally it should look like bend run-ro <file.hvm> # uses the ROCM interpreter (massively parallel)

You may be mistaken- Vulkan as a standard was released 8 years ago, and modern drivers only coming out in 2019 or later. (https://en.wikipedia.org/wiki/Vulkan)
On ROCm, it is not what we want. ROCm is a software stack specifically for AMD Graphics cards. CUDA, on the other hand is not a software stack. AMD's equivalent to Nvidia's CUDA is indeed OpenCL, or alternatively Vulkan. Vulkan specializes in graphics, where OpenCL is more general.
In any case fwiw OpenCL support would be appreciated, as it also would have the benefit of supporting intel CPUs.

We do plan porting to other platforms soon. We just want to first have one very solid implementation and CUDA happened to be the best/easiest to do it first.

If that is the case, I recommend reading the documentation of HIP Porting Guide as you write your CUDA. Main difference is to account for possible warp size of 64 instead of always assuming 32 and you are almost good to go with ROCm support

Vulkan would be great, in my experience Vulkan and ROCm are about the same actually and Vulkan has much broader support. I think it's the future personally once someone writes a nice wrapper around it that takes the role of CUDA or ROCm instead of being more generalized, I am not sure if it is the case with Vulkan vs CUDA I'd like to know honestly same with Vulkan and OpenVINO or whatever it is. But if Vulkan is so good at least on AMD, seems like no brainier just to implement that, not sure what the benefits of ROCm would be other than ease of development perhaps please correct me

This request belongs to HVM.

I have an AMD gpu, so for the moment using the CUDA interpreter is off the table, but would the C interpreter still be usable?

...and Metal? 🥹

I cannot wait for Metal support! 😇

I think you mean AMD ROCM. ROCM is AMD's alternative to CUDA for nvidia. vulkan is for older GPUs. so finally it should look like bend run-ro <file.hvm> # uses the ROCM interpreter (massively parallel)

You may be mistaken- Vulkan as a standard was released 8 years ago, and modern drivers only coming out in 2019 or later. (https://en.wikipedia.org/wiki/Vulkan)
On ROCm, it is not what we want. ROCm is a software stack specifically for AMD Graphics cards. CUDA, on the other hand is not a software stack. AMD's equivalent to Nvidia's CUDA is indeed OpenCL, or alternatively Vulkan. Vulkan specializes in graphics, where OpenCL is more general.
In any case fwiw OpenCL support would be appreciated, as it also would have the benefit of supporting intel GPUs.

AMD vulkan (derived from mantle) api, is not limited to AMD GPUs, one can use it with NVIDIA's Nsight suite of development tools where as nvidia CUDA is designed specifically for nvidia GPUs, just like ROCM was designed with AMD GPUs  in mind. So if you want a low level access to the gpu which isn't specifically designed with any gpu vendor in mind, you would choose vulkan api, if you want to specifically target AMD GPUs (especially the newer ones) ROCM is a better choice. However for this project I do support you prioritizing vulkan api over others because that would not only give a low level access to the GPU but can supports all 3 vendors. Intel does list https://www.intel.com/content/www/us/en/support/articles/000005524/graphics.html vulkan api as a supported api for their GPUs.

I think you mean AMD ROCM. ROCM is AMD's alternative to CUDA for nvidia. vulkan is for older GPUs. so finally it should look like bend run-ro <file.hvm> # uses the ROCM interpreter (massively parallel)

You may be mistaken- Vulkan as a standard was released 8 years ago, and modern drivers only coming out in 2019 or later. (https://en.wikipedia.org/wiki/Vulkan)
On ROCm, it is not what we want. ROCm is a software stack specifically for AMD Graphics cards. CUDA, on the other hand is not a software stack. AMD's equivalent to Nvidia's CUDA is indeed OpenCL, or alternatively Vulkan. Vulkan specializes in graphics, where OpenCL is more general.
In any case fwiw OpenCL support would be appreciated, as it also would have the benefit of supporting intel GPUs.

AMD vulkan (derived from mantle) api, is not limited to AMD GPUs, one can use it with NVIDIA's Nsight suite of development tools where as nvidia CUDA is designed specifically for nvidia GPUs, just like ROCM was designed with AMD GPUs in mind. So if you want a low level access to the gpu which isn't specifically designed with any gpu vendor in mind, you would choose vulkan api, if you want to specifically target AMD GPUs (especially the newer ones) ROCM is a better choice. However for this project I do support you prioritizing vulkan api over others because that would not only give a low level access to the GPU but it supports all 3 vendors. Intel does list https://www.intel.com/content/www/us/en/support/articles/000005524/graphics.html vulkan api as a supported api for their GPUs.
Vendor 	OpenCL 	Vulkan API 	ROCM 	CUDA
Intel 	Yes 	Yes 	No 	No
Nvidia 	Yes 	Yes 	No 	Yes
AMD 	Yes 	Yes 	Yes 	No
Technology 	Open Source
ROCm 	Yes
CUDA 	No
Vulkan API 	Yes
OpenCL 	Yes

I was going to say I thought Vulkan would be the best option not this ROCm but what do I know!

I think that things like support for different runtimes would benefit from becoming a tracking issue. OpenCL is probably the best next step, as it has the best support across platforms. While vulcan has a compute element, it is notoriously a pain to write, and it seems slower than OpenCL from what I can find.

The llama.cpp project has 2 implementations for running AI with Vulkan... not as fast as CUDA but very much faster than CPU. Im not that smart but maybe this links help
https://kompute.cc/

Intel specific support would also be great (when you do look to expand to different platforms)


Rate limiters "leaks" calls

Testing a (single-threaded) script of mine I got blacklisted( 2 times!!)

Did not make any call from the web interface. Just run the program and went to sleep. (No API calls in the previous hours either).
All the requests went through the baseriotapi.
I don't think the problem is related to https://github.com/robrua/cassiopeia/pull/14 , as my program is not multi thread and thus there can not happen the race condition.
At a first glance I can not spot the problem, but I'm not really an export in python threading.

We have been using it for a month straight without a single problem. You are going to have to dig into what is going on in your case more seriously before we spend hours looking for a problem that may not exist.

Suggestions about how to test it?
I actually tested the rates classes quite extensively, but didn't find
strange behaviours.
Built a couple of reproducible test cases, but found out a problem in them,
so I didn't post them.
May i ask you what is your usage pattern? Do you do some calls on user
request or are you always at the limit?
How do you handle urllib exceptions?
Have you experienced 503 responses, 404 responses on valid URLs(later
tasted on the browser), gaiaerror [errno -2]?
It might be about how I handle exceptions.
All of this could be useful in finding out the problem!
Il 27/set/2015 07:33, "jjmaldonis"<EMAIL_ADDRESS>ha scritto:

We have been using it for a month straight without a single problem. You
are going to have to dig into what is going on in your case more seriously
before we spend hours looking for a problem that may not exist.
—
Reply to this email directly or view it on GitHub
https://github.com/robrua/cassiopeia/issues/16#issuecomment-143521096.

Suggestions about how to test it?

I think you have two options here. One would be to build your own rate limiter and run it on top of the baseriotapi one. The baseriotapi rate limiter should be checked first, and if the request is allowed then the code should then check your rate limiter. If you find differences between the two then there is a problem with one of them.  Another option would be to take the numbers that you are inputing into the baseriotapi rate limiter (and getting blacklisted for) and multiply those numbers by 0.5. Use the lower numbers for testing, and run a quick calculation to see if the calls are actually goes over the new rate limits.

I actually tested the rates classes quite extensively, but didn't find  strange behaviours.  Built a couple of reproducible test cases, but found out a problem in them, so I didn't post them.

So you tested the rates classes extensively, but couldn't find a problem and you still posted an issue? This was why I said in my earlier comment that we are not going to spend hours looking for a problem that may not exist.  We have to be able to reproduce the problem for something like this.

May i ask you what is your usage pattern? Do you do some calls on user request or are you always at the limit?  How do you handle urllib exceptions?  Have you experienced 503 responses, 404  responses on valid URLs(later tasted on the browser), gaiaerror [errno -2]?

We are always at the rate limit.  In general for handing exceptions, if we can an error code that can be retried then we retry it once.  If it fails again we just move on.

It might be about how I handle exceptions.

This would be my bet as well but I haven't seen your code.  Are you waiting for long enough before retrying?  If you are constantly making calls then sometimes you will have to wait for that 10-minute rate limit and not just the 10-second one.  Maybe it's a bug in cass, or maybe it's a bug in your code.  If you can find a way to fully reproduce (and show us that you have reproduced it) it then we are happy to take a look.

So you tested the rates classes extensively, but couldn't find a problem

I tested the rate limiters. The look like they work as expected with a function which does not throw exceptions.
Here some of the code
from cassiopeia.type.api.rates import MultiRateLimiter
import itertools
import datetime
l = MultiRateLimiter((10,0.1),(500, 6))
q = itertools.count()
def foo(c): next(c)
c=datetime.datetime.now()
for i in range(10000):
 l.call(foo, q)
l.wait()
t=datetime.datetime.now()
print(next(q),"calls in",(t-c).total_seconds(),". Expected 10000 in at least 120s")

This does not rule out every possible bug.

Another option would be to take the numbers that you are inputing into the baseriotapi rate limiter (and getting blacklisted for) and multiply those numbers by 0.5.

My last blacklisting happened with baseriotapi.set_rate_limits((10, 12), (490, 600)).
I'm now running with (5,10),(250,600). I'll write it here if it exceeds the limit.

We are always at the rate limit. In general for handing exceptions, if we get an error code that can be retried then we retry it once. If it fails again we just move on.

Whatever error I get I ignore it, sleep for a few seconds (in case the network had problems and went down for a few moments, or you temporarily disconnected from wifi) and then continue.

So you tested the rates classes extensively, but couldn't find a problem and you still posted an issue?

The API states that it limits the calls. I call only from the API. The limit is exceeded. To me, it looks like the library is "not fulfilling" the "contract". It might be a problem of the library, it might be a problem of my code. If it's the library, would be nice to fix it. If it's my code, then we should document that some uses actually exceed the rate limit. That's why I opened an issue anyways.

If you can find a way to fully reproduce (and show us that you have reproduced it) it then we are happy to take a look.
Right now, on my machine, the behaviour was 100% reproducible. Testing now halving the calls to test if that happens again. If it does, I'll load the code on github and link it here. I planned to open source it anyways, so it's not a problem. The usage on your part to reproduce will be really easy: just start a script

That happened with
baseriotapi.set_rate_limits((5, 10), (250, 600))
It shouldn't do more than 250 calls/10mins

I haven't tested the rate classes particularly extensively - I wouldn't discount the possibility that there's a bug in them, but they seem to behave as intended in the testing I have done.
I haven't been blacklisted ever under this rate limiting running @ full dev key limit (10,10), (500,600).
I don't really have a clue why you'd end up with call graph numbers over 250/7mins with that limit though. One thing worth noting is that I don't fully understand how Riot's rate limiting works. It doesn't sync 100% with the rate limiter (nor with the Java version, which is much more thoroughly tested and I'm confident is very accurate), so occasionally the lib will receive a 429 if they get unsynced and will resync itself. Thing is, if this happens you're going to get fewer calls than your limit, so I'm not sure how you're ending up with more here.
I'd try tracking your call count client-side and seeing if it agrees with Riot's numbers.
Is there any client-side error you're running in to or is it just blacklisting + unexpectedly high call counts?
I'm interested to see the code you're using as well - the error handling might have something to do with it, though it sounds like what you're doing above shouldn't cause problems.
Let me know what you find out - there could be a bug but I don't really have anything to go off of to find it thus far.

Well, I guess the bars are off a few minutes. I mean that each bar represents 10mins time slots, not only 7 (even if they look like. It's probably to distinguish them. If i plot a line it is consistent with that).
I thought it could be my exception handling code, but after removing it the behaviour is the same.
I'll load the code and post the link here, as well as log the api calls

Here is the code.
https://github.com/MakersF/RiotScraper
call main.py passing the path to this json.
http://www.pasteall.org/61362/javascript
Put in the same directory of the json above this json file (it's just to have more seed players)
http://www.pasteall.org/61363/javascript
You need to set your api key and the destination directory for the stored files (.gz files. 5000 matches weight about 3mb so you won't have problems,as you'll download less than 100)
If you want to set a rate limiter different from the default one, I'd suggest to put it at line 15.
Let me know if you encounter my problems

Here is the log of the requests
http://www.pasteall.org/61365/text
Here is the graph

Looks like the requests are actually correct.
Tested it 2 times..
So is it a problem on riot part?

Hard to say - my guess is that the API call tracking may not be super precise. It's also possible that Cass is sending a few extra requests - 429s do occasionally come in when the rate limiter gets desynced from Riot's, and you'll end up w/a few more calls.
Keep me updated if you find out something else about this - I'm worried if people are getting blacklisted while using it, but if it's just a few extra calls due to limiter desync I don't think there's really a way to avoid those, since you can't really sync 100% reliably w/o a vector clock or something.
For now I'm not going to make any changes. If you find out what the problem you were having was and it's in Cass let me know and we can iron it out.

I agree with you. It looks like we can't do much to mitigate the issue (I'll run with a stricter limiter in future just to avoid problems).
I'll probably open a thread asking more info on the developer site, i'll link any new here!

One note for running a strict limit - I give cass my full limit to work with and haven't ever been blacklisted @ full utilization. If you need to use a stricter limit to not get blacklisted there's definitely a problem in cass

I measured it several time, cassiopeia is doing the exact number of calls!
I have no idea why riot counts more calls. I just can't risk being blacklisted permanently. Not a big deal to run at 490 instead of 500

Alrighty, sounds good

So I got blacklisted 449 times in the last 6 hours, despite setting the right rate limits.
I am aware that it is possible that Cass is sending a few extra requests, but it seems that there is some kind of issue. Not sure if it is an error in the code or just a too optimistic calculation.
Isn't riot returning some additional headers with a 429 response and sends the remaining seconds before the rate limit resets? I know Cass will retry after the given time so ... no idea why the limit is exceeded.
Is there any news?

Did you get actually blacklisted or did you juat go over the limit?
I got over the limit 13000 times in the last week according to my dashboad,
but I never got blacklisted.
I checked extensively and Cassiopeia is correctly throttling the requests.

But be sure to make requests only through Cassiopeia. If you are doing some
manually or you have 2 different processes that might cause the problem.
To wrap up, you go over the limit when you get a 429 reply, not when the
dashboard says so. In the last week I got it only once and that's when I
made a manual request while my process was running
Il 20/nov/2015 07:37 AM, "Seb Bro"<EMAIL_ADDRESS>ha scritto:

So I got blacklisted 449 times in the last 6 hours, despite setting the
right rate limits.
I am aware that it is possible that Cass is sending a few extra requests,
but it seems that there is some kind of issue. Not sure if it is an error
in the code or just a too optimistic calculation.
Isn't riot returning some additional headers with a 429 response and sends
the remaining seconds before the rate limit resets? I know Cass will retry
after the given time so ... no idea why the limit is exceeded.
Is there any news?
—
Reply to this email directly or view it on GitHub
https://github.com/robrua/cassiopeia/issues/16#issuecomment-158234603.

The was a bug added in during a recent commit. It's been fixed.

@MakersF I didn't got blacklisted, just got the messages on my board. I did no manual requests and was wondering why the limit could be exceeded. Seems to me that riot is inconsistent with the return of 429 responses, so I agree with you on that one

So fear not and just ignore the messages on your board, they are useless.
But in general I wouldn't advice to break given limits from 'business' partners. It is far more valuable to consistently query the API then retrieving more queries than the limit for a short time.

@robrua I will test the new version and report back if the limit is exceeded, thanks!

So if you both are getting messages on your board, but not receiving 429, I agree that there is something inconsistent going on on Riot's end. Do one of you guys want to make a bug post on the forums about it? I have a feeling they may not be aware of this.

Even with the recent changes from @robrua I exceeded the limit "hundreds of times" according to my dashboard. The chart showed that I made around 560 calls per 10min twice.
Do Cass has some kind of debug mode where we can log all calls (+ timestamp, endpoint, request codes, current rate limit, etc.)? Since riot gives a 10min time frame and logs the call count we can compare and check things out.

@MakersF Your api key is compromised, since you posted the log above!

You can modify request.py. log alla the calls with the time, and check for
yourself. If you look into the closed issues, you will find mine stating
the same problem that dashboard is reporting over request. The point is
that as long as the server is not replying you with 429, you are fine.
Il 21/nov/2015 20:23, "Seb Bro"<EMAIL_ADDRESS>ha scritto:

Even with the recent changes from @robrua https://github.com/robrua I
exceeded the limit "hundreds of times" according to my dashboard. The chart
showed that I made around 560 calls per 10min twice.
Do Cass has some kind of debug mode where we can log all calls (+
timestamp, endpoint, request codes, current rate limit, etc.)? Since riot
gives a 10min time frame and logs the call count we can compare and check
things out.
—
Reply to this email directly or view it on GitHub
https://github.com/robrua/cassiopeia/issues/16#issuecomment-158634867.

@sbrodehl Thank you for notifying me, I changed my key


Stops xss on user index page by modifying the name attributte

Applies Html entitities on the name attribute to stop xss on the User List page

Where does this occur? Twig should autoescape values by default

The list probably needs to escape these values.

Fixed in the core https://github.com/octobercms/october/commit/320f7bfb1a8112759091d3518987ed5d0579f6a3


fix use of deprecated std.c.stdlib

see docopt/docopt.d#5. trivial fix.
Passes tests on Linux with dmd v2.070.0 and on OSX with dmd v2.069.2.

Any chance this can be pulled into a release?


Proposal: use make-disk-image.nix instead of sd-image.nix

I would like to propose a change regarding the image creation process.
TLDR: what do you think about switching from sd-image.nix to make-disk-image.nix?
Currently, this repository uses a variant of sd-image.nix. While this approach works well for generating images which boot on real hardware, I believe there’s an opportunity to better align with the NixOS testing infrastructure.
The NixOS testing framework uses qemu-vm.nix, which depends on make-disk-image.nix which is designed for generating disk images for use in virtualized environments like QEMU, it also happens to do quite well at making disk images which boot on physical x86_64 hardware. Unfortunately make-disk-image.nix lacks the same options that sd-image.nix provides for installing the necessary files to boot on a Raspberry Pi.
I made a module rcambrj/nix-pi-loader which shows that make-disk-image.nix can make something which boots on Raspberry Pis 3 and 4. It implements a variant copy of boot.loader.generic-extlinux-compatible where the system.build.installBootLoader functionality is expanded to permit specifying those extra files needed for booting a Raspberry Pi. I must admit, I did the bulk of this work before discovering the nix-community/raspberry-pi-nix repository, so I used nixpkgs' sd-image.nix as my main inspiration. It currently supports Raspberry Pi 3 & 4 only.
My proposal is to modify nix-community/raspberry-pi-nix to use make-disk-image.nix for image creation. As this module does considerably more than my ~waste of time~ proof of concept mentioned above, aside from using a modified boot.loader.generic-extlinux-compatible, it may also be necessary to make modifications to make-disk-image.nix to support mounting the boot partition in the right place (/boot/firmware instead of /boot), although I'm not yet sure whether this is necessary during the image creation phase.
The README in this repository's root suggests that there is some CI-testing already happening against the example, but I couldn't find anything in the source code which directed me to it (https://github.com/nix-community/raspberry-pi-nix/issues/85). Regardless, this proposal would be a step towards making automated validation of Raspberry Pi images (including bootloader, not using direct boot) more accessible to the public - ideally using one of QEMU's machine profiles, although I believe that qemu-vm.nix would also require some modifications to support selecting these machine profiles.
I don't see a reason why these modifications can't be made in a way where they can be eventually upstreamed, improving the wider ecosystem in the long term.
I would greatly appreciate feedback, suggestions and criticism from the maintainers of this repository on this proposal. To be clear, I'm not asking for you to work on this, but rather seeking either approvals or any reasons why I shouldn't sink some time into this myself.
Thanks for taking the time to read my wall of text.

Hey @rcambrj! I would love to move in this direction, so I'm excited to collaborate on this.
Some useful context: this repository was created as I attempted to get nixos raspberry pi builds that "just work". I have no motivation to do this other than I think it's a fun way to spend some of my spare time. In my efforts to accomplish this, I repeatedly ran into obstacles resulting from device tree differences and whatnot, which led me to the current design. So, it evolved as I learned more about the raspberry pi boot process, the linux boot process, and nixos.
In light of the above, it's no surprise that the current design isn't what I would have done if I started over. The sd image generation was just hacked together and left alone mostly. So, I'm happy to move to make-disk-image. I will likely merge https://github.com/nix-community/raspberry-pi-nix/pull/79 soon, which separates the image generation bits and allows for a normal nixos install process. I simply did not know about system.build.installBootLoader until recently, so I have been installing the boot loader in non-standard ways (activation scripts originally, and now a systemd script). So, I would like to switch to using system.build.installBootLoader.


Using CognitoSyncManager in a browser

The docs seem to indicate that all I need to do is the following, but I receive an error:

Include AWS SDK
Include amazon-cognito-js via

Apologies for the issue, can you pull the latest code on github and retry?

Thanks for the quick response.  That seems to have improved the situation slightly.  The error about require is gone, but now I receive a new error.  I used the amazon-cognito.min.js file directly from the dist/ directory:
amazon-cognito.min.js:35
Uncaught TypeError: Cannot read property 'params' of null
    at new AWS.CognitoSyncManager (amazon-cognito.min.js:35)
    at test.html:7

Yes, for that you would have to follow steps 2 and 3 from the README.

Sorry about that, I forgot to switch away from my minimal example back to my normal code.  It appears to be working now.  Thanks!


Fix double amount in payment record

This code was trying to avoid an edge case where multiple outputs in the
same transaction paid the payment address but this should already have
been accounted for when the record was saved in the db and the values
already aggregated. Thus this was causing incorrect amounts to be saved.
closes #1499

Coverage increased (+0.008%) to 39.482% when pulling 35d6fba97d03173ee7cc79a47498e34e161812d6 on amountfix into 188a334ba7307c93aaae20e0e84efd2231fa73d6 on ethereum-master.

I spent some time trying to figure out how best to test it and couldn't really come up with anything since it makes a call to the wallet and we don't yet have any kind of mock wallet capability. So the tests I was trying to write would fail when asking the wallet for how many confirmations the transaction had.


Redis Authentication Support

This updates Conductor to use changes in the dyno library to connect to Redis instances requiring password authentication.  It does so by parsing an optional 4th colon-delimited string from workflow.dynomite.cluster.hosts to set the password on the underlying Jedis client. (shown below)
I'm looking for any feedback to support getting this change merged.

See Netflix/dyno#244 for the underlying changes, included as transitive dependency with dyno-queues:2.0.0-rc5 upgrade.
https://github.com/Netflix/dyno/blob/v1.6.5/dyno-jedis/src/main/java/com/netflix/dyno/jedis/JedisConnectionFactory.java#L80-L93

@davidwadden Looks good. Would you mind fixing the codecov checks please, so that I can go ahead and merge. Current set-up doesn't allow me to merge.

@davidwadden Thanks for your contribution.
Please also update the ReadMe at https://github.com/Netflix/conductor/tree/master/server with an example.


Review Ticket Accounts and Logins

[ ] CB Create Task Coding requirements documented
[ ] Runtime of Code(with comments) on Replit/Intellij

Accounts and Logins Challenges/Hacks ( 3 Points - Pair/Trio)

[ ] Analysis: the csp.nighthawkcodingsociety.com implementation is for educational purposes.  It has some obvious flaws in its security.   Discuss some of the flaws that you see in its security as implemented.
[ ] Add Phone Number to Sign Up / Authorization screen
[ ] Add logout to CRUD screen
[ ] Add login_required to another portion of the project

Individual: CB Create Task completed and documented on GH Pages: 2/2

[ ]  CB Create Task Coding requirements documented
[ ] Runtime of Code(with comments) on Replit/Intellij

Accounts and Logins Challenges/Hacks ( 3 Points - Pair/Trio)

[ ] Analysis: the csp.nighthawkcodingsociety.com implementation is for educational purposes. It has some obvious flaws in its security. Discuss some of the flaws that you see in its security as implemented.
[ ] Add Phone Number to Sign Up / Authorization screen
[ ] Add logout to CRUD screen
[ ] Add login_required to another portion of the project


A problem occurred running the server launcher. (Log)

Hi there, I am having a issue trying to start up with TickDynamic using the latest KCauldron, Here is my log for early startup. KCauldron is a 1.7.10 fork of Cauldron that supports newer versions of Forge, It can be found here: http://tcpr.ca/cauldron.
Here is my early startup log, hope it may help :smile:
http://pastebin.com/ne28xd78 *New Log

This has been reported many times already but it seems it might be safe to say this mod is pretty much abandoned.

Hello,
Thank you for the link and log, as that will help when implementing support.
However, currently I don't have time to update this mod. I will take a look at it at a later date when I have time.
I will however upload the source for anyone who are willing to take a shot at it.

If you put up the source expect it to be fixed within days.

The mod is quite complex as I do bytecode modifications, and implemented my own "language" for writing patches. =P
The code is up now. Master is the latest 0.1.x version, while my work on 0.2.x is in it's own branch.

For those wanting KCauldron support @thomas15v has converted this mod to mixins and as far as our testing goes it is currently working.
https://github.com/ShadowNode/TickDynamic/releases

Calm down @Katelyn-SN XD. I just got it working and I am almost sure that we are overwriting some cauldron features. I still need to filter the mixins better and use @Inject  stuff instead of @overwrite.

Color me impressed xD Tho it is painful watching my patcher being removed :p
@thomas15v I am however curious about how well Mixins handle collisions with other coremods? Or event just small updates that change the name of structure slightly.
I know I had to take into account CoFHCore patching the exact same spot in World, and I had written my patcher to be able to.
Also, in my work on 0.2 I was moving away form patching World so much, and instead was just going to replace the TileEntity and Entity list with my own custom ArrayList, as some other mods have done. Might want to look into that to :)
Anyway, Good work =)

Mixins still has issues with other coremods sadly enough. The "update" I made will probably be incompatible with other mods. The way to solve that is using @injects.
I don't think mixins supports changing the type field. But I think i might change the tick skipping way with breaking the loop. Changing loops with mixins simply doesn't work yet :cry:.

@thomas15v  I could help with mixins, however I didn't find any documentation or example code using @Inject, when I need to patch I still use forge class transformers and I feel like I'm doing the old and time-hungry way just because I couldn't understand how to inject code without overwritting the entire method using mixin. Do you know any example code? If you share it I might help you in few days, I can work with ASM :P


Delete Messages Individually

Adds a trashcan icon for each message, allowing the message owner to delete unwanted messages from the client and database.
@gavinr @JevinAnderson @jwasil @BrianBunker Please review and approve changes to the chat app.

@thollingsheadesri, visually it looks great to me, but I haven't had a chance to deploy it on my own and test it out at a deeper level.  Nice work!

@thollingsheadesri building upon our delete icon size discussion for 18px, here is an example of what a possible hover state color would look like in both tagged and your own messages.  In this case I am using the pink color #f22472 that appears in the left border of a tagged message in lets-chat.  Thoughts, anyone?  Extremely nitpicky, I know...

you'll need to check message ownership on the server too

@jwasil The delete icon size has been set to 18px, and hover color to #f22472. Let me know what you think

@thollingsheadesri thanks, looks good!  :shipit:


Support for remote card tap is missing

Will need technology to catch up with this first to allow remote card tap :)

:(

haha :)


U5 updates

Updates from the review on the closed branch which were previously missed! https://github.com/huggingface/audio-transformers-course/pull/26#pullrequestreview-1486427400

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Fix case of GitHub

Changed Github to GitHub
refs https://github.com/bitcoin/bitcoin/pull/20639

Afaik the scripts are not currently broken. The change seems somewhat extractive as it adds little to no value but requests reviewer and maintainer attention.


LIKE ... ESCAPE <escape_char> should accept an empty string

Currently, we use Option<char> to represent escape_char, which cannot represent three case. We should introduce a new enum to represent that.
enum EscapeChar {
    NotSpecified,
    Empty,
    Escape(char),
}

to pass the case:
https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-LIKE:~:text=it's also possible to select no escape character by writing escape ''

I can help to implement that.

Another option is create a newtype EscapeChar to represent '' or a single character, and store an Option<EscapeChar> in the AST.

I'd like to port https://github.com/risingwavelabs/risingwave/pull/15867/commits/b05cb06719d668ce86a4eb5882e9f284b3c03251 back to the repo, if the fix is reasonable.

Seems resonable to me


Set HTTP keepalive timeouts greater than ELB idle timeouts

Per guidance here: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html
Default was 5 seconds, going to set ELB idle timeout to 60 seconds.

Sorry, going to set the ELB timeout to 60s, and the node app HTTP keepalive to 75s, in line with the recommendations in the AWS link above.


store: Remove adjacency requirement from Store.Append

Draft impl https://github.com/celestiaorg/go-header/pull/186


airflow ingestion dags do not expose "OM_HOST_PORT" for configuration via env variables

Affected module
Ingestion framework
It affects the connection between the openmetadata/ingestion and the server
Describe the bug
The ingestion/examples/airflow/dags/airflow_docker_operator.py and the rest of the dags inside do not expose the configuration of the OM host and port via the env variable like the openmetadata.yaml file does in the configuration of the OM server.
The dag in the examples hardcodes the hostPort: http://localhost:8585/api whereas my architecture has OM server on a different IP interface.

To Reproduce
Deploy OM server "docker.getcollate.io/openmetadata/server:1.1.4" and the ingestion framework "docker.getcollate.io/openmetadata/ingestion:1.1.4" separately without docker-compose. Attach the server and the ingestion on a different interface than localhost or <IP_ADDRESS>
I am deploying this in Nomad Hashicorp and the interface is generally that of the private IP of my cloud VM.
Expected behavior
I would expect the ingestion framework to be able to connect to the OM server. I get instead this error

Version:

OS: ubuntu
Python version: 3.9
OpenMetadata version: 1.1.4
OpenMetadata Ingestion package version: 1.1.4 "docker.getcollate.io/openmetadata/ingestion:1.1.4"

Additional context
Add any other context about the problem here.

This is resolved the current implementation on version 1.1.4 uses the env variable "OM_URI" to expose the host that Airflow ingestion uses to connect to the openmetadata server


Deleting All Boards

How can i delete all boards?

jKanban works directly with DOM. In theory, if you remove de DOM elements and assign null to your jkanban instance should work.
We are expecting to develop a destroy api soon. Pull requests are welcome. 😉

jKanban works directly with DOM. In theory, if you remove de DOM elements and assign null to your jkanban instance should work.
We are expecting to develop a destroy api soon. Pull requests are welcome. 😉

I will temporarily continue with this method until the API is ready, thanks :)


Markdown import

With this PR, we now complete the markdown import code including:

importing paragraph markdown
importing text markdown like links and BIUS
importing codeblocks
unit tests for much of the above.

Was using this markdown content to test, looks like links within styled content are not imported properly


VM has reported a failure when processing extension 'setup_moodle'

I got an error during scaleSetTemplate deployment, can anyone help on that please?
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "VM has reported a failure when processing extension 'setup_moodle'
moodle.docx
. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\nHit:1

Hi did you solved this issue?


Selection in command palette and quick switcher not highlighted in dark mode

Thanks for a fantastic theme - my favorite Obsidian them 😄
Steps to reproduce this bug
Open the command palette or quick switcher in dark mode
Actual behaviour
The active selection is not highlighted:

Expected behaviour
The active selection is highlighted:

Light mode does work, but the contrast is very slight so it's hard to see.

oops - wrong repo!


chore(main): release 0.5.7

:robot: I have created a release beep boop
0.5.7 (2024-12-20)
Documentation

add example for loading and processing a spectral image set (2564e88)
add example script for loading and using SpectralImage (24d5a4b)
add examples for loading and processing spectral images (3261665)
enhance examples for loading and processing spectral images (09600b0)
update data directory paths in example scripts and add transformations examples (d2e924f)
update introduction.md with correct Zenodo link and improve formatting (15349d6)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.5.7
:sunflower:


[Bug]: Get meaningless output when run long context inference of Qwen2.5 model with vllm>=0.6.3

Your current environment

The output of `python collect_env.py`
Your output of `python collect_env.py` here

Model Input Dumps
models: Qwen2.5-Coder-7B-Instcut, Qwen2.5-7B-Instruct
vllm: 0.6.3
input token: >8000 tokens
🐛 Describe the bug
I have tested vllm 0.6.0~0.6.2, 0.5.5, all old versions are just ok.
So this bug was introduced since 0.6.3
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

same here, used qwen2.5-72b-instruct-awq and 10000 tokens input, the output is garbage

downgraded to vllm 0.6.2 and it's much better

seems 0.6.4 has fixed


Fixed README.md styling

Added a space after all occurrences of ### where there wasn't already one.

@davidaylaian Thank you

@despo no problem


I think watcherCache always generates UpdateTypeKVNew during resync

Looking for the source of a ref-counting issue in Felix.  If I'm reading the code correctly, this bit of code:
// Start the sync by Listing the current resources.
l, err := wc.client.List(context.Background(), wc.resourceType.ListInterface, "")
if err != nil {
	// Failed to perform the list.  Pause briefly (so we don't tight loop) and retry.
	wc.logger.WithError(err).Info("Failed to perform list of current data during resync")
	time.Sleep(ListRetryInterval)
	continue
}
// Move the current resources over to the oldResources
wc.oldResources = wc.resources
wc.resources = make(map[string]cacheEntry, 0)

// Send updates for each of the resources we listed - this will revalidate entries in
// the oldResources map.
for _, kvp := range l.KVPairs {
	wc.handleWatchListEvent(kvp)
}

does a list, which will return KVPairs for all resources in the datastore
zeros out wc.resources
calls though to handleWatchListEvent, which checks wc.resources to tell whether the value is an update or a new key; that test will always return "new" because it was zeroed out above.

Expected Behavior
If a key has previously been sent through to felix then the only valid values for the update type are UpdateTypeKVUpdated or UpdateTypeKVDeleted.
Current Behavior
During resync, we always send UpdateTypeKVNew, if I understand the code correctly.
Possible Solution
Check in both the current and old resources map to determine if the key is new.
Context

Felix uses the update type to reference count the number of endpoints for metrics reporting.
Your Environment

libcalico-go version: 80853cf81b74dbde7b6c55dae0d52cfe8e0001c9

Hmm, actually, maybe that case is covered by markAsValid() so probably a red herring.


"item #104 Explicitly define the destination for test output

Added:

Variable for the test results file path in config.properties
Access to above mentioned variable through Config.java
Initialize clears results file in Driver.java
Added method; writeProcessOutputToFile in Driver.java
Calling method above during runTestSuites in Driver.java
Removed line; processBuilder.inheritIO(); in WindowsProcessLauncher.java in order to recieve output
Added exception, tests and messages pertaining to the new changes

Other Info:

Only tested for Windows, as that is the only environment I have available
processBuilder.inheritIO(); line should probably be removed in LinuxProcessLauncher.java, but as I can't test it, I have not made this change.

Hi, I'm finally getting some time to work on Cobol Check again. Let me try the changes on Linux and see if there's anything more we need to change for that environment. Also, do you have authorization to update the documentation on the project wiki? The new configuration setting should be added here: https://github.com/openmainframeproject/cobol-check/wiki/Configuration-Settings.

Dave - I do not have access to make changes in the wiki

Hi Rune/David, can you please resolve the conflicts? Thanks!


will this work if they cut networks from international access? (intranet)

@amihos they never cut out the internet access to outside of the country completely (e.g. data centers will still have access, so if you have a server in one of the data centers, you'll have access), however, in case they do, no this won't work. I'm afraid in that scenario, no solution works unless it is something like Starlink.

As long as authority doesn't use the domain whitelist mode, theoretically v2ray like method is the most advanced way to bypass the block, it encrypts the internet traffic to the real https data, which is impossible to censor.
Invented by Chinese, who face the most strict internet censorship in the planet, of course except North Korea which is using the LAN

I need to explain my question. My point is: is it enough to only set dns record and ask arvan cloud to resolve the domain? Will arvan cloud not realize that this is being used for a vpn purpose? What is the difference between using this method to first set a local Iran vps and then create a tunnel to a foreign vps?

1.What is needed actually is the CDN service of Arvancloud
CDN service is used for

hide the real IP of the proxy server
suppose the server IP is blocked in Iran, CDN service could make it accessible

The internet traffic is encrypted to real https traffic, your behavior in front of the censorship should be like: you are browsing a innocent website, comparing to traditional VPN protocols, it's harder to detect and block because there are countless https connections on the internet.
(FreeWorld) <=====> VPS outside of Iran            <==HTTPS==>  CDN server network <==HTTPS==> USER
(FreeWorld) <=====> VPN server outside of Iran        <===Traditional VPN protocols ====>               USER
Of course they can always find you if they want, what matters is the cost and your CDN provider is reliable or not, in China they use Cloudflare, another CDN provider who is not so close to Chinese authorities, since Iran government is actually using the old version of Chinese censorship techniques, it's perfect to using Chinese anti-censor techniques to confront it


[OFF] - Returning to work.

Returning to work.
Sorry for the absence.
I had to get away due to health problems related to SARS-COV-2. (COVID-19).
However, now I am 100% recovered! 👍
=========================
Taking advantage, I was researching the new versions of .NET and other technologies for application development.
I found the .NET 6 + MAUI alternatives because they are multiplatforms.

Welcome back! no worries. Glad you're doing better. I will definitely need to look into those. Just getting back myself, so great timing. Not to mention, seems we've got some new contributors :wave: @Brycey92 @jmynes . Good things on the horizon my friend.
 I don't think it used to be like that.. so I might have to dig through old code again to see where I goofed.


Remove unused utility classes

These are public classes but under the org.codehaus.groovy.util package so am not sure if that makes them eligible to be removed or if they must be deprecated.  But since there are no references to them in the codebase it would be nice to do the clean-up.
If they are kept, then it would be good to fix the bug in ManagedDoubleKeyMap#put (commit 240b915).

My understanding is org.codehaus classes are regarded as internal (mostly anyway) so I think we wouldn't have to go through the usual deprecation.

I think it is ok to remove them

Thanks for the feedback, appreciate it.


chore(docs): Regenerate docs

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Upgrade testing suite

This updates a few libraries that we use for testing in the CI. This also updates testing documentation since we are not using phing in the VM.
I would prefer to fix the style-ci "errors" via php_codesniffer rules in a separate PR since that will involve adding new rules to our phpcs.xml.dist config file.

@zghosts based on most of our tests, I'd suggest that we use the test prefix rather than the @test annotation.


Don't schedule independent non-weight nodes on same core

https://github.com/KULeuven-MICAS/stream/pull/34


MINOR: Bring buildings extrusion animation back.

Brings back animation extrusion for the buildings in the main theme.

Codecov Report

Merging #971 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #971   +/-   ##
=======================================
  Coverage   48.12%   48.12%
=======================================
  Files         231      231
  Lines       21702    21702
  Branches     4942     4942
=======================================
  Hits        10444    10444
  Misses      11258    11258

Continue to review full report at Codecov.

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


Error thrown if "scripts" property missing from package.json

p-s version: 3.0.3
node version: 7.4.0
npm version: 4.0.5

Scripts file (or at least the relevant bits):
/p-s/dist/bin-utils/initialize/index.js

The command executed:
./node_modules/.bin/p-s- init

The output:
./node_modules/p-s/dist/bin-utils/initialize/index.js:31
   test: scripts.test ? 'nps test' : undefined
                 ^

TypeError: Cannot read property 'test' of undefined

Problem description:
Init fails to work if there is no "scripts" object in package.json
Suggested solution:
Inform user of problem or create "scripts" property automatically.

Yeah, let's create the scripts automatically. Want to make a pull request?


Invalid sort column "EditableFormField"."Sort"

Affected Version
silverstripe-framework 5
Description
When a user creates a User Defined Form Page it gets a 500 error with an exception
[Emergency] Uncaught InvalidArgumentException: Invalid sort column "EditableFormField"."Sort"
GET /admin/pages/edit/show/19
Line 398 in /var/www/html/vendor/silverstripe/framework/src/ORM/DataList.php

Source
396         $this->applyRelation($col, $columnName, true);
397         if ($col === $columnName) {
398             throw new InvalidArgumentException("Invalid sort column $column");
399         }

Steps to Reproduce

I go to "/admin/pages"
I press the "Add new" button
I select the "User Defined Form Page" radio button
I click 'Create' button

Acceptance criteria

You can create a UserDefinedForm page without an exception being thrown.

PRs

https://github.com/symbiote/silverstripe-gridfieldextensions/pull/353

Linked PR has been merged


Debian Fonts link is broken ?

Only shows

Index of /
Name	Last modified	Size	Description
Apache/2.4.10 (Debian) Server at fonts.debian.net Port 80

Cheers for reporting this @fadupla, i'll look and see if the link has changed at any point.


Add events

Current dependencies on/for this PR:

main

PR #60   👈

This comment was auto-generated by Graphite.


Upgrade to alpine 3.16 for machine-controller's image

Signed-off-by: Waleed Malik<EMAIL_ADDRESS>What this PR does / why we need it:
Upgrade to alpine 3.16 for machine-controller's image.
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Optional Release Note:

NONE

/retest

/retest

/approve
/lgtm
/retest

/retest


Customer Serializer in 6.0.1 NEST

NEST/Elasticsearch.Net version: NEST 6.0.1
Description of the problem including expected versus actual behavior:
After update of the NEST to 6.0.1 I have lost possibility to use ContractConverters for my custom deserealization.
I have MyBaseType and a lot of types inherited from it.  JsonCreationConverter is needed to convert records of MyBaseType to type written in "ObjType" field.
Unfortunately now there is no method ContractConverters in JsonNetSerealizer moved to another package. Now I can only make list of static contract converters.
List<Func<Type, JsonConverter>>() was replaced by List()
Is there any way to port the functionality correctly to new 6.0.1 version?
    public class CreationJsonNetSerializer : JsonNetSerializer
    {
        public CreationJsonNetSerializer(IConnectionSettingsValues settings) : base(settings) { }

        private IList<Func<Type, JsonConverter>> m_ContractConverters =
            new List<Func<Type, JsonConverter>>() { t => t.IsAssignableFrom(typeof(MyBaseType)) ? new JsonCreationConverter() : null };

        protected override IList<Func<Type, JsonConverter>> ContractConverters
        {
            get
            {
                return m_ContractConverters;
            }
        }
    }

    public class JsonCreationConverter : JsonConverter
    {
        public override bool CanConvert(Type objectType)
        {
            return (from x in objectType.GetFields()
                    where x.Name == "ObjType"
                    select x).Count() > 0;
        }

        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        {
            // Load JObject from stream
            JObject jObject = JObject.Load(reader);

            if (FieldExists("ObjType", jObject))
            {
                String objType = jObject["ObjType"].ToString();
                Type resolvedType = GetType(objType);
                Object createdType = Activator.CreateInstance(resolvedType);

                // Populate the object properties
                serializer.Populate(jObject.CreateReader(), createdType);
                return createdType;
            }

            return null;
        }

        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        {
            throw new NotImplementedException();
        }

        private bool FieldExists(string fieldName, JObject jObject)
        {
            return jObject[fieldName] != null;
        }

        public Type GetType(string typeName)
        {
            var type = Type.GetType(typeName);
            if (type != null) return type;
            foreach (var a in AppDomain.CurrentDomain.GetAssemblies())
            {
                type = a.GetType(typeName);
                if (type != null)
                    return type;
            }
            return null;
        }
    }

@zabykrinich take a look at the documentation on custom serializers.

Hi @zabykrinich ,
You can add the Nuget package for Nest.JsonNetSerializer, and pass it to the connection settings like this:
(b, s) => new JsonNetSerializer(b, s, contractJsonConverters: new[] { new JsonCreationConverter() })

I suggest adding that t.IsAssignableFrom(typeof(MyBaseType) to the CanConvert method so it won't iterate countless types.
Be sure to read those docs too as @russcam  suggested 😉

Thank you a lot guys! It is working for me.

I found one strange thing with the new way of implementation. Now it enters to CanConvert for every field type in the MyBaseType then for MyBaseType.

This is how Json.NET determines if a JsonConverter applies to a given type, by calling CanConvert() for each type. It may do some caching here, not sure.
The converter JsonCreationConverter is a very generic converter though which does a fair amount of reflection and doesn't cache the results. It looks like it achieves something similar to TypeNameHandling; would enabling that work better for your needs?

@zabykrinich I'm going to close this issue as it hasn't had a response for a few months, Feel free to reopen if you believe there's still an issue here :+1:


SubscriptionPlanChanged event confusion

Hi,
First of all, thanks for great package, it saved a lot of time.
When I created a new subscription, both SubscriptionCreated and SubscriptionPlanChanged events are fired. Shouldn't it be just SubscriptionCreated event?
Normally, I expect SubscriptionPlanChanged event fired when change of existing subscription.

You are totally right and once again, thanks for the pull request!


cannot create a strapi project

Describe the bug:

running yarn create strapi-app fails with error:
e.Assigns is not iterable
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Command failed: ( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :
e.Assigns is not iterable

    at checkExecSyncError (https://next-strapi-cloudinary.jw.staticblitz.com/blitz.70a1ff62a0f0131ac0df3c30faf487fef744ac90.js:6:611757)
    at execSync (https://next-strapi-cloudinary.jw.staticblitz.com/blitz.70a1ff62a0f0131ac0df3c30faf487fef744ac90.js:6:612961)
    at u (/home/.turbo/npx/tJh3iB/node_modules/node-machine-id/dist/index.js:1:7886)
    at module.exports (/home/.turbo/npx/tJh3iB/node_modules/strapi-generate-new/lib/index.js:44:15)
    at generateApp (/home/.turbo/npx/tJh3iB/node_modules/create-strapi-app/create-strapi-app.js:42:10)
    at initProject (/home/.turbo/npx/tJh3iB/node_modules/create-strapi-app/create-strapi-app.js:67:10)

Link to the blitz that caused the error
https://stackblitz.com/edit/next-strapi-cloudinary?file=package.json
Steps to reproduce:

run yarn create strapi-app or npx create-strapi-app and follow the prompts. error is thrown after selecting a template
Expected behavior:

creating a strapi project would work
Version of webcontainer:
Hash: 70a1ff62a0f0131ac0df3c30faf487fef744ac90
Screenshots:

Desktop (please complete the following information):
Browser name  = Chrome
Full version  = 91.0.4472.114
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 56909579,
  "usedJSHeapSize": 47889619,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context:

Thanks for reporting this issue. It does look like a bug indeed. Not sure what it is from the top of my head. We'll add this to our list.

@ryan-reach the underlying issue is that create-strapi-app is attempting to run a non-trivial shell script:
( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :

that is not supported by the jsh shell. We could:

Add better diagnostics, so jsh reports a clean "unsupported syntax" error.
Extend jsh to support the needed features (subshells, pipes, redirects) for that script.

(1) is pretty simple and we might do it soon. (2) is a longer term feature that we desire, but we can't make promises about.
Hope that helps!

Subshells and redirects are now supported so I am going to close this issue. There is still another issue related to permissions when using yarn create strapi-app and we are tracking this internally and should be fixed soon.


ChroniquesOublieesContemporain Version 3.18.0

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Migration of the sheet to CSE
Replaced CSS trick by details/summary elements in various places
Minor bugs corrections in the profile and statblock import routine

Character Sheet Info Roll20 Internal Use only.


Performance issues in the CMS when a widget is used on many pages

We have a case where a widget (a userform widget) is used on a lot of different pages (50+), which caused massive performance issues when attempting to edit that specific widget.
The root cause seem to be the WeDevelop\ElementalWidget\Model::getPagesUsedOn() method that attempts to generate a list of all pages containing the widget.

We should look into moving that call into something the user calls actively on-demand instead of just doing the lookup on an edit overview.

@DRuiter @mirche97 I'll reopen this ticket for now, the solution in #5 is a fix for now however I do feel that we should also implement a proper fix so this overview can be used on sites where a widget is used on a lot of pages (I'd argue that these instances are the most important reason to have this feature)
Something like @DRuiter mentions would be a clean way to handle this.


DynamicSerilogLogger: unable to set initial minimum level

Describe the bug
Currenly I am not able to set the desired minimum level for default and any other loggers. The configuration available in IConfiguration seems ignored or not used. I check the effective level through loggers actuator. As an additional note I'm still able to change the log level through the actuator.
Steps to reproduce
Steps to reproduce the behavior:
Scenario with implicit configuration
.AddSteeltoe extension method in IHostBuilder:
public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args)
  .ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Startup>())
  .AddSteeltoe(loggerFactory: new LoggerFactory());

{
  "Serilog": {
    "MinimumLevel": {
      "Default": "Error",
      "Override": {
        "Microsoft": "Error",
        "Startup": "Error",
        "Steeltoe": "Debug",
        "System": "Error"
      }
    },
    "Using": ["Serilog.Sinks.Console"],
    "WriteTo": [
      {
        "Name": "Console"
      }
    ]
  }
}

The result is that I don't see any log whatsoever. This is coherent with the loggers actuator that reports all loggers effectiveLevel: OFF.
{
  "levels": [
    "OFF",
    "FATAL",
    "ERROR",
    "WARN",
    "INFO",
    "DEBUG",
    "TRACE"
  ],
  "loggers": {
      "Default": {
          "configuredLevel": "OFF",
          "effectiveLevel": "OFF"
      },
      "Microsoft": {
          "effectiveLevel": "OFF"
       },
      //all other loggers OFF
   }
}

Scenario with explicit configuration
.AddSteeltoe and ConfigureLogging extension methods in IHostBuilder:
public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args)
  .ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Startup>())
  .ConfigureLogging((builderContext, loggerBuilder) =>
  {
    var logConfig = new LoggerConfiguration().ReadFrom.Configuration(builderContext.Configuration);
    loggerBuilder.AddDynamicSerilog(logConfig);
   })
   .AddSteeltoe(loggerFactory: CreateAutoconfigLoggerFactory());

{
  "Serilog": {
    "MinimumLevel": {
      "Default": "Error",
      "Override": {
        "Microsoft": "Error",
        "Startup": "Error",
        "Steeltoe": "Debug",
        "System": "Error"
      }
    },
    "Using": ["Serilog.Sinks.Console"],
    "WriteTo": [
      {
        "Name": "Console"
      }
    ]
  }
}

The result is that I don't see any log whatsoever. This is coherent with the loggers actuator that reports all loggers effectiveLevel: VERBOSE.
{
  "levels": [
    "OFF",
    "FATAL",
    "ERROR",
    "WARN",
    "INFO",
    "DEBUG",
    "TRACE"
  ],
  "loggers": {
      "Default": {
          "configuredLevel": "VERBOSE",
          "effectiveLevel": "VERBOSE"
      },
      "Microsoft": {
          "effectiveLevel": "VERBOSE"
       },
      //all other loggers VERBOSE
   }
}

Expected behavior
I should be able to define the log level for each logger through service configuration (potentially each one different from the other).
Environment (please complete the following information):

Steeltoe Version: 3.2.1
Platform: Local / Kubernetes
OS: Windows / Linux
.NET Version: .NET 6
Any other library versions to note:

<PackageReference Include="Serilog.AspNetCore" Version="6.0.1" />
<PackageReference Include="Serilog.Formatting.Elasticsearch" Version="8.4.1" />
<PackageReference Include="Serilog.Settings.Configuration" Version="3.4.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Serilog.Sinks.EventLog" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.Http" Version="8.0.0" />
<PackageReference Include="Steeltoe.Bootstrap.Autoconfig" Version="3.2.1" />
<PackageReference Include="Steeltoe.Discovery.ClientCore" Version="3.2.1" />
<PackageReference Include="Steeltoe.Discovery.Eureka" Version="3.2.1" />
<PackageReference Include="Steeltoe.Discovery.Kubernetes" Version="3.2.1" />
<PackageReference Include="Steeltoe.Extensions.Configuration.ConfigServerCore" Version="3.2.1" />
<PackageReference Include="Steeltoe.Extensions.Configuration.KubernetesCore" Version="3.2.1" />
<PackageReference Include="Steeltoe.Extensions.Logging.DynamicSerilogBase" Version="3.2.1" />
<PackageReference Include="Steeltoe.Management.EndpointBase" Version="3.2.1" />
<PackageReference Include="Steeltoe.Management.EndpointCore" Version="3.2.1" />
<PackageReference Include="Steeltoe.Management.KubernetesCore" Version="3.2.1" />
<PackageReference Include="Steeltoe.Management.TracingCore" Version="3.2.1" />
<PackageReference Include="Serilog.AspNetCore" Version="6.0.1" />
<PackageReference Include="Serilog.Formatting.Elasticsearch" Version="8.4.1" />
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />

@TimHess
Any update on this?

@hananiel can you take a look here?

@davgia When I use DynamicSerilogBase, I couldnt get it to pickup the serilog configuration. So I am not sure what is happening for you. Can you try to add a reference to DynamicSerilogCore and see if you are seeing the same behavior. Also can you add DynamicSerilog explcitly like so :https://github.com/SteeltoeOSS/Samples/blob/a77c7226ea2e1d333874baefd6a6c7f8bea91e76/Management/src/CloudFoundry/Program.cs#L19 to narrow down what is happening. A cursory look at using it with a dependency on DynamicSerilogCore seemed to work fine with version 3.2.1.

Hi @hananiel,
I've created a sample project to allow you to better understand what's happening and how have I configured it. In the code you will see that I've tried to test for a possible workaround:
https://github.com/davgia/steeltoe-issue-1022-sample/blob/bb25e69fa7f056fdaa3a03e587ff637d2cf1d641/Program.cs#L40

@davgia I started to look at your sample and I understand your issue better. I found poking around that the autoconfig project appears to have a wierd interaction with dynamic serilog. So removing autoconfig and adding it manually works.  Ill continue to work on this ...
  return builder
                .ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Startup>())
                //.AddSteeltoe(loggerFactory: LoggerBuilder.CreateAutoconfigLoggerFactory());
                .AddDynamicSerilog()
                .AddAllActuators();

@hananiel, thanks for the reply. I've tried your solution bt for me it does not seem to work either. The problems are:

"Startup" logger is not present in the list of available loggers
"SampleController" logger is not added to the list of available loggers when echo endpoint is triggered
in general I think that I can only see loggers that have been specified in the configuration
"Default" level is not used as fallback when a new logger is created that does not exist yet and that hasn't been configured from appsettings

I would like to know if you experience the same problem as me. Regards.

Any update on this?

Sorry, I haven't had a chance, I'll take a look again today.

@davgia  Sorry, it took me this long - I had a disk failure shortly after I started looking and I lost track of it. Here is what I found ...

"Startup" logger is not present in the list of available loggers

This is expected - since we are bypassing the DynamicLoggerProvider functionality which shows the list of loggers.

"SampleController" logger is not added to the list of available loggers when echo endpoint is triggered

This was because we are not injecting an ILogger as expected. See the changes that worked for me.

in general I think that I can only see loggers that have been specified in the configuration

This is true if you don't use the ILogger pattern for injecting. We use the factory method to override the created logger with a filtered version that uses either Serilog or dotnet logger with different log levels.

"Default" level is not used as fallback when a new logger is created that does not exist yet and that hasn't been configured from appsettings

I am seeing new loggers created in the list, for example, the SampleController doesn't exist until you post to /api/sample/echo endpoint.

I would like to know if you experience the same problem as me. Regards.

Hi @hananiel,
ok got it. Thanks for the support. I think this issue can be closed.

@hananiel,
I've changed my codebase with the changes you suggested and I see all loggers from the actuator and I can change their level. But what I've noticed is that the Serilog configuration is not honored. For example, this is my appsettings.json:
{
    "Serilog": {
        "MinimumLevel": {
            "Default":  "Warning",
            "Override": {
                "MyCompany": "Verbose"
            }
        },
        "Using": [
            "Serilog.Sinks.Console"
        ],
        "WriteTo": [
            {
                "Name": "Console",
                "Args": {
                    "Formatter": {
                        "type": "Serilog.Formatting.Json.JsonFormatter, Serilog"
                    }
                }
            }
        ]
    }
}

If I just use .AddSteeltoe() the logger level are not set and the formatter is not used. Changing the logging level from the actuator results works fine but the format of the message is wrong (not json).
I'm using steeltoe 3.2.3

I finally managed to make everything work. Turns out that I was using the wrong nuget package Steeltoe.Extensions.Logging.DynamicSerilogBase instead of Steeltoe.Extensions.Logging.DynamicSerilogCore. This caused Autoconfig to skip DynamicSerilogLogger configuration.


Saving an MZmine3 project

Basic information

My operating system and version: Windows 11 pro
My MZmine version: 3.4.27

What happened

After processing my LC-MS/MS data using the usual Feature-Based MN workflow, I was unable to save my MZmine project into a *.mzmine file. I have opened MZmine as an administrator.
I used File  Save project as
The screenshot has been uploaded

Thank you for your help.

Thanks Mehdi!
I could reproduce the issue with MZmine 3.7.2.
This is the stack trace:
2023-07-31 11:04:32 SEVERE io.github.mzmine.taskcontrol.impl.WorkerThread run Unhandled exception java.lang.IllegalArgumentException: Cannot find selected scans. while processing task Saving feature list Aligned feature list filtered gap-filled
java.lang.IllegalArgumentException: Cannot find selected scans.
	at io.github.mzmine.datamodel.features.types.FeatureDataType.saveToXML(FeatureDataType.java:104)
	at io.github.mzmine.modules.io.projectsave.FeatureListSaveTask.writeDataType(FeatureListSaveTask.java:301)
	at io.github.mzmine.modules.io.projectsave.FeatureListSaveTask.writeFeature(FeatureListSaveTask.java:321)
	at io.github.mzmine.modules.io.projectsave.FeatureListSaveTask.writeRow(FeatureListSaveTask.java:286)
	at io.github.mzmine.modules.io.projectsave.FeatureListSaveTask.saveFeatureData(FeatureListSaveTask.java:238)
	at io.github.mzmine.modules.io.projectsave.FeatureListSaveTask.run(FeatureListSaveTask.java:116)
	at io.github.mzmine.taskcontrol.impl.WorkerThread.run(WorkerThread.java:64)

@robinschmid @SteffenHeu Could you take a look at it?

@BeniddirLab It seems the bug was in the "Same RT and m/z range gap filler" module. You can use the "Peak finder" module for gap filling instead, until we release a fix.

Is there a reason why you chose the other gap filling module?
Peak finder is the only multi threaded gap filling

@robinschmid it is just an old habit

Makes sense.
For larger projects still good to try peak finder.
Thanks for reporting the issue.


Verified.Email

>PartnerClaimType="Verified.Email"
Adds email verification (looks like it marks "email" field as email field).

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

ID: 1c33bed9-7e41-92cb-e093-80e5fda0e718
Version Independent ID: 94d903c4-a70f-5357-53b4-6d17afee2aaa
Content: Define a self-asserted technical profile in a custom policy in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/self-asserted-technical-profile.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

Hello @rodji Thanks for bringing this to our attention, will review the issue and get back to you as soon as possible

In general Verified.Email does 'magic': It binds field with b2c email verification system.

@rodji You can get the email claim using the InputClaimsTransformations as you described at this SO post.

Sorry, it's not an issue, it's just undocumented behavior.
I looking this (SO)answer in official documentation.

@rodji Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

A workitem has been opened in the documentation queue to cover this work.
#please-close


How to use my point prompt for fine tuning and inference?

Hello, mr. adrianzzk, I have a question about how to use my point prompts.
I think there is no description or dataset-preparing for prompts.
So, I want to ask can i use my point prompts for fine-tuning and inference? and if then, could you give me a short knowhow to use them?
Thanks a lot.

hi ,HeeseongEom!
I'm so sorry that i don't know much about the Prompt module.And i also dont understand whats your mean about point prompts.Do you mean a new method of prompts?
In the paper,the author says that the Prompt method he uses is based on mask random generation. Using the initially obtained segmentation mask to keep iterating as a new Prompt. that's why during the prediction process, you will get four different prediction files (of course, this is my understanding, due to time constraints, I didn't read through this code, so this is just my guess)
At the same time, I personally don't think that this Prompt method is in line with what SAM was originally meant to be, but it does seem like a more reasonable way to automate the training, otherwise you would need to keep clicking on the points yourself to generate the prompts during the training process.
If you mean to utilize a your own prompt method, you can try the results for comparing, I don't have too much to suggest for that.
Sorry again that nothing can help you. Good luck and have a good day.:)

Seems this issue is solved. For more timely help., please refer to https://github.com/uni-medical/SAM-Med3D?tab=readme-ov-file#-discussion-group


Docker requirements

Hi,
is there any HW requirments for run in docker?
I can't run it on my computer with MacOS (Intel chip) - but it works in terminal on the same computer.
Or I can't run it on my NAS with Linux (the Xeon CPU).
And everything works OK in docker in my Windows computer.

I de believe that you need properly compile cuda and cudnn for that! hope you solved that


I need to merge audio, but can't, haven't it supported yet?

I need to merge audio, but can't, haven't it supported yet?

.mp3


All tests fail on IE11 w/ new API

I migrated all tests in ember-bootstrap to the new API here: https://github.com/kaliber5/ember-bootstrap/pull/490
With the codemod and some required manualsfixes (codemod is not to blame here, it did an awesome job, thanks btw!!!), tests are all passing. Except for IE11 in saucelabs, for which basically all tests (except for linting of course) are failing with the same error: https://travis-ci.org/kaliber5/ember-bootstrap/jobs/306535951#L1642-L1659
I was not able to dig deeper into that so far, but as the stack trace only includes vendor.js, and also very basic tests where nothing special happens are failing, and only for IE, I would assume there must something here (or probably in the new test helpers lib) that our beloved browser of the year does not like so much!?

😩 - Looks like an error is thrown during the containers teardown (which iterates all singleton items and calls destroy on them), which is caught and then calling our adapter's exception method.  The issue is (as you mentioned) that the stack isn't very helpful...

The code that runs is really close to what was running before, so I'm somewhat confused about why its failing.
I think the first step would be to setup ember-test-helpers to run against all supported browsers.   I created https://github.com/emberjs/ember-test-helpers/issues/246 to track that. Definitely would love help getting that setup...

I think the first step would be to setup ember-test-helpers to run against all supported browsers. I created emberjs/ember-test-helpers#246 to track that. Definitely would love help getting that setup...

Oh, that is a fun task! 🙄
I suffered so much getting saucelabs set up to run more or less stable... 😢 😉
Meanwhile I startet IE11 in a Virtualbox machine, and was able to find out a bit more...

Looks like an error is thrown during the containers teardown

I can't tell exactly when and where it happens, as I am not familiar with the inner workings, but at least I can confirm it happens somewhere during teardown. The test is actually running fine, the expected assertions are executed and were successful!
The NotFoundException is happening inside of Glimmer, see this:

This is the parentNode:

And this is node:

And yes, the exception is later handled in the Adapter's method you mentioned:

Hope this helps!?

I believe that this is fixed in<EMAIL_ADDRESS>can you confirm (and close if things pass)?

The issue here is fixed, thanks a lot!