feat: load balancer class support

What type of PR is this?
fix: fixes stuck controller when loadBalancerClass mutators exist and use of loadBalancerClass when mutators do not exist
What this PR does / why we need it:
updates EP CR to include ability to specify Service.spec.loadBalancerClass
Which issue(s) this PR fixes:
Fixes #1793
Think this includes everything. My go is not well practiced so may be off. Still working on setting up for e2e test

hi @wondersd , thanks for raising a PR for this feature.
the PR looks good, but it looks like EG will have issues when a service has been created/deployed and user updates the EnvoyProxy spec with this new field, and EG will be unable to set this field since it cannot be mutated ?

@arkodg Yes that is correct. Assuming the user modifies it via a mutator on creation or otherwise deletes/recreates the service, the only presented option here would be to allow syncing what EG expects to reality.
It could be possible to update EG to destroy the Service to force sync this field to what EG expects. I figured this was out-of-scope and should have some more thought as it would guarantee cause downtime and would cascade into resource provisioning/de-provisioning. With just being able to alter what EG expects we can at least sync EGs exceptions with the reality.

sure, once this PR is merged, can you raise a follow up issue to handle the mutate case which will probably need a delete + create


Error fetching exchange rates from HMRC

cgt_calc.exceptions.ParsingError: While parsing http://www.hmrc.gov.uk/softwaredevelopers/rates/exrates-monthly-1012.xml, HMRC API returned a 404 response
Maybe exchange rates are not available for old years?
https://www.trade-tariff.service.gov.uk/exchange_rates/monthly

which year is failing? I can suggest adding the exchange rates manually to the file until this gets fixed.

please reopen if you keep having issues


add ServerRequestTest

Have a look please.
Hopefully it helps a little bit :)

I added some uncommitted changes to the 3.x-dev branch and updated the CI config.
Can you please rebase your branch on 3.x-dev.

Can you please rebase your branch on 3.x-dev.

Done.
However some tests were broken after last changes in the corresponding object.
I've repaired some of the them, so the pipeline ist not broken anymore.
Will add tomorrow some missing tests.


Added the saltyroger theme

I hope this helps.

Thank you for this pull request @orweinberger.
Tested ACK. 💯

I wonder if it's possible to keep the current red gradient and just place Salty Roger over it (by transparency in the PNG).
Anyway let's go with this!


misc: snapshotter: Add k3s and rke2 overlays to the snapshotter daemonset

This is a small series that brings support to using the nydus-snapshotter daemonset with different flavours of kubernetes.
The background of why we're doing this, is mainly because we rely on those in the Kata Containers CI.
Please, take a look at each commit message for more details.

cc @ChengyuZhu6

@imeoer, I'm trying to understand whether the E2E failures are related to this PR or not.

@fidencio You can display the pod's log for e2e test.

@imeoer, I was able to get the full Ci green, please, let me know if anything else is needed from my side.


Create binary-tree-to-DLL.cpp

There is no folder of this question

Done bro

NO new commit received from your side.


Discuss and develop functions for DX system

Address existing issues in the calc_eff_ect function for DX_system;
Discuss if other function is needed for DX_system.

@lymereJ I will close this issue since we have added all functions for DX systems for now.


No Dashboard After Install

Using Zabbix 2.4.5
Installed Grafana 2.0.2
Installed development version of grafana-zabbix
Edited plugin.json file, set username, password, verified paths
Restarted grafana-server
Logged into server, added  Datasource
Went back to Dashboard, cleared cache, refreshed page
No zabbix dashboard shown, no Zabbix dashboard found if I try to find it by name
No relevant errors in console, no errors/issues in Network when checking Developer Tools
No errors in grafana.log file, or httpd/apache access_log or error_log
Tried Incognito and with IE 11

Tried on Centos 7 and Ubuntu 14.04 - Same thing on both
Is this a bug or did I completely miss something?

Nevermind - I assumed there would be a default dashboard. Didn't realize I had to create it completely from scratch.


fix: Keep comments and attrs when extracting struct from enum variant

Fixes #6730
Still unsure if existing visibilities of fields should be forced to pub (which is what was previously done), or if it's okay to keep it in the extracted struct.

I imagine pub was always unconditionally inserted as you wouldn't usually have vis mods on variants/variant fields since they are only allowed for parsing but rejected later one. In the end this shouldn't make a difference therefore since we don't generate incorrect code in the end. So this change seems fine to me.
bors r+

changelog fix (first contribution) keep comments and attributes when extracting struct from enum variant.


Error with JRE in RecalibrateBam

INFO  01:24:51,863 HelpFormatter - ----------------------------------------------------------------------------------
INFO  01:24:51,865 HelpFormatter - The Genome Analysis Toolkit (GATK) v3.8-0-ge9d806836, Compiled 2017/07/28 21:26:50
INFO  01:24:51,866 HelpFormatter - Copyright (c) 2010-2016 The Broad Institute
INFO  01:24:51,866 HelpFormatter - For support and documentation go to https://software.broadinstitute.org/gatk
INFO  01:24:51,866 HelpFormatter - [Thu Aug 02 01:24:51 UTC 2018] Executing on Linux 3.10.0-693.21.1.el7.x86_64 amd64
INFO  01:24:51,866 HelpFormatter - OpenJDK 64-Bit Server VM 1.8.0_102-8u102-b14.1-1~bpo8+1-b14
INFO  01:24:51,870 HelpFormatter - Program Args: -T PrintReads -R Homo_sapiens_assembly38.fasta -I XXX_N_0.md.real.bam -L wgs_calling_regions.hg38.bed --BQSR XXX_N.recal.table -o XXX_N.recal.bam
INFO  01:24:51,878 HelpFormatter - Executing as<EMAIL_ADDRESS>on Linux 3.10.0-693.21.1.el7.x86_64 amd64; OpenJDK 64-Bit Server VM 1.8.0_102-8u102-b14.1-1~bpo8+1-b14.
INFO  01:24:51,878 HelpFormatter - Date/Time: 2018/08/02 01:24:51
INFO  01:24:51,878 HelpFormatter - ----------------------------------------------------------------------------------
INFO  01:24:51,878 HelpFormatter - ----------------------------------------------------------------------------------
ERROR StatusLogger Unable to create class org.apache.logging.log4j.core.impl.Log4jContextFactory specified in jar:file:/usr/GenomeAnalysisTK.jar!/META-INF/log4j-provider.properties
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
INFO  01:24:52,141 GenomeAnalysisEngine - Deflater: IntelDeflater
INFO  01:24:52,142 GenomeAnalysisEngine - Inflater: IntelInflater
INFO  01:24:52,148 GenomeAnalysisEngine - Strictness is SILENT
INFO  01:24:54,439 ContextCovariate - 		Context sizes: base substitution model 2, indel substitution model 3
INFO  01:24:54,471 GenomeAnalysisEngine - Downsampling Settings: No downsampling
INFO  01:24:54,477 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
INFO  01:24:54,604 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.13
INFO  01:24:56,574 IntervalUtils - Processing<PHONE_NUMBER> bp from intervals
INFO  01:24:56,663 GenomeAnalysisEngine - Preparing for traversal over 1 BAM files
INFO  01:24:56,834 GenomeAnalysisEngine - Done preparing for traversal
INFO  01:24:56,835 ProgressMeter - [INITIALIZATION COMPLETE; STARTING PROCESSING]
INFO  01:24:56,835 ProgressMeter -                 | processed |    time |    per 1M |           |   total | remaining
INFO  01:24:56,836 ProgressMeter -        Location |     reads | elapsed |     reads | completed | runtime |   runtime
INFO  01:24:56,917 ReadShardBalancer$1 - Loading BAM index data
INFO  01:24:57,336 ReadShardBalancer$1 - Done loading BAM index data
INFO  01:25:26,839 ProgressMeter -   chr1:11834293    300003.0    30.0 s     100.0 s        0.4%     2.1 h       2.1 h
.command.sh: line 2: 18500 Aborted                 (core dumped) java -Xmx56g -jar $GATK_HOME/GenomeAnalysisTK.jar -T PrintReads -R Homo_sapiens_assembly38.fasta -I XXX_N_0.md.real.bam -L wgs_calling_regions.hg38.bed --BQSR XXX_N.recal.table -o XXX_N.recal.bam

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002ae58033ea7e, pid=18500, tid=0x00002ae582bf7700
#
# JRE version: OpenJDK Runtime Environment (8.0_102-b14) (build 1.8.0_102-8u102-b14.1-1~bpo8+1-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 )
# Problematic frame:
# V  [libjvm.so+0x649a7e]
#
# Core dump written. Default location: /scratch/180/nxf.6fZssDHumM/core or core.18500 (max size 10 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /scratch/180/nxf.6fZssDHumM/hs_err_pid18500.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

Issue probably due to https://gatkforums.broadinstitute.org/gatk/discussion/10353/gatk-3-8-0-printreads-fatal-error

Issue fixed


Docs Build status updates of commit c8a5050:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/index.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[FEATURE][DocBot] Move variables into function declarations cluster_bootstrap.py

Is your feature request related to a problem?
When we have parameters hidden in our files we cannot as easily test our changes. To make this code more testable we need to pull things like index names into the function parameters and we can set them as defaults if that makes sense.
https://github.com/opensearch-project/demos/pull/60/files#r1368887197

I would like to take this issue

Assigned and will review the PR here shortly


