Possibly broken for Linux on Mono (Segfault)

Describe the bug
Avalonia segfaults on Linux when using mono. I am using SkiaSharp (2.80.3-preview.40) and HarfBuzzSharp (<IP_ADDRESS>) through Nuget along with their SkiaSharp.NativeAssets.Linux and HarfBuzzSharp.NativeAssets.Linux respectively. For some reason, I need to manually place the .so files on the bin folder, but that's not really an issue. The real issue is Avalonia segfaults upon launch.
To Reproduce

Build the project
Run it using /usr/bin/mono-sgen /home/andre/RiderProjects/AvaloniaApp/AvaloniaApp/bin/Debug/net461/AvaloniaApp.exe

Expected behavior
The program should launch the Avalonia app.
Native Crash Report
Upon running:
/usr/bin/mono-sgen /home/andre/RiderProjects/AvaloniaApp/AvaloniaApp/bin/Debug/net461/AvaloniaApp.exe
The following crash happens:
=================================================================
        Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Native stacktrace:
=================================================================
        0x55bf79a49ffd - /usr/bin/mono-sgen :
        0x55bf79a4a3a9 - /usr/bin/mono-sgen :
        0x55bf799f49e9 - /usr/bin/mono-sgen :
        0x55bf79a436b9 - /usr/bin/mono-sgen :
        0x55bf7d267490 - Unknown

=================================================================
        Telemetry Dumper:
=================================================================
Pkilling 0x140179027424832x from 0x140179075221312x
Pkilling 0x140179015726656x from 0x140179075221312x
Pkilling 0x140178590443072x from 0x140179075221312x
Entering thread summarizer pause from 0x140179075221312x
Finished thread summarizer pause from 0x140179075221312x.
Failed to create breadcrumb file (null)/crash_hash_0xfffd5223a2cef5ac

Waiting for dumping threads to resume

=================================================================
        External Debugger Dump:
=================================================================
[New LWP 81233]
[New LWP 81234]
[New LWP 81235]
[New LWP 81250]
[New LWP 81251]
[New LWP 81252]
[New LWP 81253]
[New LWP 81254]
warning: File "/usr/bin/mono-sgen-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path /usr/bin/mono-sgen-gdb.py
line to your configuration file "/home/andre/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/andre/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"
Error while reading shared library symbols for /usr/lib/libpthread.so.0:
Cannot find user-level thread for LWP 81254: generic error
0x00007f7dfc08b14f in wait4 () from /usr/lib/libc.so.6
  Id   Target Id                   Frame
* 1    LWP 81223 "mono-sgen"       0x00007f7dfc08b14f in wait4 () from /usr/lib/libc.so.6
  2    LWP 81233 "SGen worker"     0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  3    LWP 81234 "Finalizer"       0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  4    LWP 81235 "Timer-Scheduler" 0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  5    LWP 81250 "mono-sg:disk$0"  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  6    LWP 81251 "mono-sg:disk$1"  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  7    LWP 81252 "mono-sg:disk$2"  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  8    LWP 81253 "mono-sg:disk$3"  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
  9    LWP 81254 "mono-sgen"       0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0

Thread 9 (LWP 81254 "mono-sgen"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7574 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x000055bf79cb536c in ?? ()
#3  0x000055bf79cc0845 in ?? ()
#4  0x000055bf79bfe821 in ?? ()
#5  0x000055bf79b8aaee in ?? ()
#6  0x000000004102bc7d in ?? ()
#7  0x00007f7dfb94cb58 in ?? ()
#8  0x00007f7dfb94ca58 in ?? ()
#9  0x00007f7ddf1699a0 in ?? ()
#10 0x00007f7dfb8412a8 in ?? ()
#11 0x0000000000000010 in ?? ()
#12 0x00007f7dc8002690 in ?? ()
#13 0x00007f7ddf169a20 in ?? ()
#14 0x00007f7ddf169900 in ?? ()
#15 0x00007f7dfb8412a8 in ?? ()
#16 0x00007f7df943d7bb in ?? () from /usr/lib/mono/4.5/mscorlib.dll.so
#17 0x0000000000000010 in ?? ()
#18 0x00007f7ddf169978 in ?? ()
#19 0x0000000001a2ae2c in ?? ()
#20 0x00007f7df943d84e in ?? () from /usr/lib/mono/4.5/mscorlib.dll.so
#21 0x00007f7dfb841270 in ?? ()
#22 0x0000000000029806 in ?? ()
#23 0x0000000001a2ae2c in ?? ()
#24 0x000000004102b79b in ?? ()
#25 0x0000000000000000 in ?? ()

Thread 8 (LWP 81253 "mono-sg:disk$3"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7260 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007f7df2925b3c in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007f7df2924308 in ?? () from /usr/lib/dri/iris_dri.so
#4  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 7 (LWP 81252 "mono-sg:disk$2"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7260 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007f7df2925b3c in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007f7df2924308 in ?? () from /usr/lib/dri/iris_dri.so
#4  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 6 (LWP 81251 "mono-sg:disk$1"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7260 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007f7df2925b3c in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007f7df2924308 in ?? () from /usr/lib/dri/iris_dri.so
#4  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 5 (LWP 81250 "mono-sg:disk$0"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7260 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007f7df2925b3c in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007f7df2924308 in ?? () from /usr/lib/dri/iris_dri.so
#4  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 4 (LWP 81235 "Timer-Scheduler"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7574 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x000055bf79cb536c in ?? ()
#3  0x000055bf79c0bc7d in ?? ()
#4  0x000055bf79c0d673 in ?? ()
#5  0x000055bf79c0df90 in ?? ()
#6  0x000055bf79bfe57b in ?? ()
#7  0x000055bf79b8b914 in ?? ()
#8  0x0000000040f8ba12 in ?? ()
#9  0x00007f7dfb8216a0 in ?? ()
#10 0x00007f7dfb821828 in ?? ()
#11 0x00007f7dfb821578 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 3 (LWP 81234 "Finalizer"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b9b98 in __new_sem_wait_slow64.constprop.0 () from /usr/lib/libpthread.so.0
#2  0x000055bf79c463e2 in ?? ()
#3  0x000055bf79bfceca in ?? ()
#4  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 2 (LWP 81233 "SGen worker"):
#0  0x00007f7dfc1bd9ba in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007f7dfc1b7260 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x000055bf79ca6ed4 in ?? ()
#3  0x00007f7dfc1b1299 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f7dfc0be153 in clone () from /usr/lib/libc.so.6

Thread 1 (LWP 81223 "mono-sgen"):
#0  0x00007f7dfc08b14f in wait4 () from /usr/lib/libc.so.6
#1  0x000055bf79a4a27d in ?? ()
#2  0x000055bf79a4a3a9 in ?? ()
#3  0x000055bf799f49e9 in ?? ()
#4  0x000055bf79a436b9 in ?? ()
#5  0x000055bf7d267490 in ?? ()
#6  0x00007f7de4240200 in ?? () from /usr/lib/libharfbuzz.so.0
#7  0x00007f7de422488c in hb_font_set_funcs () from /usr/lib/libharfbuzz.so.0
#8  0x00007f7dde3df491 in hb_font_create () from /home/andre/RiderProjects/AvaloniaApp/AvaloniaApp/bin/Debug/net461/libHarfBuzzSharp.so
#9  0x0000000040459413 in ?? ()
#10 0x00007f7dfb863f00 in ?? ()
#11 0x00007f7dfb863f00 in ?? ()
#12 0x00007f7dfb866510 in ?? ()
#13 0x00007f7dfb867288 in ?? ()
#14 0x00007f7dfb8665e0 in ?? ()
#15 0x000055bf79bfe2e0 in ?? ()
#16 0x0000000040459380 in ?? ()
#17 0x000055bf7b8758a0 in ?? ()
#18 0x00007ffeff41d350 in ?? ()
#19 0x00007ffeff41d010 in ?? ()
#20 0x00007f7dfb867288 in ?? ()
#21 0x000055bf7b84e720 in ?? ()
#22 0x00007ffeff41d350 in ?? ()
#23 0x00000000404592e8 in ?? ()
#24 0x00007f7dfb866510 in ?? ()
#25 0x00007f7dfb863f00 in ?? ()
#26 0x00007ffeff41d350 in ?? ()
#27 0x0000000040459290 in ?? ()
#28 0x00007ffeff41d350 in ?? ()
#29 0x0000000040456dd4 in ?? ()
#30 0x00007f7dfb85d9e8 in ?? ()
#31 0x0000000000000001 in ?? ()
#32 0x00007f7dfb85dac0 in ?? ()
#33 0x00007f7dde950ac0 in ?? ()
#34 0x00007ffeff41d2b0 in ?? ()
#35 0x00007ffeff41d0e8 in ?? ()
#36 0x000055bf7b87dd40 in ?? ()
#37 0x00007f7dfb866510 in ?? ()
#38 0x0000000000000000 in ?? ()
[Inferior 1 (process 81223) detached]

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x55bf7d267490):0x55bf7d267480  00 00 00 00 00 00 00 00 a1 00 00 00 00 00 00 00  ................
0x55bf7d267490  01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00  ................
0x55bf7d2674a0  20 d9 6b de 7d 7f 00 00 90 10 55 7d bf 55 00 00   .k.}.....U}.U..
0x55bf7d2674b0  00 0b 00 00 00 0b 00 00 00 00 01 00 00 00 00 00  ................

=================================================================
        Managed Stacktrace:
=================================================================
          at <unknown> <0xffffffff>
          at HarfBuzzSharp.HarfBuzzApi:hb_font_create <0x00092>
          at HarfBuzzSharp.Font:.ctor <0x00057>
          at Avalonia.Skia.GlyphTypefaceImpl:.ctor <0x002c3>
          at Avalonia.Skia.FontManagerImpl:CreateGlyphTypeface <0x002e7>
          at Avalonia.Media.GlyphTypeface:.ctor <0x00069>
          at Avalonia.Media.FontManager:GetOrAddGlyphTypeface <0x000e3>
          at Avalonia.Media.Typeface:get_GlyphTypeface <0x00053>
          at Avalonia.Media.TextFormatting.TextCharacters:TryGetRunProperties <0x0014f>
          at Avalonia.Media.TextFormatting.TextCharacters:CreateShapeableRun <0x001b3>
          at Avalonia.Media.TextFormatting.TextCharacters:GetShapeableCharacters <0x00117>
          at Avalonia.Media.TextFormatting.TextFormatterImpl:FetchTextRuns <0x00577>
          at Avalonia.Media.TextFormatting.TextFormatterImpl:FormatLine <0x00087>
          at Avalonia.Media.TextFormatting.TextLayout:UpdateLayout <0x00583>
          at Avalonia.Media.TextFormatting.TextLayout:.ctor <0x0025b>
          at Avalonia.Controls.TextBlock:CreateTextLayout <0x0022b>
          at Avalonia.Controls.TextBlock:get_TextLayout <0x0006f>
          at Avalonia.Controls.TextBlock:MeasureOverride <0x001d7>
          at Avalonia.Layout.Layoutable:MeasureCore <0x0013f>
          at Avalonia.Layout.Layoutable:Measure <0x00284>
          at Avalonia.Layout.LayoutHelper:MeasureChild <0x000d2>
          at Avalonia.Layout.LayoutHelper:MeasureChild <0x000c3>
          at Avalonia.Controls.Presenters.ContentPresenter:MeasureOverride <0x000c3>
          at Avalonia.Layout.Layoutable:MeasureCore <0x0013f>
          at Avalonia.Layout.Layoutable:Measure <0x00284>
          at Avalonia.Layout.LayoutHelper:MeasureChild <0x000d2>
          at Avalonia.Controls.Decorator:MeasureOverride <0x0008f>
          at Avalonia.Controls.Primitives.VisualLayerManager:MeasureOverride <0x0012b>
          at Avalonia.Layout.Layoutable:MeasureCore <0x0013f>
          at Avalonia.Layout.Layoutable:Measure <0x00284>
          at Avalonia.Layout.Layoutable:MeasureOverride <0x0016a>
          at Avalonia.Layout.Layoutable:MeasureCore <0x0013f>
          at Avalonia.Layout.Layoutable:Measure <0x00284>
          at Avalonia.Layout.Layoutable:MeasureOverride <0x0016a>
          at Avalonia.Controls.Window:MeasureOverride <0x0034b>
          at Avalonia.Controls.WindowBase:MeasureCore <0x0007a>
          at Avalonia.Layout.Layoutable:Measure <0x00284>
          at Avalonia.Layout.LayoutManager:Measure <0x001ea>
          at Avalonia.Layout.LayoutManager:ExecuteInitialLayoutPass <0x0004b>
          at Avalonia.Controls.Window:ShowCore <0x005f2>
          at Avalonia.Controls.Window:Show <0x0002b>
          at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime:Start <0x000fb>
          at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions:StartWithClassicDesktopLifetime <0x000ef>
          at AvaloniaApp.Program:Main <0x0003f>
          at <Module>:runtime_invoke_void_object <0x00091>
=================================================================

Process finished with exit code 134.

Desktop (please complete the following information):

OS: Arch Linux 5.10.15-arch1-1
Version 0.10.0-rc1
IDE: JetBrains Rider
Mono version: 6.12.0

Additional context
Avalonia works on .Net Core 5 fine, but I guess that is quite unrelated as the build system is completely different. Might this be a bug with the current preview versions?
I can't downgrade it though because Avalonia 10.0 requires SkiaSharp > 80.2, so the 80.2 is incompatible.

Make sure that you are using matching versions of native libraries and their managed wrappers (SkiaSharp/HarfbuzzSharp)

The native libraries are provided by the nuget packages as well and they are indeed on the same version.

I've checked yesterday with our default template, Ubuntu 18.04 and Mono <IP_ADDRESS>, seems to work OK (except for the required workaround for SkiaSharp's musl binaries)
https://github.com/kekekeks/AvaloniaMonoDemo

OK so I was able to use that demo and it runs fine. My guess Is that perhaps creating the project using its template from Avalonia .Net Core App and then downgrading from .Net 5 to .Net Framework 4.72 won't work.
Since I'm using Linux and there seems to be no build system, I simply copy pasted that example project and renamed it to my project name and that works.
The question now is. Is the Avalonia .Net Core App able/supposed to work in lower .Net versions by simply downgrading the .Net version on the .csproj file?

Avalonia itself is targeting netstandard2.0, netcoreapp2.0 and net461 as minimum supported versions of target frameworks. Templates are always targeting the latest stable .NET, but can be downgraded if needed.
We do not, however, support building with legacy SDKs (e. g. MSBuild 4.5 or xbuild from Mono), .NET Core 2.0+ SDK or .NET 5+ SDK are required.

I was using .Net Sdk 5.0 but the template says Avalonia .NET Core App. I tried downgrading and it was complaining with System.DllNotFoundException: Unable to load library 'libSkiaSharp' even though the .so files were there, so I tried many things such as LD_PRELOAD etc.
I finally found out why the examples work and this didn't work. Just as you mentioned in a previous issue, you need to apply that fix to tell SkiaSharp not to use Musl. I also had to rebuild the project, because for some reason it wasn't linking properly to the correct version. I understand the fix, but still doesn't explain why it wasn't finding the dll file. So I'm guessing I somehow corrupted the bin directory by manually placing the .so files there.
In short, this is how to get it to work:

Generate the project using dotnet new avalonia.app
Downgrade the project either by changing the .csproj file or using an IDE, I personally used Jetbrains Rider
Edit the .csproj file to make Skia not use musl on a Glibc installation, by adding:

<Target Name="SkiaSharpRemoveMusl" BeforeTargets="BeforeBuild">
    <ItemGroup>
        <Content Remove="@(Content)" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('%(FullPath)', 'packages.*linux-musl.*so')) " />
    </ItemGroup>
</Target>

Rebuilding the proj

I'm assuming the original problem was a link error, but that is now fixed. Thanks for all the help as well!


Update environments.rst (articles -> article's)

There is also something wrong with this sentence under "Determining the environment at runtime":

This service is provided by the ASP.NET hosting layer, and is to methods within Startup via Dependency Injection.

... passed/provided to methods?

Hi @glen-84, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thanks for the contribution and for pointing out the bad text!


Added widget for showing multiple timezones

Added a widget that allows multiple times to be displayed by different timezones.  Uses Moment js and flag icons from https://github.com/gosquared/flags

@guyav and @danielbayerlein any feedback or comments?

@danielbayerlein Can you approve it or tell me how to server the flag images directly from the node_modeul folder?

@mortenbirkelund I'll look into it in the next few days. Maybe it is possible with the CopyWebpackPlugin.

@danielbayerlein Anything new regarding this? I have added description to the Readme about what folder to copy, so if you don't have a better solution could you then approve my module?

@danielbayerlein any news?


Update DTW and constraint regions computations.

Hello @johannfaouzi! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tslearn/metrics.py:

Line 67:21: W605 invalid escape sequence '\s'
Line 67:27: W605 invalid escape sequence '\s'
Line 67:40: W605 invalid escape sequence '\i'
Line 131:21: W605 invalid escape sequence '\s'
Line 131:27: W605 invalid escape sequence '\s'
Line 131:40: W605 invalid escape sequence '\i'
Line 189:21: W605 invalid escape sequence '\s'
Line 189:27: W605 invalid escape sequence '\s'
Line 189:40: W605 invalid escape sequence '\i'
Line 343:21: W605 invalid escape sequence '\s'
Line 343:27: W605 invalid escape sequence '\s'
Line 343:40: W605 invalid escape sequence '\i'

Hi @johannfaouzi and thanks a lot for this PR
Just to give some context:

this PR is related to the reddit thread there: https://www.reddit.com/r/MachineLearning/comments/bb59ji/p_pyts_a_python_package_for_time_series/ekgtkhw?utm_source=share&utm_medium=web2x
your numba implementation makes DTW computations much faster, which is great
you also fixed some bugs in global constraints (Itakura parallelogram and Sakoe-Chiba band)

On the last point, it seems your implementation do not fit the doctest:
https://travis-ci.org/rtavenar/tslearn/jobs/532821769#L1027
I will check asap if it is the doctest that is incorrect or if the issue is in your implementation.

The sakoe_chiba_band test is failing:
Failed example:
    sakoe_chiba_mask(7, 3, 1)  # doctest: +NORMALIZE_WHITESPACE

Expected:
    array([[  0., 0., inf],
           [  0., 0., inf],
           [  0., 0., inf],
           [  0., 0.,  0.],
           [ inf, 0.,  0.],
           [ inf, 0.,  0.],
           [ inf, 0.,  0.]])
Got:
    array([[  0.,   0.,  inf],
           [  0.,   0.,   0.],
           [  0.,   0.,   0.],
           [  0.,   0.,   0.],
           [  0.,   0.,   0.],
           [  0.,   0.,   0.],
           [ inf,   0.,   0.]])

In my opinion, the actual result is the good result. The absolute difference between both sizes is 4. When one adds a radius of 1, one should a difference of 2 (* 1) (one for each side), hence a band of size 4 + (2 * 1), and not 4.

I agree with your definitions for the Sakoe-Chiba mask and Itakura parallelogram.
I still have a few more questions:

Shouldn't we add a itakura_max_slope additional parameter to the dtw function then?
Wouldn't there be more functions in the metrics module that could benefit from numba for fast computations? I was thinking of: dtw_path, dtw_subsequence_path, sakoe_chiba_mask, itakura_mask, and cdist_dtw. If so, let me know which ones you can handle, I should be able to code the other ones.

Romain

I will update the doctests accordingly.
You're right, itakura_max_slope should be added in all the functions that also have sakoe_chiba_radius as a parameter, I will update them.
Regarding the following functions:

sakoe_chiba_mask is already sped up thanks to numba,

itakura_mask makes heavy use of numpy so I don't think that we should get much improvement for this one,

cdist_dtw, dtw_path and dtw_subsequence_path could probably be sped up with numba, I will work on them.

Just a question about cdist_dtw: it computes the DTW for each pair from dataset1 and dataset2, right? If dataset2 is None, it is like dataset2=dataset1, like sklearn.metrics.pairwise.pairwise_distances?

Just a question about cdist_dtw: it computes the DTW for each pair from dataset1 and dataset2, right? If dataset2 is None, it is like dataset2=dataset1, like sklearn.metrics.pairwise.pairwise_distances?

Yes, this is it. Hence in the None case, we should save computations (symmetric matrix).

numba is not happy with variable return types...
Maybe the easiest way would be to have a numba-optimized function that returns both the distance and the path and the other one that calls the first one and can return either both or only the distance depending on a argument that is passed, no?

I am working on this :) I am not used to doctest as a test suite and did not check my code enough, but I will fix this.

