CUDA Memory Issue

Technically unrelated to pie directly but could use a hand.
I put everything that is required here : https://github.com/PonteIneptique/pie-leak
When I run python cli.py corpus lemmatize pie, I quickly (~100/120 files) run into a Memory Issues. This happened also on CPU (where I have 32GB of RAM). The issue does not seem to happen with pie tag which means it definitely is an issue with my code. Can I ask you to have a look at it ?
Traceback (most recent call last):
  File "cli.py", line 173, in <module>
    cli()
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "cli.py", line 103, in lemmatize
    helpers.lemmatizers.run_pie_web(text_files=text_files, target_path="data/curated/corpus/generic/", threads=1)
  File "/home/thibault/dev/these/helpers/lemmatizers/__init__.py", line 22, in run_pie_web
    lemmatizer.output(filepath)
  File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line 72, in output
    for token in self.from_file(file_path):
  File "/home/thibault/dev/these/helpers/lemmatizers/base.py", line 29, in from_file
    yield from self.from_string(f.read(), path)
  File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line 33, in from_string
    tagged, tasks = self.tagger.tag(sents, lengths)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/tagger.py", line 73, in tag
    preds = model.predict(inp, *tasks, **kwargs)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/model.py", line 342, in predict
    hyps, _ = decoder.predict_max(cemb_outs, clen, context=context)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/decoder.py", line 411, in predict_max
    outs, hidden = self.rnn(emb, hidden)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 179, in forward
    self.dropout, self.training, self.bidirectional, self.batch_first)
RuntimeError: CUDA out of memory. Tried to allocate 1.07 GiB (GPU 0; 7.93 GiB total capacity; 6.10 GiB already allocated; 78.31 MiB free; 872.34 MiB cached)

Order in which it fails :+1: order.txt (starting data/curated/corpus/generic/urn:cts:latinLit:stoa0171.stoa009.opp-lat1/1.txt after the last one
)
Another note : the issue does not seem to happen if the text are read in another order, which would pinpoint to some garbage collection not being fast enough ? I am a bit lost...

It seems the GPU is already full. Could you paste the stacktrace you get
when running on CPU? (to see where exactly it fails). My apriori guess
would be either model getting copied (especially if there is some
multiprocessing going on) or that the batch size/sentence length is too big.
On Fri, Feb 22, 2019 at 10:47 AM Thibault Clérice<EMAIL_ADDRESS>wrote:

Technically unrelated to pie directly but could use a hand.
I put everything that is required here :
https://github.com/PonteIneptique/pie-leak
When I run python cli.py corpus lemmatize pie, I quickly (~100/120 files)
run into a Memory Issues. This happened also on CPU (where I have 32GB of
RAM). The issue does not seem to happen with pie tag which means it
definitely is an issue with my code. Can I ask you to have a look at it ?
Traceback (most recent call last):
File "cli.py", line 173, in
cli()

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)

File "cli.py", line 103, in lemmatize
helpers.lemmatizers.run_pie_web(text_files=text_files, target_path="data/curated/corpus/generic/", threads=1)

File "/home/thibault/dev/these/helpers/lemmatizers/init.py", line 22, in run_pie_web
lemmatizer.output(filepath)

File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line 72, in output
for token in self.from_file(file_path):

File "/home/thibault/dev/these/helpers/lemmatizers/base.py", line 29, in from_file
yield from self.from_string(f.read(), path)

File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line 33, in from_string
tagged, tasks = self.tagger.tag(sents, lengths)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/tagger.py", line 73, in tag
preds = model.predict(inp, *tasks, **kwargs)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/model.py", line 342, in predict
hyps, _ = decoder.predict_max(cemb_outs, clen, context=context)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/decoder.py", line 411, in predict_max
outs, hidden = self.rnn(emb, hidden)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)

File "/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 179, in forward
self.dropout, self.training, self.bidirectional, self.batch_first)

RuntimeError: CUDA out of memory. Tried to allocate 1.07 GiB (GPU 0; 7.93 GiB total capacity; 6.10 GiB already allocated; 78.31 MiB free; 872.34 MiB cached)
Order in which it fails 👍 order.txt
https://github.com/emanjavacas/pie/files/2893311/order.txt (starting
data/curated/corpus/generic/urn:cts:latinLit:stoa0171.stoa009.opp-lat1/1.txt
after the last one
)
Another note : the issue does not seem to happen if the text are read in
another order, which would pinpoint to some garbage collection not being
fast enough ? I am a bit lost...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6Ho_6r5SS9NWmKrr5oHuOu8B6ZZANOks5vP7zNgaJpZM4bJO02
.

--
Enrique Manjavacas

The CPU error was the same, albeit regarding cpu. But the thing is, it does
not happen with tag.py. Which is weird no?
Le ven. 22 févr. 2019 à 12:54 PM, Enrique Manjavacas <
<EMAIL_ADDRESS>a écrit :

It seems the GPU is already full. Could you paste the stacktrace you get
when running on CPU? (to see where exactly it fails). My apriori guess
would be either model getting copied (especially if there is some
multiprocessing going on) or that the batch size/sentence length is too
big.
On Fri, Feb 22, 2019 at 10:47 AM Thibault Clérice <
<EMAIL_ADDRESS>wrote:

Technically unrelated to pie directly but could use a hand.
I put everything that is required here :
https://github.com/PonteIneptique/pie-leak
When I run python cli.py corpus lemmatize pie, I quickly (~100/120 files)
run into a Memory Issues. This happened also on CPU (where I have 32GB of
RAM). The issue does not seem to happen with pie tag which means it
definitely is an issue with my code. Can I ask you to have a look at it ?
Traceback (most recent call last):
File "cli.py", line 173, in
cli()
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 764, in call
return self.main(*args, **kwargs)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 717, in main
rv = self.invoke(ctx)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",
line 555, in invoke
return callback(*args, **kwargs)
File "cli.py", line 103, in lemmatize
helpers.lemmatizers.run_pie_web(text_files=text_files,
target_path="data/curated/corpus/generic/", threads=1)
File "/home/thibault/dev/these/helpers/lemmatizers/init.py", line
22, in run_pie_web
lemmatizer.output(filepath)
File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line
72, in output
for token in self.from_file(file_path):
File "/home/thibault/dev/these/helpers/lemmatizers/base.py", line 29, in
from_file
yield from self.from_string(f.read(), path)
File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line
33, in from_string
tagged, tasks = self.tagger.tag(sents, lengths)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/tagger.py",
line 73, in tag
preds = model.predict(inp, *tasks, **kwargs)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/model.py",
line 342, in predict
hyps, _ = decoder.predict_max(cemb_outs, clen, context=context)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/decoder.py",
line 411, in predict_max
outs, hidden = self.rnn(emb, hidden)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/module.py",
line 489, in call
result = self.forward(*input, **kwargs)
File
"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/rnn.py",
line 179, in forward
self.dropout, self.training, self.bidirectional, self.batch_first)
RuntimeError: CUDA out of memory. Tried to allocate 1.07 GiB (GPU 0;
7.93 GiB total capacity; 6.10 GiB already allocated; 78.31 MiB free; 872.34
MiB cached)
Order in which it fails 👍 order.txt
https://github.com/emanjavacas/pie/files/2893311/order.txt (starting

data/curated/corpus/generic/urn:cts:latinLit:stoa0171.stoa009.opp-lat1/1.txt

after the last one
)
Another note : the issue does not seem to happen if the text are read in
another order, which would pinpoint to some garbage collection not being
fast enough ? I am a bit lost...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AF6Ho_6r5SS9NWmKrr5oHuOu8B6ZZANOks5vP7zNgaJpZM4bJO02
.

--
Enrique Manjavacas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20#issuecomment-466372214, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB1yZjD_H_IS3HFbO7glE1RZk8MO3A5Xks5vP9p5gaJpZM4bJO02
.

Check the batch size and the sentence length of your input.
On Fri, Feb 22, 2019 at 1:09 PM Thibault Clérice<EMAIL_ADDRESS>wrote:

The CPU error was the same, albeit regarding cpu. But the thing is, it does
not happen with tag.py. Which is weird no?
Le ven. 22 févr. 2019 à 12:54 PM, Enrique Manjavacas <
<EMAIL_ADDRESS>a écrit :

It seems the GPU is already full. Could you paste the stacktrace you get
when running on CPU? (to see where exactly it fails). My apriori guess
would be either model getting copied (especially if there is some
multiprocessing going on) or that the batch size/sentence length is too
big.
On Fri, Feb 22, 2019 at 10:47 AM Thibault Clérice <
<EMAIL_ADDRESS>wrote:

Technically unrelated to pie directly but could use a hand.
I put everything that is required here :
https://github.com/PonteIneptique/pie-leak
When I run python cli.py corpus lemmatize pie, I quickly (~100/120
files)
run into a Memory Issues. This happened also on CPU (where I have 32GB
of
RAM). The issue does not seem to happen with pie tag which means it
definitely is an issue with my code. Can I ask you to have a look at
it ?
Traceback (most recent call last):
File "cli.py", line 173, in
cli()
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 764, in call

return self.main(*args, **kwargs)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 717, in main

rv = self.invoke(ctx)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/click/core.py",

line 555, in invoke