feat: expose Logger.LEVELS

This change just puts LEVELS as a static field on the Logger object.

Codecov Report

Merging #157 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   97.67%   97.67%
=======================================
  Files          15       15
  Lines        2879     2879
  Branches      176      176
=======================================
  Hits         2812     2812
  Misses         41       41
  Partials       26       26

Impacted Files
Coverage Δ

src/logger-compat.ts
100% <100%> (ø)
:arrow_up:

src/logger.ts
96.42% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix for UserSettings/ ignore

Resolves #9.

It explains why GitHub was uploading more files then I thought Unity needed.

Yup, happened on FlappyBird as well. Need to update the template.

Added to the changelog.


Update to lvalues-and-rvalues-visual-cpp.md

Update to the example code for lvalue and rvalues to help make the topic easier to understand.

@jimmybenz : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Addresses issue #568.


Implement mechanisms to check Firebase availability in widgets SDK

Jira issue:
https://glia.atlassian.net/browse/MOB-3209
What was solved?
Release notes:

[x] Feature
[ ] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Tests updated? Added? Unit, acceptance, snapshots?
[ ] Logging for future troubleshooting of client issues added?

Screenshots:

Looks more clear and straightforward to me. The only thing that might be very good to add is - unit tests. 🙂

To be honest, I'm not sure if it is worth adding unit tests for this class, it is a pain since we have to mock a lot of system stuff to check one condition.

Looks more clear and straightforward to me. The only thing that might be very good to add is - unit tests. 🙂

To be honest, I'm not sure if it is worth adding unit tests for this class, it is a pain since we have to mock a lot of system stuff to check one condition.

Indeed, I know, okay. 👍


Make stars an internal feature

Due to repos such as @morpheus's and multiple extensions hosted on one repo, stars are no longer an accurate reflection of the popularity of a theme

Going to close this as it's already referenced in #83


BUG: optimize.nnls: v1.12 has precision problems

Describe your issue.
In scipy 1.12, a python version of the NNLS (non-negative least squares) routine replaced the tried and tested fortran version. Unfortunately, the behavior of the new routine (which claims to be faster) is sometimes inconsistent with the old routine, and the new routine gives no indication of when the results are unreliable.
Description of problem
I am trying to solve the problem
min $$||Ax - b||$$
with the constraint that all elements of x are non-negative. With A having a shape (n, m), a maximum of n elements of x will be non-zero.
For my problem, the matrix A has shape (1074, 1257), the minimum and maximum values of the elements of A are -2.4193018654733958e-21, and 3.943646586725562e-21, and the minimum and maximum values of b are -1.4210278995247266e-08 and 1.217756814911735e-08.
calling (using scipy 1.14.1)
m, rnorm = nnls(A, b)

yields a solution vector m that is identically zero.
Since A and b were expressed in SI units of Teslas, I decided to convert to nT instead
m, rnorm = nnls(A*1.e9, b*1.e9)

This returns a solution vector that has 102 non-zero elements.
Noting that the elements of A were small, I then tried to normalize A and b by the maximum value of A
m, rnorm = nnls(A/A.max(), b/A.max())

This returns a solution vector that has 298 non-zero elements.
Next, I compared with the old Fortran based routine in scipy 1.11. For this, all three tests above returned the exact same answer with 298 non-zero elements in the solution vector.
Conclusion

As written, the 1.12+ version of nnls is not consistent with the 1.11 Fortran version.
The python version can be made to work by predividing A and b by A.max(). There might be a better way, as I am not that familiar with how things work under the hood.
If the python version can not be fixed, I would suggest giving the user the option to use either the fortran or python version. This would at least give confidence that the python-version results are correct, which they are not at the present time for my problem.

Related to https://github.com/scipy/scipy/issues/21484
Ping @ilayn
Reproducing Code Example
import numpy as np
from scipy.optimize import nnls

data = np.load('nnls.npz')
A = data['A']
b = data['b']

print(A.min(), A.max())
print(b.min(), b.max())

m, rnorm = nnls(A, b)
print(sum(m>0), rnorm)

m, rnorm = nnls(A*1.e9, b*1.e9)
print(sum(m>0), rnorm/1.e9)

m, rnorm = nnls(A/A.max(), b/A.max())
print(sum(m>0), rnorm*A.max())

Error message
There is no error message

SciPy/NumPy/Python version and system information
In [2]: import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.versi
   ...: on_info); scipy.show_config()
1.14.1 2.1.0 sys.version_info(major=3, minor=12, micro=5, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /home/mrak/miniforge3/envs/py312/include
    lib directory: /home/mrak/miniforge3/envs/py312/lib
    name: blas
    openblas configuration: unknown
    pc file directory: /home/mrak/miniforge3/envs/py312/lib/pkgconfig
    version: 3.9.0
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /home/mrak/miniforge3/envs/py312/include
    lib directory: /home/mrak/miniforge3/envs/py312/lib
    name: lapack
    openblas configuration: unknown
    pc file directory: /home/mrak/miniforge3/envs/py312/lib/pkgconfig
    version: 3.9.0
  pybind11:
    detection method: pkgconfig
    include directory: /home/mrak/miniforge3/envs/py312/include
    name: pybind11
    version: 2.13.4
Compilers:
  c:
    args: -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include
    commands: /home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/_build_env/bin/x86_64-conda-linux-gnu-cc
    linker: ld.bfd
    linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
      -Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now, -Wl,--disable-new-dtags,
      -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include
    name: gcc
    version: 13.3.0
  c++:
    args: -fvisibility-inlines-hidden, -fmessage-length=0, -march=nocona, -mtune=haswell,
      -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt, -O2, -ffunction-sections,
      -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include, -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -fvisibility-inlines-hidden, -fmessage-length=0, -march=nocona, -mtune=haswell,
      -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt, -O2, -ffunction-sections,
      -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include, -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include
    commands: /home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/_build_env/bin/x86_64-conda-linux-gnu-c++
    linker: ld.bfd
    linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
      -Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now, -Wl,--disable-new-dtags,
      -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -fvisibility-inlines-hidden, -fmessage-length=0, -march=nocona, -mtune=haswell,
      -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt, -O2, -ffunction-sections,
      -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include, -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -fvisibility-inlines-hidden, -fmessage-length=0, -march=nocona, -mtune=haswell,
      -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt, -O2, -ffunction-sections,
      -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include, -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/mrak/miniforge3/envs/py312/include
    name: gcc
    version: 13.3.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.0.11
  fortran:
    args: -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix
    commands: /home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/_build_env/bin/x86_64-conda-linux-gnu-gfortran
    linker: ld.bfd
    linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
      -Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now, -Wl,--disable-new-dtags,
      -Wl,--gc-sections, -Wl,--allow-shlib-undefined, -Wl,-rpath,/home/mrak/miniforge3/envs/py312/lib,
      -Wl,-rpath-link,/home/mrak/miniforge3/envs/py312/lib, -L/home/mrak/miniforge3/envs/py312/lib,
      -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
      -fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/mrak/miniforge3/envs/py312/include,
      -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/scipy-split_1724327061663/work=/usr/local/src/conda/scipy-split-1.14.1,
      -fdebug-prefix-map=/home/mrak/miniforge3/envs/py312=/usr/local/src/conda-prefix
    name: gcc
    version: 13.3.0
  pythran:
    include directory: ../../_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.12/site-packages/pythran
    version: 0.16.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /home/mrak/miniforge3/envs/py312/bin/python
  version: '3.12'

Do you have any means to build the current main by any chance? Otherwise please paste the array somewhere online like pastebin or a gist  and I'll see if the result of the latest version (#21021) is in accordance with your expectations.

Build scipy? No. Sorry. Not that much free time...

Same applies to us. Hence my question.

I wonder if you just took any matrix A and vector b and divided them by 1.e20 if that would be sufficient to reproduce this.

We are trying to find if the new code solves, not the old code fails. Otherwise we have a number of examples for the old code to fail and we fixed them. We should see if it also fixed your problem.

nnls.npz.zip
Here are the data, and I updated the original post with simple script to reproduce this.

On the current main I get
-2.4193018654733958e-21 3.943646586725562e-21
-1.4210278995247266e-08 1.217756814911735e-08
298 4.3438564761143895e-08
298 4.343856476114391e-08
298 4.3438564761143895e-08

So it looks like it is working properly, but as a recommendation, it is always better to scale your data because it improves the conditioning.

To confirm:
This is a bug with version 1.12, 1.13 and 1.14. The bug will be fixed in version 1.15.

That's correct.


[rtextures] Adding triangle drawing function for images

New functions added
void ImageDrawTriangle(Image *dst, Vector2 v1, Vector2 v2, Vector2 v3, Color color);
void ImageDrawTriangleEx(Image *dst, Vector2 v1, Vector2 v2, Vector2 v3, Color c1, Color c2, Color c3);
void ImageDrawTriangleLines(Image *dst, Vector2 v1, Vector2 v2, Vector2 v3, Color color);
void ImageDrawTriangleFan(Image *dst, Vector2 *points, int pointCount, Color color);
void ImageDrawTriangleStrip(Image *dst, Vector2 *points, int pointCount, Color color);

Why and how

These functions enable the rendering of triangles on images, supporting any vertex order (CW/CCW).

The ImageDrawTriangleEx function allows the rendering of a triangle with vertex colors specified for interpolation. While not strictly necessary, it serves as a reference for those seeking a more comprehensive function and understanding of its operation.

Additional functions ImageDrawTriangleLines, ImageDrawTriangleFan, and ImageDrawTriangleStrip were introduced to align with rshapes.c.

The chosen rendering method is the barycentric test method. This method was preferred over the scanline method due to its simplicity and the ease with which pixel processing can be parallelized, potentially resulting in significant efficiency gains when implemented correctly.

Basic example
#include <raylib.h>

typedef struct {
    Vector2 p1, p2, p3;
    Color c1, c2, c3;
} Triangle;

int main(void)
{
    InitWindow(800, 600, "Raysterized");

    // CW order
    Triangle t1 = {
        (Vector2) { 0, 0 },
        (Vector2) { 800, 0 },
        (Vector2) { 0, 600 },
        (Color) { 255, 0, 0, 255 },
        (Color) { 0, 255, 0, 255 },
        (Color) { 0, 0, 255, 255 },
    };

    // CCW order
    Triangle t2 = {
        (Vector2) { 800, 0 },
        (Vector2) { 0, 600 },
        (Vector2) { 800, 600 },
        RED
    };

    Image image = GenImageColor(800, 600, BLACK);

    ImageDrawTriangleEx(&image, t1.p1, t1.p2, t1.p3, t1.c1, t1.c2, t1.c3);
    ImageDrawTriangle(&image, t2.p1, t2.p2, t2.p3, t2.c1);

    Texture texture = LoadTextureFromImage(image);

    while (!WindowShouldClose())
    {
        BeginDrawing();
        ClearBackground(RAYWHITE);
        DrawTexture(texture, 0, 0, WHITE);
        EndDrawing();
    }

    CloseWindow();

    return 0;
}

@Bigfoot71 Hey! This is a nice addition! Is it ready to merge?

@raysan5 I just fixed two small mistakes in ImageDrawTriangleFan and ImageDrawTriangleStrip.
Everything is tested and working, you can merge if you want! :)

