How long will it take to get a good result?

the train.py's print is:
46739:  -4.754265308
46740:  -5.550816059
46741:  -4.253830433
46742:  -5.338192463
46743:  -4.700691700
46744:  -5.625311375
46745:  -5.753829479
46746:  -5.032420158
......
which value when the second number equals, the chenkpoint is useable?

I don't know your batch size. My suggest is that you should run at least 100 epochs.

Training 100 epochs make your model be able to generate reasonable voice. But for channel size 512 version, you need more than 500 epochs to get high quality voice.

I fine-tuned the released LJ speech model on a Mandarin dataset. I used a Titan V with fp16 and a batch size of 8. It only took a few hours for the model to produce good quality speech in Mandarin.

@lingjzhu can you share a few samples?

@rafaelvalle Sure. I do not have access to those audios but I will share them next week.

@rafaelvalle
Hi. Here are some samples. They sound really good. Thanks for your great work!
Trained for one day.
46k.zip
Trained for three days.
150k.zip
With tacotron2.
tacotron2_and_waveglow.zip

These sound pretty good! Do you have an Tacotron2 implementation for mandarin that you can share with our community?

Yes. Actually I made use of your Tacotron2 repo in implementing the Mandarin model (thanks again!) but it is still on experimenting stage. I will share the code and all the pre-trained models in a few months.

Closing due to inactivity.

Yes. Actually I made use of your Tacotron2 repo in implementing the Mandarin model (thanks again!) but it is still on experimenting stage. I will share the code and all the pre-trained models in a few months.

Hi, I train an single-speaker open-sourced mandarin data-set for speech synthesis from scratch, total duration is about 12 hours. The data config as follow,
data_config:
"segment_length": 16000,
"sampling_rate": 16000,
"filter_length": 743,
"hop_length": 185,
"win_length": 743,
"mel_fmin": 0.0,
"mel_fmax": 8000.0
and the model config as follows,
"n_mel_channels": 80,
"n_flows": 12,
"n_group": 8,
"n_early_every": 4,
"n_early_size": 2,
"WN_config":
"n_layers": 8,
"n_channels": 256,
"kernel_size": 3
the loss curve show pretty good,

but when I do inference [call the inference.py], even feed the speech from the train data, the generated audio pretty bad, and sounds like white noise. SIGMA value is set 1 for training, and when inference, I do not change it.

I've solved it ^_^

@shawnthu how did you solve it?

@shawnthu how did you solve your issue?

@rafaelvalle
Hi. Here are some samples. They sound really good. Thanks for your great work!
Trained for one day.
46k.zip
Trained for three days.
150k.zip
With tacotron2.
tacotron2_and_waveglow.zip

@lingjzhu For these examples - did you train your your mandarin model with tacotron2 from scratch (using Nvidia-tacotron2?) Or did you fine-tune it with the pertained LJSpeech Taco2 model? If it is from scratch what are some of the training specs? (e.g. number of iters you did before it converged).

@ricktjwong I trained the Mandarin model with the pretrained LJSpeech Taco2 model, which greatly speeds up the convergence. Those samples were produced by a model after a few thousand iterations. The attention plot became diagonal within a thousand iterations.
You can find training details, code, pre-trained models and demos in this repo: https://github.com/lingjzhu/probing-TTS-models

In fact, I recently finished two projects about Mandarin TTS:

Single speaker TTS
Produce quite high-quality speech from Chinese input
link 1: https://pan.baidu.com/link/zhihu/7YhFzeueh1i3Yx4EVzXzJpp0cvZ2MWSQUsJk==
link 2: https://pan.baidu.com/link/zhihu/7FhEzTuehEiVcrFXxkVwZrVUYsX15mQQUyB3==
zhihu: https://www.zhihu.com/people/huang-xu-34
Voice clone
Only provided no more than 30 seconds audios of target speaker, we can synthesis natural and similar speech from any input Chinese text

@lingjzhu Thanks for that appreciate the reply!
@shawnthu Those samples sound good. What's your procedure to create the two voices in the link? Do you have details on the voice cloning too? Thanks!

I trained waveglow from scratch on a Hindi Dataset for 30K iterations and loss seemed to converge at -5.5~-6.0. But after inferencing, I can listen to the words and everything, but its just not the voice of my speaker. During Inference sigma = 0.6https://drive.google.com/file/d/1DfUyef6XH8HEF-bJPddoLBs2vZnPZ3FA/view?usp=sharing

Please let me know, if this is premature stopping or sigma value which is causing these outputs

@ricktjwong Sorry for the details cuz it's commercial.

@ricktjwong Sorry for the details cuz it's commercial.

I am just asking you to listen to my sample and tell me whether I need to train more or change sigma value

@AnkurDebnath35 I'm sorry, I can not open your link cuz blocked.
@lingjzhu In fact, training tacotron from scratch also work, and it seems does not take too much training time for me. Of course, with warm start, It can significantly speed up training.

Let me know if you can access it now
https://soundcloud.com/ankur-debnath-9482155/md01-002wav_synthesis-wav

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important.

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

@cjerry1243 @deepseek Have u ever tried the default config?

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

In your opinion, should I stop or train further?
It has just trained upto 4K iterations by now, and loss is hovering near -6.7.
The audio @ 2K iterations was close to the ground truth though, but a certain noise is there in the background, thats it.

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

In your opinion, should I stop or train further?
It has just trained upto 4K iterations by now, and loss is hovering near -6.7.
The audio @ 2K iterations was close to the ground truth though, but a certain noise is there in the background, thats it.

I think that if fine-tuning the model can reach ur goal, it's no need to train from scratch. So I suggest that you only need fine-tune the model with a small learning rate for a few thousand iterations.

E

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

In your opinion, should I stop or train further?
It has just trained upto 4K iterations by now, and loss is hovering near -6.7.
The audio @ 2K iterations was close to the ground truth though, but a certain noise is there in the background, thats it.

I think that if fine-tuning the model can reach ur goal, it's no need to train from scratch. So I suggest that you only need fine-tune the model with a small learning rate for a few thousand iterations.

Exactly! it is already under training now, I will wait upto 10K iterations may be or stop whenever results seems satisfactory. Thanks a lot @shawnthu

E

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

In your opinion, should I stop or train further?
It has just trained upto 4K iterations by now, and loss is hovering near -6.7.
The audio @ 2K iterations was close to the ground truth though, but a certain noise is there in the background, thats it.

I think that if fine-tuning the model can reach ur goal, it's no need to train from scratch. So I suggest that you only need fine-tune the model with a small learning rate for a few thousand iterations.

Exactly! it is already under training now, I will wait upto 10K iterations may be or stop whenever results seems satisfactory. Thanks a lot @shawnthu

My pleasure

E

@AnkurDebnath35 Yes, I heard it. It's quite bad. Is the input mel spectrogram? Or from tactron output? I think u should not change the default parameters, and try train again. For example, the default sampling rate, hop length, window length are important. You'd better do not change them. Good luck!

Everything is at default and in compliance with my audio, and yes the input is mel spectrograms of my test set using mel2samp.py , and not from tacotron output, I am training the waveglow first. Do you think it is under-trained or could be a normalization issue?

Would you please show you loss curve here?

Sorry, I only have the curve upto 18K iterations only

And to my surprise, the last sample that I got, I trained the model from scratch and even at 30K iterations, the result was poor. But last night I warm started the model, and just look at the same sample at just 2K iterations :
https://soundcloud.com/ankur-debnath-9482155/md01-002wav-synthesis

It just proved that the pretrained model is quite helpful. After all, the pretrained model is trained with large data, so it generalize well.

In your opinion, should I stop or train further?
It has just trained upto 4K iterations by now, and loss is hovering near -6.7.
The audio @ 2K iterations was close to the ground truth though, but a certain noise is there in the background, thats it.

I think that if fine-tuning the model can reach ur goal, it's no need to train from scratch. So I suggest that you only need fine-tune the model with a small learning rate for a few thousand iterations.

Exactly! it is already under training now, I will wait upto 10K iterations may be or stop whenever results seems satisfactory. Thanks a lot @shawnthu

Here is the training loss at around 9K iterations, not much improvement though in terms of audio quality from what it was at 2K iterations. Should I stop? Because everyone here seems to train upto 50-60K iterations or even more.

too many iterations may hurt the model, cuz it may overfit. I think you should do evaluation on dev set, rather than only watch the training loss.

@AnkurDebnath35

too many iterations may hurt the model, cuz it may overfit. I think you should do evaluation on dev set, rather than only watch the training loss.

Yea, but all the samples are unseen examples for the model, so it has not overfitted yet but surely can. Though I have a validation set with myself, I just can't find any code in this repo for validation. Can you point me out?

too many iterations may hurt the model, cuz it may overfit. I think you should do evaluation on dev set, rather than only watch the training loss.

Yea, but all the samples are unseen examples for the model, so it has not overfitted yet but surely can. Though I have a validation set with myself, I just can't find any code in this repo for validation. Can you point me out?

A simple way: split raw dataset into train and dev, then calculate the loss on dev after every epoch.

too many iterations may hurt the model, cuz it may overfit. I think you should do evaluation on dev set, rather than only watch the training loss.

Yea, but all the samples are unseen examples for the model, so it has not overfitted yet but surely can. Though I have a validation set with myself, I just can't find any code in this repo for validation. Can you point me out?

