text:
Does arcface support train on gpu?

EPOCH = 5
device = "cuda"
model = model.to(device)
optimizer = Adam(model.parameters(), lr=1e-4)
criterion = ArcFaceLoss(in_features=emb_size, num_classes=labels_amount)
sampler = BalanceSampler(train_dataset.get_labels(), n_labels=3, n_instances=5)

def training():
    model.train()
    for _ in range(EPOCH):
        for batch in tqdm(DataLoader(train_dataset, batch_sampler=sampler)):
            embeddings = model(batch["input_tensors"].to(device))
            loss = criterion(embeddings, batch["labels"].to(device))
            loss.backward()
            optimizer.step()
            optimizer.zero_grad()
        print(criterion.last_logs)

error log
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[13], [line 1](vscode-notebook-cell:?execution_count=13&line=1)
----> [1](vscode-notebook-cell:?execution_count=13&line=1) training()

Cell In[12], [line 14](vscode-notebook-cell:?execution_count=12&line=14)
     [12](vscode-notebook-cell:?execution_count=12&line=12) for batch in tqdm(DataLoader(train_dataset, batch_sampler=sampler)):
     [13](vscode-notebook-cell:?execution_count=12&line=13)     embeddings = model(batch["input_tensors"].to(device))
---> [14](vscode-notebook-cell:?execution_count=12&line=14)     loss = criterion(embeddings, batch["labels"].to(device))
     [15](vscode-notebook-cell:?execution_count=12&line=15)     loss.backward()
     [16](vscode-notebook-cell:?execution_count=12&line=16)     optimizer.step()

File ~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1518, in Module._wrapped_call_impl(self, *args, **kwargs)
   [1516](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1516)     return self._compiled_call_impl(*args, **kwargs)  # type: ignore[misc]
   [1517](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1517) else:
-> [1518](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1518)     return self._call_impl(*args, **kwargs)

File ~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1527, in Module._call_impl(self, *args, **kwargs)
   [1522](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1522) # If we don't have any hooks, we want to skip the rest of the logic in
   [1523](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1523) # this function, and just call forward.
   [1524](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1524) if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks
   [1525](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1525)         or _global_backward_pre_hooks or _global_backward_hooks
   [1526](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1526)         or _global_forward_hooks or _global_forward_pre_hooks):
-> [1527](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1527)     return forward_call(*args, **kwargs)
   [1529](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1529) try:
   [1530](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/torch/nn/modules/module.py:1530)     result = None

File ~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:78, in ArcFaceLoss.forward(self, x, y)
     [75](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:75) def forward(self, x: torch.Tensor, y: torch.Tensor) -> torch.Tensor:
     [76](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:76)     assert torch.all(y < self.num_classes), "You should provide labels between 0 and num_classes - 1."
---> [78](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:78)     cos = self.fc(x)
     [80](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:80)     self._log_accuracy_on_batch(cos, y)
     [82](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:82)     sin = torch.sqrt(1.0 - torch.pow(cos, 2))

File ~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:68, in ArcFaceLoss.fc(self, x)
     [67](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:67) def fc(self, x: torch.Tensor) -> torch.Tensor:
---> [68](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/e/projects/face_recognition/jupyter/~/miniconda3/envs/main/lib/python3.10/site-packages/oml/losses/arcface.py:68)     return F.linear(F.normalize(x, p=2), F.normalize(self.weight, p=2))

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat2 in method wrapper_CUDA_mm)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat2 in method wrapper_CUDA_mm)

hey, @olegkorshunov and thank you for using OML!
Yes, it does work with ArcFace on GPU. You simply forgot to move your criterion to the cuda:0, which is needed because ArcFace has its classification head.
Here is a fully working example (the one from Readme, but with ArcFace):
from torch.optim import Adam
from torch.utils.data import DataLoader

from oml import datasets as d
from oml.inference import inference
from oml.losses import ArcFaceLoss
from oml.metrics import calc_retrieval_metrics_rr
from oml.models import ViTExtractor
from oml.registry import get_transforms_for_pretrained
from oml.retrieval import RetrievalResults, AdaptiveThresholding
from oml.samplers import BalanceSampler
from oml.utils import get_mock_images_dataset

device = "cuda:0"
model = ViTExtractor.from_pretrained("vits16_dino").to(device).train()
transform, _ = get_transforms_for_pretrained("vits16_dino")

df_train, df_val = get_mock_images_dataset(global_paths=True)
train = d.ImageLabeledDataset(df_train, transform=transform)
val = d.ImageQueryGalleryLabeledDataset(df_val, transform=transform)

optimizer = Adam(model.parameters(), lr=1e-4)
criterion = ArcFaceLoss(in_features=384, num_classes=4).to(device)  # <<<<<<<<<<<<<<<<<< HERE
sampler = BalanceSampler(train.get_labels(), n_labels=2, n_instances=2)

def training():
    for batch in DataLoader(train, batch_sampler=sampler):
        embeddings = model(batch["input_tensors"].to(device))
        loss = criterion(embeddings, batch["labels"].to(device))
        loss.backward()
        optimizer.step()
        optimizer.zero_grad()
        print(criterion.last_logs)

def validation():
    embeddings = inference(model, val, batch_size=4, num_workers=0)
    rr = RetrievalResults.from_embeddings(embeddings, val, n_items=3)
    rr = AdaptiveThresholding(n_std=2).process(rr)
    rr.visualize(query_ids=[2, 1], dataset=val, show=True)
    print(calc_retrieval_metrics_rr(rr, map_top_k=(3,), cmc_top_k=(1,)))

training()
validation()

Thx!

hey, @olegkorshunov and thank you for using OML!
Yes, it does work with ArcFace on GPU. You simply forgot to move your criterion to the cuda:0, which is needed because ArcFace has its classification head.
Here is a fully working example (the one from Readme, but with ArcFace):
from torch.optim import Adam
from torch.utils.data import DataLoader

from oml import datasets as d
from oml.inference import inference
from oml.losses import ArcFaceLoss
from oml.metrics import calc_retrieval_metrics_rr
from oml.models import ViTExtractor
from oml.registry import get_transforms_for_pretrained
from oml.retrieval import RetrievalResults, AdaptiveThresholding
from oml.samplers import BalanceSampler
from oml.utils import get_mock_images_dataset

device = "cuda:0"
model = ViTExtractor.from_pretrained("vits16_dino").to(device).train()
transform, _ = get_transforms_for_pretrained("vits16_dino")

df_train, df_val = get_mock_images_dataset(global_paths=True)
train = d.ImageLabeledDataset(df_train, transform=transform)
val = d.ImageQueryGalleryLabeledDataset(df_val, transform=transform)

optimizer = Adam(model.parameters(), lr=1e-4)
criterion = ArcFaceLoss(in_features=384, num_classes=4).to(device)  # <<<<<<<<<<<<<<<<<< HERE
sampler = BalanceSampler(train.get_labels(), n_labels=2, n_instances=2)

def training():
    for batch in DataLoader(train, batch_sampler=sampler):
        embeddings = model(batch["input_tensors"].to(device))
        loss = criterion(embeddings, batch["labels"].to(device))
        loss.backward()
        optimizer.step()
        optimizer.zero_grad()
        print(criterion.last_logs)

def validation():
    embeddings = inference(model, val, batch_size=4, num_workers=0)
    rr = RetrievalResults.from_embeddings(embeddings, val, n_items=3)
    rr = AdaptiveThresholding(n_std=2).process(rr)
    rr.visualize(query_ids=[2, 1], dataset=val, show=True)
    print(calc_retrieval_metrics_rr(rr, map_top_k=(3,), cmc_top_k=(1,)))

training()
validation()

I try to use your code example and is it correct that criterion.last_logs become zero?

@olegkorshunov yep, it's fine, it's all about hyperparameters and training time. I set lr=1e-5 and 5 epochs and got accuracy==1:
...
optimizer = Adam(model.parameters(), lr=1e-5)
...

for _ in range(5):
    training()

validation()

authors: AlekseySh olegkorshunov

repo: OML-Team/open-metric-learning


text:
Added new variable name mapping for v2

Pre-review checklist
I have ensured that:

[ ] Code runs successfully in the development environment.
[ ] New code is tested to prove that it works. If not, justify reasoning.
[ ] New code is documented using type hinting and following the numpydoc docstring format.
[x] New code follows the project naming standards.

Overview of changes

Post-review checklist
As I merge these changes, I have:

[ ] Updated the related Jira ticket, including approximate time spent (including review).
[ ] Moved the related Jira ticket to Done.

New branch with naming map for v2, this will be tested in following tickets

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
Avoid  extra allocations when computing Dofs

Try to avoid this kind of patterns:
    dofs_lbc = Dof[]
    [push!(dofs_lbc, dofs(n)[dof_symbol]...) for dof_symbol in dofs(lbc) for n in nodes(f)]

Related: https://github.com/ONSAS/ONSAS.jl/issues/93

Related comments in #277

Replace this with an abstract range with dofs vector
    default_free_dofs = Vector{Dof}()
    for node_dofs in dofs(mesh)
        [push!(default_free_dofs, vec_dof...) for vec_dof in collect(values(node_dofs))]
    end

@mvanzulli should we close this, or you spot other relevant sites?

Yes, this is done ✅

source: gharchive/issue

authors: mforets mvanzulli


text:
Error with module Meshes.jl

In running some example in the package, when I run the code
mesh = Mesh(; nodes, elements)
it raises the following error message

ERROR: cannot assign a value to imported variable ONSAS.mesh from module Main

Please show me the way to fix it.
Thank you

Thanks for reporting this 🌊 Oh interesting, that is "unexpected".  Which example in particular ?

I ran the cantilever.jl and clamped_truss.jl in the package. I have the message similar to what is shown below