return callback(*args, **kwargs)
File "cli.py", line 103, in lemmatize
helpers.lemmatizers.run_pie_web(text_files=text_files,
target_path="data/curated/corpus/generic/", threads=1)
File "/home/thibault/dev/these/helpers/lemmatizers/init.py", line
22, in run_pie_web
lemmatizer.output(filepath)
File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line
72, in output
for token in self.from_file(file_path):
File "/home/thibault/dev/these/helpers/lemmatizers/base.py", line 29,
in
from_file
yield from self.from_string(f.read(), path)
File "/home/thibault/dev/these/helpers/lemmatizers/pie_impl.py", line
33, in from_string
tagged, tasks = self.tagger.tag(sents, lengths)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/tagger.py",

line 73, in tag

preds = model.predict(inp, *tasks, **kwargs)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/model.py",

line 342, in predict

hyps, _ = decoder.predict_max(cemb_outs, clen, context=context)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/pie/models/decoder.py",

line 411, in predict_max

outs, hidden = self.rnn(emb, hidden)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/module.py",

line 489, in call

result = self.forward(*input, **kwargs)
File

"/home/thibault/dev/these/these_env/lib/python3.6/site-packages/torch/nn/modules/rnn.py",

line 179, in forward

self.dropout, self.training, self.bidirectional, self.batch_first)
RuntimeError: CUDA out of memory. Tried to allocate 1.07 GiB (GPU 0;
7.93 GiB total capacity; 6.10 GiB already allocated; 78.31 MiB free;
872.34
MiB cached)
Order in which it fails 👍 order.txt
https://github.com/emanjavacas/pie/files/2893311/order.txt (starting

data/curated/corpus/generic/urn:cts:latinLit:stoa0171.stoa009.opp-lat1/1.txt

after the last one
)
Another note : the issue does not seem to happen if the text are read
in
another order, which would pinpoint to some garbage collection not
being
fast enough ? I am a bit lost...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20, or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AF6Ho_6r5SS9NWmKrr5oHuOu8B6ZZANOks5vP7zNgaJpZM4bJO02

.

--
Enrique Manjavacas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20#issuecomment-466372214,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AB1yZjD_H_IS3HFbO7glE1RZk8MO3A5Xks5vP9p5gaJpZM4bJO02
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/emanjavacas/pie/issues/20#issuecomment-466375852, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF6Ho0VU7df30b_Ifc_FT5YMLvilHuEzks5vP93_gaJpZM4bJO02
.

--
Enrique Manjavacas

Yup, definitely sentence too long. I'll have a better look but thanks for the hint. I'll let the issue open if you don't mind atm.

T'was indeed a mixture of batch size + sentence size.

Thanks !


Set Sentry environment tag

