"Cannot import name OfxParser"

Anyone else getting this error? Don't know what I might be doing wrong
from ofxparse import OfxParser

with codecs.open('~/Desktop/file.ofx') as fileobj:
    ofx = OfxParser.parse(fileobj)

after rebooting my machine I was able to import the module, but started getting an error "no module name codecs". Deleted codecs and it seems to work, will take a better look now, don't know if I'm missing something because of the lack of the codecs.


Add iosSimulatorArm64 target

TODO:

[x] Update sourcesets
[x] Remove FS dependency as it does not work for the iosSimulatorArm64 target

@erksch I've tried adding iosSimulatorArm64 support using your changes but I can't get our iOS project to compile for the simulator, only physical devices seem to work. Did you notice anything similar?

@alexandru-g Thank you for trying it out! We have not really tested this branch yet.
We should add ARM simulator like the X86 simulator test to verify that the changes work.

Unfortunately even the base LibTorch-Lite library doesn't play nice with the arm64 simulator. It needs to be compiled specifically for it.

Indeed when trying to just compile with the standard PyTorch Arm64 lib I get the following error:
ld: building for 'iOS-simulator', but linking in object file (/Users/erik/voize/pytorch-lite-multiplatform/build/cocoapods/synthetic/IOS/Pods/LibTorch-Lite/install/lib/libc10.a[arm64][2](Allocator.cpp.o)) built for 'iOS'

Can not do a build locally due to https://youtrack.jetbrains.com/issue/KT-65542/Cinterop-tasks-fails-if-Xcode-15.3-is-used


npm WARN deprecated<EMAIL_ADDRESS>use uuid module instead

hello,
when I ran create-react-native-app ,I got this warning.

Specifically:
warning react-native-scripts > xdl ><EMAIL_ADDRESS>use uuid module instead
...
warning react-native > xcode ><EMAIL_ADDRESS>use uuid module instead

The first issue is one I can fix upstream very easily. The latter means that this line https://github.com/facebook/react-native/blob/master/package.json#L210 needs an upgrade and to get tests passing and merged.

The new version of xdl (0.40) has moved to the bare uuid package, so that's one issue down. I believe RN 0.44 or 0.45 will include a fix for the xcode dependency.

so we have to install uuid and npm ?? if yes
what is command for install uuid ?
thanks

@ye4ever you shouldn't need to take any steps. These are just warnings.

The eaisiest way to solve deprecated uuid is:
Type: npm install uuid

this warning is gone now


Outdated dependency on example pom file in getting started page

Issue Overview
In page http://arquillian.org/guides/getting_started/ it is mentioned that if you are having problems with a pom file use the one linked https://raw.github.com/arquillian/arquillian-examples/master/arquillian-tutorial/pom-no-container-profiles.xml but when using this one and if you continue with the getting started guide in the moment you run the test it generates a problem because the outdated dependency
Expected Behaviour
Test should run with the linked pom, after following the getting started guide
Current Behaviour
Test doesn't run though the pom seems alright
Steps To Reproduce

Follow the getting started guide
When being told "If you’re having trouble with the pom.xml up to this point, you can download the file pom-no-container-profiles.xml from the example project and rename it to pom.xml." replace the pom contents
Continue the guide up to when you have to run the test

Additional Information
Problem solved in pull request: https://github.com/arquillian/arquillian-examples/pull/10

pull request already merged, thanks


Dynamically create Msgs

https://github.com/cosmos/scaffold/pull/5#discussion_r348142426
allow the user to specify the Msg they want to create then create the methods to adhere to the interface.

this is something we could use to generate the msgs based off the interface


[363] Mark spec finished

Changes in this PR

user is now asked to mark a spec as 'finished' upon dowloading
marking finished: records the time in finished_at and changes the spec state to :finished
spec is always downloaded regardless of yes or no answer

Checklist
Please complete the following tasks to allow merging of this feature:

[ ] Updated CHANGELOG
[ ] Get QA Approval of test coverage

Note: Check a task if it is not relevent to this PR.
Note: Please uncheck any relevent tasks if you make further changes to the code.
Screen-capture of UI changes
https://user-images.githubusercontent.com/6339025/159445247-0c14f2f0-7d46-412c-a482-080b0734d69a.mov

 Create a Spec - Allow users to mark their spec as 'Finished'


[BUG] multi-GPU Training Frozen After Some Validation Epochs In NGC Container.

Describe the bug
I run a validation epoch every 10 training epochs. Then after 1~50 validation epochs(500 training epochs), training was stuck(validation is finished): 1 GPU utilization is 0%, other 3GPU utilization is 100%(same as normal case) but power consumption is low.
If I do not run validation step, everything is fine.
If I do not use NGC Container, everything is fine.
I have tried single GPU validation(use engine.module in forward) or multi GPU validation(use engine, with torch.no_grad(), use DistributedSampler),  multi GPU will stuck earlier than single GPU.
I have tried add barrier, but it does not work.
System info

4 V100 (msrhyper itphyperdellcl1)
nvcr.io/nvidia/pytorch:22.01-py3