@Bigfoot71 Nice! Thanks for this addition! 👍😄


Google places auto compelete doesn't work with ion-input

Short description of the problem:
I was trying to create a ion-input with google places auto complete but it seems that google doesnt like ion-input :).
Using it causes InvalidValueError: not an instance of HTMLInputElement
Not sure if we can call it a bug, but it would be great it would work with ion-input (I like its styles)
What behavior are you expecting?
To google places api to work with ion-input
Steps to reproduce:

create a page with ion-input
at the page constructor or Init

      let places = new google.maps.places.Autocomplete(document.getElementById("inputId", {
        types: ['(cities)'],
        componentRestrictions: { country: 'fr' }
      });

error

Which Ionic Version? 1.x or 2.x
2.x
Plunker that shows an example of your issue
http://plnkr.co/edit/yfzaRKhZdkMZj5GOVYS1?p=preview
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.7
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS
Node Version: v5.9.0

Hello! Thanks for opening an issue with us! As this seems like more of a support question of how to use the google maps api with ionic 2 i will urge that you ask this question on our forum (forum.ionicframework.com). Thanks for using Ionic!

 adds a wrapper on  element. The trick (although not that clean) is to simply grab the hidden input element.
eg. HTML

Home Address

Javascript/Typescript:
var nativeHomeInputBox = document.getElementById('txtHome').getElementsByTagName('input')[0];
let autocomplete1 = new google.maps.places.Autocomplete(nativeHomeInputBox, searchOptions);

To add on top of @nishantpant's answer - the snippet below is a bit more Angular 2+ although still not perfect - I would rather do away with getNativeElement().getElementsByTagName('input').
<ion-input #search ... </ion-input>
...
@ViewChild("search") searchElementRef: ElementRef;
...
const inputElement =
this.searchElementRef.getNativeElement().getElementsByTagName('input')[0];
autocomplete = new google.maps.places.Autocomplete(inputElement, options);

I wasn't getting a proper reference to the wrapper input element so i add an ionic lifecycle hook ViewDidLoad which sets the element after the DOM is done loading. @nishantpant . Thanks though


ToCode Solution: תרגול תחביר

Test 05 fails because of the initial print of "wait a sec.." otherwise the code works, but if you do a boolean operation that should not be using +. That should be using 'and' or 'or' as in:
while rand_num%7 or rand_num%13 or rand_num%15:


Purchase recommendation only wants Shipments

Cookie monster is only recommending that I buy shipments. WIth each shipment purchase, the payback period becomes more and more negative, and therefore is recommended to keep buying more. I sold everything, then bought 1 of everything, and then followed cookie monster's recommendations and as you can see from the picture, it keeps saying to buy shipments. and nothing else. This doesn't seem right, nor what it used to recommend prior to the latest update.

Upgrade to cookie monster v2.0034.2

Like @Rollermiam somewhat said, you're using the older version of Cookie Monster not meant for the current version.  The warning should have notify you of that.  I've already updated Cookie Monster so this problem doesn't exist anymore plus a few bug fixes.  Just reload Cookie Monster.

Sorry. I thought reloading my browser would reload Cookie Monster with the new version, but I guess it's not.

Weird, I would think to same too.  Are you using Userscript?

Ah, now I see.  Yea I need to update the beta sometime.


Add support for trailing commas

Ref scala/scala-dev#299.
@lihaoyi I need a hand failing the neg tests, could you have a look, please?

@lihaoyi This should go green. Could you have a look and let me know what you think, please?
And/or any feedback from @fizzy33 :)

Seems to hang on one of the failure tests, looking into it

Thanks for taking care of this @lihaoyi.


Incompatible with Python 2

setup.py declares that this package works with Python 2 at line https://github.com/misli/django-fas/blob/master/setup.py#L27,
but FasBackend.authenticate[1] has invalid syntax for Python 2.
[1] https://github.com/misli/django-fas/blob/master/fas/backend.py#L10

Since upcoming end-of-life of Python 2, I'd fix it removing the line from setup.py. Is that OK?

Sure. Thanks.


Support for Cloudflare Application for private network with terraform

Current Terraform and Cloudflare provider version
1.3.3 terraform version
Description
Support for Cloudflare Application for private network with terraform
Use cases
Testing VPN and SSM Alternative
Potential Terraform configuration
Not supported yet
References
No response

duplicate of #1974


feat: port changes to Cardinal files

My bad for letting these pile up.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

[x] depends on: https://github.com/leanprover-community/mathlib/pull/18771
[ ] depends on: #3247

This PR/issue depends on:

leanprover-community/mathlib4#3247
leanprover-community/mathlib#18771
By Dependent Issues (🤖). Happy coding!

bors merge

This PR/issue depends on:

leanprover-community/mathlib#18771
By Dependent Issues (🤖). Happy coding!

bors merge

This PR/issue depends on:

leanprover-community/mathlib#18771
leanprover-community/mathlib4#3247
By Dependent Issues (🤖). Happy coding!


No file rename in left side file browser column