Using the SENTRY_ENVIRONMENT environment variable (that's what the Node.js client uses).

Codecov Report

Merging #553 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #553   +/-   ##
=======================================
  Coverage     96.5%   96.5%
=======================================
  Files          132     132
  Lines         3944    3944
  Branches       360     360
=======================================
  Hits          3806    3806
  Misses          95      95
  Partials        43      43

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 8494ab7...2c390e2. Read the comment docs.


1.11.4 tf2onnx failure

On ci Build tf2onnx got failed, it was exiting at stage of testing

This is fixed by correcting tag on tf2onnx repo.


[WIP] Unit test for v1/storages

What this PR does / why we need it:
Unit tests written for v1/storages
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #175
Special notes for your reviewer:
NA
Release note:

Codecov Report

Merging #186 into master will increase coverage by 0.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   41.01%   41.66%   +0.65%
==========================================
  Files          61       61
  Lines        3977     3922      -55
  Branches      450      450
==========================================
+ Hits         1631     1634       +3
+ Misses       2277     2216      -61
- Partials       69       72       +3

Impacted Files
Coverage Δ

dolphin/drivers/driver.py
56.52% <0.00%> (-11.23%)
:arrow_down:

dolphin/cryptor.py
72.72% <0.00%> (-4.20%)
:arrow_down:

dolphin/wsgi/common.py
64.28% <0.00%> (-3.46%)
:arrow_down:

dolphin/task_manager/tasks/task.py
25.68% <0.00%> (-2.64%)
:arrow_down:

dolphin/api/validation/validators.py
44.35% <0.00%> (-1.74%)
:arrow_down:

dolphin/api/common/__init__.py
28.35% <0.00%> (-1.06%)
:arrow_down:

dolphin/api/common/wsgi.py
22.64% <0.00%> (-0.82%)
:arrow_down:

dolphin/context.py
71.42% <0.00%> (-0.58%)
:arrow_down:

dolphin/utils.py
27.58% <0.00%> (-0.37%)
:arrow_down:

dolphin/rpc.py
73.33% <0.00%> (-0.36%)
:arrow_down:

... and 12 more


Relationship update using flask marshmallow does not work

Hi
The following code produces constraint error (unable to update foreign key with null value:
class Model1(db.Model):
  __tablename__ = "model1"
  id = db.Column(db.Integer, primary_key=True)
  field1 = db.Column(db.String, nullable=True)
  model2 = db.relationship('Model2', uselist=False, back_populates='alert', lazy='select')

class Model2(db.Model):
  __tablename__ = "model2"
  id = db.Column(db.Integer, primary_key=True)
  model1_id = db.Column(db.Integer, db.ForeignKey('model1.id'), nullable=False)
  field11 = db.Column(db.String, nullable=True)

class Model2Schema(ModelSchema):
    class Meta:
        model = Model2
        sqla_session = db.session

class Model1Schema(ModelSchema):
    model2 = Nested(Model2, many=True,
                          exclude=('id', 'model2',))

    class Meta:
        model = Model2
        sqla_session = db.session

model1 = Model1.query.get_or_404(1)
json = { "id": 1, "field1": "asdasd" , "model2": { "field11": "asdasdasdas" } }
Model1Schema().load(json, instance=model1, partial=True)
db.session.commit()

the exception thrown is that updating model2 fails due to an attempt to set model1_id to null
any idea if that's a bug or am I doing anything wrong?

Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.


Optimize virtual path implementation

Refs: https://github.com/metarhia/impress/issues/1894

[x] tests and linter show no problems (npm t)
[ ] tests are added/updated for bug fixes and new features
[x] code is properly formatted (npm run fmt)
[ ] description of changes is added in CHANGELOG.md
[ ] update .d.ts typings

Landed in https://github.com/metarhia/impress/commit/a09cc7e3dbff7c3a3c429ca6cd13578efb7bbf33


TextRange module's findText fix for text with non-breaking space.

Added fix to the TextRange module's findText method to search and match the text when the text in the document contains non-breaking space ( ).
For example, if the document has html "test match with findText", innerText would return "test match with findText". Even though the space looks normal whitespace between "test match", this is decoded character value of  . When we search for "test match", textRange.findText wouldn't find match.
According to the documentation, search should be performed on the visible text of the document but not on the decoded characters. Hence I made this change.

merged PR here: https://github.com/pburrows/rangy-updated/commit/854b8ad22663de453c414c89ed1eb936a8a3663b


Unable to install superset in Amazon server

Make sure these boxes are checked before submitting your issue - thank you!

[.] I have checked the superset logs for python stacktraces and included it here as text if any
[.] I have reproduced the issue with at least the latest released version of superset
[.] I have checked the issue tracker for the same issue and I haven't found one similar

Hi, I am trying to install superset in a AWS Linux machine. Have got a virtual environment setup running anaconda distribution running python version 3.6.5
I am having issues installing superset. Get the below error message

In file included from sasl/saslwrapper.cpp:254:0:
sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory
compilation terminated.
error: command 'cc' failed with exit status 1
----------------------------------------

Command "/home/ec2-user/superset/superset_conda/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-8rn1ees5/sasl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-yiuzqv7h/install-record.txt --single-version-externally-managed --compile --install-headers /home/ec2-user/superset/superset_conda/include/site/python3.6/sasl" failed with error code 1 in /tmp/pip-install-8rn1ees5/sasl/
Superset version
Unable to install superset
Expected results
Get superset running
Actual results
Installation fails
Steps to reproduce
pip install superset
Could anyone assist on this. Thanks..

Did you follow the instructions and install the os level deps?
http://superset.apache.org/installation.html#os-dependencies

Yes. I work with @taukheerk. I believe this instance is CentOS and Red Hat Based.
When we run "sudo yum install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel"
we get:
"No package python-wheel available."
"No package libsasl2-devel available." I think this is the one that is causing the issues

@mistercrunch would you recommend using a different server. We have tried installing the correct RPM for CentOS (per this stack overflow post) and we haven't had luck. In other news, we are ridiculously excited to use the tool for our teams!

To close this out, we went with an Ubantu server and everything works perfectly. Cheers!

Thanks, was installing on DigitalOcean Ubuntu 16.04 server, after installing the os dependencies it worked fine.


[Docs] Rust TVM API doc link broken

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :smile_cat:
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
Documentation Title & Type
Rust TVM Crate documentation: https://github.com/apache/tvm/tree/main/rust/tvm
Additions/Changes Requested
Links to the various API documentation are broken. For example:

You can find the API Documentation here.

Which points to the broken link: https://tvm.apache.org/docs/api/rust/tvm/index.html
I'm not sure where the API documentation is actually hosted to can't provide a fix.

Where can I read the doc now?

@Yevgnen i don't think we publish rust docs right now due to a problem generating them in CI. I think @jroesch might take a stab at re-enabling them, or if you'd like to take a crack at it, feel free to send a PR.


Upgrade from 0.16.7 to 0.17 thru 1.0.1 breaks most styles

On a project I've been using vite-plugin-windicss since 0.14.x up to 0.16.7, upgrading to 0.17 and beyond causes many windicss styles to not load and everything breaks pretty badly. Have had to roll back to 0.16.7 for the time being.
Apologies if I missed a readme somewhere indicating breaking changes and how to fix.
Any idea what might be causing the problem? TIA! 🙂

Reproduction please, thanks

Not sure if by accident or by design, but upgrading to 1.0.3 released in the last few hours seems to have fixed everything. Thanks!! 🙂👍


Content Suggestion: bitcoinqna.com

Link to Content: https://www.bitcoinqna.com/
Briefly Describe Content: Simple answers to the most common Bitcoin questions from new users
Suggested Section: https://bitcoin-only.com/#learning

Added
Thanks!


Provide dps_cstr for arm(raspberry pi, ...)

See topic. Nothing more to say :)

The source code and how to compile instructions are shared on this repo. Following the instructions, you can compile it for other platforms.

LOL! That's a joke :D I know how to build it but your official documentation links to this tool for a short introduction for people who HAVEN'T USED THIS BEFORE.

The intention of this tool is to provide a connection string for SDK client that doesn’t have the provisioning service support yet. Hence, major desktop platforms were considered good enough for transition. In other words, this tool wasn’t intended for devices. You may still follow the docs and use it there if that’s what you want.


Add page section price table variant

This issue is related to:

topic table
topic row

Done! https://github.com/wheelroom/wheelroom/commit/5a6b130674f4c44a41af6f27bed65679825ac20b


Current calculations

Nothing serious, but seeing as power = voltage x current, do you think you can include some additional sensors that work out the current when the power and voltage is know for a device? A specific use case is solar dashboards that monitor the amps coming in from the solar panels but it could be applied to battery/home/grid usage as well.
I know it can be done in a HA template but figured if it's not too much work it could be done here and your integration could be a bit more noob friendly.
Thanks for listening!

I'm on the fence about this one :) I'm reluctant to add too many extra things to the inputs JSON (and Influx, and database rows), especially things that don't directly come from the inverter.
I realise I'm setting a precedent for it by adding the p_pv sum, and p_grid and p_battery etc though.
I think for now stick to doing this in HA templates, and if this gets more requests in future we can revisit it? To anyone else, feel free to add a +1 if you'd want this.

No problem. Thanks for entertaining the idea at least!


[FEATURE REQUEST] allow text formatting in code blocks

It would be great to implement text formatting in Code Blocks.
Now there is no way how to highlight parts of code.

Think this will be quite difficult to implement since formatting is done dynamically via codemirror. Will interfere with the nice code formatting.

We also desire the ability to either highlight or bold text within a code block. We are currently using inline code as a workaround but we prefer to use code blocks in our documentation.

It appears that codemirror does support this feature, but I obviously do not know what complications would be faced with implementing this into BookStack editor.
https://codemirror.net/demo/variableheight.html

The above demo is simply showing variable height text. The formatting in that demo, As per all regular codemirror use cases, is dependant on the language syntax highlighting. To implement this with codemirror we'd be fighting the syntax highlighting system. We'd probably have to look at implementing an alternative alongside proper codeblock support.

I see, hrmm... not sure if it makes any difference or not, but we often don't select a language in the editor, the source code doesn't show it having a defined language.

this is a test... I want this to be BOLD

Do you think it is possible that not choosing a language could allow for other more basic formatting features?
I have tried to input  &  into the source code but it gets removed right away  :(

I hope this has not previously been sugegsted, if so please ignore this comment.
What if, instead of trying to modify the codeblock, one of the two is added:

A block editing option that behaves similar to the inline code option but results in an instant look to the code block option
Add support for monospaced fonts like courier new, san serif

I particular would be interested in this because I predominantly work with outputs from network device command lines and would like to have control what aspects of the output I can emphasize

I'm going to go ahead and close this off since there's been relatively little demand for this since the original issue was opened.

Too bad this was closed, as I too need something similar. In our documentation, it's important to show which lines of code changed at some version, or to highlight parts of code up for discussion/review. Text coloring/formatting would help us achieve that.


Added Some Mappings to VarPlayer

added  PREV_ATTACK_STYLE And AUTO_RETALIATE .

We don't add entries to this file unless they are going to be used in the core client.


docs(license): add webpack / jsfoundation license

Repo is missing the JSFoundation License

@d3viant0ne Already added by #349, do you have write access here ? Would be quite helpful for all of us... :)

Closing in favor of #349


fetch is a keyword ?

cann't use fetch as a method name of class ...

fetch is reserved keyword
https://github.com/phalcon/zephir/issues/1269


Try VerX verification tool on the Ethereum contracts

especially on

TokenNetwork and
UserDeposit

http://verx.ch/docs/quickstart.html#deployment-script
Is it possible to initialize a contract using another contract's address in VerX?

Does VerX understand mappings?

Maybe something like, once a channel ID is settled, it remains settled forever.

Nothing to be done here.


Felinid size increase & they no longer fit into duffelbags.

About the PR

Felinids are now human-size and can no longer be put into duffelbags.
Why / Balance

The scaling messes with the art & makes felinids just better mechanically than humans with no real downside beyond the cat ears.
Technical details

Removed the code that made felinids a protoitem & removed their scaling.
Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Changelog

:cl:

tweak: Felinids are human size & can no longer be put in duffelbags.

part of #7


Installation fails from vsix : Corrupt ZIP: end of central directory record signature not found

Environment data

VS Code version: VSCode-win32-x64-1.60.1
Extension version (available under the Extensions sidebar): last release from github, 2021.9.1246542782 & 2021.9.1230869389 from marketplace
OS and version: windows10
Python version (& distribution if applicable, e.g. Anaconda): None installed. I will use winpython to have a portable python, version 3.6+
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: None
Relevant/affected Python-related VS Code extensions and their versions: ms-python
Value of the python.languageServer setting: Not defined

Expected behaviour
I should be able to install the python extension on my portable vscode from the vsix only (offline).
Actual behaviour
Installation fails.
Error message :
Command 'Extension: Instal from VSIX...' resulted in an error (Corrupt ZIP: end of central directory record signature not found)
Other packages such as cpp extension, cmake extension, are successfully installed from vsix.
Steps to reproduce:

Create a portable vscode.
Dowload the ms-python vsix from github or from the marketplace.
Use Ctrl+Maj+P to open the top actions menu and select Extensions: Install from VSIX
Select the dowloaded ms-python.vsix for installation.

Logs
[2021-09-22 11:19:37.665] [renderer1] [error] ["unknown: Corrupt ZIP: end of central directory record signature not found,XHR failed","    at vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:17341","    at Array.reduce (<anonymous>)","    at g (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:17327)","    at O.joinAllSettled (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:9895)","    at async O.installExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:7440)"]
[2021-09-22 11:19:37.667] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found,XHR failed: unknown: Corrupt ZIP: end of central directory record signature not found,XHR failed
    at vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:17341
    at Array.reduce (<anonymous>)
    at g (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:17327)
    at O.joinAllSettled (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:9895)
    at async O.installExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:7440)
[2021-09-22 11:37:20.411] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 11:39:02.922] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 11:42:53.595] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 11:48:33.299] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 12:02:36.352] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 12:09:01.808] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)
[2021-09-22 12:11:12.175] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at F.downloadInstallableExtension (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:196400)
    at async F.doRun (vscode-file://vscode-app/c:/Users/panichl/MyApps/tools/VSCode-win32-x64-1.60.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:58:195377)

Related https://github.com/microsoft/vscode/issues/131022

Hi,
thanks for your time,
You hash : 024c2fb254c4baa30305c8d1794b5c022d5b9e86c7d126a3996c25728090bb80
My hash   : 024c2fb254c4baa30305c8d1794b5c022d5b9e86c7d126a3996c25728090bb80
using command sha256sum ms-python.python-2021.9.1246542782.vsix
Thanks for the link to the vscode issue.
Regarding the possibility of the plugin trying to install optional dependencies, could you provide the exact list of such dependancies. I have absolutely no network for such automatic installations in my environment but I can install those myself if necessary.

ms-toolsai.jupyter: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
ms-python.vscode-pylance: https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance

There might be a issue installing Jupyter extension, since the one that you can download from the market place is tied to Insider's version of VS Code.
There is another thing you can try is removing the optional dependency. To do this you can open up the VSIX (it is just a ZIP file), find extension.manifest in the root directory and package.json under extensions directory. Remove the lines that have the above two dependencies. Re-zip with .vsix as the extension, and try installing.

Hi,
thanks for your time,
I'm currently trying all of these on two portable VSCode version : 1.60.1 and 1.60.2
As you predicted I can't install jupyter, none of the versions of this package are compatible with my vscode...
When I try to install pylance, I get the same error about having a corrupted zip file. I guess the problem is that I have to install jupyter first.
Regarding the possibility of manually updating the package.json and the extension.manifest, I have looked into these files. "jupyter" is used at many places in package.json and I'm not sur I want to spend the time to make this work if it doesn't provide me a full installaltion of the python tools on vscode.
I'll fallback on another solution, for instance building my portable vscode on another computer and copy-past it on the computer without network. It's very impractical because I have to use this tier-computer anytime I want to update a package or install a new one but I guess my situation is too edgy to be worth the trouble.
Anyway thanks for your time and feel free to close this issue.

@lpanichi You only have to remove these lines from package.json.:


move info schema doc to general use section

Codecov Report

Merging #6678 into master will increase coverage by 0.16%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master   #6678      +/-   ##
===========================================
+ Coverage     82.84%     83%   +0.16%
- Complexity    13358   13379      +21
===========================================
  Files          1527    1527
  Lines         49692   49692
  Branches       5956    5956
===========================================
+ Hits          41168   41249      +81
+ Misses         5685    5605      -80
+ Partials       2839    2838       -1

Impacted Files
Coverage Δ
Complexity Δ

...a/io/crate/exceptions/ContextMissingException.java
81.81% <0%> (-18.19%)
1% <0%> (-1%)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...peration/collect/BatchIteratorCollectorBridge.java
65.78% <0%> (-7.9%)
2% <0%> (ø)

...io/crate/planner/operators/GroupHashAggregate.java
88.88% <0%> (-4.45%)
14% <0%> (-1%)

...e/operation/reference/sys/shard/SysAllocation.java
81.35% <0%> (-3.39%)
15% <0%> (-1%)

.../distributed/TransportDistributedResultAction.java
78.46% <0%> (-3.08%)
9% <0%> (ø)

...transport/executionphases/ExecutionPhasesTask.java
91.81% <0%> (-2.73%)
24% <0%> (ø)

...c/main/java/io/crate/metadata/RoutingProvider.java
76% <0%> (-2%)
26% <0%> (-1%)

...a/io/crate/analyze/relations/DocTableRelation.java
92.85% <0%> (-1.79%)
22% <0%> (-1%)

...c/main/java/io/crate/jobs/JobExecutionContext.java
92.24% <0%> (-1.73%)
23% <0%> (-1%)

... and 31 more

Continue to review full report at Codecov.

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


Doorbird auth and event data

Description:
Require token to be used as auth by Doorbird devices .  Add video URLs as event data to make them available to event handlers and automations.
Related issue (if applicable): #15376
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#6245
Example entry for configuration.yaml (if applicable):
doorbird:
  token: RANDOM_STRING
  devices:
    - host: x.x.x.x
      username: USERNAME
      password: PASSWORD
      name: Front Door
      monitored_conditions:
        - doorbell
        - motion

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Upon further investigation, these changes will need to be reapplied after #14933 is merged.  Closing this PR and will include auth updates on #14933.


adds task list support

This is a great PR and I want to merge it, but it looks like something conflict after I update.
Can you update this PR ? thank you very much.

yeap, will fix it 😄

Sure, will have a look on it the next days

@LeFnord Thx~

@miaolz123 … done :)


