fatal error: module 'Firebase' not found, not using cocoapods

I'm running this versions of RN and RNFCM
    "react-native": "0.50.3",
    "react-native-fcm": "^14.1.3",

I'm getting an error on build saying It can't find the Firebase module, I've added the Firebase manually and linked the library manually also.
I've added firebase.h, module.modulemap. Added the user headers, Header and framework search paths, Also I've added the the library to the build phase
I've also read #826 and followed some solutions there and didn't work.
Here are some screenshots that might be useful

Having the same issue :(

are you installing Firebase SDK manually or through cocapod?

Manually, for some reason installed an ancient version of react when I ran
pods, even though React is not on the podfile.
On Sun, Apr 15, 2018, 5:56 PM Libin Lu<EMAIL_ADDRESS>wrote:

are you installing Firebase SDK manually or through cocapod?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/evollu/react-native-fcm/issues/896#issuecomment-381444849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIE8gUV-V3MN7XoqoZuJ_lk7x-_2yScYks5to9AtgaJpZM4TU4UE
.

ok have you compared with example under the no pod example?

I have, every thing seems to be the same, I followed the no-pod
instructions to the letter, downloaded the sdk, imported the frameworks,
added the map and firebase.h, added the library project, as per
react-native instructions and everything.
There's something that I've might missed, that could explain this?.
On Sun, Apr 15, 2018, 6:01 PM Libin Lu<EMAIL_ADDRESS>wrote:

ok have you compared with example under the no pod example
https://github.com/evollu/react-native-fcm/tree/no-pod/Examples/simple-fcm-client
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/evollu/react-native-fcm/issues/896#issuecomment-381445163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIE8gWmUSuoTOOG0tyQ_scDqst1ADVMMks5to9FYgaJpZM4TU4UE
.

can you provide a public repo with the issue so I can take a look

Follow, having the same issue

I'd rather not share publicly the whole repo, is it possible the I could only share the ios project?

My default import in RNFIRMessaging.h was:
#if __has_include(<Firebase.h>)
#import <FirebaseCore/FirebaseCore.h>
#import <FirebaseMessaging/FirebaseMessaging.h>
#import <FirebaseInstanceID/FirebaseInstanceID.h>
#else
@import Firebase;
#endif
I modified it to:
#import <FirebaseCore/FirebaseCore.h>
#import <FirebaseMessaging/FirebaseMessaging.h>
#import <FirebaseInstanceID/FirebaseInstanceID.h>
Now it seems to be working fine.

I did the same, I've tried all the variations suggested on #826 and none seemed to work

@mokingguy you can just create a new empty project with the issue.

I am able to remove this problem. To fix, go to RNFIRMessaging.xcodeproj inside Libraries and check build settings. In my case it was not pointing where I have Firebase module.modulemap; fixed after pointing to right location

I am using react-native-fcm": 14.1.4 and also getting this module 'Firebase' not found error. Feels like I have done everything and I have no idea what to do next.

@karlmosenbacher This is not an answer, but I ended up using RNFB plugin over fcm because I could not find a solution to this issue.

Last version I can use successfully is 12.0.0. Looking at the commit history on RNFIRMessaging., it looks like the import changed quite frequently over the various releases but I can't find any that works for me when not using CocoaPods.

Nevermind it actually works for me on 15.0.2, out-of-the-box, with Firebase SDK 5.1.0 and no CocoaPods. Make sure you have the frameworks in ios/Frameworks, make sure they are added inside of Xcode and that they have the right Target Membership. Also make sure Firebase.h and module.modulemap are in the same folder and also added to Xcode. It should then work without any sort of modification to RNFIRMessaging.h or RNFIRMessaging.xcodeproj.

What worked for me was adding ".../ios" directory to the user header search paths. Apparently what happened when you drag and drop in xcode into the Frameworks is that it is added to ".../ios", not ".../ios/Frameworks". It's a bit confusing, but makes sense-- so either create the directory or add to user header paths.

same, but I use version 16

Please help

Bump


object of type 'NoneType' has no len()

Hello. I've got some error. It just exported only part of my codes, not full export. Please help to fix it. I use Frida-server.apk 16.4.8

Traceback (most recent call last):
File "/home/zippy/.venv/lib/python3.12/site-packages/frida/core.py", line 562, in _on_message
callback(message, data)
File "/home/zippy/authy-offline.py", line 58, in onMessage
parseXML(dataFile)
File "/home/zippy/authy-offline.py", line 126, in parseXML
totp = pyotp.TOTP(secret, digits=digits, interval=30).now()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zippy/.venv/lib/python3.12/site-packages/pyotp/totp.py", line 64, in now
return self.generate_otp(self.timecode(datetime.datetime.now()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zippy/.venv/lib/python3.12/site-packages/pyotp/otp.py", line 35, in generate_otp
hasher = hmac.new(self.byte_secret(), self.int_to_bytestring(input), self.digest)
^^^^^^^^^^^^^^^^^^
File "/home/zippy/.venv/lib/python3.12/site-packages/pyotp/otp.py", line 49, in byte_secret
missing_padding = len(secret) % 8
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()

Commited https://github.com/markuta/authy-backup/commit/718655d499bd646142edde542995dee5b2b0cdfc
Reworked some of the implementation and added a few checks. It still might not parse every accountType but it now shouldn't crash.

It works, thank you!


Update to oled.js

Fixed for timeout to run on node 6.x

@psyrax woah, nice find on the glaring issue there with how that function was passed in. Thanks so much for picking this up! ✨

you welcome, awesome work btw.


Vitest UI very slow with large modules graph

Describe the bug
I have an app with a large module graph, and when I run vitest --ui, the ui is very unresponsive, even if I don't have the modules tab opened.
When I uncheck the two checkboxes, then the ui is reponsive again

I don't use these modules graphs, it would be nice if having the tab closed would not affect the performance of the UI.
See video:
https://user-images.githubusercontent.com/755469/177412893-79c506cf-1bfb-48c5-9114-a2927c3b00ce.mp4
Reproduction
https://github.com/MPeloquin/VitestUiSlowModules
Module graph is larger than the one I have on my app, but the issue is the same, UI becomes very slow.
System Info
System:
    OS: macOS 12.3.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 413.05 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm
  npmPackages:
    @vitejs/plugin-react: ^1.2.0 => 1.3.2
    vite: ^2.9.9 => 2.9.9
    vitest: ^0.17.0 => 0.17.0

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

running the dev script in the repo, the browser is failing (circular reference: 200+ modules)
@DerYeger can you take a look at the repro, my laptop with 64GB of RAM cannot load it (there are 200+ modules)

@userquin I removed circular references and reduces the number of modules dependencies a bit, let me know. Thanks

running the dev script in the repo, the browser is failing (circular reference: 200+ modules)
@DerYeger can you take a look at the repro?, my laptop with 64GB of RAM cannot load it (there are 200+ modules)

Sorry for the late response.
I just tried the repro, and it is definitely very slow, though I can open it.
The graph view is active/alive while other tabs are selected, to prevent the graph from resetting every time the tab is selected.
For module graphs of this size an interactive graph view is probably not the right choice in the first place.


Manual test loop results are awful compared to trainer.test() results

🐛 Bug
Using MNIST as an example, when I train using EfficientNet (I've also used other architectures from pretrainedmodels and I have the same issue) I get ~77% Accuracy after two epochs on validation and when I use trainer.test(). However, if I use my own testing loop my Accuracy is ~10%... as good as random. If I extract a batch from the test_dataloader and pass it through the model i.e. out = model(x), it predicts the same value for nearly every input. It's almost as if model(x) is using the weights before training started instead of the weights after training ends. Am I doing something wrong when trying to get predictions via model(x) or is this a bug?
To Reproduce
See code sample
Code sample
import os
import sys
import gc

import cv2
import numpy as np
import pandas as pd
import pickle as pkl
from argparse import ArgumentParser
import argparse
from tqdm import tqdm
from PIL import Image
Image.MAX_IMAGE_PIXELS =<PHONE_NUMBER>000

from torch import nn
from torch.utils.data import Dataset, DataLoader, RandomSampler
import torch.nn.functional as F
from torchvision import transforms
from torchvision.transforms import functional as TF
from torchvision.datasets import MNIST
import torch

import pytorch_lightning as pl
from pytorch_lightning import Trainer
from pytorch_lightning.callbacks import EarlyStopping
from pytorch_lightning.logging.test_tube import TestTubeLogger
from pytorch_lightning.logging import TensorBoardLogger

from efficientnet_pytorch import EfficientNet

IMG_HEIGHT = 300
IMG_WIDTH = 300

def parse_args(args):

    parser = argparse.ArgumentParser()

    parser.add_argument("--backbone",
                        help="Backbone to use",
                        type=str,
                        default="efficientnet-b4")
    parser.add_argument("--backbone_weights",
                        type=str,
                        default="imagenet")
    parser.add_argument("--batch_size",
                        help="Batch size",
                        type=int,
                        default=12)
    parser.add_argument("--acc_grad",
                        help="Accumulate gradient for acc_grad epochs",
                        type=int,
                        default=4)
    parser.add_argument("--gpus",
                        help="GPUs to use. Either an int or comma-separated list e.g. '0,1,2'",
                        type=int,
                        default=1)
    parser.add_argument("--num_workers",
                        help="Number of workers to use in DataLoader.",
                        type=int,
                        default=8)

    args = parser.parse_args(args)
    return(args)

def accuracy(output, target, topk=(1,)):
    """Computes the accuracy over the k top predictions for the specified values of k"""
    with torch.no_grad():
        maxk = max(topk)
        batch_size = target.size(0)

        _, pred = output.topk(maxk, 1, True, True)
        pred = pred.t()
        correct = pred.eq(target.view(1, -1).expand_as(pred))

        res = []
        for k in topk:
            correct_k = correct[:k].view(-1).float().sum(0, keepdim=True)
            res.append(correct_k.mul_(100.0 / batch_size))
        return res

class TrainSystem(pl.LightningModule):

    def __init__(self, hparams, test_data=None):
        super(TrainSystem, self).__init__()

        self.hparams = hparams

        self.model = EfficientNet.from_pretrained(self.hparams.backbone, advprop=False, num_classes=self.hparams.n_classes)
        self.model = self.model.float()

    def forward(self, x):
        out = self.model(x)
        return out

    def training_step(self, batch, batch_idx):
        x, y = batch
        out = self.forward(x)
        if isinstance(out, dict):
            out = out['out']
        celoss = nn.CrossEntropyLoss()
        loss = celoss(out, y)
        tensorboard_logs = {'train_loss': loss}
        return {'loss': loss, 'log': tensorboard_logs}

    def validation_step(self, batch, batch_idx):
        x, y = batch
        out = self.forward(x)
        if isinstance(out, dict):
            out = out['out']
        celoss = nn.CrossEntropyLoss()
        loss = celoss(out, y)
        out_max = torch.argmax(out, dim=1)
#         if batch_idx % 10 == 0:
#             print('out: ', out)
#             print("out_max: ", out_max)
#             print("y: ", y)
        acc = accuracy(out, y)[0]
        return {'val_loss': loss,
               'val_acc': acc}

    def validation_end(self, outputs):
        avg_loss = torch.stack([x['val_loss'] for x in outputs]).mean()
        avg_acc = torch.stack([x['val_acc'] for x in outputs]).mean()
        print(avg_acc)
        tensorboard_logs = {'val_loss': avg_loss,
                           'val_acc': avg_acc}
        return {'avg_val_loss': avg_loss,
                'avg_val_acc': avg_acc,
                'log': tensorboard_logs}

    def test_step(self, batch, batch_idx):
        # OPTIONAL
        x, y = batch
        out = self.forward(x)
        if isinstance(out, dict):
            out = out['out']
        celoss = nn.CrossEntropyLoss()
        loss = celoss(out, y)
        out_max = torch.argmax(out, dim=1)
#         if batch_idx % 10 == 0:
#             print('out: ', out)
#             print("out_max: ", out_max)
#             print("y: ", y)
        acc = accuracy(out, y)[0]
        return {'test_loss': loss,
               'test_acc': acc}

    def test_end(self, outputs):
        # OPTIONAL
        avg_loss = torch.stack([x['test_loss'] for x in outputs]).mean()
        avg_acc = torch.stack([x['test_acc'] for x in outputs]).mean()
        print(avg_acc)
        tensorboard_logs = {'test_loss': avg_loss,
                           'test_acc': avg_acc}
        return {'avg_test_loss': avg_loss,
                'avg_test_acc': avg_acc,
                'log': tensorboard_logs}

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

    def train_dataloader(self):
        # REQUIRED
        return DataLoader(MNIST(os.getcwd(), train=True, download=True, transform=transforms.Compose([transforms.Resize((IMG_WIDTH, IMG_HEIGHT)), transforms.Grayscale(3), transforms.ToTensor()])), batch_size=self.hparams.batch_size, num_workers=self.hparams.num_workers, shuffle=True, pin_memory=True, drop_last=True)

    def val_dataloader(self):
        # OPTIONAL
        return DataLoader(MNIST(os.getcwd(), train=True, download=True, transform=transforms.Compose([transforms.Resize((IMG_WIDTH, IMG_HEIGHT)),transforms.Grayscale(3), transforms.ToTensor()])), batch_size=self.hparams.batch_size, num_workers=self.hparams.num_workers, shuffle=False, pin_memory=True, drop_last=True)

    def test_dataloader(self):
        # OPTIONAL
        return DataLoader(MNIST(os.getcwd(), train=False, download=True, transform=transforms.Compose([transforms.Resize((IMG_WIDTH, IMG_HEIGHT)),transforms.Grayscale(3), transforms.ToTensor()])), batch_size=self.hparams.batch_size, num_workers=self.hparams.num_workers, shuffle=False, pin_memory=True, drop_last=False)

args = ['--backbone', 'efficientnet-b4','--batch_size','48','--acc_grad','1','--gpus','4']
args = parse_args(args)
print(args)

out_dir = f"./saved/chk/classifier_{args.backbone}"

hparams = argparse.Namespace(**{'backbone': args.backbone,
                                    'encoder_weights': args.backbone_weights,
                                    'lr': 0.0001,
                                    'resize': (IMG_WIDTH, IMG_HEIGHT),
                                    'n_classes': 10,
                                    'batch_size': args.batch_size,
                                    'num_workers': args.num_workers})

logger = TestTubeLogger(
                        save_dir=out_dir,
                        version=f'MNIST',
                        name='lightning_logs'
                    )

early_stop_callback = EarlyStopping(
            monitor='val_acc',
            patience=20,
            # strict=False,
            verbose=True,
            mode='max'
        )

trainer = Trainer(logger=logger,
                          default_save_path=out_dir,
                          accumulate_grad_batches=args.acc_grad,
                          early_stop_callback=early_stop_callback,
                          use_amp=True,
                          amp_level='O1',
                          gpus=args.gpus,
                          max_epochs=2,
                          distributed_backend='dp')

model = TrainSystem(hparams)

trainer.fit(model)

trainer.test()
# tensor(77.1830, device='cuda:0')
# 77% Accuracy after 2 epochs! Not great, but clearly it's learning something

def get_predictions(model, dataloader):
        model.freeze()
        #model = model.cuda()
        preds = []
        accs = []
        with torch.no_grad():
            for x, y in dataloader:
                x = x.cuda()
                y = y.cuda()
                #print(y)
                out0 = model(x)
                acc = accuracy(out0, y)
                out0 = torch.topk(out0, k=1).indices.tolist()
                #print(out0)
                preds.extend(out0)
                accs.extend(acc)

        preds = np.asarray(preds)
        accur = np.mean([a.cpu().numpy()[0] for a in accs])
        return preds, accur

test_dl = trainer.test_dataloaders[0]
pred, accur = get_predictions(model, test_dl)
accur
# 9.808613%
# Now only 9.8% Accuracy -- As good as random guessing

If I predict on a single batch from the test_dataloader almost all of the predictions are of the same class which would explain why Accuracy is ~10%.
x, y = next(test_dl.__iter__())
out = model(x.cuda())
torch.argmax(out, dim=1)
# tensor([7, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], device='cuda:0')
# It predicts 5 nearly all the time

Expected behavior
I would expect much better results from model(x) and my prediction loop.
Environment
cuda:
GPU:
Tesla P100-PCIE-16GB
available:           True
version:             10.1
packages:
numpy:               1.18.2
pyTorch_debug:       False
pyTorch_version:     1.4.0
pytorch-lightning:   0.7.1
tensorboard:         2.1.1
tqdm:                4.42.0
system:
OS:                  Linux
architecture:
64bit
processor:
python:              3.6.6
version:             #1 SMP Tue Feb 4 23:02:59 UTC 2020

I downgraded to 0.6.0 and trainer.test() gives the same accuracy as my test loop.

ummm yeah, we made changes to .test meant to work with ddp on notebooks better. looks like this points to a bug in that. mind putting a colab together on this? can look at it now

https://colab.research.google.com/drive/1xr_JPDhf5UmHYUfmhZSrwQDanQbKYBcD
I've never used colab before so let me know if there's anything I need to change to be more helpful. On colab the results for trainer.test and my loop matched. I then reran it locally using only 1 GPU and everything worked correctly again, so this appears to be an issue related to multiple GPUs.

I used your colab and didn't get the issue...
It predicts the same on .test as it does on your later testing code

And reran again from master:

As I said in my previous comment, the results in Colab were the same for both trainer.test() and the manual loop. Colab only uses 1 GPU though. When I use multiple GPUs locally this becomes an issue.
I will try again using master to see if the issue has been resolved in the meantime.

Another clue is that it works okay with multiple GPUs and use_amp=False. However, multiple GPUs and use_amp=True yields two different results on 0.7.1:

Nonetheless, I ran the same code on master and I get the same (and much better) results so whatever it is has been resolved since 0.7.1


Bugfix: wrongly assign gen_config with True

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Bugfix
Modification
Bugfix: fix bugs with error info:"
if gen_config.stop_words is None:
AttributeError: 'bool' object has no attribute 'stop_words'",which is caused by assign gen_config with value 'True'.

Hi, @thelongestusernameofall could you fix the linting error
pip install pre-commit
cd the/root/dir/of/lmdeploy/project
pre-commit install .
pre-commit run --all-files

Hi,
I executed the two commands and there were no errors. Please find the screenshot of the information below.

If there is anything else I need to do, please let me know.

Hi, @thelongestusernameofall could you fix the linting error
pip install pre-commit
cd the/root/dir/of/lmdeploy/project
pre-commit install .
pre-commit run --all-files

Hi,  The pre-commit check detected a flake8 error regarding a line that was too long. I have fixed this issue and updated the Pull Request accordingly.


Improving Repo Security

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Lately I've been having problems with unauthorized hijacked trying to place claim on people repo .  Im trying to current this issue
What changes are you suggesting?
Security for better dev security
Additional information
Fixing problem GitHub been having with stolen repo .

@BirthofKings360
Thanks for opening this issue! I think GitHub support or GitHub Support Community would be the best place to ask this question 💛


typo

Thanks!

thank you for sharing the lib!

Sure, we're happy if it's useful! Let us know if you have any issues with FALCONN.


Updated links/urls in readmes

Closes/fixes/resolves issue(s)?
Closes #71
What was added/changed/fixed?
Updated text and urls in all READMEs
Related issue(s)? [Optional]
Others [Optional]
Checklist (after created PR)

[x] Added reviewers
[x] Added assignee(s)
[x] Added label(s)
[ ] Added to project
[x] Added to milestone

LGTM


Bug - Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)  Aborted (core dumped)

Hello ~
I got this error when use tf.layers.conv2d.
I use systems as following.
ubuntu 16.04
tensorflow 1.5.0
cuda 9.0
cudnn 7
and I executed my code on nvidia-docker conteiner.
(nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04)

Same issue.
System details are:
Windows 10
Python 3.6
Tensorflow 1.5.0
Cuda 9.0 and cuDNN 7.0.5
Example Code is Tensorflow's MNIST code - https://github.com/tensorflow/tensorflow/issues/16965
The debug info:
name: GeForce GTX 970M major: 5 minor: 2 memoryClockRate(GHz): 1.038
pciBusID: 0000:01:00.0
totalMemory: 3.00GiB freeMemory: 2.47GiB
2018-02-13 12:24:03.845670: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 970M, pci bus id: 0000:01:00.0, compute capability: 5.2)
2018-02-13 12:24:05.082021: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_blas.cc:444] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
2018-02-13 12:24:05.087986: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_blas.cc:444] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
2018-02-13 12:24:05.590109: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_dnn.cc:385] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2018-02-13 12:24:05.595021: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_dnn.cc:352] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
2018-02-13 12:24:05.600328: F C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\conv_ops.cc:717] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo<T>(), &algorithms)

