prometheus: Add job label to job scheduling metric

For each pipeline the job_scheduling_duration metric is emitted for each job in that pipeline during each scheduling tick. Without this label the prometheus metric is not really helpful as it only reflects the duration of an arbitrary job that was emitted last before the scrape.
/cc @TimSimmons

I can what you're getting at here, I wonder if it might be more useful if these scheduling duration metrics were a Histogram? That way you'd be able to get an idea across all the instances of the event, vs just the last one.
My other concern with this is the metric cardinality this will result in. I won't pretend I'm intimately familiar with the internals here, but is it useful to know how long a certain job in a pipeline takes to schedule? What makes jobs within a pipeline different as far as these scheduling durations go?

Regarding the histogram idea, I don't think thats needed in this case. Each pipeline is processed in its own loop with a sleep of 10 seconds. So the events for a pipeline/job are emitted sequentially at a rate not faster then 6 times per minute. I think its more helpful to have exact durations for the sampled scheduling ticks than a histogram providing less precision and a higher metric cardinality.
Regarding the overall cardinality it highly depends on the size of the concourse deployment (number of pipelines and jobs per pipeline) but it could easily by hundreds of metrics. Nonetheless I would prefer to have these metrics available.
We are facing serious performance problems with our rather large concourse deployment for some time now and are still trying to understand which pipelines are causing this.
As I am understanding this the time it takes to schedule an individual pipeline job depends mainly on how many versions are recorded for the individual resources that go into the job.
We for example had a poorly written custom resource that by accident discovered a new version during each check run (every 30 seconds). Because we didn't trigger on the resource we didn't notice it at first. After a few month that resources had 300k versions in the databasae and all jobs using that resource took several minutes to schedule.

Hmm, I also share @TimSimmons's concerns over cardinality here. These would definitely be valuable in understanding why your Concourse is falling over, but that may in turn make peoples' InfluxDB fall over instead.
Could you instead use the logging-based metrics emitter for debugging this? That won't work right now because I'm pretty sure we only allow one emitter to be configured, but that could be an easy change. You could then configure --prometheus-... and --emit-to-logs, using your log sink to view higher-fidelity metrics like per-job scheduling times, without making Prometheus unhappy in large multi-tenant installations.

@vito This change is not adding any new metrics. Its just exposing the metrics that are already emitted  with the correct label set to prometheus. the Influxdb emitter already sends this out periodically for every job.
Do we have any numbers available about how many distinct jobs are defined in a large concourse installation so that we can reason about the cardinality?

@TimSimmons speaking of cardinality: I double that with the last commit by switching from a single gauge per job to two counters. I noticed that gauges have to problem that you can't really notice when a metric is going away (e.g. job is deleted). the eporter will happily serve the last emitted value until the application is restarted.
In general I would suggest to switch to counters for the other pipeline scheduling metrics (duration_full and duration_loading) so that deleted pipelines are properly reflected in the graphs.

Hmm out postgresql database has 2284 rows in the jobs table, that could be a bit much.

@vito Wasn't me :) I just finally got around enabling metrics using the prometheus emitter. I tried getting from riemman to prometheus but gave up.
Ok but that probably means we can't expose the job specific metrics in prometheus and should remove the metrics that is currently there as its bogus.

@vito @TimSimmons Should I update the pull request to remove the job scheduling metric then? The current implementation is misleading and adding the appropriate job label would increase the metric cardinality significantly.

@databus23 Yeah, I think that's a good idea if the data it's emitting is impossible to consume usefully.

@vito @TimSimmons Ok I updated the PR to remove the job scheduling metric for now. PTAL


Added basic OSC's FollowTrajectoryAction support

Description
This PR adds basic support for the OSC's FollowTrajectoryAction. This actions includes:

3 types of trajectory shapes (Polyline, Clothoid and Nurbs). Only Polylines are supported
Temporal constraints to the trajectory. Currently unsupported
2 types of trajectory following mode (position, hard following of the route, and follow, up to the controller). Only follow mode is supported.

Here is an example to test the FollowTrajectoryAction.
Where has this been tested?

Platform(s): Ubuntu 18.04
Python version(s): 3.6
Unreal Engine version(s): 4.26
CARLA version: 0.9.11 (current dev)

Possible Drawbacks
None, as this is just an addition

This change is

Hi @glopezdiest,
this PR looks really promising to me! Do you know whether it will be merged anytime soon?
I am working on a way to visualize multiple FollowTrajectoryActions with given sequences of time and positions. (example trajectory attached) However as far as I could tell in the current state, only the positions are used to change the actors waypoints; the time attribute of the vertices are neglected. Instead, the prior event "AdversaryAccelerates" sets a fixed target speed to get the actor moving.
I tried to utilize the given positions and timestamps to calculate the desired velocities but didn't find a way to change the velocity dynamically. As I am quite new to CARLA, I would be appreciate any ideas or input how to tackle this task. Thanks a lot in advance!
Also please let me know whether this question is misplaced here. I would be glad to open a separate issue to not spam this PR with unrelated content.
example_trajectory.txt

Dear all, thank you for the excellent work. I am trying to generate OSC files with FollowTrajectoryAction. I tried CARLA and SR 0.9.12 and 0.9.13, which seem not working. Should I try the master branches for both CARLA and SR to get this new feature?
Many thanks!

Hi @jch458
Personally I'm using CARLA release 0.9.13 and pulled the master branch for scenario_runner.


How to approach PA2 Level 4?