Make Resets also go back to Round 1

Since it doesn't make sense to start scoring at rounds 2 or 3.
Fixes #3

I though of also setting the "active" player to be Player 1, but I guess that's opinable - I would expect the same behaviour when switching Rounds, which also doesn't currently happen. Let me know your thoughts on that :)


Is there any plan to have these contracts audited?

Not an issue but im unsure where to ask this to the correct people.
Is there any plan to have the smart contracts audited by an external third party? It would go a long way in providing confidence to trade on the BSC and pancakeswap.

Smart contracts have been audited by CertiK; please refer to the following link: https://certik.org/projects/pancakeswap


[JENKINS-44074] Add an integration test and the maven-failsafe-plugin…

JENKINS-44074 Add an integration test and the maven-failsafe-plugin in the test “maven jar project”
See generated maven-event-spy logs and mvn build logs at https://gist.github.com/cyrille-leclerc/bc2720d141928d1f69590fb27c9a1a6c

@cyrille-leclerc Is it still required?


Writing test with Promises: Expect is not executed

Using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I am not able to create a promise test.
Here is the example:
it('should fail', () => {
        Promise.resolve("OK").then((value) => {
            console.error("debug 1: " + value); // This line is printed
            expect(value).toEqual("OK"); // This line seems to stop the execution
            console.error("debug 2: " + value); // This line is never printed
            expect(value).toEqual("NOT OK");
            console.error("debug 3");
        });
        expect("OK").toEqual("BLABLA"); // This line raise the exception (See output)
});

Output:
console.error src/MyTest.js
  debug 1: OK
  MyTest › should fail
  expect(received).toEqual(expected)
  Expected value to equal:
     "BLABLA"
  Received:
      "OK"

I have been reading about done and await but I feel I am doing something wrong.
Can someone explain this behavior please ?

You need to return a promise to make the test wait for it. Right now you are simply invoking async work but not waiting for its completion.
See http://facebook.github.io/jest/docs/tutorial-async.html#content

@t00f, promises spec states that:

onFulfilled or onRejected must not be called until the execution context stack contains only platform code. (spec)

Plus jest doing some bad magic with replacing global.Promise object in node.
So you code:

You instantiate promise (it shedules then callback to next tick)
expect("OK").toEqual("BLABLA") executed
you test case cb returned
on next loop iteration then callback executed
console.error("debug 1: " + value)
expect(value).toEqual("OK") - jest detects that expect out of context and dies

But who can describe to me, whe when I use promise implementation, behaviour inverted, and then callback executes before?


Upgrade kafka version

Just wanna get this into develop so that I can perform the merge from our kafka stuff into LinkedIn's. Most of this will probably be gone anyways, since they've implemented this logic into their kafka extractor.

looks fine. We are running 0.8.2 on our servers too right?

Yup, we upgraded our servers, which is what prompted the code change. Looks like LinkedIn is too, so that shouldn't be a problem.

Cool.
On Tue, Apr 28, 2015 at 11:17 AM, Akshay Nanavati<EMAIL_ADDRESS>wrote:

Yup, we upgraded our servers, which is what prompted the code change.
Looks like LinkedIn is too, so that shouldn't be a problem.
—
Reply to this email directly or view it on GitHub
https://github.com/NerdWallet/gobblin/pull/12#issuecomment-97160748.


Can I stream directly to VLC without the help of the server

Can I stream directly to VLC without the help of the server

Try this:
https://github.com/pedroSG94/RTSP-Server

The server works great. :)


[Bug]: Getting a lot of issues from mypy

Bug Description
Here's just a sample:
src/simbot/lib/indexes/base.py:13: error: Skipping analyzing "llama_index.embeddings.langchain.base": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/simbot/lib/indexes/base.py:166: error: Returning Any from function declared to return "ServiceContext"  [no-any-return]
src/simbot/lib/indexes/query.py:103: error: Returning Any from function declared to return "Response | StreamingResponse | AsyncStreamingResponse | PydanticResponse"  [no-any-return]
src/simbot/lib/indexes/simbuilder_examples.py:9: error: Skipping analyzing "llama_index.embeddings.langchain.base": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/simbot/lib/indexes/simbuilder_examples.py:84: error: Returning Any from function declared to return "ServiceContext"  [no-any-return]
src/simbot/lib/indexes/simbuilder_documentation.py:9: error: Skipping analyzing "llama_index.readers.web.simple_web.base": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/simbot/lib/indexes/simbuilder_documentation.py:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
src/simbot/lib/indexes/simbuilder_documentation.py:10: error: Skipping analyzing "llama_index.embeddings.langchain.base": module is installed, but missing library stubs or py.typed marker  [import-untyped]
src/simbot/lib/indexes/simbuilder_documentation.py:53: error: Returning Any from function declared to return "list[Document]"  [no-any-return]
src/simbot/lib/indexes/simbuilder_documentation.py:65: error: Returning Any from function declared to return "ServiceContext"  [no-any-return]
src/simbot/lib/indexes/mock.py:30: error: Returning Any from function declared to return "ServiceContext"  [no-any-return]

Version
llama-index-core = "^0.10.23"
llama-index-embeddings-azure-openai = "^0.1.6"
llama-index-embeddings-langchain = "^0.1.2"
mypy = "^1.3"
Steps to Reproduce
from llama_index.core import ServiceContext, SimpleDirectoryReader, VectorStoreIndex
from llama_index.embeddings.langchain.base import LangchainEmbedding

Should reproduce.
Relevant Logs/Tracbacks
No response

Correct me if I'm wrong, but isn't this mypy errors coming from your own code?

Sure but I provided a reproducible example and if you run mypy on it you'll get the same error for that import.
I'm finding it happens on anything that isn't part of llama_index.core

Ok the reason is just as it says, a lot of packages are missing py.typed. We should add that to CICD checking and add them.

Hi,
I'm also using mypy + vscode + pylance and getting same error in vscode:

Also why this issue is stale 🤔

@logan-markewich bot closed the issue???
I think there's some misconfiguration happened with bot.

The issue still persists


Set up pallet action logger

Approaching new pallets is a challenge because the information is quite hard to pin down, meaning the research phase is way longer than the development phase.
The plan is to build a test processor. The requirements are:

only runs actions involving a specified account
logs all events/extrinsics for a pallet (to a JSON file)
has a configurable chain -> run against small chain at first, then against a bigger chain (e.g. polkadot/kusama) when we are the confirmation stage

@markdavison feel free to add/edit details

It might be helpful to be able to set a block range that you want to be fetched?

It might be helpful to be able to set a block range that you want to be fetched?

added, it's an easy param to set


[Live] Live lot banner shows an empty banner when there are no open lots

It should be hidden ideally.

This was fixed @ashfurrow - we pair don it, but I can't find the PR yet?

Still on my machine >.<


Move gender to third item down

correct application of #198

Moved up graduation year. It doesnt make sense to have it separate from major question. Also added description as submitted by @carlcortright


Remove Antenna Gain from CBSD Add/Edit forms

Please adapt to changes of backend API for CBSD PUT/POST realized as part of #465

After getting feedback from @xbend closing with won't fix
cc @jpad-freedomfi


Update sylius-settings-plugin version

I added shipment weight exportation which is now required. To be improve to separate shipments from one order.


Update failure on Win10 64-bit

Hi everyone,
Attempting update with (uv self update) command to the latest version (0.5.13), failed with following error.
PS C:\Windows\system32> uv self update
info: Checking for updates...
error: error decoding response body
Caused by: there are extra bytes after body has been decompressed
O.S: windows 10 x86-64

UV's version 0.5.12, right? The self-update for this version is broken. Please refer to the comment(https://github.com/astral-sh/uv/issues/10196#issuecomment-2563857968) for the fix.

👍 There was an issue in v0.5.12. To upgrade, I recommend re-running the installer:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Subsequent self-updates should work as expected.


Feature Request: Product Inventory

Problem Description:
Currently, there is no functionality for tracking and managing the inventory of products within each company in the application.
Solution:
I would like to have a product inventory system implemented, allowing players to keep track of their company's inventory. This system should include features such as adding and removing products, setting product quantities, and managing stock levels. It would also be helpful to have notifications or alerts for low inventory levels to ensure timely restocking.
Alternatives Considered:
An alternative solution could be to have a simplified inventory system that only tracks the total number of products without detailed information. However, a more comprehensive inventory system would provide players with better control and decision-making capabilities.
Additional Context:
The product inventory feature is essential for effective resource management and planning within the game. It will enable players to optimize their production and distribution strategies based on inventory levels and market demand.

Already implemented inventory system structure.
Only need to display and being able to interact with it


[Event Request] Codeunit 5752 "Get Source Doc. Outbound", OnBeforeCreateFromSalesOrder

[Event Request] Codeunit 5752 "Get Source Doc. Outbound", OnBeforeCreateFromSalesOrder
The codeunit has integration events for all sorts of document creation, just not for the creation of sales orders. This would need to be added.
procedure CreateFromSalesOrder(SalesHeader: Record "Sales Header")
begin
    OnBeforeCreateFromSalesOrder(SalesHeader);
    ShowResult(CreateFromSalesOrderHideDialog(SalesHeader));
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateFromSalesOrder(var SalesHeader: Record "Sales Header")
begin
end;

Integration Event:
OnBeforeCreateFromSalesOrder
Signature:
var SalesHeader: Record "Sales Header"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


IVS-29 update build versioning

pass Version/Commit Hash as build arguments
update rendering of Version/Commit Hash

Looks good to me. Long awaited clean-up. I can finally say goodbye to sed for this 👍


OpExtension doesn't get handled by Compiler::parse(const Instruction &instruction)

The offending shader (below) compiles just fine with shaderc into a SPIRV binary, but the binary doesn't get picked up properly by SPIRV-Cross because a case for the OpExtension op seems to be lacking. Throwing the error "Currently no block to insert opcode".
#version 450

#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_gpu_shader_int64 : enable
#extension GL_AMD_gcn_shader : enable

void main()
{
	uint64_t v = timeAMD();
}

Currently no SPIR-V extensions other than the standard GLSL external ops are supported, and I suppose that's tripping up the parser.
Is the intention here to do reflection on the SPIR-V, or decompile back to GLSL? For the first, it should be easy to ignore unsupported extensions during parse, but for compilation to GLSL, any vendor-extension must be supported explicitly.

For my current use case it's reflection only, so having a way to tell it to skip unknown ops Should Be Fine™

Fix in flight here, parser didn't handle OpExtension: https://github.com/KhronosGroup/SPIRV-Cross/pull/144

Merged.


:bug: Fixed a bug in the documentation.

Made a the documentation clearer.

I don't think this change is necessary.


Windows: Fix filepath vs path in image.go

Signed-off-by: John Howard<EMAIL_ADDRESS>@swernli
This PR is part of the proposal described in issue 10662 to port the docker daemon to Windows. This fixes the use of path to filepath in docker\image\image.go

LGTM

LGTM

LGTM


feat: add amqp 2.0.0alpha2 release

update amqp with release 2.0.0alpha2

:tada: This PR is included in version 1.166.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Multi-times TOC are generated repeatly when markdown file has html included

Hi owners,
Thanks for the excellent plugin. I just found my table of contents are generated many times in my print page.
After debug, I found it caused by my including html several times as mkdocs supported:
--8<-- "./table_7.html"
And this plugin replace  simply. This results generate_toc() called several times.
A possible fix will be only replace the last  due to the previously ones may be included by html file.

Hi @guo1017138 , thanks for reporting this!
I've tried building a minimal example to reproduce this, but have not succeeded yet.
Some questions:

Can you share your mkdocs.yml file? Specifically the plugins and markdown_extensions you are using
Can you share an example of one of these .html files?  It is just a
 or full  page?
Are you using the latest version of mkdocs, mkdocs-material and mkdocs-print-site-plugin ?
Which OS are you using? Which version of python (python -V)

@timvink , Thank you. There are some sensitive data in the doc so I will create a demo mkdocs reproduce. Will upload the docs tar to this ticket once get reproduced.

Hi @timvink , see the following link for the sample mkdocs project archive.
I include a test.html in index.md three times which caused the TOC was generated four times in print page.
htmltest.zip

Sorry for the very late reply on this one. Finally got around to spent some time on debugging this. Your sample really helped there.
Turns out the snippets wraps content in these tags: ...
I had (wrongly) assumed  would occur only once on the print-site page.
https://github.com/timvink/mkdocs-print-site-plugin/blob/d95c78dd8c911efb00833bef026c744d0651c957/mkdocs_print_site_plugin/plugin.py#L258
There was also a second issue when enabling the instant loading feature from mkdocs-material, which I also managed to fix.
Will release the fix later today!

Fixed in v1.2.4 !


Adopt validation action incorporating case-utils 0.11.0

This patch aligns the GitHub Action's version with the version imported from PyPI.

Once CI passes, this should be good to merge.

Thanks !


Add PCR script for Azure

Add script for Azure PCR.
This script will perform

Set Customer Private Container Registry(PCR) and Azure app details on RSC
Fetch exotask image bundle
Login to Rubrik Azure Container Registry (ACR) using Azure app and store credentials in docker config
Pull images from Rubrik ACR using these credentials
Scan images (optional)
Tag and Upload images to Customer PCR

This script can be used for both AWS and Azure
Tested Manually.

Please tets once for AWs too


feat: Add a config for openedx-events annotations

Description: Adding code and config to find and document annotations used in the openedx-events repository. When run in openedx-events (see https://github.com/openedx/openedx-events/pull/318) the generated documentation looks like this:

@mariajgrimaldi thanks, the docs said that first argument was supposed to be a separator so I thought it would... do that. :) All set now.

I've attempted to ping the owning team within 2U, but haven't heard back yet. I think if another week goes by without hearing from them, we should just merge this.

@bmtcril I think we're good to merge this.


[BACKLOG-15151]-update reactor pom files

Updated reactor pom files (split properties into default, client and pmr groups);
For hdi35 added to default avro, httpclient, jackson-mapper-asl artifacts;
Updated mapr520 shim - removed transitives for unit-tests, revert hbase-related changes.

Could you @VasilinaTerehova  please review?


Delete nested field

Additional feature for record_accessor.
This is useful for several mutation plugins.
Ref #1578

@mururu Could you check this?

Looks good.


Do not global replace in pathNormalize

Proposed fix to #35

Thanks for your PR. Given the details on #35 I'm closing this for now.


Controlled tabs focus marker not working when changing tabs delayed

Environment
RMWC 5.2.1, Firefox/Chrome
Problem
When using controlled tabs and delaying changing the active tab using a dialog, the visibly focused tab doesn't change correctly. It remains as the previously active tab. The new tab must be pressed again for the focus marker to change correctly.
Example code
import React from "react";
import ReactDOM from "react-dom";
import { TabBar, Tab } from "@rmwc/tabs";
import { SimpleDialog } from "@rmwc/dialog";

import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
class App extends React.Component {
  constructor(props) {
    super(props);

    this.newTab = null;
    this.state = {
      /** The index of the currently active tab. */
      tabIndex: 0,
      /** True if the chnage tabs dialog is open. */
      changingTabs: false
    };
  }