This bug is still present with Keras program:
`
import numpy as np
import keras
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten
from keras.layers import Conv2D, MaxPooling2D
from keras.optimizers import SGD
x_train = np.random.random((100,100,100,3))
y_train = keras.utils.to_categorical(np.random.randint(10, size=(100, 1)), num_classes=10)
x_test = np.random.random((20,100,100,3))
y_test = keras.utils.to_categorical(np.random.randint(10, size=(20,1)), num_classes=10)
model = Sequential()
model.add(Conv2D(32, (3,3), activation='relu', input_shape=(100,100,3)))
model.add(Conv2D(32, (3,3), activation='relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Conv2D(64, (3, 3), activation='relu'))
model.add(Conv2D(64, (3, 3), activation='relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(10, activation='softmax'))
sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
model.compile(loss='categorical_crossentropy', optimizer=sgd)
model.fit(x_train, y_train, batch_size=32, epochs=10)
`
The below snipped from stackoverflow fixes it in MNIST example
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
session = tf.Session(config=config, ...)

This fix from https://stackoverflow.com/questions/41117740/tensorflow-crashes-with-cublas-status-alloc-failed
What's the problem here?

@wang-yang can you please take a look at?

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Assignee @jart: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

The answer appears to be on stack overflow.
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
session = tf.Session(config=config, ...)