A simple way: split raw dataset into train and dev, then calculate the loss on dev after every epoch.

That I already have with me, its just that where to modify in train.py, to accomodate val_loss.

Can someone help me ? , I want to cite this repository in my paper,  but I dont know whom to cite it against.

@AnkurDebnath35 just cite our paper. and please next time do not ask questions that are not related to the thread.
@inproceedings{prenger2019waveglow,
title={Waveglow: A flow-based generative network for speech synthesis},
author={Prenger, Ryan and Valle, Rafael and Catanzaro, Bryan},
booktitle={ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={3617--3621},
year={2019},
organization={IEEE}
}


v1.29 deprecated apis validation

Related Issue(s)

Description
This PR adds validation and testing for deprecated apis in kubernetes v1.29

Checklist

[x] I have read the policy contribution guidelines.
[x] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.

My pleasure!


Add default option to download the small sized Open Bandit Dataset with the dataset module

Overview
In the current version, we have to clone the repository to use the example obd data.
It is awkward and, in this PR, I want to add a default option to download the small sized Open Bandit Dataset to the dataset module as follows.
Before
We have to first clone the repository and then specify the correct data_path to use the example obd.

After
We do not have to specify a particular data_path to use the example obd because it is now contained in the dataset module.

ref: https://github.com/st-tech/zr-obp/blob/add-obd-dl-option/examples/quickstart/obd.ipynb
Review points

obp/dataset/real
https://github.com/st-tech/zr-obp/blob/406eb832bac34a51037a343c1d81ac8b4d72a673/obp/dataset/real.py#L50-L71

examples/obd

examples/quickstart/obd.ipynb

@nmasahiro Can you review this PR?

@usaito Sure! I leave some minor comments.

[imo]
When using a small sample, I think it's better to show a message that makes it clear that users are using small data.
What do you think?

[nits] Can you execute a black command?
I found some inconsistency in my local laptop when executing black command.

@nmasahiro
Thank you for the review!
I incorporated all your comments and appreciate your re-check!


Create stylish component for number input

After this PR is merged:
https://github.com/mesosphere/marathon-ui/pull/521
we should get back to the design of the number input to match the mockups as mentioned in https://github.com/mesosphere/marathon-ui/pull/521#issuecomment-170485233

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3026. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3026. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


fix bug and add comment

Codecov Report

Merging #55 (7ce5c31) into master (cf0fdb5) will decrease coverage by 0.14%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   95.74%   95.59%   -0.15%
==========================================
  Files           7        7
  Lines         611      613       +2
==========================================
+ Hits          585      586       +1
- Misses         26       27       +1

Impacted Files
Coverage Δ

lib/arc_config.js
100.00% <ø> (ø)

lib/config.js
87.80% <ø> (ø)

lib/helper.js
97.29% <ø> (ø)

lib/parser.js
95.89% <50.00%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf0fdb5...7ce5c31. Read the comment docs.


Not all posts showing up (most recent ones missing)

I have a blog with posts that are sorted into certain categories. I also have a home page with all blog posts. I am attempting to paginate just the home page at first. Everything is working in terms of splitting up the posts and navigating between pages.
However, the two most recents posts are missing. One has today's date and the other has a date from last week. There is another post from last week (the same date) that is still showing up.
When I set debug to true, here is the output:
        Pagination: Page: index.md
        Pagination:  Active configuration
        Pagination:   Enabled:          true
        Pagination:   Items per page:   8
        Pagination:   Permalink:        /page:num/
        Pagination:   Title:            :title - page :num of :max
        Pagination:   Limit:            0
        Pagination:   Sort by:          date
        Pagination:   Sort reverse:     true
        Pagination:  Active Filters
        Pagination:   Collection:       posts
        Pagination:   Offset:           2
        Pagination:   Category:         [Not set]
        Pagination:   Tag:              [Not set]
        Pagination:   Locale:           [Not set]
        Pagination:  Filtering by: Category   23 => 23
        Pagination:  Filtering by: Tag        23 => 23
        Pagination:  Filtering by: Locale     23 => 23
        Pagination: Rolling through the date fields for all documents

So it looks like all 23 posts are being found. But only 21 are actually showing up. Other posts from the same category as those two posts are still showing up. Could it potentially be an issue with the date of the post? Any guidance would be greatly appreciated.

Just realized that the offset was set to 2... Removing that setting made it work. Sorry about that.


Can we have a wallpaper app that utilizes all the extracted URLs ?

Heck, I'll make an iOS one. I need someone to join me for an Android version.

Let's wait for a while and see how quickly they identify this vulnerability and fix it.

https://nor0x.github.io/OpenPanels/

Just discovered the true age of these wallpapers (if this is not some sort of a bug)


Speed up typing lag

Description
Simple change to move injected Theme and Style tab <style> blocks into the BrewRenderer iFrame <head> instead of a <div> inside the document. For whatever reason, this seems to drastically reduce the total time spent "Recalculating Styles", which occurs every time the brewRenderer pages are output.
Before:

After:

Related Issues or Discussions
#3830 (Though this focuses on typing lag, not scrolling lag, they both suffer from the same long render step)
QA Instructions
Take a large brew in the Edit Page and compare lag during typing in the text editor on this branch and on live HB. Example from Reddit: homebrewery.naturalcrit.com/share/NJBuzODSboxi
Confirm Style tab and Theme selection still update live and work as expected.

I see no improvements here, for my large testing brew. typing a single character, either in the code or style tab take like ~2seconds

@lucastucious Can you link the brew you are testing?

Yes :
https://homebrewery.naturalcrit.com/share/9uehfG5Znnm2 -> editor and css
https://homebrewery.naturalcrit.com/share/9uehfG5Znnm2 -> editor is laggy but manageable, but css is slow

Superceded by #3834


Cannot use Array.includes() in base/platform?

What is the reasoning behind not allowing Array.includes via the Monaco standalone editor checks? It seems to be valid ES6 when I look at where it is defined:
https://github.com/microsoft/vscode/blob/4855013f5e971b94ffd4a6816446c717c82ff29a/node_modules/typescript/lib/lib.es2016.array.include.d.ts#L27

idk - requires at least edge 14, unsure what our edge minimum version is: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes#Browser_compatibility

Looking at the compat tables, I think it should be safe to use it. I guess it must have been a left-over from the IE era. I don't remember adding any rule like this, so I don't know where to begin looking to remove it.
Leaving it to you @jrieken .

@jrieken @alexdima I opened https://github.com/microsoft/vscode/pull/105404 to do this and it has the advantage that we can get rid of another d.ts file in our typings folder which actually even seems to have the wrong signature compared to TS.
According to caniuse.com, Edge 13 has very low usages and Edge 14 is out since 2016:

we can get rid of another d.ts file in our typings folder (lib.array-ext.d.ts) which actually even seems to have the wrong signature compared to TS.

Unsure how Array#includes and lib.array-ext.d.ts are connected. Or is this two clean-ups in one? I have added the latter because for the longest time there was a TS bug which would remove type info from arrays after checking isArray E.g
let a: number[] | undefined;
if(Array.isArray(a)) {
  a[0] // infered as any, not number...
}

If that's now fixed, I am very happy with removing array-ext

@jrieken ah good to know, I just checked both in our code and the playground and I see that this no longer seems to be the case:

I will go ahead and merge my PR then.

🚢 it


perl538Packages.WWWCurl: fix build

Description of changes
Little fix for the WWWCurl package. The code looking for curl constants in Makefile.PL has become incompatible with the current version of curl. The macport project has a patch fixing this.
ZHF: #265948

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thx! Waiting for staging-next to be merged before reviewing, as 0576122f6d2f327417a088ed02578960bf884124 is it that branch

I think this got patched by 0576122f6d2f327417a088ed02578960bf884124, closing for now.


locals refractoring

Localization files have been moved to the src/ directory
The structure of localization files (ru, en) has been changed.

Issue: #4

Need to work on the information component of the Pull Requests being created.
@miliantr


networking code soak tests

I want to have some continuous code running between long running peers to suss out any problems that might come up with maintaining a solid connection over long periods of time/gameplay/simulation

I'm going to start with memory related soak tests to ensure all the memory leaks are resolved.


make sure Fastly is removed from marketing and docs

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1744
Originally created by @dmor on 2020-02-14 17:25:06

Tap Fastly has been removed from the UI, let's make sure it is removed from everywhere else

View 6 previous comments from the original issue on GitLab


data-srcset remaining as data-srcset when visible

Hi ! First i would like to thank you for Lozad. So powerful and such a small size. I love it.
Nonetheless after two months using and placing like 500 responsive images in my site, I just realized I must be doing something wrong or there is an issue when using "data-srcset". The "data-src" is loaded as "src" when visible, but the data-srcset remains always "data-srcset" then the browsers are only loading the image that I place in "data-src" and ignoring all the responsive images inside "data-srcset".
I first realized this when checking a performance test (yellowlab tools reported same weight for mobile and desktop in an image that I thought was below the fold, and then I realized my issue, it should have loaded different images for mobile, tablet and desktop). Then I checked on Safari, Chrome, Firefox and when disabling cache always only one image is shown.
 I did a couple of codepen with my code.
Example using picture tag https://codepen.io/tokyoweb/pen/MPVVbK working as expected.
Example using data-srcset https://codepen.io/tokyoweb/pen/WazZLP which is the code I use in like 500 images in my site :(
No matter what I do, the responsive images inside "data-srcset" remain like that, because I think I must be doing some error and "data-srcset" doesn't change to "srcset" when visible as it does happen with "data-src" that become "src" when visible.
Thanks and I am sure it must be me doing something wrong.
<img class="lozad" data-src="image-w250.jpg"  data-srcset="image-w446.jpg 446w, image-w606.jpg 606w, image-w700.jpg 700w" />

Please find the comments inline.

Hi ! First i would like to thank you for Lozad. So powerful and such a small size. I love it.

Thanks for the kind words.

The "data-src" is loaded as "src" when visible, but the data-srcset remains always "data-srcset" then the browsers are only loading the image that I place in "data-src" and ignoring all the responsive images inside "data-srcset".

As per the codepen implementation, it should have worked, I'll be checking the codebase once, not really sure if it's related to #99 (for which I have an open PR waiting to be reviewed and merged #116 )

@TokyoWeb just found that you've overwritten load function which seems to be copied from our demo page
// Initialize library to lazy load images
var observer = lozad('.lozad', {
    threshold: 0.1,
    load: function(el) {
        el.src = el.getAttribute("data-src");
        el.onload = function() {
            toastr["success"](el.localName.toUpperCase() + " " + el.getAttribute("data-index") + " lazy loaded.")
        }
    }
})

the new overridden load function definition only handles src case and not srcset or any other case that original load function handles, thus don't override load function in your actual code and you should be good to go 👍

Hi!  Thank you ApoorvSaxena so much to point my mistake. Luckily then the code for my images is fine, the mistake was with the load code.
If someone has same issue, just do as usual the data-srcset as well as the js code. I left here an example working perfectly fine. https://codepen.io/tokyoweb/pen/qLdgMJ   Just reload the page / browser window at less than 450px, then 620px and over 750px width to see how new image from data-srcset as being loaded according to web page width.

@TokyoWeb
You need to add el.srcset = el.dataset.srcset; after el.src = el.dataset.src; in your custom load method for your fade effect to work with srcset.
Take a look at the original load method (https://github.com/ApoorvSaxena/lozad.js/blob/master/src/lozad.js) if you need to see how it handles all the different image attribute cases.


Nested Material Widgets

Hey,
Great job on the tutorial and content. I have a quick question on the usage of Material and Scaffold widget. Why can't we replace Material with Scaffold instead of adding Scaffold to every screen?
After all Scaffold is an instance of Material Widget.

I got the answer from the following article:
https://medium.com/flutter/getting-to-the-bottom-of-navigation-in-flutter-b3e440b9386


Make it Spotless!

Description

Basically code style enforcement and formatting
Sadly I have not found a way to enforce bracers on if, whole for etc statements
Checklist
The following items should be checked before the pull request can be merged.

[x] Code follows existing style.
[x] Unit tests added (if applicable).

Did you read any of these changes? Most of them either make the code hard to read or don't adhere to our standards. We have a very strict .editorconfig file with our code style, although it only works in IntelliJ, and it looks like you're using Eclipse. We make code-style PRs very infrequently since we try to catch these issues during reviews, and since they're usually a waste of time for everyone involved, especially when they're done wrong.

I would not dismiss this PR compleatly, I found it hard to fully match a formatter to ur codestyle.
There are also a few things that are just a bit strage, this repo has some unused imports, and is some places spaces insted of tabs.
Let me tweak the first commit a bit more, maybe we can make it so that the it matches the style better, or just checks for some basic stuff, like unused imports.

Hey @nicolube can you reopen a Pull request with these changes so we can properly evaluate them

@thelooter Almost all changes are just syntax changes, I got the changes to be less by tweaking the eclipse config file, but it is not enough to not change a lot.

Also I'm not allwoed to reopen...


Slow core tests for LTS after merging "Add post LLVM SLPVectorizer pass"

Starting from PR #1663 it takes more than 1 hour to run core tests with LTS driver:
https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/10032891721/job/27725256935
Before that PR, the average time for core tests was < 20 minutes:
https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/10042555535/job/27753279658

CC @victor-eds, @whitneywhtsang.


interceptor and mock ftl file creation

Hi, I'm Aiden from South Korea.
We are using keycloak and keycloakify for a new login page this time.
I appreciate for the time and effort for this project.

filter
I want to use only the login.ftl file,
is there anyway that if users try to go to other pages, systems forward to the only login.ftl?

mock ftl file
Through keycloakify, we modify tsx codes to generate ftl file for keycloak.
Can I just make someting.ftl file directly and export it to the dist_keycloak path?

Hello, thanks for the kinds words,

is there anyway that if users try to go to other pages, systems forward to the only login.ftl?

Yes you can but you probably don't want to.
Please provide a more detailed descriptioin of what user experience you're trying to acheive and I'll try steer you in the right direction.

Can I just make someting.ftl file directly and export it to the dist_keycloak path?

Again, yes, Keycloakify will let you generate a someting.ftl file.

https://docs.keycloakify.dev/limitations
But you probably don't want to do that. You'd have to write some Java plugin for Keycloak so it can use the the something.ftl file generated.
If I where you I'd take a few hours experimenting with the starter project. Understands how things works, you'll get a better idea of how to acheive your goals.
Feel free to join our discord for aditional support https://discord.gg/kYFZG7fQmn but it's always better to keep the dicution public.
Best


Arma: Cold War Assault - Undetected

SteamDB link to the game
https://steamdb.info/app/65790/
What should it be detected as?
Engine.RealVirtuality

might be fixed by looking for .pbo files instead of .bisign but i didn't check every games


User /dev/urandom as random number input for rngd

As /dev/hwrng may not exist in some environments.
Of course, this is a really bad idea, since I am simple filling the kernel entropy pool with entropy coming from the kernel itself!
But this does not need to consider the user's hw rngd drivers.

https://github.com/rancher/os/issues/2473


Updating QDK version to 0.11.2003.3107

Updated and tested the Katas with the latest QDK release (0.11.2003.3107).
I tested it locally (unit tests + manual tests for the Basic Gates and Grover Tutorial) and on Binder with a custom image.

CI build fails with the following errors:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      3.0.0 at [/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]

Is this related to the previously attempted (unmerged) PR https://github.com/microsoft/QuantumKatas/pull/298? Does the new QDK version require .NET Core 3.1 installed for the build to work even if the projects themselves are on 3.0?

Interesting. I’ll take a look tomorrow.

From: Mariia Mykhailova<EMAIL_ADDRESS>Sent: Tuesday, March 31, 2020 10:05:56 PM
To: microsoft/QuantumKatas<EMAIL_ADDRESS>Cc: XField<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/QuantumKatas] Updating QDK version to 0.11.2003.3107 (#315)
CI build fails with the following errors:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '3.1.0' was not found.

The following frameworks were found:
3.0.0 at [/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]

Is this related to the previously attempted (unmerged) PR #298https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FQuantumKatas%2Fpull%2F298&data=02|01||a72c165542f44e9e6eb408d7d5fa5cae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637213143575066424&sdata=Pl3CjTt1bV%2B6fTvBmtKaxnaKmdz6ED4xx15ZqA%2B8RA8%3D&reserved=0? Does the new QDK version require .NET Core 3.1 installed for the build to work even if the projects themselves are on 3.0?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FQuantumKatas%2Fpull%2F315%23issuecomment-607034620&data=02|01||a72c165542f44e9e6eb408d7d5fa5cae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637213143575066424&sdata=jeaVFU%2FhKSLr3cJA1rji3xi7xAc4DeJqkEls7nc2ePU%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAN3JLUP5NB5ZFNMUMSXLLMDRKLDTJANCNFSM4LYM54YQ&data=02|01||a72c165542f44e9e6eb408d7d5fa5cae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637213143575076419&sdata=neBNKadJF25RZTiDHFZpbUsJYKo9nCCP8zrT30CV4XQ%3D&reserved=0.

@tcNickolas, the Katas are working fine now, upgraded to latest QDK and .NET Core 3.1.
You can test it on Binder here


PHOENIX-6821: Optimize batching in auto-commit mode

This change also includes the following to make the batch functionality more consistent and confirmant to the JDBC spec:

Disallow the use of DQL in a batch by throwing BatchUpdateException.
~When addBatch is called if we already have a non-empty MutationState, then treat it as an error, i.e., prohibit mixing batch and non-batch executions.~
Replace the use of custom BatchUpdateExecution exception with the java.sql.BatchUpdateException and propagate update counts through it.

@haridsv There are still some checkstyle warnings left.

@tkhurana They are all existing lines, not sure why they are getting flagged, but I just pushed a commit with fixes.


Issue 18: replace repetitious code in snakemake module with a single scheduler

Up to this point, we had separate Snakemake workflows for each method, which resulted in repetitive code. I have replaced this with a single Runner class. As this is also related to issue #33, I have implemented changes to ensure that Snakemake working directories are unlocked.
This PR should fixes #18 and fixes #33.

[ ] Bug fix (non-breaking change that fixes an issue)
[X] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality not to work as expected)
[X] This change requires a documentation update
[ ] This is a documentation update

Action Checklist

[X] Work on a single issue/concept (if there are multiple separate issues to address, please use a separate pull request for each)
[X] Fork the pyani-plus repository under your own account (please allow write access for repository maintainers)
[X] Set up an appropriate development environment (please see CONTRIBUTING.md for this repository)
[X] Create a new branch with a short, descriptive name
[X] Work on this branch

[X] style guidelines have been followed (please see CONTRIBUTING.md for this repository)
[X] new code is commented, especially in hard-to-understand areas
[] corresponding changes to documentation have been made
[X] tests for the change have been added that demonstrate the fix or feature works

[X] Test locally with pytest-plus -v non-passing code will not be merged
[X] Rebase against origin/master
[X] Check changes with linting/formatting tools before submission (please see CONTRIBUTING.md for this repository)
[X] Commit branch
[X] Submit pull request, describing the content and intent of the pull request
[X] Request a code review
[ ] Continue the discussion at Pull requests section in the pyan-plus repository

Hi @widdowquinn,
Can you please look at this PR when you have a second? I'm happy to review it myself, but having another pair of eyes on the code would be great.
One thing to note is that I had to make small changes to the Snakemake workflows for dnadiff and fastani, as I overlooked the fact that these workflows were only accepting .fna FASTA extensions.
Also, I remember that the documentation for the workflows needs updating, but I'm working on this in a different branch at the moment.


Add initializer to ChatFunctionCall to initialize from external with properties

What
Add initializer with properties to ChatFunctionCall struct.
Why
Because ChatFunctionCall struct doesn't have initializer with its properties, it only provides from: initializer. So I need to define function call with json format and decode it by JSONDecoder if I want to use ChatFunctionCall as follows. I think it is unusual and complicated.
let functionCallJson = """
{
    "name": "add",
    "arguments": "{\\"a\\": \\"1\\", \\"b\\": \\"1\\"}"
}
"""
do {
    if let jsonData = functionCallJson.data(using: .utf8) {
        let chat = Chat(role: .assistant, content: nil, functionCall: try JSONDecoder().decode(ChatFunctionCall.self, from: jsonData))
    }
} catch {
    print(error)
}

I can initialize it more simply by implementing initializer with properties for it. So I want to add initializer with properties to ChatFunctionCall. I think it is usual flow for initializing struct.
let functionCall = ChatFunctionCall(name: "add", arguments: "{\"a\": \"1\", \"b\": \"1\"}")
let chat = Chat(role: .assistant, content: nil, functionCall: functionCall)

Affected Areas
ChatFunctionCall struct.

@ysak-y , did find a way to render the function as “.function” in the chat bubble? Currently it’s wrongly rendered as “.assistant”


[R3] Add Health Check API

* API:
    * GET /health
* Behavior:
    * 200 OK: return a simple JSON {“status”: “”OK}
* Tests:
    * Happy Path (200 OK)
* Acceptance Criteria:
    * New route test to cover the happy path case added to test_routes.py
    * Green build status, e.g. all tests pass with 95+% test coverage
    * Code rating 10/10, e.g. no non-PEP8 standard warnings or errors reported by the `make lint` command

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [action taken]
Then [outcome observed]

Hey team! Please add your planning poker estimate with Zenhub @emhao @LillisLuo @nijya @wl2484


Support new Savings Plans price

On November 6th, AWS launched Savings Plans, which offers an additional EC2 rate in addition to RI and OnDemand. It would be useful to have that available in the overview as well.
Here's the offical pricing page for Savings Plans:
https://aws.amazon.com/savingsplans/pricing/

I believe all of the compute saving plans prices line up with convertible reservations, and the EC2 Instance Saving plans line up with standard reservations.

I believe all of the compute saving plans prices line up with convertible reservations, and the EC2 Instance Saving plans line up with standard reservations.

Thanks - that piece of information is helpful!


different counts, documentation?

So there are 3 different counts:
stats.mystat
stats.timers.mystat.count
stats_counts.mystat
What the difference between all of them?  Quick look at the source code suggests the first two are "occurrences per second" and the latter is "occurrences per minute", but I'm not so well versed in Javascript or what Graphite expects to be sent.
Is that right?  Can someone update the readme to explain the differences between different counts?
Thanks.

I think the count under stats.timers (i.e. stats.timers.blah.count) is per flush interval.  So you have to divide by 10 (the default) the get per second.

From what I understand:
Statsd sends different values for these 'counts':
stats.timers.foo.count from issuing a "foo:1|ms" is the absolute count for a flushInterval
stats.foo from issuing "foo:1|c" is the rate of count / second.
stats_counts.foo from issuing "foo:1|c" is the absolute count for a flushinterval.
However the stats count values differs from the counter values when displayed on graphite.
Unlike timings. counters are constantly fed into graphite (with a 0 value if nothing happens). However graphite averages values it receives which can be a pain since it really should sum counts. Since it averages by default, a rate works fine since it would just be taking an average of an average. However how points get binned based on the storage schema at longer time ranges messes up with the absolute counts displayed by graphite.
So basically with the two values graphed you get:
stats.foo bin value = counts / second
stats_counts.foo.bin value = counts / flushInterval.

With stats.timers.foo.count what count you are measuring is slightly different since it doesn't send a 0 every flush interval. Since null values won't be used in the average you only divide by the number of timing measurements you took. So this would be
stats.timers.foo bin value = `counts / # timing measurements`.

If you constantly time every interval this will equal counts/flushInterval however that is not always the case.
tl;dr
statsd sends sums counts but graphite graphs averages
How to interpret graphite graphs:

stats.foo = counts of foo / second
stats_counts.foo = counts of foo / flushInterval
stats.timers.foo.count = counts of foo / # timing measurments in bin

This is just speculation from my usage so correct me if anything seems wrong =).