I use vanilla torch DataLoader as validation dataloader.
I have tried use engine.deepspeed_io to get a DeepSpeedDataLoader and it seems work.
Probably caused by pin_memory=False(torch's default).

Thanks for the details. Can you please share steps to repro?

Thanks for the details. Can you please share steps to repro?

Sure.
My dockerfile
FROM nvcr.io/nvidia/pytorch:22.01-py3
RUN DS_BUILD_FUSED_ADAM=1 pip install deepspeed --no-cache-dir

My run command
deepspeed main.py

My main.py
from typing import Iterable, List, Tuple

import torch
from torch import Tensor
from torch.utils.data import DataLoader, random_split
from torch.utils.tensorboard import SummaryWriter

from deepspeed import DeepSpeedEngine

from dataset import FAKEDATASET, collate_fn
from model import FAKEMODEL
from ds_config import config as ds_config
from common import init, train_one_epoch

args = init()

dataset = FAKEDATASET()
n_total = len(dataset)
n_train = int(n_total * 0.8)
trainset, valset = random_split(dataset, (n_train, n_total - n_train), generator=torch.Generator().manual_seed(42))

model = FAKEMODEL()

engine = DeepSpeedEngine(
    args=args, model=model,
    model_parameters=filter(lambda p: p.requires_grad, model.parameters()),
    training_data=trainset,
    collate_fn=collate_fn,
    config=ds_config,
)
rank = engine.local_rank

def load(loader: DataLoader, preloading: bool) -> Iterable[Tuple[Tensor]]:
    # DeepSpeedDataloader.__iter__(self) always create a new DataLoader and return self, thus we cannot use iter().
    itr: Iterable[Tuple[Tensor]] = (x for x in loader)
    if not preloading:
        return ([item.cuda(rank) for item in data] for data in itr)

    def async_to_gpu(x: Tensor):
        assert x.is_pinned()
        return x.cuda(rank, True)

    side_stream = torch.cuda.Stream(rank)
    next_list: List[List[Tensor]] = []
    def preload():
        with torch.cuda.stream(side_stream):
            next_list.extend([async_to_gpu(item) for item in data] for _, data in zip([0], itr))

    def generator():
        preload()
        while len(next_list) > 0:
            torch.cuda.current_stream(rank).wait_stream(side_stream)
            data = next_list.pop()
            for item in data:
                item.record_stream(torch.cuda.current_stream(rank))
            preload()
            yield data
    return generator()

epoch = 1
summary_writer = SummaryWriter() if rank == 0 else None
val_loader = DataLoader(valset, batch_size=512, collate_fn=collate_fn)
while engine.global_steps < 200000:
    train_one_epoch(
        engine, epoch,
        lambda: load(engine.training_dataloader, False),
        lambda: load(val_loader, False),
        summary_writer=summary_writer
    )
    epoch += 1

My common.py
from typing import Callable, Iterable, Optional
import torch
import torch.nn.functional as F

from torch.distributed import all_reduce, barrier
from torch.utils.tensorboard import SummaryWriter
import deepspeed

def init():
    from deepspeed.utils import logger
    logger.setLevel(25)
    deepspeed.init_distributed()
    torch.manual_seed(0)
    import argparse
    parser = argparse.ArgumentParser(description='FAKE DESC')
    parser.add_argument('--local_rank', type=int, default=-1, help='local rank passed from distributed launcher')
    return parser.parse_args()

def one_epoch(
    model: torch.nn.Module, # can be engine
    dataloader: Callable[[], Iterable[Iterable[torch.Tensor]]],
    loss_hook: Callable[[torch.Tensor], None]
):
    total_loss = 0.0
    total_num_samples = 0
    for *x, y in dataloader():
        outputs = model(*x)
        loss: torch.Tensor = F.l1_loss(outputs, y)
        loss_hook(loss)
        total_loss += loss.item() * y.numel()
        total_num_samples += y.numel()
    t = torch.tensor([total_loss, total_num_samples], dtype=torch.float64, device='cuda')
    barrier()
    all_reduce(t)
    global_loss, global_num_samples = t.tolist()
    return global_loss / global_num_samples

def train_one_epoch(
    engine: deepspeed.DeepSpeedEngine,
    epoch: int,
    training_dataloader: Callable[[], Iterable[Iterable[torch.Tensor]]],
    validation_dataloader: Callable[[], Iterable[Iterable[torch.Tensor]]],
    validation_interval: int = 10,
    summary_writer: Optional[SummaryWriter] = None,
):
    from datetime import datetime
    def time():
        return datetime.now().isoformat()
    def train_loss_hook(loss):
        engine.backward(loss)
        engine.step()
    engine.train()
    train_loss = one_epoch(engine, training_dataloader, train_loss_hook)
    if engine.local_rank == 0:
        lr = engine.get_lr()[0]
        print(f'[{time()}] [epoch {epoch:4d}] loss: {train_loss:.7f} lr: {lr:.2e} throughput: {engine.tput_timer.avg_samples_per_sec():.2f}', flush=True)
        summary_writer.add_scalar('train/loss', train_loss, epoch)
        summary_writer.add_scalar('train/lr', lr, epoch)
        summary_writer.flush()

    if epoch % validation_interval != 0:
        return

    engine.eval()
    with torch.no_grad():
        val_loss = one_epoch(engine, validation_dataloader, lambda _: None)
    if engine.local_rank == 0:
        print(f'[{time()}] [epoch {epoch:4d}] validation loss: {val_loss:.7f}', flush=True)
        summary_writer.add_scalar('val/loss', val_loss, epoch)
        summary_writer.flush()

above is one case I have tried, it can run about 130 epochs on my server with nVidia driver version 455.23.05.
And will be stuck within 50 epochs on msrhyper itphyperdellcl1 with driver version 460.91.03.
If I replace
val_loader = DataLoader(valset, batch_size=512, collate_fn=collate_fn) with val_loader = engine.deepspeed_io(valset, batch_size=1024, route='eval') (only change this single line), then it can run >900 epochs(not stuck until now).

Thanks. But can you clarify the problem. Is it the torch dataloader or the deepspeed dataloader that causes the training to get stuck?

Thanks. But can you clarify the problem. Is it the torch dataloader or the deepspeed dataloader that causes the training to get stuck?

the torch dataloader causes the training to get stuck.

Thanks. But can you clarify the problem. Is it the torch dataloader or the deepspeed dataloader that causes the training to get stuck?

And NGC container is also a "necessary condition" that makes the training to get stuck. I cannot figure out why.

What if you use torch dataloader with pin_memory=True?

What if you use torch dataloader with pin_memory=True?

I am working on it. It takes > 30min.

What if you use torch dataloader with pin_memory=True?

Theoretically the only difference is pin_memory🤔
I think both sampler is SequentialSampler, and recreate dataloader every epoch(DeepSpeedDataLoader do this) should not make a difference

What if you use torch dataloader with pin_memory=True?

BTW, I use https://github.com/microsoft/DeepSpeedExamples/blob/master/bing_bert/deepspeed_train.py as reference, since it is the only example with validation during training. However it just uses torch DataLoader and does not set pin_memory=True.

What if you use torch dataloader with pin_memory=True?

usingval_loader = DataLoader(valset, batch_size=1024, collate_fn=collate_fn, pin_memory=True) training get stuck in 10 epoch on msrhyper itphyperdellcl1.

What if you use torch dataloader with pin_memory=True?

maybe recreate dataloader every epoch is the actual difference? I will try it.

What if you use torch dataloader with pin_memory=True?

maybe recreate dataloader every epoch is the actual difference? I will try it.

nope, stuck again
while engine.global_steps < 200000:
    train_one_epoch(
        engine, epoch,
        lambda: load(engine.training_dataloader, False),
        lambda: load(DataLoader(valset, batch_size=1024, collate_fn=collate_fn, pin_memory=True), False),
        summary_writer=summary_writer
    )
    epoch += 1

@tjruwase My collaborator says that DataLoader with num_workers > 0 will fix this problem.
torch DataLoader default is num_workers=0, deepspeed DataLoader default is num_workers=2.

@YouJiacheng, thanks for sharing these details. Given the nature of this issue, that it requires particular interactions of different components, I suspect it will take a bit of time to root cause. To help us prioritize, can you please confirm if you are blocked by this, or you able to unblock yourself by configuration changes? Thanks!

@YouJiacheng, thanks for sharing these details. Given the nature of this issue, that it requires particular interactions of different components, I suspect it will take a bit of time to root cause. To help us prioritize, can you please confirm if you are blocked by this, or you able to unblock yourself by configuration changes? Thanks!

I successfully unblock myself by configuration changes. Thanks!

Awesome! Thanks for the confirmation. I will leave this issue open so we can return to it later.

I encountered with the same problem using pytorch default dataloader with num_workers=1. It's odd that if I train the model with a smaller amount of data, it works well. Plus, I've already confirmed that the whole training process can be done with single GPU.

I encountered with the same problem using pytorch default dataloader with num_workers=1. It's odd that if I train the model with a smaller amount of data, it works well. Plus, I've already confirmed that the whole training process can be done with single GPU.

Maybe you can try num_workers=2?

I encountered with the same problem using pytorch default dataloader with num_workers=1. It's odd that if I train the model with a smaller amount of data, it works well. Plus, I've already confirmed that the whole training process can be done with single GPU.

Maybe you can try num_workers=2?

Okay, I'll try it. Thanks. BTW, why setting num_workers=2 can avoid this? I'm confused.


Update netgen to build on macOS for Apple Silicon

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This branch bumps up the version of netgen to 6.2.2302 which includes support for building on Apple Silicon.  Separate directives for the deployment target and build machine are specified to support building on and for both x86_65 and arm64 macOS.
A migration to support python3.11 is included to support the most recent build.
Closes #45

Added a note in the OP to close out the macOS ARM migrator PR (since this does that work already)

I think you wanted to import netgen and not pymbar 🙃

To build for osx-arm you need to add this line and render:
https://github.com/conda-forge/pivy-feedstock/blob/main/conda-forge.yml#L3

Just in case you don't know. For freecad Netzen is bundled with smesh:
https://github.com/trelau/SMESH/blob/master/.gitmodules#L1

Just in case you don't know. For freecad Netgen is bundled with smesh: https://github.com/trelau/SMESH/blob/master/.gitmodules#L1

I see.  I had issues on some builds in loading the FEM examples and figured it was due to the CMake not finding netgen.  I have confirmed that without netgen the builds operate correctly.


getDayOfWeek fails

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[x] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
Creating a handlebars template with something like:
{{ getDayOfWeek (fnameToDate) }}
Results in the following error:
error while running command: e.getDay is not a function
To Reproduce

Create a template with: {{ getDayOfWeek (fnameToDate) }}
Link it to a vault with a schema
Create a new note that triggers the template

Expected behavior
I expect to get a number that indicates the day of the week.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: Windows 11
Browser (if with published websites; include version): [e.g. chrome, safari]
Versions (all that apply to bug):

Dendron Extension:  0.102.0
VS Code version: 1.68.1
Dendron CLI:

Additional context
I tried to report this bug a couple of days ago, but it seems that the report didn't work. Hopefully, this isn't a dupe.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here
dendron.log

Hi, I just started using Dendron and wanted to have a custom weekend template using the handlebars examples in the repo but got the error "Cannot read properties of undefined (reading 'getDay')" in VS Code when using getDayOfWeek. Do you have any updates on what's causing the issue? Thanks,


monero-{cli,gui}: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Version bump
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested connecting to a remote node with monero-gui.
[x] Tested compilation of all packages that depend on this change
[x] Tested basic functionality of all binary files
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build monero-cli monero-gui

@rnhmjoj Will you please prepare the "backport to 21.11" PR manually?

@rnhmjoj Will you please prepare the "backport to 21.11" PR manually?

Yes, I planned doing it tonight.


Remove related kubeconfig file when exit

What this PR does / why we need it:
Run kubectl-vc exec to move to tenant's workspace then run exit to exit.
should remove kubeconfig file for the tenant which generated by kubectl-vc exec.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/ok-to-test

/test pull-cluster-api-provider-nested-make

/approve

/lgtm


Questions about decomposition in key-switching operation in CKKS

I have a question regarding the key-switching operation in CKKS, especially about decomposition.
lattigo supports multiple numbers of alpha and it is said to follow the implementation proposed in the paper from Han and Ki [1] from [2]. From the paper [1], decomposition must include zero-padding and splitting (shown in the figure), where each polynomial in each level must be pumped up by [Q'](q(ja+i)).  I have carefully looked over the functions SwitchKeysInPlaceModDown, DecomposeSingleNTT, DecomposeAndSplit, and the others related, but I have failed in finding such step in the current implementation.
I am not sure whether the algorithm is slightly modified so that such operation is not required, or it is hidden in the other operations. I would really appreciate any help.
Thanks in advance.

References
[1] Han, Kyoohyung, and Dohyeong Ki. "Better bootstrapping for approximate homomorphic encryption." Cryptographers’ Track at the RSA Conference. Springer, Cham, 2020.
[2] Bossuat, Jean-Philippe, et al. "Efficient bootstrapping for approximate homomorphic encryption with non-sparse keys." Annual International Conference on the Theory and Applications of Cryptographic Techniques. Springer, Cham, 2021.

You are correct, in practice there is no need for padding and one can directly carry out the key-switch at the level of the ciphertext by ignoring the unused moduli of the switching key (the ones that are not anymore used by the ciphertext at lower level).
The algorithm is however, as pointed out in our paper, slightly modified with respect to the one of Han and Ki because we include the entire RNS power basis in the key instead of only part of it and multiplying the ciphertext before the key switch.


Saving other types of batch inference output

In the ML Studio batch inference endpoints, how can I save the output from semantic segmentation models? The documentation explains how to get generic data from blob storage but seems to be missing how to save my output data (in this case semantic segmentation masks) to a corresponding blob storage location.

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

ID: f24ec969-b354-a6ee-fde3-0b7e478a7827
Version Independent ID: 316e0373-e365-3e42-0529-850c06030b2b
Content: Use batch endpoints for batch scoring - Azure Machine Learning
Content Source: articles/machine-learning/how-to-use-batch-endpoint.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @Blackmist
Microsoft Alias: larryfr

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@davystrong , currently we expose only one output for whole batch, although we're internally creating output for each process and merge later. For the time being, using Pipeline should work.

@dem108 sorry for the delay! I must have missed the notification in everything else. I think using pipelines for batch inference would work in the meantime, thanks! I ended up using the SDK to "manually" upload a dataset, this would probably be cleaner.

Thanks for your confirmation! Great to hear the alternative works for you now. If you see any other issues, please don't hesitate to create them separately. Have a nice day!
#please-close


Fix reporting and clearing of errors from Proxies

Summary:  Errors added to the ErrorManager by a Proxy cannot be cleared because the entity, which is the host:port of the target instance, was set to UNKNOWN. When it came to clear the error, the proper entity was not found in the ErrorManager and the error never gets cleared. The reason entity is to UNKNOWN is because when a Proxy reports an error, it attempts to retrieve entity from its PeerManager. However, since the Proxy is not a leader, its PeerManager is empty, which causes us to default the entity name to UNKNOWN.
The fix is rather simple, we can simply get the peer's host:port from the active config. Also, there were misplaced comments near the code that I modified. Those were put in the proper place.
Test Plan: Added tests in D39368699.
Reviewers:
Subscribers:
Tasks:
Tags:

Will commit internally instead.


Make fixed table layout optional

Fixed layout is great if users want to specify the widths of all columns and have the ability to mix pixels and percents, but any columns with unspecified width simply divide remaining space evenly. Would be nice to have the option to use standard table layout where the browser will determine widths based on content.

As a compromise, I decided to make it so table layout is auto by default, and switches to fixed if one or more column widths are explicitly set. This seems like a reasonable behavior and is one less option the developer has to think about. This work has been done in the column-filtering branch, so this issue can be closed once that gets merged in.


Remove version: bornova.numara version 3.16.7

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/bornova/numara-calculator/releases/download/v3.16.7/Numara-3.16.7.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 910)


Inconsistency with get-value outputing either YAML or literal string

Most of the time, the output from get-value can be re-used as YAML and piped again into
shyaml. For anything else than str type, this is consistent. But it is not for str:
cat <<EOF > test.yml
a: |
    this is a string with a semicolon: it should remain
    a string with semicolon.
EOF

I'm expecting that:
cat test.yml | shyaml get-type a

and
cat test.yml | shyaml get-value a |  shyaml get-type

give the same value.
The second crashes.
So it seems that we need a shyaml get-value that outputs YAML quoted strings. This problem comes from the dump function used in shyaml get-value and all over the place. This function is indeed breaking YAML compatibility clearly, by refusing yaml.dump to print the correct value.
Of course, backwards compatibility is important, so we can't just change the behavior of get-value, but we might want to add for instance a -y or --yaml when we are sure we want YAML only.

This was fixed a long time ago in 3d237e8 for version 5.0.


Remove MSG from SignalR

This includes the changes from #2005, until I merge that (at which point I will rebase).

Changing base to make @BrennanConroy happy. I'll change back to dev after #2005 is in.

Rebased on dev after #2005

Are there any docs that mention a Msg pack package that need to be changed?

Nope: https://github.com/aspnet/Docs/search?utf8=✓&q=MsgPack&type=


Create Agile Outgoing sensor

Similar to the Agile rates for consumption, could you also please add the rates for Agile Outgoing with similar behaviour so it can be used to trigger energy export on Solar PV / Battery systems?

Hello, when you say the agile rates for consumption, what are you referring to? The "current rate" sensors of the "target rate" sensors?

or do you mean the accumulative consumption sensors?

Sorry, I meant that, at the moment you get the agile costs to consume electricity / gas, but there are no export rates, if that makes sense?

You should already be retrieving export rates as well, as the integration creates sensors for each import/export meter. The attribute of the rate sensor will have is_export set to true. You can also setup target rate sensors to come on when the highest prices are available within a 24 hour period.
If you're not seing this, and you have just switched to Agile, then you'll need to restart HA. Ive seen some instances where it's taken a while for the API to reflect tariff changes.
If you still can't see it, then can you please paste the diagnostics JSON file that can be downloaded from the electricity meter device within Home Assistant?

Ah, you are correct - I was looking for the term 'outgoing' in the sensor name, but having gone through all the sensors, I've found the ones that match the outgoing rates. Thanks for building this integration! I'll close this ticket.


Programming Language

Given that we are targeting multiple operating systems, including mobile, the question is this:
Do we use Java for everything (since it will run on all but iOS) and Swift for iOS
OR
Do we pick the best language for the OS and also deliver the applications using the native package/app stores?
Looking for thoughts on Pros and Cons of both of these options.

I'm leaning towards prioritizing Java unless there's a language/OS combination that makes more sense. I do really like the idea of delivering the applications using the native packaging/app store method. If anything, we should prioritize macOS and Android first, right? Then when we add support for the other systems, we can evaluate how to best implement that

In order to deliver in the App store, the code would need to be either Swift or ObjectiveC. I am also fine with a self-contained JAR, if we want to go the Java-mostly route.

@dewees I know it's been quite a while since we have discussed this topic, but I had a thought for how we should do this (I intend to start this winter to give me something to do other than play video games). I was thinking of using Electron (the framework under Atom.io) to build the application. It would all be Node.js (which makes me feel dirty), but it would meet the cross-platform needs, and would allow for us to use CSS/SASS for styling, which should make this easier to pull together.
Thoughts?


LinkInvent - randomize issue(?)

Hello,
Thanks again for the great software.
I'm having a problem defining 'warheads' for LinkInvent.  The following error occurs with either version 4.4.22 or 4.1.18 on macOS.
Of the two warhead examples from the paper only 'Oc1cncc(*)c1|c1ccoc1' works, 'Nc1c([F])ccc()c1|*c1c([Cl])cnc1' gives the following error:
Traceback (most recent call last):
File ".../reinvent4.4/bin/reinvent", line 8, in
sys.exit(main())
File ".../reinvent4.4/lib/python3.10/site-packages/reinvent/Reinvent.py", line 334, in main
runner(
File ".../reinvent4.4/lib/python3.10/site-packages/reinvent/runmodes/RL/run_staged_learning.py", line 367, in run_staged_learning
terminate = optimize(package.terminator)
File ".../reinvent4.4/lib/python3.10/site-packages/reinvent/runmodes/RL/learning.py", line 112, in optimize
self.sampled = self.sampling_model.sample(self.seed_smilies)
File ".../reinvent4.4/lib/python3.10/site-packages/reinvent/runmodes/samplers/linkinvent.py", line 34, in sample
warheads_list = self._get_randomized_smiles(smilies) if self.randomize_smiles else smilies
File ".../reinvent4.4/lib/python3.10/site-packages/reinvent/runmodes/samplers/linkinvent.py", line 113, in _get_randomized_smiles
warhead_pair_randomized = tokens.ATTACHMENT_SEPARATOR_TOKEN.join(
TypeError: sequence item 1: expected str instance, NoneType found
Any insight is appreciated.

PS.  that is 'Nc1c([F])ccc(*)c1|*c1c([Cl])cnc1' from the paper that doesnt work in my hands.

Many thanks for reporting this.  The error message could be better but the problem is that "*c1c([Cl])cnc1" is an invalid SMILES in the mind of RDKit.  You would have to use "*c1c([Cl])c[nH]c1" to describe the pyrrole.

Got it - thanks, Hannes!


Publishing breaks extension installation for a short period

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Publish an extension
Try install it in VS Code

Expected behavior
A clear and concise description of what you expected to happen.
The old version is installed until the new version is ready. The publish should be transactional, right now VS Code looks broken for ~1-5 minutes after publishing.
Screenshots
If applicable, add screenshots to help explain your problem.

Hi @Tyriar
Thank you for reaching out to the VS Marketplace Team. As part of our cleanup process, we are revisiting the open issues. Since we are unable to reproduce the issue, could you please check and confirm so we can address it promptly.
Regards,
VS Marketplace Team

I'm not going to publish an extension to try test this, it really doesn't seem like something that would have fixed itself without a targeted fix, but if you can't reproduce feel free to close.

Thanks for the update @Tyriar , we will test how best to address it.
-VS Marketplace Team


2024/04/24 15:31:59 failed to setup testnets: error pushing image for instance 'val3'

Context
I'm trying to run the end-to-end tests
Problem
$ make test-e2e
--> Running end to end tests
go run ./test/e2e
test-e2e2024/04/24 15:30:07 No particular test specified. Running all tests.
test-e2e2024/04/24 15:30:07 go run test/e2e/*.go <test_name> to run a specific test
test-e2e2024/04/24 15:30:07 Valid tests are: E2ESimple

test-e2e2024/04/24 15:30:07 === RUN E2ESimple
test-e2e2024/04/24 15:30:07 Running simple e2e test version 32accba
INFO[2024-04-24T15:30:07-04:00]knuu/knuu.go:168 LOG_LEVEL: info
INFO[2024-04-24T15:30:07-04:00]knuu/knuu.go:66 Initializing knuu with scope: E2ESimple_20240424_153007
test-e2e2024/04/24 15:30:19 Creating testnet validators
test-e2e2024/04/24 15:30:19 Creating account
{"level":"info","name":"alice","pk":"PubKeySecp256k1{0223766FD50714E871F38905FEAC6E7E44F4FDD1044F3622C3A7BA85B4B3BD6726}","time":"2024-04-24T15:30:19-04:00","message":"txsim account created and added to genesis"}
test-e2e2024/04/24 15:30:19 Setting up testnets
{"level":"info","name":"val0","directory":"/var/folders/y0/dd92_x8x4tlf397xstgwfz_c0000gn/T/val0","time":"2024-04-24T15:30:26-04:00","message":"Creating validator's config and data directories"}
{"level":"info","name":"val1","directory":"/var/folders/y0/dd92_x8x4tlf397xstgwfz_c0000gn/T/val1","time":"2024-04-24T15:30:42-04:00","message":"Creating validator's config and data directories"}
{"level":"info","name":"val2","directory":"/var/folders/y0/dd92_x8x4tlf397xstgwfz_c0000gn/T/val2","time":"2024-04-24T15:30:55-04:00","message":"Creating validator's config and data directories"}
{"level":"info","name":"val3","directory":"/var/folders/y0/dd92_x8x4tlf397xstgwfz_c0000gn/T/val3","time":"2024-04-24T15:31:43-04:00","message":"Creating validator's config and data directories"}
2024/04/24 15:31:59 failed to setup testnets: error pushing image for instance 'val3': failed to push image: failed to run command: exit status 1
stdout: The push refers to repository [ttl.sh/042c9f5f-e888-4c64-9db6-24de4801f23f]

stderr: Get "https://ttl.sh/v2/": context deadline exceeded
exit status 1
make: *** [test-e2e] Error 1

Do you know if this issue only temporary, or does it persist?


Expert Advisor insta closed

why when you install an Expert Advisor on a chart, after 5 seconds it turns itself off, closes and disappears from the chart ?

MT4 closes the EA itself after a couple of seconds

I didn't even connect to MT4 with the code. I'm just trying to configure the server, I just installed MT4 and I'm trying to run it on the chart but it fails after 10 tries.

Maybe you are using the wrong expert code.
There is a version for MT5 and one for MT4

Maybe you are using the wrong expert code. There is a version for MT5 and one for MT4

I used the correct code. the same code worked on another computer. it turned out to be a matter of CPU and RAM utilization. as soon as I freed up the resources on the same machine, everything worked.


Parameterizing Mapping data flows-Passing in Timestamp

Hi,
For some reason Azure Data Flow can't handle toTimestamp(left('@{pipeline().TriggerTime}', 23), 'yyyy-MM-dd\'T\'HH:mm:ss.SSS')` anymore.
The dataflow is running into an error now.
{"StatusCode":"DF-Executor-StoreIsNotDefined","Message":"Job failed due to reason: The store configuration is not defined. This error is potentially caused by invalid parameter assignment in the pipeline.","Details":""}
Solved this with currentTimeStamp() in the dataflow, but this could result in different timestamp. So I guess not the ideal fix.
Is this problem recognized?
Thanks in advance,
Diickkieee

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

ID: 40982a5b-890f-0ef4-fad7-2d65b856aef8
Version Independent ID: d8bb4c47-721b-0263-b533-211081b31565
Content: Parameterizing mapping data flows - Azure Data Factory
Content Source: articles/data-factory/parameters-data-flow.md
Service: data-factory
GitHub Login: @kromerm
Microsoft Alias: makromer

@Dickkieee Thanks for your feedback! We will investigate and update as appropriate.

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Thanks @SaurabhSharma-MSFT for your reply. Please let me know if you need some further information regarding this issue. Working with the suggested expression as mentioned above worked in the past. So I compared the input of the dataflow which results in an error with the one that went successfully in the past. Unfortunately there where no differences between them.

@Dickkieee, I have tested this and it worked as expected.  You may have missed to select the expression check box as shown below -

Thanks
Saurabh

@Dickkieee We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


raidemulator: Refactor LineEvent properties to be normalized/consistent

Second PR requested from #2936

We may want to flag the encounters DB as upgraded and force a re-parse of encounter lines with this one, since it'll cause issues due to some property types being changed?

We may want to flag the encounters DB as upgraded and force a re-parse of encounter lines with this one, since it'll cause issues due to some property types being changed?

That makes sense. Did you want to do that here as well?

I think this is the only outstanding question at this point. I'm a bit torn on if this should be handled in this PR, as well as exactly how to handle it.
It's going to be a bit user-unfriendly to go through the entire DB when opening the page and update all the encounters, probably going to be a long browser freeze, but at the same time there's not a good way to flag that the encounter needs updated, except maybe by checking for the relevant properties on the lines when loading?

We may want to flag the encounters DB as upgraded and force a re-parse of encounter lines with this one, since it'll cause issues due to some property types being changed?

That makes sense. Did you want to do that here as well?

I think this is the only outstanding question at this point. I'm a bit torn on if this should be handled in this PR, as well as exactly how to handle it.
It's going to be a bit user-unfriendly to go through the entire DB when opening the page and update all the encounters, probably going to be a long browser freeze, but at the same time there's not a good way to flag that the encounter needs updated, except maybe by checking for the relevant properties on the lines when loading?

Just to clarify (because my memory is bad), the db stores both the original encounter lines and the parsed LineEvent versions?
If so, do encounters have a version? (If no, we could add one.)  We could have a global version number, and if you ever load an encounter that has an old version, we could reparse the LineEvent objects.  That way you wouldn't have to go through the entire DB when the version bumped, and instead you could just pay an extra tax when loading old files.  What about something along those lines?

The DB stores the Encounter object, minus combatantTracker, plus an auto-incremented id, which is a bit of a mess and something I'll likely revisit shortly after moving Persistor to typescript.

The logLines property is logLines: LineEvent[].
LineEvent stores the original log line as networkLine: string.
The encounter's logLines can be rebuilt via a fairly simple snippet, and then reparsed, based on existing code for the Reparse Encounter button:
// Note that the static property comes first here intentionally to deal with `undefined`
if (Encounter.encounterVersion < enc.version) {
  const repo = new LogRepository();
  const converter = new NetworkLogConverter();
  enc.logLines = converter.convertLines(
    enc.logLines.map((l) => l.networkLine),
    repo
  );
  enc.initialize();
  await persistor.persistEncounter(enc);
  encounterTab.refresh();
}

We could then modify the Encounter class something like this:
export default class Encounter {
  static readonly encounterVersion = 1;
// ...
  initialize() {
    this.version = Encounter.encounterVersion;

And then Persistor.loadEncounter like this:
          const enc = req.result;
          const ret = new Encounter(enc.encounterDay,
              enc.encounterZoneId,
              enc.encounterZoneName,
              enc.logLines);
          ret.id = enc.id;
          ret.version = enc.version;
          res(ret);

Yeah, that's exactly the kind of thing I was thinking too, thanks!

Hmm, I feel like the exact mechanism for upgrading the encounter could be handled better? Maybe an upgrade method on Encounter that accepts a version, instead?
  upgrade(version) {
    if (Encounter.encounterVersion <= version)
      return false;

    const repo = new LogRepository();
    const converter = new NetworkLogConverter();
    this.logLines = converter.convertLines(
      this.logLines.map((l) => l.networkLine),
      repo
    );
    this.version = Encounter.encounterVersion;
    this.initialize();

    return true;
  }

Then Persistor can be updated as such:
          ret.id = enc.id;
          if (ret.upgrade(enc.version)) {
            this.persistEncounter(ret).then(() => {
              res(ret);
            });
          } else {
            res(ret);
          }

That also means that the version can be set in the constructor (or defaulted when it's moved to typescript) instead of being set in initialize:
export default class Encounter {
  constructor(encounterDay, encounterZoneId, encounterZoneName, logLines) {
    this.version = Encounter.encounterVersion;


The empty for loop takes longer time than non-emtpy one

I have Intel Core i7-6700K CPU @ 4GHz.
Created a console application using .net core 2.0 and wrote below:
var t = new Stopwatch();
int a = 0;
t.Start();
for (var i = 0; i < int.MaxValue; i++)
{
    a++;
}
Console.WriteLine(t.Elapsed);
t.Stop();
Console.ReadLine();

Executed multiple times and the result is same: between 500-600 ms. Then deleted line a++; and executed again multiple times. All results increased to the range between 1100-1200 ms. But if I process 10 times in single execution and calculate averages, the avg results are good, the process with empty for loop is approx. 100 ms faster than the process with non-empty for loop.

Microbenchmarking is notoriously hard to do right, because there are many things that can influence the microbenchmark, that are not relevant to real code.
I tried using BenchmarkDotNet (a library to do microbenchmarking right) to reproduce your results. My code:
[DisassemblyDiagnoser(printAsm: true, printSource: true)]
public class Benchmark
{
    [Benchmark]
    public void For()
    {
        int a = 0;
        for (var i = 0; i < int.MaxValue; i++)
        {
            a++;
        }
    }

    [Benchmark]
    public void EmptyFor()
    {
        int a = 0;
        for (var i = 0; i < int.MaxValue; i++)
        {
        }
    }
}

My results:
BenchmarkDotNet=v0.10.14, OS=Windows 10.0.17134
Intel Core i5-2300 CPU 2.80GHz (Sandy Bridge), 1 CPU, 4 logical and 4 physical cores
Frequency=2727543 Hz, Resolution=366.6303 ns, Timer=TSC
.NET Core SDK=3.0.100-alpha1-20180720-2
  [Host]     : .NET Core ? (CoreCLR 4.6.26614.01, CoreFX 4.6.26614.01), 64bit RyuJIT
  DefaultJob : .NET Core 2.0.9 (CoreCLR 4.6.26614.01, CoreFX 4.6.26614.01), 64bit RyuJIT

Method
Mean
Error
StdDev

For
988.1 ms
19.36 ms
31.27 ms

EmptyFor
923.7 ms
13.81 ms
11.53 ms

Disassembly of the loop in For:
M00_L00:
  inc     eax
  inc     edx
  cmp     edx,7FFFFFFFh
  jl      M00_L00

In EmptyFor:
M00_L00:
  inc     eax
  cmp     eax,7FFFFFFFh
  jl      M00_L00

So, empty for is faster than non-empty for and disassembly is pretty much a straightforward translation of the code in both cases.
Without further evidence, I'd say there isn't an issue here.


[release-1.3] Fix broken link to docs

This is an automated cherry-pick of #16351

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test integ-new-install-k8s-presubmit-tests-release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test integ-new-install-k8s-presubmit-tests-release-1.3

istio-pilot-e2e-envoyv2-v1alpha3-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test istio-pilot-e2e-envoyv2-v1alpha3-release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test integ-new-install-k8s-presubmit-tests-release-1.3

istio-pilot-e2e-envoyv2-v1alpha3-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test istio-pilot-e2e-envoyv2-v1alpha3-release-1.3

integ-security-k8s-presubmit-tests-release-1.3
98faecf9855afe7f5d482ef6cf87ef1a8d15d4e8
link
/test integ-security-k8s-presubmit-tests-release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


The --rate and --bandwidth did not work with --list-of-ips-file

When I specify  `--list-of-ips-file` to scan an amount of IPs with --rate <rate>, while zmap couldn't send packet in the rate. neither with `--bandwidth`. I wonder if `--list-of-ips-file` could work with the speed parameters (`--rate` or `--bandwidth`) ?

Can you provide the command you ran and verify that you were on the most recent commit of master?
I don't see a reason --list-of-ips-file would have an effect on --rate and --bandwidth, however we have been tweaking --rate and --bandwidth so a bug in there is not uncommon.

Any suggestions on using the --rate and --bandwidth options with -I ?

I thought this was going to be fixed by #513, but it wasn't. I've dug into the code, and figured out what's happening. A few things are interacting:

Since -I using a paged bitmap, we need to iterate over a cyclic group large enough to cover the full size of the bitmap. This includes the "blocked" addresses that we would have scanned if -I wasn't set. This is because we need to check each element of the group against the bitmap to see if it is allowed to be sent. This effectively means we always loop through 4 billion targets, even if only a small number are provided.
Debugging the rate limiting, it actually approaches a delay of zero, meaning that the rate limiting code effectively turns itself off for -I with small inputs. Nearly all of the send loop is spent simply iterating over the cyclic group and throwing out most IPs are not being on the list.

I tried adjusting our group selection to be based on the number of targets in -I. Unfortunately, that results in nearly all of the addresses on a small input not being scanned at all, since with a small group, the chance of actually iterating over something in the bitmap that's allowed is extremely small.
The fundamental issue is that our bitmap is not at all aligned with our cyclic groups. There's probably another bug here as well, where if you have a sufficiently large blocklist, -I won't even send to all of the inputs (if we select a group smaller than 2^32).
@zakird I suspect there's some way we could tweak the pbm to be sized the same as the group to fix this problem? Does this make sense to you?

I suspect this isn't worth it. If you have a small number of IPs to use, then use whitelist. If you have millions to billions of IPs to scan, then use PBM-based approach. This really only exists for the use-case when you have a huge number of random IPs you need to scan. We could figure out where this threshold is and document it, but I don't think it's worth developing new code for, compared to the other issues pending.

Addressed to the best of our ability in #622


Improve quick starter file server

This improves the nfs file server with an apache http server.

This change is

/lgtm
/approve


move the kibana dashboard file to template directory - [closed]

In GitLab by @tmon546596046 on Apr 26, 2018, 03:10
Merges showlabel -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:51
closed


Add new HTTP status code 451

Unavailable For Legal Reasons (RFC 7725)
A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource. The code 451 was chosen as a reference to the novel Fahrenheit 451.

See https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_errors for more info.

Please add a line to changelog and I'll merge it.

Merged. Thank you!

Update CHANGELOG.md done.  :sunglasses:


Swaleside-slot-update

Description
<Swaleside prison Christmas period slot update - Zendesk ref https://ministryofjustice.zendesk.com/agent/tickets/192935.>
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Prison details update (e.g. slot updates)

Checklist:

[x] My commit message follows the GDS git style standards we have adopted.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the deployment repo accordingly.
[ ] I have added tests to cover my changes.

This PR deletes the Swaleside yaml file, which isn't something that we want to do and is clearly an error; therefore I am closing this to avoid any confusion/issues


CB-6791 Null status should not be set on DB Stack.

CB-6791 Null status should not be set on DB Stack.

retest this please


Issue in 64 bit version of Office :

I tried this solution on office 2013 : 64 bit version and It got crashed. This solution is working on Office 2013 : 32 bit version.
The point where it crashed is :
retval = HeapWalk(ProcessHeaps, PHE)
Could you please let me know why is this crashed? I tried to debug it but Office suddenly stopped working and could not do it.

The code needs converting to be x64 compatible.

I have added one change ( converted Long to LontPtr) to make it run for 64 bit office version. I am facing one issue :
If ReadBuffer = &H49534D41 : This condition is never going to true. Could you please let me know in more detail to debug this issue? Also is there any reference link where I can see how to debug this?
PROCESS_HEAP_ENTRY and Dim ProcessHeaps As LongPtr
Private Type PROCESS_HEAP_ENTRY
lpData              As LongPtr
cbData              As LongPtr
cbOverhead          As Byte
iRegionIndex        As Byte
wFlags              As Integer
dwCommittedSize     As LongPtr
dwUnCommittedSize   As LongPtr
lpFirstBlock        As LongPtr
lpLastBlock         As LongPtr
End Type

I've just added an x64 compatible version.


After calico-node is started, the node continues to be in NetworkUnavailable state

Expected Behavior
After calico-node starts, NetworkUnavailable returns to false
Current Behavior

After calico-node is stopped, NetworkUnavailable is set to false
When calico-node started, calling the apiserer timed out, and no update was successful after 30 seconds. calico-node swallowed the exception and stopped updating.
Container network pod cannot be deployed on the node

Possible Solution
if os.Getenv("CALICO_NETWORKING_BACKEND") != "none" {
		if clientset != nil {
			err := utils.SetNodeNetworkUnavailableCondition(*clientset, k8sNodeName, false, 30*time.Second)
			if err != nil {
				log.WithError(err).Error("Unable to set NetworkUnavailable to False")
                                // FIXME: Is it more appropriate to call utils.Terminate() here ?
			}
		}
	}

Steps to Reproduce (for bugs)

Stop calico-node
Constructing apiserver exception when starting calico-node

Context
Your Environment

Calico version 3.25.2

Yeah, seems like we need to restart if we fail to update the condition after a certain amount of time.

Yeah, seems like we need to restart if we fail to update the condition after a certain amount of time.

Thank you very much for your reply

Let's call utils.Terminate() here, calico-node can exit with code 1, so it will be restarted. I can help with this.


Dynamic Concurrency [BC Break]

This change switches from Gruntconfig.json-based Drush make concurrency to something dynamic. It leverages the safe concurrency algorithm from the grunt-concurrent plugin and injects that into the assembly of the make parameters.
In case someone doesn't like the default, it also allows manually specifying --concurrency=# in the command-line invocation to override. Along the way I went ahead and added flag documentation to the README.
BC Break: I couldn't find a graceful way to allow the Gruntconfig to retain override capability over this parameter, but given the sensitivity of this functionality across environments it struck me as probably not as useful as having the CLI option anyway.
Couldn't easily run the new test, so letting Travis report on it.
Fixes #103

@grayside, this looks good. Could you resolve the merge conflict?


React.createElement: type is invalid

Line 150:
renderCategoryInput () {
    return (
      <VerticalSelect
        options={CATEGORIES}
        extractText={(option) => option.name}
        onSelection={this.finalizeProductUpload.bind(this)}
      />
    )
  }

Care to give more context ? Versions, the way you import the lib.

This is my environment, sorry:

Platform: iPhone 6 Simulator, iOS 10.3
macOS Sierra 10.12.5
XCode 8.3.2
react-native-cli: 2.0.1
react-native: 0.45.1

As for how I'm importing the library, I was trying to use the VerticalSegmentcomponent.
Then I realized that such component does not exist - am i right? - , but the docs somehow suggest otherwise. :)
I also got into #87.
I guess this can be closed.


Issue using devices.sls from web site guide.

{%- for device in pillar.devices %}
Startup the Proxy for {{ device }}:
service.running:
- name: salt-proxy@{{ device }}
{%- endfor %}
does not work when using a proxy minion running centos 6.  How would you recommend starting all minions that are either on windows or centos 6?

Do you get any error messages ?
I think the Jinja syntax is fine , but without any error messages it's hard to troubleshoot your problem.

remoreminion:
      ID: Startup the Proxy for cisco
Function: service.running
    Name: salt-proxy@ciscoswitch
  Result: False
 Comment: The named service salt-proxy@cisco is not available
 Started: 10:06:03.522028
Duration: 15.932 ms
 Changes:

Summary for remoteminion
Succeeded: 0
Failed:    1
Total states run:     1
Total run time:  15.932 ms

Can you run the command with -l debug ?


fix: Use only the defined default capacity provider strategies.

Description
An ECS Cluster can have up to 4 default capacity provider strategies. The previous logic would add every capacity provider defined for either EC2 or Fargate. Update the logic to only set a default strategy if the capacity provider sets the default_capacity_provider_strategy map.
Motivation and Context
When using > 4 EC2 ASGs, the module fails due to generating too many default capacity provider strategy rules. Additionally, there can be capacity providers one wouldn't want in the default strategy for a cluster.
Breaking Changes

Only breaks if default_capacity_provider_strategy isn't being set on at least one of the entries in the autoscaling_capacity_providers or fargate_capacity_providers maps.
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

please start with an issue and a reproduction - its not clear what the issue is that we are trying to solve for (if there is in fact an issue)


Add support for Rails/ActiveSupport 7.1

This PR add support for Rails/ActiveSupport 7.1

Any word on when this will be released? This was merged a while ago.

good point, thanks for the reminder. I'll get a release out in the next couple of days.

I forget out it too haha

@Floppy, do you have an updated timeframe for when the release will happen?

v1.4.0 is released now 👍🏻

Hey folks, this seems to have caused a regression on my machine whereby https://github.com/Data-Liberation-Front/csvlint.rb/issues/229 resurfaces when using the gem standalone on Ruby 3.3.


Update readme

Could you put some of your vignette into the readme so that someone visiting your page can see what it does and how it works? Also you could add Travis and CodeCov badges

Yep can do. Have set travis up but it won't pass because of dependencies of dependencies - it's actually really annoying

It does pass r cmd check

You might need to tell Travis to install the dependencies before you start the tests, I seem to remember having to do this with another package

See lines 8-35 here https://github.com/zoonproject/zoon/blob/master/.travis.yml

Will try this cheers. Vignette now in the readme

Jeeez, that was fast!


Fix second argument on the command line to fix error on special character

If type python manage.py dr_scaffold blog Article: title:char body:text
type : before or after model name
This generate
class Article:(models.Model):
    title = models.CharField(max_length=255, null=True, blank=True)
    body = models.TextField(null=True, blank=True)
    create_date = models.DateTimeField(auto_now_add=True)

    class Meta:
        verbose_name_plural = "Lorem:s"

Article with two points.
Suggestion
Address this in the argument on command line.

@rg3915 sorry, I'm a bit new to Python/Django world but why would you need to add a colon in the model name, is there any use case for that?

@Abdenasser No. I meant that if the person types accidentally, this character should be removed.
I typed it accidentally and generated a lot of errors.


Clone into mold/.clones

Nested deps are still structured nested. Next step is to
clone those all at the top level

Merged via rebase


Keras Community Day Sub-Saharan Africa

Tell us a bit about the event.
Join  GDG Lagos & Google as we celebrate the power of Keras, foster connections within the ML community, and empower each other to create transformative solutions. Let's shape the future of AI together at Keras Community Day! 🌟
Share a link to the event below
Here's the link
What category does this event fall?
ML, AI, Online

yes thats the category

do you want me to come up with the API demo and also the table data in the ReadMe

I think you're commenting on a wrong a issue @PrimeFord

i don't grab

Apologies! I thought you were referring to the search implementation issue.
To attempt this issue, I don't think you need to come with an API demo, all you'd to do is just edit the table.
In your case, it'll be the table in the online category.

done boss

Fixed via this commit


[plot] Remove margin and axes

Damien and i are using this hack bellow to avoid to lose spaces with the plot.
It would be nice to have an API to be able to

hide axes
custom or remove margin around

        if isinstance(plot._backend, silx.gui.plot.BackendMatplotlib.BackendMatplotlib):
            # hide axes and viewbox rect
            plot._backend.ax.set_axis_off()
            plot._backend.ax2.set_axis_off()
            # remove external margins
            plot._backend.ax.set_position([0, 0, 1, 1])
            plot._backend.ax2.set_position([0, 0, 1, 1])

We can use this API
   def setAxesVisible(isVisible)
   def isAxesVisible()

This functions have to be checked to be sure there is no problems.
    def dataToPixel(self, x, y, axis):
    def pixelToData(self, x, y, axis, check):
    def getPlotBoundsInPixels(self):

Let's go for a single entry-point from the plot

setAxesVisible(True/False)

I finally choose setAxesDisplayed to have the same behaviour of HTML visible/display. visible=False is like transparent, the object is still there with a box, while display=none remove the object from the layout.
Here we want to hide the axes, and to remove them from the layout, like display=none


Improve documentation

Description of feature
There are some details that are not specified anywhere ( e.g. we do not use all structure for 3dcoffee if not found etc) - this should be documented somewhere :)

It would also be nice to have a pointer on how to download the local databases, or at least the format they have to be in.
We may have to provide a reduced version at least for some testing?


How to set Hardware Concurrency from the Kameleo API?

What would be the proper code syntax form to set the Hardware Concurrency for a profile from the Kameleo API?
Also, could your provide some example code?

Here is an example that you can use to set the Hardware Concurrency for a profile through the API:
const createProfileRequest = BuilderForCreateProfile
  .forBaseProfile(chromeBaseProfileList[0].id)
  .setRecommendedDefaults()
  .setHardwareConcurrency('manual', 8) # Valid values: 1, 2, 4, 8, 12, 16.
  .build();
const profile = await client.createProfile({ body: createProfileRequest });

These answers are provided from the Kameleo Set Hardware Concurrency from API article.


Tests in test_upload are prompting for password

Running the tests on master, I get to test_upload and it starts prompting for a password:
setuptools/tests/test_upload.py Password: Password: F......ERROR: KEYBOARDINTERRUPT

I had to hit Ctrl+C a few times to eventually get out of the process.

When I put a pdb break at the point of the prompt, here's the stack:
  /Users/jaraco/code/main/setuptools/.tox/python/bin/pytest(11)<module>()
-> sys.exit(main())
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/config/__init__.py(77)main()
-> return config.hook.pytest_cmdline_main(config=config)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/hooks.py(284)__call__()
-> return self._hookexec(self, self.get_hookimpls(), kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(67)_hookexec()
-> return self._inner_hookexec(hook, methods, kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(61)<lambda>()
-> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/callers.py(187)_multicall()
-> res = hook_impl.function(*args)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/main.py(218)pytest_cmdline_main()
-> return wrap_session(config, _main)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/main.py(185)wrap_session()
-> session.exitstatus = doit(config, session) or 0
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/main.py(225)_main()
-> config.hook.pytest_runtestloop(session=session)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/hooks.py(284)__call__()
-> return self._hookexec(self, self.get_hookimpls(), kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(67)_hookexec()
-> return self._inner_hookexec(hook, methods, kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(61)<lambda>()
-> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/callers.py(187)_multicall()
-> res = hook_impl.function(*args)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/main.py(246)pytest_runtestloop()
-> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/hooks.py(284)__call__()
-> return self._hookexec(self, self.get_hookimpls(), kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(67)_hookexec()
-> return self._inner_hookexec(hook, methods, kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(61)<lambda>()
-> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/callers.py(187)_multicall()
-> res = hook_impl.function(*args)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(76)pytest_runtest_protocol()
-> runtestprotocol(item, nextitem=nextitem)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(91)runtestprotocol()
-> reports.append(call_and_report(item, "call", log))
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(171)call_and_report()
-> call = call_runtest_hook(item, when, **kwds)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(195)call_runtest_hook()
-> treat_keyboard_interrupt_as_exception=item.config.getvalue("usepdb"),
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(211)__init__()
-> self.result = func()
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(193)<lambda>()
-> lambda: ihook(item=item, **kwds),
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/hooks.py(284)__call__()
-> return self._hookexec(self, self.get_hookimpls(), kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(67)_hookexec()
-> return self._inner_hookexec(hook, methods, kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(61)<lambda>()
-> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/callers.py(187)_multicall()
-> res = hook_impl.function(*args)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/runner.py(121)pytest_runtest_call()
-> item.runtest()
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/python.py(1438)runtest()
-> self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/hooks.py(284)__call__()
-> return self._hookexec(self, self.get_hookimpls(), kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(67)_hookexec()
-> return self._inner_hookexec(hook, methods, kwargs)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/manager.py(61)<lambda>()
-> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/pluggy/callers.py(187)_multicall()
-> res = hook_impl.function(*args)
  /Users/jaraco/code/main/setuptools/.tox/python/lib/python3.7/site-packages/_pytest/python.py(166)pytest_pyfunc_call()
-> testfunction(**testargs)
  /Users/jaraco/code/main/setuptools/setuptools/tests/test_upload.py(88)test_upload_metadata()
-> cmd.ensure_finalized()
  /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py(107)ensure_finalized()
-> self.finalize_options()
  /Users/jaraco/code/main/setuptools/setuptools/command/upload.py(45)finalize_options()
-> self._prompt_for_password()
> /Users/jaraco/code/main/setuptools/setuptools/command/upload.py(194)_prompt_for_password()
-> try:

The issue doesn't occur with v40.5.0. With v40.6.0, I'm not prompted but the tests hang, probably prompting invisibly.

The issue is introduced in #1576.

No big surprise there as that's the origin of these tests. I suspect the reason the tests are passing in other environments is because those environments have a 'password' defined in the .pypirc. I do not. This ticket probably relates to another where we're seeking to have proper test isolation from the home directory (#1428).

I see that the code is attempting to set the username and password on the upload command... so why is that code path being hit?

Okay. I think I know the issue now. I have a .pypirc defined in my environment with no passwords:
[distutils]
index-servers =
    pypi
    devpi

[pypi]
repository: https://upload.pypi.org/legacy/
username: jaraco

[devpi]
repository: https://m.devpi.net/jaraco/dev/
username: jaraco

And when the tests run, although the patched_upload fixture attempts to assign a username/password to the command, those attributes get overridden when cmd.finalize_options() is called, because the distutils finalize_options unconditionnally overwrites those values if a .pypirc is present.

I wonder if the best solution here is for me to delete my .pypirc. Yes, that seems to have worked.
And given that the upload command is deprecated, I wonder if I need that pypirc at all... I only need to set my TWINE_USERNAME as an environment variable. Let's go with that as the solution for now.

This is still a problem, can we reopen this?

@asottile It's been >6 months since we deprecated upload, I think we can probably just make a release where setup.py upload raises an exception.

sg2m -- that solves this too :D -- I can do that if you'd like


Converting an image from net.rithms.riot.api.endpoints.static_data.dto.Image to java.awt.image

Good evening.
I state I'm not an espert developer and I have a basic knowledge about Image class.
After some research I didn't find a way to convert an image received from Champion or ChampionSpell class through getImage() method or from Spell class. Is it possible? I'm actually doing a projext for school that describe champion's features and I would set these images in some labels. Is using Data Dragon the only way to get a "normal" image (jpg,png,etc.)?
Thanks everyone for help :D

It's been awhile since I've looked at this api but if I remember correctly, you have to download all the images from riot directly in a zip file. The fields from the image class correspond to the image properties.

ah ok, thank you! Do you know the link to download all images?

https://developer.riotgames.com/static-data.html

Hi @GazzLightyear,
The image field names correspond to image resources found on DDragon. You can either use the CDN to access these images, as described in the documentation @laazer provided, or alternatively download a tar ball with all the image files and include them in your project. The tar ball can be found [here].(https://ddragon.leagueoflegends.com/cdn/dragontail-8.3.1.tgz).

Thank you!!! This is a very good news :D now I can finally finish my
project. Thank you again ;D
Il ven 16 feb 2018 23:13 Taylor Caldwell<EMAIL_ADDRESS>ha
scritto:

Hi @GazzLightyear https://github.com/gazzlightyear,
The image field names correspond to image resources found on DDragon. You
can either use the CDN to access these images, as described in the
documentation https://developer.riotgames.com/static-data.html @laazer
https://github.com/laazer provided, or alternatively download a tar
ball with all the image files and include them in your project. The tar
ball can be found [here].(
https://ddragon.leagueoflegends.com/cdn/dragontail-8.3.1.tgz).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/taycaldwell/riot-api-java/issues/125#issuecomment-366373805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgBB9tGpNP7rEO8Z_KyQ3JD2q9YqoFoRks5tVf2agaJpZM4SHTjk
.

No problem. Stay gucci.


Expression 'publishPlugin' cannot be invoked as a function [Kotlin DSL]

plugins {
    idea
    java
    kotlin("jvm") version "1.4.32"
    id("org.jetbrains.intellij") version "0.7.3"
}

val ideVersion = "2021.1.1"

repositories {
    mavenCentral()
}

intellij {
    version = ideVersion
    //updateSinceUntilBuild = false
    setPlugins("java", "properties", "Kotlin")
}

publishPlugin {} // error

it should be tasks.publishPlugin. Please see the docs here: https://docs.gradle.org/current/userguide/kotlin_dsl.html

I got the issue wrong, you use it from groovy, reopening

I rely on the documentation: https://github.com/JetBrains/gradle-intellij-plugin#buildgradlekts

thanks, I'll fix it


Ability to send to a group chat?

Hi, Does this have the ability to send to a group chat?

just found out this doesn't work, I also want to send messages to group chats.


Ignore unknown binder types if not used

Fix #972
Do not throw an error when binder configurations are
processed, unless a binder configuration that references
an unknown binder type (i.e. not found on the classpath)
is actually used by an application.
This allows supporting scenarios like
http://docs.spring.io/spring-cloud-dataflow/docs/1.2.0.RELEASE/reference/htmlsingle/#dataflow-multiple-brokers
where a set of binder configurations is passed to a number
of applications that might or might not have a specific
binder type on the classpath. If a specific binder configuration
is not used by the application, it can be ignored.
Backport to 1.2.x branch.

LGTM - polished & squashed the changes.
Cherry picked to 1.2.x


Fixing integer ids

Pull Request Test Coverage Report for Build edd915fd96f48a43d9845a6e16cd7450e88e6056-PR-4

6 of 9 (66.67%)  changed or added relevant lines in 3 files are covered.
12 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-2.3%) to 65.805%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ravix_ecto/adapter.ex
4
5
80.0%

lib/ravix_ecto/schema.ex
2
3
66.67%

test/support/schemas.ex
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

test/support/types.ex
3
0%

lib/ravix_ecto/parsers/conversions.ex
4
39.62%

lib/ravix_ecto/adapter.ex
5
54.1%

Totals

Change from base Build bd4555d7f18187bcdae5691cf9ed7215f7fa6df0:
-2.3%

Covered Lines:
331

Relevant Lines:
503

💛  - Coveralls


fix install scheme for pypy3.8+

Fix #56, continuation of #51
The install scheme in commands/install.py must agree with the scheme in distutils/sysconfig.py. It would be nice to refactor this to get the scheme from the stdlib sysconfig.py like in #23.

Ahh, #58 is better. Closing


Textlayer is not rendered correctly when the pdf rotates

I fixed this in my latest fork,
you will need to import the CSS from pdfjs-dist


Adding statsd dependency and exporting some stats

Exporting some counters from Synapse in order to track critical things like restarts and whatnot.
Reviewers: @lap1817 @alexism

PTAL @lap1817

cc: @darnaut

LGTM. with a minor comment of adding one more metric on watchers that are watching a particular service


Exclude build and .cache folders in VSC search tool

I am not sure if this should be a workspace setting   🤔  I would add it as one of the user settings


[FIX] syntax errors in conda profile

Hey there :wave:,
After some reading i found errors on my lastest work (#8), the conda profile has syntax mistakes like: withName= instead of withName: and container= instead of conda=, so i took some time to fix then and raise a PR with the solution for them!
Thank you for your attention, I'm here to listen to all considerations and to proceed with and requested change!
Kindly, Davi

Thanks for the efforts Davi, fortunately this pipeline has had a major update today since we switched to the nf-core template therefore we simply will rely upon the nf-core setup moving forward.


JAV-416 expose and publish metrics using servo

Rebase to latest master, process Conflicts:RestProducerInvocation and fix unit test
Signed-off-by: zhengyangyong<EMAIL_ADDRESS>

Changes Unknown when pulling 25f3c428d7f53ca0c80ee8194af19bfd45c6555a on zhengyangyong:JAV-416 into ** on ServiceComb:master**.


debugger statement in the code

The is debugger statement in
https://github.com/spotify/redux-location-state/blob/master/src/createReduxLocationActions.js#L39

@joshbDev @palmerj3  please look on this.

👍 😃


Microsoft Exchange Logs and Events - [Option 6] Message Tracking of Exchange Servers step is broken

Describe the bug
In step 6 of the Microsoft Exchange Logs and Events connector, [Option 6] Message Tracking of Exchange Servers, when selecting the "Data Collection Rules - When Azure Monitor Agent is used" option and proceeding with "Option 2 - Manual Deployment of Azure Automation," a semantic error occurs when trying to add the transform KQL in the "C. Modify the created DCR, Type Custom log" step. For the same reason, the ARM Template option also cannot be deployed.
To Reproduce
Steps to reproduce the behavior:

Go to 'Microsoft Exchange Logs and Events connector -> [Option 6] Message Tracking of Exchange Servers -> Option 2 - Manual Deployment of Azure Automation -> Complete step A and B -> Try to C. Modify the created DCR, Type Custom log'
Try to 'The 4. step of C.Modify the Created DCR says go to created DCR and In Data Sources, add a Data Source type 'Custom Text logs' and enter 'C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking*.log' in file pattern, 'MessageTrackingLog_CL' in Table Name. 6.in Transform field, enter the following KQL request : (enter the given kql in connector) then try to save DCR'
And you will see the error after trying to save DCR.

Expected behavior
The provided kql must be change. And saving DCR step should be successful.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @samet-ibis, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 05-06-2024. Thanks!

Hi @samet-ibis,
Working on replicating the issue, will update you.
Thanks

Hi @samet-ibis,
Please share the kql query which you entered in transform field.

Thanks

Hi @samet-ibis,
Please work on above comment.
Thanks

Hi @samet-ibis , Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 24-06-2024 date, we will be closing this issue.
Thanks!

Hi @samet-ibis, since we have not received a response from you, we are closing this issue as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


Bump nix to 0.25.0

Update the nix dependency to 0.25.0 since this is a “major” 0.x version bump. This also pushes MSRV to 1.56.1 (per nix README), so specify that in the Cargo.toml.
Drive-by changes: remove a semi-colon that rustc was warning about becoming a hard error in future versions. This also reformatted the file.

Thanks for this! I split off the drive-by stuff, and addressed some of it in a different way, which caused merge conflicts.
These changes are all now implemented and published in v0.9.0, so I think we can close this out.


fix: jsdoc could not recognizing Promise<[*]>

Description
This pull request changes the following:

Apparently JSDoc could not parse "Promise<[*]>"

Related Issues

Closes #268

:tada: This PR is included in version 0.25.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Suggestion: Changes to alleviate quirks with current generation system

After going through the configs and source code of this mod, I saw that a lot of things I'd want to use this mod for aren't possible with the current system. Correct me if I'm wrong but from what I can see:

You cannot make a vein spawn in 100% of chunks in a biome/dimension due to the generationChance config not allowing values below 1.
Increasing the weight of a vein that only spawns in 1 biome and 1 dimension will decrease the current spawn rate of all other veins in all other biomes and dimensions, and decrease the highest possible spawn rate of those veins.
There's no way to force a chunk to contain a vein, for the purpose of adventure maps or similar (if the above two weren't true then you could just add biomes with biometweaker and make certain veins exist in 100% of chunks in that biome)

Suggestions of changes that could allow these:

Giving each vein a chance to spawn instead of weight and a priority, with higher priorities overriding lower priority veins.
Giving each vein a chance to spawn instead of weight and allowing multiple veins per chunk.
Generating a weighted list for each biome loaded instead of one for everything, allowing generationChance to be set to zero and overridden for each. Could instead just make one of those lists when there's something that would modify that list and just default to the original otherwise. This may allow the best backwards compatibility of all of these since in existing worlds each weighted list would be the same as the old one.
#12, with biome being a possible recipe modifier, and allowing generationChance to be set to zero.

Added a /coe setvein command in the latest release.
I will rewrite the ore vein generation system for the next minecraft version (1.20), it will make the veins and extracting recipes separate.


Update to symfony3.3

Upgrading the minor version went smoothly. I also fixed a yaml deprecation inside the TestFixtures.
We should thouroughly observe the issues regarding phpunit and its reliance on its own dependencies like the YAML parser. I'd recommend to sidestep the hassle by using phpunit-bridge with symfony projects for the time being albeit PhpUnit is working on a solution.
Webpack config needed some work. Bower is regarding itself as obsolete. Which makes me think that we should have deeper look into webpack 2 and a correct configuration with regards to future projects as well.
Right now its rather a webpack 1 config which works thanks to BC promises.
Merging the regression branch is better kept in an issue of its own.

got a "4761 Segmentation fault" on travis with php 5.6 environment.
Not sure what caused this. Maybe calling the required phpunit with is not allowed to write a coverage file.

Like statet in https://github.com/knutschsoft/swapp/issues/54#issuecomment-319656627 we will use webpack encore so you don't need to investigate in right now.
We also will replace bower and npm by yarn and go for material design (maybe based on bootstrap).
hhvm support can be dropped.
phpunit-bridge and update to phpunit 5 is also fine.
Please update also Swiftmailer and bootstrap.

Upgrading swiftmailer-bundle to 2.6 was not sufficient as it still uses swiftmailer 5.
The newest version has a dependency to php7. So i guess we have to live with the security flaw while supporting php 5.6.


After kill app background Service not working (Android - 4.4.0)

Hi,
App kill and service track location in background close. please help me how to handle .
i need service active after app kill .
Thanks

It's possible but I have no time to implement this any time in near future,
sorry.
Feel free to implement it yourself and send me a PR.
On Thursday, January 29, 2015, Lokesh Patel<EMAIL_ADDRESS>wrote:

Hi,
App kill then background service track location close. please help me how
to handle .
i need service active after app kill .
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/140
.

--
Snet from Gmail Mobile

add a startService call at the end of onDestroy as shown below.
@Override
public void onDestroy() {
Log.w(LOG_TAG, "------------------------------------------ Destroyed Location update Service");
cleanUp();
super.onDestroy();
startService(new Intent(this, LocationUpdateService.class)); // add this line
}
But, watch out for null-pointer exceptions as you are not passing any extra data through intent.
What I did was hard-code the data passed by intent in 'onStartCommand'

Do you really think this is wise?
Have you thought of the implications of this?
What if the user actually wishes to destroy the service because it's
killing their battery -- you're just going to start it up again?
On Monday, February 16, 2015, samrat-shekhar<EMAIL_ADDRESS>wrote:

add a startService call at the end of onDestroy as shown below.
@Override https://github.com/Override
public void onDestroy() {
Log.w(LOG_TAG, "------------------------------------------ Destroyed
Location update Service");
cleanUp();
super.onDestroy();
startService(new Intent(this, LocationUpdateService.class)); // add this
line
}
But, watch out for null-pointer exceptions as you are not passing any
extra data through intent.
What I did was hard-code the data passed by intent in 'onStartCommand'
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/140#issuecomment-74494631
.

--
Snet from Gmail Mobile

I agree. But the above tweaking depends on your desperation ;)
My use case is to track the user no matter what as long he is logged in to my app.
The re-starting of the service is governed by user-defaults which indicates whether the user is logged-in or not.
So, once the user loges out, the service can then be killed.

How is this implemented on other apps?
Shouldn't the background service be independent from the app itself?

1 for this feature too. Maybe even better is to schedule the service to run once every hour

(It also stops working when restarting of course)

Android has been refactored.

plugin no longer handles http; calls js callback (just like ios)
much improved battery efficiency.
no more foreground service

http://christocracy.github.io/cordova-background-geolocation/

Hi,
I want code for make a service, it's run in background even app kill or forcefully closed.
Thaks
Ashish

Yes, that’s what this plugin does.