I am not sure that I understand very well what dtw_subsequence_path does, so I did not change it. If you can give me more details, I can try to improve it with numba.

When I run  python -m doctest -v metrics.py locally, it works, but the CI does not seem to succeed. I'm not sure why it is happening, maybe the doctests in metrics.py don't cover the usages in the other files.

I finally fixed the issues. Let me know if you think that more stuff could be changed or added.

I just pushed a simple bugfix, will work on dtw_subsequence_path next week and then merge to dev branch.


Appstudio update test-component-pac-vsib

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-vsib-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
10 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
31 seconds
inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
26 seconds
clair-scan

✅ Succeeded
51 seconds
clamav-scan

✅ Succeeded
22 seconds
sbom-json-check

✅ Succeeded
18 seconds
label-check

✅ Succeeded
11 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary


prep for 1.0

gotta go 1.0 before you can go 2.0. 🕺

Whoo! Will get this merged and the repo moved over to static-dev soon, thank you!


Linux port?

Since the dll isnt going to work, I downloaded  the libraries for linux from here (at least, I think they're the correct ones) https://github.com/Retro64Mod/libsm64-retro64 While im unsure if this would allow me to run it on Linux, I appear to be unable to build anything from it due to a dependency issue on arch. Would this have even worked?

Linux isn't supported atm for the mod itself, but i'm working on it.
Compiling libsm64 itself should work though, what dependency issues are you encountering?

Short answer: You can't play it on linux because of jni

Short answer: You can't play it on linux because of jni

JNI works on Linux, I just need to make some changes to the code to support this

I've tried this as well, and I got it to work by:

Compiling https://github.com/Retro64Mod/libsm64-retro64 myself (just ran make, no issue there)
Renaming the resulting libsm64.so to sm64.so (the lib prefix is common for .so files, but .dll doesnt do that; see here: https://github.com/Retro64Mod/Retro64Mod/blob/acfd0f249f486231a26bf188933515f3b4c380fc/src/main/java/com/dylanpdx/retro64/sm64/libsm64/LibSM64.java#L62 )
Putting sm64.so in the mods folder
Sounds don't work, but I don't see why they wouldn't in theory (the sound extractor script works on linux), the issue is that the mod expects for gensources.exe to extract everything into a temporary directory. If it would look for them somewhere else, you could just put them there.

Aside from that, works just fine :)

Ah! I'm glad it works. I had that detection code in (the .dll/.so thing) but on my laptop the library would segfault so I assumed it was my fault! Thanks for letting me know about this

Odd, renaming to sm64.so just makes my game crash, I git cloned, ran make, dropped in the base rom, ran make lib, and placed the new renamed sm64.so into the mods folder, so dunno whats going on.

I've tried this as well, and I got it to work by:
* Compiling https://github.com/Retro64Mod/libsm64-retro64 myself (just ran make, no issue there)

* Renaming the resulting libsm64.so to sm64.so (the lib prefix is common for .so files, but .dll doesnt do that; see here: https://github.com/Retro64Mod/Retro64Mod/blob/acfd0f249f486231a26bf188933515f3b4c380fc/src/main/java/com/dylanpdx/retro64/sm64/libsm64/LibSM64.java#L62
   )

* Putting sm64.so in the mods folder
  Sounds don't work, but I don't see why they wouldn't in theory (the sound extractor script works on linux), the issue is that the mod expects for gensources.exe to extract everything into a temporary directory. If it would look for them somewhere else, you could just put them there.

Aside from that, works just fine :)

um when i try to put the sm64.so file in the mods folder it no longer complains about the missing dll file but cant switch to mario


Adds updateSource method

Hi @cfey, thanks for the PR! Can you please fix some things before merge?
In Readme:

Update texts in the new updateSource method. Texts stills referer to createSource instead of describe the new method. Text Like to create a new source, should be edit new soruce. Same for data.name option.
Json example is malformed. Please put properties names in doble quotes ""

Package.json:

Increase version to 2.1.0
Update ramda version to ^0.24.1

thanks you!

I couldn't update ramda to version ^0.24.1 because it seems like it isn't published yet through npm

Thanks @cfey!
merged, published and ramda updated.
thanks again!


More frequently patched images for onepassword-connect

Would it be possible for the connect-api images to be patched more frequently, or a distroless version of it to be made available, so that its supply chain CVEs are kept to a minimum? Currently trivy is detecting 174 CVEs on the latest version:

The latest tag was updated 3 months ago:

Hey @pjbgf! I see your concern. Thanks for your suggestion, we're going to look into publishing distroless images.

@pjbgf Distroless images are now available for Connect!

@jillianwilson thank you for seeing this through and the follow-up. :bow:


minor spelling error. i am now a contributor

lol
also, should dreamland be stylized in all lowercase

i genuinely don't know. both look weird but i think uppercase is worse

personally i'd go for all lowercase
it doesn't really seem weird to me


Google Auth

https://github.com/user-attachments/assets/8805773f-b08d-4629-af5e-616a5ca25830

@Manishkr1007 Could you please review the PR


Add feature spec for tags that are not attached to pulled commits

@charlierudolph commented in #461:

So tags are automatically pulled if they are attached to commits you normally pull (ie: a commit on a branch). But if the tag is not on a commit that gets pulled down (ie: a commit that is not on a branch), then it would not get the tag. [...] (the current) feature test is not sufficient.

Assuming that I only want to see tags for branches that I have checked out on my machine, and git sync --all pulls down all commits for all my local branches, wouldn't the current behavior pull down all the tags that I want/need?

Starting with Git 1.9, Git fetches all commits and tags when run with git fetch --tags. The problem is that older Linux distros, like the one on CircleCI, still run on Git 1.8, so we can't rely on this feature yet.

From http://stackoverflow.com/questions/1204190/does-git-fetch-tags-include-git-fetch it seems as
git fetch origin 'refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' should pull all commits and all tags at the same time.

How about having separate behavior based on the version of git running? That way its easy to just remove support for Git 1.8 later when its use is low enough.

I think all we need is
# Git < 1.9
git fetch
git fetch --tags

# Git >= 1.9
git fetch --tags

Git 1.9 release notes

That would be super easy to implement, but I haven't figured out a way to test that.

Closing as duplicate of #429


Problem to install .net core on debian 9 x86

Hi, I'm pretty new to linux (debian "Stretch" on 32 bits architecture).  I try to install .Net core according to the following instuction (Microsoft website):
https://dotnet.microsoft.com/download/linux-package-manager/debian9/runtime-current
When i execute the command line : apt-get install aspnetcore-runtime-3.0. The result has been
E: No se ha podido localizar el paquete aspnetcore-runtime-3.0
E: No se pudo encontrar ningún paquete usando «*» con «aspnetcore-runtime-3.0»
E: No se pudo encontrar ningún paquete con la expresión regular «aspnetcore-runtime-3.0»
What can i do to install .net core on debian 9 on 32bits.? I can not find a guideline  to how to do this

Those instructions are only for x64 (64 bit) Linux. .NET Core doesn't actually support Linux on x86 right now: https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md#linux.
I found this thread about progress on getting x86 working: https://github.com/dotnet/coreclr/issues/9265.


Option to set number of dilated layers (and sanity check for architecture)

I don't see an option to set the number of dilated convolutions in the train command. It's not a huge deal since I'm defining my own architecture, but it's an easy thing to miss that should be tweakable.
 For example, there's a layer prof_out_crop2match_output that addresses the case where the architecture doesn't reduce down to the desired output width. In my case, if that layer is doing any work, then it means that I mis-defined my network. It'd be nice to have the program emit a warning (if it could silence the tensorflow warnings during startup, then it'd be easier to see. Similarly, when I was making predictions and getting all zeros because I forgot --predict-peaks, it'd be nice to have the program tell me that instead of looking like it's working but then producing the wrong output.

I dont think specific properties of the architecture e.g. number of dilated
layers should be in the train command. The train command should take in a
custom architecture defined via whatever architecture configuration file.
-Anshul
On Fri, Feb 5, 2021 at 11:44 AM Charles McAnany<EMAIL_ADDRESS>wrote:

I don't see an option to set the number of dilated convolutions in the
train command. It's not a huge deal since I'm defining my own architecture,
but it's an easy thing to miss that should be tweakable.

For example, there's a layer prof_out_crop2match_output that addresses the
case where the architecture doesn't reduce down to the desired output
width. In my case, if that layer is doing any work, then it means that I
mis-defined my network. It'd be nice to have the program emit a warning (if
it could silence the tensorflow warnings during startup, then it'd be
easier to see. Similarly, when I was making predictions and getting all
zeros because I forgot --predict-peaks, it'd be nice to have the program
tell me that instead of looking like it's working but then producing the
wrong output.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kundajelab/basepairmodels/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDWEPEBG5DD7PXIFD5ST3S5RDC7ANCNFSM4XFKO4NQ
.

I agree with @akundaje on that, though that will require a bit of rejiggering to allow people to easily integrate custom architectures. Maybe have a --architecture-source-file flag that accepts the name of a python file that contains a function genNetwork() taking no arguments (or maybe taking input_seq_len and output_len since those are needed elsewhere) and returning the network to be used. As it stands, I have to symlink model_archs.py out of the basepairmodels code and into my working directory. Not exactly an elegant solution!
By requiring the model to be fully specified in the input file, we could remove the architecture-specific flags like --filters from the training command.
Maybe we could also have a config file added with --architecture-config-file. The filename would then be passed as a keyword argument to genNetwork(config_file=args.architecture_config_file) for the user's architecture definition code to do with as it pleases.

Closing the issue because this is essentially a worse way of solving issue #10 .


Parse error: json.exception.parse_error.101 - invalid string: ill-formed UTF-8 byte

Hi,
We work with extensions, communicating the browser with native code (C++).
I am trying to parse a string. One of the values is: "password":"Testé$".
The parse fails with the following error:
invalid parameters JSON string ([json.exception.parse_error.101] parse error at line 1, column 53: syntax error while parsing value - invalid string: ill-formed UTF-8 byte; last read: '"Testé$')"
The problem seems to be the é character, however the password is a valid UTF-8 string.
Strange thing:
It is parsed correctly while working with Chrome, but fails with the attached error while working with IE.
I am using version 3.7.3.
Many thanks

