Fail to try to build sqlite3 for x64-linux

Describe the bug
Fail to try to build sqlite3 for x64-linux, failed to call ninja -v
Environment

OS: Windows 10
Compiler: MSVC++ 14.23

To Reproduce
Steps to reproduce the behavior:

./vcpkg install sqlite3:x64-linux
Error: CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):  Command failed: ninja -v  Working Directory: C:/Programs/vcpkg/buildtrees/sqlite3/x64-linux-rel/vcpkg-parallel-configure  Error code: 1  See logs for more information:    C:\Programs\vcpkg\buildtrees\sqlite3\config-x64-linux-out.log Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:296 (vcpkg_execute_required_process) ports/sqlite3/portfile.cmake:26 (vcpkg_configure_cmake) scripts/ports.cmake:94 (include)

Failure logs
`[1/2] cmd /c "cd ../../x64-linux-dbg && "C:/Program Files/CMake/bin/cmake.exe" "C:/Programs/vcpkg/buildtrees/sqlite3/src/3290000-e7f4b67d72" "-DSQLITE3_SKIP_TOOLS=ON" "-DCMAKE_MAKE_PROGRAM=C:/Programs/vcpkg/downloads/tools/ninja/ninja-1.8.2/ninja.exe" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-DSQLITE3_SKIP_TOOLS=ON" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Programs/vcpkg/packages/sqlite3_x64-linux/debug""
FAILED: ../../x64-linux-dbg/CMakeCache.txt
cmd /c "cd ../../x64-linux-dbg && "C:/Program Files/CMake/bin/cmake.exe" "C:/Programs/vcpkg/buildtrees/sqlite3/src/3290000-e7f4b67d72" "-DSQLITE3_SKIP_TOOLS=ON" "-DCMAKE_MAKE_PROGRAM=C:/Programs/vcpkg/downloads/tools/ninja/ninja-1.8.2/ninja.exe" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-DSQLITE3_SKIP_TOOLS=ON" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Programs/vcpkg/packages/sqlite3_x64-linux/debug""
CMake Warning at C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake:104 (message):
There are no libraries installed for the Vcpkg triplet x64-linux.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:2 (project)
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "C:/Programs/vcpkg/buildtrees/sqlite3/x64-linux-dbg/CMakeFiles/CMakeOutput.log".
See also "C:/Programs/vcpkg/buildtrees/sqlite3/x64-linux-dbg/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "C:/Programs/vcpkg/buildtrees/sqlite3/src/3290000-e7f4b67d72" "-DSQLITE3_SKIP_TOOLS=ON" "-DCMAKE_MAKE_PROGRAM=C:/Programs/vcpkg/downloads/tools/ninja/ninja-1.8.2/ninja.exe" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Programs/vcpkg/packages/sqlite3_x64-linux""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "C:/Programs/vcpkg/buildtrees/sqlite3/src/3290000-e7f4b67d72" "-DSQLITE3_SKIP_TOOLS=ON" "-DCMAKE_MAKE_PROGRAM=C:/Programs/vcpkg/downloads/tools/ninja/ninja-1.8.2/ninja.exe" "-DCMAKE_SYSTEM_NAME=Linux" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/toolchains/linux.cmake" "-DVCPKG_TARGET_TRIPLET=x64-linux" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Programs/vcpkg/packages/sqlite3_x64-linux""
CMake Warning at C:/Programs/vcpkg/scripts/buildsystems/vcpkg.cmake:104 (message):
There are no libraries installed for the Vcpkg triplet x64-linux.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:2 (project)
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "C:/Programs/vcpkg/buildtrees/sqlite3/x64-linux-rel/CMakeFiles/CMakeOutput.log".
See also "C:/Programs/vcpkg/buildtrees/sqlite3/x64-linux-rel/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.`

x64-linux - OS: Windows , Compiler: MSVC++ 14.23 ???:blush:

@Sdynest You can select Windows triples only in Windows:

x86-windows
x86-windows-static
x64-windows
x64-windows-static
arm-windows
arm64-windows
x86-uwp
x64-uwp
arm64-uwp

I'm trying to use vcpkg for wsl Linux, can I choose another compiler, mingw as well?

you could call vcpkg from wsl @Sdynest

Ok, thank you


Add trusted_host_pattern to settings.php

Without adding docker.drupal.locahost to the trusted_host_pattern, installing new modules will catch a 403 authorize.php error, and the installation will fail.
I added this to /web/sites/default/settings.php
 $settings['trusted_host_patterns'] = array(
   '^drupal\.docker\.localhost$',
 );

And then installing modules works fine.
Even better would be to set the hostname as an ENV variable in docker-compose.yml, such as mysite.localhost.  Then a script can add that as a trusted_host_pattern in settings.php.  I don't really have experience with that, but sure does sound good!

.localhost, .local, .loc added as default trusted hosts


Fixed a few 30km scenarios with proper node/core setting on derecho

Description
These 30km-60km dual-res. hybrid-3DEnVar and 4DEnVar scenarios are still using the old node/core
setting on cheyenne. This PR changed the settings to be appropriate on derecho. Also deleted one
obsolete scenario with no VarBC.
List of modified files
deleted:    scenarios/3dhybrid_O30kmIE60km_SpecifiedEnsemble.yaml
modified:   scenarios/3dhybrid_O30kmIE60km_SpecifiedEnsemble_VarBC.yaml
modified:   scenarios/3dhybrid_O30kmIE60km_SpecifiedEnsemble_VarBC_iasi.yaml
modified:   scenarios/4denvar_O30kmIE60km_WarmStart_VarBC_7slots_2outer_80mem.yaml
modified:   scenarios/defaults/variational.yaml

I have not checked all cycling scenarios for proper node/core settings. These are what I checked/tested so far.

For a record here: the scenario with IASI failed for the second cycle, seemingly without an error message. Might be caused by insufficient memory using 2 nodes. The first cycle was successful for me. @zhumingying how many nodes/cores you used for your IASI/CrIS experiments?

When I saw some tasks were failing due to out of memory, the email for the task contained Exit_status=265

@jim-p-w I deleted email notifications.
One another note: I also tested 3dhybrid_OIE120km_WarmStart.yaml, but failed if I remember correctly.


Electronize Build Argument Parsing

Version:

ElectronNET.API: 9.31.2
ElectronNET.CLI: 9.31.2
.NET: 5.0.100
Node.js: 12.16.2

Target: win

Steps to Reproduce:

Run electronize build /target win
Argument parsing fails

I followed this guide for setting up a Blazor server project hosed in Electron: https://blog.jetbrains.com/dotnet/2020/11/05/run-blazor-apps-within-electron-shell/
It works great in debug, but electronize build won't do anything at all. Any calls to electronize build or dotnet electronize build fail with the following message:
$ electronize build /target win
Build Electron Application...
Error: missing 'target' argument.
Needed: '/target' with params 'win/osx/linux' to build for a typical app or use 'custom' and specify .NET Core build config & electron build config
 for custom target, check .NET Core RID Catalog and Electron build target/
 e.g. '/target win' or '/target custom "win7-x86;win32"'
Optional: '/dotnet-configuration' with the desired .NET Core build config e.g. release or debug. Default = Release
Optional: '/electron-arch' to specify the resulting electron processor architecture (e.g. ia86 for x86 builds). Be aware to use the '/target custom' param as well!
Optional: '/electron-params' specify any other valid parameter, which will be routed to the electron-packager.
Optional: '/relative-path' to specify output a subdirectory for output.
Optional: '/absolute-path to specify and absolute path for output.
Optional: '/package-json' to specify a custom package.json file.
Optional: '/install-modules' to force node module install. Implied by '/package-json'
Full example for a 32bit debug build with electron prune: build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32  /electron-params "--prune=true "

The only way I can get around this is by passing in a literal target argument with no leading slash, which causes an exception:
$ electronize build target win
Build Electron Application...
Unhandled exception. System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ElectronNET.CLI.Commands.BuildCommand.<ExecuteAsync>b__19_0() in C:\_WorkRepos\Electron.NET\ElectronNET.CLI\Commands\BuildCommand.cs:line 50
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at ElectronNET.CLI.Program.Main(String[] args) in C:\_WorkRepos\Electron.NET\ElectronNET.CLI\Program.cs:line 59

My shell (Git Bash) was expanding the /target argument to C:/Program Files/Git/target. Invoking through Powershell resolves the issue

Seeing this too, what the actual fuck?


[SPARK-46680][BUILD] Upgrade Apache commons-pool2 to 2.12.0

What changes were proposed in this pull request?
This pr aims to upgrade Apache commons-pool2 from 2.11.1 to 2.12.0.
Why are the changes needed?
The new version bring some bug fix like:

POOL-401:  Ensure that capacity freed by invalidateObject is available to all keyed pools.
POOL-391:  Ensure capacity freed by clear is made available to GKOP borrowers.
POOL-402:  Check blockWhenExhausted in hasBorrowWaiters
POOL-405:  NullPointerException GenericKeyedObjectPool.invalidateObject(GenericKeyedObjectPool.java:1343)
POOL-393:  Improve BaseGenericObjectPool's JMX Register performance when creating many pools.
POOL-411:  Guard against NPE when deregistering a key at the end of borrow.

The full change we can refer to https://github.com/apache/commons-pool/blob/rel/commons-pool-2.12.0/RELEASE-NOTES.txt
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No

Thanks @dongjoon-hyun it's ready now ~


Move React to devDependency / peerDependency

Resolves potential version conflicts, as per my other React components

oops - was already done in a recent PR, my bad.

Ha. @JedWatson my own PR.


Update Bootstrap 4.1.3

Update to 4.1.3 for compiled CSS and JSmin

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@Ninjirate Thank you very much for submitting a pull request (PR)! In light of the recent repo merge, I have updated the path of the file and edited the article indicating that the code example is just for reference and the latest version can be found in the official documentation. Happy Hacktoberfest! ☀


Improve masthead, hero overlay, and footer text alignment

