restricted_registry() error

import prometheus_client

def queue_current_depth():
    ibm_queue_depth_total = prometheus_client.Gauge(
                                 'ibm_queue_depth_total',
                                 'Current queue depth',
                                 ['inst']
    )
    METRICS = ['ibm_queue_depth_total']
    REGISTRY = prometheus_client.REGISTRY

    # fill the metrics
    queues = get_queues()
    for queue_name in queues:
        current_depth  = get_queue_depth(queue_name ) #returns int
        ibm_queue_depth_total.labels(inst=queue_name).set(current_depth)

    rr = REGISTRY.restricted_registry(METRICS)

File "D:\Projects\uwsgi-flask\ibm_mq_methods\queue_info.py", line 93, in queue_current_depth
rr = REGISTRY.restricted_registry(METRICS)
File "D:\Python\lib\site-packages\prometheus_client\registry.py", line 96, in restricted_registry
for metric in collector.collect():
File "D:\Python\lib\site-packages\prometheus_client\metrics.py", line 68, in collect
for suffix, labels, value in self._samples():
File "D:\Python\lib\site-packages\prometheus_client\metrics.py", line 182, in _multi_samples
for suffix, sample_labels, value in metric._samples():
File "D:\Python\lib\site-packages\prometheus_client\metrics.py", line 175, in _samples
return self._child_samples()
File "D:\Python\lib\site-packages\prometheus_client\metrics.py", line 375, in _child_samples
return (('', {}, self._value.get()),)
AttributeError: 'tuple' object has no attribute 'get'

Hi, guys!
I get this error sometimes, honestly, i cant imagine why it's happen. This script, actually, fill one metric with ~430 labels, and he can work without any kind of error for more then a week. But then, out of a clear sky, an error appears.
In normal conditions, _value object is always MutexValue class object, why it can turn into tuple, or why this tuple may appear?
Thanks for your time and help!

Can you show the rest of your code? What version are you using?

Can you show the rest of your code? What version are you using?

Hi, Brian!
My version is 0.6.0
After this code i've got this one:
# ENCODER was defined earlier,
# i didnt specify it in my first listing:
ENCODER = prometheus_client.exposition.generate_latest
output = ENCODER(rr)
return output

This output will be send via http.server - BaseHTTPRequestHandler class:
class IBM_MQ_Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        output = queue_current_depth()
        self.send_response(200)
        self.wfile.write(output)

If it will help, i can show you all of my code, that collect data for metric, but I don't think it is necessary, because i show the main thing in the first listing.
P.S. thanks for your attention!

There has to be more going on here, so the rest of your code would be useful. Or at least a minimal reproducible test case.

First, Prometheus make GET request to endpoint and this request processed by BaseHTTPRequestHandler from standart Python http.server:
from http.server import BaseHTTPRequestHandler, HTTPServer
from ibm_mq_methods.queue_info import queue_current_depth
import logging

logger = logging.getLogger('IBMMBQ-queue_info')

class IBM_MQ_Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        try:
            output = queue_current_depth(logger)
        except:
            raise IBMHandlerError()
            logger.exception('IBMMQ Handler exception')
            self.send_error(code=500, message='IBM Handler Error')
        try:
            self.send_response(200)
            logger.info('8. Prepare headers')
            self.send_header('Content-Type', 'text/plain')
            self.end_headers()
            logger.info('9. Send response')
            self.wfile.write(output)
        except:
            logger.exception('IBMMQ Handler exception')
            self.send_error(code=500, message='IBM Handler Error')

So here we execute queue_current_depth() function and try to get output. Function defined in another module and looks like this:
import pymqi
import prometheus_client
from prometheus_client import Gauge

ibm_queue_depth_total = Gauge('ibm_queue_depth_total', 'Current queue depth', ['inst'])

METRICS = [
    'ibm_queue_depth_total'
]

ENCODER = prometheus_client.exposition.generate_latest
REGISTRY = prometheus_client.REGISTRY

def queue_current_depth(logger):
    '''Function is check current depth of IBM MQ queues'''
    logger.info('Start queue_current_depth')
    queue_manager = 'PROD_QM01'
    channel = 'PROD.SVRCONN'
    host = 'v-dcr-esb'
    port = '1414'
    conn_info = f'{host}({port})'

    desc_filter = pymqi.Filter(pymqi.CMQC.MQCA_Q_DESC).not_like(b'WebSphere*')
    PREFIX = b'*'
    args = {
        pymqi.CMQC.MQCA_Q_NAME: PREFIX,
        pymqi.CMQC.MQIA_Q_TYPE : pymqi.CMQC.MQQT_LOCAL
    }
    try:
        logger.info('1. Connect to broker')
        qmgr = pymqi.connect(queue_manager, channel, conn_info)
    except pymqi.MQMIError as e:
        logger.warning(f'Broker connecion error {e.errorAsString()}')
        raise
    pcf = pymqi.PCFExecute(qmgr)
    try:
        logger.info('2. Execute PCF MQCMD_INQUIRE_Q')
        response = pcf.MQCMD_INQUIRE_Q(args, [desc_filter])
    except pymqi.MQMIError as e:
        logger.warning(f'PCF execute error {e.errorAsString()}')
        raise
    logger.info('3. Disconnect from the broker')
    qmgr.disconnect()
    logger.info('4. Start checking queues (+ filling metrics)')
    # the main thing goes here, we get about 430 objects in
    # response, and we fill metric from them
    for queue in response:
        queue_name = queue[pymqi.CMQC.MQCA_Q_NAME].decode('utf-8').strip() # 2016 / pymqi.CMQC.MQCA_Q_NAME
        current_depth = queue[pymqi.CMQC.MQIA_CURRENT_Q_DEPTH] # 3 / pymqi.CMQC.MQIA_CURRENT_Q_DEPTH
    ibm_queue_depth_total.labels(inst=queue_name).set(current_depth)
    logger.info('5. End fill metrics')
    logger.info('6. Get rr')
    try:
        rr = REGISTRY.restricted_registry(METRICS)
    except:
        logger.exception('Get restricted_registry exception: ')
        raise
    logger.info('7. Finish get rr')
    logger.info('8. Start encoding metric')
    try:
        output = ENCODER(rr)
    except:
        logger.exception('Metric encoding exception: ')
        raise
    logger.info('9. Finish encoding metrics')
    return output

I have a guess: maybe the cause of the error is the fact, that i defined METRICS outside the function?

I can see no way the code can do that. You're also making this more comlicated than it needs to be, this is an exporter so you should use GaugeMetricFamily and if you just want this one metric you can use a custom registry.
Gauges should also not end in _total.

Thanks for your suggest, here's changes:
class QueueInfoCollector(object):
    def __init__(self):
        self.queue_depth_metric = self._add_metric('ibm_queue_depth',
                'Current queue depth', ['inst'])

    @staticmethod
    def _add_metric(name, documentation, labels):
        g = GaugeMetricFamily(name, documentation, labels=labels)
        return g

    def collect(self):
        return [self.queue_depth_metric]

def queue_current_depth(logger):
    '''Function is check current depth of IBM MQ queues'''
    collector = QueueInfoCollector()
    ibm_queue_depth = collector.queue_depth_metric
    # rest of the code remains the same, except
    # filling the metrics and getting output
    for queue in response:
        queue_name = queue[pymqi.CMQC.MQCA_Q_NAME].decode('utf-8').strip()
        current_depth = queue[pymqi.CMQC.MQIA_CURRENT_Q_DEPTH]
        ibm_queue_depth.add_metric([queue_name], current_depth)
    try:
        output = generate_latest(collector)
    except:
        raise
    return output

Hope these changes are similar to what you meant

Since i start collect metrics via GaugeMetricFamily and custom registry (see example above) my script runs stable, no errors occure. I think, in that case, i can close the ticket. Brian, I really appreciate your help, thank you so much for what you doing!


Rework messaging handling to directly use protocol headers, support multiple content-types

Currently, internal INTERSECT logic does not utilize protocol headers at all, but serializes metadata and the message "payload" (the actual scientific data) into a single JSON blob. So an actual "message payload" is just JSON of one of the following three types:

UserspaceMessage
EventMessage
LifecycleMessage

One immediate problem this presents is if we want to send binary data over the wire, as not everything serializes into JSON (quick example: raw PNG images). The common solution for this is to encode the binary data as Base64, but this is not a viable approach for larger data given that Base64 inflates the size of the data considerably.
This is where allowing users to specify the Content-Type of their events comes in handy. We can directly pass this as a protocol header in actual messages. We can also use it to auto-reject messages when their Content-Type header does not match the expected Content-Type of the request operation.
Note that if the user is sending back a complex object (lists, BaseModels, dataclasses...), but the complex object uses binary data, it will probably be necessary to encode the binary value as a base64 string, and use the contentMediaType property in the schema to represent the true MIME type. Official JSON Schema docs here. An alternative users could implement for events would be to first emit a custom "metadata" typed INTERSECT event, then emit the associated "data" event. The "metadata" event would need to be able to reference the "data" event. (I think that the base64-encoding approach will probably still be necessary for response messages, though.) There are some Pydantic classes which can help with this.
Protocols
We have a full list of protocols we want to support here. Here is a list of protocols supported by AsyncAPI officially,, note that the protocols specification in AsyncAPI is extensible and not limited to their definitions.
Protocols which support protocol-level headers
Not a complete list, may be inaccurate.
With all of these, it makes sense to first try to use established headers - Content-Type is a common header. If we can't find a common header, we can use an X-Intersect-SDK- prefix value in the header.

AMQP 0.9.1 - see the section on basic fields at the reference, for Python check pika.BasicProperties
MQTT 5.0.0 - see section <IP_ADDRESS>.8 in the MQTT v5 specification, in Python check paho.mqtt.properties.Properties
HTTP - check Mozilla docs. Note that support for Server-Sent Events will be more limited.
Pulsar - it looks like a Message object has a 'properties' field (API)

Protocols which do NOT support protocol-level headers
Not a complete list, may be inaccurate.
Note that while it's not impossible to communicate across these protocols with non-JSON data, we would need to create our own header encoding logic. Since all metadata in headers can already be expressed as printable UTF-8 strings, the only binary data should be in the message payload itself. We can prohibit non-printable characters in header keys and values, and use specific control characters as separators for the various parts of the message.

