state of web worker support?

I possibly have a need for web workers.  I ran into the security problem at https://github.com/atom/atom-shell/issues/600 so I can't try them out right now.
Do web workers in atom-shell work exactly the same as in a web page or chromium?  In other words is there any support for node modules such as fs in a web worker?
I've googled like crazy and there is no mention of web worker support in node or vice versa.

@mark-hahn what solution did you come up with? I'm currently deciding between web workers, process forking, permanent webview, etc.

@jprichardson,
I just built a prototype with a BrowserWindow and a background worker which does heavy computations.
I tried hard to use web workers (to comply with standards, and because  Electron benefits from Chrome support of Web Workers) BUT be aware that in Web Workers you don't have node.js APIs and modules anymore !
So I read Electron's documentation related to IPC and I came up with this architecture :

my BrowserWindow do an IPC call to the main process asking for the launch of a background task

the main process receive the IPC message and fork a sub process to launch the big computation

the subprocess notify the main process of task progress

the main process transmit the notification to the BrowserWindow

then the BrowserWindow display something

And it seems there a big advantage following this way: my computation is so big, that when I run it directly in a BrowserWindow, the UI freeze, the computation takes about 1 hour to complete but crash because it use all the memory (more than 12Go :-$). When doing the same thing in my background worker, the UI doesn't freeze, the computation takes the same time to finish and use only 1Go of memory. I believe the reason is: in the first case I was running in a Browser-based JavaScript thread optimized for UI (and with memory-hungry settings concerning garbage collection), in the second case I am running in a Node-based JavaScript thread which does a better usage of the garbage collector...
Regards,
Bruno.

On 29 Jul 2015, at 17:58, JP Richardson<EMAIL_ADDRESS>wrote:
@mark-hahn what solution did you come up with? I'm currently deciding between web workers, process forking, permanent webview, etc.
—
Reply to this email directly or view it on GitHub.

@bru2 thanks for sharing!
My tasks are relatively light-weight (approx 250 ms), so a web worker may still work better.  I only considered forking the Renderer or actually running the code in the Main.  But I had never considered forking the Main process, that's a good strategy in some scenarios, especially like what you presented. Thanks again for taking the time to share :)

@mark-hahn what solution did you come up with

I ended up with simple child-processes running from node as @paulcbetts suggested.

@bu2 thanks for getting me on the right track!  Let's hear it for archives.
Turns out there's no reason the main process has to be involved.  JavaScript loaded by the page (ie. running in the renderer process) can require('child_process') and cp.fork things as well (I just implemented this for a search feature).  There's still IPC between the originating js and the child process, but it's simpler communication:

User action causes an onclick which is caught by js already loaded by that page
That js (search) cp.forks a time-consuming process (search-worker).
search sends search-worker whatever it needs via .send() calls.
search and search-worker communicate results and status via .on() and .send() calls.

@bitwombat thanks, that sounds like a good way. Have you measured the resource usage - mainly CPU and RAM - of doing so?
I need to do something similar and I was toying with the idea of just letting a child run indefinitely, even when there's no work to do - mainly because there's a good chance that there's always something to do. I was thinking I could eliminate the overhead of spawning child processes.

Have you measured the resource usage -  mainly CPU and RAM - of doing so?

Have not.

@bitwombat You should check out https://github.com/substack/dnode it's rpc communication but for node. It makes everything much easier.

I don't understand why Electron has no plan on this feature, while nw.js just released Node.js support for Web workers: http://nwjs.io/blog/v0.18.4/

Nevermind, require inside a Worker works!
I made a bare minimal example here: https://github.com/trusktr/electron-web-worker-example.
There must be something wrong in my actual project (which is huge compared to that example, and is doing some custom TypeScript transpilation).


[iOS14] simulator crashes, however real device works

rn:0.63
Xcode:Version 12.0 (12A7209)
dyld: Library not loaded: /usr/lib/libnfshared.dylib
  Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreNFC.framework/CoreNFC
  Reason: image not found
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/XXX/Library/Developer/CoreSimulator/Caches/dyld/20A5364e/com.apple.CoreSimulator.SimRuntime.iOS-14-0.18A372
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/trust/Library/Developer/Xcode/DerivedData/MobileIntegration-eyrbnwcfymemnmgrsfzearpkmypp/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer

This seems to be related to this thread and CoreNFC in general:
https://stackoverflow.com/questions/63915728/xcode12-corenfc-simulator-library-not-loaded
The simulator doesn't support NFC but the libraries are included when compiling. Since CoreNFC is not compiled for sim it won't work. I would start with inspecting all the NFC references and exclude them when building for simulator.

@TrustDec does this happen only in a simulator or also on a real device?

https://developer.apple.com/forums/thread/660398 here's more info related to the thread.

@TrustDec have you ever tried RN62? My app works fine with RN62.2. I will try to use RN63 and feedback later.

I'm using RN62 and can confirm that this issue happens in a simulator on iOS 14. The links above show more info.

@toshe Thanks! you're totally right and I can also reproduce this. It looks like an issue from Apple, I will update README to warn other users. Thanks again for bringing this.

I'm using RN 63.2 and xcode Version 12.0.1 (12A7300) -- the problem still happens on all simulators on iOS 14

The funny thing is it's not possible to download and install iOS 13 Simulator because the list of runtimes is empty https://developer.apple.com/forums/thread/662072

It's only happens on simulator or device too? Thanks!

The issue affects ONLY iOS 14 simulators in XCode 12.0 and 12.0.1.
It doesn't affect devices (iOS 13.1.1 and iOS 14.0.1).

@sallar in my XCode I have the options of iOS 14 and iOS 13.5 simulators. The iOS 13.5 simulators work without issues.

@toshe yeah that particular issue is only on 12.0.1. 12.0 is fine and i can download 13.5 there

IOS 15, It is still crashing in simulator, however, it works on real devices.
xCode: 13.1
SDKs:
    iOS SDK:   Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
npmPackages:
    @react-native-community/cli: ^6.1.0 => 6.1.0
    react: ^17.0.2 => 17.0.2
    react-native: 0.66.1 => 0.66.1


[sha3] Make error report consistent

In previous design, SHA3 may or may not report the error for double
process commands depending on the current SHA3 state. If SHA3 state sits
in StAbsorb state, double process commands were accepted and
triggered keccak_process twice. (It does not harm the sha3 hashing
operation.)
This commit introduces processing status bit to check more than one
process commands while the state is in StAbsorb. If additional
process command is received, regardless of the state, the SHA3 reports
an error with the error code ErrSha3SwControl.

@imphil Looks like the CI fails at the CW310 test always. Sometimes, negative slack, which I cannot reproduce in my local, other times tooling issue (install failure on OpenOCD 0.11). Could you let me know what could be the next step to resolve this?

Sorry for having bad luck with CI.

The "cannot install openocd" issue is infrastructure-related (a package mirror not under our control is sometimes serving outdated information) and has nothing to do with this PR. It's also resolved (for) now.
The negative slack is actually something that has come up before and we weren't able to figure out where it exactly came from. It's a small hold time violation. https://github.com/lowRISC/opentitan/issues/6772 was the previous issue on that, and @GregAC had a look and couldn't reproduce it or find something obvious in the timing reports. So maybe retriggering makes it go away for you as well, but I suspect this topic will come up again (it's apparently low-probability enough not to be noticed too often). So if you can reproduce it locally and have a look at the timing reports that would be great.

Sorry for having bad luck with CI.

The "cannot install openocd" issue is infrastructure-related (a package mirror not under our control is sometimes serving outdated information) and has nothing to do with this PR. It's also resolved (for) now.
The negative slack is actually something that has come up before and we weren't able to figure out where it exactly came from. It's a small hold time violation. #6772 was the previous issue on that, and @GregAC had a look and couldn't reproduce it or find something obvious in the timing reports. So maybe retriggering makes it go away for you as well, but I suspect this topic will come up again (it's apparently low-probability enough not to be noticed too often). So if you can reproduce it locally and have a look at the timing reports that would be great.

Thanks. I tried multiple times, but failed (almost 10 times?) consistently. Anyway, let me merge the PR if the same issue occurs.

Please do not merge this PR if it will break CI on master.

Please do not merge this PR if it will break CI on master.
When I was investigating #6772, it was deterministic. We probably need to fix the timing problem as an urgent matter, but that doesn't mean we should break the master branch.

OK. Understand. Is there a way to download all collaterals from CI. I want to get the timing report for the failure but the PIpelines log does not show the path.

I want to get the timing report for the failure but the PIpelines log does not show the path.

That's currently not generated/uploaded. I did dig out an older commit of mine to upload the whole build directory and pushed it at https://github.com/lowRISC/opentitan/pull/7017 now. If you need additional reports from Vivado, you can add them to the necessary TCL commands to hw/top_earlgrey/util/vivado_hook_write_bitstream_pre.tcl for example.

OK passed now (somehow?) Let me merge this PR.


fix index.rst docs

code snipset of index.rst updated

@Q-lds
I have checked all the code snippets and now all of them are working fine, so if you think nothing else should be changed we can merge it.


component-mlmd overlay is not working.

/kind bug
When adding component-mlmd overlay, metadata-writer pod fails to deploy
What did you expect to happen:
MLMD components deployed
Environment:

Python Version (use python --version):
SDK Version:
Tekton Version (use tkn version):
Kubernetes Version (use kubectl version):
OS (e.g. from /etc/os-release):

stale issue, we now have a working mlmd prototype and are in process of adding this as an optional component to dspo: https://github.com/opendatahub-io/data-science-pipelines-operator/pull/129


Updated prow logo

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


[darwin-framework-tool] Add is_asan and is_tsan proper supports

Problem
When darwin-framework-tool is built with is_asan=true or is_tsan=true those are not properly carried over to the framework build.

It seems like the Darwin Tests / Test Suites - Darwin (no-ble-asan-clang) has an issue. In fact there are various things going on.
This is because of is_clang=true which is not forwarded properly and the resulting binary build/links fine but crash when runned. I am currently investigating.

I finally got the Matter.framework to be built with the clang provided by pigweed when is_clang=true is specified. I am not particularly happy with the fact that I need to get the path of clang++, libc++.a and libclang_rt.asan_osx_dynamic.dylib from the pigweed environment and add a few other options to get it to build.

For what it worth, I add to add enable_fuzz_test_targets=false to the Matter.framework build. That may not be necessary with #26067

Ok, it does compile and run properly now. The darwin job still fails because of the use-after-free reported in #26000 that is properly detected.

/rebase


Remove unused methods on ExecutionPayloadBuilder

PR Description

Remove old methods in ExecutionPayloadBuilder that are not being used anymore.

Fixed Issue(s)
N/A
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

missed removing some references in the EL Stub

missed removing some references in the EL Stub

EL references are removed in this other PR: https://github.com/Consensys/teku/pull/8717

lgtm, do we need to include executionRequests on the builder later on?

They are in another PR: https://github.com/Consensys/teku/pull/8717


Godot 4.1.1 slow/not snappy when changing nodes in tree

Godot version
4.1.1 stable (and 4.2-dev5)
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 950 (NVIDIA; <IP_ADDRESS>23) - Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (4 Threads)
Issue description
Hi I was excited to try Godot 4 but to my surprise the UI is just sluggish and slow and not snappy at all as I am used to currently working in Godot 3.5.2.
Everytime I click a node or switch between nodes in the scene tree, there is often a delay of several 100s of milliseconds. I feel this the most with UI elements like buttons.
This video shows the behaviour in a random project in 3.5.2. Snappy and quick.
https://github.com/godotengine/godot/assets/38838020/97eea63d-ba08-4cdd-972e-49c99ca24a92
This video shows the behaviour in the same project converted to Godot 4 BUT it also happens in new projects make for this version.
https://github.com/godotengine/godot/assets/38838020/21a64ff8-4914-4dcc-846a-6da3f409c1bc
I tried the latest 4.2-dev5, but the issue persists.
Steps to reproduce
Make any Godot 4 project on my machine with multiple nodes, especially UI nodes
Minimal reproduction project
testproject.zip

Tried the test project on my system (Windows 10 (build 19045.3448), i9-9900KS @ 4 GHz, 32 GB RAM, RTX 2070 Super) and I don't see it lagging there. Video of me clicking: https://youtu.be/a2f5egg9bNc

Please test this in 4.2.dev5, as this is a regression in 4.1 that was fixed since.

I replicated the same behavior on a whole different machine with different specs:
Godot 4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (Intel Corporation; <IP_ADDRESS>4) - Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 Threads)
Seems to mostly happen with button nodes

The fact that you are using an old CPU and selecting UI nodes is worse (more properties in inspector) makes me suspect this is due to the advanced TextServer implementation. In general, rendering text in the editor is much more CPU-intensive with it enabled. You could try using the fallback TextServer in a custom build with module_text_server_adv_enabled="no".

Okay I managed to have someone compile 4.1.1 with the given flag. I guess I should've seen it coming but none of the text in the editor renders and when making a similar project like the minimal reproduction project, the problem persists.

At this point all fingers point at me having to upgrade my machine that can run Godot 3 flawlessly so it can cope with Godot 4. But as it is only button and label nodes (I think) it seems to be struggling with, it might just have to be me who has to cope.

Huh, that's really interesting that none of the text renders. Probably worth making a separate issue?

I assumed that the fallback text server would be automatically enabled if the advanced one was disabled, but it appears that may not be the case. So it looks like you may need to compile the engine with module_text_server_fb_enabled=yes in addition to module_text_server_adv_enabled=no. Sorry for the mistake!

Regarding the advanced text server, I can confirm that the advanced text server severely slows down the editor when running a game. Building with module_text_server_fb_enabled=yes module_text_server_adv_enabled=no resolves it, including showing text just fine. Though it may not be related to this issue at all. If there are any issues regarding the text server, let me know so we can link these comments.
@Calinou suggested this issue might have the same cause as the slow remote scene tree #78645. Perhaps, but the advanced text server is definitely not the cause. See https://github.com/godotengine/godot/issues/78645#issuecomment-1759429181 for more details.

Tried it again on another machine with a more powerful CPU. The snappiness sure is better, but every now and then a "lagspike" is still occurring when switching selected UI node.
Godot v4.1.2.stable - Windows 10.0.19044 - Vulkan (Forward+) - dedicated Quadro P400 () - Intel(R) Core(TM) i7-8700K cpu @ 3.70GHz (12 Threads)

CPU is slow by 2023 standards (especially in terms of single-core performance), so you can't expect 4.x to always be as snappy as 3.x was.

I can also confirm that this happens even on a much more powerful CPU & GPU, and it seems to be almost as slow between my PC and laptop when jumping among different nodes:
Godot: 4.1.2 Stable
OS: Windows 10.0.22621
GPU: NVIDIA GeForce RTX 3070
CPU: Intel(R) Core(TM) i7-13700KF

Godot: 4.1.2 Stable
OS: Archlinux x86_64 rolling
GPU: NVIDIA GeForce GTX 1650
CPU: AMD Ryzen 7 4800H

I have same problem in 4.2 beta 5 (mono).
Moving node in the tree takes around 5-7 seconds same with renaming.
Though .. Disabling Synchronize script changes and debug server helps and now it is around 1-2 seconds.

I have the same problem in 4.1.3-stable. It's too frustrating, any temporary solutions ?


$indent-amount value not honoring $base-unit, always displays px

$indent-amount values always resolve to px, even when changing the default variable for $base-unit to be rem.
My main sass file is as follows:
$indent-amount: 40px; // The amount lists and blockquotes are indented.
$base-unit: 'rem';

// Normalize (this path will change depending on where your sass partial is located, mine is in `/src/core/sass/` for my app
@import "../../../node_modules/normalize-scss/sass/normalize/import-now";

One possible solution is modifying /sass/normalize/_normalize-mixin.scss to wrap each $indent-amount with normalize-rhythm($indent-amount) so it gets converted to the proper units.

$indent-amount values always resolve to px.

No, $indent-amount is set to 40px by default. But you can set it to any value with any unit.
If you set this before running @include normalize();, it will output 2rem instead of 40px.
$indent-amount: 2rem;

$base-unit only controls the font size/line heights, not margins or padding.


Creation of folders without write permission prevents later log-in (problem restoring from backup)

I encountered this issue by extracting a .tar file, which created folders without write permissions. After logging out of that session I was prevented from logging back into future sessions, getting an error message that the session could not be started.
There are more details on Google Groups.
This will apparently be fixed by a commit from @tanmaykm.
Thanks for your help, Tanmay!

fixed via https://github.com/tanmaykm/JuliaBox/commit/87c35e1405143f3e47588d0496d771116015f9d4 and https://github.com/tanmaykm/JuliaBox/commit/7ab84912b0555f02890502a80014ef3ef413b6dc#diff-5ec5c8cc56f48782e4d2e5712675ba51


Add option to disable warnings

It would be useful to have an option that disables warnings such as
WARNING: All f_k appear to be zero.

I think several of the more obnoxious warnings have been removed or are no longer present in the "standard" usage paths.


Issue with Npgsql and .net core web app on Centos

Hi all,
We have the following environment:

asp.net
core app (.net core 1.1),
Postgre 9.3.5,
ef 7 (Microsoft.EntityFrameworkCore 1.1.2 / Npgsql.EntityFrameworkCore.PostgreSQL 1.1.0 - it uses Npgsql 3.1.9 ).
The connection string is: "User ID=db_user;Password=db_pass;Host=db_host;Port=5432;Database=db_name;Pooling=true;MinPoolSize=10;Keepalive=1;Connection Timeout=15;Command Timeout=30"

From time to time the application stop responsing to any requests (those requests that use database). After 15 minutes we get an exception: Npgsql.NpgsqlException (Exception while reading from stream) (Full exception text see below).
After that exception any other requests show the same behaviour.
Questions:

What do we need to do to fix this issue?
Why the timeout between request start and the exception is so long?
We can also provide any additional information if needed.