  render() {
    return (
      <React.Fragment>
        <TabBar
          activeTabIndex={this.state.tabIndex}
          onActivate={tab => {
            // Store the new tab index for later
            this.newTab = tab.detail.index;
            // Open the dialog
            this.setState({
              changingTabs: true
            });
          }}
        >
          <Tab>Cookies</Tab>
          <Tab>Pizza</Tab>
          <Tab>Icecream</Tab>
        </TabBar>

        Selected tab: {this.state.tabIndex}

        <SimpleDialog
          title={"Switch tabs?"}
          open={this.state.changingTabs}
          acceptLabel={"Really change"}
          cancelLabel={"Don't change"}
          onClose={evt => {
            // Close the dialog
            let stateChanges = {
              changingTabs: false
            };
            // If the user pressed accept, change tabs
            if (evt.detail.action === "accept") {
              stateChanges.tabIndex = this.newTab;
            }
            this.setState(stateChanges);
          }}
        />
      </React.Fragment>
    );
  }
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

https://codesandbox.io/s/982rjv619y
In the example, a dialog pops up when trying to change a tab. If the user selects "Really change", the tab is changed. The state.tabIndex changes correctly. When looking at the tab bar however, visually the previous tab is still active.

Thanks for reporting this. Not sure whats special about controlled tabs in this specific situation but it may have to do with the dialog stealing focus. I'll look into it

fixed in 5.4.0
After fixing the bug, it exposed some errors in the logic of the example. Here is some working TS code
class Bug442 extends React.Component {
  newTab: any = null;

  state = {
    /** The index of the currently active tab. */
    tabIndex: 0,
    /** True if the chnage tabs dialog is open. */
    changingTabs: false
  };