@cwu - Your comments were helpful...
Let's take the example of user logins.  I want to log every time a user logs in.  I'd like to be able to view the rate of logins/sec, as well as do aggregate rollups to see things like "how many users logged into the system, every hour, for the last 2 days".  I'm unable to do the latter, and I think it's because whisper uses an average function to aggregate data.
As a test, write a script that logs a stat every 1 second.  View the stat_count.<stat_name> in graphite.  Now apply the "Summarize" function to the data ( Apply Function -> Transform -> Summarize).  I would expect that summarizing to 1min would result in a straight line at y=60.  Instead I see a straight line at y=10.
Looks like you can configure Whisper with a different rollup function... Might be worth testing out...
http://readthedocs.org/docs/graphite/en/latest/whisper.html#rollup-aggregation

And the new version of Graphite supports this... see this issue:
https://bugs.launchpad.net/graphite/+bug/853955

Update: Here is what you need in your storage-aggregation.conf
[stats_counts]
pattern = ^stats_counts\..*
aggregationMethod = sum

Which means that everything in stats_counts will get summed when moved to larger retention periods.

@recursify great info! Thanks.


Export PartialStrykerOptions in @stryker-mutator/core

Is your feature request related to a problem? Please describe.
The documentation indicates that the configuration type is in import("@stryker-mutator/api/core").PartialStrykerOptions. In my projects, I only use the @stryker-mutator/core and @stryker-mutator/mocha-runner dependencies. ESLint's jsdoc/imports-as-dependencies rule reports this problem:
/home/regseb/testcase/stryker.conf.js
  2:1  error  import points to package which is not found in dependencies  jsdoc/imports-as-dependencies

✖ 1 problem (1 error, 0 warnings)

It's not good practice to use a transitive dependency. I could fix the problem by adding the dependency @stryker-mutator/api in my package.json. But I think it's overkill to add this dependency just to get one type.
Describe the solution you'd like
I think @stryker-mutator/core should export the types.
Additional context

package.json
{
    "name": "testcase",
    "version": "1.0.0",
    "type": "module",
    "dependencies": {
        "@stryker-mutator/core": "7.0.2",
        "eslint": "8.42.0",
        "eslint-plugin-jsdoc": "46.2.6"
    },
    "eslintConfig": {
        "plugins": ["jsdoc"],
        "parserOptions": { "sourceType": "module" },
        "env": { "es2022": true },
        "rules": { "jsdoc/imports-as-dependencies": "error" }
    }
}

stryker.conf.js
/**
 * @type {import("@stryker-mutator/api/core").PartialStrykerOptions}
 */
export default {
};

npm install
npx eslint stryker.conf.js

Duplicate of #4273. It has since been fixed and awaits our new release (hopefully next Friday).
Workaround is to use "moduleResolution": "Node16" in your tsconfig (if you can).

I don't think it's the same problem. I would like @stryker-mutator/core to export the PartialStrykerOptions type. So that I can define the following type in my stryker.conf.js:
/**
 * @type {import("@stryker-mutator/core").PartialStrykerOptions}
 */
export default {
  testRunner: "mocha",
  coverageAnalysis: "perTest",
};

Ah yes. That would be much better, actually 😅. My mistake.
Feel free to add a PR for this.


Feature/1815 display errors in conditional expression

Show/control error message for unsupported BranchQuestion

@stevenburnell-moj great stuff! just the one question


(Prio)Teacher: As a teacher I want to be able to create a question (exam).

Spela in / Ladda up video
GUI prototyp
Spara exam data i databas
Back-end / Front-end interface


Better way to handle multi site

I came across this article using haproxy to handle a multi site dev environment:
http://blog.dubizzle.com/boilerroom/2016/08/18/setting-development-environment-docker-compose/
We should be able to do something similar and have a one container per project setup.
@LarryEitel

I recall reading about that. I am all in favor of anything that will make it easier to accommodate multiple sites. :) I will review ASAP.

@tjb328 Thanks for the tip. :)

I didn't realize that issue #54 was still open. I'm closing this and adding this info to that issue.


Issue using Jsonp format

Hi,
This might be a mixing from latest upgrade - for using the JsonP formatter, the docs say:
'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat'
but that sends a string which getContentType() chokes on. More correct would seem to be:
'json' => new Dingo\Api\Http\ResponseFormat\JsonpResponseFormat
but I am finding that in hasValidCallback(), $this->request is null & so the rest chokes. Debugging some more and will let you know if I find anything else.

Sorry what do you mean when you say that getContentType is choking on the string?
You should be able to use that string in the config file to change or register the JSONP formatter.
There was an issue where exception responses were not getting the request instance set on them properly but that has since been fixed. It is yet to make it to a tagged release though.

sorry, that wasn't very precise.
When I use it as a string, like:
'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat'
I get the error:
Call to a member function getContentType() on a non-object
because Response->morph() is calling $formatter->getContentType() around line 64; it is assuming $formatter is an object, but it is coming in as the string above.
It made sense to me that it should be passed as an object like the existing json default, so trying:
'json' => new Dingo\Api\Http\ResponseFormat\JsonpResponseFormat
is throwing "Trying to get property of non-object" on JsonpResponseFormat in:
protected function hasValidCallback()
{
return $this->request->query->has($this->callbackName);
}
for some reason $this->request is null. I haven't been able to track anything yet beyond that.
Hope that's a little more helpful

I can't recreate this issue. Using the string, as mentioned in the docs, works fine for me on 0.8.2. The service provider should instantiate the object automatically when it detects it as a string so you can pass it in however you like. A string should be fine though.
Are you running the latest version (0.8.2)?

Hey Jason,
Yep, on 0.8.2. I'll spend a little time this afternoon, see what else I can figure out about it

Hi @jasonlewis,
Any update on this? Facing similar problem.
'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat'
works fine (falls back to json when callback is missing) when I am using
return $this->response->array($response);
but getting error (with and without callback) when using collection or item
return $this->response->collection($object, new ObjectTransformer, ['key' => 'object']);
Error -
{"error":true,"code":0,"message":"Trying to get property of non-object","file":"\/vendor\/dingo\/api\/src\/Http\/ResponseFormat\/JsonpResponseFormat.php","line":33}
Using 0.8.2 version.

@linpar - thanks for that fine - may help unravel it. I found a different project where ti worked fine, but wasn't spotting what I was doing differently. I'll be working on this project again next few days & will let you all know if I sort it out

ok, so first of all: Jason, don't worry about trying to sort this one. I've got so much dependency hell & older version of libs at the moment, sure there's does something in there you'd never dupe.
FIX:
If you do happen to run into the issue Limpar and I were having, solution is this:

create your own custom formatter, an exact copy of JsonpResponseFormat

$this->request is null for some reason I never determined. Do the dirty and make this change in your copy:
protected function hasValidCallback()
{
return \Input::has($this->callbackName);
//return $this->request->query->has($this->callbackName);
}
protected function getCallback()
{
return \Input::get($this->callbackName);
//return $this->request->query->get($this->callbackName);
}

in your config, set up:

'json' => new \ResponseFormat\JsonpResponseFormat
Notice we are using the object, not a string.

Check by adding ?callback=test to your url

Crude hack based on I never really figured out what was wrong, but is already ok in later versions it seems. So, Screw it :-)


AWS S3 instead of Cloudinary

Is it possible that I can use AWS S3 instead of Cloudinary?
Thanks