Test Summary:                        | Pass  Total  Time
Displacements at the right-most node |    3      3  0.0s
Test.DefaultTestSet("Displacements at the right-most node", Any[], 3, false, false, true, 1.719540076606e9, 1.719540076606e9, false, "C:\Users\Julia\Downloads\JuliaDynFEM\vidu.jl")

This one is not error message. However, if I run step by step, the following commands
(; L, N, b, h, E, ρ, Px, Py) = parameters()
x_coords = range(0, L, N + 1)
nodes = [Node(xi, 0.0, 0.0) for xi in x_coords]
S = Rectangle(h, b)
frames = [Frame(nodes[j], nodes[j + 1], S) for j in 1:(length(nodes) - 1)]
mesh = Mesh(; nodes=nodes, elements=frames)

then, the error message appeared for the last command mesh = Mesh(; nodes=nodes, elements=frames)
Perharps I misunderstood at some point. Please show me where I was wrong in doing so.
Thank you.

Ah I see where the issue comes from, but I don't think tehre is a bug here. If the error you are obtaining is:
ERROR: cannot assign a value to imported variable ONSAS.mesh from module Main
Stacktrace:
 [1] top-level scope
   @ .../ONSAS.jl/examples/clamped_truss/clamped_truss.jl:35

then is beacuse when you first run using ONSAS which exports mesh. That means you are going to have defined in the main scope:
julia> Main.mesh
mesh (generic function with 2 methods)

so when you try to evaluate mesh = .... you get:
julia> mesh = 2
ERROR: cannot assign a value to imported variable ONSAS.mesh from module Main
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

rebinding is not allowed. You can fix this either using import ONSAS (a bit clunky) or just renaming the variable to avoid identifier conflicts:
    m = Mesh(; nodes, elements)

I am not against renaming the variable in the script if that helps you :)
Is this what is going on here ?

Thank you for your explanation about the situation.
I still have another problem. I simpilified the example cantilever.jl a bit as given below
using Test
using ONSAS

"Return the problem parameters"
function parameters()
    L = 3                 # Length
    b = 0.2               # Cross-section Width
    h = 0.3               # Cross-section Height
    ρ = 2400              # Material density
    q = b * h * ρ * 9.81 # Distributed load
    Px = 1e2              # Nodal load in x
    Py = 1e3              # Nodal load in y
    E = 210e9             # Elastic Young's modulus.
    RTOL = 1e-4           # Relative tolerance for tests
    N = 5                 # Number of elements
    NSTEPS = 10           # Number of load factors steps
    (; b, h, ρ, q, Px, Py, E, RTOL, N, NSTEPS, L)
end

"Return the problem structural model"
function structure()
    (; L, N, b, h, E, ρ, Px, Py) = parameters()
    # -------------
    # Mesh
    # -------------
    x_coords = range(0, L, N + 1)
    nodes = [Node(xi, 0.0, 0.0) for xi in x_coords]
    S = Rectangle(h, b)
    frames = [Frame(nodes[j], nodes[j + 1], S) for j in 1:(length(nodes) - 1)]
    mesh = Mesh(; nodes=nodes, elements=frames)
    set_dofs!(mesh, :u, 3)
    set_dofs!(mesh, :θ, 3)
    # ------------------------
    # Materials
    # ------------------------
    i = IsotropicLinearElastic(E, 0.3)
    materials = StructuralMaterial(i => frames)
    # -------------------------------
    # Boundary conditions
    # -------------------------------
    bc1 = FixedDof(:u, [1, 2, 3])
    bc2 = FixedDof(:θ, [1, 2, 3])
    bc3 = GlobalLoad(:u, t -> [Px, -Py, 0])
    boundary_conditions = StructuralBoundaryCondition(bc1 => [nodes[1]], bc2 => [nodes[1]],
                                                      bc3 => [nodes[end]])

    Structure(mesh, materials, boundary_conditions)
end

"Return the problem solution"
function solve()
    s = structure()
    # -------------------------------
    # Structural Analysis
    # -------------------------------
    (; NSTEPS) = parameters()
    sa = NonLinearStaticAnalysis(s; NSTEPS=NSTEPS)
    # -------------------------------
    # Numerical solution
    # -------------------------------
    solve!(sa, NewtonRaphson())
end;

sol = solve()

Then, when I run it, I have got the following error message:

ERROR: type StaticState has no field iter_state

Please help me to fix this.
Thank you

True, this is an actual issue in the Base.show() which only prints the solution in the REPL. However, the solution is correct. Feel free to open a new issue with a minimal reproducible example, and we can discuss it there.

Btw you can take a look here for some cotributing guidelines 🤗 .  Thanks for reporting the bug 💯

FYI the issue you commented was here thanks for reaching out :)

authors: mvanzulli tkrisnguyen


text:
Draft PR to discuss code changes - DO NOT MERGE

What
See title
How to review
This is only open for TL and developer to discuss changes as part of sign off
Who can review
Dont review!

Closing draft, changes made against develop

repo: ONSdigital/dp-search-reindex-api


text:
Display answer labels when using multiple answers

What is the context of this PR?

Updates the multiple answer's schema to demonstrate a question with multiple answers while ensure the labels are displayed as expected.
Ensures that the label/legend is displayed when using multiple answers. Some exception to this:

Checkbox label has not been done as it need tweaking which will be done in https://trello.com/c/D9VWhami/4838-add-instruction-property-to-checkbox-answers
Year only date and single duration answer labels have not been checked as it need tweaks in the DS which Matt is aware of. At the moment, they are not consistent and do not use the proper HTML label element. Those will need to be tested once the changes have been made in the DS.

How to review

Ensure when a question has multiple answers that the label is rendered unless:

the answer is a checkbox with a single option
of type YearDate
of type single Duration

Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

As discussed, the pattern of having multiple answers already exists in runner, however it has not been documented in the DS about the allowed combinations and its scenarios. This schema was updated with the different types to demonstrate that answers are shown on the summary as expected when using multiple answers, and that answers use the correct label/legend. The single question was used since there is no doc around the allowed combinations.

repo: ONSdigital/eq-questionnaire-runner


text:
Only show error messages related to page

Changes
Fixes #254 Multi page error messages
How to test

Checkout the branch
Run the app and choose a multi-page validated survey from the dev console (999 is a good one)
Complete the first page of the survey.
On the second page of the survey trigger a validation error
Once the validation error is triggered, go back to the first page
Trigger a validation error on the first page also
Confirm that you only see the errors applicable to the current page

Who can test
Anyone except @weapdiv-david

This class could really benefit from some documentation and logging.

These tests need to be moved in Star wars as agreed by the team. Survey 999 no longer exists

I think these git commits could be squashed, especially the 'refactor test' ones.

I still think this class needs better documentation and logging, but we'll address this as part of the Software Design story. Therefore I'm going to merge this. 👍

authors: LJBabbage warrenbailey weapdiv-david

repo: ONSdigital/eq-survey-runner


text:
ci: merge opae-libs

Automated changes by create-pull-request GitHub action.
Must be use a normal merge (not squash-merge and not rebase-merge)

Coverage increased (+0.3%) to 62.239% when pulling f7b2096d278fa3de71c0dbe8518edbfa241f21bb on auto/update-libs into 36364178b67b030c1ac62f3a170f1d833c2b0e8f on master.

authors: coveralls r-rojo

repo: OPAE/opae-sdk


text:
[WIP] Add suppression file for possile leak detected by Valgrind

Not investigating this memory error further because I don't think it's worth our time

CI is not setup properly for dtk-2.0 as in #500
Please ignore failures

Note that Valgrind detects the exact same memory error in the C API test.  So the current location of the suppression file might not be the most appropriate.

repo: ORNL-CEES/DataTransferKit

license_source: bigquery


text:
Map username from SAML Assertion when new user is created.

Background:
When the SAMLResponse is recieved from the IdP, the assertion contains different user attributes. These attributes should be used when creating the federated user, but as it stands right now, this does not seem to work. This may very well be related to FKIS using different namespaces for user attributes than the SAML2 Standard.

This needs a more detailed description, what was the goal?
Are there  any relations to #54? Maybe?

More details:
When the SAMLResponse is recieved from the IdP, the assertion contains different user attributes. These attributes should be used when creating the federated user, but as it stands right now, this does not seem to work. This may very well be related to FKIS using different namespaces for user attributes than the SAML2 Standard.

Currently experimenting, but this should be by possible utilizing this

authors: janhalen nicolas-semaphor


text:
Request: add a code example to "Signature File Format" of wiki

Could you please add the code example below?
This is a request from me who lacks understanding. :D

adjust and many and location of Tagging Metadata

https://github.com/OSPG/binwalk/wiki/Signature-File-Format

I'm not sure I understood properly. What do you mean with "code example below"?
In any case, documentation is not a priority for me but I would like to revise it at some point.

I apologize for my poor writing.
I mean I want these three code examples.
adjust and many and location of Tagging Metadata
Yes, Any time is okay.

Don't worry. I'm not a native speaker so it's also hard to understand sometimes

repo: OSPG/binwalk


text:
Dockerfile base image

Upgrade node@16-alpine to version 16.20.0-alpine3.16

Opening a PR from OX for base image upgrades from OX. Thank you.


text:
Upgrade dependency

Upgrade jsonwebtoken@8.5.1 to version 9.0.2

Please ignore this PR and close it. Generated by TestIM


text:
Cookie Banner

Create Cookie banner

Changes 👷♀

Add cookie banner to landing page.
Can enable/disable Mixpanel (analytics cookie). Marketing cookie is yet to be implemented (adroll).
Extract ChevronUpDown component, for all your chevron up/down needs.

when rejected

When one goes to app to other page then landing, using for example URL somebody may copy paste it from somewhere or have a bookmark in browser then cookieBanner doesn't show up on other pages and cookieSetting in localStorage is not existing

The build fails now after merging dev, but you can test it locally by undoing the merge commit: 57305208b452e8dfadeecef8e914e73b5db40f44