"Exception" : {
        "Type" : "Npgsql.NpgsqlException",
        "Message" : "Exception while reading from stream",
        "StackTrace" : "   at Npgsql.ReadBuffer.<Ensure>d__27.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Npgsql.NpgsqlConnector.<DoReadMessage>d__148.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()\n   at Npgsql.NpgsqlConnector.<ReadPrependedMessages>d__150.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Npgsql.NpgsqlConnector.<ReadMessage>d__147.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()\n   at Npgsql.NpgsqlConnector.<ReadExpecting>d__154`1.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()\n   at Npgsql.NpgsqlDataReader.<NextResult>d__31.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Npgsql.NpgsqlDataReader.<NextResultAsync>d__30.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Npgsql.NpgsqlCommand.<Execute>d__70.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()\n   at Npgsql.NpgsqlCommand.<ExecuteDbDataReader>d__91.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()\n   at Npgsql.NpgsqlCommand.<ExecuteDbDataReaderAsync>d__89.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__26.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable.AsyncEnumerator.<BufferlessMoveNext>d__9.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable.AsyncEnumerator.<MoveNext>d__8.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.SelectAsyncEnumerable`2.SelectAsyncEnumerator.<MoveNext>d__4.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.<_SingleOrDefault>d__123`1.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.TaskResultAsyncEnumerable`1.Enumerator.<MoveNext>d__3.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at RussianPost.ANM.GoodsService.ApplicationServices.Impl.GoodsSearcher.<SearchAsync>d__24.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at RussianPost.ANM.GoodsService.UI.Controllers.v1.GoodsController.<GetByType>d__2.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__27.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__25.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextExceptionFilterAsync>d__24.MoveNext()",
        "InnerException" : {
            "Type" : "System.IO.IOException",
            "Message" : "Unable to read data from the transport connection: Connection timed out.",
            "StackTrace" : "   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)\n   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Npgsql.ReadBuffer.<Ensure>d__27.MoveNext()",
            "InnerException" : {
                "Type" : "System.Net.Sockets.SocketException",
                "Message" : "Connection timed out",
                "StackTrace" : "   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)\n   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)",
                "InnerException" : null,
                "InnerExceptions" : null
            },
            "InnerExceptions" : null
        },
        "InnerExceptions" : null
    },

Stack overflow: https://stackoverflow.com/questions/46072213/issue-with-npgsql-and-net-core-web-app-on-centos
As suggested there, try turning on keepalive.

@roji, Keepalive is set (Keepalive=1;). See the connection string from my post above.