To avoid awkward placement of masthead, overlay text, and footer links, left align all to line up nicely.

ebccf636383d82b8f6b903887a61ca33a28fa49a

Much appreciate all this work - but is this change configurable? It completely changes the look of my site (which doesn't use the left-hand side-bar), spoiling it (IMHO). I love the theme though.

@casa-albore You don't have to update if the change doesn't fit with your site. It's only cosmetic changes in the theme's CSS. You can easily revert the changes back if you've already merged it in by looking at the commit and adding back the centering.
Changes: https://github.com/mmistakes/minimal-mistakes/commit/ebccf636383d82b8f6b903887a61ca33a28fa49a


Generic Constraint only Interfaces

There are a number of interfaces that it would be helpful to implement on types e.g. IEquatable<T> or IDisposable on stack only types e.g Span<T> which would work as generic constraints, however would want to not be used as heap boxable interfaces.
Would this be possible in some way, is it worthwhile?
@jaredpar @jkotas @KrzysztofCwalina @davidfowl

We do plan to allow stack only types as generic type arguments in foreseeable future.

It seems rather unfortunate/limiting that Span<T> can't be used as a generic type argument at all, e.g. List<Span<T>> just to save those extra 4-8 bytes in its field size.

Saving the extra 4-8 bytes is the least of the problem. Check https://github.com/dotnet/corefxlab/blob/master/docs/Span.md - Requirements paragraph and Span<T> will be stack-only paragraph that goes into more details. Allowing ref-like types as generic arguments would need to satisfy all requirements; or change the requirements but then it is a different type.


[WFCORE-7010] Allow starting Domain Mode tests under 'default' stability…

… level
Jira issue: https://issues.redhat.com/browse/WFCORE-7010

Thanks @bstansberry


change hardcoded css colors to utilize css vars

The chosen variables are the ones that django uses for each of those elements, and ideally can also be omitted entirely in a future commit.
This helps integrate django-nested-inline with django admin's new dark theme, as well as custom themes that are written around django admin's css vars.

Can you make sure this will also work for older django versions? I like the use of css vars and this will end up being quite useful in my use case as well, but i'm worried about compatability with older django versions that don't define values for those variables.

I can't think of a neat way to have this work for versions that don't define css variables, other than maintaining two copies of the CSS files and serving whichever one suits the django version that the project is running, similar to js loading:
admin.py
css = {
    "all": ('admin/css/forms-nested%s.css' % ('' if VERSION < (3,2) else 'vars'),)
}

This however causes an issue with having to maintain both versions of the css file.
Can you think of a more elegant solution?

Guys, these changes are great, exactly what I'm looking for. Merge would be nice.

@daniel-brenot Since there hasn't come up a more elegant way of doing this, I've decided to add a second version of the old CSS file with the colors defined. Please review this with older versions of django as well.


Fix crossdock

If the environment variable is empty, default to UDP. This is breaking the crossdock tests for all jaeger repos.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #203   +/-   ##
=========================================
  Coverage     80.22%   80.22%
  Complexity      473      473
=========================================
  Files            79       79
  Lines          1846     1846
  Branches        216      216
=========================================
  Hits           1481     1481
  Misses          274      274
  Partials         91       91

Continue to review full report at Codecov.

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


Integrate with LLM testing framework such as Phoenix

details here: https://docs.arize.com/phoenix
RedSAIA project integration: https://gitlab.consulting.redhat.com/redprojectai/infrastructure/appdeploy/-/tree/main/phoenix?ref_type=heads

So I have been playing around with phoenix and the issue we are going to have with including it in the ai-accelerator is that  Phoenix doesn't integrate with the LLM directly, it integrates with tools like Langchain to do telemetry.
We don't have any langchain examples in the ai-accelerator today and I'm not sure that we should extend the scope of it out to that.
I do think that it is an important tool in our toolkit for any LLM related engagement though.


Add shallow cloning for Tokens to preserve the AST after render

About
This is a small patch request to keep to tokens list clean while rendering.  Here is an illustration of the issue.
Source:
var mystr = '``` javascript \n if (foo) { bar; } \n ```';
var tokens = md.parse(mystr, md.options);

console.log(md.renderer.render(tokens, md.options, {}));
console.log(md.renderer.render(tokens, md.options, {}));

Before pull request:
'
 if (foo) { bar; } \n
\n'
'
 if (foo) { bar; } \n
\n'

We see that renderer.render will modify the token attributes while processing so if you
feed the token list to renderer.render again you will see this attribute twice.
After pull request:
'
 if (foo) { bar; } \n
\n'
'
 if (foo) { bar; } \n
\n'

Application
Markdown-it will become to default markdown rendering engine for vscode 1.3 being released early July it appears.  It allows for a live rendering of markdown as you type.  Instead of re-rendering the entire markdown file, I felt that it would be a worth-while experiment to see if there are cases in which you could only render what has been updated in certain situations.  Please see #258 for more details.
Benchmark impacts
Before pull request:
Sample: block-fences.md (72 bytes)
 > commonmark-reference x 80,532 ops/sec ±0.24% (86 runs sampled)
 > current x 172,560 ops/sec ±1.13% (86 runs sampled)
 > current-commonmark x 133,014 ops/sec ±0.75% (91 runs sampled)
 > markdown-it-2.2.1-commonmark x 182,824 ops/sec ±1.23% (85 runs sampled)
 > marked-0.3.2 x 309,737 ops/sec ±0.94% (88 runs sampled)

After pull request:
Sample: block-fences.md (72 bytes)
 > commonmark-reference x 77,697 ops/sec ±0.26% (90 runs sampled)
 > current x 173,375 ops/sec ±1.05% (82 runs sampled)
 > current-commonmark x 180,919 ops/sec ±1.28% (91 runs sampled)
 > markdown-it-2.2.1-commonmark x 174,600 ops/sec ±0.95% (88 runs sampled)
 > marked-0.3.2 x 296,704 ops/sec ±0.92% (82 runs sampled)

It appears to have minimal impact on fenced code blocks.

It also should be noted that this is a breaking change, so it probably shouldn't be merged without considerable thought.

Tokens stream must be immutable on render phase. Could you point me a line in source that breaks this principle?

It happens in this call.  When we copy the token we essentially have only taken a pointer since objects are mutable, and then then when we modify the attrs, being a list, is also mutable and so all of these changes follow through to the token stream.  At least this is my understanding.  I verified this using a debugger.

Got it. That's a bug that should be fixed. But i'm not sure it's needed to add .clone(). Created a separate issue to think about. Looks like attrJoin() is a design mistake.

Found. .attrJoin() is ok, but is was a mistake to use it in renderer. Need to rewrite that function without .attrJoin and that will work without breaking changes.

I agree, using a .clone() is probably overkill.  I'll go ahead and close this, but I won't delete the branch if for now if we need to reference it for some reason later on.


Reproducing experiments in paper

Hi, I tried running the experiments reported in the paper using the synthetic datasets generated from functions F_1, ..., F_10, but the code does not seem to give me the same results as reported in the paper. Could you please help me with reproducing the reported results?

Sorry I just saw this, thanks sending a separate email. I addressed this by sending original code used for the paper.


Added ShowTheHiddenPassword

Please check this. Is this right? for the issue #28

Great work! Thank you!

Can you please move out the spam levels in my previous pull requests. That time I don't know much about github.Please help me out.

Sure, but please don't do it in the future!

I think it's best if you ask this in the general channel of the hakctoberfest discord, I am there as well, let's move this there!


Metrics opt

What is the purpose of the change
A series of optimizations for the metrics code，make code more reusable and more streamlined
Brief changelog
1、When exporting metrics, application information is optimized from parameter passing to construction injection.
2、Use AbstractMetricsExport to store the public ApplicationModel of each type of Export.
3、Optimize ApplicationStatComposite, because StatComposite belongs to APP level, simplify Map<MetricsKey, Map<String, AtomicLong>> data structure to Map<MetricsKey, AtomicLong>
4、Add an inheritance relationship to the subclass of Metric（ApplicationMetric、ServiceKeyMetric、MethodMetric）, so that it is more in line with the relationship between objects and improves code reusability
5、MetricsKey tag adds module id to prevent app conflicts

please fix ci problem

please fix ci problem

done

Codecov Report

Merging #12288 (91c4ec4) into 3.2 (7d2a71f) will increase coverage by 2.33%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12288      +/-   ##
============================================
+ Coverage     67.03%   69.36%   +2.33%
  Complexity        2        2
============================================
  Files          1739     1607     -132
  Lines         69421    66217    -3204
  Branches       9975     9713     -262
============================================
- Hits          46535    45931     -604
+ Misses        18385    15836    -2549
+ Partials       4501     4450      -51

see 173 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Revert "More badwords variables"

Reverts Megabyte918/MultiOgar-Edited#1410

Please review the comment on the commits for more information.

Why you revert ?

The gameserver makes everything lowercase and checks, no need for caps of the same words.

Ok ,i uderstand.


🖐 Quickstart issues with Go (dagger init + dagger call)

What happened? What did you expect to happen?
Hey! I'm testing out Dagger for the first time and followed the quickstart guide.
When I ran dagger init --sdk=go in the root of my existing repository (not hello-dagger), it generated a dagger Go module:
$ tree dagger
dagger
├── .gitattributes
├── .gitignore
├── dagger.gen.go
├── go.mod
├── go.sum
├── internal
│   ├── dagger
│   │   └── dagger.gen.go
│   ├── querybuilder
│   │   ├── marshal.go
│   │   └── querybuilder.go
│   └── telemetry
│       ├── attrs.go
│       ├── env.go
│       ├── exporters.go
│       ├── init.go
│       ├── live.go
│       ├── logging.go
│       ├── proxy.go
│       ├── span.go
│       └── transform.go
└── main.go

4 directories, 18 files

So, following the spirit of the quickstart, I tried to call the Echo example target with: dagger call echo --stringArg=ping (instead of replacing the contents immediately with quickstart-specific functions) and get the following output:
$ dagger call echo --stringArg=ping
✔ connect 3.6s
✘ initialize 0.5s
! main object not found
  ✔ resolving module ref 0.2s
  ✔ installing module 0.2s
  ✘ analyzing module 0.2s
  ! main object not found

Error: main object not found

Same output repeats with dagger call echo ping and dagger call echo.
What am I missing here? :)
My ./dagger/main.go looks like such:
package main

