Generator exploded after ~138K iters.

I observed a interesting behaviour after 138K iters where discriminator dominated the training and generator exploded in  both train and validation losses. Do you have any idea why and how to prevent it?
I am training on LJSpeech and I basically use the same learning schedule you released with the v2 config for LJSpeech. (Train generator until 100K and enable the discriminator)
Here is the tensorboard screenshot.

@erogol @kan-bayashi hi, use transpose convolution rather than Upsampling on generator will help (use kernel_size and stride large enough). I'm combine melgan and parallel wave gan as this discussion #46 , the result seem very good for me.

@dathudeptrai merging the models only architecturally or training methods as well?

@erogol both, i use training method on this repo (V2 as u are using).

That is interesting.
I will add MelGAN generator in this weekend.

keep in mind that all GAN arch, the author has tuned the parameters and arch carefully (generator won't stronger than discriminator and vice versar). In ur config, u don't use the original discriminator (u use residualdiscriminator instead), and that make the discriminator stronger, u need to modify generator too :D.

I added MelGAN generator in #62.
Training is on going :D

@kan-bayashi wow, very fast :)), the training progress will 5x faster than Parallelwavegan :D, let see

I added initial MelGAN results #65 (v1 config based).
The results seem to be reasonable and there is a room for improvement if we continue to train more iterations (the iterations are ongoing).
I'm also trying v2-based MelGAN (ongoing). Please looking forward to seeing the results.

@kan-bayashi let see, i’m training melgan (almost same as u are doing) with fake quantization training 8bit. Also i convert it successfully to tflite, the inference time on cpu mobile 1 thread is around 2x faster than real time.

@dathudeptrai
You mean this feature?
https://pytorch.org/docs/stable/quantization.html#torch.quantization.FakeQuantize
That's is amazing! Real-time generation on the device come true :D

@kan-bayashi No, i use this https://github.com/Xilinx/brevitas (need to expands input to 4D), this frame work just support conv2D :D. but it's enough :D. Al so i have a larger version of melgan generator then i convert it to tensorflow and use tensorrt to optimize it on server side :D. Seem all we need to do now is enhance the quality :)), the speed isn't a problem anymore :D

I can tell, even though there is a jump after 100K, still voice fdellity improves as the training goes. It is interesting to see.

@erogol, ONNX is the way u can try, but according to my experience, loading weights with the same architecture is the best :)), i can implement both torch and tf very fast :D. And offcourse, when u use TF, u can ez to convert it into tflite and tensorrt to optimize. I don't really like use intermediate representation like ONNX because the limitted support operator :D

I successfully trained MelGAN (Generator) in my fork. MelGAN requires the v1 (smaller), discriminator. I guess larger D is too strong for MelGAN to learn.
You can check the model with TTS here:
https://colab.research.google.com/drive/1Zg9jR27Pr-ziVa0krjtdoy2dKv6whv7b
There is still a slight background noise but it is because of the TTS model. Somehow, GAN models are not as robust as WaveRNN to spectrogram representation. Maybe it is a good idea to induce some random noise in training.

@erogol pls try ratios = [4,4,4,2,2] and increase n_réidual, maybe it can help u eliminate background nóie :D

Currently, I tried to train the MelGAN generator with

residual discriminator (v2-based)
MelGAN discriminator

The training curve is not stable but it sounds more natural than v1.
Once I finished the training, I will upload the config and resutls.

pls try ratios = [4,4,4,2,2] and increase n_réidual, maybe it can help u eliminate background nóie :D

That's nice.
I will try the following config.
generator_type: "MelGANGenerator" # Generator type.
generator_params:
    in_channels: 80                  # Number of input channels.
    out_channels: 1                  # Number of output channels.
    kernel_size: 7                   # Kernel size of initial and final conv layers.
    channels: 1024                   # Initial number of channels for conv layers.
    upsample_scales: [4, 4, 2, 2, 2] # List of Upsampling scales.
    stack_kernel_size: 3             # Kernel size of dilated conv layers in residual stack.
    stacks: 4                        # Number of stacks in a single residual stack module.
    use_weight_norm: True            # Whether to use weight normalization.
    use_causal_conv: False           # Whether to use causal convolution.

I think melgan D stronger than v2 D :))) based on my knowledge :))) and seem its discriminator is very simmilar with gan TTS điscriminator (google iclr 2020 paper).

@erogol pls try ratios = [4,4,4,2,2] and increase n_réidual, maybe it can help u eliminate background nóie :D

It'd not since my hop_length is 275.  Now I am training a new couple of models with 256 hop_length.

I added several new results.

melgan.v1: MelGAN G + PWG D #67 (sample)
melgan_large.v1: Large MelGAN G + PWG D #75 (sample)
melgan.v3: MelGAN G + MelGAN D #77 (sample)

According to a few samples, it seems that melgan.v3 >> melgan_large.v1 >= melgan.v1.
But the training curve of v3 is not so stable, i.e., gradually decreasing both fake and real losses.

And STFT-based losses are much higher than v1 but higher naturalness.
This is interesting but difficult to estimate the quality from the loss value :(

@kan-bayashi same observation as me :))). stft, spectral and feature matching loss keep increase over training progress :D. Seem we need the other metric to measure sound quality (MOS score).  I'm reading the Frechet DeepSpeech Distance and Ker- nel DeepSpeech Distance which the author find to be well correlated with MOS score. (see GANTTS paper: https://arxiv.org/pdf/1909.11646.pdf) :D

@dathudeptrai Thank you for useful information.
I will check the metrics.
Let me continue to train until 4M iters.
About the discriminator loss, how do you think it is better to find the hyper params to make it stable around 0.25? or gradually decreasing is acceptable?

@kan-bayashi i'm still think make it stable around 0.25 is better. Now we can conclude that the STFT-based losses help the training convergence faster and better sound quality but somehow its value isn't important as we think before. How about if we weighted the STFT-based lossed smaller when start training discriminator ? or eliminate that :))).

@dathudeptrai That is a nice idea. I will try.

Does anyone have the learning curve of the original MelGAN training?
I want to check it.

I added several new results.
* `melgan.v1`: MelGAN G + PWG D #67 ([sample](https://drive.google.com/open?id=1ieLCKR_GYaYnbm0OwHv84nLWzRLwF3zr))

* `melgan_large.v1`: Large MelGAN G + PWG D #75 ([sample](https://drive.google.com/open?id=1HpdLiaflMRw60N6_lQkdEA4uBzPCNWGO))

* `melgan.v3`: MelGAN G + MelGAN D #77 ([sample](https://drive.google.com/open?id=1KeN5ojS7yuZEoOfLltbncP-KpftipM8X))

According to a few samples, it seems that melgan.v3 >> melgan_large.v1 >= melgan.v1 in terms of the naturalness.
But the training curve of v3 is not so stable, i.e., gradually decreasing both fake and real losses.
And feature matching loss kept increasing...

And STFT-based losses are much higher than v1 but higher naturalness.
This is interesting but difficult to estimate the quality from the loss value :(

I don't agree with naturalness. I believe ones with PWGAN-D are better, even in your examples. For instance 050-0032.wav
It is also the case in my runs. So PWGAN-D works better so far.
I also believe spectral features are good indicators of performance. In my experience, every time a model with better STFT losses performs better wrt voice quality.

@erogol maybe ur training is not long enough to see the performance of melgan D (i trained melgan D around 7M steps to obtain best result). If STFT losses indicate voice quality, why don't we just training generator with stft loss to obtain minimal value for it ?. when we start training discriminator, stft losses will increase but the audio quality still increase too.

@kan-bayashi i have the learning curve of the original MelGAN training, but it's after 7M steps :))). when the training convergence, the mels_construction loss is 3.2, generator loss is 10, feature matching loss is 10, discriminator loss is 0.75 :D.

I don't agree with naturalness. I believe ones with PWGAN-D are better, even in your examples. For instance 050-0032.wav

@erogol Oh really? For me, I feel that melgan.v1 sample contains signal processing-based vocoder-like noise (e.g. World or Straight) but v3 has no such noise.  As @dathudeptrai said, maybe MelGAN D requires a lot of iters. Let us compare the samples after 4M iters.

i have the learning curve of the original MelGAN training, but it's after 7M steps :))). when the training convergence, the mels_construction loss is 3.2, generator loss is 10, feature matching loss is 10, discriminator loss is 0.75 :D.

@dathudeptrai Thank you for info. I started to train without STFT-based loss after introducing the discriminator but the discriminator loss is still gradually decreasing. So I want to confirm the loss of the original training keeps the same value or decreasing.

@erogol @kan-bayashi This is a official implementation of deepspeech distances on GanTTS paper :D. https://github.com/mbinkowski/DeepSpeechDistances. Maybe we can try this one to measure the quality of our models :D

I added 3M samples (#80) and updated demo HP.
https://kan-bayashi.github.io/ParallelWaveGAN/
I think now PWG and MelGAN are comparable.

@kan-bayashi Hi, i'm not a native speaker but i think interns of naturalness they are comparable too. How about the noise?, in my experiment, melgan D has no such noise as PWG.

How about the noise?, in my experiment, melgan D has no such noise as PWG.

You mean noise observed in melgan.v1 model i.e., MelGAN G trained with PWG D?
If we train with MelGAN D, such noise will disappear.

@kan-bayashi okay :D. Just curious, what is ur next plan :)), what is the next version u will training, v2 ? :D

Currently, I'm training MelGAN G + MelGAN D based on your idea (https://github.com/kan-bayashi/ParallelWaveGAN/issues/61#issuecomment-588007905), and I'm curious about the results with PWG G + MelGAN D. I want to try it.
I've trained several models based on v2 i.e., ResiduralParallelWaveGANDiscriminator, but the results are not so good. So v2 has no high priority.

I compared melgan.v3.long samples with the sample w/o STFT-loss after introducing the discriminator @ 4M iters. melgan.v3.long is clearly better while the training curve of the discriminator loss is almost the same.
Red: w/o STFT-loss after introducing the discriminator
Blue+Orange: melgan.v3.long

