SyntaxError: Non-ASCII character '\xf0

whenever I turn on the bot this error could help me?

send your $settings if it's premium there issues transcribing but send me the picture of the error so I can determine where in the code it is crashing
Sent from my iPhone

On Jun 27, 2021, at 4:10 PM, Lucas-topper @.***> wrote:

whenever I turn on the bot this error could help me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

could you send me your discord? over there it's better to talk about it.

Currently only have my personal discord set up and I don't really check on it much so I would respond quicker here
Sent from my iPhone

On Jun 27, 2021, at 5:15 PM, Lucas-topper @.***> wrote:

could you send me your discord? over there it's better to talk about it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

oh ok this is the error

made some changes which should force the interpreter to read it in unicode instead of asc-II so redownload the repo and try again

I just cloned the repository and changed the config.json, that was the only change I made to the code.

Same error ? And are you using Windows or Linux ?
Sent from my iPhone

On Jun 27, 2021, at 8:07 PM, Lucas-topper @.***> wrote:

I just cloned the repository and changed the config.json, that was the only change I made to the code.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

i'm trying on the glitch site to host the selfbot, they use the Debian system (The Linux distro)

Ah yes so there a thing that won't write to file because it's code for windows
I was gonna implement the change to support Linux
Basically
Channaldata/file Is windows
Channeldata\file is Linux
Sent from my iPhone

On Jun 27, 2021, at 9:00 PM, Lucas-topper @.***> wrote:

i'm trying on the glitch site to host the selfbot, they use the Debian system (The Linux distro)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

also forgot to mention, i tried running the code on my linux and the error is the same.

Yeah basically currently implementation is write for a windows file structure didn't write it for Linux since no one asked but I can quickly implement a fix but it's still giving the same asc II error ? Or is it a different error
Sent from my iPhone

On Jun 27, 2021, at 9:07 PM, Lucas-topper @.***> wrote:

also forgot to mention, i tried running the code on my linux and the error is the same.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Added support for linux Filesystems now try to reclone and run it now and tell me if there are errors

@Lucas-topper just checking in to make sure you tried to run it ?

I saw this message now, I'm going to clone the repository again and test it. and yes I ran it several times and the error was always the same.

