Run full sync tests on Mainnet

Motivation
In #1586, we added timeouts to:

sync verifier,
inbound block downloads,
inbound verifier.
There is also an existing timeout on sync block downloads.

It looks like these changes fix the hangs in #1559, but we want to write tests to be sure.
Test Plan
Run a mainnet sync, and make sure they reach block X within N hours:

N is the typical time on that infrastructure, plus a small margin
X is the estimated block height, calculated using a recent height and the target block interval

We should also check the logs to make sure Zebra stops syncing blocks, and activates the mempool.
We need to run a full sync, and that takes a few hours, so we should do it on Google Cloud. (If we run a short sync, we won't catch slowness or hang issues with post-checkpoint syncs.)
Follow Up Work
TODO: create tickets for leftover work
As a follow-up, we could show sync speeds over time. This history will help us diagnose issues more reliably.
As another follow-up, we should run these tests on testnet. To run a reliable testnet sync, we need to deploy more testnet Zebra or zcashd instances, and make sure they appear in DNS seeders (#2380, #1904). So that's out of scope for now.
Rejected Test Plans
Make sure failed block requests get retried.

Add download or verifier mode that deletes the first request for a particular hash/height. Then keep on syncing, and make sure that zebrad re-fetches the skipped block.

We could add a debug_ignore_first_request option to the network config, then run these tests as part of the integration tests using debug_stop_at_height.
I'd like to add cases for genesis, block 1, block 10, the first post-Sapling block, and another post-Sapling block. We should  do these tests on both mainnet and testnet.
We can't implement this alternate test plan, because it won't catch slowness like #1803.

Given our recent experience with subtle sync hangs and slowness in #1803, I'm not sure if there is a good way to do these tests. What we really need is a test that makes sure a sync finishes within N hours.
I'll update the ticket.

Here's one way to do the Rust part of this change:

Create a future that returns when the estimated height has been reached, and the mempool is active
Add that future to zebrad start's main loop as a "continuing task", so Zebra exits when it finishes

https://github.com/ZcashFoundation/zebra/blob/1a14baf8e7c6c82dba7a64e9b43d076b8f856f2a/zebrad/src/commands/start.rs#L195-L200
Here are some possible follow-up tasks:

Wait until the mempool has been active for a few new blocks, or a few minutes (increases mempool test coverage)
#3442

Here is some code that exits when the state reaches a fixed height.
But calling exit causes bugs like #3392, so it would be better to use the zebrad start loop.
https://github.com/ZcashFoundation/zebra/blob/1a14baf8e7c6c82dba7a64e9b43d076b8f856f2a/zebra-state/src/service/finalized_state.rs#L495-L507

Here's one way to do the Rust part of this change:

Should we create a separate ticket for that?

Here's one way to do the Rust part of this change:

Should we create a separate ticket for that? @teor2345 @jvff

I opened #3493 with my suggestion, but @jvff should feel free to change the design.

I've been using these command-lines to test #3543 and #3555:
FULL_SYNC_MAINNET_TIMEOUT_MINUTES=600 cargo test --release --test acceptance -- --nocapture --ignored full_sync_mainnet
FULL_SYNC_TESTNET_TIMEOUT_MINUTES=600 cargo test --release --test acceptance -- --nocapture --ignored full_sync_testnet

https://doc.rust-lang.org/rustc/tests/index.html#--nocapture

I'm not sure if this should be a new job in .github/workflows/test.yml or if I should change the existing test-stateful-sync job. @gustavovalverde, what do you think?

I'm not sure if this should be a new job in .github/workflows/test.yml or if I should change the existing test-stateful-sync job.

I'd like to keep test-stateful-sync, and make it a required job. It's quick, and it tells us if we've broken full validation on the first thousand post-canopy blocks.
(So it catches most full validation bugs.)

Fixed by https://github.com/ZcashFoundation/zebra/pull/3582


Allow default playlist to be changed

Whenever a song is finished playing, the app will fall back and play a random song from a provided playlist. As of now there is no way to change the default playlist.

Smalltalk module allows a prompt window to pop up which is linked with a button to change the current playlist. Just have to add the functionality of:

Checking if provided input is a valid SoundCloud playlist
If input is a valid playlist, save it

Making progress, think I'm almost there.

Confirmed to be working; see b1096e6


Move to Wasi Messaging types

Adapt types to be based on wasi messaging - https://github.com/WebAssembly/wasi-messaging/blob/main/wit/handler.wit

This link points to 404. There is no handler.wit anymore - looks like it was refactored to types.wit

Thanks for pointing that out - the updated spec is here: https://github.com/WebAssembly/wasi-messaging/tree/main
This is less useful ATM for spin, because it involves the guest hard coding their configuration.... but some other elements might still be useful.


Flags should be accepted anywhere after the command.

Describe the bug
After the command, the flag like verbose, force, etc should work anywhere in the whole command.
To Reproduce
Steps to reproduce the behavior:

Activate cli
Try to create a project with this command serverpod create myapp -v

Expected behavior
serverpod create -v myapp / serverpod create myapp -v should work as same
Screenshots

Serverpod versions

CLI Version: Serverpod version: 1.1.1 - pub
Library version: 1.1.1

Platform information
Software:

    System Software Overview:

      System Version: macOS 14.2 (23C5047e)
      Kernel Version: Darwin 23.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Mr.Minnu’s MacBook Pro
      User Name: Mr.Minnu (mr.minnu)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: Mac14,9
      Chip: Apple M2 Pro
      Total Number of Cores: 10 (6 performance and 4 efficiency)
      Memory: 16 GB
      System Firmware Version: 10151.60.56
      OS Loader Version: 10151.60.56

Hey!
Yes, is a bit of an unexpected behavior. Probably need to improve the UX there. I think the underlying CommandRunner package parses the arguments differently if they are provided as arguments for a command or as a separate flag.
I noticed that it is possible to place the -v flag anywhere for the flutter create command, and that one also uses the same CommandRunner so it should be possible to fix in the Serverpod CLI as well.


Fix StarCoder2 inference

What does this PR do?

Description of the issue and fix in https://github.com/huggingface/optimum-habana/pull/1149#issuecomment-2272936561.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


ImportError: dynamic module does not define module export function(PyInit_geo_cuda)

Failed to train on R3Det* mmdetection version based on PyTorch. I got an import error when running sh rtools/train.sh
Error message:
Traceback (most recent call last):
File "tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/init.py", line 2, in
from .bbox import *  # noqa: F401, F403
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/init.py", line 1, in
from .assigners import (AssignResult, BaseAssigner, CenterRegionAssigner,
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/assigners/init.py", line 1, in
from .approx_max_iou_assigner import ApproxMaxIoUAssigner
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/assigners/approx_max_iou_assigner.py", line 4, in
from ..iou_calculators import build_iou_calculator
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/iou_calculators/init.py", line 3, in
from .riou2d_calculator import RBboxOverlaps2D, rbbox_overlaps
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/iou_calculators/riou2d_calculator.py", line 1, in
from mmdet.ops import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/init.py", line 19, in
from .rbbox_geo import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/rbbox_geo/init.py", line 1, in
from .rbbox_geo import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/rbbox_geo/rbbox_geo.py", line 1, in
from . import rbbox_geo_cuda
ImportError: dynamic module does not define module export function (PyInit_rbbox_geo_cuda)
But no errors reported during compilation and my environment is:
torch:1.5.0
torchvision: 0.6.0
mmdet: 2.1.0+8f3868f
GCC: 7.3
CUDA : 10.1
CUDNN:7.5.1
The GPU is RTX 2080, only one GPU.

Hi, trulyjupiter,
The error messages show that the library file rbbox_geo_cuda.cpython-***.so is not correctly built. It fails to export a global function PyInit_rbbox_geo_cuda.
This .so file is located under the directory {your local repo}/mmdet/ops/rbbox_geo. You can check the exported symbol table by cd into the directory and run bash command nm -D *.so | grep PyInit. If nothing shows up, then it means that you will need at least to recompile the library.

Besides, only as a reminder, the RTX 2080 has 8GB GRAM and is insufficient to train r50-r3det* with a batch size of 6 (default value), which would take up to 10GB. You can change the batch size at line 46 of file {your local repo}/configs/r3det/datasets/dotav1_rotational_detection.py.

Thanks for your reply. I have run the command “ nm -D *.so | grep PyInit” but find nothing. Then I recompile the whole library by running command “python setup.py install”. But the problem still exists. I wonder if it is a problem caused by torch version. Can you tell me your environment?
Besides, thanks for your reminder. I will change the batch size as you suggested.

My environment:

Ubuntu 18.04.3
Python 3.8
PyTorch 1.5
TorchVision 0.6.0
CUDA 10.2.89
CUDNN 7.6.4
Nvidia-Driver 440.33.01
GCC 7.5.0

You may also use the docker-image zhanggefan/rmmdet. I have tested the image with docker version 19.03.11, and with the following command:
sudo docker run --gpus all -it --shm-size 16g -v {your dataset location}:/data/dota zhanggefan/rmmdet bash

Thanks for your reply! I have solved this problem by reinstalling the environment.

Failed to train on R3Det* mmdetection version based on PyTorch. I got an import error when running sh rtools/train.sh
Error message:
Traceback (most recent call last):
File "tools/train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/apis/inference.py", line 9, in
from mmdet.core import get_classes
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/init.py", line 2, in
from .bbox import * # noqa: F401, F403
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/init.py", line 1, in
from .assigners import (AssignResult, BaseAssigner, CenterRegionAssigner,
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/assigners/init.py", line 1, in
from .approx_max_iou_assigner import ApproxMaxIoUAssigner
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/assigners/approx_max_iou_assigner.py", line 4, in
from ..iou_calculators import build_iou_calculator
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/iou_calculators/init.py", line 3, in
from .riou2d_calculator import RBboxOverlaps2D, rbbox_overlaps
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/core/bbox/iou_calculators/riou2d_calculator.py", line 1, in
from mmdet.ops import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/init.py", line 19, in
from .rbbox_geo import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/rbbox_geo/init.py", line 1, in
from .rbbox_geo import rbbox_iou_iof
File "/home/ubuntu/anaconda3/envs/pytorch1.5/lib/python3.6/site-packages/mmdet-2.1.0+8f3868f-py3.6-linux-x86_64.egg/mmdet/ops/rbbox_geo/rbbox_geo.py", line 1, in
from . import rbbox_geo_cuda
ImportError: dynamic module does not define module export function (PyInit_rbbox_geo_cuda)
But no errors reported during compilation and my environment is:
torch:1.5.0
torchvision: 0.6.0
mmdet: 2.1.0+8f3868f
GCC: 7.3
CUDA : 10.1
CUDNN:7.5.1
The GPU is RTX 2080, only one GPU.

H

Thanks for your reply! I have solved this problem by reinstalling the environment.

 I have the same problem, so I wanna how did u solve this problem.
My environment is:
pytorch 1.5.0
torchvision 0.6.0
cuda 10.1
cudnn 7.6.3
Thank U !

I re-created a virtual environment and followed the installation process step by step.

@trulyjupiter
Could you please make a list of the installation process.
I want to know a right order of install process.
thank you very much!

@zhanggefan
hi
I have the same problem as @trulyjupiter
But he said he reinstall the environment to solve the problem. Then I reinstall my environment,when I run the " python setup.py install "  it has a import error" ValueError: Unknown CUDA arch (8.6) or GPU not supported".How can I solve this problem.
My environment
Python 3.8.5
Pytorch 1.5.0
Torchvision 0.6.0
CUDA 10.1.243
CUDNN 7.6.4


Extension issue

Issue Type: Bug
Extension Name: vsliveshare-audio
Extension Version: 0.1.91
OS Version: Windows_NT x64 10.0.19041
VSCode version: 1.52.0

:warning: ```json
{
"messages": [],
"activationTimes": {
"codeLoadingTime": 2006,
"activateCallTime": 1,
"activateResolvedTime": 279698,
"activationReason": {
"startup": false,
"extensionId": {
"value": "ms-vsliveshare.vsliveshare-audio",
"_lower": "ms-vsliveshare.vsliveshare-audio"
},
"activationEvent": "*"
}
},
"runtimeErrors": []
}

I'm going to close this due to a lack of actionable information. Please re-open it if you're still encountering an issue and can share any more details about the repro. Thanks!


fixfmt: Last cleaning of %u modifier in libs

Restoring -Werror for kernel build
(secondary: replacing memcpy in port/devramfs for memmmove
to avoid warning in kernel build)

LGTM


Remapping keys causes the touchpad to fail

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce

✔ Expected Behavior
The three-finger click of the touchpad is the middle of the mouse, and the four-finger single machine is the operation center.
But when I set (Ctrl -> Alt), these functions of the touchpad are invalid
❌ Actual Behavior
When I set (Ctrl -> Alt), the touchpad can’t recognize my three-finger click and four-finger click. The other functions of the touchpad are good.
Other Software
No response

thanks for reporting, same as https://github.com/microsoft/PowerToys/issues/9748

我的也是，Ctrl换系统键 虚拟键 disable undefined好像都会这样


Arm32V6 support?

-->
Is your feature request related to a problem? Please describe.
I want to run the manager on my pi zero (not w) i tried some different methods but i just cant seem to get it working,is there any build that i can download with that support?
Describe the solution you'd like
Some sort of build that supports arm32v6
Describe alternatives you've considered
I tried building it myself with support but it just gives out errors, tried some other managers (none seem to work with arm32 but im open to any manager that works)
Additional context
I searched through some issues here but the only answer i can find is to build it myself,and as i stated before i cant seem to get it to build

Update i got the oldest version available on docker (2.0.14) to run but it says "./run: line 11:   812 Illegal instruction     (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 /app/src/backend/index.js," and it reports unhealthy in portainer also for the db i got it to run but not the official one,the one that i found with arm32 support is "webhippie/mariadb:latest-arm32v6" and it reports well from what i see also now if i go to the ip it says something (attached the photo ) also here is what the db is reporting "
./setup: line 7:    18 Illegal instruction     (core dumped) /usr/bin/gomplate -V -o /etc/mysql/my.cnf -f /etc/templates/my.cnf.tmpl "


LinkGenerator vs IUrlHelper Both Not Ideal

Is your feature request related to a problem? Please describe.
LinkGenerator
LinkGenerator requires the HttpContext to generate a full absolute URL which also contains the scheme, hostname and optional port. Outside of the controller, this means I have to also inject the IHttpContextAccessor into my constructor and pass it in like so:
this.linkGenerator.GetUriByRouteValues(
    this.httpContextAccessor.HttpContext,
    "GetPage",
    new() { First = 1, Last = 10 });

This requires a lot of ceremony and additional noise.
IUrlHelper
IUrlHelper does not require the HttpContext if you add this code to the Startup. We use the IActionContextAccessor and IUrlHelperFactory to register IUrlHelper into the IoC container.
services
    .AddSingleton<IActionContextAccessor, ActionContextAccessor>()
    .AddScoped(x => x
        .GetRequiredService<IUrlHelperFactory>()
        .GetUrlHelper(x.GetRequiredService<IActionContextAccessor>().ActionContext))

Then if you use the following extension method to create your URL's:
public static string AbsoluteRouteUrl(
    this IUrlHelper urlHelper,
    string routeName,
    object routeValues = null) =>
    urlHelper.RouteUrl(routeName, routeValues, urlHelper.ActionContext.HttpContext.Request.Scheme);

Here is the usage:
this.urlHelper.AbsoluteRouteUrl("GetPage", new() { First = 1, Last = 10 });

I think you'll agree this is much nicer.
Describe the solution you'd like
I would like a way to generate URL's without having to inject the IHttpContextAccessor and LinkGenerator just to generate a single URL. Or a way to use IUrlHelper without all the setup code to get it working nicely.

I agree. This should be less cumbersome. I don't care if it's IUrlHelper or IUrlGenerator, as long as it is fully setup by the DI system as part of ASP.NET.

LinkGenerator requires the HttpContext to generate a URL.

This is not true. LinkGenerator is specifically design to work without an HTTP context.

As far as I can work out this is not true for absolute URL's containing the scheme, host and port.

@RehanSaeed  - can you provide some more information? I'm not sure how I'm supposed to draw a conclusion from that.

I want to generate absolute URL's with the full scheme, host and optionally a port i.e. https://example.com/foo?bar=1. Why? Well, one reason is that in API's a full URL is much easier to consume from JavaScript.
Today, if you want to do this, you have to have the HttpContext and pass it into the LinkGenerator or IUrlHelper as I've shown in my code samples above. This is used to pull the scheme and host from the current request and stick it into the URL.
That's all well and good in a controller where you have easy access to the HttpContext. However, if I'm outside of the controller and want to generate a URL, then if I use LinkGenerator, then I am forced to also inject IHttpContextAccessor or if I'm using IUrlHelper, it's possible to avoid injecting IHttpContextAccessor but you have to add some additional setup in Startup and use an extension method. All code is shown above.
Both of these solutions are noisy and require extra work, just to get an absolute URL. Ideally, I'd want a method that does all of that for me and allows me to generate URL's without all the extra noise and ceremony.
Does that clear things up?

I agree with RehanSaeed. I had the need to generate absolute urls in a module that sends out emails to clients (which is outside the web project). I only want the IUrlHelper or LinkGenerator as dependency and don't want to do all the IHttpContextAccessor setup as described above.

I want to generate absolute URL's with the full scheme, host and optionally a port i.e. https://example.com/foo?bar=1. Why? Well, one reason is that in API's a full URL is much easier to consume from JavaScript.

This is something we can work with. Do you actually care about the current request? Or do you just want it to be easier to generate absolute URLs?
I can imagine a feature where you can centrally configure a default scheme and host that will be used in URLs - or it could fallback to the listening address if nothing is configured and there is only one listening address.

There reason I'm making this distinction is that passing in the "current request" does more than just set up scheme/host/pathbase - it also includes ambient route values.  Trying to make a service that will magically use ambient values from the current request is a recipe for failure because it's going to do different things depending on which route reached the current thing.

I don't care about the current request at all, I'm just forced to care to generate a URL based on the current requests scheme, host and URL.

I can imagine a feature where you can centrally configure a default scheme and host that will be used in URLs - or it could fallback to the listening address if nothing is configured and there is only one listening address.

I could get behind such a feature. The fallback sounds like the correct default with the option to override it.

That sounds good to me as well!

Great, I'm sticking this in the 5.0 milestone so it will get looked at.

We've moved this issue to the Backlog milestone. This means that it is not going to happen for the coming release. We will reassess the backlog following the current release and consider this item at that time. However, keep in mind that there are many other high priority features with which it will be competing for resources.

I have a requirement to use the LinkGenerator to generate links outside of a Web Project, similar to the requirement mentioned by @FilipVanBouwel earlier in this issue.
My requirement is to use the LinkGenerator in a worker process that runs in its own process, with no web host configured.
The only way I have been able to achieve this so far is as follows. Are there any issues with using this method? Is there a simpler approach that I am overlooking?

In the ConfigureServices of the application, register the controllers from the web project with MVC

var apiAssembly = Assembly.GetAssembly(typeof(RouteNames));

services.AddMvcCore()
        .AddApplicationPart(apiAssembly)
            .AddControllersAsServices();

At the end of ConfigureServices I create an application builder and use this to map the controllers with Endpoint Routing. My application does not build a web host, so the endpoints below should never be accessible. I only perform this step as without it I don't believe that the LinkGenerator will be aware of the MVC Routes.

// Map the controllers as endpoints to allow the LinkGenerator to link to controller routes.

var appBuilder = new ApplicationBuilder(serviceProvider);

appBuilder.UseRouting();

appBuilder.UseEndpoints(endpoints =>
{
    endpoints.MapControllers();
});

I can then inject a LinkGenerator into my HostedService and generator links as follows:

var path = _linkGenerator.GetPathByName("MyRouteName", new { });


Unit tests currently broken?

Hi All,
Running '''sh/test''' gives me the following results:
12 tests, 19 assertions, 0 failures, 3 errors, 0 skips
The three broken tests are all attempting to access methods in Riemann::Dash::Config which were removed in a previous commit, specifically update_ws_config and read_ws_config
The specific failling tests are:
1) Error:
test_0001_reads the file, if present(Riemann::Dash::Config::workspace config::read_ws_config):
NoMethodError: undefined method `read_ws_config' for #<Riemann::Dash::Config:0x007fe52a10ce28>
/Users/amarks/Code/riemann/riemann-dash/test/config_test.rb:86:in `block (4 levels) in <top (required)>'
[...]

2) Error:
test_0001_works(Riemann::Dash::Config::workspace config::update_ws_config):
NoMethodError: undefined method `update_ws_config' for     #<Riemann::Dash::Config:0x007fe52a1162e8>
/Users/amarks/Code/riemann/riemann-dash/test/config_test.rb:93:in `block (4 levels) in <top (required)>'
[...]

3) Error:
test_0002_pretty-prints the config(Riemann::Dash::Config::workspace config::update_ws_config):
NoMethodError: undefined method `update_ws_config' for #<Riemann::Dash::Config:0x007fe52a15c900>
/Users/amarks/Code/riemann/riemann-dash/test/config_test.rb:98:in `block (4 levels) in <top (required)>'
[...]

Note: this is my first time running these tests, so it's possible I have a configuration issue behind these problems.
My environment:
~/C/r/riemann-dash ❯❯❯ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
~/C/r/riemann-dash ❯❯❯ sh/c
irb(main):001:0> Riemann::Dash::VERSION
`=> "0.2.9"``

Current master says 18 tests, 27 assertions, 0 failures, 0 errors, 0 skips, so we're all good. Closing.


Pointer being realloc'd was not allocated

I'm not sure that this is an issue with rayon, but at this point it does seem like the most likely candidate, so I'd like to get another set of eyes on this.
I have a CLI app which is crashing when run in release mode on macOS 12.0.1, compiled with Rust 1.56.1. I'm pretty sure it worked on the same machine back in September, using Rust 1.55 but on an older version of the OS. (It still crashes when I compile it with Rust 1.55 now.) It does not seem to crash when I replace the global allocator with jemalloc (using the latest version of the jemallocator crate).
It crashes like this:
build-history(20530,0x700013b4c000) malloc: *** error for object 0x600680e0c1e0: pointer being realloc'd was not allocated
build-history(20530,0x700013b4c000) malloc: *** set a breakpoint in malloc_error_break to debug

I've isolated it to this block of code:
    data.into_par_iter()
        .fold::<Vec<(Foo, Vec<(BarIndex, Baz)>)>, _, _>(Vec::new, |mut acc, item| {
            let (foo, bar, baz) = item;
            let idx = *map.get(&bar).unwrap();
            match acc.last_mut() {
                Some(last) if last.0 == foo => {
                    last.1.push((idx, baz));
                }
                _ => {
                    acc.push((foo, vec![(idx, baz)]));
                }
            }
            acc
        })
        .reduce(Vec::new, |mut l, r| {
            l.extend(r);
            l.par_sort_unstable_by(|l, r| l.0.cmp(&r.0));
            l.dedup_by(|other, first| {
                if first.0 != other.0 {
                    return false;
                }
                first.1.append(&mut other.1);
                true
            });
            l
        })

(Playground with a function and some supporting context.)
I haven't yet been able to actually get the debugger to run but I will be trying that (and would appreciate any hints about what to look at when I do).

Would it be possible to run it under valgrind? That might kill the parallelism needed to actually reproduce the issue, since valgrind serializes threads to run one at a time, but if you find it that should report good details for the error and source.

valgrind on macOS usually doesn't work well IME. We tried educing the optimization level and/or turning LTO off and it failed in the same way. It seems that something is broken with the macOS 12-provided /usr/lib/libstdc++.6.dylib. Swapping to the homebrew-provided libstdc++ seems to fix the crash, and using link-cplusplus to swap to libc++ also seems to fix the crash. It seems to be similar to the issue discussed here. Switching to jemalloc or mimalloc seemed to fix this.
I'll see if I can provide a standalone reproducer, but I guess the issue is not in rayon anyway. Feel free to close this, though if you have any ideas on how to further debug this that would still be appreciated!

Linking to the upstream issue: https://github.com/rust-lang/rust/issues/92173

Let's just close this in favor of that issue, then.


How to retrieve transaction logs?

I am running ganache on docker and I need to retrieve transaction errors via web3 and opcode logs in order to perform handling errors.

Context

This is the segment of my docker-compose used to deploy ganache:

As you can see, I am using (--debug) to see the opcodes generated.
In this regards, when I forcing an "out of gas" transaction, I can see this information:

In addition, I retrieve this error through the web3, where I guess the name: "o", means " out of gas".

I would need, to access the information I have debugged through the API or web3.
I would appreciate any ideas.
Your Environment

Ganache version: latest
Node version: 13
Operating System and version: Docker on Ubuntu Server 18.04
Truffle version:
Link to your project:

You'll want to use debug_traceTransaction for that (see https://geth.ethereum.org/docs/rpc/ns-debug#example-2). Note: ganache doesn't support the tracer option.
The o:  looks to be an issue with webpack minifying the name of the class (RuntimeError, I think) into the single letter, o. Calling toString() on an Error object causes the name of the error object  to be prepended to the error's message, e.g., new Error("message").toString() === "Error: message".
Let me know if this answers your questions!

Thanks, @davidmurdoch, debug_tracerTransaction is exactly what I would need.
One option could be, collect ganache logs, an once I recover the hash of the failed transaction, via web3 catch error, recover values which normally, "debug.traceTransaction" would return. Does this make sense to you? Any idea to collect these logs? I am thinking, in something similar to this, i.e., definition of a place to collect transactions (e.g.: ganache_data).

Thanks in advance.

Why can't you use just debug_traceTransaction?


[stable/prometheus-node-exporter] Node exporter endpoints

Signed-off-by: mazzy89<EMAIL_ADDRESS>What this PR does / why we need it:
Add Endpoints resource to monitor servers that run out of the cluster
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


Increase GAS model robustness

Some models with complicated distributions - e.g. skew t - don't often play well. Possible solutions include better starting values, or warning the user more explicitly that something may not have gone well with estimation.

Plus one for this
On 19 Aug 2016 6:22 PM, "Ross Taylor"<EMAIL_ADDRESS>wrote:

Some models with complicated distributions - e.g. skew t - don't often
play well. Possible solutions include better starting values, or warning
the user more explicitly that something may not have gone well with
estimation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RJT1990/pyflux/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8DiKbZO4qkEC6PfW3MxWt7nCBz58M4ks5qheZYgaJpZM4Jorb_
.

Cool, let me know if this has happened to you with any public data sources (i.e. something you can share), because then I have more data I can test on

The first iteration of this is done and will be in the next release. There is now a pre-optimization stage for some of the models (including GAS models). This can be switched off in fit through the keyword argument preopt_search (boolean). Is switched on by default. For GAS models it fits a static model first to get additional distributional parameters; it then does a search over the parameter space for good starting values -> then optimizes. Have tested this out on a number of datasets and seems to get better results across the board. Downside is that optimization is now slightly slower, but I think it's a price worth paying.


NTRs: 'synapse pruning' and child terms

I have recently come across several papers describing 'synapse pruning' (e.g. PMIDs: 18083105, 21778362 , 22632727) and its more specific complement-dependent type (e.g. PMIDs:18083105, 22632727), yet, we do not have GO terms describing these processes.
Below are my suggestions:

New1: synapse pruning
Definition: Developmental process involving microglial phagocytic engulfment of redundant synapse fragments, required for maintenance of optimal long-term synapse density and activity.
PMIDs: 18083105, 21778362 , 22632727. GOC:aruk. GOC:bc.
Exact synonym: synaptic pruning
Related synonyms: synapse elimination, synapse remodelling, synaptic elimination, synaptic remodelling (or should these be 'broad' synonyms? @paolaroncaglia or @ukemi perhaps you could advise on this?)
is_a parents: neuron remodeling; phagocytosis, engulfment

New1a: complement-dependent synaptic pruning
Definition: Synaptic pruning mediated by complement system signalling.
PMIDs:18083105, 22632727, 29844190. GOC:aruk. GOC:bc.
Exact synonym: complement-dependent synaptic pruning

Please let me know, if you have any comments, or suggestions, esp. with regard to the definitions. @Pimmelorus, perhaps you'd be able to comment on this?
Thanks,
Barbara
cc:
@RLovering
@rachhuntley
@paolaroncaglia

@BarbaraCzub
I use the term 'synapse disassembly (GO:0098883)' for synaptic pruning.

@BarbaraCzub
I am in no way an expert in synapse pruning, but I think that your interpretation of the process and its child terms is incorrect. Take a look at this wikipedia text on synapse pruning:

The three models explaining synaptic pruning are axon degeneration, axon retraction, and axon shedding. In all cases, the synapses are formed by a transient axon terminal, and synapse elimination is caused by the axon pruning. Each model offers a different method in which the axon is removed to delete the synapse. In small-scale axon arbor pruning, neural activity is thought to be an important regulator,[citation needed] but the molecular mechanism remains unclear. Hormones and trophic factors are thought to be the main extrinsic factors regulating large-scale stereotyped axon pruning.[6]

I conclude that 'synapse pruning' describes the loss of synapses (see terms 'synapse elimination' and 'delete the synapse' in the text above) and that there are different ways this can be caused. So I think that the terms are 'synapse disassembly (GO:0098883)' and 'synaptic pruning' should be considered synonyms.

Thanks @Pimmelorus for your quick reply and clarifying this. You're certainly much more of an expert than I am, so I am going to follow your suggestion, and add 'synapse pruning' as a synonym of  'synapse disassembly (GO:0098883)'. It did cross my mind that the 'synapse retraction' referred to in PMID: 12062020 (that only paper which I found mentioning this) might have been intended more broadly as a 'neurite retraction' for which we do actually have a GO term ('neuron projection retraction' (GO:0106028)). So, your feedback is reassuring, thank you.

To do:

[ ] Find out how many annotations to 'synapse disassembly' are expected from the SynGO project

[ ] Would the mechanism for these annotations always be pruning by microglia (i.e. phagocytic engulfment)?

[ ] Based on the above should 'synapse disassembly' be obsoleted/changed to 'synapse pruning'? Or should 'synapse pruning become a new independent term?

None of the papers annotated by SynGO use the phrase 'synapse disassembly'; however, they mention 'elimination', 'pruning', 'retraction', 'collapse', 'refinement', or 'remodelling' (analysis details:
https://docs.google.com/spreadsheets/d/1x0PeAEHlsyaBaTN7rf_Oe1icrhkGKtTQIlmDeAP35kM/edit?usp=sharing).

Language definitions:
To prune (from Cambridge Dictionary):

to cut off branches from a tree, bush, or plant, especially so that it will grow better in the future;
to reduce something by removing things that are not necessary.

To disassemble (from Cambridge Dictionary):

to separate something into its different parts.

To retract (from Cambridge Dictionary):

to pull something back or in.

To eliminate (from Cambridge Dictionary)

to remove or take away someone or something.

To refine (from Cambridge Dictionary)

to make something pure or improve something, especially by removing unwanted material.

To remodel (from Cambridge Dictionary)

to give a new shape or form to something.

To collapse (from Cambridge Dictionary)

to fall down suddenly because of pressure or having no strength or support (from Cambridge Dictionary);
to fold something into a smaller shape, usually so it can be stored, or (especially of furniture) to fold in this way (from Cambridge Dictionary) (from dictionary.com);
to fall or cave in; crumble suddenly (from dictionary.com);
to break down; come to nothing; fail (from dictionary.com).

I also checked the top 3 definitions in oxforddictionaries.com and dictionary.com and the are in agreement with the definitions from dictionary.cambridge.org

Preliminary conclusions:
The terms 'disassembly' and/or 'retraction' may be appropriate to describe processes affecting the synaptic cytoskeleton. This would need to be specified in the definition.
Refs.:
https://docs.google.com/spreadsheets/d/1wHRDLAUjaPVlEMwnvU_uHEWzsfKiN2GNOfzEydvBtNI/edit?usp=sharing

Just to explain where the use of the term disassembly comes from. It is based on the GO pattern "assembly, maintenance, modification, disassembly" to describe the life-cycle of cellular structures. According to these broad classes any process that removes a synapse, should be placed in the disassembly category. The term synaptic pruning is a term used to remove redundant synapses which is most prominent during development. In that term the dictionary entry "to reduce something by removing things that are not necessary" does best describe the process since during development more synapses than needed are initially created and the synapses that are no longer needed are removed by 'synapse pruning'. In that sense pruning is removal/disassembly of synapses that are no longer necessary.
retraction is certainly wrong, since the synapse does not retract. The axon may do this, but the synapse is there or it is not.

Based on the literature, which I've read, my understanding is that 'pruning' always involves phagocytic engulfment by microglia (e.g. PMIDs: 18083105, 21778362, 22632716, 29844190).

Redundant cellular components are either processed by the neurons themselves via autophagy (see PMID:29709573), via autophagy by astrocytes, or may involve microglia.

This is why I originally suggested that the term 'synapse pruning' should be related in the ontology to 'phagocytosis, engulfment' as well as 'neuron remodeling' (a process which encompasses 'pruning' according to the GO definition).

'neuron remodeling' is correct, 'phagocytosis, engulfment' I do not know whether this is correct for all instances of pruning.

But then what should we do about papers like e.g. PMID: 12062020, where the authors do not mention 'pruning', but they use the term 'synaptic retraction'?

I suggest to correct their use of terminology. Neuronal processes retract, synapses do not.

So perhaps 'pruning' should be categorised as a developmental process (as a child term of 'phagocytosis, engulfment' and 'neuron remodeling'), whereas 'disassembly' could remain where it is as a broader term?

Synaptic pruning is not always occurring in development, but also in the mature animal. I remain with my point that synapse pruning is a term that means that certain synapses are removed, whereas other remain. I think that removal is equivalent to disassembly. If this is a big issue for you, you may need to consult an expert in the field.

Thanks, Pim, for your feedback and the PMID to this very recent synaptic pruning review. I'll take a look at the sections and cited research papers on neurons and astrocytes in addition to microglia to get a broader understanding.

Hi @Pimmelorus, we discussed this issue in the Ontology Editors' Call today again. And we've decided that, based on your expert suggestions and based on evidence from literature, the terms 'synapse pruning' and 'synapse disassembly' should be synonymous.
However, because 'synapse pruning' appears to be used in published research more frequently than 'synapse disassembly' the term 'synapse pruning' should be the primary GO term, whereas 'synapse disassembly' (as well as '...clearance', '...elimination', and '...removal') will be exact synonyms.
@Pimmelorus or @ftwkoopmans, could you please let me know whether you are happy with this change in context of the SynGO annotation tool? (This term is in the synapse slim). Or should I keep 'synapse disassembly' as the syngo_official_label, like you previously requested for https://www.ebi.ac.uk/QuickGO/term/GO:0097471 (https://github.com/geneontology/synapse/issues/194).
cc
@ukemi
@RLovering

To do:

[ ]  Add exact synonyms of 'synapse disassembly' to GO term entry, specifically 'synapse/synaptic pruning', '... clearance', '...elimination', and '...removal'.
[ ]  Make 'synapse pruning' the primary GO term name. Keep 'synapse disassembly' as an exact synonym.
[ ]  Add the child term 'complement-dependent synapse pruning' (and exact synonyms: 'complement-dependent/mediated synapse/synaptic pruning/clearance/removal/elimination/disassembly').
[ ]  Follow up on syngo_official_label.

@Pimmelorus @ftwkoopmans the name of this GO term has now been changed from 'synapse disassembly' to 'synapse pruning', and 'synapse disassembly' has become an exact synonym.
Would you like me to assign the syngo_official_label to its exact synonym 'synapse disassembly'? Or are you happy to have 'synapse pruning' displayed in your annotation tool?
Thanks,
Barbara

@BarbaraCzub
Please make 'synapse disassembly' the syngo_official_label.

Hi @Pimmelorus ok, thanks for confirming this, I'll make 'synapse disassembly' the syngo_official_label.


Warnings after installing plugin in WordPress 5.5.1

Please see the screenshot herein attached and kindly assist.

Hi. This repo was supposed to be private. This is not a free product. But those are code errors I can fix.

@maukoese this is well noted. How much would you charge to fix the errors? I am working on my small website.

Hi,
Hit me up on<PHONE_NUMBER>
Sent from my iPhone

On Oct 8, 2020, at 16:02, Samuel Kahara<EMAIL_ADDRESS>wrote:

@maukoese this is well noted. How much would you charge to fix the errors? I am working on my small website.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Contact err: "Invalid login"

When submitting the contact form you get the error "Invalid login".
Any hints as to what could be causing this during production?

In controllers/contact.js is where you pass your SMTP service username and password:
var transporter = nodemailer.createTransport({
  service: 'SendGrid',
  auth: {
    user: secrets.sendgrid.user,
    pass: secrets.sendgrid.password
  }
});

It probably refers to that login error. The default username and password I provided in this project were probably banned since this is a sensitive information that you shouldn't share with anyone. However, I did it for convenience reasons.


Rename the project and release a gem.

I've asked the owner of the seemingly defunct gem if he would be kind enough to open up the namespace.
https://github.com/zwily/bitbot/issues/4
If this hasn't happened in a few weeks we should just rename it and release the gem.

Closing


nnnoel/feature/issue-182

Completes issue #182 Break out steps articles into separate HTML documents
Changes in this pull request:

added new steps folder and compartmentalizing article steps into their own components and templates
adjusting file routes to match new locations, incorporating all step c
omponents into a steps module, using CommonModule for accessing common angular directi
ves in the steps component template, and importing the StepsModule in AppModule

Looks good to me, will wait for a more formal code review from @ajcrites. Very well formatted PR, commits, etc. Thanks for following the contribution guidelines :D

I see that you removed the step 1 import. I guess that's fine. I think I'll add placeholders for all the steps later tonight just so that once we have data/information about the pages we can quickly add them.

Took another look at it and I guess the current directory structure makes it clear enough what you should do to add content to a step that is currently entirely empty. I'll just merge this then.


mdapi convert command fails when source has lightning web component bundle

Summary
Short summary of what is going on or to provide context.
mdapi convert command fails when source has lightning web component bundle
I ran into the same issue reported by Mohith via Salesforce stack exchange.
Created the issue here so we can track it. This is a blocker for any teams to use LWC.
Steps To Reproduce:

Create an unmanaged package in Developer Edition org with lwc bundle and retrieve src by package name or clone the git repo here https://github.com/msrivastav13/mdapi-convert-lwc-bug.git

sfdx force:mdapi:convert -r ./mdapiout -d force-app

Expected result
Conversion should be performed successfully
Actual result
The error in the console is as below
An error was encountered processing path: /mdapio ut/src/lwc//.html.
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/6.52.2-c6cdc99881
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
salesforcedx 45.1.2
OS and version:
Any

also, the reverse direction (DX to Mdapi) is also failing with the same error. @clairebianchi & team let me know if you need any other details.

any ideas when this might get fixed ? we're thinking of implementing work-arounds (ie. remove lwc, convert, then copy lwc over) but this is rather ugly. Any ETA would be really helpful here.
thanks.

@jtomtran Thank you for submitting this bug. This is a known issue. We are currently working on it internally. I am going to close this issue as we are tracking it with a different team.

@clairebianchi , I'm running into this issue as well - is this on the Known Issues website so I can follow updates on it? I've had a look myself, but couldn't find it under Salesforce DX issues.

Any luck on this? I'm running into this issue as well.

@koenwesselman @Droberts359
I'm not able to reproduce this problem with the lwc source from the repo mentioned above so I believe this has been fixed with a recent patch.  I would make sure you are on the latest CLI (7.4.0) and using all the core plugins.  I.e., running sfdx plugins --core displays "(core)" after the salesforcedx and salesforce-alm plugins.

Hi @shetzel , after reading your comment I updated to 7.4.0-99233fd3af and checked the plugins for core:
sfdx plugins --core
@oclif/plugin-commands 1.2.2 (core)
@oclif/plugin-help 2.1.6 (core)
@oclif/plugin-not-found 1.2.2 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.2 (core)
analytics 1.1.2 (core)
generator 1.1.0 (core)
salesforcedx 45.11.0 (core)
├─ force-language-services 45.10.0 (core)
└─ salesforce-alm 45.14.0 (core)
sfdx-cli 7.4.0 (core)
sfdx plugins
no plugins installed
It seems like I'm on the right version, but when I run sfdx force:mdapi:convert -r src -d force-app, I still get the following result:
ERROR running force:mdapi:convert:  An error was encountered processing path: ...\src\lwc\COMPONENTNAME\COMPONENTNAME.html
I can't really share my component, but perhaps we can both try with one of the sample components and see whether its caused by something in my local setup or something in my component?

@koenwesselman - If you have source the reproduces the error that you can share I'd be happy to track down the problem.  You can also try appending --dev-debug when running the command and maybe that will provide some helpful info.

Hi @shetzel , I'd prefer not to share the actual source if possible - it's something I'm working on for a client. Hopefully the debug info is helpful?: https://pastebin.com/QUfz5ijh

From your debug info I saw that you were on a Windows OS and I was able to reproduce it on Windows.  This is an OS specific file path separator issue.  I'll fix it and put it in the next patch (not tomorrow's patch but the following Thursday).  Thanks for the debug info and sorry about the inconvenience.
As a workaround you can try using the force:source:retrieve command, which converts the source for you behind the scenes.  I don't believe it has this problem on Windows.

@shetzel , that's great - thanks very much! The retrieve command does indeed work fine, and converting FROM source to metadata api format works fine as well. :-)

Actually this was not a Windows path issue; the fix was in the next major release but was not merged to the patch release branch.  You should see this working in 45.13.0 of salesforcedx, which will be available next week Thursday, 5/2.  Thanks for your patience!

Hi @shetzel,
this is not fixed I'm on 45.13.0 in Mac and still not working:
$ sfdx force:mdapi:convert -r ../src -d force-app
ERROR running force:mdapi:convert:  An error was encountered processing path: ../src/lwc/myLWComponent/myLWComponent.html
Thnaks in advance!!!

@shetzel , this isn't working for me yet either I'm afraid! :-( I'm on version 7.5.0-e6ca93eee8. Here's a new debug info link: https://pastebin.com/i40Y5bUM

Hi @koenwesselman,
update your cli to 7.6.0-28071a499b, this worked for me.
Best regards

I might be missing something, but I'm on the latest version as far as I know:
sfdx-cli: Updating CLI... already on latest version: 7.5.0-e6ca93eee8
Could be there's separate version numbering for Windows & Mac? :-)

@koenwesselman I don't know but in Mac OS and int https://www.npmjs.com/package/sfdx-cli figures 7.6.0

getting the same issue even with it on the latest version.
sfdx-cli: Updating CLI... already on latest version: 7.5.0-e6ca93eee8

I was able to update to 7.8.1-8f830784cc this morning, in which the issue seems to be fixed. :-) Thanks @shetzel !

@koenwesselman @jtomtran
Yup, I can confirm that 7.8.1-8f830784cc has the fix. Was getting it today until I just updated.

@shetzel  I still have the issue but with Aura folder.
SFDX CLI version -
$ sfdx --version
sfdx-cli/7.8.1-8f830784cc win32-x64 node-v10.15.3
Receiving error on aura
$ sfdx force:mdapi:convert --rootdir ./mdapipkg -d force-app
WARNING: apiVersion configuration overridden at "45.0"
ERROR running force:mdapi:convert:  An error was encountered processing path: \SampleProject\mdapipkg\unpackaged\aura
Anything that I am doing wrong?

@bugude - Looks like you're doing nothing wrong.  Would you mind opening a new issue with the details from sfdx plugins --core and running the command again appending --dev-debug?  The stack trace it provides is very helpful.  Thanks!

looks like the bug has returned?
C:\Users\mgarfinkel\Documents\Salesforce> sfdx force:mdapi:convert -r .\unpackaged
ERROR running force:mdapi:convert:  An error was encountered processing path: C:\Users\mgarfinkel\Documents\Salesforce\unpackaged\lwc\applicationButton\UWApproval.js
PS C:\Users\mgarfinkel\Documents\Salesforce> sfdx update

I can still reproduce the error with sfdx-cli/7.8.1-8f830784cc darwin-x64 node-v10.15.3 ...

--dev-debug?

I just ran into this yesterday as well with an LWC that has an extra js file as part of a service component.  @tnoonan-salesforce a simple repro might be to use the lwc-recipes repo here: https://github.com/trailheadapps/lwc-recipes/  Specifically, https://github.com/trailheadapps/lwc-recipes/tree/master/force-app/main/default/lwc/libsD3
The error I see is with processing the "extra" javascript file (in the example above it would be data.js).  The error comes from dist/lib/source/mdapiConvertApi.js:277 during file walking in convertSource() so it's probably in _processPath().
OS: Mac
CLI: 7.14.0 - all core plugins

--dev-debug?

attached to W-6325878

getting the same error if there is an extra js file (utility.js) for the component. sfdx-cli 7.36.0 (core).
ERROR running force:mdapi:convert:  An error was encountered processing path: /Users/*****/SFDX/tempCore/mdapipkg/unpackaged/lwc/baseButtonComponent/baseButtonComponentUtils.js

Is there a workaround ?

I am seeing same error on pre-release for force:mdapi:retrieve
An error was encountered during conflict detection. ERROR running force:mdapi:convert:
An error was encountered processing path: /var/folders/xb/h6kpy82n46lc1whxr_xdg4kw0000gn/T/.sfdx/tools/conflicts/***/unpackaged/classes/ABC.cls

I am also getting an error like @murthytumuluri04 mentioned.
ERROR running force:mdapi:convert:  An error was encountered processing path: /var/folders/82/hz_n99mx1hvb4p2lx80n33gc0000gr/T/.sfdx/tools/conflicts/dev/unpackaged/classes/InquiryContactTriggerHandler.cls
I just upgraded to the latest CLI to fix another error.
OS:Mac
sfdx-cli/7.77.0-112dd7d412
salesforcedx 50.2.0 (core)

Has there been an update/workaround/what have you regarding this?  I am running into the issue, though not sure the update to OS X was the cause, and cannot pull down updates to my system as I need.
sfdx force:mdapi:convert --rootdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged --outputdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/converted

ERROR running force:mdapi:convert:  An error was encountered processing path: /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged/aura/AURA_COMPONENT/HELPER.js

sfdx force:mdapi:convert --rootdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged --outputdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/converted
 ended with exit code 1

ERROR running force:mdapi:convert:  An error was encountered processing path: /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged/aura/AURA_COMPONENT/HELPER.js

Has there been an update/workaround/what have you regarding this?  I am running into the issue, though not sure the update to OS X was the cause, and cannot pull down updates to my system as I need.
sfdx force:mdapi:convert --rootdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged --outputdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/converted

ERROR running force:mdapi:convert:  An error was encountered processing path: /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged/aura/AURA_COMPONENT/HELPER.js

sfdx force:mdapi:convert --rootdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged --outputdir /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/converted
 ended with exit code 1

ERROR running force:mdapi:convert:  An error was encountered processing path: /var/folders/cg/5qy1ftb57912tlxs0wbvzmv40000gn/T/.sfdx/tools/conflicts/***/unpackaged/aura/AURA_COMPONENT/HELPER.js


Broken links with latest README.md

Description
Latest README.md contains broken links.
Expected behavior
Update the links for respective README.md
Environment

Kernel: Linux v3.10.0-1160.49.1.el7.x86_64
Distribution: centos 7
Python: v3.6.8 (OK)
Container Engine: docker v20.10.16 (OK)
OpenLane Git Version: d609968cca9ebc6aae6ba8ada9c16b1ed3ce4d0a
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

d609968 2022-09-06T04:48:37+02:00 Replace mismatches' environment variables with flags (#1316) - Mohamed Gaber -  (HEAD -> master, origin/master, origin/HEAD)
2d97f88 2022-09-04T12:29:33+02:00 [BOT] Update magic (#1308) - Openlane Bot -  (tag: 2022.09.05)
460d3d8 2022-09-02T11:20:08+02:00 [BOT] Update yosys (#844) - Openlane Bot -  (tag: 2022.09.03)
---
Git Remotes

origin	https://github.com/The-OpenROAD-Project/OpenLane.git (fetch)
origin	https://github.com/The-OpenROAD-Project/OpenLane.git (push)

Reproduction Material

Check the following links:
https://github.com/The-OpenROAD-Project/OpenLane/blob/master/README.md#adding-a-design
https://github.com/The-OpenROAD-Project/OpenLane/blob/master/designs/README.md --> missing
https://github.com/The-OpenROAD-Project/OpenLane/blob/master/README.md#flow-configuration
https://github.com/The-OpenROAD-Project/OpenLane/blob/master/configuration/README.md --> missing
Logs

YOUR LOGS HERE

Readme completely overhauled.


Documentation is missing Mailer - From

The configuration cheat sheet is missing the From configuration of the mailer section.
http://gogs.io/docs/advanced/configuration_cheat_sheet.html
I took me quite some time and finally I found multiple reports of people who are stuck because of a missing From configuration. I think this could be solved if it would be added to the cheat sheet.
Gregor

In worst case just look at https://github.com/gogits/gogs/blob/master/conf/app.ini, you can always find the latest available config options over there.
Maybe @Unknwon can open the documentation process for others to get contributions in that section.

Thanks! It's been added now: http://gogs.io/docs/advanced/configuration_cheat_sheet#mailer


Removing tests that don't make any sense

We had a few slip past the radar on us that weren't really testing anything of value. See the commit messages for more detail.

Coverage decreased (-0.06%) to 97.317% when pulling 8f94d0704dac68ac6838b8c652721c43a36e663b on benlesh:test_cleanup into 040d951f327ca173d2be6bb82a200884c21f0718 on ReactiveX:master.

🚢


fix(deps): update terraform ibm to latest for deployable architectures

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
patch
1.71.1 -> 1.71.2

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.71.2
Compare Source
Bugfixes

Tags support config aggregator & Bug fix for settings api (5783)
fix(partner center sell): fix patch nested fields (5785)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


Fix bug in mock controller

arrange group members when post_process_dkg even if disqualified_nodes is empty
fix condition when creating a new group

merged in #16


[TESTED] New Edit ban page

Now you can click an "Edit ban" button, which will take you to the ban editing form. Upon submitting that form the ban will be updated, and a new warning will be generated describing the changes to the ban.

Resolves Issue #61

Closed due to #119


[temporary]: add sok

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


services/horizon/cmd: Add configuration for captive core ingestion

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Close https://github.com/stellar/go/issues/2584

add StellarCoreBinaryPath to config which stores the path to the stellar core binary
add EnableCaptiveCoreIngestion to config which is a feature flag for using the captive core ingestion implementation
Update horizon docker image to download and install stellar core
set STELLAR_CORE_BINARY_PATH to the appropriate path in the horizon docker image

Why

Currently, the code in #2322 assume that stellar-core is present in the user's PATH. This can be a problem for some deployments. Instead, we should allow setting exact location of stellar-core binary via Horizon config. User should also be able decide whether they want to use experimental captive stellar-core in db reingesting range command.

Known limitations
[N/A]

Changed a base branch to a feature branch: captive-core.

Can we use the new options in reingest range command?

@bartekn done in https://github.com/stellar/go/pull/2609/commits/fdcd2fe1ca3f5cf3e9d68fa50cb99a6132cab679


AsciiDoc parser

Thanks for assigning this task - been busy over the last few days but will start on this today.

Thank you very much but do not work too hard :)

Merged #444. I will add tests for AsciiDoc parser before the v1.3 release.

Fixed with PR #459


Empty lines consumed by ElasticsearchPayloadReader lead to NullReferenceException

A few questions before you begin:

Is this an issue related to the Serilog core project or one of the sinks or
community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository.  Please use Gitter chat and Stack Overflow  for discussions and questions.

Does this issue relate to a new feature or an existing bug?

[x] Bug
[ ] New Feature

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.
v8.4.1
What is the target framework and operating system? See target frameworks & net standard matrix.

[ ] netCore 2.0
[ ] netCore 1.0
[ ] 4.7
[ ] 4.6.x
[ ] 4.5.x
[x] 4.8

Please describe the current behavior?
There is a possibility to get NullReferenceException in PostData.Write from the payload provided by the ElasticsearchPayloadReader, in case e.g. file contains empty lines.
Please describe the expected behavior?
There should be no exception. And in general, I think there is no sense to add empty or whitespace lines to the Elasticsearch anyway, so need to skip them.
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
This test shows the problem - we get exception for null and "" in data.Write(…):
using System;
using System.IO;
using System.Text;
using Elasticsearch.Net;
using FluentAssertions;
using Serilog.Sinks.Elasticsearch.Durable;
using Xunit;

namespace Serilog.Sinks.Elasticsearch.Tests;

public class ElasticsearchPayloadReaderTests : IDisposable
{
    private readonly string _tempFileFullPath;

    public ElasticsearchPayloadReaderTests()
    {
        _tempFileFullPath = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid():N}-{20000101}.json");
    }

    public void Dispose()
    {
        System.IO.File.Delete(_tempFileFullPath);
    }

    [Theory]
    [InlineData("")]
    [InlineData(null)]
    [InlineData(" ")]
    public void ReadPayload_SkipsEmptyLines(string emptyLine)
    {
        // Arrange
        var payloadReader = new ElasticsearchPayloadReader("testPipelineName", "TestTypeName", null,
            (_, _) => "TestIndex", ElasticOpType.Index);
        var lines = new[]
        {
            "line1",
            emptyLine,
            "line2"
        };
        // Important to use UTF8 with BOM if we are starting from 0 position
        System.IO.File.WriteAllLines(_tempFileFullPath, lines, new UTF8Encoding(true));

        // Act
        var fileSetPosition = new FileSetPosition(0, _tempFileFullPath);
        var count = 0;
        var payload = payloadReader.ReadPayload(int.MaxValue, null, ref fileSetPosition, ref count, _tempFileFullPath);

        // Assert
        // Before the fix, these lines would provide NullReference exception
        var data = PostData.MultiJson(payload);
        data.Write(new MemoryStream(), new ConnectionConfiguration());
    }
}

Addressed in https://github.com/serilog-contrib/serilog-sinks-elasticsearch/pull/413


Blog post component fixed

Hey @AKD-01 , blog post and  card section component fixed.
Issue : #158

I'm not able to see your changes effectively as right now there in no written content for any blog, would you like to work on that first? AS then only i will be able to see  your changes effectively. Right now, I can't.

There is an issue created by me in the issue section, tag me there if you would like to work.

Hey I think you have to add some written content in it .
@AKD-01

https://github.com/AKD-01/blogweet/issues/249
I will be removing all then posts from the blogwee, so that the ones who follows all the params are there only. Would you like to work ont that?

#249 I will be removing all then posts from the blogwee, so that the ones who follows all the params are there only. Would you like to work ont that?

Yes I like to work on it . you need similar blog content, but only those who follow all the parameters are allowed to post.


Unfairly failing the "Size specified by ,h" test?

V2 validation example:
https://iiif.io/api/image/validator/results/?server=https%3A%2F%2Flbiiif.riksarkivet.se&prefix=%2Fv2%2F&identifier=arkis!30002046_00022&version=2.0&level=1&id_basic=on&id_squares=on&info_json=on&id_error_escapedslash=on&id_error_random=on&id_error_unescaped=on&id_escaped=on&region_error_random=on&region_pixels=on&size_ch=on&size_error_random=on&size_percent=on&size_region=on&size_wc=on&rot_error_random=on&quality_error_random=on&format_jpg=on&format_error_random=on&baseurl_redirect=on&cors=on&jsonld=on
Image returned: https://lbiiif.riksarkivet.se/v2/arkis!30002046_00022/full/full/0/default.jpg
Fail for
Size specified by ,h
Elapsed time (ms): 1418
url: https://lbiiif.riksarkivet.se/v2/arkis!30002046_00022/full/,696/0/default.jpg
got: Expected (696, 696) for size; Got: (864, 696)
expected: No error
type: General error
message: Failed to check size due to: Expected (696, 696) for size; Got: (864, 696)
warning: false
Size of 864 x 696 px is what we want to get as a response image size. Otherwise with a square value - like given in expected above - the image would get distorted (wrong aspect ratio).
Same sort of fail for V3:
https://iiif.io/api/image/validator/results/?server=https%3A%2F%2Flbiiif.riksarkivet.se&prefix=%2Fv3%2F&identifier=arkis!30002046_00011&version=3.0&level=1&id_basic=on&id_squares=on&info_json=on&id_error_escapedslash=on&id_error_random=on&id_error_unescaped=on&id_escaped=on&region_error_random=on&region_pixels=on&size_nofull=on&region_square=on&size_ch=on&size_error_random=on&size_noup=on&size_region=on&size_wc=on&size_wh=on&rot_error_random=on&quality_error_random=on&format_jpg=on&format_error_random=on&baseurl_redirect=on&cors=on&jsonld=on
Image returned: https://lbiiif.riksarkivet.se/v3/arkis!30002046_00011/full/max/0/default.jpg
Fail for
Size specified by ,h
Elapsed time (ms): 853
url: https://lbiiif.riksarkivet.se/v3/arkis!30002046_00011/full/,508/0/default.jpg
got: Expected (508, 508) for size; Got: (634, 508)
expected: No error
type: General error
message: Failed to check size due to: Expected (508, 508) for size; Got: (634, 508)
warning: false
Size of 634 x 508 px is what we want to get as a response image size. Otherwise with a square value - like given in expected above - the image would get distorted (wrong aspect ratio).
We need to assume that the test is unfairly failing.
Specification: Image API 2.0
https://iiif.io/api/image/2.0/#size
Form of size parameter: ,h | Description: The extracted region should be scaled so that its height is exactly equal to h, and the width will be a calculated value that maintains the aspect ratio of the extracted region.
Specification: Image API 3.0
https://iiif.io/api/image/3.0/#42-size
Form of size parameter: ,h | Description:
The extracted region should be scaled so that the height of the returned image is exactly equal to h. The value of h must not be greater than the height of the extracted region.

See comment in https://github.com/IIIF/image-validator/issues/101#issuecomment-2047251440. The validator expects to see the test image which is square so it assumes the height and width will match.


Always hitting forbidden page with CSRF Configuration

Node version: v13.11.0
Sails version: 1.2.4
ORM hook version: 2.1.1
Sockets hook version: 2.0.0
Grunt hook version: 1.0.4
DB adapter & version: sails-mongo 1.1.0
Skipper adapter & version: skipper-minio 0.1.6

Hello,
I'm having a problem setting a CSRF configuration, in default configuration through docs, I successfully input data into server using HTML forms. But, when it is in API, I can't have the same result, and I don't know why. Basically I setup an endpoint to get the csrf token from SailsJS, when I pass this token to an PUT request (through header X-CSRF-Token), the server throws a Forbidden response.
I think this is not a bug, just a misconfiguration that I can't figure out

I will close this due to frozen stage

Hi, in case you need to figure it out, it might help to know that in order to use X-CSRF-Token header you have to configure it in your cors security settings (allowRequestHeaders). You might also want to send the _csrf token in the body of the request. And if you do that and still 403 you might want to take a look at the allowOrigins config.
https://sailsjs.com/documentation/reference/configuration/sails-config-security#?sailsconfigsecuritycors

Hello @nicolascalev,
I switched to NestJS a while ago, so I can't test your solution at the moment, but maybe this is useful for people coming from google trying to find an answer.
Thanks for the help :)


Empty schema is committed when no new messages are found in kafka while using DebeziumSource

Background:
We have created a implementation i.e. MssqlDebeziumSource, similar to MysqlDebeziumSource that we already have. We are using apicurio schema registry and aws MSK cluster for kafka.
Issue:
We create a table by ingesting csv using CsvDFSSource and it commits a commit file in .hoodie folder with schema details.
When we run multistreamer job for the same table to process cdc events in kafka for upsert operation, if kafka topic is empty, hudi performs a empty commit without schema. Schema details are empty in the commit.
Use case: When hive server goes down, we create a new one, tries to sync external table from s3 to restore tables, tables are created without columns since schema doesnt have columns in it.
I tested it by changing source class to JsonKafkaSource, then performed CSV to CDC kafka transition, it worked fine. Empty commit was performed with schema details.
Code details:

Here empty dataset is being created without schema, looks like it is intentionally done but can we make it configurable?
Expected behavior : Schema should be present even for the empty commit for DebeziumSource. If not feasible, can we make it configurable?
Environment Description

Hudi version : 14.0

Spark version : 3.4.1

Storage (HDFS/S3/GCS..) : s3

Hi @ROOBALJINDAL
I will try to reproduce the issue and determine the next action item.

We already have a fixed merged - https://github.com/apache/hudi/pull/12066 .
Closing the ticket. Please reopen in case of any concerns. Thanks.


UnhandledPromiseRejectionWarning

Hello I am currently using this action and parallelizing my tests. While everything is working fine I do notice this warning popping up all over the place and according to the error stack it looks to be related to this action. I am not exactly sure what is going on it just creates a lot of noise in the console output.

My setup is as follows
      - name: Cypress Run
        uses: cypress-io/github-action@v2
        with:
          browser: chrome
          record: true
          parallel: true
          run: npm run cy:run
        env:
          CYPRESS_MODE: 'ci'
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

@jarretmoses can you try the latest release, I think now the error is set correctly and not just rejects a promise without handling it

@bahmutov yes this seems fixed. Thank you.


[2+ Peers] Tracker

To-Do:

[ ] #126
[ ] #127
[ ] #128
[ ] #129

Initial testing showed that, after the rewrite of the Match Maker Server, everything seems to be already ready for 2+ peers.
The only exception to this are the demos:
Each demo was designed to be a 2x peer app, not 3x or more.
Small adjustments to the demos have to be made.

Done!


Npm adjustments

Use dependencies for all npm deps for now
Also we have a few different HTML files now and I forget their paths and they aren't linked to each other, so the easy way out is to use browser-sync's --directories option:

Oops, commit message for 616af32 got chopped a little, should've ended in npm build, maybe github doesn't like markdown in commit messages...


System.js missing

I tried to setup it on my local but it shows that system.js is missing. Any clue

What are the steps you took to get into that state?
Also, could you post the error?

npm run postinstall
This should help.


when you delete a non-required field with a default, and then add the field again, the default is no longer there

(this applies to what is currently on DEV)
example of how it currently works in PRD:
https://sinopia.io/editor/ld4p:RT:bf2:Cartographic:Work
see field Content Type, default "cartographic image"
delete the field
add the field, the default value is there
now do same on DEV:
https://development.sinopia.io/editor/ld4p:RT:bf2:Cartographic:Work
when you add the field back after deleting, the default is not there

fixed by #2491


Add datatables gem

Here is the plugin: https://www.datatables.net/
Here is the gem: https://github.com/rweng/jquery-datatables-rails
It allows sorting, filtering, searching, pagination, and more
Organizations page:

NOTE: This also includes changes on some JS -- hackity-hack give it a look see.

:sheep: :it: if you like my changes, otherwise let's talk tomorrow I spose :-)


Adding our nf-test tests to the GitHub Actions CI

PR checklist

[X] This comment contains a description of changes (with reason).
[X] If you've fixed a bug or added code that should be tested, add tests!
[X] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/mcmicro branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[X] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[X] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

This is still a work in progress, but I think it's getting close.
To do Items:

[ ] CI is failing for Singularity tests.  Looks like a problem running mesmer.  I've updated it, but that hasn't helped.

Docker tests pass

[ ] failing lint, but much of that is because of the updated template
[ ] I'm forcing more CI tests than it would normally run, so that code needs to be removed before deployment
[ ] Check that CI runs nf-tests for pull-request

They work for push and workflow_dispatch

Ah, the paths I use to force more CI tests probably don't exist when running in the PR, so I've commented that out.

Looks like we're getting hung up on a missing file for a module test for mesmer:
Test Process DEEPCELL_MESMER

  Test [4cdeb94e] 'mesmer - tif'
    > Nextflow 24.10.0 is available - Please consider updating your version to it
    > N E X T F L O W  ~  version 24.04.2
    > Launching `/home/runner/work/mcmicro/mcmicro/.nf-test-4cdeb94e8ab416d5ddd3cf7f197d7523.nf` [shrivelled_curie] DSL2 - revision: fe2ec8638a
    > Downloading plugin<EMAIL_ADDRESS>    > ERROR ~ No such file or directory: https://raw.githubusercontent.com/nf-core/test-datasets/imaging/segmentation/cycif_tonsil_registered.ome.tif
    >
    >  -- Check script '/home/runner/work/mcmicro/mcmicro/.nf-test-4cdeb94e8ab416d5ddd3cf7f197d7523.nf' at line: 34 or see '/home/runner/work/mcmicro/mcmicro/.nf-test/tests/4cdeb94e8ab416d5ddd3cf7f197d7523/meta/nextflow.log' file for more details
Assertion failed:

Looking into how to fix this.

Easy fix. It just needed a small path change.

@nf-core-bot fix linting

Looks like everything is passing except this lint error:
files_unchanged: docs/images/nf-core-mcmicro_logo_dark.png does not match the template

Not sure why a file we added is setting off the template "files_unchanged" error.
It's passing on my local system.
Looking into it.  Please let me know if you have any suggestions.  Thanks!
I'll try the bot fix above again.

@nf-core-bot fix linting

Hmm, no, bot didn't fix it.

Ok, that worked, but it seems like more of a workaround than a permanent fix.  I just added docs/images/nf-core-mcmicro_logo_dark.png that lint was complaining about to the files_unchanged section of .nf-core.yml.
It doesn't seem like lint should be flagging this file as files_unchanged.
Still looking for a better solution.

Ok, that worked, but it seems like more of a workaround than a permanent fix. I just added docs/images/nf-core-mcmicro_logo_dark.png that lint was complaining about to the files_unchanged section of .nf-core.yml. It doesn't seem like lint should be flagging this file as files_unchanged. Still looking for a better solution.

I don't think this is an issue. Especially if the logo is updated down the line, this would be added to files_unchanged anyway.

The logo is a known problem. There's a really subtle font rendering difference in the CI environment compared to our local environments. We had it set up previously where the file in git was the version the CI check would approve, and only local lint tests would fail that check (and we know to ignore that).


React/RCTview.h not found in react-native-facebook-login

Is this a bug report?
YES

Have you read the Contributing Guidelines?
(Write your answer here.)
Environment

Steps to Reproduce

(Write your steps here:)

npm install react-native-facebook-login --save
react-native link react-mative-facebook-login

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue that meets the requirements set forth in the template. Thanks!


Add --legacy-peer-deps for npm

With newer version of npm, it tries to download the peer dependencies by default.
While doing so, it complains that we have conflicting peer dependency that can not be resolved in highcharts.
Since forcing update may introduce breaking changes, set --legacy-peer-deps to ignore this requirement.
Signed-off-by: lanxia<EMAIL_ADDRESS>

TRSS_Code_Sync/14


Add versioning to the vha file

Without a version field in the vha file, it's hard to work out what type of vha you are opening, and how to convert it to a new version.
We should add a version field, so that we can add backward compatibility properly. (We can assume no version means <=v1.3.0).

It may now be very easy to detect the old format: just see if we have an array of arrays rather than an array of objects, or simply if the screenshotHeight is missing (the renamed version of the field).
I think we should not worry about this issue until we're close to releasing v2.0.0 - and then we'll see what kind of a message we'll show to the user (probably will be easiest to say "sorry this file is an old format, please re-create the hub in the new system" 😅

I think we should definitely add this to the vha file for v2.0.0 - it's one field at the top, and will help with future changes! 👍
@whyboris what do you think?


Add Cloudwalk Testnet

Added Cloudwalk Testnet safe contract addresses.
Chain ID: 2008
RPC Endpoint: https://rpc.testnet.cloudwalk.io/
Block Explorer: https://explorer.testnet.cloudwalk.io/

Hi @oscar-gross I tried to verify the deployment and seems that was not deployed, anyway it was deployed for me:
deploying "SimulateTxAccessor" (tx: 0xc0266574632e6d74daf1403667371c7afd05027136f86609056b058439ee4d40)...: deployed at 0x59AD6735bCd8152B84860Cb256dD9e96b85F69Da with 237871 gas
deploying "GnosisSafeProxyFactory" (tx: 0x7508ec71f32fec385059fdd98ad801961234e5596291f8f35f4449cf4b9d2d66)...: deployed at 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2 with 867594 gas
deploying "DefaultCallbackHandler" (tx: 0x6ac901cd2044fbdbf3bdf580ec9a2b7f699a5d26a352dafb662edf3cd415465c)...: deployed at 0x1AC114C2099aFAf5261731655Dc6c306bFcd4Dbd with 542473 gas
deploying "CompatibilityFallbackHandler" (tx: 0x2217ed533c706720d9d2846ca916b8e4b82a72d66eed8e2bd3d63014b06679a5)...: deployed at 0xf48f2B2d2a534e402487b3ee7C18c33Aec0Fe5e4 with 1238095 gas
deploying "CreateCall" (tx: 0x54054e0cdc2973480cd299ffc1ea567abe3bb22baa39a8eea8de51c870d3e68b)...: deployed at 0x7cbB62EaA69F79e6873cD1ecB2392971036cFAa4 with 294718 gas
deploying "MultiSend" (tx: 0x657c3fe3509a3b97e4de2fdfd77013d00aa688c9fcf63e7983f0bb538ad3cbc3)...: deployed at 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761 with 190004 gas
deploying "MultiSendCallOnly" (tx: 0xc0cab362676583cef56a87758c2af813e0c986c51f5f5544841befd5dcfc50c4)...: deployed at 0x40A2aCCbd92BCA938b02010E17A5b8929b49130D with 142122 gas
deploying "SignMessageLib" (tx: 0x99be0200fdf5d1721e2619224e8904499d70de7083b4425953da7c0ec7fac58e)...: deployed at 0xA65387F16B013cf2Af4605Ad8aA5ec25a2cbA3a2 with 262353 gas
deploying "GnosisSafeL2" (tx: 0x5258a7091dec5561e14e7887d73ed1c9730071202ca0eb11a26512fdc2103bac)...: deployed at 0x3E5c63644E683549055b9Be8653de26E0B4CD36E with 5200241 gas
deploying "GnosisSafe" (tx: 0xad235534d6230779665926d80f43878ed8a3c7c34fd901789fe75dac7f10e4dc)...: deployed at 0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552 with 5017833 gas

I think that this could happen because when you deploy the contract didn't use the correct tag of safe-contracts

Current version: The latest release is v1.3.0-libs.0 on the commit 767ef36

Take a look to https://github.com/safe-global/safe-contracts#deploy
Then, update the addresses to the correct one and I will review again, ping me when is ready.

Hi @moisses89 , it's updated
Thanks a lot for the help!


Fix Growroot Playbook

Fixes an issue with the growroot playbook where disks such as 'sdp' would become 'sd' due to the removal of the trailing 'p' when dealing with nvme devices.

This broke SW raid cases:
TASK [Grow partition] *****************************************************************************************************************************************************************************************************************************************
Thursday 16 November 2023  12:26:58 +0000 (0:00:00.021)       0:00:01.044 *****
fatal: [dma-compute-03]: FAILED! => changed=true
cmd:

growpart
/dev/md126p
'3'
delta: '0:00:00.003015'
end: '2023-11-16 12:28:11.971067'
failed_when_result: true
msg: non-zero return code
rc: 2
start: '2023-11-16 12:28:11.968052'
stderr: ''
stderr_lines:
stdout: 'FAILED: /dev/md126p: does not exist'
stdout_lines:

This broke SW raid cases:
TASK [Grow partition] ***************************************************************************************************************************************************************************************************************************************** Thursday 16 November 2023 12:26:58 +0000 (0:00:00.021) 0:00:01.044 ***** fatal: [dma-compute-03]: FAILED! => changed=true cmd:

growpart
/dev/md126p
'3'
delta: '0:00:00.003015'
end: '2023-11-16 12:28:11.971067'
failed_when_result: true
msg: non-zero return code
rc: 2
start: '2023-11-16 12:28:11.968052'
stderr: ''
stderr_lines:
stdout: 'FAILED: /dev/md126p: does not exist'
stdout_lines:

I guess the rule is if the base device name ends in a number then the partition is separated with a 'p'.

If so we could match on this re: [a-z0-9]+[0-9]+p[0-9]+


Bluetooth: host: add prj.conf for ATT illegal pipeline test with rx/tx priorities inverted

@alwa-nordic can you add a prj.conf for the pipeline test with the priorities inverted? can be in a future PR

Originally posted by @jori-nordic in https://github.com/zephyrproject-rtos/zephyr/issues/71391#issuecomment-2051909240

we need a bot for this kinda stuff lol


Merge duplicate code functions and fix date formatting issue in response payload

Duplicate functions address in 38b394b

Date issue has been addressed


VariableComponent objects not created

I noticed that the variableComponent property of the CombinatorialDerivation class is creating OwnedObjects of type SBOLObject instead of VariableComponent as expected.
The following fixes should correct the error:

Add URIRef(SBOL_VARIABLE_COMPONENT): VariableComponent to Config.SBOL_DATA_MODEL_REGISTER (and import VariableComponent from .combinatorialderivation) in document.py
Correct typos in constants.py

SBOL_VARIANT_DERIVATIONS = SBOL_URI + "#variantDeriviations" ➡ SBOL_VARIANT_DERIVATIONS = SBOL_URI + "#variantDerivation"
SBOL_VARIANTS = SBOL_URI + "#variants" ➡  SBOL_VARIANTS = SBOL_URI + "#variant"
SBOL_VARIANT_COLLECTIONS = SBOL_URI + "#variantCollections" ➡ SBOL_VARIANT_COLLECTIONS = SBOL_URI + "#variantCollection"

Good catches, thanks for reporting. I found some test cases that I was able to use to verify the issue(s). #387 has fixes, and I'll add unit tests as well.

@ImperialiGEM2020 Thanks again for the bug report. This has been fixed. To get the fixes now, without waiting for a release, you should be able to do this:
pip install -U git+https://github.com/synbiodex/pysbol2

If you need further assistance you can reopen this issue or create a new issue.


fix(armhf): add an earlier version of Chromium

Codecov Report

Merging #717 (b1eee5a) into main (28aeb11) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b1eee5a differs from pull request most recent head 363624a. Consider uploading reports for the commit 363624a to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #717   +/-   ##
=======================================
  Coverage   93.55%   93.55%
=======================================
  Files          40       40
  Lines        3241     3241
=======================================
  Hits         3032     3032
  Misses        133      133
  Partials       76       76

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


[FEATURE-287]:Session persistence and restore #287

Signed-off-by: bifenglin<EMAIL_ADDRESS>What do these changes do?
Session persistence and restore, It includes session config and graph object.
Related issue number
#287
Fixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1986 (43fccc5) into main (bd8252f) will decrease coverage by 33.25%.
The diff coverage is 2.91%.

@@             Coverage Diff             @@
##             main    #1986       +/-   ##
===========================================
- Coverage   73.10%   39.85%   -33.26%
===========================================
  Files          89       90        +1
  Lines        9834     9937      +103
===========================================
- Hits         7189     3960     -3229
- Misses       2645     5977     +3332

Impacted Files
Coverage Δ

python/graphscope/client/test.py
0.00% <0.00%> (ø)

python/graphscope/tests/unittest/test_session.py
0.00% <0.00%> (-64.22%)
:arrow_down:

python/graphscope/client/session.py
58.15% <5.08%> (-16.85%)
:arrow_down:

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_cython_ast.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_serailaize.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/analytical/udf/patch.py
3.47% <0.00%> (-96.53%)
:arrow_down:

python/graphscope/tests/unittest/test_lazy.py
0.00% <0.00%> (-96.30%)
:arrow_down:

...thon/graphscope/tests/unittest/test_scalability.py
0.00% <0.00%> (-96.16%)
:arrow_down:

python/graphscope/tests/unittest/test_app.py
0.00% <0.00%> (-95.66%)
:arrow_down:

... and 42 more

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 bd8252f...43fccc5. Read the comment docs.

So, If there is any request or any problem with this PR. Plz remind me. And I will work on it until it has been satisfied.

So, If there is any request or any problem with this PR. Plz remind me. And I will work on it until it has been satisfied. @siyuan0322

Sorry for I'm thinking to drop that graph_list parameters so that it will automatically save all opened graphs, but that seems a little hard to implement, and while I'm thinking about the solution, my attention was drawn to other issues = =. I'll pick it up and get it merged ASAP this time.

So, If there is any request or any problem with this PR. Plz remind me. And I will work on it until it has been satisfied. @siyuan0322

Sorry for I'm thinking to drop that graph_list parameters so that it will automatically save all opened graphs, but that seems a little hard to implement, and while I'm thinking about the solution, my attention was drawn to other issues = =. I'll pick it up and get it merged ASAP this time.

Thanks for your reply. And I have known the request.  I will follow the request in the issue so that it can clear the requirement.


Bootstrap 4.5.2 bug/update popper.js out-of-date new way is popperjs/core

Hello, Co devs,
npm bootstrap 4.5.2 and up
It is not ready for @popperjs/core
I'm looking for someone to help me fix the bootstrap.js
as a temporary fix for
ERROR in ./node_modules/bootstrap/dist/js/bootstrap.js
Module not found: Error: Can't resolve 'popper.js' in 'C:\Users\nodefion\Desktop\Website\Wordpress-Websites\Website-1\thema\wp-content\themes\Dolzon-2\node_modules\bootstrap\dist\js'
@ ./node_modules/bootstrap/dist/js/bootstrap.js 7:101-121
@ ./src/app.js
@ multi ./src/app.js ./src/app.scss
Because npm I popper.js not work.
I can delete de  require('popper.js') in the bootstrap.js file
But I want to include the new @popperjs/core
without having to wait a month or 2 for the fix.
Share your thoughts with us
best regards,
Nodefion.com dev team

bootstrap does not support Popper v2 yet, please use 1.16

bootstrap does not support Popper v2 yet, please use 1.16

That won't work for our clients we need to have a fix for it npm i popper.js is not working anymore ...

npm i<EMAIL_ADDRESS>should work

Yes<EMAIL_ADDRESS>works, but the rest of the app requires popperjs/core. Without a fix for popper, we would have to downgrade the rest of our apps and likely refactor.

Bootstrap 4 won't upgrade to Popper.js v2 because of browser compatibility, Bootstrap 5 will support Popper.js v2


Usubscribe stream eeg with session  fail.

Operating system: Windows 10
Last upstream commit (run git log --author="Robert Lord" | head -n 1): N/A
language version:  python
Cortex version:  N/A

I am having an issue unsubscribing to raw eeg data. I can create a stream, subscribe and collect the raw eeg data and everything works fine. But when I try to unsubscribe it fails. (I have tried running it in a while loop and after more than 2000 tries it still gives me the same result).
I am also having issues closing sessions. I may take close to 200 tries before the session actually closes.
The JSON I send in order to unsubscribe:
{
"jsonrpc": "2.0",
"method": "unsubscribe",
"params": {
"_auth": token,
"streams": [
"eeg"
],
"session": sessionID
},
"id": id
}
The JSON I send to close session:
{
"jsonrpc": "2.0",
"method": "updateSession",
"params": {
"_auth": token,
"status":"close",
"session": sessionID
},
"id": id
}
The response when I try to unsubscribe is either an eeg-event or:
{
"jsonrpc": "2.0",
"id": id,
"result": [
{
"message": "Unsubscribe stream mot with session  fail"
}
]
}
And when I try to close session I then either get belated Unsubscribe-messages or eeg-events.

Received: Internal JSON-RPC error.
Message Error recieved from CortexAccess.CortexClient
Recieved: -32603 : Internal JSON-RPC error.
I have trouble in Authorize.Can you help me to slove it,please.


Pass the commonmark specs

Run [spec/spec.txt] examples

[x] Tabs (11)
[x] Precedence (1)
[x] Thematic breaks (19)
[x] ATX headings (18)
[x] Setext headings (26)
[x] Indented code blocks (12)
[x] Fenced code blocks (27)
[ ] HTML blocks (42)
[ ] Link reference definitions (23)
[x] Paragraphs (8)
[x] Blank lines (1)
[x] Block quotes (25)
[x] List items (48)
[x] Lists (24)
[x] Inlines (1)
[ ] Backslash escapes (13)
[ ] Entity and numeric character references (12)
[ ] Code spans (16)
[ ] Emphasis and strong emphasis (128)
[ ] Links (84)
[ ] Images (22)
[ ] Autolinks (19)
[x] Raw HTML (21)
[x] Hard line breaks (15)
[x] Soft line breaks (2)
[x] Textual content (3)

Total 26 describes and 621 examples

missing html entities, last one exapmle is pass in auto link:
<http://foo.bar.baz/test?q=hello&id=22&boolean>

http://foo.bar.baz/test?q=hello&id=22&boolean
\n

Left one to go, but the best solution is import a html entities library. 😩


feat(dhcps): Support for multiple DNS servers (IDFGH-14266)

Description
Add secondary DHCP Server support

adjusted formatting


Problems using components from 1.x and 0.x at the same time

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Apologies for the question, but I don't know where else to get an answer. How do I use the migration helper? It's very unclear. I'm trying to run both versions of Material UI so that I can use 1.0 for most components but still use components that haven't been ported to 1.x yet, like nested dropdowns. But everything blows up when doing that:
../node_modules/material-ui-next/ButtonBase/Ripple.js
Module not found: Error: Can't resolve 'react-transition-group/Transition' in '/Users/jh376/JH/projects/fos-fed/node_modules/material-ui-next/ButtonBase'
 @ ../node_modules/material-ui-next/ButtonBase/Ripple.js 51:18-62
 @ ../node_modules/material-ui-next/ButtonBase/TouchRipple.js
 @ ../node_modules/material-ui-next/ButtonBase/ButtonBase.js
 @ ../node_modules/material-ui-next/ButtonBase/index.js
 @ ../node_modules/material-ui-next/index.es.js
 @ ./js/components/partials/CardCollection/CardCollection.jsx
 @ ./js/components/partials/index.js
 @ ./js/views/App.jsx
 @ ./js/Root.jsx

I'm looking at the migration helper steps, but it's not clear what the codemod-script and path are supposed to be in this line jscodeshift -t <codemod-script> <path>, or if this will even help fix the problem.
Your Environment

Tech
Version

Material-UI
0.20.0 & 1.0.0-beta.38

React
^16.2.0

browser
Chrome 65.0.3325.181

etc

Module not found: Error: Can't resolve 'react-transition-group/Transition' in '/Users/jh376/JH/projects/fos-fed/node_modules/material-ui-next/ButtonBase'

@jhanstra It's most likely a problem with your setup. I have pushed a new branch to demonstrate it can be done and that there is no architectural issue with using v0.x and v1 at the same time: https://github.com/callemall/material-ui-webpack-example/commit/e47aff0312d5947ef3a30384b7268d416b90701e

I'm looking at the migration helper steps, but it's not clear what the codemod-script and path are supposed to be in this line jscodeshift -t

It won't fix the problem. jscodeshift is a library to transform your code.

@jhanstra were you able to solve your issue ? Might you remember what that was about ?
I'm perplexed as to why a single import Button from "@material-ui/core/Button"; in my page raised the same error...

This comment was not off-topic, I'm also trying to migrate my repo from v0 to v1 by running both versions concurrently temporarily...