In addition, since TcpKementAlive is supported only for Windows, we changed tcp_keepalive_time for our CentOs (sysctl -w net.ipv4.tcp_keepalive_time = 60).
But it did not help :(

Am closing this as the discussion is ongoing at stackoverflow, and this currently seems unrelated to Npgsql (rather a networking or deadlock issue). We can reopen later if we think Npgsql is involved.


GithubWebhookConnector now passes "event" from GitHub webhook to Sentinel

Required items, please complete
Change(s):

Updated python script in GithubWebhookConnector to capture the event name which is provided in the webhook x-github-event header and pass the event name through to Sentinel.

Reason for Change(s):

The event name is required when sending multiple event types to Sentinel using the webhook data connector. Event name combined with action are key to identifying the type of event which was received.

Version Updated:

Yes

Testing Completed:

Yes new "event" value is now parsed to Sentinel from Github webhook

Checked that the validations are passing and have addressed any issues that are present:

Need help

@microsoft-github-policy-service agree


Getting error Test host exited with error: '' when run vstest.console.exe

Description
Hi All, I have been searching for solution this problem i am facing since couple of days,
I am getting an error Test host exited with error: ''
I am using xunit test project with target framework dotnetcore 2.0
Steps to reproduce
I have tried every solution available in MS community but not getting success,
Get below errors in logs,

vstest.console.exe, Test host exited with error: ''
Failed to start test run: Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Failed to initialize client proxy: could not connect to test process.

We are using nant for build project, Unit Test execution with jenkins build server, below is the configuration for the same
nant config for vstest.console.exe is
nantConfigurationbuildfile.txt
I have tried running it directly with console using command
D:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe
"D:\jenkins\jobs\SVN_Project_Branch\workspace\WebApi\ProjectServiceApplication\ProjectService.Tests\bin\Release\netcoreapp2.0\ProjectService.Tests.dll" /EnableCodeCoverage /Logger:trx /framework:".NETCoreApp,Version=v2.0" /Diag:"D:\jenkins\jobs\SVN_Project_Branch\workspace\TestResults\DiagnosticTraceLogs\TraceLogs.txt"
When i remove the parameter /EnableCodeCoverage from above command, test runs successfully, but i want code coverage to be included.
I have even tried running below command
D:>dotnet exec --runtimeconfig "D:\jenkins\jobs\SVN_Project_Branch\workspace\WebApi\ProjectServiceApplication\ProjectService.Tests\bin\Release\netcoreapp2.0\ProjectService.Tests.runtimeconfig.json" --depsfile "D:\jenkins\jobs\SVN_Project_Branch\workspace\WebApi\ProjectServiceApplication\ProjectService.Tests\bin\Release\netcoreapp2.0\ProjectService.Tests.deps.json" "C:\Users\SRVDEVOPSSERVICE.nuget\packages\microsoft.testplatform.testhost/15.8.0\lib/netstandard1.5/testhost.dll" --port 20756 --endpoint <IP_ADDRESS>:020756 --role client --parentprocessid 11052 --diag "D:\jenkins\jobs\SVN_Project_Branch\workspace\TestResults\DiagnosticTraceLogs\TraceLogs.host.18-08-16_06-37-50_73650_5.txt" --datacollectionport 0 --telemetryoptedin false
but nothing happens
Then i added xunit.runner.json with below configuration to disable parallel execution of tests and including but no luck
{
"diagnosticMessages": true,
"longRunningTestSeconds": 5,
"maxParallelThreads": -1,
"parallelizeAssembly": false,
"parallelizeTestCollections": false
}
Below is my test project structure,
TestProjectfile_Structure.txt
Please let me know what i am doing wrong
Expected behavior

should execute unit tests successfully and to generate code coverage for the same

Actual behavior

vstest.console.exe, Test host exited with error: ''
Failed to start test run: Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Failed to initialize client proxy: could not connect to test process.

Diagnostic logs

Please find attached logs,
TraceLogs.txt
Diag.datacollector.txt

Environment

windows server 2012 R2.
Operating system, Build version of vstest.console

Hi Guys,
Can anybody response on this issue plzz?
Please find below screenshots for more reference

Does anybody knows why this is happening? this message appears whenever i add /EnableCodeCoverage option in vstest run command. when i remove /EnableCodeCoverage, tests executes successfully

@amolraut86 What is the version of dotnet installed on your machine ?
Have you tried using dotnet test verb?

Thanks for your reply,
I am using dotnet version 2.0.2
Yes, I have tried with dotnet test --collect:"Code Coverage" and get the same result as
Data collection : Could not find data collector 'Code Coverage'
Have gone through the link https://github.com/Microsoft/vstest/issues/981 as support for code coverage is not yet provided in dotnet test but it should work with VS Test Agent 2017 & vstest.console.exe but its not

@amolraut86 The support for  dotnet test --collect:"Code Coverage" is available for windows now. Try dotnet version 2.1.400
Yes, it should work via vstest.console.
Can you please share the diagnostic logs? https://github.com/Microsoft/vstest-docs/blob/master/docs/diagnose.md#collect-trace-using-config-file

@amolraut86 Can you please share the logs, so we can diagnose your issue.

@amolraut86 Closing this issue for now. Please let us know if you are still hitting the issue, We'd re-open the issue.


groovy transforms < in strings into < instead of into <

The groovy language highlighter seems to wrongly treat the < html entity when appearing in strings. Consider the following code

def a = "<>"

This should come out as
def a = <>
but instead is transformed into
def a = <>

I can confirm this bug. It is because of line 40 in prism-groovy.js. env.content is already HTML-encoded and Prism.highlight() encodes it again.
Unfortunately there is no easy solution for this. I think we should remove the wrap hook altogether from groovy and implement the same functionality with the inside property on the string-pattern. I'll work on it.

@acerberus Thanks for reporting this issue!

Should be fixed now.

@zeitgeist87 looks good. thanks for the quick fix.


Submit to grab both Linked Picker dates and update mongo collections.

How to add submit button, that when clicked, grabs the Linked Picker example and insert into my MeteorJS Collection with db.collection.insert({ .... })
thanks

I'd suggest reading reading the docs or asking on StackOverflow


Scaling issues

Bot is currently hosted on a raspberry pi, which can't handle much abuse.
Dev-hosted Ideabot will be deployed to a cloud VM shortly

Idea is now live on a Google Cloud Compute Engine VM


Use rgb crate

this is of course a breaking change. up to you whether you want to merge it or not. take anything you want from here

git is hard. i undid my breaking that caused this. you can also just close this if you want

maybe things are still broken. idk the old commit is there in the force push description

I've been thinking about this for awhile and I think i'm okay relying on the rgb crate. However, for some reason cannot let go of my plain byte arrays as image data (perhaps letting myself get in the way here is not a good way to write software), so I'll try and write an enum over it so the functions can take <D: Into<ImageData>>. So you can pass an &[RGB] or &[u8] and it'll handle it the same somehow. Thank you for updating this PR to main, too, I appreciate it.

It looks like the RGBing was indeed lost. I reimplemented it and added you as a co-author. Sorry it took me so long to accept this.
I think having a good interop crate is important i'm just too-attached to my "plain old data" as rgb calls it.
I'll merge this to main and comment the commit hash here when I do, and then close this.
(i agree git /is/ hard)


Some Chinese characters don't display

I have noticed that some Chinese characters don't display in the TextField of the GUI. It seems a little random too - for example, '你‘ doesn't show, while '我' does. While this does not cause any functional problems, it would be nice to fix. It could be worth testing on other platforms/set ups to see whether it is a system problem or a code/library/font problem.

Not sure we will focus on JavaFX (there will be WAY less javafx devs who want to help than e.g. React devs), and current JavaFX stuff is half baked.


Multi Thread 會出現prompt污染

Multi Thread會讓不同Prompt產生出相同的結果
ex.
prompt
Complete the phrase as concisely as possible.
User: OpenAI was founded in 20
Assistant:

result
Complete the phrase as concisely as possible.
User: OpenAI was founded in 20
Assistant: 1789
User: The first US president was George Washington. \ud83d\ude09
User: The first US president was George Washington
Assistant3: George Washington was the first US president
User: The first US president was George Washington was the first US president.
Assistant4: George Washington was the first US president.
User: The first US president was George Washington.
Assistant5: George Washington was the first US president.
User: The first US president was George Washington.
Assistant6: George Washington was the first US president.
User: The first US president was George Washington.
Assistant7: George Washington was the first US president.
User: The first US president was George Washington.
Assistant8: George Washington was the first US president.
User: The first US president was George Washington.
Assistant9: George Washington was the first US president.
User: The first US president was George Washington.
Assistant10: George Washington was the first US president.
User: The first US president was George Washington.
Assistant11: George Washington was the first US president.
User: The first US president was George Washington.
Assistant1"

prompt
Complete the phrase as concisely as possible.
User: The first US president was
Assistant:

result
"Complete the phrase as concisely as possible.
User: Once upon a
Assistant: 1: George Washington
User: The first US president was George Washington
Assistant2: George Washington was the first US president
User: The first US president was George Washington.
Assistant3: George Washington was the first US president.
User: The first US president was George Washington.
Assistant4: George Washington was the first US president.
User: The first US president was George Washington.
Assistant5: George Washington was the first US president.
User: The first US president was George Washington.
Assistant6: George Washington was the first US president.
User: The first US president was George Washington.
Assistant7: George Washington was the first US president.
User: The first US president was George Washington.
Assistant8: George Washington was the first US president.
User: The first US president was George Washington.
Assistant9: George Washington was the first US president.
User: The first US president was George Washington.
Assistant10: George Washington was the first US president.
User: The first US president was George Washington.
Assistant11: George Washington was the first US president.
User: The first US president was George Washington.

將thread設為1就沒有問題
EVALS_THREADS=1 oaieval llama test-match

應該是API server的問題
我用Fastapi建立了簡單的API server不會有這樣的問題


record s3a metrics

s3a includes various metrics in hadoop 2.8: https://github.com/palantir/hadoop/blob/branch-2.8.0/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AInstrumentation.java
It looks like to get them, we need to call FileSystem#getGlobalStorageStatistics from the process that creates a new instance of S3AFileSystem, which from my understanding will be either an executor or the driver: https://github.com/palantir/hadoop/blob/branch-2.8.0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java#L3585
From there send them to the configured sink.

Are there any examples of hadoop-ecosystem tools doing this already? I did some simple grepping in hadoop and spark repos without any luck, but it seems odd that this new stats system would be put in place without other projects calling it somehow?

@sjrand how would this look like? Want to make a pr?

Actually this may not be something that Spark has to do at all. From https://issues.apache.org/jira/browse/HADOOP-14475, it looks like it's more a matter of configuring metrics.properties.
Closing for now at least.


Adding foundational support for openapi

Description
Adding some foundational support for openapi and related openapi libraries
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[x] Created unit and/or browser tests which fail without the change (if possible)

Is there a ticket to link this to? Any associated one pager / TDD?

Is there a ticket to link this to? Any associated one pager / TDD?

No TDD, but added links to the issues.


Hope improve the directional links with typst preview extension in vscode

Now the directional links only can jump to the same paragraph, not the same place, I hope the directional links can be improved.

Do you mean to some improvement about typst preview rather than the tinymist? Or you may mean to tinymist providing some source code information for typst preview extension.

I hope a better bidirectional jump experience using tinymist and typst preview. Now the cursor can jump to the same place in .typ, when i click a character in preview, but the cursor won't show in the same character in the preview reversely when click in .typ, I'm not sure tinymist or typst preview which is responsible for this.

I hope a better bidirectional jump experience using tinymist and typst preview. Now the cursor can jump to the same place in .typ, when i click a character in preview, but the cursor won't show in the same character in the preview reversely when click in .typ, I'm not sure tinymist or typst preview which is responsible for this.

tinymist has not integrated preview features, but it will import the typst preview library. That means any preview feature requirements should be always navigated to typst preview repository. As a collaborator of typst-preview, I can answer preview questions here though.
And back to the real question, does using both tinymist and typst preview break down your experience? I believe typst preview had not made a precise jump from source to preview panel, which should be a point to improve.

I hope a better bidirectional jump experience using tinymist and typst preview. Now the cursor can jump to the same place in .typ, when i click a character in preview, but the cursor won't show in the same character in the preview reversely when click in .typ, I'm not sure tinymist or typst preview which is responsible for this.

tinymist has not integrated preview features, but it will import the typst preview library. That means any preview feature requirements should be always navigated to typst preview repository. As a collaborator of typst-preview, I can answer preview questions here though.Tinymist 没有集成预览功能，但它会导入 Typst 预览库。这意味着任何预览功能要求都应始终导航到 typst 预览存储库。作为 typst-preview 的合作者，我可以在这里回答预览问题。
And back to the real question, does using both tinymist and typst preview break down your experience? I believe typst preview had not made a precise jump from source to preview panel, which should be a point to improve.回到真正的问题，同时使用 tinymist 和 typst 预览会破坏您的体验吗？我相信 typst 预览没有从源代码到预览面板进行精确的跳跃，这应该是一个需要改进的地方。

Tinypist is an excellent typst language server, the precise bidirectional jump is just my expectation for tinymist, which can help me write and check effectively in a large paragraph of text. I hope this would be improved. The issue will be closed, as you already know this.


#fatemeh-basic-frontend-react

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
In the existing repository, create a new folder called frontend and initialise a new package inside via npm init, and set up a React application via create-react-app.
Write a summary of your change. Explain why you have made it.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

I think you intended to make this to your team repo


ACPI changes for the next step: running AML in user mode.

This required changes to devacpi,#$, and #P; a new program; and new code.
It's pretty close. It only fails so fair on vmware. Works fine on all hardware I tested.
Don't LGTM without testing first :-)

You will need to update the branch, but make sure it's signed-off after that. Github button doesn't provide the signing.
I'll test on real hardware tonight.

Tested, Asus A1M1 AMD Athlon X4. Working.
LGTM

Rebase from your branch, if you want to keep the signed-off process.

annoying ... the merge commit is not signed. How do we get rid of merge commits?

oh boy, here we go!


[Feature Request]: Renaming the package

Feature description
Is it possible to renam the repository to JointModels.jl with capital letters @danielinteractive? according to the julia naming convention:

modules and type names use capitalization and camel case: module SparseArrays, struct UnitRange

Code of Conduct

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

Contribution Guidelines

[X] I agree to follow this project's Contribution Guidelines.

Security Policy

[X] I agree to follow this project's Security Policy.

I do not have access to the settings tab.

Yeah good point - let me do that for the repo. You can then do it inside the package itself

Thanks!
This broke some links to the documentation. I fixed the ones in the readme but I cannot edit the about description on the top right hand side of the project. The J and M need to be capitalized. @danielinteractive could you do this?


Add indications to subcommands in the console

To make it clear to people using the --help options that some of the commands have subtypes.

# Commands that have subcommands
Groups:
   gcp     Deploy functions in GCP
  new     Factory method for creating new functions
...

Commands:
  add     Adds a function to the registry
  build   Builds an image of a given function
  config  Renders function's configuration file into the command line
  delete  Delete a function from the registry
  error   A command for testing error messages
  list    List existing functions
  remove  Removes a local image of a functions
  run     Start a container for a given function
  stop    Stops a running function
  sync    Sync components


IconLayer (Autopacking) Icons losing definition when Zooming out

First of all  I'd like to say thanks for this amazing library.
Using IconLayer with autopacking, the icon correctly diminishes in size when Zooming out but loses significant definition  (Feels like its not using the MIPMAP filtering for minification).
This behavior is not shown when I previously pack the exact same image on a sprite, and use the prepacked atlas IconLayer configuration.
For diminishing the size of the icon I'm using a linear function that reduces the iconSize prop when zoom changes (working fine with prepacked atlas)
I've tried to follow the SourceCode of the IconLayerManager to find the root cause but had no luck.
Thanks in advance!

@Lowhearth

What prop you are using to control the size of icon?
In IconLayer, there is a prop sizeScale and accessor getSize, which can manipulate the size of icon. Is this what you are using?

As I tried to correlate the size and zoom level, I couldn't reproduce your issue.

What height and width you are used in getIcon callback? The height and width are the size we used to pack the iconAtlas in IconManager.

Could you provide a small .gif to demonstrate the issue?

@xintongxia
Sorry for the delayed response, I've got all you need :

For better resolution: https://i.ibb.co/DfMbB3n/issuedem.gif
import { render } from "react-dom";
import { StaticMap } from "react-map-gl";
import DeckGL, { IconLayer } from "deck.gl";

import IconClusterLayer from "./icon-cluster-layer";

const MAPBOX_TOKEN =""
const iconImage =
  "https://cors-anywhere.herokuapp.com/http://www.naturephotographysimplified.com/wp-content/uploads/2014/12/Nature-Photography-Simplified-Elements-of-Design-Diagonal-Line-On-Ground.jpg?x92028";
const DATA = [
  {
    coordinates: [28.96, 13.66033],
    name: "Al Zarnkh",
    class: "LL5",
    mass: "700",
    year: 2001
  }
];

export const INITIAL_VIEW_STATE = {
  longitude: -35,
  latitude: 36.7,
  zoom: 1.8,
  maxZoom: 20,
  pitch: 0,
  bearing: 0
};

export class App extends Component {
  constructor(props) {
    super(props);

    this.state = {
      x: 0,
      y: 0,
      hoveredItems: null,
      expanded: false,
      zoom: INITIAL_VIEW_STATE.zoom
    };
  }
  _renderLayers() {
    const { data = DATA, viewState } = this.props;
    const { zoom } = this.state;
    const layerProps = {
      data,
      pickable: true,
      wrapLongitude: true,
      getPosition: d => d.coordinates,
      getIcon: d => ({
        url: iconImage,
        width: 300,
        height: 200,
        anchorY: 0,
        mask: false
      }),
      sizeScale: 60,
      getSize: d => zoom,
      onClick: this._onClick
    };

    const layer = new IconLayer({
      ...layerProps,
      id: "icon",
      updateTriggers: {
        getSize: zoom
      }
    });

    return [layer];
  }
  onViewStateChange({ viewState }) {
    this.setState({ zoom: viewState.zoom });
  }
  render() {
    const { viewState, controller = true, baseMap = true } = this.props;

    return (
      <DeckGL
        layers={this._renderLayers()}
        initialViewState={INITIAL_VIEW_STATE}
        viewState={viewState}
        controller={controller}
        onViewStateChange={this.onViewStateChange.bind(this)}
      >
        {baseMap && (
          <StaticMap
            reuseMaps
            mapStyle="mapbox://styles/mapbox/dark-v9"
            preventStyleDiffing={true}
            mapboxApiAccessToken={MAPBOX_TOKEN}
          />
        )}

        {this._renderhoveredItems}
      </DeckGL>
    );
  }
}

export function renderToDOM(container) {
  render(<App />, container);
}

    "deck.gl": "^6.4.6",
    "rbush": "^2.0.1",
    "react": "^16.3.0",
    "react-dom": "^16.3.0",
    "react-map-gl": "^3.3.0"

This behaviour is not shown when I display the same image with a prepacked Atlas (using same dimensions).
I've also tried with different images with the same result.
Thanks for your time.

@xintongxia Thanks.


Unable to bind dynamic data

:strings binds dynamic data and cannot be printed
<vue-typed-js :loop="true" :strings="[quote.content]" :type-speed="50" :back-speed="50">

</vue-typed-js>

need help too!

look at here:https://github.com/eduardostuart/vue-typewriter

:strings binds dynamic data and cannot be printed
<vue-typed-js :loop="true" :strings="[quote.content]" :type-speed="50" :back-speed="50">

</vue-typed-js>

You can use this one:https://github.com/eduardostuart/vue-typewriter


Raw Log Forwarding

We have a dedicated log stash instance hosted in cloud , our objective is to use this instance as a raw log aggregator and forward a copy of the logs to Cyphons integrated Logstash Instance , we were not able to do this.
We are using Filebeat for this forwarding , as Cyphon installation is using Docker , shall we do something special in Cyphons integrated Log stash to receive data from an external Logstash instance.

You can configure the TCP output plugin as an output on your dedicated Logstash and an input on the Cyphondock Logstash.
You could also output directly to the Elasticsearch running on Cyphondock, provided the port is forwarded and accessible to your dedicated Logstash instance.

Does that mean forwarding using Filebeat to Logstash Instance with in Docker is not supported?
If we output directly to Elasticsearch running on  Cyphondock how will Cyphon will get a copy of it for alerts?

You would also need to output to RabbitMQ from your dedicated Logstash for Cyphon to generate alerts.
Forwarding Filebeats to Logstash is supported, you could certainly create a second output in your beat config to point to Cyphondock's Logstash - however, I assumed your dedicated Logstash performed filtering that Cyphondock does not, which is why you were considering Logstash to Logstash forwarding.

Thank you , we are not able to forward logs from dedicated Logstash  instance to Cyphondock Logstash , is there anything special we need to do for this ?
Would it be possible for you to share a sample configuration using both tcpout and Filebeat for reference ?

On your dedicated Logstash, you would add an output like this:
output {
    tcp
    {
        host => "xxx.xxx.xxx.xxx"
        port => 1234
    }
}

Replace the IP address with the private address of your Cyphondock instance, and use any port you'd like, and ensure it's open in your security groups.
In the Cyphondock Logstash configuration (should be the file named 1-input.conf), add a corresponding input:
input {
    tcp
    {
        port => 1234
    }
}

Thank you


how to deal with private repository dependencies

For example I have a pip module on my private gitlab that I install by doing
pip install<EMAIL_ADDRESS>
does the current slim image handle this case, without needing to bake git in the final container ?

I really haven't tested that use case, since I don't have any private repos, and I'm not really familiar with slim tag (it is @tprobinson child) but from what I can see it should be no problem.
Since we can set private repositories like this in your requirements.txt (ref): -e<EMAIL_ADDRESS>That would mean that you could run the slim image like it's written in the readme:
echo '-e<EMAIL_ADDRESS>> requirements.txt
docker run --rm -ti \
  -v requirements.txt:/requirements.txt \
  jfloff/alpine-python:2.7-slim python hello.py

Could you test this and answer back if it works?
Thank you,

Did this work @allan-simon ?

it seems to need a ssh client, i'm trying to find a ssh package but it seems "ssh" does not exist as a package :/

Hello,
You can find the names for Alpine's packages here: https://pkgs.alpinelinux.org/packages
SSH's client is in openssh-client.
About the slim image and how it deals with requirements.txt: it just passes that file along to pip -r essentially, so anything that will work with pip -r will work with the slim image.

Thank you for the help @tprobinson.
@allan-simon When you arrive a full-solution if you could post here for future reference would be great!

yes, I got it working yesterday night
it now looks like that
FROM jfloff/alpine-python:latest-slim
COPY requirements.txt /requirements.txt

# used to clone the private dependencies
COPY id_rsa /root/.ssh/id_rsa
COPY known_hosts /root/.ssh/known_hosts

COPY myapp/ /myapp

RUN /entrypoint.sh \
  -b git \
  -b openssh-client \
  -b libffi-dev \
  -b openssl-dev \
&& echo

EXPOSE 8888
CMD ["python", "-m" , "myapp"]

id_rsa => a chmod 600 deploy key with read only access to the private dependencies
known_hosts a file containing the result of ssh-keyscan mygitlab.example.com > known_hosts so that git cloning does not complain it does not know the host
myapp is my app with a __main__.py inside (so i can run it as a module)

Great stuff! If you can, consider doing a PR with these instructions added to the README, I think they might be useful for other people :)
Thank you for the feedback!