import (
        "context"
        "dagger/repo-name/internal/dagger"
)

type RepoName struct{}

func (m *RepoName) Echo(stringArg string) string {
        return stringArg
}

// Other example targets

Dagger info:
$ dagger version
dagger v0.12.0 (registry.dagger.io/engine) linux/amd64

$ cat dagger.json
{
  "name": "repo-name",
  "sdk": "go",
  "source": "dagger",
  "engineVersion": "v0.12.0"
}

Running on WSL2 Ubuntu 22.04 with Docker Desktop.

Is repo-name the literal value you're using here? I have a vague suspicion that that could have something to do with it. main object not found can potentially happen if the struct type you're using RepoName isn't the right one for repo-name. Not sure though, I can't seem to reproduce the exact issue you're having.

You shouldn't add a manual main definition - if you run dagger develop, you can see that dagger will generate one for you in dagger.gen.go.

Yeah, those steps look right to me.

Could it have something to do with the repo structure that dagger init was ran in?

That's potentially possible for sure. You wouldn't happen to have a go.work at the top-level?

This may be happening because of how strcase.ToCamel works (which is used here in dagger). and it seems like the behaviour has changed recently in that library as reported in https://github.com/iancoleman/strcase/issues/39#issuecomment-1761050795
golang playground link to show the issue: https://go.dev/play/p/sSztAY-7AMD

on trying this further, I am noticing that in schema on engine side, the module a-module, shows up as AModuleAmodule, while my-module, shows up as MyModule:
using query:
{
  __schema {
    types {
      name
    }
  }
}

I am still trying to connect dots as to why that might be....

This may be happening because of how strcase.ToCamel works (which is used here in dagger to identify if the name is the main object or not). and it seems like the behaviour has changed recently in that library as reported in iancoleman/strcase#39 (comment)

That library has issues. Even the names of the functions don't follow conventions:

ToCamel → should be ToPascal
ToLowerCamel → should be ToCamel

The acronym preservation is problematic, but it exists due to Go's naming conventions. However it brings ambiguity on where words should be separated. Codegen uses a different function in some places, with its own list of acronyms.
You may find that the naming conversion isn't being used consistently everywhere. If so, that needs to be fixed.

This is indeed happening due to how strcase.ToCamel works for string like AModule, where it is returning Amodule.
This causes the logic in namespaceObject function to fail and that returns AModuleAmodule, which triggers the said failure.
this is in addition to the same issue during code generation as reported in one of the previous comment
thanks @solita-petterizit for provide such a precise testcase for reproducing the issue.
Now onto trying to identify a fix for it.

There does appear to be quite a few other implementations of all this out there, some I found:

https://github.com/ettle/strcase
https://github.com/stoewer/go-strcase
https://github.com/gobeam/Stringy

Sure there's more. If something else off the shelf handles this better that seems like the best route. But we should make sure whatever we go with we have some unit test coverage in our own code to check for libraries switching out implementations from under us.


Request for clarification of information related to forced OS crash related to GPU

When the section on this page says

"If the OS detects that six (6) or more GPU hangs and subsequent recoveries occur within one (1) minute, the OS bug-checks the computer on the next GPU hang."

Does it mean both VIDEO_ENGINE_TIMEOUT_DETECTED(0x141) and VIDEO_TDR_TIMEOUT_DETECTED(0x117)?
Also on the page Testing and debugging TDR during driver development. The debug regkeys mention that the default values 5 TDRs (bc 0x117) in 1 minute will cause a crash.

TdrLimitCount
Specifies the default number of TDRs (0x117) that are allowed during the time specified by the TdrLimitTime key without crashing the computer.
ValueData : Number of TDRs before crashing. The default value is 5.

Are these two pages describing the same events? Can the details be clarified?

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

ID: 43cf5418-0c36-a7b9-2f4c-d95c69e9a7ca
Version Independent ID: 7e890bd6-0ff5-a623-e696-1403fee769c5
Content: Timeout detection and recovery (TDR) - Windows drivers
Content Source: windows-driver-docs-pr/display/timeout-detection-and-recovery.md
Product: windows-hardware
Technology: display
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Thanks for the great questions, @pacampbe. I've updated the page with clarifications/corrections and added links between the two pages you cite to tie the info together.

Thank you for updating the documentation, it helps.


Add scrollPhysics for vertical and horizontal

ScrollPhysics helps when table is nested in a sliver but is unfortunately not available from the parameters.

If you're talking of overriding scroll physics for the scrollable inside data table widgets, I believe that can be done via Flutter's standard capabilities: https://stackoverflow.com/questions/62809540/how-can-you-change-the-default-scrollphysics-in-flutter


Problem with datetime and HDFStore

When storing a DataFrame using HDFStore the datetime information is altered. My guess is that there is some problem with daylight saving and time zones when the DataFrame is loaded from the h5 file.  An example:
In [1]: from pandas import *

In [2]: df = DataFrame([0,1], [datetime(2011, 3, 27, 2, 2, 2),datetime(2011, 3, 27, 3, 2, 2)])

In [3]: s = HDFStore("test.h5")

In [4]: s["test"] = df

In [5]: df
Out[5]:
                     0
2011-03-27 02:02:02  0
2011-03-27 03:02:02  1

In [6]: s["test"]
Out[6]:
                     0
2011-03-27 03:02:02  0
2011-03-27 03:02:02  1

I get something else. What else is weird is DST is 3/13 in 2011, not 3/27.
What pandas.version do you have, what OS & python?  If linux, what are your LC_ variables? (ie, run set | grep "LC" in bash)
## -- End pasted text --

In [2]: df
Out[2]:
                     0
2011-03-27 02:02:02  0
2011-03-27 03:02:02  1

In [3]: s["test"]
Out[3]:
                     0
2011-03-27 02:02:02  0
2011-03-27 03:02:02  1

Aha, I thought that it was the same date across all countries but that was not the case. According to http://www.timeanddate.com/time/dst/2011.html there are several different dates.
Running locale says "en_US.utf8" but I am located in Sweden and in Sweden the DST was the 27th (probably something broken in my locale). By the way, what is the correct behavior? Maybe it's just me that handles the data wrong.
I'm running Ubuntu 11.04, Python 2.7.1 and pandas-0.7.0rc1-py2.7-linux-x86_64.egg.

My use case is that I read data stored in CSV files. I load them into DataFrames. So far, so good. The problem occurs when persisting the DataFrame in a h5 file. When I load the data from the h5 file, I receive a DataFrame that has an index containing duplicate entries.

You are right about DST being different where you are :)
Since there is no timezone information attached, the principal of least surprise would suggest it should return exactly what you stored.
However, looking into pandas/io/pytables.py, going into storage, it does:
time.mktime(v.timetuple())
Docstring: Convert a time tuple in local time to seconds since the Epoch.

And coming out,
[datetime.fromtimestamp(v) for v in data]
Docstring:  timestamp[, tz] -> tz's local time from POSIX timestamp.

Ok, so the problem is this: 2:02 on 3/27 is actually a non-existent time, and 2:02 == 3:02.    Can you prefilter the data before storing?
But even stranger, I cannot reproduce the behavior for me on 3/13, in my timezone (EST5EDT) when I should see the exact same behavior.

I assume one would want the option to save data in non-standard (ie, no daylight saving time even during daylight saving time period). i'll think if this is easy.

Thank you for looking into this.
I would definitively profit from having the option of storing and reading data from other timezones than my local.

I think the best way to deal with this for now is to set the timezone information on your original dates.  I.e., if x is a datetime, x = x.replace(tzinfo=pytz.UTC).  When it comes out the other side, it should conform to your local time properly.  We should have improved time zone handling in 0.8 along with the datetime64 type.


docs: prefer symlinks to 'cargo run' in guide

We're trying to make the guide more accessible. In practice, symlinking the compiled binaries onto a PATH location allows for less typing at the command line, and makes the documentaiton significantly easier to read.
Closes #1976.

I don't think we should do this. The cargo output directory isn't a stable location for binaries, and we shouldn't tell people to configure their systems in a way that assumes it is.
The reason we tell people to run commands with cargo is because we don't support any mechanism other than from-source builds, and so we use a tool that handles in-source builds (e.g., by automatically recompiling when necessary).
If we don't want to require people to build from source with cargo, we should provide installable binaries, rather than inventing our own ad-hoc installer.


Disqus comments not appearing

Which library would you suggest for comments? Currently I'm using disqus but sometimes the comments appear and sometimes they don't. Can you please take a look what is wrong?
link to site

@g1eny0ung can you also look into this https://g1eny0ung.site/, it appears dead.

After some debugging I think disqus comments work in chrome but not in firefox.
I even in firefox incognito thinking some extension might be blocking it. But its still the same there.
But in the same firefox I'm able to view other hugo based websites with disqus comments.
The console in firefox shows this

After some debugging I think disqus comments work in chrome but not in firefox. I even in firefox incognito thinking some extension might be blocking it. But its still the same there. But in the same firefox I'm able to view other hugo based websites with disqus comments.
The console in firefox shows this

After I tested I think it's related to Disqus itself or the network.

After some debugging I think disqus comments work in chrome but not in firefox. I even in firefox incognito thinking some extension might be blocking it. But its still the same there. But in the same firefox I'm able to view other hugo based websites with disqus comments.
The console in firefox shows this

After I tested I think it's related to Disqus itself or the network.

Hmm, but why do some blogs with disquis still load in firefox? Also can you suggest a good alternative to disquis?

Hmm, but why do some blogs with disquis still load in firefox?

🤔 Not really sure, you can google why it doesn't work anymore and see what similar situations there are.

Also can you suggest a good alternative to disquis?

From what I know, I recommend this: https://github.com/utterance/utterances.


Vue SFC support

Support for Vue SFC (Single File Components).
A Vue SFC is a file like the following:
<template>

Hello

</template>

As we can see, there's a tag called style that can contain css and other pre-processors, such as scss.
The style tag accepts css code by default, or the extension specified by the lang attribute. Example:

This would be nice to have and should be fairly easy to do. If anybody wants to give it a shot, ping below and I'm more than happy to help.

Started working on this in a fork. Might not be able to fully implement it on my own.

Started working on this in a fork. Might not be able to complete it on my own.

The issue I'm running into is how to break out the CSS from the SFC. Then it can be parsed like normal CSS or SCSS. I think I've identified where that should happen.

Hey @MegaMattMiller,
Thank you for trying to contribute. Appreciate your time and effort.
Below is my thought process on how we implement this:

Since Vue file parsing is going to require some custom logic, I would create a new vue-file handler
In the vue-file handler, we could try to get the CSS in the file by trying to find the  tags manually
Then get the content between the style tags and send the pure CSS string to the getRules  function.

What do you think about the above-mentioned approach?

Sounds like a plan. I'll try to work on this some this weekend.

@MegaMattMiller - I have opened a PR that adds support for HTML/Vue/Svelte.  Would you mind pulling the PR down and testing it to make sure it works? I am not a Vue developer, so I am not sure of all the patterns that are used aside from what I saw in the documentation.
PR: #21
If you are able to try it out, please let me know if you have any questions or find any issues.

Awesome! I've been super busy today but once I get some time I'll pull it down and test it out.


feat(rpc): Add client wrapper

Based on #1175
Closes #1185
Closes #1186
TODO:
[ ] Create new RPC tests

Codecov Report

Merging #1195 (b7ba257) into main (21aed31) will decrease coverage by 5.20%.
The diff coverage is 64.79%.

@@            Coverage Diff             @@
##             main    #1195      +/-   ##
==========================================
- Coverage   60.25%   55.04%   -5.21%
==========================================
  Files         161      163       +2
  Lines        9736     9575     -161
==========================================
- Hits         5866     5271     -595
- Misses       3337     3777     +440
+ Partials      533      527       -6

Impacted Files
Coverage Δ

api/gateway/availability.go
0.00% <0.00%> (ø)

api/gateway/config.go
0.00% <0.00%> (ø)

api/gateway/das.go
0.00% <ø> (ø)

api/gateway/endpoints.go
0.00% <ø> (ø)

api/gateway/handler.go
0.00% <0.00%> (ø)

api/gateway/header.go
0.00% <ø> (ø)

api/gateway/middleware.go
29.41% <0.00%> (ø)

api/gateway/server.go
68.88% <ø> (ø)

api/gateway/share.go
0.00% <ø> (ø)

api/gateway/state.go
0.00% <ø> (ø)

... and 102 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add SPI driver for Neopixel LEDs

This commit adds support and tests for WS2812B Neopixel LEDs.
It's been tested on a Pi0 driving 50 WS2812B LEDs.
Comments and criticism are welcome.

Hey @googlebot, I've signed your CLA.

Ah, you may have to amend the commit with the email address you used in the CLA, or redo the CLA with the email you use as author for commit, as you prefer. I'll try to review ASAP but I'm having dinner now, so it may take a few hours.

Oh you may want to take a look at experimental/devices/nrzled. The reason it is not named ws2812b is that there are a ton of clones using the same protocol.

@googlebot let's try that again.
@maruel Thanks for pointing out the NRZ driver, I had played with it and was unable to drive LEDs from my Pi0 - even the 400kHz freq was high enough for the driver to fail out. This implementation uses SPI instead of memory-mapped bitbanging, so it should be a bit less demanding on CPU. It also avoids memory-mapped access, so root is not needed.

Yes, my thinking is that this code could be added inside nrzled. example_test.go is incorrect.

Sorry for asking you to rewrite this PR twice but I think the end result is both 1) much less code and 2) simpler for the users. If you are still interested I'll be happy to review, otherwise I'll take it bite-meal, probably with NRZ first, then the rest.

Pardon the delay on getting back to your review. I'm still interested in getting this merged, though I wrote it as a stepping stone for a larger project (Muxing several Neopixel streams on one SPI port) that's sucking up my hobby time. I think at this point offering the code to you piecemeal is the most expedient course of action. I'm also interested to see your iteration of the API design.
The more I think about these drivers, the more I'm tempted to open a 'Add a generic RGBStrip interface' issue.

Ok no worries. I'll merge it in but with no guarantee that I won't make follow up breaking changes. Is that ok?

gohci

no guarantee that I won't make follow up breaking changes. Is that ok?
Absolutely, the code's all yours to play with. Thanks for your reviews and happy hacking!


In SimpleMinionClusterIntegrationTest, manually control the task execution process instead of using sleep

Make test result more deterministic, and reduce redundant sleep

Codecov Report

Merging #2496 into master will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2496      +/-   ##
==========================================
- Coverage   69.59%   69.37%   -0.23%
==========================================
  Files         848      848
  Lines       39554    39826     +272
  Branches     5329     5396      +67
==========================================
+ Hits        27528    27628     +100
- Misses      10236    10395     +159
- Partials     1790     1803      +13

Impacted Files
Coverage Δ

...lix/core/minion/PinotHelixTaskResourceManager.java
81.39% <ø> (ø)
:arrow_up:

...not/common/exception/HttpErrorStatusException.java
0% <0%> (-100%)
:arrow_down:

...t/common/exception/PermanentDownloadException.java
0% <0%> (-100%)
:arrow_down:

...ommon/utils/retry/RetriableOperationException.java
0% <0%> (-100%)
:arrow_down:

...ot/common/utils/retry/AttemptFailureException.java
0% <0%> (-50%)
:arrow_down:

...not/common/segment/fetcher/HttpSegmentFetcher.java
58.33% <0%> (-16.67%)
:arrow_down:

...edin/pinot/common/utils/retry/BaseRetryPolicy.java
69.23% <0%> (-15.39%)
:arrow_down:

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
65.45% <0%> (-12.73%)
:arrow_down:

...n/pinot/common/utils/FileUploadDownloadClient.java
67.22% <0%> (-10.09%)
:arrow_down:

.../server/starter/helix/SegmentFetcherAndLoader.java
55.55% <0%> (-9.41%)
:arrow_down:

... and 27 more

Continue to review full report at Codecov.

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


test: loaders

:tada: This issue has been resolved in v4.5.1
If you appreciate this project, please consider supporting this project by sponsoring :heart: :pray:


Improve the script editor's executing line icon (3.x)

The executing line icon now surrounds the breakpoint icon with an outline instead of being drawn inside.
I tested this at editor scales 100% and 200% and it works well in both.
This addresses https://github.com/godotengine/godot/issues/50950 for 3.x. A master PR needs to be made too – the code is entirely different, and the breakpoint icon was also changed.
Preview

Should this possibly include errors/exceptions as well?

They're much easier to see than the old executing line icon, but it might make sense for them to be consistent.


Add default CRS on country in Graph

@yannforget @qgerome if we have to hardcode CRS, I'd prefer to hardcode it in the backend.
@yannforget what other "quick wins" can I implement until we have a table with country data?
Checklist:

[x] Simple defaultCRSfield with default value
[ ] Check appropriate fallback value
[ ] Add query for WHO regions

@yannforget @qgerome if we have to hardcode CRS, I'd prefer to hardcode it in the backend.
@yannforget what other "quick wins" can I implement until we have a table with country data?

It would be awesome to also have the WHO region in this list 🙏🏻 . As of now I have to maintain this list in the frontend as well just because of this.

@yannforget @qgerome if we have to hardcode CRS, I'd prefer to hardcode it in the backend.
@yannforget what other "quick wins" can I implement until we have a table with country data?

It would be awesome to also have the WHO region in this list 🙏🏻 . As of now I have to maintain this list in the frontend as well just because of this.

Will do :)


Add pyproject.toml

@twizmwazin quick question, what setuptools version does this not work on? Or, the more important question, what Ubuntu version does this not work on? 18.04?

If users are installing wheels, it should work out of the box on 14.04 and up, if they are installing from source it should work on 18.04 and up. In both cases, users using something older can still install it in a venv with an upgraded pip.


Does not convert app android to Ios

Hi, someone help me
I configured j2objc-gradle in my android studio on windows, create the project called Shared, My android app (already existing) and folder IOS, and called Shared in my Android app project, but when I run my project in android studio does not work the conversion.
My grandle sync:
Error:Unable to find module with Gradle path ':Shared' (needed by module 'app'.)
My grandle Build:
:app:preBuild
:Shared:j2objcTranslatedMainLibraryExtraction UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:Shared:compileJava UP-TO-DATE
:Shared:processResources
:app:preReleaseBuild UP-TO-DATE
:Shared:processResources UP-TO-DATE
:app:generateDebugBuildConfig
:Shared:classes UP-TO-DATE
:Shared:jar UP-TO-DATE
Someone help me?
Thank you!

To do cross platform development, you must use a Mac. Though part of
j2objc-gradle can be run on Windows, the initial version should be done on
a Mac to make sure it works end to end. The tool itself is pretty complex
to use. I would do searches online for "Unable to find module with Gradle
path" as that appears to be a separate error from using j2objc-gradle.
Also, make sure that the Java only build works correctly first.
https://github.com/j2objc-contrib/j2objc-gradle#quick-start-guide
On Wed, Mar 23, 2016 at 8:07 AM jhownfs<EMAIL_ADDRESS>wrote:

Hi, someone help me
I configured j2objc-gradle in my android studio on windows, create the
project called Shared, My android app (already existing) and folder IOS,
and called Shared in my Android app project, but when I run my project in
android studio does not work the conversion.
My grandle sync:
Error:Unable to find module with Gradle path ':Shared' (needed by module
'app'.)
My grandle Build:
:app:preBuild
:Shared:j2objcTranslatedMainLibraryExtraction UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:Shared:compileJava UP-TO-DATE
:Shared:processResources
:app:preReleaseBuild UP-TO-DATE
:Shared:processResources UP-TO-DATE
:app:generateDebugBuildConfig
:Shared:classes UP-TO-DATE
:Shared:jar UP-TO-DATE
Someone help me?
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/608

Hi Bruno,
Thank for your reply, my app android was building in android studio on windows and now i'm using Mac for development apps, so this app android already work very well, I need recreate this app on Mac? or I can only convert?

J2ObjC requires full source code access for every library that you want to
share on both platforms and a possibly extensive refactoring of the
codebase. You need to separate out all the shared so that it only have Java
and no Android dependencies.
On Wed, Mar 23, 2016 at 9:35 AM jhownfs<EMAIL_ADDRESS>wrote:

Hi Bruno,
Thank for your reply, my app android was building in android studio on
windows and now i'm using Mac for development apps, so this app android
already work very well, I need recreate this app on Mac? or I can only
convert?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/608#issuecomment-200427534

Ok, thanks.
That is really complex to do hahha....

I tried to convert inside on Mac, using
$ j2objec Hello.java
and me response: j2object: command not fond
I Already download the last version and unzip, try run inside folder it not work. =(


Implement discard and clear methods

I have pushed again the branch with a working implementation, and with more tests to cover the case you have explained earlier.
I understand it's not really performant, but I think it's still better to just make it works for OrderedSet object to have the same features as a standard set object.

Okay, this looks like a good plan overall. I understand why it would be nice for OrderedSet to support all the set methods.
However, I think it's still incomplete -- isn't this leaving the key that you 'discard' in self.map? The removed item will still have an index (which now points to something else) and will still return True in __contains__.

True ! I'll fix tomorrow !

It's now fixed, and tested with in operator.

Looks good, thanks!


FIX Dont allow plain text friendly errors

Related to #5235

This makes sense to me because a HTML response is being generated either way after this point. Just wondering though, there is a check to see whether headers have already been set but if they have been, is it possible that the type has already been set to plain text? So in the case of headers already being sent should we check what the content type was set to and dump a plain text message if appropriate?

What change should be made in master, given that we are now using FriendlyErrorFormatter ?

It looks like DebugViewFriendlyErrorFormatter@output should be picking the content type there.

there is a check to see whether headers have already been set but if they have been, is it possible that the type has already been set to plain text

So you could use headers_list() and inspect them to see if the content-type has been set/sent and adjust output based on that - but we don't have means to change the output type of Debug::create_debug_view() at the moment

Note; This is still needs fixing in master, but it doesn't need to block fixing in 3.x.


ENH: almost clone of register_mds

but it registers metadataclient
This is dumb, but effective.

We talked about moving register_mds.py to another package, but I'm not sure there's consensus on where that would be (I don't have any strong opinion yet). So this is fine.

cc @heroux this is progress on the metadataserver/client


Line breaks

How do I get jsPDF to recognize a line break?? Only way I've managed to break text to a new line is to insert '', but that doesn't work for multiple line breaks. I saw a closed issue here suggesting that '\n' would work, but it doesn't. What am I doing wrong?

@ajwhite The latest dist files should support BR tags already.

Hello, I am having the same problem. The BR Tags do not function.

The following worked for me...

|

When I try to use
 jsPDF throws an error: Uncaught TypeError: Cannot read property '1' of undefined

Can also confirm Uncaught TypeError: Cannot read property '1' of undefined error when there are

Hello~
Piling onto the
 problem.
I have also tried

 and it did not work.

Okay, so in jspdf.debug.js line#4730 there is the relevant line for parsing the table cell.
rowData[headers[j].name] = tableRow.cells[j].textContent.replace(/\r?\n/g, '');
Here it regex-es out the new line character \n with an empty string. So I removed the \n in the regex and added a \n in my HTML instead of a
. It's probably workable for my case...so I thought I would share.
And while I'm here, anyone have a usecase for why the \n should be part of the regex?

P.S. you can link to code lines by clicking on the line number https://github.com/MrRio/jsPDF/blob/master/dist/jspdf.debug.js#L4730

My answer her works for me
https://stackoverflow.com/questions/57990264/issue-with-fromhtml-method-in-jspdf-lib

have you tried this:
"Im line number1\r\nAnd Im line number2"

perfect solution !!!


Fix return for place connection

Resolves: https://github.com/atlanticwave-sdx/sdx-controller/issues/230
Fix return for place_connection(). In the future, the connection ID should be returned, to be used when we delete connection. Will address in a follow up PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-1 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.214%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sdx_controller/handlers/connection_handler.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
609

Relevant Lines:
1432

💛  - Coveralls


Tags

If you use https://validator.w3.org/check#source to lint the following code it will tell you that a div must not be inside a span:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<title>Demo</title>

@mlochbaum Would you be open to a pull request which adds this feature also for htmllint?

Of course! Kind of a hard one to name--maybe div-inside-span-ban makes sense?
fig-ref-figcaption is a little similar if you want a reference to look at.

I would call it xhtml-strict:true and use a npm like https://www.npmjs.com/package/libxml-xsd to validate the html against https://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd

After further research I found that the official html5 validator settings are here: https://github.com/validator/validator/tree/master/schema/html5
However I couldn't find a way to validate against them using javascript


set external room temperature

Hi,
thanks for creating this node, made my day realizing the connection of solar power with AC devices.

Is it possible to set an external room temperature value to MEL cloud? I would like to have the AC-control listen to my HomeMatic temperature sensor and not its internal one. They differ up to 2 deg.

Whenever I send a number (1/3/8) with command "mode" the node does not pass through msg.payload. The status does only change by mobile app. Any ideas?

Thanks a lot, that works properly. I recommend to add e.g. "mode": "cooling" in your example files because sending a string is not self explaining for rookies like me.
About my second question I think you got me wrong:
I want to exchange the RoomTemperature (internal device sensor?) by external HomeMatic temp sensor, because the values differ up to 2°C


Integer overflow in _aligned_offset_malloc

In winpr/libwinpr/crt/alignment.c::_aligned_offset_malloc(), the size computation passed to malloc can overflow, causing malloc to allocate a buffer which is too small:
 82         /* minimum alignment is pointer size */
 83         if (alignment < sizeof(void*))
 84                 alignment = sizeof(void*);
 85
 86         /* malloc size + alignment to make sure we can align afterwards */
 87         base = malloc(size + alignment + sizeof(WINPR_ALIGNED_MEM));

In the same function, the comment does not match the following check.
 74         /* alignment must be a power of 2 */
 75         if (alignment % 2 == 1)
 76                 return NULL;

Releated PR #4961


Problem about the unetr baseline

Dear authors, thanks for your impressive work.
I am curious about the baseline results of unetr, did you also run this baseline model based on your project? I found that you are based on the nnunet project. Did the impressive improvement due to the preprocessing of the training data as the nnunet project? As the improvement of Dice is not so obvious compared with the nnunet baseline.

Hi @Jason7282
Thank you for your interesting question.
The DSC of the baseline UNETR we reported on the Synapse dataset (78.35%) is based on our codebase (built over nnunet project). So the comparison of DSC (87.22% vs 78.35%) is based on the exact preprocessing (based on nnunet project) and the same input sizes of 128x128x64.
I hope it is clear now. Please let me know if you have any questions.
Best regards,
Abdelrahman.


Parsing --my-css-variable:; results in an unhandled error

Parsing --my-css-variable:; results in an error originating in these lines from /src/lib/style-properties.html:
          while (m = rx.exec(cssText)) {
            // note: group 2 is var, 3 is mixin
            properties[m[1]] = (m[2] || m[3]).trim();
            any = true;
          }

In particular, m[2] evaluates to "" and m[3] evaluates to undefined. This results in (m[2] || m[3]) evaluating to undefined, and undefined.trim() naturally throws an error.
It seems to me that such a mistake in CSS is fairly possible (:; is not a particularly out-of-the-ordinary mistake to make), but I don't think that the app should come crashing down over a CSS error. It seems, after discussing this with @arthurevans, that a good way of handling this would be to check if (m[2] || m[3]) is falsy, and if it is, output an error to the console with console.error or console.warn instead of a throw or leaving the error unhandled. I'm not sure if the rule should then have its value blanked or if the malformed definition should be skipped entirely.
I am told @sorvell is the mad scientist who might have a good answer or two. :smile:

I wasn't sure if it was desirable to have a way to blank out a property, like:
--my-custom-prop: "";

In which case, we should handle this; otherwise, we should put out a reasonable error. Tagging @frankiefu for an opinion on the above question.

Seems to be fixed: http://jsbin.com/koninutozu/edit?html,console,output


Error undefined not allowed for Lightness in oklch()

Hello, i'm using this stylelint plugin with PostCSS but I'm getting an error when I have other postcss plugin to generate colors. See this example:
color: oklch(token(--color-primary-40) / 5%)

In my case token() is replaced by a PostCSS plugin at buildtime, but stylelint-gamut is complaining about the 'wrong' syntax giving the error Error undefined not allowed for Lightness in oklch()
Any idea how to avoid this?

Hello, to avoid it we should update check function in src/index.js and ignore oklch declarations that contain token string or something like that

Since there are many postcss plugins and ways to define colors, is probably future-proof to avoid the check for color functions that don't start with a number, this would include also oklch(var())...

Sounds like a solid solution :)

Any staring point?

Just tried:
https://github.com/fpetrakov/stylelint-gamut/pull/19

Any chance to get this merged?

@equinusocio thanks for your work, released it yesterday


update gevent and greenlet

Description
update gevent and greenlet
from gevent = "1.4.0" greenlet = "0.4.16"
to: gevent = "21.1.2" greenlet = "1.0.0"
Changes
List of changes this PR includes
Related Issues
List of related issues
Checklist

[ ] Pre-commit hook is installed to do formatting checks before committing code...etc
[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings

We need to only update gevent/greenlet.
What's the output of:
poetry update gevent greenlet

And please update poetry (lock file format has been changed, we are using poetry version 1.1.4)


Create support.md

adding lifecycle and support policy to the guidance

Looking forward to this general guidance!
One point of contention as it relates to dropping platform support is whether we consider it a semver major or semver minor change. I believe pedantic semver would say major, but some ecosystems like .net drop platform support in minor releases sometimes. Would it make sense to have a consistent story across Azure SDK and if so, is here the right place to do it?

@bterlson I'm not sure how easy that would be to generalize across langauges ecosystems but as for where we would add that information I suspect it would be some combination of https://azure.github.io/azure-sdk/policies_releases.html and this support document.

@elraikhm I'm merging this in not to seed the document any other updates or feedback can come in another PR.


FileDialog directory selection mode

I need the ability to invoke file dialog to select some directory.

Implement "New Folder" button support as well


deploy/config.py does not document meaning off DEBUG variable

the documentation on the DEBUG variable just repeats what is obvious from the code and doesn't explain what it does and the fact that it is an dangerous Flask configuration option.

Closed with #1103


Move serialization to LogEvent.getBody().

This PR moves the serialization from POJO to JSON into LogEvent#getBody(). This allows the serialization of the event to be offloaded to with the event handler when the HTTP request is built. This should be 100% backwards compatible with any existing EventHandler implementations. Initial benchmarks are much improved over the current master in tight loop simulations.
Stats after 100,000 calls to activate(...) in my simulation:

Metric (us)
PR-199
2.0.0-beta2
2.0.0-SNAPSHOT
THIS PR

Min
21
2
3
1

Median
29
2
9
6

Mean
41
3.8
10.2
6.1

75th Pct
40
3
11
7

95th Pct
85
7
18
11

99th Pct
126
26
43
21

999th Pct
713
65
237
232

Max
11825
17732
34384
12845

Note 2.0.0-beta2 was pre-batch endpoint, so isn't a valid comparison. Also performance runs can have some volatility, but the overall trends remain.
I've also wrapped some calls to logger.debug in logger.isDebugEnabled() to prevent unused log statement from triggering the serialization synchronously.

Pull Request Test Coverage Report for Build 567

14 of 15 (93.33%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 89.373%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-api/src/main/java/com/optimizely/ab/event/LogEvent.java
6
7
85.71%

Totals

Change from base Build 566:
-0.03%

Covered Lines:
2338

Relevant Lines:
2616

💛  - Coveralls

THANK YOU !! Taking a closer look now.

@thomaszurkan-optimizely can we get this into the 2.1 Android release?


Small correction for Arch installation

The package said to use pacman, but the package is on AUR and requires manual intervention or use of a helper such as yay or aura.

Why do you need yay? What manual intervention?

godot-package-manager-git is uploaded to the AUR (Arch User Repository), but not to the official Arch repositories.
pacman only works with the official repositories, so it cannot find the package. But yay can.

To install from AUR, it's necessary to either manually download the package and run a set of commands manually (the Arch recommended way), or use a tool that does it for you. yay is one such tool (I think the most popular one, but I may be wrong).

Hmm, okay.


Add 2 tokens update 2

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

@keone
Updating PEEL Token Logo: #18121
Adding 2 WL Tokens
Updating HOZ Token ID:  #18977
Previous merges were by me. Thanks!

Bump?

please don't close this if you want it to be manually merged


Feature/support callback with token

The original authentication flow only supports code as the callback parameter. It then makes a request to auth0 tenant passing code together with client_id and client_secret to get to access token and related parameters.
I'm proposing a way to directly pass access token and related as parameters on the callback function.
Why that?
It's not possible to integrate cypress tests with the current authentication flow because cypress doesn't allow redirects (read https://docs.cypress.io/guides/guides/web-security.html#One-Superdomain-per-Test), so we can't programmatically fill the auth0 form and click submit using cypress. Read about those issues on the following threads:
https://github.com/cypress-io/cypress/issues/1344
https://github.com/cypress-io/cypress/issues/1342#issuecomment-366747803
And it's not possible (at least I don't know how) to get code through a JS request, it needs to be through auth0 form.
So, auth0 wrote a blog post about that:
https://auth0.com/blog/end-to-end-testing-with-cypress-and-auth0/
This guide states that we need to enable password grant type so we can get the token through that (not for production - it states we should use a dev/test tenant and a production tenant without that option enabled).
But, we also couldn't use that idea in our phoenix app, because we are using this library, and it doesn't allow callback directly with an access token and related parameters. The idea is to make our app capable of handling a get request to callbackUrl
const callbackUrl = `http://localhost:4001/auth/auth0/callback?access_token=${access_token}&scope=openid&id_token=${id_token}&expires_in=${expires_in}&token_type=Bearer&state=${auth0State.state}`;

I'm not sure if there is any security problem using this approach as we are still calling userinfo using access token.
I could not find any existing method to validate the token parameters on OAUTH2 and passing invalid tokens made server crash (Jason decode error) so I added a try/rescue as we don't control other libraries, probably this is not the best approach.

Coverage remained the same at 0.0% when pulling fd5cdf629d3ee741cef15005fe59bda4709ea85a on joaobalsini:feature/support-callback-with-token into 5dca9962f54d011fee0e6a589eff3d9691dbab58 on sntran:master.


Project logo

I just realized that container-interop (the organization itself) has no logo.
Any suggestions for what it could look like? Something like power plugs + battery (or similar) would be nice, IMO.
Note: yes, I'm opening an issue and running away - not good at anything that requires interaction with pixels.

That's a good idea indeed but I can't contribute much too ;)

Ho this is an excellent idea, but I'd rather stay away from anything requiring good taste :)
I've been trying to clog together 2 font-awesome icons (battery and plug), but it's just dreadful.
Another solution would be to find a nice free icon. I've doing a quick search and found this:
https://pixabay.com/en/cubes-squares-geometric-boxes-3d-311494/
=> lot of boxes (containers?) next to each other
https://pixabay.com/en/cube-box-shape-concept-abstract-35777/
=> pretty simple just one box
Or we can try "fun" icons if we want a bit of crazyness:
https://pixabay.com/en/octopus-happy-undersea-world-951230/
https://pixabay.com/en/octopus-fantasy-cartoon-character-576522/
(it's only a quick search, there are certainly other free icons we can use if we want to)

I feel no specific logo for container-interop is needed, lonely!
Instead if we are going to have a logo... it sholud be out there for every *-interop projects with different little thoughtful changes.
At this important point, we do know what to do with the appearance and philosophy of our logos.

I like the box idea, maybe something like intersecting boxes to represent interoperability or something:

:+1: on @Anahkiasen 's idea

Not prefect but maybe something like this?

Maybe something more about shipping crates? Last time, it worked nice for ProxyManager:

more like this?

I was in a creative mood today. Thought the blueprint style would nicely encapsulate the project's goal.

Also :+1: on @prisis 's idea. I don't care for the others, but that's just me.


[Docs] Translate Architecture page to Spanish

Current State:
Actual Architecture page in available in English only
Desired State:
Architecture page translated to Spanish.

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

/assignme

/assigntome

/assign Drake8710

/assign me

I will assign it to you @Drake8710 😆


Progress bars for % measure with colors preset?

https://github.com/cezary/react-progress

Add lib to https://devarchy.com/react


Accommodate Tests that run KOEO — Task 8 proposal

Tests that run KOEO are problematic for multiple tests.   One heuristic is to collect all the KOEO completions at the end of the part 1 test and excuse or warn the part 1 completed results from future erasure failures.
15:30:58.9386 Sending DM7 for DM30 to Engine #1 (0) for SPN 157
15:30:58.9421 18E300F9 [8] F7 9D 00 1F FF FF FF FF (TX)
15:30:58.9526 18A4F900 [48] F7 9D 00 10 82 01 00 FB FF FF FF FF F7 9D 00 12 82 01 00 FB FF FF FF FF F7 9D 00 07 82 01 DF 10 7C 15 00 00 F7 9D 00 07 82 01 DF 10 6C DC C4 09
DM30 from 0: [
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -40,000, Value: 3,190, Max: 15,000 kPa
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -15,000, Value: 3,190, Max: 524,280 kPa
SPN 157 FMI 16 (SLOT 386) Result: Test Not Complete.
SPN 157 FMI 18 (SLOT 386) Result: Test Not Complete.
]
FAIL: <IP_ADDRESS>.c - Engine #1 (0) did not erase Test Results data
15:58:04.8703 Sending DM7 for DM30 to Engine #1 (0) for SPN 157
15:58:04.8733 18E300F9 [8] F7 9D 00 1F FF FF FF FF (TX)
15:58:04.8828 18A4F900 [48] F7 9D 00 10 82 01 00 FB FF FF FF FF F7 9D 00 12 82 01 00 FB FF FF FF FF F7 9D 00 07 82 01 79 10 7C 15 00 00 F7 9D 00 07 82 01 79 10 6C DC C4 09
DM30 from 0: [
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -40,000, Value: 2,170, Max: 15,000 kPa
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -15,000, Value: 2,170, Max: 524,280 kPa
SPN 157 FMI 16 (SLOT 386) Result: Test Not Complete.
SPN 157 FMI 18 (SLOT 386) Result: Test Not Complete.
]
FAIL: <IP_ADDRESS>.c - Engine #1 (0) did not erase Test Results data
FAIL: <IP_ADDRESS>.c - Engine #1 (0) partially erased diagnostic information
This is also observed for Test 9.10.  Part 1 shows the ran KOEO
Engine #1 (0) Test Results:
SPN 102 FMI 16 (SLOT 388) Result: Test Not Complete.
SPN 102 FMI 18 (SLOT 388) Result: Test Not Complete.
SPN 102 FMI 10 (SLOT 388) Result: Test Not Complete.
SPN 157 FMI 16 (SLOT 386) Result: Test Not Complete.
SPN 157 FMI 18 (SLOT 386) Result: Test Not Complete.
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -40,000, Value: 2,470, Max: 15,000 kPa
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -15,000, Value: 2,470, Max: 524,280 kPa
SPN 651 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 652 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 653 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 654 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 655 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 656 FMI 7 (SLOT 256) Result: Test Not Complete.
SPN 1322 FMI 11 (SLOT 12) Result: Test Not Complete.
SPN 1323 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1323 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1324 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1324 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1325 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1325 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1326 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1326 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1327 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1327 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1328 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 1328 FMI 11 (SLOT 208) Result: Test Not Complete.
SPN 3058 FMI 16 (SLOT 388) Result: Test Not Complete.
SPN 3058 FMI 18 (SLOT 388) Result: Test Not Complete.
SPN 3058 FMI 10 (SLOT 388) Result: Test Not Complete.
SPN 3216 FMI 2 (SLOT 348) Result: Test Not Complete.
SPN 3216 FMI 20 (SLOT 348) Result: Test Not Complete.
SPN 3216 FMI 21 (SLOT 348) Result: Test Not Complete.
SPN 3216 FMI 10 (SLOT 64) Result: Test Not Complete.
SPN 3217 FMI 20 (SLOT 12) Result: Test Not Complete.
SPN 3217 FMI 21 (SLOT 12) Result: Test Not Complete.
SPN 3218 FMI 2 (SLOT 12) Result: Test Not Complete.
SPN 3226 FMI 2 (SLOT 348) Result: Test Not Complete.
SPN 3226 FMI 20 (SLOT 348) Result: Test Not Complete.
SPN 3226 FMI 21 (SLOT 348) Result: Test Not Complete.
SPN 3226 FMI 10 (SLOT 256) Result: Test Not Complete.
SPN 3227 FMI 20 (SLOT 12) Result: Test Not Complete.
SPN 3227 FMI 21 (SLOT 12) Result: Test Not Complete.
SPN 3228 FMI 2 (SLOT 12) Result: Test Not Complete.
SPN 3251 FMI 10 (SLOT 355) Result: Test Not Complete.
SPN 3362 FMI 31 (SLOT 355) Result: Test Not Complete.
SPN 3521 FMI 18 (SLOT 256) Result: Test Not Complete.
SPN 3936 FMI 2 (SLOT 403) Result: Test Not Complete.
SPN 4331 FMI 18 (SLOT 306) Result: Test Not Complete.
SPN 4334 FMI 18 (SLOT 355) Result: Test Not Complete.
SPN 4364 FMI 31 (SLOT 306) Result: Test Not Complete.
SPN 4752 FMI 18 (SLOT 68) Result: Test Not Complete.
SPN 4794 FMI 31 (SLOT 12) Result: Test Not Complete.
SPN 4795 FMI 31 (SLOT 306) Result: Test Not Complete.
SPN 4796 FMI 31 (SLOT 68) Result: Test Not Complete.
SPN 5024 FMI 10 (SLOT 256) Result: Test Not Complete.
SPN 5024 FMI 10 (SLOT 12) Result: Test Not Complete.
SPN 5024 FMI 10 (SLOT 333) Result: Test Not Complete.
SPN 5031 FMI 10 (SLOT 64) Result: Test Not Complete.
SPN 5031 FMI 10 (SLOT 256) Result: Test Not Complete.
SPN 5031 FMI 10 (SLOT 12) Result: Test Not Complete.
SPN 5285 FMI 18 (SLOT 64) Result: Test Not Complete.
SPN 5298 FMI 18 (SLOT 12) Result: Test Not Complete.
SPN 5298 FMI 17 (SLOT 12) Result: Test Not Complete.
SPN 5319 FMI 31 (SLOT 460) Result: Test Not Complete.
SPN 5397 FMI 31 (SLOT 12) Result: Test Not Complete.
SPN 5835 FMI 21 (SLOT 390) Result: Test Not Complete.
SPN 6773 FMI 7 (SLOT 12) Result: Test Not Complete.
SPN 6773 FMI 16 (SLOT 403) Result: Test Not Complete.
SPN 6777 FMI 10 (SLOT 256) Result: Test Not Complete.
SPN 7329 FMI 2 (SLOT 306) Result: Test Not Complete.
SPN 7329 FMI 2 (SLOT 306) Result: Test Not Complete.

Let’s get deletion detection to work with what we have now.

6.12.1       DM7 / DM30 / DM58: Command Non-Continuously Monitored Test/Scaled Test Results
<IP_ADDRESS>      Actions
a.     DS DM7 with TID 247 using FMI 31 for each SP identified as providing test results in a DM24 response in step <IP_ADDRESS> to the SP’s respective OBD ECU.
b.     Create list of ECU address+SPN+FMI supported test results.[1]
c.     Record those test results that are received as complete for each OBD ECU.  // proposal for #1139.
[1] Test results are expected only from the OBD ECU that listed the SPN with test results supported in its DM24 response. Global queries (DM7 messages) for test results can oversubscribe TP.BAM resources. As the DM7 message is a command, 00E300h is the expected PGN data in a NACK response for DM30 or DM58 requests using DM7. See SAE J1939-21 Appendix B.
A.5.6.   Test results
a.   DM7/DM30 Test Results shall report all test results with initialized results and limits (all 00h or FB00h for results and FFFFh for limits). Test results recorded as complete in <IP_ADDRESS>.c are excused here, as they are presumed to complete under KOEO conditions, and create a false failure here. // proposal for #1139

Section A.7 describes the evaluation of test results, including the definition of a minimum set for SPNs and FMIs to be supported as test results, for the HD OBD monitoring requirements given.

Each ECU/device that indicates one or more SPs are supported for test results with a DM24 response shall be evaluated separately. The request (DM7) and response (DM30) for test results shall:
a.	Fail if no test result (comprised of a SPN+FMI with a test result and a minimum and maximum test limit) for an SP indicated as supported is actually reported from the ECU/device that indicated support.
b.	Fail if any test result does not report the test result/min test limit/max test limit as initialized (after code clear) values (either FB00h/FFFFh/FFFFh or 0000h/0000h/0000h), unless reported as completed during KOEO operation in Part 1.

See #1130 for DTCs that don’t run.

<IP_ADDRESS>.c Create list of complete tests
<IP_ADDRESS> omission...
more updates to be made.

Implement sequentially with #1130

Omissions for other deletions were noted in the review which will be corrected in the artifact draft.

Initialized test results are FB00 FFFF FFFFh or
(0000 0000 0000h) for older implementations.
Anything else (not initialized) may be considered complete.
FFFFh is a valid upper limit …
Let’s not bother trying to figure out FFFFh as a lower limit (the data could be signed where the left most bit is a sign).

The list of complete tests collected in <IP_ADDRESS>.c identifies those tests (labeled with a DTC by DM7) that run KOEO and are not expected to be observed as initialized (FB00 FFFF FFFFh) (ever) subsequently in parts 2-12.

We are still seeing failures in part 9 for uninitialized tests that were already identified in part 1.
Part 1:

13:46:13.2581 Sending DM7 for DM30 to Engine #1 (0) for SPN 157
13:46:13.2601 18E300F9 [8] F7 9D 00 1F FF FF FF FF (TX)
13:46:13.2701 1CA4F900 [48] F7 9D 00 10 82 01 00 FB FF FF FF FF F7 9D 00 12 82 01 00 FB FF FF FF FF F7 9D 00 07 82 01 26 0F 7C 15 00 00 F7 9D 00 07 82 01 26 0F 6C DC C4 09
DM30 from Engine #1 (0): [
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -40,000, Value: -1,220, Max: 15,000 kPa
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -15,000, Value: -1,220, Max: 524,280 kPa
SPN 157 FMI 16 (SLOT 386) Result: Test Not Complete.
SPN 157 FMI 18 (SLOT 386) Result: Test Not Complete.
]
FAIL: <IP_ADDRESS>.a (A.7.1.b) - Test result for SP 157 FMI 7 from Engine #1 (0) does not report the test result/min test limit/max test limit initialized properly
FAIL: <IP_ADDRESS>.a (A.7.1.b) - Test result for SP 157 FMI 7 from Engine #1 (0) does not report the test result/min test limit/max test limit initialized properly

Part 9:

13:59:10.6831 Sending DM7 for DM30 to Engine #1 (0) for SPN 157
13:59:10.6821 18E300F9 [8] FA 9D 00 07 FF FF FF FF (TX)
13:59:10.6921 1CA4F900 [24] FA 9D 00 07 82 01 1F 0F 7C 15 00 00 FA 9D 00 07 82 01 1F 0F 6C DC C4 09
DM30 from Engine #1 (0): [
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -40,000, Value: -1,290, Max: 15,000 kPa
SPN 157 FMI 7 (SLOT 386) Result: Test Passed. Min: -15,000, Value: -1,290, Max: 524,280 kPa
]
FAIL: <IP_ADDRESS>.a - Engine #1 (0) reported test result for SPN = 157, FMI = 7 is not initialized
FAIL: <IP_ADDRESS>.a - Engine #1 (0) reported test result for SPN = 157, FMI = 7 is not initialized

This code snip below is from "Part09Step10Controller.java". It looks like it fails when the test results are not initialized in part 1 and also not initialized in part 9. We want to fail when the result is initialized in part 1 and not initialized in part 9.
boolean fromPart1 = moduleInformation.getInitialized_1_12_Tests()
                                     .stream()
                                     .filter(t -> t.getSpn() == spn
                                             && t.getFmi() == fmi)
                                     .findAny()
                                     .isPresent();
if (!fromPart1 && !str.isInitialized()) {
    addFailure("<IP_ADDRESS>.a - " + moduleName
            + " reported test result for SPN = " + str.getSpn()
            + ", FMI = " + str.getFmi()
            + " is not initialized");
}

part 1
part 9
expected result
actual result

initialized (not complete)
initialized (not complete)
PASS
PASS

initialized (not complete)
not initialized (complete)
FAIL
PASS

not initialized (complete)
initialized (not complete)
PASS
PASS

not initialized (complete)
not initialized (complete)
PASS
FAIL

Joe ... please use 1307 for the released correction


problem about feature extract

Hello, I have a problem.
When I extracted the features, some videos were successfully extracted. But there are a lot of videos that have not been successfully extracted, and finally only got an empty folder, what is the reason?

I have the same issue as you described that is waiting to be solved.

I have the same issue as you described that is waiting to be solved.

You should set the number of GPU correctly, and the number of GPU cannot exceed the maximum number of systems.

@zjmlovlin Have you accomplish TSN project ? I have some problem that :
bash scripts/extract_optical_flow.sh UCF-101/ApplyEyeMakeup/ frame_result/ApplyEyeMakeup/ 2
Extracting optical flow from videos in folder: UCF-101/ApplyEyeMakeup/
('reading videos from folder: ', 'UCF-101/ApplyEyeMakeup/')
('selected extension of videos:', 'avi')
('total number of videos found: ', 145)
2019-09-11 16:51:24,712 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2019-09-11 16:51:24,713 WARN [default] Aborting application. Reason: Fatal log at [/home/wangnanhui/algorith_proj/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
it is so amazing ,so How to do this? my configuration is centos7 opencv2.4.13 python2.7 nvidia9.1 .

Have you solved the problem? I always generate empty folders.

我有一个与您描述的相同的问题，有待解决。

Have you solved the problem? I always generate empty folders.

@nanhui69 can you able to slove the problem?

@nanhui69 can you able to slove the problem?

I got this error?

I got this error?

@zjmlovlin Are you solved the question? I always generate empty folders?

@zjmlovlin Are you solved the question? I always generate empty folders?

@hszhoushen Are you solved the question?

@hszhoushen Are you solved the question?


fetch: Failed to connect to localhost/<IP_ADDRESS>:PORT

react-native: 0.72.4
react-native-file-access: 3.0.4
Platform: Android
Bug
I am using react-native-image-cache which utilizes this library. I am running in some errors on android when trying to load an image. I get the error from this call (FileSystem.fetch) with the following arguments:
source:  http://localhost:3000/some/path/over/here?someQueryParameter=true
path:  /data/user/0/<app-identifier>/cache/<...>/images/1d331f734be348d78fe4a71a2f8aeb4493a14338.jpg

The error message i get is
Maximum retries exceeded: Failed to connect to localhost/<IP_ADDRESS>:3000

This error is android only and also only occurs with the given parameters. When using another image and hence other parameters it's just working fine. I don't know if I'm missing anything but it seems like a bug. Working for the following parameters:
source: https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1
path: /data/user/0/<appp-identifier>/cache/pingr/images/3486045310072102e400cc40bcab227cd0a7811a.jpg

The image does exist btw. and loads on iOS.

I just found out that it was my fault.
For everyone having the same issue you need to remap localhost to <IP_ADDRESS> when running in android emulator.


Different fonts

How have you been able to display different fonts for keywords and what font is it?

Hi, the font I use is operator mono.

and for the script font?

ah some of the faces have that script font ok


Actually exits properly on deploy.

sweet. seems like we should clean up how we're going about finding these things a little bit to improve ux, not sure if you want to do here or later, but left some notes. otherwise, it LGTM


Force ahash to 0.7.8^

Rather than relying on an older 0.7.x from weak-table to fix nightly build error "unknown feature stdsimd"

Will redo on the parent repo


[Coverity CID :198007]Memory - corruptions in /subsys/bluetooth/host/hci_core.c

Static code scan issues seen in File: /subsys/bluetooth/host/hci_core.c
Category: Memory - corruptions
Function: id_create
Component: Bluetooth
CID: 198007
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Marked as false positive in Coverity


ReferenceError: SapBaseLog is not defined

OpenUI5 version:
1.102.1
JS error: "ReferenceError: SapBaseLog is not defined"
"sap/base/Log" is named "Log" in the js file.

@nlunets can you please take a look? I think this is a very special case where the transpilation from TypeScript back to JavaScript runs into trouble. The original TS import uses two names for the default export of sap/base/Log:
import { default as Log, default as SapBaseLog } from "sap/base/Log";

whereas the transpiled code only retains one name
sap.ui.define(["sap/base/Log", ...], function (Log,...) {
  "use strict";

The alternative name SapBaseLog is missing. I guess, sap.fe either must avoid duplicate imports in the TS sources or the tool chain has to introduce the necessary aliases.
@xpr0gamers please note that this repo here is for OpenUI5 sources only. sap.fe sources are not part of it. I mark the issue therefore as invalid, but keep it open until we get feedback from sap.fe colleagues that they take over (alternatively, you can open a ticket as SAP customer, for sure, as the affected code is part of the bigger SAPUI5 package).

Oh that's a cute one....
It was actually already fixed internally and should be fixed in 1.102.2, sorry the incovenience !


Define Processors

Workflow of this PR:

As a first commit, defined skeleton of classes along with certain obvious functions to be included for the respective classes.
Since we are heading towards a synchronous processing, removed multiple threads from main.py and set ReportConsumer as the only entry point.
Defining Report Consumer
Trying to test by uploading dummy data on qpc topic to see if the consumer can listen on the same topic.
Connect consumer with the ReportProcessor.
Test if Report processor is producing message on the validation topic.
Report processor should be connected to ReportSliceProcessor. This is all happening without DB intervention.
ReportSliceProcessor is publishing message on the inventory topic and adding hosts to the host inventory.

Yes, this can be closed.


Modernize S2A handshaker client tests.

This PR modernizes the S2A handshaker client tests to use the gtest framework.

Thanks for the quick review @cesarghali!
Squashing and merging now.


macOS - MobileScannerPlugin.swift:93: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value

What
Every so often I get a fatal crash and:
mobile_scanner/MobileScannerPlugin.swift:93: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Lost connection to device.

Same issue on iOS, current master branch:
Passing empty image buffer data.
[api] -[CIRenderDestination initWithBitmapData:width:height:bytesPerRow:format:] requires a valid data argument.
[api] -[CIContext(CIRenderDestination) _startTaskToRender:toDestination:forPrepareRender:forClear:error:] The destination is nil.
mobile_scanner/Util.swift:24: Fatal error: Unexpectedly found nil while unwrapping an Optional value
mobile_scanner/Util.swift:24: Fatal error: Unexpectedly found nil while unwrapping an Optional value

this happens all the time on macos if it doesn't detect a qr code

Please check the PR for this issue: #429

I have released version 3.0.0 which should fix this issue.


decorator autocompletion

Plugin does not suggest classes and interfaces while there is no dash.
decorator:
  - Works:
    setup:
      - bb(%option%)

decorator:
  DoesNotWork:
    setup:
      - bb(%option%)

fixed by 3e9b274c9b


major: remove deprecated function removeListener

Overview
See this issue: https://github.com/react-native-modal/react-native-modal/issues/588
Following the upgrade to react-native 0.65.0 and the deprecation of DeviceEventEmitter.removeListener in favor of .remove().
Test Plan
I have patched-package the same code on our project with success but if you can test on your side as well, that would be nice.

@mmazzarolo agreed, this patch is only needed for RN >= 0.65

Thank you.
I see you marked it as a fix, but I assume we should also restrict the peerDependency version of react-native (here) to >0.65 and ship it as a major change instead, right?

Thanks, I've updated the commit.

🤔 tests are failing and I can't check them now, mind taking a look at them? I guess a typeof is missing?

🤔 tests are failing and I can't check them now, mind taking a look at them? I guess a typeof is missing?

I fixed it. Indeed I wasn't using the correct type


update pwacompat to point to unpkg

Encourages users not to pin to one version. No tracking issue, sorry, but I did another release and I'd rather point to a CDN than tell everyone to update every time.
CC: @petele

Whoops!
There were 7 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/07/pwacompat.md#L66 - '

PTAL, I've pushed changes and tried to address issues raised by the bot.

Whoops!
There were 3 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/07/pwacompat.md#L66 - '

Whoops!
There were 4 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/07/pwacompat.md#L66 - '

@googlebot I fixed it.

Whoops!
There were 4 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/07/pwacompat.md#L66 - '

Whoops!
There were 4 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/07/pwacompat.md#L66 - '

@tomayac it's unhappy with the CLA for your commits.


Update form elements to use :invalid for HTML5 pattern and validation requirements

See https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid
Right now, there is aria-invalid="false" and aria-invalid="true" but those aren't automatically applied by the browser when a form element has invalid input. Ideally, if I don't have a valid email in an email input, it will gain the same look as the aria-invalid="true" styles.

Hello! I would like to revisit this issue. :user-valid and :user-invalid are both widely available in modern browsers and are only applied once the user has interacted with the element - that should eliminate the issue above and remove the requirement for JavaScript twiddling and noodling
See: https://developer.mozilla.org/en-US/docs/Web/CSS/:user-invalid#browser_compatibility

@abouthalf I've added a new issue #621 to add support for :user-valid and :user-invalid as you propose (and I heartily agree!).


PiSquare with Tasmota ?

Is it possible to flash Tasmota ?
i tried tasmotizer ... but not working

As far as I know Tasmota is for ESP8266 devices.
PiSquare is mainly for the RP2040. Sure, it also has an ESP8266 but so far, there's no documented way to actually flash the ESP8266 - that I know of, at least.
The ESP8266 on the is a simple WiFi connection device. Its more sophisticated parts aren't accessible.

In PiSquare you can not flash esp8266, you can access  esp8266 by AT Commands through RP2040

@Curtis777 Maybe you can try the method I wrote in #8, I was successfully flash the firmware which support mqtt, hope this can help :)


Update Helm release prometheus-blackbox-exporter to v7.1.3

This PR contains the following updates:

Package
Update
Change

prometheus-blackbox-exporter
minor
7.0.1 -> 7.1.3

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (7.1.3). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


PTK check deferred

Now that the PTK match check is deferred until the key is requested, this test that tests mismatched PTK values no longer errors out the team load. But does error out after getting the key.

@maxtaco this one can be an audit so the other PR can vendor in this repo's master