CookieBanner still doesn't appear on vault page
example URL https://localhost:3443/owner/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266?network=hardhat

authors: ferni johnnieskywalker

repo: OasisDEX/oasis-borrow


text:
Fe deploy 2

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Nice! Let me review the code for a second.

authors: go-dima vanessa-cooper


text:
[Stall-Disguises] obliquemc.common.disguises.Disguises$Companion.addDisguis

"Server thread" #20 prio=5
RUNNABLE
at com.pixelmonmod.pixelmon.enums.EnumSpecies.randomPoke(EnumSpecies.java:1329)
at com.pixelmonmod.pixelmon.enums.EnumSpecies.randomPoke(EnumSpecies.java:1306)
at com.pixelmonmod.pixelmon.entities.pixelmon.specs.Type2Spec.randomPokeType(Type2Spec.java:103)
at com.pixelmonmod.pixelmon.entities.pixelmon.specs.Type2Spec.apply(Type2Spec.java:74)
at com.pixelmonmod.pixelmon.api.pokemon.PokemonSpec.create(PokemonSpec.java:627)
at net.obliquemc.common.disguises.Disguises$Companion.addDisguise(Disguises.kt:45)
at net.obliquemc.common.disguises.command.DisguiseCommand.execute(DisguiseCommand.kt:106)
at net.obliquemc.common.api.command.IObliqueCommand$DefaultImpls.run(IObliqueCommand.kt:18)
at net.obliquemc.common.disguises.command.DisguiseCommand.run(DisguiseCommand.kt:24)
at com.cable.library.command.IAnnotatedCommandExecutor$toCommand$1.func_184881_a(Command.kt:233)
at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119)
at net.minecraft.command.CommandHandler.accessor$tryExecuteCommand(CommandHandler.java)
at org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:161)
at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:146)
at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355)
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:360)
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665)
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962)
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219)
at net.minecraft.network.PacketThreadUtil$1.redirect$zlf000$impl$redirectToPhaseTracker(SourceFile:540)
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.func_181617_a(SourceFile:46)
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310)
at net.minecraft.server.MinecraftServer.redirect$zjj000$onRun(MinecraftServer.java:4682)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
- locked java.util.ArrayDeque@6ad42763
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:748)

If this were the cause of the stall, it would come from Pixelmon's random spec which seems very unlikely. This is likely to be a coincidence, there's no looping going on here

authors: Hiroku Rasgnarok

repo: ObliqueNET/Server


text:
Happiness Evos

Happiness evolution is supposed to require 220 happiness to happen. However, they are happening lower. I just had a Riolu evolve at 206 happiness.

If you could reproduce this, I'd be interested. Just tried in SinglePlayer with no way. Took 222 happiness on my Riolu to evolve.

I've been trying to reproduce without luck, so I dunno. Maybe it was a  visual glitch on my end and the mons were over 220 happiness at the time. I had been using a ton of berries, so maybe that's why.

Closing, ticket is outdated.

repo: ObliqueNET/Terra


text:
Assume claim is lbc-paywalled until costInfo is fetched

#2304
This prevents viewFile from being hit too early.

I wanna learn how you can tell it was that variable creating the state changes on load (and reload...sometimes different there)!
That's what confuses me the most at this time, and how much of that is writing good selectors vs other bear practices / patterns.

authors: infinite-persistence tzarebczan

repo: OdyseeTeam/odysee-frontend


text:
encode: support passing formats and output type

This enable support to encode to specific target type instead of just
the default HLS output.

Still draft as i still need to expand the encoder test file to test transcoding to mpegts format

repo: OdyseeTeam/transcoder


text:
Bloated XML in schemaXML of a Choices field

If provision a site with Apply-SPOProvisioningTemplate and sometime later run Get-SPOProvisioningTemplate the XML for a Choices field is bloated -

Choice1
Choice2
Choice3
Choice4

Choice1
Choice2
Choice3
Choice4

Choice1
Choice2
Choice3
Choice4

Hi Patrick
I thought Erwin had already fixed this one.
Regards
Nigel

repo: OfficeDev/PnP

license: mit


text:
Enable template to include features which have been deactivated from …

…base template.

Hi @nickcox, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Thank you for your contribution! It's an interesting PR I think, and I will check it out the coming days.

PR will require manual porting to new PnP-Sites-Core repo + merging with current code

Hi Nick,
Thanks for contributing this PR!
This PR has been open for a long time due to the fact that we've been restructuring the PnP repositories. Today the provisioning engine updates happen in the PnP-Sites-Core library and a lot of changes have been implemented over the last months.
Therefore it's very hard for us to merge this PR as is...we would like to ask you to resubmit this PR (if still relevant) as a new PR in the PnP-Sites-Repo. We apologize for the extra efforts this is resulting into.
This also means that we're going to close this PR in the PnP repo.
Best regards,
The PnP Core team

Thanks, Bert.
How should I stop this sort of thing from happening again? Is there some sort of roadmap where contributors can find out about upcoming major restructures?

The repo split is the only major restructuring we did over the last 1,5 years...and no new major restructuring is planned. It's unfortunate that it collides with your PR submission, apologies for that.

authors: erwinvanhunen jansenbe msftclas nickcox


text:
Reject awards

How can we reject requested award? When someone picks the reward it automatically deducts their points, but what if the award is out of stock? :)

For Incentives app template repository, we are currently only making changes to fix critical bugs or deployment failures. Please consider forking the repository to implement your improvement and post back here if you're successful.

authors: Ixinho v-smahaj


text:
Added new recently released teams templates. Updated app to sort templates in ascending order.

Added the new recently released teams templates to the templates list - https://docs.microsoft.com/en-us/MicrosoftTeams/get-started-with-teams-templates-in-the-admin-console#what-are-base-template-type
Updated the Power App to sort the templates in ascending order.
Tested to ensure the new templates work as expected.

@abbodh I have tested this - please approve the PR
@ktcodebite FYI


text:
Merge to live!

fixed typo

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/add-ins-with-angular2.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

repo: OfficeDev/office-js-docs-pr


text:
Flow fails if multiple emails are received in the same time frame.

Flow fails with error:
We were unable to run the script. Please try again.
Your file was not saved because we could not merge your changes with changes from someone else.
When multiple emails are received in the same time frame and the script is already running. How do we correct this?

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

ID: 7ec9b05b-0d34-0f27-26b3-c4ae0837f781
Version Independent ID: 3c2a5c31-bc43-94dd-4591-f5564c5c3655
Content: Pass data to scripts in an automatically-run Power Automate flow - Office Scripts
Content Source: docs/tutorials/excel-power-automate-trigger.md
Product: excel
Technology: scripts
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for raising this issue @enchiladadeathtaco. Let me tag @peronald to help understand how to handle multiple flow triggers that run the script at the same time.

@peronald following up here - thanks @enchiladadeathtaco for raising this issue with our team!

Multiple script invocations against the same workbook at the same time (or within a very short time window) may potentially run into race condition and cause write conflicts.
@enchiladadeathtaco - do you think it's possible to limit the email trigger's concurrency level?
You can configure it through ... Settings of the email trigger:

Then turn on the Concurrency Control - Limit switch, and set the Degree of Parallelism to 1:

This will make sure to put any newly triggered flows into the queue if there is already one running. Hopefully this can avoid concurrent script invocations.
Although it might be a bit challenging if you have to deal with large volumes of incoming emails that would burst in within a very short period of time. This will end up with a very long queue of pending flows and will take a while to finish all of them. Things will become especially tricky if you expect the script to return timely result for each incoming email.
Something for you to consider...

@yutao-huang this is great. I didn't know a Concurrency Control existed so will try this out. This will help with other document-specific flows

authors: AlexJerabek enchiladadeathtaco nancy-wang yutao-huang

repo: OfficeDev/office-scripts-docs


text:
[availability] (pre-release) Replacing preview with information about flighted roll outs

Excel for the web features are rolled out to a percentage of customers to ensure they meet reliability requirements. The term "preview" was a misnomer, as features that are ready for general availability are still partially available for periods of time. This PR better explains that process.

Docs Build status updates of commit a9207e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/preview-note.md
:white_check_mark:Succeeded

docs/includes/rollout-note.md
:white_check_mark:Succeeded
View

docs/includes/run-from-button-desktop-support.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/resources/add-ins-differences.md
:white_check_mark:Succeeded
View

docs/resources/vba-differences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Tagging @jedunn for awareness.

Docs Build status updates of commit a9207e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/preview-note.md
:white_check_mark:Succeeded

docs/includes/rollout-note.md
:white_check_mark:Succeeded
View

docs/includes/run-from-button-desktop-support.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/resources/add-ins-differences.md
:white_check_mark:Succeeded
View

docs/resources/vba-differences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e2a47e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/preview-note.md
:white_check_mark:Succeeded

docs/includes/rollout-note.md
:white_check_mark:Succeeded
View

docs/includes/run-from-button-desktop-support.md
:white_check_mark:Succeeded
View

docs/overview/excel.md
:white_check_mark:Succeeded
View

docs/resources/add-ins-differences.md
:white_check_mark:Succeeded
View

docs/resources/vba-differences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


text:
Acceso rápido a la sábana informativa desde la pantalla de inicio.

Historia de usuario:
Como usuario o administrador de Olivia, quiero poder acceder fácilmente a la sábana informativa desde la pantalla de inicio para obtener información actualizada de manera más rápida y sencilla.
Criterios de aceptación:

Debe haber un acceso directo o un botón claramente visible en la pantalla de inicio que indique "Sábana Informativa" o un icono representativo.
Al hacer clic en el acceso directo o el botón, el usuario debe ser redirigido de inmediato a la página o sección que contiene la sábana informativa.
El acceso directo o botón debe ser intuitivo y fácil de encontrar para que los usuarios puedan acceder a la sábana informativa sin dificultad.