If there's a bug in TensorFlow that we can fix here, please help us learn more and I'll reopen this issue.

When I was using Tenosorflow ver 1.2.1, I can not observe this error.
I seem that some system can observe this error from ver Tensorflow ver 1.3.0. or Cuda9.0.
And this error occurs only in convolutional operation.
System detail
nvidia drivver varsion: 384.125
gpu : tesla v100 x4
cpu : Intel(R) Xeon(R) CPU E5-2623 v3 @ 3.00GHz
tensorflow version: 1.5.0
Cuda version: 9.0
Nvidia Docker version: 2

I'm having the same issue, even after applying the changes posted by Jart back in April. The code I'm executing is from Udacity deep learning tutorial assignment #4. Any help would be greatly appreciated.
System Details:
System: Windows 10 home 64-bit, x64-based processor
Cuda: v 9.0.176
CUDNN: v 9.0 win10x64 <IP_ADDRESS>
tf-gpu: v 1.5.0 via PIP
NVIDIA: GTX 1060 6 GiB
NVIDIA DRIVER VERSION: 417.35
python v: 3.6.7
The output does not change after applying Jart's suggestion.
Output:
~\Documents\Udacity\Deep Learning\Assignment 4 (CNN's)> python main.py
Training set (200000, 28, 28) (200000,)
Validation set (10000, 28, 28) (10000,)
Test set (10000, 28, 28) (10000,)
Training set (200000, 28, 28, 1) (200000, 10)
Validation set (10000, 28, 28, 1) (10000, 10)
Test set (10000, 28, 28, 1) (10000, 10)
2019-01-04 15:40:09.714793: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-01-04 15:40:10.003545: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1105] Found device 0 with properties:
name: GeForce GTX 1060 major: 6 minor: 1 memoryClockRate(GHz): 1.6705
pciBusID: 0000:01:00.0
totalMemory: 6.00GiB freeMemory: 4.97GiB
2019-01-04 15:40:10.013346: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1060, pci bus
id: 0000:01:00.0, compute capability: 6.1)
Initialized
2019-01-04 15:40:12.584016: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_dnn.cc:378] Loaded runtime CuDNN library: 7301 (compatibility version 7300) but source was compiled with 7003 (compatibility version 7000).  If using a binary install, upgrade your CuDNN library to match.  If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.
2019-01-04 15:40:12.601433: F C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\conv_ops.cc:717] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)

For me, downgrading cudnn helped. See the answer on (StackOverflow)[https://stackoverflow.com/a/72885500/17572887]


abbr element doesn't work right on mobile

One option: https://bitsofco.de/making-abbr-work-for-touchscreen-keyboard-mouse/
Another: Bootstrap popovers

Fixed in next deploy.


Add table indexes API

This API is primarily for the controller UI -> tables ->  -> reload status -> STATUS ui element. Right now it uses the /segments/{tableName}/metadata?type={type}&columns=* API to display the column level index details. This has a few problems

This is an expensive API call especially for large tables. This leads to bad ux when using the reload status UI feature
The UI logic to build tableLevel column -> index mapping using this segmentName level metadata is simply wrong (uss the first segment's metadata to build the view).
Since Index-spi changes are merged, this API does not return metadata of dynamically added index types, but only some hardcoded ones.

This new API's reponse looks like this
{
    "totalSegments": 31,
    "columnToIndexesCount":
    {
        "FlightNum":
        {
            "dictionary": 31,
            "bloom": 0,
            "null": 0,
            "forward": 31,
            "fst": 0,
            "json": 0,
            "range": 0,
            "h3": 0,
            "text": 0,
            "inverted": 0,
            "some-dynamically-injected-index-type": 31,
        },
        "Origin":
        {
            "dictionary": 31,
            "bloom": 0,
            "null": 0,
            "forward": 31,
            "fst": 0,
            "json": 0,
            "range": 0,
            "h3": 0,
            "text": 0,
            "inverted": 0,
            "some-dynamically-injected-index-type": 0,
        }
        ...
}

I'll followup with @jayeshchoudhary to move the UI API call to this new one, and how best to display the UI element once this PR is merged.

API calls involved when viewing this modal. For a large enough table, this UI element takes ~40s to load

Codecov Report

Merging #11576 (a6b0bdb) into master (bc0d9fb) will decrease coverage by 48.58%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11576       +/-   ##
=============================================
- Coverage     63.05%   14.47%   -48.58%
+ Complexity     1108      201      -907
=============================================
  Files          2325     2326        +1
  Lines        124797   124869       +72
  Branches      19056    19061        +5
=============================================
- Hits          78693    18079    -60614
- Misses        40508   105266    +64758
+ Partials       5596     1524     -4072

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
14.46% <0.00%> (-35.58%)
:arrow_down:

java-17
14.47% <0.00%> (-48.45%)
:arrow_down:

java-20
14.47% <0.00%> (-48.43%)
:arrow_down:

temurin
14.47% <0.00%> (-48.58%)
:arrow_down:

unittests
14.47% <0.00%> (-48.58%)
:arrow_down:

unittests1
?

unittests2
14.47% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...on/response/server/TableIndexMetadataResponse.java
0.00% <0.00%> (ø)

...oller/api/resources/PinotTableRestletResource.java
43.15% <0.00%> (-4.23%)
:arrow_down:

...che/pinot/server/api/resources/TablesResource.java
54.09% <0.00%> (-4.42%)
:arrow_down:

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


how to turn off not letting the tasks timeline turn on by default when I start obsidian?

I'm using this plugin Tasks Calendar Wrapper in obsidian, how do I turn off not letting the tasks timeline turn on by default when I start obsidian? Since there's a shortcut, I think I'd like to use the shortcut to bring it up when I need it, without him having a strong reminder on the right side.
我在obsidian中使用了这款插件Tasks Calendar Wrapper，如何关闭不让tasks timeline在启动obsidian时默认开启？既然有快捷键，我想我需要的时候用快捷键调出它，而不需要他在右侧强提醒。启动时就看到未完成的任务很烦，觉得自己被任务带着走，感觉很糟糕，没有主导生活的感觉。

I am sorry you are not feeling good using this plugin, I will see what I can do about this feature.

Not causing so much stress, but there does seem to be a button there to not enable focus on today at startup Is that the same thing? If so, it does not seem to work. Annoying enough to possibly make me disable the plugin until a workaround is available.

Hi @ksdavidc , Do you mean the Today Focus On Load option is not working? Could you please provide more infomation cuz I cannot reproduce it in my environment.

Also if the default behavior (i.e. shows up on obsidian opening) is too much disturbing, I will add an option for it @Signets .

HI, sorry for the delay in responding. I just noticed it.

Hi @ksdavidc , Do you mean the Today Focus On Load option is not working? Could you please provide more infomation cuz I cannot reproduce it in my environment.

I think so, but I am not sure if that means what I think it means. If that option is intended to control having the plugin page appear in the right sidebar when opening Obsidian, then yes, it is not working, or rather it is working too well. It does open on load, but I seem to be unable to STOP the sidebar from showing on open, even if I turn off Today focus on load.

Also if the default behavior (i.e. shows up on obsidian opening) is too much disturbing, I will add an option for it @Signets .

I too would like to have a switch to turn off the default. I like this plugin but I prefer to see my regular calendar when I open so I have had to disable it for now...

Slight nudge.
Attached virgin sample vault exhibiting the behavior.
focus on load turned off

different tab in sidebar before closing

closed and reopened. Focus showing in sidebar. Please, no.

zipped vault.
test.zip

I had to fix it myself. I changed the following function:
 async activateView(type) {
    if (type !== TIMELINE_VIEW) {
      return;
    }
    this.app.workspace.detachLeavesOfType(type);
    try {
      await this.app.workspace.getRightLeaf(false).setViewState({
        type,
        active: false // change this to false to prevent load on start
      });
      this.app.workspace.revealLeaf(
        this.app.workspace.getLeavesOfType(type).first()
      );
    } catch (e) {
      console.log(e);
    }
  }
};

@ksdavidc Sorry I could not get it fixed in time, I was busy preparing to defend my thesis. A pr would be great if you have fixed it in your own codebase.

@ksdavidc Sorry I could not get it fixed in time, I was busy preparing to defend my thesis. A pr would be great if you have fixed it in your own codebase.

When I said "fix", my tongue was in my cheek. What I did was break it. It was an awful hack, as I have no clue what I am doing. I stumbled on figuring out that making the setViewState() function inoperative seemed to work, but I have no idea what other consequences this might have elsewhere, or even if the effects are permanent or wear off. I only changed that one commented statement from "true" to false, so there is nothing much to pr.

Apologies, on top of everything else, I just checked again, and my “fix” doesn't work anymore. I tried some other fixes, but nothing sticks.

Hi @ksdavidc Thanks to @maoli17(pr#113) I think this should be resolved in v0.3.0!


Update front end to align with the look and feel of the other boosters

Coverage remained the same at 91.667% when pulling ccc7c80aa47eafe36b0de70240152e0153bf7bfd on lholmquist:front-end-updates into eb4142b8ff8de1497d68b8b401463ce764d1ddfd on bucharest-gold:master.

Coverage remained the same at 91.667% when pulling ccc7c80aa47eafe36b0de70240152e0153bf7bfd on lholmquist:front-end-updates into eb4142b8ff8de1497d68b8b401463ce764d1ddfd on bucharest-gold:master.


https://ipfs.io domain is taking a long time to find files from a go-ipfs node

A few months ago when I was using my go-ipfs node I was able to add files and have it discovered by https://ipfs.io/ipfs/hash within seconds. In the last few weeks I have found that this now often takes multiple minutes. I have tested it on multiple VPS's in different locations and have experienced the same issues. Is this a known issue by other members of the team?

What is the specific hash you're seeing this issue with?
Could you provide the results of traceroute -A ipfs.io for a VPS having the issue?

This seems to be much better now


[REQUEST] Add a way to change the hours played

insufficient information, please open new issue with description about what you want.


v6.2.0 nightly cli remove v6.1.0 changefeed:  Error: election: no leader

What did you do?

tiup ctl:nightly cdc --pd=http://xxx:2579 changefeed remove -c kafka-avro-enable-extension-1
TiDB cluster v6.1.0

What did you expect to see?
Since v6.2.0 cli don't support lower version server, the  return error is like this:
Can’t operate the TiCDC cluster, the cluster version is too old. Only the version of this cluster larger or equal than v6.2.0 can be operated, please make sure the server version and the cli-tools version are matched.
What did you see instead?
Starting component ctl: /root/.tiup/components/ctl/v6.2.0-alpha-nightly-20220717/ctl cdc --pd=http://<IP_ADDRESS>:2579 changefeed remove -c kafka-avro-enable-extension-1
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/capture/0947950a-4a82-4cb7-a0aa-b62b696bfb2c]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/capture/8b6e99b6-57f3-41c0-b7ea-93d1bdbceafb]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/capture/994a977c-3b15-4080-bfeb-c0344605148b]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/changefeed/info/kafka-avro]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/changefeed/info/kafka-avro-enable-extension-1]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/changefeed/info/kafka-avro-handling-mode]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/job/kafka-avro]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/job/kafka-avro-enable-extension-1]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/job/kafka-avro-handling-mode]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/meta/ticdc-delete-etcd-key-count]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/owner/25a6820f5c6c3c7e]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/owner/25a6820f5c6c3c87]
[2022/07/18 11:33:59.679 +08:00] [WARN] [etcd.go:176] ["found etcd key with reserved cluster id"] [key=/tidb/cdc/owner/25a6820f5c6c3c8f]
Error: election: no leader
Usage:
cdc cli changefeed remove [flags]
Flags:
-c, --changefeed-id string   Replication task (changefeed) ID
-h, --help                   help for remove
Global Flags:
--ca string          CA certificate path for TLS connection to CDC server
--cert string        Certificate path for TLS connection to CDC server
-i, --interact           Run cdc cli with readline
--key string         Private key path for TLS connection to CDC server
--log-level string   log level (etc: debug|info|warn|error) (default "warn")
--pd string          PD address, use ',' to separate multiple PDs, Parameter --pd is deprecated, please use parameter --server instead.
--server string      CDC server address
election: no leader
Error: exit status 1
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):
(paste TiKV version here)