MQTT 3.x - user defined properties were introduced in MQTT v5
Redis

Protocols with limited support for protocol-level headers
Not a complete list, may be inaccurate

HTTP Server-Sent Events - the server would first need to send back a custom event type (i.e. event: metadata). The associated data with this can look like whatever we want. If we want to send the metadata WITH the data, we must use custom encoding logic.
WebSockets - the server will send headers back with the initial handshake, but will not send headers per message.

Proposed action items

[ ] Only use Pydantic for serializing and deserializing application/json Content-Types in our own library. Otherwise, we just verify that the output value is in bytes/bytearray format.
[ ] Rework how we use Pydantic message classes. These are still okay for validating and serializing protocol-level messages, but there needs to be custom logic for each protocol we support.
[ ] Either drop support for protocols which don't support protocol-level headers, or write our own encoder/decoder (do NOT use JSON to do this).
[ ] Add some custom validation logic for Content-Types - this is currently the only message header field where we need to allow complete flexibility. I would generally suggest that for any Content-Type other than application/json, we require the input/output fields to be either byte or bytearray (note that str assumes a UTF-8 encoding, and valid UTF-8 objects should always be serializable as JSON already). Users will need to perform the appropriate conversions with their preferred library - I do not think it would be a good idea to include tons of different libraries in the INTERSECT-SDK for binary formats. This still allows us to have a valid JSON schema which is generated. Do not allow users to specify non-printable characters in any Content-Type definition. (This is an interesting discussion regarding a media type regex, if we want to further restrict Content Types.)

Note that these changes should be considered breaking.

Note that most of this discussion applies only to the workflows where we send the data directly through the message instead of MINIO or another data mechanism. However, we still need to address the Only use Pydantic for serializing and deserializing application/json Content-Types in our own library bulletpoint for MINIO or other data mechanisms to fully work.


Some possible domain names are not found.

Some possible domain names are not found with this tool.
For example "mìcrosoft.net" is not in the result of: "./dnstwist.py microsoft.net" and is still available for registration at this moment. (I guess someone will register it after reading this issue)

Thank you for pointing that out. It's fixed now.
And yes - someone has already registered this domain :)


Add documentation for deleting a user

https://trello.com/c/Yt7uEDsr/338-user-deletion-deactivation
Description
Adds documentation for running the Rake task in the live environments.

Checklist:

[x] Have you documented your changes in the pull request description?

Excellent.


Array values not getting passed into nocache block

Description
In some circumstances, array values are not getting passed into the nocache block (scalar values seem to be working fine), and array-related Twig filters (like |merge) inside the nocache block are complaining about the input not being an array.
Steps to reproduce
I'm not able to reproduce this consistently right now, but the following steps should be a starting point. Will add updates as soon as I can.

Create a nocache block that uses array values from outside it.
Apply the merge filter on the array value inside the nocache block (can even be something like set arr = arr|merge('[]')).

Additional information

No-Cache version: 2.0.7
Craft CMS version: <IP_ADDRESS>
PHP version: 7.4.19

Your example of set arr = arr|merge('[]') would cause an error since '[]' is a string, but I'm guessing that was a typo.
When passing in an array to the nocache block and merging it with another array, I haven't been able to reproduce this error so far, so any updates you can provide to narrow down what causes it will definitely be appreciated.

Closing this issue for now, but if you have any updates that could help me reproduce it, please let me know and I'll reopen.


Could the docker container hundle update using the build in updater?

Just wondering if it's even possible to update it using to build in updater.
Tried to do a few update there but it always seems to just restart with the same version.
Or do I need to wait for docker container to update the version?

Oh Alright Thx!


GetRequest

GetRequest command to non existing OID in capture return next data instead of noSuchIstance. GetRequest works like GetNextRequest.

Could you please cut&paste your command-line or log or whatever would help me debug that? For example this works as expected, no?
$ snmpget -v2c -c public demo.snmplabs.com 1.3.6
SNMPv2-SMI::dod = No Such Instance currently exists at this OID

Two captures attached.
good.cap  (simulator Written by Ilya Etingof<EMAIL_ADDRESS>05/2010, I don't no exact version)
not_good.cap - simulator version 0.3.1
Log from simulator version 0.3.1:
Request var-binds: <IP_ADDRESS>.<IP_ADDRESS>.1.0=<>, flags: EXACT, GET
Response var-binds: <IP_ADDRESS>.<IP_ADDRESS>.1.0=<0>
For me this works as not expected in version 0.3.1
capture.zip

test.zip
For the test MVC file I trying to get OID <IP_ADDRESS>.<IP_ADDRESS>.1.0 (Ubuntu 16.04.2 LTS, snmpsimd version 0.3.1):
snmpget -v2c -ctest <IP_ADDRESS> <IP_ADDRESS>.<IP_ADDRESS>.1.0
iso.<IP_ADDRESS>.<IP_ADDRESS>.0 = Counter32: 0
Log from snmpsimd:
Using ../snmpsim/data/test.MVC controller selected by candidate 098f6bcd4621d373cade4e832627b4f6; transport ID <IP_ADDRESS>.<IP_ADDRESS>, source address <IP_ADDRESS>, context name "098f6bcd4621d373cade4e832627b4f6"
SNMP EngineID 0x80004fb8057562756e747504533a2c, transportDomain (1, 3, 6, 1, 6, 1, 1, 0), transportAddress ('<IP_ADDRESS>', 35024), securityModel 2, securityName 098f6bcd4621d373cade4e832627b4f6, securityLevel 1
Request var-binds: <IP_ADDRESS>.<IP_ADDRESS>.1.0=<>, flags: EXACT, GET
Response var-binds: <IP_ADDRESS>.<IP_ADDRESS>.1.0=<0>
I always got OID <IP_ADDRESS>.<IP_ADDRESS>.1.0 in answer but must got error No Such Instance.

Hi
I also have this issue, attached a walk file. If I poll <IP_ADDRESS>.<IP_ADDRESS>.1 the response is:
.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS> = STRING: "GE0/0/0"
When it should be no such instance. This is using a snmpwalk file, not a snmprec file.
Log from snmpsimd:
Listening at UDP/IPv4 endpoint <IP_ADDRESS>:1161, transport ID <IP_ADDRESS>.<IP_ADDRESS>
Using /home/mofikus/edited-device93.snmpwalk controller selected by candidate b'f0fedc721631f3f929c81eab7bc700f8'; transport ID <IP_ADDRESS>.<IP_ADDRESS>, source address <IP_ADDRESS>, context name "b'f0fedc721631f3f929c81eab7bc700f8'"
SNMP EngineID 0x80004fb805676e7333766d2e87fcc8, transportDomain (1, 3, 6, 1, 6, 1, 1, 0), transportAddress ('<IP_ADDRESS>', 61666), securityModel 1, securityName f0fedc721631f3f929c81eab7bc700f8, securityLevel 1
Opening /home/mofikus/edited-device93.snmpwalk controller
Request var-binds: <IP_ADDRESS>.<IP_ADDRESS>.1=<>, flags: EXACT, GET
Response var-binds: <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>=<GE0/0/0>
snmpsimd was run with the following:
snmpsimd.py --data-dir=/home/mofikus --agent-udpv4-endpoint=<IP_ADDRESS>:1161

@mofikus Could you please attach your sum-walk file and also make sure you are using the latest snmpsim version released?

Alright, that was a bug which is hopefully fixed by d174a7454f24e539671079af84167b028777ba61 (actually, master HEAD).
I'd appreciate your testing before I make a release.
Thanks! ;-)

@varelochka I beg your pardon for overlooking your issue... It is hopefully fixed by now in master.

Sorry I forgot to attach the walk, but I've just tested your changes and it appears to have fixed the issue. Thank you!

snmpsim 0.4.3 has been released on PyPI.

Thanks a lot! Issue fixed.
On 10 February 2018 at 11:38, Ilya Etingof<EMAIL_ADDRESS>wrote:

@varelochka https://github.com/varelochka I beg your pardon for
overlooking your issue... It is hopefully fixed by now in master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/etingof/snmpsim/issues/21#issuecomment-364639219, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEejZQRjuW9JLGswSS5ZQ_i8Uoa6cVoWks5tTWOygaJpZM4PXLkT
.


chore: Fix elixir release workflow

Kind of hacky, but seems to be working now: https://github.com/extism/extism/actions/runs/3472085858/jobs/5802438473
failing to republish the same version

I see -- so the publish step doesn't need the underlying .so so it still triggers this warning:
Warning: {:error,
 {:load_failed,
  'Failed to load NIF library /home/runner/work/extism/extism/elixir/_build/dev/lib/extism/priv/native/libextism_nif: \'libextism.so: cannot open shared object file: No such file or directory\''}}


[Feature] Multiple publishing topics and message grouping

Motivation
Multiple publishing topics and message grouping

Thanks for the request. To help us understand your use cases better, could you provide more details on:

Scenarios needing multi-topic publishing?

How message grouping would be useful? Examples?

What other client use cases would this help?

What problem does it solve in your workflows?

More context on needs and intended usage will assist with design and prioritization if this moves forward. Look forward to hearing back with more info!


[jukebox] Playing a second song doesn't stop the first.

Maybe https://www.spigotmc.org/threads/solved-playing-jukebox-music-on-1-8-player-playeffect-vs-packet.53395/#post-598020 can help?


[Backport release-24.05] redmine: 5.1.3 -> 5.1.4

Release notes: https://www.redmine.org/projects/redmine/wiki/Changelog_5_1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

It appears to be fixes for a bunch of defects but also a rails update? Have you verified that it still works with stable's rails?

It appears to be fixes for a bunch of defects which are okay to backport but also a rails update? Have you verified that it still works with stable's rails?

Why does the rails update seem special? It's just a point release.

I have no idea about rails or ruby and this sounds like they've increased a version of one of their dependencies. We sometimes don't have the version available on unstable on stable.

See gemset.nix. The dependencies are fetched independently.

I don't know or even care about the details, I just need re-assurance that this doesn't break on stable due to that version bump.

It does not break anything.

@GrahamcOfBorg test redmine

@NixOS/nixpkgs-merge-bot merge


Move some stuff around between cyhy-feeds Ansibles