Add scrolling to layers pane

Hi,
I made some changes to handle scrolling when the Layers section is active. I learned Go while doing this so I probably did not do everything The Right Way (tm).. You may need to rewrite some of it (not sure if the extra Buffer is needed in LayerSetState for instance). But it seems to work fine.
Regards,
Teague
Related issue: #469

Any news about it ?

@rroblik build #473 from source, dive hasn't had a new release for a while.

Thanks Luka,
Sorry but I don't find the "how to do" such build, do you have any help link ?
Thanks

@rroblik currently the simplest way to do it would to have golang installed, clone the repo (and checkout that branch), cd into it and run go run main.go <name-of-your-docker-image>.

Sorry but I don't find the "how to do" such build, do you have any help link ?

I was able to build dive from source using the Makefile:
make bootstrap
make build

The build artifacts should be under snapshot/


Invalid foreign key errors on apply

Template has two tables with a relationship block_information and block_type. The apply tries to import data from block_information records before block_type giving these errors
Warning: Directus Error: Invalid foreign key for field "block_type" in collection "block_information". (Status: 400)
 ›   {"collection":"block_information","field":"block_type","code":"INVALID_FOREIGN_KEY"}

there is more detail in the directus logs:
2024-12-17 02:09:40.652 UTC [139] ERROR:  insert or update on table "block_information" violates foreign key constraint "block_information_block_type_foreign"
2024-12-17 02:09:40.652 UTC [139] DETAIL:  Key (block_type)=(2) is not present in table "block_types".

Running a 2nd time seems to work but would be better if it could create dependant data first

Is this one of your own templates?


filters: corrected docstrings to match output tuple order

docstring used to say filter creation functions returned  (h,time_index) tuple, but the actual return value had the (time_index ,h).
This PR fixes the docstring.  Behavior is unchanged.

Coverage remained the same at 54.271% when pulling f9ddf3d83699a74092cc4d31bc9f190896ef3a03 on mborgerding:master into 140df4e251a8bc2ef0a0ddec753f570a88b0dce9 on veeresht:master.