It seems that on IE, the necessary metadata isn't provided to the HTTP server so that the contents are parsed as UTF-8. You might have to explicitly set them inside JS script that sends the request.

@nickaein is right. Please check if the input you pass to the library is properly UTF-8 encoded.

@SConnectTeam Anything we can do for this issue?

Hi @nlohmann, thanks for the response.
As a feature it would be nice if the Parse can manage the encoding.
Our code uses 2 open source JSON libraries (unfortunately, different developers wrote it), one of them is this one.
The other library is a lot less user friendly but manages to parse the string.
Now we are facing 2 options: use the other library and change the entire project or handle encoding and use this one.

Sorry about this. This library only supports UTF-8, which is the right choice in my opinion, see http://utf8everywhere.org.


[Bug]: Date Picker is cut off when positioned on the right end of a page

Tremor Version
3.11.1
Link to minimal reproduction
none
Steps to reproduce

Position a DatePicker at the right end of a page
make it smaller than it normally is, i.e. :`className="w-58"``
click on it so the calendar menu opens
notice that the calendar is cut off
an horizontal scroll bar appears in the page

What is expected?
the floating menu containing the calendar should be automatically moved to fit into the page
I would also accept an anchor option to force the menu to be anchored on the right of the input field rather than on the left
What is actually happening?

What browsers are you seeing the problem on?
Chrome
Any additional comments?
No response

@severinlandolt hey, I feel I can fix this. Should I submit a PR?

That would be great! I just assigned you. I have to go to sleep now🤣

That would be great! I just assigned you. I have to go to sleep now🤣

Would try to submit the PR by the time you wake up!🤣

Hey guys, I was experimenting with the component and sort of found it difficult to fix the alignment automatically. This is so because the Calendar is being rendered in an absolute component, which makes it very tricky to use flex boxes. I however, created a flag that will dock the calendar to left/right, thereby fixing the issue.
Here is a demo

Can anyone suggest any improvements? @severinlandolt @lucafaggianelli

I've completed some tests and its basically a feature that our underlying library (headlessui) does not offer natively.

Thank you @rajdip-b for your initial effort and suggesting a new prop. We will do some thinking around that an come back later!

I've completed some tests and its basically a feature that our underlying library (headlessui) does not offer natively.
Thank you @rajdip-b for your initial effort and suggesting a new prop. We will do some thinking around that an come back later!

Sure!!

Yep indeed I reached the same conclusion on headlessui. Though I saw you use the lib floating ui as well in tremor, which seems more suited for this task.
About the new property, maybe I would call it "anchor" or something similar to make it more flexible so it could have values like right, left, center for the horizontal alignment and top, bottom, middle for the vertical one, I see many libs using this pattern.

Yep indeed I reached the same conclusion on headlessui. Though I saw you use the lib floating ui as well in tremor, which seems more suited for this task.
About the new property, maybe I would call it "anchor" or something similar to make it more flexible so it could have values like right, left, center for the horizontal alignment and top, bottom, middle for the vertical one, I see many libs using this pattern.

Yeah even I did notice that. Should I proceed with the implementation, see what all changes I can implement? @lucafaggianelli @severinlandolt

Good news: https://x.com/adamwathan/status/1729274129264624056?s=20

Good news: https://x.com/adamwathan/status/1729274129264624056?s=20

I guess this issue can be closed then?

I will keep it open until Headless UI has been updated

Sure!

Any update on this?

Hi @rlancejohnson → still blocked! Waiting for headless ui 4.0.

Hi @lucafaggianelli @rajdip-b  @rlancejohnson! Brief update: The overflow problem still persists and it looks like that this won't be fixable soon. I will update this asap once there is a fixing headless ui release.
If you are in desperate need of a date picker with improved positioning, it's worth taking a look here: https://raw.tremor.so/docs/inputs/date-range-picker

Soon...


[Feature] Support some math function

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
Support function：
corr https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/corr
tanh https://prestodb.io/docs/current/functions/math.html?highlight=tanh#tanh
Use case
No response
Related issues
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will try it


Overly ambitious groupby().sum()´ in rename()`

Description of the problem
We identified a silly mistake in the IAMC 1.5°C Scenario Data due to the over-ambitious use of groupby().sum() in the rename() function implementation. See https://github.com/iiasa/ipcc_sr15_scenario_analysis/issues/2 for details.
There were a number of variables with a typo, and when using rename() to correct that, I failed to check whether any variable without the typo also existed. This was the case for two variables, so the values are now double compared to what they should be.
Proposed solution
I would like to add a kwarg check_duplicate (default True) to the function, which raises an error message if any rename mapping leads to a conflict with the existing model-scenario-region-variable-unit-year index in the data. A user would need to consciously override the check to merge renamed and existing values as part of the rename. Idea: fail with a bang rather than return unexpected results.
The merging of data renamed to the same variable name should obviously always work.
@gidden, @OFR-IIASA, any comments?

Sounds reasonable to me. Probably easier to look at the implementation, as I don't 100% grok the issue.


Simplify ninja logic and make SPI customizations for finding its path

Same set of changes as here: https://github.com/OpenImageIO/oiio/pull/1160

LGTM

@fpsunflower: sorry for mymcomment but as I see no other way how to potentialy contact you about SunFlow I take my chance here - I wrote you two questions on SunFlow discussion over at SourceForge here https://sourceforge.net/p/sunflow/discussion/291739/ Please, could you answer them there? :( Sorry for being intrusive...


Can't complete places visited or lived in

