Consolidate site

[ ] Add a react component that can read markdown templates and apply our basic styling to it, giving people the ability to use Github as a basic CMS via markdown. The idea here is to have a folder called /website/static-pages. This folder will contain pages that are just markdown. The website will have a default route that will just load files from this folder and style it using the site's styles.  We need a special tag to enable listing calls.
[ ] Move all the pages from brandnewcongress.github.io repo into this repo as markdown pages
[ ] Remove the reverse proxy to brandnewcongress.github.io
[ ] Remove all pages on Nationbuilder and put them into /static-pages

Benefit of moving stuff into this repo is a) way easier to maintain the code and b) we can make it a nice slick spa and do nicer JS effects and such.  Benefit of putting things all in NB is we can use some of NB's built-in features

Should be noted - Nationbuilder pages will still be accessible on go.brandnewcongress.org/, but we just won't spend a bunch of time making sure NB themes are updated and consistent.  So this way, if people need to make a quick dynamic page using nationbuilder, they still can -- it will just not look good.  And then we can move it in to the main website and style it when we get the time to.

Items 1 through 3 are started in #70

Closing this and splitting it up into more specific tasks that need to happen now that the initial consolidation is done.


Python interface

Is there a python interface to LDS-01?

@plushpluto
Hi, LDS-01 driver and interface are currently provided only in cpp. Thanks.


[Flexbox] Responsive Cards: Horizontal, Vertical !

Something like responsive menu in cards

Motivation => Microsoft's Metro UI Design
Inspiration => http://www.apple.com/newsroom/
Dupe of (Credits) => https://github.com/twbs/bootstrap/issues/20794
Desktop View:

Mobile View

Mention @DaSchTour => The Cards Guru =D
This is basically about adding support!

Well. Will have to think about this. The big question is, how flexibel should this be? Copying the Apple design might be easy. Creating a solution, that can be used in different variants may be not that easy.

Yes i know ..... I didn't said to copy ..... nor i said this is easy :D
@DaSchTour Daniel!
I am on for help if you want me though!

We can start from here though @DaSchTour
=> https://github.com/twbs/bootstrap/issues/20794
( The code )

I'm not even sure, if there is anything that can't be done already. Just add srcset with different images and some fancy style to this example http://s.codepen.io/DaSch/debug/JEeWoV/VGrWNQVyJWDM and you have exactly what you see in the example.

@DaSchTour This a normal grid ( your example ) ..... I am talking about card component ..... and responsiveness ( with adding classes ) like for eg,... http://foundation.zurb.com/sites/docs/responsive-navigation.html

@IamManchanda yes I know. But the apple example doesn't use card pattern. Cards normaly have the same the same with. And my example has exactly the same responsive behavior as the apple example. Beside that the picture doesn't change. But that could be done very easily with srcset.

This was never about the card width ( That is second thought )
What I am asking for is this
Horizontal <==> Vertical
On Saturday, February 11, 2017, Daniel Schuba<EMAIL_ADDRESS>wrote:

@IamManchanda https://github.com/IamManchanda yes I know. But the apple
example doesn't use card pattern. Cards normaly have the same the same
with. And my example has exactly the same responsive behavior as the apple
example. Beside that the picture doesn't change. But that could be done
very easily with srcset.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zurb/foundation-sites/issues/9759#issuecomment-279084239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvYgMHyMchQHq3_2XgUWFiYw_0mrSGZks5rbOThgaJpZM4L76o1
.

--
Thanks,
Harman Singh Manchanda ( Harry )
*Student - Amity University *
*@IamManchanda - Github https://github.com/IamManchanda | Facebook
https://www.facebook.com/IamManchanda | Bootstrap
https://github.com/twbs/bootstrap/issues/created_by/IamManchanda | Zurb
Foundation
https://github.com/zurb/foundation-sites/issues?q=author%3AIamManchanda+is%3Aopen
*

@IamManchanda okay, well than I'm out. I have really no idea what this is about. Navigation, Cards or responsiveness.

@DaSchTour Its about cards bro ..... it's about responsiveness ...
It was never about navigation!
I Just gave you an example of previous implementation within foundation for the same ... ie Responsive navigation
I am looking for something like this

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@DaSchTour ..... have thinked about it ...., ohk no issue ,,, i will take this up ..... ( Though i wanted you to take this up but no issue )
I hope i will have the luxury to mention you in the PR for any help ??


Azure Blob Store support

Hello,
Is there are any plans for adding Azure blob storage as TusStore?
Thank you

Hi,
There are no current plans to have this out of the box in tusdotnet as we do not want vendor lock in.
Block and Page blob storage does not really share the same model as the tus protocol as there is no way of updating these types of blobs without downloading the existing one, modifying it and uploading it again. TusAzureStore is a tusdotnet store POC using Append blobs. Last time I used Append blobs I found them very slow compared to direct disk access.
The alternatives that you have are basically:

Use Azure Files instead which is supported by mounting the Azure Files account as a local drive (https://docs.microsoft.com/sv-se/azure/storage/files/storage-files-introduction)
Write your own store and use the TusAzureStore POC as base.

Ok, got it, thank you :)


Debug window does not save history

As in bash/Qt console, previous method calls should be accessible via the Up/Down arrow keys.

This was resolved in 2f56214c.


Unstructured API Loader Is stuck on SSL Error for self-hosted API. No option for verify_ssl=False to avoid this.

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
This following code works to reach out to my self-hosted unstructured API and turns a file in Unsturctured Json:
def test_file_conversion_api():
    """Test file conversion making a request to the endpoint directly with multi part form data requests

    Copying the logic from this curl command:

    ```
    curl -X 'POST' \
        'https://api.unstructured.io/general/v0/general' \
        -H 'accept: application/json' \
        -H 'Content-Type: multipart/form-data' \
        -F<EMAIL_ADDRESS>\
        -F 'strategy=hi_res' \
    ```
    """
    headers = {
        'accept': 'application/json',
        'unstructured-api-key': UNSTRUCTURED_API_KEY
    }

    with open(FILE_NAME, 'rb') as file:
        # Correctly construct the multipart/form-data payload
        form_data = {
            'files': (FILE_NAME, file)
        }

        # Make the POST request
        response = requests.post(UNSTRUCTURED_API_URL, headers=headers, files=form_data, verify=False)
        assert response.status_code == 200
        ```

Notice that I have to put verify = False because the site is hosted on a private website with a self signed certificate

however there is no option to do that with Langchain Document loader

def test_file_conversation_langchain():
"""Test file conversion using the lang chain wrapper
"""
# seems to fail SSL
health_check_url = UNSTRUCTURED_API_URL.replace("general/v0/general", "healthcheck")
check = requests.get(health_check_url, verify=False)
print(check)
loader = UnstructuredAPIFileLoader(api_key=UNSTRUCTURED_API_KEY, url=UNSTRUCTURED_API_URL, file_path=FILE_NAME)
docs = loader.load()
assert len(docs) > 0

This code will have until the Loader times out. The Unstructured Loader can't deal with the SSL certificate Error.

### Error Message and Stack Trace (if applicable)

self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x0000022254AC6C50>, conn = <urllib3.connection.HTTPSConnection object at 0x0000022254AC7700>, method = 'POST'
url = '/general/v0/general'
body = b'--68d58396f5b31e8cd9878edbc5b4fe91\r\nContent-Disposition: form-data; name="files"; filename="C:/Users/223075449.HCA...\x06\x00\x00\x00\x00\x17\x00\x17\x00\x12\x06\x00\x00\xdf\x96\t\x00\x00\x00\r\n--68d58396f5b31e8cd9878edbc5b4fe91--\r\n'
headers = {'unstructured-api-key': 'MY_API_KEY', 'Accept': 'application/json', 'user-agent': 'speakeasy-sdk/p...-client', 'Content-Length': '630224', 'Content-Type': 'multipart/form-data; boundary=68d58396f5b31e8cd9878edbc5b4fe91'}
retries = Retry(total=0, connect=None, read=False, redirect=None, status=None), timeout = Timeout(connect=None, read=None, total=None), chunked = False
response_conn = <urllib3.connection.HTTPSConnection object at 0x0000022254AC7700>, preload_content = False, decode_content = False, enforce_content_length = True

    def _make_request(
        self,
        conn: BaseHTTPConnection,
        method: str,
        url: str,
        body: _TYPE_BODY | None = None,
        headers: typing.Mapping[str, str] | None = None,
        retries: Retry | None = None,
        timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
        chunked: bool = False,
        response_conn: BaseHTTPConnection | None = None,
        preload_content: bool = True,
        decode_content: bool = True,
        enforce_content_length: bool = True,
    ) -> BaseHTTPResponse:
        """
        Perform a request on a given urllib connection object taken from our
        pool.

        :param conn:
            a connection from one of our connection pools

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param url:
            The URL to perform the request on.

        :param body:
            Data to send in the request body, either :class:`str`, :class:`bytes`,
            an iterable of :class:`str`/:class:`bytes`, or a file-like object.

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param response_conn:
            Set this to ``None`` if you will handle releasing the connection or
            set the connection to have the response release it.

        :param preload_content:
          If True, the response's body will be preloaded during construction.

        :param decode_content:
            If True, will attempt to decode the body based on the
            'content-encoding' header.

        :param enforce_content_length:
            Enforce content length checking. Body returned by server must match
            value of Content-Length header, if present.  This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method
           such as :meth:`request`.

        .. note::

           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param url:
            The URL to perform the request on.

        :param body:
            Data to send in the request body, either :class:`str`, :class:`bytes`,
            an iterable of :class:`str`/:class:`bytes`, or a file-like object.

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When ``False``, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param bool preload_content:
            If True, the response's body will be preloaded into memory.

        :param bool decode_content:
            If True, will attempt to decode the body based on the
            'content-encoding' header.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of ``preload_content``
            which defaults to ``True``.

        :param bool chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.
        """
        parsed_url = parse_url(url)
        destination_scheme = parsed_url.scheme

        if headers is None:
            headers = self.headers

        if not isinstance(retries, Retry):
            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)

        if release_conn is None:
            release_conn = preload_content

        # Check host
        if assert_same_host and not self.is_same_host(url):
            raise HostChangedError(self, url, retries)

        # Ensure that the URL we're connecting to is properly encoded
        if url.startswith("/"):
            url = to_str(_encode_target(url))
        else:
            url = to_str(parsed_url.url)

        conn = None

        # Track whether `conn` needs to be released before
        # returning/raising/recursing. Update this variable if necessary, and
        # leave `release_conn` constant throughout the function. That way, if
        # the function recurses, the original value of `release_conn` will be
        # passed down into the recursive call, and its value will be respected.
        #
        # See issue #651 [1] for details.
        #
        # [1] <https://github.com/urllib3/urllib3/issues/651>
        release_this_conn = release_conn

        http_tunnel_required = connection_requires_http_tunnel(
            self.proxy, self.proxy_config, destination_scheme
        )

        # Merge the proxy headers. Only done when not using HTTP CONNECT. We
        # have to copy the headers dict so we can safely change it without those
        # changes being reflected in anyone else's copy.
        if not http_tunnel_required:
            headers = headers.copy()  # type: ignore[attr-defined]
            headers.update(self.proxy_headers)  # type: ignore[union-attr]

        # Must keep the exception bound to a separate variable or else Python 3
        # complains about UnboundLocalError.
        err = None

        # Keep track of whether we cleanly exited the except block. This
        # ensures we do proper cleanup in finally.
        clean_exit = False

        # Rewind body position, if needed. Record current position
        # for future rewinds in the event of a redirect/retry.
        body_pos = set_file_position(body, body_pos)

        try:
            # Request a connection from the queue.
            timeout_obj = self._get_timeout(timeout)
            conn = self._get_conn(timeout=pool_timeout)

            conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]

            # Is this a closed/new connection that requires CONNECT tunnelling?
            if self.proxy is not None and http_tunnel_required and conn.is_closed:
                try:
                    self._prepare_proxy(conn)
                except (BaseSSLError, OSError, SocketTimeout) as e:
                    self._raise_timeout(
                        err=e, url=self.proxy.url, timeout_value=conn.timeout
                    )
                    raise

            # If we're going to release the connection in ``finally:``, then
            # the response doesn't need to know about the connection.  If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param response_conn:
            Set this to ``None`` if you will handle releasing the connection or
            set the connection to have the response release it.

        :param preload_content:
          If True, the response's body will be preloaded during construction.

        :param decode_content:
            If True, will attempt to decode the body based on the
            'content-encoding' header.

        :param enforce_content_length:
            Enforce content length checking. Body returned by server must match
            value of Content-Length header, if present. Otherwise, raise error.
        """
        self.num_requests += 1

        timeout_obj = self._get_timeout(timeout)
        timeout_obj.start_connect()
        conn.timeout = Timeout.resolve_default_timeout(timeout_obj.connect_timeout)

        try:
            # Trigger any extra validation we need to do.
            try:
                self._validate_conn(conn)
            except (SocketTimeout, BaseSSLError) as e:
                self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
                raise

        # _validate_conn() starts the connection to an HTTPS proxy
        # so we need to wrap errors with 'ProxyError' here too.
        except (
            OSError,
            NewConnectionError,
            TimeoutError,
            BaseSSLError,
            CertificateError,
            SSLError,
        ) as e:
            new_e: Exception = e
            if isinstance(e, (BaseSSLError, CertificateError)):
                new_e = SSLError(e)
            # If the connection didn't successfully connect to it's proxy
            # then there
            if isinstance(
                new_e, (OSError, NewConnectionError, TimeoutError, SSLError)
            ) and (conn and conn.proxy and not conn.has_connected_to_proxy):
                new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
>           raise new_e
E           urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

lib\site-packages\urllib3\connectionpool.py:491: SSLError

The above exception was the direct cause of the following exception:

self = <requests.adapters.HTTPAdapter object at 0x0000022254AC62F0>, request = <PreparedRequest [POST]>, stream = False, timeout = Timeout(connect=None, read=None, total=None)
verify = True, cert = None, proxies = {}

    def send(
        self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
    ):
        """Sends PreparedRequest object. Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """

        try:
            conn = self.get_connection(request.url, proxies)
        except LocationValueError as e:
            raise InvalidURL(e, request=request)

        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(
            request,
            stream=stream,
            timeout=timeout,
            verify=verify,
            cert=cert,
            proxies=proxies,
        )

        chunked = not (request.body is None or "Content-Length" in request.headers)

        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError:
                raise ValueError(
                    f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                    f"or a single float to set both timeouts to the same value."
                 Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """

        try:
            conn = self.get_connection(request.url, proxies)
        except LocationValueError as e:
            raise InvalidURL(e, request=request)

        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(
            request,
            stream=stream,
            timeout=timeout,
            verify=verify,
            cert=cert,
            proxies=proxies,
        )

        chunked = not (request.body is None or "Content-Length" in request.headers)

        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError:
                raise ValueError(
                    f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                    f"or a single float to set both timeouts to the same value."
                 I can reach the API, but getting it into Langchain format is proving difficult due to SSL certs. Adding a verify=False for SSL certs would be fantastic

### System Info

Windows
Version: 0.1.17 Langchain

Python 3.10.11

That test timed out after 15 minutes:
============================================================== 1 failed, 1 passed, 3 warnings in 926.85s (0:15:26)

https://github.com/Unstructured-IO/unstructured/issues/3005


Add Operator for Sorting

@sppalkia  This should be addressed now with #261.
We still need the parallel implementation though.


"Time Window" help message in the skill edit modal is not correct

The current default state is unchecked:

Current message: Uncheck to disable. When disabled skill events are applied immediately.

:+1:


fix "in depth" => in-depth; fixes #879

See #879 for more info

Coverage remained the same at 96.396% when pulling 5234be6ba110a046e17a32425e80e078b4848449 on linify-docs into 9b465c97723d302310df21e253dc3597ef6e6afa on master.

@andrejewski http://linify.me/


qmidinet: 0.9.1 -> 0.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qmidinet/versions.
meta.description for qmidinet is: "A MIDI network gateway application that sends and receives MIDI data (ALSA Sequencer and/or JACK MIDI) over the network"
meta.homepage for qmidinet is: "http://qmidinet.sourceforge.net/"
meta.changelog for qmidinet is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

Warning: no invocation of /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4/bin/qmidinet had a zero exit code or showed the expected version

Warning: no invocation of /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4/bin/.qmidinet-wrapped had a zero exit code or showed the expected version

0 of 2 passed binary check by having a zero exit code.

0 of 2 passed binary check by having the new version present in output.

found 0.9.4 with grep in /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4

found 0.9.4 in filename of file in /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4

directory tree listing: https://gist.github.com/57c68edacb19a19c7b2828f6d403cd81

du listing: https://gist.github.com/d760a2f04319a9aaf4062c235fe56bdb

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
qmidinet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A qmidinet https://github.com/r-ryantm/nixpkgs/archive/2a0486ed8b5af9b5941dd5ba59f9251955a28c64.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4
ls -la /nix/store/zdl8izpzv3j0rl0cbgw6sqlvd0lgpy37-qmidinet-0.9.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

qmidinet

Maintainer pings
cc @magnetophon for testing.

@ofborg eval

Result of nixpkgs-review pr 137797 run on x86_64-linux 1

1 package built:

qmidinet


page #s incorrect on blog

Hi! The page numbers for the blog are incorrect. Page 2 says page 1 on the page. Also the number on the page is different from the number in the URL pattern (see pic):

Hi @lauragift21
I've moved to the project tracker because it seems to have been forgotten because it's not a part to the project kanban board - https://github.com/frictionlessdata/project/projects/3

I can confirm this issue still exists. Please take a look if you can

Yes, thanks @roll I didn't forget it. I will work on a fix.


[BEAM-7198] rename ToStringCoder to ToBytesCoder for proper representation of its role

Renamed ToStringCoder to ToBytesCoder and ToStringCoder is remained as an alias to ToBytesCoder

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @tvalentyn
and cloud you trigger tests?

test test test

Changes LGTM, we can merge once tests pass. Thanks a lot, @lazylynx !

@tvalentyn PTAL
I missed formatting with yapf.

test test test

hmm... Looks like Jenkins is not listening  this time.

Run PythonFormatter PreCommit

Yep, not listening :(

test test test?

Oops, I forgot to squash commits before the merge. Oh well.


Upgrade to lodash 4.x

Tests seem to be hanging locally and on Travis? Not sure what's going on - same thing on master ...

I hope you don't mind I am closing it in favour of #22


Subflow - credentials not stored correctly

When using a node that stores credentials within a subflow, its credentials aren't stored correctly.
To reproduce:

create subflow
enter subflow edit and add NMA node
edit NMA node and add API key

the flow credentials file now contains the right json entry with api key

press deploy

the json entry with api key has disappeared from the credentials file

On a related note, when I keep the subflow tab open and edit the credential field, the deploy button doesn't become pushable (red).

Fixed by #533


Allow a wallet to be specified instead of certificate and private key

Keep the current usage, and add an alternative to supply a wallet exported from vscode:
java simpleFabricClient.jar identity wallet

Fixed in a371f95ec3c38f990014267853d8e4e35abdbffe


Bkl algorithm update

Closes #18 and #20

Pull Request Test Coverage Report for Build 36

28 of 28 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+1.2%) to 99.856%

Files with Coverage Reduction
New Missed Lines
%

src/Simulation.cpp
1
99.37%

Totals

Change from base Build 29:
1.2%

Covered Lines:
694

Relevant Lines:
695

💛  - Coveralls


What is CQSIM？

Nice code bro，but what is CQSim？Is it famous？

写个使用说明吧哥，readme不够看的

true dude

The usability of this project is still terrible, bro

别急，急也没用

The latest README.md is really good!!!

#3


is there an ability to see output from ITestOutputHelper?????

Hello,
I love this this plugin.  Great job.
However I was wondering if it's possible if I could configure neotest.dotnet to display the output passed in to ITestOutputHelper

normally I run the following command on the terminal if I want to see the output

is there a way to pass  " -l 'console;verbosity=detailed' "   to neotest.dotnet????

Hi @ruahman , glad you like it!
It isn't possible at the moment, but it's definitely a good idea to add the option to pass additional arguments.
I'll add this in when I next get the chance. I'm just setting up unit testing in the project at the moment with a few starter tests, then I can get this feature in.

Okay, great  looking forward to it.

Hi @ruahman - Sorry this took so long to add in. It's been tricky to find time to work on the adapter recently. For your case, the --logger option can't be changed because the adapter requires a specific setting for this, but the verbosity can be changed, as indicated in the README updates.


HeaderDictionary is allocated every time it is accessed

@Tratcher can you mark this as part of your PR as well https://github.com/aspnet/HttpAbstractions/pull/433


SSR support?

Hi!
I'm trying to use wowjs in React app and everything was fine, until I moved the project to SSR.
Since on server we have no window object it says:
/client/node_modules/wowjs/dist/wow.js:336
      if ('requestAnimationFrame' in window) {
                                     ^

ReferenceError: window is not defined

Is there any possibility to review the lib and include SSR support?

You can also conditionally import wow, based on process.browser


Add the NEW tap pipe

The tap pipe is highly inspired by RxJS tap operator.
Basically the tap pipe is akin to custom pipeline but forward every received values to the next pipe/pipeline.
@joboccara Maybe the custom pipeline should be deleted in favor to the tap pipe - same responsibility but not the same expressiveness.

Doesn't tee pipe has similar features

Not at all ! tee pipe duplicates data to a second container and the tap just performs a side-effect function as logging or whatever you want

Now I get it, tap executes the function rather than sending value to it, which the function can't accept, not being a pipe.

Please pay attention to my initial comment - I invite you to visit the link I left.
tap pipe executes the given function then SENDS the value to the next pipe/pipeline. This kind of pipe can be useful for debugging, logging or to hardly stop the pipeline execution when some unmet conditions occur.

Thanks for the PR.
I'm not sure to understand how tap can replace custom? As custom doesn't forward to the next pipe. I was considering renaming custom to for_each btw, as it's an end pipe that applies a function to the values coming its way.

You're welcome !
Instead of use both custom and do_ pipes together, you can just invoke multiple time tap pipe and do the job you want to do.
Legacy code:
std::vector<int> values = {1, 2, 3, 4};
std::vector<int> results;

values >>= pipes::custom(pipes::do_([&](int i) { results.push_front(i); })
                                .then_([&](int i) { results.push_back(i); }));

becomes:
values >>= pipes.tag([&](int i) { results.push_front(i); })
       >>= pipes.tag([&](int i) { results.push_back(i); });

Ok I see now how tap can replace custom. I hadn't considered making dev_null follow tap.
Fyi, I've renamed custom to for_each, which makes it clearer now. Finishing a pipeline with for_each makes the intent clearer than with dev_null, if the point is to send to data somewhere, what do you think?

Also, do you have usage examples of tap, to better understand how it can be useful?

Also, do you have usage examples of tap, to better understand how it can be useful?

tap pipe should be used to perform side effects such as logging values or change some states.

Thanks for the PR!


Reset ManagedClient password in disconnect handler

Describe your question
Hi,
In my use case, the ManagedClient's password is an authentication token that has an expiry time. So, I wanted to know if there is a way to reset the ManagedClient's password in the  Disconnection handler, without actually having to rebuild the client options and restart the client again.
Which project is your question related to?

ManagedClient

I don't believe that this is possible.

I don't believe that this is possible.

what is your opinion about putting a setter for IMqttClientCredentials in the library code? I am working on a very hardware-constrained system, so if there is any way by which I could bypass restarting the entire ManagedClient it would be greatly helpful.

The credentials can also be set via the interface IMqttClientCredentials. There you can implement your own credentials provider which will return a different password in the getter as needed.

IMqttClientCredentials.

if

The credentials can also be set via the interface IMqttClientCredentials. There you can implement your own credentials provider which will return a different password in the getter as needed.

if this is done when the managed MQTT client resets the   connection(when the internet comes back up again) will the updated password be used to reinitiate the connection

I assume this question is answered. If not please reopen the ticket.


Bookmark sorting

It looks like bookmarks are currently sorted by URL alphabetically. For example the first bookmark is an FTP link bookmarked in 2011 :D
Would it be possible to allow sorting per most recent and also oldest?
Thanks!

Sounds good. I will rework the components a bit with #1 and will add options to sort bookmarks.
Maybe even the possibility to sort ascending and descending for created and also modified date.

Sorting is now in the main branch and will be part of the next AppStore release. Just fixing some minor issues. :-)


[PATTERN] Add a star pattern in C, Pattern38

Description
Task:
for the given input n the following pattern should print (n=5 for the below pattern):
Pattern Image

Filename
Pattern38.c

Hey can you assign me this issue?

I have successfully written the code. Below is the output:

ok, @Pr0-C0der you can work on this issue.

pr merged #75


Rename access_rule dir_path to dir

This is consistent with the repo field of service, which is called repo and not repo_path.

The website folder needs to be updated as well.


PGError: ERROR:  relation "admin_users" already exists

I'm sorry, I really don't know what's up with this
I crossposted in Devise
Fresh activeadmin install on a Rails 3.1.1 app, devise was already installed, and even the original devise_create_users migration gave this error
I have to rake db:setup and then db:migrate to get to the admin_users migration
I haven't touched the files except to change the admin user's credentials.
I see this on db:test:prepare
You have 1 pending migrations:
20111208195324 DeviseCreateAdminUsers
Run "rake db:migrate" to update your database then try again
And I see admin_users table via Navicat PG connection to localhost
I am confused

The model works and AdminUser.all works but it is [] as in, the admin user was not created : (

Sorry all I just found out this project is using 'mini_record' and I have no clue wtf it might be doing to my attempt to use Devise/ActiveAdmin
Researching. . .


feat(uat): added t20 scenario and new connection step

Issue #, if available:
https://klika-tech.atlassian.net/browse/GGMQ-202
added t20 scenario and added new connection step
Description of changes:

added t20 scenario
added new connection step

Why is this change necessary:
to implement Mqtt 5.0 features
How was this change tested:
Scenarios run manually and on CI
Test results:
Given my device is registered as a Thing....................................passed
And my device is running Greengrass.........................................passed
When I create a Greengrass deployment with components.......................passed
And I create client device "clientDeviceTest"...............................passed
When I associate "clientDeviceTest" with ggc................................passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.Auth configuration to:.passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.client.Mqtt5JavaPahoClient configuration to:.passed
And I deploy the Greengrass deployment configuration........................passed
Then the Greengrass deployment is COMPLETED on the device after 5 minutes...passed
And the aws.greengrass.clientdevices.mqtt.EMQX log on the device contains the line "is running now!." within 1 minutes.passed
And I discover core device broker as "default_broker" from "clientDeviceTest" in OTF.passed
And I connect device "clientDeviceTest" on aws.greengrass.client.Mqtt5JavaPahoClient to "default_broker" using mqtt "v5".passed
When I create a Greengrass deployment with components.......................passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.mqtt.EMQX configuration to:.passed
And I deploy the Greengrass deployment configuration........................passed
Then the Greengrass deployment is COMPLETED on the device after 299 seconds.passed
And I discover core device broker as "default_broker" from "clientDeviceTest" in OTF.passed
And I can not connect device "clientDeviceTest" on aws.greengrass.client.Mqtt5JavaPahoClient to "default_broker" using mqtt "v5".passed

Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Conventional commit format requires  simple verb form like 'add' instead of  'added'


Can O' Spam: Watch internetspeed9.wordpress

Can O' Spam requests the watch of the watch_keyword internetspeed9\.wordpress. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

internetspeed9\.wordpress has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


CT-2952 | Step up flow UI tests

Add tests for step up transactions - more info here

The code looks good to me, but there is an issue with unit_test_sdk job on CircleCI, so please have a look into this (otherwise it won't allow merging anyway).


chore(build): update gem dependencies

Goal
Update MazeRunner gem dependencies to keep up-to-date.
Testing
Verified by CI run.

CI build: https://ci.appveyor.com/project/bugsnag/bugsnag-dotnet/builds/47918741


refactor(problems)

Turned some fo them into py modules

:tada: This issue has been resolved in version 1.1.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixes #80 improve message in case new_sources fails

Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>In case upload failed with Kerberos reason, do not continue.

This branch has conflicts that must be resolved

I am not sure, why there are conflicts with this one commit. Please, try to fix them.

Rebase please so we have nice git tree...;-)

Rebase please (to pull in fixed tests)

Rebased

LGTM, well done

Just a last rebase please.

Just a last rebase please.

Hmm, I've been late for a few seconds...

do we need a rebase bot? :P

do we need a rebase bot? :P

Yes, please! I am feeling very sad about our git tree...

There is also a setting to disallow "Merge commits":
https://github.com/packit-service/packit/settings

feel free to bring this up on the next architecture discussion, or retrospective


Hotfix/requirements & doctest in processor units

resolve several dependency issues.

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0-dev@f1e455a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             2.0-dev    #536   +/-   ##
=========================================
  Coverage           ?   91.6%
=========================================
  Files              ?      74
  Lines              ?    2026
  Branches           ?       0
=========================================
  Hits               ?    1856
  Misses             ?     170
  Partials           ?       0

Impacted Files
Coverage Δ

matchzoo/processor_units/processor_units.py
95.06% <ø> (ø)

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 f1e455a...46a5f5d. Read the comment docs.


[question] How to build abstreet without downoading additional files during the build?

When the application is built from the port it starts like this:

and exits.
The instructions say:

Grab the minimal amount of data to get started: cargo run --bin updater -- download --minimal.

Can this data be packaged into a separate tarball so that there would be no need to run the "cargo" command?
The package builder can't run commands that download anything.
What if the user isn't even interested in Seattle? Why doesn't the application simply offer to download any city data instead of just exiting?
How to build/install abstreet without additional downloads during build, and such that it is functional when installed?

This may help: https://a-b-street.github.io/docs/user/new_city.html
You should be able to download data for new cities from the graphical user interface (GUI). Which part of the world would you like to import?

Which part of the world would you like to import?

I don't understand why does a fresh installation expect Seattle data and why does it fail when Seattle data isn't found? Shouldn't it offer to download some data instead?

I don't understand why does a fresh installation expect Seattle data and why does it fail when Seattle data isn't found? Shouldn't it offer to download some data instead?

Possibly, I'm not 100% sure and will defer to Dustin and others on this.

Hi @yurivict, thanks for your continued efforts to try to package for FreeBSD. Unfortunately I don't yet have the time to make the necessary changes.

What if the user isn't even interested in Seattle? Why doesn't the application simply offer to download any city data instead of just exiting?

Seattle isn't important at all; that updater -- download --minimal command just downloads a few files. There's just an old assumption in many of the A/B Street apps that there's always some map loaded at all times. So when the app starts, we need some map, and for native releases, the hack has been to include some random small map.
Maybe we can programatically generate an empty / fake map, and then the user's first step will always be to just use the UI to download or import the city they care about. I need to test this in all of the apps, to make sure they don't break on totally empty maps -- there may be weird assumptions scattered around.
I'll try and find time to try this change, but ~solo developing+maintaining a project of this size has stretched me very thin.


Provide a way to get the Min / Max / Close- Button positions

Is your feature request related to a problem? Please describe.
I like the idea to render extend into the title bar and keep the system chrome alive with the Min/ Max/ Close buttons. Then I would like to place content like Tabs into the TitleBar. the issue I have is, that I cannot now how much space I have to reserve for the system window Buttons or on which side they are (I think on Mac they are on a different side then for Windows)
Describe the solution you'd like
A property on the Window which tells me where some reserved space is, for example:
ReservedSpace[] ReservedSpaces = new ReservedSpace[]
{
     new ReservedSpace (width: 75, height: 20, Position: Position.TopRight)
};

Describe alternatives you've considered

Hardcode these properties
Use custom buttons, but I learned that this is not a good idea, especially on Linux

Additional context
See also: https://docs.avaloniaui.net/tutorials/music-store-app/creating-a-modern-looking-window
/cc @danwalmsley @ahopper this is a follow-up issue from  our discussion on telegram.
Happy coding
Tim

Couple of thoughts:

There should be an event, so application can adjust elements dynamically (on macos these buttons are hidden in fullscreen, and visible again in normal mode...). See https://stackoverflow.com/a/52803798
Same API potentially can be used for reserved parts on mobile screens, including iphone notch
It should use native APIs instead of some hardcoded "well known" values.
I guess this API won't be possible on Linux with some desktop implementations

On several WPF third party themes the customizable window header area is only from left to the first start of (min or max or close) button so you cannot draw anything on top of these controls. This seems to be much better than adding a new property which only returns the size and the developer has to calculate the distance himself .

@Symbai can you reference any of the mentioned libs? The one I know is MahApps. But they have their own set of Buttons and are not the native ones.
I think there is no out of the box solution here.
Happy coding
Tim

https://github.com/HandyOrg/HandyControl would be one of it

https://github.com/HandyOrg/HandyControl would be one of it

This is really a great example. It nevertheless seems to be not that easy to provide these values for all possible current and future OS versions out there. At least it's beyond my knowledge horizon 😉
Happy coding
Tim

I would say both API can coexist. Low-level reserved space API and high-level titlebar content API.


cleaned code to pass linter

DCO1.1 Signed-off-by: Daniel Firsht<EMAIL_ADDRESS>

Hi dfirsht,
Thanks for submitting this pull request!
I can confirm that the DCO1.1 sign-off has been included. It is okay to process this pull request.
dco-bot


NeumorphicToggle style of thumb cannot change lightsource

I've issues with the same. Would love to close this one. Thanks.

I've issues with the same. Would love to close this one. Thanks.

The issue is not with NeumorphicToggle but with ToggleElement which accepts only foreground and background widgets. (I also tried with custom neu objects in the foreground, which didn't work)


Introduce k.INTERFACE

Javacp uses k.TRAIT to approximate Java interfaces. I don't think this is the right way to go - we created SemanticDB specifically to accommodate different language features as is without having to resort to finding a lowest common denominator.

Fixed in https://github.com/scalameta/scalameta/issues/1416.


Applicants Multiple Select Checkbox

Unable to update the status of multiple customers who are currently active to inactive.

Hi @spurtcmsdeveloper-192 ,we will check that above issue. and will fix the issue shortly.

I happy to say that  above issue was fixed. Please check this.

Thank you.This feature is useful


Add mechanism to commit and freeze writing to storage for taking a backup

Is your feature request related to a problem? Please describe.
References: https://github.com/owncloud/docs-ocis/issues/208 (backup and restore)
Describe the solution you'd like
When having a running production instance, especially in bigger environments, you need to take regular consistant backups. Consistant means, that both files and metadata are in sync.
It is therefore necessary to trigger a buffer flush and temporary freeze state where no write actions occur while reading is still allowed. When the backup has been taken, the freeze state can be released and writing will be allowed again.
Because storage systems (or some filesystems) provide snapshot capabilities (both POSIX and S3), the time needed for taking a snapshot is quite short and only takes seconds. The physical backup - if needed - like to a secondary media is then based on the snapshot taken and not on the life filesystem.
To trigger a freeze and release event, an external source like a script needs to be able to tell ocis the request and gets as return the state. In addition, a query must be possible to return the current state, necessary when somethings went wrong and you need to interfere based on the response.
The freeze and release state must be reboot persistant.
Though I am not a developer, my gut feeling tells me that a new service should be implemented using the event bus to cover this topic.
Describe alternatives you've considered
Fully stop and restart ocis - which is imho no real alternative.
Additional context
Desperately needed as no one can live ourdays without having a backup.

Decomposedfs uses locks to make filesystem access atomic. Since all persistent storage happens via the cs3 api and the decomposedfs an atomic backup can be achieved by using a filesystem like xfs, btrfs or zfs to take a snapshot and back that up.

We will need a way to flush the IO in the storage driver, allow on external tool to do a snapshot, and then resume IO.

some background on snapshots in eg netapps persistance with WAFL: https://en.wikipedia.org/wiki/Write_Anywhere_File_Layout

Note that in case we add that, notifications can be provided via the userlog service.

dont close

keep open

related:

https://github.com/owncloud/ocis/issues/6559
https://github.com/owncloud/ocis/issues/6051

Just to keep in mind: https://owncloud.dev/services/storage-users/#graceful-shutdown

We discussed that in the light of the new backup and restore project. We think, that is not doable and not desired.
Reasoning

Putting ocis into "read-only" mode is not possible due to SLA
Enforcing "read-only" mode over multiple replicas of ocis services would require a consensus process and would  therefore be "slow to reach"
Ocis Storage operations should be atomic that snapshots are possible at any time

Ocis Storage operations should be atomic that snapshots are possible at any time

This is per design not possible as you have TWO write operations. One for the bob and one for the metadata. On big instances, these go to two different targets with different latencies. I already discussed that with @butonic and he agreed that this point is valid. Never expect a "silent" system when an admin goes for a backup.
In my 16y of high end storage, this kind of misconception was the one which caused the most confuses and data corruptions. This is why databases return a commit back positive to the requestor only when the log has been written as you can restore that commit with its data at any time. As ocis does not have this, you must create consistency manually and the way described is the only one possible - anything else is  whish and hope.
I made my point and it is up to management to decide the right thing.


Hide/remove https://www.npmjs.com/package/@elyra/code-snippet-extension-experimental

Is your feature request related to a problem? Please describe.
This outdated package is listed in the extension manager even though it is no longer maintained or supposed to be used.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Remove or hide the package so users don't accidentally install it.

I would prefer not to remove this as it would break some releases that should still be in use by  users that have not yet upgraded to the latest JupyterLab 3.x


Create wat.txt

https://en.wikipedia.org/wiki/Military_University_of_Technology_in_Warsaw

@n074v41l4bl34u Pull request merged, thank you!


adjust mask based on input from another

I am using this in an Angular 2 app and have created a function to return a mask for a credit card based on the first character of the input. So, if it is not a 3, the dashes will align with the number grouping for visa/mc, otherwise the dashes will be grouped for that of an amex. xxxx-xxxx-xxxx-xxxx vs. xxxx-xxxxxx-xxxxx. However, I would like to change the mask for the cvv field, based on the input for the credit card field. If the card is visa/mc the cvv is three digits, if the card is amex the cvv is four digits. Seems in the mask function we cannot access the scope of the component. Is there support for this? Hopefully this makes sense, but in a nutshell, I would like to change the mask of one input based on another. Sure, we can observe the form inputs with some angular directives, but it still does not support changing the mask unless it is returned from a function passes as an object to the textmask directive. So, I can't access the necessary scope from the mask function to change another form mask, and I can't change the mask using angular form directives because the mask wouldn't be returned from a mask function. Not sure whether this can be considered an issue but any help would be appreciated.

As the core does not care about the this context of the mask function ( @lozjackson please correct me if I am wrong ) you could just bind your components this to the mask function:
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Function/bind
Furthermore, you could utilize an arrow function for defining you mask function then you'll get your components this as well.

@PerfectPixel good call. Both work as expected. Thanks for the help!


My fs contribution

Hi, I've solved Prettier's issues. Please check this and any problem you can tell me.
Regards.

Hey, @francosauchelli , good work, few changes I want you to make :

Apply appropriate styling for Hamburger Icon visible in responsive view. Currently in dark mode, it is coming dark.
Apply the css styling as follows :   the background color and color in dark mode only

This is for the special keywords ( words ) highlighted in the description which in dark mode is not clearly visible

Change the footer background  color to have the same background color as the header

Move the Theme Context dir within the  theme dir , and default export all the required export from the index file inside the  theme dir.

Please remove any irrelevant PR. I can see 2 PR's from you , one from master branch and this one !

Hello, I think I was able to solve the suggestions you made me. Please check the mods and any problem just tell me.
Other than that I can't see the 2 PR issues you mention so if they keep coming up please send me a screenshot.
Thank you!


VSSServiceException: Moved Temporarily

Agent Version and Platform
Version of your agent? 2.142
VSTS Type and Version
VisualStudio.com
I am trying to install agent in a windows server. Already this action was performed in a server and it was successfully installed. In another server - an exception "Moved temporarily" when trying to connect the VSTS account. I have created PAT. upon providing the server URL, authentication type as PAT i received the exception
##Log
[2018-12-06 11:40:52Z INFO Terminal] Read value: 'https://XXXXX.visualstudio.com'
[2018-12-06 11:40:52Z INFO ConfigurationManager] GetCredentialProvider
[2018-12-06 11:40:52Z INFO CommandSettings] Arg 'auth': ''
[2018-12-06 11:40:52Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-06 11:40:52Z INFO PromptManager] ReadValue
[2018-12-06 11:40:52Z INFO Terminal] WRITE: Enter authentication type (press enter for PAT) >
[2018-12-06 11:40:52Z INFO Terminal] READ LINE
[2018-12-06 11:40:54Z INFO Terminal] Read value: ''
[2018-12-06 11:40:54Z INFO PromptManager] Falling back to the default: 'PAT'
[2018-12-06 11:40:54Z INFO ConfigurationManager] Creating credential for auth: PAT
[2018-12-06 11:40:54Z INFO CredentialManager] GetCredentialProvider
[2018-12-06 11:40:54Z INFO CredentialManager] Creating type PAT
[2018-12-06 11:40:54Z INFO CredentialManager] Creating credential type: PAT
[2018-12-06 11:40:54Z INFO PersonalAccessToken] EnsureCredential
[2018-12-06 11:40:54Z INFO CommandSettings] Arg 'token': ''
[2018-12-06 11:40:54Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-06 11:40:54Z INFO PromptManager] ReadValue
[2018-12-06 11:40:54Z INFO Terminal] WRITE: Enter personal access token >
[2018-12-06 11:40:54Z INFO Terminal] READ SECRET
[2018-12-06 11:41:02Z INFO Terminal] Read value: '***'
[2018-12-06 11:41:02Z INFO PersonalAccessToken] GetVssCredentials
[2018-12-06 11:41:02Z INFO PersonalAccessToken] token retrieved: 52 chars
[2018-12-06 11:41:02Z INFO PersonalAccessToken] cred created
[2018-12-06 11:41:02Z INFO ConfigurationManager] cred retrieved
[2018-12-06 11:41:02Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-12-06 11:41:03Z ERR  VisualStudioServices] GET request to https://XXXXXXX.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-
1&lastChangeId64=-1 failed. HTTP Status: Redirect
[2018-12-06 11:41:03Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-12-06 11:41:03Z INFO LocationServer] Catch exception during connect. 4 attempt left.
[2018-12-06 11:41:03Z ERR  LocationServer] Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Moved Temporarily
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState,
CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId,
CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
[2018-12-06 11:41:03Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-12-06 11:41:03Z ERR  VisualStudioServices] GET request to https://XXXX.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-
1&lastChangeId64=-1 failed. HTTP Status: Redirect
[2018-12-06 11:41:03Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-12-06 11:41:03Z INFO LocationServer] Catch exception during connect. 3 attempt left.
[2018-12-06 11:41:03Z ERR  LocationServer] Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Moved Temporarily
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState,
CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId,
CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
[2018-12-06 11:41:03Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-12-06 11:41:03Z ERR  VisualStudioServices] GET request to https://XXXXX.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-
1&lastChangeId64=-1 failed. HTTP Status: Redirect
[2018-12-06 11:41:03Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-12-06 11:41:03Z INFO LocationServer] Catch exception during connect. 2 attempt left.
[2018-12-06 11:41:03Z ERR  LocationServer] Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Moved Temporarily
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState,
CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId,
CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
[2018-12-06 11:41:03Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-12-06 11:41:04Z ERR  VisualStudioServices] GET request to https://XXXX.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-
1&lastChangeId64=-1 failed. HTTP Status: Redirect
[2018-12-06 11:41:04Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-12-06 11:41:04Z INFO LocationServer] Catch exception during connect. 1 attempt left.
is there an error in which i provide PAT or in Azure can there be only one onPremise agent configurable ?, because the very same process worked well when i installed agent software in another windows server box. I am trying to have two onPremise agent, out of 2, 1 successfully got synchronized in another i am receiving the above exception.

@Kalaiyappan you might want to collect Http trace and figure out where it tries redirect you to.
https://docs.microsoft.com/en-us/azure/devops/pipelines/troubleshooting?view=vsts#http-trace-logs

@TingluoHuang  thanks for your response, i had enabled HTTPTrace as recommended. I am trying to perform ./config.cmd remove even to accomplish this i am facing "Moved Temporarily" error. In HTTP trace i see that the request is redirected to one of our Domain Controllers in our network with the landing URL as our Azure URL. Now at this stage do you have any recommendations ? would there be any issues at Domain Controller level ?

@Kalaiyappan you might want to talk with your network team and ask what's the proper way to connect to public internet in your on-prem environment. You might need to configure the agent through your local network's proxy server to bypass the redirect.


Add checksum to filter and index block

Add checksum to both filter and index block, and do checksum validation while decoding them. This improvement is based on this issue.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Hi, would you like to report the training speed of your method?

I also have tried to use "zigzag" scan, while it is much slower than just use flatten to transform the image to 1D seq.
I wonder if you can report the training speed of your method?
Best regards!

Hi, the training speed is indeed slow. For example, it required around 4 days to train an L2 model using 8 A100 GPUs. However, we believe such a slow speed is caused by our usage of the default selective scan function provided by the mamba-ssm package. (We used the default implementation because we wanted others to reproduce our result with a minimum effort :) )


Sorted instruments

Get instruments_ return only a copy of the field instruments. To insure that instruments are sorted when using IterativeBootstrap methods, we should return a sorted list of instruments.

IterativeBootstrap initialize function do the sort as first step , did you see another reason to sort before ?

IterativeBootstrap Initialize function do the sort on a copy of PiecewiseYieldCurve attribute instruments.
If you do a test with not sorted instruments, the bootstrapping will fail.


.align(--, fa_middle) causes bounding box to be misaligned/oversized

I thhhink this fixed with changes/fixes to other parts of the generator, but needs re-testing.


Split off client side GuiHandlers

All getClientGuiElement() methods are now client side only
The GuiScreens they use, too (they extend vanilla's sided GuiScreen)
Had to introduce our own version of IGuiHandler, "ISidedGuiHandler"
because fml's one mixes sides
Split our central GuiHandler into client and server and moved it to the proxy
Missed a couple of getIcon()s last time

Note: I'm still playing it save---only code that would have crashed and
burned server-side is annotated.

I am not sure what the motivation for this is. I am not aware of it ever having caused an issue as is, and it certainly complicates things.

This was part of a cleanup to properly mark things a client-only to avoid people calling those methods my accident.

Given the complexity this adds, I dont think this is good change. People can still call methods by accident, and they will find out pretty quickly anyway.
Thanks for the effort though. Much appreciated.


ionic2 slides keyboard bug

Short description of the problem:
I got a couple of slides, and the last one of them has a login form. whenever I try to type in the input fields, the keyboard pops up and the slides are broken, they're auto resized to the space left, and after closing the keyboard they stay that way.
What behavior are you expecting?
I am expecting it to be pushed up (like usual phone behavior I guess?) and make it possible to use form fields in slides.
Steps to reproduce:

Create a view with slides
add a form to one of the slides (even one input fiels will do)
Tap the input field, tada.

        <ion-slide>

Let's get started!

            <ion-item>
                <ion-label>username</ion-label>
                <ion-input></ion-input>
            </ion-item>
            <ion-item>
                <ion-label>password</ion-label>
                <ion-input type="password"></ion-input>
            </ion-item>
            <button full>Log in</button>

            <button outline>
                <ion-icon name="logo-facebook"></ion-icon>
                Log in with facebook
            </button>

            <button clear>Create new account?</button>
        </ion-slide>

Ionic Version: 1.x / 2.x
2
Browser & Operating System: iOS / Android / Chrome
All of them.
Run ionic info from terminal/cmd prompt:
Cordova CLI: Not installed
Ionic Version: 2.0.0-beta.1
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS:
Node Version: v5.5.0

Any progress on this issue?

Given this description of space being suddenly claimed by the keyboard when an input field is tapped and then not released afterward, this sounds like another effect of #5432.
@HazeDevelopment, @alpotapov:  You might be able to make use of the workaround I found to let the keyboard slide over the content, preventing it from getting permanently squished:
https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/5?u=evanwillms
@brandyscarney: I would guess that this issue shares a root cause with #5432 and is unrelated to potential work in #6007, but you should probably have someone more familiar verify.

related to #5744

An plunkr example of a form with various input components within an <ion-slides>: http://plnkr.co/edit/i0MIv8mlQ5WljUJxlBAs?p=preview

Hey everyone! Just wanted to let the community know that we are currently making alot of changes to slides for beta.5, along with some much better docs, so look out for fixes for slides in beta.5! (:

Any news about this bug? I having exactly the same problem....:(

Hello all! Is this still an issue with Ionic 2 beta.10? Thanks!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

Still experiencing this issue as well

Greetings @KingsDevelopment!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

Greetings @KingsDevelopment!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

Is there any solutions to this issue yet? I am using Ionic 2 RC1 and having this problem. I put my login form on a slider, then on iPhone if I tap on the input box then if I move away the focus from the textbox and tap again then the form moves up. Please see the screenshot.
I tried Keyboard.disableScroll(true) but didn't work. I am not sure how to use scrollAssist and autoFocusAssist with RC1 though.

Same here.
Here are a couple of screenshots, first on simulator, then on device
On Simulator

Initial screen = normal

Entering first field = content goes mostly off screen, almost all blank, second field disappeared

Entering second field = content goes again off screen, biiiiig time !!

Typing in second field = first field has been pushed up again

Leaving second field =  back to normal

On Device
Initial screen = normal

Entering first field = content goes mostly off screen, now we can see why (keyboard), second field has disappeared also

Exiting first field = second field label re-appears

Entering second field = not pushed as much as on simulator

Leaving second field = back to normal !

Re-entering second field = biiiiiig mess

Info
Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.42
ios-deploy version: 1.9.0
ios-sim version: 5.0.10
OS: macOS Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.1 Build version 8B62

HTML
<ion-content class="init">
	<ion-slides pager #slider [options]="options">
		<ion-slide>
			<ion-toolbar>
				<ion-buttons end>
					<button ion-button (click)="letSlide()">Next</button>
				</ion-buttons>
			</ion-toolbar>

Welcome

				Click next to begin the initialization.

		</ion-slide>
		<ion-slide>

Credentials

Please enter your serial number and email address

			<form [formGroup]="credentialsForm" (ngSubmit)="submitCredentials(credentialsForm.value)">
				<ion-item>
					<ion-label floating>Serial</ion-label>
					<ion-input type="text" formControlName="serial"></ion-input>
				</ion-item>
				<ion-item>
					<ion-label floating>Email</ion-label>
					<ion-input type="email" formControlName="email" clearInput></ion-input>
				</ion-item>

					<button ion-button color="primary" block type="submit" [disabled]="!credentialsForm.valid">Validate</button>

			</form>
		</ion-slide>
                <ion-slide>
                   Whatever
                </ion-slide>
		<ion-slide>

Ready to Play?

			<button ion-button large clear (click)="initDone()">
				Continue
				<ion-icon name="arrow-forward"></ion-icon>
			</button>
		</ion-slide>
	</ion-slides>
</ion-content>

TypeScript
import { Component, ViewChild } from '@angular/core';
import { NavController, Slides } from 'ionic-angular';
import { Validators, FormBuilder, FormGroup } from '@angular/forms';
import { HomePage } from '../../pages/home/home';

@Component({
    templateUrl: 'init.html',
})
export class InitPage {
    @ViewChild('slider') slider: Slides;
    nav: NavController;
    credentialsForm: FormGroup;
    slides: any;
    options: any;

    constructor(public navCtrl: NavController, public fb: FormBuilder) {
        this.nav = navCtrl;
        this.credentialsForm = this.fb.group({
            serial: ['', [Validators.required, Validators.pattern('^[A-Fa-f0-9]{16}$')]],
            email: ['', [Validators.required, Validators.pattern('^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$')]]
        });
        this.options = {
            pager: true,
            onlyExternal: true
        };
    }

    letSlide(self: any = this): void {
        self.slider.slideNext();
    }

    submitCredentials(data): void {
        this.letSlide(this));
    }

    initDone(): void {
        this.navCtrl.setRoot(HomePage);
    }
}

@manucorporat There is a very helpful gist by @EvanWillms
https://gist.github.com/EvanWillms/8773f8cfa12f469fabf0bdd7a75723e7
I am pretty sure it can help nail down the root cause of the issue.

Is there any progress on this issue? I have the same problem, when typing on an input inside a slide the slide is broken

I've been using <ion-slides> with form inputs for a while now. The problem is that the slider wasn't designed for use with assistive scroll.
I have a workaround described in #10258. It involves making the slider ion-fixed and using <ion-content> inside each <ion-slide>.
The one caveat is that <ion-content> also wasn't designed to deal with multiple content elements on a page. There's a patch in the linked issue that you'll want to call on your ViewController when you create your component.

I'm still facing this issue
when I is use input with ion-slide.
Is there any solution or any updates

+1

This workaround worked for me in app.modules.ts:
imports...

@NgModule({

	declarations: [
		...
	],

        imports: [
		IonicModule.forRoot(MyApp, {
			scrollAssist: false
		}),
		...
	],

Source:
https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/9

I am facing this issue in android case. Any solution for it.

Hello i'm facing the same issue. Any update?

I have the same issue. 2 years old bug...

Hi guys, I still have the issue. Any update?
attached 2 pictures showing the problem:
--- Normal Screen ---

--- Screen goes up when keyboard appears ---

My code:
`

`


Question: How to keep map centered while multi-touch zooming?

Issue Type
[X] Question
[ ] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation
Description and/or steps/code to reproduce the problem
Is there a way to keep the map centered when multi-touch zoom is enabled? I mean, when user pinches the map  to zoom it, map center jumps to pinch, but I need the map center stay the same.
Environment
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.1.0

most of the work is done in the multitouch controller, so if you want a more specialize behavior, i'd suggest starting there

Thank you, i created a custom touch listener and it works fine.


drone exec --include more than one step does not work

Trying to run multiple steps and exec does not do anything while single individual steps are fine.
drone exec --include=build,test

does drone exec --include build --include test work ?

That works, sorry.
Was it always like this?

No problem,
Not sure, only start using it recently and cannot answer that question.


Create game.cpp

This is hang-game in cpp language...
Hope u like it

Royal eagel, [04.10.21 06:49]
Hi Dear Raj Kamal Shakya
Show your support on my youtube channel web Pixar(The institute of coding)
like , share , subscribe
telegram - https://t.me/Royaleagle11
Royal eagel, [04.10.21 06:49]
youtube - https://youtu.be/5qnQjgdpFPg


Allow pointer payloads to AUTH

Several of my SOURces are family histories written by relatives.  I find it useful to put (for example)
1 AUTH @P517@
in the SOUR record.  Applications could optionally display the name, and/or support an easy jump to that person's record.

Discussion in GEDCOM Steering Committee 22 FEB 2024:

Different cataloging systems use "author" to refer to different concepts, so author is somewhat ambiguous.
Sometimes an "author" of a source is an organization, such as a family organization.
An extension can be used in GEDCOM 5.5.1 and FamilySearch GEDCOM 7.0.  Feel free to do so and register it (see https://github.com/FamilySearch/GEDCOM-registries?tab=readme-ov-file#registering-extensions) so others can potentially do the same.  As noted there, if multiple applications/websites start using it then it is a candidate for future standardization.

We believe this question has been answered and there are currently no further actions for the Steering Committee unless/until there are multiple applications using a defined extension for this feature.  We have created a tag "awaiting use" to make it easy to search for all closed issues in this state, that could potentially be reopened in the future once there is sufficient evidence of use.


feat(content): enhance non-academic page and calculator functionality

Pull Request
📝 Description
Enhanced non-academic content with spiritual context and improved Calculator functionality with better validation and visual feedback.
What changed?

Non-academic Page Updates:

Added new spiritual context sections
Enhanced content structure with Hero, Features, and Content components
Improved typography with gradient text and semantic styling
Added responsive text animations for better UX

Calculator Component Improvements:

Implemented gender-specific threshold calculations
Added visual feedback with dynamic line width
Enhanced input validation
Improved TypeScript types and interfaces

📌 Additional Notes
The calculator changes include proper TypeScript discriminated unions and follow functional programming patterns.
🔗 Related Issues
No related issues.
🔍 Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[x] 🎨 Style/UI update
[x] ♻ Code refactoring

✅ Checklist
Code Quality

[x] 👀 I have performed a self-review
[x] 💬 I have added necessary comments
[x] ⚠ No new warnings or errors are generated

Git Hygiene

[x] 🔍 My commits are small and have clear messages
[x] 🔀 I have rebased on the latest main branch
[x] 🧩 This PR is small and focused on a single change

🧪 Testing

[x] 👉 Manual testing

#80  👈 (View in Graphite)
development

This stack of pull requests is managed by Graphite. Learn more about stacking.


Allow additional options when creating an external table

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
CREATE EXTERNAL TABLE should allow for custom (table type specific options).
Eg: For CSV the has_header and delimiter option are available but it's not possible to add custom options but it's not possible to specify the timestamp for loading a delta/iceberg table.
In spark this is possible via the generic OPTIONS parameter.
Describe the solution you'd like
Extend datafusion such that these options can be provided
CREATE EXTERNAL TABLE magic
STORED AS DELTALAKE
OPTIONS ( at='1667827882' )
LOCATION 's3://mybucket/magic'

Describe alternatives you've considered
We could not support this
Additional context
Relates to https://github.com/apache/arrow-datafusion/pull/3867

@timvw I think this is an excellent idea. Syntactically it's in line with postgres' create external table and I think it allows for run-time extensibility that is required if we want to have a healthy ecosystem of 3rd party TableProviders .

Ok, currently the syntax is slightly different, but happy to change that ;)
current: [ OPTIONS ( option='value' [, ... ] ) ]
postgres: [ OPTIONS ( option 'value' [, ... ] ) ]

Updated the code to be the same as postgres..


Match maker

Worked on Issue Number: #646
Issue Name: MatchMaker Game
Issue Type: Feature Added.

@heet-kumar @manisha-27 @abhijeet007rocks8


feat(COMPONENT): multibranch hierarquical tree

Feature Description
Hello everyone. I would like to know if there is anything inside (official) Material Design components library than can achieve the following result obtained from beautifull-skill-tree, a React component:

Use Case
I know there is a hierarquical tree but only allows for "single" (axis) branches. This could be handy for showing a multibranch tree (like a genealogical family tree, or a game skills tree, for instances) the user can interact with.
Thanks for your insights.

Since Angular Material is focus on building things in the Material Design spec, I don't see us pursuing a feature like this.


Centralise indented code block checks

In markdown-it-py (https://github.com/executablebooks/markdown-it-py/commit/9251695727cfa948bb18fc76a5dc85495cacc361) and for its plugins (https://github.com/executablebooks/mdit-py-plugins/commit/85f7ed312c530bb7faf98c079c71379122082556 + https://github.com/executablebooks/mdit-py-plugins/commit/9e5aff87a598504c46f9488a0d10423c698de9fa)
I have centralised the check - present in all block rules - for a block indented by greater than 4 spaces, i.e. the check for an indented code block, and deactivate it when the code rule is disabled.
This allows for behaviour similar to e.g. https://github.com/jgm/djot and https://mdxjs.com/, whereby you can indent syntax blocks arbitrarily, e.g.

        > arbitrarily indented syntax block

at the moment, in the code here, IMO it's a bit unintuitive that most block rules will not work like this, even if you disable code blocks

Yeah, I had my doubts about this one as well for some time.
Why?
Not clear what the behavior should be if code rule is disabled.
I wrote markdown-it rules to the letter of the spec, which says "must be no more than 4 spaces" on every block rule. But spec is of course written with the assumption that code block is always there.
djot is a great argument in favor of what you're suggesting. By the way, are there any other useful changes or commonmark deviations in there?
How to check if code rule is present?
I don't know how you manage custom rules, but this looks a bit suspicious:
# pre-check if code blocks are enabled, to speed up is_code_block method
self._code_enabled = "code" in self.md["block"].ruler.get_active_rules()

can user define their own block rule named code? what happens if they do?
what if user wants to define another block similar to code, but named differently, and still have the restriction?
and why is 4 spaces hardcoded?

Just some thoughts
Maybe block state should have something like max_starting_spaces as a parameter, which should be +inf by default, and decreased to 4 if code rule is present by the code rule itself.
Maybe block state should also have min_starting_spaces as a parameter to clamp it from the other side. Those checks also happen somewhere.
TL;DR: I like the idea, unsure about implementation details.

By the way, are there any other useful changes or commonmark deviations in there?

I'd recommend just reading https://github.com/jgm/djot#rationale, this essentially details the commonmark deviations and their rationale, which also derives from https://johnmacfarlane.net/beyond-markdown.html
I actually learnt of djot after asking about one of the changes it makes; to remove non-locality of reference link parsing: https://github.com/commonmark/commonmark-spec/issues/702

I don't know how you manage custom rules, but this looks a bit suspicious

yeh certainly open to other ideas

Maybe block state should have something like max_starting_spaces as a parameter, which should be +inf by default, and decreased to 4 if code rule is present by the code rule itself.

I like the idea, however, how could this work, given that individual rules don't have any "initialisation hook" themselves? (obviously, plugins can initialise things in MarkdownIt.use, but built-in rules have no such feature)

From https://github.com/rlidwka/markdown-it.rs/issues/7#issuecomment-1603117055, I see now why you suggest this 😄
So I guess this is definitely possible to add in markdown-it.rs

Yeh ughh, I'd be very wary of doing this as obviously any divergences make it more difficult to port fixes/improvements you make here and ensure markdown-it-py is kept in-sync

I see now why you suggest this 😄

I've suggested this, because markdown-it right now is in de-facto feature freeze.
The project it was created for is up and running, so we don't need to fix anything. There's no time/money to make any major changes. And even if we did have resources, markdown-it is now used by too many people to justify any breaking changes.
If you are porting it to python however:

you don't have backward compatibility issues
you don't have to sync to upstream (because as I said feature-freeze)
you may have some time to do it

If you were to do that, I have some ideas how to improve the parser. Most of these you can see in my Rust port, but not all (for example, I'm thinking this entire thing should work under ECS paradigm, which probably helps with performance and usability). That's actually why I wrote the that thing - I found out that in Rust I can refactor things a lot faster than in JS, and quickly test any ideas.

you don't have backward compatibility issues

well not on the same scale as here, but markdown-it-py has a fair few users, so certainly not trivial to change too much 😅
But yes the Rust port is looking really cool thanks, so I would rather also invest my time there and seeing what I can do with https://github.com/chrisjsewell/markdown-it-pyrs

so I would rather also invest my time there and seeing what I can do with

Not a discussion for this repo, but...
"Parser plugins cannot currently be written in Python and added dynamically to the parser."
What exactly is missing for that? I was thinking about reflection API already, and that's a good use-case for it.

Please send a pull request for this library.
We might get this change in (if performance impact is negligible).


Deserialize large array of bytes

Hi everyone,
I'm trying to serialize/ deserialize a structure containing a large array of bytes (an image 1280x720 in uint16). The serialization is very fast, it takes around 5ms, but the deserialization takes more than 70 ms.
Is it a normal behavior ?  Is there a solution to reduce the deserialization time ?

Show us the code you use to serialize and deserialize.
Are you using cereal::binary_data?

Hi @ninnghazad ,
Sorry for the late answer, I work on the same project as pmendez94, he is currently on holiday, I wrote the following code snippet in our google tests to show you. This code gives us around 0.9ms for serialization and around 30ms to deserialize a  752*480 raw image.
Thanks for your help.
#include "gtest/gtest.h"
#include <sstream>
#include <memory>
#include <fstream>
#include <chrono>
#include <cereal/archives/binary.hpp>
#include <cereal/types/memory.hpp>

  constexpr uint32_t IM_HEIGHT{480};
  constexpr uint32_t IM_WIDTH{752};
  constexpr uint32_t IM_SIZE = {IM_HEIGHT * IM_WIDTH};
  struct ByteImage
  {
    unsigned char data[IM_SIZE];
    int           x;    // width
    int           y;    // height
  };

  template<class Archive>
  void serialize(Archive& archive, ByteImage& outputImage)
  {
    archive(outputImage.data, outputImage.x, outputImage.y);
  }

  struct Trace
  {
    uint16_t                   source_id;
    uint16_t                   sync_type;
    uint32_t                   frame_count;
    uint32_t                   timestamp;
    std::shared_ptr<ByteImage> payload;

  private:
    friend class cereal::access;
    template<class Archive>
    void serialize(Archive& archive)
    {
      archive(source_id, sync_type, frame_count, timestamp, payload);
    }
  };

TEST(Serializer, ImageSerializeDeserialize)
 {
   std::string   filename = "..\\..\\binaries\\test_img.raw";
   std::ifstream file_ifstream;
   file_ifstream.open(filename, std::ios::in | std::ios::binary);
   if(!file_ifstream)
   {
     fputs("File does not exist.\n", stderr);
     return;
   }
   // get length of file
   file_ifstream.seekg(0, file_ifstream.end);
   size_t file_size = file_ifstream.tellg();
   file_ifstream.seekg(0, file_ifstream.beg);
   // allocate memory to contain the whole file:
   unsigned char* img_buffer;
   img_buffer = (unsigned char*)malloc(sizeof(unsigned char) * file_size);
   if(img_buffer == nullptr)
   {
     fputs("Memory error.\n", stderr);
     return;
   }
   // copy the file into the buffer:
   file_ifstream.read((char*)(&img_buffer[0]), file_size);
   file_ifstream.close();

   std::shared_ptr<ByteImage> image_output = std::make_shared<ByteImage>();
   image_output->x                         = IM_WIDTH;
   image_output->y                         = IM_HEIGHT;
   memcpy(image_output->data, &(*img_buffer), sizeof(unsigned char*));

   // Create trace
   Trace trace;
   trace.source_id   = 0;
   trace.sync_type   = 0;
   trace.frame_count = 1;
   trace.timestamp   = 0;
   trace.payload     = image_output;

   // Serialize
   std::stringstream           stream_for_archive;
   auto tstart = std::chrono::high_resolution_clock::now();
   cereal::BinaryOutputArchive binary_output_archive(stream_for_archive);
   binary_output_archive(trace);
   auto tend     = std::chrono::high_resolution_clock::now();
   auto duration = std::chrono::duration_cast<std::chrono::microseconds>(tend - tstart).count();
   std::cout << "Serialize time " << duration << std::endl;
   // Deserialize
   tstart = std::chrono::high_resolution_clock::now();
   cereal::BinaryInputArchive iarchive(stream_for_archive);
   iarchive(trace);
   tend     = std::chrono::high_resolution_clock::now();
   duration = std::chrono::duration_cast<std::chrono::microseconds>(tend - tstart).count();
   std::cout << "Deserialize time " << duration << std::endl;
 }

you could try to use cereal::binary_data instead of directly passing your byte array to archive().
something like this:
archive(cereal::binary_data(foo.data, IM_SIZE));
i think it's the proper way to store binary blobs. it's raw - so now byte-order stuff. but as your image data uses unsigned char it should be perfect.

Thanks a lot ! Indeed this is waaaay faster, now it takes only 0.2ms to deserialize !


Calendar view filtering

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[x] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
Clicking on a date in the calendar currently opens up a note associated with the selected date or creates a a new note if did not previously exist. This can easily make you end up with a bunch of empty notes that clutter the calendar view and mask where the actual notes exist.
Describe the solution you'd like
The note-creation feature in calendar view may be useful, but it would be better if it is moved to a context menu under a right click. A left click on a date should instead result in a list of notes that were created or updated on a given date. This could be implemented by adding a date tag (I would suggest using the ISO 8601 format, for example #2022.03.22 or to make it configurable) Such implementation would work nicely with #2571.
Describe alternatives you've considered
n/a
Additional context
I think that a new section in the side panel is needed for both this feature and #2571. This new section would be where a list of matching notes appear, hopefully listed  by their titles instead of file names because file names are not very readable.

Thanks for the suggestion! We'll keep this in mind.
You can get some of this functionality yourself today by using templates. Templates support variable replacement for dates, so you could have the template write out a tag in the note for you.
You could also go with note traits if you want it to apply to a wider variety of notes and not just a single template.


Edit READMe and AboutUs md files

Closes #4

Basic information on the software are updated in the README.md file; while team information such as roles, responsibility and team member pictures are recorded in the AboutUs.md file
Can you standardize the input formats?


Fix header break with long email

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/834
Changed the position of the plus button when the window is resized so it wouldn't stay on top of the user email and make it go below the header. Added some spacing between the plus button and the user email so they wouldn't overlap

This is addressed in #902