test on my own dataset

Hi, thanks for your job! I want to test the model on a dataset of myself, what should I do?
I tried to change the path in

IKC-master/codes/options/test/test_SFTMD.yml,
IKC-master/codes/options/test/test_Predictor.yml,
and IKC-master/codes/options/test/test_Corrector.yml

and got a pretty low average psnr(23.598937) and ssim(0.645178)

19-11-15 17:31:03.120 - INFO: ----Average PSNR/SSIM results for div2k100----
PSNR: 23.598937 dB; SSIM: 0.645178
19-11-15 17:31:03.120 - INFO: ----Y channel, average PSNR/SSIM----
PSNR_Y: 25.071245 dB; SSIM_Y: 0.682182

My input images were the validation set of div2k(801-900) and all of them are blured with an isotropic gaussian kernel with width 2.0, then downsampled with bicubic interpolation. All the pictures were processed with opencv 4.1.0. The samples of input and the SR output are shown blew
input

output

the log information

19-11-15 16:08:18.763 - INFO: step:  1, img:0802            - PSNR: 27.946776 dB; SSIM: 0.775806; PSNR_Y: 29.448376 dB; SSIM_Y: 0.818709.
19-11-15 16:08:25.778 - INFO: step:  2, img:0802            - PSNR: 27.992938 dB; SSIM: 0.776571; PSNR_Y: 29.497938 dB; SSIM_Y: 0.819453.
19-11-15 16:08:32.779 - INFO: step:  3, img:0802            - PSNR: 28.035925 dB; SSIM: 0.777074; PSNR_Y: 29.545070 dB; SSIM_Y: 0.820215.
19-11-15 16:08:39.848 - INFO: step:  4, img:0802            - PSNR: 28.079307 dB; SSIM: 0.777602; PSNR_Y: 29.592643 dB; SSIM_Y: 0.820966.
19-11-15 16:08:46.881 - INFO: step:  5, img:0802            - PSNR: 28.124418 dB; SSIM: 0.778161; PSNR_Y: 29.642248 dB; SSIM_Y: 0.821761.
19-11-15 16:08:53.952 - INFO: step:  6, img:0802            - PSNR: 28.174223 dB; SSIM: 0.778820; PSNR_Y: 29.696932 dB; SSIM_Y: 0.822650.
19-11-15 16:09:00.975 - INFO: step:  7, img:0802            - PSNR: 28.228933 dB; SSIM: 0.779559; PSNR_Y: 29.757185 dB; SSIM_Y: 0.823617.
19-11-15 16:09:00.976 - INFO: step:  7, img:0802            - average PSNR: 28.083217 dB; SSIM: 0.777656; PSNR_Y: 29.597199 dB; SSIM_Y: 0.821053.
19-11-15 16:09:00.976 - INFO: step:  7, img:0802            - max PSNR: 28.228933 dB; SSIM: 0.779559; PSNR_Y: 29.757185 dB; SSIM_Y: 0.823617.

what did I miss? Thanks in advance!

and got a pretty low average psnr(23.598937) and ssim(0.645178)
Do you mean you get the result from the IKC model? Maybe you should follow max results rather than average results, for there are 7 steps in one blurred image, therefore, the max result among the following 7 results might be chosen as the final result. Also, you could find both max and average results in /.log, and maybe we should modify the code to make final results look clearer.

Do you mean you get the result from the IKC model? Maybe you should follow max results rather than average results, for there are 7 steps in one blurred image, therefore, the max result among the following 7 results might be chosen as the final result. Also, you could find both max and average results in /.log, and maybe we should modify the code to make final results look clearer.

There are many outputs in one image, we'd better choose max PSNR result and save this image.

@yuanjunchai Thanks for replying me. I tested the IKC model on my own synthesised dataset. I do check the program and be pretty sure that the log records the max psnr and ssim to calculate the final average results. And as shown above, the sample of SR output is the final output of the sr-network in step seven. I guess I must have missed up something, and I will check my dataset path. Again, thank you !

my pleasure!
BTW, to solve the problem, could you tell me how did you blur the dataset?

Since I've tested div2k, BSDS, set14 and set5, all IKC results perform equally even better than paper proposed.

@yuanjunchai I blurred the image with opencv funtion fileter2D
image = cv.filter2D(image, -1, kernel)
and the image is the original bicubic_X4 version of the Div2k validation set, and the kernel is systhesised with matlab function mvnpdf
mu=[0,0];
[X,Y]=meshgrid(-4:1:4,-4:1:4);
out_path = 'kernels/test_kernels/';
if isdir(out_path)==0
    mkdir(out_path)
end
sigma = [2.0 0 ; 0 2.0];
kernal = mvnpdf([X(:) Y(:)],mu,sigma);
k = reshape(kernal, size(X));
save([out_path, 'anisotropic2.0', '.mat'], 'k')

the kernel size is fixed to 9
and I change the path in

IKC-master/codes/options/test/test_SFTMD.yml,
IKC-master/codes/options/test/test_Predictor.yml,
IKC-master/codes/options/test/test_Corrector.yml

like

dataroot_GT:/home/xx/sdb/dataset/test/Div2k_val/HR/
dataroot_LQ: /home/xx/sdb/dataset/test/Div2k_val/blur/isotropic2/

and get the results. So it must be the data? Cause they are in different distribution?

Well, I know what happened. Since the IKC model has been trained by input via blur kernel & downsample setting as IKC paper proposed, namely 21*21 isotropic Gaussian kernel, there is a data distribution gap between pre-trained data and dataset you are provided.
There are two methods to solve your problem: 1. Train your own model given your synthesized data. 2. Use python codes/scripts/generate_mod_LR_bic.py to generate data following training input as proposed in IKC paper.

Thank you ! I am trying to train a new model with my own dataset.

My pleasure.
BTW, I recommend training the new model by the process in our training code, for the F model(SFTMD) need the blurred LR and corresponding true kernel map h.
Of course, other method is OK for training your own models.

Hi, I made a new dataset with the same method as claimed above. I change the kernel to a 21*21 isotropic Gaussian kernel with width 2.0

mu=[0,0];
[X,Y]=meshgrid(-10:1:10,-10:1:10);
out_path = 'kernels/test_kernels/';
if isdir(out_path)==0
mkdir(out_path)
end
sigma = [2.0 0 ; 0 2.0];
kernal = mvnpdf([X(:) Y(:)],mu,sigma);
k = reshape(kernal, size(X));
save([out_path, 'isotropic2.0', '.mat'], 'k')

and blured image with image = cv.filter2D(image, -1, kernel) and tested on the pretrained model. Samely, I still got a low psnr(24.6) and ssim(0.659). And I am a rookie in blind sr, so I want know how  you blur images in the train set? I did not figure out from the code.Thank you!

Again, if you would like to just test, you'd better follow settings in the training domain. More details about how to make blurred data as test dataset has implemented in codes/scripts/generate_mod_LR_bic.py.
Like:
        prepro = util.SRMDPreprocessing(up_scale, pca_matrix, random=False, para_input=10, kernel=21, noise=False,                                         cuda=True, sig=sig, sig_min=0.2, sig_max=4.0, rate_iso=1.0, scaling=3,                                         rate_cln=0.2, noise_high=0.0) #random(sig_min, sig_max) | stable kernel(sig)         LR_img, ker_map = prepro(img_HR.view(1, C, H, W))

Hi, @yuanjunchai What should I do if I want to test a noisy image ?  Is it something like using

codes/scripts/generate_mod_LR_bic.py

to generate the LR images with changing the parameter noise to True and set the noise_high to 15 ? Like

prepro = util.SRMDPreprocessing(up_scale, pca_matrix, random=False, para_input=10, kernel=21, noise=True, cuda=True, sig=sig, sig_min=0.2, sig_max=4.0, rate_iso=1.0, scaling=3, rate_cln=0.2, noise_high=15.0) #random(sig_min, sig_max) | stable kernel(sig) LR_img, ker_map = prepro(img_HR.view(1, C, H, W))

and retrain a new model? If I have to do so, how many epochs should I train this model? Thanks in advance!

Yes, you could retrain a new model for adding both noise and blur kernel. You could set 500k iteration and observe the convergence curve to make sure epochs about a new model.

Thanks! I really appreciate your help! So if I take div2k and flickr2k as the training dataset, it would be enough as I set the epoch to 2500.  Now I am on it. Again, Thank you very much !

My pleasure :)

Hi, @yuanjunchai  When I used code in
codes/scripts/generate_mod_LR_bic.py,
I found it returned a shape of 1*11 kernel embedding, which was described in as h in the paper. It concatenated the noisy level with the original embedding. But in the paper author didn't claim that. So I changed the call() method  of class SRMDPreprocessing()  in  codes/utils/util.py .
The original code is

def __call__(self, hr_tensor, kernel=False):
    ### hr_tensor is tensor, not cuda tensor
    B, C, H, W = hr_tensor.size()
    b_kernels = Variable(self.kernel_gen(self.random, B, tensor=True)).cuda() if self.cuda else Variable(self.kernel_gen(self.random, B, tensor=True))
    # blur
    if self.cuda:
        hr_blured_var = self.blur(Variable(hr_tensor).cuda(), b_kernels)
    else:
        hr_blured_var = self.blur(Variable(hr_tensor), b_kernels)
    # kernel encode
    kernel_code = self.encoder(b_kernels) # B x self.para_input
    # Down sample
    if self.cuda:
        lr_blured_t = b_GPUVar_Bicubic(hr_blured_var, self.scale)
    else:
        lr_blured_t = b_CPUVar_Bicubic(hr_blured_var, self.scale)

    # Noisy
    if self.noise:
        Noise_level = torch.FloatTensor(random_batch_noise(B, self.noise_high, self.rate_cln))
        lr_noised_t = b_GaussianNoising(lr_blured_t, Noise_level)
    else:
        Noise_level = torch.zeros((B, 1))
        lr_noised_t = lr_blured_t

    if self.cuda:
        Noise_level = Variable(Noise_level).cuda()
        re_code = torch.cat([kernel_code, Noise_level * 10], dim=1) if self.noise else kernel_code
        lr_re = Variable(lr_noised_t).cuda()
    else:
        Noise_level = Variable(Noise_level)
        re_code = torch.cat([kernel_code, Noise_level * 10], dim=1) if self.noise else kernel_code
        lr_re = Variable(lr_noised_t)
    return (lr_re, re_code, b_kernels) if kernel else (lr_re, re_code)