Subject: Can't complete places visited or lived in
Description:
Tried to complete my profile, tried to select regions visited and lived in from drop down lists
Results:
I could not check any of the boxes in the regions visited or lived in sections at the end of the profile form. I couldn't scroll through the lists either, only search. Also, the text box for additional info was visible through the drop down regions lists so they were difficult to read.
Backend version: develop-c46dacca
Frontend version: develop-c46dacca
User Agent: Mozilla/5.0 (Linux; Android 8.0.0; moto g(6) play Build/OPP27.91-46; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.159 Mobile Safari/537.36 EdgW/1.0
Page: https://app.couchers.org/profile/about
User: katvanwanderer (4488)

I confirm the issue (Chrome on Win10).

Dupe of #1982 (I think a fix is waiting to be released anyway)


IRGen: Only emit PragmaCommentDecls if building for Windows, or LTO is enabled [5.4]

clang::DeclContext::decls_begin() deserializes all the pre-compiled headers
imported into the current translation unit, which is expensive.
Workaround this by disabling the emission of PragmaCommentDecls unless we're
building for a Windows target, or LTO is enabled.
A better fix would be to serialize a separate index for PragmaCommentDecls
so that they can be deserialized without deserializing everything else.
I filed rdar://problem/74036099 to track the longer-term fix.
Fixes rdar://problem/73951264.

@swift-ci Please test

Original: #35747


Dependency version issues when updating from v3.19.0 to 3.22.0

When upgrading to v3.19.0 this past summer external dependencies were no longer declared (related issue https://github.com/docusign/docusign-esign-java-client/issues/234). As such we explicitly declared all of our dependency versions when updating. However now we are updating to 3.22.0 and getting errors that it is trying to pull in old versions of libraries.
Why was this change introduced in 3.19.0 seemingly reverted in 3.22.0? And why was there no mention of this change in any sort of release note? Is there plans to include a shaded jar for 3.22.0? Trying to update to this version from 3.19.0 is a breaking change and should be mentioned somewhere.
Also is there plans to update dependencies that have vulnerabilities? Both jackson-databind and jersey common have new minor versions that were out before 3.22.0 was released with fixes to the vulnerabilities.
https://mvnrepository.com/artifact/com.docusign/docusign-esign-java/3.22.0

Thank you for reaching out.
One of our engineers will come back to you shortly.

Is there any update or response on this?

@sebastianmgwozdz  thank you for the update! Will be on the lookout for the new versions.

Keep an eye out for 3.23.1 over the course of the next week or so.

@sebastianmgwozdz any update on this? As far as I can see, 3.22.0 is still the last release available, and it's been almost a month already.

@jwill0213 @FyiurAmron Thank you for your patience! We have released 3.23.0 as of this morning which includes a shaded jar version. Please let us know if anything is still unresolved.


tikv panic with "[lib.rs:478] ["internal error: entered unreachable code"] “ when injection ticdc owner io hang

Bug Report

What version of TiKV are you using?
./tikv-server -V
TiKV
Release Version:   8.2.0-alpha
Edition:           Community
Git Commit Hash:   e0659a354b70c8c592140b10ef6c9881d3179a8f
Git Commit Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time:    2024-06-18 11:37:45
Rust Version:      rustc 1.77.0-nightly (89e2160c4 2023-12-27)
Enable Features:   memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored
Profile:           dist_release
2024-06-19T19:55:04.287+0800
./cdc version
Release Version: v8.2.0-alpha
Git Commit Hash: 4860903abe960358a7048dbac2513f0e687950e3
Git Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-06-17 11:38:01
Go Version: go version go1.21.10 linux/amd64
Failpoint Build: false
2024-06-19T19:55:04.863+0800	INFO	k8s/client.go:135	it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129
What operating system and CPU are you using?
8c/32g
Steps to reproduce
1、start changefeed
2、run workload
3、injection ticdc owner io hang
What did you expect?
no panic
What did happened?
tikv panic
{"container":"tikv","level":"FATAL","namespace":"endless-ha-test-ticdc-tps-7590918-1-753","log":"[lib.rs:478] [\"internal error: entered unreachable code\"] [backtrace=\"   0: tikv_util::set_panic_hook::{{closure}}\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/lib.rs:477:18\\n   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2029:9\\n      std::panicking::rust_panic_with_hook\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:783:13\\n   2: std::panicking::begin_panic_handler::{{closure}}\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:649:13\\n   3: std::sys_common::backtrace::__rust_end_short_backtrace\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:171:18\\n   4: rust_begin_unwind\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:645:5\\n   5: core::panicking::panic_fmt\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:72:14\\n   6: core::panicking::panic\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:144:5\\n   7: cdc::delegate::Delegate::finish_prepare_lock_tracker\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/cdc/src/delegate.rs:436:50\\n      cdc::delegate::Delegate::finish_scan_locks\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/cdc/src/delegate.rs:467:9\\n   8: cdc::endpoint::Endpoint<T,E,S>::finish_scan_locks\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/cdc/src/endpoint.rs:1015:23\\n      <cdc::endpoint::Endpoint<T,E,S> as tikv_util::worker::pool::Runnable>::run\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/cdc/src/endpoint.rs:1205:18\\n   9: tikv_util::worker::pool::Worker::start_with_timer_impl::{{closure}}\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/worker/pool.rs:517:25\\n      <tracker::tls::TrackedFuture<F> as core::future::future::Future>::poll::{{closure}}\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tracker/src/tls.rs:64:23\\n      std::thread::local::LocalKey<T>::try_with\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:270:16\\n      std::thread::local::LocalKey<T>::with\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:246:9\\n      <tracker::tls::TrackedFuture<F> as core::future::future::Future>::poll\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tracker/src/tls.rs:62:27\\n      <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll\\n             at var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/future/future/map.rs:55:37\\n      <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll\\n             at var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/lib.rs:93:13\\n      yatp::task::future::RawTask<F>::poll\\n             at var/cache/cargohome/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:59:9\\n  10: yatp::task::future::TaskCell::poll\\n             at var/cache/cargohome/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:103:9\\n      <yatp::task::future::Runner as yatp::pool::runner::Runner>::handle\\n             at var/cache/cargohome/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/task/future.rs:387:20\\n  11: <tikv_util::yatp_pool::YatpPoolRunner<T> as yatp::pool::runner::Runner>::handle\\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/yatp_pool/mod.rs:199:24\\n      yatp::pool::worker::WorkerThread<T,R>::run\\n             at var/cache/cargohome/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/worker.rs:48:13\\n      yatp::pool::builder::LazyBuilder<T>::build::{{closure}}\\n             at var/cache/cargohome/git/checkouts/yatp-e704b73c3ee279b6/793be4d/src/pool/builder.rs:114:25\\n      std::sys_common::backtrace::__rust_begin_short_backtrace\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:155:18\\n  12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:529:17\\n      <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\\n      std::panicking::try::do_call\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:552:40\\n      std::panicking::try\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:516:19\\n      std::panic::catch_unwind\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:142:14\\n      std::thread::Builder::spawn_unchecked_::{{closure}}\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:528:30\\n      core::ops::function::FnOnce::call_once{{vtable.shim}}\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\\n  13: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\\n      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2015:9\\n      std::sys::unix::thread::Thread::new::thread_start\\n             at rust/toolchains/nightly-2023-12-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:108:17\\n  14: start_thread\\n  15: clone\\n\"] [location=components/cdc/src/delegate.rs:436] [thread_name=cdc-0] [thread_id=35]","pod":"tc-tikv-2"}

/type bug
/severity critical
epic/panic

/assign 3AceShowHand

/assign flowbehappy

/epic panic

This looks introduce by the #16645, it won't affect previous released version, only affect the master brach


Added trait to create token from BigEndianInt.

Really useful trait not sure why I didn't wrote it at the beggining. Saves from creating temporary BigUints in a code that doesn't want to depend on num_bigint etc.

I just noticed when I commented out those two lines that zeroes out the channel balances it actually changes the end amount of A and B. But I feel like that comment about "reentrancy" is valid so the question is - how to do it safely?


Add "year" view

Description
How about adding a year-based view? Any concerns?

A 5-day view might be also interessting. I can contribute if that's a case.

A 5-day view might be also interessting. I can contribute if that's a case.

oh gooooood point

a year-based view

not in the plan


question/possible feature: Launch all tests of the role used in the scenario

Question/Feature
Molecule and Ansible details
#> ansible --version
ansible <IP_ADDRESS>
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]

#> molecule --version
molecule, version <IP_ADDRESS>rc11

Molecule installation method: pip
Ansible installation method: OS package

Desired Behaviour
I would like to be able to launch all the tests of the different role used in my scenario. For example, I have three different roles (one for ES, with specific tests, one for Logstash, and one for Kibana).
I want to test the Kibana role, and I also need the Elasticsearch role and the Logstash one (to test the full product stack). No problem for this part, only that the tests from the ElastcSearch and Logstash role aren't launched. If I want to do so, i need to copy the tests to the Kibana role.
So, is their actually a way to do this properly (by configuration or command option ?), or is this a possible feature for the v2 ?

@blackillzone Molecule doesn't have a way to do this, however, this sounds like a pytest/testinfra issue.
I have done stuff like this in the past with pytest by making a plugin.  However, the only way to register the plugin was through installing the tests as a pip project.  Not sure this is what you want.
We had a similar discussion in #831 around shared fixtures.  Again, I solved this before by writing a bunch of test methods in a shared pip package, but I hope @philpep can give us an idea of how to do this another way.

I implemented additional_file_or_dir that should help you.
verifier:
  name: testinfra
  additional_file_or_dir:
    - ../path/to/test_1
    - ../path/to/test_2
    - ../path/to/directory/


Paging v2

(message created by the CI based on PR content)

Merging, last commit comes from a PR that was green, and KV and Storage here are already green as well.


KAFKA-6018: Make KafkaFuture.Future an interface

Changing KafkaFuture.Future and KafkaFuture.BiConsumer into an interface makes
them a functional interface.  This makes them Java 8 lambda compatible.

cc @cmccabe

Yes it does.
As discussed in KAFKA-6018 the interface is marked as @InterfaceStability.Evolving and documented as:

This will eventually become a thin shim on top of Java 8's CompletableFuture.

If you want I can create a KIP for this.  But is this change big enough for this?

Yeah, a KIP is definitely required for any change with compatibility impact. And we can't do it until Kafka 2.0. We will definitely drop support for Java 7 by then and if we are going to break compatibility, we should take that into account as well.

So you propose me to create a KIP, or wait with the KIP for Kafka 2.0?
Btw, Java 8 is not required for this, so from that perspective it does not need to be lined up with the deprecation of Java 7.

You can propose the KIP now, that's independent of the release where the code change is included. I understand that Java 8 is not required for this. My point is that if we have to break compatibility and we can rely on Java 8 classes, then the solution may be different than if we can't rely on Java 8 classes.
For example,KafkaFuture may extend CompletionStage or CompletableFuture. Or we could remove KafkaFuture altogether. Just things to think about.

How about just creating a new interface, which KafkaFuture#Function can implement?  Then there is no compatibility impact.

@cmccabe I think you'd have to have methods that take the new interface as the parameter instead of the existing abstract class.

You could add a separate function overload which took the interface, rather than the concrete class.  Then we could deprecate the variant which took the concrete class.

Yeah, that's a possibility and the kind of thing that should be in the KIP.

Just updated the pull request, so the change becomes a backwards compatible change.
This is now all tracked under KIP-218

Looks good overall (and good call, @tombentley , on the missing deprecated annotations)

@steven-aerts someone just pointed this out to me. I was about to suggest we make the addWaiter method public. While we're at it, can we also incorporate the documentation and exception handling fixes I added here https://github.com/apache/kafka/pull/4308

@kvrl For me it is perfect to see #4308 as a part of this KIP proposal.

The Kafka streams project in this repo already has both of these functional interfaces with identical signatures
./streams/src/main/java/org/apache/kafka/streams/kstream/ForeachAction.java
./streams/src/main/java/org/apache/kafka/streams/kstream/ValueMapper.java

Ideally, the project would just use the JDK8 interfaces and not redefine it's own implementations. AFAIK, the next major version of Kafka is dropping JDK7 support anyway.
https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html
https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html

If JDK7 compatibility is still required for future versions of Kafka, then you can't use those. Even then there's no good reason to have redundant identical versions of BiConsumer/Function in the Kafka code base.

Just updated the commit to take in the latest review comments of xavier fixed one of my own in the code of colin.

Thank you for the reply. Two quick follow on comments:

There is no circular dependency. The streams project depends on clients, not the other way around. Code that needs to be accessible to both could go in clients without making any dependency or project structure changes.
If JDK8 classes can be used, you wouldn't want to keep custom versions of BiConsumer/Function/etc, or have custom versions that extend the JDK version, you would just want to use the JDK version and remove analogs from the Kafka code base. I'd imagine you would also want to use JDK8 CompletableFuture rather than have a custom KafkaFuture.

@kurtostfeld even if the interfaces have the same signatures, I think the specific naming in streams helps clarify the intent. And for someone using Java 8 lambdas, the name doesn't really matter, so renaming interfaces in this context seems a bit counterproductive and does not provide much value other than deduplicating the BiConsumer signature. Until we drop support for JDK7, I think it's simpler to keep things as is and revisit the APIs at that point.

The KIP for this PR was accepted.
@xvrl can you merge this PR?  Or do you still see some work which needs to be done?

Looks good to me. We need a committer to merge it though.
On Mon, Dec 18, 2017 at 11:46 PM Steven Aerts<EMAIL_ADDRESS>wrote:

The KIP for this PR was accepted.
@xvrl https://github.com/xvrl can you merge this PR? Or do you still
see some work which needs to be done?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/kafka/pull/4033#issuecomment-352664739, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxwK8RNJkYfBaux9MhWe7HCEyyR8Asmks5tB2nSgaJpZM4PwSeD
.


Doesn't respond to multiple messages in a single transaction (repeated start)

Messages targeted for an INA260 using the Adafruit INA260 library fail to get a response if they use repeated start, for example the PulseView capture below shows a successful read, then a failed read at a specific address which uses I2C repeat start.

It happens because there is no stop bit, so the stop_handler function is never triggered. In I2C terms, the library only supports a single "message" in a "transaction".
I have a fix which shuffles the instructions around and adds a trigger of IRQ 1 in start_condition. It's a bit of a bodge, as I'm not sure if it will break some other use cases, but will share it tomorrow.

Closed with #5


zos SAL: payout_farmer method should check if there is enough found in the wallet before trying to execute the transaction

https://github.com/threefoldtech/jumpscaleX_libs/blob/development/JumpscaleLibs/sal/zosv2/billing.py#L12

Verified
1- Create new wallet.

2- Try to deploy ubuntu container with the new wallet.

3- Check if there is a transaction happened.


Upgrade Conda Python to 3.9

RoboStack workspaces

Seems like envs are not liking being updated (a few machines now)
Solution is to create a new env and reinstall any conda requirements files needed.
Also useful to check and make sure all libraries we've used in our development have been recorded in requirements files.


kind.sh on macos including calico

Updated the scripts to cover kubeslice kind cluster setup on mac os versions along Calico Installation.

looks like colima https://github.com/abiosoft/colima can create kubernetes cluster itself. Why do we need kind clusters then?

Wow.   Ok.    Not sure I'd wait that long myself... but if that's what it
is then that's fine.
On Tue, Jun 21, 2022 at 4:44 PM Kranthi Kumar @.***>
wrote:

@.**** commented on this pull request.
In kind/kind.sh
https://github.com/kubeslice/examples/pull/18#discussion_r903052174:

+kubectx $PREFIX$CONTROLLER
+kubectx

+echo Install the Tigera Calico operator...
+kubectl create -f https://projectcalico.docs.tigera.io/manifests/tigera-operator.yaml
+
+echo Install the custom resource definitions manifest...
+kubectl create -f https://projectcalico.docs.tigera.io/manifests/custom-resources.yaml
+sleep 120
+
+echo "Check for Calico namespaces, pods"
+kubectl get ns
+kubectl get pods -n calico-system
+echo "Wait for Calico to be Running"
+namespace=calico-system
+sleep=900
It's taking more than 600secs in Amazon EC2, macOS Monterey 12.4
Instances, that why updated with Sleep 900.
—
Reply to this email directly, view it on GitHub
https://github.com/kubeslice/examples/pull/18#discussion_r903052174, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AX2CF2QJENJ4VKOUEWHXMY3VQISUJANCNFSM5ZNARS7Q
.
You are receiving this because your review was requested.Message ID:
@.***>

@KRANTHI0918 What's going on with this PR?   Were you going to make the changes?


Issue with Visual Studio build failures

I am using VS2015 update 1 (version 14.0.24720.00) and Serenity 1.8.20. I have pushed my project to VS Team Services and have not had any trouble yet building my project until I tried to use the VSTS build with CI. I am receiving a build error because lessc is not checked into the source control for some reason. I looked at my project in VS, and sure enough, it said 'ignored'. I right-clicked, Add to Source Control and tried to commit but it basically said that I couldn't commit because there was no changes, even though the included changes have my lessc (Serenity.Web/tools/Node/less/bin/lessc) listed as an included change as an add. My remote doesn't even have the bin/ folder. Any ideas how to get the file included into the remote so it passes it's build? Thank you!

I don't have much experience with TFS, but maybe bin folders are ignored?
You may try moving lessc under lib folder (tools\Nodes\less\lib) then editing lessc.cmd under tools\Node like this:
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\less\lib\lessc" %*
) ELSE (
  node  "%~dp0\less\lib\lessc" %*
)