  render() {
    return (
      <React.Fragment>
        <TabBar
          activeTabIndex={this.state.tabIndex}
          onActivate={tab => {
            // Store the new tab index for later
            if (this.newTab !== tab.detail.index) {
              this.newTab = tab.detail.index;
              // Open the dialog
              this.setState({
                changingTabs: true
              });
            }
          }}
        >
          <Tab>Cookies</Tab>
          <Tab>Pizza</Tab>
          <Tab>Icecream</Tab>
        </TabBar>
        Selected tab: {this.state.tabIndex}
        <SimpleDialog
          title={'Switch tabs?'}
          open={this.state.changingTabs}
          acceptLabel={'Really change'}
          cancelLabel={"Don't change"}
          onClose={evt => {
            // Close the dialog
            let stateChanges: any = {
              changingTabs: false
            };
            // If the user pressed accept, change tabs
            if (evt.detail.action === 'accept') {
              stateChanges.tabIndex = this.newTab;
            } else {
              this.newTab = null;
            }

            this.setState(stateChanges);
          }}
        />
      </React.Fragment>
    );
  }
}


add a section to plugin manifest for kernel to be modprobed before en…

+cleanup documentation
ping @anusha-ragunathan @tiborvass

ping @anusha-ragunathan

Most importantly, Kernel Modules should always ask user permission. It should be part of ComputePrivileges. https://github.com/docker/docker/blob/master/plugin/v2/plugin_experimental.go#L124

@anusha-ragunathan PTAL

@vieux : Can you provide output when you tested this?

What's the use-case for this?
If the plugin requires a kernel module, presumably they will have to have compiled the module for the kernel. What utility is there at that point in probing for the module?

@cpuguy83 : The use case is, when the plugin requires modprobing a kernel module that is part of the standard Linux kernel. For example, open-iscsi is the standard iSCSI initiator and the plugin would require it to modprobed, to be functional.
This is not intended to download and/or compile the module for the underlying host kernel. It is strictly to modprobe a module that exists across all kernels. If the modprobe fails, the plugin install will fail.

It's a very corner case and very low in priority. Lets close this now and reopen if there are more such usecases

Generally kernel modules autoload, I don't think you need to manually modprobe them very often at all.

Closing, as this was reopened by mistake, and it's no longer needed


Repo mount

bacalhau docker run -r https://github.com/filecoin-project/bacalhau.git ubuntu ls /inputs
mounting by using the git URI
bacalhau docker run -i git://github.com/filecoin-project/bacalhau.git ubuntu ls /inputs
or schedule only to nodes that have git-lfs installed
bacalhau docker run -i gitlfs://huggingface.co/bigscience/bloomz-560m.git ubuntu ls /inputs
Repo will be mounted at /inputs/filecoin-project/bacalhau
Since the approach of cloning a git repo every time a job is submitted is not scalable
future mounts will utilize IPFS. We query the SHA hash of the repository against a key-value store hosted at kv.bacalhau.org, which stores a key-value pair where the key is the SHA1 hash and the value is a CID. If the CID exists in the store, we mount the CID, otherwise, we clone the repository and add its value to the key-value store.
The KV store has two endpoints (for only read and write no update/delete)
get kv.bacalhau.org/ returns a {"CID":""}
post kv.bacalhau.org is where you can add in a key value (SHA1:CID) pair

It doesn't take this amount of time even for government approval and I think all the relevant changes are made and tested

@js-ts Please do not keep closing  and re-opening pull requests to get around the review system. Being able to merge PRs is a privilege and if necessary it can be removed, but I would prefer to work with you constructively to achieve the highest quality code we can.
I understand that it’s frustrating to have code waiting, but can you explain why this needed to be rushed?


CSHARP-2215: Only allow scalar value for array field where appropriate

Evergreen patch build:
https://evergreen.mongodb.com/version/5c1aa1e92fbabef758a14a3b

Forgot to mention that there are 2 commits.
The first commit prototypes the more extensive change that abandons the approach of synthesizing serializers for TValue when TValue != TField in favor of attempting to convert the value to an instance of TField and just using the field serializer.
That approach might be the more correct approach but requires more code changes and has higher risk of unexpected side effects.
The second commit undoes most of the first commit and just tweaks the current approach of synthesizing serializers but using a new boolean allowScalarValuesForArrayFields parameter to control whether scalar values for array fields are allowed.


MudDebouncedInput: Fix swallowed user input on component re-render (#7193)

Description
Follows #7159 in fixing swallowed user input.
After updating to 6.7.0 we noticed we still had issues with text disappearing on some of our debounced inputs which made me realise the issue was component refreshes in general.
This PR makes it so that MudDebouncedInputs don't update the text property unless the caller requests a Value update, or the Value property was actually changed.
I checked my use case as well as one edge case I thought of, having Clearable set to true and attempting to clear a value while there is uncommitted text, which works fine.
Let me know if you see any potential issues that you want me to write tests for, or if you have any ideas for a "safer" way to implement this.
Fixes: #7193
How Has This Been Tested?

Visually
Current tests still pass
Added a new component + accompanying unit test for the described issue, similar to #7159

Before
https://github.com/MudBlazor/MudBlazor/assets/15004223/0a94ff6c-5c18-45c8-b680-bcd479419165
After
https://github.com/MudBlazor/MudBlazor/assets/15004223/c7fd18fd-40e8-4adf-b49f-2be2dd3eb761
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Did you test this with WASM or with BSS? Usually such issues behave differently on these architectures, so it is important to make sure they are tested on both.

@henon WASM only. Just gave it a spin and seems like this wasn't an issue on BSS to begin with, due to TextUpdateSuppression from MudBaseInput:

I tested my test component within the MudBlazor.Docs.Server project, including the Clearable variation, which (now) behaves identical to the WASM version.
I'll run some more thorough tests tomorrow (including on MudNumericField) just to be sure though!

@henon FYI:

added more pre fix failing tests (MudTextField & MudNumericField)

fixed a regression that spawned from my changes (default values provided to a component would not apply to the Text property and hence not be rendered in the input)
added tests to cover that regression

As for BSS, this is the behaviour I observed:

pre fix with TextUpdateSuppression="true", does not swallow user input on re-render, but does not update text after debounce (i.e. to apply a new Culture or Format if they change while the user is typing)
pre fix with TextUpdateSuppresion="false", swallows user input on re-render, behaves exactly as WASM pre fix as far as I can tell
post fix with TextUpdateSuppression="true", as far as I can tell, exactly the same behaviour as 1., i.e. no text update after debounce to apply new Culture, Format, or other
post fix with TextUpdateSuppression="false", as far as I can tell, exactly the same behaviour as WASM post fix, i.e. does update text after debounce to apply Culture, ...

I have a feeling TextUpdateSuppression and this PR are fixes for similar issues in BSS and WASM but I'm not sure that this PR covers all of the issues TextUpdateSuppression aims to fix. We don't really work with BSS at work currently so I have limited experience with it, and essentially none using MudBlazor.
Let me know if there's anything you want me to mess around with further or if there are any other potential issues you (anyone reading this) can come up with!

TextUpdateSuppression should fix a problem on BSS where writing really fast would lead to swallowed characters for undebounced text fields. The problem with BSS is that there is a lag between the user typing and the server processing it that can cause swallowed characters. This essentially also makes our input mask implementation unreliable in BSS.

I love that you were able to write tests for this issue because I never managed to write any tests for TextUpdateSuppression, it simply didn't happen in bUnit. So I guess the issue may be similar but is also quite different in a way.

Thank you very much @igotinfected , clearly a lot of effort went into this PR.


Close reasons

Add support for differentiating between different types of WebSocket closures by passing code and reason values to ws.close(). This is helpful, because a client may wish to perform different reconnection logic depending on the reason for disconnection.
In particular, it is useful to be able to differentiate intentional disconnections where the server wishes to indicate to the client that it should not reconnect at all or the client should delay for a more extended time before it reconnects. If, for example, a client's application version is no longer supported, the server may wish to disconnect with a reason that indicates the client should not attempt reconnection and it should refresh or update its code first.
In addition, this PR includes a full shim of Node's stream.destroy(), borrowed from current master of Node. The minimal shim was not consistent with the current implementation of stream.destroy() in Node 8+, particularly because it didn't emit passed in errors as an 'error' event. If we're shimming this, I believe we should use the full implementation from current Node for more consistency in API.
Including a shim of stream.destroy() is a key part of this PR, since it now produces a different close code than stream.end()

Coverage decreased (-26.0%) to 72.222% when pulling a6d662ac2a6f9fe0db320c1b8220edee80b3f3d3 on nateps:close-reasons into 95638d8201a1fd0cd72ea0efaf11bec0d6280885 on Teamwork:master.

Regarding coverage testing, Coveralls is not reporting the same output as Istanbul anymore. They made some changes in Coveralls 3.0, and branch coverage is computed within ignored statements.
See output from Travis build showing coverage (with ignores) is 100%: https://travis-ci.org/Teamwork/websocket-json-stream/jobs/408183093
Apparently this can be worked around by downgrading the version of coveralls or by turning off the branch coverage setting for the repo:
https://github.com/lemurheavy/coveralls-public/issues/939
https://github.com/nickmerwin/node-coveralls/issues/158#issuecomment-286318287

Awesome. Thanks for the review!
On Thu, Jul 26, 2018 at 4:59 AM, Greg Kubisa<EMAIL_ADDRESS>wrote:

Merged #1 https://github.com/Teamwork/websocket-json-stream/pull/1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Teamwork/websocket-json-stream/pull/1#event-1754835341,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOLNCPhXMTob7cxyfHMjr1DCOBKIq5nks5uKa8pgaJpZM4VfcrQ
.


Feat: Use GitHub API to get accurate Data.

What feature?
I think we should automate some things, actually most of the things like,

User data should be on the profile page meaning including bio, but the user does not need to add the bio, we will get it from GitHub using GitHub API.

Same goes for the repos he adds, he only needs to add the correct repo name and then we will fetch the rest of the details.

We can get the languages used to build that repo.

We can also fetch user's social media account, eliminating the need of user adding their account manually

The below are the responses from the API.
delete issue :( number, I forgot to add the title
#1118
Add screenshots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

yes. someone is working on this same feature(redesigning the profile page)


Profiling tool: Add support for health check.

This PR adds these features:
list Failed - Jobs, Stages and Tasks
list - RemovedBlockManager()
list - RemovedExecutors()
list - PossibleUnsupportedSQLPlan()
This PR is mainly to include the health related metrics/information of the cluster.
Added new eventlogs which have failed stages, tasks and exectuors removed.
Added tests to validate the API's.

build


Support for ESP32-C6

When the ESP32-C6 will be supported?

Hello, I am interested in this question. I am developing a device with espc6 and would like to use the matter protocol

Add me to that list... Any chance this might work as is? Has anyone else tried it? I seem to get a few missing file errors, but it's likely I'm just following the instructions right... Additionally I'm using the 3.0 ESP beta core libs (for C6 support). Would it help if I compiled esp32-arduino-matter-builder on my own machine?
Any info will be greatly appreciated. Thanks.

+1 for this. Would greatly appreciate this support!


Zlib generated fails does not include proper compression header

The generated fine does not include the referred compression level.
It should looks like:
Level | ZLIB  | GZIP
  1   | 78 01 | 1F 8B
  2   | 78 5E | 1F 8B
  3   | 78 5E | 1F 8B
  4   | 78 5E | 1F 8B
  5   | 78 5E | 1F 8B
  6   | 78 9C | 1F 8B
  7   | 78 DA | 1F 8B
  8   | 78 DA | 1F 8B
  9   | 78 DA | 1F 8B

However, the second byte is always 0x01. This happens using the default feature. Using zlib backend it works as expected.

Thanks for the report! I think though that this isn't an issue with this library? This library is largely just multiplexing multiple implementations of zlib/deflate, so this would likely be best reported to the respective backends?

Thanks for the report! I think though that this isn't an issue with this library? This library is largely just multiplexing multiple implementations of zlib/deflate, so this would likely be best reported to the respective backends?

You mean the miniz_oxide?

Reported at https://github.com/Frommi/miniz_oxide/issues/65


kernel_binary_flowgraph.cc: 4485: error: expected: procedure_helper.forwarding_stub_super_target_ != -1

The precompiler is failing on two tests
corelib_2/growable_list_test
language_2/extract_type_arguments_test
The backtrace from these tests
DART_CONFIGURATION=DebugX64 DART_VM_FLAGS=--limit-ints-to-64-bits /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/pkg/vm/tool/gen_kernel --aot --strong-mode --sync-async --platform=out/DebugX64/vm_platform_strong.dill -o /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/out/DebugX64/generated_compilations/dartkp-strong/tests_corelib_2_growable_list_test/out.dill --entry-points out/DebugX64/gen/runtime/bin/precompiler_entry_points.json --entry-points /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/pkg/vm/lib/transformations/type_flow/entry_points_extra.json --entry-points /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/pkg/vm/lib/transformations/type_flow/entry_points_extra_standalone.json /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/tests/corelib_2/growable_list_test.dart
exit code:
0
--- Command "precompiler" (took 35.000505s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart_bootstrap --snapshot-kind=app-aot --snapshot=/b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/out/DebugX64/generated_compilations/dartkp-strong/tests_corelib_2_growable_list_test/out.S --strong --preview-dart-2 --no-enable-malloc-hooks --reify-generic-functions --limit-ints-to-64-bits --sync-async --ignore-unrecognized-flags --packages=/b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/.packages /b/build/slave/vm-kernel-precomp-linux-debug-x64-6-8-be/build/sdk/out/DebugX64/generated_compilations/dartkp-strong/tests_corelib_2_growable_list_test/out.dill
exit code:
-6
stderr:
../../runtime/vm/compiler/frontend/kernel_binary_flowgraph.cc: 4485: error: expected: procedure_helper.forwarding_stub_super_target_ != -1
Dumping native stack trace for thread 6fef
  [0x0000000000e519df] dart::Profiler::DumpStackTrace(void*)
  [0x0000000000e519df] dart::Profiler::DumpStackTrace(void*)
  [0x00000000011639c6] dart::DynamicAssertionHelper::Fail(char const*, ...)
  [0x000000000108bf7f] dart::kernel::StreamingFlowGraphBuilder::ReadUntilFunctionNode(dart::ParsedFunction*)
  [0x00000000010a0fa0] dart::kernel::StreamingFlowGraphBuilder::BuildGraph(long)
  [0x00000000010c62de] dart::kernel::FlowGraphBuilder::BuildGraph()
  [0x00000000010fe344] dart::DartCompilationPipeline::BuildFlowGraph(dart::Zone*, dart::ParsedFunction*, dart::ZoneGrowableArray<dart::ICData const*> const&, long, bool)
  [0x0000000000f5c672] dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)
  [0x0000000000f607d5] Unknown symbol
  [0x0000000000f59bd9] dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&, dart::DirectChainedHashMap<dart::FieldTypePair>*)
  [0x0000000000f58885] dart::Precompiler::ProcessFunction(dart::Function const&)
  [0x0000000000f51c21] dart::Precompiler::Iterate()
  [0x0000000000f4e000] dart::Precompiler::DoCompileAll(Dart_QualifiedFunctionName*)
  [0x0000000000f4dd2d] dart::Precompiler::CompileAll(Dart_QualifiedFunctionName*)
  [0x00000000011574e5] Dart_Precompile
  [0x0000000000a17597] dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)
  [0x0000000000a1854b] dart::bin::main(int, char**)
  [0x0000000000a18e09] Unknown symbol
-- End of DumpStackTrace

I think this crash started happening after 7d5025e814fa4716fb8c6a4c104ea1c28d578911 landed. I recommended to Samir to revert the change until the cause has been identified. The revert landed in 24dd9b4176ec9d8694ba89cfa07e503f9c53a35d . Though during US time this got re-landed (for some reason) via 2765fcf2aecd3841d082fedaeafc00a73a965f8c .
Maybe @sjindel-google is a better owner for this?

I don't believe this is caused by my code, because these tests are still crashing after my revision which appeared to cause it was reverted.

I don't see this.  I see them failing after the original commit, stopping after it is reverted, the crashes resuming after the revert is reverted, the crashes continuing but being green after the status file is modified, the crashes stopping (and the builder turning red) after the revert of the revert is reverted.
Which build has the code reverted, but still has the crashes?

The crashes are still reproducing on the tip of master.

The crashes aren't happening on the builder at tip-of-tree.  It is red because it is expecting a crash and not seeing it.  Which configuration reproduces the crashes? The builder is at https://ci.chromium.org/buildbot/client.dart/vm-kernel-precomp-linux-debug-x64-5-8-be/

This is not a priority right now because we can't re-land the broken code which implements behavior that breaks Mockito. However, the crash suggests that there may be a deeper issue which could be reproduced without that change. We should investigate this further at some point.


OAK-9392: Improve resilience when primary becomes unavailable

Introduces a new configuration that sets a socket timeout for operations on the clusterNodes collection.
Default is up for discussion. Initially I set it to 30 seconds.

I consider this issue MongoDocumentStore specific, based on how the MongoDB Java driver interacts with the replica-set. I don't know whether a similar problem exists for RDB, but it would probably depend on the JDBC driver.


Updated option for training with onnxruntime training to '--ort'

What does this PR do?

Updated option to run with onnxruntime training from --ortmodule to --ort
Refactored code around deepspeed so that ort support doesn't require changes to deepspeed api

Could you check with PMs to see if we have agreed on the naming?
I like --ort, as it's in the same pattern as --deepspeed.


Migrate e2e test for Kubernetes Workload to Go

Proposal
Relates to https://github.com/kedacore/keda/issues/2357, https://github.com/kedacore/keda/issues/2737.
Use-Case
No response
Anything else?
No response

Hi @tomkerkhove I'd like to work on this one if no one's working on it already.

Hi @tomkerkhove I'd like to work on this one if no one's working on it already.

Awesome, thank you @Ritikaa96!


merge with hashi_vault in core ansible

super plugin thank-you are you also aware of https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/lookup/hashi_vault.py merging yours into core ansible would be a huge win IMO

Thanks @dch!
Quoting myself from the vault mailing list.
I submitted a PR which gives the same functionality without dependencies https://github.com/ansible/ansible/pull/13907 It's tagged for the 2.1 milestone. I might update the PR with support for dynamic secrets but that will break compatibility with earlier 2.0 versions. I believe it's better to have the module outside core, it allow frequent updates and better flexibility since the module can be included in your config repo.


Can it work with RavenDB Embedded

Can this plugin work with RavenDB Embedded version?
Thanks

Yes, there is no difference between the Embedded vs the Regular version of RavenDB.
However, this library will not instantiate the embedded version for you. You would need to instantiate the RavenDB server first and then provide the connection string to this sink.

Great.
One more question, is it possible to send logs in batches with delay or something similar?
Or I need to implement that by myself?

By default, the sink batches 50 events over 2 seconds before sending to RavenDB. There are two parameters (batchPostingLimit for how many events, and period for maximum wait) to control this. You can provide them as desired.

Oh, I didn't look at doc carefully. Thank you

No worries! Glad I could help!

Hey, I one more question :)
I would like to use the same database for application and for logging. Do you think, that could cause some problems?