TiCDC version (execute cdc version):
(paste TiCDC version here)
Release Version: v6.1.0
Git Commit Hash: 9f5e3cea2fae0a3dce6cc5ca79e3bcd654b8aa99
Git Branch: heads/refs/tags/v6.1.0
UTC Build Time: 2022-06-07 11:54:04
Go Version: go version go1.18.2 linux/amd64
Failpoint Build: false

https://github.com/pingcap/tiflow/pull/6268 this PR is not merged

Close it since it's stale.


Remove default background from todolist

Remove initial half transparent backgorund from todolist. Make it transparent and add text shadows. Background shows only on hover.
And add direct link to Todoist if a user clicks to todolist's block.

done


Any support for x_auth_access_type for getRequestToken function?

The optional x_auth_access_type parameter allows an application request to be downgraded from write access to read only access.
https://dev.twitter.com/oauth/reference/post/oauth/request_token
I tried adding the parameter to the 'var Twitter' constructor something like this in twitter.js
this.callback = options.callback;
this.x_auth_access_type = options.x_auth_access_type;
this.oa = new oauth.OAuth("https://twitter.com/oauth/request_token", "https://twitter.com/oauth/access_token", this.consumerKey, this.consumerSecret, "1.0A", this.callback, "HMAC-SHA1", this.x_auth_access_type);
and then making a request with
readAccess = new twitterAPI({
consumerKey: key,
consumerSecret: secret,
callback: url,
x_auth_access_type: 'read'});
but I'm unsure how to encode it and due to the lack of documentation from Twitter it might even be due to not being part of the oauth npm package.

I found a way to add what you asked for. You just need to specify x_auth_access_type in the constructor (see README.md). I will push it to npm shortly.


GIF Update

We have received feedback from a few customers that  is a wrong representation as created a new Home page actually has a different layout then the one that is represented in the GIF. Can we replace with a current version?

@salarson please contact the article author internally for assistance in updating an image.


OWASP 5.2.4 cli gives incorrect severity for various node modules

Describe the bug
OWASP 5.2.4 cli gives incorrect severity i.e. 0.0 for various node modules when the source of vulnerability is OSSIndex.
Version
5.2.4
Output Logs:
"packages": [
{
"id"<EMAIL_ADDRESS>"confidence": "HIGHEST",
"url"<EMAIL_ADDRESS>}
],
{
"source": "OSSINDEX",
"name": "Cross Site Scripting (XSS) in JSONP",
"severity": "0.0",
"cwes": [
],
"description": "JSONP allows untrusted resource URLs, which provides a vector for attack by malicious actors.",
"notes": "",
"references": [
{
"source": "OSSINDEX",
"url": "https://ossindex.sonatype.org/vuln/9635e385-cf30-49bd-8f4a-1b6c9757d8a3",
"name": "Cross Site Scripting (XSS) in JSONP"
}
],
"vulnerableSoftware": [
{
"software": {
"id": "cpe:2.3:a::angular:1.3.19:::::::",
"vulnerabilityIdMatched": "true"
}
}
]
To Reproduce
Add below dependency and run dependency-check cli using v5.2.4
"angular":"1.3.19"
Expected behavior
Severity should not be assigned as 0.0 .Also, what is the severity level for this kind of vulnerability.

looking at https://ossindex.sonatype.org/vuln/9635e385-cf30-49bd-8f4a-1b6c9757d8a3 there is no severity score, so if a bug at all, it's a bug in the data

Yes , but the results from OSS API is

I believe this is a duplicate of (or possibly a continuation of) #1605.  The report is being updated in 5.2.5 (being released in the next few weeks) to correctly label these as unscored.  The HTML report will show:
Unscored:
     Severity: Unkown

After reviewing this ticket I realized what was done for #1605 does not completely cover the XML and JSON formats.  As such, we reved the XML schema version to include <severity unscored="true">Unknown</severity> and for the JSON you will see:
                    "unscored": "true",
                    "severity": "Unknown",

The reason for "unknown" is that we truly do not know the severity.  I could see some treating these as low, some treating these as critical, and others doing their own evaluation on unscored/unknown vulnerabilities.


show source field on saving form

Currently user must notice that the field even can be added and then add it manually on every edit.
As result iD mappers are generally not specifying their sources.
To not block/scare mappers it would be OK to not require filling it.

I concur! I would add that it would be great if the background data source were filled in by default when entering the upload dialog. So for example, I am thinking that would be the imagery sources that are highlighted in blue in background selection menu. I end up over abbreviating my sources so they probably are not very clear, for example instead of distinguishing between two types of Maxar imagery frequently I just say Maxar.

Yes, please!

See https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/ for guide how you can add your +1 without sending a flood of notifications.

@matkoniecz I know you mean to help but I'm happy to see people's enthusiasm in this repo however they choose to show it.

Sorry! I will try to avoid backseat moderation.

I'm not against showing the source field by default, but I'd want it to be a bit more user-friendly than the current semiCombo field. A few ideas:

Show the five main options without focusing the dropdown
Toggle options in one click/tap
Translatable option labels
Tooltip or other reference to explain what each option means
Icons to illustrate each option

I have a design in mind I might mockup. Some of the other fields could also benefit.

For iD mapping I would expect that the most valuable info would be distinguishing on "I map place that I visited" from "I am armchair mapping based solely on imagery" and "I map based on some other sources".


[FEATURE REQUEST] Allow wordlist input for extensions (-x) option

Is your feature request related to a problem? Please describe.
The extension option (-x) cannot take a file with a list of common extensions and use that list as extensions for directory busting.
Describe the solution you'd like
Allow for wordlists to be parsed by feroxbuster so that a large list of file extensions can be tested.
Describe alternatives you've considered
Provide a preset list of extensions that can be used to enumerate multiple file types quickly.

Thanks for the request!
This will effectively be implemented when #242 is added. When that feature is complete, you'll be able to do something like
feroxbuster -u https://example.com/WORD.EXT -w extensions.txt:EXT -w words.txt:WORD

For now, you can do some bash tricks to get what you're after (linux assumed)
feroxbuster -u https://example.com/  -w words.txt -x $(paste -sd , extensions.txt)

Okay awesome! Yeah I figured I could do it via bash but I was hoping I could be lazy and not do that :P


docs: add instructions for opening/repositioning devtools

I just waited a bunch of time trying to figure out something that should be pretty fundamental to usage. In my opinion the docs should start with this text.
(Removes "Discover all the features of the Vue DevTools" which feels like placeholder text anyway to have something before the first subheading.)
It would be nice to include the shortcut keys here but I know there's handling for Mac/non-Mac keyboards so I dunno how people would like that handled.

Thanks for the PR, But I'm not so sure about it. The tips we added here only apply to the Vite plugin, but we also have a browser extension and standalone app client... This may be confusing for users.

@webfansplz Yes, thanks; in that way, I agree.
It seems like this could be solved by just moving this into the "Overview" section with a little caveat, e.g. "If you are using the plugin, DevTools will start at the bottom of your screen but you can move it, yadda yadda."
What do you think about that?

@webfansplz I have moved the usage out of the "Features" section and put it at the end of each Installation guide. I also clarified some minor things in those guides. (For instance, in my opinion the verbiage was strange; the instructions for configuring your Vite Plugin were called "Usage".)


Cleaned, refactored, finished features, converted to address book context

TODO
Testing

[ ] Prepare test input and output files.

Completed Changelog
Converted domain to-do list -> address book
(A) UX

Now attempts to load storage file upon start.

Will attempt to create storage file if it does not exist.
More specific feedback messages.
Input to program now ignores lines whose first non-whitespace character is # ; files used for input redirection can now have comments without affecting execution or output.

(B) Commands / Related Features

Add command's 2nd and 3rd (phone and email) arguments can be in any order; the prefixes \p and \e will be used for parsing.

Find command matches a person when any word in the name matches any of the keywords.
The last person list "view" is remembered.
When referring to a person by index, the index shown in the last person list "view" is used.
Delete command will show the appropriate feedback when trying to delete a person who is already deleted (eg. when entering delete 1 twice, after the first time the person in the 1st position of the last view is already deleted).

(C) Code Design

No null values passed around; this version already uses java.util.Optional

Guard clauses wherever possible.
Immutable variables wherever possible.
Complete javadoc comments for every method.
Methods grouped by responsibility, might make it too easy for students to split it into OO components though.
More comments.

Possible improvements / things to note for students
UX

prettify output
more detailed user feedback
more detailed help messages
more input validation and handling invalid input before doing heavy operations
recovery for exceptional cases

Defensive programming

methods without side effects can be public
use minimal required superinterface (eg collections vs list, list vs arraylist)
defensive copying (and encapsulation)
immutability

Others

improve efficiency of delete and search
avoiding arrays and using java collections framework
some ui logic (feedback message construction) is inside command execution methods, but others (formatting list of persons for display) are in UI logic methods. need better separation of concerns.

@damithc didn't have time to finish test in/out files yet, but did a lot of exploratory testing; seems to be working correctly

I've merged this. Pending work can be done as a separate PR. I have some minor cosmetic suggestions which I'll submit as a separate PR.


How to use kotlin2plantuml.jar with an Android Studio project?

Hi there,
I'm trying to get kotlin2plantuml.jar running with this project
https://github.com/android/uamp
What I tried was
java -jar kotlin2plantuml.jar com.example.android.uamp.media.MusicService
in the root of the Android Studio project.
But I only get
Exception in thread "main" java.lang.ClassNotFoundException: Unable to find com.example.android.uamp.media.MusicService         at io.github.kelvindev15.kotlin2plantuml.utils.ReflectUtils$Companion.loadClassOrThrow(ReflectUtils.kt:34)         at io.github.kelvindev15.kotlin2plantuml.utils.ReflectUtils$Companion.loadClassOrThrow$default(ReflectUtils.kt:31)         at io.github.kelvindev15.kotlin2plantuml.MainKt.main(Main.kt:92)
From the README I could see , that I maybe have to pass the CLASSPATH over to the command.
So I tried
java -cp . -jar kotlin2plantuml.jar com.example.android.uamp.media.MusicService
java -cp "C:/uamp_test_uml" -jar kotlin2plantuml.jar com.example.android.uamp.media.MusicService
but unfortunatly this doesn't work and results in the same error

Hi!
You're right, the main issue here has to do with the classpath. Right now i can think of two "quick" solutions:

Create a gradle task in the build file of the project, in order to launch io.github.kelvindev15.kotlin2plantuml.MainKt with the CLI arguments. This requires that you correctly set the classpath. An example could be:

task diagram(type: JavaExec) {
    var classpathList = new ArrayList<File>()
    classpathList.add("<path-to-build-dir>")
    classpathList.add(new File("kotlin2plantuml.jar"))
    classpath classpathList.toArray();

    mainClass = "io.github.kelvindev15.kotlin2plantuml.MainKt"
    args "com.example.android.uamp.media.MusicService"
    args "<any-cli-option>"
}

You can then launch the task with:
./gradlew diagram

As explained here also add the kotlin2plantuml.jar file to the classpath and execute the io.github.kelvindev15.kotlin2plantuml.MainKt class. Example:

java -cp kotlin2plantuml.jar:<path-to-build-dir> io.github.kelvindev15.kotlin2plantuml.MainKt com.example.android.uamp.media.MusicService

I know, it may not the most beautiful way to deal with it...

ok, it's good answer, but personaly i try to do this, but this gradle file doesn't see File class, please say, what i can do,

I'm guessing you're missing an import. Try importing
import java.io.File;

At the top of the build file.

well, i try to do this in build.gradle(Project) , but i cant make imopor , AS saying :

I have not changed the paths and names of the packages so far

This issue seems to tackle your problem.
Also this may be useful.

big thank you for answering on my questions)