STFT-loss is not used for backpropagation, just monitoring.

okay :D, how about PWG G + MelganD + STFT-loss ?

okay :D, how about PWG G + MelganD + STFT-loss ?

On-going. The quality @ 1.1M iters is so so.

You can check the model with TTS here:
https://colab.research.google.com/drive/1Zg9jR27Pr-ziVa0krjtdoy2dKv6whv7b

waveform.flatten() is required, otherwise 3D tensor of shape 1x1xsample_length

First verse from "Milky Chance -The Game", vocoder 400K EN, LJSpeech, ParallelWaveGan, +spleeter, +manual lyrics alignment in audacity

@nartes Thank you for sharing interesting sample!
Did you remove vocal using spleeter and then mixed generated voice with separated instrument music?

yeah, also feeding lyrics line by line into Tacotron synthesizes distinctive sentences,
and later i needed to stretch an audio with some default algo in audacity by 20%
to match an original verse by Milky Chance.

yeah, also feeding lyrics line by line into Tacotron synthesizes distinctive sentences,
and later i needed to stretch an audio with some default algo in audacity by 20%
to match an original verse by Milky Chance.

Interesting! Great work:)

What happens if 100K restriction for discriminator is being replaced with say 0K. I mean not to pretrain model before applying an adversary?
Another question what options are available to reduce model capacity so that support higher batch size, like 32 or 64 with 16K sampling rate at least.
What are GPU memory requirements at the moment?
I have about 12GiB of GPU RAM with vanilla WaveNet, 16K sampling rate, 6 batch size. It's about 4-6M of weight parameters.
Is it correct that without discriminator applicaiton, pure STFT loss does produce artificats in the synthesis. It was my conclusion after listening to intermediate ParallelWaveGan examples before checkpoint with 130K.

What happens if 100K restriction for discriminator is being replaced with say 0K. I mean not to pretrain model before applying an adversary?

I tried. The quality is OK but it contains a strange noise.
https://github.com/kan-bayashi/ParallelWaveGAN/issues/27#issue-517832548

Another question what options are available to reduce model capacity so that support higher batch size, like 32 or 64 with 16K sampling rate at least.

You can try MelGAN or reduce batch_max_steps.

What are GPU memory requirements at the moment?
I have about 12GiB of GPU RAM with vanilla WaveNet, 16K sampling rate, 6 batch size. It's about 4-6M of weight parameters.

You mean training? Please check the header comments in config.
https://github.com/kan-bayashi/ParallelWaveGAN#results
There is information about the required gpu.

Is it correct that without discriminator applicaiton, pure STFT loss does produce artificats in the synthesis. It was my conclusion after listening to intermediate ParallelWaveGan examples before checkpoint with 130K.

If we use only STFT-loss, the sound will be like a robot.
The adversarial training is needed to improve the perceptual quality.

Q: Is there some place where melspectrogram is being transformed. I didn't
find it in the repo source code.

MelGAN vocoder

It is being trained to decode melspectrogram.

Input features are generated with https://github.com/kan-bayashi/ParallelWaveGAN/blob/53ae639e355591299a94a004c22c49a32b70cc1f/parallel_wavegan/bin/preprocess.py#L25

Yet comparing FastSpeech melspectrogram synthesizer with output
from logmelfilterbank. I get different boundaries for magnitude:

[-4.9; 0.34]
[-1.6; 2.35]

Different synthesized audio:

400K_mel_spec_2_no_shift.wav
400K_mel_spec_2_shift_by_2.0.wav
400K_mel_spec_2_shift_by_2.3.wav
1000K_mel_spec_2_no_shift.wav
1000K_mel_spec_2_shift_by_2.0.wav
1000K_mel_spec_2_shift_by_2.3.wav

Below are examples of magnitude distribution using a public Google Colab notebook
linked in the repo.
I did replace synthesized melspectrogram c with mel_spec2.
Output is audible but noisy, and it gets better if spectrogram is being shifted
like mel_spec2 + 2.0. I did use 1000K MelGAN in the notebook.
With 400K MelGAN, without shifting the melspectrogram, an output is too quiet
and has a constant artificial frequency noise along.

The melspectrogram is normalized to be mean=0, variance=1 using the statistics of training data.
https://github.com/kan-bayashi/ParallelWaveGAN/blob/53ae639e355591299a94a004c22c49a32b70cc1f/egs/ljspeech/voc1/run.sh#L97-L102

Yet comparing FastSpeech melspectrogram synthesizer with output
from logmelfilterbank. I get different boundaries for magnitude:

This is because I use the normalization to be mean=0, variacne=1.
The explicit maximum and minimum values are not defined.

With 400K MelGAN, without shifting the melspectrogram, an output is too quiet
and has a constant artificial frequency noise along.

I'm not sure what you are doing, but my pretrained models assume that the inputs are normalized using the statistics of training data.

Indeed, forgot about it, thanks!

@kan-bayashi No, i use this https://github.com/Xilinx/brevitas (need to expands input to 4D to training), this frame work just support conv2D :D. but it's enough :D.I also have a larger version of melgan generator then i convert it to tensorflow and use tensorrt to optimize it on server side :D. Seem all we need to do now is enhance the quality :)), the speed isn't a problem anymore :D

It's been a great honor to follow you and other researchers' work on this repository. :)
I am interested in the light version of the voice synthesis model, ideally on a mobile platform.
It seems that you have successfully converted the model into the mobile version.
Could you kindly share the model or at least tell us about the performance of it?
Thanks in advance.

@John-K92 Please check demo HP and results in README.
https://kan-bayashi.github.io/ParallelWaveGAN
https://github.com/kan-bayashi/ParallelWaveGAN#results
You can access the sample and model file.
MelGAN is very light while keeping comparable performance.
If you want to use in the mobile, the conversion notebook from pytorch to tensorflow  will help you.

@John-K92 the performance i'm using for mobile device is on par with original melgan. (still use float model so the performance is same).

@John-K92 the performance i'm using for mobile device is on par with original melgan. (still use float model so the performance is same).

Thank you for sharing your experience. Then, may I ask your opinion on TTS(text-to-mel) model, such as Fast speech, Tacotron, etc., that how it could be applicable in mobile platforms along with the MelGAN?
As mentioned by @kan-bayashi and in your research, Mel-2-voice model seems to be light enough to be applied for the mobile device. However, would both models be light enough on mobile in an end-to-end TTS manner? Or would you reckon to put it in a different structure or process?

@John-K92 i just want to say that mel-2-voice is light enough but it is still slower than my text2mel models :D. My text2mel model is fully convolution, deploy rnn is very to hard on mobile device.

@John-K92 Please check demo HP and results in README.
https://kan-bayashi.github.io/ParallelWaveGAN
https://github.com/kan-bayashi/ParallelWaveGAN#results
You can access the sample and model file.
MelGAN is very light while keeping comparable performance.
If you want to use in the mobile, the conversion notebook from pytorch to tensorflow  will help you.

I am currently trying to convert the model to tensorflow and to mobile-wise version(tensorrt or tensorflow lite)
https://colab.research.google.com/github/kan-bayashi/ParallelWaveGAN/blob/master/notebooks/convert_melgan_from_pytorch_to_tensorflow.ipynb#scrollTo=XOK6AuWW9R8N&line=3&uniqifier=1
But there seems to be an error in the code you've provided. Have you set a specific tensorflow version??

what error ?

what error ?

When I run the code, "audio = TFMelGANGenerator(**config["generator_params"])(inputs)" line raises an InaccessibleTensorError.
InaccessibleTensorError: The tensor 'Tensor("conv2d_346/dilation_rate:0", shape=(2,), dtype=int32)' cannot be accessed here: it is defined in another function or code block. Use return values, explicit Python locals or TensorFlow collections to access it. Defined in: FuncGraph(name=call, id=140430667155440); accessed from: FuncGraph(name=call, id=140430364789896).
Do you not meet any error on your side?


Client Refactoring: User Interface

Move code dealing with inputHandler and left-side overlay DOM elements into a separate file.

Refactoring and porting completed before 48ed37789c215b201299b2a7b377f0869eaeecae


Check transformers version in BLOOM for inference v1

This PR checks that the transformers version is <= 4.43.4 in the BLOOM container for inference v1, due to breaking changes in transformers > 4.43.4.

Thanks @lekurile - let me check this with MII before we merge.


Functions defined with an absurd pattern get no definition in Haskell