now gave this error: (I think it's just a configuration error not a problem with the system)

well this error is a python error I think you are using a older version of python and the
F is a format string and older versions of python doesnt support that so what python version are u running ?  the minimum requirments are python 3.6+

i upgraded to python 3.6 and gave this error

On the read me there should be a site paste you setting_json into the textbox and it should validate your json
Sent from my iPhone

On Jun 28, 2021, at 6:11 PM, Lucas-topper @.***> wrote:

i upgraded to python 3.6 and gave this error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Issue still persist ?

now I managed to run without any error, however the selfbot that is my secondary account does not go online and also does not Rolling / claim.

yes the problem continues even after validating the json.

and the settings.json is in the same folder as the bot ?

is it the same json load error ?

yes, the settings are in the same folder as the main code file and the error is the same.

Can you post your Json file and let me see if there any issues
Keep in mind to blur out ur user token B4 posting
Sent from my iPhone

On Jun 29, 2021, at 7:15 AM, Lucas-topper @.***> wrote:

yes, the settings are in the same folder as the main code file and the error is the same.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

{
"token":"o",
"channel_ids":[
854166713704644629,
854166713704644629,
854166713704644629
],
"claim_delay":3,
"kak_delay":4,
"use_emoji":"<:gadani:750702893212106843>",
"roll_this":"wa",
"rolling":"True",
"pkmrolling":"false",
"series_list":[
"Jujutsu Kaisen",
"Hunter × Hunter"
],
"namelist":[
"killua Zoldyck"
],
"emoji_list":[
"kakera",
"kakeraT",
"kakeraG",
"kakeraY",
"kakeraO",
"kakeraR",
"kakeraW",
"kakeraL"
],
"soulemoji_list":[
"kakeraO",
"kakeraR",
"KakeraW",
"KakeraL"
],
"min_kak":500,
"Last_True":"True",
"last_claim_min":10,
"min_kak_last_min":30
}"min"": 10,
""min_kak_last_min""": 30
}"}
este é o meu json depois de validado

it is saying its invalid ??
did it say it was valid for you ?

so unless this is a copy paste error that is your problem. just fix the errors in your json file

yes, it said it was valid when I put it there

Well I copy and pasted the one you posted and it’s saying it’s invalid
Just remove the ones in red and you should be fine
Sent from my iPhone

On Jun 29, 2021, at 4:11 PM, Lucas-topper @.***> wrote:

yes, it said it was valid when I put it there
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I fixed errors in json and started without any error But the terminal is flooding profile information and does not send messages in chat

esse tipo de coisa

You are using an older version of discum you are running version 1.1
The bot needs discum 1.3+
Sent from my iPhone

On Jun 29, 2021, at 4:44 PM, Lucas-topper @.***> wrote:

esse tipo de coisa
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

since this is falling down the path of being a python enviroment issue or a Discum specific issue. I will be closing this issue soon as stated in my readme I'm no longer gonna offer support for discum issues as there is a whole other dev team that handles that.
If there is anymore questions about the bot itself feel free to ask as if not I will be closing this issue in a couple of hours

https://github.com/Merubokkusu/Discord-S.C.U.M
please refer to the discum repo

alright since this issue has been moved over into discum territory I will be closing this issue if there is an issue that is not related to discum I'll glady answer when this issue is reopened

I know i closed this issue but was making sure you were able to read the reply from discum as i see the issue has been answered and you have no replied to them yet

I know this issue was closed but I'll send it right here, after I managed to install discum 1.3 it gave this error when running (this is on my computer and not on vps) File /MudaeAutoBot/MudaeAutoBot.py", line 653, in on_message     for matched_channel in (set(guild['channels'].keys()) & chs): KeyError: 'channels'

basically the program is design in a way that if $settings is not found either
by file , via search , or via the default settings then it get removed from the list hence then it is an "empty"

worked, thank you

Hi, it's been a while since I've been around here, I was wondering if there's a way I can create a file with my wishes because my wish list is over 500 characters and it's going to take a lot of work to put in config.json (I'm doing this for my friend, don't think I'm addicted to the point of wanting 500 wishes)


Brightness stops syncing if you bring the internal display brightness all the way to zero

If you turn the internal display brightness all the way down, then the brightness stops syncing until you relaunch the app.
Otherwise it's working really well for me, thanks for the great app that really should be provided by LG!

@alexspeller Hey, thanks for filling an issue. Apparently I don't have email notifications properly set up otherwise I would have seen it earlier. I can reproduce it easily, I'm off to investigate!

Seems like I already fixed this more than 3 weeks ago in commit ec05d08, but I didn't release it because I didn't actually realize I fixed anything 🤷♂. Fix now released in 1.0.4.


When a line of code is commented out, it still retains its color in our VS Code.

Hi, in Tact-lang, we can commented the line of code using "//" or "/* ....... */". In this case we need optimize the readability there I think. Thank you.

I can't confirm it, maybe some issue with your local color scheme, if no, please reopen and attach more information. Thank you.


RuntimeError: Expected to mark a variable ready only once when using Swin Transformer

Trying to use SWAV to pretrain Swin-Transformers but I am getting this error
RuntimeError: Expected to mark a variable ready only once. This error is caused by one of the following reasons: 1) Use of a module parameter outside the `forward` function. Please make sure model parameters are not shared across multiple concurrent forward-backward passes2) Reused parameters in multiple reentrant backward passes. For example, if you use multiple `checkpoint` functions to wrap the same part of your model, it would result in the same set of parameters been used by different reentrant backward passes multiple times, and hence marking a variable ready multiple times. DDP does not support such use cases yet.3) Incorrect unused parameter detection. The return value of the `forward` function is inspected by the distributed data parallel wrapper to figure out if any of the module's parameters went unused. For unused parameters, DDP would not expect gradients from then. However, if an unused parameter becomes part of the autograd graph at a later point in time (e.g., in a reentrant backward when using `checkpoint`), the gradient will show up unexpectedly. If all parameters in the model participate in the backward pass, you can disable unused parameter detection by passing the keyword argument `find_unused_parameters=False` to `torch.nn.parallel.DistributedDataParallel`.

Entire code for reproduction
import warnings
warnings.filterwarnings("ignore")

from pytorch_lightning.loggers import WandbLogger
from pytorch_lightning import Trainer, seed_everything
from pytorch_lightning.callbacks import ModelCheckpoint

import torch
from torch import nn
import torchvision
import pytorch_lightning as pl

from lightly.data import LightlyDataset
from lightly.data import SwaVCollateFunction
from lightly.loss import SwaVLoss
from lightly.models.modules import SwaVProjectionHead
from lightly.models.modules import SwaVPrototypes

from swin_transformer_v2 import SwinTransformerV2
from swin_transformer_v2 import swin_transformer_v2_t, swin_transformer_v2_s
import torch.utils.model_zoo as model_zoo
import torch

model_urls = {
    'tiny': 'https://github.com/SwinTransformer/storage/releases/download/v2.0.0/swinv2_tiny_patch4_window8_256.pth',
    # 'tiny': 'https://github.com/SwinTransformer/storage/releases/download/v2.0.0/swinv2_tiny_patch4_window16_256.pth',
    'small': 'https://github.com/SwinTransformer/storage/releases/download/v2.0.0/swinv2_small_patch4_window8_256.pth',
}

def swin_transformer_version2(pretrained=False, channels=3, **kwargs):
    version = str(kwargs.pop('version'))
    window_size = kwargs.pop('window_size')
    resolution = kwargs.pop('resolution')

    if version == 'tiny':
        model = swin_transformer_v2_t(
            in_channels=3,
            window_size=8,
            input_resolution=(256, 256),
            sequential_self_attention=False,
            use_checkpoint=pretrained
        )
    else:
        model = swin_transformer_v2_s(
            in_channels=3,
            window_size=8,
            input_resolution=(256, 256),
            sequential_self_attention=False,
            use_checkpoint=pretrained
        )

    if pretrained:
        model.load_state_dict(model_zoo.load_url(model_urls[version], model_dir='.'), strict=False)

    if resolution > 256:
        print(window_size, resolution, version, pretrained)
        model.update_resolution(new_window_size=window_size, new_input_resolution=(resolution, resolution))
    return model

import lightly.data as data
class SwaV(pl.LightningModule):
    def __init__(self):
        super().__init__()
        self.swin_model = swin_transformer_version2(pretrained=True, version='tiny', window_size=8, resolution=256)
        self.avg_pool = torch.nn.AdaptiveAvgPool2d(1)
        self.projection_head = SwaVProjectionHead(768, 512, 128)
        self.prototypes = SwaVPrototypes(128, n_prototypes=512)
        # enable sinkhorn_gather_distributed to gather features from all gpus
        # while running the sinkhorn algorithm in the loss calculation
        self.criterion = SwaVLoss(sinkhorn_gather_distributed=True)

    def forward(self, x):
        x = self.swin_model(x)
        x = self.avg_pool(x[-1])
        x = x.flatten(start_dim=1)
        x = self.projection_head(x)
        x = nn.functional.normalize(x, dim=1, p=2)
        p = self.prototypes(x)
        return p

    def training_step(self, batch, batch_idx):
        self.prototypes.normalize()
        crops, _, _ = batch
        multi_crop_features = [self.forward(x.to(self.device)) for x in crops]
        high_resolution = multi_crop_features[:2]
        low_resolution = multi_crop_features[2:]
        loss = self.criterion(high_resolution, low_resolution)
        log_dict = {"train_loss": loss}

        self.log('train_loss', loss, on_step=True, on_epoch=True, sync_dist=True)
        return {"loss": loss, "log": log_dict}
        # return loss

    def training_epoch_end(self, outputs):
        train_loss = torch.stack([x["loss"] for x in outputs]).mean()
        self.log('train_loss', train_loss, sync_dist=True)

    def configure_optimizers(self):
        optim = torch.optim.Adam(self.parameters(), lr=0.001)
        return optim

def main(args):
    seed_everything(args.seed)

    checkpoint_callback = ModelCheckpoint(
        monitor="train_loss",
        dirpath=f"logs/{args.name}",
        filename=args.project + "-{epoch:02d}-{train_loss:.4f}",
        save_top_k=1,
        mode="min",
        every_n_epochs=5,
    )

    dataset = data.LightlyDataset(input_dir='data2/train')
    collate_fn = SwaVCollateFunction(
        crop_sizes=[256, 256], crop_counts=[2, 6], crop_min_scales=[0.14, 0.05], crop_max_scales=[1.0, 0.14], vf_prob=0.5, rr_prob=0.5,
        gaussian_blur=0.25, cj_strength=0.5, kernel_size=5, normalize={'mean': [0, 0, 0], 'std': [1, 1, 1]}
    )

    dataloader = torch.utils.data.DataLoader(
        dataset,
        batch_size=args.batch,
        collate_fn=collate_fn,
        shuffle=True,
        drop_last=True,
        num_workers=16,
    )

    gpus = torch.cuda.device_count()
    # trainer.fit(model=model, train_dataloaders=dataloader)
    wandb_logger = WandbLogger(project=args.project, name=args.name)

    model = SwaV()

    trainer = Trainer(
        gpus=gpus,
        max_epochs=args.epochs,
        precision=args.precision,
        callbacks=[checkpoint_callback],
        logger=wandb_logger,
        log_every_n_steps=2,
        # strategy='ddp',
        sync_batchnorm=True,
        strategy="ddp_find_unused_parameters_false",
    )

    trainer.fit(model=model, train_dataloaders=dataloader)

if __name__ == "__main__":
    import argparse
    parser = argparse.ArgumentParser(description="Implementation of SwAV")
    parser.add_argument("--project", default="swav_test", type=str, help="wandb project")
    parser.add_argument("--name", default="exp", type=str, help="wandb name")
    parser.add_argument("--input", default="data/train", type=str, help="input directory")
    parser.add_argument("--epochs", default=10, type=int)
    parser.add_argument("--seed", default=42, type=int)
    parser.add_argument("--device", default=0, type=int)
    parser.add_argument("--precision", default=16, type=int)
    parser.add_argument("--batch", default=16, type=int)

    args = parser.parse_args()
    main(args)

cc @justusschock @kaushikb11 @awaelchli @akihironitta @rohitgr7

Hey, @sarmientoj24 - Thank you for raising the issue! Just to cross-check, and debug further, could you please try disabling use_checkpoint in the swin_transformer_v2_t/swin_transformer_v2_s function calls? (use_checkpoint=False)
I know it's not the solution, but just cross-checking if it's the issue.
Sharing full stack trace for anyone who is trying to debug this:

Create a data2/train folder, add around 4-10 images (to not go OOM if you don't have enough GPU memory).
Change batch size from 16 to something smaller, if you don't have minimum 16 images in the folder.
Run the script above (might have to install lightly and Swin-Transformer-V2: pip install lightly, pip install git+https://github.com/ChristophReich1996/Swin-Transformer-V2)

Full stack trace
Epoch 0:   0%|                                                                                | 0/2 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/krshrimali/Documents/Projects/Lightning-AI/oncall/pl/issues/14533/bug.py", line 170, in <module>
  main(args)
File "/home/krshrimali/Documents/Projects/Lightning-AI/oncall/pl/issues/14533/bug.py", line 154, in main
  trainer.fit(model=model, train_dataloaders=dataloader)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 696, in fit
  self._call_and_handle_interrupt(
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 648, in _call_and_handle_interrupt
  return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 107, in launch
  mp.start_processes(
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
  while not context.join():
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 160, in join
  raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
  fn(i, *args)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 133, in _wrapping_function
  results = function(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 735, in _fit_impl
  results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1166, in _run
  results = self._run_stage()
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1252, in _run_stage
  return self._run_train()
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1283, in _run_train
  self.fit_loop.run()
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
  self.advance(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/fit_loop.py", line 271, in advance
  self._outputs = self.epoch_loop.run(self._data_fetcher)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
  self.advance(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 203, in advance
  batch_output = self.batch_loop.run(kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
  self.advance(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/batch/training_batch_loop.py", line 87, in advance
  outputs = self.optimizer_loop.run(optimizers, kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
  self.advance(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 201, in advance
  result = self._run_optimization(kwargs, self._optimizers[self.optim_progress.optimizer_position])
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 248, in _run_optimization
  self._optimizer_step(optimizer, opt_idx, kwargs.get("batch_idx", 0), closure)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 358, in _optimizer_step
  self.trainer._call_lightning_module_hook(
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1550, in _call_lightning_module_hook
  output = fn(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/core/module.py", line 1674, in optimizer_step
  optimizer.step(closure=optimizer_closure)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/core/optimizer.py", line 168, in step
  step_output = self._strategy.optimizer_step(self._optimizer, self._optimizer_idx, closure, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/strategies/strategy.py", line 216, in optimizer_step
  return self.precision_plugin.optimizer_step(model, optimizer, opt_idx, closure, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/plugins/precision/native_amp.py", line 85, in optimizer_step
  closure_result = closure()
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 146, in __call__
  self._result = self.closure(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 141, in closure
  self._backward_fn(step_output.closure_loss)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 304, in backward_fn
  self.trainer._call_strategy_hook("backward", loss, optimizer, opt_idx)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1704, in _call_strategy_hook
  output = fn(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/strategies/strategy.py", line 191, in backward
  self.precision_plugin.backward(self.lightning_module, closure_loss, optimizer, optimizer_idx, *args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py", line 80, in backward
  model.backward(closure_loss, optimizer, optimizer_idx, *args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/pytorch_lightning/core/module.py", line 1419, in backward
  loss.backward(*args, **kwargs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/_tensor.py", line 396, in backward
  torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/autograd/__init__.py", line 173, in backward
  Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/autograd/function.py", line 253, in apply
  return user_fn(self, *args)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/utils/checkpoint.py", line 146, in backward
  torch.autograd.backward(outputs_with_grad, args_with_grad)
File "/home/krshrimali/anaconda3/envs/pl-17/lib/python3.9/site-packages/torch/autograd/__init__.py", line 173, in backward
  Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: Expected to mark a variable ready only once. This error is caused by one of the following reasons: 1) Use of a module parameter outside the `forward` function. Please make sure model parameters are not shared across multiple concurrent forward-backward passes. or try to use _set_static_graph() as a workaround if this module graph does not change during training loop.2) Reused parameters in multiple reentrant backward passes. For example, if you use multiple `checkpoint` functions to wrap the same part of your model, it would result in the same set of parameters been used by different reentrant backward passes multiple times, and hence marking a variable ready multiple times. DDP does not support such use cases in default. You can try to use _set_static_graph() as a workaround if your module graph does not change over iterations.
Parameter at index 165 with name module.swin_model.stages.2.blocks.5.normalization_2.weight has been marked as ready twice. This means that multiple autograd engine  hooks have fired for this particular parameter during this iteration.

I agree with @krshrimali that's a good thing to try.
There must be unused parameters in the forward pass of SwinTransformer. Note that the original repo doesn't use DDP for multi-GPU training. Instead they use DP, for which I believe this problem wouldn't occur. I'm sure if the original code trained with DDP, one would see the same error (note, the error is from torch, not from lightning).

how do i use it for ddp? and dp?

You can simply set strategy="dp" in the Trainer, this would then use the same multi-GPU backend as in the original code. We normally don't recommend DP (it's also not recommended by PyTorch anymore), but it sometimes is necessary to get the same results as the original code. I hope this helps.

It seems to be the reason for using a single card and then adopting distributed. I use multiple cards and the error is gone.
CUDA_VISIBLE_DEVICES=2 torchrun --nproc_per_node=1 --master_port=7892 finetune.py \ will report an error
CUDA_VISIBLE_DEVICES=2,3,4,5,6,7 torchrun --nproc_per_node=6 --master_port=7892 finetune.py
Use multi-card to solve


Spike: Research Solana JavaScript SDK integration in Masa SDK

We are planning to deploy contracts to solana. To be able to use them we have to attest the changes that are required to add the solana SDK to the masa sdk and make it connect to solana.
Acceptance Criteria

[ ] Add Solana SDK to Masa SDK
[ ] Connect to solana testnet
[ ] Transact on solana testnet

Super convoluted but if there's a particular doubt while looking this up, there's this OpenSource wallet that might be of use:

https://github.com/coral-xyz/backpack

Sadly, it's a large codebase as far as I could look but like I said, it might be useful to troubleshoot some specific use case

The biggest problems are as usually the wallets and endpoints. I am using this:
https://solanacookbook.com/references/keypairs-and-wallets.html#how-to-generate-a-new-keypair
https://solana.com/docs/core/clusters
It is getting interesting if we talk about something like ABI and other convenience things.


fix: make prisma packages optional

Similar to https://github.com/drizzle-team/drizzle-orm/pull/1714, https://github.com/drizzle-team/drizzle-orm/pull/2478 added a Prisma driver, but didn't mark the dependencies as optional, resulting in both prisma and @prisma/client being installed with every drizzle-orm install now.
This results in unnecessary inflation of node_modules in projects that do not use prisma.

thanks! merging it right after all checks are completed

that error is fine, I'll fix test runs for forks before releasing this patch

Thank you! ❤


codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f8aa3f1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage          ?   51.99%
=========================================
  Files             ?       11
  Lines             ?      402
  Branches          ?        0
=========================================
  Hits              ?      209
  Misses            ?      193
  Partials          ?        0

Flag
Coverage Δ

unittests
51.99% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Unable to verify the first certificate

We recently started getting this error while installing the latest tool chain.
...
| Cache miss, downloading GCC 12.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 f3d1d32c8ac58f1e0f9dbe4bc56efa05
[Build/All]   💬  ::debug::Downloading https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz
[Build/All]   💬  ::debug::Destination /tmp/65f192c9-908f-4273-9e8e-96a85d5776ba
| unable to verify the first certificate
| Waiting 10 seconds before trying again
| unable to verify the first certificate
| Waiting 12 seconds before trying again
[Build/All]   ❗  ::error::unable to verify the first certificate
...

However, Firefox is able to access the website fine. Maybe this tool is only looking at the first certificate, and for some reason it is not valid right now?

Having the same issue with 10.3-2021.07. Must be a server issue

We're having the same problem on https://github.com/raspberrypi/documentation, it seems the certificate for developer.arm.com was renewed yesterday and it has a misconfigured chain according to https://whatsmychaincert.com/?developer.arm.com
For now, we can work around this by disabling Node.js' SSL verification but this is obviously insecure and not ideal, e.g.
      - name: Install arm-none-eabi-gcc GNU Arm Embedded Toolchain
        uses<EMAIL_ADDRESS>        env:
          NODE_TLS_REJECT_UNAUTHORIZED: 0

(See also https://github.com/raspberrypi/documentation/pull/2909/commits/695a91f46935735379337dd8d02aa29903808d78)

Thanks everybody for reporting this, and specially @mudge for looking into the issue and providing a workaround!
I'll see if I can find the best way to report this to Arm and hope they'll fix this soon.

Thanks for the heads up @rserranosmith! I was preparing an update to temporarily set the NODE_TLS_REJECT_UNAUTHORIZED env var while Arm fixed their certificates, but no need anymore 😃
Looks like all the URLs are working now: https://github.com/carlosperate/arm-none-eabi-gcc-action/actions/runs/4875803404

I'll close this as fixed, thanks everyone!


Implement Configuration File Reader for Octoffers

Description:
Currently, some Octoffers settings are hardcoded. We need to allow users to customize these settings using a configuration file.
Expected Behavior:
Users should be able to create a configuration file (in YAML format) and specify settings like:

Profiles
Headless mode for driver (boolean)
Web driver settings
Paths

Take a peak into platforms/driver.py and platforms/profile.py for the context
Solution:

Create a configuration file parser that can read YAML files.
Define a schema for the configuration file.
Implement logic to load and apply the configuration settings.
Provide clear documentation on the available configuration options and how to use them.

can i, work on this?

@oohomohit sure, just follow guidelines and don't bloat dependencies.

I'll keep that in mind, thanks


Uncaught Error: [remote-sync] invalid transport: undefined in ~/git/saas-dr/.remote-sync.json

[Enter steps to reproduce:]

...
...

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: remote-sync package 4.1.5
Stack Trace
Uncaught Error: [remote-sync] invalid transport: undefined in /Users/jianbozheng/git/saas-dr/.remote-sync.json
At /Users/jianbozheng/.atom/packages/remote-sync/lib/RemoteSync.coffee:256

Error: [remote-sync] invalid transport: undefined in /Users/jianbozheng/git/saas-dr/.remote-sync.json
    at RemoteSync.createTransport (/packages/remote-sync/lib/RemoteSync.coffee:256:17)
    at RemoteSync.getTransport (/packages/remote-sync/lib/RemoteSync.coffee:262:19)
    at RemoteSync.uploadFile (/packages/remote-sync/lib/RemoteSync.coffee:108:37)
    at handleEvent (/packages/remote-sync/index.coffee:46:14)
    at /packages/remote-sync/index.coffee:100:40)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:1)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:1)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:1)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1306:1)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:347:1)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands
     -0:09.1.0 application:reopen-project (input.hidden-input)
     -0:02.9.0 remote-sync:upload-file (span.syntax--comment.syntax--line.syntax--number-sign.syntax--python)

Non-Core Packages
atom-clock 0.1.8
git-plus 7.9.3
git-projects 1.17.0
remote-sync 4.1.5

Same problem.. Abandoned project.

Duplicate of #285


Consider using artifacts.ci.c.o and delete old builds

The following jobs are using more than 1G on the Jenkins master. Can we consider limiting the number of old builds we keep? artifacts.ci.centos.org is available if we need longer term storage of log files or built artifacts.

devtools-fabric8-analytics-common-fabric8-analytics-pydoc
devtools-fabric8-analytics-common-fabric8-analytics-pylint
devtools-fabric8-analytics-server-fabric8-analytics
devtools-fabric8-analytics-server-fabric8-analytics-pydoc
devtools-fabric8-analytics-server-fabric8-analytics-pylint
devtools-fabric8-analytics-worker-fabric8-analytics
devtools-fabric8-analytics-worker-fabric8-analytics-pylint
devtools-fabric8-auth
devtools-fabric8-auth-coverage
devtools-fabric8-planner-f8planner
devtools-fabric8-ui
devtools-fabric8-wit
devtools-fabric8-wit-coverage

Hi Folks. Are we on track to enable the discarders?

@riuvshin is working on this, and should have something in place in the coming days.

Done


Benchmark intel xpu

Added llama for Intel support. The command is still sh benchmark.sh

can you add some test command in summary to show how to run benchmarks for xpu

can you add some test command in summary to show how to run benchmarks for xpu

I modified the default_device variable ("default_device = 'cuda' if torch.cuda.is_available() else 'xpu' if torch.xpu.is_available() else 'cpu'") so it will be set to cuda on nvdia gpu and xpu on intel gpu. So I still use the “sh benchmark.sh” command .

@sunjiweiswift are you able to publish some benchmarking results as well? if so please add a new entry similar to https://github.com/pytorch/ao/tree/main/torchao/quantization#uintx-quantization with title "xpu backend"

Currently these quantizations are not fully supported. I updated the benchmark data of bf16 int8dq int8wo, and wikitext-perplexity has not been tested yet, and will be updated in subsequent commits

please rebase to resolve conflict before landing

please rebase to resolve conflict before landing

The conflict has been resolved. Please complete the merge

@jerryzh168 could you merge?


18.1 - Making configurable GameDetails

Added a GameDetails.json file that contains the game's name, version, and PlayerAttributes - a new class that we'll eventually use to hold attributes like Strength, Intelligence, etc. in the Player class.

Accepted


Add Embla to wordlist

The home of Veronica from Fire Emblem Heroes

All done - thanks for the spot!


.Net: Fix FunctionChoiceBehavior State Restoration in OllamaPromptExecutionSettings.

Description
This PR addresses a bug in OllamaPromptExecutionSettings where the FunctionChoiceBehavior state was not properly restored during the conversion process from PromptExecutionSettings. Specifically, the internal state of FunctionChoiceBehavior, including its list of associated functions, was lost during serialization and deserialization.
Motivation and Context
Why is this change required?
The lack of proper state restoration led to missing function definitions in HTTP requests when using the Ollama connector, causing failures in scenarios that rely on function calls.
What problem does it solve?
This change ensures that the FunctionChoiceBehavior is fully restored when converting execution settings, maintaining the expected behavior for function calls in the Ollama connector.
What scenario does it contribute to?
This fix enables consistent and reliable function calling with the Ollama connector, ensuring that defined functions are included in requests and operate as expected.
Related Issues
This change fixes the issue described in the bug report, improving usability and reliability when working with function behaviors in Semantic Kernel integrations.
Contribution Checklist

[Y] The code builds clean without any errors or warnings
[Y] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[Y] All unit tests pass, and I have added new tests where possible
[Y] I didn't break anyone :)

Fixes #9682

Out of curiosity, are you going to support images as well? (They currently are not working)

@raffaeler, please open an issue and (if you could provide your not working example code would be very helpful) we can investigate this. Thanks!


Issue with AJV on Docker

What version of Ajv are you using? Does the issue happen if you use the latest version?
5.5.2
Ajv options object

JSON Schema

Sample data

Your code

'use strict';

var compileSchema = require('./compile')
  , resolve = require('./compile/resolve')
  , Cache = require('./cache')
  , SchemaObject = require('./compile/schema_obj')
  , stableStringify = require('fast-json-stable-stringify')
  , formats = require('./compile/formats')
  , rules = require('./compile/rules')
  , **$dataMetaSchema = require('./$data')**
  , patternGroups = require('./patternGroups')
  , util = require('./compile/util')
  , co = require('co');

Validation result, data AFTER validation, error messages
Cannot find module './$data'

What results did you expect?
After further investigation it appears during AJV installation it failed to create $data.js on Docker. We believe somewhere in the AJV code the $ character must be escaped when creating $data.js.
Are you going to resolve the issue?

The current version is 8, please upgrade.

I believe v6 has it resolved too if you cannot upgrade to v8 for some reason

Thank you. Confirm using AJV version 6.12.5 solved the issue.


Canary jobs should be more easily ignorable in list and metrics

At the moment our canary runs many jobs every few minutes, and so when running bacalhau list or looking at event logs, we mainly see canary entries. This is boring, and not reflective of real usage numbers.
We support annotating jobs with arbitrary labels. We could use a label to mark our canary jobs. We can then more easily filter them out. We could configure list to filter canary jobs by default (if we also upgrade it to do label-based filtering).
The drawback of this is that anyone can use the label we pick to "hide" their job by default (there are no special labels). We should think carefully about what label to use and if this makes anything less transparent as a result.

There is another use case for this – examples (swap out the word canary in the above text with example, and you get the idea).
As per https://filecoinproject.slack.com/archives/C02RLM3JHUY/p1670410131745389.


Cat badge doesn't support native attributes

Hello, We have a use case where we need to add a test attribute and is currently not support adding it by nativeAttributes

Can you give an example where this is needed. A badge does not have inner components where we could attach the attributes. In your case, I suggest adding it to the badge directly.


Support for layer minZoom/maxZoom options

The disabled layer label styling only works when minResolution/maxResolution is specified in the layer options.  It does not work if the OpenLayers 6 minZoom/maxZoom options introduced by https://github.com/openlayers/openlayers/pull/9824 are used.

PR merged, waiting on release


SCOM Management group

So we define the network link and ports for the comms between SCOM management group and LAW, but from which server do they need to define the firewall rules, the actual SCOM server that the console is used?

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

ID: 4096fac2-6f38-0e29-45a7-5eedc9abbd30
Version Independent ID: 49e53671-fc49-3614-f7d7-0071ebbdc73d
Content: Connect Operations Manager to Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/platform/om-agents.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @bwren
Microsoft Alias: bwren

@henrypi73 Thank you for your query, we will look into it and get back to you at the earliest.

@henrypi73 My sincere apologies for delayed response on this.
Sorry if the document was not very clear on this, basically you need to define the firewall rules on system your running the Operations console and all management servers in the management group.
We will work with our document author to review the feedback and see if we can take a backlog item to make it more clear on the document.
Hope the above information helps. We will go ahead and close this issue for now, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Aliased require

Hello,
I have a global function rootNamespace which essentially requires a module from the project root.
How can I type it so Flow understands it like require ?
I am not using dynamic require. Instead of require('../../myFile.js'), I'm using rootNamespace('/myFile.js').

Assuming you use babel, you can use this plugin to use root-style directly in your imports/requires instead of a custom wrapper.
You combine that with the name_mapper option to make flow understand the location of these files.
Hope that helps :)

This is very unlikely to get supported.


[release-0.44] Manual backport of 7592

What this PR does / why we need it:

Handle a case where we were discarding a possible image name prefix in virtctl guestfs
Grant unprivileged user access to the /guestfs endpoint (otherwise virtctl can't infer image url)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
https://bugzilla.redhat.com/show_bug.cgi?id=2068905
Special notes for your reviewer:
Release note:

BugFix: virtctl guestfs incorrectly assumes image name

/cc

/unhold
/retest


Please add a pagination plugin.

need something like this.
http://botmonster.com/jquery-bootpag
http://www.sitepoint.com/demos/jquery-quick-pagination/

Anything outside of the basic pagination doesn't really fall within the scope of this project. You can always try to use those pluggings in your own implementation.


Validate that discovered interpreters meet the Python preference

Closes https://github.com/astral-sh/uv/issues/5144
e.g.
❯ cargo run -q -- sync --python-preference only-system
Using CPython 3.12.6 interpreter at<EMAIL_ADDRESS>Removed virtual environment at: .venv
Creating virtual environment at: .venv
Resolved 9 packages in 14ms
Installed 8 packages in 9ms
 + anyio==4.6.0
 + certifi==2024.8.30
 + h11==0.14.0
 + httpcore==1.0.5
 + httpx==0.27.2
 + idna==3.10
 + ruff==0.6.7
 + sniffio==1.3.1

❯ cargo run -q -- sync --python-preference only-managed
Using CPython 3.12.1
Removed virtual environment at: .venv
Creating virtual environment at: .venv
Resolved 9 packages in 14ms
Installed 8 packages in 11ms
 + anyio==4.6.0
 + certifi==2024.8.30
 + h11==0.14.0
 + httpcore==1.0.5
 + httpx==0.27.2
 + idna==3.10
 + ruff==0.6.7
 + sniffio==1.3.1

We should probably opt active virtual environments out of this?

If i specifically pass --python-preference only-system i'd expect uv to invalidate the current venv and recreate, i sees this mismatch like requesting a different Python version than the currently active one. (Admittedly, this is a somewhat fringe problem)

If i specifically pass --python-preference only-system i'd expect uv to invalidate the current venv and recreate,

But.. uv run outside a project and uv pip install can't just invalidate and recreate an environment — should they fail?

I think so


Functions Missing Typehints and Docstrings

Good amount of functions missing docstrings. Missing type hints for parameters and return values as well.
Doc strings should be created using Google python docstring style guidelines. There is a great VS Code extension that does this for you: autoDocstring - Python Docstring Generator

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Closing as this is being addressed in many other issues.


[red-knot] understand type[A | B] where A and B are both classes

(part of https://github.com/astral-sh/ruff/issues/14172)
type[A | B] Is equivalent to an enum of type[A] | type[B].
There are not a lot of edge cases looking at the tests here: https://github.com/python/typing/blob/main/conformance/tests/specialtypes_type.py#L50

Just a heads-up for future reference: red-knot should produce a violation when the type[A, B] syntax is used.
This came up in this PR


1.16.5 advanced peripherals

hi  I tried advanced peripherals but i can not make it work with chunky turtles.
mastermine recon as mining turtles.
I am using 0.5b (the release version).
I also tried the alpha version.
Is something that i can do so I will make the chunky turtles to work?
*Edit
I used the pastebin code now i copied all the folder and all are ok

Glad you got it to work! This is why I need a releases section.


IAM-386-Fix-Route-Matching bug

Fixed bug, where the server treats all misc. routes as fileserver requests.
Try it out by compiling the app, and requesting different routes.
After that if you access /api/v0/metrics, you'll see that the server only added the .html extension to the routes corresponding to the embedded html files.

I would like to point out that the UI and the backend will have different 404 pages/responses. This approach does not let the UI to do that.
Wouldn't it be better to move the UI under a subpatch (e.g. /ui) and use the file server as we did before (but now the pattern would be /ui/*). I understand that it's not nice to see the in the URL the ui part, but we could handle that through the ingress (not sure though if the ingress relation allows for that).
Another approach would be to serve all files that have a file type using the file server (which means that you would add all the html files like you do now but also match this regex pattern: *.*). I think that this is a fair assumption to make as this is the file server and it makes sense for a file server to serve files, while an api server will never serve files which means that its paths will never end with a .json or .something.

@nsklikas the /ui/* solution is the best one imho


Regarding "ScanPurgeItemsAfterDelay" Default Values

[Enter feedback here]
Hello All,
Thank you for your cooperation.
In this public information, "ScanPurgeItemsAfterDelay" default value is indicated as "30".
However, when I run the "Get-MpPreference" command from my terminal, it returns "15".
GPO, Intune, etc., have not configured the policy that configures the above values.
Therefore, there is a possibility that there is an error in the public information, so please confirm and correct it.

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

ID: a43741f9-62d8-4bcb-8f1e-2f9bcf0b8e92
Version Independent ID: cc8d93f2-8837-4169-0fc7-167d0ffca777
Content: Set-MpPreference (Defender)
Content Source: docset/winserver2019-ps/defender/Set-MpPreference.md
Product: w10
Technology: ****
GitHub Login: @Kateyanne
Microsoft Alias: v-kaunu

Dear All, I apologize to bothering you. I guess you are verifying for it, so I'll be glad if I can get your reply when you are comfortable. Actually our customer is waiting so. Thank you.

Yes, An independent contributor is revising the issue. However, Please note that that "waiting customer" is not responsibility. Thanks for the feedback and expect updates soon.

Sure. Thank you.


psycopg2 tests are failing in CI

Today a bunch of psycopg and psycopg2 start failing, There are no changes since The lastest successful build so I am not sure what it is the cause, I check psycopg2 just in case there is a new version but is not.
[2020-02-17T09:01:05.498Z] self = <elasticapm.instrumentation.packages.pyodbc.PyODBCInstrumentation object at 0x7efc8c001950>
[2020-02-17T09:01:05.498Z] module = 'pyodbc', method = 'connect', wrapped = <built-in function connect>
[2020-02-17T09:01:05.498Z] instance = None
[2020-02-17T09:01:05.498Z] args = ('DRIVER={PostgreSQL Unicode};DATABASE=elasticapm_test;UID=postgres;SERVER=postgres;PORT=5432;',)
[2020-02-17T09:01:05.498Z] kwargs = {}
[2020-02-17T09:01:05.498Z]
[2020-02-17T09:01:05.498Z]     def call(self, module, method, wrapped, instance, args, kwargs):
[2020-02-17T09:01:05.498Z] >       return PyODBCConnectionProxy(wrapped(*args, **kwargs))
[2020-02-17T09:01:05.498Z] E       OperationalError: ('08001', u'[08001] could not translate host name "postgres" to address: Name or service not known\n (101) (SQLDriverConnect)')
[2020-02-17T09:01:05.498Z]
[2020-02-17T09:01:05.498Z] elasticapm/instrumentation/packages/pyodbc.py:56: OperationalError
[2020-02-17T09:01:05.498Z] =============================== warnings summary ===============================
[2020-02-17T09:01:05.498Z] /usr/local/lib/python2.7/site-packages/_pytest/mark/structures.py:334
[2020-02-17T09:01:05.498Z]   /usr/local/lib/python2.7/site-packages/_pytest/mark/structures.py:334: PytestUnknownMarkWarning: Unknown pytest.mark.pyodbc - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
[2020-02-17T09:01:05.498Z]     PytestUnknownMarkWarning,

Postgress exists with the following error
Error: Database is uninitialized and superuser password is not specified.
       You must specify POSTGRES_PASSWORD for the superuser. Use
       "-e POSTGRES_PASSWORD=password" to set it in "docker run".

       You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
       without a password. This is *not* recommended. See PostgreSQL
       documentation about "trust":
       https://www.postgresql.org/docs/current/auth-trust.html

There is a new version of the PostgresQL Docker image from Saturday so this is the change.


another implementation of Binance API

Hi,
I'm sure you will be glad to know there is another, better and more complete implementation of Binance API on C++: https://github.com/niXman/binapi
I will be grateful for advertising! =)

Thank you for this one, could you please make another ad about your trading platform available on GitHub?

I have nothing to advertise yet, the project is not completed and therefore not published :(

I think the platform is a more important goal, which we should join forces
on. What do you think?
пт, 28 авг. 2020 г. в 07:26, niXman<EMAIL_ADDRESS>
I have nothing to advertise yet, the project is not completed and
therefore not published :(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dmikushin/binance-cxx-api/issues/16#issuecomment-682332507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLI7KX55HLX4GJ4XVA3TATSC45YHANCNFSM4QNE3Y6A
.

maybe you're right, but I don't publish projects until they are ready for use at least partially... I'm right now working on this project, refactoring it, because during the year when I was not working on it I had new thoughts...
also I'm planning to publish a project that is a "constructor" for creating trading bots.
it will contain many algorithms required for market analysis, and the user will be able to expand and customize it.
but it will not happen today, or even tomorrow. I have a very busy schedule and almost no free time, sorry.

Well, you don't have to do everything by yourself. Chop the big problem
into the smaller issues, which we can look at.
пт, 28 авг. 2020 г. в 11:22, niXman<EMAIL_ADDRESS>
maybe you're right, but I don't publish projects until they are ready for
use at least partially... I'm right now working on this project,
refactoring it, because during the year when I was not working on it I had
new thoughts...
also I'm planning to publish a project that is a "constructor" for
creating trading bots.
it will contain many algorithms required for market analysis, and the user
will be able to expand and customize it.
but it will not happen today, or even tomorrow. I have a very busy
schedule and almost no free time, sorry.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dmikushin/binance-cxx-api/issues/16#issuecomment-682424378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLI7KTD5QDYUKJ3HXHIYPDSC5ZO3ANCNFSM4QNE3Y6A
.


Unsupported feature: Type constructor: GHC.Prim.Addr#

I'm experimenting with various GHC flags, and now the plutus-tx throw this at me.
I wonder if BuiltinByteString could be backed up by ByteArray#. It wouldn't make builtin implementation more complex, but would be more robust. (EDIT: in fact, Addr# literals could be compiled to builtin bytestring, couldn't they?)
OTOH, Integer doesn't have nice Integer# behind it, so I might get S# and J# related errors (or does plutus-tx-plugin know about them?)
EDIT: This error happens when I place a bang on BuilinByteString argument:
foo :: BuiltinByteString -> ...
foo !bs = ...

Related: https://github.com/input-output-hk/plutus/issues/4193
We're walking a line of usability versus robustness here. Maybe we could make BuiltinBytestring more opaque and have a BuiltinInteger similarly, but it would make interoperability more painful. But the errors certainly suck when GHC looks through our "opaque" definitions.

BuiltinInteger will definitely be not convenient as it would propage to Value etc.

The issue looks very similar to #4193. Should we close this one?


Exception sometimes when checking _scrollController.offset

It looks to be caused by a line 308 in bottom_sheet_bar.dart; checking _scrollController.offset <= 0 when _scrollController isn't yet attached to a Scrollable.
Not sure how it gets in this state, but we can check for scrollable clients before requesting the scroll offset to resolve this. If ScrollController has no clients attached, _isScrolled will be set to false.

Resolve in 2.3.7


Add generator to build sower files

Add a generator to create the sower/translate files for models.
Also look into a way to extend or trigger after the rails generate model command so you get one automatically

https://stackoverflow.com/questions/19122354/hook-into-rails-model-generator/19197868#19197868

Rails docs: https://guides.rubyonrails.org/generators.html#overriding-rails-generator-templates and surrounding


No call/Conferences notifications in Microsoft Teams instances

Bug description:
When I'm signed in to MS Teams, I don't get call notifications inside Teams
Steps to reproduce:

Sign in to Microsoft Teams
Try to call you with another account or a friend/colleagues ...
3 Nothing happens in Ferdi

Expected behavior

The call notification appears and i can click to answer and redirect to the Teams call/conferences
Screenshots

Environment:

Operating System: macOS Catalina

Ferdi Version: 5.5.0

Server: Ferdi

Debug information:

I experience the same issue with macOS Mojave (10.14.6)

If it can help, the rambox community version is working for this usecase...

Seems to still be an issue. macOS Big Sure 11.1, Ferdi 5.5.0. Other notifications show up fine but incoming call notifications don't appear.

Seems to still be an issue. macOS Big Sure 11.1, Ferdi 5.5.0. Other notifications show up fine but incoming call notifications don't appear.

I check the service definition, the CSS for notification-banner is too restrictive. it's not necessary with latest Teams release, because notification-banner will show only for call and meeting requests if Teams detects HTML5 notifications are enable

I check the service definition, the CSS for notification-banner is too restrictive. it's not necessary with latest Teams release, because notification-banner will show only for call and meeting requests if Teams detects HTML5 notifications are enable

Ok seems to be an issue with the old electron of 5.5.0 and last teams version
Do you have problem on 5.6.0 beta

Sadly Ferdi 5.6.0-beta5 crashes for me on startup so I can't test this. I've attached the crash log.
ferdi-5.6.0-beta.5-crash.txt

I tried it again with a clean install, still 5.6.0-beta5. It no longer crashes and it actually works for me now.

I have this issue on a fresh installation. Call/Conference notifications do not appear, Text notifications are working.
Version: 5.6.2
Electron: 13.3.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
Platform: Linux 5.13
Arch: x64
Build date: Mon Sep 13 2021 10:17:08 GMT+0200 (Central European Summer Time)
Git SHA: 40a3d0b
Git branch: release


Named options / arguments of functions

What's up?
I believe that currently function arguments can only be specified positionally, which makes it difficult to use functions with a large number of options.
For example, could we introduce a syntax like shell func_name --option option_value argument?
Sorry if this has been discussed before.

Hi, you can have keyword arguments using the :.
For example the following works in the playground:
let top_albums = n artist:null -> (
  from albums
  filter artist_id>=(artist ?? 0) && artist_id<=(artist ?? 999)
  take n
)

top_albums 10 artist:1

or you can leave out the artist argument and just call:
top_albums 10

It's a bit of a contrived example but best I could come up quickly.
That said, while I've been working on example queries for the talks and writing functions, I have found that the DX around the functions isn't that great - the error messages are often confusing and you can't call keyword arguments positionally. For example the following call doesn't work:
top_albums 10 1

We also have named parameters though: https://prql-lang.org/book/reference/declarations/functions.html
Though we're definitely less flexible than many languages — parameters can only be one or the other.
But it does make it simpler — python's rules around positional vs named parameters end up being extremely complicated. I'd be keen to see examples where the current constraints make something un-ergonomic.

Thank you both. I did not understand that.
I think the current implementation that enforces names makes sense. (Although a variable-length argument would be useful to support something like DuckDB's read_csv function.)

I'd be keen to see examples where the current constraints make something un-ergonomic.

How about a generic top_n function? The example below is silly because it's the same as a simple take but assume there is some extra filtering or sorting etc... More problematic is that it doesn't work and I don't know how you would write it. The rel needs to be last and positional so how do I specify an argument with a default parameter that comes before?
let top_n = n:10 rel -> (
  rel
  take n
)

from albums
top_n 5

This is good news for me actually. I had been struggling with this and couldn't make it work previously and been meaning to post an issue. Thanks @eitsupi for getting this discussion going. It cleared something up for me.

Great to hear!

And tbc, the function could take a positional param:
let top_n = n rel -> (
  rel
  take n
)

from albums
top_n 10

(same sql)

Named arguments seem to be working fine, so closing this issue.


AAD permissions to be granted for solution

I want to know exactly what resources AAD admin should grant to the user when consent to the application on behalf of the organization. After selecting "add to tenant", there isn't a display of what kind of resources it consent to.  We use that service as a delivery mechanism and do not need AAD permissions to the tenant ourselves so I can't speak to it.  Please contact that team through this channel: https://github.com/SharePoint/sp-dev-docs/issues


Fix race condition in autosave

Handles the case where tmux starts multiple instances of auto-save in parallel  (see https://github.com/tmux-plugins/tmux-continuum/pull/61#issuecomment-508930136 for an example), which results in corrupted "last" file (issues like #3 and tmux-plugins/tmux-resurrect#294).
The sequence in main() is:

Check enough_time_since_last_run_passed
Save
Update last_save_timestamp.

The race here is:

process A finishes step 1 and is busy with step 2. The timestamp is not updated yet.
process B comes to step 1, sees the old timestamp and proceeds to step 2, too.

multiple tmux sessions call auto-save

It took me some time to understand this one, you probably mean "multiple tmux clients call auto-save" - which makes sense.
Is there a way to prevent this in the first place. Can we ensure just one tmux client starts this process?

It took me some time to understand this one, you probably mean "multiple tmux clients call auto-save" - which makes sense.

Yes, sorry, I meant multiple tmux clients. My use-case is to run two sessions and attach to them from two terminals on the same machine.

Is there a way to prevent this in the first place. Can we ensure just one tmux client starts this process?

That's a good question. I don't know.
I'm not 100% sure how exactly autosave works; my guess would be that each tmux client repeatedly starts save.sh because that script is "injected" into status bar (via #(path/to/save.sh)). I don't see a way to have that injection only in one client and update other clients if that client detaches, unless we make the clients interact somehow.

@v9v can you check or maybe even test https://github.com/tmux-plugins/tmux-continuum/pull/62
It's a slightly different approach to fixing this problem. Let me know what you think?

@bruno-  I like the approach in #62. However, I ran some more tests, and it seems there are multiple parallel saves with the same client_name (?!).
Before testing your fix, I added some logging to main() in continuum_save.sh from HEAD (i.e. without #62 or #61), set auto-save interval to 1 minute, started two tmux clients attached to different sessions, and here is what I saw:
Time               client_name BASHPID
15:23:23.376120084 /dev/pts/2 31762 entered continuum_save.sh
15:23:23.433151135 /dev/pts/2 31762 exited continuum_save.sh
15:23:26.717609872 /dev/pts/2 31798 entered continuum_save.sh
15:23:26.776861820 /dev/pts/2 31798 exited continuum_save.sh
15:23:38.387992403 /dev/pts/2 31834 entered continuum_save.sh
15:23:38.443678893 /dev/pts/2 31834 exited continuum_save.sh
15:23:41.719668974 /dev/pts/2 31900 entered continuum_save.sh
15:23:41.750302956 /dev/pts/2 31900 exited continuum_save.sh
15:23:53.379936929 /dev/pts/4 31958 entered continuum_save.sh
15:23:53.380764064 /dev/pts/4 31962 entered continuum_save.sh
15:23:53.408466727 /dev/pts/4 31958 started saving
15:23:53.408665553 /dev/pts/4 31962 started saving
15:23:53.421933173 /dev/pts/4 31958 exited continuum_save.sh
15:23:53.424131899 /dev/pts/4 31962 exited continuum_save.sh
15:23:56.719084485 /dev/pts/4 32268 entered continuum_save.sh
15:23:56.775307916 /dev/pts/4 32268 exited continuum_save.sh
15:24:08.390321117 /dev/pts/2 32306 entered continuum_save.sh
15:24:08.446997674 /dev/pts/2 32306 exited continuum_save.sh

At first, only one client (/dev/pts2) was calling continuum_save.sh, and /dev/pts4 was quiet (or maybe #{client_name} was lying). Then I did some activity in /dev/pts4, and then at 15:23:53 there was a burst of saves from /dev/pts4 that actually triggered the race condition.
I cannot reproduce that with a single tmux client. With two clients, it happens relatively often.
I have no idea what tmux was doing there, but it seems that #62 won't help much.
For the record, continuum_save.sh with the logging:
log() {
        client_name=`tmux display-message -p -F "#{client_name}"`
        logfile="/tmp/continuum-save.log"
        echo `date +%H:%M:%S.%N` ${client_name} ${BASHPID} "$1" >> $logfile
}

main() {
        log "entered continuum_save.sh"
        if supported_tmux_version_ok && auto_save_not_disabled && enough_time_since_last_run_passed; then
                log "started saving"
                fetch_and_run_tmux_resurrect_save_script
        fi
        log "exited continuum_save.sh"
 }

Thank you for testing this. I was also able to reproduce the issue "multiple parallel saves with the same client_name". I agree #62 is not the best solution.

@v9v thank you for working on this!


How to reset 'ss-multiselect-dropdown'

I want to reset this control when clicked on Reset Button of Form.
<form [formGroup]="myForm" (ngSubmit)=save()>
    <ss-multiselect-dropdown [options]="myOptions" formControlName="optionsModel"></ss-multiselect-dropdown>
    <button type="reset" class="btn btn-default">Reset</button>
    <button type="submit" class="btn btn-primary">Submit</button>
</form>

Do you mean reset the selections?
Should be as simple as setting myOptions to an empty array.

Thanks @chris--jones.

For resetting the selections I set optionsModel to an empty array instead of myOptions which removes all the options.


Support for overlapping highlights

I'm currently attempting to use this library. Here is the workflow I have.

On text selection, highlight the text and give it a class of selection. This is triggered on mouseup.

methods: {
  runSelect() {
    const options = {
      color: false,
      highlightedClass: "selected",
      onAfterHighlight: (range, highlights, timestamp) => {
        // Finds the specific highlight for this selection (by timestamp)
        this.currentHighlight = this.findHighlight(timestamp);
        if (this.currentHighlight) {
          this.modal = true;
        }
      },
    };
    doHighlight(this.$refs.content, false, options);
  }
}

Open a modal to enter a comment
Once submitted, the comment and the selection (serialized) are stored. While doing this I change the class in the JSON to highlight from selected to keep highlights and selections separate.
After closing the modal, all highlights with class selection are cleared

removeHighlights(this.$refs.content, {
  highlightedClass: 'selected'
})

All the highlight objects are loaded from the database and parsed to JSON. They are then deserialized. Everything works great up to here. Highlights are stored properly and reload just fine.

Here is the issue though. When I now try to select anything that is already highlighted, my modal does not even open. If any part of the selection overlaps with an existing highlight the existing highlight is simply extended. This means that when I have two words selected in the text and select the whole text it all gets wrapped in an element with a class of highlight without ever creating a new highlight. It just modifies an existing one. So it's not even doing what's defined in runSelect() as it does not create a new element with class selection. I presume there is merging going on.
Is there a way to solve this? I would prefer if it would override existing highlights instead of expanding them.

Comments will not work well with this current implementation of highlighting. This auto merges highlights and will cause conflicts if you are allowing comments with highlights. B/c this allows you to be specific with how much to highlight and auto merged it won't work great. If you triggered highlights off of whole elements such as every paragraph highlights would work better. If you wanted to still use this and comments you might have to check the serialized object before and after and readd the comments. This won't deserialize your comments.

Yeah it’s a bit unfortunate. Sadly it seems that text highlighting with JavaScript has basically no libraries. After lots of trying this one worked best for me.

Closing this then :)

@brfrth you are welcome to add prs to this repo to add support for different types. I just don't really have bandwidth for this now and the current setup is working for me. I'd like to eventually bring over the unit tests and an automated github actions pipeline to verify.


Sluggish UI

Are you going to ever optimize your package? It has severe performance issues.
Here is example of our project https://apps.apple.com/ru/app/bioniq/id1526819557
First version of this app was built on Cupertino and it was smooth. After we switched to Neumorphic, the lags appeared, performance lowered, sometimes down to 5 fps during animations!
Even on your pub.dev page, on the pictures, the lags are noticable:
https://github.com/Idean/Flutter-Neumorphic/raw/master/medias/playground.gif

@subzero911 I think the package still in beta and not have huge support, you can investigate what exactly slow performance and share results here. Maybe it can be some compare benchmarks or anything else? Maybe someone dug into this problem?

on the pictures, the lags are noticeable
it is a gif, or maybe, it was made on an emulator

I found the same performance problem after I used this package, it slows down the scrolling animation if I use many neuromorphic buttons on a page.

To perform a Neumorphic design, you got to have at least for a container 2 shadows, some blur, and some clipping. Even a shaderMask for those gradients, if you want those concave and convex. So if you want performance without good code quality, stay away for Neumorphic.
Otherwise I use it on easivio quitte intensively.
We had to maintain low level of rebuild, and only select widgets candidate for rebuild. Also had to add some repaintBoundary, but at the end we reach those 60fps, and even 120fps on newer phone like S20GE (not even a beast in GPU performance)
Also, keep in mind this is a open-source, so you can improve it, if you feel like it.

Waiting for a solution, though last update is 4 months ago..

but it was leading me to AnimatedContainer, and I kept thinking, I'm not using any AnimatedContainers, then I discovered that every Neumorphic is an AnimatedContainer, which seems odd if you just want a Neumorphic to be a box.

It may be an option to add an animated parameter and use AnimatedContainer only if animated is true, regular Container otherwise.

Hi, this plugin has been low maintained lately, despite its potential and community use.
What are the solutions that you purpose for performance improvements?

Hi, this plugin has been low maintained lately, despite its potential and community use.
What are the solutions that you purpose for performance improvements?

As @m-j-g noticed, you extensively use AnimatedContainers for all widgets. It possibly may be the cause. If I'm not planning to animate the widget, I don't want to use AnimatedContainer for it.
You can try to add animated parameter (false by default) and use regular Container if animated is false, and check whether it would improve the performance. I didn't tested it yet and I'm not 100% sure, just an assumption.

@subzero911 You might want to look into this: https://docs.flutter.dev/perf/rendering/shader


Same IP Addresses on Linux

I know there is a fix underway for ssh multiplexing. Unclear if that is the root cause of continued issues with docker-machine using the same IP addresses for multiple machines. And, these were all just built consecutively without the typical timeout ssh issues on Linux that so many people are still getting. Note the repetition of IP addresses.
gstafford-X555LA:$ docker-machine ls
NAME            ACTIVE   DRIVER       STATE     URL                         SWARM
swarm-master             virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master (master)
swarm-node-01            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-02            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-03            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-04            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master

Deleting the two boxes with duplicate IPs and re-running commands (took 2x) until they had a unique IP assigned, fixed issue.
swarm-master             virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master (master)
swarm-node-01            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-02            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-03            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-04            virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master

That's a weird one.  Perhaps @ehazlett can chime in on whether or not he's experienced this before.
What's your Virtualbox version?

gstafford@gstafford-X555LA:$ docker --version &&
> docker-compose --version &&
> docker-machine --version &&
> echo "VirtualBox $(vboxmanage --version)"

Docker version 1.8.2, build 0a8c2e3
docker-compose version: 1.4.1
docker-machine version 0.4.1 (e2c88d6)
VirtualBox 5.0.0r101573

Thanks @garystafford .  Can you please paste the output of:
$ VBoxManage list hostonlyifs
$ VBoxManage list dhcpservers

@nathanleclaire:
VBoxManage list hostonlyifs: https://gist.github.com/garystafford/881ebf19b58d63108656
VBoxManage list dhcpservers: https://gist.github.com/garystafford/19669ed3f7fad7ce98b5

Hm.  That second half of the dhcpservers looks rather suspect.  If you get a chance, try removing them all and re-trying the creates to see if it fixes the issue.

I just cloned and built the latest docker-machine on the master branch on GitHub for Ubuntu and Fedora. I am still seeing no improvements on the ssh errors and duplicate IPs if docker-machine create succeeds with Ubuntu or Fedora:
gstafford@gstafford-X555LA:$ docker-machine -v
docker-machine version 0.5.0-dev (fe5a722)

NAME            ACTIVE   DRIVER       STATE     URL                         SWARM
swarm-master    -        virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master (master)
swarm-node-01   -        virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-02   -        virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master
swarm-node-03   -        virtualbox   Running   tcp://<IP_ADDRESS>:2376   swarm-master

@nathanleclaire I went from 80%+ failures creating machines and/or getting IP address conflicts to 100% success by deleting those extra host-only network adapters you mentioned. On VirtualBox 5.0.3, I went to VirtualBox -> Preferences -> Network -> Host-only Networks, and removed them. After that I created a 5-cluster swarm and added weave with not obvious errors or issues.

Thanks a lot for your persistence @garystafford.  The network interfaces in Virtualbox do have a tendency to get out of control and wreak havoc if not periodically pruned, so I wonder if we could do some automatic cleanup of ones which aren't actively in use.

Closing. Duplicate of #2091


Release 0.4

Prepare the next release v0.4.

Failure caused by removing coroutines dependency, but coroutines were used in a few tests as a demonstration.


BUG: Acode using Samsung keyboard overwrites words when "Keyboard mode" is "Normal" or "No suggestion"

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
(I firstly did Settings >> Restore default settings.)
Use Samsung keyboard.  (Edited after comments.)
Go to
Settings
App Settings
Keyboard mode
and select:
Normal or
No suggestion
In editor go to the new line
and write e.g.
aaaa bbb
Then click e.g. in the end of the word aaaa
and insert space.
RESULT:
Acode automatically changes text
aaaa bbb
to
abbb bbb
It means it overwrites word aaaa with bbb.
The bug is so annoying that this menu option is completely unusable.
And without the option user is forced manually correct every typo. In my case to use other editor.
Environment
Samsung A52
Samsung keyboard application <IP_ADDRESS>
Android 13
Acode 1.10.5
20th Oct 2024
If applicable, add mockups / screenshots regarding your vission
No response
If applicable, attach your Acode.log file to this issue.
Acode.log

I tried to reproduce it. But failed.
As it's working fine for me with all the three keyboard modes available.(Btw the no suggestions mode is good for different devices, as it doesn't disable suggestions)
I'm using gboard.

Maybe your have any ai based , system level auto correct feature, which can cause this
I guess you are using samsung keyboard, ?

I use Samsung keyboard version <IP_ADDRESS> (just actualised) and the bug is still there.
But you are right, using the Gboard the bug disappears, I just tried it.
E.g. QuickEdit editor with Samsung keyboard does not produce the bug.
Therefore the cause is the combination of Acode with Samsung keyboard.
Thank you.
I edited the title.

on fresh install, acode 1.10.5(953), samsung keyboard - <IP_ADDRESS>, one ui 6.1.1,
normal keyboard mode/no suggestions, i couldn't reproduce it
tried on an older device as well (samsung keyboard <IP_ADDRESS>)

My problem persists
even after updates, clearing data and caches, and removing languages.
------ Just updated my Samsung Galaxy A52:
Android 14
(writes "Your software is up to date"), English (US), removed other languages.
Settings >> General Management >> Language: English (United States)
Samsung One UI 6.1.
Samsung Keyboard <IP_ADDRESS>
(writes "The latest version installed"), cleared cache & data.
Languages and types: English (US), removed other language
Auto replace: no languages selected
Acode 1.10.5
just uninstalled + installed, cleared cache & data
Settings >> App Settings >> Keyboard mode: Normal
------ BUG REPRODUCING
Change happened.
On a new line typing
aaaa bbb
then moving to the end of "aaaa" and typing SPACE
does nothing - works OK.
But,
when i
move the cursor to the end of "aaaa"
and write e.g. letter c
then the result is
abbbc bbb
That is
instead of result
aaaac bbb
it rewrites it to
abbbc bbb.

OTHER APPS:
QuickEdit editor: no such bug
Jota+ editor: no such bug
NeutriNote editor: no such bug
WhatsApp: message input: no such bug

I am really furious about the Acode thing
because in hunt for the bug solution
I had to delete many settings that worked for me ok for years.

Samsung Galaxy A52
Android 14 - English (United States)
Samsung One UI 6.1
Samsung Keyboard - <IP_ADDRESS> - English (US)
Acode 1.10.5
Any ideas?.
Thank you in advance

yes the modified version of the bug i can consistently reproduce, further the old bug still is there, its just not consistent to reproduce it
https://github.com/user-attachments/assets/637ab4af-b8e3-4e37-98f4-abf2cb5c32f0


A house price forecast case

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove gpu support

I guess https://github.com/sapcc/kubernikus/tree/master/contrib/nvidia-gpu can be removed as well.

I guess https://github.com/sapcc/kubernikus/tree/master/contrib/nvidia-gpu can be removed as well.

Good find, removed it as well.


System.Net.WebException - (401) Unauthorized

Hello Andy,
i think this is not a real issue on your side, but maybe you can help me or have just some advice.
I came across your repo while trying to implement the user scope for the TwitterSharp API. I also recognized that you starred this repository.
I generated the 4 tokens ( consumer-key, consumer-secret, access-token, access-secret) from the twitter developer portal. I also regenerated them completely but always get unauthorized. The authorization header looks good (at least to me) What could i have done wrong?
thanks in advance,
marco

Hmm, I'm not sure about this unfortunately (and I need to archive this repository as it is not something I'm doing any active work on).
Are you able to call the API via any other means e.g. using Postman or twurl - does your application and project have permission to call the endpoints / functions you are trying to use? if you're trying to access the v1.1 streaming API for example, you can't do that any more.
A couple of other small things to check:

your client machine's time needs to be accurate as OAuth requires it
are you using a modern / recent version of Windows, or an older one? The reason I ask about that is that I know some older Windows versions have outdated TLS implementations that can no longer connect to the Twitter API endpoints.

Apart from that I'd have to suggest the Twitter developer forums for assistance.
I'm going to close this since it is not an issue with this project itself.

Thank you for your answer and sorry for the inconvenience. For completion: I can access all "App-Endpoints" with the bearer token. I just call v2 endpoints. Time and Windows version are up to date. I will investigate further by my self.
PS: do you still have access to the twitter API and does this program still run? If yes, i can use it as "reference" and try to fix my token problems.
Tank you anyway, marco


Wiki attachments

Hello, wiki attachments do not work properly.
Seems like wiki "attachments" key should renamed to "uploads"
http://www.redmine.org/projects/redmine/wiki/Rest_WikiPages#Attaching-files

thank you for reporting this. can you please submit a PR with the change (including tests)?


Can't find static files or template contexts

I recently upgraded to Django 1.10, and after enough tweaks to get my site to run again, I noticed debug-toolbar is not showing which static files are used:

It lists the static file count, and of those files at least 5 are being used but debug-toolbar doesn't know about them.
Also, the template contexts are not showing. The context is being passed to the template for sure, otherwise my site would be broken and blank. Of all the template contexts, debug-toolbar only knows about one of them:

The one that shows, the <unknown source> template, is rendered with a regular Context() object. The rest are rendered with a RequestContext(). That's the only difference I can see. Let me know if you need more info on this one. I love using django-debug-toolbar, and I'd be glad to help fix this. I haven't had time to dig in to the source for debg-toolbar but I will if I need to.
Thanks,
-Chris

Nevermind, this was my fault.


Keep Area etc. button selected

The user has fifteen houses to enter.
At some point he notices he has to click "Area" again for each new
house.
He wonders "why can't it just stay in Area entry mode until I click
otherwise? That would save me 14 clicks."
"Yes, I am digitizing 15 individual houses, but at least there should be
some way I can make the Area button stay pressed or whatever."
See comment 2 (which there is no way to link to) on
https://help.openstreetmap.org/questions/58785/id-editor-creating-multiple-points-ways-areas-without-having-to-click-area-etc-again-before-each-one

(Yes we can copy houses with CTRL+C CTRL+V, but then we have to adjust their shapes from the last house. etc... Usually more work than starting fresh unless all houses are the same size.)

We've discussed this.


chore(FDS-93): [Build] - Remove DEV_MODE suffix for prod environment

Remove DEV_MODE suffix for production environment
PR Author Checklist

[x] PR title adheres to Conventional Commits
[x] I have finished reviewing the contents of this PR for accuracy
[x] If needed, I have included a Changeset and it follows Semantic Versioning principles
[x] I have completed all of the above and have enabled auto-merge for this PR

Fails

:no_entry_sign:
Please add a '### Dependencies' section to explain the reason we are changing dependencies.

  Generated by :no_entry_sign: dangerJS against 3c3f26ca8eff9a7725f4c6736bdf3313215512d5


coalesce shorthand option does not comply with JSON:API / ember-data

The coalesce option of shorthand GET requests, introduced in #123 by @cibernox, expects query params in the form ?ids=1,3. This however does not comply with the JSON:API recommendation and the default serialization of the ember-data JSONAPI adapter's coalesceFindRequests, which looks like ?filter[id]=1,3.
It would be nice to have this match out of the box!
Changing that would probably not be very hard, but introduce a breaking change. Not sure how to solve this?

do the change and accept a breaking change
introduce another option like coalesceWithFilter (or whatever)
use the filter-based serialization only when the JSONAPIAdapter is used for the given model. Would still be kind of a breaking change, although I am unsure if anybody was able to use the existing way with an JSON:API compliant API?

@samselikoff could I have your opinion on this? I might be able to contribute a PR, once the direction is clear. But this currently makes our tests fail, or test something that does not match the real world, so a bit pointless...

When I implemented it, I was using the REST adapter, which expects the current format. I wasn't aware that JSONAPI expected a different one.
I think it the option could be the same (it could be renamed on both, that's fine) but should behave differently depending on the kind of mirage-adapter in use.

That would be the third option I mentioned. Sounds reasonable to me!


Sometimes leading 0 when entering digits after pressing C

How to reproduce:

Enter digits
Press the C-button - display shows the 0
Enter new digits

The 0 stays in front of the new digits.

Previous commit fixes this bug.


Ubuntu 16.04 will reach EOL on April 30, 2021

This is to notify and discuss what happens when Ubuntu 16.04 will reach EOL on April 30, 2021. Technically speaking, Canonical also provides extended security maintenance after that, but that is a special enterprise agreement, therefore I assume that PowerShell will stop support for Ubuntu 16.04 on April 30, 2021 as per support policy: https://docs.microsoft.com/en-us/powershell/scripting/powershell-support-lifecycle?view=powershell-7.1#unsupported-platforms
Can you please confirm my understanding is correct? Personally I do not see an issue with that but just wanted it to be confirmed.
Here is an (incomplete) list of docs that definitely need updating after that:

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/docs-conceptual/PowerShell-Support-Lifecycle.md
https://github.com/PowerShell/PowerShell/blob/master/README.md
https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/docs-conceptual/install/Installing-PowerShell-Core-on-Linux.md

Can you please confirm my understanding is correct? Personally I do not see an issue with that but just wanted it to be confirmed.

I can confirm.
A rule is we supports only version which .Net supports.

Can you please confirm my understanding is correct? Personally I do not see an issue with that but just wanted it to be confirmed.

I can confirm.
A rule is we supports only version which .Net supports.

DSC has a dependency on 16.04 and that won't change in the foreseeable future. The DSC team even talked with .NET team to have  them support .NET 5 on Ubuntu 16.04, see https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-supported-os.md#linux. So I believe we will keep supporting 16.04 until that changes. /cc @bagajjal to chime in.

DSC has a dependency on 16.04 and that won't change in the foreseeable future. The DSC team even talked with .NET team to have  them support .NET 5 on Ubuntu 16.04, see https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-supported-os.md#linux. So I believe we will keep supporting 16.04 until that changes. /cc @bagajjal to chime in.

DSC has a dependency on 16.04 and that won't change in the foreseeable future. The DSC team even talked with .NET team to have them support .NET 5 on Ubuntu 16.04, see https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-supported-os.md#linux. So I believe we will keep supporting 16.04 until that changes. /cc @bagajjal to chime in.

Update: Support for Ubuntu 16.04 was removed in .NET v5.0.6, released 2021-05-11.
See: https://github.com/dotnet/core/blob/06bc572c921014dc77c0d1217861ce10d1cd382b/release-notes/5.0/5.0-supported-os.md

Opened #15628 for CI.

DSC uses latest powershell 7.2.0.preview3 which uses dotnet 6. dotnet 6 support ubuntu 16.04
https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md#linux

DSC has a dependency on 16.04 and that won't change in the foreseeable future. The DSC team even talked with .NET team to have them support .NET 5 on Ubuntu 16.04, see https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-supported-os.md#linux. So I believe we will keep supporting 16.04 until that changes. /cc @bagajjal to chime in.

Update: Support for Ubuntu 16.04 was removed in .NET v5.0.6, released 2021-05-11.
See: https://github.com/dotnet/core/blob/06bc572c921014dc77c0d1217861ce10d1cd382b/release-notes/5.0/5.0-supported-os.md

In response to dotnet/core#6400, it has been clarified that Ubuntu 16.04 is still supported for .NET 5, see https://github.com/dotnet/core/commit/adf939dae4f3b76327dc2314a53f276a86a6fd25, but that a decision is still yet to be made for .NET 6.

dotnet/core maintainers have confirmed that Ubuntu 16.04 is still supported in .NET 2.1, 3.1 and 5.0 despite being end-of-life, as it still sees significant usage,


Vulnerability roundup 101: salt-3001.7: 1 advisory [7.8]

search, files

[ ] CVE-2021-25315 CVSSv3=7.8 (nixos-20.09)

Scanned versions: nixos-20.09: c7e905b6a97.
Cc @aneeshusa

CC @Flakebi

According to the Bugzilla Ticket this only affects OpenSuse. Not sure why the NVD has a second configuration for cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* up to (excluding) version 3002.2-3 when it appears to correctly be SUSE Linux Enterprise Server 15 SP 3 correctly. Maybe I should ask NIST to correct this.

@Melkor333 yes, approaching NIST would be a good idea

I've just responded to them in a second email and I assume that the configuration should be fixed in the next few days.


React Native support

Does this project also work for React Native (or is it planned to do so in the future)? When adding unexpected-react as a plugin, I get the following error:
    TypeError: window.WebSocket is not a constructor

      at setupDevtools (node_modules/react-native/Libraries/Core/Devtools/setupDevtools.js:25:8)
      at Object.<anonymous> (node_modules/react-native/Libraries/Core/InitializeCore.js:199:1)
      at Object.<anonymous> (node_modules/react-native/Libraries/Renderer/src/renderers/native/ReactNativeDefaultInjection.js:20:1)
      at Object.<anonymous> (node_modules/react-native/Libraries/Renderer/src/renderers/native/ReactNative.js:17:33)
      at Object.<anonymous> (node_modules/react-native/Libraries/react-native/react-native.js:188:25)

It's kinda of a long term goal, but not something that there's any concrete plans for yet.
This may become easier with Fiber and custom renderers, but it may not. I'll leave this open as a feature request :)

In version 5.0.0, you can require('unexpected-react/react-native') and you get shallow renderer support (using jest).  We've not done much with this, so let us know how this goes!

Nice, looking forward to try it out 👍


Support for large excel file

Hi,
I have a questions that I have a very large excel file that has 80w rows and 10 columns?
Is it possible to use this library to process row by row such as nodejs stream module?

I take it you mean 80 million rows?
That would be difficult with this library as it is since it is designed as a document editor, not a streaming parser. I did think it would be useful to add streaming writing/parsing as extensions once I've run out of other things to do

yes，thanks for consideration.

Just in case you're still watching this issue - I've just published 0.2.0 which is step 1 on the way to your 80M rows. It's not quite there yet as there are limitations imposed by the zip library I'm using that restrict the worksheet to about 20M-30M cells (or 2M-3M rows). Step 2 is to look into a more stream oriented zip library that will compress as I write. I'll look into that next as it should be a fairly easy fix

Further update: The zipping is fixed and now very large spreadsheets can be written - I tested it with 100M rows of 10 cells each! Still working on the parsing though - running into memory issues.

@guyonroche just wanted to let you know that I have switched to your repo from js-xlsx simply because of the streaming support. I have testing it out and it works great. Good job! Great Repo!

wow, sounds great. Thanks for the excellent work!

I'm currently using js-xlsx to convert excel files to json but am running into memory issues with larger files (row count wise). Before converting I use js-xlsx to ensure there is only one sheet (a limitation I am enforcing in my app), my headers match the defined template and that the total row count is less than 2,000.
Would I be able to perform the same process with exceljs streaming (perform some validations on an uploaded file and then convert to json)? I would like to use exceljs streaming to hopefully avoid memory issues.

I have to admit - I haven't been able to look at this for a while but it is an itch that won't go away. I'm hoping to address this in the next months.

:+1:

ek sal hogya h

Is there any option I have to set to enable such large exports.
I try to export 10 columns with 1M rows but getting a JS out of heap issue each time, also when I set:
--max_old_space_size=4000
# OR
--max_old_space_size=11000

I´ve created a small stress test where I tested some different column-row constellations.
https://gist.github.com/lrecknagel/105cb3399eb599fa90f326441ff615ae
Maybe anyone can give me an advice :)

Hi @guyonroche, any update on the large file issue?

Hi. I have the same issue. It is not generating a file for the rows more than 24k( I am trying to create 100k rows)

Hello, may I ask the maximum number of data/rows supported? Thanks.

Hello, may I ask the maximum number of data/rows supported? Thanks.

hi i tried to solve this with this here some reccomendation
@pippotantan https://stackoverflow.com/a/71215812/7840345

@guyonroche I had a need to stream from knex to xlsx file to express response stream and was looking at various different libraries. I initially chose to investigate exceljs and found quickly that there was some buffering problem when using streaming that seems related to backpressure. I see there are a few other issues mentioning this as well:

https://github.com/exceljs/exceljs/issues/734
https://github.com/exceljs/exceljs/issues/1894

I was able to make some progress on implementing backpressure support here:

https://github.com/tunniclm/exceljs/tree/row_commit_backpressure_stream

This was enough to solve my use case, but I fear the API changes might make it unsuitable as PR candidate. I'd be happy to try and rework it a little if you think it would be a useful inclusion into exceljs.

So much time has passed, and no one wants to solve such a banal and at the same time important problem. Why waste time on steam if it doesn't work properly anyway?
Solve this problem pls

i solve this problem in this fork: https://www.npmjs.com/package/@zlooun/exceljs

@zlooun would you like to open PR and merge your sollution?

@zlooun nice solution, thanks

@Siemienik , when will #2558 be merged ?


(ruby) numeric literals with suffixes (exponent, real, imaginary) not highligted

Describe the issue
In Ruby, float, rational, and complex literals do not highlight the textual portion of the literal.
3.5e4
2r
6i

The e4, r, and i remain unhighlighted.
Which language seems to have the issue?
Ruby.
Expected behavior
The textual portion should also be highlighted as number, as the Python grammar and others do.

I think I can sort this out - adding support for all of the following:

3.5e4, 3.5E4, 1_2.3_4e1_0
2r, 1_2.3_4r
6i, 1_2.3_4i, 3.5e4i

Doesn't look like ruby supports combining the real number suffix with exponential notation, although it does for imaginary numbers. I also noticed that the existing support for underscores in highlightjs could get a few things wrong, but I don't think it's worth fixing unless you do - stuff like leading/trailing underscores (1_, 1_.0, 1._0, etc.) That seems like an edge case worth ignoring to keep the regex simpler, but I think I could make a separate regex constant for handling that structure if you'd rather.

Let me know if this works or you're looking for something else. Happy Hacktoberfest!

@khamer You have more examples here than in your tests! ;-)


Enable automerge from 22.10 to 22.12 [skip ci]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>as title. This should be merged after new branch-22.12 is created

build

LGTM,
Shall we merge this PR after the new branch-22.12 get created, right?

LGTM, Shall we merge this PR after the new branch-22.12 get created, right?

Yes, I just created it.