sorry, i solved my problem(just switched from Windows to Linux XDDD)
and i have last 2 questions :

in which directory should we put(any place on the disk or in the folder with the project)
 - iis the path where the kotlin2plantuml.jar located, or path where located main class of app?
thx)

If you mean where to put the kotlin2plantuml.jar, I would suggest on the root folder of your project. The gradle task i previously posted assumes the jar is there.
With build-dir I meant the destination directory of the compiled class. Usually for gradle projects is the /build folder, but it actually depends on the build configuration of your project.

Hi @LX222 & @Oneotrix
With the latest release there's now the possibility to set the classpath directly via CLI with the -cp option.

In Android Kotlin project, when I try to run
java -jar kotlin2plantuml.jar com.milence.MainActivity -cp app/build/intermediates/javac/devDebug/classes:app/build/tmp/kotlin-classes/devDebug:app/build/intermediates/asm_instrumented_project_classes/devDebug: --recurse
in Android Gradle Project, I receive "Exception in thread "main" java.lang.NoClassDefFoundError: androidx/appcompat/app/AppCompatActivity".
It means that it found my MainActivity class, but it can't find all other dependencies (in this case, AppCompatActivity from android core library). I think that the only solution is to include jar for each dependency manually, which makes it not practical.


Fix FileManager invalidation issue for file redirect

@marcrasi Not sure what the best process for this fix would be, feel free to suggest a different way.


[$250] Migrate AddDebitCardPage.js to function component

Class Component Migration
Filenames

[ ] src/pages/settings/Payments/AddDebitCardPage.js

type: React.Component
has state values: false
has refs: false
has context: false
lifecycle methods: componentWillUnmount,componentDidUpdate

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012d6b3b0bf0cd8a57
Upwork Job ID:<PHONE_NUMBER>680251392
Last Price Increase: 2023-06-26

⚠ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

Heads up! The pricing for this issue has been adjusted based on the scope of the work and the fact that no complex bug investigations or proposal are required.

I can work on this if goes to external

I'd like to work on this issue when it goes to external

I would love to work on this!
(first comment after going external😅)

I would like to work on this.

Since the @multijump & @muxriddinmuqimov77 have an existing migration issue open let's go with @neonbhai
C+ Reviewed
🎀 👀 🎀

@youssef-lr While assigning please check whether @neonbhai has migration if so let's go with next interested volunteer here, thanks!

@youssef-lr While assigning please check whether @neonbhai has migration if so let's go with next interested volunteer here, thanks!

Just to confirm @Santhosh-Sellavel are we looking for another person to work on this?
If I have the right, I think we have @olexyt and @rayane-djouah both interested?

@youssef-lr While assigning please check whether @neonbhai has migration if so let's go with next interested volunteer here, thanks!

Just to confirm @Santhosh-Sellavel are we looking for another person to work on this?
If I have the right, I think we have @olexyt and @rayane-djouah both interested?

It would be great if I can work on this task.

Since I'm OOO next week and @Christinadobrzyn is moving this one forward. I chatted with Christina and I've unassigned myself since we had a double assignment here.

@Christinadobrzyn We need only one contributor so let us just go with @olexyt here for this issue.
Seems @neonbhai Is assigned to another migration job!

Assigning these issues are bit confusing 😅 . May be the next interested person here then @Christinadobrzyn

how about @rayane-djouah for this issue if @olexyt is going to https://github.com/Expensify/App/issues/16281?

I can work on this issue now

I can work on this

I am eager to take on this task.
Thank you.

Thanks but let's give to a new contributor here, @Christinadobrzyn we can assign @yh-0218

Hello
I would like to work on this issue.

Okay, I think we've settled on @yh-0218 for this job, adding!

Hi, @Christinadobrzyn  Could I start this task now?

I will complete this task within a day

@yh-0218 - yes please feel free to start on it and include the PR with this GH.

Hi, @Santhosh-Sellavel This PR is ready for review.

Hired in Upwork:
Internal job: https://www.upwork.com/ab/applicants/1673399016680251392/job-details
External job: https://www.upwork.com/jobs/~012d6b3b0bf0cd8a57
@yh-0218 $250 as contributor
@Santhosh-Sellavel $250 as C+

I'm going to be ooo until August 31st so going to unassign and assign a new teammate.
At this time, we're reviewing the PR and waiting for payment https://github.com/Expensify/App/issues/16284#issuecomment-1622643839

We can skip the checklist as this is not a bug!

Requested $250 on ND!

Payment summary:

[X] @yh-0218 $250 as contributor via Upwork
[X] @Santhosh-Sellavel $250 as C+ via newDot

all paid

Reviewed details for @Santhosh-Sellavel. This is accurate and approved for payment in NewDot.


ginkgo-NezukoOS-eleven

Come with a real account

this is my original account sir

this is my original account sir

ok then come after one year

this is my original account sir

ok then come after one year

ok sir, will come after pandemic ;_;


Not available for TypeScript on latest  Atom

On latest Atom (1.45.0) TypeScript no more present in list of available languages to highlight