There are no problems with that, as long as you don't use the same collection for both events and application data. This sink will store log entries under the LogEvents collection, so as long as you didn't use that collection, you would be fine.
However, I would recommend two separate databases on the same server (which you can do with embedded as well), just for ease of query and separation of concerns.

OK, that's it for now.
Thank you for really fast responses :)


Don't fail  on relabeling if selinux is permissive

What this PR does / why we need it:
We continue kubevirt if we can't install our policies when selinux is
permissive. As a consequence we also have to treat relabel attempts
gracefully when selinux is  permissive.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #5736
Special notes for your reviewer:
Release note:

Don't fail on failed selinux relabel attempts if selinux is permissive

/cc @xpivarc

/approve

/lgtm

/lgtm
/retest


Ubuntu 14.04, Digitalocean - VM kernel panic

Running on
prox@test:~/zulip$ lsb_release -d
Description:	Ubuntu 14.04.3 LTS
How it looks in terminal - https://www.dropbox.com/s/0ezckuzslxj6pxm/Screenshot 2015-09-27 13.53.13.png?dl=0
How it looks in virtualbox - https://www.dropbox.com/s/93u22czp9ncehmu/Screenshot 2015-09-27 13.53.53.png?dl=0
prox@test:~/zulip$ vagrant ssh -- -L9991:localhost:9991
VM must be running to open SSH connection. Run vagrant up
to start the virtual machine.

Which digitalocean machine type were you using?  Could be you don't have enough memory.

It also looks like you're using VirtualBox inside an already-virtualized environment. Can you use the LXC provider for Vagrant instead?

Note that you'll also need to switch the vagrant box name in order to use LXC, if you go that route. use fgrehm/trusty64-lxc.
@lfaraone If a user has a dedicated ubuntu vm, could they just skip vagrant and use the provisioning script from the Vagrantfile?:
sudo git clone https://github.com/zulip/zulip.git /srv/zulip
sudo apt-get update
sudo apt-get install -y python-pbs
python /srv/zulip/provision.py

Yes, that should work (we do basically that in the .travis.yml file)

@ccope @lfaraone is the problem here that our "vagrant up" instructions should include "--provider=LXC" or something?

@timabbott:

our "vagrant up" instructions should include "--provider=LXC" or something?
Well, we'll fall back to VirtualBox if you didn't install vagrant-lxc-plugin.

@cam:

If a user has a dedicated ubuntu vm, could they just skip vagrant and use the provisioning script from the Vagrantfile?:
Yes.

If you want to support LXC, you'll need to add a section to the vagrant configuration to override the box name.
config.vm.provider "lxc" do |lxc, override|
  override.vm.box = "fgrehm/trusty64-lxc"
end

@ccope this is our Vagrantfile, which I think already does that: https://github.com/zulip/zulip/blob/master/Vagrantfile

Oh hey, whaddya know, I missed it. I'm used to Vagrantfiles defaulting to Virtualbox and having overrides for lxc, not the other way around.

@ccope
config.vm.provider "lxc" do |lxc, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
Solved it.
Here's how the file looks after edits.
https://www.dropbox.com/s/z3evf4jxbljpqoy/Screenshot 2015-10-01 16.46.41.png?dl=0
"Which digitalocean machine type were you using? Could be you don't have enough memory."
Ubuntu box with 512 ram

@Jenso OK just FYI 512MB of RAM is lower than we recommend right now (see #32 for discussion of how we can improve this), so you may experience OOM issues if you try running a server with that little RAM in production.


Is it about Typescript types completion plan?

The official documentation is not detailed enough, if there is detail for types file,this will be of great help to developers.

We will try our best to improve the document, welcome to help us improve the document together.

I found this library - https://www.npmjs.com/package/tronweb.types


Missing definition

Version 5.3.0.
In the file SX127x.cpp in function startReceive() missing definition of variable 'modem'.
After line 457
int16_t state = setMode(SX127X_STANDBY);
have to add a line
int16_t modem = getActiveModem();

Fixed in update 5.3.1, thanks for reporting it.


Add cause to business error messages

Coverage decreased (-5.1%) to 88.16% when pulling 3bb39d844440d072710b90a1ceea9ac12e88b701 on SAP:improve_errors into 266d6542ff481a9c2150a5fcf2bfe4f976ad39e0 on cloudfoundry-incubator:master.

Coverage decreased (-5.1%) to 88.16% when pulling 3bb39d844440d072710b90a1ceea9ac12e88b701 on SAP:improve_errors into 266d6542ff481a9c2150a5fcf2bfe4f976ad39e0 on cloudfoundry-incubator:master.

Coverage decreased (-0.03%) to 93.247% when pulling 03a80f0eab7b25726f71e91db160619a14d95f8a on SAP:improve_errors into 266d6542ff481a9c2150a5fcf2bfe4f976ad39e0 on cloudfoundry-incubator:master.

Coverage decreased (-5.1%) to 88.137% when pulling 03a80f0eab7b25726f71e91db160619a14d95f8a on SAP:improve_errors into 266d6542ff481a9c2150a5fcf2bfe4f976ad39e0 on cloudfoundry-incubator:master.


Command not printed for list-tests target

Command itself is not printed for list-tests Makefile target.

tbh, I do not see the difference withthe "@" but you know better...

cool did not know that.ty!


use gray font to distinguish acknowledged triggers

when both acknowledged and un-acknowledged triggers are displayed, it is not very clear to see the difference.
this patch gray out the acknowledged ones to enable end users ignore them easily.

@xiaohuiz Can you attach some screenshots?

as in the picture, with this patch, on can easy say the first one is acknowledged(somebody has already take care of it) and others not:

@xiaohuiz Looks good


fix(sumologicexporter): deduplicate error messages

Refs: SUMO-185930

@pmalek-sumo so maybe we should add counter to the errors, so we won't loose this information

@pmalek-sumo so maybe we should add counter to the errors, so we won't loose this information

I like this idea. We can use a format like {error_message} (x{error_count}), which I think is both clear and compact.

@pmalek-sumo so maybe we should add counter to the errors, so we won't loose this information

I like this idea. We can use a format like {error_message} (x{error_count}), which I think is both clear and compact.

I agree, will implement this.

Implemented counting errors in https://github.com/SumoLogic/sumologic-otel-collector/pull/446/commits/704dc75d507e29a1555c4b64782d1acf85c791c9, please review @pmalek-sumo @sumo-drosiek @swiatekm-sumo


Python: Fix submit_chain to work with all logs

This is done by making it use verify.create_key_info_from_raw_key
which can cope with RSA and ECDSA key.

LGTM, if Travis agrees.