I'm going to do this also in 1.9.1, to resolve issues with bin folder

I really appreciate the prompt response! I'm thinking I'll just edit the less.cmd file like you've said, to avoid any issue with the bin folder. Thanks, man, keep up the hard work!

I have the same problem ,I can't resolve it .

The fix he provided above worked for me. Update to 1.9.5 and see if that helps at all.


ECS: Issue inside docker, or php version

Hi Tomas,
Trying to implement your recommendations in the sc repo, I manage to install ecs, but when I run it from inside the php container I got this error:
❯ docker-compose exec php php vendor/bin/ecs check

 [ERROR] Cannot autowire service "Symplify\EasyCodingStandard\Console\EasyCodingStandardConsoleApplication": argument
         "$commands" of method "__construct()" is type-hinted "array", you should configure its value explicitly.

But if I run this command from outside the container it works. Outside the container I have php 7.4.12 inside the container php 7.3.27
Not sure what could be the reason.

Hi Marcelo,
what is the version of ECS?
It better runs as composer dependency.
Try https://github.com/symplify/easy-coding-standard-prefixed to avoid conflicts in installation.
At least version 9.2.15

I was working with ECS non prefixed v9.2.11, upgraded to v9.2.14 no luck, then installed the prefixed version 9.2.15 still no luck running inside the docker container with 7.3, outside with 7.4.15 works fine, but I need to run it inside docker, because there is where the github actions will run the ecs step.

where the github actions will run the ecs step.

Github Action can run without Docker too. I would go for that as it's simpler solution.
In the other case, we'll need a minimal reproducible failing Github Action.

Thanks, I'll make it work as a different composer.json


Interpretation issues missing from dataset (metrics) page

Interpretation issues missing from dataset (metrics) page
This list is available on the current portal, e.g. http://www.gbif.org/dataset/26d72d3b-4544-4645-aa56-27aa8a669c6f/stats
It is valuable, because pubishers use it to help clean their dataset.

fbitem-dataset26d72d3b-4544-4645-aa56-27aa8a669c6f
Reported by: @kbraak
System: Firefox 51.0.0 / Mac OS X 10.10.0
Referer: https://demo.gbif.org/dataset/26d72d3b-4544-4645-aa56-27aa8a669c6f/metrics
Window size: width 1565 - height 940
API log
Site log

Practically all dataset metrics is missing. that is no good. That said, many of the same things can be seen from the occurrence search. but having it on the dataset page itself seems reasonable. same for checklist metrics.

Since stats tab is missing completely and deliberatly I will label this an idea and I see that you have already linked it to the main issue with ideas. Thanks - and you are of course right.


iOS Game Center improvements

Godot authenticates user automatically. It's problem for unsupported games.
Changing:

Disabled calling connect from OS.
Renamed connect method to authenticate.
Add GDScript binding for authenticate

Implements https://github.com/godotengine/godot-proposals/issues/1184 for 3.2 branch

I'm fine with the changes for the master branch, but for the 3.2 branch we should avoid breaking compatibility (thus no renaming/removal of methods from the API).

Maybe this could be hidden behind some project settings parameter?
This way applications that might be affected by this change wouldn't, but if developers require explicit authenticate call they would just change the project settings parameter.

That sounds overkill to me. I mean more that the removal of the connect() function is breaking: user scripts will fail compiling. It's OK for the behavior of these methods to change, but a compatibility connect() method should be kept (which can call authenticate, and raise a WARN_DEPRECATED warning about the need to change one's code).

Well for GDScript it wouldn't cause any issues with this change as method wasn't exposed. But if you mean GDNative scripts then yeah, I can see the reason behind not changing it at all for 3.2.

Oh OK, if it wasn't exposed then it's fine. For GDNative it's true that someone could theoretically have used it, but since there was no real GDNative support for iOS so far... I guess it's good :)

But if you mean GDNative scripts then yeah

GDNative is limited to the same API GDScript uses (with some exceptions, but there's none for iOS).

Same comments as for the master version: https://github.com/godotengine/godot/pull/40582#issuecomment-663225155

Same comments as for the master version: #40582 (comment)

Created PR to docs master. Do need PR separate for docs 3.2?

Do need PR separate for docs 3.2?

No, I handle this by merging relevant changes from master to 3.2 for the docs.

The docs are updated (godotengine/godot-docs#3830), but the code is not.

This needs a rebase to resolve merge conflicts.

Something went wrong with the rebase, it added 179 commits.

Something went wrong with the rebase, it added 179 commits.

Fix

Thanks!


searchHotKey uses WIN (meta) instead of CTRL on Linux / Windows

What happens?
The search box display shows ^K so I assumed it to be CTRL  + K. Unfortunately this was not working, it seems to be using WIN + K instead.
I, using Linux, asked my colleague to check on Windows and they came across the same issue. Another colleague using macOS found the CMD+K shortcut to work fine.
What did you expect to happen?
Search box to open with CTRL + K, not with WIN + K
How can we reproduce the issue?

Use a Windows / Linux machine
Visit a page using scalar e.g. https://sandbox.scalar.com
Hit CTRL + K (nothing happens)
Hit WIN + K (works)

Swagger/OpenAPI Example
https://sandbox.scalar.com

I think from here? I'm not too familiar with the ins and outs but I believe the meta key is the "WIN" key (also sometimes called "Super")
https://github.com/scalar/scalar/blob/f2cb2faee0ab421a0feabbaa5231f3bab5a7d1c1/packages/api-reference/src/components/SearchButton.vue#L23
The same issue might exist here:
https://github.com/scalar/scalar/blob/f2cb2faee0ab421a0feabbaa5231f3bab5a7d1c1/packages/api-client/src/components/ApiClient/AddressBar.vue#L25
Based on this site, I think meta should be replaced with control for non-Apple devices:
https://vueuse.org/core/useMagicKeys/

You got it! We got a PR up, I will check out the address bar as well

hey @Alvie check out this preview build, does it fix all the issues?
https://432ab736-7795-49bf-b078-83a2366eeece--scalar-deploy-preview.netlify.app/

hey @Alvie check out this preview build, does it fix all the issues?
https://432ab736-7795-49bf-b078-83a2366eeece--scalar-deploy-preview.netlify.app/

Hey @amritk! This is brilliant, thank you :) It's working great on Linux, I'll double check on Windows too

Cool! I'll merge and send up a release

Cool! I'll merge and send up a release

Can confirm working as expected on Windows too!


tps starts scraping from head OR genesis

Versi needs the tps utility to start scraping from the latest finalized block, instead of genesis.
This PR adds a new boolean CLI arg. If tps is called with --genesis, then it starts scraping from genesis.
If nothing is provided, it starts scraping from the latest finalized block.

The PR is still a draft. We should use this to also refactor the way tps is outputting the metrics, so that printing on console is not the only option.
@bredamatt what would be the best output for the metrics?

cool, I'll look into it and try to write something by EOW

I committed the changes related to this issue: https://github.com/paritytech/polkadot-stps/issues/45 on this branch. LMK what you think @bernardoaraujor

why are we adding a new parachain-monitor crate, and then replicating the same code inside tps?
do we have any specific reason to have a new separate crate?
adding the same code twice in different places feels reduntant.

As mentioned we can delete the Parachain monitor crate once fully integrated, which it is now.

We can keep working on this PR, but https://github.com/paritytech/polkadot-stps/pull/48 should be merged before we merge this.

https://github.com/paritytech/polkadot-stps/pull/48 Approved on my end. We can always improve the metrics further down the line.
For now what is critical is having the TPS metrics.


Latest commits: no audio on Apollo Lake SOF

@MilkyDeveloper  I have been running on an image from a fast USB and built from commit bdb8ba which was at the point where my last PR was accepted. Everything has been working fine -- see #176.
I just built an image using the latest commit 8eb866 because I wanted to test the jack detection.  But after building it and running apl-sof-setup-audio with a reboot, no audio devices are found.  This was odd so I flashed a new USB image from the earlier bdb8ba commit (the one I've been doing my work on) and configured it.  Same thing; no audio detected.  I don't get it.
Why I am now getting no audio devices detected despite the image I use regularly has all audio working, BT, etc.?  Makes no sense.
What do you suggest I check to figure out what is happening here?  Ideally, I'd like to have an image from the latest commit that works.

I’m confused by this too. SOF devices used to be well supported. The only variable changing is the kernel.
sudo alsa-info (Upload the file made) would be super helpful.

Ok, please check my steps here.  I've been on the road a lot lately and may have forgotten some things...

I updated my fork to match the main.
I built an image (commit 8eb866) using FEATURES=ISO,KEYMAP bash setup.sh gnome ubuntu jammy-22.04.
I flashed that image to a USB, inserted it, booted from it, and connected WiFI.
Ran apl-sof-setup-audio then rebooted.
Went to Settings > Sound and the only output device is Dummy output.

Am I missing something here?  Output of sudo alsa-info is here.

sudo rm /etc/modprobe.d/alsa-blacklist.conf

Thanks for comparing these two outputs. I’ll remove the snd_soc_skl.

Clarification:  Did you want me to run that command?  Or should I try another pull/build?

You should solely run the command.

I ran the command on the latest image.  Nothing seemed different.  I rebooted; still no output devices.

I see PipeWire is installed, which might be incompatible. Everything else is detected fine. This explains a lot.
Try uninstalling PipeWire but keeping PulseAudio. If that doesn’t work, uninstall PulseAudio too and tell me the output of speaker-test.

This is weird.  I did sudo apt remove pipewire and rebooted.  Now it boots only to command line; no DE.
BTW: I know that Pipewire definitely did not work on my system.  When we were testing the audio, I removed it and was running only PulseAudio.  That is the situation on my working image.

Interesting...  I distinctly remember that Pipewire did NOT work on my system; you suggested it during our original testing with audio -- it worked for one user (I forget who) -- but it totally failed for me and I had to go back to using only PulseAudio.
On the 8eb866 image, I did sudo apt remove pipewire then rebooted.  Still no output devices.
I just did a check on my working image -- doing apt list | grep pipewire and this was the output:

rod@sleek:~$ apt list | grep pipewire
gstreamer1.0-pipewire/jammy,now 0.3.48-1ubuntu1 amd64 [installed,automatic]
libpipewire-0.3-0/jammy,now 0.3.48-1ubuntu1 amd64 [installed,automatic]
libpipewire-0.3-common/jammy,now 0.3.48-1ubuntu1 all [installed,automatic]
libpipewire-0.3-dev/jammy 0.3.48-1ubuntu1 amd64
libpipewire-0.3-modules/jammy,now 0.3.48-1ubuntu1 amd64 [installed,automatic]
pipewire-audio-client-libraries/jammy 0.3.48-1ubuntu1 amd64
pipewire-bin/jammy,now 0.3.48-1ubuntu1 amd64 [installed,automatic]
pipewire-doc/jammy 0.3.48-1ubuntu1 all
pipewire-media-session/jammy,now 0.4.1-2ubuntu1 amd64 [installed,automatic]
pipewire-pulse/jammy 0.3.48-1ubuntu1 amd64
pipewire-tests/jammy 0.3.48-1ubuntu1 amd64
pipewire/jammy,now 0.3.48-1ubuntu1 amd64 [installed,automatic]

This is odd given that: 1) I am sure it had been removed, and 2) this is the working image.

I think:
systemctl —user stop pipewire.socket

would do the trick. I forgot that Pipewire is now a dependency of GNOME (though PA is still compatible).

Ran that command and rebooted.  It was looking more like the normal boot messages but still came to command-line.
NOTE: I will be leaving tomorrow morning for another week-long trip.  I will pick this up when I return and will be home for a month; sufficient time to dig into this deeply and figure out what is different between the two images.

Maybe this helps:
https://github.com/EMLommers/Apollolake_Audio


Random tuner for 6 string guitar

You can't actually test this when it is not in main, because of weird VScode interactions with terminal so if u want to see it you can uncomment the stuff I added in the main.java.


fix: create separate test file, which will be deleted later

Addressed in #26
Improvement: added a global variable file, which will be updated by response of test_post_web_route() and deleted by test_delete_paste_route().

@A91y Everything LGTM, Can you also add test's for /file route.

Sure!


Homepage - Featured Items content not relating to metadata

Hi. I've overwritten the news items on the SCS site with real content but the main content isn't pulling through to the site for any of the items (featured_item.content). The page name is pulling through though. Not tried an image yet. Ta.

This is now resolved.


Issue with Undo and Redo Button

The Undo and Redo Button Behaves Wierdly and Perform Unwanted Functions when Used Like this
Description
Provide relevant details according to the context:

OS - Checked in Win 10 / Win 11
Browser + version - All Browser
Screen resolution - 1080p / 720p / 900p

How to reproduce?

In the Trumbowyg write Some Content or Have Some Content in the editor
Select Any Section like Paragraph,Words or Sentence  (Select Any Section But not Entire Content)
Make it Bold
Make it Italic
Now try to Undo (if it did not work)
Next try Redoing it .
I Hope you are able to Reproduce the Issue

We are experiencing the same (or perhaps similar) issue.  You don't even need to make it italic.
Simply add some content, then ctrl-a, ctrl-b, then ctrl-z and it will duplicate portions of the content.
I can do this in the demo editor on the Trumbowyg website.

I have the same problem. Does anyone find a solution, or will there be a fix?


ARN Error  No Response

I run the app, and the phone is frozen.
I took a look at the java heap, and found more than 68K objects of the "Point" Class(1280*270 phone). Hope this message will help you.

I created a pull request to fix the ANR. Please see : https://github.com/manolovn/trianglify/pull/3

Just one thing, fix checkstyle errors please https://travis-ci.org/manolovn/trianglify/builds/103576059


Machine 'flutter-devicelab-linux-38' might be in bad state and may need to be quarantined

Type of Request
bug
Infrastructure Environment
DeviceLab
What is happening?
The machine's attached Android device might be in a bad state.
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8746476375267978913/+/u/flutter_doctor/stdout
[✓] Connected device (1 available)
    ! Device 34071FDH3003KE is not authorized.
      You might need to check your device for an authorization dialog.

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8746476375267978913/+/u/run_platform_views_scroll_perf_impeller__timeline_summary/stdout
[2024-05-30 15:13:37.145749] [STDOUT] Executing "/opt/s/w/ir/cache/android/sdk/platform-tools/adb devices -l" in "/opt/s/w/ir/x/w/recipe_cleanup/tmphsam8q_r/flutter sdk/dev/devicelab" with environment {BOT: true, LANG: en_US.UTF-8}
[2024-05-30 15:13:37.151169] [STDOUT] stdout: List of devices attached
[2024-05-30 15:13:37.151236] [STDOUT] stdout: 34071FDH3003KE         unauthorized usb:3-3 transport_id:1
[2024-05-30 15:13:37.151255] [STDOUT] stdout:
[2024-05-30 15:13:37.161231] [STDOUT] Executing "/opt/s/w/ir/cache/android/sdk/platform-tools/adb devices -l" in "/opt/s/w/ir/x/w/recipe_cleanup/tmphsam8q_r/flutter sdk/dev/benchmarks/platform_views_layout" with environment {BOT: true, LANG: en_US.UTF-8}
[2024-05-30 15:13:37.169082] [STDOUT] stdout: List of devices attached
[2024-05-30 15:13:37.169148] [STDOUT] stdout: 34071FDH3003KE         unauthorized usb:3-3 transport_id:1
[2024-05-30 15:13:37.169164] [STDOUT] stdout:
[2024-05-30 15:13:37.173266] [STDERR] Task failed: DeviceException: No Android devices detected
[2024-05-30 15:13:37.173331] [STDERR]
[2024-05-30 15:13:37.173354] [STDERR] Stack trace:
[2024-05-30 15:13:37.186806] [STDERR] package:flutter_devicelab/framework/devices.dart 271:7     AndroidDeviceDiscovery.chooseWorkingDevice
[2024-05-30 15:13:37.186870] [STDERR]

...

Task result:
{
  "success": false,
  "reason": "Task failed: DeviceException: No Android devices detected"
}

This appears to be a recent issue, previous builds passed: https://chromium-swarm.appspot.com/bot?id=flutter-devicelab-linux-38
Steps to reproduce
N/A
Expected results
N/A

Looks like the machine recovered by itself. Its latest task passed: https://luci-milo.appspot.com/ui/p/flutter/builders/prod/Linux_pixel_7pro flavors_test/2606/overview
Its flutter doctor no longer has the Device 34071FDH3003KE is not authorized error: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8746475247676644817/+/u/flutter_doctor/stdout
Closing!


Does not work

module.js:457
throw err;
^
Error: Cannot find module '../build/Release/dns_sd_bindings'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/siobhanlloyd/Downloads/airfoil-api-master/node_modules/mdns/lib/dns_sd.js:32:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the airfoil-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs airfoil-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls airfoil-api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm-debug.log.txt

Hi @ijaspley! It looks like this is an error loading the mdns module. Their installation page has a few notes that may be helpful:
https://github.com/agnat/node_mdns#installation
Are you able to run the following without error?
$ node
> require('mdns')
>

Once you're able to do that, airfoil-api should start.

Error: Cannot find module '../build/Release/dns_sd_bindings'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/USER/Downloads/airfoil-api-master/node_modules/mdns/lib/dns_sd.js:32:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)

It seems I really don't know what I'm doing and I need someone to hold my hand :)


should be compatible with AbstractStructArrayBase::add($item)

I get an error because of the type given to the variable in the function. Can you arrange it ? It works very efficiently when I delete the type. Sorry about my bad English.

No worry for your english.
This issue comes from the PackageGenerator project so please report this at this project, thanks.


[flutter_tools] Reland "Make upgrade only work with standard remotes"