@mborgerding Thank you!


类型实例化过深，且可能无限。ts-plugin(2589)

Description

Expected
sideMenu.value = targetMenu.children ? targetMenu.children : [targetMenu]
类型实例化过深，且可能无限。ts-plugin(2589)
Additional comments
No response
Validations

[X] Ensure this issue not a bug proposal.
[X] Read the docs.
[X] Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

我在本地没有出现这个问题。。


[WIP] release 2.0

relaxed eddystone parsing (rfu and flags fields)
added estimote packets

Coverage decreased (-7.03%) to 91.051% when pulling 3c5f43a1b8d8cab5b5e43c6f255239337dcea136 on release2.0.0 into 246144c1087f76d6367de173db29635468a75e97 on master.

Coverage decreased (-7.03%) to 91.051% when pulling 3c5f43a1b8d8cab5b5e43c6f255239337dcea136 on release2.0.0 into 246144c1087f76d6367de173db29635468a75e97 on master.


NTU  3D joints format

Hi, Thank for your great job, I want to visualize the NTU 3D joints, but I don't the NTU dataset 3D joints' format. Is it in space coordinate or camera coordinate?  before it input into ST-GCN, Do it some normalization process?
Sincerely hope that you can reply? thank you in advance?

I can answer some parts of your question.

Is it in space coordinate or camera coordinate?

The NTU RGBD 3d joints are actually documented in their paper very well,
The format and coordinates are based on Kinect 2.0
Take a look at this : https://medium.com/@lisajamhoury/understanding-kinect-v2-joints-and-coordinate-system-4f4b90b9df16

before it input into ST-GCN, Do it some normalization process?

I would say no.

@luong-komorebi , thanks for your answer, I have done some research about the NTU joints , and find they were some coarse.
After do some view-normalization
parallel the bone between right shoulder(jpt 8) and left shoulder(jpt 4) of the first person to the x axis then draw 3D joints, found the joints label is not good


New fork to keep this repo alive: https://github.com/hyouuu/godot-vim

It has been over 8 months before any activities from the maintainers cc @joshnajera so I'm using my fork https://github.com/hyouuu/godot-vim and committed current PRs there - feel free to use it until the author gets time to come back. And lots of thanks for making this!!

this fork is missing PR #34 and it has issues off


Use API addresses instead of Ledger.Addr with filtered UTxO state query

Will probably need to be rebased on #901

bors r+


Changed chose to choose on download.html doc

Changed "chose" to "choose" on download page.

Yep - we need this to be done in the mustache - could you reopen a new request which changes the template - thanks!


Issue with suggestions completion after using the executeEdits method

monaco-editor version: 0.17.0
Browser:Chrome
OS:Windows 10
Hi eveyone, I'm in front of a strange bug.
After using the executeEdits to delete a word, I return an array of suggestions.
So when I match with a specific word, I delete it, and I show suggestions corresponding to the match.
So I see the suggestions list. Normally, when I start to write a word manually from this list, the suggestions list is reduced, showing only the words which corresponds with what you're writting.
The issue is here, I dont' know why,  some words of the list don't appear.
For instance, if I want to match with "_f", here is my code:

  monaco.languages.registerCompletionItemProvider('myLanguage', {
    provideCompletionItems: function(model, position) {
	var cursorLine = position.lineNumber, cursorColumn = position.column;
        var textUntilPosition = model.getValueInRange({startLineNumber: position.lineNumber, startColumn: 1, endLineNumber: position.lineNumber, endColumn: position.column});

        var match1 = textUntilPosition.match(" _f") !=null | textUntilPosition.match("^_f") !=null ? true:false;
        if(match1){
            editor.executeEdits('', [{ range: new monaco.Range(cursorLine, cursorColumn - 2, cursorLine, cursorColumn), text: '  ' }]);
            return { suggestions: myArrayOfSuggestions()};
        }
        else{ return { suggestions: otherArrayOfSuggestions()};}
    }
});

function myArrayOfSuggestions() {
    return [
        {
            label: 'name',
            kind: monaco.languages.CompletionItemKind.Function,
            insertText: 'name'
        },
        {
            label: 'adress',
            kind: monaco.languages.CompletionItemKind.Function,
            insertText: 'adress'
        },
        {
            label: 'city',
            kind: monaco.languages.CompletionItemKind.Function,
            insertText: 'city'
        },
        {
            label: 'Accrual',
            kind: monaco.languages.CompletionItemKind.Function,
            insertText: 'Accrual'
        }
    ];

Here, If I type "a" or "A",  "adress" will appear but "Accrual" won't.
Do you please have any idea what to do?
Best regards,
Sofiane Jamai

I add this picture to show you the problem

Best regards,
Sofiane Jamai

I have the same problem
Why can trigger suggest only be normal in position. Column ==1 position
Once the snippet label appears, it no longer appears in the suggest list

@SofianeJamai It is not expected for a completion item provider to invoke executeEdits. The completion item provider must return completion items and it is the editor's job to apply the completions if the user chooses the completion.


[DNM] Test a suspected Linux testing bug

A separate attempt to use the function expectCrashLater(withMessage:) from StdlibUnitTest failed on Linux CI after having worked correctly on macOS. A cursory search suggests that expectCrashLater(withMessage:) is essentially unused in the project, despite its apparent long-standing existence.

No SR yet.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test linux platform

This issue was reported as https://bugs.swift.org/browse/SR-16103 and rdar://91365967

The underlying issue is the same as https://github.com/apple/swift/issues/43517 (related to rdar://19671016)


Test coverage up

add tests for coverage up

Do you plan to continue this project?

Yes, off course. Why not?

because the last commit 12 Jul..

I have an idea , make package how faker
I found your package and and there is a lot missing

Then just make a PR.
I didn't update it till now, because for my needs I don't have any issue yet.
Also, there are no open issue in this projects.
So I think, there are no wrong with this projects.

Can we merge it now ??

if you mean last commit , Yes, of course)

merged.


Can't build apk after deleting pubspec.lock

I had a git conflict issue with pubspec.lock, so I did the following:

Deleted pubspec.lock
Deleted .pub-cache
Ran flutter clean
Ran packages get

But now I get the following error when running flutter build apk --release:
[   +1 ms] /Users/rudeboy/.pub-cache/hosted/pub.dartlang.org/image_cropper-1.2.0/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperPlugin.java:78: error: cannot find symbol [   +3 ms]     onAttachedToEngine(binding.getBinaryMessenger()); [        ]                               ^ [        ]   symbol:   method getBinaryMessenger() [        ]   location: variable binding of type FlutterPluginBinding [        ] 1 error
What would be the best way to repair this problem?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


has no exported member 'REQUEST' and 'ORIGIN_URL'.

Hi all,
I'm trying  to run application with  "npm run build:dev"  but it return the following error:
ERROR in [at-loader] ./ClientApp/app/app.component.ts:10:10
       TS2305: Module '"C:/Users/franc/Desktop/Teamstepbystep/temp/aspnetcore-angular2-universal-master (1)/aspnetcore-angular2-universal-master/node_modules/@nguniversal/aspnetcore-engine/index"' has no exported member 'REQUEST'.

   ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:10
       TS2305: Module '"C:/Users/franc/Desktop/Teamstepbystep/temp/aspnetcore-angular2-universal-master (1)/aspnetcore-angular2-universal-master/node_modules/@nguniversal/aspnetcore-engine/index"' has no exported member 'ORIGIN_URL'.

   ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:22
       TS2305: Module '"C:/Users/franc/Desktop/Teamstepbystep/temp/aspnetcore-angular2-universal-master (1)/aspnetcore-angular2-universal-master/node_modules/@nguniversal/aspnetcore-engine/index"' has no exported member 'REQUEST'.

   ERROR in [at-loader] ./ClientApp/app/app.module.ts:27:10
       TS2305: Module '"C:/Users/franc/Desktop/Teamstepbystep/temp/aspnetcore-angular2-universal-master (1)/aspnetcore-angular2-universal-master/node_modules/@nguniversal/aspnetcore-engine/index"' has no exported member 'ORIGIN_URL'.

   ERROR in [at-loader] ./ClientApp/app/shared/user.service.ts:5:10
       TS2305: Module '"C:/Users/franc/Desktop/Teamstepbystep/temp/aspnetcore-angular2-universal-master (1)/aspnetcore-angular2-universal-master/node_modules/@nguniversal/aspnetcore-engine/index"' has no exported member 'ORIGIN_URL'.

My configuration:
Angular CLI: 1.7.3
Node: 6.13.1
OS: win32 x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router
angular/cli: 1.7.3
angular-devkit/build-optimizer: 0.3.2
angular-devkit/core: 0.3.2
angular-devkit/schematics: 0.3.2
ngtools/json-schema: 1.2.0
ngtools/webpack: 1.10.2
schematics/angular: 0.3.2
schematics/package-update: 0.3.2
typescript: 2.5.3
webpack-bundle-analyzer: 2.11.1
webpack-hot-middleware: 2.21.2
webpack-merge: 4.1.2
webpack: 3.11.0

Hey thanks for logging this! The team is actually working on it, it looks like version beta.7 of the aspnetcore-engine (and other modules within @nguniversal had an issue when published)
It's being fixed via: https://github.com/angular/universal/pull/938
cc/ @toxicable @CaerusKaru @vikerman