I didn't like that scripts were being installed in the Terraform Ansible, so I fixed that.  I took the opportunity to reduce the amount of code using Ansible loops in several places.
I also ran into this problem with gpg2, perhaps because I have gpg-agent running locally.  In any event, adding the --batch option to the gpg2 commands gets rid of the issue and otherwise changes nothing.

@KyleEvers, it appears to work now.  Please review again when you have time.
The script still fails, but only because I don't have a real database in my test Terraform workspace:
$ sudo -u cyhy python2.7 cyhy-data-extract.py --section production --aws --config cyhy-data-extract.cfg
Traceback (most recent call last):
  File "cyhy-data-extract.py", line 210, in <module>
    main()
  File "cyhy-data-extract.py", line 152, in main
    all_orgs = db.RequestDoc.get_all_descendants('ROOT')
  File "/usr/local/lib/python2.7/dist-packages/cyhy/db/database.py", line 917, in get_all_descendants
    raise ValueError(owner + ' has no request document')
ValueError: ROOT has no request document

I can retest in a different workspace, if you want to give me one where

There is enough of a database to get past this error
I can redeploy the cyhy-feeds instance


Fixes #57 - MacWire examples

There is a new example package available in mesosphere.chaos.examples.trains. It contains Adam Warski's examples mentioned in his DI in Scala: guide. Examples implement simple wiring, usage of cake pattern, composition of modules, testing with mocks, factory methods, multiple instances through tagging, actor wiring and injection.

@aquamatthias that is just adding of the MacWire train example for future reference.


Add Hindi translation

I have translated the text from English to Hindi to the best of my understanding while adding some words so the reader can understand the sentence better.

Thank you so much @i-shivamsoni ! Sincerest apologies for the very, very delayed merge, but thanks again for your patience! 🎉


What do the values in the L1, L2.... columns in the CSV file mean, and how to create the test.csv file

I want to use my own data to test,but I don't know how to create the relative test.csv file

Hi, @Ciciluang . the L1, L2... LN means the begining and the end frame for each action cycle. For example: L1 is the beginning frame index of the first action, L2 is the end frame index of the second action. [L3, L4] ... [Ln-1, Ln] are the same.


rhel 9: tests need to be adjusted to work with the new weldr-client

In RHEL 9 (and Fedora 34) weldr-client is now shipped instead of composer-cli. It provides the same command (/usr/bin/composer-cli) but the output of commands run with --json argument is different (see https://github.com/osbuild/weldr-client/issues/9 for example).
The test suite needs to be adjusted to be able to work with the new client. Both base tests and integration tests that use the weldr API are affected, see:

base test: https://gitlab.com/osbuild/ci/osbuild-composer/-/jobs/1477814546
aws integration test: https://gitlab.com/osbuild/ci/osbuild-composer/-/jobs/1477814555

Integration tests aws.sh and azure.sh update merged https://github.com/osbuild/osbuild-composer/pull/1675
More tests that use composer-cli --json will need to be updated like all ostree tests, libvirt.sh, filesystem.sh, vmware.sh and regressions tests (if we want to run them on RHEL-9)

Updating filesystem.sh in https://github.com/osbuild/osbuild-composer/pull/1745

ostree.sh will be updated in https://github.com/osbuild/osbuild-composer/pull/1791
vmware.sh was updated in https://github.com/osbuild/osbuild-composer/pull/1749
regression tests were updated in https://github.com/osbuild/osbuild-composer/pull/1748


MS Edge and MS IE Refresh problem

I am having to hit F5 in both IE and Edge after creating Databases, Collections, and Graphs using the ArangoDB Web Interface on http://<IP_ADDRESS>:8529 before the items appear in the displayed list. I am not experiencing this problem on either Google Chrome or Mozilla FireFox; the new item appear immediately once created on them.
I am using ArangoDB 2.8.9 standalone service on Windows 10 Pro.

Thanks for the feedback. Fixed in devel branch. For IE & Edge you have to force ajax caching, otherwise they will just ignore the response...


Add terminologies to value-sets

Details:
Address the elements which affect the COVID indicators first:
Refer to Gap Analysis: https://docs.google.com/spreadsheets/d/1vRnQ80COcKrKbYD9bLsxxBUmHegA7z3u/edit#gid=1627898364

Impact on Covid Indicators:

Estimated age  - field removed
Vaccine administered - use of SNOMED codes
Vaccine series - Binding not resolved
Antigen-detecting rapid diagnostic tests (Ag-RDTs) (Rapid Antigen Test) result. - Use of SNOMED Codes
Nucleic acid amplification test (NAAT) (Diagnostic PCR Test) result -- Use of SNOMED Codes

Refer to most updated sheet from Veronica: https://docs.google.com/spreadsheets/d/1cIMIsqOZYt7NSSblTIQoUvRVx1PSzH-QyOdrJBZel2Q/edit#gid=1730088127

Requires setting Observation.code according to LOINC / snomed values specified in https://docs.google.com/spreadsheets/d/1cIMIsqOZYt7NSSblTIQoUvRVx1PSzH-QyOdrJBZel2Q/edit#gid=1730088127


sesh list  lists the content of my $HOME

What happened?
Hi :)
When running sesh list, fzf window pops up, but with the content of my $HOME, instead of my tmux sessions.
Version
1.1.0
Relevant log output
No response
Reviewed

[X] Reviewed existing issues and made sure this bug has not already been submitted.
[X] I have read the documentation and understand how sesh works before submitting this bug

What is the full command you are running?

Just running sesh list
after double checking, my sessions are actually listed, mixed up with all the files & dirs in my home dir...

If you're using fzf, I recommend adding --no-sort to prevent fzf from changing the order of what sesh prints.


remove odd cmd/ double path ... but why does ko not complain...

Proposed Changes

fix wrong double cmd path ...

Release Note

make channel usable ...

WHOOPS.
/lgtm
/approve


VPN Exception Prevents Connecting to Bootstrap

Type
Crash or hang
Operating System
Windows
OS Version
Windows 10
Bug description
When I add an app exception in my VPN to Runelite, it does not launch. I currently use MozillaVPN.
I thought it might be a java issue, but I added exceptions to Java too without avail, and other java apps seem to work perfectly.
The main reason for excluding runelite from the VPN is because I find enabling the VPN causes it to lag quite a bit.
A fresh install of either Runelite or MozillaVPN does not solve the problem.
The app works when I turn the VPN off AND also when the VPN on the app is not added as an exception. Also I made sure that
the issue is not firewall based. I contacted Mozilla support and they said that _"excluding apps from VPN protection using the “App Exclusions” feature should not interfere in any way with the excluded app itself.", So it seems like a Runelite issue.
Here is the error code:
ERROR net.runelite.launcher.Launcher - error fetching bootstrap
java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
I also attached the launcher log below.
I don't seem to be the only person having this issue. Surfshark seems to have a similar problem, along with possibly more VPNs:
https://www.reddit.com/r/2007scape/comments/r3ysiv/help_with_runelite_and_vpn/
I wouldn't be surprised if Runelite can't connect to the bootstrap because it tries using IPV6 instead of IPV4 or something like that, but I'm not an expert.
I will be willing to provide more info if needed.
Thank you
Screenshots or videos

RuneLite version
RuneLite version: <IP_ADDRESS>
launcher version: 2.2.0 / 2.6.3
Logs
launcher.log

@Ammako unfortunately disabling ipv6 doesn't do anything, I still get the same errors.

@Mik615 I ran into the same problem after upgrading to a Jagex account. I added the Jagex Launcher to a split tunnel. I have not found a true solution, but what works for me is launching Runelite through the Jagex Launcher first, log in, and then activate the VPN. I have not tried world hopping yet, but after 6 hours I'm gonna close all applications except Runelite, turn off VPN, world hop, turn VPN back on.

@Mik615 I ran into the same problem after upgrading to a Jagex account. I added the Jagex Launcher to a split tunnel. I have not found a true solution, but what works for me is launching Runelite through the Jagex Launcher first, log in, and then activate the VPN. I have not tried world hopping yet, but after 6 hours I'm gonna close all applications except Runelite, turn off VPN, world hop, turn VPN back on.

Interestingly this doesn't work for me at all, Jagex Launcher is excluded already, I log in via runelite then the second I click connect to VPN it logs me out with an error, and I can't log back in again.

So I am having the same problem as you all.
On my main computer, as soon as I start up my RuneLite I get "ConnectException".
"Message: connect: Address is invalid on local machine, or port is not valid on remote machine"
I tried starting up Runelite with NordVPN on some random fresh virtual machine and Runelite worked just fine without any issues.
Is it possible that some settings somewhere changed that runelite is using LAN IP address instead of picking the VPN IP address on my main computer since the VM environment worked fine.

this looks like a duplicate of #15098
try doing https://github.com/runelite/runelite/issues/15098#issuecomment-1728693834


ADT for Endpoint metadata

As discussed on Gitter, it would be great to have some handy ADT which contains endpoint's input/output(?) metadata
https://gitter.im/finagle/finch?at=56faf094e4a8384a1bbd0973

Do I understand correctly that once we have such ADT (abstract data type, right?) we can easily implement Swagger support?

@ilya-murzinov Yeah I believe we do

For reference, Swagger support request is in #73.

@vkostyukov Hi there
The problem I've encountered during meditation about this issue a long time ago is an actual type of metadata. It could be something builded arounded HList in a very spirit of finch, but it would require add one more type parameter or abstract type to Endpoint and as for me it seems confusing.
Another way is to make a really simple ADT with underlying Seq[String] and so on.
What do you think?

I was thinking about something between the lines:
+  sealed trait Meta
+
+  object Meta {
+    final case class Method(method: String) extends Meta
+    final case class Path(segment: String) extends Meta
+    final case class Param(name: String) extends Meta
+    final case class Header(name: String) extends Meta
+    case object Body extends Meta
+
+    final case class Coproduct(metas: Seq[Meta])
+    final case class Product(metas: Seq[Meta])
+    final case class Mapped(meta: Meta, output: String)
+  }

So we can build this Meta thing in the endpoint and then interpret it when we need it (eg: toString conversion).

I started a branch to implement this a few weeks back (sorry I probably should have mentioned it). I based it the previous comment Hopefully I'll have some time in the next week or so to follow up on it. The recent changes to endpoint (especially the one that removes Endpoint.embed are going to help greatly). In my next pass I'll also try to incorporate #787.
I have two outstanding questions as I pick it back up:

What should Mapped.output be?

my thoughts are: we either need to remove it or maybe we need to bring in shapeless.Typeable (although this breaks down in some cases)
There is one failing test. is it OK to wrap the expected result in a Endpoint.Mapped?

Also we've just are going through the whole "we want a self documenting API" thing at work. My coworkers should have some thoughts to share on the subject (especially in terms of incorporating it with Finch), which may or may not help to inform some decisions on #73.


Updated clean task to keep the dist dir

When running sheer from the /dist directory it crashes when you delete the directory during cleaning. This update fixes that so that only the files and folders within /dist and not the directory itself are removed.

Fixes https://github.com/cfpb/cfgov-refresh/issues/847

:+1:


Causes "bumpy" gutters

When a line has a warning, info, or error, it "bumps" the number over a few pixels.

From what I can tell, its because the font-size is set to 1.1em, although setting a fixed-width for the gutter icons solves this issue, like so:
.line-number .icon-right {
  width: 10px;
}

Might be due to breaking changes in atom?

For me, it doesn't move the line numbers to the left, but instead moves them about 1 pixel down. Could be an unrelated issue.


Atom editing functionality

Hi team,
I have updated this package to use storybook controls to edit atom value. I had to make some breaking changes, any feedback will be appreciated.
https://www.npmjs.com/package/storybook-addon-jotai-with-editing

@devakrishna33 That's great. I'll take a look at it on the weekend.
Did you intend to submit this as a PR?


Mic not working (Hangs on itself and goes mute)

Hi! So my mic has not been working as expected, and it always goes mute by itself and also hangs (plays the last recorded sound from the mic over and over repeatedly). This is very annoying for online meetings because I have to constantly switch the input device from Internal microphone/Line in (both have the same issue) to something else, and then switch it back to get it working again temporarily. This issue is very recurrent for me. Running Big Sur and latest EFIs.

@samwzlim I used yesterday microphone without any issues as those you are describing...
Since you are reporting a lot of issues, maybe you could try a clean install for Big Sur... atm I need my machine in a working status so I'll do a clean install for myself only during Christmas holidays

@profzei alright, will do! Do i just boot into recovery and select reinstall MacOS? Do I have to do anything else considering this is a hackintosh? I wish it is as simple as pressing a reset button because atm I don't have time to start from step 1 :(

@profzei just wanted to confirm that a clean install is the same as just booting into recovery and reinstalling macos amiright? if i reinstall from recovery, will it have the same effect as doing a clean install? and will the system files still be there? i dont have the time to fresh install from step 1


Updated readme

Isn't this redundant with our example file? I was thinking some docs like:
Facebook messages are either templates or text. To construct them, simply use
# Message(<type>, payload)
Message('text', payload)  # where payload is a string
Message('template', payload) # where payload is a Template

and to send a message, use
bot.send_message(msg, <recipient_id>)

@ben-cunningham
I've changed this to just a "quick usage" rather than a document ora  full usable file.

Swag. could we separate to be like
# Send a Generic template
web_button = Button(
    type='web_url',
    title='My Button Image',
    payload='http://www.newton.ac.uk/files/covers/968361.jpg'
)

postback_button = Button(
    type='postback',
    title='My Postback',
    payload="<USER DEFINED PAYLOAD>",
)

element = Element(
    title='Generic Template Element Title',
    subtitle='My subtitle',
    image_url='http://www.buffettworld.com/images/news_trump.jpg',
    buttons=[
        web_button,
    ]
)

generic_template = Template(
    Template.generic_type,
    elements=[
        element,
    ]
)

msg2 = Message('template', generic_template)
response, error = bot.send_message(msg2, recipient)

Send a button template
button_template = Template(
    Template.button_type,
    title="My Button template title",
    buttons=[
        web_button, postback_button
    ]
)

msg = Message('template', button_template)
response, error = bot.send_message(msg, recipient)

teh thoughts?

i think its pretty clear but if you want to

fix it later #techdebt


Get conversations between two messageable. Fix #389

It provides a way to find conversations between two participants