If a function with a single clause is defined with an absurd pattern, only the type signature gets generated in the corresponding Haskell code.
impossible : @0 ⊥ → a
impossible ()
{-# COMPILE impossible #-}

impossible :: a

We probably should have a default clause that throws a runtime error.

The idea was that you shouldn't use absurd patterns and instead make an explicit call to the error function.

Then it should be caught and prevented by agda2hs!


Testing

What changed? Why?
Fixed the Paymaster capabilities for testing.
How has it been tested?
It has been tested in dev by registering basenames on testnet. These transactions were successfully sponsored by the paymaster that was setup for this project.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/2

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2


Help Wanted: Development of few features

Hi, in my organization, we're looking into extending this extension with few new features:

filter-bar, similar to one in Boards view, filtering on status and tags attributes
start and end iteration filter to narrow timeline (that would change the current View Sprints input)
a way to distinguish features (work-items) visually on a timeline, e.g. adding work-item icon (here I mean having customized process and new work-item on Feature level, other that default Feature)

Do these features are inline with your vision of extension?

I am a bit new to Azure DevOps and its SDK, and I will need help from a mentor on how to best tackle such development. Any volunteer?

These will be great features, I can help you ramp up.
Please send me an email at<EMAIL_ADDRESS>and I can schedule a quick meeting.

Closing this issue for now, Please let me know when you are available.


change the word 'CROP' in toolbar

First of all thank you for this great library .
I'm using the code you provide in quick-start folder .
Is there any method or any way to change the word 'CROP' showing in toolbar (I'm going to translate it).
thank you.

See the wiki please.

Thank you.
So easy ...
https://github.com/ArthurHub/Android-Image-Cropper/wiki/Activity-Visual-Customization#crop-menu-item


iOS Scenario App tests isn't running during the Mac iOS Engine build

The Scenario App Integration Tests test build step is present in Mac iOS Engine #10409 and missing in the next build Mac iOS Engine #10410
I may just be missing where this runs now post-https://github.com/flutter/flutter/issues/84618/ and https://github.com/flutter/engine/pull/27302.

@dnfield @godofredoc where should this be running now?

Never mind, found it in Mac Unopt.
https://github.com/flutter/infra/pull/465


in controller, render to view of widget in components/widget ?

Hi guys,
in controller, we can render to view of widget in components/widget?
Thanks

Use official forum for asking.


JCVI codon table generation is flat-out-wrong

It returns:
* has the following weights:
[  "TAA: 4680",  "TAG: 1369"]

This is impossible, as JCVI has <500 genes.

Are you passing the whole sequence or just the CDS sequences?
On Sat, May 6, 2023, 11:21 PM Koeng101 @.***> wrote:

It returns:

has the following weights:
[  "TAA: 4680",  "TAG: 1369"]

This is impossible, as JCVI has <500 genes.
—
Reply to this email directly, view it on GitHub
https://github.com/TimothyStiles/poly/issues/306, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVXJVCFGF6G2KZSIQ6TM3DXE45OLANCNFSM6AAAAAAXYUS2MU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Turns out, some genes were noted to be pseudo genes, but still had feature type of CDS. This caused the entire thing to fail. I think docs should be updated with this. Adding another pr.
for _, feature := range sequence.Features {
        if feature.Type == "CDS" {
            if _, ok := feature.Attributes["pseudo"]; ok {
                continue
            }
            seq, _ := feature.GetSequence()
            codingRegionsBuilder.WriteString(seq)
            genes++
        }
    }


Add article about Git workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.35%.  Consider uploading reports for the commit 041925f to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   91.35%   91.35%
=======================================
  Files           4        4
  Lines          81       81
=======================================
  Hits           74       74
  Misses          7        7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add ROS-CI with support for optional dependencies qpmad, OSQP, ProxQP

Adds a CI to resolve dependencies via ROS, including a default configuration for optional dependencies (qpmad, OSQP, ProxQP). This is designed to catch bugs such as the one fixed in #193 and the non-vectorized ProxQP issue fixed as part of this PR
Depends on:

https://github.com/Simple-Robotics/proxsuite/pull/158

Thanks @wxmerkt !


Error uploading new configuration file

Hello, I've created an FTP-server running on IIS and I have a full access. On uploading new configuration file I'm getting this strange error (nUpdate Administration v3.3.1).

Hm, this is strange. Actually that should be a happy code, not an error. As nUpdate Administration uses Starksoft.Aspen, the error must lie there. I can look at the code lines and ask the library author where this may come from.
Best,
Dominic

@ProgTrade Thanks Dominic, I'll wait for your reply

Could you please give me the whole stacktrace of the error? To do this, just rightclick on the error message and click "Copy entire message".
Then I will immediately open an issue.

@ProgTrade, it seems I've created a new project from scratch and now I'm getting this error (the "Copy entire message" menu item is inactive). Russianl text error in English: "Timeout expired"

@ProgTrade finally fixed the issue, it's because of my mistake in update url.
Thanks!

Okay yes. That is what the message indicates. So with passive mode it does now work?

@ProgTrade Yes, I changed FTP mode to active by mistake, so when I recreated the project passive mode was selected by default and it's working now.
Thanks for  your support!


refactor(ts): test in typescript

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Merge UA translation

Merge UA translation

If you are the maintainer of a community translation fork and would like to deploy via Netlify instead of GitHub pages, please ping @yyx990803 in an issue to request a Netlify team membership and DNS update.

Ping ping @yyx990803 and requesting ua.vuejs.org :)

I believe it should not be merged to master, but a relevant repository instead, which should be created first?
If so, please let me know, so I will create my PR over there and close this one.
Thanks!

Nevermind, already talked to @NataliaTepluhina regarding the process to follow.


rannc::ParamStorage::getParamID(const string&, const string&) const: Assertion `contains(graph_params_, graph_id)' failed.

Dear author,
Thanks for your wonderful work. We try to run the code from GitHub with docker but the code reports the following error.
[2021-09-20 06:29:11.877] [RaNNCProcess] [info] RaNNC started on rank 0 (server01)
[2021-09-20 06:29:11.878] [RaNNCProcess] [info] CUDA device assignments:
[2021-09-20 06:29:11.878] [RaNNCProcess] [info]  Worker 0: device0@server01
Use GPU: 0 for training
=> creating model 'resnet50'
#Parameters=25557032
Synchronizing parameters with apex.
RaNNC is synchronizing parameters. Enable apex for more efficient synchronization.
[2021-09-20 06:29:26.629] [RaNNCModule] [info] Tracing model ...
/opt/conda/envs/rannc/lib/python3.8/site-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable.

Thank you for your report!
We fixed the problem and confirmed that the resnet example works.
We still need a thorough test, but you can try the fixed version (v0.6.4.post4).
The example script main_rannc.py  at rannc-examples was also updated.
Let me note that the current documents and rannc-examples are basically for the released version v0.5.1 and the head of main branch can be often unstable.
We will release the new version and update the documents.

Thanks for your quick fix! I will try the latest version.


Table in front of list not rendered

Tables won't render if it is followed by two line breaks and a list:
| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| **col 3 is**  | right-aligned | $1600 |
| col 2 is      | *centered*    |   $12 |
| zebra stripes | ~~are neat~~  |    $1 |

1. test

Three line breaks in between works fine:
| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| **col 3 is**  | right-aligned | $1600 |
| col 2 is      | *centered*    |   $12 |
| zebra stripes | ~~are neat~~  |    $1 |

1. test

Verified. Bug introduced in version 1.4.4

Thanks!

Should be fixed in version 1.7.6

As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money. Currently, we're looking to improve showdown with automated tests in all browsers and a proper domain and webpage. 500$ should be enough to to keep showdown testing framework running for a year or two.

If you like our work and find our library useful, please donate through Pledgie or directly through paypal!! Your contribution will be greatly appreciated.


Add testing for Python 3.7 and 3.8, drop support and testing 2.7 and 3.4.

It's high time we add testing for 3.7 and 3.8, and formally drop support for 2.7, and probably 3.4 too.
Not urgent, but lets revisit this post ISMIR tutorial.

Closed via #126


fix: update invalid feedback to be strong

The red text conveys semantic emphasis using color and font weight. For WCAG 2.1, the semantics need to be exposed programmatically as well. To do this, we use  elements and attach the formatting classes to them.

Coverage increased (+0.04%) to 88.303% when pulling 0a8309a147e70b3900f4a76801a395d3fd3322d7 on djoy/validation_form_group_strongwrong into 6bbc6b69772a986d439c42c68123e039da7add1c on master.

Coverage increased (+0.04%) to 88.303% when pulling 0a8309a147e70b3900f4a76801a395d3fd3322d7 on djoy/validation_form_group_strongwrong into 6bbc6b69772a986d439c42c68123e039da7add1c on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Included additional troubleshooting guidance

Included additional troubleshooting guidance for common mistakes based on recent feedback.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JohanFreelancer9

@E-Saggese, kindly commit the final suggested change. Thanks so much.

@chrfox Please merge this PR. Thanks

This change is large. Please open a work item request using this template https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Foffice.visualstudio.com%2FMAX%2F_workitems%2Fcreate%2FTask%3FtemplateId%3D2b3ec282-1f91-44a6-a77f-776c3fa70966%26ownerId%3D17bba195-cfcb-45a3-885b-71e438da299b&data=04|01|Laura.Williams%40microsoft.com|990aada841854d71541b08d97e0f14f6|72f988bf86f141af91ab2d7cd011db47|0|0|637679425505695632|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=JoNv1p%2Fir8tYNLffhP%2FBjTduYr%2BCMjd7GRxT3E%2BlvxE%3D&reserved=0 for triage


[TREL] Question: shall we allow otPlatTrelUdp6Init to fail during initialiation

Is your feature request related to a problem? Please describe.
If passed with an infra interface (for example, br-lan), the Thread daemon (or otbr-agent) will not start successfully if anything goes wrong in otPlatTrelUdp6Init. For example, the interface cannot be found. And it will log a critical error.
We have many common cases like this: The Thread daemon is set as a service and is started during system initialization. However at this moment, the interface isn't ready yet. (It's hard to make sure the interface to be ready before starting Thread). And a few moments later, the interface becomes ready.
In these cases, we hope the Thread daemon can still work (without TREL functionality). So shall we allow otPlatTrelUdp6Init to fail when the interface doesn't exist instead of exiting directly?
Describe the solution you'd like A clear and concise description of what you want to happen.
My proposal is to allow otPlatTrelUdp6Init to fail. And if it fails, we use a timer to initialize it regularly until it succeeds.
Implementation:
We add an error code to otPlatTrelUdp6Init, and thus add it to ot::Trel::Interface::Init. And we add another timer in ot::Trel::Link. Then in ot::Trel::Link::AfterInit:
void Link::AfterInit(void)
{
     if (mInterface.Init() != OT_ERROR_NONE)
     {
         mTrelInterfaceInitTimer.Start(maybe_five_minutes)
     }
}

void Link::TrelInterfaceInitTimerHandler(void)
{
    if (!mInitialized)
    {
        if (mInterface.Init() != OT_ERROR_NONE)
        {
            // Log some errors
            mTrelInterfaceInitTimer.Start(maybe_five_minutes)
        }
    }
}

Thoughts? @abtink @simonlingoogle

@Irving-cl , the current TREL platform definitions and it implementation (which uses the LL multicast/broadcast) is changed (no longer the model is the Thread spec). The new Thread spec draft is based on DNS-SD to discover TREL peers.  Please check this PR:

https://github.com/openthread/openthread/pull/7125.

Great! Sounds good to me. Then I think there won't be such problem.


[implot] Update to v0.7

https://github.com/epezent/implot/releases/tag/v0.5
https://github.com/epezent/implot/releases/tag/v0.6
https://github.com/epezent/implot/releases/tag/v0.7

/azp run

Thanks for your PR. Now implot build failed on MACOS with the following error:
/Users/vagrant/Data/buildtrees/implot/src/v0.6-f150881564.clean/implot_demo.cpp:1344:41: error: a space is required between consecutive right angle brackets (use '> >')
    static ImVector<ImVector<ImPlotPoint>> records;
                                        ^~
                                        > >
1 warning and 1 error generated.

I added a patch to fix this, it should build fine now.

To be honest I'm kinda scared that this PR is going into oblivion. I don't want to sound impatient, but I'd like to check that it has not been forgotten. :)


feat(GoogleMap): Expose map for use with other apis

Feature Description
I have a map loaded on my screen, but I also want to use the Places Api. Although geocoding is supported by the library, places is not.
The map, and map instance, are created solely through my template
        <google-map [options]="options" class="col-sm-8">
            <map-marker
                [options]="markerOptions"
                [position]="markerPosition"
            ></map-marker>
        </google-map>

I have been trying the following code
        const map1: any = document.querySelector("google-map") as unknown;
        console.log("lookup", map1)

        const map2: GoogleMap = map1;
        var request = {
            query: 'albina',
            fields: ['name', 'geometry'],
        };
        var service = new google.maps.places.PlacesService(map2);
        service.findPlaceFromQuery(request, (results, status) => console.log(results, status))

This works in javascript - the querySelector returns the dom node, but it can be passed successfully to PlacesService. As I am using typescript I keep being told that I can't pass an html element (not withstanding my attempts to override the type).
Really what I want is to access the map as is, rather than using dom lookups, but I cannot work out how to access that. As you can see, I am able to create and pass options to the component, but don't know angular well enough to get the map back
Use Case
I also want to use the Places Api which requires me to pass a google map. the obvious candidate is the one created by this component, but I cannot see how to access it

I think that we should wrap the Places API eventually. For what it's worth, you can interact with the map instance directly by getting a hold of the GoogleMap component and accessing its googleMap property: https://github.com/angular/components/blob/main/src/google-maps/google-map/google-map.ts#L72

@crisbeto how would I get hold of the GoogleMap component - this is just a question of not understanding how Angular works

Something like this:
import {ViewChild} from '@angular/core';
import {GoogleMap} from '@angular/google-maps';

@Component()
class YourComponent {
  @ViewChild(GoogleMap) map: GoogleMap;

  ngAfterViewInit() {
    console.log(this.map);
  }
}

Closing as a duplicate of https://github.com/angular/components/issues/23514.


vSphere certificate options

MTV 2.6
Resolves https://issues.redhat.com/browse/MTV-557 by rewriting the procedure for working with CA certificates when creating a vSphere source provider.
Preview: https://file.emea.redhat.com/rhoch/fetch_url/html-single/#adding-source-providers [steps 5 and 6 of the vSphere procedure]

@yaacov I made the change you suggested. Please review the PR again.

@ahadas I made the changes you suggested. Please review this PR as QA.

the content looks good @RichardHoch you might want to separate the addition about the certificate to another module that will be imported to these places in order to reduce duplication

Good idea, @ahadas! Done and merged.


Stop checking encoding names

Comparing the names is much less efficient than comparing the instance directly.
It may also change in the future: https://bugs.ruby-lang.org/issues/18576

Hi @casperisfine thank you for your contribution. I have always found ASCII-8BIT confusing. And as Aaron mentioned on the ticket, I've never needed to differentiate between binary data that might happen to be ascii compatible vs not compatible.
To get this merged could you:

Create a JIRA ticket in the PUP project: https://tickets.puppetlabs.com/projects/PUP
Describe the issue and link to the ruby bug you filed
Prefix the subject line in your commit message with the ticket, e.g. (PUP-123) ...
Update the tests in spec/unit/provider/package/gem_spec.rb as needed.
Sign the CLA

Also I think there are a few more places that need updating:
lib/puppet/file_system/posix.rb:      sa = "".force_encoding('ASCII-8BIT')
lib/puppet/file_system/posix.rb:      sb = "".force_encoding('ASCII-8BIT')

Thank you!

Also I think there are a few more places that need updating:

They could be updated for consistency (and probably should), but note that they don't absolutely need to. "".force_encoding('ASCII-8BIT') will still work just fine, it's really only comparing the encoding name that breaks: str.encoding.name == "ASCII-8BIT".

Create a JIRA ticket in the PUP project: https://tickets.puppetlabs.com/projects/PUP

Erf, I'm sorry, but that's a bit too much hoops to jump through.


android.app.ActivityThread$H.handleMessage

ActivityThread.java, line 1893
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{8ccfc69 u0 edu.uw.covidsafe/.LoggingService}
Thought this was fixed, but maybe it was not.
This happened on a phone with API 9.
If this issue is related to API version, then #50 will deal with this also.

@aakash1313 verify that this is an issue with using a low API version.
If that is the issue, close the issue.
We fix that by just doing an API version check at the start and alerting users if their API version is too low.

@aakash1313 : Going through the google issue tracker it seems to be a known issue and google has not released a permanent fix for it. There are workarounds available but they will not eliminate it completely.  Looking for some other alternatives.

@justinklchan : can you confirm if it is fixed in the latest code?

It's hard to say because it doesn't crash deterministically. And these crashes haven't happened on my own device. I'll close this for now. And reopen if it arises again.


Remote IP with reverse proxy

First: Let me just say HOLY MOTHER uWS! From 450MB to 60MB RAM for 800+ active peers at a given time.
Based on https://github.com/feross/bittorrent-tracker/issues/175 I decided to take a look into uWS and try and replace ws as it was consuming RAM like Chrome does.
I had to tweak a few things but I got it working easily.
Now, the issue:
When the websockets are proxied by a proxy server like nginx (my case) the remote IP address will always be <IP_ADDRESS>. The bittorrent-tracker module had this line to fix that and it would be great if uWS could integrate it so no functionality is lost and enable others to do the same. About the header: https://en.wikipedia.org/wiki/X-Forwarded-For
Awesome work with this library.

ws.upgradeReq has been dropped in 0.10.x because the sockets are no longer descended from Node.js's sockets IIRC. This breaks compatibilty with ws. I'll leave it to @alexhultman if this hould be reimplemented, but you can shim this property on the connection event for compatibilty:
ws.on('connection', function(ws) {
  ws.upgradeReq = {headers: {'x-forwarded-for' : ws._socket.remoteAddress}};
  // your code
});

Sockets has never been net.Socket in uws. The upgradeReq exists for the time the connection handler runs.

@silverwind that won't work as I want the real IP, I already have <IP_ADDRESS> (ws._socket.remoteAddress)

Oh, right. In that case it should be possible to access upgradeReq during connection and cache it as a property on ws. I'll try something like that later.

I don't understand the problem. uws makes use of the Node.js HTTP server so it has the same proxy features that any other Node.js lib has.

@alexhultman I can load the real IP from upgradeReq before it's nullified. My proposal is that uws provides the real IP in socket._socket.remoteAddress if it was proxied, instead of <IP_ADDRESS>
How I did it: https://github.com/DiegoRBaquero/bittorrent-tracker/blob/0ac1c940b36e54bf3c9076529ef54737986b345c/server.js#L450-L452
If left as is, I'd be cool to add the note in docs.

So you are working with https://webtorrent.io/? If so, that's pretty sweet dude

Yeah, I'm a core team member :)

https://www.youtube.com/watch?v=vjUqUVrXclE

Note that these headers for originating IP (and port) aren't really standardized and while there is an RFC for a standard, no major reverse proxy implements it (and probably never will given the complexity of that spec). I'm feeling that this task is better left to the user.

Pssst, don't tell this to anyone but I have never used a proxy in my life. At least not directly.

We should of course clearly document this, as it's a major difference to uws which seems to keep upgradeReq available during the whole lifecycle of the request.

It is documented on the front page. Under Usage -> Node.js

How would I get the upgrade headers in C++?

@lucasterra Could you maybe PR in this? The UpgradeInfo passed to the onConnection should also pass a new HTTPRequest so that you can iterate the headers there.

https://github.com/uWebSockets/uWebSockets/blob/master/src/HTTPSocket.cpp#L119
You want to also pass a new HTTPParser via the UpgradeInfo like so:
HTTPParser httpParser = (char *) httpData->httpBuffer.data();

I'll work on it and submit the PR @alexhultman. Thanks!


how to know the specific decay distance for a r2

Hello,
How should I know the specific decay distance of the red line in the plot when r^2=0.2. I have looked at the raw results obtained from POPLDDECAY, but I still don't know how to calculate it.
Thanks,
Liu

you can see the data from the xxx.bin file


Added Tooltips for item conduit upgrade slots

ok, but I made it "Upgrades/Downgrade", because you can add more than one upgrade

Automerge is broken :(

Should work now.
My bad, btw. Somehow the en_US.lang change ended up in another branch, too.

Could you squash to one commit?

You really want the merge squash in there?


Don't attempt to parse JSON payload if it is 0 bytes long.

Also added a test to trigger this.
Thanks to @errordeveloper for suggested fix in https://github.com/weaveworks/weave/issues/2109#issuecomment-202954276.
Fixes #2109

Wrong branch; replaced by #2128


Feature: international

Description
Added an I18n package using next-international. I personally like next-international, as it is easy to setup and quite simple to get going. For this package, I mirrored closely how the @repo/auth was built with clerk. I created a middleware, server, and client file to export the necessary functions from next-international, and created a sample folder of with a basic en localization to exemplify how to get started.
Related Issues
#297
Checklist

[x] My code follows the code style of this project.
[x] I have performed a self-review of my code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation, if necessary.
[ ] I have added tests that prove my fix is effective or my feature works.
[ ] New and existing tests pass locally with my changes.

Additional Notes

Edited the tsconfig for @repo/i18n to "moduleResolution": "bundler" and "module": "ESNext" to support relative imports.
Added necessary peerDependencies to circumvent some type errors

I have not updated the docs, as I am not quite familiar with writing docs. I would appreciate some help on that. Thanks!

Any plans to merge it @haydenbleasel ?

I think you need to change the package.json name to "@repo/i18n" otherwise this breaks pnpm dev

Also, I think it would help to have an example?


Problem with wcbench

Hi, I'm doing a lot of simulations with wcbench. I'm using Fedora20 because,with ubuntu I cannot connect to the Karaf's controller. Solved this problem, I'm running tests (in localhost), but when launching wcbench, with "./wcbench.sh -r" command or with "./loop_wcbench.sh -l" command, at the end of running in the results.csv file the elements of the "total ram" column and the "used ram" columns are nulls.
This is the result with "./stats.py -s flows ram" comand :
{'flows': {'max': 21659,
'mean': 7173.8737,
'min': 2687,
'relstddev': 68.084,
'stddev': 4884.209}
'sample_size': 586,
'used_ram': {'max': 0,
'mean': 0.0,
'min': 0,
'relstddev': 0.0,
'stddev': 0.0}}
Maybe, this is the problem:
./stats.py -S
Traceback (most recent call last):
File "./stats.py", line 345, in
stats_mapstat
File "./stats.py", line 168, in compute_iowait_stats
self.compute_generic_stats("iowait", self.iowait_col)
File "./stats.py", line 249, in compute_generic_stats
generic_stats["min"] = int(numpy.amin(stats_col))
File "/usr/lib64/python2.7/site-packages/numpy/core/fromnumeric.py", line 2209, in amin
out=out, keepdims=keepdims)
File "/usr/lib64/python2.7/site-packages/numpy/core/_methods.py", line 21, in _amin
out=out, keepdims=keepdims)
ValueError: zero-size array to reduction operation minimum which has no identity

I'm using Fedora20 because,

Are you using a manual install or a the project's Vagrant environment? I recommend the Vagrant environment if possible, for it's consistency and isolation.

with "./wcbench.sh -r" command or with "./loop_wcbench.sh -l" command

I assume you started ODL using [WCBench's helper function](https://github.com/dfarrell07/wcbench/blob/master/wcbench.sh#L661-L702, via wcbench -o? If not, note that you'll need to do the Karaf config manually.

at the end of running in the results.csv file the elements of the "total ram" column and the "used ram" columns are nulls.

Can you include the contents of results.csv?

Maybe, this is the problem:
./stats.py -S

If your results.csv file is ill-formed, as would be the case if you're missing those RAM columns, stats.py will fail. So that's not the issue, just a side-effect.
Generally, when debugging anything with WCBench, I suggest using the verbose (-v) flag. Try that and see if you get some useful output, perhaps error messages about RAM checks.

"total ram" column and the "used ram" columns are nulls

Was the free_ram column not null then? That would be unexpected and interesting.
Note that for runs against ODL on the same host as WCBench, these are the three commands issued to gather RAM info. You may want to check them on your test system to see if they work as expected.

I used a manual install;
I started ODL using wcbench -o function, with this result:
./wcbench.sh -o
Starting OpenDaylight
Will repeatedly attempt connecting to Karaf shell until it's ready
Issued dropAllPacketsRpc on command via Karaf shell to localhost:8101
Issued log:set ERROR command via Karaf shell to localhost:8101
After, I used for example ./wcbench.sh -v -t 2 -r with this result:
./wcbench.sh -v -t 2 -r
Set MS_PER_TEST to 120000, TESTS_PER_SWITCH to 1, CBENCH_WARMUP to 0
karaf: JAVA_HOME not set; results may vary
Running ...
Collecting pre-test stats
Running CBench against ODL on localhost:6633
cbench: controller benchmarking tool
running in mode 'latency'
connecting to controller at localhost:6633
faking 32 switches offset 1 :: 1 tests each; 120000 ms per test
with 100000 unique source MACs per switch
learning destination mac addresses before the test
starting test with 0 ms delay after features_reply
ignoring first 0 "warmup" and last 0 "cooldown" loops
connection delay of 0ms per 1 switch(es)
debugging info is off
Collecting post-test stats
Collecting time-irrelevant stats
Average responses/second: 26875.73
Shown below the screenshot of result.csv file; the problem is in Ram's coloumn.

Shown below the screenshot of result.csv file; the problem is in Ram coloumn.

Looking closer, actually all of the columns past human_time are wrong. The issue is that human_time on your system is resolving to a value that itself has commas, which is throwing off the CSV rows.

I raise #58 to track fixing the command such that it doesn't output commas, without regard for timezone.

Perfect,
thank you very much, Daniel :)

@stefanoperone Can you try the fix I commited in 9455c121e724be950478515da657cbc20d1c1bb7?
Also, can you give me the outputs of date and date +"%F %T %Y %Z", as an extra verification?

With this change:
results[$(name_to_index "end_time")]=date +%s
results[$(name_to_index "human_time")]=date +"%F %T %Y %Z"
I have this result:

Perfect, looks fixed. :)

@stefanoperone - Thanks for reporting this issue, btw. :+1:


Add background images

Let's add one or more subtle background images in the center of the app when player is waiting.

When waiting for game start

When waiting for other player's answers

When seeing the question answer (correct or incorrect)

@pozil  You can have a mascot for the app and show its picture in the empty section

@pozil I'm working on this.

Do you have any specific images in mind?

Hi @pv-vighnesh thanks for volunteering.
I agree, perhaps we can have mascots to fill a bit the pages.


Repro client processing own commit as an external envelope

See https://github.com/xmtp/xmtp-react-native/pull/534

Brainstorming here how parallel member removals an syncs could lead to a race where a client tries to process their own intent without the envelope payload showing in their database yet, and how this can be prevented.


Both links to PsGetCurrentProcess are dead links

The gist is already in the subject line. The two links to PsGetCurrentProcess are dead links.
Best regards,
Oliver

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

ID: fe860a8c-e67b-4419-6b5e-bd8085baa859
Version Independent ID: becfef9c-98b6-b2b9-37d1-0f03b9fbd46d
Content: KeStackAttachProcess function
Content Source: wdk-ddi-src/content/ntifs/nf-ntifs-kestackattachprocess.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

RP #222 (fix for entire repository)


Uncaught TypeError: Cannot read property 'length' of undefined

[Enter steps to reproduce:]

open one file in javascript

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Mac OS X 10.13.6
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

TypeError: Cannot read property 'length' of undefined
    at ScreenLineBuilder.emitText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1103304)
    at ScreenLineBuilder.buildScreenLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1099010)
    at DisplayLayer.getScreenLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:89306)
    at TextEditorComponent.queryScreenLinesToRender (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:79324)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:69977)
    at TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:67605)
    at TextEditorComponent.didMouseWheel (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:92354)

Commands
     -3:27.6.0 application:reopen-project (input.hidden-input)

Non-Core Packages
language-babel 2.53.0
language-pug 0.0.19

Mine occurred when a second version of the same file was opened

So are there two tabs in the same pane of the same file? Or are they in different panes? And does it always reproduce with the specific file? Thanks!

I also have a same problem what shall i do for

solve this error

@NikulGoyani369 your error looks different than what's reported here, go ahead and open a new issue and fill out the issue template so we can take a look.


Error using gym (You passed invalid parameters to 'gym', Could not find option 'provisioning_profile_path')

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the [Contribution Guidelines]

Issue Description
Hi!. Since yesterday, there is an error when I try to compile:
19:21:38: --- Step: gym ---
19:21:38: -----------------
19:21:38: You passed invalid parameters to 'gym'.
19:21:38: Check out the error below and available options by running fastlane action gym
[19:21:39]: Liberando lock
[19:21:39]: ERROR in fastlane itunes_upload for the app volvoxc60
[19:21:39]: --------------------------
[19:21:39]: --- Step: notification ---
[19:21:39]: --------------------------
+-----------------------------+-----------------------------------------------------------------------------+
|                                               Lane Context                                                |
+-----------------------------+-----------------------------------------------------------------------------+
| DEFAULT_PLATFORM            | ios                                                                         |
| PLATFORM_NAME               | ios                                                                         |
| LANE_NAME                   | ios createapp                                                               |
---------+
[19:21:39]: Could not find option 'provisioning_profile_path' in the list of available options: workspace, project, scheme, clean, output_directory, output_name, configuration, silent, codesigning_identity, skip_package_ipa, include_symbols, include_bitcode, export_method, export_options, export_xcargs, skip_build_archive, build_path, archive_path, derived_data_path, result_bundle, buildlog_path, sdk, toolchain, destination, export_team_id, xcargs, xcconfig, suppress_xcode_output, disable_xcpretty, xcpretty_test_format, xcpretty_formatter, xcpretty_report_junit, xcpretty_report_html, xcpretty_report_json, analyze_build_time, xcpretty_utf
Environment
Stack

Key
Value

OS
10.12.4

Ruby
2.2.2

Bundler?
false

Git
git version 2.8.2

Installation Source
/usr/local/var/rbenv/versions/2.2.2/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
/usr/local/var/rbenv/versions/2.2.2/lib

OpenSSL Version
OpenSSL 1.0.2d 9 Jul 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode7.app/Contents/Developer/

Xcode Version
7.3.1

System Locale

Variable
Value

LANG
es_ES.UTF-8
✅

LC_ALL
es_ES.UTF-8
✅

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.44.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.0

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.57.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

mini_magick
4.5.1

multi_xml
0.6.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.1

faraday_middleware
<IP_ADDRESS>

json
2.1.0

rubyzip
1.2.1

unicode-display_width
1.3.0

terminal-table
1.8.0

Hey @eventwo-com, we removed this recently since it has been deprecated for over a year now and unsupported. You can learn about the differences in the code signing section of our getting started guide so you can use new way to do it  🎉
We removed this functionality because you can no longer submit to Apple using Xcode 7.

Hi @taquitos, thanks a lot for your response. We will try to downgrade our fastlane version meanwhile we implement changes needed.

@eventwo-com We'd advice against downgrading fastlane, as you'll have to migrate to the latest Xcode sooner or later. Really sorry we removed this option, but it has been deprecated for over a year and it was necessary. Instead try to follow our code signing guide, which should make it easy to upgrade 👍

Hi @KrauseFx, thanks a lot for your response. We are already working on it!
Kind regards

Nice, great to hear 👍


Launch Party UI - Contract interface

Deposit function that takes the token pair and an amount
A way to calculate APY for each token pair
A way to read the progress of the bonding period (get the end block and the total uAR rewarded and the claimable uAR at the moment)
A way to claim all the rewards at the same time on a single transaction

Taggin @zapaz so we can discuss here.

a test smartcontract has been initialized , some function implemented, mainly deposit
repo here : https://github.com/ubiquity/simple-bond
first deploy : https://rinkeby.etherscan.io/address/0xa802e065da87bb249d35e3a22df58cfa8f268e03#readContract

New contract here : https://rinkeby.etherscan.io/address/0x455D264a380f38D07a3DE725eB0362b408C9657a#readContract
Some tests there :
https://github.com/ubiquity/simple-bond/blob/main/tests/SimpleBond.test.ts


[Need help with testing] Feature request: Apple Signin

Apple Signin is also a great option. Do we have plan for it? Or could I start a draft PR for it?

I don't have experience with Apple ID and its authentication flow.
I'll have to research it, but if Apple supports OAuth2 and could return the user email address, then I guess it shouldn't be very difficult to integrate it with PocketBase.
For now I'm not planning to work on this because a lot of other tasks already have piled in the roadmap, but if you want to pick it, you can see what changes are required from this closed Twitter OAuth2 PR - https://github.com/pocketbase/pocketbase/pull/118 (twitter oauth2 api currently doesn't support returning the user email address so it cannot be integrated with PocketBase).

Sure!  Thanks for the reply!

This probably will need to be prioritized a little because I've recently learned from Twitter that the App store seems to have a requirement for "Apple Sign-in" if other 3rd party auth services are used:

Apps that exclusively use a third-party or social login service (such as Facebook Login, Google Sign-In, Sign in with Twitter, Sign In with LinkedIn, Login with Amazon, or WeChat Login) to set up or authenticate the user’s primary account with the app must also offer Sign in with Apple as an equivalent option.

With PocketBase v0.6.0+, we now support OAuth2 providers that don't return an email, so it shouldn't be an issue even if the Apple OAuth2 api doesn't return it.
If @imWildCat couldn't find the time to work on this, I'll pick the issue after the users management refactoring in https://github.com/pocketbase/pocketbase/issues/376

@ganigeorgiev thanks! Yeah, please take over this work.
I recently moved to a new country and am still in the process of settling down.

I researched and experimented with this a bit over the weekend, and it looks like the barrier to entry to even test this is having an active developer.
But besides that, it does look like Apple is following industry standards. Although instead of using the PKCE flow, they're using the hybrid flow. I believe this would need a rewrite of some sort, which would add technical debt to Pocketbase since it uses the former exclusively https://github.com/pocketbase/pocketbase/issues/55.
Also, I think it would be best to convert this issue into a discussion.
Resources for further study:

https://appleid.apple.com/.well-known/openid-configuration
https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple
https://developer.apple.com/forums/thread/118688?answerId=367664022#367664022
https://bitbucket.org/openid/connect/src/master/How-Sign-in-with-Apple-differs-from-OpenID-Connect.md
https://www.scottbrady91.com/openid-connect/implementing-sign-in-with-apple-in-aspnet-core
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js
https://developer.apple.com/videos/play/wwdc2019/706/

Not sure if anyone is onto this. If no one is currently working on it I'm more than happy to start working on an implementation.

@Benjii-lee Thanks, but keep in mind that PRs for new features are temporary "frozens" due to ongoing users management refactoring in #376 and it's better to wait because there will be a lot of internal changes (especially to the tests).

I've tried to look today into this, but as @jonafeucht mentioned, it seems that you need to enroll in the "Apple Developer Program" first in order to obtain an "App ID".
But unfortunately, I wasn't able to do any of this because when I clicked from web "Account > Enroll today" and tried to enroll as "Individual/Sole Proprietor", I got the following message at the final step:
Your enrollment in the Apple Developer Program could not be completed at this time.

I'm not sure what I've done wrong, but I'm not even allowed to change the user fields that I've entered before the final step.
Additionally, looking at the Apple guides, there also seems  to be a fee of $99 per year, but I'm not sure if this is only for when you want to submit something to the App store or it just an enrollment requirement?
In any case, I'll have to put this feature request "on hold" unless someone with an apple developer account decide to contribute.
@Benjii-lee if you want to help with this feel free to make a PR against the rc branch. For an example you could check the most recent Microsoft AD provider integration in https://github.com/pocketbase/pocketbase/commit/5298543ce486b0e4fe53dc1fc9a38b02313e22c5 (you can ignore the UI changes).

I have an active apple dev acct, how can I help?

@ganigeorgiev I'm still relatively new to Swift but I believe that registering the app with Apple to get a valid App ID requires payment for the developer account.
I'm working on a project right now that will require Apple Sign In and I have a developer account so I'll post updates here if I make any headway.

@benallfree, @deannemphos
To be honest, I'm not really sure what are all the requirements for the integration because I wasn't able to continue beyond the "App Developer Program" enrollment (and I'm still baffled why I'm getting the above error; there was no payment option or any other verification field other than the phone text message).
But anyway, for a guide I was using the official Apple docs - https://help.apple.com/developer-account/#/devde676e696.
This article also contains very detailed instructions what to do in the Apple dashboard - https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003.
Supabase also has a great documentation on this in https://supabase.com/docs/guides/auth/auth-apple.
To summarize, we need to be able to allow "Sign-in with Apple" by entering only a ClientId and ClientSecret but the problem is obtaining them and creating the OAuth2 application in the Apple developer platform.

Decided to take a crack at it, the instructions you linked were as straightforward as it gets & worked like a charm. I managed produce valid tokens and got a successful login attempt to a test URL. As best as I can tell, adding an Apple ID login option to the admin dashboard should work much in the same way as any of the other registered OAuth2 providers.
For anyone looking to implement this before PocketBase officially adds support, the docs already cover handling user authentication from any OAuth2 provider and should work just fine for web apps. On the Apple Developer dashboard, make sure the return URL in your Services ID configuration points to the proper address and is using HTTPS otherwise it'll return an invalid address error.
As for Swift, I'm not positive on how to integrate PocketBase with the built-in "sign in with Apple" option but manually adding in OAuth authorization (which you'd have to do anyways for something like Google sign-in) and using the generated tokens would work the same even if it's a bit more effort.
Let me know if you need any help whenever this gets implemented, I'd be more than happy to generate valid tokens for you or anyone working it @ganigeorgiev!

@n1xx1 We can add a special helper endpoint for Apple OAuth2 if that's the only limitation, but please note that the email or name  fields are no longer required and as long as Apple returns an account/profile id we can create/associate it to a PocketBase user just fine.

Hi, I was evaluating pocketbase for my app (currently using Firebase), and really want to switch to pocketbase (mainly because of its extensibility as a framework). However, this is a blocking issue, as I am only using social sign in and Apple requires you to have SIWA to submit to the App Store in this case.
Some things I want to note:

Your enrollment in the Apple Developer Program could not be completed at this time.

I had this same error online. If you have an iPhone/iPad, can you try installing the Apple Developer app and doing enrollment from there? I was able to register my Apple developer account from within in the app but not on web.
Also, I am not sure how pocketbase works internally, but SIWA is a bit different than some other providers; for starters, you only get a user's name (if they supply it) on the first sign in. After that first sign in, the information you get each subsequent sign-in is extremely limited.

Is there anything we can do to help with the Apple sign in?
In my case, the absence prevents the use of pocketbase as a backend for iOS apps.

@sonovice Nothing has changed since my last comment in - https://github.com/pocketbase/pocketbase/pull/899#issuecomment-1384251733.
The suggested implementation in the related PR needs to be slightly refactored to minimize the settings.Settings breaking changes.
After the upcoming v0.13.0 release I'll try again creating a new Apple developer account will see if I can prioritize it.

Unfortunately I didn't have time to update the PR.

@n1xx1 No worries. I'll try to update it sometime next week.

@sonovice and anyone else who is following here, I've submitted a new POC implementation in https://github.com/pocketbase/pocketbase/pull/1954.
I need help with verifying that it works and will appreciate if someone got the time and give a try.
You can find steps how to run the changes in the #1954 PR description.

The Apple OAuth2 implementation from #1954 was merged in the develop branch and it will be available with the next v0.14.0 release.

@ganigeorgiev Sorry that I could not test it yet. I'll be back on Thursday and will give it a whirl.


added functionality to handle RGBA, i.e. 4 channels and related modif…

#12
thanks. im new to open source, first i read about image channels and got the understanding what they are, here basically we have to add ALPHA in loading image, we are currently missing that, thats why errors are getting generaated. I read documentation for stbi_load and have modified the code base accordingly and handled error accordingly.
Can someone test it?

oh ya i was thinking of editing sam_image_u8 but neglected it. will do surely, and update sam_image_u8.

one more thing apart from that logic for load_image_from_file is fine?

in the code base here at line number 340 we are resizing the mask. Do we need to use 4 channels here or 3 are enough for 4 channels too? Apart from this function in main.cpp / examples, there is no hard coding of number of channels left.

can you please elaborate, how can i work forward on this?

Should a png image with alpha channel and test that the sample works. I will try to do that today or tomorrow and look more carefully through your change.

uhm png image doesnt support alpha channel.

https://www.w3.org/TR/PNG-DataRep.html Section 2.4

Okay i was wrong, now what changes should i make and where?

any info or update?

any update?


Gradle 6 deprecation warnings in 2.0.1

With id "com.github.spotbugs" version "2.0.1" I'm getting this warning: Type 'SpotBugsHtmlReportImpl': setter method 'setStylesheet()' should not be annotated with: @Input. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0..

I opened a PR for this here. Can someone take a look at it?


Large loadable types: add support for destroy_value -> destroy_addr

radar rdar://problem/33942706
small optimization added to the large loadable types IRGen pass: support converting destroy_value instructions into destroy_addr

@swift-ci Please smoke test

I would like you to think of the "large loadable types IRGen pass" not as an optimization but as a lowering step.  That is, it should become an invariant of lowered SIL that large loadable types are never seen as a scalars.  You should be exhaustively considering all instructions that can introduce scalar values.


feat: implement auth module

Implement auth module to allow users:

register
login via password
add auth guard to other services

issue resolved via:
https://github.com/AntColonyQuantitative/api/pull/23
https://github.com/AntColonyQuantitative/api/pull/24


Evolve low pokemons that have many candies,

Expected Behavior
command -e (evolve) if im using the 30 minutes double xp egg to evolve pokemons and get double xp out of it. Manually it takes for ever and i cant even evolve half of my pokemons during those 30 minutes. As i get tons of candies through botting
Actual Behavior
not implemented yet
Steps to Reproduce
-e (evolving)
evolves pidgeys, ratatas, etc

This is already on the to-do list.

Evolve function added dd2b11af77f3546c204d0799dfe04becf7394ba1


Showing only the logo animation in Ubuntu 20.04

When i open the Jupyter lab app it only shows the starting animation and do nothing. I don't know if there is something fault from my side as i am newbie in this jupyter lab environment but it seem not to work. I dont think i made any mistake regarding installation as its quite easy (just installing the .deb file).
I have just left it to open for about 10 minutes but its still showing only animation. Should i do more than just installing .deb file or is it a bug?

Thank you! I think that "schema not found" is the most useful message. One possibility would be that you installed the app as a root/sudo user, but are running it as a normal user. Another possibility would be that you have an older (< 3) version of JupyterLab installed. There is also a possibility of an issue with the installer but it seems less likely to me.

I think i have installed it using sudo i guess as this is the first version of jupyterlab desktop i am installing(so second option might be incorrect) .
The downloaded .deb file opens with "Software install" and then it asks for password as it is installed from other source.
Can you please help, how can i install it as a normal user or run it as sudo / root user(both might work for now)?
I know i can do sudo  to run the app as root user, but tried using "jupyter lab desktop" || "jupyterlab-app" but nothing seems to work from terminal.

The command-line name is jlab, so maybe sudo jlab? Could you also see if there are any logs in ~/.config/jupyterlab-desktop/logs/main.log and paste those here, please?

no response for long time. should be fixed in the newer versions.


vcpkg installation

Hello, i am trying to put sioclient with vcpkg but when i finished installing it there is no instruction to import it into my cmake, can you help me?

My project automatically grabbed the builds from the vcpkg folder. Be sure to run vcpkg integrate cmd to set the enviroment variables for the project's pathing macros. This is really the easiest way to install anything.

It’s good ty


Fixes to default secret during login

#1365  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on  Graphite


License file

The code needs to be licensed, else nobody has the right to use or redistribute it.
I suggest to use the MIT license, as it is the most used and easy to understand.

+1


Pass additional arguments to pip

It would be nice to have an ability to pass some non harmful additional arguments to pip during pip-sync. E. g. --no-cache-dir or --cache-dir <dir>.

I would like to be able to pass --upgrade to pip when doing pip-sync, the reason is I'm unfortunately required to use --system-site-packages on my virtualenv, to get access to the distro installed PyQt (which is not on PyPI yet, so not in requirements.txt), but I still want pip-sync to install as much as possible into the virtualenv (and not skip stuff that is already satisfied by the system-wide site-packages).

Just want to check, is there still no way to do this?

+1 on adding options like --no-cache-dir

A nice interface for this could be the command-line end marker: pip-sync requirements.txt -- --pip-option-1 --pip-option-2=no

That's a great idea! How to handle -- using click API? I skimmed docs and code and didn't find the solution.

@atugushev any updates on this issue ?

Hello @aorumbayev,
Unfortunately, there are no updates. It's still not clear how to pass the additional arguments.

@merwok

A nice interface for this could be the command-line end marker: pip-sync requirements.txt -- --pip-option-1 --pip-option-2=no

What if we need to process files containing double-dash? For example:
$ touch -- --requirements--.in
$ pip-compile -- --requirements--.in

@atugushev Not sure I get your question.  Recognizing a single token with the exact value of -- shouldn’t interfere with other params containing two dashes.

@merwok

Not sure I get your question. Recognizing a single token with the exact value of -- shouldn’t interfere with other params containing two dashes.

I mean how to distinguish filenames and options after --? For instance:
$ pip-compile -- --requirements--.in --no-cache-dir

That wouldn’t be valid.  -- means «end of processing, so all parameters for pip-compile mist appear before it:
$ pip-compile --some-opt file1.in --more-opt file2--weird.in -- --pip-option1 --pip-option2 arg --pip-option3

@tkwon

That wouldn’t be valid. -- means «end of processing, so all parameters for pip-compile mist appear before it:

AFAIK, the -- marks that all further parameters are accepted as arguments. This is how it currently works:
$ echo six > --requirements.in

$ ls
--requirements.in

$ pip-compile -- --requirements.in
six==1.13.0

$ ls
--requirements.in  --requirements.txt

Yes, this would involve changing the meaning of the token.
Are there really many people who decide to use filenames starting with two dashes?  That’s asking for trouble IMO.  But even so, there is still a way to disambiguate: ./--filename is a path!

@merwok

Are there really many people who decide to use filenames starting with two dashes?

I think it's close to zero. Anyways, I'm in favor to change the meaning of the marker, but, honestly, have no idea how to do it using click API.

Seems like click automatically accepts --: https://click.palletsprojects.com/en/7.x/arguments/#option-like-arguments
I’ve also found this which may be of interest: https://click.palletsprojects.com/en/7.x/advanced/#forwarding-unknown-options

Another thought on the interpretation of --.
I'm a big fan of plumbum, so checked what happens there, and it's this:

first occurrence of an island -- is removed and the following args are args, not options.
subsequent island --s are args themselves

I haven't looked closely at click to compare.
dashes.py:
#!/usr/bin/env python3
from plumbum import cli

class Dashes(cli.Application):

    nopanic = cli.Flag('--no-panic')

    def main(self, *args):
        if self.nopanic:
            print("Don't Panic")
        print('args:', args)

if __name__ == '__main__':
    Dashes()

$ ./dashes.py
args: ()
$ ./dashes.py --no-panic
Don't Panic
args: ()
$ ./dashes.py --no-panic --
Don't Panic
args: ()
$ ./dashes.py -- --no-panic
args: ('--no-panic',)
$ ./dashes.py --uglyfile
Error: Unknown switch --uglyfile
$ ./dashes.py -- --uglyfile
args: ('--uglyfile',)
$ ./dashes.py -- --uglyfile --no-panic
args: ('--uglyfile', '--no-panic')
$ ./dashes.py --no-panic -- --uglyfile -- --elsewhere-bound
Don't Panic
args: ('--uglyfile', '--', '--elsewhere-bound')
$ ./dashes.py -- --for-here
args: ('--for-here',)
$ ./dashes.py -- -- --elsewhere-bound
args: ('--', '--elsewhere-bound')

So here's a simple way to get this working.
Notes:

args/flags to pip install must follow a second -- (not necessarily consecutive)

$ pip-sync <pip-sync arg/flag>... -- -- <pip install arg/flag>...
$ pip-sync <pip-sync arg/flag>... -- --awfully-named-reqs.txt -- <pip install arg/flag>...

click's existing-path check was removed from the decorator, as src_files gets processed manually to split true src_files from pip install args (and the -- itself)
black and flake8 do not agree about acceptable whitespace formatting:

install_flags = list(src_files[fwd_args_idx + 1 :])  # black style
install_flags = list(src_files[fwd_args_idx + 1:])   # flake8 style

@AndydeCleyre I like the idea!

@atugushev black style vs flake8 style preference?

@AndydeCleyre

black style vs flake8 style preference?

I'd prefer black style. See https://github.com/psf/black#slices.

Hi, just inviting those interested to have a look and comment on #1080 -- please see my latest comment there.

Please note that I'm holding off on any continued work on #1080 until we can get feedback on @atugushev's suggestion of using
$ pip-compile --pip-args="--no-cache-dir --no-deps --force-reinstall"

rather than the PR's current state of using
$ pip-compile -- -- --no-cache-dir --no-deps --force-reinstall

Pinging most recent participants here, @merwok @tim-mitchell @aorumbayev and OP @31z4
Thanks for any feedback!

I like the --pip-args version. Maybe there will be a little bit of inconvenience when args must be quoted, though.

Quoted args with --pip-args seem cleaner to me than the double --.  Go for it!

Thanks for the feedback everyone, I'll start re-implementing soon.

Alright, I've pushed the --pip-args implementation to #1080 -- please go ahead and test it!


QUESTION: Advanced intersection type

Hi, we are preparing typings fro the amazing semantic-ui-react project.
One of the properties of the library is the possibility to define how the element will be rendered.
For example:
<Button>Text</Button>

is rendered as
<button class="ui button">Text</button>

But, if I want to make a link button I can do (note the as param)
<Button as="a" href="/">Text</Button>

is rendered as
<a class="ui button" href="/">Text</button>

Now, the problem is, that I do not know how to merge the typings based on the property specified in the "as" element.
What we have is this:
interface ButtonProps {
...
}

interface ButtonStatic extends React.StatelessComponent<IButtonProps> {
}

export const Button: ButtonStatic;

The idea is do do following, but the T needs to come from attribute "as":
interface ButtonStatic<T> extends React.StatelessComponent<IButtonProps & T> {
}

export const Button: ButtonStatic;

I pretty much know it won't be possible this way, but do you have any idea on how can I tell the element that it needs to merge props with another interface?
Thanks

I believe you can accomplish this, but I don't know enough react to get it working. Basically, you want to use intersection and union types in a manner like
type AsProps = { as: 'a' } & typeof React.DOM.a | { as: 'input' } & typeof React.DOM.input;

Again I don't know react, but this should be possible. It is possible for arbitrary functions.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Update documentation

There is no documentation on what is in the timing file that was recently decoded.
The readme is also out of date about some recent work.
I also need to add the IRC channel, and eventually Patreon link.
Anything else?

A quick demo of how to use this project would be nice. I'm on macOS so it's impossible to install the GoWin IDE as the current README instructs, but ideally this project should enables a cross-platform toolchain for GoWin FPGAs, just like Project IceStorm does for ICE40?

Right, we are now generating the bitstream in a Github action, and building a Docker image to do so. So you could either download the generated file, which would let you use the toolchain, but not really contribute. Or you can install the Docker image and generate your own chipdb and contribute changes. Thanks for the reminder, I will add this to the updated readme.

You mean I can contribute by just running a Docker image on my MacBook? That's cool. Will contribute some computational power when the instructions on how to contribute with Docker is ready :P

Okay, I updated stuff a bit. No doubt there will be more to update in the future.


CountByField support

example:
query.CountByField(&User{}, "distinct user_id")

done :)

@u007 can you please rebase this with master? There are a lot of conflicts. Thanks.

Other than that this looks good to go!

Hi Markbates,
it states: This branch has no conflicts with the base branch
ive done a pull from your master branch, but no changes. i've already did this before making a pull request. Did i miss anything?

@u007 it will let me do a merge commit, not a rebase. no matter, the merge will be fine. thanks.

okay, i think i need to do a fresh fork of your master in the future


How to get the text object from the mPhotoEditor object? My use case is to add transition effect to the text in order to create a slidehsow.

Hi.
Want to create a slideshow app. Can i add transition effects to the text entered by the user while editing image?

You cannot access the TextView views for now. Can you describe slideshow use case for photo editing?


24.0.3 is ignoring statement delimiter for for certain commands in Snowflake queries.

Description
As of yesterday, my DBeaver Community (v 24.0.3) is ignoring statement delimiters.  Trying to run any multi-statement query against Snowflake results in:
SQL Error [8] [0A000]: Actual statement count 3 did not match the desired statement count 1.
  Actual statement count 3 did not match the desired statement count 1.

In preferences, the statement delimited is set correct.  I also tried restore defaults and removing it and resetting it but to no avail.
I found that simple statements like:
select 1;
select 2;

will run as multiple statements but my code usually starts with statements such as:
use role abc_admin;
use database abc_db;
use schema common;

And this will generate the error.  It seems that "use" statements are not liked now.
I presume this is a 24.0.3 bug as that updated yesterday.

sele
DBeaver Version
DBeaver Community Edition 24.0.3
Operating System
MacOS 14.4.1
Database and driver
Database: Snowflake
Driver: snowflake-jdbc-3.14.5.jar
Steps to reproduce

Connect to Snowflake
Open a SQL statement that begins multiple lines of "use" for example:
use role abc_admin;
use database abc_db;
use schema public;
Click on Execute SQL Script icon.

Additional context
No response

I downgraded from 24.0.3 to 24.0.2 and multi-statement execution is working again.

Thank you for bug report
You could try switching Blank line is statement delimiter setting to Always

I am having a similar/same problem but with Ubuntu 22.04 LTS and mariadb  Ver 15.1 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64).  Since upgrading from dbeaver-ce 24.02 to 24.03, I am unable to execute the LOAD DATA LOCAL INFILE command and I am unable to execute a stored procedure.
The LOAD DATA LOCAL INFILE generates the following error message:
org.jkiss.dbeaver.model
Error
Tue Apr 23 13:44:05 PDT 2024
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LOAD DATA LOCAL INFILE

java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LOAD DATA LOCAL INFILE
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1683)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1545)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1508)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:256)
	at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:357)
	at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:501)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:330)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:131)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeStatement(SQLQueryJob.java:614)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.lambda$2(SQLQueryJob.java:505)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:194)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:524)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.run(SQLQueryJob.java:239)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:115)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

The stored procedure generates the following error message:
org.jkiss.dbeaver.model
Error
Tue Apr 23 13:55:19 PDT 2024
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DELIMITER |
BEGIN NOT ATOMIC
java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DELIMITER |

BEGIN NOT ATOMIC

	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1683)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1545)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1508)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:256)
	at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:357)
	at org.mariadb.jdbc.MariaDbStatement.execute(MariaDbStatement.java:501)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:330)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:131)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeStatement(SQLQueryJob.java:614)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.lambda$2(SQLQueryJob.java:505)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:194)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:524)
	at org.jkiss.dbeaver.ui.editors.sql.execute.SQLQueryJob.run(SQLQueryJob.java:239)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:115)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

I have been able to run both the LOAD statement and the stored procedure for months without any problems.  The above errors did not occur until I upgraded today from DBeaver-CE 24.02 to 24.03.  I have since downgraded to 24.02 and all is well again.
As shown above, the problem appears to be with the plugin org.jkiss.dbeaver.model.

Same (using MySQL). Very annoying - I now have to make a text selection before executing.

Thank you for bug report You could try switching Blank line is statement delimiter setting to Always

I reinstalled 24.0.3 and tried again.  Again it failed with the error when Blank line is statement delimiter was set to Smart.
Changing this setting to "Alway" and testing again resolved the issue.
Thank you for your suggestion.  I am able to use 24.0.3 again.
It would seem that there is a bug in the Smart logic for Blank line is statement delimiter.

I had the same issue with SQL Server / Sybase connections and I needed to change the statement delimiter to 'go' and blank line is statement delimiter to 'Always' in order to 24.0.3 to work. Will this be resolved in a new release or is this the way it will be working from now onwards? Or do I need to file a bug for T-SQL based connections?

Same issue here with Oracle DDL statements of this format:
create table MYTAB (
     ID                                NUMBER(16)     Not Null
	,ATTR2              NUMBER(3)      Not Null
	,CONSTRAINT MYTAB_PK PRIMARY KEY (ID) USING INDEX TABLESPACE TABSPACE1
    ,CONSTRAINT MYTAB_UQ UNIQUE (ATTR2) USING INDEX TABLESPACE TABSPACE1
    ,CONSTRAINT MTM_DOUBLE_LEVY_TRCOMPL_FK_TC FOREIGN Key (ATTR2) REFERENCES OTHERTAB (VALUE)
)
pctfree 0 storage (initial 5m next 5m pctincrease 0) tablespace TABSPACE1 logging;

comment on table  MYTAB  is 'Table description';
comment on column MYTAB.ID                   is 'primary key';
comment on column MYTAB.ATTR2 is 'some other key';

In 24.0.2 it works just fine.

The fix will be included in DBeaver 24.0.4.
Also you can try Early Access version with fix https://dbeaver.io/files/ea/ now.

After uninstalling DBeaver 24.0.3, installing 24.0.2, and then accidentally upgrading to DBeaver  <IP_ADDRESS>404211624 released on April 22, 2024 and going to Windows --> Preferences --> Editors --> SQL Editor --> SQL Processing and changing Blank line is statement delimiter from Auto to Always in the Delimiters group (whew), SQL file importing and stored procedures appear to be working as they did under 24.0.2.  Also, the Statements delimiter in the Delimiters group is set to semicolon (;).  Don't know why the initial upgrade broke the file importing and execution of stored procedures.


Saving and Loading models overwrites original layer names

There is an issue that when loading weights of a model it overwrites the weight names.
Scenario:

you have a 3 models: A, B, C
model A and model B have the same architecture but are given different layer names.
model A is trained and saved

A.save_weights('A.h5')

model B loads the optmiized weights from A's training

B.load_weights('A.h5', by_name=False)

C is a different architecture but shares some of the same layers/layer-names as B
Model B saves its weights so C can soon load them

B.save_weights('B.h5')

Model C now tries to take them

C.load_weights('B.h5', by_name=True)

End Result: C gets a random initialization rather than the trained upon weights.

This can be then seen equivalently by checking the accuracy difference of just saving and reloading into the same model:
B.save_weights('B.h5')
B.load_weights('B.h5', by_name=True) ### This B is as good as random init.

[ v] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[ v] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[N/A ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ N/A] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

This was solved by loading a seperate model, and iterating through the layers and using set_weights() and get_weights() so for now I will close this, but I feel this shouldnt occur in the first place


Representation Model is poorly defined

1.2.1 Definition of terms contains a row for 'Representation Model' but the associated Definition text does not seem define or mention that term.
A possible definition already exists in point 3 of 'TOSCA Entities' in the overview.
Another might be:
The set of knowledge, held by the orchestrator, about a specific instance of a run-time service topology which has been deployed from a service template.

That sounds like a good definition. We should use it in the metamodel section of the specification.


Keep pandas version below 0.24.0

The pandas 0.24.0 version came out with some problems:
https://github.com/pandas-dev/pandas/issues/24990
https://github.com/pandas-dev/pandas/issues/24986
Because of this, featuretools v0.6.0 has set as an internal requirement that pandas version should be below 0.24.0, which now creates a conflict in MLPrimitives installation.
To fix this, pandas version can be forced to stay below until featuretools 0.6.1 is released.

Pandas v0.24.1 is out and seems to have solved at least one of the problems above.
An issue has been opened requesting to remove the restriction: https://github.com/Featuretools/featuretools/issues/406