Sorry, it's my fault. It is fixed by this PR but I haven't been able to convince them to merge it. :(

Thank's for fast answer, as I understand that's all linked with new tree-sitter grammar  ... and TextMate grammar was abandomed

Yeah. I have another PR to make it possible for Semanticolor to support Tree-Sitter grammars, but haven't been able to get any response on that one, either...

Atom 1.51 finally integrated the fix for this.


fix/remoteFileReturnBug

What this PR does / why we need it:
fix models newFromXX data
cc @ioito

/lgtm


Link to running html examples

As a reader it would be nice to run the html examples without have to entangle or build anything. For example I can locally look at http://localhost:8000/src/js/example-app.html after make build-wasm. It would be nice if https://nlesc-jcer.github.io/cpp2wasm/src/js/example-app.html would also work. Then the Markdown could be adjusted to include a link to https://nlesc-jcer.github.io/.. next to the localhost link or even better a linked screenshot of the example. For example a screenshot like

This would make writing the blog #34 also more natural.

Example link would work without entangle and build Blocked when  #35 and #1 have been fixed.

We can use docsify embedding to embed the example html pages with
[Embedded src/js/example-app.html](src/js/example-app.html ':include :type=iframe width=100% height=160px')

Issue is no longer blocked as #1 and #35 have been merged. https://nlesc-jcer.github.io/cpp2wasm/src/js/example-app.html now works as expected.

Fixed in https://github.com/NLESC-JCER/cpp2wasm/releases/tag/v0.2.0


[Refactor/Docs] Organize Class docstring & Add custom exceptions

Problem (Why?)
there's no proper exception class (e.g. no sparse gradient, zero parameter size)
Solution (What/How?)

[x] register custom exceptions
[x] refactor the docstrings

Other changes (bug fixes, small refactors)

[x] wrapper to the module (not __init__) in hubconf.py
[x] add a citation to README.rst

Notes
nope

Codecov Report

Merging #90 (e08cb4d) into main (07dd145) will increase coverage by 0.08%.
The diff coverage is 98.24%.

:exclamation: Current head e08cb4d differs from pull request most recent head b321c88. Consider uploading reports for the commit b321c88 to get more accurate results

@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   96.48%   96.56%   +0.08%
==========================================
  Files          32       33       +1
  Lines        2303     2389      +86
==========================================
+ Hits         2222     2307      +85
- Misses         81       82       +1

Impacted Files
Coverage Δ

pytorch_optimizer/optimizer/agc.py
100.00% <ø> (ø)

pytorch_optimizer/optimizer/fp16.py
68.57% <ø> (ø)

pytorch_optimizer/optimizer/gc.py
100.00% <ø> (ø)

pytorch_optimizer/optimizer/lookahead.py
94.59% <ø> (ø)

pytorch_optimizer/optimizer/adapnm.py
97.53% <77.77%> (-1.12%)
:arrow_down:

pytorch_optimizer/base/exception.py
100.00% <100.00%> (ø)

pytorch_optimizer/optimizer/adabelief.py
96.39% <100.00%> (+0.13%)
:arrow_up:

pytorch_optimizer/optimizer/adabound.py
100.00% <100.00%> (ø)

pytorch_optimizer/optimizer/adai.py
100.00% <100.00%> (ø)

pytorch_optimizer/optimizer/adamp.py
100.00% <100.00%> (ø)

... and 13 more

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


python310Packages.nbconvert build failure on x86_64-linux as of a093c35b

Issue description
Build of python310Packages.nbconvert failed on x86_64-linux as of a093c35beee0a64ad68312d747a4c49eaa5b1105. This is currently breaking python3Packages.augmax.
error: builder for '/nix/store/4277frbm7rmf2pw9nk3fxnv4zbn5w40w-python3.10-nbconvert-6.5.0.drv' failed with exit code 1;
       last 10 log lines:
       > Requirement already satisfied: jupyter-core>=4.7 in /nix/store/ap0g73di2873pj7m28i6ww8zn0cnvihg-python3.10-jupyter_core-4.9.2/lib/python3.10/site-packages (from nbconvert==6.5.0) (4.9.2)
       > Requirement already satisfied: bleach in /nix/store/1agcqr28acfw6cf1cag4da7f9rx685dp-python3.10-bleach-5.0.1/lib/python3.10/site-packages (from nbconvert==6.5.0) (5.0.1)
       > Requirement already satisfied: nbformat>=5.1 in /nix/store/h2k2q522y8c48szz39wgipc673pf62vf-python3.10-nbformat-5.4.0/lib/python3.10/site-packages (from nbconvert==6.5.0) (5.4.0)
       > Requirement already satisfied: pygments>=2.4.1 in /nix/store/czicm46iryrk0rssz4zs8rn788x4ni42-python3.10-pygments-2.12.0/lib/python3.10/site-packages (from nbconvert==6.5.0) (2.12.0)
       > Requirement already satisfied: entrypoints>=0.2.2 in /nix/store/6r1vdaz2vj5gzlnb9spz8inv0r7gc3iq-python3.10-entrypoints-0.4/lib/python3.10/site-packages (from nbconvert==6.5.0) (0.4)
       > Requirement already satisfied: packaging in /nix/store/rcvz5ywnm8fla013hqsg01imz2i41k7p-python3.10-packaging-21.3/lib/python3.10/site-packages (from nbconvert==6.5.0) (21.3)
       > Requirement already satisfied: jinja2>=3.0 in /nix/store/nd6636vpb09q2f9p79a5w3kdhv1qbw2j-python3.10-Jinja2-3.1.2/lib/python3.10/site-packages (from nbconvert==6.5.0) (3.1.2)
       > ERROR: Could not find a version that satisfies the requirement mistune<2,>=0.8.1 (from nbconvert) (from versions: none)
       > ERROR: No matching distribution found for mistune<2,>=0.8.1
       >
       For full logs, run 'nix log /nix/store/4277frbm7rmf2pw9nk3fxnv4zbn5w40w-python3.10-nbconvert-6.5.0.drv'.
error: 1 dependencies of derivation '/nix/store/jpb7bh0g1j156vvziclksfxmrzs9fc25-python3.10-einops-0.4.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j7wfrczaz3jdb6wy0sd3fxsj713nz5n7-python3.10-augmax-unstable-2022-02-19.drv' failed to build

full build log
python3Packages.augmax maintainers cc: @samuela
python310Packages.nbconvert maintainers cc: @FRidh
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit a093c35beee0a64ad68312d747a4c49eaa5b1105
Run nix-build -A python310Packages.nbconvert

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-1014-azure, Ubuntu, 20.04.4 LTS (Focal Fossa), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - nixpkgs: `/nix/store/xbmc7mwndkbykkcdkgwvl2i8dx43db6x-source`

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags: -5805513848243597698<PHONE_NUMBER>294963055

Duplicate of https://github.com/NixOS/nixpkgs/issues/187045

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/someones-bot-is-creating-multiple-repeated-issues-for-failing-packages/21054/1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/someones-bot-is-creating-multiple-repeated-issues-for-failing-packages/21054/3


Hello how to run the project？

I am a newbie, I do not know how to run this project, how does this project run analog device connection?  thank you

I am a newbie, I do not know how to run this project, how does this project run analog device connection? thank you

You need to set up OCPP server first


Add HCS empty layer error reporting.

This change adds detection for container errors that cause containers from starting. It's not clear why this happens yet as it's hard to reproduce and it also appears to impact future pods on the same node.
https://github.com/microsoft/service-fabric/issues/1146

/lgtm
/approve


SimpleCov 0.12.0 support and other fixes

Coverage decreased (-0.3%) to 90.823% when pulling 119cb14c848da51f1391b76411da2f9592214dd0 on tagliala:multiple-fixes into be17fe9be3cb698185793fa59aedafaf07a13eea on lemurheavy:master.

Coverage decreased (-21.4%) to 69.697% when pulling 6e47f76cc4e03519f6203caaa57348dd1e41fdfb on tagliala:multiple-fixes into be17fe9be3cb698185793fa59aedafaf07a13eea on lemurheavy:master.

Coverage decreased (-0.3%) to 90.823% when pulling 469dfe03422c34d25c96789ea0875679cc601f16 on tagliala:multiple-fixes into be17fe9be3cb698185793fa59aedafaf07a13eea on lemurheavy:master.

Coverage decreased (-0.3%) to 90.823% when pulling a954efd18e480fdf3a52a70ab51b6b2de7065652 on tagliala:multiple-fixes into be17fe9be3cb698185793fa59aedafaf07a13eea on lemurheavy:master.

@nickmerwin please take a look here :)

Thanks @tagliala!

Thanks! :heart:


[5.3] notifications wont mark read.

there is a bug on notifications mark as read. when i create some notifications, i want to mark them read as a collection or an item. it wont work.

There was a change made recently (pre RC) which changed read to read_at and to be a timestamp. If you are on a version from before this change, then you will need to update your database accordingly, or rollback and forwards to make it so this change works.

i created a migration to change the read to read_at. seems that the updated generator works fine. thanks


Do you have a plan to support pytorch 1.* version?

Platform (like ubuntu 16.04/win10):
Python version:
Source framework with version (like Tensorflow 1.4.1 with GPU):
Destination framework with version (like CNTK 2.3 with GPU):
Pre-trained model path (webpath or webdisk path):
Running scripts:

I think this is an important question. PyTorch 0.4.0 is quite old now. Everyone has switched to PyTorch 1.0 and above.

Perhaps a workaround is to use PyTorch's built-in PT --> ONNX tools to make an ONNX model first. Then MMdnn or any other converter library can do ONNX --> whatever else.

@taomiao and @andrewjong , thank you very much for the feedback. We are working on PyTorch 1.x support now.


When loading the dataset, I'm getting a unicodeDecodeError

Traceback (most recent call last):
File "roaddamagedataset.py", line 30, in
tree = ElementTree.parse(infile_xml)
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1196, in parse
tree.parse(source, parser)
File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 597, in parse
self._root = parser._parse_whole(source)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 45: invalid start byte
this is what the traceback for the error is. Thank you

@adityabharadwaj198 maybe it caused by the hidden files in all Annotations folders.

thnks @adityabharadwaj198

annotation XML files seems cp1252 encode ?  XML parse does not work for me.
   Mac OS X                   2   ~      °                                      ATTR       °   ˜                     ˜     com.apple.quarantine q/0081;5a5bf4e8;Safari;

/anaconda/envs/py36/lib/python3.6/codecs.py in decode(self, input, final)
319         # decode input (taking the buffer into account)
320         data = self.buffer + input
--> 321         (result, consumed) = self._buffer_decode(data, self.errors, final)
322         # keep undecoded input until the next call
323         self.buffer = data[consumed:]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 45: invalid start byte

Thanks! @bygreencn


pt_BR.lang request, and index issue.