FYI: The between scope on the Conversation model is throwing a Postgres syntax error for me:
$> participant_1.mailbox.conversations_with(participant_2).first
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR:  subquery in FROM must have an alias
LINE 1: ..."conversations".* FROM "conversations" INNER JOIN (SELECT "m...
                                                             ^
HINT:  For example, FROM (SELECT ...) [AS] foo.

Can you replicate this behaviour on a Postgres DB?

same for me
p.mailbox.conversations.between h, p
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR:  subquery in FROM must have an alias
LINE 1: ...n_id" = "mailboxer_notifications"."id" INNER JOIN (SELECT "m...
                                                             ^
HINT:  For example, FROM (SELECT ...) [AS] foo.

@jcoyne @soyellupi Has anyone else been able to replicate this?

For anyone with this issue, I fixed it forking the project and removing all the grave accents from the SQL query of this scope (didn't started a PR as maybe my change will break compatibilty with another DB engine), so my copy looks like this:
  scope :between, lambda {|participant_one, participant_two|
    joins("INNER JOIN (#{Mailboxer::Notification.recipient(participant_two).to_sql}) participant_two_notifications ON participant_two_notifications.conversation_id = mailboxer_conversations.id AND participant_two_notifications.type IN ('Mailboxer::Message')").
        joins("INNER JOIN mailboxer_receipts ON mailboxer_receipts.notification_id = participant_two_notifications.id ").
        merge(Mailboxer::Receipt.recipient(participant_one)).
        order("mailboxer_conversations.updated_at DESC").uniq
  }

@alagos I confirm that your scope works right in MySQL


"Enable DataStore for entire API" expected behavior

Describe the bug
While using Amplify on iOS, it is possible to start out using an API w/ GraphQL, and then desire to use the option:
Enable DataStore for entire API.
Going through this workflow with the Amplify CLI will appropriately update resolvers and the service but does not backfill data to allow it to be compatible with our DataStore implementation.
Customers are running into this issue.  Originally reported here:
https://github.com/aws-amplify/amplify-ios/issues/507
Amplify CLI Version
$ amplify -v
4.21.3
To Reproduce

Create an API with GraphQL with datastore disabled, and conflict resolution unconfigured
Make a mutation using the console, or programatically via API.mutate(...)
Note that the entries made in dynamo will only NOT have the following two fields:

_lastChangedAt
_version

Enable Datastore by using the CLI:

amplify update api

Then choose: GraphQL
Then Choose: Enable DataStore for entire API

Enable Conflict resolution:

amplify update api

Then choose the following options:
? Please select from one of the below mentioned services:
   GraphQL
? Select from the options below
   Walkthrough all configurations
? Choose the default authorization type for the API
   API key
? Enter a description for the API key:
   restaurantdatastore
? After how many days from now the API key should expire (1-365):
   365
? Do you want to configure advanced settings for the GraphQL API
   Yes, I want to make some additional changes.
? Configure additional auth types?
   No
? Configure conflict detection?
  Yes
? Select the default resolution strategy
  Auto Merge
? Do you want to override default per model settings?
  Yes
? Select the models from below:
  Restaurant
? Select the resolution strategy for Restaurant model
  Auto Merge

Update (iOS or Android) application code to enable DataStore Library

Observed behavior
Upon starting the application, datastore will throw errors because the existing data that was persisted by the mutations made while datastore was not enabled does not include:
_lastChangedAt
_version

iOS customers see an error (android probably seems something similar):
APIError: failed to process graphqlResponseData
Caused by:
DataStoreError: The key `__typename` was not found
Recovery suggestion: Check if the parsed JSON contains the expected `__typename`

Expected behavior
Discussion is needed, but a couple ideas on what we should do:

Selecting Enable DataStore for entire API, should also kick off a workflow which forces customers to turn on Conflict resolution
When pushing this configuration to the backend, the existing table in the dynamo tables should be backfilled to have

_lastChangedAt (set to the time that datastore was enabled)
_version (set to 1)

Screenshots
None
Desktop (please complete the following information):
Not applicable
Additional context
Not applicable

I am having this issue. If the DynamoDB table is clear with no data in it, synchronization is good to go. Once I start inserting data upstream into the DynamoDB table, syncing is still good to go.
The problem occurs when I am fetching and querying data from the DynamoDB table and back into my iOS application. The data that now has the additional "__typename" "_lastChangedAt" and "_version" fields does not match my application and gives and error while syncing. The data is no longer synced.
Any guidance here? This is a really important issue for me. Thank you.

@renebrandel was this issue fixed? Is there documentation on how to go about navigating this?


[WFCORE-808]  Remove op handling must properly remove child resources

Changes the standard base remove handler to add steps to remove children.
This allows removal of entire profiles in a single op.
Also includes the commits from #877 and #879, which are needed for the recursive removal to work properly.
For the WildFly full testsuite to pass, https://github.com/wildfly/wildfly/pull/7734 will first need to be merged downstream.

Linux Build 2154 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Windows Build 1684 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Core - Full Integration Build 1290 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Core - Full Integration Build 1290 outcome was FAILURE using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd
Summary: Exit code 1 (new) Build time: 0:02:05
Build problems:
Process exited with code 1

retest this please
Core - Full Integration failure was due to the job being misconfigured.

Windows Build 1684 outcome was SUCCESS using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd
Summary: Tests passed: 3372, ignored: 63 Build time: 0:34:09

Linux Build 2154 outcome was SUCCESS using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd
Summary: Tests passed: 3372, ignored: 63 Build time: 0:35:05

Core - Full Integration Build 1293 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Windows Build 1687 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Linux Build 2157 is now running using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd

Windows Build 1687 outcome was SUCCESS using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd
Summary: Tests passed: 3372, ignored: 63 Build time: 0:35:00

Linux Build 2157 outcome was SUCCESS using a merge of c617c14caac97ae7f7a6e1fb90df51e23f8ff2bd
Summary: Tests passed: 3372, ignored: 63 Build time: 0:35:44

Core - Full Integration Build 1303 is now running using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead

Windows Build 1695 is now running using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead

Linux Build 2166 is now running using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead

Windows Build 1695 outcome was SUCCESS using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead
Summary: Tests passed: 3372, ignored: 63 Build time: 0:35:53

Linux Build 2166 outcome was SUCCESS using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead
Summary: Tests passed: 3372, ignored: 63 Build time: 0:37:01

Core - Full Integration Build 1303 outcome was FAILURE using a merge of f769ad3d39ffa242399abd46a1b1ae76d4525ead
Summary: Execution timeout (new); tests passed: 83, ignored: 36; org.wildfly:wildfly-transactions Build time: 1:15:25
Build problems:
Execution timeout
Process exited with code 137

:+1:

Windows Build 1709 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Linux Build 2181 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Core - Full Integration Build 1318 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Windows Build 1709 outcome was SUCCESS using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests passed: 3375, ignored: 63 Build time: 0:33:50

Linux Build 2181 outcome was SUCCESS using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests passed: 3375, ignored: 63 Build time: 0:35:57

Core - Full Integration Build 1318 outcome was FAILURE using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests failed: 3 (3 new), passed: 2911, ignored: 344, muted: 2 Build time: 0:50:56
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.suspend.EjbRemoteSuspendTestCase.testSuspendedCallRejected: <no details avaliable>

org.jboss.as.test.integration.domain.mixed.eap620.MixedDomain620TestSuite: org.jboss.as.test.integration.domain.mixed.eap630.MixedDomain630TestSuite: <no details avaliable>

org.jboss.as.test.integration.domain.mixed.eap620.MixedDomain620TestSuite: <no details avaliable>

https://github.com/wildfly/wildfly/pull/7763 will hopefully fix the MixedDomain failure.

retest this please

Windows Build 1710 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Core - Full Integration Build 1320 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Linux Build 2182 is now running using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f

Windows Build 1710 outcome was SUCCESS using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests passed: 3375, ignored: 63 Build time: 0:33:55

Linux Build 2182 outcome was SUCCESS using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests passed: 3375, ignored: 63 Build time: 0:36:29

Core - Full Integration Build 1320 outcome was SUCCESS using a merge of 5ce1fdb8143d690d1188a231ce14f9ed9872002f
Summary: Tests passed: 2942, ignored: 344, muted: 3 Build time: 0:51:34


Impossible to import CSS file..  webpack conf ?

Hello Wildhoney,
Maybe I am coming a bit late I discovered your project this week.
Regarding the example you provided within the project, you have been able to create a build including a few folder including the css/country.css
When using webpack, depending on the configuration, the css files are retrieved from import at the head of js files, but are not retrieved directly from within a React Component ex:
Would you please provide your webpack configuration to create the build you did,  it would help me to understand how did you export your country.css successfully without any regular import at the head of the file.
If you are still around, thank you in advance ;)

There is no build for the CSS in the example. It uses the include attr on <ReactShadow /> but of course you could use Webpack to import the CSS, or use a CSS-in-JS solution such as styled-components without any problems.

Thank you for your quick answer.
Well, in my understanding of shadow dom, we can apply like a full css file to a shadow DOM ( maybe I am wrong?). If I start declaring all in-line, with a huge amount of css code it would be pretty ugly (too many css properties).
Considering the first assumption to be true, now if for example I wanna apply a whole css file to a component and its child (the whole embedded by  , when building the application with Webpack, using a standard css loader, he won't include the css file in the built version and so it won't work as your include={} attribute is not an import.
So i was wondering how did you built your example ?
In webpack I am having below conf for css :
```
{
test: /.css$/,
use: [ 'style-loader', 'css-loader' ]
}

would you have an idea? ( i am pretty new to web-dev so this question will probably looks simple for you)

I don't have an example off-hand as I don't use it in the example, but yes your assumption is correct and so your component could well be something like the following with the correct Webpack setup:
import styles from './styles.css';

With the JSX as:

    <etc... />

I see, so I will try to make my webpack works better than, thanks ;)

I forget which one it is exactly, but if you use either css-loader or style-loader on their own, you'll get the desired import behaviour, otherwise one of them automatically injects the CSS into the html.

Let’s say I have a simple react project with 2 files:
src/index.js
  import "./stylesheets/slide3.css";
 ...
  <ShadowDOM include="./stylesheets/slide3.css">

 First Div

 second Div

    </ShadowDOM>);

src/stylesheets/slide3.css
#div1 p{
color: blue;
}

#div2 p{
  color: red;
}

How would you manage that file import to works in both local (react-scripts start ) and also compatible after having build the application (react-scripts build ) and launch the server in local (serve –s build)?
Why that question is that, by looking at your code, it considers the file passed in include property as an URL. So if i refers to a local file in my workspace ( include=”./stylesheets/slide3.css”) it wont work and i will get the error in console:
GET http://localhost:3000/stylesheets/slide3.css 404 (Not Found)
Obviously this URL doesn’t exist and even if I would try the full URL (including absolute path on my laptop) it would give something like this, and it doesn’t work either):
GET http://localhost:3000/Users/remysabliet/proj/react-proj/remysabliet/src/stylesheets/slide3.css 404 (Not Found)react-shadow.js:844
Moreover, If we deploy using react build, the website structure is different and give something like below:
https://ibb.co/eCgM5U
Subsequently, i would set   <shadowDOM include=”static/css/stylesheets/slide3.css”> ...
but it is not working either, can't retrieve the css file.
I am looking for a simple solution to make it works contextly (like import './stylesheets/slide3.css’
How would you advice me to do so?
I have also tried your second solution using
import slide3 from './stylesheets/slide3.css'
and declaring <slide..>{slide3}</style>

Example on sandbox:  https://codesandbox.io/s/k0qky1loy5
and I am getting below error :
_invariant Violation
Objects are not valid as a React child (found: object with keys {}). If you meant to render a collection of children, use an array instead.This is some text!
Thanks in advance for your support

I already passed 2 days on this before posting. I wonder how people succeeded to make it work that simple, except by doing all in-line code.

@remysabliet I have used two options successfully.
import as string with css-to-string-loader
.my-style {
  background-color: red;
}

test: /\.css$/,
use: [
  {loader: 'css-to-string-loader'},
  {loader: 'css-loader'},
],

import stylesheet from './styles.css';

const SomewhereInsideReactShadow = () => (


Fixing active state for mentions and flagged posts

Summary
Fixing active state for mentions and flagged posts
Ticket Link
MM-21106

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Test server destroyed

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4486.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed


Consider using Jena 5 for the 1.0.0 release

Check what is new & broken in Jena 5, consider if we should use it for 1.0.0.

Consider using 4.x for 1.0.0 and then 5.0 pretty much immediately for 1.1.0. That way we'd have two recent versions of Jelly for both major versions of Jena.

See also #73

Will be tackled in #78.


changed packages names color

Added Fore.GREEN to packages names in order to have them pop up in the backup process

Update from master


No need for ordered dict

No need for ordered dict here.
Since py3.7 key order is maintained.
#35 introduced a regression as the ordered dict was being written to the changelog.yaml file as !!omap and antsibull changelog was failing.
https://github.com/ansible-collections/ansible.scm/actions/runs/4983286655/jobs/8920107821#step:10:17

Rather than leave the main branch inn a known broken state, merging without approval.


I dont know what optional requierments are completed or not

The readme feels like it's missing a lot of information and like what optional requirements were completed.

Implemented optional functions description added in commit f6954dadd3f52f8cb170a5fa726f793b44bb8911


Getting numpy.linalg.linalg.LinAlgError: not positive definite, even with jitter on optimize_restart for simple example

Hello,
I'm trying to understand why the following example with GPRegression triggers an error in jitchol
I know that I can use the "robust" option to ignore this, but I would still like to understand why this is happening.
Thanks !!

File "/home/pmercati/anaconda3/lib/python3.6/site-packages/GPy/util/linalg.py", line 78, in jitchol
raise linalg.LinAlgError("not positive definite, even with jitter.")
numpy.linalg.linalg.LinAlgError: not positive definite, even with jitter.

Code:
import sys
import numpy as np
from random import seed

import GPy

my_seed = 1
np.random.seed(my_seed)
seed(my_seed)

def main():

    training_data = np.array([[0.2, 0.0 ],
                              [0.0, 1.0 ],
                              [1.0, 0.0 ],
                              [0.0, 0.2 ],
                              [0.1, 0.1 ]])

    training_targets_i = np.array([[-0.731925],
                                   [ 0.99655765],
                                   [ 1.40693001],
                                   [ 1.0       ],
                                   [ 0.0       ]])

    kernel = GPy.kern.RBF(input_dim=2, ARD=True)
    model = GPy.models.GPRegression(training_data, training_targets_i,kernel)
    model.optimize_restarts(num_restarts = 10)

if __name__=='__main__':
    main()

Could you try using the output normalizer? It can be set at creation of the GPRegression model.

On 8 Jun 2018, at 21:57, Pietro Mercati<EMAIL_ADDRESS>wrote:
Hello,
I'm trying to understand why the following example with GPRegression triggers an error in jitchol
I know that I can use the "robust" option to ignore this, but I would still like to understand why this is happening.
Thanks !!
File "/home/pmercati/anaconda3/lib/python3.6/site-packages/GPy/util/linalg.py", line 78, in jitchol
raise linalg.LinAlgError("not positive definite, even with jitter.")
numpy.linalg.linalg.LinAlgError: not positive definite, even with jitter.
Code:
import sys
import numpy as np
from random import seed
import GPy
my_seed = 1
np.random.seed(my_seed)
seed(my_seed)
def main():
training_data = np.array([[0.2, 0.0 ],
                          [0.0, 1.0 ],
                          [1.0, 0.0 ],
                          [0.0, 0.2 ],
                          [0.1, 0.1 ]])

training_targets_i = np.array([[-0.731925],
                               [ 0.99655765],
                               [ 1.40693001],
                               [ 1.0       ],
                               [ 0.0       ]])

kernel = GPy.kern.RBF(input_dim=2, ARD=True)
model = GPy.models.GPRegression(training_data, training_targets_i,kernel)
model.optimize_restarts(num_restarts = 10)

if name=='main':
main()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


2 refactor nfs dynamic join

easy peasy, just make nfs export really insecure

it's fine, all the security is on the edge!


Metal dupe issue.

When metal ingots are converted into two rods using the metal press or lathe, the rods can be put in a smeltery to end up with more metal than you started with.
The smeltery is balanced to three ingots to four rods, not 1 ingot to two rods.
Obviously anyone can use this to make infinte amounts of most metals.

the best solution here is probably just disable the lathe I'd imagine, since it's not actually required for anything.  Will get something in the next update.

The metal press does the same as the guy said. And you cant disable the metal press rod mold as that is used often

that is not a great solution, requires manually redoing literally every single rod in tinkers.

Meh thats kinda annoying ye. Though there are so many ways to do 2 ingots > 4 rods its really hard to stop. Some you can craft, some metal press, a lot multiple, some latch

#171 created to resolve issue, they'll only give 72 mb of molten liquid now instead of 108 mb. Accidentally crafting rods via crafting table will lose material, but accidentally using lathe/press to do it won't, now, since they'll properly remelt.

fixed in next update, thanks doom


[Bug]: On importing a gsheets json [with selected gsheet authorized], the run query on page load does not function as expected

Is there an existing issue for this?

[X] I have searched the existing issues

Description
On importing a gsheets json [with selected gsheet authorized], the run query on page load does not function as expected
Steps To Reproduce

Create a new workspace, a new app, with Google sheets datasource, set to selected google sheets, and authorize it with a google sheet say Test1.
Create a query to Fetch Many Sheet rows, and bind this query result to a table.
Create another dummy page as well.
Export this application.
Import the above json into a new workspace and a new app
While importing, choose selected gsheets and point it to a different GSheet, say test2, save and authorize.
After import, On accessing the page with the above table, it shows data from the original sheet test1
Even if we browse between page 1 and page 2, to see if Run query on page load works to refresh data each time the page is loaded, the data from original sheet only is shown

Ideally it should show the data from the new sheet, or it should error out till we choose the correct sheet from the query dropdown
Only after we go to the query and choose the new sheet, run it again, then the data in the table gets updated.
https://github.com/appsmithorg/appsmith/assets/101863839/16cf2a38-2ae3-4a05-a1e1-e027ee3c112f
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

marking it as (at least) medium effort since import app flow has historically been a problematic area causing regressions.


DRAFT: HTML support

I don't know what to do about the options thing given I don't think it's possible to give arguments to raw handlers, but wanted to send you the patch so the work isn't duplicated.

Relates to #13

I don't know what to do about the options thing given I don't think it's possible to give arguments to raw handlers

It actually is --
% Include example
\include[src=somefile.md, smart=false, bracketed_spans=false, subscript=false]
% Raw handler example
\begin[type=markdown, smart=false, bracketed_spans=false, subscript=false]{raw}
H~2~O and 2^10^ [Doe]{.smallcaps}
\end{raw}

=> I have just added the missing support for it (#19) :smile_cat:

I don't know what to do about the options thing given I don't think it's possible to give arguments to raw handlers

It actually is --

Via command line as well?

Via command line as well?

Ah, no, I don't think it's actually possible by command line. Well that would be a question for SILE (passing main inputter's options via the CLI), but we'll be ready for that case too, then.

Thanks, I was only testing in command line thus my confusion. :bow:

I am closing the PR:

The larger picture is documented in #29 (also referring to this PR so it may be consulted in due time)
The minimal support for <br> and <wbr> is done ine #30

But thanks again for the incentive and the ideas.


Revisit our PIR tests and see which one can be made into property tests

In particular, we should use as much of Jacco's work on semantic equivalences as possible.


GSC Failed to build unsigned graminzed docker images

Hi,
I try to run hashgraph in a GSC container. I could run it in successfully in gramine-sgx. Now I would like to run it also in a GSC.
This is my dockerfile:
FROM ubuntu:20.04 AS build-stage

# suppress region selection during dependency installation
ARG DEBIAN_FRONTEND=noninteractive

# install dependencies and build tools
RUN apt-get update && apt-get install --no-install-recommends -qq -y \
    cmake \
    automake \
    bison \
    flex \
    g++ \
    git \
    libboost-all-dev \
    libevent-dev \
    libssl-dev \
    libtool \
    make \
    pkg-config \
    openssl \
    apt-utils

# copy the source code into the container
COPY examples/hashgraph /hashgraph

# switch to build folder
WORKDIR /hashgraph/build

# build
RUN cmake .. && make

# everything within the export-stage will be exported to the host
FROM scratch AS export-stage

# copy executable from build-state to export-stage
COPY --from=build-stage /hashgraph/build/hashgraph /build/hashgraph

# copy crypto material from build-state to export-stage
COPY --from=build-stage /hashgraph/tests/config /tests/config

# to avoid entrypoint issue
CMD ["bash"]

The docker build finish successfully. As soon as I run the gsc build it runs into a issue without details. I run the following command:
./gsc build -d --insecure-args hashgraph test/hashgraph.manifest

These are the last outputs from the terminal:
 ---> 81fe0d2c8ac6
Step 8/22 : RUN apt-get update     && env DEBIAN_FRONTEND=noninteractive apt-get install -y         binutils         libprotobuf-c-dev         locales         locales-all         openssl         python3         python3-pip         python3-protobuf     && python3 -B -m pip install click jinja2 protobuf 'toml>=0.10'

 ---> Running in 907471e22004
Failed to build unsigned graminized docker image `gsc-hashgraph-unsigned`.

Here is also my manifest content. I took it from the old PyTorch example:
sgx.enclave_size = "16G"
sgx.thread_num = 32
sys.stack.size = "2M"

# Python's memory allocator by default creates a new arena for each thread, and each new arena
# allocates 128MB of memory. By default, PyTorch creates as many threads as there are available CPU
# cores, so this may quickly deplete available enclave memory (e.g. Python eats 2GB on a 16-core
# platform). Let's restrict the number of created threads.
loader.env.OMP_NUM_THREADS = "8"
loader.env.MKL_NUM_THREADS = "8"

Do you have an idea how to get more detailed information to figure out what's going wrong?

Hi @dimakuv ,
Unfortunately, no more output.
I have tried the hello-world example and this works fine. There is an apt-get update command.
I have extended the hello-world example to install also the other libs from the hashgraph dockerfile. This works fine.
It seems that the tzdata makes the issue. I removed the ARG DEBIAN_FRONTEND=noninteractive and this came up:
Setting up tzdata (2021e-0ubuntu0.20.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa      4. Australia  7. Atlantic  10. Pacific  13. Etc
  2. America     5. Arctic     8. Europe    11. SystemV
  3. Antarctica  6. Asia       9. Indian    12. US
Geographic area:

Until now I couldn't find a solution. I tried all the solution proposals from Serverfault - How to install tzdata on a ubuntu docker image, but all of them doesn't work, when I try to run the gsc build.

Where does this tzdata come from? Unfortunately, I don't know all those Ubuntu packages and how their installation works. @woju @aneessahib @veenasai2 Any ideas what this could be?

@dzygann did you try this solution : https://rtfm.co.ua/en/docker-configure-tzdata-and-timezone-during-build/  ?

Hi @veenasai2
Yes, I also tried this one and it also works for docker build, but when I run the gsc build it stops without any further output.
Is it possible to add somewhere a console output? It's quite hard to analyse this one without further information.

But gsc build already prints all console output. So there is no additional "hidden" output... That's why I'm so surprised that there are no error logs after Step 8/22 : RUN apt-get update ....
This is where GSC reports the failure: https://github.com/gramineproject/gsc/blob/3c4f89a2b6fae06d4c5e5d030045dc115e58c16f/gsc.py#L234
As you can see, this happens immediately after the function build_docker_image(). The function looks like this: https://github.com/gramineproject/gsc/blob/master/gsc.py#L40-L49
You can see that the function simply invokes the Docker engine and redirects all Docker-build output to your console. Nothing is hidden by GSC.

@dzygann - does a basic ubuntu20.04 image running bash work in gsc for you? this always works for us. So may be something in you dockerfile is exposing an issue in gsc (or not). I suspect FROM scratch

@dzygann - does a basic ubuntu20.04 image running bash work in gsc for you? this always works for us. So may be something in you dockerfile is exposing an issue in gsc (or not). I suspect FROM scratch

Also, can you please try putting any RUN command (e.g. RUN ls /) after FROM scratch AS export-stage in your base image Dockerfile and build the base image again ?
Please confirm here, if the build succeeds, this will help us debug faster. Thanks.

Hi @veenasai2
I have created the following dockerfile:
developer@OptiPlex-3070:~/workspaces/enclaive/gsc$ cat test/scratch.dockerfile
From scratch AS export-stage

COPY hello /

CMD ["hello"]

The output from the console is the same. Is the export-stage triggering the issue?

I read a bit about scratch Docker images: https://docs.docker.com/develop/develop-images/baseimages/.
Yes, the problem is in this statement FROM scratch. Basically, this statement says "Remove absolutely everything from the Docker image, there will be no files, no directories, no commands, nothing at all". Which means that there will be no Ubuntu OS (its files, its directories, its commands) in the resulting base Docker image.
But GSC assumes that there is a proper Ubuntu in the base Docker image. But with scratch image, the very first Ubuntu-specific command (RUN apt-get update) fails because there is no apt-get command in the base image!

Hi @dimakuv
thanks for the clarification! I tried the following scenario.
Create the dockerfile:
From ubuntu:20.04

COPY hello /

CMD ["hello"]

The GSC run into the same issue:
untime/glibc/'
Running custom install script '/bin/sh -c ln -sf ../../../libsecret_prov_verify_epid.so "$MESON_INSTALL_DESTDIR_PREFIX"/lib/x86_64-linux-gnu/gramine/runtime/glibc/'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-sgx-ias-verify-report'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-manifest'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-sgx-get-token'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-sgx-sign'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-direct'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-sgx'
Running custom install script '/bin/sh -c ln -sf legacy-graphene-to-gramine "$MESON_INSTALL_DESTDIR_PREFIX"/bin/graphene-argv-serializer'
 ---> af655d60aa63
Step 7/22 : FROM scratch

 --->
Step 8/22 : RUN apt-get update     && env DEBIAN_FRONTEND=noninteractive apt-get install -y         binutils         libprotobuf-c-dev         locales         locales-all         openssl         python3         python3-pip         python3-protobuf     && python3 -B -m pip install click jinja2 protobuf 'toml>=0.10'

 ---> Running in 24cb6e8421cb
Failed to build unsigned graminized docker image `gsc-scratch-unsigned`.

I did a file search and found the Step 7/22 : FROM scratch in the build/gsc-scratch/Dockerfile.build. I took a look into the template Dockerfile.ubuntu.build.template and it seems it uses the dockerfile name to set the app-image.
I renamed the dockerfile to ubuntu18.04-scratch.manifest and now the minimal example is working with the gsc build command.

@dzygann Glad it works now!
This is an interesting observation. You called your Dockerfile scratch.dockerfile which conflicts with the Docker's keyword. Of course, a simple solution is to never use Docker keywords in your filenames.
But GSC should disallow such keywords in filenames, I guess. This should be simple to implement. @veenasai2 @aneessahib What do you think, should we check the app-image GSC-build argument and loudly fail -- or at least give a warning -- that the base Dockerimage filename is a "keyword in Docker, and it may lead to unexpected results. Consider renaming your original Docker image".

@dimakuv - I'm not sure if I'm missing something. In above case i figure, the base image name is identical to a standard docker image (scratch). I cant think of an easy way to implement a check of the base image name against hundreds of docker images . I think it would be better in general if one avoids creating base images with names that conflicts with standard docker images.
Just to clarify (since i noticed dockerfiles/manifest being mentioned) - The dockerfile and manifest files could be of any name. We pass the actual base image name to GSC build.  So - unless the base image itself was named scratch  - this shouldnt happen.

Just to clarify (since i noticed dockerfiles/manifest being mentioned) - The dockerfile and manifest files could be of any name. We pass the actual base image name to GSC build. So - unless the base image itself was named scratch - this shouldnt happen.

Ah, sorry, then I was wrong. I thought that GSC takes the dockerfile/manifest file name as the "base image name". So ignore my comment then.
@dzygann Does this resolve all your issues? Should we close this issue now?

Hi,
yes, we can close this issue.
Thanks for your help!


Boost coverage for pkg/adapter to 100%

This change is

Done. PTAL.

Jenkins job mixer/presubmit passed


feat: start ga command with node path

Issue
https://github.com/SAP/guided-answers-extension/issues/174
Description
Add functionality to call Guided Answers command with node path parameter, e.g.:
commands.executeCommand('sap.ux.guidedAnswer.openGuidedAnswer', { treeId: 3046, nodeIdPath: [45995, 45996, 46000] });

Checklist for Pull Requests

[x] Supplied as many details as possible on this change
[x] Included the link to the associated issue in the Issue section above
[x] The code conforms to the general development guidelines.
[x] The code has unit tests where applicable and is easily unit-testable
[x] This branch is appropriately named for the associated issue

Still working on some unit tests


Multi-OS support

probably macos. Need to look at https://pypi.org/project/atomacos/

I won't because I don't use mac for studying. Waiting for contribution.


docs: documentation improvements

Improves documentation structure.

Signed-off-by: Nikos Filippakis<EMAIL_ADDRESS>

@diegodelemos do you think we can close this PR? :smile:

yes, superseded by https://github.com/inveniosoftware/invenio-oauthclient/pull/145


Mobile Responsiveness: Sidebar to be closed be default on mobile when page loads

Right now, when I visit the mirrorful home page, the sidebar is open by default. In line with how the hamburger icons works across most sites, the sidebar should be closed by default and open up when a user clicks on the hamburger icon

Thoughts? @alexdanilowicz

I think it should be closed by default on mobile .
This is what you mean, yes? @Pranav2612000

@Pranav2612000 @alexdanilowicz i'd love to work on this

Sure @betty-alagwu ! Go ahead.

Is it still open?


listBranches does filter protected branches

Hi,
the listBranches() method doesn't allow to filter protected branches.
Is there a workaround to get all protected branches of a repository?
Github API: https://developer.github.com/v3/repos/branches/#list-branches

I implemented what I needed in: https://github.com/github-tools/github/pull/481.

There is a PR for this in #483. Feel free to address the feedback and reopen. If no one gets around to implementing this, I'll probably get to it eventually.

http://github.github.com/github-flavored-markdown/


Created Projects & Experience Page, and added content

Added files and images that are relevant to my projects, and added some descriptions of a couple projects and my past experiences.

It still uses the strong tags here, but in another branch I have them fixed... I was thinking that if I left them in here it might end up being easier to merge, but if you think I should change it here as well I'll go ahead and do that.

Realized that this is a different html file (projects_experience.html) and not index.html, which was updated in master. Added some additional commits to format the speech bubbles as cards for the projects page, and resolved the header issues.

I put the related css declarations near one another, as well as alphabetized the css properties that I hadn't done before.


collapse only section being expanded

HI,
thanks for the great script.
Is there a possibility to collapse/expand sections independently?
Meaning that expanding one section doesn't automatically collapse other expanded section.
Thanks!

That's actually the default behavior. Just don't use [data-group], which is what activates the accordion behavior.

Indeed it is :)
Thanks for a quick reponse!

My pleasure!


Game: Presenter-led trivia

Inspirations from pub-style trivia. Can be based on the existing Poll game.
Unlike actual pub-style where questions are asked as a round, and then answers are revealed at the end of the round, this implementation would instead follow the pattern of Question/Answer > Reveal > Question/Answer > Reveal etc.
Must-haves

[x] Presenter - Score/leaderboard
[x] Presenter - Editing questions - Indicate correct answer
[x] Presenter - Displaying questions - Correct answer reveal
[x] Client - Cache locked in answers
[x] On presenter refresh, query server cache for existing responses
[x] On gotoNextQuestion, force QuestionAndResponse so answer is not revealed
[x] Block users from responding to a question while the answer is displayed
[x] x/y label on question view

Nice-to-haves

[ ] Presenter - Questions with images
[ ] Client - Free-text entry
[x] Open Trivia DB integration
[x] Hide the scoreboard button if no questions have correct answers configured
[ ] Time based questions
[x] Randomised answer position

Implementation details

No validation exists on whether the presenter has set a correct answer on each question. If no correct answer is set for a question, then that question does not affect the scoreboard upon answering.

Can see answers for a brief moment before switching
Mobiles didn't update at one stage

First transition only

Lenka thinks one of her answers didn't go thru
Should just select the answer
Could have final screen on mobile
Put the question on the mobile device
Don't show answers unless presenter was displaying them

Can see answers for a brief moment before switching
Mobiles didn't update at one stage

First transition only

Lenka thinks one of her answers didn't go thru
Should just select the answer
Could have final screen on mobile
Put the question on the mobile device
Don't show answers unless presenter was displaying them

Put the question on the mobile device

You were right @nellysattari :) Now the question appears along with the answers on the player's mobiles. Added in 7e22d2562aab09c4eababc85cc42478509b858d6

Feel free to deny these or drop them into separate issues:

[ ] Time based questions
[ ] Randomised answer position

Nice, I added them to the top. Randomised answer position would be super simple, need more info on the expectations of Time based questions?

I think the overall idea of time-based questions would be to assist the presenter and participants with communicating how long there is to answer questions. Rather than the presenter waiting until a certain amount of responses have come in.

I guess this would mean locking the client out from answering after the time limit has expired. The time limit would probably apply to the whole game, than be per question.

I intend to help add these if I can. Another idea, being about to group questions into rounds, where instead of moving to the next question the scoreboard, or a round/category title shows, or both.

Most of this is implemented. Will close this for now until further testing/usage validates what's currently there.


Add a self-update command to the CLI

As a customer, I want to be able to update the CLI, so that I can take advantage of all the newest features

Problem
Currently there is no (easy) way described/available to update the new StackState CLI. This leads to questions from customers on how to update the CLI, or which version they need.
Solution
Implement an sts update command that checks whether the latest version of the CLI is installed and if not installs it.
The command should support the following flags:

--dry-run – Only check whether a new version is available

The output of the command should be:

New version
Dry-run
JSON
Text

✅
❌
{ "version": "<new>", "latest": false, "upgraded": true }
Upgraded to version '<new>'

✅
✅
{ "version": "<new>", "latest": false, "upgraded": false }
Newer version '<new>' is available

❌
❌
{ "version": "<current>", "latest": true, "upgraded": false }
You're running the latest version

❌
✅
{ "version": "<current>", "latest": true, "upgraded": false }
You're running the latest version

Implementation
A nice framework/library for building this might be https://github.com/mouuff/go-rocket-update , which allows to implement a provider to check our S3 bucket for the latest version and download from there.

Please take into account that not all server can directly access the internet (so the StackState download servers), but need a proxy for that. So my suggestion is to add an option --proxy which enables the possibility to specify a proxy server.
Examples
-- proxy http://proxy.company.com
-- proxy http://proxy.company.com:1234
-- proxy http://user:password@proxy.company.com:1234


Typo:

[
Typo on set.exe and set.up exe
And thre's no CustomSetting but CustomSettings
]
Install Business Central components of the cumulative update.
There are two ways to install components. You can use the set.exe file from the installation media or manually patch files to the existing installation:
Using set.up exe
Before you install, save a copy of the configuration files for the Business Central Server (CustomSetting.config)

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

ID: 566ac7ba-c8e2-cd8f-370e-26e1d581a7cf
Version Independent ID: 6961aefe-7207-d8eb-4b2b-a249d321a309
Content: Install a cumulative update - Business Central
Content Source: dev-itpro/upgrade/upgrading-cumulative-update.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello, the issues have been fixed, and an update will be published soon. Thanks for the feedback!

Hello, the issues have been fixed, and an update will be published soon. Thanks for the feedback!

:) Thankss :) 👍


Latest broccoli-funnel causes files to go in the wrong directory

With the latest broccoli-funnel files are ending up in assets/assets rather than assets.
I've temporarily fixed this in my app by locking broccoli-funnel to 0.2.8 rather than ^0.2.8.

@drewchandler  Thanks for reporting this issue. It is fixed by 0.3.2 release.

Thanks so much for the quick fix!


feat: pass npm_token for private repos

PR Checklist

[x] Brief description of changes
[x] Links to any relevant issues
[ ] Required status checks are passing
[ ] User cases if changes impact the user's experience
[ ] @mention a maintainer to request a review

@wayfarer3130 this seems to work well for private repos when a user is logged in to their npm


[FEATURE REQ] Update quick-start doc of Spring Data JDBC with MySQL to include credential-free connection

Context
With Managed Identities OAuth feature enabled in #29219, we should update our quickstart doc of Spring quickstart MySQL JDBC to include the credential-free connection method.
There's a template worked out by Alex can be found here:

https://github.com/MicrosoftDocs/azure-docs-pr/pull/203348#issuecomment-1205727432
https://github.com/MicrosoftDocs/azure-docs-pr/pull/203348#issuecomment-1203381358

We should demo two connection methods in this doc, one using credential-free connections and one using username/password, using contextual tabs to distinguish them. We should make the credential-free tab as the default/recommended.
Goal
Update the quick-start doc to include the credential-free part.

Closed in #3419.


Allow seed bootstrap to succeed even with feature gate managed istio is disabled.

The external authorization server for the authorization of reversed vpn connections
was always deployed regardless if managed istio was enabled. This caused issues
when the custom resource definitions of istio were missing due to managed istio
being disabled.
Co-authored-by: Sebastian Stauch<EMAIL_ADDRESS>How to categorize this PR?

/area networking
/kind bug
What this PR does / why we need it:
The external authorization server for the authorization of reversed vpn connections
was always deployed regardless if managed istio was enabled. This caused issues
when the custom resource definitions of istio were missing due to managed istio
being disabled.
Now, the external authorization server is only deployed if managed istio is enabled.
Which issue(s) this PR fixes:
Fixes #4985
Special notes for your reviewer:
Release note:

/invite @DockToFuture


[ERROR] import in MeteorJS

when inporting es6 version we get an error untill we import es5 version like that
import vmsg from 'vmsg/vmsg.es5'

it does not affect new meteor versions, maybe it's related to meteor.

it does not affect new meteor versions, maybe it's related to meteor.


Update HikariCP to 2.7.9

Updates com.zaxxer:HikariCP from 2.6.3 to 2.7.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.zaxxer", artifactId = "HikariCP" } ]

labels: library-update, semver-minor

Codecov Report

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

@@           Coverage Diff           @@
##           master     #307   +/-   ##
=======================================
  Coverage   89.85%   89.85%
=======================================
  Files         133      133
  Lines        2888     2888
  Branches      132      132
=======================================
  Hits         2595     2595
  Misses        293      293

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 081fd5c...7c1e90d. Read the comment docs.


⚠ Bofrost.at has degraded performance

In e174f9e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1718 ms

Resolved: Bofrost.at performance has improved in c02b089.


Update sbt-scalajs, scalajs-compiler, ... to 1.13.1

About this PR
📦 Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-library_2.13
org.scala-js:scalajs-test-bridge
org.scala-js:scalajs-test-bridge_2.13

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

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-js" }
}]

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

Superseded by #524.

Superseded by #554.


'replacement string' item contains newlines when running TWQueryTasks

Here's a test query:

When I run :TWQueryTasks, I get the following error:

I added a print before this line, there's a newline string at the end.
Will send a PR to fix this.

Yes, it took me quite a while to find the task which actually has a newline in the description. It's very obscure because it doesn't show in the report result, nor the edit view at all.

hey @yongli-abc, after reviewing the structure in general, the issue seems to be more widespread than this particular command.
I am still unsure if we would want to support description with newline (\n). If we do want to support it, how is the best way to handle it. For example, the approach via #91 is to escape the new line, which shows \n in the markdown file. This may not be the best option for readability. I would love to see your and others' opinions on this

Maybe the support isn't really necessary. The newline was a mistake on my side and other tasks are all good. I also checked that Taskwiki has the same problem.
The fact that no one has raised this to you or Taskwiki likely shows how rare this is.
Happy to not fix this too :)

I think instead of supporting the newline. We can provide more insightful message. It could be something like this The task 31de3 has a newline character. In order to render the task, please consider to remove the newline in the task's description

That sounds reasonable too!


Where should be code fired during login?

As you said in documentation, bussiness logic which is after $this->Auth->identify(); in funcrion login is not fired. I've got here code checking if user is banned and some other logic. Where should I put my code now to fire it during login?

If you want to check something after login use the Auth.afterIdentify event.
Or you can extend the HybridAuthController provided in the plugin and override authenticate. Be sure to set 'hauth_return_to' to your controller action in that case.


nats-streaming-server: 0.24.3 -> 0.24.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nats-io/nats-streaming-server/releases.
meta.description for nats-streaming-server is: "NATS Streaming System Server"
meta.homepage for nats-streaming-server is: "https://nats.io/"
meta.changelog for nats-streaming-server is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.24.6 with grep in /nix/store/nr435kgqyv46zl29vz9g7i7j6d620024-nats-streaming-server-0.24.6
found 0.24.6 in filename of file in /nix/store/nr435kgqyv46zl29vz9g7i7j6d620024-nats-streaming-server-0.24.6

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
nats-streaming-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nr435kgqyv46zl29vz9g7i7j6d620024-nats-streaming-server-0.24.6 \
  --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 nats-streaming-server https://github.com/r-ryantm/nixpkgs/archive/70867bd51ee72f3ef633f7495f65d8ab24a5814a.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/nr435kgqyv46zl29vz9g7i7j6d620024-nats-streaming-server-0.24.6
ls -la /nix/store/nr435kgqyv46zl29vz9g7i7j6d620024-nats-streaming-server-0.24.6/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:

nats-streaming-server

Maintainer pings
cc @swdunlop for testing.

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

1 package built:

nats-streaming-server


described_class behavior doesn't make sense when inner block is not a Class

Gemfile:
gem 'rspec', '= 3.0.0'
spec/described_class_spec.rb:
describe Array do
  describe 'a string' do
     it { expect(described_class).to eq(Array) }
  end

  describe :a_symbol do
    it { expect(described_class).to eq(Array) }
  end

  describe Hash do
    it { expect(described_class).to eq(Hash) }
  end

  describe Hash.new do
    it { expect(described_class).to eq(Hash) }
  end
end

This results in two errors--one on :a_symbol and one on Hash.new.  IMO this behavior is non-intuitive.  #1114 seems to have made an exception for when the inner describe is an instance of String, which makes sense, because described_class.should be_a(Class).  However, I argue that this should be consistent for all cases where the inner describe is not a Class.  Either take its class, or skip it and move to the outer describe block, but don't return an instance.

I think I prefer described_thing (or described) to having a conditional in described_class. With @betesh's proposed solution, I'd naively expect described_class to return "the class of the described thing" (i.e. Class when describing an actual class).
Leaving open because this is definitely still an inconsistency.

Here's another example that better illustrates the problem:
class Foo do
  concerning :Things do
    def do_thing
       true
    end
  end

  concerning :OtherThings do
    def do_other_thing
      false
    end
  end
end

So imagine I want to write a foo_spec.rb, I might want something like this:
describe Foo do
  subject(:foo) { described_class.new }

  describe Foo::Thing do
    describe '#do_thing' do
      subject(:do_thing) { foo.do_thing }
      it do
        expect(do_thing).to be_truthy
      end
    end
  end
  describe Foo::OtherThing do
    describe '#do_other_thing' do
      subject(:do_other_thing) { foo.do_other_thing }
      it do
        expect(do_other_thing).to be_falsey
      end
    end
  end
end

To be honest I think in RSpec 4 we should just remove described_class, we kind of consider it an anti-pattern (because using it means the class must be loaded when the file is evaluated rather than when it's run) and we thus don't recommend it, and it causes this kind of ambiguity.


Suggestions on TSI config example

URL for relevant page?
https://docs.influxdata.com/influxdb/v1.7/concepts/tsi-details/
Docs team, we need to change this line:
To enable TSI, set index-version = tsi1 in the InfluxDB configuration file (influxdb.conf).

to this:
To enable TSI, set index-version = "tsi1" in the InfluxDB configuration file (influxdb.conf).

Without the quotes, this line won't work in the config.
It also might be a good idea to mention that this line goes in the [data] section of the config.
Thanks team! Happy Friday!

Snip from working config:
[data]
  dir = "/var/lib/influxdb/data"
  index-version = "tsi1"
  wal-dir = "/var/lib/influxdb/wal"
  wal-fsync-delay = "0s"
  validate-keys = false


The program is not really closing with "X"

When closing the window it doesn't really close the program, instead it used 32% of cpu (in 2 processes).

The fact that when clicking the "X" it doesn't close the program is something that works as intended. Instead of closing the program it minimizes, and you can toggle the visibility via the taskbar icon.
And regarding the CPU usage, the next version fixes an infinite loop that caused high CPU and memory usage. Please try the new version (releasing in a few minutes). Beware that it's normal that notion uses multiple processes, it's how electron (and chromium) works.

Well but I set that pressing the X should close it, in fact I have nothing in the taskbar.
Anyway thanks for the new release; I will test it ASAP and then I'll update the issue.

To clarify, he did not mean taskbar, but the system tray. By default it closes to the system tray, but this option can be changed in the enhancements menu.

Sorry, also I meant that and I disabled that setting.

I tried the new update and now, without changing any setting, it really closes with "X", so the problem seems resolved.


A question about pre-training model

Hello, I have a question for you. For the pre-training model, whether it is possible to add the target data in the pre-train stage, and use the method,such as adversarial training to train the model, so that it has better performance on the target data and can get better pseudo labels. Finally, the model can have better domain adaptability and stability. Do you have any consideration or experiment in this aspect.

Sure.  It is fully feasible since a lot of 2d methods have verify it, but I don't have any plan to do this.

Thank you for your reply!


Redundant first() operation while fetching users

https://github.com/aviaryan/timemandy/blob/master/timemanager/views/auth_api.py#L29
is redundant IMO since email is a  unique field. not sure here.

filter_by returns a list. So using first() is like doing list[0].


(tentatively) Pin scipy

Description

Closes #3276

This is an attempt to bypass issues with package relations, specifically numpy and scipy, that lead to installing a one-year old scipy (1.9.1) when creating an env with python=3.9. This workaround is far from ideal but in light of the impending release 2.9.0 we don't really have much time to muck around towards better solutions. Pinning solves the problem and where 1.9.1 was picked up now 1.11.1 is in (latest).

Before you get started

[x] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

Is there something wrong with Scipy 1.9.1? If we indeed do need at least a certain version of Scipy, then we should pin that. If not, I have no problem with getting a slightly older version.

@zklaus sounds good (hence me using the "tentatively" tag in the PR title, a word I don't use often :rofl: ). OK, will close and if we hit a roadblock then will take it from there :beer: