Use atomic_polyfill on targets without atomics

Most targets, even those without atomic instructions, support atomic load and stores. RISC-V is one of the few platforms that lacks this ability, and rustc is planning on solving that in the future (https://github.com/rust-lang/rust/issues/99668).
However, in the meantime it is impossible to use defmt-rtt on the riscv non-atomic platform, such as the ESP32-C3.
atomic-polyfill is a useful crate that emulates the atomics via critical_section, but only on platforms without atomic support. On platforms with atomic support, it just re-exports the types from core::sync::atomic.
Would this PR be considered for inclusion in defmt-rtt? A prior PR was rejected here: https://github.com/knurling-rs/defmt/pull/702

To clarify: things have changed since then, chiefly these work now:
https://github.com/esp-rs/esp-hal/issues/191
https://github.com/esp-rs/esp-hal/issues/175
It works on -imac, but this PR will allow it to work on -imc also (preferred because it's not using a trap handler anymore)

I will try  to come back to you about this next year

defmt-rtt only uses atomic load/store, no CAS, so using atomic-poyfill shouldn't be necessary. It'll acquire/release the critical section unnecessarily for each load/store.
Since all accesses are done within a critical section already, I think they could be replaced with UnsafeCell + write/read_volatile + fences.

defmt-rtt only uses atomic load/store, no CAS, so using atomic-poyfill shouldn't be necessary. It'll acquire/release the critical section unnecessarily for each load/store.
Since all accesses are done within a critical section already, I think they could be replaced with UnsafeCell + write/read_volatile + fences.

Thank you @Dirbaio. Could you elaborate how "UnsafeCell + write/read_volatile + fences" would roughly look like?

Using UnsafeCell<u32> instead of AtomicU32, and do volatile loads/stores to it. It's sound because these are always done within the critical section.
 Ideally Rust should expose load/store atomics on riscv32-imc (what the esp32c3 is) like it does in cortex-m. See relevant Rust issue: https://github.com/rust-lang/rust/issues/99668

@TheButlah do you have bandwidth to change your PR to UnsafeCell as described by @adamgreig?

Is it really a good idea to add unsafe code when non-CAS atomics work fine?
I think the issue was more of a lack of knowledge about the relevant -C flags on my end. Ideally users could be educated that the following flags should be used on RISCV:
.cargo/config.toml
[target.riscv32imc-unknown-none-elf]
rustflags = [
  # enable the atomic codegen option for RISCV
  "-C", "target-feature=+a",

  # tell the core library have atomics even though it's not specified in the target definition.
  # NOTE: This is fine for load/store, but we don't support compare-and-swap, so we don't get
  # full atomic features. For that, atomic_polyfill or the atomic trap handler should be used
  # instead. But we don't need CAS in the firmware.
  "--cfg", "target_has_atomic_load_store",
  "--cfg", 'target_has_atomic_load_store="8"',
  "--cfg", 'target_has_atomic_load_store="16"',
  "--cfg", 'target_has_atomic_load_store="32"',
  "--cfg", 'target_has_atomic_load_store="ptr"',
]

Sooo ... there aren't changes to defmt necessary? I am slightly unsure about the status.

they're not, I think this can be closed.
It'll Just Work when https://github.com/rust-lang/rust/issues/99668 gets fixed for riscv. Until then users can use these flags.


Create pull_request_template.md

Issue #195
Adding PR template for easier reviewing/verification of PRs.

Excellent one @Fiona-Waters ! You might want to add this file under .github to keep it consistent with how KubeRay and ODH are doing it. What do you think?

/retest

Closing in favour of https://github.com/project-codeflare/.github/pull/12


Create video tutorials for running a local protocol backend stack

We have some text based directions for running a local backend stack. It's good to have a few different modes of documentation to help people in case they struggle with one of them. This issue is to create one or more video tutorials that document how to get a local protocol backend stack running from scratch.

close due to project shutdown


Consolidate lines in CODEOWNERS, drop hack/test

/lgtm

@JRBANCEL /lgtm and /approve are meaningless in sandbox now, please use Github reviews.


Updated regions to use raw strings in Guild

This can be useful to debug which regions are not currently supported by JDA.

Why store region as string? Isn't an enum value one of the best things regarding storage?


'DAX Identifier' capitalization

Describe the bug
'Identifier' should be capitalized in the 'DAX Identifier' property for tables, columns, measures etc.
To Reproduce
Steps to reproduce the behavior:

Click on a Table/Column/Measure
Go to the 'DAX identifier' property

Application specifics

Tabular Editor version: 2.14.1

Fixed in 2.14.2. Thanks for reporting!

Thanks!


Add support for OS_CACERT in Openstack driver

This enables using docker-machine's openstack driver without having to
resort to using the --insecure flag.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "add_openstack_driver_cacert_support" git@github.com:mathias-nyman/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "add_openstack_driver_cacert_support" git@github.com:mathias-nyman/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

I could use some help finding the needle in this haystack:
https://jenkins.dockerproject.org/job/docs-machine-pr/1425/console
To me it looks like the source of the 255 reported errors are not from my diff.

@fsoppelsa WDYT

The docs sometimes have intermittent failures

Retest this please

(The above re-triggers a docs build.)

I need to try this, ETA by this week.

@nathanleclaire is this for v0.8.1 or v0.9.0? - if you set the milestone docs'll know when to publish it (and if its a fix for older releases, use that as the milestone?)

@SvenDowideit It depends, @fsoppelsa @mathias-nyman are you still interested in this?  I'll merge if it looks good to you @fsoppelsa

@nathanleclaire, yup, still very much desired.

It LGTM -- we can revert if we encounter issues


test: e2e tests for delegated IPAM

Add E2E test for Cilium using a delegated IPAM plugin.
The test currently covers only IPv4; the test will be extended to cover IPv6 in a subsequent pull request.
Fixes: #34788

/test

(dropped @aanm from review as I covered @cilium/github-sec codeowner, but feel free to review as well)

/test

Rebased to resolve merge conflict in .github/ariane-config.yaml
@tklauser could you please take another look? thanks!

/test


Driver Name Error with MySQL 8

Is your feature request related to a problem? Please describe.
When trying to change the h2 database with mysql, we should have to configure it in deployment.toml file. Like this..
[database.identity_db]
type = "mysql"
hostname = "localhost"
name = "regdb"
username = "regadmin"
password = "regadmin"
port = "3306"

Since you are not configuring the driver name, system will take the default driver name as com.mysql.jdbc.Driver
But if you are using MySQL 8, the default driver name is not working...
Describe the solution you would prefer
you should have to configure the driver name in deployment.toml configurations as com.mysql.cj.jdbc.Driver....
Better if you configure the driver name com.mysql.cj.jdbc.Driver as a default for MySQL 8

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Edited summary

Added description for this class.

Docs Build status updates of commit 117e01f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.SharePoint.Administration/SPConfigDatabase.xml
:white_check_mark:Succeeded

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.


Energy meter solar kit installation in EU

Hi,
I bought the solar kit, and I realized that is designed for a two-phase system after purchasing it, while in my country I have a single-phase grid supply at 230V 50Hz (1 phase + neutral), and I would like to know if I should be able to configure the system anyway using only the standard calibration, and without installing the CT2 and the SCT2 clamps, or I need to change the code and recompile it.
Have you any hint for such type of configuration??

I have a simular question. Have 230V 50Hz but three phases. Done the configuration but can´t get the voltage calibration right.
Jameco 9VAC Transformer:
For meter versions:
>= v1.3: 7305
voltage_cal: '7305'
This setup is for 120V transformer. Around what value should be used for 230V transformers? When I turn this all the way up to 65535 I get a reading around 13V i Home Assistant. And if I use 7305 I get around 0,3V.

Hi
Deleted my post when I realized this was for the the 2 phase version. I have the 6 channel board. The question remains though.


rounded corners

Bug report
Summary
Previously, if you wanted to get a MapView with rounded corners, you could wrap it inside a View component with borderRadius and hidden overflow, e.g.
<View style={{ borderRadius: 20, overflow: 'hidden' }}>
  <MapView
     style={{ width: '90%', aspectRatio: 1 }}
     provider={PROVIDER_GOOGLE}/>
</View>

However, since Android API level 30, the map still shows the "Google" label, but the map itself is blank.
Environment info
react-native: 0.63.4
react: 16.13.1
react-native-maps: 0.28.0

@losthakkun borderRadius works but specifying the corner doesn't weirdly enough

I don't think that the map being blank has anything to do with the borderRadius. Your code sample is working as expected on my end.
I'm going to close this for now, but if you think this is still relevant and releated to react-native-maps, please feel free to open a new issue.


Update to use latest openwhisk-client-go

The openwhisk-client-go needs to be updated to use the latest code from the core.  see issue 1.  Once that's done, we need to update the wskdeploy code to use it.  There are differences in the latest openwhisk-client-go code:
whisk.Package instead of whisk.SentNoPublish
whisk.KeyVal.Value is now a map[interface{}][interface{}
whisk.Action.Exec.Code is now *string
whisk.Action.Publish is now *bool
There are others.

Merged


Add documentation for Apify.utils.log

We're using it in examples, but it's not documented.

Implemented in: https://github.com/apifytech/apify-js/commit/23d25e839d4d6696d11b3caa00f8a386f37887cc


vendor: etcd-operator

This is to vendor etcd-operator in order to import etcd cluster TPR spec.
Separate it from #259 and updated to latest. Remove most of unneeded dirs

@aaronlevy @xiang90
Let's get this merge first.

Can we just vendor the spec part? not the entire operator?

Updated to vendor spec only.

LGTM

lgtm - but holding off on merging until I can get a version bump release out (will be today)

Discussed with @aaronlevy and we are going to combine this PR with https://github.com/kubernetes-incubator/bootkube/issues/259


Styled upstream author text to not look like a link

This looks tentatively good. Out of curiosity, did you consider making this not even be a link by editing HTML? If that's possible, I'd prefer that change. Let me know what you think.

Done! I thought there were  tags for a reason that I didnt understand.

Wow! Code removed is code tested.
I'll attempt to merge/deploy this on Monday, at this rate.

This is now finally live. Sorry for the delay and thanks to @kentonv with helping me with a problem I had with deploying.


ERROR Manifest merger failed when just trying step 4

I'm trying to just get started with the Codelab. I did all the stuff in the Firebase console to add the app to it. And then when I did Gradle sync, I keep getting this error:
ERROR: Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
	is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
	Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:6:5-22:19 to override.

Is the solution to do Refactor> Migrate to AndroidX?
It does seem to work, but if it's not the right thing to do, can someone please get this sorted?
Seems ridiculous that the tutorial isn't even up to date. This is putting me off using Firebase if I can't even get a tutorial working.
Also, after having done this and trying to run the app on my phone, it keeps stopping saying "Friendly chat has stopped" and keeps stopping. Can't even get Firebase to verify installation by running the app cos it doesn't work.

@thestigmister did you maybe update some dependencies?  This could be the cause of the issue.

I did a lot of updates today, this should be fixed.  Try getting the latest code and thanks for reporting!


[RFC]: refactor blas/ext/base/srev to follow current project conventions

Description
This RFC proposes refactoring @stdlib/blas/ext/base/srev to follow current project conventions.
These conventions are outlined in more detail in https://github.com/stdlib-js/stdlib/issues/788. Namely, we want to migrate from C++ add-on interfaces to C add-on interfaces and then make various style and simplification changes.
Some example commits which perform most, if not all, of the requested changes include https://github.com/stdlib-js/stdlib/commit/d66d80cfcbab1da95cb5ae8cfae4a1fc4c5129d1 (saxpy),  https://github.com/stdlib-js/stdlib/commit/3c82fe7b6c0f9fd6ef02c86d6e2024d708ac8c14 (cswap), and https://github.com/stdlib-js/stdlib/commit/5b15c9675be434c0e11b1ec1e1f78d7b089abbcd (dasum).
Related Issues
Related issues #788, #1152.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

I would like to work on this

Thanks for volunteering to work on this @Snehil-Shah. Feel free to submit a PR with the refactoring.


First request sent before ycmd server is up

On the first autocomplete event, the atom plugin starts ycmd and then immediately attempts to make an HTTP request, which fails because ycmd has not started up yet and is not ready to receive connections. An error is printed to the console like:
[YCM-ERROR] Error: connect ECONNREFUSED <IP_ADDRESS>:41416 {code: "ECONNREFUSED", errno: "ECONNREFUSED", syscall: "connect", address: "<IP_ADDRESS>", port: 41416…}

and the request fails. Subsequent requests succeed. Perhaps the plugin should wait a bit for ycmd to start up before trying to send a request.

This should be fixed in 0f5e79df0ce2eefaea8dc83c97249a7f71c26406


Get started on analysis

This PR adds an analysis template and some tests.
Relates to #11

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

In the file hooks/post_gen_project.py:

Line 17:1: E302 expected 2 blank lines, found 1
Line 84:1: E302 expected 2 blank lines, found 1

In the file hooks/pre_gen_project.py:

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

In the file tests/test_options.py:

Line 14:1: W293 blank line contains whitespace
Line 23:80: E501 line too long (80 > 79 characters)
Line 24:80: E501 line too long (91 > 79 characters)
Line 25:80: E501 line too long (96 > 79 characters)
Line 26:80: E501 line too long (106 > 79 characters)

In the file tests/utils.py:

Line 15:1: W293 blank line contains whitespace
Line 30:1: E302 expected 2 blank lines, found 1
Line 40:80: E501 line too long (114 > 79 characters)
Line 57:5: E122 continuation line missing indentation or outdented

In the file {{cookiecutter.repo_name}}/{{cookiecutter.package_name}}/analysis/{{cookiecutter.template_analysis_class.lower()}}.py:

Line 2:80: E501 line too long (137 > 79 characters)
Line 5:80: E501 line too long (83 > 79 characters)
Line 16:1: E302 expected 2 blank lines, found 1
Line 16:9: E201 whitespace after '{'
Line 16:46: E202 whitespace before '}'
Line 23:80: E501 line too long (116 > 79 characters)
Line 55:5: E303 too many blank lines (2)
Line 69:1: W293 blank line contains whitespace
Line 71:5: E303 too many blank lines (3)
Line 90:1: W293 blank line contains whitespace
Line 105:80: E501 line too long (89 > 79 characters)
Line 106:80: E501 line too long (90 > 79 characters)

In the file {{cookiecutter.repo_name}}/{{cookiecutter.package_name}}/tests/analysis/test_{{cookiecutter.template_analysis_class.lower()}}.py:

Line 4:80: E501 line too long (132 > 79 characters)
Line 7:1: E302 expected 2 blank lines, found 1
Line 8:1: W293 blank line contains whitespace
Line 27:5: E303 too many blank lines (2)
Line 37:80: E501 line too long (84 > 79 characters)
Line 39:1: W293 blank line contains whitespace
Line 41:5: E303 too many blank lines (2)
Line 53:80: E501 line too long (80 > 79 characters)
Line 58:24: E261 at least two spaces before inline comment
Line 59:20: E261 at least two spaces before inline comment

In the file {{cookiecutter.repo_name}}/{{cookiecutter.package_name}}/tests/utils.py:

Line 7:1: E302 expected 2 blank lines, found 1
Line 76:13: W292 no newline at end of file

The files have just been printed out in CI until we figure out how to have example repos:
Analysis file:
"""
MyAnalysis --- :mod:`testmdakit_deps_condaforge_rtd_y.analysis.MyAnalysis`
===========================================================

This module contains the :class:`MyAnalysis` class.

"""
from typing import Union, TYPE_CHECKING

from MDAnalysis.analysis.base import AnalysisBase
import numpy as np

if TYPE_CHECKING:
    from MDAnalysis.core.universe import Universe, AtomGroup

class MyAnalysis(AnalysisBase):
    """MyAnalysis class.

    This class is used to perform analysis on a trajectory.

    Parameters
    ----------
    universe_or_atomgroup: :class:`~MDAnalysis.core.universe.Universe` or :class:`~MDAnalysis.core.groups.AtomGroup`
        Universe or group of atoms to apply this analysis to.
        If a trajectory is associated with the atoms,
        then the computation iterates over the trajectory.

    Attributes
    ----------
    universe: :class:`~MDAnalysis.core.universe.Universe`
        The universe to which this analysis is applied
    atomgroup: :class:`~MDAnalysis.core.groups.AtomGroup`
        The atoms to which this analysis is applied
    results: :class:`~MDAnalysis.analysis.base.Results`
        results of calculation are stored here, after calling
        :meth:`MyAnalysis.run`
    start: Optional[int]
        The first frame of the trajectory used to compute the analysis
    stop: Optional[int]
        The frame to stop at for the analysis
    step: Optional[int]
        Number of frames to skip between each analyzed frame
    n_frames: int
        Number of frames analysed in the trajectory
    times: numpy.ndarray
        array of Timestep times. Only exists after calling
        :meth:`MyAnalysis.run`
    frames: numpy.ndarray
        array of Timestep frame indices. Only exists after calling
        :meth:`MyAnalysis.run`
    """

    def __init__(
        self,
        universe_or_atomgroup: Union[Universe, AtomGroup],
        select: str = "all",
        # TODO: add your own parameters here
        **kwargs
    ):
        # the below line must be kept to initialize the AnalysisBase class!
        super().__init__(universe_or_atomgroup.trajectory)
        # after this you will be able to access `self.results`

        self.universe = universe_or_atomgroup.universe
        self.atomgroup = universe_or_atomgroup.select_atoms(select)

    def _prepare(self):
        """Set things up before the analysis loop begins"""
        # This is an optional method that runs before
        # _single_frame loops over the trajectory.
        # It is useful for setting up results arrays
        # For example, below we create an array to store
        # the number of atoms with negative coordinates
        # in each frame.
        self.results.is_negative = np.zeros(
            (self.n_frames, self.atomgroup.n_atoms),
            dtype=bool,
        )

    def _single_frame(self):
        """Calculate data from a single frame of trajectory"""
        # This runs once for each frame of the trajectory
        # It can contain the main analysis method, or just collect data
        # so that analysis can be done over the aggregate data
        # in _conclude.

        # The trajectory positions update automatically
        negative = self.atomgroup.positions < 0
        # You can access the frame number using self._frame_index
        self.results.is_negative[self._frame_index] = negative.any(axis=1)

    def _conclude(self):
        """Calculate the final results of the analysis"""
        # This is an optional method that runs after
        # _single_frame loops over the trajectory.
        # It is useful for calculating the final results
        # of the analysis.
        # For example, below we determine the
        # which atoms always have negative coordinates.
        self.results.always_negative = self.results.is_negative.all(axis=0)
        self.results.always_negative_atoms = self.atomgroup[self.results.always_negative]
        self.results.always_negative_atom_names = self.results.always_negative_atoms.names

        # results don't have to be arrays -- they can be any value, e.g. floats
        self.results.n_negative_atoms = self.results.is_negative.sum(axis=1)
        self.results.mean_negative_atoms = self.results.n_negative_atoms.mean()

Test file:
```python
import pytest
from numpy.testing import assert_allclose

from testmdakit_deps_condaforge_rtd_y.analysis.MyAnalysis import MyAnalysis
from testmdakit_deps_condaforge_rtd_y.tests.utils import make_Universe

class TestMyAnalysis:

    # fixtures are helpful functions that set up a test
    # See more at https://docs.pytest.org/en/stable/how-to/fixtures.html
    @pytest.fixture
    def universe(self):
        u = make_Universe(
            extras=("names", "resnames",),
            n_frames=3,
        )
        # create toy data to test assumptions
        for ts in u.trajectory.ts:
            ts.positions[:ts.frame] *= -1
        return u

    @pytest.fixture
    def analysis(self, universe):
        return MyAnalysis(universe)

    @pytest.mark.parametrize(
        "select, n_atoms",  # argument names
        [  # argument values in a tuple, in order
            ("all", 125),
            ("index < 10", 10),
            ("resindex > 2", 50),
        ]
    )
    def test_atom_selection(self, universe, select, n_atoms):
        # `universe` here is the fixture defined above
        analysis = MyAnalysis(universe, select=select)
        assert analysis.atomgroup.n_atoms == n_atoms

    @pytest.mark.parametrize(
        "stop, expected_mean",
        [
            (0, 0),
            (1, 1),
            (2, 1.5),
        ]
    )
    def test_mean_negative_atoms(self, analysis, stop, expected_mean):
        # assert we haven't run yet and the result doesn't exist yet
        assert "mean_negative_atoms" not in analysis.results
        analysis.run(stop=stop)
        # when comparing floating point values, it's best to use assert_allclose
        # to allow for floating point precision differences
        assert_allclose(
            analysis.results.mean_negative_atoms,  # computed data
            expected_mean,  # reference / desired data
            rtol=1e-07, # relative tolerance
            atol=0, # absolute tolerance
            err_msg="mean_negative_atoms is not correct",
        )


Provide possibility to make a span as a resource.

I think it would be really nice to have API such as:
    for {
      producer <- KafkaProducer.resource(producerSettings)
      _ <- Tracer[F].spanBuilder("produce-message").build.resource
    } yield producer

As shortcut for:
    for {
      producer <- KafkaProducer.resource(producerSettings)
      _ <- Resource.make(Tracer[F].spanBuilder("produce-message").build.startUnmanaged)(_.end)
    } yield producer

Main intention, have ability to build middleware for things resources such as fs2 Kafka producer.
Happy to submit PR, glad to hear author thoughts.
Thanks.

I think this works as unmanagedResource.  Like startUnmanaged, the resource won't be scoped into the tracer's "local" effect.  I would love to have a "managed" version too, but it doesn't work with the cats.mtl.Local semantics that make things play well in concurrent libraries like FS2.


nodejs_npm re-installs package on every chef run

Adding the below seems to install that package on every chef run
nodejs_npm async do
  action :install
end

Problem looks to be in function npm_package_installed? which calls url_valid?
This returns list.fetch(package, {}).fetch('resolved', '').include?('url')
list.fetch(package, {}).fetch('resolved', '') returns "https://registry.npmjs.org/async/-/async-2.1.4.tgz"
list.fetch(package, {}).fetch('resolved', '').include?('url') returns as False thus causing the re-install
Chef: 12.18.31
OS: Ubuntu 14

I'm having the exact same issue on the exact same OS/Chef versions. I put together PR #157 to resolve the issue in what seems to be a reasonable way for my environment.

New release will fix this


"onrendered" never called if document.body is empty

Nothing happens in this (edge) case

BUMP, any thoughts on getting this fixed?


html-encode text passed to Ext.Msg

Backporting missing commit to 1.1.x, fixing  #2711

Thanks for the fix! Are you all planning to release a new version soon?


freelan-np: enhance autoupdate hash extraction

[x] I have read the Contributing Guide.

/verify


Distribution.PackageDescription.Parse is removed in Cabal 2.2

obelisk/lib/command/src/Obelisk/Command/Run.hs uses the Distribution.PackageDescription.Parse module to parse packages. It has been removed from Cabal starting in version 2.2: https://github.com/haskell/cabal/issues/5025. I'm not sure what a good alternative is but ob run uses it pretty extensively.
I think in the reunification branch we may be able to override to use an older version of cabal but this will get harder as newer versions are introuced.
https://github.com/obsidiansystems/obelisk/blob/master/lib/command/src/Obelisk/Command/Run.hs#L18

@matthewbauer Is there some kind of replacement available?  Maybe we should ask the Cabal guys what the right approach is here.  We could, for example, move some of our functionality into Cabal.

This was covered and fixed as part of routes work which is now in master


How to set value of variable for Azure Pipeline FileTransform conditionally

In my yaml I have a task defined like so:
- ${{ each profile in parameters.targetProfile }}:
        - task: FileTransform@1
          inputs:
            folderPath: '$(System.DefaultWorkingDirectory)/**/${{ Parameters.projectDir }}/*.csdef'

The servicedefinition.csdef has a line like this:
<WorkerRole name="CRWorkerRole" vmsize="#{VMSIZE}#">
If I define the VMSIZE variable from the Azure Pipeline UI, the FileTransform works correctly. However, if I define a variable within the YAML like so:
variables:
      VMSIZE: 'Standard_A4_v2'

it doesn't work. I have tried without quotes and also assume that the spacing is correct.
Also I am running FileTransform in a loop (see above). I want to set the value of the variable 'VMSIZE' conditionally.
Is this possible?

@saraswat40 there is no way to set the value of a variable conditionally. As for the issue on setting the variable in pipeline vs setting it in the UI, it should work both ways. You can check the documentation for the file transform task here. Also, can you post the debug logs for both cases here. It should show what substitution is happening or if it is getting skipped for some reason.

Closing this issue. Please reopen if you are still facing this issue.


chore: ensure dist files before publishing

Codecov Report

Merging #479 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #479   +/-   ##
=======================================
  Coverage   65.48%   65.48%
=======================================
  Files          34       34
  Lines        2831     2831
=======================================
  Hits         1854     1854
  Misses        977      977

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 148f4bb...be74fb0. Read the comment docs.


Refactor WAL.Segments method to be part of the wal package

It makes projects like Cortex consume the methods easily. I hope this small change looks fine.
It would be great if it can make it into v2.15. /cc @bwplotka

@codesome Is this still relevant?

Yes. I will fix the reviews soon and lets get this merged.

Merging this on green


python scripts for sign and uploading jars to staging repo

@yungez @xscript @aovechki @yaweiw

@ZhijunZhao,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Can anyone please kindly explain how do i use code-wars platform...its too confusing to use even work-space to solve problem.

Please file an issue on the discourse page of the kata. You can do so by creating a comment and marking it as an issue.

Can you elaborate? What is confusing you?


fix #120

updated dependency for react-router to ^3.0.0

I've just seen this has been fixed in develop


pre-commit: rename and alias to git-hooks

git-hooks.hooks is a little annoying to read, but we can't really do git.hooks because of all the other top-level git-hooks options, like settings, excludes, etc.


Upstream v5.67.0

This change upgrades upstream to v5.67.0.
Fixes https://github.com/pulumi/pulumi-aws/issues/4454
v5.66.0 changes:
Notable upstream additions:
New resources:

datazone/environment.Environment

New functions:

glue/getRegistry.getRegistry
organizations/....getOrganizationalUnitDescendantOrganizationalUnits
quicksight/getAnalysis.getAnalysis
quicksight/getQuicksightAnalysis.getQuicksightAnalysis

Unfortunately the aws_quicksight_analysis datasource cannot yet be fully supported in the provider because excessively large type hierarchies in Quicksight cause issues for Pulumi SDKs. This is the same problem that makes "definition" fields unavailable for Quicksight resources.  A solution is being explored in https://github.com/pulumi/pulumi-aws/pull/4449 but in the meantime the "definition" field is not available yet in Pulumi for the given datasource.
There also was a regression https://github.com/hashicorp/terraform-provider-aws/issues/39320 in v5.66.0 that tripped pulumi-aws testing so the matching pulumi-aws release is skipped.
v5.67.0 changes:

cloudformation/stackInstances.StackInstances
codebuild/fleet.Fleet
computeoptimizer/enrollmentStatus.EnrollmentStatus
computeoptimizer/recommendationPreferences.RecommendationPreferences
costoptimizationhub/enrollmentStatus.EnrollmentStatus
costoptimizationhub/preferences.Preferences
datazone/assetType.AssetType
lambda/functionRecursionConfig.FunctionRecursionConfig

New functions:

codebuild/getFleet.getFleet

Looks like assumeRole is now assumeRoles (plural), which is a breaking change for Pulumi. Looking at options quickly.
SError: ⨯ Unable to compile TypeScript:
Error: index.ts(28,5): error TS2345: Argument of type '{ assumeRole: { roleArn: pulumi.Output<string>; }; }' is not assignable to parameter of type 'ProviderArgs'.
  Object literal may only specify known properties, but 'assumeRole' does not exist in type 'ProviderArgs'. Did you mean to write 'assumeRoles'?

Coming from here: https://github.com/hashicorp/terraform-provider-aws/commit/faa9b8e72c43a08d77c6d1e123b1ad7063dcc69a


Could you add a license?

Hi! Thank you for providing this code. I was wondering if you would be willing to add a license to this repo?

Hi Matt -
I thought that I had already selected a license in Github, but maybe not.
What do you suggest? I'm not very familiar with github and licenses!
Thanks -
Richard
On Wed, Sep 4, 2024 at 6:14 AM Matt Cieslak @.***>
wrote:

Hi! Thank you for providing this code. I was wondering if you would be
willing to add a license to this repo?
—
Reply to this email directly, view it on GitHub
https://github.com/ABCD-STUDY/RSI/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3ZR2ITBHJWBQVSS47EN4DZUX37VAVCNFSM6AAAAABNSVP4S2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDGNBXHEYTKMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I usually go with something pretty permissive like MIT or BSD 3-clause. All you'd have to do is add a copy of the license text file into this repo and you're all set

thank you!


After sending the invitation, it should close the issue

[x] send invitation
[x] add comment
[ ] close issue

Does anyone like to work on this?

Does anyone like to work on this?

Hint: just need to update the state of the comment message
Like this
await client.issues.update({
  owner: payload.repository.owner.login,
  repo: payload.repository.name,
  issue_number: payload.issue.number,
  state: 'closed'
})

After comment message is created
Check index.js

Hint: just need to update the state of the comment message
Like this
await client.issues.update({
  owner: payload.repository.owner.login,
  repo: payload.repository.name,
  issue_number: payload.issue.number,
  state: 'closed'
})

After comment message is created
Check index.js

yes i will like to contribute

yes i will like to contribute

@eddiejaoude this will be released in v1.2

@eddiejaoude this will be released in v1.2

Released 🎉

Released 🎉

Great 👍

Great 👍


kubens

Project description
kubens is a tool used to switch kubernetes namespaces. it is apart of the kubectx repo, which nix provides.
question is: should it be added as its own package ../tools/kubens/default.nix or a part of kubectx?
Metadata

homepage URL: https://github.com/ahmetb/kubectx
source URL: https://github.com/ahmetb/kubectx
license: asl20
platforms: unix, linux, darwin

@arbourd It looks like kubens is already provided in the kubectx package:
nix shell nixpkgs#kubectx -c kubectx --help


Wrong language system tag 'MLM '

Appendix A lists 'MLM ' as the language system tag for Malayalam, but that is not a registered tag. Malayalam has two tags: 'MAL ' and 'MLR '.

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

ID: b4d0aca4-2f6f-2174-f0cf-5612a12d4454
Version Independent ID: 9847e477-302e-5de8-366c-284fff86bc83
Content: Developing OpenType Fonts for Malayalam Script - Typography
Content Source: typographydocs/script-development/malayalam.md
Product: windows
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

Fixed


Prepare for ppr and dynamicIO

Next.js is changing the rendering behavior. It's still very early, and things are moving, but it would be interesting to see if we can adapt next-intl to better suit the needs of these rendering modes.
For now, this issue is meant to collect related resources.
Related

https://github.com/amannn/next-intl/issues/1464
https://github.com/vercel/next.js/discussions/71927
something for "global" params

Hmm, are we talking about the same thing? PPR in Next.js refers to partial prerendering, but based on your comment I think you mean the same thing?
I haven't had the time to experiment with PPR yet, but am planning to do this in the next few days. I'd be curious if generateStaticParams has an effect on whether reading params requires dynamic rendering—at least from a user perspective I'd expect it to render fine statically. Not sure if other pieces are relevant though like 'use cache';.
I'll update this thread here with my findings!

Thanks for the update! Yes, I was referring to partial prerendering (I updated my comment). I would have expected generateStaticParams to influence this behavior, and it indeed worked in Next 14. However, after upgrading to 15, it no longer functions as expected.
It's still unclear whether params qualifies as a dynamic API. It's not listed here: https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis, but in the version 15 upgrade guide, it does mention an async request dynamic API change, and params appears in the list.

That's interesting, yes. There seems to be a new API coming for accessing top-level params: https://github.com/amannn/next-intl/issues/663#issuecomment-2449100558. Maybe that one will have a different behavior when used with PPR.

Thanks for the update! Yes, I was referring to partial prerendering (I updated my comment). I would have expected generateStaticParams to influence this behavior, and it indeed worked in Next 14. However, after upgrading to 15, it no longer functions as expected.
It's still unclear whether params qualifies as a dynamic API. It's not listed here: https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis, but in the version 15 upgrade guide, it does mention an async request dynamic API change, and params appears in the list.

I believe, anything that is async is considere dynamic under dynamicIO

would like to see a i18n routing example working with staticly generated pages using dynamicIO


Modernize build system

Switch to pure pyproject.toml
Good first issue for someone who knows Python packaging but not necessarily this project.

Fixed by 545fa03fa04df469cd046ce24eb86ab11160c023


TimeoutException

Buenas.
The generator was not able to produce a level within a given time limit. The reason for that is usually that there is some problem with the configuration of the generator.
He probado a cambiar la configuracion del Dunegeon Generator.
Las puertas tanto en el pasillo como la habitacion es de 1 de tamaño. El pasillo tiene 2 puertas y la habitacion 4. Estan puestas de forma manual.
Muchas gracias de ante mano.

I'm sorry I forgot to put it in English, many hours working hahaha.
Good.
The generator was not able to produce a level within a given time limit. The reason for that is usually that there is some problem with the configuration of the generator.
I have tried to change the configuration of the Dunegeon Generator.
The doors both in the corridor and the room are 1 in size. The corridor has 2 doors and the room has 4. They are set manually.
Thank you very much in advance.

Solved, the Graph was misconfigured

I'm glad you solved it!


python.setlinter not found

Issue Type: Bug
I installed Python extension 2019.3.6558 on vscode and none of the python extension commands, like set linter, set interpreter, etc. will work.  i've searched high and low with no resolution.  several people said to re-install, so i removed vscode from my mac (OS v.10.14.4) using CleanMyMac, then removed the ~/.vscode folder.  I then reinstalled vscode, created a simple python file, and vscode asked me to install an extension for same.   please help - i need to re-install all of my other extensions for node.js, react, etc.
thank you!
Extension version: 2019.3.6558
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

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: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
32.00GB (0.53GB free)

Process Argv
-psn_0_4768908

Screen Reader
no

VM
0%

Finally found problem - some of my project folders had .vscode folders inside.  once i removed them and restarted VSCode, everything seems to work.


Refactor id system

Replace actual reusable integer ids system by hash system (like git commits).

Added in v1.0.0


failed dependencies all grey pocket desk

Every time I try to install the normal PocketHome I always get on the "installing dependencies" part a fail. Probably it might be due to NTC's servers going down after they ceased operations. Looked in the dependencies script and inside it it had the openssource.nextthing.co when NTC was still up. Probably because the site was down it failed to install. If we could find a mirror to get the dependencies it was installing, that would be great!

the repo's all need updating these: http://chip.jfpossibilities.com/chip/debian/
I installed the dependencies manually and then removed that section from the main script.

the repo's all need updating to these: http://chip.jfpossibilities.com/chip/debian/

See instructions here:
http://chip.jfpossibilities.com/chip/debian/


Delay unshare of CLONE_NEWIPC for SELinux

Fixes #4
@runcom @rhatdan PTAL. This should unblock docker 1.13.

Will this allow SELinux to work with User Namespace?

@rhatdan Yes

cool, LGTM
@mrunalp side note, should you update https://github.com/opencontainers/runc/pull/959?

@runcom Yeah, I am planning to do that.


drivers: entropy: stm32: Fix assert logic

When running with CONFIG_ASSERT=y, entropy_stm32_rng_init() hit an assert when checking the result of clock_control_on(). This commit inverts the assert logic, becuase clock_control_on() returns 0 on success.

Codecov Report

Merging #13773 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13773      +/-   ##
==========================================
- Coverage    52.3%   52.26%   -0.04%
==========================================
  Files         307      307
  Lines       45408    45408
  Branches    10504    10504
==========================================
- Hits        23749    23733      -16
- Misses      16874    16886      +12
- Partials     4785     4789       +4

Impacted Files
Coverage Δ

subsys/testsuite/ztest/include/ztest_assert.h
35% <0%> (-35%)
:arrow_down:

subsys/testsuite/ztest/src/ztest.c
65.28% <0%> (-7.44%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks for the change, another fix for this was submitted last week: #13565.
Can you check it out?

Thanks @erwango, didn't see that one.


[Docs] : Improve readme

Description

Readme file have no table of content
The quick start quide have no code
All i will add admin image and contributors section

Screenshot
1

2

@parasss19 Assigned.

Make sure you are part of all contributors discord server - https://discord.gg/hcrMnUdv


[Publisher] Selected mediation policy is not preserved properly in Runtime Configurations.

Issue
When we edit Message Mediation in Runtime Configurations if we select one mediation policy from global mediation and after clicking the select button, if we switched from custom mediation to global mediation or none to global mediation, selected mediation policy is not preserved properly.if we choose None or Common polices option and click the select button and go back again to edit mediation policy, selected policy not preserved properly.

This is not reproduce in latest version hence closing


Wrong and ustable altitude HackRF One

Hello!
I have a problem using HackRf One with Ublox Lea-M8T and GEOS-5 GPS modules.
Command for generation *.bin file:
./gps-sdr-sim -b 8 -e brdc1130.19n -l 30.286502,120.032669,100 -s 1500000 -o coordinates.bin
coomand for start generation:
hackrf_transfer -f<PHONE_NUMBER> -s 1500000 -a 0 -x 5 -R -t coordinates.bin
Coordinates are correct but altitude is always wrong and ustable. It increases and decreases, can become negative(-113 m for example) of super-big (like 30000 m) and then become normal again. But it never stably shows 100 meters, it's always 150-200-300-50 and etc, slowly changes every few seconds.
Also 3d fix is not stable too. It sometimes become "No fix" and back to "3d fix" .
I tried different level , sample frequency, file duration, coordinates, that didn't help.
Will be glad for any help!
This HackRf has external clock but I'm bot sure about it's PPM

.

The bandwidth of GPS C/A code is about 2MHz. You need to set a higher I/Q sampling rate than that.

Thanks for the answer. I tried with sample rate 2.3 MHz, altitude changes slower and range is not so big, but it still doesn't stable at 100 meters.

Hello guys. Seems like it's ublox's problem about wrong altitude. On another GEOS-5 altitude is 100 m.
Your advice try to increase sample rate was very helpful.

А что отвечает (смотреть при помощи U-center) Ublox Lea-M8T на команду UBX-CFG-PT (продакт тест) 06 41 или в HEX B5 62 06 41 00 00 47 DB
?

Hello,
The same problem ;)
Command for generation *.bin file:
./gps-sdr-sim -b 8 -e brdc2240.19n -l 50.941609,6.959483,100  -o gpssim.bin
coomand for start generation:
hackrf_transfer -f<PHONE_NUMBER> -a 1 -x 5 -R -t gpssim.bin
I use a Odroid to create and transmit the signale.
Coordinates are correct and i always become "3d fix" with U-Blox but altitude is always wrong and ustable.


Setting new context to instance of createHoc in componentWillReceiveProps

In the code for updateClassInstance method in react-dom.development.js file, first
all the lifecycle methods like componentWillReceiveProps, componentWillUpdate,
shouldComponentUpdate are called and in the end of updateClassInstance,
instance.context is set to new context.. so problem here is that in createHoc's
componentWillReceiveProps createState is called which in turn references this.context.
so this will always reference the old context. Since componentWillReceiveProps is
the first method in update cycle.. setting the context in this instance to newContext.

lgtm, looking into the build fail

Can you please add a test for this?

I will add a test case.. thanks..

Btw. it would be great to have a nice RTL demo on codesandox so we can link it from the documentation!

Sure.. once this is merged will create a demo on sandbox.. still working on test case...

@kof can you please help me to figure out why test is failing... is rendering not happening properly.. or rtl function is wrong? second expect is failing..still giving old value.

correced the tests


[Question]: Is there Support for a Dark-Mode?

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

It affects the following packages
Components
Your Question
Is there Support for a Dark-Mode?
Give us a summary about your question
As the public facing SBB apps support a dark-mode, I assume that some kind of theming-support is available for the lyne components. However, I have - so far - not found any documentation about it.
Could you give me a hint to point me in the right direction?
Provide as much useful information as you can
No response

Ok, thanks for the quick answer :-).
That is absolutely understandable.


Fix Nertea vrefs

Nertea has added a bunch of extra .version files to the latest versions of his mods:
http://status.ksp-ckan.org

Mod
Error

MarkIVSpaceplaneSystem
Too many .version files located: GameData/MarkIVSystem/Versioning/MarkIV.version, GameData/MarkIVSystem/Versioning/KSP-AVC.version

KerbalAtomics
Too many .version files located: GameData/KerbalAtomics/Versioning/KSP-AVC.version, GameData/KerbalAtomics/Versioning/KerbalAtomics.version

HeatControl
Too many .version files located: GameData/HeatControl/Versioning/KSP-AVC.version, GameData/HeatControl/Versioning/HeatControl.version

CryoEngines
Too many .version files located: GameData/CryoEngines/Versioning/KSP-AVC.version, GameData/CryoEngines/Versioning/CryoEngines.version

Now these netkans know which .version file to use.

Current error is caused because CryoEngines depends on CryoTanks depends on DynamicBatteryStorage which is sourced from the download for NearFutureElectrical which isn't updated for KSP 1.5 yet. Let's give Nertea a few more days to finish updating.


Pass explicit JUnit outfile to critest.exe in Windows workflow.

Following kubernetes-sigs/cri-tools#910 the Ginkgo reporters are left
configured with default settings and thus do not generate a JUnit report
file unless we explicitly pass a path for the outfile in the Windows
workflow when calling critest.exe.
Signed-off-by: Nashwan Azhari<EMAIL_ADDRESS>

This PR should fix the missing CRI test results on testgrid, which shows the tests which went unreported over the weekend because the junit_.xml file which was usually generated/uploaded by critest.exe is no longer being created at all in later runs.
@dmcgowan @dcantah @kzys could one of you please take a look at this so we don't potentially lose more test results because of it until we can get a proper fix in kubernetes-sigs/cri-tools itself?


leaverou.github.io/awesomplete/

https://leaverou.github.io/awesomplete/ is unreadable in dark mode.
Comparsion:
http://imgur.com/GSPUFLr

Fixed with Dynamic Theme mode


ADD: formatting.expandable_indicator to show the expandable indicator

Please also fix these files.

doc/cmp.txt
lua/cmp/types/cmp.lua

LGTM.


[v6] initialValues reinitialize ignored when empty string

I have a form which I wish to display blank while the inital values are fetching. Once this data is reduced into my state, mapStateToProps kicks in and updates the form with enableReinitialize=true.
function mapStateToProps(state, ownProps) {
  const { canonical } = ownProps;
  if (canonical) {
    console.log('chebi_id', canonical.chebi_id);
    console.log('----');
  }
  return {
    initialValues: canonical || {chebi_id: 'yo'},
    enableReinitialize: true
  };
}

Initially, canonical is undefined so initialValues are set with an empty object, although in this case I explicitly initialize chebi_id to have a value as it makes it easier to see the problem. The chebi_id field will display 'yo' and correctly be marked as pristine.
Once the async action completes and mapStateToProps runs again, canonical.chebi_id is an empty string. This seems to update the value of the field, but the initialValue of this field remains as 'yo', and thus it is incorrectly marked as dirty. If canonical.chebi_id is not an empty string then everything works as expected.
EDIT: Actually, I just tried this without enableReinitialize and that does not seem to explicitly be the culprit. Any initialize seems to suffer:
function mapStateToProps(state, ownProps) {
  const { canonical } = ownProps;
  // Initially canonical will be undefined and thus the form does not initialize
  // (redux-form/INITIALIZE does not fire until canonical is not undefined)
  return {
    initialValues: canonical,
    batches: getCanonicalBatches(state, ownProps)
  };
}

In this case, the value is empty string, but the initial value will be stuck at undefined.

+1
I have 2 initial data fetching. First ajax data is the primary data and second is assist and also very slow. So the first data always need to be as init values and not wait for the second response. But current redux form only support first init. I guess it may extends.

@zombieJ I'm not sure exactly what you mean by "only supports first init". It definitely works to update the initialValues (as long as you set enableReinitialize=true) , but it just seems to be getting confused when they are empty strings.

I'm having the same issue and I believe the issue is related to this line.  It looks like initialize properly updates the initial values state, but ConnectedField hangs on to the original initial value on this line.  That value only appears to be updated if you change the name of your form (here).
Maybe @erikras can shed some light on this? =)

Same here :/

This is caused by && payload === '' in reducer.js [CHANGE].
    [CHANGE](state, { meta: { field, touch, persistentSubmitErrors }, payload }) {
      let result = state
      const initial = getIn(result, `initial.${field}`)
      if (initial === undefined && payload === '') {
        result = deleteInWithCleanUp(result, `values.${field}`)
      } else if (payload !== undefined) {
        result = setIn(result, `values.${field}`, payload)
      }

Simple fix is to set the select field value to '' i.e.
<PostListFilter
  initialValues={{category: '', ...resourceList.params.filter}}
  onSubmit={onFilter}
  categories={categories}
</PostListFilter>

There's a little more info on this in https://github.com/erikras/redux-form/issues/2597

Can this be closed now since https://github.com/erikras/redux-form/issues/2597 is merged?

I'm still experiencing this issue on 7.3.0 - if a field is initialized with undefined, and then the form is re-initialized (with enableReinitialize=true), the field is not being re-initialized. For normal string based fields like a text input, this isn't a problem - but in the case of a picklist (where the empty string is the value for "None", or otherwise), the option is not being picked (the value from the initialValues being passed into the field so that the proper option can be selected) until the user touches the field. As soon as the focus happens, the field is properly selected / updated.

@joshsylvester If you find the problem into the last version, please feel free to open a new issue.


Jekyll 3 changed site.posts from an Array to a Collection which causes deprecation warning in Ink

Starting a new blog and testing generating after just init-ing things (i.e only have the automatic first post and default index.html, etc.) trying to use Jekyll 3.0.1 and Octopress 3.0.11.
Here are the gems in my _config.yml:
gems:
  - octopress-codefence
  - octopress-code-highlighter
  - octopress-minify-html
  - octopress-social
  - octopress-solarized

Running jekyll b yields:
Deprecation: Collection#empty? should be called on the #docs array directly.
                    Called by /usr/local/lib/ruby/gems/2.3.0/gems/octopress-ink-1.2.1/lib/octopress-ink/plugin/bootstrap.rb:163:in `posts?'.
Deprecation: Collection#select should be called on the #docs array directly.
                    Called by /usr/local/lib/ruby/gems/2.3.0/gems/octopress-ink-1.2.1/lib/octopress-ink/plugin/bootstrap.rb:171:in `linkposts?'.
Liquid Exception: no implicit conversion of nil into String in _posts/2015-12-27-welcome-to-jekyll.markdown

As far as I can tell, the deprecation warnings are because of jekyll/jekyll#4055
The final line seems to be the same octopress/hooks issue as octopress/linkblog#6 (My stack trace comes down to the same ``expand_path': no implicit conversion of nil into String (TypeError)`)

@awatts +1 on this issue.
To resolve this for myself for the time being I'm dropping back to Octopress 3.0.2 since it uses Jekyll 2.5.3 and thus doesn't have issues with the octopress-solarized or octopress-ink gems.

If you're using Ink 1.1.x (or specifically, 1.1.4) you can use my forked version of ink.
All you have to do is update your Gemfile as follows:
gem 'octopress-ink', git: 'git@github.com:e9t/ink.git'


Update styled-jsx-postcss example

As './dist/server/build/babel/preset' now return a function, in this example we need to first call the function and after that replace styled-jsx

@MFCo you might wanna take a look at the lint errors https://travis-ci.org/zeit/next.js/builds/287641107?utm_source=github_status&utm_medium=notification

@goldensunliu Oh, sorry, I was in a rush and didn't notice I was running my own linting script (first time contributing). I've pushed a new version.
Tests doesn't pass anyways, I can't look it right now, but I don't know if the error is related to this example. I don't think it could break any test that the original could pass


Sleuth server needs a binder to work

When I tried to create a Zipkin server, it failed with
017-03-12 21:04:47.908  WARN [zipkin,,,] 3555 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bindingService' defined in org.springframework.cloud.stream.config.BindingServiceConfiguration: Unsatisfied dependency expressed through method 'bindingService' parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'binderFactory' defined in org.springframework.cloud.stream.config.BinderFactoryConfiguration: Unsatisfied dependency expressed through method 'binderFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binderTypeRegistry' defined in org.springframework.cloud.stream.config.BinderFactoryConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Factory method 'binderTypeRegistry' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot create binder factory, no `META-INF/spring.binders` resources found on the classpath
2017-03-12 21:04:47.909  INFO [zipkin,,,] 3555 --- [           main] o.apache.catalina.core.StandardService   : Stopping service Tomcat
2017-03-12 21:04:47.997  INFO [zipkin,,,] 3555 --- [           main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-03-12 21:04:48.008 ERROR [zipkin,,,] 3555 --- [           main] o.s.boot.SpringApplication               : Application startup failed

After adding
<dependency>
   <groupId>org.springframework.cloud</groupId>
   <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
   </dependency>

it started and working fine.
I am not using any rabbit messaging, why it is required to add a binder like this for Sleuth server to work?

That's because Sleuth server is a stream Sleuth server. You're receiving spans via messaging so you need a messaging binder. Currently you can use either kafka and rabbitmq.

why add this dependency ,but I''m work same error  ,say I need rabbit,  I'm work is error same with you,I don't understand

I don't understand what you mean. When you're using Stream you need a binder

I not using Stream , but my working have this error

If you have this error then you are using Stream.

please tell me why ，I have other project, but I'm not have this error,I have change machine ，so have this error

Let's move this to Gitter - https://gitter.im/spring-cloud/spring-cloud-sleuth . I have no idea how your project looks like. I don't know the setup. If you're using Spring Cloud Sleuth Stream then you will have this exception if you don't provide a binder.

thank you very much，I'm a Chinese man,so I'm  English is not good.


Convert Debug to Info for wait for apiserver availablility

Right now if user doesn't start crc with debug mode then apiserver
availablity check happen just after kubelet service and user can see
this it is hang.
INFO Adding user's pull secret to instance disk...
INFO Verifying validity of the kubelet certificates ...
INFO Starting OpenShift kubelet service
[.. here around 2 min time before next message appear ..]

This patch try to tell user that starting kubelet service is not
blocked but we are waiting for apiserver to be ready.

Why is this taking 2 minutes? I thought the 4.7 issue was adding 45s to 1min to startup?


Mixed up configurations for encrypt and decrypt

Hi all,
I'm using this plugin and it works nicely, but I just noticed a bug:
forgive me for not submitting an example, but I think you can easily reproduce it in your environment:

On first access, users enter username and password to login. When they login, I encript their data passing

encryptConfig = {
	clientId: 'someclientid',
	locale: 'it',
	username: 'someuser',
	password: 'somepass
}

everything works as expected and I get no custom messages in the Authentication Dialog

on second landing I run decrypt with a custom decryptConfig.dialogMessage:

decryptConfig = {
	clientId: 'someclientid',
	locale: 'it',
	username: 'someuser',
	token: 'sometoken',
	dialogMessage: 'hey there!'
}

everything works as expected and I get the custom hey there! message in the Authentication Dialog

when users cancel the dialog, they may choose to login with another account.

they enter username and password.

I repeat step 1, with the same but I get the same hey there! message

I figure out there must be something wrong in plugin's Java code, since my config objects are completely separate

@massic80 That is a good catch.  The custom strings are saved as member variables at the class level and are not being reset because the class is not re-instantiated for subsequent method calls and therefore the custom string carries over from your decryptConfig to your next call to encrypt.
To fix the issue, the Java class for FingerprintAuth will need to be updated to reset the member variables to null if the custom property is not found in the params.  If you would like to contribute, you can make the changes and send a pull request or I can make the updates on your behalf.
public static String mDialogTitle;
public static String mDialogMessage;
public static String mDialogHint;
...

if (arg_object.has("dialogTitle")) {
    mDialogTitle = arg_object.getString("dialogTitle");
} else {
    mDialogTitle = null;
}

if (arg_object.has("dialogMessage")) {
    mDialogMessage = arg_object.getString("dialogMessage");
} else {
    mDialogMessage = null;
 }

if (arg_object.has("dialogHint")) {
    mDialogHint = arg_object.getString("dialogHint");
} else {
    mDialogHint = null;
}

Hi @mjwheatley , thanks for the good catch :)
I still didn't attempt to brush up on my Java skill and dare to merge the code you kindly submitted, since I have a doubt: does it make sense to "keep" those variables alive when they are not needed anymore?
Why don't you throw them away, once the encrypt or decrypt end?

Hi, I created a pull request with your code: I still wonder why you don't garbage collect those variables when they are not anymore needed :)

Could you describe how those variables would be eligible for garbage collection or how to make them so? I'm not terribly familiar with it.  https://www.google.com/amp/s/www.geeksforgeeks.org/how-to-make-object-eligible-for-garbage-collection/amp/

Forgive me if I'm not technical, since it's been ten years since my last line of Java code :)
With garbage collecting I was meaning throwing the variables away once they have been used (in general, they are garbage-collected when not referenced).
I didn't dare to analyze the code, and I figured out you had an encrypt and a decrypt method, which would  have encapsulated the local variables, and I wondered why you used a global one, instead of just taking the parameters and let them die when the methods finished.
Now I notice that you have a big switch, I figure out due to how plugins are made. Those variables are global and public, probably cause read from an external module. Never mind :)