I changed the last few lines to return a 1*10 kernel embedding

def __call__(self, hr_tensor, kernel=False):
    ### hr_tensor is tensor, not cuda tensor
    B, C, H, W = hr_tensor.size()
    b_kernels = Variable(self.kernel_gen(self.random, B, tensor=True)).cuda() if self.cuda else Variable(self.kernel_gen(self.random, B, tensor=True))
    # blur
    if self.cuda:
        hr_blured_var = self.blur(Variable(hr_tensor).cuda(), b_kernels)
    else:
        hr_blured_var = self.blur(Variable(hr_tensor), b_kernels)
    # kernel encode
    kernel_code = self.encoder(b_kernels) # B x self.para_input
    # Down sample
    if self.cuda:
        lr_blured_t = b_GPUVar_Bicubic(hr_blured_var, self.scale)
    else:
        lr_blured_t = b_CPUVar_Bicubic(hr_blured_var, self.scale)

    # Noisy
    if self.noise:
        Noise_level = torch.FloatTensor(random_batch_noise(B, self.noise_high, self.rate_cln))
        lr_noised_t = b_GaussianNoising(lr_blured_t, Noise_level)
    else:
        Noise_level = torch.zeros((B, 1))
        lr_noised_t = lr_blured_t

    if self.cuda:
        #Noise_level = Variable(Noise_level).cuda()
        #re_code = torch.cat([kernel_code, Noise_level * 10], dim=1) if self.noise else kernel_code
        lr_re = Variable(lr_noised_t).cuda()
    else:
        #Noise_level = Variable(Noise_level)
        #re_code = torch.cat([kernel_code, Noise_level * 10], dim=1) if self.noise else kernel_code
        lr_re = Variable(lr_noised_t)
    return (lr_re, kernel_code, b_kernels) if kernel else (lr_re, kernel_code)

When I finished the image processing, I found that some image was noise-free.
normal one

abnormal one

and I don't know why it comes to this.  Is this a training trick?

How about your setting, like 'rate_cln' or 'noise_high'??

@yuanjunchai
Hello sir . I am new to this field of BLIND-SR, can you please help me out in understanding how have we wriitn the code for generating blur kernel

@nan-rock see code in /codes/utils/util.py

Thank you sir. But I am not able to get the difference between stable and random codes of  isotropic, anisotropic gaussian ,batch kernels. Could u please help me out


Not possible to use HTML code as object parameter?

Can I somehow include file with HTML code in parameter?
@@include('./components/checked.html', {
    "name": "Title",
    "text": "

List item

List item 2

"
})