Buen dia!
Adjunto preview del boton para aprovacion

Confirmo

repo: OlivIAfAIrLac/Olivia


text:
Added a flag to disable scrolling after section closing

When user closed a section, the tableView did scroll this way, that closed section was on the top of the screen. This change adds a flag, which by default behaves the same way as the old code, but if set to NO - disables this jumping.

Seems it would be useful to make Travis scripts to update the whole configuration of the cocoapods: http://stackoverflow.com/questions/35563329/cocoapods-frameworks-sh-error-no-such-file.

repo: OliverLetterer/SLExpandableTableView


text:
🛑 Eklessia Bible Quiz API is down

In 86b59ef, Eklessia Bible Quiz API (https://api.eklessia.com/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Eklessia Bible Quiz API is back up in 9d30947 after 10 minutes.

repo: OluwaninsolaAO/uptime-monitoring


text:
Added my name,Nwachukwu Esther

Mr Setemi just added my name, plese accept my request

Hi Esther!
Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

authors: estherbabe tobisupreme

repo: Oluwasetemi/altschool-opensource-names


text:
Add CPU lambda capture specialization

Fixes #18

Rebase ☝

authors: davidbeckingsale ggeorgakoudis

repo: Olympus-HPC/proteus


text:
Add Class D support

This PR adds Class D support to Omni Core.
Class D is not defined in the spec but can be summarized as follows:
Class D is identical to Class C with the following changes:

The marker bytes have been shortened to ol rather than omni (@dexx7 I should have listened to you earlier hehe)
Integers in payloads are compressed with variable length encoding similar to LEB128

The use of Class D is significantly more efficient than Class C (on average payloads are reduced by 40-50%).  Class D is activated via the feature activation system and Omni Core will start sending Class D by default once the activation has occurred.
This is an initial PR to request feedback and should be considered in progress...
Thanks! :)
Z

Awesome!
Back when we added Class C support, I made sure we can handle multiple push operations, and because multiple pushes in OP_RETURN are allowed for some time now, I believe we can safely make us of it.
Here is my proposal: instead of pushing [olpayload], we embed [ol][payload].
Ultimately this allows to set a bloom filter to ol, and identify Omni transactions in a SPV-ish way. This is just a gimick though, because we probably will never be ably to rely on SPV security.
What do you think? CC: @msgilligan

I actually really, really like that idea - SPV on it's own may not be viable but in combination with other methods (such as querying a consensus hash across multiple API services) there may be a possibility of a lower security approach, allowing users to choose their own tolerance for risk against convenience...

Awesome, it roughly looks like this (from here).
if (txClass == OMNI_CLASS_D) {
  script << OP_RETURN << vchOmBytes << vchPayload;
} else {
  script << OP_RETURN << vchData;
}

... and we'd probably need to check, whether the other format is also <= nMaxDatacarrierBytes. Maybe via something like:
if (script.size()-1 > nMaxDatacarrierBytes) { return false; }

... at the very end, after constructing the script. This needs to be double checked, to make sure we're not off by one or two bytes due to the OP_RETURN or the push operations.

Another point we might consider:
Currently we're using a whole byte for the ecosystem, even though we'd get away with only one bit. Maybe we could save some space here as well?
I'm also wondering, whether we could save some space by handling property ids as [ecosystem bit][identifier], instead of [identifier with ecosystem offset].

This needs to be double checked, to make sure we're not off by one or two bytes due to the OP_RETURN or the push operations.

Ahhh... Hmm - that's something I didn't consider - we lose an extra byte for the second pushdata.  I do really like the idea of separating the marker, but it depends if we're actually going to make use of that in some way (otherwise we're just burning a byte for nothing).
I'm still kind of leaning towards doing it anyway...

Currently we're using a whole byte for the ecosystem, even though we'd get away with only one bit. Maybe we could save some space here as well?

That's an interesting idea and you're right (divisibility could be expressed in just one bit too and maybe other fields) but I'm not sure how to put that to work in practice...

I'm also wondering, whether we could save some space by handling property ids as [ecosystem bit][identifier], instead of [identifier with ecosystem offset].

Currently the variable length integer encoding is poor for test ecosystem properties, but I figured since they form less than 0.1% of our transactions that it wasn't a big deal...

Thanks so much for reviewing dude, really appreciate your feedback :)
I also found another flaw (a pretty big one!) in that while it won't send Class D before the feature is activated, it'll still parse them as valid...
D'oh!
Adding a check now to reject Class D during parsing before activation...

I'm still kind of leaning towards doing it anyway...

Me too! We'd be the first meta-protocol with SPV-ish features. :p

Currently the variable length integer encoding is poor for test ecosystem properties, but I figured since they form less than 0.1% of our transactions that it wasn't a big deal...

That's also a good point. We might consider it in the future though, maybe when/if we overhaul other parts (e.g. removing text fields).

Just noticing that I was tagged in this PR...
Looks like a lot of reading -- will try to catch up this weekend.  Sorry for being slow to respond.

authors: dexX7 msgilligan zathras-crypto

repo: OmniLayer/omnicore


text:
Serialize and deserialize SP entries as raw bytes

This PR replaces the string based LevelDB persistence with byte based storage, and updates a few related data types to correct, fixed size length types. Code, which was touched, was formatted here and there.
The updated DB schema of MP_spinfo/ is as follows:
Last processed block (watermark):

  Key:
      char 'B'
  Value:
      uint256 hashBlock

SP entries:

  Key:
      char 's'
      uint32_t propertyId
  Value:
      CMPSPInfo::Entry info

Historical SP entries:

  Key:
      char 'b'
      uint256 hashBlock
      uint32_t propertyId
  Value:
      CMPSPInfo::Entry info

SP identifiers indexed by creation transactions:

  Key:
      char 't'
      uint256 hashTxid
  Value:
      uint32_t propertyId

It's significantly faster, and it resolves #88, and it resolves #84 hopefully, too.

Mainnet consensus tests passed.
listtransactions_MP for 5151 Omni transactions down to 18.713 ms/tx.

Reviewed and OK to merge from my side - though I have to be completely honest mate whilst it looks safe some of the serialization stuff is a bit over my head - I get the basics of serialization but as to why it's so very much faster I'm not sure I fully understand.
Since it passes all tests and you clearly know more than I on this I'm happy to defer to your judgement mate :)  Merge away if you're happy with it :)

I get the basics of serialization but as to why it's so very much faster I'm not sure I fully understand.

That's actually a good question. To consolidate my understanding, I wrote down a somewhat more detailed response. :)
Say there are is the byte 0x07: interpreting it as number yields 7, without any conversion or alike, while "7", as string, would involve constructing a new std::string object, and then converting that string into a number.
Same goes for string -> hex -> bytes conversion, [...] and in case of SPs there were many more intermediate steps involved, because data was not only converted from and to strings, but into "complex and slow" JSON objects. With raw byte serialization we basically read or write the data without any (?) conversions at all.
The hard work is done by serialize.h and streams.h. It's incrediblely well made, but unfortunally likewise complex and layered, so let's look at the compontents:

A CDataStream is a wrapper around std::vector<T> (where T is usually char) to allow handy data manipulations. Version and serialization type aside, a simple example:
// Create a new stream object
CDataStream ssStream(SER_DISK, CLIENT_VERSION);
// Add the number 1 to the stream
ssStream << 5;
// Add the number 2 to the stream
ssStream << 7;

This stream holds raw bytes, and can be used similar to a std::vector<char> or related:
std::string str = HexStr(ssStream.begin(), ssStream.end());
printf("Result: %s\n", str.c_str());

That would print:
Result: 0500000007000000

Sometimes I use:
ssSpValue.reserve(ssSpValue.GetSerializeSize(someObject));

It's not required, but it may have a minimal performance impact. It signals: "reserve a certain amount of bytes for me". Otherwise the capacity of the underlying std::vector may be increased/resized several times, which has some overhead, and can involve allocating new memory over and over again:
CDataStream ssStream(SER_DISK, CLIENT_VERSION);
ssStream << 0x01; // internal vector capacity: 1
ssStream << 0x02; // internal vector capacity: 2 (automatically increased)
ssStream << 0x03; // internal vector capacity: 4 (automatically increased)
ssStream << 0x04;
ssStream << 0x05; // internal vector capacity: 8 (automatically increased)
ssStream << 0x06;
ssStream << 0x07;
// ...

GetSerializeSize() is a method to determine the serialized size of a value. It depends on the type of the value, but usually this translates into something like sizeof(value).

The actual serialization and deserialization is hidden behind a few definitions and functions, but there is a handy way to add serialization support. Say we have some class or struct to represent the position of a transaction within the chain, which can be serialized:
struct TxPositionEntry
{
    uint256 txid;
    int block;
    unsigned int idx;

    // Macro for GetSerializedSize(), Serialize() and Unserialize() methods:
    ADD_SERIALIZE_METHODS;

    // Used by these methods to do the actual work:
    template <typename Stream, typename Operation>
    inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
        READWRITE(txid);
        READWRITE(block);
        READWRITE(idx);
    }
};

The serialization methods are not limited to one context, but we probably use it with CDataStream, so let's create an object, serialize it and print the result of the serialization, similar to the earlier example:
// An object representing the position of a transaction in the chain:
TxPositionEntry entry;
entry.txid = uint256("e17910de713a070e2b8cf40ef68fc6e825d524283f9142b419b4b0bc9aea474c");
entry.block = 362067;
entry.idx = 258;

// Serialization into a stream:
CDataStream ssStream(SER_DISK, CLIENT_VERSION);
ssStream << entry;

// Output:
printf("The byte representation of the serialized object:\n");
printf("%s\n", HexStr(ssStream).c_str());

That would yield:
The byte representation of the serialized object:
4c47ea9abcb0b419b442913f2824d525e8c68ff60ef48c2b0e073a71de1079e15386050002010000
#                                               end of txid ---^       ^       ^
#                                                             block ---^       ^
#                                                                       idx ---^

The byte order may appear as flipped here, due to the endianness, but:
53860500  ----byte swap--->  00058653  ----hex-to-decimal--->  362067  # block
02010000  ----byte swap--->  00000102  ----hex-to-decimal--->     258  # idx

The LevelDB operations are probably familiar, but it should be noted that the objects used for keys and values, namely leveldb::Slice can be constructed from and to streams.
Say we'd like to retrieve SP 5 from the DB:
uint32_t propertyId = 5;

// Build the lookup key:
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
ssKey << 's';        // <-- a prefix used for all keys of SP entries
ssKey << propertyId;

// Create something usable for LevelDB:
leveldb::Slice slSpKey(&ssKey[0], ssKey.size());

// Load the raw SP entry:
std::string strSpValue;
leveldb::Status status = pdb->Get(readoptions, slSpKey, &strSpValue);

We can then deserialize the result into the actual object:
CMPSPInfo::Entry sp;

// Convert result into a data stream:
CDataStream ssSpValue(strSpValue.data(), strSpValue.data() + strSpValue.size(), SER_DISK, CLIENT_VERSION);

// And finally deserialize it into the Entry:
ssSpValue >> sp;

The chain of actions is somewhat long, and if I'm not mistaken, then should be close to this:
-> operator>>()       # of CDataStream
-> Unserialize()      # global namespace, type to unserialize: CMPSPInfo::Entry
-> SerializationOp()  # of CMPSPInfo::Entry
-> SerReadWrite()     # global namespace, behind the READWRITE(x) macro
-> Unserialize        # global namespace, type to unserialize: std::string, for issuer field
-> read()             # of CDataStream, constructes a std::string object, in this case
-> ...                # ... and so on, for other fields and values ...

Basically all fields, tagged with READWRITE are processed one by one, until the object of desire is deserialized (or serialized), and if one of the values to serialize itself is serializable, then it undergoes a similar process recursively.
serialize.h defines how different types of data are to be handled.
Even though it's complex, it's incredibly fast, and as mentioned, I assume this is because there is not so much actual data movement, or conversions involved, but instead "reinterpretation" of plain bits to different types.

Back to our database.
Before this PR, the property entries and friends were stored as strings, with the following schema:

https://gist.github.com/dexX7/6f433d26b74702a22746#cmpspinfo

Now it's pretty similar, except that data isn't converted back and forth between different types, and no longer persisted as strings, but just as raw bytes as char.
However, the the keys changed slightly, which were until now "watermark", "sp-%d", "blk-%s:sp-%d", "index-tx-%s", where "%d" and "%s" are the string representations of the identifiers, or the (hexified) hashes.
They were replaced with keys, which have one character prefix, followed by key subparts:

Last processed block (watermark):
  Key:
      char 'B'
  Value:
      uint256 hashBlock

  Example (hexified):
      B -> 000000000000000007ca3c1fad460a09fd408512b83357cb5fdb8fc017f30691

SP entries:
  Key:
      char 's'
      uint32_t propertyId
  Value:
      CMPSPInfo::Entry info

  Example (hexified):
      s0000001f -> ...
      ^ prefix 's'

Historical SP entries:
  Key:
      char 'b'
      uint256 hashBlock
      uint32_t propertyId
  Value:
      CMPSPInfo::Entry info

  Example (hexified):
      b000000000000000007ca3c1fad460a09fd408512b83357cb5fdb8fc017f306910000001f -> ...
      ^ prefix 'b'                                end of hashBlock ---^ .. id ^

SP identifiers indexed by creation transactions:
  Key:
      char 't'
      uint256 hashTxid
  Value:
      uint32_t propertyId

  Example (hexified):
      t000000000000000007ca3c1fad460a09fd408512b83357cb5fdb8fc017f30691 -> 0000001f
      ^ prefix 't'                                end of hashBlock ---^    id  ---^

In these examples the byte order may be swapped, and the prefix isn't hexified, but it's probably clearer this way. :)
Some time ago I created a small Python script to dump the content of LevelDBs, and when dumping the updated SP database as hex, in practise an excerpt of it looks like this:
$ python2 leveldb_dump.py --binary ~/.bitcoin/regtest/MP_spinfo/

# Watermark:
42 5f09fed24e228d8dbb47c8d1a1796a3a5befea46f4d1770dd56e79837d218e7c

# Historical SP entries:
621f65ef0e76b3e50008d64fcd06eb07f3c9760e2b4866c932276bf3878295c71e07000000 226d747753546f6269656d346b5565537063313669635242596435324c6e6d7a7255510100000000000d546573742043617465676f727910546573742053756263617465676f72790d4d616e61676564546f6b656e7318687474703a2f2f7777772e6f6d6e696c617965722e6f726725546869732069732061207465737420666f72206d616e616765642070726f706572746965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007857f4bbc52b401bc8ef8c29a5050de1e961ae209ec5bb9d140950f6472f3fec0000000000000000000000000000000000000000000000000000000000000000f936602eb39da6e4bcdf73f4ca46804aed48e6e822e269445d123c771841281a000102fcd7729f83ef28844949b51756812135146d7752298d913662433bb17565878502640000000000000000000000000000003f16d30f87925f8efcb9e1bc29e919e41b90ddbe2e74916d6d2648099afcbcca02aa000000000000000000000000000000
622ae96cc02a7fcd3c08569dd2f73f44996d686fe3d5afaa9029fc883bdb0aed0c07000000 226d747753546f6269656d346b5565537063313669635242596435324c6e6d7a7255510100000000000d546573742043617465676f727910546573742053756263617465676f72790d4d616e61676564546f6b656e7318687474703a2f2f7777772e6f6d6e696c617965722e6f726725546869732069732061207465737420666f72206d616e616765642070726f706572746965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007857f4bbc52b401bc8ef8c29a5050de1e961ae209ec5bb9d140950f6472f3fec00000000000000000000000000000000000000000000000000000000000000001f65ef0e76b3e50008d64fcd06eb07f3c9760e2b4866c932276bf3878295c71e000103fcd7729f83ef28844949b51756812135146d7752298d913662433bb17565878502640000000000000000000000000000003f16d30f87925f8efcb9e1bc29e919e41b90ddbe2e74916d6d2648099afcbcca02aa00000000000000000000000000000024bce214955e3affa6f826b6c85d1f5ed6ed9d75dd36b01a1caa24aba2e7d9e702f1feffffffffff7f0000000000000000
628502d41149d7e7ac5eddd8648ffd52b9b7f8b6ccf5289f44bf2c2ee4ad8d731407000000 226d747753546f6269656d346b5565537063313669635242596435324c6e6d7a7255510100000000000d546573742043617465676f727910546573742053756263617465676f72790d4d616e61676564546f6b656e7318687474703a2f2f7777772e6f6d6e696c617965722e6f726725546869732069732061207465737420666f72206d616e616765642070726f706572746965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007857f4bbc52b401bc8ef8c29a5050de1e961ae209ec5bb9d140950f6472f3fec00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100
62a87289f92629d54fe9d1403aa553e8bf0f15623f36864d5fb907c35bdb04c04f44000080 226d686e596f4e5254377a73415033576442345a546575556f356338666a6b7462444a020000000000000002435300000065cd1d0000000002000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f931873e801ff65ea2560afc65946889bbb94a1790dae752ba8568092c8a7d571b847491add79dc4221bc6358dfaec2950ce84b0bfcdb896b3a7c146e014fd701b847491add79dc4221bc6358dfaec2950ce84b0bfcdb896b3a7c146e014fd70000000
62dfff50c7e2549bb1bafd689862b09f1b72284e52e84f9b6ce9b4788b77d57a382e000000 226d6b4b5168577547695833594b397274735675697a46683764396d5a6b6a413873530200000000000000044d4469760000ffffffffffffff7f01000000f003d4cc01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c9ef24732dc277fd00894798f3a5554881ad9cda93cd1045ea79422627b059f3f663256d8bf27c2f56dee7bfad8da63bd2dd5bb0f9c1ee7b2d546c2ffc423213f663256d8bf27c2f56dee7bfad8da63bd2dd5bb0f9c1ee7b2d546c2ffc42321000000
62f936602eb39da6e4bcdf73f4ca46804aed48e6e822e269445d123c771841281a07000000 226d747753546f6269656d346b5565537063313669635242596435324c6e6d7a7255510100000000000d546573742043617465676f727910546573742053756263617465676f72790d4d616e61676564546f6b656e7318687474703a2f2f7777772e6f6d6e696c617965722e6f726725546869732069732061207465737420666f72206d616e616765642070726f706572746965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007857f4bbc52b401bc8ef8c29a5050de1e961ae209ec5bb9d140950f6472f3fec00000000000000000000000000000000000000000000000000000000000000008502d41149d7e7ac5eddd8648ffd52b9b7f8b6ccf5289f44bf2c2ee4ad8d7314000101fcd7729f83ef28844949b51756812135146d7752298d913662433bb1756587850264000000000000000000000000000000

# SP entries:
7303000000 226d70515066446846675170704e5a6e757a39373658664169646865637253726a4d4b0100000000000000064d496e646976000035fa8829e4fd030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d9dc3e8cefe7f06427d5e82b071eef81b7dcfe538774d3b96ff93f8d6c91411b88d787f2d647b4a94fde1e8fa21aec411600e7ec7dd653f4db2496bbb17fcb3188d787f2d647b4a94fde1e8fa21aec411600e7ec7dd653f4db2496bbb17fcb31010000
7303000080 226d7636545943734465314b6144515a6245417258675237445a4c695058315942747a02000000000000000454446976000040420f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ef588211e36c93cd16d9b06f785a5ca7cddffd5a5ffdacd885c20a6a8feaf85984da1aafa3fcbd696799b8532d14bf33ef239202f4f2904b5ccc818279ad873984da1aafa3fcbd696799b8532d14bf33ef239202f4f2904b5ccc818279ad873010000
7304000000 226d6747416e38745a587a78424b6f37487a6e383935663263584559375a4b7939373301000000000000000253500000990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c34d90c1db0806b31d2dee8a78a4e0ab595e8e9e6aa2c4125ceb05a93a4ea89984b238630d04cfc0d7ddbe2c57ce4adf77a917341429451947957cefeebb165b84b238630d04cfc0d7ddbe2c57ce4adf77a917341429451947957cefeebb165b010000

# SP identifiers indexed by creation transactions:
74d9dc3e8cefe7f06427d5e82b071eef81b7dcfe538774d3b96ff93f8d6c91411b 03000000
74da6c21ba3141257d42a66b0ca53ae75dccdac0be486b7bebfba6c20cc502c44d 22000080
74dab8105ff4795501f8fb80dc28d08beaca061a025e433533f2a886287af23609 16000080


text:
Failing on Unity.2017.4.10 project

Environment data
dotnet --info output:
Product Information:
Version:            2.1.101
Commit SHA-1 hash:  6c22303bf0
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.101\
Microsoft .NET Core Shared Framework Host
Version  : 2.0.6
Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d
VS Code version: 1.27.2
C# Extension version: 1.16.1
Steps to reproduce
Open Unity 2017.4.10 project (mono backend).
Expected  behavior
Omnisharp to offer references, go to implementation to work, etc.
Actual behavior
Non of Omnisharp features work
Log:
Starting OmniSharp server at 10/1/2018, 6:31:33 PM
    Target: c:\Users\Evgeni\Work\gymsim\GymSym\GymSym.sln

OmniSharp server started.
    Path: C:\Users\Evgeni\.vscode\extensions\ms-vscode.csharp-1.16.1\.omnisharp\1.32.5\OmniSharp.exe
    PID: 14048

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Visual Studio Community 2017 15.7.27703.2042 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
            2: StandAlone 15.0 - "C:\Users\Evgeni\.vscode\extensions\ms-vscode.csharp-1.16.1\.omnisharp\1.32.5\msbuild\15.0\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Visual Studio Community 2017 15.7.27703.2042 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in 'c:\Users\Evgeni\Work\gymsim\GymSym'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in 'c:\Users\Evgeni\Work\gymsim\GymSym\GymSym.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-firstpass.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor-firstpass.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.Editor.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Users\Evgeni\Work\gymsim\GymSym'.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp.csproj
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location 'c:\Users\Evgeni\Work\gymsim\GymSym' on host 8256.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-firstpass.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-firstpass.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-firstpass.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor-firstpass.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor-firstpass.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\Assembly-CSharp-Editor-firstpass.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.Editor.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Users\Evgeni\Work\gymsim\GymSym\UniRx.Async.Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: Assembly-CSharp
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.Editor.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: UniRx
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: Assembly-CSharp-firstpass
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.Editor.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: UniRx.Async
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: Assembly-CSharp-Editor
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\Assembly-CSharp-Editor-firstpass.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\Assembly-CSharp.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.Editor.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: Assembly-CSharp-Editor-firstpass
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\Assembly-CSharp-firstpass.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.Editor.dll'
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: UniRx.Async.Editor
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly 'c:\Users\Evgeni\Work\gymsim\GymSym\Temp\bin\Debug\UniRx.Async.dll'

@Zammy Can you update your VS Community to the latest version?

For the love of god I cannnot make VS

authors: Zammy rchande

repo: OmniSharp/omnisharp-vscode


text:
switch pattern expression format error

https://github.com/microsoft/vscode/issues/163203#event-7556220862
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.72.0
OS Version: win10
BuildNumber : 19044
BuildType : Multiprocessor Free
OSType : 18
ServicePackMajorVersion : 0
ServicePackMinorVersion : 0
Steps to Reproduce:
use .editorconfig file format code file in vscod
in cs file use switch block use property pattern sentence
on keyborad press alt+shift+f combin keys the format will become crazy

@nczsl What VS Code extensions do you have installed?

EditorConfig for VS Code

authors: JoeRobich nczsl


text:
Missing icons and menu items in custom file handler

Category

[ ] Question
[ ] Documentation issue
[x] Bug