Extension fails to find c_cpp_properties.json

As of version 3.0.2, it seems the extension fails to detect c_cpp_properties.json in my workspace's .vscode directory. I last tested this with the recent Lyra sample project released by Epic. I'm currently running UE version 5.0.1.
Searching for *.uproject file...
Searching with fast-glob found nothing. (Sometimes isn't bug)
*.uproject file was found!

Extension "UE Intellisense Fixes" 3.0.1 is now active!

Found Unreal Engine v5.0.1

Searching with fast-glob found nothing. (Sometimes isn't bug)
Couldn't find files in UE5 workspace's .vscode folder with glob: .vscode/c_cpp_properties.json
** Error **: No files found for getCCppConfigCopy().
** Error **: The main cCppProperties wasn't enabled at construction setup.
** Error **: This fixable project hasn't been initialized properly and is invalid.

I can confirm the .vscode folder is at the root of the project directory.

Interestingly, the UE-generated workspace file did not point to the engine folder, but this was simple to fix manually. Not sure if anything else about the generated configuration may be causing issues.
{
    "folders": [
        {
            "name": "LyraStarterGame",
            "path": "."
        },
    ],
    "settings": {
        "typescript.tsc.autoDetect": "off"
    },
    "extensions": {
        "recommendations": [
            "ms-vscode.cpptools",
            "ms-dotnettools.csharp"
        ]
    }
}

I tried this with v5.0.1 on Windows and it worked for me. Can you tell me the exact steps to reproduce this? How I got mine to work:

Installed the Lyra Project.
Opened folder and saw that it didn't automatically install any project files.
Right clicked on the *.uproject file and chose Generate Visual Studio Project Files

I did already have my Unreal Engine set to use VSCode.

 I'll have to figure that out.

After Building it creates *.generated.h files. I had to do Generate Visual Studio Project Files again so that the path to those are added to the appropriate files.
Everything seems to work after that. There are a few small Intellisense errors in certain files but I'm sure those will be easy to fix with a little work. For example in LyraCharacter.cpp the only error now is:
"message": "incomplete class type \"TTuple<uint8, FGameplayTag>\" is not allowed",

I am going to add a fix for this. It will warn if no *.generated.h files and will auto add *.generated.h files path to the main *.rsp file.

Installed the Lyra Project.
Opened folder and saw that it didn't automatically install any project files.
Right clicked on the *.uproject file and chose Generate Visual Studio Project Files

Sorry for taking so long to get back to this. I followed pretty much these exact steps except I first used the "Create Visual Studio Code" project from the Tools menu in the editor, then did it from the .uproject file with the editor closed when the previous option didn't fix the problem.

They only thing I can do is give a better warning. My extension relies on that path being there since different projects can use different Unreal versions.
Pretty strange bug!

I forgot if you right click on the *.uproject there is a Switch Unreal Engine Version option. If this happens to you again try selecting the version you created it with and hit ok. It will also generate project files.
I tested this out with a 5.0.1 project and removed the path to the unreal engine in the code-workspace file. When I switched engines, to the same version, it created the unreal path in code-workspace.


visualise the steps in the PipelineActivity

it was mentioned on the last office hours that folks might add the ability to visualise the steps of pipelines.
I thought I’d mention this OSS CSS / icon and JS library that octant uses - clarity - it as a kind of pipeline visualisation widget
https://clarity.design/documentation/timeline
which might be handy for rendering the pipeline steps?

nice, thanks!
ping @florianorpeliere ;-)


UseOfBinoculars contains incorrect values in download

Data that were uploaded with Sample.UseOfBinoculars = 1 have Sample.UseOfBinoculars = FO in the download. Where is this value coming from? Normally the only allowed values are 1, 2, 3: https://vocab.ices.dk/services/rdf/collection/UseOfBinoculars

This one was a good catch, thanks. Corrected now in the import procedure, it was importing the code instead of the ID.

@Osanna123 to test and confirm

output from 23/09/22 works ok


Unicode keyword support for custom language

We have a programming language in Turkish. And I want to create online editor for that language. But for some reason, Monaco only highlight ASCII keywords, not unicode keywords.
  keywords: [
    'ali', 'başqa', 'doğru', 'heç', 'işləv', 'nəqədərki', 'qaytar', 'sinif', 'və', 'vəya',
    'yanlış', 'yerli', 'üçün', 'əgər'
  ]

I replaced unicode characters with escaped version. Still it doesnt work.
monaco-editor version: 0.13.1
Browser: Chrome
OS: Windows

I changed tokenizer's regex to this /([a-z_$]|[^\x00-\x7F])([\w$]|[^\x00-\x7F])*/ and everything work well now.


Backport: Sporadic driver error during K8s upgrade: listen tcp <IP_ADDRESS>:0: bind: address already in use

https://github.com/rancher/rancher/issues/28360
We need to update to the latest telemetry version in v2.4.

Rancher version v2.4-head (02/08/2021) 94efb14b9
I was able to check this with the steps provided https://github.com/rancher/rancher/issues/28360#issuecomment-771134043
I see the number of connections is kept steadily low even after multiple request to the report endpoint.
I also validated the /v1-telemetry endpoint was properly updated after adding clusters.

root@bc51f17523fc:/var/lib/rancher# env  |grep -i tele
TELEMETRY_VERSION=v0.5.14


Provide DownloadRequest Object instead of the id

When a complex application uses the ThinDownloadManager, it needs access to the download request context. Currently I can get the request context by saving the request context within my application essentially by keeping a HashMap of the download manager's request id to my download context. It is much easier for the client applications if
#1  the DownloadRequest had a downloadContext or clientContext object supplied by the client so that client does not need to maintain a HashMap.
#2 the listener object provided the DownloadRequest instead of the download id thus client will have everything it needs to identify the download in progress.
What do you think?

+1

@harinair Thanks for ideas. I will see how to go about this in implementation.

@smanikandan14
Pull request submitted to fix this issue. Please merge the pull request if you approve of this change.

Merged the PR.


Nicer way to express chain of resolvers in errors

Currently error messages can get very long with a lot of "Error on X: Error on Y: Error on Z: ...". It should be "Error on X->Y->Z: ..." instead.
/cc @nicot

Some better formatting already did the trick:
panic: can not use string as Int
	returned by (*starwars.friendsConnectionResolver).TotalCount
	returned by (*starwars.characterResolver).FriendsConnection
	returned by (*starwars.Resolver).Hero


Figure out why obj's subclassing yamlize things have doc error: Inline emphasis start-string without end-string.

In building the docs, almost things that subclass from yamlize objects show up with an warning along the lines of:
armi/reactor/blueprints/gridBlueprint.py:docstring of armi.reactor.blueprints.gridBlueprint.Grids:3: WARNING: Inline emphasis start-string without end-string.

But the strange thing is that this object has no docstring at all!
class Grids(yamlize.KeyedList):
    item_type = GridBlueprint
    key_attr = GridBlueprint.name

And, by inspection, no docstring seems to be getting added at runtime:
>>> from armi.reactor.blueprints.gridBlueprint import Grids
>>> Grids.__doc__

>>>

So, what's going on!?

Ok so I think what's happening here is that the autodoc is combining the class docstring with the __init__ docstring, which is inherited from here: https://github.com/SimplyKnownAsG/yamlize/blob/040c5cb70d8717b75022cb821e5acb7cad2606e6/yamlize/maps.py#L63 and which appears to be goofing up based on the *args thing which looks to sphinx like the start of italics with no ending.

Cool so the fix for this is merged in yamlize. This issue will go away if we install the latest yamlize from the master branch (pending next release to pypi).


Fix padding mask broadcasting for encoder transformer

Fixes Issue #1252 by adjusting the padding_mask broadcast in TransformerEncoder to be same as TransformerDecoder.  Tested in TensorFlow 2.11 on Colab.

Failing Docker Image CI should be fixed in #1255

Thanks. Made the same fix to md and ipynb` as well.


Dev cctbx

Pull Request Checklist

[x] Will your PR merge into the dev branch?
Exceptions will be made for urgent bugfixes.
[x] Have you forked from dev?
If not, please rebase your PR onto the most recent dev tip.
[x] Does your PR title succinctly describe the changes?
Explain to a new user by completing the sentence: 'This PR will: ...'
[x] Fill out the template below.

Description of the Change
https://drive.google.com/drive/folders/1LwFuvIty1ch7de9KRQtOQ2cR67mbLCzW?usp=sharing
This branch is for future development. It uses cctbx for the handling of maps & writing models, rather than relying on qFit for these functions. While we were able to resolve the runtime issue, making this branch run in comparable times to current dev (which uses qFit transformers), there remained other massive performance issues for qFit-ligand.
In the linked google folder there are four main folders, current_dev_rmsd_01, current_dev_rmsd_02, dev_CCTBX, and dev_CCTBX_qfit. These show plotted results from running qFit-ligand on the true positive (TP) dataset, using current (as of August 2024) dev branch with an rmsd pruning threshold of 0.1 and 0.2, and dev_CCTBX branch with CCTBX transformers and qFit transformers, respectively. Based on RMSD results, it is clear that this dev_CCTBX branch is not finding alternate conformers for the majority of structures in the TP dataset. When it does output a muliconformer model, the RMSD between those conformers is low enough to indicate that they are not unique (i.e. they are duplicates, or near duplicates). If you run qFit-ligand using the dev_CCTBX branch with the --transformer qfit flag, this uses the qFit transformers rather than CCTBX. However, we still see about 50% of structures outputting single conformer models. Again, looking at RMSD we see that structures that do output multiple conformers do not find conformers that are sufficiently unique.

Release Notes
Branch for developing CCTBX implementation. PR contains google folder with notes on performance issues.

@jessicaflowers  I have a branch in progress that I think will fully restore the old behavior for qfit_ligand when using --transformer qfit - will submit a PR for this to dev_CCTBX later this evening.


--build-from-source unable to find Homebrew installed python

brew config output
HOMEBREW_VERSION: 3.4.5-49-g2b8f0ca
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 2b8f0ca4385849a8efa7ae83ba22b3cd82b092e3
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 87269e6dc59023f7f682c5aab7453c0669f1c467
Core tap last commit: 20 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: subl -w
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: octa-core 64-bit ivybridge
Clang: 10.0.1 build 1001
Git: 2.35.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: N/A

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.

Warning: Putting non-prefixed coreutils in your path can cause GMP builds to fail.

Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
Trying to build packages from source, because binaries are no longer available for 32-bit macOS 10.14.
What happened (include all command output)?
The homebrew build environment seems to be locking down the PATH:
$ brew --env
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin

This means any packages that require python to build cannot find Homebrew installed python (e.g. fontconfig):
==> ./configure --disable-dependency-tracking --disable-silent-rules --disable-docs --enable-static --with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts,/System/Library/Assets/com_apple_MobileAsset_Font5 --prefix=/usr/local/Cellar/fontconfig/2.14.0 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for a Python interpreter with version >= 3... none
configure: error: no suitable Python interpreter found

What did you expect to happen?
/usr/local/bin should be included in the brew build path, or there should be a way to specify any Homebrew installed build tools.
Step-by-step reproduction instructions (by running brew commands)
brew install --build-with-source fontconfig

Not adding $HOMEBREW_PREFIX/bin to PATH is intentional. This prevents things that aren't declared as dependencies from leaking into the build environment.
The specific failure you're seeing with fontconfig is being addressed at https://github.com/Homebrew/homebrew-core/pull/98756.

Same here, High Sierra, Python 3.9 from Homebrew.

I am using High Sierra and it's impossible  to me to install fontconfig because of python3.9 is not recognized

We do not support High Sierra.


Localize Email Templates

at the moment email templates are not really localized, change this!
Gitea version 1.14.0+dev-880-gb3056a026

https://github.com/go-gitea/gitea/blob/3d8b5ad5f37f495e50d83bbad214f8061f8a5ac4/services/mailer/mail.go#L227-L232

pass users into func -> group them by lang -> render for each lang -> send chuncks independent ...

Current state: all done beside replace strings in themplate with one in locale files by using Tr help function


docs: Create LangGraph Cloud API reference page

Summary
The LangGraph Cloud API reference page is built using neoteroi-mkdocs.

Not sure if I want to merge this yet. Pending discussion about neoteroi-mkdocs.

Why not just use the same we use in the server (scalar)?

Why not just use the same we use in the server (scalar)?

Just figured out how to do this. Looks way better! Closing this PR.


Implement authorization and QoS

We want to be able to a) identify traffic from license-holders and paying customers vs. free use, b) provide better QoS in case of overload to customers. Probably ideal to implement an Authorization: Token XXXX header sooner rather than later.

User IDs are added to the structured logging context in #33 so we can do reporting if a user supplies a token


Do you have plans to add fine-tuning scripts for other multimodal large models? For example, Qwen_VL, LLaVA1.6, MiniGPT4, etc.

Reminder

[X] I have read the README and searched the existing issues.

System Info
None
Reproduction
None
Expected behavior
None
Others
None

We are working in #4136 to support some sota MLLMs with MLP-Connector like LLaVA-Next(1.6)/Idefics2/Video-LLaVA/LLaVA-Next-Video
For MLLMs with a q-former connector like BLIP2/Instruct-BLIP/Qwen-VL/MiniGPT-4, we will not support them for now.


Set Up Database for Marketplace

Set up the database structure and schemas for the marketplace platform.

not need at this stage


Issue: Light goes on every now and then when there's no screen showing

For some reason whenever i dont have a screen displayed and just the clock and date are showing, the lights goes on and then boot loop so the workaround i did was to automate it in home assistant so that when the light goes on, it will turn it off.
substitutions:
  devicename: ehmtx8266
  mypin: GPIO02
   #  GPIO04

external_components:
  - source:
      type: git
      url: https://github.com/lubeda/EsphoMaTrix
      ref: date-time
    refresh: 120s
    components: [ ehmtx ]
      #type: local
      #path: components/components

esphome:
  name: $devicename
  on_boot:
      priority: -100
      then:
        - ehmtx.text.color:
            id: rgb8x32
            red: !lambda return 200;
            green: !lambda return 200;
            blue: !lambda return 200;
        - ehmtx.today.color:
            id: rgb8x32
            red: !lambda return 255;
            green: !lambda return 165;
            blue: !lambda return 0;
        - ehmtx.clock.color:
            id: rgb8x32
            red: !lambda return 255;
            green: !lambda return 165;
            blue: !lambda return 0;
        - ehmtx.weekday.color:
            id: rgb8x32
            red: !lambda return 0;
            green: !lambda return 128;
            blue: !lambda return 128;
        - lambda: !lambda |-
            id(rgb8x32)->show_all_icons();

esp8266:
  board: nodemcuv2

font:
  - file: monobit.ttf
    id: ehmtx_font
    size: 16
    glyphs:  |
      !?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz€@<>/

binary_sensor:
  - platform: status
    name: "$devicename Status"

logger:

# Enable Home Assistant API
api:
  services:
    - service: show_all_icons
      then:
        lambda: |-
          id(rgb8x32)->show_all_icons();

    - service: alarm
      variables:
        icon_name: string
        text: string
      then:
        lambda: |-
          id(rgb8x32)->add_screen(icon_name,text,7 ,true);
          id(rgb8x32)->force_screen(icon_name);

    - service: screen
      variables:
        icon_name: string
        text: string
      then:
        - ehmtx.add.screen:
            id: rgb8x32
            text: !lambda return text;
            icon_name: !lambda return icon_name;
            duration: 1440
            alarm: false

    - service: brightness
      variables:
        brightness: int
      then:
        lambda: |-
          id(rgb8x32)->set_brightness(brightness);

    - service: status
      then:
        lambda: |-
          id(rgb8x32)->get_status();
    - service: del_screen
      variables:
        icon_name: string
      then:
        - ehmtx.delete.screen:
            id: rgb8x32
            icon_name: !lambda return icon_name;

    - service: indicator_on
      variables:
        r: int
        g: int
        b: int
      then:
        - ehmtx.indicator.on:
            id: rgb8x32
            red: !lambda return r;
            green: !lambda return g;
            blue: !lambda return b;

    - service: force_screen
      variables:
        icon_name: string
      then:
        - ehmtx.force.screen:
            id: rgb8x32
            icon_name: !lambda return icon_name;

    - service: text_color
      variables:
        r: int
        g: int
        b: int
      then:
        lambda: |-
          id(rgb8x32)->set_text_color(r,g,b);

    - service: alarm_color
      variables:
        r: int
        g: int
        b: int
      then:
        lambda: |-
          id(rgb8x32)->set_alarm_color(r,g,b);

    - service: indicator_off
      then:
        - ehmtx.indicator.off:
            id: rgb8x32

    - service: clock_text_color
      variables:
        r: int
        g: int
        b: int
      then:
        lambda: |-
          id(rgb8x32)->set_clock_color(r,g,b);
          id(rgb8x32)->set_today_color(r,g,b);

number:
  - platform: template
    name: "$devicename brightness"
    min_value: 0
    max_value: 255
    step: 1
    lambda: |-
      return id(rgb8x32)->get_brightness();
    set_action:
      lambda: |-
        id(rgb8x32)->set_brightness(x);

ota:
  password: !secret ota_password

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

light:
  - platform: neopixelbus
    id: ehmtx_light
    type: GRB
    variant: WS2812
    pin: $mypin
    num_leds: 256
    color_correct: [30%, 30%, 30%]
    name: "$devicename Light"
    restore_mode: ALWAYS_OFF
    on_turn_on:
      lambda: |-
         id(ehmtx_display)->set_enabled(false);
    on_turn_off:
       lambda: |-
         id(ehmtx_display)->set_enabled(true);
time:
  - platform: homeassistant
    id: ehmtx_time
    timezone: "Asia/Manila"

display:
  - platform: addressable_light
    id: ehmtx_display
    addressable_light_id: ehmtx_light
    width: 32
    height: 8
    pixel_mapper: |-
      if (x % 2 == 0) {
        return (x * 8) + y;
      }
      return (x * 8) + (7 - y);
    rotation: 0°
    update_interval: 100ms
    auto_clear_enabled: true
    lambda: |-
      id(rgb8x32)->tick();
      id(rgb8x32)->draw();

ehmtx:
  id: rgb8x32
#  show_clock: 5
  show_screen: 5
  display8x32: ehmtx_display
  time: ehmtx_time
  time_format: "%I:%M"
  date_format: "%m.%d"
  week_start_monday: true
  duration: 7
  font_id: ehmtx_font
  icons:
    - file: _icons/1918.gif #https://awtrix.blueforcer.de/icons/1918
      duration: 200
      pingpong: true
      id: heart
    - url: https://awtrix.blueforcer.de/icons/175
      id: phflag
    - url: https://awtrix.blueforcer.de/icons/1286
      duration: 10000
      id: weather
    - file: _icons/warning.gif #https://awtrix.blueforcer.de/icons/1901
      duration: 100
      id: warning
    - url: https://awtrix.blueforcer.de/icons/766
      id: smiley

I suspect it's a memory leak, maybe it has something to do with your board ⁉ I don't have a Nodemcu to test.
How much ram does it show when compiling? Can you provide a usb log, e.g. with esphomeflasher? There are some hints for the boot reason.
RAM:   [====      ]  44.5% (used 36484 bytes from 81920 bytes)
Flash: [=====     ]  47.7% (used 498373 bytes from 1044464 bytes)

here's my log.
INFO Reading configuration /config/ehmtx8266.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing ehmtx8266 (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|--  1.0
|--  1.2
|--  2.6.9
|   |--  1.0
Compiling .pioenvs/ehmtx8266/src/esphome/components/ehmtx/EHMTX.cpp.o
Compiling .pioenvs/ehmtx8266/src/esphome/components/ehmtx/EHMTX_icons.cpp.o
Compiling .pioenvs/ehmtx8266/src/esphome/components/ehmtx/EHMTX_screen.cpp.o
Compiling .pioenvs/ehmtx8266/src/esphome/components/ehmtx/EHMTX_store.cpp.o
Compiling .pioenvs/ehmtx8266/src/main.cpp.o
Linking .pioenvs/ehmtx8266/firmware.elf
RAM:   [====      ]  41.7% (used 34144 bytes from 81920 bytes)
Flash: [====      ]  41.8% (used 436653 bytes from 1044464 bytes)
Building .pioenvs/ehmtx8266/firmware.bin
esp8266_copy_factory_bin([".pioenvs/ehmtx8266/firmware.bin"], [".pioenvs/ehmtx8266/firmware.elf"])
========================= [SUCCESS] Took 14.32 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of ehmtx8266.local
INFO  -> <IP_ADDRESS>
INFO Uploading /config/.esphome/build/ehmtx8266/.pioenvs/ehmtx8266/firmware.bin (440800 bytes)
INFO Compressed to 303112 bytes
Uploading: [============================================================] 100% Done...
INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from ehmtx8266.local using esphome API
WARNING Can't connect to ESPHome API for ehmtx8266.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to ehmtx8266.local in the background
INFO Successfully connected to ehmtx8266.local
[09:50:21][I][app:102]: ESPHome version 2022.5.1 compiled on Jun  5 2022, 09:49:42

i can't see any error here. how long does it take to the reboot? Do you have another esp8266 to cross check hardware errors?

url: https://awtrix.blueforcer.de/icons/1286
      duration: 10000

i can't find an error besides the duration of 10000 ms. a.k.a. 10s  . This may be the problem.


Structlog fix investigation

What is the context of this PR?
Since vars are not binding to logger, Structlog needs to be pinned to older version, along with flask-babel, black and pylint which cause some issues when unpinned after dependencies update. This pr only temporarily pins them so the logs issue is fixed.
How to review
Check if runner is behaving as expected after dependencies update.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Bug: Runner logger binds are not being bound

Can you update the PR title to what the change actually does.


Add slots for min/max with actual and forecast values

Generated from a comment on #1

Add slots for min/max with actual and forecast values like
'''
Todays Min 12o (Fore 9o)
'''

I think this is a a good idea. One thing that concerns me is that with adding extra slot types and generally using the same icons for them all, without labels the numbers completely lose all context. We need to consider adding labels (maybe optional) to all fields.

I think this is a a good idea. One thing that concerns me is that with adding extra slot types and generally using the same icons for them all, without labels the numbers completely lose all context. We need to consider adding labels (maybe optional) to all fields.

Well isn't this one self explanatory even if the icon is the same? Todays Min is reasonably unambiguous I think

I was more thinking about all the existing ones that pretty much only show a temperature without any label. This one is fine.
What do you think we should call these new slots?

Which ones only show an icon for temp without a label? I don't see any.

What do you think we should call these new slots?

L7 L8 and R7 R8 following the current naming...
You had previously mentioned an optional label for the custom slots so that's probably a good idea.

Thoughts on what to use as internal names and human names for this? It is just the one slot type, or one for min and one for max?
I was thinking this is low hanging fruit and I could just knock it off, but what about when the BoM remove the Min forecast at 9am, how should it behave. I think with the way the BoM publish stuff the only time you would have both values available would be between midnight and 9am. At 9am the forecast minimum will vanish and when you think about it a forecast for something in the past makes no sense.
Basically I still think this needs more thought and will be completely different/useless if you aren't using the bom integration.

When they remove the min (or max) I'm ok for it to show n/a. I think it's useful to know the actual min and max and if they reached the forecast value or not. The min disappears later than 9am. It used to be 9am but is now in the afternoon I think. It's after 9 here now but still showing.

This is done. I also added observed min/max as slot options as they weren't previously there.

@DavidFW1960 please close if you think this is sorted, or explain what else needs work.


Add testing/coverage infrastructure

This adds the webpack/karma infrastructure needed to run tests with the tape library, including the ability to perform ES6 code coverage.
Closes #5

@jeffbaumes is this ok to merge?

Yeah may still need some tweaks on infrastructure but it's good for now. LGTM.

I'm doing some infrastructure tweaking in the reorg branch, based off of this one. We can/should certainly discuss such tweaks there.


fix: Issue in contact us page

Resolves #137
After

hey @shreyshreyansh why you are not asking for assigning .. kindly ask for assigning first frm maintainer


[bug] Mobile Browser <-> Crypto.com | Defi Wallet switch is broken.

Link to minimal reproducible example
https://web3modal.com/
Summary
Steps to reproduce:

Open a browser like Chrome or Brave on an Android device with the Crypto.com | Defi Wallet app installed.
Navigate to any website / dapp with the web3modal and tap on Connect Wallet.
Tap on the Crypto.com | Defi Wallet option.
The system will switch to the Defi Wallet as expected, but will not actually connect. Instead, it will switch to the app and do nothing.

Adding the Crypto.com | Defi Wallet ID from the explorer to includeWalletIds does not fix the issue.
Opening the website on the Defi Wallet browser itself works. Every other feature works as expected.
Only happens on Android devices. On IOS everything works as expected.
List of related npm package versions
"@web3modal/wagmi": "^3.2.1"

I was able to reproduce it, we'll try to contact them

@Destrian crypto.com confirmed the fix will be released on Monday. Closing this ticket

That's actually awesome. Looking forward to it!