Hey @inferusvv, you're correctly escaping your quotation marks, however, HTML works only as long as you don't include line breaks in the value of the object:
@@include(./components/checked.html', { 	"name": "Title", 	"text": "

List item

List item

" });

@mrozilla Yep, found this way. But looks not comfortable to use :(

Can you do this?
@@include('./components/checked.html', {
    "name": "Title",
    "text": `

List item

List item 2

`
})

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals


Customer

pending on #163

Codecov Report
Attention: Patch coverage is 47.05882% with 72 lines in your changes are missing coverage. Please review.

Project coverage is 51.18%. Comparing base (696ddd1) to head (3f6256a).
Report is 2 commits behind head on main.

Files
Patch %
Lines

src/graphql/sampling.rs
48.27%
45 Missing :warning:

src/graphql/customer.rs
44.11%
19 Missing :warning:

src/graphql/event.rs
53.84%
6 Missing :warning:

src/graphql/data_source.rs
0.00%
1 Missing :warning:

src/graphql/network.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #166      +/-   ##
==========================================
- Coverage   51.43%   51.18%   -0.25%
==========================================
  Files          65       65
  Lines       10731    10740       +9
==========================================
- Hits         5519     5497      -22
- Misses       5212     5243      +31

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


Is it possible to generate every minute perez sky model from epw file

Hi, @yjkm and I were just thinking about how bifacial_radiance generates the sky with perez model from an epw file. From a perez sky model visualisation tool kit(https://drajmarsh.bitbucket.io/cie-sky.html), we notice that the perez sky model can be generated accurate down to the minute as shown in the attached picture, however the input epw file only provides GHI, DNI and DHI value accurate down to the hour. Does the perez model approximate the every minute data from the epw file? If it does, is the hourly approach for HSAT system in bifacial radiance using a similar method to calculate tracking angles corresponding to every minute? Thank you so much!

Hi.  Yes, sub-hourly weather input files should be supported by the entire pipeline, including tracking angle calculations and Perez sky formation.  All that is required is separate GHI (global) and DHI (diffuse) irradiance values with the 1-minute timestamp frequency.  These data could either be interpolated from existing hourly EPW files, or using field measured data.

@cdeline  that is not accurate for what they are asking, the gencumulativesky routine we have takes the sub-hourly data and averages it back to hour, because the gencumsky executable ONLY takes 8760 format; it is dead set on when the sun is at the specific 'hours' based on the latitude and longitude.

Correct, cumulative sky simulations can only be done with hourly resolution.   Thanks!  I'm closing this issue because I think we've answered this but feel free to re-open if you have follow-up questions.


How to highlight series if I click it?

Sorry, this error is something I couldn't show via jsfiddle, because its working on jsfiddle, doesn't work in my application. But I will provide a detailed instruction.
I see, highcharts provides, a useful functionality - if you hover the symbol of one series on legend, then that series are highlighted in the graph.
Here is a image.

I want to do this when I click one series on the graph. So, if I click one series, then only that series should be highlighted on that graph, and others are dimmer.
How I can do this? Is there any solution to do this?
Thanks.

Post the working jsfiddle then and give some details about your app.


Is LayoutLMV3 model is capable enough to predict nested bbox?

Hey there, I am using the layoutLMV3 model for my project and I created the dataset with nested bounding boxes in approx all images I've tried to fine-tune the LayoutLMV3 model with my dataset as coco format (which has 17 classes, more than 10L+, and 60k+ Images) but I'm not getting good AP. So my question is, is the LayoutLMV3 model powerful enough to predict nested bounding boxes if yes, can anyone please explain how or can anyone give some example link? (with nested bounding boxes prediction)
@wolfshow
Thank you

Could you check if the example on document layout analysis is helpful? This task is about detecting the layouts of unstructured digital documents by providing bounding boxes and categories.


[tool_crash] FileSystemException: Cannot create link, OS Error: Cannot create a file when that file already exists., errno = 183

Command
flutter build windows --verbose

Related to https://github.com/flutter/flutter/issues/90028.
Steps to Reproduce

Create Flutter project on Windows 11.
flutter build windows
...

Logs
FileSystemException: Cannot create link, OS Error: Cannot create a file when that file already exists.
, errno = 183
#0      _Link.throwIfError (dart:io/link.dart:263:7)
#1      _Link.createSync (dart:io/link.dart:184:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1057:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:994:5)
#6      buildWindows (package:flutter_tools/src/windows/build_windows.dart:46:3)
#7      BuildWindowsCommand.runCommand (package:flutter_tools/src/commands/build_windows.dart:55:11)
<asynchronous suspension>
#8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
<asynchronous suspension>
#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.22621.819], locale en-US)
    • Flutter version 3.3.9 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (3 weeks ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\qkram\AppData\Local\Android\sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.16)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32602.291
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[✓] VS Code (version 1.73.1)
    • VS Code at C:\Users\qkram\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.819]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.98
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.46

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: eb6d86ee27deecba4a83536aa20f366a6044895c
Plugins
device_info_plus-4.1.3
device_info_plus_linux-3.0.0
device_info_plus_macos-3.0.0
device_info_plus_web-3.0.0
device_info_plus_windows-4.1.0
flutter_plugin_android_lifecycle-2.0.7
flutter_secure_storage-6.1.0
flutter_secure_storage_linux-1.1.2
flutter_secure_storage_macos-1.1.2
flutter_secure_storage_web-1.1.1
flutter_secure_storage_windows-1.1.3
flutter_web_auth_2-1.1.2
flutter_web_auth_2_windows-1.1.2
geolocator-9.0.2
geolocator_android-4.1.4
geolocator_apple-2.2.2
geolocator_web-2.1.6
geolocator_windows-0.1.1
image_picker-0.8.6
image_picker_android-0.8.5+3
image_picker_for_web-2.1.10
image_picker_ios-0.8.6+1
network_info_plus-2.3.2
network_info_plus_linux-1.1.2
network_info_plus_macos-1.3.0
network_info_plus_web-1.0.1
network_info_plus_windows-1.0.2
package_info_plus-1.4.3+1
package_info_plus_linux-1.0.5
package_info_plus_macos-1.3.0
package_info_plus_web-1.0.6
package_info_plus_windows-2.1.0
path_provider-2.0.11
path_provider_android-2.0.20
path_provider_ios-2.0.11
path_provider_linux-2.1.7
path_provider_macos-2.0.6
path_provider_windows-2.1.3
sentry_flutter-6.13.1
sqflite-2.2.0+3
url_launcher-6.1.6
url_launcher_android-6.0.20
url_launcher_ios-6.0.17
url_launcher_linux-3.0.1
url_launcher_macos-3.0.1
url_launcher_web-2.0.13
url_launcher_windows-3.0.1
A clue could be that I have linked private packages which are not in the above list. Windows build fails to compile. If I delete the symlinks from the affected path, I see them recreated in the folder prior to the error. It is as though it is attempting to build them twice. Happy to add any more details that may help.

@ElectraPort Thanks for the report! This is a known issue being tracked at https://github.com/flutter/flutter/issues/90028. Closing this issue as a duplicate, so please follow up on it for further updates.


Migrated integration tests

@Ladicek Here's the PR I've been talking about

Personally, I'd kill JAX-RS Client with fire and just used Apache HTTP Client. Disabling hostname verification and certificate check is as easy as https://gist.github.com/Ladicek/fe783b7f871e33f5cf4c403065714ddd

I'll leave the JAX-RS client for one reason: It's the Swarm way to most things HTTP. And I beleieve it's useful to show people how to work with token use cases in a Swarm idiomatic way.

I don't necessarily agree that JAX-RS Client is Swarm-idiomatic, but whatever. (Actually the way we generate a client from an annotated interface isn't JAX-RS at all, just a proprietary extension...)

@Ladicek I think with the latest commit we are good to go.


Feature swedish translation

Add Swedish translation #5957 [plone.volto]

@AndreasJonsson you need to sign the Plone Contributor Agreement to merge this pull request.
Learn about the Plone Contributor Agreement: https://plone.org/foundation/contributors-agreement

@AndreasJonsson thanks for the contribution, but we cannot accept it until you sign the Plone Contributor Agreement.
Once you receive an acknowledgment, please add a comment here to let us know, and we can proceed.

@AndreasJonsson ping, see @stevepiercy comment, if you do not sign the CLA, we cannot merge your contribution.

@AndreasJonsson ping, see @stevepiercy comment, if you do not sign the CLA, we cannot merge your contribution.


Tower tyres

Tyre information is shown on the right of the driver row at all times in the tower

Pickle shrek


Picker::from_termios() for windows

I looked at the definition of Picker::from_termios() in the source code and noticed it only is defined in unix systems, I wonder what should be done in the case of compiling for windows (how to get the font size on windows or alternatives), it would be nice if in the documentation there was a note describing what to do in such case or maybe if this method is called on windows then change the implementation accordingly

The Windows console API has some font-size info, but in "logical units": https://learn.microsoft.com/en-us/windows/console/console-font-infoex#members
It may be possible to convert this "logical unit" into pixels if you also query some other windows API for the DPI.
Note that I think that even the window-size might not be implemented on windows, I think that one comes from the ratatui backend.

I got a windows machine I'll try using the windows API, in the meantime what fontsize do you recommend for windows?

I have no idea, I guess that depends on the terminal and settings.
BTW I can confirm that not even window size is really implemented for windows for the ratatui backends: https://github.com/crossterm-rs/crossterm/blob/492b764f9f132d302903ff6f2f55e96c1b8cd0ec/src/terminal/sys/windows.rs#L64
I suggest playing around with the windows console API. Ultimately you would need both window size in pixels, not columns/rows, AND the font size in pixels, not some "logical unit".

If there's a way to get this information in any way, then we can try it out here and later move it all to the ratatui backends.

@josueBarretogit on master, there is now support for getting the font-size from some query, which should work on WSL.
For non-WSL, I believe rustix is not available. However it might be possible to query the terminal nonetheless. There's an empty non-rustix function now here: query_stdio_capabilities. Perhaps there is a way to send the stdin queries via the Windows Console API - I don't know.

@josueBarretogit this should work on master now.

@josueBarretogit this should work on master now.


Micro optimization: replace "".equals(a) with a.isEmpty()

Blog post with microbenchmarks: https://medium.com/javarevisited/micro-optimizations-in-java-string-equals-22be19fd8416
Proposal for similar change in JDK: https://github.com/openjdk/jdk/pull/29

In fact Tomcat has hundreds of such places where simple, safe, and more readable optimizations can be applied. Just open sources in IntelliJ, open Settings/Editor/Inspections/Java/Performarmance and enable all and then run Analyze.
Most hot places are unefficient working with maps like containsKey() then get() call and collections ans StringBuilder without initial capacity.
It would be great just to fix all these problems at once and this will give a real impact on performance

It would be great just to fix all these problems at once

I prefer to make one kind of change at a time. It is easier to detect regressions and impact this way.


Revert "systemd: 256.6 -> 256.7"

This reverts commit 66f78a930360b52e5d3ac6db9112eea3fcfbbc32.
systemd 256.7 introduces a breaking change to systemd-boot causing the system to fail to boot on some architectures (including generation rollback) and necessitating manual recovery. From the discussion, it looks like there are some pretty serious fundamentally mistaken assumptions in their code which may take some time to rectify. In order to avoid bricking our users by default, we should revert to the last working version until this issue is worked out upstream.
Pinging maintainers:
@flokli
@kloenk
Things done

Built on platform(s)

[ ] 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

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I think at most we should revert the specific patch that’s at fault. It’s far too close to release to do an entire systemd rollback; we actually probably can’t ship a different systemd with the final release at all since we’re already far into the last staging-next cycle before release (though we might be able to get a patch in within the first few weeks after release). As far as I know the issue has only been observed on platforms with 16K pages, which we don’t really officially support (since none of our shipped kernels do), though if the incorrectness is observable on any 4K platforms then that would certainly make it more serious.

Yea, we absolutely are not going to rollback the entire systemd version when it's only been observed as an issue on one platform. I'd be fine with shipping a revert of the offending patch (we already do that for one other issue), but rolling back systemd entirely is way too extreme of a solution.

Has this been observed on any hardware you can actually boot stock NixOS on?  If you have to use a custom kernel (possibly via an overlay) anyway, you can also use a custom systemd with the problematic commit reverted or whatever.  (I do think systemd upstream should revert this for 256 though.)

Besides my Macbook (which cannot run stock NixOS) I only have a common x86 machine available to test, where the release works fine.
Besides the page size problem, from the discussion in the issue the release should be broken on any platform without physical memory available below the 4G physical address--this is uncommon, but is allowed by the x86-64 spec. @mzyngier mentioned that his Opteron A1100 from 2014 would be broken, but I do not have one on hand to verify (I replied asking him to confirm whether he can reproduce the issue).
The specific problematic commit would be this one; reverting it has been verified by @andre4ik3 to fix the problem.

Ultimately whatever we do is going to have to land within the first few weeks post‐release, unless we decide to significantly delay the release for this, which seems unlikely when the main issue is on unsupported platforms and supported hardware that may be susceptible to the issue is very rare. systemd changes have to go through staging and the current staging-next cycle is already a few days late relative to the release schedule, so our only option to address this is throwing a revert of the patch into staging and waiting for the first post‐24.11 cycle to run.

https://github.com/NixOS/nixpkgs/pull/355290

I think at most we should revert the specific patch that’s at fault. It’s far too close to release to do an entire systemd rollback; we actually probably can’t ship a different systemd with the final release at all

Agreed, if this was earlier then I wouldn't reject this but at this point, we probably should only revert the specific commit in systemd. There's already a revert patch from the issue thread (https://github.com/systemd/systemd/issues/35026#issuecomment-2457322225). We probably could get that into staging-next and revert it after 24.11 branch off.

We cannot put it into staging-next, it’s way too far into the cycle. It can go into the first backport cycle after release.

Oh ok, I didn't know that. Also didn't see that comment you posted after Alyssa made the PR until I posted my comment.

Closing in favor of https://github.com/NixOS/nixpkgs/pull/355290


Why hash uses elis not if?

https://github.com/ConsenSys/mythril/blob/212110f6221475f65077ac3d480da08fd78110c9/myth#L147-L153
So if user specifies -v, the --hash will be skipped, is it expected?

Hi freewind, as far as I can see you are right about all 4 issues you posted (#84 #85 #86 #87). Would you mind creating a pull request with the fixes? :)

@b-mueller
Ok, and actually I'm doing more refactoring than the 4 issues, I can create a PR later to you for reviewing

That's awesome, thanks for your support!

Please see https://github.com/ConsenSys/mythril/pull/88. I did some basic testing as described in README, but not quite sure I did everything correct. Please contact me if you find anything need more thinking


Circle Overlapping

I am showing near 40k data and someplace circle overlapping is happening I want to see all circle separately.is there any property i can use.

Hi @ankit6883 !  Any chance you can provide a screenshot of what you're seeing?  Are you using a CircleViz?

It looks like you are asking about multiple data layers in a single map. Is that right?  This is on the roadmap for mapboxgl-jupyter but there's no support for it just yet.
I'd recommend reducing the circle radius size and decreasing the opacity if you want the invisible green points to show through.  The other thing you could do is edit the z-order of both layers so that the green points lie on top of your yellow-to-red color mapped points.  Hope that helps!  Here's how you would initialize the CircleViz with a radius of 1.0 and opacity of 0.5 (50%).
import os
from mapboxgl.utils import *
from mapboxgl.viz import *

# Must be a public token, starting with `pk`
token = os.getenv('MAPBOX_ACCESS_TOKEN')

# define "breaks" for color mapping (I just put in a generic example b/c I don't know the scale of your data)
color_breaks = [0, 10, 100, 1000]

# define color_property, the GeoJSON feature property used to assign color to the point
color_property = '???'

# initialize the MapboxGL-Jupyter map visualization, where geoShapes is a valid GeoJSON object containing point features
viz = CircleViz(geoShapes,
                color_property = color_property,
                color_stops=create_color_stops(color_breaks, colors='YlOrRd'),
                radius = 1,
                opacity=0.5,
                below_layer = 'waterway-label')

viz.show()


手机安装证书，设置代理后，无法访问https网址，http是可以的

Plese fill the template when you reporting a new issue, thanks!

用的iphone 5s
Which platform are you running AnyProxy

windows
The version of the AnyProxy

anyproxy 3
Your expected behavior of AnyProxy

The actual behavior of AnyProxy

The log of the error

received https CONNECT request www.baidu.com
==>will forward to local https server
received https CONNECT request www.baidu.com
==>will forward to local https server
received https CONNECT request www.baidu.com
==>will forward to local https server
[internal https]proxy server for www.baidu.com established
received https CONNECT request www.baidu.com
==>will forward to local https server
[internal https]proxy server for www.baidu.com established
received https CONNECT request www.baidu.com
==>will forward to local https server
received https CONNECT request www.baidu.com
==>will forward to local https server
err with request :Error: connect ETIMEDOUT <IP_ADDRESS>:80  http://clients2.google.com/service/update2?cup2key=7:4198974892&cup2hreq=36c90a8f5b2994a15e98fb81111271cb46360a4d556eb6a1873e1084692310da
received https CONNECT request gs-loc.apple.com
==>will forward to local https server
[internal https]proxy server for gs-loc.apple.com established

@xtetym
是https://www.baidu.com访问不了吗，手机浏览器上的显示是怎么样的？

我用的anyproxy 4beta版本也出现这个问题，所有的https都无法正常转发，都是will forward to local https server，但是http请求没有问题，不清楚哪里出了问题

Hi @plutofei
谢谢反馈，当https无法转发的时候，实际页面打开有无异常？
以及AnyProxy启动的命令是怎么样的，也是在windows上吗，请帮忙提供。


Fix syntax problem

Thanks so much for this @Checunmily!
I'm including your fix in #93 so it makes it into the new STRchive iteration launching shortly. Closing this PR.


build: add VSCode recommended extension for Mermaid syntax

This will automatically install the Mermaid plugin where
users accept the recommendations, allowing them to edit
the Mermaid syntax within Markdown (.md) files the same
way that GitHub already supports its previews/rendering.
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

FYI: https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid

Codecov Report

Merging #1115 (ef3e455) into main (c037ec5) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##             main    #1115   +/-   ##
=======================================
  Coverage   73.05%   73.05%
=======================================
  Files         244      244
  Lines        8557     8557
  Branches      991      991
=======================================
  Hits         6251     6251
  Misses       1778     1778
  Partials      528      528

Impacted Files
Coverage Δ

...main/typescript/rustc-container/rustc-container.ts
66.29% <0.00%> (-2.25%)
:arrow_down:

...t-tooling/src/main/typescript/common/containers.ts
75.30% <0.00%> (+0.82%)
:arrow_up:

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 c037ec5...366c630. Read the comment docs.


merging two results with plot command generate scatter graph

Question
Hi, I'm having some struggles with plot command, failed to find any related documents for this.
I expected results like the image in https://github.com/tsenart/vegeta#plot-command
But I just can't generate graph like that one.
Instead, I get scattered graph like this which is almost impossible to analyze.

I followed exact same command as the example suggests.
  echo "GET http://:80" | vegeta attack -name=50qps -rate=50 -duration=5s > results.50qps.bin
  cat results.50qps.bin | vegeta plot > plot.50qps.html
  echo "GET http://:80" | vegeta attack -name=100qps -rate=100 -duration=5s > results.100qps.bin
  vegeta plot results.50qps.bin results.100qps.bin > plot.html

Is there any other things to generate normal line graph like the image?
By the way, thanks for the great program.

Oops. There was button controlling this. closing.

Hi @aca,
Can you please add some more comments what you changed to turn your scatter plot into a line chart?
I am seeing the same problem, but I don't know which button you mean. Thank you for the additional comments!

@hanneshapke sorry for the late response.

Change the number, on the page.
Click and drag to select a region to zoom into. Double click to zoom out.
Choose a different number on the bottom left corner input field
to change the moving average window size (in data points).


allow to override --test_summary

https://bazel.build/docs/user-manual#test-summary
when running ibazel test //..., the test summary gets extremely large. I am only interested in the failed stuff when running ibazel,
so, doing ibazel test --test_output=errors --test_summary=none //..., is a good fit

Merged and a new release kicked off


No output?

I'm on macOS Sierra, running PureScript 0.11.5. The Web page doesn't seem to display anything for me.
$ pulp psci -- --port 8080
PSCi, version 0.11.5
Type :? for help

Bundling JavaScript...
Serving http://localhost:8080/. Waiting for connections...
> import Graphics.Vis.Example
> animate scene
anonymous/<@http://localhost:8080/js/index.js line 31 > Function:11:5
anonymous@http://localhost:8080/js/index.js line 31 > Function:4:2
evaluate@http://localhost:8080/js/index.js:31:5
reload/<@http://localhost:8080/js/index.js:41:30
get/<@http://localhost:8080/js/index.js:4:9

>

Are you opening the browser after the Serving http://localhost:8080/ message?

Does the browser say Connected in the console?

Yes, it does say Connected. But I see that in the console in Firefox 54.0 on macOS, before that output, there is
TypeError: navigator.webkitGetUserMedia is not a function

It works fine in Google Chrome! Could it be made portable to work on Firefox also then?

I suspect we just need a polyfill for the various names webkitGetUserMedia has. Would you be able to make a PR?
Something like
navigator.getUserMedia =
  navigator.getUserMedia ||
  navigator.webkitGetUserMedia ||
  navigator.mozGetUserMedia;

(what MDN recommends) should do it.


includePaths: ['node_modules'] doesn't work for scoped packages

source/css/style.scss:
@import<EMAIL_ADDRESS>Gruntfile.js:
module.exports = function(grunt) {
    grunt.initConfig({
            sass: {
                options: {
                    sourceMap: true,
                    includePaths: ['node_modules']
                },
                dist: {
                    files: {
                        'source/css/temp/style.css': 'source/css/style.scss'
                    }
                }
            }
    });

    // Plugins
    require('load-grunt-tasks')(grunt);

    // Tasks
    grunt.registerTask('default', ['sass']);
};

Error when grunt:
Running "sass:dist" (sass) task
>> Error: File to import not found or unreadable: @scope/package-name/style.scss
>>        Parent style sheet: D:/source/css/style.scss
>>         on line 103 of source/css/style.scss
>> >> @import<EMAIL_ADDRESS>>>    ^

When using the same package without scope, it works fine.

What's the result of dir @scope/package-name/scss?

@xzyfer You mean what's inside the scss folder?
root\node_modules\@scope\package-name\scss>dir
20.06.2016  12:59    <DIR>          .
20.06.2016  12:59    <DIR>          ..
20.06.2016  12:59               679 mixins.scss
20.06.2016  12:59            13.009 style.scss
20.06.2016  12:59             4.414 variables.scss
               3 File(s)         18.102 bytes

I got it. I've changed the includePaths value to node_modules/@scope. My includes are now relative to this path and it works.

Hmm I'm curious as to why didn't previously work. I'd like to rule out an issue with @ inside @import.

Unfortunately scoped imports don't work with v4.5.0, it just cannot find the npm package.

@anilanar did it work before v4.5.0?

@xzyfer Well right now, I'm trying to help our UI people to setup a lerna-based monorepo and I'm pretty confused.
Who owns the feature of tilde? Is it node-sass or is it webpack loaders/grunt plugins?
I assume node-sass has capability of custom importers and webpack loaders/grunt plugins implement custom importers.
So I was talking about tilde, so it's unrelated to node-sass right?

I have no idea what tilde is. If you want your import to be node_modules aware our official answer is to use eyeglass. Please take any future questions regarding eyeglass or loaders to stackoverflow or our slack (linked in to readme).

@xzyfer tilde = ~.

Thanks @XmlmXmlmX.
@anilanar as @XmlmXmlmX points out adding node_modules/@scope to your include paths should address your issue in a quick and dirty way. I suggest using eyeglass for a more robust solution.

@xzyfer That is, this problem will not be solved in node-sass, we have some problems in sass-loader for scoped packages. eyeglass seems abandoned :disappointed: I do not understand why we can't introduce this support, since it is the same as path, just contain one @character.

We need some sort of character e.g. ~ to represent the "library path" i.e. node_modules.

you can try https://www.npmjs.com/package/node-sass-tilde-importer
like so (in gulpfile)
const tildeImporter = require('node-sass-tilde-importer');
function compileSass(path, ext, file, callback) {
    let compiledCss = sass.renderSync({
        file: path,
        importer: tildeImporter,
        outputStyle: 'compressed',
    });
    callback(null, compiledCss.css);
}

I just tested it and it seems to do the job (although I didn't test it with a scoped package)

It would be good for the Sass language to infer that ~ means use your environments package resolution.
For node, adding a single node_modules to your path doesn't account for:

node_modules that may be in a parent folder (common in monorepo structures)
globally installed modules
when used with npm link

This cannot be baked into the Sass language. LibSass alone is embedded into
at least 18 different languages,each with their own packaging solution (if
one exists at all).
Additionally ~ is already an overloaded concept meaning the users home
directory.
This belongs in the realm of custom importers. A couple already exist for
your use case. I suggest looking at eyeglass, or sass-loader if you're
using webpack.
On Wed., 11 Apr. 2018, 11:51 pm Alasdair McLeay<EMAIL_ADDRESS>wrote:

It would be good for the Sass language to infer that ~ means use your
environments package resolution.
For node, adding a single node_modules to your path doesn't account for:

node_modules that may be in a parent folder (common in monorepo
structures)
globally installed modules
when used with npm link

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1596#issuecomment-380459093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWE_3dT0hyXL04Tu85clqt9wwyzyxks5tngpGgaJpZM4I4E98
.

~ is already an overloaded concept

sass-loader uses the concept that ~ without a slash is a lib import whereas ~/ is the home directory. That seems logical to me but I understand this introduces a breaking change.

I don't see a way this can be integrated into the Sass language. The
language implementation expose hooks to achieve this functionality. I
believe this is the right approach. It enables the right approach and
semantics to come out of the community.
Eyeglass is designed explicitly to solve Sass package via npm. It's fully
aware of npm's import and version conflict resolution semantics.
I encourage you to contribute, or fork that project if need be.
On Thu., 12 Apr. 2018, 12:07 am Alasdair McLeay<EMAIL_ADDRESS>wrote:

~ is already an overloaded concept
sass-loader uses the concept that ~ without a slash is a lib import
whereas ~/ is the home directory. That seems logical to me but I
understand this introduces a breaking change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1596#issuecomment-380464756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWAIx7w1ncQGXpjVKFVXFWMeWAj4Zks5tng4JgaJpZM4I4E98
.


pyproto: remove deprecated feature

Removes #[pyproto] - quite a big purge of the codebase!
Might hold off on merging this just for a little bit in case 0.17 needs some quick fixes (just to avoid the bother of having to cherry-pick).

+41 −5,308 - love to see it.
What about https://github.com/PyO3/pyo3/pull/2326#discussion_r857067605 ? You might be able to remove even more code 🙂

Maybe, you mean converting over from IntoPyCallbackOutput to IntoPyResult? If possible I'd prefer to keep logic changes to a follow-up PR, as this huge -5000 diff (:tada:) means it'll be quite hard for reviewers to see relevant logic changes.

Sounds good 👍

With 0.17.1 out I'm going to merge this now so that it's easier for us to make new changes that we were blocked on before.


Define the list of metrics we want to track

Overview
As part of the "change and observer" action plan for Celo inflation, we need to ensure that we have access to all the metrics we need to make informed decisions on the state of the network.
During our initial exploration we've used this script  as a quick way to access the relevant data. We will use this as a starting point to define the list of metrics we want to track and have access to in metabase going forward.

Column
Type
Description
Status

epoch
int
The epoch number
Can be derived

timestamp
int
Timestamp of the epoch
Can be derived

validatorRewards
bigint
Validator rewards distributed in that epoch
Can be extracted from events

voterRewards
bigint
Voter rewards distributed in that epoch
Can be extracted from events

communityFund
bigint
Community Fund rewards distributed in that epoch
Can be extracted from events

carbonOffsetFund
bigint
Carbon Offset Fund rewards distributed in that epoch
Can be extracted from events

reserveCeloBalance
bigint
Celo balance of the reserve
Available

totalLockedCelo
bigint
Amount of locked celo
Available

totalNonvotingLockedCelo
bigint
Amount of non-voting locked celo
Available

totalVotingLockedCelo
bigint
Amount of voting locked celo
totalLockedCelo - totalNonvotingLockedCelo

voitngCeloFraction
bigint
Fraction of celo voating
totalVotingLockedCelo / totalCeloSupply

totalCeloSupply
bigint
Total amount of minted celo
Available

targetTotalCeloSupply
bigint
Target minted celo according to schedule
Available

targetVotingYieldTarget
int
TargetVotingYield parameter
Not available

targetVotingYieldMax
int
TargetVotingYield parameter
Not available

targetVotingYieldAdjustmentFactor
int
TargetVotingYield parameter
Not available

rewardsMultiplier
int
Multipler that scales epoch rewards
Available

rewardsMultiplierOverspend
int
Overspend adjustment factor
Not available

rewardsMultiplierUnderspend
int
Underspend adjustment factor
Not available

rewardsMultiplierMax
int
Max rewards multiplier value
Not available

@bowd nice table. votingGoldFraction is adjusted for the reserve CELO balance, so it's: votingCeloFractionFraction = totalVotingLockedCelo/ totalCeloSupply - reserveCeloBalance. I changed that at some point in the script. Other than calculating it, the metric is also available from the EpochRewards contract as ctx.epochRewards.methods.getVotingGoldFraction()

Also thought about which variables are fixed. I think targetVotingYieldMax, rewardsMultiplierOverspend, rewardsMultiplierUnderspend, rewardsMultiplierMax are fixed. Would it make sense to reduce the data set ? Monitoring the fix parameters does not make a lot of sense, only if we would like to draw the maximum lines for some parameters in the metabase dashboard. We could discuss about that, otherwise I see no value right now in pulling them. @bowd

I take my stake on variables with a fixed value back. Might be helpful for future analysis on the topic, I guess it doesn't come at a high cost to pull them with.

Other than calculating it, the metric is also available from the EpochRewards contract as ctx.epochRewards.methods.getVotingGoldFraction()

We need to figure out a trade-off here. The way things work with eksportisto as far as I uncovered implies that it's not feasible to run data collection from the beginning of the chain anymore. This means that if we do change the schema to include this value as a view call to that function, we will only have it from the point where we deployed the new version of eksportisto. But if we instead derive this value from metrics eksportisto has already been reporting, we can add this at the "view" level. The problem with this approach is that we're re-implementing logic from the contract in the analytics layer, but I think the chance of that calculation changing is pretty small.

I take my last comment on variables with a fixed value back. Might be helpful for future analysis on the topic, I guess it doesn't come at a high cost to pull them with.

I also think having the values exposed is useful, and here we fall into the same trap as before, where we can't really re-run the logic on the full chain, but I think we can fake it by coalescing with the know historical value when computing the views, and because the historical value is static we can get away with that pretty easily.

On a meta note, we started this task from the general point of view of "let's make an exhaustive list of what to track", but after diving deeper into the specifics of our current data pipeline some limitations reared their ugly head. But from the looks of it I think we can get away with deploying eksportisto onto the existing schema (i.e. as an upgrade) and start tracking the additional columns only from the upgrade block onwards in the BigQuery collection, and then when we implement the view we can use some SQL magic to either backfill with static values, or derive metrics when possible.

The way things work with eksportisto as far as I uncovered implies that it's not feasible to run data collection from the beginning of the chain anymore.
but I think we can fake it by coalescing with the know historical value when computing the views, and because the historical value is static we can get away with that pretty easily.
and then when we implement the view we can use some SQL magic to either backfill with static values, or derive metrics when possible.
Doing some SQL magic sounds good to fill in the values. I guess that's also not a problem for changing values, as we could combine it with the data from the archive node scraper when computing the views? When we plug the historical data into BigQuery and combine that with the eksportisto real-timeish updates.

Doing some SQL magic sounds good to fill in the values. I guess that's also not a problem for changing values, as we could combine it with the data from the archive node scraper when computing the views? When we plug the historical data into BigQuery and combine that with the eksportisto real-timeish updates.

Not sure I fully follow. We won't really be plugging historical data into BigQuery. Eksportisto is the only one that writes into BigQuery, so after we update eksportisto our giant BigQuery table will have some new columns with the values that we're currently not tracking and we will start seeing data in those columns only for blocks from the time of the upgrade onwards.
But the way things work in my understanding is that we have these "sql views" which expose a virtual table derived from the contents of the giant, semi-unstructured BigQuery table. So these views are essentially a way of restructuring the unstructured data in the giant BigQuery table. And at this layer I imagine we do something like grouping the "rewardsMultiplierMax" by block to extract the row that has that value from the unstructed BigQuery table, but if we can't find a value we can default to what we know was the historical value, because if was fixed. But all future values will result from eksportisto actually inserting rows in the BigQuery table, so any change of these "historically-fixed" values will be picked up.
But we're not relying at any point on the script or the data exported by the script. I hope that makes sense.

Not sure I fully follow. We won't really be plugging historical data into BigQuery.

Oh I thought we could do that.

But we're not relying at any point on the script or the data exported by the script. I hope that makes sense.

But wouldn't it make sense to rely on the historical data exported by the script? IIUC, we could create a new BigQuery table which contains the historical data from the script. Then we could combine what we need in a view and we wouldn't need to care about the historical stuff in eksportisto data. But maybe I'm not understanding the whole pipeline well enough


[canary] Measure usage of external services that provides text generation

we use  text generation feature of external services inside:

text-generation node (core feature)
web-search node (to create search keywords)

reopen because I forgot to instrument flow-based execution


Using Persian DatePicker issues

Discussed in https://github.com/RezaShaban/MauiPersianToolkit/discussions/20

Originally posted by azadehka October 16, 2024
Hi, I am trying to use your Persian DatePicker , but when add it to my .net maui MainPage.xaml, the current persian day is invisible, like below: (persian number 24 is missing) :

Any idea why? Thanks!

The issue you reported has been resolved and the package has been uploaded to nuget.org with version 2.0.5.


Allocation of df_test processing methods

Problem
The methods maybe_add_first_inputs_to_df(), maybe_drop_first_forecasts(), and maybe_drop_added_dates() are class methods of the Model(ABC) class. In my eyes, it is not fully logical to allocate methods that edit the length of the test_df with the model class. Hence, my suggestion is to allocate them with the Experiment(ABC) class and pass the necessary model parameters as input.

Further thought: track model-dependent info for df processing as a state. Ensure comprehensive df processing as well for extrenal models. (Should not be all the sudden completely different)

Addition: consider model-conditional checking of df

closed by PR #35


Room directory should highlight the rooms you're already in

see https://github.com/vector-im/vector-android/issues/461


add initial issue templates

Add issue templates for bug report and feature request.
The templates are based on

https://github.com/hrkfdn/ncspot/tree/main/.github/ISSUE_TEMPLATE
https://github.com/jpochyla/psst/tree/master/.github/ISSUE_TEMPLATE

btw, make sure to enable the issue templates in the repository settings.

Hi @wael444, thank you for the PR. In general, it looks good to me. I only want to change a few things.
Will get back to you once I'm done with my vacation.

Merged. Thanks @wael444


Many functions seem broken on latest Joplin pre-release builds

I'm using Joplin 2.14.9 (prod, darwin) and Rich Markdown 0.13.3 and in one of the few recent pre-release versions, a lot of functionality in Rich Markdown broke. I'm not sure if this is due to some plugin architectural changes, but I see that:

Wrapping of lists no longer works

Clicking links no longer works

Inline images do work

Formatting on the fly works (headings, italic, bold etc.)

Perhaps this is a bug on my side, but any hints would be greatly appreciated :-) Thanks for the plugin!

I believe the new pre-release includes a new markdown editor. It won't be compatible with this plugin by default, but there is some work underway to add a compatibility layer. I'm not involved in that work so I don't know any exact details. I will likely update this plugin to be compatible with the new editor once it goes live.

Thanks @CalebJohn - yes, you're quite right, I had opted into the beta editor in one of the recent releases and completely forgotten about it - I've unchecked the box now, and everything is working AOK again.

This should mostly be fixed by https://github.com/CalebJohn/joplin-rich-markdown/pull/58 and https://github.com/laurent22/joplin/pull/9935.


Problem with sprites in android build.

When used in a scene with sprites, screen shows random static dots and lines or a completely blank screen.
Could be a shader compatibility issue.
Thanks a lot for this free image effect. Great effort.
Please try to fix the above mentioned issue.

I haven't maintained this repository for years. Please try Post Processing Stack from Unity. It's better, faster and well-maintained.

No, your shader works much better than unity's PPS on mobile, on 3D meshes
(PPS's 10 fps vs KinoBloom's 30+ fps). However, it messes up sprites for
some reason.
I really need this shader to work.
Thanks.
On Tue, 16 Oct 2018, 5:24 am Keijiro Takahashi<EMAIL_ADDRESS>wrote:

I haven't maintained this repository for years. Please try Post
Processing Stack from Unity
https://assetstore.unity.com/packages/essentials/post-processing-stack-83912.
It's better, faster and well-maintained.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keijiro/KinoBloom/issues/13#issuecomment-430053684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiMFJI1u9ZgtmickuQKm52xLdujU5QIjks5ulSA5gaJpZM4XdBPq
.


How to train this model qformer?

Hello!
Thank you very much for your work on implementing qformer!
I am interested in training qformer and was wondering if there are any plans to release the code?
Thank you.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Hi, did you solved this problem? I'm also very interested in qformer, could you tell me how to use it? Thanks a lot!

@qingxinxia
No, I have not explored anything specifically related to qformer after leaving this question. I apologize for not being able to help.


Authorization header not being sent - console app

I was trying to create a console app to send a message to a user using the connector client (from the Microsoft.Bot.Builder <IP_ADDRESS> NuGet package) - just to learn how to initiate a message.
As soon as I called Conversations.CreateDirectConversation it failed with an UnauthorizedAccessException ("Authorization for Microsoft App ID xx-xx-xx-xx-xx failed with status code Forbidden").
Looking at the HTTPS request in Fiddler there was no Authorization header being sent.
As a workaround I am calling MicrosoftAppCredentials.TrustServiceUrl(serviceurl) which then means the Authorization header is sent when I call CreateDirectConversation.
Is this part of the intended design (and therefore is the documentation missing this)?
using System;
using System.Threading.Tasks;
using Microsoft.Bot.Connector;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var fromAccount = new ChannelAccount("106zxxxxxxx50910", "markbbcbot");
            var toAccount = new ChannelAccount("109286xxxxxxxx6300", "Mark Rawson");
            var serviceUri = new Uri("https://facebook.botframework.com");

            var connector = new ConnectorClient(serviceUri);

            MicrosoftAppCredentials.TrustServiceUrl(serviceUri.AbsoluteUri);

            var conversation = connector.Conversations.CreateDirectConversation(fromAccount, toAccount);

            IMessageActivity message = Activity.CreateMessageActivity();
            message.From = fromAccount;
            message.Recipient = toAccount;
            message.Conversation = new ConversationAccount() {Id = conversation.Id};
            message.Text = "I have reached the other side.";

            connector.Conversations.SendToConversation((Activity) message);
        }
    }
}

I believe that normally Service URLs are marked as trusted when an incoming activity arrives.
But as you point out, for creating conversations, you likely have to explicitly call "trust service url" first.  It does seem like a documentation bug.  Is that correct @msft-shahins ?

@rawsonm88 Would you like to keep this issue open? If not I will close it since there has been no activity since 2 January.

@rawsonm88 Are you still experiencing the issue after upgrading to BotBuilder 3.8.1?


VS2017 support for PR #129

In https://github.com/aspnet/EntityFramework6/commit/2978bf45da521e3da07eebeaef09ef6c6310e1d0 @bricelam checked in the setup changes which support the changes to the layout of the NuGet packages for PR #129.
This issue is to track the changes that will be needed to support the same changes for VS2017 (probably just the same changes in the NuGetPackages.wxs for the SingletonMSI).

Already checked in - see commits 26a753f and e3b97e.


Actions: Dump action list (...): remove empty first line

fixes #1666

:white_check_mark: Build sws 782-master completed (commit https://github.com/reaper-oss/sws/commit/e4c0091244 by @nofishonfriday)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-dump-action-list-remove-empty-first-line-e4c00912.exe

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-dump-action-list-remove-empty-first-line-e4c00912.exe

macOS x86 64-bit

build/sws-<IP_ADDRESS>-Darwin-x86_64-dump-action-list-remove-empty-first-line-e4c00912.dmg

macOS x86 32-bit

build/sws-<IP_ADDRESS>-Darwin-i386-dump-action-list-remove-empty-first-line-e4c00912.dmg

macOS ARM 64-bit

build/sws-<IP_ADDRESS>-Darwin-arm64-dump-action-list-remove-empty-first-line-e4c00912.dmg

Linux x86 64-bit

build/sws-<IP_ADDRESS>-Linux-x86_64-dump-action-list-remove-empty-first-line-e4c00912.tar.xz

Linux x86 32-bit

build/sws-<IP_ADDRESS>-Linux-i686-dump-action-list-remove-empty-first-line-e4c00912.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-dump-action-list-remove-empty-first-line-e4c00912.tar.xz

Linux ARM 32-bit

build/sws-<IP_ADDRESS>-Linux-armv7l-dump-action-list-remove-empty-first-line-e4c00912.tar.xz


Adapter not updating items correctly

About this issue
When clearing the adapter, adding a new item, and then notifying of a data set change, the displayed item does not change. Instead, the existing item disappears (as expected), and then reappears, unchanged. This change probably wouldn't even be visible if I didn't have animateLayoutChanges enabled.
Code to reproduce
fastItemAdapter.clear()
fastItemAdapter.add(new CustomItem())

Followed by any of
fastItemAdapter.notifyDataSetChanged()
fastItemAdapter.notifyAdapterDataSetChanged()
fastItemAdapter.notifyItemChanged(0);

I also tried notifying of dataset change after clear AND after add, but that doesn't work either.
Details

[3.3.1] Used library version

Referring to public int getType() in the custom Item definition?

https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/items/AbstractItem.java#L43
the identifier, which is the identifier the RV uses. by default the IdDistributor will assign a unique ID. Just to ensure that this is also the case for you, or that you provide your own unique id.
(That's the value returned here for the adapter: https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html#getItemId(int) )

With this code, the item does not update
    @Override
    public long getIdentifier(){
        return voucher.hashCode();
    }

    @Override
    public int getType() {
        return R.id.voucher_list_item_id;
    }

With this code, the item does update
    @Override
    public int getType() {
        return voucher.hashCode();
    }

Do you have multiple items with the same type id?
The type must be unique per item type.

No. Each item type has its own unique id. I'm using android resources to assign a unique id
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item name="voucher_list_item_id" type="id" />
</resources>

Also, this recycler view only displays one type of item.

@lbenedetto hmmm perhaps you can provide a sample (or do modifications in the sample app of the library) to showcase the issue?

Sure. I actually discovered an even simpler case to reproduce.
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        RecyclerView recyclerView = findViewById(R.id.recyclerView);
        recyclerView.setLayoutManager(new LinearLayoutManager(this));

        ItemAdapter<CustomItem> itemAdapter = new ItemAdapter<>();
        FastAdapter fastAdapter = FastAdapter.with(itemAdapter);
        recyclerView.setAdapter(fastAdapter);

        itemAdapter.add(new CustomItem(String.valueOf(System.currentTimeMillis())));
        itemAdapter.add(new CustomItem(String.valueOf(System.currentTimeMillis() + 99999)));

        //False: itemAdapter.getAdapterItem(0).getIdentifier() == itemAdapter.getAdapterItem(1).getIdentifier()
        // Yet the first item is repeated in the recycler twice
    }

Here is a simple Android Studio project you can use to reproduce it.
FastAdapterBug.zip

There is no guarantee that the hashCode of the string is unique. This is not an bug inside this library.

Ah, I see. Sorry about that.


feat(@angular/cli): add flag to control chunk naming

Followup to #6881
Allow controlling chunk naming via the --named-chunks flag, which can be set on .angular-cli.json as well.
Defaults to true in development, false in production.
Fix #6999

Good catches @antonybudianto, thanks!


Cascade: Soft-Delete Children Records

Laravel Version: 9+
PHP Version:8.1
Database Driver & Version:MySql(Laragon)

Description:
Laravel softdelete does not work in the case when there is One to Many relationship exists . Let assume my case when a Column has many Cards and Cards belongs to Column.
The Card is implementing the softdelete way but parent either implements or not but in my case the parent is not implementing it ,just the children is implementing it.And in children migration we are using the softDeletes to have deleted_at.
When we delete any Column,then all its relevant children(cards) must be deleted and its working fine but they are not getting softDeleted instead they are deleted like forceDelete.
I hope I have correctly explained the issue.
Steps To Reproduce:

To support my issue see the following details as well
https://blog.quickadminpanel.com/one-to-many-with-soft-deletes-deleting-parent-restrict-or-cascade/
Many people using this package for it.
https://github.com/michaeldyrynda/laravel-cascade-soft-deletes

Hi there, this is currently the expected behavior. If you would like to have a different behavior you can attempt a PR, thanks.


Need to fix update the certificates in tests

not actual
https://github.com/AlexeyOs/GoodCourses/commit/f189b51cdb1e0c54febdcc269f39dcf5c84c3d86


Rotation bug

react-cropper is applying default rotation 0 even if no rotation value is provided. This brakes when image has exif rotation. Rotation should not be applied unless provided. I'll create a PR.
https://github.com/react-cropper/react-cropper/blob/d5f5a36d7adc9fac6ba6bbc3cd5b96deb737117a/src/react-cropper.tsx#L35

push! 👍

Updated

the new beta release has this fix.
Please check.


Enable setting auth on wants

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

25 of 47 (53.19%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 29.586%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

background/syncwants.go
25
47
53.19%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
850

Relevant Lines:
2873

💛  - Coveralls


"queue:retry all" documented, but no 5.1.* tag exists with the supporting code

I just found out about the "all" argument for the "queue:retry" command from reading the documentation for 5.1:
http://laravel.com/docs/5.1/queues#retrying-failed-jobs
I'm on 5.1.20, which doesn't have that ability when I try it from artisan.  I then checked each of the later 5.1.* tags to see if any of them do, which they don't either.
I don't know that this is a code issue per-se, but it's at least confusing when the documentation doesn't line up with any released version.

Yes, it's an upcoming feature, that'll be available in 5.1.25.


Resume upload after program restart - Issue #749

Provide the capability for the ResumableUpload class to resume the
upload that was in-progress when an upload program has halted and is
subsequently restarted.
Within ResumableUpload, a UploadSessionData() Event is called when an UploadUri is created to allow the application to save the UploadUri to persistent storage.
Overloaded the Resume() and ResumeAsync() functions with the addition of
an UploadUri parameter to allow resuming an upload after a program
restart.

Chris, are you okay to review this while I'm on vacation?

Thanks for the changes.
The ContentStream is updated in PrepareNextChunkKnownSize(), but doesn't appear to be handled correctly in PrepareNextChunkUnknownSize().
On resuming an unknown-length ContentStream, the first chunk to be sent will call PrepareNextChunkUnknownSize() with BytesClientSent == 0 and BytesServerReceived >= 0
If BytesServerReceived is greater than 0, then won't ResumableUpload.cs line 696 cause copyBytes to be -ve causing an exception in the BlockCopy in next line?

Rather than push another commit immediately, I would like your reaction to my proposed solution for the "unknown-length ContentStream" issue. Instead of attempting to implement resuming an upload after program restart for non-seekable streams, I propose to leave that feature unimplemented. I only need resuming an upload after program restart for seekable streams. Is it acceptable to only implement the capability that I need and leave it to someone else to implement resuming an upload after program restart for non-seekable streams if they need that feature?
My previous proposed change in ResumeableUpload.cs:
        public async Task<IUploadProgress> ResumeAsync(CancellationToken cancellationToken, Uri uploadUri)
        {
            // When called with uploadUri parameter of non-null value, the UploadUri is being
            // provided upon a program restart to resume a previously interrupted upload.
            if (uploadUri != null)
            {
                Logger.Info("Resuming after program restart: UploadUri={0}", uploadUri);
                UploadUri = uploadUri;
                StreamLength = ContentStream.CanSeek ? ContentStream.Length : UnknownSize;
            }

My new proposed change to address the "unknown-length ContentStream" issue:
        public async Task<IUploadProgress> ResumeAsync(CancellationToken cancellationToken, Uri uploadUri)
        {
            // When called with uploadUri parameter of non-null value, the UploadUri is being
            // provided upon a program restart to resume a previously interrupted upload.
            if (uploadUri != null)
            {
                if (ContentStream.CanSeek)
                {
                    Logger.Info("Resuming after program restart: UploadUri={0}", uploadUri);
                    UploadUri = uploadUri;
                    StreamLength =  ContentStream.Length;
                }
                else
                {
                    throw new NotImplementedException("Resume after program restart not allowed when .CanSeek is false");
                }

Yes, that will be fine.
Please also update the relevant docs to state that resuming on program restart is only supported when using a seekable ContentStream.
Thank you.

Thank you. I'm going to get a test or two for this, then merge it. Hopefully in the next couple of days.

I will revise my ResumableUpload.Sample programs and create a pull request for them when I return home this weekend.

I revised the two ResumableUpload.Sample.xx programs to demonstrate resuming an upload after a program restart and created Pull Request #9 for google-api-dot-net-client-samples.

Thanks for the samples.
Quick update on this PR: I've added some tests and moved it to #756. The travis testing has been giving some problems, so it'll still be a day or two whilst I sort things out.
I hope to get this complete and committed within a week.

Thanks for your efforts on this.

Closing, as this has been merged as part of PR #756.
I expect this will be released to nuget Tuesday next week.


Nested When() not working

Hello, I have following pace of code:
WhenAsync(async (instance, t) => (await myMethod()).Type == ClassType.Type1, () =>
            {
                RuleFor(n => n.SerialNumberRange).NotNull()
                    .DependentRules(() =>
                    {
                        When(n => n.Merchant?.Data?.PostalBarcodeConstructID == 3, () =>
                        {
                            RuleFor(n => n.SerialNumberRange.Data.From).GreaterThanOrEqualTo(1);
                            RuleFor(n => n.SerialNumberRange.Data.To).GreaterThanOrEqualTo(99999999999);
                        });
                        When(n => n.Merchant?.Data?.PostalBarcodeConstructID == 4, () =>
                        {
                            RuleFor(n => n.SerialNumberRange.Data.From).GreaterThanOrEqualTo(1);
                            RuleFor(n => n.SerialNumberRange.Data.To).GreaterThanOrEqualTo(9999999);
                        });
                    });
            });

which fails with following error:
at FluentValidation.Internal.PropertyRule.<>c__DisplayClass75_1.<<ApplySharedAsyncCondition>b__0>d.MoveNext() in C:\Projects\FluentValidation\src\FluentValidation\Internal\PropertyRule.cs:line 518 --- End of stack trace from previous location where exception was thrown --- at FluentValidation.Internal.PropertyRule.ValidateAsync(ValidationContext context, CancellationToken cancellation) in C:\Projects\FluentValidation\src\FluentValidation\Internal\PropertyRule.cs:line 357 at FluentValidation.Internal.PropertyRule.RunDependentRulesAsync(ValidationContext context, CancellationToken cancellation) in C:\Projects\FluentValidation\src\FluentValidation\Internal\PropertyRule.cs:line 429 at FluentValidation.Internal.PropertyRule.ValidateAsync(ValidationContext context, CancellationToken cancellation) in C:\Projects\FluentValidation\src\FluentValidation\Internal\PropertyRule.cs:line 397 at FluentValidation.AbstractValidator1.ValidateAsync(ValidationContext1 context, CancellationToken cancellation) in C:\Projects\FluentValidation\src\FluentValidation\AbstractValidator.cs:line 146 at NewgisticsApp.BL.Provision.Engine.Validation.Validators.Base.ValidatorBase1.ValidateAsync(ValidationContext1 context, CancellationToken cancellation)
Looks like this issue is similar to this one https://github.com/JeremySkinner/FluentValidation/issues/982
but I'm running version 8.1.3 so it should be fixed. Maybe this is because I use WhenAsync()?

You haven't filled in any details of the issue you're running into. Please edit the post and include the requested information.

Hi. What's the exception message? You've posted the stacktrace which is helpful, but I need to see the exception message too.
Please can you also ensure the code is formatted and readable. Github uses 3 backticks to format code blocks

Sorry I forgot about that.
Error Message is : Object reference not set to an instance of an object.

Can you upgrade to the latest release please (8.4.0) and see whether that helps. If not, then please provide a test case that I can run to reproduce the problem. Thanks.

Upgrading to version 8.4.0 solved this issue. Thank you!


preserve casing in generated docs page slugs

right now these get lowercased which makes the links less readable

@Ocupe next.js URLs are already case sensitive (see https://docs.livekit.io/reference/components/react/component/audiotrack/ which works, but https://docs.livekit.io/reference/components/react/component/AUDIOTRACK/ is a 404), this just applies a more appropriate casing.

@bcherry  I see my mistake now. I meant to say that I don't like the look of urls with non-uppercase characters. But as I said, that is just my taste.

From what I see, most reference docs maintain casing exactly as is in the original language:
React's own docs keep original casing: https://react.dev/reference/react/useDeferredValue Python generated docs also keep casing, but its more of a mess anyways: https://docs.livekit.io/python/livekit/agents/stt/fallback_adapter.html#livekit.agents.stt.fallback_adapter.AvailabilityChangedEvent and typedoc keeps casing too https://docs.livekit.io/client-sdk-js/enums/KeyProviderEvent.html
two exceptions I found are swift/apple, which are all lowercase: https://developer.apple.com/documentation/avfoundation/avplayer/init(playeritem:)
and kotlin/android, which are indeed kebab-case https://docs.livekit.io/components-android/livekit-compose-components/io.livekit.android.compose.state.transcriptions/remember-participant-transcriptions.html
I'm fine with going to kebab case here if that's what people prefer, but I don't love the current all lowercase...

Thanks for listing some examples from other docs, I appreciate the overview!
My feeling is that most people don't really care about this, so why change it when we have the burden of backwards compatibility on the docs site?
That being said, and because I don't have a strong opinion (just a slight dislike :P), I'll leave the decision up to you.


Interval Server Error after installation

After installing addchat and adding the appropriate code to the PHP of my homepage as directed, I don't see a chat widget.  I just see the original homepage.  In the console I see this error:

addchat.min.js:21 POST http://localhost:3000/addchat_api/get_config 500 (Internal Server Error)

Any idea what might be the problem?

Hi, make sure you've added this same base_url in application/config/config.php

$config['base_url'] = 'http://localhost:3000/';

Same error.


Create user questionaire

Need to create a google forms questionaire for the users to feedback on.

Now created and published here
https://forms.gle/miMNJ23fRvWC4rk8A


French translation

Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[x] There's a clear use-case for this code change, explained below
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run yarn test:all and yarn lint)

We appreciate your contribution!

🤖 Generated by Copilot at f177a45
This change adds French translations for the signup form messages in the file ghost/i18n/locales/fr/signup-form.json. This improves the user experience for French-speaking visitors who want to sign up for Ghost.

#16931 ^^

Hey @jeremielondon, I've just merged https://github.com/TryGhost/Ghost/pull/16931, which was opened just before this PR 🙂 If you fancy checking out that PR and leaving a comment/opening a new PR with refinements, that'd be great 🙂


Add: Solution for forward proxy server

Added Solution to forward proxy server challenge.
Link to challenge: https://codingchallenges.fyi/challenges/challenge-forward-proxy
Link to solution: https://github.com/chinmayagrawal775/forward_proxy
Solution very slightly differs from actual challange.
Like in chanllege, we have a step to restrict specific words. I have implemented it, but commented out that section for HTTPs request.
Also added some extra things, like threadpooling, profiling server.
Might be added in future:
Analytics DB, clickhouse or duckdb
Demo link: https://x.com/Chinmay_775/status/1836065734100726046

This needs to be linked from the main list too.


verify_id_token jwt base64.b64decode Incorrect padding

verify_id_token is properly splitting the jwt encoded string, but it isn't handling token components that aren't padded well.
verify_id_token should handle this and add padding as needed

It seems like _helpers.py:padded_urlsafe_b64decode() is working properly.
Issue is coming from base64.urlsafe_b64decode().

Digging deeper, it is coming from binascii.a2b_base64(s) in base64.b64decode(). In this case, len(s) = 300, which IS a multiple of 4.

Does my encoded JWT contains chars that are not in the "URL-safe base-64 alphabet"?  For context, I'm following https://firebase.google.com/docs/auth/admin/verify-id-tokens.

@crunk1 It seems that jwt is using the padded variant to deal with this, so I'm not sure what you're seeing this. Can we get the full stack trace? Do you mind sharing an expired jwt that can reproduce? (You can send this to me privately - my email is in my profile).

It's unusual, the issue just went away. I'm not sure what happened. I don't think I changed anything.

Hmm, well if it shows up again please save the token that caused it and we
can see about fixing it.
On Tue, Oct 3, 2017, 1:27 PM Scott Crunkleton<EMAIL_ADDRESS>wrote:

It's unusual, the issue just went away. I'm not sure what happened. I
don't think I changed anything.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-auth-library-python/issues/202#issuecomment-333968090,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc5OlL3drZ1HCWbHevdnry_6ZpxrJks5sopjIgaJpZM4PqT8Y
.

@jonparrott @crunk1 I just ran into this error today and my token seems fine. From my research on Stack Overflow it says it's a known firebase bug. Can someone here please confirm?

Not that I know of. Can you link to the stackoverflow thread? If you have a token you can share to help with this I would love to see it - my email is in my profile.
/cc @samtstern

@jonparrott  Here are some posts from Stack Overflow:

Firebase Admin cannot verify custom tokens
Firebase ID Token has incorrect audience

@jonparrott So is there a workaround on this issue? I've been stuck for days now.

I really do not know, this library is a lower-level than Firebase. I would suggest opening an issue on the FIrebase Admin SDK.

Sure, I'll do that. Thanks

Thanks for chiming in, @samtstern!

Thanks for for the clarification @samtstern , just wrote a blog post on this, should in case some one has this same problem the future. It's on medium


Several components use gem-track-click module by default

There are a number of components that have the gem-track-click module hard coded into them. This provides tracking functionality for standard clicks.
We had a recent issue where the inability to disable this in a component led to duplicate tracking occurring on a smart answer results page. The issue was fixed by another means, but it left me wondering if having gem-track-click hard coded into components is a good idea or not.
I'm not suggesting we immediately remove it from all components and undergo the laborious task of wrapping every instance of a component that needs it with a div with the gem-track-click module, but a few thoughts occur.

we could not include gem-track-click by default but allow it to be passed to components in a similar way to how data attributes are currently passed
we could have an option to enable/disable the use of the gem-track-click module where it is already in use

Raising mainly for discussion - as a community we should agree on a future strategy.
Full list of components that currently have the module hard coded:

breadcrumbs
contents list
cookie banner
image card (although it only gets activated if data attributes are passed to the component)
layout footer
layout super navigation header
metadata
organisation logo (although it only gets activated if data attributes are passed to the component)
previous and next navigation
search
share links
single page notification button
step by step nav header
step by step nav related
subscription links (although it only gets activated if data attributes are passed to the component)
translation nav (although it only gets activated if data attributes are passed to the component)
contextual sidebar
layout header
related navigation

Note for further investigation: the details component guide page has an error message relating to gem-track-click in the console, which appears to be caused by this line in the code, which assumes the analytics code exists (it doesn't in the component guide).


Disabled flaky test

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15880/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15880/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15880/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15880/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15880/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15880/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15880/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15880/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15880/merge/testResults/webgpuplaywright/index.html


Proposal: render math formulas

Hello,
As I understand it, the topic of Haddock being able to render math formulas in a pretty way comes up sometimes. There are several ways to tackle this issue:

use graphviz (like doxygen)
write a pure haskell implementation of mathtex;
use a client side library like MathJax

I would like to start a discussion whether there is any interest in tackling this issue. Personally, I think the MathJax way might be the most pragmatic since it renders everything purely client side: you will not have any additional dependencies for rendering the HTML, and the only thing that is required is including some javascript library and generating proper javascript when math expressions are encountered in haddock markup.
I would be interested in the point of view of the maintainers of haddock on this issue.

As MathJax is well-established by now, I think that'd be the fastest/easiest way to get us nicely rendered math-formulas... What markup-syntax on the Haddock side would you suggest for dropping into math-mode? Maybe simply $f(x) = x$ like in TeX?

So yes, it does come up frequently. Straight away I think we can abandon the idea that we'll render the formulas ourselves due to extra dependencies and whatnot.
As usual with these proposals, there's a question ‘can every backend do something reasonable with it?’. This question is mostly why we don't allow inlining HTML.
But in this case yes, I think we can do reasonable things. We can render in both HTML (somehow) and LaTeX, and just leave as-is in Hoogle.
I think mathjax is the way to go here. Downside is that it requires JavaScript to be enabled but in that case I think it's OK for the users to just see the formula.
So in the end I'd have no problem with such a feature.
Regarding syntax, I'd like to use $foo$ but I fear the clash between named blocks. What do you think?

Then maybe $$f(x) = x$$ instead?

$$...$$ actually means something in latex. E.g.
$$
\begin{aligned}
\mathbb{C}[X_u, X_t \,\vert\, X_0 = x_0] &=
\mathbb{E}\Bigg[\Bigg( \sigma\int_0^u e^{-\beta(u - s)}\mathrm{d}W_s  \Bigg)
                \Bigg( \sigma\int_0^t e^{-\beta(t - s)}\mathrm{d}W_s  \Bigg)\Bigg] \\
&=
\sigma^2e^{-\beta(u + t)}
\mathbb{E}\Bigg[\Bigg(\int_0^u e^{\beta s}\mathrm{d}W_s\Bigg)
          \Bigg(\int_0^t e^{\beta s}\mathrm{d}W_s\Bigg)\Bigg] \\
&=
\sigma^2e^{-\beta(u + t)}
\mathbb{E}\Bigg[\Bigg(\int_0^t e^{\beta s}\mathrm{d}W_s + \int_t^u e^{\beta s}\mathrm{d}W_s\Bigg)
          \Bigg(\int_0^t e^{\beta s}\mathrm{d}W_s\Bigg)\Bigg]
\end{aligned}
$$

but maybe the $$...$$ is not necessary when using mathjax?

The $$ would be for Haddock's markup (and would be translated into whatever mathjax needs to see)

Is this doable at Zurihac?

Hm, I don't see why not. As long as the person hacking it doesn't get bogged down on trying to  decide for best syntax or something, it should certainly be doable.
There are extra administrative issues such as probably having to bump interface file versions and package versions but those can just be ignored, I can handle them aftewards.

Here's an example of what I'd like to be able to do (using mathjax)

I am trying to understand how to modify haddock. Just loading it into ghci took some effort
haddock/haddock-api $ ghci -isrc -i../haddock-library/src -idist/build/autogen -package ghc -optP-include -optPdist/build/autogen/cabal_macros.h

The .ghci file already does that for you.

That's what I hoped but I get
Prelude> :l src/Haddock.hs
:l src/Haddock.hs

src/Haddock.hs:66:8:
    Could not find module ‘GHC’
    It is a member of the hidden package ‘ghc-7.10.1’.
    Use -v to see a list of the files searched for.

It's not clear how we should handle . It would be nice to be able to write e.g.
where $$a = \pi r^$$

but I think at the moment we need to write
where $$a = \\pi r^$$

This is irksome as it means you can't just copy paste latex from an existing document.

You'll have to not use takeUntil that we define because that automatically deals with \ You still have to consider escaped $.
We're probably not be keeping the $$ syntax in the end by we'll see.

@Fuuzetsu what do you think of the syntax \( ... \) as suggested by @bkaes  in https://github.com/haskell/haddock/pull/397#issuecomment-102759967 ?

@hvr I have done both.

@idontgetoutmuch :cake:  :-)

Very excited, I will begin using this as soon as the feature is released!

Thanks to other people, this has been achieved in #465


[master]Update query params docs

Fixes https://github.com/wso2/docs-ei/issues/1573

why do we need WSO2-REST-KerberosAuth-Handler-1.0.0-SNAPSHOT.jar?

why do we need WSO2-REST-KerberosAuth-Handler-1.0.0-SNAPSHOT.jar?

Seems to be added by mistake. Will remove.


ion-select Material Design issues

Ionic 2
I've created a plunker http://plnkr.co/edit/dJGow1?p=preview
There are two issues
Issue 1 - Disabled text not changing color:

Click on Type and select any one option other than empty
Again click on Type and select empty
Brand's empty text was not changing to disabled color.

Issue 2 - Values overlapping:

Click on Type and select any one option other than empty
Click on Brand and select any one option other than empty
Again click on Type and select empty
Brand values were getting overlapped

These issues were not in ios styles.

I'm going to close this as I am no longer able to reproduce it using the latest version 2.1.0. If you are still seeing this issue please let me know. Thanks!


Added depends to plugin.xml for multi-platform support

Updated the plugin.xml to work with WebStorm.  I have only been able to test with WebStorm 11, but it works great.

I'll have to test it in other products but thanks for the pull request!

Doesn't work anymore since I have Java related actions, I have to split the plugin.xml file.

Closing this one this is too old (recent code in master-all-product)


Order ID displayed in 'My orders' identical to the order ID in Magento

What is the motivation for adding / enhancing this feature?

Currently, order ID displayed in 'My orders' is different from order ID in Magento. It is confusing for the customer when he sees one order ID in 'My orders' and gets a different one in the email order confirmation from Magento.
What are the acceptance criteria

[ ] Order ID displayed in My orders is the same as in Magento Orders list.

Can you complete this feature request by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[x] This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] (Pick this option only if you're sure) This is an important improvement request for current Release Candidate version on https://next.storefrontcloud.io and should be placed in next RC version. In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] (Pick this option only if you're sure) This is a critical improvement request for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version. In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Additional information

@mdesmet @pkarw we need to add the correct Order ID on the order summary page as well

HI Gabi, I mentioned that open issue on the fix indeed. I'll have a look at it tomorrrow, must be not too hard to fix.

@mdesmet Great! Thank you :)

@mdesmet please just change the orderData.entity_id to orderData.increment_id and You’re there

@pkarw : from what I remember it was more complicated, the magento api returns only the internal id (see o2m.js).

You might be right...

I don't really have time now to solve it right now, working on another project but here is my analysis:
We would have to extend the magento2-rest-client with support for retrieving the order based on the increment id returned by the order creation endpoint. See this Stack exchange with the solution: https://magento.stackexchange.com/questions/210000/retrieve-entity-id-from-rest-api-using-order-id
Then we can call this api in the o2m.js and change the bakendOrderId to the correct order id.

shouldnt this be more of a cosmetic then a functional change?
vue-storefront is intended to connect with different systems, and its common that an Order has an entity ID, but exposes a different ID to the customer, which often allows more flexibility.
So it may make sense, that vue-storefront adds a new property to differentiate between entity_id and shown order_id

I wish it was just a cosmetic change but the response from the order endpoint only returns the internal increment id, no other properties, so we have to get the external order id somewhere else. IMHO the analysis still stands.

Thanks @Flyingmana !

@Flyingmana I'm testing this solution on the branch develop and still order id on the thankyou page is different than in my orders

i've spoken with Gabi, i merged that to separate branch to faster merge that huge abount of PRs, no worries here :)

@patzick: I meant to comment on this one, actually this change doesn't work as orderData.increment_id is not defined at that point. We have to fetch it from magento api. @Flyingmana  is on it already.

added this fetch via https://github.com/DivanteLtd/vue-storefront-api/pull/258

@Flyingmana could you look at this feature request #3082  ? :)


How to stop the fans?

I can't seem to find a way to stop the fans. The obvious setDutyCycle(0) doesn't work.
In forums I've read that you can turn it off by switching pin mode to OUTPUT and digitalWrite(pin, LOW).
But I don't know what effect that would have while this libraries code is running (problems along the line, how to start the fans again?)
I would highly appreciate if someone could implement a method stop() and maybe restart()

Just started to use this library.  It's great, but I can't stop the fans either.  Closest I can get is ~5% without side effects.  Any chance there is a fix in the works?  Thanks!

You can use another input and a mofset as mentioned in this other diagram.
You only need the mofset part
https://github.com/sker65/esphome-fan-controller


Trigger auto-relogin when requested, updated some dependencies

@osvso What bug / problem is this change related to? Can you add some "description" to the PR?