Issue Type: Bug
I think I was sure it was there, but it's no longer there, control click on files in the browser view.
VS Code version: Code 1.28.1 (3368db6750222d319c851f6d90eb619d886e08f5, 2018-10-11T18:07:48.477Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.69GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (34)

Extension
Author (truncated)
Version

go-outliner
766
0.1.20

vscode-languagetool
ada
3.8.0

vscode-languagetool-en
ada
3.8.0

code-gnu-global
aus
0.2.2

vscode-django
bat
0.17.0

django-html
bib
1.2.0

brightscript
cel
1.2.1

bracket-pair-colorizer
Coe
1.0.60

dart-code
Dar
2.19.0

flutter
Dar
2.19.0

vscode-markdownlint
Dav
0.20.0

docs-markdown
doc
0.1.5

jupyter
don
1.1.4

python-extension-pack
don
1.4.0

xml
Dot
2.3.2

gitlens
eam
8.5.6

vs-code-xml-format
fab
0.1.5

code-runner
for
0.9.4

gc-excelviewer
Gra
2.1.26

MagicPython
mag
1.1.0

rainbow-csv
mec
0.6.0

vscode-clang
mit
0.2.2

roku-deploy-vscode
mjm
0.0.4

python
ms-
2018.9.0

cpptools
ms-
0.19.0

Go
ms-
0.6.91

vsliveshare
ms-
0.3.790

go-doc
msy
0.1.1

quicktype
qui
12.0.46

code-spell-checker
str
1.6.10

python
tht
0.2.3

vscodeintellicode
Vis
1.0.4

jinja
who
0.0.8

vscode-ide-brightscript
wil
1.3.5

Oh, now I see, rename is not in the group section, only in the flle browser section, this is a subtle UI issue, one would think that you could rename files in the group section as you can save and revert. Is it possible to make rename also part of the group file options (Open Editors)? It would be easier than to chase down the file in the browser.

Dup of https://github.com/Microsoft/vscode/issues/52713


"Schela" is listed in the drop-down menu

Description:
"Schela" is listed in the drop-down menu alongside its corresponding county, according to the law
Precondition:
The website is up an running.

Step 1
Type "Schela" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Schela, GORJ".


Update docstring documentation

Update docstring documentation

@sy25wang , I am not sure if the datatype of start date and end date would be string, I think it should be datetime as we had discussed yesterday

I checked that we did not import datetime package and there's no datetime datatype, so the date is represented by a string. I tested in Python as well, you can give it a try.

True that!! we haven't imported datetime package. Thanks for pointing that out. I think for now we should pass it as string and then convert to DT object inside the function


Update Ruby examples to Django

Description
Some or all of the server-side code examples on the following documentation pages are .rb or .erb files, and need to be rewritten as .py

https://sockpuppet.argpar.se/patterns
https://sockpuppet.argpar.se/deployment
https://sockpuppet.argpar.se/persistence
https://sockpuppet.argpar.se/lifecycle

Thank you for opening this issue!


Multiple ItemViewTypes possible?

Is that currently possible somehow? Are you planning to support that?

Hi, mutiple item view types are not supported. I don't think this is a big priority at the moment. Most of the time we only need one view type. If multiple ones are needed, it can be implemented fairly easily by using  [RecycleView.Adapter] (https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html) directly.
If more people think this feature would be useful, we can think about how this can be supported without increasing the complexity of the library.

Hi @ivacf, I think this would be a useful feature and it is the only one backing me out from using this library. I currently use multiple view types in some of my feeds and would like to work with you on adding this to the library. What do you think?

Another good thing about this: this allows to use sections with EasyAdapter as well... You have to manually add them, but at least it's easily possible then...


Any way to let the circles go counterclockwise?

Would be handy to be able to let the circles go backward.

Not yet i believe !


merge package from arlac77/npm-package-template

package.json

chore(package): update<EMAIL_ADDRESS>from template
chore(package): update<EMAIL_ADDRESS>from template

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remaining Capacity is a negative number?

Hello, thank you first and foremost for your excellent work! I have a UPS expansion board with a rated voltage of 3.7V, which allows for the parallel installation of two 18650 batteries, each with a capacity of 3400mAh. Consequently, when connected in parallel, the total capacity becomes 6800mAh. I have successfully integrated it into HA. However, the Remaining time remains unknown, and the Remaining Capacity displays a negative number. Could you please advise if these numerical results are correct? I would greatly appreciate your assistance.
The output result:

My UPS is:
https://wiki.52pi.com/index.php?title=EP-0136
HA config(HAOS):

ina219_ups_hat:

name: Hassio UPS HAT B
unique_id: hassio_ups_hat_b
addr: 0x40
scan_interval: 60
batteries_count: 2
max_soc:x 95
battery_capacity: 6800
sma_samples: 5
min_online_current: -100
min_charging_current: 50

I2C address:

Are all the result correct? Please help me. Thank you.

https://github.com/odya/hass-ina219-ups-hat/blob/master/custom_components/ina219_ups_hat/coordinator.py#L73C17-L73C43
soc = self._socOcvProvider.get_soc_from_voltage(smooth_bus_voltage / self._batteries_count)
...
 remaining_battery_capacity = (self._battery_capacity / 100.0) * soc

So technically value can be negative.
The voltage seems to be too low

Have you tried changing addr: 0x40 to 40, 45 or 17?
Which exactly UPS board you're using? B, C, D?

I have tried changing addr: 0x40 to 40, 45 or 17, the result of Remaining Capacity is still a negative number and the Remaining Time is unknown.
Sorry, I don't understand what u say about  UPS board B C D. But i give the UPS Link above.
I am a new.

@codepriince this component is based on the source provided by Waveshare which was originally designed to work with Waveshare UPSs:

https://www.waveshare.com/wiki/UPS_HAT
https://www.waveshare.com/wiki/UPS_HAT_(B)
https://www.waveshare.com/wiki/UPS_HAT_(D)

The (EP-0136) UPS you're using has completely different architecture that's why the values calculations might be wrong

The UPS Plus I'm using is a new generation of UPS power management module that supports OTA (Over-The-Air) firmware upgrades and features an onboard RTC (Real-Time Clock). Furthermore, it incorporates two INA219 chips, which are used to detect the battery voltage and the voltage output from the UPS Plus to the Raspberry Pi.
I thought it would be universal with INA219, maybe as you said, the architecture is different.
My UPS uses the Raspberry Pi's 5V 3A power supply as its power input, so the voltage of 4.9V may be the correct value. I think I also got some correct data using your Integration.
Thank you very much!

My UPS uses the Raspberry Pi's 5V 3A power supply as its power input, so the voltage of 4.9V may be the correct value.
I guess that's the issue, because waveshare UPS are using 8.4V (2S) input.

My UPS uses the Raspberry Pi's 5V 3A power supply as its power input, so the voltage of 4.9V may be the correct value.

I guess that's the issue, because waveshare UPS are using 8.4V (2S) input. Also, keep in mind that the original code assume a 0.1 shunt ohm resistor is present: https://github.com/waveshare/UPS-Power-Module/blob/master/ups_display/ina219.py

Thanks to your reply and guidance, I found 52PI UPS. And that's it:https://github.com/archef2000/homeassistant-upsplus


Chore: set up conventional commit enforcement with pre-commit

Issue: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/bcgov/cas-cif/363
Install the commit-msg hook to get it working locally: pre-commit install --hook-type commit-msg

Switched approach and new PR is here: https://github.com/bcgov/cas-cif/pull/441


Request: explain in docs which pieces of react lifecycle are called on server or client

The biggest change next.js implements on anyone migrating an app is the Router. Qanting to implement Router listeners there is no documentation explaining where is valid to place these listeners inside of your components or accessible so that it is only processed on the client and not the server

Mmm, I haven't had any problems by using process.browser and componentDidMount

@Kielan basically that some React stuff and Next.js have to do nothing about that.
Basically only the constructor and the componentWillMount only runs in the server.
You can refer https://facebook.github.io/react/docs/react-component.html for more info.


Invisible mobs and Armor Stands

What is the output link of /viaversion dump?
https://gist.github.com/67b2d019a355f164d4c2d0014cdef839
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Latest Waterfall
How does this error happen? login? Using an item?
No errors:
Server is 1.8.8:
1.11 cllients: i got cases where some players don't see the mobs (like zombie, creepers  or villagers ecc) and are invisible until reloging
1.8.x: players are claiming that sometimes armor stands are not loaded correct and are invisible until reloging
Is there an error in the console? Use pastebin.com. Is there a kick message?
Nope

ViaVersion doesn't modify 1.8 data so if it happens on 1.8 too i'm not really sure that ViaVersion could be causing it

i tried to downgrade and see if this still happen

So does this happen on 1.8.8 client?

well, i downgraded and seem all issues gone
for 1.8.8 it happen only for armor stand on my creative server (like entity not loaded) instead for 1.11 this issue related to all mobs/armor stand

What version did you downgrade to?

1.0.3

There are no changes to entities between those versions (excluding bossbar mechanics, which only touch enderdragon / wither).
If you decide to update in the future, it would be nice if you could test on different versions to attempt to locate which Minecraft version causes the issue. If you're using any ProtocolLib plugins that use mobs this could also be a cause.

See above for info on why this is being closed, request reopen if reinvestigation wanted.


Not possible to create a simple task with only providing the interval and without providing the count field

Description:
For the form used in creating a task, when the trigger is selected as simple it is not possible to create a task with only specifying the field interval. The count field also have to be provided.

Closing this issue as the same concern is mentioned in https://github.com/wso2/mi-vscode/issues/170


New Feature: automatic reload code injetion

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          25     34    +9
  Branches        5      6    +1
=====================================
+ Hits           25     34    +9

Impacted Files
Coverage Δ

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[open-telemetry] Container Logshipping

Context
We chose OpenSearch as the Sink for OpenTelemetry (OTel) Logs. In order to digest logs accordingly we need to structure, enhance and process incoming container logs.
Acceptance Criteria
Log Collector:

[x] Activate Daemonset for OTel to collect logs across different nodes
[ ] FluentBit OpenTelemetry Format (OTLP) to OpenTelemetry Collector and output to OpenSearch
[x] OpenTelemetry Collector Filelog output to OpenSearch
[ ] Structure and enrich logs based on OTel format
- according to https://opentelemetry.io/docs/specs/otel/logs/data-model-appendix/

References
#148

depends on #148

The following task was not completed in Sprint 07/24

[ ] FluentBit OpenTelemetry Format (OTLP) to OpenTelemetry Collector and output to OpenSearch

We will look into it in the next sprints and evaluate further


Added InfoBond widget. Modified WarnBond to be displayed only when staking chillThreshold is set

This PR introduces two functionalities:

Adding info widget in case a nominator's bond is less than staking.minNominatorBond. It can happen when such config is decreased (via sudo staking.setStakingConfig)

Change WarnBond widget to be displayed only when staking.chillThreshold` is set. Otherwise it makes no sense to display such warning.

Can we work on the colors of the new message and its size? i.e. it would ideally be of the exact same size as the warning, have some coloring inside the box and maybe also include an icon at the beginning - but rather than the exclamation mark maybe there's i or sth?

Can we work on the colors of the new message and its size? i.e. it would ideally be of the exact same size as the warning, have some coloring inside the box and maybe also include an icon at the beginning - but rather than the exclamation mark maybe there's i or sth?

Better styles added


String expression is not allowed

Problem

String expression is not allowed

Demo
./AParser                                                                                ─╯
>>> "Hello world"
libc++abi: terminating due to uncaught exception of type UnexpectedTokenParsedException: Unexpected Token: 'Token( TokenType: String Value: 'Hello world' )' is not allowed
[1]    84839 abort      ./AParser

Issue solved by implementing StringExpression, StringValue in AST, Parser, Runtime class #97


Squash properties of unexported parent types

Search Terms

inherited
inherit
expand
deep

Problem
If I'm making a Typescript library, I may choose to do something like the following example
The example in question
My library:
interface FooBase {
    id: number;
}

interface FooWithABar extends FooBase {
    barID: number;
    barName: string;
}

interface FooWithoutABar extends FooBase {
    barID: null;
    barName: null;
}

export type Foo = FooWithABar | FooWithoutABar;

Usage:
import type { Foo } from "foo";

// Legal
let foo: Foo = {
    id: 1,
    barID: null,
    barName: null
};

// Legal
foo = {
    id: 2,
    barID: 1,
    barName: "foobar"
};

// Illegal
foo = {
    id: 3,
    barID: null,
    barName: "foobar"
};

// Illegal
foo = {
    id: 4,
    barID: 2,
    barName: null
};

See, I've forced the users to either make both barID and barName non-null, or both null - but never a mixture. However, the types that make up Foo aren't useful on their own and I intentionally don't export them to avoid confusion. I especially don't want to publish FooBase, since that's not a valid Foo and can't possibly be used in a valid context.

The particulars of the example aren't terribly important, but the point is that I have an exported type alias that is a union of unexported types. I'm doing that intentionally because those unexported types aren't useful or valid on their own. However, my Typedoc documentation has no information for the reader thereof about what properties these types have; it simply displays them as a union of opaque types.
Suggested Solution
Instead of just throwing up its hands and making the underlying unions opaque, Typedoc should support an option to replace unexported types with their equivalent sources. Or to really take things too far, an option to expand types out until only primitives and those provided by the tsconfig.json's lib remain. That seems much less useful to me, but possibly easier to implement.
The resulting documented type from the exported alias in the example above
type Foo = { id: number; } & (
	{
		barID: number;
		barName: string;
	} |
	{
		barID: null;
		barName: null;
	}
);

Now, I could, of course, just create my types this way in the first place, but due to the complexity of some libraries, the underlying parts of these types wind up being extended or unioned elsewhere, so doing it through unions of unexported types cuts down on duplication and makes development much easier.

See #1823, not going to implement this in TypeDoc proper, but it could be implemented by a plugin.


feat(webpack): Pull js filename from config

Short description of what this resolves:
This allows users to set their own main.js filename.
Currently this is not possible even though it says it is in the readme.md file.
Changes proposed in this pull request:

Rename the default output_js_filename to [name].js
Use the environment variable to set the output filename

Fixes: #1163

Hi @Lindsor,
We do this now. It should be good to go. Please let me know if it's not.
Thanks,
Dan


chore: fmt&clippy

mostly formatting and clippy fixes :)
~except line 39 and 96 of bitvm.rs. can't build without adding as u32 because pushable is not implemented for u8~ (resolved in main in new commit)

Sorry already outdated. I also want to keep some of the formatting (e.g. in merkle.rs).
Further, it is easier for us if we just run formatters ourselves since we don't have to review your code then and make sure there were only style changes.
Thus, I generally won't merge automated fmt and clippy changes into the codebase.

hmm can you guys add a formatting ci or something. i started with this because i have fmt on save. if i dont do this and write other code there will be random formatting everywhere

We will eventually but it doesn't have priority. You can stage specific hunks in git instead of entire files if you want to keep your format on save enabled to avoid commiting format changes.

ahh ok


Passing tests! Fixes #4

R: @crhym3 @marcacohen

Reviewed.

Going to merge and release. Safari/FF are currently broken b/c of the iron-selector changes.


"fetched" event not called when fetching via withRelated

I'm integrating PostGIS into my app and have to hook into all of the events in order to translate between PostGIS geolocation data and GeoJSON, the format used by the API.  However, when fetching a model via a relation (i.e. withRelated: [...] and model.related(...)), the "fetched" event is never fired, which I need to convert the JSON strings returned from ST_asGeoJSON to JSON objects.  Oddly enough, the "fetching" event is triggered properly when getting the relation, and the "fetched" event works properly with all other means of fetching besides via withRelated.  My code is as follows:
    base.fetchedGeo = function(model, response, options) {
        for (let geo_col of geo_cols) {
            if (model.has(geo_col)) model.set(geo_col, JSON.parse(model.get(geo_col)))
        }
    }

...

    base.initialize = function() {
            this.on('fetching', this.fetchingGeo);
            this.on('fetched', this.fetchedGeo);
        }

        if (base._init) base._init.call(this);
    };

Is there a reason that this trigger does not fire, or is this an issue?  And if it is intentional, how would one go about hooking into the post-fetch process without the use of "fetched"?

@miketerpak The trigger does not fire for eagerly loaded (with withRelated option) associations. Look @ PR #1206. I fixed this and have been waiting for this PR to get merged. Sadly no response.

Just noticed the same issue.

Then you should update bookshelf.
On Sun, May 15, 2016, 8:45 PM Renārs Vilnis<EMAIL_ADDRESS>wrote:

Just noticed the same issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/tgriesser/bookshelf/issues/1218#issuecomment-219278069

I am running 0.9.5 and this isn't fixed...


Fix lang() function is overriding locale

After using the lang() function with the $locale parameter filled in, it overrides the Language locale, which shouldn't happen, because when using the lang() function with the $locale parameter it should be just for that call.
With this change, this override is corrected and the locale that was previously selected is restored.
Checklist:

[X] Securely signed commits
[X] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[X] Conforms to style guide

It could be an solution, but in terms off performance it will be very bad because we will always creating a new instance of the Language class, loading again the same language file.
Imagine if your view use 100 langs, it will be 100 new Language class doing tha same thing only because one of them must be in a different locale.
What do you think?

I'm not sure, I have not inspected the whole class so it sounds like you know better than me! If you are going with the shared instance I would prefer you do a single service call and then use setLocale(), just so the instance interactions are more clear.

Ok. I agree with your comments. I will close this PR and make changes in the 4.2 branch


fix(readme): updated readme

updated readme to test the release process

merging this to test release process


Update metadata.yaml

Exact formula

Thank you for this PR @janoPig  could you actually move this addition to the description of target line 12?


Substantially better error recovery for method args

Motivation

This causes a huge source of pain when using Sorbet in large codebases, because
small edits frequently cause large swaths of a file to be thrown away.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_KxxpXn6VKL0Did
→ https://go/builds/bui_Kxxpw5kIvgI7Ey

After discussion from a DM: I misunderstood how error works in bison, and assumed that it would eat the parse error like it does in happy. As errors will be raised in all these cases, all my previous comments don't apply 👍


How can I ship an icon in a fragment in a MSIX?

I am now shipping a profile fragment in the Julia MSIX Windows Store installer here. It works great! I still have one question, though: how can I ship an icon in my fragment that will be used? I tried putting an icon file next to the fragment json and then just adding "icon": "julia.ico" to the fragment, but with that it complained that it couldn't find the icon.
I think I need some way to specify a relative path here that is relative to the fragment file location, right? Is there some way to do that?

The exact code is this one, I think.

Hm, interesting... That does seem to work, but it also seems a bit hacky? What they are doing is copying the icon file at startup of the program into the local app data location (which I think means it will only work once everything has run once), and then they have semi hard coded the path to where MSIX is storing local app data in the fragment for the icon path. That latter step is probably not a good idea? Isn't that file location considered an implementation detail of MSIX? Essentially they are using a special path to reach into the container of their app, which seems not in the spirit of MSIX.
Is there maybe a way to do the same thing in a less involved way? Couldn't the terminal just be able to interpret relative paths from the fragment?

Yeah .. I wouldn't say "semi hard coded" path is a good idea or an elegant solution, either. I'll leave this to @DHowett and @PankajBhojwani

You know this also raises the question for me of whether you can import a fragment yourself as a user. Say you import the rootfs of Pengwin and install it through the wsl --import option. You won't be able to obtain the fragment through the Store as a result of this method. Perhaps I should raise an issue for this if there isn't one already. This would also affect Julia and any other third party application, especially those that aren't available in the Store.

I guess #6747 would be helpful (but probably not easy to implement), you could embed the icon into the json itself without worrying about file paths

This is an excellent question. I somewhat wonder if icon resource paths like ms-appx://My.PackageName_myPublisher/Public/XYZ work...
If they do: cool, the first free thing we've gotten from the app platform.
If not: I think we will want to add manual support for something like it.

I'm trying that now!

@DHowett I tried this now, but it does not seem to work. My fragment now is this, and that version ships in the Windows Store as the "Julia" app, so you should be able to try that and see where it doesn't work.

Thanks!

Tentatively sticking on backlog, though we may want to bump this up to a 2.0 priority.


Remove pre-existing magic and gate level verilog because they may be …

…out-of-date.
@jeffdi I'm wary of the current setup that uses old versions of the gpio_defaults_block_???? if they exist.

caravan's old. I'll create this for caravel_redesign


Implement GC for binary/validation

cc @sbc100 @tlively @aardappel if you want to take a look.

Thanks for the ping.. even though I'm not ready to review this kind of thing yet I has inspired me to at least download and build wasp :)

Cool, nice to hear! I'm going to spend some time going through and documenting everything, and starting sending out smaller PRs so it's easier to review.


layered configuration files

why
quote from the chat:
[8:54]
i think the layered configuration is quite nice, you could have a settings.yml and a settings_development.yml and a settings_production.yml

[8:54]
in settings.yml you state that youre in development mode, for example

[8:54]
then in the settings_development.yml you state that you want to use watch as a default bailador command, you state your watch directories/files etc

[8:55]
and when you perl6 app.pl you automatically have what you need, as soon as you change the mode to production in settings.yml you can have your different http/p6w server and so on

[8:56]
this applies also if you dont change the mode via settings.yml but via BAILADOR=mode:production

see PR #195

added the mode to the variants. so we try to load following files in this order:
file settings.yaml
file settings-local.yaml
file settings-development.yaml # which is settings-{$.mode}.yaml


pull request for e2e test at 12/19/2016 09:56:19

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Want to improve navbar section

This not looks good, i want to add signup/login button in the Toggle bar of the navbar section.

@ak232001 Go for it. XD : )


az webapp list-runtimes with minor versions

Related command
az webapp list-runtimes
Is your feature request related to a problem? Please describe.
az webapp list-runtimes shows available runtimes. It is really useful to view what runtimes Web Apps support, but Java related runtimes like Tomcat, JavaSE have some minor versions (like 9.0.62, 9.0.54, 9.0.52) and they are not listed in the command like below.
az webapp list-runtimes
{
  "linux": [
    "DOTNETCORE:7.0",
    "DOTNETCORE:6.0",
    "DOTNETCORE:3.1",
    "NODE:18-lts",
    "NODE:16-lts",
    "NODE:14-lts",
    "PYTHON:3.10",
    "PYTHON:3.9",
    "PYTHON:3.8",
    "PYTHON:3.7",
    "PHP:8.1",
    "PHP:8.0",
    "PHP:7.4",
    "RUBY:2.7",
    "JAVA:17-java17",
    "JAVA:11-java11",
    "JAVA:8-jre8",
    "JBOSSEAP:7-java11",
    "JBOSSEAP:7-java8",
    "TOMCAT:10.0-java17",
    "TOMCAT:10.0-java11",
    "TOMCAT:10.0-jre8",
    "TOMCAT:9.0-java17",
    "TOMCAT:9.0-java11",
    "TOMCAT:9.0-jre8",
    "TOMCAT:8.5-java11",
    "TOMCAT:8.5-jre8",
    "GO:1.19",
    "GO:1.18"
  ],
...
}

Describe the solution you'd like
like https://management.azure.com/providers/Microsoft.Web/webAppStacks, it would be nice if the command could show available runtimes including minor versions.
Describe alternatives you've considered
az rest -u "https://management.azure.com/providers/Microsoft.Web/webAppStacks?api-version=2022-03-01"

The latest version of Az CLI 2.42.0 is actually using the same rest API (2022-03-01) and i do see that the response of the api (Json) also contains the result, but it is not displayed to users for some reason, need to check why.

route to CXP team


The pod gets stuck when execute! is called with a string

I've played around a bit with this pod and I mistakenly called execute! with a string instead of a vector a couple of times.
(ns foo
  (:require [babashka.pods :as pods]))

(pods/load-pod 'org.babashka/go-sqlite3 "0.0.1")
(require '[pod.babashka.go-sqlite3 :as sqlite])

(sqlite/execute! "temp.db" "create table if not exists foo(my_text TEXT)")

What happens is that you get the following error message and babashka (v 0.7.4) never exits:
% bb foo.clj
panic: interface conversion: interface {} is string, not []interface {}

goroutine 1 [running]:
main.parseQuery(0xc00001e050, 0x45, 0x0, 0x42e92c0, 0xc000010048, 0x42e92c0, 0xc000010048, 0xc00012df50, 0x4108a05, 0x436dca0, ...)
	/Users/distiller/project/main.go:102 +0x286
main.processMessage(0xc00006c180)
	/Users/distiller/project/main.go:150 +0x151
main.main()
	/Users/distiller/project/main.go:205 +0x39

A bit more descriptive error message and not getting stuck would be handy.

Closed via #10

Released as 0.1.0.


[Feature request] support the URL scheme/Obsidian URI standard.

Is your feature request related to a problem? Please describe.
I love using obsidian-modal-form and recently discovered this amazing little plugin obsidian-create-task
https://github.com/simonknittel/obsidian-create-task
in many sense the perfect companion for obsidian-modal-form :)
in very cool thing that it supports is the use of the URL scheme/Obsidian URI standard.
Using this url (obsidian://create-task) will automatically start Obsidian and open the modal!
Describe the solution you'd like
I thought it would be amazing if obsidian-modal-form can also support such a scheme so that some of the modals I create would already be pre filled!
Additional context
Thank you so much for considering!

Hey @zeltak, thank you for putting this feature in my radar.
However, the ability of modal-form to create new notes is limited. Are you currently using that feature? I will be surprised if you do.
The point I'm trying to make is that, the main use-case of modal forms is to be a side-car plugin for other more capable plugins like templater, quickAdd or CJS, which means that it is not meant to be called directly but from other plugins. Does that make sense?
The usual flow of modal forms is:

Be called by another plugin that wants some data
present a form to the user and collect the data
return the data to the original caller

In the case of opening a form from a url scheme the points 1 and 3 are missing. How do you expect this to work exactly?
One possible workaround is:

Have a template that calls the form you want
Make the template available as a command (templater allows this)
Call that template using obsidian advanced url plugin

Have you considered that as a viable workaround?


#22165 add row level security policies support for Greenplum 7

Please check in Greenplum 7 (partner db) (visible)
and in old Greenplum (our db) (absent)

verified


Adds IAsyncParseNodeFactory, makes deserialization methods async, upd…

Adds async deserialization capabilities

@andrueastman for final review and merge!
@MihaMarkic thanks for all the great work! can you start it for text/form/multipart as well please?


Feature request: configurable position when used as vim.ui.select

I'd like to be able to set a specific position for the action menu when used a vim.ui.select.

That is already possible using the popup table in the configuration table.

see https://github.com/Chaitanyabsprip/fastaction.nvim/blob/24255a74e0d35f1e1807aa78997f5c31ae419dbc/lua/fastaction/types.lua#L56

Thank you for your quick reply, this however makes the code action also change position. I do think i phrased my request badly, but the solution to my isuse was to pass x_offset like this:
opts {
  popup {
    x_offset = vim.api.nvim_get_option_value("columns", {}),
  }
}

This offsets the window when relative to editor. It would however be nice to separate the relative configuration of the code action and vim.ui.input. Closing this as the issue is resolved.


doc: Fix renamed ARM MPS* board targets

Fixes some board target names that have changed or were not updated for hwmv2

pinging @d3zd3z for approval as he is the PR assignee.


broken link: LICENSE

broken link for LICENSE in Readme file

Hi @mohitahlawat2001 please assign this issue if you feel useful and add hacktoberfest label

i assigned it to you

make sure you star repo ⭐  and follow on github , giving hacktoberfest tag after this step

okay, thank you!

please review PR #85


Push states in the browser history when changing day in "My Track"

Similar to issue #6, the URL should be updated to save the state of the application when navigating the "My Track" page.

Fixed by commit 447752749f92d994ac3f06624fe366a5417e1c52


PARQUET-1300: [C++] Implement encrypted Parquet read and write support

I've just move from patch from apache/parquet-cpp PR #475 with @wesm's great help. Will update CMakeLists.txt and example for encryption later.

Plan to get the examples migrated this week. Will also review this patch when I can.
@ggershinsky @majetideepak there may have been some unaddressed comments from the parquet-cpp PR, so some additional review may be necessary

@wesm @ggershinsky @majetideepak . Can you help us review this code ? We are planing to use this feature on our product. We want to make sure the file which is generated by C++ code can decrypt by java code.

@nguoithichkhampha The encryption design is currently being voted by the community. The process seems to be converging, but it is not over yet. Once the design is signed off, we'll resume the work on Java and C++ versions. Today, the C++ lags behind a bit, as there were recent changes in the spec and Java code (eg support for legacy readers). I keep the track of these - after the voting is finished, I'll get in touch with @thamht4190 and other C++ community members to get this going.

@ggershinsky , thanks for quick reply. Can you please tell me the moment will have final design for encryption ?

@nguoithichkhampha , no problem, our timezones are not that different :).
Certainly, I'll inform you the moment the encryption design is formally signed off by the community.

I can start reviewing this as soon as it's rebased

@wesm I've just rebased. Can you take a look please?

The CI is broken, I'll start reviewing this week but please work to get the CI green in the meantime

I'm about 2/3 the way through my review but it's time consuming as you can imagine. I'll try to finish this weekend so you can begin to address comments while you also work on fixing the test suite

@wesm thanks, we're on it.
Re CI, looks like only one error is directly related to the encryption code (stats, we're fixing this); others are either indirectly related (such as OpenSSL version on macOSX) or seemingly unrelated. In any case, we're working of fixing them all, with Deepak's help on the OpenSSL part.

@wesm , @majetideepak , a current status update -

all review comments have been addressed, code added/modified, etc.
CI passes the tests(*). Thanks Deepak for helping with a number of them.
The CI work takes a while, but is a very useful (bootcamp :) experience for the team.

We'd be glad to get another round of your PR code review comments.
(*)We came across a somewhat exotic problem that shows up only when reading the same file twice, only in one encryption config (out of six), and only in AppVeyor/MinGWindows. Eg  the same works ok with  with the Visual studio in our Windows box or on AppVeyor.
Still, we'd like to get to the bottom of this. We tried to debug this indirectly via AppVeyor printouts, found a couple of bugs, but not the main one, so now start working to reproduce this environment to debug directly.
Any info re MinGW will be appreciated (a pointer to a person with an experience building Arrow/Parquet on MinGW; info on CI AppVeyor platform - which Windows version; CPU, etc; or maybe there is a ready Windows image we can get and install, to be identical to AppVeyor's with MinGW etc).
(**) today, we see some strange rebase issues, and an AppVeyor build failure that might be related. Tham will write with more details.

Thanks @ggershinsky.
@majetideepak I see conflict on this pull, but when I rebase on my local machine, I don't see any conflict to fix. I've never seen a case like this before. Do you know why?
It seems the failure on AppVeyor (https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/25739524/job/06r6orxp9o9loh9r) doesn't relate to this pull. Can you please check it out?

@wesm @majetideepak The timing of our last two comments was unfortunate :), but, on the bright side, the team has managed to install MinGW and reproduce the problem today (working on debugging now). So an assistance with MinGW is not needed. However, the rebase issues still seem to persist, we'll appreciate a help with these.

@thamht4190 , thanks for handling the rebase.
@wesm @majetideepak , no more open issues, except for the mingw in one config with double read ; we're working on debugging.

@wes @majetideepak since this pull has grown too much, should I close it and open a fresh one from the same branch?

Yes, can you open a new PR so I can review again with less GitHub UI lag? Thanks

Thanks @wesm. Will do it now.


unable to expose prometheus services usign ingress

Hi
unable to expose Prometheus services using ingress.grafana works fine usign below ingress yaml file
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: monitoring-ingress
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:

hosts:

mydomain.com
secretName: ingress-tls
rules:

host: mydomain.com
http:
paths:

path: /grafana
backend:
serviceName: grafana
servicePort: 80
path: /alertmanager
backend:
serviceName: prometheus-alertmanager
servicePort: 80
path: /prometheus
backend:
serviceName: prometheus-server
servicePort: 80
path: /pushgateway
backend:
serviceName: prometheus-pushgateway
servicePort: 80

Proposal
Use case. Why is this important?
“Nice to have” is not a good use case. :)
Bug Report
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment

System information:
insert output of uname -srm here

Prometheus version:
insert output of prometheus --version here

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

insert configuration here

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

Thanks for your report. It looks as if this is actually a question about Kubernetes and not Prometheus itself.
To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list.
Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future.


System.IO.FileNotFoundException on UAP projet

Hi,
On a Windows Universal (UAP) project i'm getting this exception when using JsonConvert.DeserializeObject
=>
An exception of type 'System.IO.FileNotFoundException' occurred in Newtonsoft.Json.dll but was not handled in user code
Additional information: Could not load file or assembly 'System.Runtime.Serialization, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The system cannot find the file specified.
Works fine on Universal App (Windows 8.1 ans Windows Phone 8.1)
Thanks

Have the same issue

Can't help you, I don't have a computer with VS2015rc and hyperv to test on.

It's because JsonTextReader and JsonTextWrite use System.IO.TextReader and TextWriter respectively which are not supported in Dot Net Core.
These implementations, and any others using TestReaderWriter must be changed to using StringReader and StringWriter respectively for JSON.net to be fully compatible with coreClr

CoreCLR doesn't have TextReader?! Where did you see that. StringReader inherits from TextReader in normal .NET

When clone json.net workspace, the project Newtonsoft.Json.WinRT doesn't build. This one doesn't reference JsonRequiredAttribute.cs

Newtonsoft.Json.WinRT isn't used anymore. It has been replaced by Newtonsoft.Json.Portable.

For anyone who is getting this error:

Remove the DLL reference to NewtonsoftJson.dll in the portable-net40+sl5+wp80+win8+wpa81 directory
Add a reference to Newtonsoft.Json.dll in the portable-net45+wp80+win8+wpa81+dnxcore50 directory

Let me know if that works for you.

Manually Changing the Reference to the Newtonsoft.Json.dll in the portable-net45+wp80+win8+wpa81+dnxcore50 directory did the trick :) Thanks :)

Shouldn't this be fixed in Nuget?

https://github.com/JamesNK/Newtonsoft.Json/issues/602

I can see the same issue in a windows 10 universal platform app with 7.0.1, downgrading to 6.0.8 works okay


MISP 2.4.97

Any plan to make the 2.4.97 default? Thanks a lot.

Hi,
Yeah, we're working on it. But since we changed the base from ubuntu to debian. But we still need some time to do some testing.

Thank you for the feedback.

Hi,
currently the new 2.4.97 container is in build process.
See: https://travis-ci.org/DCSO/MISP-dockerized-server/jobs/456047150
If it is ready you can use it with the following tag command:
dcso/misp-dockerized-server:2.4.97-dev
As soon as i've added the change to the main repository, the container will also be available on the following tag:
dcso/misp-dockerized-server:2.4.97
This time the new version requires a lot of time, because we switched the base from ubuntu 18.04 to debian stretch and we moved our ansible script tasks into the container.


Utility_meter failed to setup

Home Assistant release with the issue:

arch
x86_64

dev
false

docker
true

hassio
true

os_name
Linux

python_version
3.7.5

timezone
Europe/Lisbon

version
0.103.2

virtualenv
false

mode
yaml

resources
25

views
9

Last working Home Assistant release (if known):
previous version
Operating environment (Hass.io/Docker/Windows/etc.):

ubuntu on intel-nu
Integration:

https://www.home-assistant.io/integrations/utility_meter/
Description of problem:
Setup failed for utility_meter: Unable to import component
Component error: utility_meter - cannot import name 'ENTITY_SERVICE_SCHEMA' from 'homeassistant.helpers.config_validation' (/usr/src/homeassistant/homeassistant/helpers/config_validation.py)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

utility_meter:
  daily_energy:
    source: sensor.smappee_casa_girassol_power_today
    cycle: daily
  monthly_energy:
    source: sensor.smappee_casa_girassol_power_today
    cycle: monthly

Traceback (if applicable):

Additional information:

@Trouble-51 could you please add the entire error log to this template? Since I cannot find ENTITY_SERVICE_SCHEMA in any utility_meter related python file, therefore the occuring line or any more information could be helpful.

Component error: utility_meter - cannot import name 'ENTITY_SERVICE_SCHEMA' from 'homeassistant.helpers.config_validation' (/usr/src/homeassistant/homeassistant/helpers/config_validation.py)

@Trouble-51 is that everything you can find in home-assistant.log?

cannot find anything else. Can i do something together more info?

can you paste any other debug messages before the error ?
This is really strange, as 'ENTITY_SERVICE_SCHEMA'  is not directly imported by utility_meter...

it's a message from check config.
this is from the log:
2019-12-19 21:47:39 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for melcloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-19 21:47:40 ERROR (MainThread) [homeassistant.setup] Setup failed for utility_meter: Unable to import component
2019-12-19 21:47:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for iphonedetect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-19 21:47:44 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 408, in _async_add_entity

Problem is solved. I deleted all the files in custom_components, restarted has.io and the problem was gone. Thanks loan email from tdejneka who's the same problem with the timer component

Based on an email  i received from thejneka I deleted all files from custom_components, restarted has and the problem was solved and the utility meter works again. The same problem and solution was also reported for the timer integration
thanks,
Jos

On 19 Dec 2019, at 21:15, Diogo Gomes<EMAIL_ADDRESS>wrote:
can you paste any other debug messages before the error ?
This is really strange, as 'ENTITY_SERVICE_SCHEMA' is not directly imported by utility_meter...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant/issues/30079?email_source=notifications&email_token=AGL2HVFH3Y4R4DDUB36BRQLQZPP5ZA5CNFSM4J5KBUD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLBVUA#issuecomment-567679696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGL2HVCLMCECQGSJCDITEMDQZPP5ZANCNFSM4J5KBUDQ.


Slow hand movements

In previous versions of ALVR, you could choose the speed of your controllers when moving; now it's not there. How can I change it?

Hi, try adjusting Pose time offset (ms) under the Headset tab of settings. A higher value will make the controllers more jumpy, while a lower value will make them move smoother.

appologies for the late reply, i don't see post time offset in the headset advanced settings
I'm on 19.1.0

Yes, it should be trackingLatencyOffsetMs on v19.1.0

Closing as completed


Add namespace to manifests, to support devspace render / helm template

As you can see here, helm is not going to add a namespace when we run helm template.
For this reason, many helm charts add a namespace: {{ .Release.Namespace }} to each manifest, so when running helm template/devspace render, the manifests include the namespace, so argocd or any other gitops like tool is able to work correctly.
Can you please add namespace: {{ .Release.Namespace }} ?

It's an interesting idea but I'm not sure about it because it may be better to have one application definition that can be applied to x namespaces.
Can't you simply set the target namespace (destination) in Argo and that should achieve what you want? In the application definition rather than in the manifests: spec.destination.namespace
If we were to add the namespace in the output and you wanted an application deployed x times in x namespaces, that would not be possible anymore. Right now, it's easily possible by commiting one singe output of devspace to git and have multiple Argo applications with different namespaces.

It's an interesting idea but I'm not sure about it because it may be better to have one application definition that can be applied to x namespaces.
Can't you simply set the target namespace (destination) in Argo and that should achieve what you want? In the application definition rather than in the manifests: spec.destination.namespace
If we were to add the namespace in the output and you wanted an application deployed x times in x namespaces, that would not be possible anymore. Right now, it's easily possible by commiting one singe output of devspace to git and have multiple Argo applications with different namespaces.

Hi @LukasGentele , thanks for taking the time. I understand your point of view and your proposed solution, which unfortunately doesn't apply to me because I am not using exactly argocd but another similar product.
Can I then propose an alternate solution, which is using a specific value namespace. then the chart could have something like:
{{- if .Values.namespace-}}
  namespace: {{- .Values.namespace -}}
{{- end -}}

The value name can be anything you'd like of course. And I'd be happy to submit a PR.

Great idea to work with values instead. Looking at  https://github.com/loft-sh/devspace/issues/1782 , we may want to make this more flexible, e.g.
namespace:
  name: xxx
  annotations: ...  # can be added later
  labels: ...             # can be added later

While name is the only thing we need at first, to add namespace to the service, deployment etc. (= your issue) making the namespace as an object may be more flexible for down the road if we want to add other things to the namespace definition itself (= referenced issue above).
Any thoughts regarding their solution for either one of these issues? Would that work for you?
Thanks for suggesting this @wollowizard! Would love to see a PR from you. Please note that you'd also need to add a PR to DevSpace itself to add the new values options of the component chart to the devspace.yaml


EVM Staking - Nomination Flow, Bond More & Change Reward Destination

Summary of changes

Adds inital Nomination flow.
Adds Bond More tokens flow.
Adds Change Reward Destination flow.

Proposed area of change

[ ] apps/bridge-dapp
[ ] apps/hubble-stats
[ ] apps/stats-dapp
[x] apps/tangle-dapp
[ ] apps/testnet-leaderboard
[ ] apps/faucet
[x] libs/webb-ui-components

First-Time Nominator Flow: Bond Tokens, Select Reward Destination, and Nominate Validators.
https://github.com/webb-tools/webb-dapp/assets/53374218/620f27a9-4dcf-4a29-ac6f-325f7f2215d2
Non-First-Time Nominator Flow: Overwrite Nominations Without Bonding More Tokens, Change Reward Destination, and Bond More Tokens.
https://github.com/webb-tools/webb-dapp/assets/53374218/ca4efc01-87bb-45e5-9dbc-4b1f68ad0377

@monaiuu Added search bar.
https://github.com/webb-tools/webb-dapp/assets/53374218/e9e8b4a3-ba44-4541-89a1-e0c393b189af


post-event survey?

Might I recommend a paper post-event survey?
In the past I've tied sticker distribution / certificate distribution / something at the end distribution to handing in the paper post-event survey.  Gets folks to actually do it (as they are frequently a) out of battery, or already closed up their laptops).
Thoughts?

Sounds like a good plan to me! I've requested lots of power options in the room to hopefully skirt that out-of-battery issue, but paper will work too! Are those surveys something you'd be bringing along, or will we need to create and make copies? Happy to help either way!

Here's a pre/post assessment survey we used for a GitHub workshop we ran: https://docs.google.com/document/d/1_N5ZSVvcNUp6F5xLPGw9JzeeZAhmMCtwFY6z6gL7vXY/edit#heading=h.famzc66fhruq
If interested, I can tweak to use questions of interest for this event. Here's an example of what it might look like: https://docs.google.com/document/d/17IsetuHSbmEg0XmLED1Y22fOu94c1ouxRgEkE-oW1KU/edit?usp=sharing


Release

Checklist

[ ] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[ ] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[ ] The description lists all applicable issues this PR seeks to resolve
[ ] The description lists any configuration setting(s) that differ from the default settings
[ ] All tests and CI builds passing
[ ] The description lists all relevant PRs included in this release (remove this if not merging to master)
[ ] e2e tests are all passing (remove this if not merging to master)
[ ] Code coverage does not significantly worsen (ideally it improves) (remove this if not merging to master)

Description
New version release with the following PRs: #553, #588, #579, #591, #545, #594, #597, #595, #601, #596, #600, #551, #602, #603

@evansiroky, it looks like the e2e tests are broken again. Any insights? Looks like the OTP router is registered, but the trip could not be planned: https://travis-ci.org/github/ibi-group/datatools-ui/builds/716913172#L1981

This appears to be happening because of the problem that was fixed in https://github.com/ibi-group/datatools-server/pull/334. That PR was merged into the branch that https://github.com/ibi-group/datatools-server/pull/331 is using, so once that gets merged into dev, these e2e tests should start passing again.

Blocked until https://github.com/ibi-group/datatools-server/pull/336 is merged and a new jar is uploaded.

Codecov Report

Merging #604 into master will decrease coverage by 0.43%.
The diff coverage is 26.79%.

@@            Coverage Diff             @@
##           master     #604      +/-   ##
==========================================
- Coverage   43.89%   43.45%   -0.44%
==========================================
  Files         315      323       +8
  Lines       17270    17589     +319
  Branches     5269     5363      +94
==========================================
+ Hits         7581     7644      +63
- Misses       8443     8670     +227
- Partials     1246     1275      +29

Flag
Coverage Δ

#end_to_end_tests
44.16% <26.68%> (-0.50%)
:arrow_down:

#unit_tests
15.67% <6.88%> (-0.14%)
:arrow_down:

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

Impacted Files
Coverage Δ

lib/common/util/config.js
80.00% <0.00%> (ø)

lib/editor/selectors/timetable.js
62.35% <ø> (ø)

lib/gtfsplus/components/GtfsPlusVersionSummary.js
0.00% <0.00%> (ø)

...manager/components/transform/FeedTransformation.js
0.00% <0.00%> (ø)

...components/transform/FeedTransformationSettings.js
0.00% <0.00%> (ø)

...ib/manager/components/version/FeedVersionReport.js
47.91% <0.00%> (-4.26%)
:arrow_down:

lib/types/index.js
0.00% <0.00%> (ø)

...manager/components/transform/FeedTransformRules.js
1.51% <1.51%> (ø)

lib/manager/actions/status.js
61.11% <5.88%> (+0.61%)
:arrow_up:

lib/manager/components/FeedSourceSettings.js
41.37% <18.18%> (-12.25%)
:arrow_down:

... and 26 more

Continue to review full report at Codecov.

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

Test are passing again. Unblocking.


which version this ?

Did you update the new dev version

@saxosdz The release version is compatible with the testing network, please check the latest tags for the development network.

@saxosdz The release version is compatible with the testing network, please check the latest tags for the development network.

I already posted on the discord and the team request me to wait new version 0.7.7


"Prev Month or Next Month" of tooltips is not work

Prev Month of tooltips is not display and Next Month of tooltips is not display.

Mine is working fine. You are probably not including FontAwesome 5 and you see no icons as a result.


Please, think about additional assert types

Currently we have next asserts:

Contains
Equal
NotEqual
Length
GreaterThan
LessThan
Present
NotPresent

Please, think to add next assert types:

GreaterEqual
LessEqual
AssertArray

It seems that if you add GreaterOrEqualThan  then GreaterThan behaviour becomes wrong, it doesn't return an error on Equal case.  Also LessOrEqualThen.
I could add these features, but then I'd have to break backwards compatibility, right?

So, now GreaterThani is assert only for array. It's my mistake. I think. if we add comparing(equal) for numbers with error on zero case, it will be ok

I didn't see how that would help.
Here is an example of what I was talking about:
assert.Greater(t, 3, 3)                                // testify FAIL "3" is not greater than "3"
GreaterThan("$.o", 3)([]byte(`{"o":["a", "b", "c"]}`)) // ok

So, If you add GreaterOrEqualThan, behaviour of GreaterThan should change to FAIL

Sorry for long answer.
My point is need to copy logic assertion from assert package and implement it. If it will break backwards compatibility,  it's ok.

Thank you @shalimski for https://github.com/ozontech/cute/pull/18


Added C sample

The file was incorrectly being displayed as C++ when it is actually written in C.

I decided to not agree to the Github CLA.


refactor(app): move apply labware offsets to hook and out of summary screen

closes #8905
Overview
This PR moves apply labware offset logic from the LPC summary screen and into the useLabwarePostionCheck hook
Changelog

refactored the logic and also extended a few props

Review requests

Run through LPC on your robot and make sure it gets through it successfully.  I tested a handful of protocols on my robot and it worked but would be ideal to run on another robot to make sure this refactor didn't break anything

Note: there is no test file for useLabwarePositionCheck at the moment, that can be addressed in a follow up ticket: #9140
Risk assessment
low, behind ff

closing this, we;'ll address this later


add deleteCards methods

Add deleteCards:atIndices and deleteCards:atPositions methods
Add swipedCards -> [Int] method

Closes #103

Codecov Report

Merging #109 into master will increase coverage by 0.3%.
The diff coverage is 100.0%.

@@           Coverage Diff            @@
##           master    #109     +/-   ##
========================================
+ Coverage    84.4%   84.8%   +0.3%
========================================
  Files          13      13
  Lines         740     759     +19
========================================
+ Hits          625     644     +19
  Misses        115     115

Impacted Files
Coverage Δ

...Shuffle/SwipeCardStack/CardStackStateManager.swift
100.0% <100.0%> (ø)

...ources/Shuffle/SwipeCardStack/SwipeCardStack.swift
100.0% <100.0%> (ø)