text:
Plotting problem in S5 using Polynomial and Step

Instrument
Light curve fitting (Stages 4-6)
What happened?
I'm using the WASP-39b ERS NIRSpec dataset, and I'm trying to fit a polynomial and step to it. I put values into the S5 fit_par file, and tried a couple different combinations of clipping the unbinned and binned time series in S4, as well as fitting for just c0 versus fitting for c0, c1, step0, and steptime0. I've tried: both clips false and fit for only c0, clip unbinned false and binned true and fit for only c0, both clips false and fit for all the parameters, clip unbinned false and binned true and fit for all parameters.
I also printed out hist_values, and it looks completely empty for some reason.
Error traceback output
Traceback (most recent call last):
  File "/Users/sarahstamer/Desktop/Grad/2024-2025/Research/WASP-39b_Eureka_Analysis/DataAnalysis/JWST/WASP-39b_Code_From_S3/run_eureka.py", line 32, in <module>
    meta = s5.fitlc(eventlabel, ecf_path=ecf_path)
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/eureka/S5_lightcurve_fitting/s5_fit.py", line 432, in fitlc
    meta, params = fit_channel(meta, time, flux, 0, flux_err,
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/eureka/S5_lightcurve_fitting/s5_fit.py", line 850, in fit_channel
    lc_model.fit(model, meta, log, fitter='emcee')
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/eureka/S5_lightcurve_fitting/lightcurve.py", line 179, in fit
    fit_model = self.fitter_func(self, model, meta, log, **kwargs)
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/eureka/S5_lightcurve_fitting/fitters.py", line 448, in emceefitter
    plots.plot_res_distr(lc, model, meta, fitter='emcee')
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/eureka/S5_lightcurve_fitting/plots_s5.py", line 662, in plot_res_distr
    n, bins, patches = plt.hist(hist_vals, alpha=0.5, color='b',
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/matplotlib/pyplot.py", line 3440, in hist
    return gca().hist(
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/matplotlib/__init__.py", line 1473, in inner
    return func(
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/matplotlib/axes/_axes.py", line 7001, in hist
    m, bins = np.histogram(x[i], bins, weights=w[i], **hist_kwargs)
  File "<__array_function__ internals>", line 200, in histogram
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/numpy/lib/histograms.py", line 780, in histogram
    bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights)
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/numpy/lib/histograms.py", line 426, in _get_bin_edges
    first_edge, last_edge = _get_outer_edges(a, range)
  File "/opt/miniconda3/envs/eureka/lib/python3.10/site-packages/numpy/lib/histograms.py", line 323, in _get_outer_edges
    raise ValueError(
ValueError: autodetected range of [nan, nan] is not finite

What operating system are you using?
MacOS Sonoma 14.6.1
What version of Python are you running?
Python 3.10.14
What Python packages do you have installed?
# packages in environment at /opt/miniconda3/envs/eureka:
#
# Name                    Version                   Build  Channel
alabaster                 1.0.0                    pypi_0    pypi
asciitree                 0.3.3                    pypi_0    pypi
asdf                      3.4.0                    pypi_0    pypi
asdf-astropy              0.6.1                    pypi_0    pypi
asdf-coordinates-schemas  0.3.0                    pypi_0    pypi
asdf-standard             1.1.1                    pypi_0    pypi
asdf-transform-schemas    0.5.0                    pypi_0    pypi
asdf-wcs-schemas          0.4.0                    pypi_0    pypi
asteval                   1.0.2                    pypi_0    pypi
astraeus                  0.3                      pypi_0    pypi
astropy                   6.1.2                    pypi_0    pypi
astropy-healpix           1.0.3                    pypi_0    pypi
astropy-iers-data         0.2024.8.19.0.32.16          pypi_0    pypi
astroquery                0.4.7                    pypi_0    pypi
astroscrappy              1.2.0                    pypi_0    pypi
asttokens                 2.4.1                    pypi_0    pypi
attrs                     24.2.0                   pypi_0    pypi
babel                     2.16.0                   pypi_0    pypi
backports-tarfile         1.2.0                    pypi_0    pypi
batman-package            2.4.9                    pypi_0    pypi
bayesicfitting            3.2.1                    pypi_0    pypi
beautifulsoup4            4.12.3                   pypi_0    pypi
bokeh                     2.4.3                    pypi_0    pypi
bottleneck                1.4.0                    pypi_0    pypi
bzip2                     1.0.8                h6c40b1e_6
ca-certificates           2024.7.2             hecd8cb5_0
ccdproc                   2.4.2                    pypi_0    pypi
celerite                  0.4.3                    pypi_0    pypi
certifi                   2024.7.4                 pypi_0    pypi
cftime                    1.6.4                    pypi_0    pypi
charset-normalizer        3.3.2                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
cloudpickle               3.0.0                    pypi_0    pypi
contourpy                 1.2.1                    pypi_0    pypi
corner                    2.2.2                    pypi_0    pypi
crds                      11.18.1                  pypi_0    pypi
cycler                    0.12.1                   pypi_0    pypi
dask                      2024.8.1                 pypi_0    pypi
decorator                 5.1.1                    pypi_0    pypi
dill                      0.3.8                    pypi_0    pypi
docutils                  0.21.2                   pypi_0    pypi
drizzle                   1.15.3                   pypi_0    pypi
dynesty                   2.1.4                    pypi_0    pypi
emcee                     3.1.6                    pypi_0    pypi
eureka                    0.10                     pypi_0    pypi
exceptiongroup            1.2.2                    pypi_0    pypi
executing                 2.0.1                    pypi_0    pypi
exotic-ld                 3.2.0                    pypi_0    pypi
fasteners                 0.19                     pypi_0    pypi
filelock                  3.15.4                   pypi_0    pypi
fonttools                 4.53.1                   pypi_0    pypi
fsspec                    2024.6.1                 pypi_0    pypi
future                    1.0.0                    pypi_0    pypi
george                    0.4.3                    pypi_0    pypi
gwcs                      0.21.0                   pypi_0    pypi
h5netcdf                  1.3.0                    pypi_0    pypi
h5py                      3.11.0                   pypi_0    pypi
html5lib                  1.1                      pypi_0    pypi
idna                      3.7                      pypi_0    pypi
imageio                   2.35.1                   pypi_0    pypi
imagesize                 1.4.1                    pypi_0    pypi
importlib-metadata        8.4.0                    pypi_0    pypi
iniconfig                 2.0.0                    pypi_0    pypi
ipython                   8.26.0                   pypi_0    pypi
jaraco-classes            3.4.0                    pypi_0    pypi
jaraco-context            6.0.1                    pypi_0    pypi
jaraco-functools          4.0.2                    pypi_0    pypi
jedi                      0.19.1                   pypi_0    pypi
jinja2                    3.1.4                    pypi_0    pypi
jmespath                  1.0.1                    pypi_0    pypi
jsonschema                4.23.0                   pypi_0    pypi
jsonschema-specifications 2023.12.1                pypi_0    pypi
jwst                      1.11.4                   pypi_0    pypi
keyring                   25.3.0                   pypi_0    pypi
kiwisolver                1.4.5                    pypi_0    pypi
lazy-loader               0.4                      pypi_0    pypi
libffi                    3.4.4                hecd8cb5_1
lmfit                     1.3.2                    pypi_0    pypi
locket                    1.0.0                    pypi_0    pypi
markupsafe                2.1.5                    pypi_0    pypi
matplotlib                3.9.2                    pypi_0    pypi
matplotlib-inline         0.1.7                    pypi_0    pypi
more-itertools            10.4.0                   pypi_0    pypi
ncurses                   6.4                  hcec6c5f_0
netcdf4                   1.6.5                    pypi_0    pypi
networkx                  3.3                      pypi_0    pypi
numcodecs                 0.13.0                   pypi_0    pypi
numpy                     1.24.4                   pypi_0    pypi
numpydoc                  1.8.0                    pypi_0    pypi
opencv-python-headless    4.10.0.84                pypi_0    pypi
openssl                   3.0.14               h46256e1_0
packaging                 24.1                     pypi_0    pypi
pandas                    2.2.2                    pypi_0    pypi
parsley                   1.3                      pypi_0    pypi
parso                     0.8.4                    pypi_0    pypi
partd                     1.4.2                    pypi_0    pypi
pexpect                   4.9.0                    pypi_0    pypi
photutils                 1.13.0                   pypi_0    pypi
pillow                    10.4.0                   pypi_0    pypi
pip                       24.2            py310hecd8cb5_0
pluggy                    1.5.0                    pypi_0    pypi
poppy                     1.1.1                    pypi_0    pypi
prompt-toolkit            3.0.47                   pypi_0    pypi
psutil                    6.0.0                    pypi_0    pypi
ptyprocess                0.7.0                    pypi_0    pypi
pure-eval                 0.2.3                    pypi_0    pypi
pyerfa                    2.0.1.4                  pypi_0    pypi
pygments                  2.18.0                   pypi_0    pypi
pyparsing                 3.1.2                    pypi_0    pypi
pysynphot                 2.0.0                    pypi_0    pypi
pytest                    8.3.2                    pypi_0    pypi
python                    3.10.14              h5ee71fb_1
python-dateutil           2.9.0.post0              pypi_0    pypi
pytz                      2024.1                   pypi_0    pypi
pyvo                      1.5.2                    pypi_0    pypi
pyyaml                    6.0.2                    pypi_0    pypi
readline                  8.2                  hca72f7f_0
referencing               0.35.1                   pypi_0    pypi
reproject                 0.14.0                   pypi_0    pypi
requests                  2.32.3                   pypi_0    pypi
rpds-py                   0.20.0                   pypi_0    pypi
scikit-image              0.24.0                   pypi_0    pypi
scipy                     1.9.3                    pypi_0    pypi
semantic-version          2.10.0                   pypi_0    pypi
setuptools                72.1.0          py310hecd8cb5_0
setuptools-scm            8.1.0                    pypi_0    pypi
six                       1.16.0                   pypi_0    pypi
snowballstemmer           2.2.0                    pypi_0    pypi
soupsieve                 2.6                      pypi_0    pypi
spherical-geometry        1.3.2                    pypi_0    pypi
sphinx                    8.0.2                    pypi_0    pypi
sphinxcontrib-applehelp   2.0.0                    pypi_0    pypi
sphinxcontrib-devhelp     2.0.0                    pypi_0    pypi
sphinxcontrib-htmlhelp    2.1.0                    pypi_0    pypi
sphinxcontrib-jsmath      1.0.1                    pypi_0    pypi
sphinxcontrib-qthelp      2.0.0                    pypi_0    pypi
sphinxcontrib-serializinghtml 2.0.0                    pypi_0    pypi
sqlite                    3.45.3               h6c40b1e_0
stack-data                0.6.3                    pypi_0    pypi
stcal                     1.4.4                    pypi_0    pypi
stdatamodels              1.7.2                    pypi_0    pypi
stpipe                    0.7.0                    pypi_0    pypi
stsci-image               2.3.9                    pypi_0    pypi
stsci-imagestats          1.8.3                    pypi_0    pypi
stsci-stimage             0.2.9                    pypi_0    pypi
svo-filters               0.4.4                    pypi_0    pypi
tabulate                  0.9.0                    pypi_0    pypi
tifffile                  2024.8.10                pypi_0    pypi
tk                        8.6.14               h4d00af3_0
tomli                     2.0.1                    pypi_0    pypi
toolz                     0.12.1                   pypi_0    pypi
tornado                   6.4.1                    pypi_0    pypi
tqdm                      4.66.5                   pypi_0    pypi
traitlets                 5.14.3                   pypi_0    pypi
tweakwcs                  0.8.8                    pypi_0    pypi
typing-extensions         4.12.2                   pypi_0    pypi
tzdata                    2024.1                   pypi_0    pypi
uncertainties             3.2.2                    pypi_0    pypi
urllib3                   2.2.2                    pypi_0    pypi
wcwidth                   0.2.13                   pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
wheel                     0.43.0          py310hecd8cb5_0
wiimatch                  0.3.2                    pypi_0    pypi
xarray                    2024.7.0                 pypi_0    pypi
xz                        5.4.6                h6c40b1e_1
zarr                      2.18.2                   pypi_0    pypi
zipp                      3.20.0                   pypi_0    pypi
zlib                      1.2.13               h4b97444_1

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi Sarah, at present I don't have enough information to troubleshoot this with you.
First, please carefully look at all of the log statements and output plots made in Stages 3-5 which might help you to troubleshoot the problem yourself. For example, are all of the error bars equal to zero for some reason, was the Stage 3 or 4 MAD value NaN for some reason, do the priors for all your Stage 5 fitted parameters make sense, etc.
If that isn't sufficient, please next look at the Solution Manual to Hands-on Session II (SSW2023_Workshop2_NIRSpec_Solutons.ipynb) which I made for the 2023 Sagan Summer Workshop. I tried to explain all the relevant steps and settings for the participants of that workshop, and I used the same NIRSpec G395H transit of WASP-39b dataset for that tutorial.
Finally, if you're convinced that you're doing everything right and that there is a bug with Eureka! itself, please attach your Stages 1-5 ECFs and EPF so that I can try to reproduce your issue myself.

So I just updated Eureka and made the changes in the ecf's first with the edits that my data needed for SSW, and then went through the newest control files and added anything that I didn't have before. After the masking of the bad columns in S4, it gives this error:
Traceback (most recent call last):
File "/Users/sarahstamer/Desktop/Grad/2024-2025/Research/WASP-39b_Eureka_Analysis/DataAnalysis/JWST/WASP-39b_Code_From_S3/run_eureka.py", line 30, in
spec, lc, meta = s4.genlc(eventlabel, ecf_path=ecf_path)
File "/Users/sarahstamer/Desktop/Grad/2024-2025/Research/WASP-39b_Eureka_Analysis/Eureka/src/eureka/S4_generate_lightcurves/s4_genLC.py", line 304, in genlc
index = np.where(spec.optmask.x == w)[0][0]
IndexError: index 0 is out of bounds for axis 0 with size 0
I'm not sure how I was able to get past this before, but I haven't seen anyone get this error.

Hi @sstamer23, I still don't have much to go off of to help troubleshoot this. If you have carefully looked through all your Stage 3 figures and your Stage 4 ECF and everything seems good as far as you can tell, then please copy-paste the contents of you Stage 3 and 4 ECFs into this thread so that I can help figure out what is going on.

Eureka! Control File for Stage 3: Data Reduction
ncpu        1           # Number of CPUs
nfiles      1           # The number of data files to analyze simultaneously
max_memory  0.5         # The maximum fraction of memory you want utilized by read-in frames (this will reduce nfiles if need be)
indep_batches   False       # Independently treat each batch of files? Strongly recommended to leave this as False unless you have a clear reason to set it to True.
suffix      calints     # Data file suffix
calibrated_spectra  False   # Set True to generate flux-calibrated spectra/photometry in mJy
# Set False to convert to electrons
Subarray region of interest
ywindow         [0,28]      # Vertical axis as seen in DS9
xwindow         [0,1272]   # Horizontal axis as seen in DS9
src_pos_type    gaussian    # Determine source position when not given in header (Options: header, gaussian, weighted, max, or hst)
record_ypos     True        # Option to record the y position and width for each integration (only records if src_pos_type is gaussian)
dqmask          True        # Mask pixels with an odd entry in the DQ array
expand          1           # Super-sampling factor along cross-dispersion direction
Outlier rejection along time axis
ff_outlier      False       # Set False to use only background region (recommended for deep transits)
# Set True to use full frame (works well for shallow transits/eclipses)
bg_thresh       [10,10]     # Double-iteration X-sigma threshold for outlier rejection along time axis
Background parameters
bg_hw           7           # Half-width of exclusion region for BG subtraction (relative to source position)
bg_deg          0           # Polynomial order for column-by-column background subtraction, -1 for median of entire frame
bg_method       mean        # Options: std (Standard Deviation), median (Median Absolute Deviation), mean (Mean Absolute Deviation)
p3thresh        2.5         # X-sigma threshold for outlier rejection during background subtraction
Spectral extraction parameters
spec_hw         5           # Half-width of aperture region for spectral extraction (relative to source position)
fittype         meddata     # Method for constructing spatial profile (Options: smooth, meddata, poly, gauss, wavelet, or wavelet2D)
median_thresh   5           # Sigma threshold when flagging outliers in median frame, when fittype=meddata and window_len > 1
window_len      1           # Smoothing window length, for median frame or when fittype = smooth or meddata (when computing median frame). Can set to 1 for no smoothing when computing median frame for fittype=meddata.
prof_deg        3           # Polynomial degree, when fittype = poly
p5thresh        10          # X-sigma threshold for outlier rejection while constructing spatial profile
p7thresh        15          # X-sigma threshold for outlier rejection during optimal spectral extraction
G395H curvature treatment
curvature       correct     # How to manage the curved trace on the detector (Options: None, correct). Use correct for NIRSpec/G395.
Diagnostics
isplots_S3      4           # Generate few (1), some (3), or many (5) figures (Options: 1 - 5)
nplots          5           # How many of each type of figure do you want to make per file?
vmin            0.98        # Sets the vmin of the color bar for Figure 3101.
vmax            1.02        # Sets the vmax of the color bar for Figure 3101.
time_axis       'y'         # Determines whether the time axis in Figure 3101 is along the y-axis ('y') or the x-axis ('x')
testing_S3      False       # Boolean, set True to only use last file and generate select figures
hide_plots      True       # If True, plots will automatically be closed rather than popping up
save_output     True        # Save outputs for use in S4
save_fluxdata   False       # Save FluxData outputs for debugging or use with other tools (can be quite large files)
verbose         True        # If True, more details will be printed about steps
Project directory
topdir     /Users/sarahstamer/Desktop/Grad/2024-2025/Research/WASP-39b_Eureka_Analysis/Data/JWST-Sim/NIRSpec/WASP-39b_Data_From_S3
Directories relative to project dir
inputdir     /calints
outputdir	 /Stage3
Eureka! Control File for Stage 4: Generate Lightcurves
SSW Code for Spectroscopic Lightcurves
Number of spectroscopic channels spread evenly over given wavelength range
nspecchan       50      # Number of spectroscopic channels
compute_white   True    # Also compute the white-light lightcurve
wave_min        3.9     # Minimum wavelength
wave_max        5.1     # Maximum wavelength
wave_input      None        # Full path to a txt file with pre-defined wavelength bins in two columns separated by whitespace.
allapers        False   # Run S4 on all of the apertures considered in S3? Otherwise will use newest output in the inputdir
BONUS step - mask bad columns
mask_columns    [298, 363, 680, 704, 1103, 1121, 1141, 1142, 1607,] # Manually masking pixel columns by index number
Parameters for drift correction of 1D spectra
recordDrift     False    # Set True to record drift/jitter in 1D spectra (always recorded if correctDrift is True)
correctDrift    False   # Set True to correct drift/jitter in 1D spectra (not recommended for simulated data)
Parameters for sigma clipping
clip_unbinned   False   # Whether or not sigma clipping should be performed on the 1D time series
clip_binned     True    # Whether or not sigma clipping should be performed on the 1D time series
sigma           4       # The number of sigmas a point must be from the rolling median to be considered an outlier
box_width       5       # The width of the box-car filter (used to calculated the rolling median) in units of number of data points
maxiters        20      # The number of iterations of sigma clipping that should be performed.
boundary        fill    # Use 'fill' to extend the boundary values by the median of all data points (recommended), 'wrap' to use a periodic boundary, or 'extend' to use the first/last data points
fill_value      mask    # Either the string 'mask' to mask the outlier values (recommended), 'boxcar' to replace data with the mean from the box-car filter, or a constant float-type fill value.
Limb-darkening parameters needed to compute exotic-ld
compute_ld      False
Options for ExoTiC-LD
metallicity     0.1     # Metallicity of the star
teff            6000    # Effective temperature of the star in K
logg            4.0     # Surface gravity in log g
exotic_ld_direc /home/User/exotic-ld_data/ # Directory for ancillary files for exotic-ld, download from: https://zenodo.org/doi/10.5281/zenodo.6047317
exotic_ld_grid  stagger # You can choose from kurucz (or 1D), stagger (or 3D), mps1, or mps2 model grids, or custom (to use custom_si_grid below)
custom_si_grid  /home/User/path/to/custom/stellar/intensity/profile  #Custom Stellar Intensity profile. For examples see Eureka/demos/JWST/Custom_Stellar_Intensity_Files
exotic_ld_file  /home/User/exotic-ld_data/Custom_throughput_file.csv # Custom throughput file, for examples see Eureka/demos/JWST/Custom_throughput_files
Options for SPAM
spam_file       /home/User/spam-ldcoeff-u1-u2.txt # Pre-generated file of SPAM limb-darkening values at high resolution
Diagnostics
isplots_S4      3       # Generate few (1), some (3), or many (5) figures (Options: 1 - 5)
vmin            0.98
vmax            1.02
time_axis       'y'
hide_plots      True   # If True, plots will automatically be closed rather than popping up
verbose         True    # If True, more details will be printed about steps
Project directory
topdir     /Users/sarahstamer/Desktop/Grad/2024-2025/Research/WASP-39b_Eureka_Analysis/Data/JWST-Sim/NIRSpec/WASP-39b_Data_From_S3
Directories relative to project dir
inputdir     /Stage3
outputdir	 /Stage4
The one thing I haven't been able to figure out yet is the xwindow and ywindow in S3, as the ones I have are the only ones that won't give me an IndexError.

Oh, one thing I forgot to ask earlier is whether you're working on the NIRSpec PRISM or the NIRSpec G395H observations of WASP-39b. If you're working on the PRISM data, are you only working on the relevant NRS1 files or did you accidentally include any of the NRS2 files? And if you're working on the G395H observations, did you separately run Stages 3+ on NRS1 and separately run Stages 3+ on NRS2; the G395H data falls on two separate detectors which must be treated independently for Stages 3-6. If you've accidentally been including both detectors at the same time, then you can adjust the suffix ECF parameter in Stage 3 to be nrs1_calints and output those into a NRS1-specific folder by setting the outputdir parameter to something like nrs1/Stage3 and then do the equivalent thing for NRS2.
If you're confident you've done all that correctly, can you please also upload the Fig 3101 image that would've been output during your Stage 3 analysis?

I split them up into NRS1 and NRS2, here are the two output figures.

It looks like there's an issue with the curvature correction. Can you share that plot too?

I suggest trimming the edges where there is no flux, but that probably won't help elsewhere.

I tried some window adjustments along with some other minor changes, and it seems to work now. Thanks for all the help!


text:
Difficult to override default tags

Hey!
Since https://github.com/kevinmarrec/nuxt-pwa-module/commit/faa5ad639e8d675403199fbb191ccc2b18e8f3d8, it is not possible to override the correct meta tags without providing the hid. I think and hid (or better - key) is only necessary for tags which can appear multiple times, like the image.

I think that any tag should be able to be overriden with usages of useHead.
hid is probably the best to be based on for meta tags, but key is still relevant for links as it's different from metas.
Do you have any idea of improvement ?

Hey @kevinmarrec
Firstly, nice job on the module.
I'd recommend not using hid or key for deduping. All meta tags will be deduped automatically for you. This also allows users to override them easily.
By providing a hid you are actually allowing these tags to be duplicated

Without hid there has been an issue where Nuxt useHead wouldn't override the one set by this module, hid is required for SSR isn't it ? I may miss some best practice usage of head/seo/meta functions.

@manniL Do you have any idea how to make it better while not breaking stuff ? Is it about removing hid from some meta tags that are not relevant to be overridden ?

Without hid there has been an issue where Nuxt useHead wouldn't override the one set by this module, hid is required for SSR isn't it ? I may miss some best practice usage of head/seo/meta functions.

This isn't a Nuxt 3.0 stable issue, you may have experienced it with one of the early RCs though.
You can read further about the logic here: https://unhead.harlanzw.com/guide/guides/handling-duplicates

@manniL Is this still an issue ?

I'll have a look when I'm back from holiday 😋

@manniL Cool thank you !

@manniL Sorry to bother you but would you mind making a quick PR to showcase your comment ? 🙏🏻

@kevinmarrec Sure! Please assign me to the issue and I'll give it a spin when I can 😋

@manniL Thank you very much, no rush 😉

This would solve it
function addMetaProperty (head: NuxtAppHead, property: string, content: string | number | boolean) {
-  head.meta.push({ hid: property, property, content })
+  head.meta.push({ property, content })
}

@harlan-zw Thanks! No worries at all 😋

source: gharchive/issue

authors: harlan-zw kevinmarrec manniL

repo: kevinmarrec/nuxt-pwa-module

license: MIT

license_type: permissive

license_source: github-api


text:
Need Python 3 version of this library. No longer builds due to lack of use_2to3

use_2to3 has been removed from setuptools after version 58. No longer builds nor gets installed via pip or otherwise. Breaks any projects that depend on it.
Users downgrading setuptools or making python3 version is the only solution.
If the maintainers are still active, someone can try making an MR which upgrades this to Python3. Or create a new fork Python3 instead otherwise.

The package doesnt even work

Try the fork https://github.com/hdl/pyHDLParser (I don't know why they renamed the repository)
pip install --upgrade https://github.com/hdl/pyhdlparser/tarball/master
pip install --upgrade https://github.com/hdl/symbolator/tarball/master

authors: Anutrix gastmaier rsar97

repo: kevinpt/hdlparse

license: mit

license_source: bigquery


text:
How to Add A Value for Y-Axis On Bar Chart

How Can I Add A Value for Y-Axis On Bar Chart. Thank you.

Store the labels for y axis in yLabels array which is public variable in PNChart library and then display it according to the logic.
1.create the interval you want to display on y axis .
2. den add label.text="interval"
3.build and run

thank you.

Welcome :)
Do you know how to refresh the view for reloading PNLinechart?

repo: kevinzhow/PNChart


text:
🛑 FX corretor (kty) is down

In 593f823, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in e5fedfd after 6 minutes.

repo: keviocastro/upptime


text:
🛑 FX corretor (kty) is down

In 7c2d0ec, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in e1e1f42 after 5 minutes.


text:
🛑 FX ALPHA (kty) is down

In 9e45bb7, FX ALPHA (kty) (https://alpha.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX ALPHA (kty) is back up in 27d833c.


text:
🛑 FX blog (kty) is down

In 22a2021, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 20d2d5a after 6 minutes.


text:
🛑 FX blog (kty) is down

In 63d2040, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in cd9af16 after 6 minutes.


text:
🛑 FX blog (kty) is down

In c71cf3d, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 95f4e27 after 12 minutes.


text:
🛑 FX blog (kty) is down

In 2272487, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in b63ab29 after 9 minutes.


text:
🛑 FX blog (kty) is down

In ac4ba7c, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 4bee321 after 9 minutes.


text:
🛑 FX corretor (kty) is down

In d9bcbb4, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 2a82911 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 3611a63, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 9ff2bc1 after 10 minutes.


text:
🛑 FX corretor (kty) is down

In dc5b459, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in b49f0e1 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In f4357df, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1fbebc0 after 7 minutes.


text:
🛑 FX blog (kty) is down

In 3317ae0, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 5dbc6eb after 6 minutes.


text:
🛑 FX blog (kty) is down

In f6a9739, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 4b20da3 after 9 minutes.


text:
🛑 FX blog (kty) is down

In fbdb776, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in c6188e3 after 32 minutes.


text:
🛑 FX corretor (kty) is down

In ec16354, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 68947ee after 29 minutes.


text:
🛑 FX blog (kty) is down

In 61d1f89, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 6884816 after 30 minutes.


text:
🛑 FX corretor (kty) is down

In b167050, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in a2e6b0a after 8 minutes.


text:
🛑 FX corretor (kty) is down

In b3dec30, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 6d1fceb after 31 minutes.


text:
🛑 FX blog (kty) is down

In 749aa24, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 9db9fe9 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 658b6d7, FX blog (kty) (https://blog.foxterciaimobiliaria.com.br) was down:

HTTP code: 503
Response time: 452 ms

Resolved: FX blog (kty) is back up in c80f5ff after .


text:
Option to stop wheel from spinning when created.

Is your feature request related to a problem? Please describe.
I want to start spinning with   a button but wheel starts spinning when I create it.
Describe the solution you'd like
Option to chose if wheel shall spin when created.

Found it !


text:
Scrubbing annotations as well

Adding support to remove annotations from loggs along with environment
variables.
Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

@ambarve @anmaxvl @dcantah @katiewasnothere @kevpar ptal

source: gharchive/pull-request

repo: kevpar/cri


text:
Add gryffyn.io

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: gryffyn.io
  url: https://gryffyn.io
  size: 57.2
  last_checked: 2022-07-16

GTMetrix Report: https://gtmetrix.com/reports/gryffyn.io/DL5r3brR/

Thanks for adding your site!
On my own behalf:
I just started a new, similar project, darktheme.club, and I think your site would fit there quite nicely. If you want, you're free to add it!

authors: garritfra gryffyn


text:
cleanup the cache flush story

previous, we observed in CI, that it's possible to shut a cache down twice on logout
this cleaner story should prevent that, and also cleans up the code a little bit.
just watch out for certain tests that want reset caches while preserving cache properties

cc: @AMarcedone

cc @mmaxim  on the new fixes to gregor on backgroundConvLoader

repo: keybase/client


text:
Signup part 5

This pr

[x] addresses some visual feedback from @cecileboucheron
[x] fixes some things from parts 1-4 from @akalin-keybase and @buoyad
[x] introduces a new util/saga helper to deal withe rpcs that return puts as promises (all the validation logic)
[x] Checks all errors at every step of the way to be very careful about the state of the signup flow

Full width buttons on desktop should be 40px high: https://zpl.io/VkKl3Jg
Inputs are now sticking to the edges on mobile, let's have some 40px left/right paddings
Avatar still too close to the blue label on mobile
Mobile avatar seems to be an odd size, can it be the 128px one (seems like the desktop one is fine)
Not worth spending too much time but inputs and button's edges should be aligned ideally.

[ ] device error not plumbed through

@buoyad @cecileboucheron updated

Looks good to me - except that error code 201 I sent you.

the 201 was unrelated to this pr

@keybase/react-hackers this is ready

cool lemme fix that, annoying that signup and provison share this little bit of code

@akalin fixed

I still want another thumb but in prep I'm going to merge down so ci passes. If you review you can use these prs or look at the merge down

authors: cecileboucheron chrisnojima


text:
forward xdg_download_dir in linux

Problem is systemd (I think) doesn't forward env variables to its processes for security, so pass in XDG_DOWNLOAD_DIR explicitly. Jack says (in comment) it should be done by default on Arch but it wasn't working for me, and wouldn't work on older Ubuntus anyway.

No, we do. I actually added in the XDG support a while ago but was confused why it was working in dev but not in packaged version. It's because (I believe) systemd doesn't pass all environment variables to its processes by default, other than, according to Jack, Xsessions on some new OSes. So this forwards the variable into the GUI process.

ref: https://github.com/keybase/keybase-issues/issues/3296


text:
If we close the window, we also release the dock icon

@keybase/react-hackers
Fixes: https://keybase.atlassian.net/browse/DESKTOP-846
We listen for the close event on the main window to hide it and release the dock icon, this was calling close and circumventing that.

so closing it doens't do anything like clear out the js running on it? we need it 'living' for rpcs and such right

yeah it doesn't kill anything.
An alternative to this is to listen for hide events and duplicate the dockIcon hiding logic there (same as close)
but I vaguely remember the hide event not consistently firing, so I prefer not to trust that.

:+1:

authors: MarcoPolo chrisnojima


text:
Error thing

@maxtaco idk, kinda fun, not yet saving lines of code nor headaches

Simpler, uses PickFirstError now


text:
Search V3 in Chat

I'll do a writeup on what these changes are in a bit
What's still missing:

[x] Add Follow states to search results & pills
[ ] Search suggestions List
[x] Hook up Show tracker
[x] ~Select the first result~ We'll do this in another PR

:no_entry: Error rendering the commits c1b0bff75bb1...8afbb6454607 on linux. :mag_right: 3 errored, 1 changed

Error in 8afbb6454607: Search_V_3_results_List-keybase_Results_One-ERROR

Error in 8afbb6454607: Search_V_3_results_List-keybase_Results-ERROR

Error in 8afbb6454607: Search_V_3_results_List-facebook_Results-ERROR

Changed: Tracker-New_user_Scroll_1 (before) (after)

:no_entry: Error rendering the commits f93390454599...7b8894ce2f2b on linux. :mag_right: 3 errored, 1 changed

Error in 7b8894ce2f2b: Search_V_3_results_List-keybase_Results_One-ERROR

Error in 7b8894ce2f2b: Search_V_3_results_List-keybase_Results-ERROR

Error in 7b8894ce2f2b: Search_V_3_results_List-facebook_Results-ERROR

Changed: Tracker-New_user_Scroll_1 (before) (after)

The commits f93390454599...27fca9e3781a introduce visual changes on linux. :mag_right: 4 changed

Changed: Tracker-New_user_Scroll_1 (before) (after)

Changed: Search_V_3_results_List-keybase_Results_One (before) (after)

Changed: Search_V_3_results_List-keybase_Results (before) (after)

Changed: Search_V_3_results_List-facebook_Results (before) (after)

authors: MarcoPolo keybase-ci-visdiff


text:
generate join messages for all paths, fix inbox removals, and display join/leave message CORE-5788

Patch does the following:
1.) Moves join/leave code into helper.go so we can access it easier. Invoke that code when auto joining a conversation by sending a message.
2.) Change how we store left conversations in local inbox to keep the record, just just set reader status to LEFT and filter them out in applyQuery.
3.) Render join/leave messages in thread view in GUI.
4.) Use correct userid when doing auto join code in BlockingSender.Send.

The commits b9d66953ffea...17c960d63334 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

The commits 1b625f2a228d...cdf31e5a2f26 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

authors: keybase-ci-visdiff mmaxim


text:
folder_branch_ops: don't panic when there are no dirty refs!

Issue: KBFS-1332
Issue: KBFS-1446

👍

authors: aalness strib

repo: keybase/kbfs


text:
High CPU utilization with only command keys?

Not sure if this is to be expected or not, but i'm seeing high CPU utilization when doing heavy shortcut work while programming.

On Mac OSX Mojave and i've checked the option "display only command keys". Additionally, i've tried to turn off the fade effect as I understand that may have an impact on performance, nothing seems to solve the problem.
If I send commands back-to-back, I even see CPU spikes up to 400%.
Any ideas? Let me know if I need to provide any additional details.
EDIT:
Looks like this issue ONLY occurs with the default visualizer. The Svelte one doesn't seem to have this problem.

is this simply about the app appearing in the list of apps consuming significant energy? or was this only noticed in a specific case -- default visualizer and command keys only?
I seem to recall that a significant portion of CPU utilization is incurred when managing the animation of the bubble views' positions, but it's been a while since I focused on it in the profiler. If you have any ideas and are interested in contributing, a PR would be most welcome here
but I also think this is due at least in part to the app requiring high-performance GPU on devices capable of GPU switching. It's something we need to address, because I don't think it's really needed, it's simply a legacy of the age of this codebase (10 years!)

Sorry I think my edit got in a little late. This is ONLY noticed with the default visualizer, not the Svelte one. (The svelte didn't go past 7% CPU no matter how much I hammered on the keys).
I do have a newer macbook pro that has a discreet GPU, but i'm mostly seeing high CPU %, not GPU%.
In terms of contributing, i'd like to, but also have no experience with Objective C. If there is a hotspot in the codebase where you think it would be prudent to look, I can certainly take a stab at it.

authors: akitchen alex-hall

repo: keycastr/keycastr


text:
Configurable timeout

Very regularly the provider fails with Unable to create client due to a Client.Timeout being exceeded.
This seems to happen after 10s. Could the timeout be configurable? I am using the official Keyfactor API, not anything self-hosted so there's nothing I can do about improving performance to this endpoint myself.
Thanks

I typically get this error the first time I run a terraform command after ~24 hrs, then on the subsequent runs everything seems fine, I'll look into adding additional timeout time resolves this.

@djk this hasn't been added as a configurable but v2.0.0 will retry a few times if it hits that error. Let me know if you are still hitting this issue, and it'll get added as configurable in the next release.

@spbsoluble Thanks! Will give it a shot when I can!

authors: djk spbsoluble


text:
Investigate porting to github actions

Would be useful to move to github actions eventually, but we might need to see whats possible first.
using github actions we can pull in a container from our own registry for example quay
This might need an enhancement if its large enough

fancy a go at this @elfosardo when your plate is bit more clear?

@mpeters the migration was done some time ago (https://github.com/keylime/enhancements/issues/18), so I think this can be closed.

authors: THS-on lukehinds

repo: keylime/keylime


text:
codestyle: Type-annotate secure_mount.py

Signed-off-by: Stefan Berger stefanb@linux.ibm.com

@THS-on Done.


text:
🛑 진주경찰서 (Jinju Police Station) is down

In ebc9ed3, 진주경찰서 (Jinju Police Station) (http://www.gnpolice.go.kr/jj/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 진주경찰서 (Jinju Police Station) is back up in 42fd0bc after 5 minutes.

repo: keywordnew/jinju-watchtower


text:
🛑 진주경찰서 (Jinju Police Station) is down

In 00562c0, 진주경찰서 (Jinju Police Station) (http://www.gnpolice.go.kr/jj/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 진주경찰서 (Jinju Police Station) is back up in 54ce296 after 6 minutes.


text:
🛑 Joplin Cloud is down

In 05eda52, Joplin Cloud (https://joplincloud.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Joplin Cloud is back up in e64f24e after 6 minutes.

repo: keywordnew/uptime-for-joplin


text:
🛑 Telus Communications Inc is down

In b319b58, Telus Communications Inc (https://www.telus.com/en) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telus Communications Inc is back up in edc7f3b.

repo: keywordnew/vancouver-watchtower


text:
🛑 Western Uusimaa Police Department is down

In 76991d7, Western Uusimaa Police Department (https://poliisi.fi/tee-rikosilmoitus) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Western Uusimaa Police Department is back up in fb7ef27 after 13 minutes.

repo: keywordnew/vantaa-watchtower


text:
add a post about optimization of disk usage for animint

@kferris10 I add  a post to summarize the work of https://github.com/tdhock/animint/pull/76. I also upload it to my personal blog.

Nice work.  I think that I added you as a collaborator so you should be able to make changes if you want to write posts in the future.


text:
Enable sender-chosen noise length.

Enable a sender-determined noise length, to better protect against length analysis while continuing to protect against the known-plaintext attack described in issue #2.
The basic plan, which involves inner headers, is described in the comment added in commit 04974c7fed.

Closing.  If someone makes a good case why this is needed, we can re-open.

repo: kfogel/OneTime


text:
tests/proofs: update proofs submodule

add bihu proof
add ds-token proof
reorganize directory structure
increase jvm memory to 5GB for kprove

@ehildenb the last commit looks good to me. thanks!

Jenkins: test this please

repo: kframework/evm-semantics


text:
Rule auditing should report sorts on match failure

Trying to fix up imp++ in kore, I had a failed rule application which was reporting that some term coluldn't unify against a variable S:Block, but the term was built from a label which was only declared in Block. It turns out by debugging that the object was assigned sort KItem because some terms inside of it had the wrong sorts. It would be useful to provide more information about why the term had the wrong sort.

This is actually pretty tricky. The computeSort algorithm may not necessarily ever run during the audit itself; the term may have already had its sort computed by that point. I think the ideal solution would be to annotate all the subterms in the term being printed with their sort. It shouldn't be too terribly hard to implement, but I have no idea when I will get to it because it's not at all high priority from the perspective of the company at the moment.

Can't you report the sort information the Java backend keeps about its terms?

Yeah I mean, that's what I meant.

authors: bmmoore dwightguth

repo: kframework/k


text:
kernel/BinaryLoader: Workaround for a FST bug causing OverlappingFileLockException

Commit 1 is just refactoring.
Commit 2 is the actual fix.

I did. Changing only what's needed.


text:
Add Subterms attribute for TermLike

Part of #2454
Needs #2607

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

This can't be done without introducing a cycle in attribute synthesis.

repo: kframework/kore


text:
Dx9 stuttering.

Dx9 version of Allegiance...ie builds >R4, have introduced stuttering which is most apparent online.  http://www.freeallegiance.org/forums/index.php?showtopic=71818

We don't know if the culprit is Dx9 or something else.
We need more details/tests to fully understand the problem.
Test & Explain more in http://www.freeallegiance.org/forums/index.php?showtopic=71818

standby for now.

authors: BigBetaTester kgersen

repo: kgersen/Allegiance


text:
Add salt to UID generator

Ref

https://nanopay.atlassian.net/browse/NP-4667

Changes

Add salt to UIDGenerator to encode extra info eg. daoName or modelName to assist global ID search

@jlhughes @kgrgreer please review.


text:
Issue on eBanking and mobileBanking payment preference

Describe the bug
Throws ImageStreamListener error while navigating to eBanking or mobileBanking tab and whole app freezes.
To Reproduce
Steps to reproduce the behavior:

Enable PaymentPreference.eBanking or PaymentPreference.mobileBanking preferences using KhaltiScope.of(context).pay(preferences: []).
Tap on eBanking or mobileBanking tab.
ImageStreamListener exception thrown from image.dart

Device Information (please complete the following information):

Device: Android emulator (android 11.0)

Additional context
Error may have been thrown as there are some thumbnails images missing for few banks. Proper inclusion of image thumbnail may help.

This is KPG-v1 and this version of SDK is no longer maintained and already in the deprecation schedule.
Please upgrade to KPG-v2 checkout version
https://github.com/khalti/checkout-sdk-flutter

authors: acpmasquerade solarurja

repo: khalti/khalti-flutter-sdk


text:
🛑 Apanova is down

In 4a05590, Apanova (https://www.apanovabucuresti.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apanova is back up in 059fc18 after 9 minutes.


text:
WIP: Flow Diagram Thumbnails

#3923

This pull request introduces 3 alerts when merging 630c05fe68860722dfd8195f1f1b769e3fb16707 into d9b2be747ba8a11d3120e532d48fadb9b3f29f45 - view on LGTM.com
new alerts:

2 for Unused variable, import, function or class
1 for Useless assignment to local variable

Comment posted by LGTM.com

repo: khartec/waltz


text:
Db contrib/waltz 3972 alloc export

#3972

This pull request fixes 1 alert when merging a312a9739966de9fda2b6f168a9952d0dddc2535 into 2e29587ae5b1fb9aa1026b655eeea5773191fc0c - view on LGTM.com
fixed alerts:

1 for Unused variable, import, function or class

Comment posted by LGTM.com


text:
Update for rustls 0.20

This brings all dependencies up to rustls 0.20, and passes unit tests locally and in BonsaiDb.
This PR stacks on top of #33, so it's best to review it after that one has been merged.
The only notable change is for trust-dns: trust-dns fails with a NoConnections error if the additional option isn't specified. The other code changes are due to trust-dns adopting #[non_exhaustive].
Edit: this is going to be addressed in the next release of trust-dns. Since we're aiming to release an update for BonsaiDb soon, I'm leaving it as-is, but will remember to update this when they release a new version.

Rebased.

CT logs where removed, so I am adding them here by default.

authors: daxpedda ecton

repo: khonsulabs/fabruic


text:
adding hotel booking app

Description
A fully responsive web app for hotel booking.
Please include a summary of the change and which issue is fixed.
Fixes #898

Type of change 📝
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[x] Add a new project

Domain of Contribution 📊

[x] Project using ReactJs

Checklist ✅
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Recommended) 📸

@gurjeetsinghvirdee please review this PR.

@khushi-purwar and @gurjeetsinghvirdee please review this PR, and merge it upon finding it correct.

@gurjeetsinghvirdee what kind of projects will get a level 3 label, in general, I am asking as this was a responsive project made from react.

I think you have to deploy so we can check them
It's an simple way to check aproject
If you add pic how can we know how it's work
Better to deploy and add link in readme file

Ok, can I do it now??
On Fri, Apr 22, 2022, 11:30 PM Gurjeet Singh Virdee <
@.***> wrote:

I think you have to deploy so we can check them
It's an simple way to check aproject
If you add pic how can we know how it's work
Better to deploy and add link in readme file
—
Reply to this email directly, view it on GitHub
https://github.com/khushi-purwar/WebDev-ProjectKart/pull/905#issuecomment-1106740252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSK6BP6PBLQL6KJ3TSD73TVGLSNRANCNFSM5T4SX43Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think you have to deploy so we can check them It's an simple way to check aproject
If you add pic how can we know how it's work
Better to deploy and add link in readme file

Can i do it now??

Ok

repo: khushi-purwar/WebDev-ProjectKart


text:
do not rely on the name of the clusterrole to do a can_i check

fixes https://github.com/kiali/kiali/issues/3227
Unfortunately, because of a bug in the ansible kubernetes collections we can't do a true "can_i" check.
So this PR will actually attempt to create dummy both a cluster role and cluster role binding. If they fail, the operator will abort like it did before. Therefore, we no longer rely on the naming of resources - we actually see if the operator has the permissions.

A better solution indeed. Thanks for the PR.

I ran all molecule test with this PR branch, and all passed. So this code looks good.

We can merge this. I plan on removing this implementation and replacing it with a true "can_i" check when that k8s bug is fixed - see issue https://github.com/kiali/kiali/issues/3241

authors: Baykonur jmazzitelli

repo: kiali/kiali-operator


text:
Chests open instead of Pop

When I right click the chests they Open instead of the pop that they should. This started when I set up a new crate and The New Crate Turns into a Beacon (Falling is Off).

I can help you with this if you still need help.

authors: CuterNekko EvilSlime

repo: kicjow/Crazy-Envoy


text:
DMN Runner enhancements and bug fixes: uniforms-patternfly and table

Spliting the #26 into two. This issue groups DMN Runner enhancements and bug fix.
Table

[ ] Scroll sync of Inputs and Outputs breaks for Table mode after updating Inputs from another tab

uniforms-patternfly

[ ] Checkboxes values are “undefined” if not clicked. This breaks the evaluation with JIT Executor.
[ ] KOGITO-5436 Custom components for DMN types on DMN forms
[ ] KOGITO-7516 DMN Runner inputs fail silently for Date Time parsing of input formatted as yyyy-MM-dd'T'HH:mm:ss

Persistence

[ ] KOGITO-8046 KIE Sandbox with Runner fails to recognize inputs from DMN model, but downloading and uploading the same DMN model no changes allows form to work

Enhancements

[ ] Share URL for importing the same project at the same place.

@ljmotta Can you please reassess this issue? Ideally we would close it and create one issue for each of the tasks listed here. Also, I think some of them might be resolved or already covered by an existing issue.
Also, I think we can drop "Share URL for importing the same project at the same place.". I don't see this as a requirement for the time being.

@tiagobento Sure. I'll check them.

These issues are not happening anymore:

"Scroll sync of Inputs and Outputs breaks for Table mode after updating Inputs from another tab"
"Checkboxes values are “undefined” if not clicked. This breaks the evaluation with JIT Executor."
"KOGITO-7516 DMN Runner inputs fail silently for Date Time parsing of input formatted as yyyy-MM-dd'T'HH:mm:ss"
"KOGITO-8046 KIE Sandbox with Runner fails to recognize inputs from DMN model, but downloading and uploading the same DMN model no changes allows form to work"

The "KOGITO-5436 Custom components for DMN types on DMN forms" is already covered in #19.
As the "Share URL for importing the same project at the same place" is not a requirement anymore I'm going to close this issue.

authors: ljmotta tiagobento

repo: kiegroup/kie-issues


text:
KOGITO-6538 Kogito with Quarkus Dev Mode unable to serve static resou…

…rces (such as JSON Schema files)
https://issues.redhat.com/browse/KOGITO-6538
Note: This PR can be merged only when https://github.com/quarkusio/quarkus/pull/22888 is merged and kogito bom is updated to use the quarkus version which consumes the enhancement.
TODO: confirm if we want to backport this to 1.16.x (again, it would need to align with new quarkus version)

[x] You have read the contributors guide
[x] Your code is properly formatted according to this configuration
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) optaplanner-quickstarts check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

https://github.com/quarkusio/quarkus/pull/22888 has been merged to quarkus main. This PR will be ready for CI when kogito main will consume the next quarkus version (likely 2.7). Then also I'll backport this PR to 1.16.x branch for kogito 1.16.1 (likely with quarkus 2.7).

Kogito Apps Build : the test failure is not related.
2022-02-02T06:43:40.3982151Z [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.572 s <<< FAILURE! - in org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT
2022-02-02T06:43:40.3992429Z [ERROR] org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents  Time elapsed: 3.347 s  <<< ERROR!
2022-02-02T06:43:40.4002877Z java.net.ConnectException: Connection refused (Connection refused)

@evacchi @danielezonca Please review and merge if it's okay. This is a PR for main. I don't know why Jenkins is slow but GHA is green. It would be great if you can merge this today so it goes to 1.17.0. Thanks!

jenkins rerun kogito-runtimes tests

GHA runtimes is good. gonna merge this so we can start the cut-off of 1.17

authors: kie-ci radtriste tkobayas

repo: kiegroup/kogito-runtimes


text:
[KOGITO-7752] Merge arrays should replace by default

Before this JIRA, the code always try to merge the two arrays (an union), and the boolean just indicates if duplicates should be skipped. Now the boolean indicates whether the array should be merged (true) or replaced (false). Therefore true is equivalent to previous behaviour when skipDuplicate was true (this is the expected behaviour for JsonSchema generation), And by default (false), the array will be replaced, which is the desired behaviour for Serverless Workflow action
Why should be the default for Serveless Workflow?
Considers this case, where we have an array called minority in our workflow model with following content
[ {
  "message" : "Marc",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
}, {
  "message" : "Boungiorno Marco",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
} ]

And an expression in our workflow

 {
       "name" : "expression",
       "type" : "expression",
       "operation" : ".minority[0].message = \"marquitos\""
    }

We want the result model to be
[ {
  "message" : "marquitos",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
}, {
  "message" : "Boungiorno Marco",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
} ]

but if merge array is active (with skip duplicated) the result will be
[
{
  "message" : "marquitos",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
},
 {
  "message" : "Marc",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
}, {
  "message" : "Boungiorno Marco",
  "innerMessage" : {
    "number" : 23,
    "state" : "UNKNOWN"
  },
  "state" : "UNKNOWN"
} ]

(tests) - kogito-runtimes job #640 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/640/display/redirect
Test results:

PASSED: 2876
FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.RPCGreetIT.testEnglish
java.lang.AssertionError: 1 expectation failed.JSON path workflowdata.minority[0].message doesn't match.Expected: is "marquitos"  Actual: Bon diaMarc	at org.kie.kogito.quarkus.workflows.RPCGreetIT.testEnglish(RPCGreetIT.java:46)


text:
exit status 0 on puma start using monit

I am facing error (exit status 0) in latest versions of puma-daemon gem.
0.1.2 works fine without any error with puma 6.4 version. but later version of puma-daemon throws error.
rails version - 6.1.4
ruby - 2.7.2
puma - 6.4
puma-daemon - > 0.1.2
Steps to reproduce

Update the gem versions to > 0.1.2
start puma
Error log

'puma' failed to start (exit status 0) -- '/bin/bash -l -c bin/pumactl start -F /path_to_puma_config.rb>
                                                                     [673353] * Puma version: 6.4.0 (ruby 2.7.5-p203) ("The Eagle of Durango")
                                                                     [673353] *  Min threads: 1
                                                                     [673353] *  Max threads: 1
                                                                     [673353] *  Environment: env
                                                                     [673353] *   Master PID: 12345
                                                                     [673353] *  Puma Dae

I am using monit to start the puma process.

Could you please share the relevant parts of the puma's configuration?

#!/usr/bin/env puma

directory 'app_base_dir'
rackup 'path_to_config.ru'

environment 'current_environment'

daemonize

pidfile 'path_of_puma.pid'
state_path 'path_of_puma.state'

threads Integer(ENV['MIN_THREADS']), Integer(ENV['MAX_THREADS'])
Thread.abort_on_exception = true

bind 'unix://socket_path'

workers Integer(ENV['WEB_CONCURRENCY'])

preload_app!

tag 'app_name'

worker_timeout 20

activate_control_app 'path_to_pumactl.sock'

This is the minimal configurations set to puma.rb
Configurations were same for both the versions. I just updated out gem to newer version and it stopped working.

Note:- we are now no longer using puma-daemon gem. as suggested by puma docs we have separated out the logic of daemonization from application.

Will investigate

Could you move the daemonize to the end of the config file and retest?

@nikhilbhatt If you'd like help on this still - please provide the way you are starting Puma (I need a complete command line), what you are attempting to accomplish, and what is not working exactly.
Is the issue that Puma fails, but exits with status 0?
or is the issue that daemonization breaks it?
It's unclear from your description, so please clarify. Otherwise I'll close this.

authors: kigster nikhilbhatt

repo: kigster/puma-daemon


text:
MMAudio nodes missing

Do I need to install any custom nodes other than the video helper suite? Because I am getting missing nodes when I load the workflow. I have already cloned and installed form the github repo. What could be the issue?
Error:
Missing Node Types
When loading the graph, the following node types were not found
MMAudioSampler
MMAudioFeatureUtilsLoader
MMAudioModelLoader

Those are the nodes from this repo, check your comfy startup log for any import errors to find out what could be missing, could also be a version mismatch of some dependency.

You were right. The following dependencies were missing. I am not sure why it was not installed, even though the pip install command ran successfully. Now the issue is resolved. thanks
librosa>=0.10.1
torchdiffeq>=0.2.3
omegaconf>=2.3.0

authors: kijai tridhe

repo: kijai/ComfyUI-MMAudio


text:
new Tags chapter and Custom Fields chapter

This includes new Tags chapter and Custom Fields chapter. Also a little bit of Tenants chapter.
I also had to fix all the image references to include the relative portion of the path name. Hope I did it right!

@FlowWriter Could you attach the PDF - if you have it?

Hi @FlowWriter, I see that there is a tags.pdf but it appears to be different from tags.adoc. So, perhaps tags.pdf is an older version and needs to be updated? Secondly, the pdf file for custom-fields.adoc is missing, could you please add that too?

Here is the PDF of the entire document. You only need to check the Tags and Custom Fields chapters.
Kaui_Guide_Draft.pdf

@FlowWriter Looking great, I just have one comment/question: On Page 76, there is a screenshot for the Account#tags, but you are describing tags associated with an invoice - should it be removed?

@sbrossie - In the beginning, I explain that the steps are for applying a tag to accounts and invoices.

Uploading latest PDF
Kaui_Guide_Draft.pdf

I have uploaded the latest PDF, so I'm hoping this is ready to merge. :-)

Merging...  @reshmabidikar If somehow if you feel like your comments were not correctly addressed, chime in, we can always open a new PR.

authors: FlowWriter reshmabidikar sbrossie

repo: killbill/killbill-docs


text:
Store PayPal error codes in the responses table if present

@pierre @daliwei

Are you going to add the gateway_error_code as well to it can be populated here? Similar to this.

LGTM

@alenad Could you add a unit test (e.g. just testing PaypalExpressResponse.from_response with mock data)?

@pierre I added a unit test for response, please take a look.

Awesome, thanks!

authors: alenad daliwei pierre

repo: killbill/killbill-paypal-express-plugin


text:
Manual subtitle timer menu not appearing

I'm able to set the subtitle timing by using ctrl+left/right arrow but the menu to manually change it to a specific number when paused stopped appearing yesterday, I think after my extension updated.

It's possible that you might have accidentally closed the overlay. You can re-enable it from the streaming video section of the settings.

repo: killergerbah/asbplayer


text:
Invalid PATH when running with mingw

After updating from 3.1.0 to 3.2.0 I can't run npm concurrently in git-bash.
For example I have script in package.json: "dev": "concurrently \"npm run tsc:w\" \"node sync.js\" " and run it with $npm run dev. But with 3.2.0 I'm getting that:
$ npm run dev:r
> concurrently "npm run tsc:w" "node sync.js"

[1] /usr/bin/bash: node: command not found
[1] node sync.js exited with code 127
[0] /usr/bin/bash: npm: command not found
[0] npm run tsc:w exited with code 127

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev:r"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! test@1.0.0 dev:r: `concurrently "npm run tsc:w" "node sync.js" `
npm ERR! Exit status 1
...

Though it works fine in cmd.
Here's also the log files produced by node: debug.log.txt, npm-debug.log.txt.
And here's the output of echo $PATH and concurrent 'echo $PATH': echo.txt.
It seems that concurrently's PATH has been messed up.

I also have the same PATH issue when running scripts in Travis-CI after upgrading concurrently 3.1.0 to 3.2.0.
Since Travis uses nvm's PATH system to control node version, this break version management in Travis-CI using concurrently module.

related issue: https://github.com/tsg-ut/mnemo/pull/230
echo $PATH in npm script: https://travis-ci.org/tsg-ut/mnemo/builds/200683019#L1462
echo $PATH in concurrently in npm script: https://travis-ci.org/tsg-ut/mnemo/builds/200683019#L1520

Published v3.3.0.
Can you guys try it?

It seems to work quite well. Thank you!

It seems that spawn-command always uses cmd.exe when running on windows.
I've created a PR (https://github.com/mmalecki/spawn-command/pull/7) to fix that.

What's your reason to want that?
Talking about features, I would always prefer spawn-default-shell over spawn-command.
But I'm having a hard time to accept that we'll have fewer headaches in the long run by sticking to a simpler dependency like spawn-command.

I'm running npm and node from git-bash shell, so I would prefer to run all processes started by them within one environment. Messing up the shells could introduce new bugs and glitches like an encoding inconsistency.

authors: gustavohenke hakatashi ilivit

repo: kimmobrunfeldt/concurrently


text:
python3-rosdep2がなくなる

ubuntu22.04で環境構築の最初「2. Git のインストールとROS 2 環境の準備」という項目で書かれている内容をそのまま実行すると以下のようなエラー文がでます。
unable to process source [file:///usr/share/python3-rosdep2/debian.yaml]:
	<urlopen error [Errno 2] No such file or directory

おそらくrun.sh内部でpython3-rosdepをインストールする際に自動でpython3-rosdep2が削除されるためだと思われます。

私の環境では再現できないのですが、./run.sh コマンド実行時の挙動ということでよろしいでしょうか？
pyenv やconda などのPython 環境を作られていたりしませんでしょうか？

pyenvは切っているのですがそれでも発生します。python3-rosdep2をaptでインストールした後にpython3-rosdepをaptでインストールしてもpython3-rosdep2が消える現象を確認しました。


text:
build: hash pkg and print out hash

Problem
We currently print out a pkg zip hash just upon start, while our deterministic hashing could enable this for every build.
Solution
Hash in the build command too.
Notes
WIP:
I need to doublecheck behaviour with api.zip, I see some discrepancies on old packages I was building without the default empty api.zip

Closing in favor of #214

repo: kinode-dao/kit


text:
Update logback-classic, logback-core to 1.4.1

Updates

ch.qos.logback:logback-classic
ch.qos.logback:logback-core

from 1.2.11 to 1.4.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "ch.qos.logback" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #230.

repo: kinoplan/utils


text:
vagrant: Expose apiserver outside the VM

Introduce the KUBESPAWN_REDIRECT_TRAFFIC environment
variable to the build.sh script which redirects the
traffic incoming to the 6443 port in Vagrant VM to
the nspawn container with kube-apiserver.
Fixes #217

Have not tested it yet...
The scripts should probably go into the /scripts folder?

Well, /scripts folder has only scripts are runned by Vagrant (during provisioning), so I thought that scripts which run Vagrant should be somewhere else. But I don't mind if you are fine with putting everything there.

@dongsupark PTAL

authors: nhlfr robertgzr

repo: kinvolk/kube-spawn


text:
🛑 Website - Production is down

In 707d933, Website - Production (https://kiondaga.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website - Production is back up in d945361 after 4 minutes.

repo: kiondaga/status


text:
Add support for day of the year

This is a very specific feature that I needed for a use case in my company. Thought it'll be useful for others

Coverage remained the same at 100.0% when pulling 2812c28091cf3e5805365f89ca357106ddca678c on asasher:feature/add_support_for_day_of_year into 25319f5ca175b9db6a5e966e1ab2f75bd57fd269 on kipe:master.

Coverage remained the same at 100.0% when pulling 2812c28091cf3e5805365f89ca357106ddca678c on asasher:feature/add_support_for_day_of_year into 25319f5ca175b9db6a5e966e1ab2f75bd57fd269 on kipe:master.

I'm rejecting this, as it's not in the typical cron specification, and as you've shown, can easily be worked around otherwise.

authors: asasher coveralls kipe

repo: kipe/pycron


text:
Changes by create-pull-request action

Automated changes by create-pull-request GitHub action

Testing triggering sync workflow from models repo

repo: kipoi/kipoi-containers


text:
Default quality profile for direct backend

Will need to be set by name, as there isn't a way to grab the profile id from the radarr/sonarr GUI

Added in latest release SONARR__QUALITY_PROFILE, etc.

repo: kiranshila/Doplarr


text:
Display value and variables in run results

Display the account value and the final values of all the user variables in the run results.

Delivered to master.
I added another ListView and added all the user vars from the context to it. I also added another text block for the current account value.
Commit
commit 90bfac4a449c7e82f07469085205769f237cb22e
Author: Alex Hunt alexanderthunt@gmail.com
Date:   Thu Apr 28 22:42:44 2022 -0400
Issue62: Account value and user variables are now displayed in the results view.

Testing

Ran a strategy and checked that the variables are displayed with their ending values.
Checked that the new account value is displayed and is correct.


text:
🛑 KiroMail is down

In 6ab6ce2, KiroMail (https://m.kiro.pw) was down:

HTTP code: 500
Response time: 911 ms

Resolved: KiroMail is back up in fed0457 after 9 hours, 20 minutes.

repo: kirilloooo/status


text:
feat: Add HTTPS proxy

Summary
mubeng does not support HTTPS proxy as source - an error message [FTL] Error! no proxy file provided. pops up when trying to provide proxies starting with https.
This PR shall add this feature/
Proposed of changes
This PR fixes/implements the following feature:

Support https:// proxy as source.

How has this been tested?
Proof:
➜  mubeng git:(master) ✗ mubeng -f proxy.txt -c -v

           _   v0.9.3-12-ga71acde
 _____ _ _| |_ ___ ___ ___
|     | | | . | -_|   | . |
|_|_|_|___|___|___|_|_|_  |
                      |___|
 infosec@kitabisa.com

[LIVE] [DE] https://aaa:bbb@uk-020.whiskergalaxy.com:443

Closing issues
Fixes #125
Checklist:

[ x ] My code follows the code style of this project.
[ x ] My change requires a change to the documentation.

[ x ] I have updated the documentation accordingly.

[ x ] I have followed the guidelines in our CONTRIBUTING.md document.
[ ] I have written new tests for my changes.
[ x ] My changes successfully ran and pass tests locally.

You should add tests for this.

repo: kitabisa/mubeng


text:
CDK-1000: Kite/SparkSQL integration

I integrated what I've already done here: https://github.com/dgreco/spark-kite into the Spark trunk

Thanks for submitting this PR @dgreco. At a high-level, I wonder if it would be more useful to work with RDDs, since data frames are pretty new. I was imagining a SparkDatasets class (like CrunchDatasets):
RDD asRDD(View view)
RDD asRDD(URI datasetUri)
void saveAsDataset(RDD rdd, View view)
void saveAsDataset(RDD rdd, URI datasetUri)

Dataframes could be added to an interface like this too.
What do you think?

Working with Dataframes is nice because they contain schema information as well like kite datasets.
They are new but are improving very quickly and they are becoming really fundamental in Spark.
Working directly with Dataframes is really complex especially when you have to prepare data for machine learning. In my experience people tend to prefer data frames to plain rdds.
BTW, I'm adding also java tests, I could generate another pull requests with your suggestions and the additional Java tests.

That makes a lot of sense. Do you think you could change the public API to be more like the CrunchDatasets one? E.g.
DataFrame asDataFrame(View view)
DataFrame asDataFrame(URI datasetUri)
void saveAsDataset(DataFrame dataFrame, View view)
void saveAsDataset(DataFrame dataFrame, URI datasetUri)

Yes I can, nice suggestions. Those are nice for the Java side. From the Scala side I thought it was nice to  mimic what's currently available on SparkSQL: sqlContext.parquetFile("people.parquet") (saveAsKiteDataset) just adding an implicit I could extend sqlContext for saving DF as kite data sets.
So what I can do is to follow your convention on the Java side and to add proper implicits on the Scala side, what do you think?

Yes, that sounds like a good direction.

Ok, I'll do it. Stay tuned for the next PR.

I have a question, if I implement this:
void saveAsDataset(DataFrame dataFrame, URI datasetUri)
how can I pass the DatasetDescriptor? in my implementation I'm passing format, compression, etc. and I build inside the needed descriptor for creating the dataset.

Another API to consider (before you make all the changes) is the API that spark-avro uses. That looks reusable and seems to be what databricks intends for the standard.

@rdblue exactly, this is what I did with the current APIs, I tried to follow the spark avro ones.

@rdblue and the spark-avro apis follow the approach of spark sql

authors: dgreco rdblue tomwhite

repo: kite-sdk/kite


text:
Installation, Ubuntu, latest stable

From http://kivy.org/docs/installation/installation-linux.html
sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get install python-kivy

These commands don't install latest stable version of kivy. I'm running Ubuntu.

You may have missed the second step after adding the ppa: Update your packagelist using your package manager.
sudo apt-get update

Uninstall the current python-kivy, then install it again.
Please reopen if the problem persists.

Oh, I'm sorry. You are right. I've missed that. Thanks @dessant

authors: dessant jprukner

repo: kivy/kivy


text:
GL Error 1282 with SmoothLinePlot

Versions

Python: 3.7
OS: Windows 10
Kivy: 1.10.1
Kivy installation method: pip

Description
I'm trying to do real time plots in kivy with the kivy_garden.graph module, my code works fine with MeshLinePlot however when I try to use SmoothLinePlot instead it crashes with:
[ERROR  ] [Shader      ] <fragment> failed to compile (gl:1282)

when I try to add the graph to the plot.
Code and Logs
def set_plots(self, labels: List[str]):
	# for now we statically initialize the plots (no plots will be added in add)
	self.clear()
	for i, label in enumerate(labels):
		miny = i / len(labels)
		# FIXME: we should use SmoothLinePlot instead but it raises a GL Error 1282
		self.plots[label] = RTPlot(
			MeshLinePlot(color=self.next_color()), self.keep, miny, miny+1/len(labels)
		)
		self.graph.add_plot(self.plots[label].plot)

Here RTPlot is just a wrapper that helps me update the Plot in real time.
keep and miny are just used to arrange my plots in the graph space.

better title

This issue belongs in the kivy_garden.graph repo, not in kivy itself. Also, when you open a issue, please provide the minimum fully-runable example.

authors: Inspirateur matham


text:
Kivy wheel

It would be very interesting to see wheels in action with Kivy.
Wheel is a new binary package format for Python. It's still experimental but I find it great. A couple of links:
http://wheel.readthedocs.org/en/latest/index.html
https://bitbucket.org/dholth/wheel
https://bitbucket.org/dholth/python-peps/raw/98cd36228c2e/pep-CTAG.txt
I thought it would be great to try a binary package of Kivy. For windows especially, where compiling is a pain. I know there is already the Kivy development kit, but if someone who can compile could provide a wheel for Windows to test it would be great. I can provide a linux one if someone is interested.
It's very simple to build wheels. Just install the wheel package (which is available on PyPI) and then (in your package):
$ python setup.py bdist_wheel

Open the dist/ directory and you'll find your wheel. Neat uh?
Pip support is coming and once there it should be very fast for installations since it's all pre-built.

Hey guys !
I'm taking a lot of pleasure to play with Kivy.
How about now for packaging Kivy into wheel ? So the installation of Kivy could take place easily thanks to pip on Windows, OSX.
Any thoughts about that ? The main idea is to avoid the use of Kivy.app or Kivy.bat on these platforms. In addition, deploying Kivy could be easier for you.
Cordially,
Vag'

authors: Vagdish rubik


text:
Fixing build.gradle for Linux to run android app

This is probably more informative than really to be merged. It allowed me to run yarn android without error.

@RobinCsl So we should not merge it right? 🙂 I think it's going to be really easier to say "hey, we support only macOS at this moment" because we require every developer to be able to tweak both iOS and Android versions.

We could maybe add a note to the redame section.
‘if you for some reason want to run this on Linux, the do ..., however we just support Mac at this point’

In any case, can I close this PR? We can link it somewhere if necessary... 🙂

Yes, let's close this.

authors: RobinCsl mrtnzlml tbergq

repo: kiwicom/mobile


text:
Generate schema from Flask app instance

It should be possible to build a BaseSchema interface from a Flask app, at least some limited version. E.g. there are rules for all urls in app.url_map with parameters and optional types inside - we can create a JSON schema for it.

I think that it is better to have such features out of the Schemathesis itself. E.g. https://github.com/flasgger/flasgger might be used first and then Schemathesis might be applied to the generated schema

repo: kiwicom/schemathesis


text:
Support generating multiple videotracks and single audio from from a mp4 file using FFmpeg

Hello Luke @kixelated  , in context to the PR in moq-js , this PR holds the changes done to ./dev/pub to enable us to create 3 video renditions for a video file that could be ingested for a single namespace via moq-pub.
I have tried to optimize FFmpeg args to help us get the best of video quality and latency and also tried to make the config parameters in the script readable, at times occasionally I have observed video artefacts at higher video quality track. Since the context is the same I added the changes in ./dev/pub , please let me know if you would like me to keep this as a separate file like ./dev/pub_multi
Script usage scenarios:

Scenario 1:

Without any arguments, the legacy flow of 1 video and 1 audio will be executed

Scenario 2:

With argument "multi" ( eg: ./dev/pub multi ) , 3 video tracks and 1 audio track will be ingested into moq-pub
Default video quality parameters are:

1920x1080:6000K:60
1280x720:5000K:30
640x480:4000K:25

Scenario 3

With argument multi and video quality of the 3 tracks specified in arguments

./dev/pub multi 1920x1080:6000K:60 1280x720:5000K:30 360x480:4000K:25

With "multi" mode enabled, a realtime live video track stream will be simulated and the video will be watermarked/overlayed with real-time UTC clock from the server on the top left corner that can be visually compared with https://time.is/UTC to check real-time latency and the videoresolition-bitrate will be watermarked/overlayed at the bottom right corner to assist in visually identifying the track.
./dev/pub script had an "$@" as the last argument to moq-pub , which passes all the arguments to the script to moq-pub , had to remove it to incorporate the current implementation and legacy flow works without it, to my understanding moq-pub  usage is  moq-pub --name <NAME> <URL> , so we can safely remove "$@" . Kindly advise if I overlooked this.
Kindly review and let me know your thoughts and amendments to be done.

UT
https://github.com/user-attachments/assets/ce89ab8d-9235-4761-8a6d-457f928636e3

Oh wow sorry somehow I missed this PR. I'll take a look at it soon.

Feel free to reopen this against https://github.com/englishm/moq-rs if you'd like to continue tracking the MoQ working group draft specs.

authors: TilsonJoji englishm kixelated

repo: kixelated/moq-rs


text:
FileNotFoundError: [Errno 2] No such file or directory: 'network'

When trying to featurise a MOF I get this error:
FileNotFoundError: [Errno 2] No such file or directory: 'network'
Running on a Mac M1 Pro with Ventura 13.3.1 and Python 3.10.8.
I installed Mofdescribe by cloning from github and doing pip install -e .
I'm trying to get the pore diameters descriptors. Code looks like this:
'''
from mofdscribe.featurizers.pore.geometric_properties import PoreDiameters
parser = CifParser('test.cif')
mof = parser.get_structures()[0]
featuriser=PoreDiameters()
features=featuriser.featurize(mof)
'''
Full error message:
Traceback (most recent call last):
File "...", line 87,
features=featuriser.featurize(mof)
File ".../mofdscribe/src/mofdscribe/featurizers/base.py", line 107, in featurize
return self._featurize(structure)
File ".../mofdscribe/src/mofdscribe/featurizers/pore/geometric_properties.py", line 196, in _featurize
result = run_zeopp(s, ["-res"], _parse_res_zeopp, self.ha)
File ".../mofdscribe/src/mofdscribe/featurizers/pore/geometric_properties.py", line 72, in run_zeopp
_ = subprocess.run(  # nosec
File ".../lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File ".../lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File ".../lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'network'
Thanks

Hi 👋🏽
Thanks for trying mofdscribe.
You ran into a missing dependency, probably because you installed via pip, which does not install all dependencies by default.
In this case, you miss zeo++, which you can install via conda install zeopp-lsmo from conda-forge. We specifically made a port to also make this one work for m1 macs.
All the best,
Kevin

Thanks that works now. By the way, I installed via cloning because when I install via conda and try and run the code it says moleculetda is not found, and I am having trouble installing moleculetda. I can raise this as a separate issue if you want.

Thanks that works now. By the way, I installed via cloning because when I install via conda and try and run the code it says moleculetda is not found, and I am having trouble installing moleculetda. I can raise this as a separate issue if you want.

Did you manage to find a solution for the missing moleculetda from a conda install? Thanks!

So moleculetda worked neither via PyPi nor conda?

authors: KP-303 kjappelbaum ngkayjay

repo: kjappelbaum/mofdscribe


text:
Fix explicitly assigning variable to itself

This raises a warning in clang

I understand this suggestion. But, there are currently no plans to merge this.
I write this library according to the expression of the specifications. I want to use the "#pragma" directive instead of merging.
if (X_bits[i] == false) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wself-assign"
    Z = Z;
#pragma clang diagnostic pop
}

authors: Sainan kkAyataka

repo: kkAyataka/plusaes


text:
macOS already has a zprint executable: mach_memory_info: (os/kern) invalid host on Mac

I installed the cli on Mac with OS X Big Sur and running it throws the error:
zprint: mach_memory_info: (os/kern) invalid host (try running as root)

it works with sudo, but that makes it difficult for me to use it from Emacs. Is there any work around this thing?

Ooops... turned out that I was running the wrong zprint. It seems Mac comes with BSD zprint, running
man zprint says: zprint -- show information about kernel zones.
I had to manually rename zprint's executable  mv /usr/local/bin/zprint /usr/local/bin/zprintm

Ooops... turned out that I was running the wrong zprint. It seems Mac comes with BSD zprint, running
man zprint says: zprint -- show information about kernel zones.
I had to manually rename zprint's executable  mv /usr/local/bin/zprint /usr/local/bin/zprintm

Hey, thanks for the heads up.  I leave my zprint executables as zprintm-1.1.1 or whatever, so I can tell them apart, so I never ran into this.  Turns out that zprint is a thing on Mojave and Big Sur (the only versions I have access to presently).
I'm going to re-open this issue to remind me to add this information to the macOS documentation to save someone else the confusion of finding out that there is already a zprint.
Thanks again for letting me know about this!

Hey, thanks for the heads up.  I leave my zprint executables as zprintm-1.1.1 or whatever, so I can tell them apart, so I never ran into this.  Turns out that zprint is a thing on Mojave and Big Sur (the only versions I have access to presently).
I'm going to re-open this issue to remind me to add this information to the macOS documentation to save someone else the confusion of finding out that there is already a zprint.
Thanks again for letting me know about this!

I updated the docs for this in `1.2.4.  Thanks for pointing it out!

authors: agzam kkinnear

repo: kkinnear/zprint


text:
bug: error case malformed in eth_call

Bug Report
Current behavior:

we're currently running the hive tests locally with @greged93 to debug the rpc client
running the rpc-compat test suite, we've noticed that eth_call calls that fail (only revert has been observed only for now) are malformed
>>  {"jsonrpc":"2.0","id":1,"method":"eth_estimateGas","params":[{"from":"0x0102030000000000000000000000000000000000","input":"0xff030405","to":"0x17e7eedce4ac02ef114a7ed9fe6e2f33feba1667"}]}
<<  {"jsonrpc":"2.0","result":"0x5248","id":1}
response differs from expected:
 {
   "id": 1,
   "jsonrpc": "2.0",
-  "result": "0x5248"
+  "error": {
+    "code": 3,
+    "data": "0x77726f6e672d63616c6c6461746173697a65",
+    "message": "execution reverted"
+  }
 }

We miss the data field in case of an error in eth_call
We also don't seem to accurately treat some error cases as errors, and simply return a result: 0x0
>>  {"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"from":"0x0000000000000000000000000000000000000000","gas":"0x186a0","input":"0x01","to":"0x0ee3ab1371c93e7c0c281cc0c2107cdebc8b1930"},"latest"]}
<<  {"jsonrpc":"2.0","result":"0x","id":1}
response differs from expected:
 {
   "id": 1,
   "jsonrpc": "2.0",
-  "result": "0x"
+  "error": {
+    "code": 3,
+    "data": "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a75736572206572726f72",
+    "message": "execution reverted: user error"
+  }
 }

Expected behavior:

We should be iso-hive rpc-compat -> return a correct error on error / revert / halt and a result otherwise
### Tasks
- [ ] Fix the error formatting in case of error
- [ ] Investigate why some errors are not treated as such using hive rpc-compat and debugging timebox

I think this works now, we run the eth_call tests in the CI

repo: kkrt-labs/kakarot-rpc


text:
keycloak 9.0.0报错

hello 该模块在8.0.2实验了 完全没问题，在9.0.0版本报一堆错，能否帮忙看看什么问题

{
error: "invalid_request",
error_description: "Missing parameter: username"
}
wechat login error

升级 9.0的之后，有一个 createConfig方法，这个如何实现呀，或者9.0大佬这边如何兼容的


text:
Support for altering topic configs

Hi!
In one of our projects we need to have different topic configs depending on what the topics are used for, and today we solve this by using kafka-topics.sh to alter the config in a bit hackish way.
It would be much nicer to be able to use brod for this step aswell.
After having looked into this I've seen that supporting the Kafka messages describe_configs and alter_configs would give what we need, and I would like to discuss if the handling of topic configs is something we could bring in?
I have not looked at how the API in brod could look like, but I have done tests by adding support in the kafka_protocol and it does the job on that level.
I will push a PR to kafka_protocol for the protocol part and will happily get your thoughts/comments about an API like this, maybe there already are decisions or thoughts how to handle the AdminClient area?

Hej @bjosv!
Can we consider this issue solved?

Hej!
Yes, sorry, had a plan to add an api to brod aswell, but this is good for now.
Closing this, thanks

repo: klarna/brod


text:
Add OIDC TokenProvider

Fixes partially #3573
Proposed Changes

:broom: Update fabric8 kubernetes dependency to get support for TokenRequests
:gift: Adds a helper to request JWT tokens
:bug: Fix possible NullPointerException in TokenVerifier

Similar to #3611 but adds the provider

/cc @pierDipi

/retest

/retest

/retest

/retest

/retest

/retest-required

/retest-required

/retest-required


text:
kind clusters: replace docker-cli commands with Docker Engine Go Client to improve podman compatibility

Changes
Replaced the docker-cli commands in kind.go with github.com/docker/docker/client

/kind enhancement

Fixes #408
Fixes #528

Release Note

Improves cross compatibility between users of docker and podman (if docker compatibility mode is enabled). Removes the requirement of installing docker-cli for podman users.

Docs

Podman users should be instructed to enable Docker compatibility mode

Thanks for the PR! You'll need to sign the CLA before we can merge this.
/ok-to-test

Thanks for the PR! You'll need to sign the CLA before we can merge this. /ok-to-test

Signed, sealed, delivered.

When trying this with podman, I got the following error:
Command Output: Error: rootlessport cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024), or choose a larger port number (>= 1024): listen tcp 0.0.0.0:80: bind: permission denied

I don't use podman on a regular basis, so not sure if regular podman users would already have a workaround for the port issue or if we should think about changing the host port on the cluster...
With docker, everything worked fine.

Sounds like you are using rootless podman and are not allowed to bind to port 80. https://github.com/containers/podman/blob/main/rootless.md
I am on macOS using podman machine so kind works as-is.

Perhaps changing to port 8080 or 9000 would be more appropriate for a test/demo setup?

Yeah, I think that makes sense... would you want to do that change too?

Sure. I can make a separate PR.
This change should work for all MacOS/Windows users of docker/podman. For Linux users, the restrictions on binding Port 80 have always been present for both docker and podman - so nothing is broken that wasn't so before.

authors: chzar psschwei

repo: knative-extensions/kn-plugin-quickstart


text:
[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/api-core-wg-leads
/assign knative-sandbox/api-core-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack/schema abd085f...f08cb0d:
  > f08cb0d Fixing issue knative/hack# 136 (# 137)
bumping knative.dev/pkg 52e42b7...96f1852:
  > 96f1852 Update actions (# 2382)
  > 3f86f59 Update community files (# 2381)
bumping knative.dev/hack abd085f...f08cb0d:
  > f08cb0d Fixing issue knative/hack# 136 (# 137)

/lgtm
/approve

authors: dprotaso knative-automation

repo: knative-sandbox/sample-controller