This PR is a reland of #79372, which was reverted in #83423 due to the change breaking the plugins tree(#83373).
The reland is almost similar to the original PR, with updated comments wherever necessary.

This PR makes flutter upgrade to only work with "standard remotes", i.e., either https://github.com/flutter/flutter.git or the SSH remote git@github.com:flutter/flutter.git. If the user needs Flutter to track a different remote, they will need to set the FLUTTER_GIT_URL environment variable to that remote.
Otherwise running flutter upgrade makes the tool throw an error and exit.
The change does not make a distinction between remote URLs with/without the .git suffix (For instance, the tool wouldn't error out if the remote URL is set to https://github.com/flutter/flutter).
Error messages
The tool will display different error messages on different non-ideal user setups:

The user is tracking a different remote other than https://github.com/flutter/flutter.git or git@github.com:flutter/flutter.git and having FLUTTER_GIT_URL unset:

Unable to upgrade Flutter: The Flutter SDK is tracking a non-standard remote
"git@github.com:RoyARG02/flutter.git".

Set the environment variable "FLUTTER_GIT_URL" to "git@github.com:RoyARG02/flutter.git", and retry.
Alternatively, re-install Flutter by going to https://flutter.dev/docs/get-started/install.

If this is intentional, it is recommended to use "git" directly to keep Flutter SDK up-to date.

FLUTTER_GIT_URL is set to different url than the tracking remote:

Unable to upgrade Flutter: The Flutter SDK is tracking "git@github.com:RoyARG02/flutter.git" but
"FLUTTER_GIT_URL" is set to "https://github.com/flutter/flutter.git".

Either remove "FLUTTER_GIT_URL" from the environment or set it to "git@github.com:RoyARG02/flutter.git",
and retry. Alternatively, re-install Flutter by going to https://flutter.dev/docs/get-started/install.

If this is intentional, it is recommended to use "git" directly to keep Flutter SDK up-to date.

FlutterVersion.repositoryUrl is null (this happens if the current branch/channel is tracking a local branch of the repo):

Unable to upgrade Flutter: The tool could not determine the remote upstream which is being tracked by the SDK.
Re-install Flutter by going to https://flutter.dev/docs/get-started/install.

Related Issues
Fixes #78591.
Partially addresses #14120.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@christopherfujino PR is ready for review.


The value "NaN" is invalid for option "size"

Ubuntu 16.04
Node: 14.4.0
pouch-db: 7.2.2
crypto-pouch: 3.1.3
electron: 7.1.2
import PouchDB from 'pouchdb';
import PouchCrypto from 'crypto-pouch';

const db = new PouchDB(my-db');
db.crypto('some-password')

Results in
  constructor: 'NodeError',
  stack: 'RangeError [ERR_INVALID_OPT_VALUE]: The value "NaN" is invalid for option "size"\n' +
    '    at Function.allocUnsafe (buffer.js:272:3)\n' +
    '    at new Hmac (http://localhost:2003/app.js:210768:21)\n' +
    '    at pbkdf2 (http://localhost:2003/app.js:210813:14)\n' +
    '    at http://localhost:2003/app.js:210670:12'

According to nodejs docs
crypto.pbkdf2 have argument key length, before digest, in code must be used old format, this is why this error take place. Currently in package code it is called as follows:
pbkdf2(password, salt, iterations, digest);

which is incorrect.

crypto-pouch no longer uses crypto-browserify so I'm closing this issue. Let me know if you have any further issues!


Fix all go installations in the CI to the same version

Addresses CI build break in https://github.com/microsoft/hcsshim/pull/1554 that was caused by the pipeline automatically choosing golang 1.19. Instead, use golang 1.17.8, which was already in use in the CI.
Signed-off-by: Kathryn Baldauf<EMAIL_ADDRESS>

@kevpar PTAL

1.17 is out of support, can we set this to at least 1.18?

@kevpar Updated to 1.18.x

@kevpar PTAL when you can, finally got the linter to work :P


Continues requests when timer is running

When the timer is running there are continuous requests sent to the server, a better way of dealing with this is needed.

This happens because currentTime is synchronized and current-time-changed fires on each animation frame:
https://github.com/FlowingCode/SimpleTimerAddon/blob/29689b93df4f895acb38f0d02a66919e4d3ccfa3/src/main/java/com/flowingcode/vaadin/addons/simpletimer/SimpleTimer.java#L145-L148
getCurrentTime should be asynchronous, or at least updated on a debounced event instead of @Synchronized

Based on that, I'm thinking about two approaches that could be implemented:

Possibility of configuring how often the "current-time-changed" event can be fired from client side (ie: every 1 second, 5 seconds, etc.)
Adding a new method that will function asynchronously (ie: receiving a lambda, etc.)

Maybe it would be nice to have the possibility of disabling the listening of the events would be nice (ie: if I want to obtain current time asynchronously I would prefer not to receive requests for synchronizing the current time)


[Bug] Sonarr optional "Ignore AV1" formatting is wrong

Which Guide
Please add which Guide you found a Bug/Error with.
https://github.com/TRaSH-/Guides/blob/91988c93f0f0f1b5509b7c48a304e5d6dbcdfc15/docs/json/sonarr/rp/optionals.json
Describe the Error in the Guide
    "name": "Ignore AV1",
    "trash_id": "4861d8238f9234606df6721df6e27deb",
    "term": "/\bAV1\b/i"

has the end result of

The correct term is:
    "term": "/\\bAV1\\b/i"

like in the other terms. Which results in this:

Thnx,
Are you able to create a PR for it ?
Else i need to ask someone else to take a look at it.
I'm busy with another project at the moment


License

Hi, this project looks cool. Would you be able to attach a license so we know what is/is not allowed? Thanks!

Hello Ted,
Thanks for your interest in my project and sorry for the late answer.
I added a MIT licence.
Have a nice day,
Modrigue


working with https

Hi all i need a helping hand to get it working with https. I v nginx up and running with https. But when i load the page it stops while miced content . The backend still reponses with http.....

take care of the config file of nginx

i tried about 2 days... for me the backen (llm) answers via http and that will be blocked....

is working now

What exactly did you change here? I also have https issues (SSL)

i  ve added a .env to the dashboard container with the following:
NEXTAUTH_URL=http://localhost:8888/backend/
NEXT_PUBLIC_BASE_URL=https://localhost:8888/backend
NEXT_PUBLIC_BACKEND_API_URL=https://localhost:8888/backend
NEXT_PUBLIC_LLM_CONTAINER_URL=https://localhost:8888/backend


APEX-159 #resolve Fix application path in mini cluster test.

@vrozov please review

Please see #90. I'd suggest to combine both pull request.

@vrozov combined the changes


path/filepath: COM0 and LPT0 are now reserved on Windows

https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file states that COM0 and LPT0 are reserved names. I believe that this page used to only list COM[1-9] and LPT[1-9] as reserved, and empirically these names are available for use on the Windows versions I've tested.
We need to decide whether filepath.IsLocal should consider these names local or not.
In favor of filepath.IsLocal("COM0")==false: Current behavior, empirically you can create a file named COM0.
In favor of filepath.IsLocal("COM0")==true: Documented as a reserved name.

CC @golang/windows

https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces
It seems very complex. Since these are aliases, on a computer without serial or parallel ports these file names can be created, but it is not portable.

Huh. I wonder if the reference to COM0 is a typo in https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces.
I don't understand how any of this works under the hood, but there's some form of special consideration given to the names COM[1-2¹²³], regardless of whether there's an associated serial port, but not for COM0.

Maybe someone could test with a few USB to serial adapters and see what COM number gets assigned? Or even better , on a desktop with a serial PCI extension board? If COM0 never gets assigned in practice, we can keep this as it is now.

https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file states that COM0 and LPT0 are reserved names. I believe that this page used to only list COM[1-9] and LPT[1-9] as reserved, and empirically these names are available for use on the Windows versions I've tested.

Agree. This matches my experience. COM[1-9] and LPT[1-9]  are reserved names on Windows, and should only be used to refer to existing serial or parallel ports.

Huh. I wonder if the reference to COM0 is a typo in https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces.

I don't see COM0 mentioned in https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces section.

I don't understand how any of this works under the hood, ...

Same here. Perhaps other Windows developers know more.
Alex

I believe that this page used to only list COM[1-9] and LPT[1-9] as reserved

True, LPT0 and COM0 were added two years ago (by a non-Microsoft contributor): https://github.com/MicrosoftDocs/win32/commit/2274ec1c189564d9fbb6f4a6d885ea6cc95f059a.
A more recent commit in that same file suggests that those names might be valid file names: https://github.com/MicrosoftDocs/win32/commit/b4c2d78eb8c7cfa9d3dc1a94d2064a9078445125

Tangentially, COM0 and LPT0 are in practice treated as normal file names, contrary to documentation; I have not changed this as it's not clear whether they're still reserved for future use or just in case.

I'm on leave now, so can't contact the owners to know the right answer.

That's really strange. We might want to undo the change to x/mod to exclude those names until we get better information. It's pretty concerning that the change was made by a non-Microsoft contributor but doesn't have more information in the commit message.

I think for path/filepath, we should stick with treating LPT0 and COM0 as non-reserved. Whether they're officially "reserved" or not, they're empirically available for use and I can't imagine Microsoft with their admirable commitment to backwards compatibility changing that at this point. All this behavior has been stable for decades.
I don't have an opinion on x/mod.


Windows Terminal does not support inline images

Windows Terminal version (or Windows build number)
1.10.1933.0
Other Software
Windows 10 10.0.19043.1200,
WSl2 4.19.84-microsoft-standard
curl
Steps to reproduce
curl v3.wttr.in/Moscow.sxl

Doesn't show much in Windows Terminal:

while it's showing meteo map using inline images generated by v3.wttr.in if terminal supports inline images (e.g. in uxterm, mlterm, kitty, wezterm, aminal, yaft, iterm2, mintty etc.)

Expected Behavior
Inline images supported by Windows Terminal
Actual Behavior
Inline images skipped and not rendered at all.

Also, even if there is no inline images used, cloud emojis rendered incorrectly. I see in Windows TErminal:

while it should all fit to the box as:

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. This is already being tracked by another issue on our repo - please refer to #448 for more discussion.
/dup #448
The weather glyph issue is a combo of /dup #1472 and #8000