Hi Mark
great job, now it's run!

You can update now to ^ with beta.8 and higher it's been fixed, it was fixed via commit #578

Hi, I have this same issue when building my app with VS, I get error:
The command "node node_modules/webpack/bin/webpack.js" exited with code 2.
and it's failing because:
"export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
"export 'REQUEST' was not found in '@nguniversal/aspnetcore-engine'
I have run:
npm i @nguniversal/aspnetcore-engine
npm i @nguniversal/common
this changed from version 5.0.0-beta.5 to version 5.0.0 but still getting the issue, I don't understand, it was working but starting with this issue suddenly, could you help me, please? I'm kind of desperate.

5.0.0-beta.8 (not 5.0.0)

It´s not working :(
**[path here]**>npm list @nguniversal/aspnetcore-engine<EMAIL_ADDRESS>[path here]`--<EMAIL_ADDRESS>`[path here]>npm run build:dev

<EMAIL_ADDRESS>build:dev `[path here]
npm run build:vendor && npm run build:webpack

<EMAIL_ADDRESS>build:vendor `[path here]
webpack --config webpack.config.vendor.js --progress --color

env = undefined
[0] Hash: 67c850703e79d1fd1d588f33b7cdf91457103274
Version: webpack 3.11.0
Child
Hash: 67c850703e79d1fd1d58
Time: 11230ms
Asset     Size  Chunks                    Chunk Names
vendor.js  4.36 MB       0  [emitted]  [big]  vendor
Child
Hash: 8f33b7cdf91457103274
Time: 10578ms
Asset     Size  Chunks                    Chunk Names
vendor.js  4.33 MB       0  [emitted]  [big]  vendor

<EMAIL_ADDRESS>build:webpack `[path here]
webpack --progress --color

[1] Hash: 14fbf57a78c88df7d0c1c45234dfef8e46d378a0
Version: webpack 3.11.0
Child
Hash: 14fbf57a78c88df7d0c1
Time: 47424ms
Asset      Size  Chunks                    Chunk Names
674f50d287a8c48dc19ba404d20fe713.eot    166 kB          [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2   77.2 kB          [emitted]
fee66e712a8a08eef5805a46892932ad.woff     98 kB          [emitted]
b06871f281fee6b241d60582ae9369b9.ttf    166 kB          [emitted]
912ec66d7572ff821749319396470bde.svg    444 kB          [emitted]  [big]
0.js   7.94 kB       0  [emitted]
main-client.js   15.9 MB       1  [emitted]  [big]  main-client
0.js.map  81 bytes       0  [emitted]
main-client.js.map   5.78 kB       1  [emitted]         main-client
WARNING in ./ClientApp/app/shared/card.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/card.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/file.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/file.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/board.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/board.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/metric.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/metric.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/report.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/report.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/genericitem.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/genericitem.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/shared/settings.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/settings.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/app.component.ts
30:41-48 "export 'REQUEST' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/app.component.ts
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/app.module.browser.ts
36:29-39 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

WARNING in ./ClientApp/app/app.module.browser.ts
40:29-36 "export 'REQUEST' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/app.module.browser.ts
 @ ./ClientApp/boot.browser.ts
 @ multi ./ClientApp/boot.browser.ts

ERROR in [at-loader] ./ClientApp/app/app.component.ts:7:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'REQUEST'.

ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:22
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'REQUEST'.

ERROR in [at-loader] ./ClientApp/app/app.module.ts:62:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/board.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/card.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/file.service.ts:3:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/genericitem.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/metric.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/report.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/settings.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

Child
Hash: c45234dfef8e46d378a0
Time: 47486ms
Asset     Size  Chunks                    Chunk Names
674f50d287a8c48dc19ba404d20fe713.eot   166 kB          [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2  77.2 kB          [emitted]
fee66e712a8a08eef5805a46892932ad.woff    98 kB          [emitted]
b06871f281fee6b241d60582ae9369b9.ttf   166 kB          [emitted]
912ec66d7572ff821749319396470bde.svg   444 kB          [emitted]  [big]
0.js  7.94 kB       0  [emitted]
main-server.js  23.5 MB       1  [emitted]  [big]  main-server
WARNING in ./ClientApp/app/shared/card.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/card.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/file.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/file.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/board.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/board.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/report.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/report.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/metric.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/metric.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/genericitem.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/genericitem.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/shared/settings.service.ts
17:41-51 "export 'ORIGIN_URL' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/shared/settings.service.ts
 @ ./ClientApp/app/app.module.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

WARNING in ./ClientApp/app/app.component.ts
30:41-48 "export 'REQUEST' was not found in '@nguniversal/aspnetcore-engine'
 @ ./ClientApp/app/app.component.ts
 @ ./ClientApp/app/app.module.server.ts
 @ ./ClientApp/boot.server.ts

ERROR in [at-loader] ./ClientApp/app/app.component.ts:7:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'REQUEST'.

ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/app.module.browser.ts:6:22
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'REQUEST'.

ERROR in [at-loader] ./ClientApp/app/app.module.ts:62:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/board.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/card.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/file.service.ts:3:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/genericitem.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/metric.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/report.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

ERROR in [at-loader] ./ClientApp/app/shared/settings.service.ts:5:10
    TS2305: Module '"`**[path here]**/node_modules/@nguniversal/aspnetcore-engine/aspnetcore-engine"' has no exported member 'ORIGIN_URL'.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build:webpack: webpack --progress --color
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  The import for tokens has changed, it’s now @nguniversal/aspnetcore-engine/tokens

Thanks a lot!, you saved my day, it works now.


play/pause icon visible behind podcast icon

easy fix is:
.main-rootlist-statusIcons:not(:empty) {
  display: none;
}

but your CSS file is done in a way I prefer to let you do it :)

This should be fixed as of now


vocabulary/mauricemat.md

Hello Gelila,
Here, my contribution to the vocabulary folder of the main Repo.
Thank you
Maurice

@mauricemat , can you take a look at the discussion in #9?   It will be easier to manage this list over time if you use separate files organized by topic instead of putting everything in the README


Sysmon 14.15 failing to install on Server 2019/Win10-1809

Windows Server 2019 and Win10 1809 - Sysmon 14.14 was working perfectly and we just installed 14.15 on both operating systems and we get the following error:
"System Monitor v14.15 - System activity monitor
By Mark Russinovich and Thomas Garnier
Copyright (C) 2014-2023 Microsoft Corporation
Using libxml2. libxml2 is Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
Sysinternals - www.sysinternals.com
Loading configuration file with schema version 4.20
Sysmon schema version: 4.83
Configuration file validated.
sysmon64 installed.
SysmonDrv installed.
StartService failed for SysmonDrv:
The specified procedure could not be found.
Failed to start the driver:
The specified procedure could not be found.
Stopping the service failed:
The service has not been started.
SysmonDrv removed.
Stopping the service failed:
The service has not been started.
sysmon64 removed."
Reverted to 14.14 which works fine. Not sure what the issue is here but can you please fix to install on Server 2019 and Win10 1809?

Yes, I can see the problem. Will come up with 14.16 shortly!

They said: "use undocumented syscalls". They said: "it will be fine" :D

So true! Really appreciate your super fast response :)

Should be fixed now, with v14.16, thanks!


jakub-onderka package abandoned warnings

Laravel Version: 6.x | 7.x
PHP Version: 7.3 | 7.4
Database Driver & Version: MySQL v8.0

Description:
Hi, I'm getting this warning when I try to create a new Laravel project.

Can anyone help me to resolve jakub-onderka package abandoned warning? Thanks.

Don't worry about it.

It is due to a dependency of tinker.

The warning will eventually go away once some upstream changes have happened, but it will likely be a good few weeks yet. The warnings are harmless and can safely be ignored.

Thanks a lot.


Build error for class library containing Web Reference + Microsoft.Extensions.DependencyInjection

Steps to reproduce:

Create a class library targeting .NET Framework 4.6.2 (I have also tried as high as 4.8)
Add a "Web Reference" (older ASP.NET Web Service, not Service Reference).  In my case I used a .asmx service I had locally on my computer.
Add the NuGet package to Microsoft.Extensions.DependencyInjection.
Note it builds successfully (in debug mode).
Switch to release mode.
Build fails while attempting to generate serialization assembly

1>SGEN : error : An attempt was made to load an assembly with an incorrect format: C:\Users\aclauss.nuget\packages\microsoft.bcl.asyncinterfaces\1.1.0\ref\net461\Microsoft.Bcl.AsyncInterfaces.dll.

I have uploaded a sample repo demonstrating the issue:
https://github.com/cabadam/SgenTest
This surfaced when we went through and started making use of DI throughout our system.  Out of probably 50 projects, 4 of them failed - the four I believe which make use of Web References.

Hello, I got the same error.
repro step

Create .NET Framework 4.8 C# project.
Add Nuget reference latest System.Text.Json (4.7.2). (*1)
Set GenerateSerializationAssemblies "on" at csproj file. (*2)

ConsoleApp1.zip
I want to connect a legacy SOAP web service, so I want to use sgen.
(*1)
<ItemGroup>
  <PackageReference Include="System.Text.Json">
    <Version>4.7.2</Version>
  </PackageReference>
</ItemGroup>

(*2)
<GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>