How do I approach PA2 level 4? The question says our Fraction class inherits from AbstractNum class. However, at the same time we are not supposed to define any toString methods in our implementation (correct me if I'm wrong). So I would assume that we have to utilise the Frac class given to us but the constructor in Frac class is private and any child class would not be able to use super() in its own constructor. Anyone can provide some direction or help here? Thanks in advance!

helloo... when u store a frac inside your abstractnum.. your tostring method inside abstractnum will retrieve the tostring of frac. and you realised that the frac tostring method is "a:b". sooo yea you don't have to bother abt the tostring method at all.

yup frac and abstractnum will take care of it for you. actually if you defined a toString method checkstyle would auto fail you too.

Oh damn... I didn't tot of that. Thanks guys.


Add some more priorities

Motivation for this change
Aims to fix #55886. Still a work in progress
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I tried building nixos based on this branch, and it looks like you reduced the collision messages to just
collision between `/nix/store/8gv3nahv1bdhabvc93id7xn4zmljd8nw-systemd-239.20190110/bin/resolvconf' and `/nix/store/y0xm9v30i7anp39cbnjcs4wyxcn7cl6m-openresolv-3.9.0/bin/resolvconf'
collision between `/nix/store/8gv3nahv1bdhabvc93id7xn4zmljd8nw-systemd-239.20190110/sbin/resolvconf' and `/nix/store/y0xm9v30i7anp39cbnjcs4wyxcn7cl6m-openresolv-3.9.0/sbin/resolvconf'
collision between `/nix/store/pg59y28wahizfgjl695jr3wxjnnfj8mj-procps-3.3.15/bin/kill' and `/nix/store/brwmxi4vnd8byrf2mmd0xjxa679ndddm-coreutils-8.30/bin/kill'
collision between `/nix/store/pg59y28wahizfgjl695jr3wxjnnfj8mj-procps-3.3.15/bin/uptime' and `/nix/store/brwmxi4vnd8byrf2mmd0xjxa679ndddm-coreutils-8.30/bin/uptime'
collision between `/nix/store/pg59y28wahizfgjl695jr3wxjnnfj8mj-procps-3.3.15/share/man/man1/kill.1.gz' and `/nix/store/brwmxi4vnd8byrf2mmd0xjxa679ndddm-coreutils-8.30/share/man/man1/kill.1.gz'
collision between `/nix/store/pg59y28wahizfgjl695jr3wxjnnfj8mj-procps-3.3.15/share/man/man1/uptime.1.gz' and `/nix/store/brwmxi4vnd8byrf2mmd0xjxa679ndddm-coreutils-8.30/share/man/man1/uptime.1.gz'

@ryantm were there any issues? I think this is okay to merge but I'm not sure all of the repercussions.


Add liveness checks to clustermesh deployment

Use the existing HTTP health check endpoints to ensure liveness of etcd and apiserver containers.

etcd - https://etcd.io/docs/v3.4/op-guide/monitoring/#health-check
clustermesh-apiserver - https://github.com/cilium/cilium/blob/080857bdedca67d58ec39f8f96c5f38b22f6dc0b/clustermesh-apiserver/main.go#L257

Tested locally on a kind cluster:

Create kind cluster via cilium instructions
Enable cilium with ./cilium --cluster-name=kind --cluster-id=0.
Enable clustermesh with ./cilium clustermesh enable --service-type ClusterIP
Verify clustermesh is available via ./cilium status output.

nathanperkins@nathanperkins1:~/git/cilium-cli (liveness)$ ./cilium status
...
Deployment        clustermesh-apiserver    Desired: 1, Ready: 1/1, Available: 1/1
...

I see that the etcd liveness check is failing because it should be HTTPS, but when changed to HTTPS I get this error:
Warning  Unhealthy         58s (x3 over 78s)  kubelet            Liveness probe failed: Get "https://<IP_ADDRESS>:2379/health": remote error: tls: bad certificate

Stale


grave accent and tilde not working?

Hi,
Seems like the grave accent and tilde not working?

Once I've flash. it becomes § and ±.
Thank you in advance

It sounds like you're using a non-QWERTY mapping in your OS that's interpreting certain keys differently.
If you can't change the OS mapping for this particular keyboard or just don't want to then you may want to use zmk-locale-generator's header for your target layout. Adding one of those header files to your repo under config/ and #include it from your keymap file then the app will pick that up and let you use the keycodes specific to that locale.


Troubleshoot IBM Cloud Windows tests failing

On Windows, when sending the Ctrl-C signal to the odo dev process to stop it, we firt need to set a specific attribute on the process (CREATE_NEW_PROCESS_GROUP), or the parent process will also receive the signal.
By changing from CmdRunner() to Cmd().Runner() in commit (https://github.com/redhat-developer/odo/commit/224069cd68f4a03f4b5b17009fb4ca42ef8c5d89), setSysProcAttr in CmdRunner() is not called anymore.

/lgtm
/approve


Update preferences-outlook.md

@tasitae We checked with the Outlook for Mac product team, and the example in the article is correct as is. For this preference, the value string needs to be formatted as a regular expression and that requires escape characters.

Hi Daniel, I was working with Paul Bowden from the OL for Mac PG on this, he advised to change the content.  Could you please check with him to verify?  Not everyone in the PG may be aware of what he and I worked on with this.
Thanks!
Tasita


Update client go types with status

manual update to replace https://github.com/istio/client-go/pull/191

@jasonwzm: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test build_client-go

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jasonwzm: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test build_client-go

lint_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test lint_client-go

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jasonwzm: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test build_client-go

lint_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test lint_client-go

gencheck_client-go
0211ce905c4c0f302110a761ee711d4a1ee50f74
link
/test gencheck_client-go

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jasonwzm: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Map not working in Chrome on Android 6?

Subject: Chrome
Description:
I tried in Browser Chrome. It starten. But I can not use the  map. In Opera it works well. Thanks
Results:
See up
Backend version: develop-38fcd1a9
Frontend version: develop-38fcd1a9
User Agent: Mozilla/5.0 (Linux; U; Android 6.0; B5032 Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.104 Mobile Safari/537.36 OPR/61.0.2254.59937
Page: https://app.couchers.org/search#loc=3/8.05/4.74
User: msr (1133)

Can't reproduce, but then again I'm not on Android 6 (I believe that's M?) so unless one of us can, this doesn't have enough info for us to do anything meaningful here.

Gonna close unless this resurfaces...


SSL Handshake Failure

I have encountered an issue with a script that was functioning correctly until recently. The error has started occurring both locally and on the server simultaneously. I suspect there might have been some changes on the host side that could be causing this problem. Can you provide insights into any modifications that might have been made recently?
Error Traceback:
Traceback (most recent call last):
  File "<download.py>", line 278, in <module>
    anyio.run(main)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/_core/_eventloop.py", line 66, in run
    return async_backend.run(func, args, {}, backend_options)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1968, in run
    return native_run(wrapper(), debug=debug)
  File "/Users/admin/miniforge3/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Users/admin/miniforge3/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1961, in wrapper
    return await func(*args)
  File "<download.py>", line 217, in main
    async with backend.connect(s, HOST, PORT) as be:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/nintendo/nex/backend.py", line 137, in connect
    async with rmc.connect(settings, host, port, context=context) as client:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/nintendo/nex/rmc.py", line 286, in connect
    async with prudp.connect(settings, host, port, vport, 10, context, credentials) as client:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/nintendo/nex/prudp.py", line 1556, in connect
    async with connect_transport(settings, host, port, context) as transport:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/nintendo/nex/prudp.py", line 1533, in connect_transport
    async with connect_transport_socket(settings, host, port, context) as socket:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anynet/websocket.py", line 336, in connect
    async with http.connect(server, context) as client:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anynet/http.py", line 766, in connect
    async with tls.connect(host, port, context) as client:
  File "/Users/admin/miniforge3/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anynet/tls.py", line 247, in connect
    async with await anyio.connect_tcp(host, port, ssl_context=context, tls_standard_compatible=False) as stream:
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 234, in connect_tcp
    return await TLSStream.wrap(
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/streams/tls.py", line 125, in wrap
    await wrapper._call_sslobject_method(ssl_object.do_handshake)
  File "/Users/admin/miniforge3/lib/python3.10/site-packages/anyio/streams/tls.py", line 133, in _call_sslobject_method
    result = func(*args)
  File "/Users/admin/miniforge3/lib/python3.10/ssl.py", line 975, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)

Additionally, I would like to inquire if anyone else has experienced a similar error recently. Any information or assistance regarding this issue would be greatly appreciated.

I just tested one of my own scripts and did not get any errors. I would need a bit more information to help you.
Which server are you trying to connect with? Do you want to share the script that causes the error?
I actually changed something related to TLS a while ago, because the PROTOCOL_TLS constant was deprecated in Python 3.10: https://github.com/kinnay/anynet/commit/e8efe0064726cc40a81e2f2eb2286f4b55481c70. This should not cause any issues with NEX however.

Thank you for your prompt response and willingness to help.
Here is the excerpt from my script where the connection is attempted to Game Builder Garage's server:
# coding:utf-8
# https://github.com/kinnay/NintendoClients/blob/master/examples/switch/gamebuilder.py

from nintendo.switch import dauth, aauth, baas, dragons
from nintendo import switch
from nintendo.nex import backend, settings, authentication, datastore, streams, common
from anynet import http
import anyio
from anynet import tls
from pprint import pprint
import sys

class GBG:
	TITLE_ID = 0x0100FA5010788000
	LATEST_VERSION = 0x10000

	GAME_SERVER_ID = 0x2E99DD00
	ACCESS_KEY = "97b08aad"
	NEX_VERSION = 40610
	CLIENT_VERSION = 2

HOST = "g%08x-lp1.s.n.srv.nintendo.net" %GBG.GAME_SERVER_ID
PORT = 443

async def main():

	s = settings.load("switch")
	s.configure(GBG.ACCESS_KEY, GBG.NEX_VERSION, GBG.CLIENT_VERSION)

	async with backend.connect(s, HOST, PORT) as be:
		print("Connected")
		sys.exit()

anyio.run(main)

In my environment, executing this code results in an SSLV3_ALERT_HANDSHAKE_FAILURE error.

I get the same error. One thing that's interesting is that the certificate of the GBG server is signed by Nintendo Class 2 CA - G3 instead of Amazon.
Here is a minimal reproducible example:
>>> import socket
>>> import ssl
>>> s = ssl.wrap_socket(socket.socket())
>>> s.connect(("g2e99dd00-lp1.s.n.srv.nintendo.net", 443))
Traceback (most recent call last):
  File "<pyshell#33>", line 1, in <module>
    s.connect(("g2e99dd00-lp1.s.n.srv.nintendo.net", 443))
  File "/usr/lib/python3.10/ssl.py", line 1375, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.10/ssl.py", line 1366, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1007)

The issue seems to affect the GBG server specifically. If you replace the game server id by g22306d00 (the AC:NH server) then it works fine.

My guess is that Nintendo has put a proxy in front of the GBG server, which might have an outdated TLS implementation. I found out that it works if we manually set the cipher to AES256-GCM-SHA384 on the TLS context.
I'm not sure how we can implement this in NintendoClients properly. Maybe we should add a parameter that specifies the TLS context to backend.connect.
For now, here is a workaround:

from nintendo.nex import backend, settings
from anynet import tls
import anyio
import contextlib
import pkg_resources
import ssl
import sys

class GBG:
	TITLE_ID = 0x0100FA5010788000
	LATEST_VERSION = 0x10000

	GAME_SERVER_ID = 0x2E99DD00
	ACCESS_KEY = "97b08aad"
	NEX_VERSION = 40610
	CLIENT_VERSION = 2

HOST = "g%08x-lp1.s.n.srv.nintendo.net" %GBG.GAME_SERVER_ID
PORT = 443

CA = pkg_resources.resource_filename("nintendo", "files/cert/CACERT_NINTENDO_CLASS2_CA_G3.der")

@contextlib.asynccontextmanager
async def connect_patched(host, port, context=None):
	with open(CA, "rb") as f:
		ca = f.read()

	context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
	context.load_verify_locations(cadata=ca)
	context.set_ciphers("AES256-GCM-SHA384")
	async with await anyio.connect_tcp(host, port, ssl_context=context, tls_standard_compatible=False) as stream:
		yield tls.TLSClient(stream)
tls.connect = connect_patched

async def main():
	s = settings.load("switch")
	s.configure(GBG.ACCESS_KEY, GBG.NEX_VERSION, GBG.CLIENT_VERSION)

	async with backend.connect(s, HOST, PORT) as be:
		print("Connected")

anyio.run(main)

On my machine, this works.

Thank you so much for your invaluable help.
Your provided workaround has successfully resolved the SSL handshake issue, and I greatly appreciate your quick and effective support.
To ensure that the changes made for the workaround don't affect other sessions, I have implemented a host-specific separation in the connection code. Here is the modified part of the code:
N_CA = pkg_resources.resource_filename("nintendo", "files/cert/CACERT_NINTENDO_CLASS2_CA_G3.der")

@contextlib.asynccontextmanager
async def connect_patched(host, port, context=None):
    if host != HOST:
        # Existing code for other hosts
        logger.debug("Connecting TCP/TLS client to %s:%s", host, port)
        if context:
            context = context.get(False)
        async with await anyio.connect_tcp(host, port, ssl_context=context, tls_standard_compatible=False) as stream:
            yield tls.TLSClient(stream)
    else:
        # Workaround for the GBG server
        with open(N_CA, "rb") as f:
            ca = f.read()

        context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
        context.load_verify_locations(cadata=ca)
        context.set_ciphers("AES256-GCM-SHA384")
        async with await anyio.connect_tcp(host, port, ssl_context=context, tls_standard_compatible=False) as stream:
            yield tls.TLSClient(stream)

tls.connect = connect_patched


Need to read propertry from application.properties in mongo change set xml

I want to read a property from application.properties and use that property in mongo change set xml.

This is not within the scope of this Spring Boot starter. It would have to be implemented in Mongeez.


Update storage.py

Hi @Liqudity2provider , thanks for your submission. Am I wrong or this change is not 2.x backward compatible?

Yes, you're right


Add Direct Mode

Implement JuMP's direct mode in combination with optimizer models to achieve performance enhancements. This may help with #18.

This should probably correspond to the transcription/transformation interface. However, the problem here is that different solvers use different MOI models, so this may not be very doable, since we use JuMP models as a general backend.


GraphQL error: pgbouncer cannot connect to server

Step to reproduce

go to beta.kodadot.xyz
rmrk chain
go to explorer
infinite loader
profit

Uncaught (in promise) Error: GraphQL error: pgbouncer cannot connect to server

same problem on kodadot.xyz / local instance, seems that we need @vikiival here 🥺

Just spotted there


absent mammary gland MP:0000629 - placement

absent mammary gland MP:0000629 should be made a direct child of decreased mammary gland number MP:0013715

Placed absent mammary gland MP:0000629 under decreased mammary gland number MP:0013715
Also, changed EQ to:
'has part' some
(absent
and ('inheres in' some 'mammary gland')
and ('has modifier' some abnormal))
Previously used: has part some (absent and (inheres in some (mammary gland and (part of some exocrine system))) and (has modifier some abnormal))


"New Query" from Data Explorer Azure view login fails

Azure Data Studio Version: master

Steps to Reproduce:

Add an Azure subscription
Browse to a Server, then expand to a table
Run "New Query" command on table

Expected: Query window opens connected to server\database
Actual: Login failure error message is shown

Couple things here, recently I added support to save password in the connection dialog from data explorer tree. But if you don't have the password saved this will still occur. @kevcunnane is working on making user azure passwords are required so we just prompt for password, rather than login failed.

@kburtram validate and close

Karl - I think there's still the 'auto login if password empty' issue here to be fixed. I'll try to get it covered as it was separate to the 'azure AD login fails' issue. If I can't get this done today, we can punt to next month.

Per discussion with @kburtram this bug is covering new query from a database you have already connected to in the viewlet; I've confirmed this is fixed.
A separate issue  exists with the viewlet attempting to connect initially with an empty password.
@kburtram @Charles-Gagnon should we close this and open a different issue that's scoped to the second issue?

Yup, let's close this and open a new one (helps for tracking which bugs are fixed in each release)
@anthonydresser @kevcunnane Could one of you create the new issue? I don't have enough context to do it myself I think


Update macOS example app

Update macOS example app so that the user can select a model file, an animation file and view the model with/without the animation.

Fixed in #41.


add storage iterator to view and strided view

@JohanMabille Do you agree with the changes here?

No because this can lead to change in the underlying expression out of the view:
        xt::xarray<int> x = { {1, 2, 3, 4, 5, 6}, {7, 8, 9, 10, 11, 12 } };
        auto v = xt::view(x, all(), range(0, 5, 2));
        for (auto it = v.storage_begin(); it != v.storage_end(); ++it)
        {
            *it = 1;
        }
        std::cout << x << std::endl;
        // prints {{1, 1, 1, 1, 1, 1}, {7, 8, 9, 10, 11, 12}}

This is somehow tracked by the asserts you removed in xview.random_stepper

I think it should be up to the caller to make sure to choose the correct iterator. This simplifies the interface quite a bit and we didn't use the storage iterator in an unchecked way anyways.
Begin/end iterators should always be safe.

I think that we should not provide methods whose implementation does not make sense under circumstances that can only be checked at runtime; especially if this can lead to vicious side effects. Or at least these methods should not be part of the public API.
I don't see how this simplifies the interface, the storage_iterator methods were already available through the iterable interface with the guarantee to have the correct behavior, changing their implementation as proposed here can lead to undefined behavior in client code.

I totally changed my mind on this after some "xtensor archeology".
Initially we had:

xiterator (and related methods) for n-dimensional iteration
storage_iterator for optimized iteration over the underlying buffer, also used for optmization of the assign loop (the current storage_iterator of xfunction is not consistent when broadcasting is involved for instance)

and then we moved the optimization of storage_iterator in a conditional definition of the iterator returned by begin/end methods, making n-dimensional iterators optimized when possible at compile time, and always consistent. Also storage_iterator was removed from the public API (at least in the doc).
The current state is:

begin / end always consistent, optimized for container-based expressions (i.e. classes inheriting from xcontainer)
storage_begin / storage_end() available for every expression with the following implementations:

returning an iterator on the underlying memory buffer when the expression is container-based (i.e. inherit from xcontainer)
binding on begin() / end() for expressions that are not container-based (thus returning a N-dimensional iterator, always consistent)
building a special iterator based on storage_iterator of operands in the case of xfunction. This last one may not be always consistent, but is used for assignment only, after all necessary checks have been done.

This is confusing, since storage_begin() is not always equivalent to storage().begin(), and requires an additional template parameter (the layout) when not bound to a 1-d buffer iterator (since xiterator needs a layout parameter, it has to be given somehow). For genericity, this parameter has been added to storage_begin of container-based expressions, even if it is not used.
Also, storage_iterator was previously named begin (as opposed to the current begin that was named xbegin), and the renaming was never documented in the API, so this is unlikely to be already used by client code.
Thus I think we should homogenize this:

begin / end always consistent, optimized when possible at compile-time (binding on underlying 1-D container iterator being a possible optimization among others)
storage_begin / storage_end always built upon underlying 1-D container iterators, even if this does not always makes sense at runtime, as it is already the case for xfunction. The additional template parameter of these methods should be removed. These methods are not meant to be part of the public API and should be documented accordingly.

@wolfv now that #1100 is merged, this one can be rebased and the tests fixed.


Live DataNodes issue when trying to install example HDP3-HA-3-master playbooks

Hi,
I installed Ansible 2.7.1 on Mac and trying to install below playbooks from examples on Centos 7 static environment.
example-hdp3-ha-3-masters-with-druid-atlas-knox-log
example-hdp3-ha-3-masters-with-accumulo
I get MapReduce2, YARN TIMELINE READER and Spark HistoryServer services failed to start with below issue.
{
"RemoteException": {
"exception": "IOException",
"javaClassName": "java.io.IOException",
"message": "Failed to find datanode, suggest to check cluster health. excludeDatanodes=null"
}
}
When i open NameNode Web UI at IPADDR:50070 page, Live Nodes show 0 whereas in Ambari running DataNodes shows 1.
If anyone else faced this issue please help us solving it.
Thank you.

Hi, if NameNode UI shows 0 datanodes, but Ambari shows 1, then something happened between the DataNode and NameNode.
Ambari will only show if the DataNode process is up and running (which seems to be in your case), but that doesn't mean the DataNode connected to the NameNode and the filesystem is working (which is why the NameNode UI only shows 0 live nodes).
Please check the DataNode logs (under /var/log/hadoop/hdfs/) for further information about the possible issue...

Hi,
Adding Host entries under /etc/hosts file resolved this issue for me.
Thanks

Great to hear that!
Setting external_dns to no will also do that for you: https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/group_vars/all#L26

Hello @alexandruanghel
Please I have the same problem.
I already set external_dns to no
All the hosts are edited in /etc/hosts
When I check the DataNode logs (under /var/log/hadoop/hdfs/) I found some errors like :
- Unable to connect to zookeeper.
- No live collector to send metrics to. Metrics to be sent will be discarded.


Enable ECS Instances to run Tasks with IAM Roles

This enables ecs-agent to place containers on ECS instances that have an associated IAM Role. If not present, ecs-agent will error with the following message:

service docker-demo-app was unable to place a task because no container instance met all of its requirements. The closest matching container-instance d4811e83-91a0-40bc-8250-9bb820ef6550 is missing an attribute required by your task.

@achille-roussel Still working on this! The iptables rules are causing some issues.

Okie doke, this is ready to go @achille-roussel! One minor note: if you run sudo iptables -t nat -L, you'll get something that looks like this:
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             <IP_ADDRESS>        tcp dpt:http to:<IP_ADDRESS>:51679
DOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere             <IP_ADDRESS>        tcp dpt:http redir ports 51679
DOCKER     all  --  anywhere            !<IP_ADDRESS>/8          ADDRTYPE match dst-type LOCAL

On the ECS-Optimized AMI, the PREROUTING and OUTPUT chains are reversed, like so:
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL
DNAT       tcp  --  anywhere             <IP_ADDRESS>        tcp dpt:http to:<IP_ADDRESS>:51679

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere            !<IP_ADDRESS>/8          ADDRTYPE match dst-type LOCAL
REDIRECT   tcp  --  anywhere             <IP_ADDRESS>        tcp dpt:http redir ports 51679

I'm not sure the order is a huge deal, but if it is, let me know and I'll try to figure something out. I'm not sure we can get around changing the order without a) updating iptables in the base AMI or b) manually re-ordering the rules in the ecs build, but that feels dirty. If you're game for setting up these changes in the base ami, let me know.

Another few notes:
Line 12:
I'm not entirely :100: why we're stopping the service, but all the articles I read about persisting iptables rules did this and in my personal tests it didn't look like iptables rules saved while it was running, iirc. If someone else knows the answer, I'm all ears!
You'll notice on line 19 that we manually trigger saving the rules. If anyone else needs to make iptables changes, they'll need to run netfilter-persistent save just like we are here after their changes have been made in order to persist them.

I don't deal with iptables on a daily basis so I couldn't tell you if netfilter-persistent is being used properly here.
We have our private AMIs configured for ECS task roles at Segment and the rules show up in the same order that you have, so I assume it should be working just fine.
Have you been able to test this? It should tell us pretty quickly if this is working or not.

@achille-roussel yup, I was testing it as I was going. Can confirm roles are working.

Awesome! I'm happy to merge those changes, thanks for your contribution, I'm sure this will be very useful to plenty of people!

😄  Thanks for all of yours!


Clarity around 'create'

The following commands are supported.

  create        Creates a new project
  create-base   Creates a new baseline Java project with minimal commands
  create-blank  Creates a new blank Java project with standard commands
  create-lib    Creates a new Java library with minimal commands
  create-rife2  Creates a new RIFE2 project

The "create " line would be even better if it suggested there would be an interactive prompt for base, blank, lib, etc.
Base and blank and lib might be better if they suggested roughly how many files that would be under git control at the end of the invocation.  I say that cos I can't as a novice, guess which of base and blank would make fewer source files.
Maybe also a --dry-run option for create, so that could be made clear?

I like the suggestion for the create description, however listing the number of files will be created will inevitably drift over time as we forget to update this. I'd rather not have to remember to maintain this. --dry-run is interesting, what would it do, show a tree of files that would be created?

Yup tree of files. Maybe what I was trying to say was that superficially I couldn't tell which was more helloworld like of base and blank and lib.

@paul-hammant Would something like this make more sense?
  create         Creates a new project (multiple choice)
  create-base    Creates a new baseline Java application project with minimal commands (no dependencies)
  create-blank   Creates a new blank Java application project with standard commands (including JUnit tests)
  create-lib     Creates a new Java library project with minimal commands (no dependencies)
  create-rife2   Creates a new RIFE2 web application project

Looks good. Observation (to this layman) "minimal commands" and "standard commands" remains undifferentiated.  There's spare room in the create line to have a read-more URL?

How about something like:
  create         Creates a new project (multiple choice)
  create-base    Creates a new baseline Java application project with no dependencies
  create-blank   Creates a new blank Java application project with JUnit tests
  create-lib     Creates a new Java library project with no dependencies
  create-rife2   Creates a new RIFE2 web application project

The more I'm thinking about it, them more I think base should be removed, as it only allows you to compile and run the application.  Most people will need to be able to create a jar.
With that in mind, blank should be renamed app.
Furthermore, lib should include standard commands (jar, publish, etc.)
So we'd be looking at something like:
  create         Creates a new project (multiple choice)
  create-app     Creates a new Java application project
  create-lib     Creates a new Java library project
  create-rife2   Creates a new RIFE2 web application project

how about
create hello-world-app|hello-world-lib | rife2-helloworld-webapp

# optional args:
# with-Junit5 - to create tests too, and tasks for those
# make-a-jar - to create a jar too and a task for that

You're making your own command syntax here and there is not requirement to get everything on one.
Later:
# optional args:
# maven-central-publishing - to create a manifest are tasks to do publication

@paul-hammant That's starting to look a lot like Maven. I'd prefer to keep it as simple as possible.

True Maven-like would be when you have -Darg going on to pass params to plugins ;)

I don't want to get rid of base, it's the absolute minimum, no dependencies project bld can create. Some people will ask for that.

I don't want to get rid of base, it's the absolute minimum, no dependencies project bld can create. Some people will ask for that.

I agree, but it should not have any sources or tests, and true base project.

There needs to be an example for the project bld not to fail on command execution. Without any sources, there's little point in creating a skeleton.

There needs to be an example for the project bld not to fail on command execution. Without any sources, there's little point in creating a skeleton.

That's how both Maven and Gradle do it.

Well, bld is proudly not Maven nor Gradle 😁

Well, bld is proudly not Maven nor Gradle 😁

Then it will be a base application with no dependencies, and as @paul-hammant suggested, it should just be:
Hello, bld!

Well it currently prints Hello World!, that's all the app does. I don't agree that the test blueprint should be removed.

Well it currently prints Hello World!, that's all the app does. I don't agree that the test blueprint should be removed.

Yeah, makes no difference at this point, it's a blank application.

  create        Creates a new project (multiple choice)
  create-base   Creates the most basic Java project
  create-blank  Creates a new Java application project
  create-lib    Creates a new Java library project
  create-rife2  Creates a new RIFE2 web application project

I might rename create-blank to create-app, but that means I have to change all docs also and I might not be feeling that right now.

Well I like everything to be consistent, including the blueprint sources and so on. So I guess I'll go in and do that.

I would also keep blankas a hidden option, for backward-compatibility.

Well I like everything to be consistent, including the blueprint sources and so on. So I guess I'll go in and do that.

That kinda hurts my feelings. =D

Sorry, that was not my intent.

1.9.0 was updated with these changes


Client Startup Crash

What happened?
Game crashes after pressing play button
Mod Version
Copperative_1.19.2--0.2.0
Minecraft Version
1.19
Relevant log output
[17:33:25] [modloading-worker-0/ERROR]: Failed to create mod instance. ModID: copperative, class galena.copperative.Copperative
java.lang.reflect.InvocationTargetException: null
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.2-43.2.21.jar%23697!/:?]
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.2-43.2.21.jar%23696!/:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [?:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.lang.ExceptionInInitializerError
	at galena.copperative.Copperative.<init>(Copperative.java:46) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	... 14 more
Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: copperative:oxıdızed_copper_bricks
	at net.minecraft.resources.ResourceLocation.<init>(ResourceLocation.java:37) ~[client-1.19.2-20220805.130853-srg.jar%23695!/:?]
	at net.minecraft.resources.ResourceLocation.<init>(ResourceLocation.java:46) ~[client-1.19.2-20220805.130853-srg.jar%23695!/:?]
	at net.minecraftforge.registries.DeferredRegister.register(DeferredRegister.java:183) ~[forge-1.19.2-43.2.21-universal.jar%23700!/:?]
	at galena.copperative.index.CBlocks.register(CBlocks.java:136) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	at galena.copperative.index.CBlocks.registerWeatheringSet(CBlocks.java:164) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	at galena.copperative.index.CBlocks.registerWeatheringSet(CBlocks.java:170) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	at galena.copperative.index.CBlocks.<clinit>(CBlocks.java:49) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	at galena.copperative.Copperative.<init>(Copperative.java:46) ~[Copperative_1.19.2--0.2.0.jar%23484!/:0.2.0]
	... 14 more
[17:33:25] [modloading-worker-0/INFO]: Loading Module Color Runes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Seed Pouch
[17:33:25] [modloading-worker-0/INFO]: Loading Module Bundle Recipe
[17:33:25] [modloading-worker-0/INFO]: Loading Module Ambient Discs
[17:33:25] [modloading-worker-0/INFO]: Loading Module Endermosh Music Disc
[17:33:25] [modloading-worker-0/INFO]: Loading Module Beacon Redirection
[17:33:25] [modloading-worker-0/INFO]: Loading Module Abacus
[17:33:25] [modloading-worker-0/INFO]: Loading Module Bottled Cloud
[17:33:25] [modloading-worker-0/INFO]: Loading Module Ancient Tomes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Pathfinder Maps
[17:33:25] [modloading-worker-0/INFO]: Loading Module Compasses Work Everywhere
[17:33:25] [modloading-worker-0/INFO]: Loading Module Zombie Villagers On Normal
[17:33:25] [modloading-worker-0/INFO]: Loading Module Reacharound Placing
[17:33:25] [modloading-worker-0/INFO]: Loading Module Lock Rotation
[17:33:25] [modloading-worker-0/INFO]: Loading Module Slimes To Magma Cubes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Pat The Dogs
[17:33:25] [modloading-worker-0/INFO]: Loading Module Villagers Follow Emeralds
[17:33:25] [modloading-worker-0/INFO]: Loading Module Automatic Recipe Unlock
[17:33:25] [modloading-worker-0/INFO]: Loading Module Snow Golem Player Heads
[17:33:25] [modloading-worker-0/INFO]: Loading Module Poison Potato Usage
[17:33:25] [modloading-worker-0/INFO]: Loading Module More Note Block Sounds
[17:33:25] [modloading-worker-0/INFO]: Loading Module Sponges Better
[17:33:25] [modloading-worker-0/INFO]: Loading Module Armed Armor Stands
[17:33:25] [modloading-worker-0/INFO]: Loading Module Glass Shard
[17:33:25] [modloading-worker-0/INFO]: Loading Module Vexes Die With Their Masters
[17:33:25] [modloading-worker-0/INFO]: Loading Module Utility Recipes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Sponge On Water Placement
[17:33:25] [modloading-worker-0/INFO]: Loading Module Simple Harvest
[17:33:25] [modloading-worker-0/INFO]: Loading Module Gold Tools Have Fortune
[17:33:25] [modloading-worker-0/INFO]: Loading Module Enhanced Ladders
[17:33:25] [modloading-worker-0/INFO]: Loading Module Renewable Spore Blossoms
[17:33:25] [modloading-worker-0/INFO]: Loading Module Shulker Packing
[17:33:25] [modloading-worker-0/INFO]: Loading Module Better Elytra Rocket
[17:33:25] [modloading-worker-0/INFO]: Loading Module Slabs To Blocks
[17:33:25] [modloading-worker-0/INFO]: Loading Module Safer Creatures
[17:33:25] [modloading-worker-0/INFO]: Loading Module Emotes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Horses Swim
[17:33:25] [modloading-worker-0/INFO]: Loading Module Coral On Cactus
[17:33:25] [modloading-worker-0/INFO]: Loading Module Pig Litters
[17:33:25] [modloading-worker-0/INFO]: Loading Module Grab Chickens
[17:33:25] [modloading-worker-0/INFO]: Loading Module No Durability On Cosmetics
[17:33:25] [modloading-worker-0/INFO]: Loading Module More Banner Layers
[17:33:25] [modloading-worker-0/INFO]: Loading Module Hoe Harvesting
[17:33:25] [modloading-worker-0/INFO]: Loading Module Dragon Scales
[17:33:25] [modloading-worker-0/INFO]: Loading Module Replace Scaffolding
[17:33:25] [modloading-worker-0/INFO]: Loading Module Campfires Boost Elytra
[17:33:25] [modloading-worker-0/INFO]: Loading Module Sign Editing
[17:33:25] [modloading-worker-0/INFO]: Loading Module Double Door Opening
[17:33:25] [modloading-worker-0/INFO]: Loading Module Dyeable Item Frames
[17:33:25] [modloading-worker-0/INFO]: Loading Module Diamond Repair
[17:33:25] [modloading-worker-0/INFO]: Loading Module Monster Box
[17:33:25] [modloading-worker-0/INFO]: Loading Module Spiral Spires
[17:33:25] [modloading-worker-0/INFO]: Loading Module Blossom Trees
[17:33:25] [modloading-worker-0/INFO]: Loading Module Fairy Rings
[17:33:25] [modloading-worker-0/INFO]: Loading Module New Stone Types
[17:33:25] [modloading-worker-0/INFO]: Loading Module Azalea Wood
[17:33:25] [modloading-worker-0/INFO]: Loading Module Ancient Wood
[17:33:25] [modloading-worker-0/INFO]: Loading Module No More Lava Pockets
[17:33:25] [modloading-worker-0/INFO]: Loading Module Glimmering Weald
[17:33:25] [modloading-worker-0/INFO]: Loading Module Chorus Vegetation
[17:33:25] [modloading-worker-0/INFO]: Loading Module Corundum
[17:33:25] [modloading-worker-0/INFO]: Loading Module Nether Obsidian Spikes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Big Stone Clusters
[17:33:25] [modloading-worker-0/INFO]: Loading Module Permafrost
[17:33:25] [modloading-worker-0/INFO]: Loading Module Foxhound
[17:33:25] [modloading-worker-0/INFO]: Loading Module Forgotten
[17:33:25] [modloading-worker-0/INFO]: Loading Module Toretoise
[17:33:25] [modloading-worker-0/INFO]: Loading Module Stonelings
[17:33:25] [modloading-worker-0/INFO]: Loading Module Shiba
[17:33:25] [modloading-worker-0/INFO]: Loading Module Wraith
[17:33:25] [modloading-worker-0/INFO]: Loading Module Crabs
[17:33:25] [modloading-worker-0/INFO]: Loading Module Variant Animal Textures
[17:33:25] [modloading-worker-0/INFO]: Loading Module Elytra Indicator
[17:33:25] [modloading-worker-0/INFO]: Loading Module Camera
[17:33:25] [modloading-worker-0/INFO]: Loading Module Microcrafting Helper
[17:33:25] [modloading-worker-0/INFO]: Loading Module Usage Ticker
[17:33:25] [modloading-worker-0/INFO]: Loading Module Back Button Keybind
[17:33:25] [modloading-worker-0/INFO]: Loading Module Chest Searching
[17:33:25] [modloading-worker-0/INFO]: Loading Module Auto Walk Keybind
[17:33:25] [modloading-worker-0/INFO]: Loading Module Soul Candles
[17:33:25] [modloading-worker-0/INFO]: Loading Module Long Range Pick Block
[17:33:25] [modloading-worker-0/INFO]: Loading Module Greener Grass
[17:33:25] [modloading-worker-0/INFO]: Loading Module Improved Tooltips
[17:33:25] [modloading-worker-0/INFO]: Loading Module Wool Shuts Up Minecarts
[17:33:25] [modloading-worker-0/INFO]: Loading Module Uses For Curses
[17:33:25] [modloading-worker-0/INFO]: Loading Module Adjustable Chat
[17:33:25] [modloading-worker-0/INFO]: Loading Module Spawner Replacer
[17:33:25] [modloading-worker-0/INFO]: Loading Module Narrator Readout
[17:33:25] [modloading-worker-0/INFO]: Loading Module Game Nerfs
[17:33:25] [modloading-worker-0/INFO]: Loading Module Enchantments Begone
[17:33:25] [modloading-worker-0/INFO]: Loading Module Enchantment Predicates
[17:33:25] [modloading-worker-0/INFO]: Loading Module Overlay Shader
[17:33:25] [modloading-worker-0/INFO]: Loading Module Crate
[17:33:25] [modloading-worker-0/INFO]: Loading Module Magnets
[17:33:25] [modloading-worker-0/INFO]: Loading Module Matrix Enchanting
[17:33:25] [modloading-worker-0/INFO]: Loading Module Pipes
[17:33:25] [modloading-worker-0/INFO]: Loading Module Totem Of Holding
[17:33:25] [modloading-worker-0/INFO]: Loading Module Backpack
[17:33:25] [modloading-worker-0/INFO]: Loading Module Tiny Potato
[17:33:25] [modloading-worker-0/INFO]: Dispatching Module Step CONSTRUCT_CLIENT
[17:33:26] [Render thread/FATAL]: Failed to complete lifecycle event CONSTRUCT, 1 errors found
[17:33:26] [Render thread/WARN]: Removed resource pack mod_resources from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack Everycomp Generated Pack from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack Immersive Weathering Generated Pack from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack Snowyspirit Generated Pack from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack Supplementaries Generated Pack from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack V Slab Compat Generated Pack from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/Copper Color Fix 3.0.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/Delightful-Plaques-v1.1.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/Detail-Brush-1.5-1.19.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/EclecticTrove-noconfig-1.18.1-1.1.0.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/EnderEyes_1.19_v2.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/Mandalorian Armor from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/Pixelated_v1.3.1_EnhancedVisuals(nox_cgt).zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/TEXTURES.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/VanillaTweaks_r197025.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/animation from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/eatinganimations+ 1.10.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/enhanced-spyglass-v2-0.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/noobikcat-s-better-end-portal-frame.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/pixelaccurate from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/softfluidsmodcompat-1.18.2-0.1.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/vex-allay.zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/WARN]: Removed resource pack resources/§bEnchanting-Reimagined§8-[v1].zip from options because it doesn't seem to exist anymore
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.sound.SoundEngineLoadEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterColorHandlersEvent$Block to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterColorHandlersEvent$Item to a broken mod state
[17:33:26] [Render thread/INFO]: Hardware information:
[17:33:26] [Render thread/INFO]: CPU: 4x Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
[17:33:26] [Render thread/INFO]: GPU: NVIDIA GeForce GTX 1050/PCIe/SSE2 (Supports OpenGL 3.2.0 NVIDIA 536.23)
[17:33:26] [Render thread/INFO]: OS: Windows 10 (10.0)
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RenderLevelStageEvent$RegisterStageEvent to a broken mod state
[17:33:26] [Render thread/INFO]: Replacing search trees with 'JEI' provider
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterParticleProvidersEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterClientReloadListenersEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$RegisterLayerDefinitions to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$RegisterRenderers to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterTextureAtlasSpriteLoadersEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterClientTooltipComponentFactoriesEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterEntitySpectatorShadersEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterKeyMappingsEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterRecipeBookCategoriesEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterGuiOverlaysEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterDimensionSpecialEffectsEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterNamedRenderTypesEvent to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterColorHandlersEvent$ColorResolvers to a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterItemDecorationsEvent to a broken mod state
[17:33:26] [Render thread/INFO]: Invalidating pack caches
[17:33:26] [Render thread/INFO]: Reloading ResourceManager: Default, quark-emote-pack, Create Re-Created 1.3.zip
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:26] [Render thread/ERROR]: Cowardly refusing generate assets for a broken mod state
[17:33:27] [Worker-ResourceReload-1/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ModelEvent$RegisterGeometryLoaders to a broken mod state
[17:33:27] [Render thread/FATAL]: Preparing crash report with UUID a8f3f2a8-093a-4ebb-9b1d-02ac471afd20
[17:33:27] [Render thread/FATAL]: Preparing crash report with UUID ed4f09e7-ff57-4479-91ef-5a30b90f383e

crash-2023-07-27_17.33.27-client.txt

very weird, this seems to be a locale issue, due to the capital "I" being transformed into the dotless "ı" instead of an "i" in you language. can you tell me what language your system is running?

Turkish. Idk how my computer's language affected the mod?

Sounds a bit weird I know, but it actually did. But it's no longer a problem in the new release


stability state decorators don't modify doc strings for inherited methods

For example, DNA.degap.

The issue was that the parent classes weren't decorated in the first place. Fixed in #1004.


chore(tailwind): remove tailwind

What this PR does 📖

Remove tailwind

Which issue(s) this PR fixes 🔨

Resolve #261

Special notes for reviewers 🗒
Additional comments 🎤

Looks good to me, are we just shooting for no css lib or rolling our own?

@InfamousVague we decided to go with no library, lets just adopt a naming guide, such as: https://ricostacruz.com/rscss/
I'll be refactoring the stylesheets to keep components modular and separate concerns.


[xxx] Mini refactor format_trainees

Context
The format_trainees method caused production instances to crash due to a lack of memory.
Changes proposed in this pull request
Built a new query to fetch as much info as possible in one go using :includes for eager loading and find_each for batching (defaults to 1000)
We can't easily eager load :published_course until we upgrade rails. Therefore, I have left course = Course.where(uuid: trainee.course_uuid).first in there and it will still be called once per trainee and cause a db call each time :-(
Guidance to review
Make sure nothing has been broken
Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

Benchmarks
Time
Before the changes (19.5 minutes):
Benchmark.measure { Exports::TraineeSearchData.new(Trainee.all) }
=> #<Benchmark::Tms:0x00000003a22c76f8 @cstime=0.0, @cutime=0.0, @label="", @real=1172.202456, @stime=43.494861, @total=885.6336319999999, @utime=842.1387709999999>

After the changes (11 minutes):
Benchmark.measure { Exports::TraineeSearchData.new(Trainee.all) }
=> #<Benchmark::Tms:0x0000000282ce28c0 @cstime=0.0, @cutime=0.0, @label="", @real=667.9261109999998, @stime=25.370855000000002, @total=480.850569, @utime=455.479714>

Memory
./benchmark.rb
require "benchmark/memory"

trainees = Trainee.first(5000) + Trainee.last(5000)

Benchmark.memory do |x|
  x.report("original")  { Exports::TraineeSearchData.new(trainees) }
  x.report("optimized") { Exports::TraineeSearchData.new(trainees) }

  x.compare!
  x.hold!("benchmark.json")
end

Terminal commands
git switch main
bundle add benchmark-memory --group "development"
bundle install
bundle exec rails r ./benchmark.rb
git switch mark/mini-refactor-format-trainees
bundle exec rails r ./benchmark.rb

Result
main branch
Calculating -------------------------------------
            original     3.859B memsize (   207.569M retained)
                        53.520M objects (     2.527M retained)
                        50.000  strings (    50.000  retained)

Pausing here -- run Ruby again to measure the next benchmark...

mark/mini-refactor-format-trainees branch
Calculating -------------------------------------
           optimized     2.556B memsize (     1.454M retained)
                        34.424M objects (    13.162k retained)
                        50.000  strings (    50.000  retained)

Comparison:
           optimized:<PHONE_NUMBER> allocated
            original:<PHONE_NUMBER> allocated - 1.51x more


Self-hosted option fails on Azure AKS

Describe the bug
Pixie Cloud fails to deploy on Azure AKS cluster with an error:
✔    Deploying Vizier
 ⠹    Waiting for Cloud Connector to come online
FATA[0193] Timed out waiting for cluster ID assignment

It used to fail on the step when trying to download YAMLs from Vizier. I was advised to upgrade to the latest version. I follow the steps in this guide: https://docs.px.dev/installing-pixie/install-guides/self-hosted-pixie. When I get to step3 attempting to run px deploy --dev_cloud_namespace plc fails with the above error.
To Reproduce
Steps to reproduce the behavior:
Followed the steps in here
Expected behavior
Successful deployment of Pixie Cloud and px to AKS cluster.
Logs
vzmgr-plc.txt
vzconn-plc.txt
profile-server-plc.txt
pl-nats-0-plc.txt
indexer-plc.txt
config-manager-plc.txt
auth-server-plc.txt
artifact-tracker.txt
api-server-plc.txt
App information (please complete the following information):

Pixie version: 0.6.2
K8s cluster version: 1.21

Any update on this. I am also getting exactly same error.
Also I have not understood as why we need to have a self hosted pixie cloud, if we just want to use pixie cli to extract the data collected via pixie components (vizier and pem modules).


Update DCOS-UI to 1.8.11

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-20158: update marked package

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/dcos/dcos-ui/releases/tag/v1.8.11
[x] Test Results: https://jenkins.mesosphere.com/service/jenkins/job/Frontend/job/dcos-ui-pull-requests/2184/
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label [Ready For Review]

@mesosphere-mergebot bump-ee


clone tests repo in jenkins_job_build.sh script

jenkins_job_build.sh should clone tests repo to be able to call to manage_ctr_mgr.sh
21:23:04 .ci/jenkins_job_build.sh: line 94: /home/jenkins/jenkins_slave/workspace/clear-containers-runtime-fedora-26-PR/go/src/github.com/clearcontainers/tests/cmd/container-manager/manage_ctr_mgr.sh: No such file or directory

Late to the party, and I'm sure maybe when I see the PR this might make sense - but - if jenkins_job_build.sh lives in the test repo, we must have cloned it already to be able to call the script, so,... why would we hvae to clone it again?
In the Jenkins sciripts (the config scripts on the jenkins servers) afaik we clone the tests repo early on in order to be able to call the jenkins_job_build.sh. So, I'm mildly confused :-)

@grahamwhaley sorry for the short description that didn't, help.
The problem here was that in the jenkins job, we clone the repo using git clone in the $HOME directory:
https://github.com/clearcontainers/jenkins/blob/master/jobs/clear-containers-runtime-azure-ubuntu-16-04-PR/config.xml#L97-L101
and when calling the manage_ctr_mgr.sh script, it was being called using $GOPATH/src/... and as that path didn't exist, the CI failed in this step.

Ah, thanks!
For reference, in the metrics CI I do the below, which is why I suspect I don't see the issue:
export GOPATH="${WORKSPACE}/go"
...
go get -d -u ${TESTS_REPO_NAME}

and then run the jenkins script from that GOPATH/src bsaed repo.


Update fido-authenticator

This PR is used to keep track of metrics changes during the fido-authenticator refactoring to avoid unpleasant surprises.

No significant changes.

Insignifcant changes

metric
value

change

binary-size-nk3am
1420628
:white_check_mark:
-2642 (-0.00%)

binary-size-nk3am-test
2018259
:white_check_mark:
-3825 (-0.00%)

binary-size-nk3xn
509344
:white_check_mark:
-912 (-0.00%)

binary-size-nk3xn-test
546164
:white_check_mark:
-944 (-0.00%)

binary-size-nkpk
733856
:white_check_mark:
-2623 (-0.00%)


Windows support using Dokany (Dokan fork)

Wow this so cool! Is there any reason we couldn't bundle the needed header files with this module?

OMG! :trophy:

@mafintosh: One of the devs of Dokany (in dokan-dev/dokany#37) already agreed on including the headers in the installer, so it shouldn't be an issue. :)

My nodejs knowledge are quite limited but is there a way to make dokan library path dynamic ?
https://github.com/mafintosh/fuse-bindings/pull/7/files#diff-21e418851ae48f9b11907837add9e39aR26

If the path of "dokanctl.exe" was added to the PATH env variable, that could work for the dokanctl.exe invocation. As for the gyp-file, I honestly don't know, I'm inexperienced with gyp - I tried to make it possible to specify a DOKAN_FUSE_LIB env variable, but that broke when I tried to specify a path with spaces, as it would see it as a space-separated list of files and error out on "C:\Program.obj" not existing.

Alright, worked some more on the issue and was able to make it use a DOKAN_INSTALL_DIR env variable that should be set to the path to the DokanLibrary folder in a Dokan installation, which is used to find both dokanfuse.lib at compile-time and dokanctl.exe at run-time.

:+1: Thank you

@raymond-h is this ready to merge?

Yeah, I can't think of anything else to add at this moment, go ahead.

Awesome. I cleaned up the style a little bit. Released in 2.5.0. Thanks!

No problem :)

@raymond-h Just badass!


Uncaught Exception Windows Binary

When I try to run the Agama v<IP_ADDRESS>a and Agama versions below on Windows 10 x64, I receive this error:
Uncaught Exception:
SyntaxError: Unexpected string in JSON at position 511

I've tried clearing %appdata% and previous wallet versions before installing other versions, but the execution of the program still results in that error. Iguana wallets works fine.

The config.json was not copied successfully. For users experiencing this error on Windows, make sure the config.json file is completely deleted and replaced in appdata.


Firefox: Unable to import module 'workbox-strategies'

Library Affected:
workbox-sw
Browser & Platform:
Firefox 63.0 (64-bit)
Issue or Feature Request Description:
It looks like the presence of a service worker built with workbox causes a site not to load in Firefox.  Here's the site that's breaking: https://pwa.moovweb.com.  The site initially loads and works fine, but when the service worker is installed, all network calls fail.  Reloading the page will give a Corrupted Content Error.
Failed to load ‘https://pwa.moovweb.com’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘NetworkError: Failed to load worker script at https://storage.googleapis.com/workbox-cdn/releases/3.2.0/workbox-strategies.prod.js (nsresult = 0x8053000b)’.

Your https://pwa.moovweb.com/pwa/serviceWorkerBootstrap.beb338b844d7de3d8a2e78f28f393d03.js script includes the following:
workbox.routing.registerRoute(matchRuntimePath, async (context) => {
  try {
    // ...snip...

    if (cacheOptions.cacheName === ssrCacheName && !shouldServeHTMLFromCache(url, event)) {
      return workbox.strategies.networkOnly().handle(context)
    }
    // ...snip...
  } catch (e) {
    // ...snip...
  }
})

Those references to workbox.strategies.networkOnly().handle(context) inside of your async callback function trigger the initial import of workbox-strategies, and you're not allowed to do that after the initial execution of the service worker scripts.
This change will start being enforced in Chrome 71 (at which point your service worker will stop working there, too), but other browsers, like Firefox, already block this behavior.
There is guidance in the Workbox docs for avoiding this; following those steps will resolve the issue for you.


How to generate new stories from prompts?

I want to use the pretrained models to generate stories with prompts, similar to the paper where the authors generated a story given "The scientists have discovered something terrible".
I couldn't find a parameter in the code where I can provide a sentence similar to the one above, and the model will output a story based on this.
How can I achieve this?

interactive.py is what you are looking for

thanks! i searched the repo quite a bit to find how to use interactive.py. finally, i tried the following:
python interactive.py --path models/fusion_checkpoint.pt models --beam 5 -t 'science'
but got "Exception: Could not infer language pair, please provide it explicitly" error.
then, upon searching the old issues, i added "--source-lang en --target-lang en" but that complained about "No such file or directory: 'models/dict.en.txt'" (i am not sure if i was supposed to use source/target in the first place since i am not translating..)
anyway, is it possible to share an example usage of interactive.py?
thanks!

The stories model is set up like translation, where we “translate” from
prompt to story. You need to change the source and target so that it points
to the correct dictionaries for stories. Interactive uses the same commands
as generate. You can also see the parameters listed in interactive.py and
options.py.
On Mon, Sep 24, 2018 at 09:50 ihavetoomanyquestions <
<EMAIL_ADDRESS>wrote:

thanks! i searched the repo quite a bit to find how to use interactive.py.
finally, i tried the following:
python interactive.py --path models/fusion_checkpoint.pt models --beam 5
-t 'science'
but got "Exception: Could not infer language pair, please provide it
explicitly" error.
then, upon searching the old issues, i added "--source-lang en
--target-lang en" but that complained about "No such file or directory:
'models/dict.en.txt'" (i am not sure if i was supposed to use source/target
in the first place since i am not translating..)
anyway, is it possible to share an example usage of interactive.py?
thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pytorch/fairseq/issues/285#issuecomment-424045555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADATfZHxGe0zJEhq2-nvUxidh4ILXXgFks5ueQ1dgaJpZM4W16eu
.

thanks a lot. i am trying to use the interactive mode with pretrained model and test data:
python interactive.py --path models/pretrained_checkpoint.pt stories_test/ --beam 5 --source-lang en --target-lang wp_target --source-lang wp_source
and i am trying one of the examples from the paper: "The scientists have discovered something terrible"
however, I got the following output which just repeats the same thing, do you have any idea why is this happening?

| [wp_source] dictionary: 19025 types
| [wp_target] dictionary: 104960 types
| loading model(s) from models/pretrained_checkpoint.pt
| Type the input sentence and press return:
The scientists have discovered something terrible
O	The scientists have discovered something terrible
H	-0.40945929288864136	`` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` What do you mean ? '' <newline> <newline> `` Why
P	-1.1534 -2.7626 -1.4602 -0.2677 -0.2029 -2.4230 -0.2426 -0.6338 -0.0772 -0.3425 -3[...]

@huihuifan I tried to use random sampling as suggested by the readme to generate a story based on the same prompt you wrote in the paper.
python interactive.py  data-bin/writingPrompts --path models/fusion_checkpoint.pt  --beam 1 --sampling --sampling-topk 10 --sampling-temperature 0.8 --nbest 1  --model-overrides "{'pretrained_checkpoint':'models/pretrained_checkpoint.pt'}" --max-len-b 500

However, I got the following result:
| Type the input sentence and press return:
It is year 2045. You do not have a job because artificial intelligence do all the jobs, but you have a very good lifestyle.
O	It is year 2045. You do not have a job because artificial intelligence do all the jobs, but you have a very good lifestyle.
H	-0.8796706199645996	`` Sir , you need to get in here , '' the man from the front desk said . <newline> <newline> I could feel my eyes getting heavy . <newline> <newline> `` I 'm sorry , I do n't want to . It 's just ... '' <newline> <newline> `` You do n't have to . '' <newline> <newline> I did n't know what to do , I did n't care . I just wanted to get in here . If I had known how many of this people I could have gone through , I did n't know what would happen to me . I do n't want to be here . I do n't want to be here . I do n't want to be here . <newline> <newline> `` Sir , I do n't want you here . I do n't want to be here ... I do n't want to be here . I do n't have to be here , I do n't want to be here . I do n't want to be here ... '' <newline> <newline> `` Sir ? '' <newline> <newline> I did n't know what to say . I did n't want to be here . I did n't want to be here . I wanted to be here . I wanted to be here .  You do n't want to be here . I do n't want to be here . I just want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . <newline> <newline> `` Sir , I 'm sorry , I just want to be here , and I do n't want to be here . I just want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here . I want to be here , I WANT TO BE HERE . I WANT TO BE HERE . <newline> <newline> `` I want to be here .

I also experience a similar issue to @khuangaf, where most of the time the output text repeats itself:
I am using it as:
python interactive.py --path models/pretrained_checkpoint.pt stories_test/  --source-lang en --target-lang wp_target --source-lang wp_source --sampling --nbest 5 --sampling-topk 5
and an example output:

The road was a long , narrow road . The road was a narrow road , a steep ,  road , and a small creek that was the only source of life that would be the last thing you saw .   There was an old ,  car . The road was a long road , a long road that was not the last . The road had a long path , but the path was a short path that was not the end of the road .   There was an old ,  car . It was a small , wooden road . It was an old ,  car . The driver was an old man , a young boy , and he looked like he was in his early 20s . The driver looked like he had n't slept since he was in college . The driver looked like he was in his early twenties .

The repetition issue is a known problem for seq2seq models, and we address this in the discussion section of our paper. You can reduce repetition by adding various improvements at decoding time, for example in summarization often hard constraints are applied. In our work, we tuned the temperature and sampling parameters.
@ihavetoomanyquestions- it looks like you're not using the fusion model to generate. This produces worse stories.

@huihuifan Did you hand-tune the temperature and top k for each of the story generated in the paper? If so, I was wondering if there is a particular range that should try? Thanks

No, I do not tune for each story. I suggest trying between 0.7 and 1.1.

Hope the original issue has been resolved, closing for now.


Allow building with wai-extra-3.1

I've revised scotty-0.12 on Hackage accordingly.

Thanks !
On Mon, Sep 21, 2020, 12:46 Ryan Scott<EMAIL_ADDRESS>wrote:

I've revised scotty-0.12
http://hackage.haskell.org/package/scotty-0.12/revisions/ on Hackage
accordingly.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/scotty-web/scotty/pull/268#issuecomment-696267892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEOIX23XYJP34BS5CMLMNPDSG6GOTANCNFSM4RUMOFKA
.


PHP CLI fork bug

What version of gRPC and what language are you using?
php
grpc support => enabled
grpc module version => 1.15.0

What operating system (Linux, Windows, …) and version?
 MAC OS
What runtime / compiler are you using (e.g. python version or version of gcc)
php -v:
PHP 7.2.10 (cli) (built: Sep 14 2018 07:07:08) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
   with Zend OPcache v7.2.10, Copyright (c) 1999-2018, by Zend Technologies

What did you do?
I want to fork 3 process on cli model, trigger three orphan process, but child process not quit
$user = 3;
while ($user >= 1) {
    $pid = pcntl_fork();
    if (-1 == $pid) {
        die("fork进程失败\n");
    } else if (0 == $pid) {
        break;
    } else {
        $user--;
        if ($user == 0) {
            exit;
        }
    }
}

➜  Test ps -l
  UID   PID  PPID        F CPU PRI NI       SZ    RSS WCHAN     S             ADDR TTY           TIME CMD
  501   852   833     4006   0  31  0  4297248   1280 -      Ss+                 0 ttys001    0:00.25 /bin/zsh --login -i
  501   696   695     4006   0  31  0  4298336   4940 -      S                   0 ttys002    0:00.83 -zsh
  501  1480     1        6   0  31  0  4356908   2212 -      S                   0 ttys002    0:00.00 php Test.php
  501  1481     1        6   0  31  0  4356908   2216 -      S                   0 ttys002    0:00.00 php Test.php
  501  1482     1        6   0  31  0  4356908   2228 -      S                   0 ttys002    0:00.00 php Test.php

What did you expect to see?
in cli model fork multi process, even don't use grpc, only install it
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?

Please try sudo pecl install grpc-beta to get the latest version 1.17.0RC2. Fork() support has been just recently added.

@stanley-cheung
this issue still trigger
grpc
grpc support => enabled
grpc module version => 1.17.0RC2
PWD => /Users/ruitao/Downloads/grpc
$_SERVER['PWD'] => /Users/ruitao/Downloads/grpc

@stanley-cheung
this issue still trigger
grpc
grpc support => enabled
grpc module version => 1.17.0RC2
PWD => /Users/ruitao/Downloads/grpc
$_SERVER['PWD'] => /Users/ruitao/Downloads/grpc

Work fine! use env GRPC_ENABLE_FORK_SUPPORT=1
GRPC_ENABLE_FORK_SUPPORT=1 php ./test.php

@krecu @stanley-cheung
pecl install grpc-beta

grpc
grpc support => enabled
grpc module version => 1.17.0

export GRPC_ENABLE_FORK_SUPPORT=1

work fine


No-filter search option

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

Context
I've playing around using fzf as a result visualization tool rather than a filter.
I know, I know this is not what the tool is for, checked https://github.com/junegunn/fzf/issues/974.
Yet the interface and preview capabilities of fzf are awesome enough so that it'd be worth for me to try to hack my way here to visualize the search results of a custom SQLite search tool based on query value inside fzf.
So I used the snippet provided in https://github.com/junegunn/fzf/issues/974 and it works!
Although I had to get extra-hacky as I do NOT want fzf to filter the lines passed to it. I just want to display all of them, regardless of the current query value inside fzf.
Proposal
So my question/proposal is: Would it be possible to add an additional 'Search' option like --no-filter which basically would deactivate the search/filtering?
As I said, I do know fzf is not for this, and @junegunn has made clear simplicity of the tool is paramount.
Yet I feel this would be a really simple and straightforward option. Should be just almost just an if-check based on the option --no-filter to run the filter logic or not (although I acknowledge I'm not familiar enough with the code to know for sure :)).
And also I feel like this option would be an excellent companion for the hack that @junegunn proposed back in https://github.com/junegunn/fzf/issues/974 to hackily leverage fzf as interface from a changing source :)
The hack
Just for curiosity, this is the hack I had to do for avoiding filtering results:

Built my own solution based on https://gist.github.com/junegunn/4963bab6ace453f7f529d2d0e01b1d85
To make sure fzf shows all results, append the query to every line :)
sth like SOURCE_CMD "$query" | awk '{print $0 " @@@ '"$query"'"}' | filter "$query"
Drop the hacky suffix before using the chosen result:
FINAL_CMD "${result% @@@*}"

Option added in 0.19.0. See https://github.com/junegunn/fzf/blob/master/CHANGELOG.md#0190.

Awesome! Looking forward to give it a try. Thanks @junegunn !


Update DMTanks-AeroRTG.netkan

added homepage

Looks nice, a very clean design. Merging with thanks


Turbolinks.visit(url, { keep: 'flash' }); seems not to be working

In my application.html.erb

I have remote: true form and in my update.js.erb there is this:
$('#flash').html('User is updated!');
Turbolinks.visit("<%= users_path %>", { keep: 'flash' });

At the moment I see my text is added to flash, however after Turbolinks does visit to users_path text is lost.
I'm wondering if I'm doing something wrong or this feature is not available in Turbolinks 5.2?
My stack: Rails 6, Ruby 2.6.3

Hi @matissg. I spotted your question on StackOverflow and I have answered there (https://stackoverflow.com/a/57953502/783009).


various stability improvements, feature additions, and refactoring

the refactoring in general also support other repos easily adding in additional function codes that may not be standard to modbus specs.

Thanks for your contribution!
For some reason, I was missing gh notifications, and there other pull requests to review. I will review and merge these asap!

Awesome, thanks! Keep in mind that my PR conflicts with a few of the outstanding PRs, but I tried to also implement the same features they were adding

Hi @ccutrer,
I've merged some of your commits. Can you please rebase against master, to simplify the review?
Thanks

@fernandoluizao : the PR has been rebased

I'm no longer working in the industry, and probably will not have time to maintain this gem anymore... @ccutrer are you interested in taking over?

@fernandoluizao : sure. I use ruby full-time, and have three modbus devices (both serial and tcp) at home, so I'm plenty motivated and capable.

Great! I've granted admin privileges for you.


How can I disable input?

Hi,
Thanks for a great component!
I would like to disable the input box in certain circumstances. How can this be achieved?
Thanks in advance! :slightly_smiling_face:

I found it :wink:
:input-props="{ disabled: true }


Step by step code walkthrough

This is a very verbose walkthrough of the inference file run.c . llama2.c for dummies began as way to clear my own understanding. Might be helpful for others starting out.  llama2.c-for-dummies
Any fixes/changes/suggestions welcome.

thanks.

This cat enjoyed it.
(Feel free to steal back the cat ;)


feat(github): add CICD job build_programs_individually

This adds a rudimentary CI job for building the different programs individually by basically looping over a subset of the cargo feature output.
Would look like this: https://github.com/gierens/coreutils/actions/runs/8638198438/job/23682121436

Not sure if this is what you're looking for or rather some static list, I just stumbled across this issue and did something similar before. A future alternative could be cargo-all-features (https://github.com/frewsxcv/cargo-all-features) but unfortunately this is more for feature combinations and still lacks a few features thus would require a fork at the moment.
Resolves: #6097

My idea was to base it on the show-utils script, which we do elsewhere in the CI too. This seems to work, but only for linux. Nevertheless, this would be great to have!

@gierens any opinion ? :)

@gierens any opinion ? :)

Sure :) ... sorry for the late reply, the new semester just started and I got a little distracted :D

My idea was to base it on the show-utils script, which we do elsewhere in the CI too.

Oh neat, that's a lot smarter of course :) ... yeah the CICD workflow is a little intense, but I could've probably checks the util folder, my bad :D

This seems to work, but only for linux. Nevertheless, this would be great to have!

I guess with the show-utils batch file it would be possible to make it work on windows, too.

We could also try building the packages instead of the multicall binary. 🤔

Sounds reasonable.

Should this just be a cargo check to reduce CI time a bit?

Hm, I guess we could first check how long that would actually run with building and tests, and then decide. Also in case it really takes too long, it could maybe be parallelized to some extent.
It's getting a little late here, but I can take a look at it tomorrow :)

@tertsdiepraam @sylvestre alright, I revised the CI job: It uses show-builds.sh, runs on ubuntu-latest, macos-latest and windows-latest, and does tests now.

https://github.com/gierens/coreutils/actions/runs/8712554101/job/23899114665
In the run I executed just now in my fork it took roughly 1min@ubuntu, 2min@macos and 4min@windows, so not should be fine I guess.

Thanks for your PR :)


Implement Conditional Requests

Fixes: #23
cc @twelho @yiannistri @martina-if please review

Codecov Report

Merging #24 into master will increase coverage by 1.29%.
The diff coverage is 71.15%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   53.57%   54.86%   +1.29%
==========================================
  Files          22       22
  Lines        1034     1068      +34
==========================================
+ Hits          554      586      +32
+ Misses        450      447       -3
- Partials       30       35       +5

Impacted Files
Coverage Δ

github/client_organizations.go
71.42% <ø> (ø)

github/auth.go
57.27% <71.15%> (+16.48%)
:arrow_up:

Continue to review full report at Codecov.

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


removing dead brotli script

Closes https://github.com/adobe/react-spectrum/issues/2558
Removing dead code, Parcel will have this builtin when we upgrade that.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

thanks, not sure why it didn't show up in my project search locally


Fix typos in "Using a Template" documentation page

Thanks for the PR! I actually just switched from morphdom -> diffhtml, so I'll need to update all of those references, but this looks good.


added pdfkit instead of md2pdf which was based on weasyprint

should  be tested on mac prior to merging

This pdf tools ,Is  support wether other language, include English,Chinese,Arabic,Korean,Japanese,Mongolian ?


Result: Cat's Game

When the result is a Cat's Game, the text that displays the Cat's game result to the user in the Results scene is not centered.

Issue fixed and merged into main under the minimax/graphics branch.


[AIRFLOW-74] SubdagOperators can consume all celeryd worker processes

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-74
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
We should change the default executor for subdag_operator to SequentialExecutor. Airflow pool is not hornored by subdagoperator, hence it could consume all the worker resources(e.g in celeryExecutor). This causes issues mentioned in airflow-74 and limits the subdag_operator usage. We use subdag_operator in production by specifying using sequential executor.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
I put a note on the behavior change for subdag_operator.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3251 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3251      +/-   ##
==========================================
- Coverage   75.28%   75.27%   -0.01%
==========================================
  Files         196      196
  Lines       14608    14608
==========================================
- Hits        10997    10996       -1
- Misses       3611     3612       +1

Impacted Files
Coverage Δ

airflow/operators/subdag_operator.py
90.32% <100%> (ø)
:arrow_up:

airflow/models.py
87.03% <0%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM +1

This is probably testable, just by instantiating a bare SubDagOperator and testing which executor is selected.

Thanks @artwr , let me add a test for that.

unit test is added :) @artwr  @Fokko

LGTM +1 pending passing CI.

@feng-tao Can you rebase onto master?

======================================================================
13) FAIL: test_execute (tests.contrib.operators.test_gcs_operator.GoogleCloudStorageCreateBucketTest)
----------------------------------------------------------------------
   Traceback (most recent call last):
    .tox/py27-backend_postgres/lib/python2.7/site-packages/mock/mock.py line 1305 in patched
      return func(*args, **keywargs)
    tests/contrib/operators/test_gcs_operator.py line 54 in test_execute
      'env': 'prod'}, project_id=TEST_PROJECT
    .tox/py27-backend_postgres/lib/python2.7/site-packages/mock/mock.py line 948 in assert_called_once_with
      return self.assert_called_with(*args, **kwargs)
    .tox/py27-backend_postgres/lib/python2.7/site-packages/mock/mock.py line 937 in assert_called_with
      six.raise_from(AssertionError(_error_message(cause)), cause)
    .tox/py27-backend_postgres/lib/python2.7/site-packages/six.py line 737 in raise_from
      raise value
   AssertionError: Expected call: create_bucket(bucket_name='test-bucket', labels={'airflow-version': 'v1-10-0dev0-incubating', 'env': 'prod'}, location='EU', project_id='test-project', storage_class='MULTI_REGIONAL')
   Actual call: create_bucket(bucket_name='test-bucket', labels={'airflow-version': 'v2-0-0dev0-incubating', 'env': 'prod'}, location='EU', project_id='test-project', storage_class='MULTI_REGIONAL')

A test is failing because of the version update, master has been patched.

thanks @Fokko , @artwr . just rebase the master


bug:

Bug Report
Ionic version:
[x] 4.x
Hello All,
I am creating a ionic application in which I am trying to integrate the Azure AD B2C Login. I came across the related documentation in the official ionic website https://ionicframework.com/docs/enterprise/auth-connect/azure-ad-b2c
but the package used here @ionic-enterprise/auth-connect doesn't exists on the npm registry.
Can someone help me with this ?

Anything under the @ionic-enterprise scope is a commercial offering that is available to our customers under an Enterprise contract. We also have contracts available focused on just one of those solutions. If your company is interested in such a thing you can go to the following link and request a demo: https://ionicframework.com/auth-connect
If this is a personal app, you are going to want to use the community plugins to create your own solution.


Configure zookeeper log file only for services that might use zookeeper

I tested this and it still worked, but I think it's better to not set the system property at all if we shouldn't use a zookeeper log file. Also fixed a bug and deleted ZOOKEEPER_LOG_FILE_PREFIX file


Support local PV

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

https://github.com/vesoft-inc/nebula-operator/pull/394