Expected or Desired Behavior
My company is using a custom file handler registered with the file handler integration api.
Recently the custom menu items are not shown anymore in the contextual menu of OneDrive/SharePoint web interfaces, and the custom icons are not applied.
Observed Behavior
I see the handler properly registered on Azure:
GET /_api/v2.0/drive/apps?select=*,promoted&expand=actions
{
  "@odata.context": "https://<omitted>-my.sharepoint.com/_api/v2.0/$metadata#driveApps",
  "value": [
    {
      "@odata.type": "#oneDrive.driveApp",
      "@odata.id": "https://<omitted>-my.sharepoint.com/_api/v2.0/oneDrive.driveApp314eedad-aeb3-445f-bd4f-f1dd84f39035",
      "@odata.editLink": "oneDrive.driveApp314eedad-aeb3-445f-bd4f-f1dd84f39035",
      "application": {
        "id": "94097542-d2db-4568-a7b9-ac7f4fab4f1b",
        "displayName": "<omitted>"
      },
      "fileHandler": {
        "fileTypeDisplayName": "<omitted>",
        "fileTypeIcon": {
          "png1x": "https://localhost:3000/images/itemtypes/96/default.png",
          "png2x": "https://localhost:3000/images/itemtypes/96/default.png"
        },
        "fileTypeIconUrl": "https://localhost:3000/images/itemtypes/96/default.png",
        "version": 2
      },
      "id": "42aecef6-775f-54a7-b3b9-a3a07644fc1b",
      "actions@odata.navigationLink": "oneDrive.driveApp314eedad-aeb3-445f-bd4f-f1dd84f39035/actions",
      "actions": [
        {
          "@odata.type": "#oneDrive.driveAppAction",
          "@odata.id": "https://<omitted>-my.sharepoint.com/_api/v2.0/oneDrive.driveAppAction1033e7d9-99e9-4b6f-af35-0c28a59290ee",
          "@odata.editLink": "oneDrive.driveAppAction1033e7d9-99e9-4b6f-af35-0c28a59290ee",
          "availableOn": {
            "file": {
              "extensions": [
                ".ab1",
                ".ab2"
              ]
            },
            "web": {},
            "allowMultiSelect": false
          },
          "type": "open",
          "url": "https://localhost:3000/api/open"
        }
      ]
    },
    ...

We haven't updated these manifests recently, it seems the OneDrive web interface now is broken for some reason.
However the actions are loaded because they are shown in the file preview:

But the contextual menu does not contain them, moreover the custom icons are not applied:

Please give us some feedback,
Thanks.

We're investigating issues with the File Handlers currently and will let you know when we have a resolution that you should verify.

I have the same issue. It resolved some time ago, but now the problem has reoccurred

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.

authors: JeremyKelley dleone-boole enerdgumen patrick-rodgers

repo: OneDrive/onedrive-api-docs


text:
OK-3668 Supports access to all assets except read-only wallets

What does this implement/fix? Explain your changes.
全部资产接口支持指定获取只读钱包资产
Does this close any currently open issues?
If it fixes a bug or resolves a feature request, be sure to link to that issue.
https://onekeyhq.atlassian.net/browse/OK-3668
Pull request type

Put an x in the boxes that apply

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Other (please describe):

Where has this been tested?
…
Any other comments?
…

没理解，为什么 App 不自己过滤

暂时没有获取到价格的接口 有个总的余额显示 他们算不出来

是不是能根据记录的类型过滤？不过这种两三行就能解决的逻辑我无所谓，前期这些不明确的地方还是比较多。

过这种两三行就能解决的逻辑我无所谓，

他们那边也存储了账户对应的类型 就是 有个总金额显示 是转换成btc的 他们这个计算不出来 因为各个账户显示的总金额都是主币的  只有总资产这个显示的是btc计价的 他们那边算的话 需要我们提供汇率转换接口 所以 目前这样是最简单的

authors: shuaiLiWang taimanhui

repo: OneKeyHQ/electrum


text:
Blursed Earth Light Level

I'm using Blursed Earth for a mob farm, but not sure how to disable it?  Seems to ignore light level, I typically use lit redstone lamps to disable the farm.

I removed the light level limit as its a mixture of the cursed and blessed, and the blessed has to have light. didn't realize that people need to stop their farms. Will readd light req

authors: OneLemonyBoi mellamokb

repo: OneLemonyBoi/MiniUtilities


text:
Short solution needed: "Json response" (nginx-lua)

Please help us write most modern and shortest code solution for this issue:
Json response (technology: nginx-lua)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to send JSON response

repo: Onelinerhub/onelinerhub


text:
Fix 'BOYAMICRO' vendor value in "DeviceVendorEnum"

Also:

Set PACK.xsd version to v1.7.35.
Aligned documentation to xsd schema in the following points:

"overview" attribute of the /package/description set to optional
/package/examples/example/board set to 0..*
/package/examples/example/project set to 1

revision number was out-of-sync, therefore ignoring the failing test.

Thanks a lot for catching these inconsistencies. Looks good to me now.

Thank you!

authors: jkrech silviooliva

repo: Open-CMSIS-Pack/Open-CMSIS-Pack-Spec


text:
v0.2.7

Added support for setting the "use_joins" parameter when calling Collection interpolate.  This seems to help with some of the memory and timeout errors when trying to interpolate monthly images dynamically.
Added support for interpolating NDVI images without needing et or et_fraction bands to be computed.
Some other miscellaneous formatting and cleanup.

@macfriedrichs I'm not planning on using this for any of the SSEBop asset production, but I would like to be able to use the SSEBop model for generating the NDVI monthly assets and I needed these changes to support it.

repo: Open-ET/openet-ssebop


text:
Plataforma não suportada. LINUX

Caros,
Quando tento rodar no ambiente LINUX recebo o seguinte erro:
Plataforma não suportada.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: Plataforma n?o suportada.
at OpenAC.Net.Devices.RawPrinterStream+Unix.SendToPrinter (System.String printerName, System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in //src/OpenAC.Net.Devices/Devices/Raw/RawPrinterStream.cs:129
at OpenAC.Net.Devices.RawPrinterStream.Flush () [0x00019] in //src/OpenAC.Net.Devices/Devices/Raw/RawPrinterStream.cs:177
at OpenAC.Net.Devices.RawPrinterStream.Dispose (System.Boolean disposing) [0x00004] in //src/OpenAC.Net.Devices/Devices/Raw/RawPrinterStream.cs:196
at System.IO.Stream.Close () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/shared/System/IO/Stream.cs:230
at System.IO.BinaryWriter.Dispose (System.Boolean disposing) [0x00017] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/io/binarywriter.cs:107
at System.IO.BinaryWriter.Dispose () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/io/binarywriter.cs:113
at OpenAC.Net.Devices.OpenRawStream.CloseInternal () [0x00000] in //src/OpenAC.Net.Devices/Devices/Raw/OpenRawStream.cs:63
at OpenAC.Net.Devices.OpenDeviceStream.Open () [0x00094] in //src/OpenAC.Net.Devices/OpenDeviceStream.cs:99
at OpenAC.Net.EscPos.EscPosPrinter.Conectar () [0x0004a] in //src/OpenAC.Net.EscPos/EscPosPrinter.cs:203
at Gerene.DFe.EscPos.DfePrinter.Imprimir (System.String xmlcontent) [0x000fc] in :0
at Gerene.DFe.EscPos.NFCePrinter.Imprimir (System.String xmlcontent) [0x00000] in :0
Podem me ajudar?
Obrigado!

O erro é claro Plataforma não suportada, ou seja não funciona em linux.

Realmente uma pena...

authors: eneiasramos rftd


text:
用管道操作两个命令key过期，总是报错ERR Partition not found，运行一段时间后又正常

需要补充下信息：

pika 版本，系统信息。
classic 模式还是sharding 模式？
redis-cli 模拟操作也会是同样的现象吗？
我该如何复现这个现象

应该是你使用sharding模式，但是没有配置proxy，导致数据被随机发送到一个pika实例。所以会出现有的请求正常，有的异常。因为pika 中的会计算请求的key是否在当前的实例的slot上。

应该是你使用sharding模式，但是没有配置proxy，导致数据被随机发送到一个pika实例。所以会出现有的请求正常，有的异常。因为pika 中的会计算请求的key是否在当前的实例的slot上。sharding 模式需要配合codis 使用。

我第二张图用的Twemproxy代理，我是安了三个Twemproxy，配置是一样，同时三个pika实例，slot配置的是0，1，2；java客户端我是加权轮询选择其中一个代理连接；https://github.com/OpenAtomFoundation/pika/wiki/Support-Cluster-Slots 用的就是下这个里面的Pika 兼容twemproxy 方案

pika版本

pika模式

redis-cli 模拟操作也会是同样的现象吗？

redis-cli 连接Twemproxy多运行几次就不报错了

我该如何复现这个现象

我是自己构建的镜像运行在docker中的，我可以提供给你相关运行文件

需要补充下信息：

pika 版本，系统信息。
classic 模式还是sharding 模式？
redis-cli 模拟操作也会是同样的现象吗？
我该如何复现这个现象

辛苦大哥了，麻烦给分析下什么问题，我这边也打算换codis测试下

repo: OpenAtomFoundation/pika


text:
[Fixes #1041] Remove grouping SQL method from GET /ob/markchatasread

max(timestamp) method was generating NULL in the case when SQL
conditions returned no results, as is the case when no chats with a
peerID have yet been created. Since max(timestamp) does not appear to be
used by anything, let's remove it.

Coverage decreased (-0.02%) to 33.096% when pulling 871e0cc4364fb70c95f3a5b9748551b02623a238 on 1041-fix-500-markchat into 4b06094ff119541206664a5c7d6e5986e3dbd1f9 on master.

repo: OpenBazaar/openbazaar-go


text:
Hierarchical structure or inheritance of behaviors/tasks?

Submitter Organization: NMSG-145 (Operationalization of Standardized C2-Simulation Interoperability)
Type (Problem Report or Change Request): Problem Report
Date of Submission: 10 June 2022
Product: C2SIM XSD
Reference: NMSG-145 Final Report / Technical report TR-MSG-145, April 2021, Section 5.1, p92 (5-2)
Problem/Change Description:
[...] 5.1 LESSONS IDENTIFIED
The range of possible tasks (DesiredEffectCode and TaskNameCode) is significantly greater than the possible tasks or behaviors available in many of the simulations, e.g., VBS3.
These codes have largely been derived from JC3IEDM which provides a large set of tasks so federation agreements and the mapping of C2SIM tasks to simulation capabilities need specifying carefully.
There could be some hierarchical structure or inheritance so that if a behavior/task is not understood by a sim, it gets rolled back to a more generic task.

Good point. If the overarching goal of C2SIM is to enable C2 systems to operate with simulations without human intervention, then the meaning of every element would (ideally} be unequivocally defined in the standard. However, many elements of the data model, and in particular tasks, represent very complex behavior with dependencies on mission, equipment, terrain, nationality/doctrine, enemy forces, etc. The military simulation community has considered the idea of defining standards for behavior for years, but without a real solution. A given simulation X can perhaps be said to "understand" the meaning of a particular task if it undergoes a rigorous validation process (for a particular use). In this case the meaning of the task term could be said to be "what simulation X does." This is all not very practical. It is probably only practical for C2SIM to provide a reasonable vocabulary at this point, and depend on "federation agreements" to provide meaning for particular uses.
As for the idea of hierarchies of behavior complexity or completeness, that is reasonable. One could express this with subclasses. For example, consider this ontology:

If a task message were received that specified a Traveling task, the receiver could perhaps ignore it and select another instance of a CrossCountryTask that it understood.

authors: bruno-g dr-cgf-home


text:
14.5.4 - need to update documentation for release

Need to update the documentation for the 14.5.4 release.  This is a maintenance release and changes are relatively minor.

I updated the documentation.  Close this issue.

repo: OpenCDSS/cdss-app-tstool-doc-user


text:
Top Sellers Section Setup

Implement a Top Sellers section displaying the most popular pumpkins available for purchase.

Is the issue still open? Can I contribute?

@19purva this issue is assigned for another team member. You can see on our Projects Kanban board for Midwest Pumpkin and find the task that still is open and let me know in which you want to contribute

Can I contribute to this section? Would like to rework html to create list for images and add styles.

repo: OpenCodeChicago/Midwest-Pumpkins


text:
make run stuck on dependecies

installation stuck on dependencies. debian server.

Logs:
Package operations: 210 installs, 1 update, 0 removals

  - Installing certifi (2024.2.2): Pending...
  - Installing h11 (0.14.0): Pending...
  - Installing idna (3.6): Pending...
  - Installing sniffio (1.3.1): Pending...
  - Installing typing-extensions (4.11.0): Pending...

I'm not sure why it'd do that. 😔
Did you clone and run make build, or something else?

Same as here: https://github.com/OpenDevin/OpenDevin/issues/935
That was solved by updating poetry.

I'll close this issue, but if you still experience problems please open a new one.

@zingshowba try poetry env remove python3.11 and after make build

@zingshowba Enjoy!!

authors: dorbanianas enyst nowheel

repo: OpenDevin/OpenDevin


text:
Feat: Add user auth

The PR will introduce the Basic Auth for OD:

Only for auth and no user data saved, because we don't have a DB for now.
Use the uid and sid to enhance the session management. we only have the sid for now. so we can manage the sandbox containers like opendev_sandbox_uid_sid. I also think we can consider stopping the container rather than removing it, and the user can resume the previous session without re-init, and regular cleaning of the useless containers (but the memory/agent context needs to be stored and then recalled when resumed).
Some guys have the situation to deploy the OD in the same bare machine, this PR can offer the first step to provide one instance to serve multi-users. (There was the problem of container name conflict, #1557 add the random str to container name, this is more like the temporary solution)
#1802 needs some user info when sharing the interaction trajectories.

Yeah, I have a similar question about the necessity for user auth at the moment. Currently we're developing OpenDevin as single-user software that runs locally. We definitely plan on having a hosted demo, but there are a number of ways of doing this, and depending on the method that is used there the strategy for doing auth would be different. My suggestion would be to put this on the backburner for now, and figure it out when we have a better idea of what a multi-tenant system would look like.

Okay, if we all believe it's unnecessary at the moment, I can stop working here for now.

That might be best for now, but thanks for the contribution! We should circle back once we have a better idea of what this will look like.

authors: iFurySt neubig


text:
Check and potentially reclassify the powerplant class

Description of the issue
We currently have the following definitions an classifications:

power generating unit is defined as A power generating unit is an artificial object that contains a generator, among other parts. and classified as artifical object. This seems to be correct.
powerplant is defined as A powerplant is an aggregate of power generating units that feeds electric energy into an electric grid. So in the definition we wrote that power plant is an aggregate of objects, but we we classified it as artifical object and not as object aggregate.

Ideas of solution
I suggest to reclassify powerplant in line with its definition to object aggregate.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

object aggregate has the following editor note: An entity a is an object aggregate if and only if there is a mutually exhaustive and pairwise disjoint partition of a into objects.
I am not sure if a power plant is a collection of power generating units or just contains some power generating units (and also other things). In the latter case, power plant wouldn't quite fit the definition of object aggregate. An alternative suggestion would be to adjust the definition of power plant and add an axiom has part some power generating unit.

What exactly is meant with mutually exhaustive? I am not sure whether I am understand this correctly. Maybe you can explain this with an example?
Adding has part some power generating unit definitely makes sense.

Another, maybe more clear explanation by the bfo's creators:

An object aggregate is a material entity that is made up of a collection of objects and
whose parts are exactly exhausted by the objects that form this collection.

As I understand it, this means that an object aggregate consists only of the objects and has no additional parts. So for example, the "collection of patients in a hospital" is an object aggregate (this is one of the examples given by the bfo), because the collection only consists of patient-objects and nothing else. On the other hand, a hospital would not be an object aggregate, because it has not just patients, but also doctors, a building, equipment, legal documents, etc. which all together make up the hospital.

If I recall it right, we defined it like this because a power plant is an aggregate of artificial objects, but the artificial objects are not necessarily of the same kind. The idea was that a power plant constists at least of 1 power generating unit and its connection to the grid.

Adding has part some power generating unit definitely makes sense.

Agreed.

If I recall it right, we defined it like this because a power plant is an aggregate of artificial objects, but the artificial objects are not necessarily of the same kind.

Right, I remember that too: A power plant can e.g. consist of an coal power unit and a gas fired power unit.

The idea was that a power plant constists at least of 1 power generating unit and its connection to the grid.

We could make this more explicit by reformulating the current definition A powerplant is an aggregate of power generating units that feeds electric energy into an electric grid. to A powerplant is an aggregate of power generating units and a grid component that feeds electric energy into an electric grid.

Adding has part some power generating unit definitely makes sense.

Agreed.

I agree too. If you accept my proposal above, we should also add has part some grid component.

I got two thumbs up, so i will implement.

authors: l-emele sfluegel05 stap-m

repo: OpenEnergyPlatform/ontology


text:
term cost is implemented twice

Description of the issue
I think in PR #956  cost was not shifted correctly to oeo-shared because it is implemented twice now.
Ideas of solution
Delete cost in oeo-social.
I could do it or anyone else with the next PR.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

I saw that, too but was not able to create an issue yet. It would be great if you could fix this soon.

authors: KaiSchnepf l-emele


text:
chore(cmake): copied all-cluster-app/esp32 code

Closes #9

Ich denke wir brauchen auch den "all-clusters-common" Ordner. Sollen wir noch eine Ebene einziehen oder das als "component" einbinden?

Ich denke wir brauchen auch den "all-clusters-common" Ordner. Sollen wir noch eine Ebene einziehen oder das als "component" einbinden?

nevermind, der wird ausschließlich über den thirdparty-ordner eingebunden

authors: Ti-ger vringar

repo: OpenFogStack/matterHub


text:
Can add a proxy to the ofn command ?

I have configured a local 1080 proxy, but I still cannot install it successfully
$ ofn install --all

The following existing components will be skipped:
        - Knative Serving
        - Tekton Pipelines
        - Keda
 ✗ Dapr - Stopped!
 ✗ Shipwright - Stopped!
 ✗ Cert Manager - Stopped!
 ✗ Ingress - Failed!
 ⇲ Error reports:
Failed to install Ingress:
Unable to connect to the server: read tcp 192.168.80.130:59322->185.199.109.133:443: read: connection reset by peer
: exit status 1

Or my proxy configuration is wrong? my proxy configuration :
export http_proxy="http://192.168.80.1:1080"
export https_proxy="http://192.168.80.1:1080"

It seems that the proxy is working, but it is not accessible?

@tpiperatgod my fault.  by tracing network proxy .  I suddenly realized that i have configuration proxy, but forgot configuration no_proxy.  so add export no_proxy="192.168.." . it`s working , thx

authors: aBreaking tpiperatgod

repo: OpenFunction/OpenFunction


text:
Add the ability to "pause" the map interactor

This is useful so that applications can temporarily disable the interactor while displaying a custom UI element.

Will this still allow tiles to be loaded and rendered during the pause? I think it should.

Yes, the only thing pausing does is ignore native mouse/keyboard events.

Great.

@jbeezley this is great stuff! I was just thinking if _ignoreEvent or _skipEvent would have been better. But other than that :+1: LGTM
https://dl.dropboxusercontent.com/u/72484/crossguard-lightsaber-lgtm.gif

authors: aashish24 jbeezley jeffbaumes

repo: OpenGeoscience/geojs


text:
How to connect WMR controllers?

I'm using Ubuntu 18.04 and an Acer WMR. I installed HIDAPI from here and cloned the dev-wmr branch. I built OpenHMD with make. Then I added a udev rule as per the instructions here, replacing the vendor id with Acer's vendor id 0502, and replugged the device and turned on the controllers by holding down their Windows buttons.
My HMD udev rules list:
KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="0502", MODE="0666", GROUP="plugdev"

However, when running the simple example I get the following output:
OpenHMD version: 0.3.0
num devices: 5

device 0
  vendor:  Microsoft
  product: HoloLens Sensors
  path:    0
  class:   HMD
  flags:   04
    null device:         no
    rotational tracking: yes
    positional tracking: no
    left controller:     no
    right controller:    no

device 1
  vendor:  OpenHMD
  product: External Device
  path:    (none)
  class:   HMD
  flags:   06
    null device:         no
    rotational tracking: yes
    positional tracking: yes
    left controller:     no
    right controller:    no

device 2
  vendor:  OpenHMD
  product: HMD Null Device
  path:    (none)
  class:   HMD
  flags:   05
    null device:         yes
    rotational tracking: yes
    positional tracking: no
    left controller:     no
    right controller:    no

device 3
  vendor:  OpenHMD
  product: Left Controller Null Device
  path:    (none)
  class:   Controller
  flags:   0f
    null device:         yes
    rotational tracking: yes
    positional tracking: yes
    left controller:     yes
    right controller:    no

device 4
  vendor:  OpenHMD
  product: Right Controller Null Device
  path:    (none)
  class:   Controller
  flags:   17
    null device:         yes
    rotational tracking: yes
    positional tracking: yes
    left controller:     no
    right controller:    yes

opening device: 0
[II] 045e:0659 0004:0005:02

[II] opening

[II] Read 10196-byte config data

[II] Model name: Acer AH101

[EE] Found display height 1440

[EE] Found display width 2880

resolution:              2880 x 1440
hsize:                   0.103812
vsize:                   0.051905
lens separation:         0.063000
lens vcenter:            0.025953
left eye fov:            1.658063
right eye fov:           1.658063
left eye aspect:         1.000000
right eye aspect:        1.000000
distortion k:            0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
control count:           0
controls:

<rotation quat and position vec>

The headset's rotation works correctly, but the controllers are reported to be null devices. How do I make them detectable by OpenHMD? Do I use the Bluetooth buttons next to the batteries somehow?
There's one more thing I tried. I saw there was a meson option -Dhidapi=hidraw, so I made another clone of dev-wmr and built OpenHMD the meson+ninja method, with this option. Running the simple example yielded the same result: the controllers are null devices.

So, currently the dev-wmr branch is the only branch that has controllers supported.
The controllers need to be paired as you would do with just regular Bluetooth controllers through your Bluetooth manager with the pair button. We currently use the hidapi-hidraw to get access to the paired controllers since that was the easiest setup for a test on Linux, but it does require being paired to the system already.

Okay, I'll try that. Thanks!

repo: OpenHMD/OpenHMD


text:
meson: Make it possible to build all when building statically

This removes the last bit of code checked for static vs dynamic builds in meson.

Updated, thanks for your comment!


text:
HTTP errors loading nonexistent Natural Earth tiles at mid-to-high zoom levels

The Historical layer is producing many errors like this in Firefox’s console when you zoom to levels 11 and above:
Object { message: "Decoding failed.", stack: "" }
application-d966bda7fa32d5f5120b61a5160ac09034ea743352a0d004db76c5ebf28667ae.js:183:6024

which correspond to failed network requests for URLs like https://vtiles.openhistoricalmap.org/maps/ne/16/17423/24991.pbf:
HTTP/2 404
date: Sun, 26 May 2024 22:06:31 GMT
content-type: text/plain; charset=utf-8
content-length: 35
access-control-allow-methods: GET, OPTIONS
access-control-allow-origin: *
content-encoding: gzip
tegola-cache: MISS
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubDomains
X-Firefox-Spdy: h2

OpenHistoricalMap/map-styles@b1603f378d57e8040d43d0e2fdc804e4f0c05774 added a reference to this “ne” source, which comes from Natural Earth, to the Historical stylesheet. OpenHistoricalMap/ohm-deploy@90f7fb08067c756dea230e2bad17005b1918a5cf for OpenHistoricalMap/ohm-deploy#293 appears to have limited this tileset to just zoom levels 0 through 10, so any requests for zoom levels 11 and above will fail. The stylesheet should set the maxzoom property so MapLibre GL JS doesn’t request resources we know don’t exist.

I have extend the zoom level and for Natural Earth waterbodies https://vtiles.openhistoricalmap.org/#8.93/50.0543/-75.2051

Ok, so Ruben to update TOML and then @vknoppkewetzel needs to fix any stylesheets that call Natural Earth at z9+ to remove those calls to match:

NED: Zoom 0-8
OHM: Zoom 9-20

updates all styles, now in map-styles repo

The NE water  has been updated  from zoom 0 to 8

Seems the config in map-styles are still from zoom 0 - 24
      "id": "water_areas-ne",
      "type": "fill",
      "source": "ne",
      "source-layer": "water_areas",
      "minzoom": 0,
      "maxzoom": 24,

https://github.com/OpenHistoricalMap/map-styles/blob/deploy-cleanup/main/main.json#L678-L679
cc. @vknoppkewetzel

Is that pulling from Dan's changes where stuff will be renamed to main I think the main stuff hasn't been finalized , the latest is still in tegola-ohm stuff :)

repo: OpenHistoricalMap/issues