hello, that's an great job, on DuckyDuino, my name is Leo from Rio de Janeiro, i'm looking for an way to get my keyboard right, since we here in Brazil type in an ABNT2 keyboard, there is some extra keys, like Ç...
the index.HTML doesnt work, i got some scan codes for ABNT2 that i've found Googling around, i'm just not 100% of sure if its the right ones...
Please, help me creating pt-BR Keyboard for my Ducky !!

Hi @TradeCrafter, I’m happy to see that you like my work.
For the index.html, it doesn't work because we don't need it yet and i created LocaleKeyboard.js to use with Dckuino.js.
For the pt_BR.lang, feel free to make a pull request with the file.
To test the layout, you may use this code in your Arduino IDE :
#include "Keyboard.h"

void setup()
{
  Keyboard.begin();

  delay(500);

  Keyboard.print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\\ !#$%&'`*~{}[]()%,;:!?-_./+=<>\"\\");

  Keyboard.end();
}
void loop() {}

Please understand that it's not easy to create a key map and I raged a lot to make it for fr_FR.
So to add a key map to this project, you need to create a .lang based on the en_US.lang(Simple copy/rename it) and you need to add it to to the lang/localeList file, without the .lang(Take a look in the file if you want).
And you need to test 1 by 1 codes in the _asciimap to make it work. I you want to do some altGr trick, just add a _altGrMap[] = true; to the void initAltGr() function.
Feel free to comment here, if u need help ;D
Please note that we can't add more keys in the _asciimap var, because the HID.cpp is coded to accept only the 128 first ascii chars..

Make sure to download the good Keyboard lib using Dckuino.js or with js commands ;D Some things are modified to handle altGr key combos ;D.

Thanks for the fast response !!
i know for sure this code you've put on the answer will not output the right codes, i dont intend to use altGR tricks and combos... just the plain regular ascii fot pt-BR.
I managed to interact with the Windows in order to change the input keyboard layout, but its only effective if the system got the lang pack already installed.
so the best solution is to create an lib for pt-BR keyboard, like the Teensy got... have you seen this ?
So let me see if i understand: i need to get yours "en_US.lang" and just trade the scan codes for the brazilian ones, once i did that where to put this file ? i'll do this .lang file right now, can i upload for you apreciate if its okay ?

@TradeCrafter Yep you need to deal with scan codes to match with your keyboard, and put your pt_BR.lang in lang dir and add pt_BR in the localeList file.
For the HID.cpp, we can do it, but making a HID.cpp generator plus a Keyboard.cpp generator.. I think it's not good..
The best way to help, it's to fork this repo and send a pull request once you done it ;D
NOTE: LocaleKeyboard.js is just a Keyboard.cpp/.h generator..
So you need to generate a version of Keyboard.cpp and Keyboard.h with Dckuino.js by entering :
STRING abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\ !#$%&'`*~{}[]()%,;:!?-_./+=<>"\

in https://thecakeisgit.github.io/Dckuino.js/ and clicking the Download Sketch button.
Once you done this, select a locale(I recommend en_US), and finnaly click Start Download.
Now open you Arduino IDE and play with values in Keyboard.cpp to make the string written by your Arduino more identical to the string entered.

STRING abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\ !#$%&'`*~{}%,;:!?-_./+=<>"\
"Download Sketch" button doesnt work... it does nothing, and this will only give an sketch to make the arduino print, somewhere on the screen these US chars, and thats it...  doesnt generate an Keyboard.H/CPP
i just realize that the characters for the ABNT2 Keyboard belongs to the 128-255 ascii group of chars
i think thats the end line... i'll never get and arduino working as an pt-BR Keyboard.

You need to click Compile before using Download Sketch! ;D

And not every keys are in 128-255 ASCII group.. You may try to convert for you locale ;D
(I make Dckuino.js, follow me xD It generates a Keyboard.cpp/Keyboard.h)

@TradeCrafter

i know this man, by clicking COMPILE, it generates the sketch on the output frame, but the download button doesnt work,
locale.js the same, how to run locale.js, if the index does nothing ?
please i dont want to be and pain in the ass, just need to understand in order to get my DuckyBR working !

You can't help the project, cheers ! @TradeCrafter

i'm lost for words... good luck in life bro

