Targetting linux-arm - and Linux in general.

Hi,
I was reading the issue about System.Drawing for dotnet core, and someone suggested to use SkiaSharp for it.
So I have looked at SkiaSharp for a possible usage in my code, on a Raspberry Pi.
Does SkiaSharp run on linux-arm target ? I am writing apps on netstandard2.0 running on RaspberryPi.

It should, but you will need to compile the unmanaged library yourself

Hijacking this bug to discuss a possible approach for Linux.
It is unlikely that we will be able to get NuGet to properly support all the ways to distribute the native payloads.   I think that we should go ahead and create .deb and .rpm definition files and use something like https://build.opensuse.org/ to build those packages.
We would then require users of Skiasharp to install the separate payload on their systems.

@migueldeicaza I don't quite understand why it's not viable to statically link everything except glibc and libfontconfig. We had some success with this approach in our package with x64-bit binaries, it works quite well across the Linux distros. The only downside is that some distros like Alpine are using different C library, but there are compatibility layers available.
The same could be done for ARM, the only problem is the lack of prebuilt depot tools, so cross-compilation is needed.

As I mentioned on #18 before, I was able after lots of hackery (really A LOT) with @mattleibow to build it using a cross compiler and linking by hand lots of .a to finally get SkiaSharp native built.
I just tried now to build again (lost the "docs" we had) and doomed again. The bootstrapper.sh script is completely ignoring the cross compiler and all variables passed to it, even GYP_DEFINES.

@galvesribeiro The new version no longer uses gyp, but gn instead. You can check out what I am doing here: https://github.com/mono/SkiaSharp/blob/master/cake/BuildExternals.cake#L715

@mattleibow yeah, I noticed that... Still, it is ignoring the compiler and arch parameters we pass to it.  For example, the compiler params are not forwarded to the dependencies (including skia) and they try to compile for the host arch, not the target one.
After change a lot of files, the closest I got was:
========================================
externals-linux
========================================
Executing task: externals-linux
[0212/190217.034905:ERROR:process_posix.cc(192)] Not implemented reached in bool (anonymous namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *, base::TimeDelta)
[0212/190217.207897:ERROR:process_posix.cc(192)] Not implemented reached in bool (anonymous namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *, base::TimeDelta)
[0212/190217.501813:ERROR:process_posix.cc(192)] Not implemented reached in bool (anonymous namespace)::WaitForExitWithTimeoutImpl(base::ProcessHandle, int *, base::TimeDelta)
Done. Made 32 targets from 20 files in 713ms
ninja: Entering directory `out/linux/arm'
[35/684] compile ../../../src/effects/SkEmbossMask.cpp
FAILED: obj/src/effects/effects.SkEmbossMask.o
arm-arm1176jzs-linux-gnueabi-c++ -MMD -MF obj/src/effects/effects.SkEmbossMask.o.d -DNDEBUG -DSK_SAMPLES_FOR_X -DSK_SUPPORT_GPU=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0 -DSKIA_IMPLEMENTATION=1 -I../../../include/android -I../../../include/c -I../../../include/codec -I../../../include/config -I../../../include/core -I../../../include/effects -I../../../include/encode -I../../../include/gpu -I../../../include/gpu/gl -I../../../include/pathops -I../../../include/ports -I../../../include/svg -I../../../include/utils -I../../../include/utils/mac -I../../../third_party/vulkan -I../../../include/private -I../../../src/c -I../../../src/codec -I../../../src/core -I../../../src/effects -I../../../src/effects/gradients -I../../../src/fonts -I../../../src/image -I../../../src/images -I../../../src/lazy -I../../../src/opts -I../../../src/pathops -I../../../src/pdf -I../../../src/ports -I../../../src/sfnt -I../../../src/sksl -I../../../src/utils -I../../../src/utils/win -I../../../src/xml -I../../../third_party/gif -fstrict-aliasing -fPIC -fvisibility=hidden -Werror -march=armv6j -Wall -Wextra -Winit-self -Wpointer-arith -Wsign-compare -Wvla -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-unused-parameter -Os -fdata-sections -ffunction-sections -march=armv6j -msoft-float -mfpu=vfp -mfloat-abi=soft -DSKIA_C_DLL -funwind-tables -std=c++11 -fno-threadsafe-statics -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Wnon-virtual-dtor -c ../../../src/effects/SkEmbossMask.cpp -o obj/src/effects/effects.SkEmbossMask.o
In file included from ../../../src/effects/SkEmbossMask.cpp:10:0:
../../../include/private/SkFixed.h: In static member function 'static void SkEmbossMask::Emboss(SkMask*, const SkEmbossMaskFilter::Light&)':
../../../include/private/SkFixed.h:106:49: error: inconsistent operand constraints in an 'asm'
         asm("vcvt.s32.f32 %0, %0, #16": "+w"(x));
                                                 ^
../../../include/private/SkFixed.h:106:49: error: inconsistent operand constraints in an 'asm'
         asm("vcvt.s32.f32 %0, %0, #16": "+w"(x));
                                                 ^
../../../include/private/SkFixed.h:106:49: error: inconsistent operand constraints in an 'asm'
         asm("vcvt.s32.f32 %0, %0, #16": "+w"(x));
                                                 ^
[44/684] compile ../../../src/effects/SkLightingImageFilter.cpp
ninja: build stopped: subcommand failed.
An error occurred when executing task 'externals-linux'.
Error: One or more errors occurred.
        Process '/mnt/c/dev/repos/skiaprojects/SkiaSharp/externals/depot_tools/ninja' failed with error: 1

Hmm. I really need to get an arm linxu device.
But, while browsing for Tizen, I found this guy did something for Rasberry Pi:
https://github.com/terwoord/skiasharp-raspberry
Note the extra_asmflags... I see your error has something to do with assembly bits, maybe you need something like this? This is for an older version of Skia, but it may be something.
I will try and get an ARM Linux device for testing as soon as possible.

Actually, you don't need an ARM device. You can build on x86/x64 linux using a cross compiler toolchain and you will have that effect. My device can't build it (even if it could would take months!) so I have to crosscompile.
I can give you my toolchain if you want to. Ping me on Gitter and I can send the .tar.gz.

Just asking this question in multiple places:
Right now I have a x64 build for Linux that was compiled on Ubuntu 14.04. I am thinking of adding a few more to help the average dev use SkiaSharp without having to build their own. What other distros or CPUs would be helpful?

As long as you ar linking libfreetype and libstdc++ statically, that x64 library should work across all modern glibc-based distros.

@mattleibow if you get it to build with the dependencies embedded(static linked), you can build for armv6 (no FPU) and armv7+ (with FPU). That way you would attend a wide range of ARM devices without depend on the specific distro.

@galvesribeiro What should the host be for the arm builds? Can I use Ubuntu 14.04 or is there a better one?

Yeah, you can use Ubuntu 16.04 as a build host.
What matters is have a toolchain to crosscompile capable of generate 2 builds, one for armv6 (for legacy and very embedded devices) and other for armv7+ which cover the majority of Android devices nowadays and PI2+ and its variants.

To make life easier for everyone, I moved code around and added a new target to the GN files. Now, the native libSkiaSharp build is done with GN and ninja directly: https://github.com/mono/SkiaSharp/wiki/Building-on-Linux

Closing this issue as the Linux topic is getting a bit duplicated.

for building your own native file, see https://github.com/mono/SkiaSharp/wiki/Building-on-Linux
for the discussion on NuGet distribution, see https://github.com/mono/SkiaSharp/issues/312
for requesting pre-built Linux libraries, see https://github.com/mono/SkiaSharp/issues/453


Broken links in README.md

Under the section AutoML and Orchestration Pipelines in the README.md, all the links are broken.
3 of the references are nowhere to be found (looked their name up in the search box):

example/automl
Toy Keras training experiment
Random Search over the above Keras experiment-template

The last two are directed to wrong links, and I've created a PR to redirect them correctly

Thanks @eliorc , PR merged :)


Definition Based Extraction: Issue in extracting Observation value of type valueCoding

Describe the bug
Issue in extracting Observation.value for type valueCoding using Definition Based Extraction. Throws NullPointerException
Component
SDC library
To Reproduce
Steps to reproduce the behavior:

Use below json as questionnaire string.

{
              "resourceType": "Questionnaire",
              "item": [
                {
                  "linkId": "9",
                  "type": "group",
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext",
                      "valueExpression": {
                        "expression": "Observation"
                      }
                    }
                  ],
                  "item": [
                    {
                      "linkId": "9.1",
                      "type": "group",
                      "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.valueCodeableConcept",
                      "item" :[
                        {
                          "linkId": "9.1.1",
                          "type": "choice",
                          "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.valueCodeableConcept.coding"
                        }
                      ]
                    },
                    {
                      "linkId": "9.1.3",
                      "type": "string",
                      "definition": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.code",
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
                          "valueBoolean": true
                        }
                      ],
                      "initial": [
                        {
                          "valueCoding": {
                            "code": "8888",
                            "display": "dummy",
                            "system": "dummy"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            }

Use below json as questionnaire response string.

{
              "resourceType": "QuestionnaireResponse",
              "item": [
                {
                  "linkId": "9",
                  "item": [
                    {
                      "linkId": "9.1",
                      "item" : [
                        {
                          "linkId": "9.1.1",
                          "answer": [
                            {
                              "valueCoding": {
                                "system": "test-coding-system",
                                "code": "test-coding-code",
                                "display": "Test Coding Display"
                              }
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "linkId": "9.1.3",
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "dummy",
                            "code": "8888",
                            "display": "dummy"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            }

Perform extraction using  ResourceMapper.extract(questionnaire, questionnaireResponse)

Expected behavior
Extracted observation value should have valueCoding but it throws NullPointerException.
@jingtang10 @aditya-07

@vbothe23 told me that he would like to work on this, FYI @jingtang10

@vbothe23 please feel free to send a PR!
thansk @joiskash for the headsup

will assign once @vbothe23 accepts the invite to be a collaborator

Awesome! Thanks @jingtang10

Thanks for raising this Nitin and thanks @vbothe23 for fixing.
A small suggestion for the future - while raising bugs it's super useful to include the stack trace @nsabale7 :) not just the exception name itself. this could potentially speed up the fix.


Does this lib fix inherit issue?

If a property is redefined in the descendant class decorators will be applied on it both from that and the base class.

https://github.com/typestack/class-validator/issues/633

https://github.com/typestack/class-validator/pull/748

I'm afraid not. It only provides additional validators but doesn't change the way class-validator works internally.


Telegram Bot - Responsive & Other Improvements

It would be great to be able to message the bot to remotely control it and retrieve quick updates on demand when working remotely.
UPDATE = Latest line print
BALANCE - balance on account (portfolio specific for Coinbase)
RESTART = restart bot
STOP = stop bot
REPORT = latest P&L tracker
SELL = Quick sell positions (useful if you want to override bot config quickly)
BUY = Quick buy into a position (useful in rapidly changing bull conditions or if Elon Musk tweets!)

Other Improvements:

Bot notifies via Telegram when stopped.
Bot notifies via Telegram when restart is successful on autorestart for exception (currently the bot notifies when restart on exception is triggered but does not indicate that the restart was successful or that exception was resolved).
Bot notifies more detailed profit/loss breakdown on each sell via Telegram with price bought, fees and sell price.

The way you would do this is creating a secure REST API which controls the bot. I think you would also need to implement some sort of message queue. The REST would add to the queue what needs to be done and then the bot would action those requests. Just an idea.
I'll add it to the roadmap. Maybe one of the contributors will want to pick this up.

Thanks. Could we get just a simple Telegram notification in the meantime (or worked on first) when restart is successful or unsuccessful on autorestart for exceptions or API issues? Currently the bot notifies when restart on exception is triggered, however it does not indicate that the restart was successful or that exception was resolved.
Also, a simple notification when bot stops as well - which can link into this if autorestart does not work.


Ensure Addon Operator Makefile targets has no conflicts with the golang-osd-operator convention's Makefile targets

With the Addon Operator adopting Boilerplate and subscribing to the golang-osd-operator convention, Boilerplate already offers a few standard Make targets
We will have to go through ADO's existing Makefile targets and make sure they do not overlap with the targets present in the Boilerplate convention.
Closes: #MTSRE-1582

Codecov Report

Merging #504 (bf133b0) into main (e26430b) will not change coverage.
Report is 4 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #504   +/-   ##
=======================================
  Coverage   73.88%   73.88%
=======================================
  Files          50       50
  Lines        3224     3224
=======================================
  Hits         2382     2382
  Misses        706      706
  Partials      136      136

/test operator-e2e

/label tide/merge-method-squash


relies on archived project @trust/webcrypto

This project depends on https://github.com/anvilresearch/webcrypto which is marked as archived, with a note in README.md that the authors strongly recommend against using it directly, and instead encourages creating a fork.

@jonassmedegaard Yeah, there's currently discussion on where the best place to host a definitive fork should be. If the Solid project is interested, we can fork it here. Plus I know there's other communities that are interested in taking it up.

@jonassmedegaard I started up an issue to track the discussion of where webcrypto should be maintained here: https://github.com/solid/cryptography-and-security/issues/1

Fixed in PR #28, merging.


@Command annotation system (on top of existing, lower-level, command API)

I hope it's OK if I open this ENHANCEMENT ticket for a new discussion about a @Command annotation system in the Sponge API?
Apparently there were previous takes on this, I've found https://github.com/SpongePowered/SpongeAPI/issues/276 and https://github.com/SpongePowered/SpongeAPI/pull/561, both closed - yet still nada.
This does seem to be something people want - via a quick search I've found 4 (!) different separate outside implementations of this idea, see:

https://github.com/sk89q/Intake (@sk89q is that for Sponge? or do you have something else somewhere to use Intake with Sponge?)

https://github.com/minnymin3/Directive/ from https://forums.spongepowered.org/t/directive-a-light-weight-annotation-based-command-system/8325

https://github.com/WesJD/CommandManager from https://forums.spongepowered.org/t/commandmanager-an-annotation-based-command-system/11529

my very own https://github.com/vorburger/SwissKnightMinecraft/tree/ad5954212cc4f1bda3596d13db2e53a6d3ebb3f3/SpongePowered/MyFirstSpongePlugIn/src/main/java/ch/vorburger/minecraft/command (WIP, NOK)

At the very least, perhaps the Sponge documentation could... say something about this? As in "Planned, watch (this ticket?)" or "We'll never, but perhaps you would like to use (sk89q/Intake, with usage example?)"

Intake is quite good, I'd be :+1: for including it (or a modified version) in SpongeAPI.

I'd love to have a non-annotation based option, personally I think annotations are too much magic w/ commands and also can't be configured easily by a config file.

I'm implementing my own Command API https://github.com/JonathanxD/WCommands/, but i need to finish javadoc first.

I'd love to have a non-annotation based option

Isn't that what we already have?

I agree with the inclusion of Intake. The way it's written means that it'd be super easy to implement.

Currently we've pointed people towards Intake, and I think some people have done glue work for it, though it might make sense to support annotated commands in Sponge's commands API at some point as well. Directly including Intake into sponge is probably not a good idea though -- we have argument handling code for Sponge's commands API already and Intake has its own argument parsing system. It would probably be easiest to set up an annotation system that builds on top of the existing argument handlers in Sponge.

I might make a pr based on my work with https://github.com/jamierocks/Zinc

That's a good start and definitely going in the right direction, but I'd prefer that any command handling system would do more to apply argument parsers to specific method arguments (similar to what Intake and ToHPluginUtils do).

Closing this as its a part of @jamierocks 's PR:
https://github.com/SpongePowered/SpongeAPI/pull/1186


0.3 What other criteria are adopters reporting on? e.g. funding by country, 'Core area of funding' by country

Is your feature request related to a problem? Please describe.
We've made some big assumptions here that reporting (at first) is done on goals/areas of focus/mission of the funder org but what other report criteria do Adopters have?
Are there more pressing report criteria like: Funded amount by geolocation, Demographic info or other 'impact' metrics?
These need User research validation work done including:

[ ] Design assumptions/hypothesis statements
[ ] Design research script writing
[ ] Organising interviews with current Hypha Adopters + potential Hypha Adopters
[ ] Conducting interviews
[ ] Synthesising research findings
[ ] Prioritisation of future metrics/criteria for reporting

Is your feature request related to an existing functionality? Please describe.
Related to the 'Reporting feature' and how Adopters and/or funders generally report back to their own 'funders' or 'institutions' on what/why/how they are doing their funding.
Describe the solution you'd like
An openly accessible (and therefore as personal indentifying information anonymised as possible) open design research process.
Describe alternatives you've considered
MVP doing the reporting feature only using the 'core areas of funding' as a reporting criteria
Additional context
Funders most likely have diverse and varied needs for reporting in terms of how, what and who (reporting goes) to.
Priority

Low priority (annoying, would be nice to not see)

Affected roles

Staff
Applicants
Reviewers

Ideal deadline
May 2022

We currently understand:
Some of ARDC's reporting processes via a shared spreadsheet
Some of Reset's reporting processes via Reset's reporting microsite

-[ ] Ask Adopters to 'show us' in unstructured interview sessions how they currently do reporting for their funding.
@Erioldoesdesign will start this task.

Collecting some recommended public reporting resources here

OTF did this a few years ago: https://www.opentech.fund/results/visualizing-otf-application-data/
OTF's annual reports : https://www.opentech.fund/results/annual-reports/
https://ontrustandtransparency.report/
https://foundation.mozilla.org/en/what-we-fund/research/moss-program-impact-evaluation-2015-2020-summary/
Sloan’s EOY newsletter about one of their programs: https://mailchi.mp/98d57d244b0d/sloan-tech-2021-in-review?e=6817d7ef5e
Ford annual report: https://sloan.org/about/documents (but these are old now)


Implement baseline WCAG fixes that are suggested by Firefox's accessibility inspector

Just came across this today, though it's definitely been in for a while: Firefox's developer tools have an Accessibility inspector tab that shows Contrast, Keyboard, and Text Label issues on the current page, with violations having links to https://developer.mozilla.org/en-US/docs/Web/Accessibility/Understanding_WCAG. Screenshot of example issues on the Weaver attached.

Most of the Text Label and Keyboard issues will have to be fixed in docassemble core, but we could probably fix the contrast in here (or Mass Access?).

See https://github.com/jhpyle/docassemble/issues/113 for a request for an accessible bootstrap theme. I'm doing a little looking around for one.

Fixed upstream


Update TPU Accelerator docs

What does this PR do?

Follow up to #12795
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @borda @rohitgr7

why are so many removals, it is duplicated?

Some, yes. Moved a lot of stuff to FAQ page as well. TPU FAQ page was missing.


Apply provenance file ending to URL path

closes #10770
What this PR does / why we need it:
This fixes where the .prov ending is placed on URLs (the end of the path rather than the end of the URL).
However if the new implementation is not successful, it will attempt to download the provenance file using the old strategy. This allows for backwards compatibility.
The only issue is if the new method downloads the wrong thing (not the provenance file), but the server does not send back an error response. We will save the bad information as the provenance file, then fail at a later point instead of failing immediately and trying the old method. This is the only way backwards-compatibility would be broken.
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Can you please write a unit test for this?
https://github.com/helm/helm/blob/ee3f270e1eff0d462312635ad91cecd6f1fce620/pkg/downloader/chart_downloader_test.go#L172
Thanks.


Add missing callb parameter name to function calls

Resolves #63
Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Thanks.


$env{} not expanded in CMakePresets cacheVariables

Brief Issue Summary
I have a CMakePresets.json that defines a configure preset with cacheVariables that reference environment variables using $env{FOO} in the cache variable value. For example:
{
    "version": 7,
    "configurePresets": [
        {
            "name": "base",
            "hidden": true,
            "binaryDir": "${sourceDir}/build",
            "generator": "Ninja Multi-Config",
            "cacheVariables": {
                "ARM_TOOLCHAIN_DIR": "$env{ARM_10_TOOLCHAIN_DIR}",
                "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/arm-gcc-toolchain.cmake",
                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
            }
        }
    ]
    // ... more presets removed for brevity
}

With CMake Tools v1.16.32 this works fine:
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DBOARD_TYPE=pca-00619
-DSYSTEM_IP4_ADDR=<IP_ADDRESS>
-DARM_TOOLCHAIN_DIR=C:/Tools/gcc-arm-none-eabi-10.3-2021.10
-DCMAKE_TOOLCHAIN_FILE=C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/arm-gcc-toolchain.cmake
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-SC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects
-BC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build
-G "Ninja Multi-Config"

However, with the pre-release version of CMake Tools v1.17.8, this no longer works:
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DBOARD_TYPE=pca-00619
-DSYSTEM_IP4_ADDR=<IP_ADDRESS>
-DARM_TOOLCHAIN_DIR=$env{ARM_10_TOOLCHAIN_DIR}
-DCMAKE_TOOLCHAIN_FILE=C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/arm-gcc-toolchain.cmake
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-SC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects
-BC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build
-G "Ninja Multi-Config"

CMake Tools Diagnostics
{
  "os": "win32",
  "vscodeVersion": "1.85.2",
  "cmtVersion": "1.17.8",
  "configurations": [
    {
      "folder": "c:\\Users\\gordon.tyler\\dev\\Synaptive\\ModusV\\embeddedfirmware",
      "cmakeVersion": "3.27.2",
      "configured": true,
      "generator": "Ninja Multi-Config",
      "usesPresets": true,
      "compilers": {
        "C": "C:/Tools/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe",
        "CXX": "C:/Tools/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe"
      }
    },
    {
      "folder": "c:\\Users\\gordon.tyler\\dev\\Synaptive\\ModusV\\embeddedfirmware",
      "cmakeVersion": "3.27.2",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "C:/msys64/mingw32/bin/gcc.exe",
        "CXX": "C:/msys64/mingw32/bin/g++.exe"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": true,
    "activeBuildType": "Debug",
    "buildTypesSeen": [
      "Debug",
      "Release"
    ],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 7,
    "executablesCount": 3,
    "librariesCount": 1,
    "targets": [
      {
        "name": "msp432e4-sdk",
        "type": "STATIC_LIBRARY"
      },
      {
        "name": "flash-loader",
        "type": "UTILITY"
      },
      {
        "name": "loader",
        "type": "EXECUTABLE"
      },
      {
        "name": "flash-skeletoncpp",
        "type": "UTILITY"
      },
      {
        "name": "skeletoncpp",
        "type": "EXECUTABLE"
      },
      {
        "name": "flash-videoscope",
        "type": "UTILITY"
      },
      {
        "name": "videoscope",
        "type": "EXECUTABLE"
      }
    ]
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    },
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log
[main] Configuring project: projects
[main] Saving open files before configure/build
[driver] Removing C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build/CMakeCache.txt
[driver] Removing C:\Users\gordon.tyler\dev\Synaptive\ModusV\embeddedfirmware\projects\build\CMakeFiles
[driver] Start configure
[driver] Running pre-configure checks and steps
[cmakefileapi-driver] Configuring using preset
[cmakefileapi-driver] Invoking CMake C:\Program Files\CMake\bin\cmake.EXE with arguments ["-DBOARD_TYPE=pca-00619","-DSYSTEM_IP4_ADDR=<IP_ADDRESS>","-DARM_TOOLCHAIN_DIR=$env{ARM_10_TOOLCHAIN_DIR}","-DCMAKE_TOOLCHAIN_FILE=C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/arm-gcc-toolchain.cmake","-DCMAKE_EXPORT_COMPILE_COMMANDS=ON","-SC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects","-BC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build","-G","Ninja Multi-Config"]
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DBOARD_TYPE=pca-00619 -DSYSTEM_IP4_ADDR=<IP_ADDRESS> -DARM_TOOLCHAIN_DIR=$env{ARM_10_TOOLCHAIN_DIR} -DCMAKE_TOOLCHAIN_FILE=C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/arm-gcc-toolchain.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -SC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects -BC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build -G "Ninja Multi-Config"
[proc]   with environment: {"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\gordon.tyler\\AppData\\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"1","ARM_10_TOOLCHAIN_DIR":"C:/Tools/gcc-arm-none-eabi-10.3-2021.10","ARM_11_TOOLCHAIN_DIR":"C:/Tools/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi","ARM_TOOLCHAIN_DIR":"C:/Tools/gcc-arm-none-eabi-6-2017-q1-update","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_14996_TZPADLGKXYVKPTJL","COMPUTERNAME":"GTYLER-5560","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"133365205007206731","ComSpec":"C:\\Windows\\system32\\cmd.exe","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","DRIVE_SIMULATED_CAMERA":"1","DRIVE_SIMULATED_DAC":"1","DRIVE_SIMULATED_LED":"1","DRIVE_SIMULATED_POWERCONTROL":"1","DRIVE_SIMULATED_VIDEOSCOPE":"1","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","ELECTRON_RUN_AS_NODE":"1","FPS_BROWSER_APP_PROFILE_STRING":"Internet Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\gordon.tyler","IGCCSVC_DB":"AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAUtRFw24KhUK/MyU22YPpagQAAAACAAAAAAAQZgAAAAEAACAAAAAtj26z6XWtj8CZjqPoD8yY5DijLd+Q7iGka+fxApwGjgAAAAAOgAAAAAIAACAAAABWKIJkO5g/Q4gX7ZvXYmGqUfCSDgM+0W8yFg1F+eS9KGAAAACQGs2udEGfNaaldafn/Fv9YlMUQzSg4EzRkScPROJkS3NnIJGhxpbqAf9Uyrkvf5rENCJi20sQ0309McnkhKcq9RYjhdJVIFabWqZSs63ajmOt5FRBVW1CHVscjlOhgHdAAAAALTm36OwDOnjX1yBXe7UvsnzlQTxZiCl+xEDv6/FlJOFPblXbAwA6hvbp1DOn0Cm82Hv7lvJ0cPLuFTbmf516Xg==","LOCALAPPDATA":"C:\\Users\\gordon.tyler\\AppData\\Local","LOGONSERVER":"\\\\CI-DC02","NUMBER_OF_PROCESSORS":"16","NVM_HOME":"C:\\Users\\gordon.tyler\\AppData\\Roaming\\nvm","NVM_SYMLINK":"C:\\Program Files\\nodejs","OPENOCD":"C:\\Tools\\xpack-openocd-0.11.0-4","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","OneDrive":"C:\\Users\\gordon.tyler\\OneDrive - Synaptive Medical Inc","OneDriveCommercial":"C:\\Users\\gordon.tyler\\OneDrive - Synaptive Medical Inc","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Enterprise","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 141 Stepping 1, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"8d01","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","Path":"C:\\Program Files\\Python312\\Scripts\\;C:\\Program Files\\Python312\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin;C:\\Python310\\Scripts\\;C:\\Python310\\;C:\\Program Files\\CollabNet\\Subversion Client;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Synaptive Medical\\Package Manager\\Binaries\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C;C:\\Program Files\\CMake\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\gordon.tyler\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\gordon.tyler\\.cargo\\bin;C:\\Users\\gordon.tyler\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\gordon.tyler\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\gordon.tyler\\.dotnet\\tools;C:\\Users\\gordon.tyler\\Tools;C:\\Users\\gordon.tyler\\AppData\\Roaming\\Python\\Python312\\Scripts;C:\\msys64\\mingw64\\bin;C:\\msys64\\mingw32\\bin;C:\\Users\\gordon.tyler\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","SESSIONNAME":"Console","StCore32":"C:\\Program Files\\sView\\","StCore64":"C:\\Program Files\\sView\\amd64\\","StShare":"C:\\Program Files\\sView\\","SystemDrive":"C:","SystemRoot":"C:\\Windows","TEMP":"C:\\Users\\GORDON~1.TYL\\AppData\\Local\\Temp","TMP":"C:\\Users\\GORDON~1.TYL\\AppData\\Local\\Temp","USERDNSDOMAIN":"SYNAPTIVEMEDICAL.COM","USERDOMAIN":"SMI","USERDOMAIN_ROAMINGPROFILE":"SMI","USERNAME":"gordon.tyler","USERPROFILE":"C:\\Users\\gordon.tyler","VS140COMNTOOLS":"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"C:\\Users\\gordon.tyler\\AppData\\Roaming\\Code\\CachedData\\8b3775030ed1a69b13e4f4c628c612102e30a681","VSCODE_CRASH_REPORTER_PROCESS_TYPE":"extensionHost","VSCODE_CWD":"C:\\Windows\\system32","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\0fe245cbedde25e95e4aff89e23a86f6-1.85.2-main-sock","VSCODE_L10N_BUNDLE_LOCATION":"","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"osLocale\":\"en-ca\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"14996","ZES_ENABLE_SYSMAN":"1","asl.log":"Destination=file","windir":"C:\\Windows"}
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake]   The CMAKE_C_COMPILER:
[cmake]
[cmake]     arm-none-eabi-gcc.exe
[cmake]
[cmake]   is not a full path and was not found in the PATH.
[cmake]
[cmake]   Tell CMake where to find the compiler by setting either the environment
[cmake]   variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
[cmake]   the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake]   The CMAKE_CXX_COMPILER:
[cmake]
[cmake]     arm-none-eabi-g++.exe
[cmake]
[cmake]   is not a full path and was not found in the PATH.
[cmake]
[cmake]   Tell CMake where to find the compiler by setting either the environment
[cmake]   variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
[cmake]   to the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DBOARD_TYPE=pca-00619 -DSYSTEM_IP4_ADDR=<IP_ADDRESS> -DARM_TOOLCHAIN_DIR=$env{ARM_10_TOOLCHAIN_DIR} -DCMAKE_TOOLCHAIN_FILE=C:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/arm-gcc-toolchain.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -SC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects -BC:/Users/gordon.tyler/dev/Synaptive/ModusV/embeddedfirmware/projects/build -G "Ninja Multi-Config" exited with code: 1
[extension] [2013] cmake.cleanConfigure finished (returned {"result":1,"resultType":0})

Additional Information
Something that is confusing me is that CMake Tools appears to be replicating the functionality of CMakePresets by constructing the CMake command-line, instead of simply executing cmake --preset xyz. Why is this?

I think this is a consequence of the recent change #3488, but I may be wrong.

CMake Tools appears to be replicating the functionality of CMakePresets by constructing the CMake command-line, instead of simply executing cmake --preset xyz. Why is this?

I would like to know too. It may be an implementation shortcut: tunnel the new into the old. It does seem counterproductive though, trying to replicate the inner workings of CMake in an external workflow. (Much CTest parallel execution and locks/fixtures.) The way CMake works, there's not many correct/functioning options for IDE extension authors beside invoking the utility on the CLI and parsing the output. I don't think the proactive augmenting of the environment (based on CL_<LANG>_COMPILER) warrants doing anything else than cmake --preset xyz.

@doxxx Thank you for posting the issue, we will investigate what is going on and hopefully get a fix out before we release 1.17!
As for your question regarding --preset, the simplest answer is because Kitware recommends against this: https://cmake.org/cmake/help/latest/guide/ide-integration/index.html#id4

The IDE should then construct the list of appropriate cmake(1) command line arguments based on these settings, rather than using the --preset= option directly. The --preset= option is intended only as a convenient frontend for command line users, and should not be used by the IDE.

There are some additional reasons that are more complex, but in short, that's one of the main reasons.

I can't say I understand their reasoning -- it seems like unnecessary duplication of effort. Anyway, thanks for the answer!

@doxxx thank you for the heads up! I cannot repro the problem with vscode-cmake-tools at f0dca853154429ef5753f809f17be8a8f16cb28e (so not related to #3535), but I can repro the problem with the today's tip of the main branch at aa46849ef6a36a51590c6c4128020cf705c97d09
The problem was introduced in this PR #3548 where the newly added function stringNeedsExpansion  does match ${name}, but will not match $env{name} nor $penv{name} (e.g. $env{ARM_10_TOOLCHAIN_DIR} won't be "expanded").
export function stringNeedsExpansion(str: string): boolean {
    const regexp: RegExp = /\$\{.+?\}/; // the ${var} format
    return (str.match(regexp) !== null);
}

@gcampbell-msft @andreeis
The regexp should likely augmented with (env|penv)?, and something more also since regular expressions are twice as hard.

The issue is resolved in pre-release v1.17.11.

I take that back. The problem is still present in v1.17.12. Not sure what's going on...

It's working again in 1.17.13.


Offer location selection for users for the GPS tracks

Christian Derungs suggestion, he is a user from Switzerland.
What we definitely cannot do is to let the user freely pick any GPS location. However we can provide a fixed list developed by us.
Christian advised one location for each time zone. That would mean 24 * 3 track (1 running, 1 cycling, 1 open water) for each time zone, where the cycling track doesn't have any cycling segments (so it cannot be a velodrome), the running track cannot have a running segment, and the open water.
The interference avoidance is to prevent any clash with the non virtual athletes: devices can be grossly miscalibrated (for example IC4 connected to Zwift cannot participate in leaderboards because of that, and the calibration is especially true now that I offer calibration override) and that would result in unfair KOM and CR take downs.
A better solution would be to have one pick for each major European countries, each US Sates and each Canadian provinces. That would be way more work!

Note for Fresno: the Fresno Fairground has a huge NS directed loop, looks like it might be 2 miles+ long: 36.732526,-119.7494397 (https://www.google.com/maps/place/36°43'57.1"N+119°44'50.1"W/@36.732526,-119.7494397,899m/data=!3m2!1e3!4b1!4m23!1m16!4m15!1m6!1m2!1s0x8094682625d0b359:0x66c4f1eb5d6d15!2s8680+N+Glenn+Ave,+Fresno,+CA+93711,+USA!2m2!1d-119.7929048!2d36.8626074!1m6!1m2!1s0x80945e50cdebdd6d:0x18a150462a12c72b!2sThe+Big+Fresno+Fair,+1121+S+Chance+Ave,+Fresno,+CA+93702!2m2!1d-119.7510773!2d36.7304347!3e0!3m5!1s0x0:0x67dffedba9b3fca5!7e2!8m2!3d36.732526!4d-119.7472508). Better suitable for a bike track than a 400m running track at Hoover High.

This track at the Fresno Fairground is the Brian I Tatarian Grandstand, normally a horse race track: https://www.fresnofair.com/p/other/venue-spaces/brian-i-tatarian-grandstand
Sounds like it's a mile long track: https://www.race-track.info/big-fresno-fair-horseracing.html

Firdhaus Nawawi requests as well

I have a per time zone list now (still need to measure GPS distances though):
locations.txt
However the current https://pub.dev/packages/flutter_timezone package is only good for obtaining a the current time zone's name. We need to step up our game and manipulate time zones with https://pub.dev/packages/timezone or https://pub.dev/packages/flutter_native_timezone_updated_gradle (sign of abandonment and resurrection already). These  https://pub.dev/packages/worldtime requires network connection because it uses a free and public API, so not good for off-line use (which some of my users have for sure).
The rest is working from an off-line database which is embedded, or exposed. Like https://pub.dev/packages/timezone contains instructions how to update the DB, and even has a 10y option for a more compact DB.


Creditcard components: Missing support for multilanguage shop

Environment
OS: Ubuntu 18.04
Apache: 2.4.29
PHP: 7.3.17
MySQL: 5.7.30
Shopware: 6.1.5 (fresh installation from production repository)
Mollie: 1.0.10
Other Plugins: Shopware 6 Demo data (1.0.5)
Problem
In a multilanguage shop the creditcard components are only displayed in the main language shop.
Image: Working components in English shop

Image: Broken components in German shop

Detected causes

The twig template gets the customFields directly and not from the translated object.

custom/plugins/MolliePayments/src/Resources/views/storefront/component/payment/payment-fields.html.twig, lines 15-19
15    {# load mollie creditcard components #}
16    {%
17        if payment.customFields.mollie_payment_method_name == 'creditcard'
18        and page.enable_credit_card_components == true
19    %}

In a shop that is not using the main language, the payment.customFields array is empty. It should get the payment.translated.customFields array instead.

Translating a payment method leaves the customFields empty.
If we get the translated object in the twig as described above it works only as long as we don't translate the payment method. But obviously we want to use a german description text in the german language shop.
The problem is that the new translation row in the database has no data in custom_fields.

Image: Empty custom_fields field in database

Another problem is that the custom fields are not displayed by default in the payment method editor.
Image: No custom fields in payment method editor

So the only way right now to fix this is filling in the field in the database manually.
Solution suggestion
a) Change the twig and somehow automatically add the custom_fields data to new payment method translations (not recommended)
b) Use a non-translatable field for payment method check.

You could add a new field to the payment entity (more control, more work)
Use the handler_identifier field for the check (quick, less beautiful)
change line 17 to:
if payment.handlerIdentifier == 'Kiener\\MolliePayments\\Handler\\Method\\CreditCardPayment'

Current workaround

In our custom plugin we extend the twig template the following way:

{% sw_extends<EMAIL_ADDRESS>%}

{% block component_payment_method_description %}
    {% do payment.setCustomFields(payment.translated.customFields) %}

    {{ parent() }}
{% endblock %}

And we manually add '{"mollie_payment_method_name": "creditcard"}' to the custom_fields field of each creditcard method translation.

PS
Here is a json with a german version of your snippets. Feel free to add it to your repository.
{
    "molliePayments": {
        "components": {
            "creditCard": {
                "headLine": "Bitte die Kreditkarteninformationen eingeben",
                "cardHolderLabel": "Karteninhaber/in",
                "cardNumberLabel": "Kreditkartennummer",
                "cardExpiryDateLabel": "Ablaufdatum",
                "cardVerificationCodeLabel": "CVC",
                "creditCardTagLine": "Abgesichert durch and angebot von"
            }
        }
    }
}

Hello, thanks for putting in the effort of providing such a full display of the issue you're experiencing. And what possible solution you see. I wasn't aware that the translation record in the database doesn't take over the custom fields. This to me feels a bit like an issue that Shopware might need to address.
I will take a moment to think about the suggestions you have given and I might have a talk with some of the developers of Shopware about this. I'll get back to you if I have more information.

Hello,
I now check for the translated field, look here:
https://github.com/mollie/Shopware6/blob/master/src/Resources/views/storefront/component/payment/payment-fields.html.twig#L17
Hopefully this works out for you.
My kind regards,
Reinder van Bochove.


Variant calling part takes very long

the variant calling chapter takes long. It's probably best to break it up, or move parts to other chapters. For example BQSR to the alignment chapter?

fixed in #9


Missing Gemfile and JB/setup

When I follow the instructions, at the point where I run bundle install, I get the message
Could not locate Gemfile

Adding a Gemfile with:
source 'https://rubygems.org'

gem 'github-pages', group: :jekyll_plugins

Seems to allow bundle install to complete.
However, then when running bundle exec jekyll serve, it fails to find JB/setup which seems to be included from all over the place.

Seems like JB/setup is something that belongs to a "Jekyll Bootstrap" thingy - but there are various of these. Maybe it's something that should be in the Gemfile...

We don't use Jekyll or Gemfiles or bundle, our site is all static CSS/HTML.
The README you're following is at least 3 years old, probably much older, and was simply copied from the template we followed at the time. You shouldn't consider this repository a canonical example on how to do anything.

What is the purpose of the repo?

I have no idea. I've never seen it before, and certainly never contributed, so I'm not sure why I'm getting notifications or have the ability to close other people's issues.


[Autocomplete] Fix GitHub's demo behavior

[x] I have followed (at least) the PR section of the contributing guide.

Closes #19836

Hii @oliviertassinari,
Can you explain below about test regressions?

Visual regression test
$ argos upload test/regressions/screenshots/chrome --token $ARGOS_TOKEN
error: option '-T, --token ' argument missing
error Command failed with exit code 1.

@hasanozacar I think that the priority should be to update the pull request to match the proposed direction in #19836. As far as I know, fixing this bug shouldn't request to change any existing test. I believe in its current form, the logic would introduce a regression, inputValue is never supposed to be undefined.

You can blame the line and the corresponding tests to gain more insight into the why. It should lead you to the underlying GitHub issues (that are now closed).

@hasanozacar Do you plan to follow up on the proposed changes?

@oliviertassinari  sorry , I didn't have enough time to implement.I don't understand the "yarn proptypes"

@hasanozacar Thanks!


Unable to build rosidl_generarator_py package.

Hi,
I am using a Jetson Xavier NX board. Here's the relevant info:

NVIDIA Jetson Xavier NX (Developer Kit Version)
L4T 32.6.1 [ JetPack 4.6 ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.253-tegra
CUDA NOT_INSTALLED
CUDA Architecture: 7.2
OpenCV version: 4.1.1
OpenCV Cuda: NO
CUDNN: NOT_INSTALLED
TensorRT: NOT_INSTALLED
Vision Works: NOT_INSTALLED
VPI: NOT_INSTALLED
Vulcan: 1.2.70

When I run the script, I get the following error:

--- stderr: rosidl_generator_py
Illegal instruction (core dumped)
make[2]: *** [rosidl_generator_py/rosidl_generator_py/_rosidl_generator_py_s.ep.rosidl_typesupport_fastrtps_c.c] Error 132
make[1]: *** [rosidl_generator_py_custom__py/CMakeFiles/rosidl_generator_py_custom__py.dir/all] Error 2
make: *** [all] Error 2

Failed   <<< rosidl_generator_py [3.82s, exited with code 2]

Summary: 111 packages finished [1min 8s]
1 package failed: rosidl_generator_py
1 package had stderr output: rosidl_generator_py
88 packages not processed

I've gotten this error when I am building from source as well. Any idea how to fix it?

加这一句
export OPENBLAS_CORETYPE=ARMV8
https://forums.developer.nvidia.com/t/illegal-instruction-core-dumped-xavier/166278/6


[DEBUG] Harshan/issue/16780

#16780

/azp run js - app-configuration - tests-weekly

/azp run js - app-configuration - tests-weekly

/azp run js - app-configuration - tests-weekly

/azp run js - app-configuration - tests-weekly

@chradek good point, haven't checked, will see and log an issue if needed.

@chradek two results
Communication

Batch - looks like it's using jssha


Call forceselfclosingtags before netconf message framing

fixes https://github.com/scrapli/scrapligo/issues/121

just replying here for both issues and prs: awesome work! thanks a ton and I will set aside some time this weekend to make sure I dig into them and come back with any updates/questions so we can get this sorted as soon as possible!
thanks again!
carl

LGTM! I also pushed an update to fix some bad naming I had in the serialize func (shadowing the message object name).


[Question] Windows/arm and arm64 for buildmode=c-shared

What version of Go are you using (go version)?

$ go version 1.15.6

What did you do?
I need to compilet a go library via C to a DLL that can be used through PInvoke on ARM/ARM64 Windows. I find many open issues, topics and discussions about this and it sounds like it might partially work. But if I try it like this:
    export CC="arm-none-eabi-gcc"
    export CXX="arm-none-eabi-g++"
    export GOOS="windows"
    export GOARCH="arm"
    export GOARM=7
    export CGO_ENABLED="1"
    go build -ldflags="-s -w" -o my_library.dll -buildmode c-shared

I get the result buildmode c-shares is not supported on windows/arm. So it seems to still be not supported.
Another problem is that I need to set CGO_ENABLED and route the compiling through a C/C++-Toolchain as I have to add a C-file generated by SWIG. I tried the above on Ubunu 20.04 with the toolchain of the package gcc-arm-none-eabi.
I'm no C/C++/Go-pro - but the same works for nearly all other platforms like Windows, Linux, Android, Mac and iOS. The latter also is based on ARM64, so I do not really understand why this is not possible - though I value the difficulties with all this.
So, if someone with more in-depth-knowledge can help me here that would be great.
Just to clarifiy: I do not want/need to compile Go itself for ARM/ARM64. I need to compile a Go-program for that platform (to use my library from .Net on e.g. the Surface or a Hololens).
What did you expect to see?
A dll I can use on Windows ARM/ARM64.
What did you see instead?
buildmode c-shares is not supported on windows/arm

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode


An Explorer of Diem should be able to view Account Page

Business/User Value: As a casual developer building on the blockchain I want to view info for addresses so that I can troubleshoot my code
Acceptance Criteria
GIVEN I type an address in the search box
WHEN I hit enter
THEN I am taken to a page which displays the resources and smart contracts from the REST API about the address in a structured raw-data format
AND the balance info is broken out into a table
DEV NOTES
The Auth Key, Sequence Number, and Balances are "top-level" resources, the rest is metadata
Addresses have resources and modules
modules = smart contracts
Blockchain is implementing a new REST API which has more data than the old JSONRPC API.
URL for address resources: https://fn0api.premainnet.aosdev.diem.com/accounts/0xbd3c1801820aa917993888b2fa8d8c0e/resources
URL for address modules: https://fn0api.premainnet.aosdev.diem.com/accounts/0xbd3c1801820aa917993888b2fa8d8c0e/modules

Design Question: What should we do if we don't find any balances?

hide the section of the page
have an empty table with a helpful message 'table is empty'
display a helpful message 'no balances found'


Add the PresentIf validation rule

Like the required_if  and prohibited_if validation rules I would like to add the present_if validation rule.
This rule allows you to conditionally constrain an attribute to be present.
I also added the PresentIf rule class.
This PR only adds features so it is backwards compatible.
PR for documentation: https://github.com/laravel/docs/pull/8342
PR for translation: https://github.com/laravel/laravel/pull/6033

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Please provide a complete running code of blockchain oracle repo because I have spent 3 days on this code  but not able to run it properly.

Please provide a .zip file with complete packages installed. I have spent 3 days on this code and still 70% of time code is working fine. and 30% of times I receive errors. like unhandles promises reject. tx fee overpassed limit etc.
Also tell the version of node on which it was made.
I will be very thankful to you for this favor.
my email is<EMAIL_ADDRESS>my whatsapp +923014440289

Please also provide the version of node, version of solc compiler, truffle.


feature/fao-deforestation

Overview
FAO deforestation widget
Demo

As far as I can see this widget still has a bug and is missing a key thing:

Needs a settings menu, to enable users to select a year range (as described in the notebook)
Year range should be described as a 5 year block, e.g. the label in the database will be 1990, which means 1990-1995.
Values should be shown for one (five year) block at a time, based on user selection.
Some years may be returned with with Null data, we should hide those from the menu

sorry @benlaken I forgot to push my changes 🤦♂


carto believes files with no extension 'could not be downloaded'

From mapbox/carto#61
when trying to run 'tilebatch' to render an mml file that references a remote geojson file with no extension, carto will download the file, but then render nothing.
if you set a breakpoint in lib/carto/renderer.js:95, you discover that it throws the 'could not be downloaded' error. Also, err is set to the local filename that it was downloaded to.
r elatedly, it would be nice if this error was somehow displayed to the user, instead of silently producing an empty mbtiles file.

closing - this was fixed by #19 at least for cases where content-disposition can be detected.


Adding err to getThreadPictures callback

By documentation, there need to be err property

Great catch @GAMELASTER! ☺

Thaaanks


WIP: Mitigate regression errors when linking older apps with libssl 1.1.1

Applications that were built for libssl 1.1.0 will most probably get
into trouble when re-linked against libssl 1.1.1.  This is especially
serious when re-linking happens due to a shared library upgrade.
We try to mitigate against this with a sneaky trick, where re-linked
application will simply not have access to TLSv1.3, while programs
that are re-compiled will, through a macro that redirects a call to
SSL_CTX_new() to SSL_CTX_new_111().  For applications where access to
TLSv1.3 is undesirable (because it requires some source code changes),
it can still be disabled by defining the macro OPENSSL_DISABLE_TLSv13
when building it.
Fixes #5944, #5661

Note that it doesn't entirely fix the regressions observed in #5661.  It will remain in WIP until #5661 isn't an issue any more.

SSL_CTX_new() to SSL_CTX_new_111()

I'm wondering whether we could use symbol versioning to do this same thing? It wouldn't work on platforms without symbol versioning though.

This requires a special-built 1.1.1 library which seems to defeat the purpose. Can this library be used for both 1.3 and earlier protocol versions?
I think that simply not enabling 1.3 by default is much easier to understand.

This requires a special-built 1.1.1 library which seems to defeat the purpose.

Uhmmm, no, no special building should be required.  If you're thinking about OPENSSL_DISABLE_TLSv13, all it does is decide if SSL_CTX_new() gets redirected to SSL_CTX_new_111() or not.

I'm wondering whether we could use symbol versioning to do this same thing? It wouldn't work on platforms without symbol versioning though.

We could, but as you said, this isn't universally available, so we'll get the pleasure of maintaining two ways of doing this instead of just one.  I'm not at all keen to do this.

This requires a special-built 1.1.1 library which seems to defeat the purpose.

No. The same library would be able to support pre-1.1.1 apps and 1.1.1 apps. If an app was compiled against 1.1.0 headers but run against the 1.1.1 library then it will get a maximum of TLSv1.2. Apps compiled against the 1.1.1 headers would get TLSv1.3 by default unless you build the app with OPENSSL_DISABLE_TLSv13 defined, e.g. gcc -DOPENSSL_DISABLE_TLSv13 myapp.c ...

I like this idea because it removes a significant barrier to upgrading without removing TLSv1.3 being on-by-default.

So how about the internal API being called like this:
SSL_CTX_new_ex(..., int flags)
// or
SSL_CTX_new_ex(..., int minproto, int maxproto, int flags);

That seems more general purpose and future-proof.  min or max can be "0" to mean lowest or highest supported by the library.  And for 1.1.1 the highest should be explicitly set to 1.3
And, of course, that function needs to be documented.

So how about the internal API being called like this:

I was thinking about that myself, but actually I think it would be wrong to encourage people to hard code a maximum protocol version into their apps.

I was thinking about that myself, but actually I think it would be wrong to encourage people to hard code a maximum protocol version into their apps.

But maybe some of the other params you suggest would be ok.

It would not be wrong.  There are special-cases where someone wants fine-grain control over which protocol version.  The implementation is trivial
if (minproto!=0) SSL_CTX_set_min_protocol(...

In other words, we provide functions to allow is.  This just makes it more convenient.

+1 to Rich's proposal.

With OpenSSL 1.2.0, SSL_CTX_new_111() and the hackery to redirect SSL_CTX_new to it would simply be removed and SSL_CTX_new() would go back to normal.

Agreed. I still think we should avoid version specific names These things have a tendency to stick around even when we don't plan them to. We should probably have a comment in the header saying something like "don't use this directly - always call SSL_CTX". Unless that is we go with Rich's proposal.

I think the new _ex routine will become more common.  I do not know how often folks will want to clamp to specific versions.  I think, for example, that this library should clamp to 1.3 so that 1.4 requires a recompile.
I also know that in my $DAYJOB we have many customers who want us to limit what versions we support.

I would like that this not get approved until we have more discussion.  For example, I feel strongly that the full "ex" API is the way to go.

SSL_CTX_new_ex()

Note that we had previous related discussions in #2397 and #4848

I would like that this not get approved until we have more discussion. For example, I feel strongly that the full "ex" API is the way to go.

Sure.  Either way, I would say that the regression situation is a release show stopper.
(I'll note, btw, that this simple move greatly improves the tests that failed in #5661.  Not entirely, but quite a lot)

Too late for now, but knowing in a library initialization function, what version the application was compiled with, might be useful.

That would require cooperation from the application, or exactly the kind of hackery this PR does...

Ah, you meant like that...  That could be made part of this PR.  I assume, btw, that the version passed to SSL_CTX_new_ver can be expressed as "the version we're building for", so it makes some kind of sense to have something like this:
/* Users should never call this function directly */
__owur SSL_CTX *SSL_CTX_new_ver(const SSL_METHOD *meth, int ver);
/* OPENSSL_DISABLE_TLSV1_3 is optional, defined by the user when building their programs */
#ifdef OPENSSL_DISABLE_TLS1_3
/*
 * TLSv1.3 is new in version 1.1.1, and behaves differently than earlier TLS versions.
 * When the user disables it to be able to compile older programs without having to
 * change them, we simply pretend that they build for a pre-1.1.1 version, i.e. 1.1.0
 */
# define SSL_CTX_new(meth) SSL_CTX_new_ver((meth), 0x10100000UL)
#else
# define SSL_CTX_new(meth) SSL_CTX_new_ver((meth), OPENSSL_VERSION_NUMBER)
#endif

Why do you keep using _ver ending when everything else has used _ex? :)

Why do you keep using _ver ending when everything else has used _ex? :)

I haven't yet (see the diff)
I followed the example.
Considering the purpose is small and well defined (_ex is more general purpose), it makes sense.

I'd like to suggest that we put this PR on hold until we determine whether any of this is necessary.

The discussion on openssl-project concluded that the solution in this PR isn't the right move, so I'm closing this.  Further technical discussions should happen in #5944.


⚠ Samsung has degraded performance

In 1e7fafa, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2605 ms

Resolved: Samsung performance has improved in d948e58.


New v8 engine (ignition+turbofan)

Is this expected to work with the newly released v8 engine? If not, are there any alternative.

Depends on which IRHydra features you need.
You can load scheduled TurboFan CFG into IRHydra (replace --trace-hydrogen with --trace-turbo and load turbo.cfg instead hydrogen.cfg). However features like deopt mapping work only partially (e.g. you need a built of V8 with disassembler).

That's a bummer. I used to use it all the time with chrome. Now I am sad :(.
Thanks for the quick response.


add new tutorial: Assembly metagenomics

This tutorial is a part of GTN microbiome tutorial series.

Thanks a lot @PlushZ for this tutorial 😄


Packet optimisations and improvements

There are several performance and security issues with CC's current packet system. All these options should be behind a series of config options as they may break other mods.

[x] You can send events, shutdown and reboot to any computer on the server. This should be changed to include the container id so only people interacting with the computer can use it.
[ ] Terminal updates are sent to every player. Could we optimise this so it is only sent to players interacting with it?
[ ] Terminal updates send the whole terminal each time. Ideally we would send the whole terminal the first interaction and then just partial changes after this. Similarly for monitors.

Sadly, when broadcasting terminal state, you have to at least send most of the terminal object (otherwise it deletes it for whatever reason).
Thankfully you don't have to send the actual terminal contents. It should be possible to only send terminal lines to those listening. Possibly only the lines which have changed.

Sadly you either have to send the whole terminal or nothing at all. I don't really want to hack the vanilla protocol too much, so this'll have to do.


Remove wrtc dependency

Currently, bittorrent-tracker, and thus WebTorrent, depend on the wrtc npm module.
wrtc doesn't build on some linux and windows systems. There are only prebuilt binaries for some platforms. On the other platforms, wrtc tries to build the module from source. This can take a long time and will always fail on systems that aren't set up with a compiler. It doesn't work at all on Windows. And, even though it's an optionalDependency it often breaks the whole install.
The truth is that wrtc is not a hard dependency for WebTorrent - only if you want WebRTC support to talk to web peers from node. Without wrtc, WebTorrent would just be a normal torrent client in node. If there aren't prebuilt wrtc binaries for a user's platform, I'd rather have it fail immediately (as an optionalDependency) without attempting a build from source. This would keep the install fast, and WebTorrent would continue to work just fine for end users (even though they wouldn't be able to talk to web peers).
I'm still experimenting with the best way to get WebRTC support in node. Too many people are having problems with wrtc, so I think I'm going to remove that dependency soon.
The good news is that Electron (atom-shell) has built-in support for WebRTC, since it's just Chromium. So it's not that important that every user of the webtorrent node program has WebRTC support via wrtc. It's more important that install is fast and works for everyone.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12444294-remove-wrtc-dependency?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github).

I've opened an issue on wrtc requesting a wrtc-prebuilt module with the behavior I described above: https://github.com/js-platform/node-webrtc/issues/200
Hoping that they agree that this is worthwhile. cc @maxogden and @mafintosh

Good news! As of v0.35.0, webtorrent no longer depends on wrtc, so installing should be easy and error-free again!
In node.js, webtorrent will no longer connect to WebRTC peers, just normal TCP/UDP peers. If you want to connect to all types of peers, including WebRTC peers, from node.js, you need to use the webtorrent-hybrid package.
npm install webtorrent-hybrid

webtorrent-hybrid has the same command line interface (CLI) and module API as webtorrent. Just require('webtorrent-hybrid') if you need support for WebRTC peers.


doesn't clean up tmp files

8cc doesn't clean up temporary files in /tmp

What system are you on?
Did you crash 8cc?
How can I recreate what you have done?
8cc does cleanup all temporary files on my system. If 8cc crashes, it won't be able to do this though.


#17061 Allow hiding columns whose values within loaded rows are NULL

Column is hide even if there is data in a row that is not fetched for now

verified

Its amazing thank you so much. Great job


Pygmentation/Liquidification of hard coded parts

Issue Fixed #138
Note: I used two lines in the terminal, which may be useful for you:
grep -rl '
' . | xargs sed -ir 's/
/\{% highlight\ \1\ %\}/g'
grep -rl '' . | xargs sed -ir 's/<\/code><\/pre>/\{% endhighlight %\}/g'

Proposed Changes

changed every "
<code..." into {% highlight...

I know I shouldn't have made the branch begin on my last master, because it includes changes submitted in another pull request.
But I think you can choose which changes to merge, if I read your previous comments correctly.
I hope it helps!

I cleaned my repo to exclude previous commits.


What is the difference between running in a terminal and running in an IDE?  in IDE，there is an error

thanks for your great repo. I have a question:
when I run

python ./tools/train.py configs/pascal_voc/ssd300_voc.py

it work.
but when I directly run train.py in IDE,there is an error:
File "/home/yanlongbin/code/mmdetection/mmdet/ops/dcn/functions/deform_conv.py", line 5, in
from .. import deform_conv_cuda
libcudart.so.10.0: cannot open shared object file: No such file or directory.
I want to know what difference of these two way of operation？
thanks.

You terminal and IDE have different environments.

You terminal and IDE have different environments.
But with other repo, my IDE and terminal have same results.
I only have one CUDA, one python, and IDE uses same python interpreter. what means of "different"?
thanks your reply

@hellock
But with other repo, my IDE and terminal have same results.
I only have one CUDA, one python, and IDE uses same python interpreter. what means of "different"?
thanks for your reply

I have solved it, thanks

I have solved it, thanks

how do you solve it? can you share with me?

@Kerrwy
sudo ldconfig /usr/local/cuda-10.0/lib64

Is it your environment is cuda10? but my environmrnt is cuda9.0.

yes，Change it to your own environment


First stage scripts

Hi, does it include the first stage training script?

or you're pretrained in the framework of llava code？

@wzc9401
Hi, this code do not contain the first training script. I follow the framework of llava to finish the first stage training with some small modifications:

change ViT to swin-Transformer
change mm_projector from nn.Linear to conv + linear


CORS issue on chrome

When using fetch with credentials to make a request to a separated backend (other url/port), everything works perfectly with Firefox with default configuration (use(cors()))
On Chrome, it seems we need to specify all the default options for it to works:
use(cors({
        credentials: true,
        origin: /localhost.*/,
        allowedHeaders: ['Content-Type', 'Authorization'],
 }))

Any ideas what is causing this?

Hi👋, I could not reproduce it on my end.
The following config is required for both latest Chrome 117.0.5938.63 and Firefox 117.0.1:
cors({
    credentials: true,
    origin: /localhost.*/
})

Here is described why:

Access-Control-Allow-Origin
Access-Control-Allow-Credentials

Maybe a server was not restarted during your development or a browser cached something.
If you keep having problems with this please send a code snipped to reproduce it.

Bumping this issue as I'm getting the same issues as OP.
My experience:

Encountered type errors on v0.8.0 (solution: downgrade to v0.7.2)
Encountered CORS issues on Chromium browser; specifically Bravew w/ brave shields off, storage cleared & cache cleared (solution: firefox)

Bumping this issue as I'm also getting the same issues.
My experience:
When I have to customize the headers on client e.g. I need to add an authorization header, I get a CORS error.
Tested on both Chrome and Brave with cache disabled.


Questions about v1.3 changes

Hi romain, I did not understand this new function. Also how it works " crop feature"?

Wait, crop it's for augmented reality?

Or have a double screen?

Wait, crop it's for augmented reality?

No, crop is for cropping (to mirror only part of the device screen).
OculusGo runs Android. Its screen displays the content for both eyes side-by-side. It may be useful to mirror only the content for one eye (and possibly removing the borders).

Ok thanks


Add help text to the phase transition time metrics

What this PR does / why we need it:
It adds a help text to the VMI phase transition time metrics.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2196257
Special notes for your reviewer:
The metrics are histograms.
Release note:

NONE

/retest-required

@machadovilaca  Please review as well

@alicefr @maiqueb Please review

/retest-required


ipsec: Refactor IPSecDir

See commits. No functional changes.

/test

Waiting for @ldelossa to merge his PR first as it conflicts with this one and is more painful to rebase.

/test

/test


[Doc] Fix some incorrect uses of "children"

The plural form is not normally used when used attributively, as in "dog catchers", not "dogs catchers"
I didn't search for any other words in the docs but I suspect this mainly happens with "children"

There's at least 4 ways we can use these related words:

Parent and Ancestors
Children, and Descendants. Each node may have immediate children or a list of childs

Thanks!

Thank you!

Cherry-picked for 4.2.2.
Cherry-picked for 4.1.4.


PAI service deployed on existing k8s deployment

e.g., AKS. currently there exists some configuration issues that need manually resolvement.

请问：咱们这个PAI可以部署在没有GPU的环境上吗？

Sure, Because hadoop-ai is our patched version, and it is based the official hadoop. so in theory, there won't be any problem to run app or job without GPU. But when deploying pai, it is still recommended to build hadoop-ai.

@ydye Thank you for your answer

i have another question,how to plan hadoop cluster and k8s cluster ? this pai，does it have cluster environment planning example for readme.md?

@jingruhou , we are working on it. will release a new deployment version, including more detailed document.

thank you for your answer ，I will consider using the pai in the near future and follow up @fanyangCS

related to https://github.com/Microsoft/pai/issues/1324


[GH-487] Moving init script to start-stop-daemon

This is a shortest and final version of https://github.com/boot2docker/boot2docker/pull/489 to not add 18 commits for one file :)

Just to let you know i'v rebased the PR, i need to test again if it's always needed today

This PR - https://github.com/boot2docker/boot2docker/pull/831- have corrected my problem in a simpler way :)


Test against latest Ruby 2.3 release

it's 2.3.1, already available on travis

Thanks, but Travis didn't like it:
4.83s$ rvm use 2.3 --install --binary --fuzzy
ruby-2.3 is not installed - installing.
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.3 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.3 --install --binary --fuzzy" failed and exited with 2 during .

I guess you'd have to bump it to 2.3.1 explicitly here

Thanks!


Feature/storybook

#67 - Added react-native-storybook....

This looks very interesting! Checking out the branch!

For sure. Yeah I was going to do the esdocs but saw that you just wired all that up

@nicholas-b-carter How do you like using storybook? You think it would become part of the normal dev workflow?

@bbohen it might be useful... probably alot more helpful for ui development than anything else where you might have a larger team and we're trying to push code reuse... Well see

@bbohen I think https://github.com/SpencerCDixon/redux-cli would be really helpful on the flip side of just ui development. Can template out patterns, etc... pretty cool.

I'd be interested in getting this in should UI dev pick up and move to something a bit more complicated...would definitely like to use in a project but not in this one at this time.


Make Docker Swarm optional

Hey Mark, any update/ideas on that? Is it even possible to handle the secrets different with less effort? I would like to run the container on my Synology itself where the standard package is not in swarm mode as far as I know. Cheers

Hi @WhileDekker, thanks for your interest. This issue is still on my list of to-dos. I have shifted my attention to other repos at the moment, but I plan to refresh this repository before the holidays.

Hi @markdumay. I am interested in setting this up for my Synology NAS. I would rather hold off for a little while, though, if you're preparing to revamp it. Based on the time that's passed since your last comment, I assume you have stayed busy with other projects. Do you expect it to be a while before you get back around to this one? Thanks!


v2 preview checklist

[x] Merge the Proxy reference PR
[x] Pull the latest v2 changes on Components registry PR
[x] Resolve anticipated merge conflicts:

[x] OpenApiReferenceResolver deletion in favor of HostDocumentResolver
[x] Moving Json schema reference resolution logic to HostDocumentResolver class
[x] Update workspace test that calls doc.ResolveReferences()
[x] Resolve conflicts and failing tests - update verify output files for resolved Json schema $refs

[x] Merge components registry PR
[x] Sync vnext changes with v2 branch
[x] Merge v2 with vnext
[ ] Bump up versions to preview and release

What exactly are we waiting for here? The checklist seems complete other than the actual release


Concrete interval type tests only indirectly rely on same TypeOperations than tested types

To remove redundancy in setting up unit tests for each concrete Interval type (e.g. IntInterval implementing Interval<Int, UInt>), BasicTypeIntervalsTest.kt uses an inline function to retrieve the type operations for the type parameters (using getBasicTypeOperationsFor()).
This manually needs to be kept in sync if the operations ever change.
Is there a way to directly retrieve the matching TypeOperations from the concrete types? Maybe through a common factory interface on the companion objects?

TypeOperations are now statically linked to concrete interval types as an Operations property of the newly introduced IntervalTypeOperations in their companion objects.
This allows reusing these in unit tests to instantiate Interval through it's base class which takes the IntervalTypeOperations parameter.
By doing so, this doesn't test the concrete type interval constructors, but given that these simply forwards the same parameters to the base Interval class there is little risk of mistakes here. Furthermore, these will likely be covered by unit tests once we add API convenience functions such as Byte.intervalTo.


Fix unit tests post PR #19656

PR #19656 changed familiar name to no longer strip
defaultDomain (i.e., "docker.io") and "library" from image references.
This PR fixes the unit tests for that change.

/cc @sjenning


CARDANO_DB_SYNC_VERSION:-5.0.2

Context
CARDANO_DB_SYNC_VERSION update
Reason for the change? If an issue exists, reference it here using a keyword
Proposed Solution
Important Changes Introduced

Thanks. There's another patch due out though, which will be applied here when it's released


Missing includes

I can't seem to find any of the includes for Others
ex. #include "../Others/Console.h"

console is a log library.  you can remove or replace it

I removed console but the StringUtils was hard to find. I found a library but reading anything past the parent node came in blank. If you look at the children in one of the parent nodes all the names are a mess of characters.

In fact, StringUtils is used to convert string from utf8 to utf16 in my project.  I try to use codecvt, but there are some bugs in this library. So I write a library for coverting.  I will update this project after serveal days.

Besides, if you want to use this library to read GMS or KMS client you should deduce these client AES key, the current key only used in CMS client. To read the more details about AES key, you can see NoLifeStory. (I'm lazy......)

No that helps a lot thank you. I think I know how to adjust from here. 謝謝

@ryantpayton  I have update this project and it can be single compiled.

Thank you very much!


add docs for new predicates dsl

documentation for brooklyn server PR (reference to follow)

thanks for fixing!


Move solution, osrmhelper and searchhelper into oasis/internal

Description:
These package is not expect to be called by external users, move them into internal and hide for external calls other than oasis package.

Remove package of haversine, use bleve/geo instead.


refactoring: SemiSupervisedVariationalInference -> classifier_inference.py

It might be nice to move SemiSupervisedVariationalInference and all it's subclasses to classifier_inference.py, so that the annotation inference code is all together. Then we could also put the code from metrics/classification.py into inference/classifier_inference.py too, above and outside of all the classes in that file for all to use.

I did the branch delete_metrics for that - https://github.com/YosefLab/scVI/tree/delete_metrics


ISO 8601 Time precision

https://en.wikipedia.org/wiki/ISO_8601#Times says that the precision cannot be more than milliseconds, and we got nano instead: https://carc.in/#/r/68k2
"2019-02-13T12:39:21.984607000Z" # Should be 2019-02-13T12:39:21.984Z

Also https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
Edit:

There is no limit on the number of decimal places for the decimal fraction. However, the number of decimal places needs to be agreed to by the communicating parties

However, I'm having troubles with https://realworld.io specs, they require milliseconds precision. Maybe make it possible to specify the precision as an argument?

The ISO specification states The number of digits in the decimal fraction shall be determined by the interchange parties, dependent upon the application. And even the Wikipedia article doesn't mention any limit to milliseconds. On the contrary, it states there is no limit.
If you need a string representation with less precision, you can simply adjust the time value prior to formatting. I don't think there is a need to make this configurable in the formatter.

I would instead open an issue in https://realworld.io and ask them to support any number of digits in the decimal fraction.

Indeed, but different third parties may have different number of decimals. Shouldn't it be better to allow to specify this number upon formatting?

@vladfaust You can use %3N, %6N, etc. You can build the format yourself.

Absolutely. I use "%FT%T.%LZ" in the application. But I'm speaking of possible enhancements of Time::Format::ISO_8601_DATE_TIME.format and Time::Format::ISO_8601_TIME.format methods.

Sorry, but we can't keep doing small changes to accomodate every use case on earth, specially if there's already a way to do what you want.


Update README.md: docker info

This PR updates the README.md as follows:

Adding a missing dependency
Information about a docker imagem available on docker hub

The dockerfile used to generate the image on docker hub is also added to the repo.

Nice, thanks ;)


how to define custom types with array of structs?

After moving my structs inside the pub mod xyz {...}, My Rust code:
    #[state]
    #[derive(Default)]
    #[derive(Copy)]//index as pid
    pub struct Ppool {
      pub alloc_point: u64,
    }
    #[state]
    pub struct Counter {
        pub authority: Pubkey,
        pub count: u64,
        pub pool_array: [Ppool; 20],
    }

    impl Counter {
        pub fn new(ctx: Context<Auth>) -> Result<Self> {
            Ok(Self {
                authority: *ctx.accounts.authority.key,
                count: 0,
                pool_array: [
                  Ppool {
                  alloc_point: 0,
                }; 20],
            })
        }

My Rust program can compile, but Anchor does not run with error:
    await program.state.rpc.new({
      accounts: {
        authority: provider.wallet.publicKey,
      },
    });

TypeError: Cannot read property 'rpc' of undefined
I know from this tutorial Basic1: https://project-serum.github.io/anchor/tutorials/tutorial-1.html#defining-a-program, it says "If you'd like to pass in your own type as an input to an instruction handler, then it must be defined in the same src/lib.rs file as the #[program] module, so that the IDL parser can pick it up.", and tutorial Basic4 about state structs...
Furthermore, if I move the Ppool struct outside of the mod, the Rust will compile, but Anchor will say "Error: User defined types not provided"... So I think the Ppool struct should stay inside the mod
How to call this new struct method in Anchor?

Right now types moved to IDL definition only if they defined in the root module of src/lib.rs, you need move struct Pool outside of mod xyz :(

Hi I have tried it ... but it seems I have to put the Ppool struct inside the mod, but How to call this new struct method in Anchor?

Solved by putting arrays into an array of structs... please see this repo > tests > zero-copy


Count unused columns before a softline in badness metric

Currently, the badness metric does not factor in unused columns preceeding a softline or softbreak.  Doing so would improve text formatting.

Closing as a won't-fix.  This would adversely affect performance.


Polygons in focal points file

Ticks sgVerify3, fixes #24

Codecov Report

Merging #36 into master will decrease coverage by 1.68%.
The diff coverage is 89.85%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   96.55%   94.86%   -1.69%
==========================================
  Files           5        5
  Lines         290      331      +41
==========================================
+ Hits          280      314      +34
- Misses         10       17       +7

Impacted Files
Coverage Δ

src/raster.jl
93.27% <89.85%> (-5.45%)
:arrow_down:

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 acdb90d...5dd104f. Read the comment docs.


Update README.md dockerhub example to match recommendation

Have dockerhub example use the "stable" version as suggested
Summary

Description for the changelog

Other info

Thanks for raising the issue and opening the PR! Feel free to merge!

I can't merge, as I don't have (or need) write permissions in the repo! 😀 This was just a drive-by doc update (though I will be watching the project).


verify_build --template option has no effect

I'm playing around with verify_build, and I noticed that passing --template=ci has no effect and I suspect it's because the code is trying to access the value of the template option before the flags are parsed (I think they they are parsed in cobra.Command.Execute).
I think it might be easy to fix using cobra hooks, I can try to make a PR if you want.

Hi @gregoire-mullvad - nice catch, a PR would be very welcome - thank you!


Training gives nan after the first iteration

Hello, when I try to run training with the command
python scripts/train.py --config configs/base.py:base

It seems like the train loss becomes nan immediately after the first iteration. Is this something that you have encountered before?

It seems like I was able to fix the error by uncommenting this line in train. Maybe this is something that you may want to consider updating in your repo?
# seems like remat is actually enabled by default -- this disables it
    # @partial(jax.checkpoint, policy=jax.checkpoint_policies.everything_saveable)

I still don't know why it gave an error though. It seems like this is something encountered before. Would you mind sharing with me what this fix meant?

I ran into this issue before with Jax 0.4.13 and fixed it by downgrading to 0.4.11. Very interesting that disabling remat fixes it --- I never figured that out. The commented-out line is just a remnant from when I was experimenting with memory usage. You might want to try different Jax versions instead of disabling remat, since (at least in theory) remat can give significant speed and memory savings.

I see. Thanks for getting back to me! Will update that :) Very cool paper by the way
!


Introducing Petshop modernization demo

In this demo we show how you can modernize .NET application by breaking monolith into
microservices, containerizing them, and then leveraging all the superpowers of running
containers using Kubernetes in Google Kubernetes Engine. We show how easy is it to
scale the app, handle resiliency and do production debugging.

Please add a README.md.


ImageRegistrationMethod.MetricEvaluate - Spacing error

I am borrowing the simple ITK implementation of the Mutual information Metric to compare performance of an external registration software compared to ANTS. It works if I initialize my images from nifti, but not if I bring in an arbitrary numpy array.
Here is the Gist of how I am using it

import SimpleITK as sitk
import numpy as np
import nibabel as nib
I = nib.load(image1).get_data()
J =nib.load(image2).get_data()
I = sitk.Cast(sitk.GetImageFromArray(I), sitk.sitkFloat32)
J = sitk.Cast(sitk.GetImageFromArray(J), sitk.sitkFloat32)
R = sitk.ImageRegistrationMethod()
R.SetMetricAsMattesMutualInformation()
MMI = R.MetricEvaluate(I, J)

and it works great
However, If I bring in a numpy array, I get a spacing error (even if I explicitly define spacing):

ERROR: Image(0x32256f0): A spacing of 0 is not allowed: Spacing is [0, 0]

Also, I wonder why it is throwing a 2d spacing error when my input is 3d?
This is the Gist of a numpy array that would feed into the MetricEvaluate

I = np.zeros((100,100,100))
I = sitk.GetImageFromArray(I)
I.SetSpacing((1.0,1.0,1.0))
I = sitk.Cast(I, sitk.sitkFloat32)
J = np.zeros((100,100,100))
J = sitk.GetImageFromArray(J)
J.SetSpacing((1.0,1.0,1.0))
J = sitk.Cast(I, sitk.sitkFloat32)
R = sitk.ImageRegistrationMethod()
R.SetMetricAsMattesMutualInformation()
MMI = R.MetricEvaluate(I, J)

ERROR: Image(0x32256f0): A spacing of 0 is not allowed: Spacing is [0, 0]

Hello,
Thank you for providing a minimal example. I was able to reproduce your error.
This line has the wrong variable as a function argument:
J = sitk.Cast(I, sitk.sitkFloat32)
If I set the metric with "SetMetricAsCorrelation()", then the error goes away.
If I initialized the images with np.random.rand(100,100,100) then the error does not occur.
I am concluding that this is a corner case error in ITK's MattesMutualInformation metric when both images are all zeros, then the internal data structure ( an Image) has the reported invalid size.
Please report this bug to: InsightSoftwareConsortium/ITK


Move resolver code around a little

This is preparation for moving resolvers into the config system, and is just moving code around the tree and getting BUILD rules in place such that the actual functionality change is easy.
The details:

move src/core/ext/service_config --> src/core/lib/service_config
move src/core/ext/client_channel/most_of_the_resolver_files --> src/core/lib/resolver
split the resolver interfaces into their own build target
for things relied upon by the resolver interfaces, split them into their own build targets

@yashykt

Going to leave this sitting here until #27643 lands since both need fairly substantial cherry picks.


Logstash syslog output plugin not setting facility correctly

Using this plugin to send some logs to a remote host.
Configuration in logstash related with this plugin is as follows:
output {
syslog {
host => "<IP_ADDRESS>"
port => "514"
protocol => "udp"
facility => "local5"
severity => "debug"
}
}
Then on the remote rsyslog server I've noticed that the logs are send with severity 3.
If I want them to be send to remote server as local5 then I need to configure logstash with facility == "local7". This is not scalable since if we want to send to the remote host as facility 'local7', then it's not clear which value to use in the config.
This behavior is seen in logstash 5.2. This was not happening in logstash 1.5.6.

There are 2 facilities missing in FACILITY_LABELS array you are using as index.
You can take the full list here: https://tools.ietf.org/html/rfc3164#section-4.1.1
Basically 10 and 15, even if contains note, without these you are badly shifting the others.

As @rxp1997 and @MrWolf1978 already stated, there are two entries missing in the array FACILITY_LABELS. The problem was introduced by this commit, supposedly to remove duplicate values. The point is, those values are not duplicates. See:

https://tools.ietf.org/html/rfc3164#section-4.1.1
https://tools.ietf.org/html/rfc5424#section-6.2.1

Reverting above mentioned commit would fix the problem for non-duplicate
facilities (ex. 'local0', etc.), but, due to the nature of the implementation,
erroneous priority values would be reported for the two duplicate facilities ('clock' and 'security/authorization').
The only option I see to remedy the situation would be to use integer values for the 'facility' config setting, but that's currently not supported.
@suyograo, what's your take on this?

@Shaoranlaos, yes i can confirm.
Basically i modified syslog.rb, adding two records in FACILITY_LABELS
"secauth2" between "clock" and "ftp",
"clock2" between "log alert" and "local0".
I'm using this workaround since Oct 2017, and it's working fine.
The only downside is remember to patch the file every update.

This issue is still present in syslog output plugin. For example, if "local0" facility (code 16) is specified in the configuration, the plugin mistakenly uses facility of "console" (code 14), "local1" (code 17) gets mistakenly replaced with "solaris-cron" (code 15), "local2" (code 18) is replaced with "local0" (code 16), etc.


101 chapter 15: content incorrect

The info in chapter 15 about where metadata is stored seems to be incorrect:
"The metadata is stored in a store called Aquarius."
-> that's partly true. Aquarius is a metadata cache, that fetches metadata from chain, caches it and serves it to the market. Metadata is stored on-chain.
"As we said earlier the metadata itself is never stored on-chain. Aquarius, the metadata store handles the actual documents while only DIDs are stored on-chain."
-> same here. DID, DDO and the data assets URL (encrypted) are stored on-chain. This is done by issuing a transaction to the metadata smart contract that contains the following fields: create{DID,{dataTokenAddress, encrypted[URL], DDO}, optional}.

This was fixed with the Sea Fire release in Feb 2022


Also display swapped objkts in collection

Maybe fix for https://github.com/teia-community/teia-ui/issues/387 ?

Probably already fixed in develop? https://github.com/teia-community/teia-ui/pull/270/commits/11ffbbce389abb5f0e8b7ab146c1af4b7f0ff4d4

I'm not sure there is any reason to be filtering on if an item is for sale or not on that page.  We only want to filter on items that the user owns that they have not created.  Whether it's for sale or not doesn't matter, I've proposed to remove those unneeded filters in: #389


NPE on start of the app (getTransactionDate() or getTransactionDate().toDate() is null)

Issue details, reproduction steps/code
App crashes due to the uncaught NullPointerException at the start, probably only if user has made a purchase before
Version of gdx-pay and/or relevant dependencies
gdx-pay 1.3.2
Stacktrace
java.lang.NullPointerException
	at com.badlogic.gdx.pay.ios.apple.PurchaseManageriOSApple.transaction(PurchaseManageriOSApple.java:211)
	at com.badlogic.gdx.pay.ios.apple.PurchaseManageriOSApple$AppleTransactionObserver.updatedTransactions(PurchaseManageriOSApple.java:368)
	at com.badlogic.gdx.pay.ios.apple.PurchaseManageriOSApple$AppleTransactionObserver.$cb$paymentQueue$updatedTransactions$(PurchaseManageriOSApple.java)
	at org.robovm.apple.uikit.UIApplication.main(Native Method)
	at org.robovm.apple.uikit.UIApplication.main(UIApplication.java:446)

Please select the affected platforms and payment service implementation

[ ] Amazon
[ ] googlebilling
[ ] googlepay
[x] apple robovm
[ ] Huawei

https://github.com/libgdx/gdx-pay/blob/374be35fd8df357f145ab7d283a35897abd2424f/gdx-pay-iosrobovm-apple/src/main/java/com/badlogic/gdx/pay/ios/apple/PurchaseManageriOSApple.java#L211
Must be getTransactionDate() that returns null. But the line is seven years old, I wonder why we didn't encounter problems before.

Maybe one of the iOS updates has changed something. I've received more than a dozen of reports from different users referring to this exception
If transaction date is not critical for the library, checking for null and using current time as a fallback should be sufficient


Undefined error is displayed near EOS token balance and stalked balance

version: fairy-wallet_0.9.6_amd64
ledger live version: 1.1.11_amd64
operating system: Ubuntu 16.04 LTS

'Undefined' error is displayed near EOS token balance and stalked balance as seen in screenshot above, however I know this is incorrect because using bloks.io confirms EOS token and stalked balance  are valid for my EOS account.

Can you go to settings tab, and choose switch currency. That should be as an workaround for now.

Fixed https://github.com/tarassh/fairy-wallet/releases/tag/v0.10.0