Yes! I'd recommend that you fork the repo and then replace strapi-provider-upload-cloudinary with strapi-provider-upload-aws-s3. You'll want to update the package.json file, and also update the production config (https://github.com/render-examples/strapi-postgres-cloudinary/blob/master/config/env/production/plugins.js) based on the instructions at https://www.npmjs.com/package/strapi-provider-upload-aws-s3.


Will JitPicker be merged into Fuzzilli in the future?

I notice that: JitPicker is already lagging far behind Fuzzilli, and last merge request have been closed.
So I wodner will JitPicker be merged into Fuzzilli in the future?

I'm not currently working on JIT-Picker, however I plan to come back to the project in May. I intend to rebase it onto the latest Fuzzilli commit and verify that it works on jsc/v8/sm. Whether the JIT-Picker changes will be merged into mainline Fuzzilli is not decided though.

I have implemted Fuzzilli_hash() in v8, and i am trying to use JitPicker fuzz v8.
I find that JitPicker report some non-reproducible differentials,  execHash is completely different than what I did manually.
Exploration mutaiton has been disbaled and I am sure it's not Fuzzilli_hash()'s problem
it seem that: Fuzz_hash() fuzzilli_hash() was passed different values in two identical programs, do you have any idea about this problem?

I did observe a similar effect in spidermonkey. The root cause of this effect is still unclear to me; I guess I'll rr trace the respective executions to figure out what's going wrong.

OK, thank you


add SG2I School

@boujemaa First stage of verification passed, official domain is sg2i.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@boujemaa This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.


WIP

@jbenet feedback

https://github.com/ipfs/blog/pull/10#issuecomment-163574032
https://github.com/ipfs/blog/pull/10#issuecomment-163578010

Action items:

[x] remove codecs blog post
[ ] add narration to the video demo
[x] verify that there is no copyright on the 'Iberia from space' image
[ ] use ipfs-update to simplify the dev0.4.0 instructions, @whyrusleeping
[ ] fix "a claim like "there is no way for the list to be compromised" is waaaaay too strong -- there could be a cryptographic break, or a problem in our protocols or implementations, how about: "This list is fetched and kept up to date through IPNS. This ensures secure distribution, as IPNS records are signed and validated with the publisher's private key.""
[ ] fix "maybe "in the part of the network you are currently in" --> "the network you are currently in" ("part of" suggests distance/network-diameter problems)"
[ ] fix " "IPFS would be able to find it through Peer and Content Routing (with a DHT)." --> "IPFS would be able to find it through its Peer and Content Routing (e.g. with a DHT).""
[ ] fix ""Through cryptographic hashing -- the IPFS strategy to find, deliver and check that the content it received was what was requested -- you can always be sure that what you are running was what you were looking for." this line implies that "cryptographic hashing" is a strategy for finding and delivering content. it is not, we use "cryptographic hashing" as part of the strategy. how about: "Just like git, IPFS verifies the content received using cryptographic hashing, making sure it is exactly what was requested -- you can always be sure that what you are running is what you asked for.""

Not copyrighted
http://earthobservatory.nasa.gov/IOTD/view.php?id=76777

The International Space Station Program supports the laboratory as part of the ISS National Lab to help astronauts take pictures of Earth that will be of the greatest value to scientists and the public, and to make those images freely available on the Internet

I will add narration to the video when I get back home later today and there is silence (sad I can't use my mic cause I didn't brought it with me)

re image -- ok http://earthobservatory.nasa.gov/ImageUse/

:+1: thanks @diasdavid

I've added narration https://vimeo.com/147968322 (using the same URL, because vimeo is awesome! )

@diasdavid great narration!! in the very end, we kinda lose the point, i think we need to build up the moment of truth, and tell the user what they're seeing. Could you add a couple of narration sentences?
maybe:

at 1:20 "now, let's try to install a module, disconnected from the internet"
at 1:24 "I'll physically unplug my uplink, to shut off access to the internet. You can see the ping stops"
at 1:36 "now, the moment of truth: let's install the module while offline" (could have a drumroll in the background :D)
at 1:48 [excited!] "that's it! we got the module from the other computer in our local network! I hope you enjoyed this demo ... (etc)" (ok if you talk past the end, just freeze the screen)


feat:  updated avatar display image

Hey , Sorry added the lock.json as well by mistake . Was not able to remove it after commit :(

https://www.nhcarrigan.com/notes/#/git-commands/rebase-branch
You can perform a rebase 🙂

Okay So, Let me close this PR.


Bicep extension on ARN (MAC m2)

Does this occur consistently?
Repro steps:

I use the following devcontainter.json:

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
	"name": "Python 3",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	// "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
	"dockerFile": "Dockerfile",
	"features": {
		"ghcr.io/devcontainers/features/azure-cli:1": {},
		"ghcr.io/azure/azure-dev/azd:0.1.0": {},
		"ghcr.io/devcontainers/features/docker-in-docker:2": {},
		"ghcr.io/devcontainers/features/node": {}
		},

	// Features to add to the dev container. More info: https://containers.dev/features.
	// "features": {},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	"forwardPorts": [7071,9091,3000],

	// Configure tool-specific properties.
	"customizations": {
		"vscode": {
			// Add the IDs of extensions you want installed when the container is created.
			"extensions": [
				"ms-python.python",
				"ms-python.vscode-pylance",
				"charliermarsh.ruff",
				"ms-azuretools.vscode-docker",
				"ms-azuretools.vscode-bicep",
				"azurite.azurite",
				"ms-azuretools.vscode-azurefunctions"

			],
		// Add devcontainer-specific settings.json values here, such as:
		"settings": {
			"python.defaultInterpreterPath": "/usr/local/bin/python",
			"python.linting.enabled": true,
			"python.testing.unittestEnabled": false,
			"python.testing.pytestEnabled": true,
			"[python]": {
				"editor.formatOnSave": true,
				"editor.codeActionsOnSave": {
					"source.fixAll": true
				}
			},
			"python.formatting.provider": "black"

		}
	}
},
	// Use 'postCreateCommand' to run commands after the container is created.
	"postCreateCommand": "python3 -m pip install -r requirements.txt && npm install -g azure-functions-core-tools@4 --unsafe-perm true && npm install -g azurite"

	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
	// "remoteUser": "root"
}

Open any bicep file, and it crashes

Action: bicep.lsp-error
Error type: Error
Error Message: Connection closed
Version: 0.24.24
OS: linux
OS Release: 6.1.57-0-virt
Product: Visual Studio Code
Product Version: 1.85.1
Language: en

Call Stack
callback client.ts:270:17
callWithTelemetryAndErrorHandlingSync @microsoft/callWithTelemetryAndErrorHandling.js:68:16
Object.closed client.ts:264:7
LanguageClient.handleConnectionClosed vscode-languageclient/client.js:1164:72
LanguageClient.handleConnectionClosed vscode-languageclient/main.js:180:22
apply vscode-languageclient/client.js:1142:18
CallbackList.call [as invoke] vscode-jsonrpc/events.js:55:39
Emitter.fire vscode-jsonrpc/events.js:117:36
apply vscode-jsonrpc/connection.js:314:26
CallbackList.call [as invoke] vscode-jsonrpc/events.js:55:39
Emitter.fire vscode-jsonrpc/events.js:117:36
SocketMessageWriter.fireClose vscode-jsonrpc/messageWriter.js:42:27
Socket.<anonymous> vscode-jsonrpc/messageWriter.js:74:42

My docker version says: Docker version 24.0.5, build ced0996
Is this good?

@anthony-c-martin I read #10245 :
I do not user Docker Desktop, I use Rancher Desktop.
I Rancher Desktop, if you go to Settings->Virtual Machine->Emulation there are 2 options:

QEMU
VZ (Use the Apple Virtualization framework)

It was in QEMU, now I changed to VZ. (They suggest something like that for Docker)
Just as comment, is easily 5 times faster, but still, the moment I clicked a BICEP fail still crash.
Any ideas?
Cheers!

In the Process monitor now I see a process called "virtual machine Service for limactl.ventura"
I mention this because in #10245 , lima is mentioned many times.

The log is:
2024-01-12T19:14:42.177Z info: Current log level: debug.
2024-01-12T19:14:42.185Z info: Acquiring dotnet runtime...
2024-01-12T19:15:48.497Z debug: Found dotnet command at '/home/vscode/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.15~x64/dotnet'.
2024-01-12T19:15:48.498Z info: Launching Bicep language service...
2024-01-12T19:15:48.498Z debug: Found language server at '/home/vscode/.vscode-server/extensions/ms-azuretools.vscode-bicep-0.24.24/bicepLanguageServer/Bicep.LangServer.dll'.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex3_Scan(RegexRunner, ReadOnlySpan`1)
7:15:49 PM: Error: Connection closed
[Error - 7:15:49 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Info  - 7:15:49 PM] Connection to server got closed. Server will restart.
true
[Error - 7:15:49 PM] Bicep client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:49 PM] Server process exited with signal SIGABRT.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex3_Scan(RegexRunner, ReadOnlySpan`1)
7:15:50 PM: Error: Connection closed
[Error - 7:15:50 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Info  - 7:15:50 PM] Connection to server got closed. Server will restart.
true
[Error - 7:15:50 PM] Bicep client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
7:15:50 PM: Error: Pending response rejected since connection got disposed
[Error - 7:15:50 PM] Server process exited with signal SIGABRT.
2024-01-12T19:15:50.881Z error: Pending response rejected since connection got disposed
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex3_Scan(RegexRunner, ReadOnlySpan`1)
7:15:52 PM: Error: Connection closed
[Error - 7:15:52 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Info  - 7:15:52 PM] Connection to server got closed. Server will restart.
true
[Error - 7:15:52 PM] Bicep client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:52 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:52 PM] Server process exited with signal SIGABRT.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex3_Scan(RegexRunner, ReadOnlySpan`1)
7:15:53 PM: Error: Connection closed
[Error - 7:15:53 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Info  - 7:15:53 PM] Connection to server got closed. Server will restart.
true
[Error - 7:15:53 PM] Bicep client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:53 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:53 PM] Server process exited with signal SIGABRT.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex3_Scan(RegexRunner, ReadOnlySpan`1)
7:15:54 PM: Error: Connection closed
[Error - 7:15:54 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:54 PM] The Bicep server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 7:15:54 PM] Bicep client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:54 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:15:54 PM] Server process exited with signal SIGABRT.

You could try the option recommended here: https://github.com/dotnet/runtime/issues/94909 (the DOTNET_EnableWriteXorExecute env var).
Ultimately it's going to be hard for us to support emulated architectures, because we're limited by the emulation technologies and dotnet. I've raised #13096 for us to add a disclaimer about this.


Adding OSX support.

I have added simple osx support by writing a command line application which reuses some of the code from gfxCardStatus. This removes the need for an old version of gfxCardStatus  since it does not switch to dynamic switching on exit. Furthermore this open the possibility to switch the to the integrated graphics card on logout (via a LoginHook) to remove the need to reboot linux everytime osx was used (since osx reset the efi var set by gpu-switch on unix).
Unfortunately this means including the new GPL License from gfxCardStatus.
Anyway, hope you like it.
malte

Oh cool! What exactly does this all do?
Is there stuff in there you could remove? Like those binaries and xcuserdata?

Indeed very cool!
Adding a new license is absolutely no problem.
@ah- could you test it on your MacBook? I can currently don't have access to any newer Macbook.

Works perfectly. Can just switch between the cards on the command line.
I think everything in the xcodeproj except for osx/gpu-switch.xcodeproj/project.pbxproj should be removed and added to .gitignore, and the same for the gpu-switch binary, then this is good to go.

Thank you!
I will check it later and merge it :)

Maybe a mention of it in the README would be nice as well. Also it's different from the others in that it actually switches without a reboot, I don't know if it sets the EFI var or not.

Yep, that needs to be updated as well.

You can safely remove the xcuserdata stuff. Still I wouldn't remove the binary since it is required for the login/logout hook install. The hooks basically allow mode switching on reboot and switching back on the next login. Especially when dual booting Linux and OS X this is handy since OS X reset the efi var all the time which means a second reboot is needed after booting into linux. Switching the to the integrated gpu via the logout hook solves the problem. The binary could be removed and instead be built everytime when installing the hooks, though right now im not sure howto properly compile the binary with xcode on commandline. Will look into that though.
As for the tool the usage is simple: -i switches to the integrated gpu -d to the discrete and -a enables os x native automatic switching.

I removed the binary now and added a shell script for building the binary. Furthermore the install_hooks script now uses the on the fly building. I also added a proper gitignore from gitignore.io and updated the tree for the new gitignore.


ring_nf fails to fully normalize some expressions

import Mathlib.Tactic.Ring

theorem foo (x : ℤ) (h₀ : x^2 - (x - 1) * x = 5) : x = 5 := by
  ring_nf at h₀
  -- I expect h₀ to be `x = 5` now, but instead it is `x ^ 2 - (-x + x ^ 2) = 5`.
  sorry

or, even simpler:
import Mathlib.Tactic.Ring

theorem foo (x : ℤ) (h₀ : x - x + x = 0) : x = 0 := by
  ring_nf at h₀
  -- I expect h₀ to be `x = 0` now, but instead it is `0 + x = 0`.
  sorry

The problem goes away if I comment out this line: https://github.com/leanprover-community/mathlib4/blob/c16c0c414d4ea87bd10716ffd38b93d9d66aa215/Mathlib/Tactic/Ring/RingNF.lean#L97
but according to @digama0 in this zulip discussion, removing that line would cause the tactic to perform lots of unnecessary rewrites in other situations.

Just encountered this again and would love to see a fix.
import Mathlib.Tactic.Ring

example {x : ℕ} (hn : 0 < x) : 0 < x + 0 := by
  ring_nf -- does nothing
  with_reducible assumption -- fails


drivers/net: Remove HAVE_ATOMICS and use CONFIG_HAVE_ATOMICS directly

Summary
since OpenAMP never support to compile in c89 only mode
Impact
code refactor only
Testing
ci

"since OpenAMP never support to compile in c89 only mode" -- but this can be c99 that does not have atomics?

"since OpenAMP never support to compile in c89 only mode" -- but this can be c99 that does not have atomics?

Yes, you are right atomic exist after c11, but it's better to decouple the common code from OpenAMP as much as we can. NuttX want to support some very old compiler, so it has to stick with c89, but OpenAMP community doesn't have this object in their roadmap, it isn't wise to depend on OpenAMP to resolve the c89 combability issue.


import hxl causes confusing behaviour

Using
from hxl import hxl

can cause confusing behaviour. Need to use
from hxl import hxl, filters

instead.

Fixed with 40ce07473e088ce7ca74cb5a731f66063297ef53 and 351d58f7623039318ebd50db37449b40409c22b8


Inquiry About 2024-07-Si-Heaters Test Results

Dear OpenEBL Team,
A few months ago, I submitted my layout through OpenEBL 2024-07-Si-Heaters for tape-out, and I have been eagerly waiting for the testing results. It has now been over two to three months, and I haven’t seen any updates regarding the results on the website.
Could you kindly provide an update on when the test results might be available, or if there are any expected delays in the process?
Thank you for your time and support. I look forward to your response.
Best regards,
<EMAIL_ADDRESS>

@mustafacc any idea?


fix [IDP] : Updated the images for scorecard components

Harness Developer Pull Request
Updated the images for scorecard components
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://656447a209319d0db240acb1--harness-developer.netlify.app


Standardize commands

Refer to this doc to see the in-depth discussion of these commands.
To summarize, these commands (and only these commands) should be implemented:

[x] Kite: Docs at cursor
[x] Kite: Open sidebar
[ ] Kite: Close sidebar
[x] Kite: Open Error Rescue sidebar
[ ] Kite: Close Error Rescue sidebar
[ ] Kite: Open Copilot
[x] Kite: Search
[x] Kite: General settings
[x] Kite: Permissions
[ ] Kite: Editor plugin settings
[x] Kite: Status
[x] Kite: Help

This should link to https://help.kite.com/category/46-vs-code-integration

Commands to close a tab can't be implemented in VSCode. Same thing with the editor plugin settings, users can choose between workspace-limited or global settings and we have no way of knowing which one have been used before and is relevant at a given point in time for a given project.

@abe33 as for Settings, an alternative might be opening a pane where we just talk about the settings and how to access them.
There is a view that already has most of it:

Given how sparse VS Code settings are today, I don’t think I would worry much about implementing that; this is more of a general comment. If VS Code’s settings evolve more into actually affecting the UI of the plugin (similarly to Atom or IntelliJ), it might be worth revisiting.

Already merged.


Check for ExecFunc failure

Related to [docker #26356] (https://github.com/docker/docker/issues/26356)
Panic was in ServeDNS(), in this dereference extConn.LocalAddr().String()
                        log.Debugf("Query %s[%d] from %s, forwarding to %s:%s", name, query.Question[0].Qtype,
                                extConn.LocalAddr().String(), proto, extDNS.ipStr)

It can happen only if the execFunc failed for some reason. #1412 already added a check for the execFunc failure. But the error from InvokeFunc was being ignored. Fixed that and also added error checks for other calls to InvokeFunc()
There is a 2nd panic mentioned in the same issue. Its a different decode. We can ask the submitter to open a different issue after collecting the required info to root cause it.
Signed-off-by: Santhosh Manohar<EMAIL_ADDRESS>

LGTM

@sanimej just to be clear. https://github.com/docker/libnetwork/pull/1412 already addressed the panic issue & this PR doesn't address the panic issue directly.
The primary purpose of this PR is to cherry-pick into release/v0.8. And #1412 is NOT in that branch. Hence i think you should push another PR just fixing the panic issue to release/v0.8.

since this is going in master... its fine I guess. When cherry-picking to 1.12.2, we have to redo the patch to take into account that #1412 is not there.
LGTM

just to be clear. #1412 already addressed the panic issue & this PR doesn't address the panic issue directly.
#1412 will not fix the panic. Because the error from InvokeFunc is not being returned in ExecFunc.

@sanimej thats correct #1412 didn't fix the panic.  And yes, this PR is still required.


Skip reloading envs for validators that only apply to current_env

Hey @rochacbruno 👋
Problem statement
So I've been using Dynaconf extensively for the past few days, and something I noticed with adding more Validators to my settings was a significantly increased delay in validation. With debug logging enabled it became obvious that for every Validator instance added to the settings, all loaders were re-run when doing settings.validators.validate(), i.e. eloading the entire environment once per Validator.
That makes sense when a Validator instance has the env= param set to anything not equal to settings.current_env but not when the Validator is defined with env=None or equal to settings.current_env. In that case the using_env contextmanager would superfluously reload the current environment.
Proposal
In this PR I separated the internal validation logic in Validator.validate() into Validator._validate_items() and added a special case that would skip the settings.using_env contextmanager and go directly into the validation logic.
Benefit
In a quick-and-dirty trial, I was able to improve the duration to go through 100 Validator instances from about 3 seconds down to less than .1 seconds. Afaics there's no down-side for changing the Validator's behavior this way.
from datetime import datetime
from dynaconf import settings, Validator

vals = (Validator("SOMEVAR", ne="") for _ in range(100))

start = datetime.now()
settings.validators.register(*vals)
settings.validators.validate()

print(datetime.now()-start)

Cheers!

By the way: if you want me to add some unittests specifically assuring no unecessary calls to settings.setenv are made, I can add some using unittest.mock or its pytest integration through pytest-mock. Let me know if you want that dependency to be added here.

@janw yep  more tests would be nice! you can add mock requirements to https://github.com/rochacbruno/dynaconf/blob/master/requirements_dev.txt
I'll review/merge soon and add this to next 2.0.1 release.
Thanks :)

Hello @janw! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/test_validators.py:

Line 189:80: E501 line too long (80 > 79 characters)


googleearth: 7.1 -> 7.3 and move to Qt5

This is still WIP as it launches with a black screen on a Yoga 2 Pro with intel
graphics and a no-brand desktop using nVidia 650GTX and the nouveau driver but I'd be very interested to see if it runs for other people - especially @chris-martin ref #30491.
Cc: @viric
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Same result for me - The app launches, but there's no globe.

My machine is an Intel NUC6i7KYK.

Very similar log in my case, and no globe.
[grwlf@greyblade ~ ]$ google-earth

** (googleearth-bin:20832): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/grwlf/.drirc: No such file or directory.
libGL: pci id for fd 9: 8086:0166, driver i965
libGL: OpenDriver: trying /run/opengl-driver/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /run/opengl-driver/lib/dri/i965_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/grwlf/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/grwlf/.drirc: No such file or directory.

Also, sometimes it shows a dialog saying that the application wan not installed properly

Googling for "google earth black screen linux" unfortunately gives quite a few hits with no definitive solution. Since we cannot build the old version (7.1) as all the download links now point to 7.3 upstream, I'd be inclined to mark this as broken unless somebody has some really bright ideas.

Recently @lebastr published a fix for an older version, which actually attaches *deb package to the ./binaries folder of nixpkgs.
https://github.com/lebastr/nixpkgs-channels/commit/fcdd9545b2c7cda37b459f80914e7afe328cfb7f
The fix do work, so if one could use third-party hosting to put the *deb and link to it then the problem with the 7.1 version would be solved (not sure about possible license issues).

Tried this with version updated to 7.3.1, same black screen issue here,
and also managed to crash it by ctrl + click + drag on the black area.
Also tried safe mode, no difference.
output:
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/map/.drirc: No such file or directory.
libGL: pci id for fd 6: 8086:0166, driver i965
libGL: OpenDriver: trying /run/opengl-driver/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /run/opengl-driver/lib/dri/i965_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/map/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/map/.drirc: No such file or directory.

Google Earth has caught signal 11.

We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data have been written
 to this text file:

crashlog:
Major Version 7
Minor Version 3
Build Number 0001
Build Date Feb  5 2018
Build Time 23:42:28
OS Type 3
OS Major Version 4
OS Minor Version 9
OS Build Version 78
OS Patch Version 0
Crash Signal 11
Crash Time<PHONE_NUMBER>
Up Time 66,5653

Stacktrace from glibc:
./libgoogleearth_pro.so(+0x1bdf3d)[0x7fcc28edcf3d]
./libgoogleearth_pro.so(+0x1f30cc)[0x7fcc28f120cc]
/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libc.so.6(+0x336a0)[0x7fcc289b26a0]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/libnavigate.so(_ZN5earth8navigate16ClickToGoToolTip16NearClickedPointERKNS_4evll10MouseEventE+0xa)[0x7fcbf817084a]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/libnavigate.so(_ZN5earth8navigate16ClickToGoToolTip9MaybeHideERKNS_4evll10MouseEventE+0x9)[0x7fcbf817df29]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/libnavigate.so(_ZN5earth8navigate5state10NavContext11OnMouseMoveERKNS_4evll10MouseEventE+0x1bd)[0x7fcbf81c573d]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/libnavigate.so(_ZN5earth8navigate12InputHarness11OnMouseMoveERKNS_4evll10MouseEventE+0x2d)[0x7fcbf816a7fd]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/librender.so(_ZN5earth9UIemitterINS_6render14IMouseObserverENS_4evll10MouseEventENS_19EmitterDefaultTraitIS2_S4_EEE14NotifyFilteredEMS2_FvRKS4_ES9_PNS7_10FilterFuncE+0x86)[0x7fcbf850c496]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/librender.so(_ZN5earth6render12MouseEmitter6notifyEMNS0_14IMouseObserverEFvRKNS_4evll10MouseEventEES6_+0x5a)[0x7fcbf850543a]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/librender.so(_ZN5earth6render12MouseEmitter13SendMouseMoveERKNS_4evll10MouseEventE+0x33)[0x7fcbf8505503]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/librender.so(_ZN5earth6render12MouseEmitter9MouseMoveERKNS_4evll10MouseEventE+0x54)[0x7fcbf8505c54]
/nix/store/r4sc0dbb8bq2rzdhrz7rzq08hyw3pz1q-googleearth-7.3.1/opt/google/earth/pro/librender.so(_ZN12RenderWidget14mouseMoveEventEP11QMouseEvent+0x3d)[0x7fcbf850de8d]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x210)[0x7fcc279ecb30]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7fcc279ab96c]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x10cb)[0x7fcc279b3feb]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0xaa)[0x7fcc272ba50a]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x1dd)[0x7fcc279b26ed]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(+0x1b5666)[0x7fcc27a06666]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(+0x1b8043)[0x7fcc27a09043]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7fcc279ab96c]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x26b)[0x7fcc279b318b]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0xaa)[0x7fcc272ba50a]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE+0x723)[0x7fcc27fa5873]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+0x135)[0x7fcc27fa7445]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xbb)[0x7fcc27f841bb]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5XcbQpa.so.5(+0x97df0)[0x7fcc0da94df0]
/nix/store/vmyh7mpa2nw3d2fs1lmj523z897gcj6i-glib-2.52.3/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2a7)[0x7fcc1ed7ce37]
/nix/store/vmyh7mpa2nw3d2fs1lmj523z897gcj6i-glib-2.52.3/lib/libglib-2.0.so.0(+0x4a0a0)[0x7fcc1ed7d0a0]
/nix/store/vmyh7mpa2nw3d2fs1lmj523z897gcj6i-glib-2.52.3/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fcc1ed7d14c]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f)[0x7fcc2730a0ff]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xfa)[0x7fcc272b924a]
/nix/store/ylvsx4c5iwzynhq0zb64qlnpkly2q67d-qtbase-5.9.1/lib/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x94)[0x7fcc272c1954]
./libgoogleearth_pro.so(_ZN5earth6client11Application3runEv+0x709)[0x7fcc28f93579]
./libgoogleearth_pro.so(+0x1f32da)[0x7fcc28f122da]
./libgoogleearth_pro.so(earthmain+0x46c)[0x7fcc28f1275c]
/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/libc.so.6(__libc_start_main+0xf0)[0x7fcc2899f7e0]
./googleearth-bin[0x4005fe]

Not worth the hassle.


Does it support & > .foo ?

In the spec, this should be supported:
.foo {
  color: blue;
  & > .bar { color: red; }
}
/* equivalent to
   .foo { color: blue; }
   .foo > .bar { color: red; }
 */

But I tried this plugin, it's not supported.

Hey there! I’m sorry you’re having this issue. That syntax is totally supported. Try it out at http://jonathantneal.github.io/postcss-nesting/
I just did. It worked as you expected. Could you tell me more about the issue? I’m closing it because I’ve verified this is working, but I’m still happy to try to help you get things going.

Sorry for the disturbing. I can't repro the issue now. This is probably my mistake.
Anyway, thanks for your awesome project!


docs: corrected ARGS.C command-line list output

This commit includes a correction to the ARGS.C command-line list output in the documentation, ensuring it accurately reflects the actual output.
Best regards,

My sincere apologies for any confusion caused!
I discovered that the discrepancy in the example code output was due to compiling the code using a different compiler architecture.
I apologize once again for any inconvenience caused.
Best regards,

No worries. I'm just pleased that you'd think to update the docs when you ran into something. I wouldn't want to discourage that in any way.

No worries. I'm just pleased that you'd think to update the docs when you ran into something. I wouldn't want to discourage that in any way.

I'm grateful for your encouraging words!
This Microsoft C documentation has been immensely helpful to me.
As I continue to learn, it's proving to be an invaluable resource!


Default resource limits

The sample deployment should probably have resource limits set.
Possibly in the future a guide/recommendation for setting limits.
Thanks to @rosskukulinski these 2 issues might help:
https://github.com/heptio/gimbal/issues/72
https://github.com/heptio/gimbal/pull/122

I agree this would be good. I don't have any bandwidth to work on this.

Hi @cten, @davecheney,
I am interested in working on this issue. Some details on the resource limits and the scope of the issue would be helpful to get me started.
Thank you.

@shreyas165 thank you for offering to help. I'm afraid you'll have to do your own research and business analysis on this issue.

Hi @davecheney , I have worked on test cases but performance testing is a new area for me as well.
Will try analyzing the issue to the best of my knowledge.
Thank you.

Hi, is there any guidance yet on setting resource limits for contour?

None yet I’m afraid. Please subscribe to this issue for updates.

On 7 May 2019, at 01:59, Jared Jolton<EMAIL_ADDRESS>wrote:
Hi, is there any guidance yet on setting resource limits for contour?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Great job! Thanks Steve.

On 1 Jun 2019, at 00:36, Steve Sloka<EMAIL_ADDRESS>wrote:
Closed #409 via #1138.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Get file size

An endpoint that returns size in bytes of the specified file.

Verb: GET
Path: /file/size

Query parameters:

Name
Value
Default value
Description

path
string
required
A path to a file.

Responses:

200 OK - when the file exists.
404 Not Found - when couldn't find the file or if the path is pointing to a directory.
400 Bad Request - when the path is invalid.

Returns file's size in bytes in the JSON format:
{
  "size": 12345
}

Hi, Can i implement this endpoint?

@protob Sure thing! Please remember to also implement simple tests. Here's are some examples:

Testing the actual endpoint: https://github.com/Xkonti/file-api/blob/main/src/endpoints/file/getFile.test.ts
Tests for file utilities: https://github.com/Xkonti/file-api/blob/main/src/utils/fileUtils.test.ts

I hope those examples will help you out understanding how things work 🙂 Let me know if you have some questions.

ElysiaJS is pretty neat indeed :)


508: Visual Headings lack Heading Tags

Issue: Text has been visually altered to act as a heading but the text has not been coded as a heading. To Assistive Technology users, this text appears no different than normal paragraph text.

In the Configurations tab, visual headings that precede the data tables are coded with span tags, update  the following:

Defaults
Formulas
Loads
Location Attributes
Methods
Qualifications
Rectangular Duct WAFs
Spans
Systems
Unit Information

Note: Get the header styling info

No issues found


Add page for Apple Silicon

Add a short /go/ page for Docker Desktop when a user tries to install and run Docker Desktop on one of the new Mac's with Apple Silicon processors.

LGTM - ship it

feel free to merge once everyone is okay with this 😁

FWIW; alternatively we could add this text to the troubleshooting page.
You can then set the redirect_to metadata field to point to that page (and anchor); advantage would be that the content is also viewable for users browsing the troubleshooting page; WDYT?

Good idea. I‘ll update the PR.

Thank you @usha-mandya, I've updated the redirect. PTAL


Fix accelerator crd version and migrated gpu name

Is there an existing issue for this?

[X] I have searched the existing issues

Deploy type
OpenDataHub core version (eg. v1.6.0)
Version
2.16
Current Behavior
Currently in the Accelerator profile crd is in version v1alpha and needs to be in v1.
We use the name Nvidia for our migrated gpu but Nvidia recommends using full caps NVIDIA when using its name. This needs to be changed for our migrated gpu.
Expected Behavior
Switch to v1
Change names to use NVIDIA
Steps To Reproduce
have the dashboard migrate accelerators and check the crd that is added.
Workaround (if any)
Not a breaking change, no workaround needed
What browsers are you seeing the problem on?
Chrome
Anything else
No response

This was demo feedback. This was not needing to be a blocker, but was felt it had value to be fixed for the release it's initially part of. We should address future demo feedback with an issue first and let it be triaged by the team. Incubation needs to prevent these items in the future. We'll continue to work through improving the process to avoid post release issues like this. May need earlier demos to the wider team to illicit feedback.
cc @dgutride @gmarkley-VI
PR is mered, closing issue.


Adding public keywords to GraphQL schema generation

As I was trying to implement a schema generation to a swift package, I was running into the access control of the generated code. I essentially just went thorough and added public keywords to each generated method, struct, enum, or type alias.

@teddy-bersentes I want to create a package as well so appreciate your work! Good job! But still waiting for review.....

@Sundea thank you for being so patient, I had to do some extra work on the PR and didn't want to give away the burden of regenerating examples after having you wait for so long.
I'll merge this PR right away. Thank you for helping ❤ 🚀


Details: empty tag options

When there are no tags, the toolbar filter shows empty options. In this scenario, we should omit the tag category.

Verified


Android libnode.a node debugger build

https://github.com/modulesio/libnode.a
We build node as a library for Android, but that build is not currently debugger-enabled.
Builder source is here
09-15 23:46:58.807  1968     6 I exokit  : Inspector support is not available with this Node.js build
09-15 23:46:58.807  1968     6 I exokit  : node: bad option: --inspect
09-15 23:46:58.807  1968     6 I exokit  : node: bad option: --debug-brk

I don't think there was any good reason for it being disabled in the first place.

Added --debug flag to android-configure at https://github.com/modulesio/node-android-lib/pull/8

Nevermind the previous commit, found the issue:
this openssl  line leads to without_ssl https://github.com/modulesio/node-android-lib/blob/a498fdbf39a4932135f71875991c1ba64e8be59a/android-configure#L79 in configure
which disables inspector https://github.com/modulesio/node-android-lib/blob/eb5e9425ba37085e9bddeaa00dde3b4b33539fe4/configure#L1385