@TradeCrafter I wanted to say sorry, my rage level was up to mlg/10 :( Bye, if u wanna help again reopen the issue... I didn't thinked before writing...


Do not warn on old EOL mooTokenPrice fetch

@kexleyBeefy how about this instead of #1397

@kexleyBeefy that should already be covered by ...vault?

@ReflectiveChimp I was copying in changes made by @seguido on main. I agree it would be covered, we can remove the line type: vault.type,


marketplace url in server.update

send marketplace url to server.update

@ProofOfKeags No, this is requests from aiden that came in today and had no ticket


[Deepak Foundation] Prevalance of menstrual Disorder Report

Report Requirements:
https://docs.google.com/spreadsheets/d/1Sam_UHi3wqRNEpYcBj-gHQkjR0JTwhBl_ED-VLYpRRM/edit#gid=1461967697

[ ] Prevalence of Menstrual Disorder Report
[ ] Filters - Date, Location

ETC :- 4 hours


fix(nuxt): avoid early returning renderer with empty response

🔗 Linked issue
Resolves #21414
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
We are short-circuiting nitro renderer when headers or response is (presumably) already sent which should not be the case because this way nitro cannot handle caching properly.
Currently nitro v2 allows this since Nuxt was depending on this behavior and we cannot remove it until Nitro v3 as a breaking change. This PR makes sure Nuxt is prepared for this.
Note: Effect of this PR is fixing the root cause of similar issues and this one but there is still an unknown issue with the nuxt and cache wrapper that sets headersSent and writableEnded even when the response is not sent and it needs to be investigated separately. (Another workaround only for this, https://github.com/unjs/nitro/pull/1289 <-- still hides real issue)
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Does it make sense to align merging this with https://github.com/unjs/nitro/pull/1289?


Maint/bump sqlalchemy

This was a pretty minor change overall but it will get us onto a modern and supported version of sqlalchemy and allow us to use any new features (including things like better typing support which I plan on working on).

Bumps sqlalchemy from 1.3.x to 2.0.x
Use postgresql as postgres dialect was deprecated
Removes the init_db method which was very old and totally unused
Updates the relationship between PlayerStats and PlayerSteamID (see error 1)
Fixes some really minor deprecation/moved things (see error 2 and 3)

I accidentally committed changes from #331 and I'm too lazy to fix that.
Testing wise I let it run, record games, have players connect, etc. and tried things that write to the database like saving player comments, blacklisting myself, etc. and everything seems to work correctly.
These are the errors/warnings I got when running with Python warnings and sqlalchemy's warning setting turned on:
Error 1
2023-10-26 13:25:05 /code/rcon/player_history.py:106: SAWarning:
relationship 'PlayerStats.steam_id_64' will copy column steam_id_64.id to column player_stats.playersteamid_id,
which conflicts with relationship(s):
'PlayerStats.steamid' (copies steam_id_64.id to player_stats.playersteamid_id), 'PlayerSteamID.stats' (copies steam_id_64.id to player_stats.playersteamid_id).

If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only.
For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards.
To silence this warning, add the parameter 'overlaps="stats,steamid"' to the 'PlayerStats.steam_id_64' relationship.
(Background on this error at: https://sqlalche.me/e/14/qzyx)
2023-10-26 13:25:05   sess.query(PlayerSteamID).filter(PlayerSteamID.steam_id_64.in_(steam_ids)).all()

Error 2
2023-10-26 13:48:50 /code/rcon/models.py:727: RemovedIn20Warning:
Using plain strings to indicate SQL statements without using the text() construct is  deprecated and will be removed in version 2.0.
Ensure plain SQL statements are passed using the text() construct. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

Error 3
2023-10-26 13:24:59 /code/rcon/models.py:66: MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base().
(deprecated since: 1.4) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

I'll have some more commits for this branch, getting us onto 2.x lets us use the newer typing stuff sqlalchemy offers, I'm partially done with updating it.

Typing's added, as an extra safety check I diff'd a schema dump from this and the most recent release (`v8.1.1) and they're identical.
Just this change bumped the number of things pyright complains about from 535 on v8.1.1 to 501 with just the typing changes.


Set env create skeleton

Set up dev environment. Added git ignore. Created basic folders and components and added a basic skeleton for the rest of the project. Set up jest/enzyme test environment.

Try to keep PR as small as possible.


cert and key mixed up in deploy script

Hi!
Looking at the code, the cert and the key are mixed up in the deployment files:
https://github.com/theohbrothers/docker-certbot-dns-cron/blob/c32e823217c775a70767e15c9ad8ec452f44830f/app/scripts/signcert-deploy-sendmail.sh#L44-L48
Thanks for having a look!
Jörn

@jkrenzer looks like you are right. Lets see if i can push a fix asap

Thank you! :-)


npm to yarn

I wrote dependencies update update by mistake in the commit but actually no dependencies have been updated

Thank you for your contribution. But I intentionally keep the NPM in this template. This is to make it easier for the end user who will run their project from this template to migrate to the package manager of their choice.


[iOS] Unable to read battery percentage

Quick recap:
-iPhoneX, iOS 12.3.1, react-native-ble-plx 1.0.3

I am able to read services and characteristics after calling 'discoverAllServicesAndCharacteristic' and continuing down the promise chain
I've attempted this with 3 different devices. They all return various services and characteristics values (firmware versions, manufacturer name, etc.) but none of them are battery level services or characteristics.
I'm new to interacting with Bluetooth, but after reading this: https://stackoverflow.com/questions/19539535/how-to-get-the-battery-level-after-connect-to-the-ble-device/19701412 and other various posts, I think I've come to realize the UUIDs for battery service and characteristic are standardized via the bluetooth spec?
After attempting to access my devices battery level with these UUIDs via 'servicesForDevice' and 'characteristicsForDevice',  I get an error back that saying neither exists.
I checked out this repos index.d.ts, and saw you had an example setup for monitoring. I attempted that implementation as well, but no luck.

Any pointers would be greatly appreciated.

@phil3903  did you end up getting this working?

Nothing on this?
Thanks


Use AMI from mappings

This PR removes the CloudFormation parameter that forced you to specify an AMI ID for manager instance.
Latest AMIs for AWS regions are obtained with make list-latest-amis and are present in the template as a Mapping. The AMI is then selected automatically by CloudFormation based on the AWS Region the stack is launched in.
This resolves #6.

This PR removes the CloudFormation parameter that forced you to specify an AMI ID for manager instance.
Latest AMIs for AWS regions are obtained with make list-latest-amis and are present in the template as a Mapping. The AMI is then selected automatically by CloudFormation based on the AWS Region the stack is launched in.
This resolves #6.

We still need the parameter ** ManagerImageId** for our custom patched AMI amzn2 😞 Is there a possibility for a condition, to mix in the mapping, if an image id is not given?


PHP 8.1 support

Per https://www.drupal.org/docs/system-requirements/php-requirements PHP 8.1 is recommended for Drupal 9.3.0. Unfortunately, setting it in the config.yaml and restarting my local ddev instance gave a notice PHP 8.1 is not supported, so I had to revert to PHP 8.0. Do you, guys, plan to roll out ddev with PHP 8.1 support soon?

PHP 8.1 is supported from ddev v1.18.2 forward. Please upgrade your ddev to current stable v1.18.2.

Excellent. Thank you!


Bug Report

Describe the bug
when we are trying to deploy Enterprise-Scale Azure policies for management group from UI. it's not getting assigned.
Steps to reproduce

trying to deploy for management group policies from this URL:https://github.com/Azure/Enterprise-Scale/tree/main/azopsreference

Screenshots

It is by design as we do not assign the policy. This UI only creates custom policy definition at the scope selected.
For policy assignment, you should use native portal experience to do so.

It is by design as we do not assign the policy. This UI only creates custom policy definition at the scope selected.
For policy assignment, you should use native portal experience to do so.


Remove reference to now-deleted examples directory

This was removed in 2e708f28095ba17463e41438bbfd53abae8b6794 to fix #34.

Thanks!


Java tests for pedersen commitment

We need a java test for pedersen commitment. We can verify results by comparing go-verkle

Does any PR have the pedersen comm approved and merged?

@agnxsh This is ported from besu's initial work:
https://github.com/Quadratic-Labs/VerkleTries_Besu/pull/1/files#diff-fd21dede037e219c0d3339f3e12d3960f1fb56e7bc7650fbba7bd9857ca51f9bR38
It seems like it's a pedersen commitment

Okay I'll look into it once.

Hey, is someone working on this? If not, I can work on it.

hey @namn-grg feel free to start working on it, I think @agnxsh is working on the banderwagon thing right now

Ok great, can you please assign me this @dragan2234 .

@namn-grg is there any progress on this? Do you plan working on it or we can re-assign?

Hey @dragan2234, apologies. Please re-assign to someone else. I am focusing on the Nimbus client for now.

Done by:
https://github.com/Quadratic-Labs/VerkleTries_Besu/pull/43


When attaching helm hooks to sub-chart, what is the expected behavior when an upgrade is applied to the umbrella chart?

When working with a helm super-chart (umbrella chart) that consist of several sub-charts:
1 / if we attach a post-upgrade hook to one of the sub-chart, I wonder what is the expected behavior when running helm upgrade on the super-chart ?
1 - a / Assuming the sub-chart that contains the hooks has no changes at all, and there are changes in other sub-charts that do not have the hooks. Is the post-upgrade hooks supposed to be executed even tho, the sub-chart has no changes at all ?
Here is why i am asking the question:
In my understanding hooks are associated to release, and sub-charts do not have their own release but are part of the umbrella chart release. Hence, a post-upgrade hook should be executed only, if the chart of the release changed and an upgrade is actually applied. By that reasoning it would mean that (1) either hooks should only be attached to the umbrella chart which has a release, (2) or if attached to a sub-charts and it works nonetheless, then the hooks would be fired anytime the upgrade command is applied on the super charts. In other words, there would be no way to say, run the hooks from that sub-chart, only if that sub-chart changes. That is, the super-chart which is the only chart that yield a release, can be subject to an upgrade, whenever any of its sub-chart changes. If hooks are indeed strictly associated to release, even if that hooks is located in a sub-chart, it would get triggered whenever the release to which the sub-chart is part of is upgraded.
So far in our experiment we have attached the hooks that are related to specific sub-chart in the super chart. It works but it is annoying, because they are executed all the time, even when the associated sub-chart did not change. We would to change it and attach it to the sub-chart. However the spec does not say what is the expected behavior, hence the question, so if/when experimenting, we would know if the behavior that comes out, is the expected one or the result of configuring something the wrong way.

When you run helm template with your umbrella chart, it generates all the resources that will be part of the release. When you perform an action, every resource that has an applicable hook annotation is applied.

@joejulian could you clarify what you mean by "action" in

When you perform an action, every resource that has an applicable hook annotation is applied.

By action did you mean an helm action  as  in helm-upgrade ?  In other words, my statement:

If hooks are indeed strictly associated to release, even if that hooks is located in a sub-chart, it would get triggered whenever the release to which the sub-chart is part of is upgraded.

is correct. There is no such thing as trigger the hook of a specific chart only if that specific chart as changed.

install, upgrade, rollback, delete

iirc, the rollback runs the upgrade hook, but I haven't checked the code to verify that.


Use of launch in settings.json rather than launch.json

First I would like to say this is a great extension to VS code and I have been happily using it for months now.
I recently discovered that rather than having to have the launch configurations defined in launch.json they can actually be defined  in settings.json, eg
"launch": {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Python: Debug Current File",
                "type": "python",
                "request": "launch",
                "program": "${file}",
                "cwd": "${fileDirname}",
                "console": "integratedTerminal",
            },
etc etc

This is great because they can be added to the user settings.json file and therefore all instance of VS code automatically get these launch configurations. This cannot be achieved using launch.json. (because you cannot have a user launch.json)
Unfortunately at the moment this extension only works with launch configurations defined in launch.json NOT settings.json.
Can this be fixed?

I'll look into this.  It should be doable.

I'll look into this. It should be doable.

That would be great :)

@spoyser Do you ever have both a User settings launch configs and a launch.json in the workspace?  Typically vscode returns launch.json launch configs since workspace configs have a higher priority than global User Setting configs.
And if you do have both - do you want to access both in this extension's  launches setting and/or launches keybinding?

@ArturoDent to be honest I now just have user settings, rather than using the launch.json, as there doesn't seem to be any benefit to having both.
Also, by only having the launch configs in the settings.json when I click the cog to edit the launch configs VSCode automatically open the settings.json file at the correct point (which is convenient), if you have both then the cog opens the launch.json file instead (presumably as you say because it has a higher priority).
Saying all that though, I guess it would make sense to support both simultaneously, unless that is not possible, in which case having an extension setting to switch to use the settings.json would work for me.
Thanks.

I have pushed a pre-release version for testing which includes the ability to read launch configurations in the user settings.  To download it, go to the Launch Configs extension in your Extensions Side Bar entry and open it - it should give you the pre-release option there.  Or the gear icon in the Launch Configs  Side Bar entry.
Read the README for more info on the pre-release version.  There is a problem with compound configurations which may be insurmountable as vscode does not really support scoping launch configurations from the user settings.  See this issue: https://github.com/microsoft/vscode/issues/109083

Switched to the pre-release version.
Looks like it is working :) (thanks for taking the time to implement it)
However, one observation, when I enter the settings for this extension in the json file they still auto fill with the workspace folder in brackets at the end, e.g.
"GDB Attach (T1234) [Settings]"
Where T1234 is the root folder of the workspace.
This doesn't seem right since the launch configurations shouldn't be associated with any particular workspace. And sort of defeats the purpose, since I would have to add a new launches settings every time the workspace folder changes.

The workspace entry isn't actually used for anything when there is also a [Settings] entry but does allow me to use the same regex to parse all strings from the launches setting.  I may look into removing the workspace entry to reduce confusion on those.
For now, I will close this as implemented.  Please file a new issue if you find any problems with the new user setting functionality.  Thank you.

Many thanks for your continued hard work in developing this extension it is most appreciated.
I can confirm that the workspace entry isn't used as I have now changed it in my config to "User", e.g.
"launches": {

        "GDBAttach": "GDB Attach  (User) [Settings]",

        "Python": "Python: Debug Current File  (User) [Settings]",

    },

And that still works :)

Hi again, I have just switched the the latest release version (0.8.3) and the new functionality has stopped working :(
Also, when the auto-fill feature is used it no longer adds the "[settings]" to the name of the configuration.
I can confirm that the original functionality DOES still work (i.e. having configs in the launch.json file).

Yes, the settings functionality is only in the pre-release version.   It is there for testing before general release.  In the meantime v0.8.3 included 2 new commands for going to the next/previous debug session via a keybinding.
The pre-release functionality will be merged into stable soon.

Hi, I'm wanting to do the same and cannot find where to select the pre-release version, this is preventing my use of the extension. I've looked in the marketplace and in the extensions side bar cog and all I can see is 0.8.3.
Please can this be pushed to master branch or the ability to select the pre-release version again.

I stopped using this extension (over time I ended up far too may launch configurations > 15) and just created the following key-binding:
{
"key" : "ctrl+d",
"command" : "workbench.action.debug.selectandstart",
"when" : "editorTextFocus",
}
Ctrl D, then just brings up a quick-pick menu with all my launch configs, very simple and less maintenance :)


Deprecation Warnings

Go over deprecation warning re: devise 4.1 release

Done: https://github.com/PHCNetworks/multi-tenancy-devise/commit/5180db271df55855fa02166bd9511c439c776ebe


[Chore] Relocate errorutils files from root directory

Introduced 2 new command line params: output directory (-o) and directory for component_info.json (-i)
Default values are the root directory (-d).
some refactoring to remove code duplication etc
other changes:

int_codes are now sorted for better comparison between runs
(re)added make target to build errorutil binary
only error.go files are updated
only files actually updated by errorutil are written back to disc
default log level set to WARN
regex for error codes changed to Err[A-Z].+Code

Signed-off-by: Michael Gfeller<EMAIL_ADDRESS>Description
This PR fixes #62
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@DelusionalOptimist @kumarabd @Chadha93 @leecalcote based on yesterday's feedback I have updated this PR with some more changes:

only error.go files are updated
only files actually updated by errorutil are written back to disc
default log level set to WARN
regex for error codes changed to Err[A-Z].+Code

Rest LGTM


Remove Redis Deployment

Remove deployment and service definition for Redis from the platform definition

Removed from the Google deployment definition