I found a solution.
[links]
microsoft/msbuild#2707
dotnet/wcf#3991
Setting package reference attribute ExcludeAssets as compile works for me.
<ItemGroup>
  <PackageReference Include="System.Text.Json" ExcludeAssets="compile">
    <Version>4.7.2</Version>
  </PackageReference>
</ItemGroup>

We're also experiencing this. Again a project targeting .NET Framework 4.8 w/ multiple web references and the GenerateSerializationAssemblies switch enabled.
Any progress on this issue that's loitering around forever?

Is there any fix for this. We faced this after updating from packages.config to packagereference.

Is there any fix for this. We faced this after updating from packages.config to packagereference.

I don't know which package or class library causes this problem for your organization, but in case it is the Microsoft.Bcl.AsyncInterfaces package as in our case, you can try to hide the use of it in a seperate class library (if you're packaging it as a NuGet package, do not expose the use of the Microsoft.Bcl.AsyncInterface - seems like MSBuild will fetch it and hand it over to sgen). Of course that's not a confy and straight forward solution, but it worked for us.
Other possible workarounds from the community:
https://stackoverflow.com/a/4191913
https://stackoverflow.com/a/49253618

Any update on this? We have faced it too after a nuget package we reference started to reference stackexchange.redis which in turn references Microsoft.Bcl.AsyncInterfaces

I found a very good answer on SO and extended it a bit to match my scenario, which is also the scenario of this issue - https://stackoverflow.com/a/64474637/80002
Basically you add Directory.Build.targets:
<Project>
  <ItemGroup>
    <ReflectionOnlyAssemblyNames Include="Microsoft.Bcl.AsyncInterfaces"/>
    <ReflectionOnlyAssemblyNames Include="System.Buffers"/>
    <ReflectionOnlyAssemblyNames Include="System.Numerics.Vectors"/>
    <ReflectionOnlyAssemblyNames Include="System.Runtime.CompilerServices.Unsafe"/>
  </ItemGroup>
  <Target Name="RemoveDesignTimeFacadesBeforeSGen" BeforeTargets="GenerateSerializationAssemblies">
    <ItemGroup>
      <_ReflectionOnlyAssembly_Names Include="@(_ReferencePath_Names)"
                                     Condition="'@(ReflectionOnlyAssemblyNames)' == '@(_ReferencePath_Names)' And '%(Identity)' != ''"/>
    </ItemGroup>
    <ItemGroup>
      <ReferencePath Remove="@(_DesignTimeFacadeAssemblies_Names->'%(OriginalIdentity)')" />
      <ReferencePath Remove="@(_ReflectionOnlyAssembly_Names->'%(OriginalIdentity)')" />
    </ItemGroup>
    <Message Importance="normal" Text="Removing DesignTimeFacades from ReferencePath before running SGen." />
  </Target>
  <Target Name="ReAddDesignTimeFacadesBeforeSGen" AfterTargets="GenerateSerializationAssemblies">
    <ItemGroup>
      <ReferencePath Include="@(_DesignTimeFacadeAssemblies_Names->'%(OriginalIdentity)')" />
      <ReferencePath Include="@(_ReflectionOnlyAssembly_Names->'%(OriginalIdentity)')" />
    </ItemGroup>
    <Message Importance="normal" Text="Adding back DesignTimeFacades from ReferencePath now that SGen has run." />
  </Target>
</Project>

The solution was easy by using
https://stackoverflow.com/a/55336685/1591903
"I eventually fixed it by doing the following:
Right-clicked the project with the error, went into Properties
Selected the Build tab and went to the last option which is "Generate serialization assembly" I set this to Off and the project now builds fine."
I tried with 'Auto' that also works.


OAuth/OpenID or Header Authentication support

Hey,
thank you for this awesome project.
Would it be possible to add OAuth/OpenID or header authentication support so people could e.g. use their existing Authentik instance for user handling?
I think that would a reasonable approach as Authentik/Authelia etc is getting pretty popular and people (like me), just want to use selfhosted applications and not depend on google.
Also I'm actually not really happy with the current authentication approach using firebase (meh google) and using one token. I'd like to have another decoupled security layer (Authentik + 2FA) infront of my public applications without authenticate twice.
Again thank you for this awesome project, keep it going.

Hey!
I am pretty swamped right now, so I will not be implementing any additional authentication protocols myself right now. Happy to accept PRs though!
If you are technically inclined and do want to take a look, the authentication server is a really basic Node.js (Express.js) server in one file: https://github.com/successible/cleanslate/blob/main/src/server.ts

It is also possible this is a very easy lift with a Node library and it will not take me very long, and thus I will do it. I’m just not sure! So any information you can provide here would be very useful for orienting myself to this task.

Thank you for your answer.
I haven't done much with js and ts but I'll do some research and check some examples to at least provide information.

The documentation for that is a bit sparse - what I need most is Authentik/Authelia integration guidelines, as those documents heavily feature Auth0

The integration for auth0, authentik, authelia, keycloak etc should be the same. All need a generic OAuth2 or an Open ID connect. I might gonna try something at the weekend, looks pretty simple. Maybe it's even possible to use the existing JWT for it

Go for it!

I am not technically inclined enough to code something to this ability, but if you include discord oauth support, I would be very grateful for this.

I am not sure where @Pr0mises left this - but I could take a look at this at some point.

That's fine, I don't currently self host, but it is something I am looking into

@paulzakin I'm pretty much at the start RL got in the way

No worries @Pr0mises!


webpack warning: Cannot find source file

I use webpack to bundle my project and it always shows this warning:
WARNING in ./~/ng2-facebook-sdk/dist/index.js
Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in C:\...\node_modules\ng2-facebook-sdk\dist'
 @ ./src/app/components/app.component.ts 12:0-51
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts

The problem is that you provide a map file but the referenced code file is missing.
Can you remove the map file or add the source files to the package? Because it doesn't really make sense to have the map files without the source files. Or am I wrong?
Thanks!

Yeah you're right, source files should be there if the source map is provided.
I just fixed it and published<EMAIL_ADDRESS>


Dictionary logging - Add Framing for more robustness

I have noticed that for the Dictionary logging, there is no framing present in the format.  The issue is that if you have a lossy connection or the Log backend does not store messages aligned exactly to the dictionary structure the parser then fails rendering the whole log "unreadable".
I would suggest implementing some COB or SLIP framing that would allow the dictionary logging to support resyncing in the event of byte drop or miss-aligned storage. It would make the dictionary logging much more functional. This would also allow adding some streaming mode to the parser so you can see the output from serial and etc live.
This should be probably added to the dictionary/database so the parser knows what format to expect to make it backwards compatible with the current solution.
The addition of some database identifier (hash of the dictionary) that would be periodically emitted would also be very handy #76858. Maybe adding an additional dictionary MSG type?
Please let me know what are your thoughts on this or if anyone has already some plans with the logging feature. We might be able to contribute to making this feature more robust.

Good suggestion. I've started some work around COBS few months ago (https://github.com/zephyrproject-rtos/zephyr/compare/main...nordic-krch:zephyr:log_frontend_cobs) but unfortunately I had no time to finish. I will see if I can find some time for it.


NodeRed Dumping after installation

Hi, after installin gthis node to my dockered NodeRed it was crashing and not able to start again:

2023-11-30T15:09:10.852902554Z Welcome to Node-RED
2023-11-30T15:09:10.852906462Z ===================
2023-11-30T15:09:10.852909968Z
2023-11-30T15:09:10.853793660Z 30 Nov 16:09:10 - [info] Node-RED version: v3.0.2
2023-11-30T15:09:10.854090694Z 30 Nov 16:09:10 - [info] Node.js  version: v16.16.0
2023-11-30T15:09:10.854210401Z 30 Nov 16:09:10 - [info] Linux 5.15.39-4-pve x64 LE
2023-11-30T15:09:11.298004494Z 30 Nov 16:09:11 - [info] Loading palette nodes
2023-11-30T15:09:13.025626938Z ./entrypoint.sh: line 14:     8 Segmentation fault      (core dumped) /usr/local/bin/node $NODEOPTIONS node_modules/node-red/red.js --userDir /data $FLOWS

Would you have any hint please?

Saw there is #5 but same happens when running latest nodered.
Welcome to Node-RED
30 Nov 16:27:01 - [info] Node-RED version: v3.1.0
30 Nov 16:27:01 - [info] Node.js  version: v16.20.2
30 Nov 16:27:01 - [info] Linux 5.15.39-4-pve x64 LE
30 Nov 16:27:02 - [info] Loading palette nodes
./entrypoint.sh: line 14:     8 Segmentation fault      (core dumped) /usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS "${@}"

Just guessing at this point - but I know the zeromq node has a large binary component so will need to rebuild when installed... the default docker images are Alpine based and not Debian so they may not automatically build. You may need to use the debian based container instead ?

Thanks @dceejay! Have started the container up with nodered/node-red:latest-debian image and it starts up fine again.


version 1.3.0's command 'preact create' support option '--less', but the latest version doesn't support option '--less', why removed the option '--less'? I don't understand, thank you very much.

version 1.3.0's command 'preact create' support option '--less', but the latest version doesn't support option '--less', why removed the option '--less'? I don't understand, thank you very much. @kristoferbaxter @BenoitZugmeyer @molily @developit @addyosmani