feature/add-Model-Selection-UI-part

Closes #  11
📑 Description

I've added a few lines of code and now we are able to use all Mistral models if specified furthur in the future code.

✅ Checks

[✅] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[✅] All the tests have passed
[✅ ] Branch name follows type/descript (e.g. feature/add-llm-agents)
[✅ ] Ready for code review

ℹ Additional Information

Question: @Algoroxyolo did you ever test using local GPU?

currently the demo are not ready to use now. When we fixed all the features and released a version, we switch to litellm.

I think we need both api-based and local infernce-based method for testing. Can @Jasonqi146 help with this more?

Yes, I'm happy to contribute more. So @Algoroxyolo , Sotopia has a set of API that supports their original UI, so we are planning to migrate their API here. What we will be doing here in the HF repo would be eventually calling APIs exposed by a Sotopia service.

Thanks, the local model loading still needs to be fixed. I think it is enough for this PR. We can create further PR for API.

Can you resolve the conflict and be ready to merge? We can create new issues for other things.

One more thing, can you remove pycache


TabularExplainer doesn't work for some data transformer

I am working with the employee attrition dataset and I realized that if I change the data transformation a bit (e.g. make the OneHotEncoder() drops the first column), I will get a dimension mismatch error when call explainer.explain_global(x_test), I guess there is a bug when internally transform the input x_train and x_test, which are raw features? Below is the code snippet:
from sklearn.compose import ColumnTransformer

# We create the preprocessing pipelines for both numeric and categorical data.
numeric_transformer = Pipeline(steps=[
    ('imputer', SimpleImputer(strategy='median')),
    ('scaler', StandardScaler())])

categorical_transformer = Pipeline(steps=[
    ('imputer', SimpleImputer(strategy='constant', fill_value='missing')),
    ('onehot', OneHotEncoder(handle_unknown='error',drop='first'))])

transformations = ColumnTransformer(
    transformers=[
        ('num', numeric_transformer, numerical),
        ('cat', categorical_transformer, categorical)])

# Append classifier to preprocessing pipeline.
# Now we have a full prediction pipeline.
clf = Pipeline(steps=[('preprocessor', transformations),
                      ('classifier', LGBMClassifier())])

clf.fit(x_train, y_train)

explainer = TabularExplainer(clf.steps[-1][1],
                             initialization_examples=x_train,
                             features=attritionXData.columns,
                             classes=['Leaving', 'Staying'],
                             transformations=transformations)

global_explanation = explainer.explain_global(x_test)

It works well with default OneHotEncoder without dropping the first column, I tested it on both version 0.17.2 and 0.16.0 (if upgrade azureml-contrib-interpret, will downgrade this package)
Let me know if I am doing something wrong.

@heimengqi azureml-contrib-interpret is deprecated/removed, please use azureml-interpret package instead (what specifically are you using from that package?).

@heimengqi
"if I change the data transformation a bit (e.g. make the OneHotEncoder() drops the first column), I will get a dimension mismatch error when call explainer.explain_global(x_test)"
it looks like this mapper for OneHotEncoder needs to be updated to support this "drop" case:
https://github.com/interpretml/interpret-community/blob/master/python/interpret_community/_internal/raw_explain/feature_mappers.py#L204

@heimengqi are you blocked on this issue right now? it should be a simple feature to add.  otherwise you can create a custom feature mapper, but it might be easier to just update the code in interpret-community for this supported transformation.

%pip uninstall interpret-community -y
%pip install --upgrade interpret-community[visualization]
%pip install --upgrade azureml-interpret
%pip install --upgrade azureml-contrib-interpret
%pip install econml

Chris shared a notebook with me with these dependence update at the beginning, maybe it's out of date. I am also a bit confused about those different packages, they all look similar. In order to run TabularExplainer, only install  interpret-community is enough now?

@heimengqi yes, you only need interpret-community for TabularExplainer.  If you want to upload/download explanations, create a scoring explainer or use the MimicWrapper you can use azureml-interpret for that.

@heimengqi you shouldn't need azureml-contrib-interpret package for anything anymore.  It was deprecated almost a year ago and removed a couple months ago (it's no longer updated on pypi).

Cool thanks! Not completely blocked,  I could see alternatives for now, but it would be great if we support this eventually.

closing issue as fix has been merged


aurelia-dialog no longer works with out-of-band v2.0.0

@jsobell commented on Tue May 24 2016
The body of dialogues sourced from aurelia-dialog are now empty.
I assume we need a 2.0.0 of aurelia-dialog too?

@EisenbergEffect commented on Tue May 24 2016
None of the plugins have been updated to the new shadow dom implementation since it's out-of-band and we don't want to break everyone on that. For now, you can fix the issue by diving into the source of the dialog's html files and changing each <content> element to a <slot> element. The dialog.html uses select which isn't part of the spec, but you could just replace those three with a single <slot> because that should work as long as you put your header, body footer in the right order, which makes sense anyway.

@jedd-ahyoung We will need to update this to the new slots implementation soon. Lets work to resolve the remaining issues in dialog first, then I can do a quick update and test of slots for dialog. Let me know when you think you are ready for that.

Updated to slots.


Infeasible incorrectly reported as unbounded

Mosek is failing JuMP's unit test:
using JuMP, Mosek

m2 = Model(solver=MosekSolver())

@variable(m2, x2 >= 0)
@constraint(m2, x2 <= 1)
@objective(m2, Max, x2)
@constraint(m2, c2, norm(x2) <= x2 - 1)

status = solve(m2)

The problem is infeasible but Mosek <IP_ADDRESS> reports unbounded. The test used to pass with Mosek 7.

@mlubin Is there an easy way to generate MOSEK .task files from JuMP?  That makes MOSEK support much easier, as we can then reproduce the solver problem directly using the MOSEK CLI.

@joachimdahl, yes:
using JuMP, Mosek

m2 = Model(solver=MosekSolver())

@variable(m2, x2 >= 0)
@constraint(m2, x2 <= 1)
@objective(m2, Max, x2)
@constraint(m2, c2, norm(x2) <= x2 - 1)

JuMP.build(m2)
Mosek.writedata(internalmodel(m2).task,"problem.task")

There is a bug that will be fixed in the next version 8. It should be
available today or within the next few days. Keep an eye on website or
twitter.
2016-08-26 17:27 GMT+02:00 Miles Lubin<EMAIL_ADDRESS>
@joachimdahl https://github.com/joachimdahl, yes:
using JuMP, Mosek
m2 = Model(solver=MosekSolver())
@variable(m2, x2 >= 0)@constraint(m2, x2 <= 1)@objective(m2, Max, x2)@constraint(m2, c2, norm(x2) <= x2 - 1)
JuMP.build(m2)
Mosek.writedata(internalmodel(m2).task,"problem.task")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaOpt/Mosek.jl/issues/94#issuecomment-242767459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwCcVAIAT2SllETv7DL-h88vPDkH0sjks5qjwX_gaJpZM4JtuEn
.

New version 8 is now available from our website.
2016-08-29 10:21 GMT+02:00 Erling Andersen<EMAIL_ADDRESS>
There is a bug that will be fixed in the next version 8. It should be
available today or within the next few days. Keep an eye on website or
twitter.
2016-08-26 17:27 GMT+02:00 Miles Lubin<EMAIL_ADDRESS>
@joachimdahl https://github.com/joachimdahl, yes:
using JuMP, Mosek
m2 = Model(solver=MosekSolver())
@variable(m2, x2 >= 0)@constraint(m2, x2 <= 1)@objective(m2, Max, x2)@constraint(m2, c2, norm(x2) <= x2 - 1)
JuMP.build(m2)
Mosek.writedata(internalmodel(m2).task,"problem.task")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaOpt/Mosek.jl/issues/94#issuecomment-242767459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwCcVAIAT2SllETv7DL-h88vPDkH0sjks5qjwX_gaJpZM4JtuEn
.

I just tested on <IP_ADDRESS>(Beta) and the solver reports Infeasible


check if user is following me

I am logged in and I am calling insta.Profiles.ByName(account) of another user.
I would like to know if that user is following me or not.
user, err := insta.Profiles.ByName(account)
// user.Sync()
fmt.Printf("friendship=%+v\n", user.Friendship)

While I know for sure the user is following me the friendship looks like this:
friendship={IncomingRequest:false FollowedBy:false OutgoingRequest:false Following:false Blocking:false IsPrivate:false Muting:false IsMutingReel:false}

What am I missing? Shouldn't it have Following:true?
Also: While it does not seem to affect the friendship I am not sure whether I need to call Sync() or not.

You can use FriendShip
We don't set FriendShip call by default when you got a user because Instagram blocks if you do x requests in a row in a minute.
Sorry for the delay. If you want to solve a question fastly you can contact me in telegram at @themester

@themester Sync and FriendShip now that's confusing. But I got it working now. Thanks!

@tcurdt Sync is used to get new user info. This function have been implemented because in most calls you got a partial information of user. For example when you got Stories from any user, the User inside the Items does not have complete fields filled. In this case to fill all fields you can use Sync.

@themester The idea is clear - just not when to use what. I tried Sync and expected that FriendShip also gets filled. It didn't even cross my mind to search for another function that fills just the FriendShip field.

Um, thats true but I marked the problem before. If you want to get 100 users you are going to make 200 requests, 2 per user and this method waste your requests per minute.

We are thinking to make a minimal or commfortable API (in a subpackage) with the intention to reduce the fields in the structures and make a more easy API. This package will be useful if you want to make simple things like get new user feed media. You don't want to know VideoDuration or HasSharedToFb you just want to download the media and know if there are any new media.

@tcurdt Good idea. I am going to think how to implement something like this. Thanks for your contribution!


removed commented codeline, added PASSIVE_TARIFF_UPDATED (unclear whi…

…ch dsmr event this is), SLIM-496

This pull request makes the build fail.

All is well.


Change file and class name for dump test.

Using the standard nameing convention for test, so that
it will be easy for CI/CR to track and run the tests.
Signed-off-by: Hariharan T.S<EMAIL_ADDRESS>

@Pavithra1602 May I request you to review this patch.

@harihare seems a good idea, are you still pursuing this , if yes can you please send PR as rebase require

@harihare rebase


RAC TagGroup within a GridList item causes a crash in 1.3.0

Provide a general summary of the issue here
TagGroup within a GridList item causes a crash in 1.3.0. Perhaps related to Collection or virtualization changes?
🤔 Expected Behavior?
<GridList>
  <GridListItem>
    Item
    <TagGroup>
      <TagList>
        <Tag>Tag</Tag>
      </TagList>
    </TagGroup>
  </GridListItem>
</GridList>

Renders fine in 1.3.0 like it did in 1.2.0.
😯 Current Behavior
Crashes the page with multiple errors.
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
https://stackblitz.com/edit/vitejs-vite-mj3bm2
Version
1.3.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Likely similar to https://github.com/adobe/react-spectrum/issues/6753, the ListStateContext may need to be cleared.

This should be fixed in v1.3.1.

Thanks for the quick turnaround!


[audioplayers_web] Error: "@staticInterop" classes should not contain any generative constructors

Checklist

[x] I read the troubleshooting guide before raising this issue
[x] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
Building web application fails with this error: Error: "@staticInterop" classes should not contain any generative constructors.(Full error below)
The odd part is that  this error only occurs when I'm trying to deploy on Vercel, not when I'm building it locally. I have no idea what the difference in the environment is but Vercel builds the application just as I would locally. (More below at Steps to reproduce)
When searching this error, I found this issue: https://github.com/flutter/flutter/issues/115988, which says one should use external factory ... instead of external ..., which is thecase in web_audio_js.
To test this solution, I forked the repo and applied these changes: https://github.com/JonasJW/audioplayers/blob/main/packages/audioplayers_web/lib/web_audio_js.dart
Using my fork, the errors are fixed.
../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:8:12:
--
22:32:48.873 | Error: `@staticInterop` classes should not contain any generative constructors.
22:32:48.873 | external JsAudioContext();
22:32:48.873 | ^
22:32:48.873 | ../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:24:12:
22:32:48.873 | Error: `@staticInterop` classes should not contain any generative constructors.
22:32:48.873 | external AudioNode();
22:32:48.873 | ^
22:32:48.874 | ../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:34:12:
22:32:48.874 | Error: `@staticInterop` classes should not contain any generative constructors.
22:32:48.874 | external AudioParam();
22:32:48.874 | ^
22:32:48.874 | ../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:44:12:
22:32:48.874 | Error: `@staticInterop` classes should not contain any generative constructors.
22:32:48.874 | external StereoPannerNode();
22:32:48.874 | ^
22:32:48.874 | ../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:54:12:
22:32:48.874 | Error: `@staticInterop` classes should not contain any generative constructors.
22:32:48.874 | external MediaElementAudioSourceNode();
22:32:48.874 | ^
22:32:48.874 | Error: Compilation failed.
22:32:48.874 |
22:32:48.874 | #0      Dart2JSTarget.build (package:flutter_tools/src/build_system/targets/web.dart:237:7)
22:32:48.875 | <asynchronous suspension>
22:32:48.875 | #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
22:32:48.875 | <asynchronous suspension>
22:32:48.875 | #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
22:32:48.875 | <asynchronous suspension>
22:32:48.875 | #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
22:32:48.876 | <asynchronous suspension>
22:32:48.876 | #4      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
22:32:48.876 | <asynchronous suspension>
22:32:48.876 | #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
22:32:48.876 | <asynchronous suspension>
22:32:48.876 | #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
22:32:48.876 | <asynchronous suspension>
22:32:48.876 | #7      buildWeb (package:flutter_tools/src/web/compile.dart:54:32)
22:32:48.876 | <asynchronous suspension>
22:32:48.877 | #8      BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:139:5)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
22:32:48.877 | <asynchronous suspension>
22:32:48.877 | #15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
22:32:48.877 | <asynchronous suspension>
22:32:48.878 | #16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
22:32:48.878 | <asynchronous suspension>
22:32:48.878 | #17     main (package:flutter_tools/executable.dart:91:3)
22:32:48.878 | <asynchronous suspension>
22:32:48.878 |
22:32:48.878 | Compiling lib/main_platform.dart for the Web...                    19.6s
22:32:48.878 | Exception: Failed to compile application for the Web.
22:32:48.896 | Error: Command "flutter/bin/flutter build web —release -t lib/main_platform.dart --web-renderer=canvaskit" exited with 1

Expected behaviour
Build successfully
Steps to reproduce
As mentioned I don't encounter this error locally but only when deploying my web application on vercel.
To deploy a flutter application on vercel you provide access to the github repo and enter an install and build command.
Install command: if cd flutter; then git pull && cd .. ; else git clone https://github.com/flutter/flutter.git; fi && ls && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web
Build command: flutter/bin/flutter build web —release --web-renderer=canvaskit
As you can see, it installs flutter first, then builds the web application. Unfortunatly, I do not understand why this error only occurs on Vercel but I could not reproduce it when building locally.
Never the less, I still think this is an issue worth fixing with a simple fix as provided above.
I'm happy to create a PR with the fix.

Doesn't seem like there is any downside to changing that?

I'm happy to create a PR with the fix.
Sounds good!

I think this has to do with the dart version, but despite the description in flutter/flutter#115988 it does not occur in the current stable branch of flutter, as it is still using 2.18 or something. The limitation was introduced in 2.19.0-319.0.dev
https://github.com/dart-lang/sdk/commit/b6526beeab59ffd2ecc6a48a60a08b6508c22047
As you download the master branch of flutter on Vercel you use also these dart versions and come to that error.

I think this has to do with the dart version, but despite the description in flutter/flutter#115988 it does not occur in the current stable branch of flutter, as it is still using 2.18 or something. The limitation was introduced in 2.19.0-319.0.dev
https://github.com/dart-lang/sdk/commit/b6526beeab59ffd2ecc6a48a60a08b6508c22047
As you download the master branch of flutter on Vercel you use also these dart versions and come to that error.

Would it still work on Dart 2.18, or would this be breaking?

Would it still work on Dart 2.18, or would this be breaking?

@spydon no regression noticable in Dart 2.18 :)

Would it still work on Dart 2.18, or would this be breaking?

@spydon no regression noticable in Dart 2.18 :)

Maybe worth merging it then so we don't have to care about it later? :)


[WIP] support SAGAN + fix bugs in SNGAN

Unit tests would be added after peer review.

Codecov Report

Merging #61 (95fd8ff) into master (14af36b) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   75.59%   75.73%   +0.14%
==========================================
  Files         117      117
  Lines        7538     7571      +33
  Branches     1374     1384      +10
==========================================
+ Hits         5698     5734      +36
+ Misses       1466     1465       -1
+ Partials      374      372       -2

Flag
Coverage Δ

unittests
75.73% <100.00%> (+0.14%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...rchitectures/sngan_proj/generator_discriminator.py
88.23% <100.00%> (+3.06%)
:arrow_up:

mmgen/models/architectures/sngan_proj/modules.py
98.90% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


Upstream updates

This PR pulls new code from https://github.com/golang/crypto for packages that are used by openpgp package, as well as bn256 which had a crasher in new golang.
rsa tree has been deleted, because it lives in crypto/rsa now. Imports have been updates as well.

@maxtaco I think this is now done. openpgp package should be up to date.

Should we use "rebase and merge" Github option here to preserve authorship of the commits?

sure


Transpile failure with unitary synthesis for targets with heterogeneous basis gates

Environment

Qiskit Terra version:  0.24.0rc1
Python version: 3.10
Operating system:  Linux

What is happening?
Running transpile() with optimization_level=3 using a custom target is generating an error message:
TranspilerError: "Encountered a bad synthesis. Target has no Instruction(name='u', num_qubits=1, num_clbits=0, params=[2.0293072715139053e-17, -3.141592653589793, -3.141592653589793]) on qubits (0, 2)."

How can we reproduce the issue?

from qiskit import QuantumCircuit
from qiskit.compiler import transpile
from qiskit.circuit import Parameter, Measure
from qiskit.transpiler import Target, InstructionProperties
from qiskit.circuit.library import UGate, RZGate, RXGate, RYGate, CXGate, CZGate

target = Target(num_qubits=3)
target.add_instruction(CXGate(), {(0, 1): InstructionProperties(error=.0001, duration=5e-7)})
target.add_instruction(UGate(Parameter('theta'), Parameter('phi'), Parameter('lam')), {(0,): InstructionProperties(error=.00001, duration=5e-8), (1,): InstructionProperties(error=.00002, duration=6e-8)})
target.add_instruction(RZGate(Parameter('theta')), {(1,): InstructionProperties(error=.00001, duration=5e-8), (2,): InstructionProperties(error=.00002, duration=6e-8)})
target.add_instruction(RYGate(Parameter('theta')), {(1,): InstructionProperties(error=.00001, duration=5e-8), (2,): InstructionProperties(error=.00002, duration=6e-8)})
target.add_instruction(RXGate(Parameter('theta')), {(1,): InstructionProperties(error=.00001, duration=5e-8), (2,): InstructionProperties(error=.00002, duration=6e-8)})
target.add_instruction(CZGate(), {(1, 2): InstructionProperties(error=.0001, duration=5e-7), (2, 0): InstructionProperties(error=.0001, duration=5e-7)})
target.add_instruction(Measure(), {(0,): InstructionProperties(error=.001, duration=5e-5), (1,): InstructionProperties(error=.002, duration=6e-5), (2,): InstructionProperties(error=.2, duration=5e-7)})

qc = QuantumCircuit(3)
qc.h(0)
qc.ecr(0, 1)
qc.ecr(0, 2)
qc.cx(2, 1)
qc.measure_all()
qc.draw('mpl')

transpile(qc, target=target, optimization_level=3)

What should happen?
This shouldn't error. I encountered this re-running a notebook I had written as part of the 0.22.0 release. This is a regression for 0.24.0 and I expect is tied to the changes made to unitary synthesis in: https://github.com/Qiskit/qiskit-terra/pull/9175 (https://github.com/Qiskit/qiskit-terra/commit/a8f83c4469f55a62f958f3eed2df10a598811eae)
Any suggestions?
I expect the code that detects which decomposers to use isn't correctly handling that UGate works on qubit 0 only and not on any other qubit. I don't think our built in synthesizers can handle this edge case which is why we run the basis translator and 1q optimizers as part of the optimization loop. To convert any out of basis gates that might get introduced. I think whichever check is result in raising the TranspilerError should be relaxed to not fail in this case and let other passes clean up after synthesis.

@jlapeyre will this be fixed by #10008 or is this another fix that's needed?

I don't think it will be fixed by #10008. I'll check.

Happens both on main and #10008.
Here is closer to minimal code to trigger this. The error is stochastic, so I added a loop
from qiskit import QuantumCircuit
from qiskit.compiler import transpile
from qiskit.circuit import Parameter
from qiskit.transpiler import Target, InstructionProperties
from qiskit.circuit.library import UGate, CXGate, CZGate

target = Target(num_qubits=3)
target.add_instruction(CXGate(), {(0, 1): InstructionProperties(error=.0001, duration=5e-7)})
target.add_instruction(UGate(Parameter('theta'), Parameter('phi'), Parameter('lam')), {(0,): InstructionProperties(error=.00001, duration=5e-8), (1,): InstructionProperties(error=.00002, duration=6e-8)})
target.add_instruction(CZGate(), {(1, 2): InstructionProperties(error=.0001, duration=5e-7), (2, 0): InstructionProperties(error=.0001, duration=5e-7)})

qc = QuantumCircuit(3)
qc.cx(2, 1)

for i in range(100):
    transpile(qc, target=target, optimization_level=3)

Looks like what you said. These are two candidate synthesized circuits. They're wrong because they have U on the wrong wires. The error is raised when trying to look up the error for the gate on the wrong wire.
        ┌──────────────────┐       ┌──────────────────┐
q10_0: ─┤ U(π/2,-1.0326,0) ├───■───┤ U(π/2,-π,1.0326) ├─
       ┌┴──────────────────┴┐┌─┴─┐┌┴──────────────────┴┐
q10_1: ┤ U(π/2,-π,0.079071) ├┤ X ├┤ U(π/2,-0.079071,0) ├
       └────────────────────┘└───┘└────────────────────┘
     ┌──────────────────┐     ┌──────────────────┐
q_0: ┤ U(π/2,-2.109,-π) ├──■──┤ U(π/2,0,-1.0326) ├
     └──┬────────────┬──┘┌─┴─┐└─┬──────────────┬─┘
q_1: ───┤ U(π/2,0,0) ├───┤ X ├──┤ U(π/2,-π,-π) ├──
        └────────────┘   └───┘  └──────────────┘

I don't think we can expect the 2q synthesis routines on their own to know how to translate that 2q unitary in terms of u on qubit 0 and rz, ry, rx on qubit 1 with cx on 0->1 on its own. That's potentially a lot of nuance to add on top of some pretty tricky code and math. We have other passes that we run immediately after UnitarySynthesis which will see the gates out of the target specification and convert them to the correct gates. That's how this worked in earlier version before the error rate checking logic, before 0.24.0 it just output the U on both qubits and the basis translator or 1q optimizer pass would translate that to the appropriate gates.

Are you saying that if we let these wrong circuits go through, maybe choosing one by gate count rather than error, they will be corrected in a later pass?
Some detail: Both of the 2q decomposers run in this case (each one could appear more than once, but not in this case). Each one gives a wrong circuit. They both take 1q synthesizers in construction or information on which to choose (not 100% sure) and run them. Maybe not clever enough though.  XXDecomposer constructs a circuit representing the decomposition including 1q U gates and then runs a 1q synthesizer as the last step:
https://github.com/Qiskit/qiskit-terra/blob/73c1e1c4d020ddc0ed68910a2d30bfd78e2f1647/qiskit/quantum_info/synthesis/xx_decompose/decomposer.py#L297-L307
Hmmm. if we know it's going to do it wrong, we could include a flag to omit running the 1q synthesizer because its a waste. And let a further pass do it. But we would not be able to use basis-set gate errors to choose from candidates in this case.

Yeah using gate count as a fallback metric would work. I was just thinking of pick the first one, but using some other metric is probably a better way. Prior to #9175 (which is new for 0.24.0) it didn't do any of this checking at all and just always used a single decomposer based on the gates available. So I think having a fallback in the case where we don't have any matching gate errors in the target would be the best behavior here.
The issue with the logic around calling self._decomposer1q there is the constraints for calling the pass like that are incomplete because of the conflicting contexts. Inside XXDecomposer we don't have access to the full Target because it doesn't make sense there as the class is isolated to just unitary in, circuit out, and doesn't really understand physical qubits, or that you might need to use different gates on different qubits. The Optimize1qGatesDecomposition  is fully capable of handling the heterogeneous basis gates  when its given a Target but the only context XXDecomposer has to give it is the 1q basis gate . Thinking out loud, looking at that code snippet it probably wouldn't be too hard to add 2 optional arguments to on the XXDecomposer for a Target and another argument to specify the physical qubits  class to handle this edge case. But that's probably a layer violation (also we definitely wouldn't be able to include the fix doing this for 0.24.0).

I tried just picking the first one. I didn't follow the logic except to see that it enters UnitarySynthesis one more time. But the circuit that's returned (it's a one gate circuit so only one unitary to synthesize) is the same as the one chose nfrom the list. We'd have to do more work to get it to synthesize properly.... I haven't felt like I needed a debugger for this code. But maybe now is the time.


Data conflicts in high concurrency with class-based Depend

Since the class-based Depend is passed an instance during initialization, it will lead to class attribute data conflicts in the case of high concurrency, as shown in the following code:
from pait import field

class DemoDepend(object):
    uid: str = field.Query.i()

    def __call__(self) -> str:
        return str

@pait()
def demo(uid: str = field.Depend.i(DemoDepend())) -> None:
    passs

When multiple requests are hit, the value of uid in DemoDepend is not fixed, but it is certain that it can only have one value at the same time. This means that when multiple requests hit, multiple different routing functions will read the same value. This situation is very bad.
To solve this problem, it is necessary to improve the initialization of the class-based Depend, so that it is passed a class and initialized when the request hits.

Passing a class directly may affect the initialization problem, you can directly use pait.util.partial_wrapper, the code is as follows:
from pait import field
from pait.util import partial_wrapper

class DemoDepend(object):
    uid: str = field.Query.i()
    def __init__(self, name: str) -> None:
        self.name: str = name
    def __call__(self) -> str:
        return str

@pait()
def demo(uid: str = field.Depend.i(partial_wrapper(DemoDepend))) -> None:
    passs


Get feature names from mol2any featurizers

We need a common way to extract the names of features generated with mol2any elements like MolToMorganFP, MolToConcatenatedVector, etc. This is for example needed for XAI.

Now solved with https://github.com/basf/MolPipeline/pull/106


Metrics for instances behind a load balancer?

I am orchestrating my services using Kubernetes, which means that there are potentially multiple instances of the same service. HTTP requests are distributed evenly between them using a load balancer.
If I understand it correctly, the breakerbox configuration wants me to define all instances of a cluster manually. However, the amount of instances (and their randomly generated names) are managed by Kubernetes and the load balancer is the only way they may receive HTTP requests.
As a result, if there is more than one instance of a service, the metrics on the dashboard will show incorrect data, because the metrics stream will only be received from one instance behind the load balancer.
I feel like my setup is a very common scenario, so I am wondering if there is a way that I can make breakerbox work with it?

We have a similar setup that we work with here as well where we have dynamic instances. The problem here is the dynamic discovery is usually pretty custom depending on your exact environment. For example your dynamic environment could be sourced from Kubernetes, Mesos, Zookeeper, Consul, etcd. :-/
Breakerbox uses this https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/turbine/YamlInstanceDiscovery.java
which simply returns back a Collection, so you can provide your own InstanceDiscovery and register it here: https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/BreakerboxService.java#L112-L113
If your setup is pretty vanilla Kubernetes feel free to implement your KubernetesInstanceDiscovery and submit a PR so others can benefit as well :-)

Thank you for pointing that out! A dynamic instance/cluster discovery would be an amazing feature and I will definitely take a look :)

On 23 Jun 2016, at 20:12, Christopher Gray<EMAIL_ADDRESS>wrote:
We have a similar setup that we work with here as well where we have dynamic instances. The problem here is the dynamic discovery is usually pretty custom depending on your exact environment. For example your dynamic environment could be sourced from Kubernetes, Mesos, Zookeeper, Consul, etcd. :-/
Breakerbox uses this https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/turbine/YamlInstanceDiscovery.java https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/turbine/YamlInstanceDiscovery.java
which simply returns back a Collection, so you can provide your own InstanceDiscovery and register it here: https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/BreakerboxService.java#L112-L113 https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/BreakerboxService.java#L112-L113
If your setup is pretty vanilla Kubernetes feel free to implement your KubernetesInstanceDiscovery and submit a PR so others can benefit as well :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/yammer/breakerbox/issues/20#issuecomment-228135257, or mute the thread https://github.com/notifications/unsubscribe/AAc8yoBoJVCVP0L41GUZyJrYbhYvnh4eks5qOsx5gaJpZM4I7nLf.

I created a discovery class for Kubernetes clusters:
https://github.com/yammer/breakerbox/pull/21
However, I am unsure how to properly integrate it so that users can chose which discovery method they'd like to use. Maybe you could take it from here?

I think we can add something simple to allow for selecting the custom InstanceDiscovery class. I think most likely thing is we can add a dropwizard-configuration parameter
InstanceDiscovery.impl=com.foo.bar.MyInstanceDiscovery.class where it will default to the YamlInstanceDiscovery, but we can override it to use any custom one (e.g. Kubernetes)
https://github.com/Netflix/Turbine/wiki/Configuration-(1.x)#plugging-in-your-own-instancediscovery-impl

Just merged in this: https://github.com/yammer/breakerbox/blob/master/breakerbox-service/src/main/java/com/yammer/breakerbox/service/BreakerboxService.java#L235-L244
Which now will allow you to add to the service configuration "instanceDiscoveryClass: com.yammer.breakerbox.turbine.KubernetesInstanceDiscovery" or if that isn't specified it will read from Turbine's "InstanceDiscovery.impl" system property.
It will then add all these instances as well as ones that also come from YamlInstanceDiscovery.

That's awesome! Thank you for the support :) I have one comment regarding the testing of the class that I implemented: It all relies on the Kubernetes client implementation to work properly - I haven't had the time yet to test it in the field, but I will do so tomorrow.

That would be great! Thank you


Is Jest + TypeScript ready for prime time?

I've spent the last several days trying to stand up Jest within an existing (large) project. It's using webpack and babel + typescript. Each of these issues has come up:
1) Source maps line numbers are incorrect. When a test fails, it shows an excerpt from the test code, and the arrow points to the wrong line. The line number shown in the stack trace is also wrong. It could be:
https://github.com/kulshekhar/ts-jest/issues/334
.. but in this issue, only the stack trace # is wrong, whereas the excerpt is pointing to the right line.
Could be this issue, but it's closed:
https://github.com/facebook/jest/issues/5446
So I'm not sure if this problem has to do with existing issues or it's something new. This isn't a showstopper, so I moved on.
First thing I found trying to migrate a test is that mocks didn't seem to be working, and I finally figured out it was because of this:
2) jest.mock doesn't work for modules that use moduleNameMapper to transform them
https://github.com/facebook/jest/issues/4262
So I decided to write my own resolver since we have a lot of webpack config (basically, everything needs to use moduleNameMapper) and I got as strange error, turns out I'm bumping against yet another issue:
3) custom resolver not working
https://github.com/facebook/jest/issues/4025
I haven't yet figured out how to work around this one. There doesn't seem to be a solution.
It seems like each time I try to figure out some way to work around a problem, I bump into a new unresolved bug. This seems like an awful lot of problems for what I think is a fairly standard use case. Am I missing something, or just doing it wrong? Or are these issues related to TypeScript + Jest and maybe there just aren't that many people using Jest with Typescript yet? I thought this was going to be painless to get up and running, but so far it seems anything but.

Hey @jamietre, this issue tracker is not a help forum (as stated in issue template)
We recommend using our discord channel or StackOverflow where there is an active jestjs tag for questions


package: qtwebengine[core,default-features,geolocation,spellchecker,webchannel]:x64-windows -> 6.2.1

Выпуск	Windows 11 Pro Insider Preview
Версия	Dev
Дата установки	04.11.2021
Сборка ОС	22494.1000
Взаимодействие	Windows Feature Experience Pack 1000.22494.1000.0
Visual Studio 2022 Dev Preview 7 (compiller version 17.0.0)
vcpkg-tool version: 66c39e113 2021-11-05 (3 days ago)
qt[core,default-features]:x64-windows -> 6.2.1
.\vcpkg.exe install qt
install-x64-windows-dbg-err.log
install-x64-windows-dbg-out.log

Hi @RomanTruhanov Thanks for posting this issue.
Duplicated to #20702. Let's track this issue there.

nope i am tested 3 version visual studio: 2019 (compiller version 16.11.6)  2022 current (compiller version 17.0.0) and 2022 Preview (compiller version 17.1.0 preview 1) debug building work fine but in release build failed.  Maybe it's build bug...

full logs my qtwebengine buildtree
qtwebengine.zip

@RomanTruhanov
Please move attention to #20702.

yes im frist to use set(VCPKG_VISUAL_STUDIO_PATH "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise") and clean rebuilding... but not working


[BUG] Inference tab -> Scan models doesn't work

Description
The button for models scan(Refresh data in Inference tab) doesn't do anything.

The scan doesn't work with or without the RVC server. The RVC server, however, can see the model right after the start:
{"status":"OK","rvc":["repetur"],"uvr":[],"denoise":[]} # output at http://localhost:5555/, where repetur is model name
The model and index are inside models/RVC folder(index is in models/RVC/.index), the model was trained with RVC-Studio.
No errors are being thrown in the console after pushing the button. The only errors i've encountered during my user journey from Home tab to training and up to infer are:
Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Invalid URL 'None/preprocess': No scheme supplied. Perhaps you meant https://None/preprocess?
Invalid URL 'None/postprocess': No scheme supplied. Perhaps you meant https://None/postprocess?
'<' not supported between instances of 'NoneType' and 'int'
'<' not supported between instances of 'NoneType' and 'int'
'<' not supported between instances of 'NoneType' and 'int'

but as far as i can tell they do not interfere with anything and the model training(which is the only thing i've done so far besides downloading hubert, ffmpeg, etc.) went fine.

it turns out you need not only turn on the RVC server, but the button won't work from the first time you open inference tab. After viewing every other tab and going back to inference the button worked. Can't say if it's some kind of delay or other issue

yeah, that's caused by the LRU caching I used for the API. I might disable that for localhost


Cannot set cooldowns

When setting cooldowns on buttons the SDK logs an error saying "missing Etag"

Fixed in release: https://github.com/mixer/interactive-unity-plugin/releases/tag/v0.7.9-beta


Fix and re-enable MultiSpoutsMultiTasks test

Recently we see constant failure of MultiSpoutsMultiTasks. Possibly related to #1561

working on #1687

resolved via https://github.com/twitter/heron/pull/1815


Transaction refactor

[ ] Migrate transaction test to current testing framework
[ ] Remove BEGIN READ TRANSACTION
[ ] Consider adding CHECKPOINT statement.
[ ] Remove deprecated transaction APIs.

This is done


Menu doesn't clear lines when switch from long to short completion

Start with a completion that nearly fills the command line
Invoke MenuComplete
Select a long completion that forces the command line to span a second line.
Select a shorter completion where the command line now spans just the one line.

The last line of the menu is now displayed twice. If the menu top moves up from the previous render, the extra lines need to be cleared.

This doesn't repro for me.

It still reproduces for me:

That repros, I misunderstood what the first line of your repro meant.


'exec' doesn't seem to work with ccl-bin

It seems ros exec doesn't work with Clozure CL because ccl::%execvp expects MACPTR for its argument.
Here's the error logs when I execute qlot install on Travis CI:
https://travis-ci.org/fukamachi/lack/jobs/66845685#L314-L319
> Error: The value ("ros" "-Q" "-s" "qlot" "-e" "(qlot:install)") is not of the expected type MACPTR.
> While executing: CCL::%EXECVP, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Skip evaluation of (ros:run '((:script "/home/travis/.roswell/bin/qlot""install")(:quit ())))
> Type :? for other options.
1 >

I gave up.
880601062bc101e6162b7ddcbe2baed8b14d0d35
sorry for inconvenience

It looks fine for now.
You don't have to feel sorry about this kind of stuff. I'm very thankful to your hard works on Roswell.

Thanks. It's my pleasure. :)


Text rendering decays on windows

When scrolling down a file the text rendering starts to degrade in quality:

Collapsing under https://github.com/Kethku/neovide/issues/537


Update requirements.txt versions so packages are no longer pinned to a specific version

We should move away from pinning requirements to a specific version in requirements.txt. This will allow packages containing a fix to be installed without having to update this project to adjust the accepted version.

@sasjowood is this just asking for there to be no instances of 'pkgA==x.y' and instead make everything 'pkgA>=x.y'?

@kevinlinglesas, yes I believe that was the goal. It's been awhile now, but I think the impetus was a security fix for Jinja2. Generating a requirements.txt using pip just pins dependencies to their current version. However, we would have picked up the security fix for Jinja2 if we allowed patch-level updates. Does that ring a bell? I might be making that up :).

I recall a couple GitHub Dependabot notifications about our requirements.txt versions.   Atm, there seems to just be one package that is pinned to a specific version.   This enhancement may be very simple ;)

https://github.com/sassoftware/viya4-ark/search?q=dependabot&type=issues

We are choosing to not implement this enhancement at this time.   If we encounter alerts from GitHub dependabots regarding this (not sure such alerts exist), then we will update the one pinned version (ldap3) against newer versions.    We will also consider it a best practice going forward to try and avoid pinning package to a given version unless absolutely necessary.


need a copy code widget to be able to copy code snippets

Is it possible to add to https://nvidia.github.io/TensorRT-LLM/ the code copy widget that you already have on https://nvidia.github.io/TensorRT-Model-Optimizer/?
For example if you go to https://nvidia.github.io/TensorRT-Model-Optimizer/guides/_pytorch_quantization.html#apply-post-training-quantization-ptq you can copy the code

But if you go to https://nvidia.github.io/TensorRT-LLM/llm-api-examples/index.html#llm-examples-introduction you can't - manual copy-n-paste results in double new lines for me.

Thank you!
I think it's the way the HTML is encoded which breaks each line, because you  have 2 spans per line
 2
 3prompts = [
 4    "Hello, my name is",
 5    "The president of the United States is",
 6    "The capital of France is",
 7    "The future of AI is",
 8]

Hi @stas00 , thanks for remining us on this missing feature.
We'll enable the copy button on next release and Tensor Tuesday(weekly release)

Thank you, @nv-guomingz!


Add comparison version of side panel

Should include a non-interactive minimap which is zoomed to fit the compared regions
Should display inline comparisons (e.g. bar graph comparing the median income of compared regions instead of a single numeric string for one selected region)

Closing because this issue was superseded by other work.


Fix the misbehavior of counting all incoming bytes into frame_bytes stats

Now the 5 bytes gRPC header is counted as frame_bytes and message body is counted as data_bytes. s.stats.incoming.frame_bytes is only accessed in transport thread and s.stats.incoming.data_bytes is only accessed in app thread.

Corrupt JSON data (indicates timeout or crash) = {}

Missing files (new benchmark) = {}

No significant performance differences

Failed tests:
Basic Tests Linux - #11443
Basic Tests Mac - #11116
Basic Tests Windows - #11216
Bazel Full Build & Tests is always failing...
Sanity Checks - #11143
All known issues. Merging...


obs-studio-plugins.obs-hyperion: fix Function called without required…

… argument "qtbase"
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Thanks for picking up my broken Draft :heart:
I think this still needs the flatbuffers version bumped to work correctly:https://github.com/NixOS/nixpkgs/pull/188951


Update the dependency tun that supports windows platform

Thanks for the PR.
I've noticed that the Windows implementation of the tun crate has some issues with its queuing mechanism, which causes a significant performance problem on Windows. Therefore, it would be preferable to retain the wintun example until this issue is resolved in tun.
I suggest to provide two different examples. one for tun.rs another one for wintun.rs

Thanks for the PR.
I've noticed that the Windows implementation of the tun crate has some issues with its queuing mechanism, which causes a significant performance issue on Windows. Therefore, it would be preferable to retain the wintun example until this issue is resolved in tun.
I suggest to provide two different examples. one for tun.rs another one for wintun.rs

Well, I see the issue. Waiting for this PR https://github.com/meh/rust-tun/pull/74 to be merged, which uses a similar way you have given in wintun.rs.


[Bug] [Remote] task submited successfully but has not been executed

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
task submit is succeed but cannot be executed for a long time.
工作流被调起后，任务提交成功，master中有提交日志，数据库状态是0，但一直hang住没有被执行；集群资源充足，worker服务正常，分组正确；zk里也有worker
What you expected to happen
sometimes the worker's logs report : io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection timed out,
possiblly the Netty channel time out
master处理完后，worker没有收到信息，可能是channel连接超时导致
How to reproduce
execute a flow，which state is succeed; but task can not running
运行工作流，工作流状态为运行中；task提交成功，显示灰点，一直未执行
Anything else
issues 3789 该issue在1.3.3版本被合并发布，但在发布代码中没有发现以下两段代码

手动添加后该问题没有再出现
Version
1.3.9
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@yangyiforward Thanks for your feedback, this has been fixed in 2.x.
@CalvinKirs Do we still need to fix this 1.3.9?

I'm happy to help. Actually when I user 1.3.3 version, this bug already has appeared. From 1.3.3 to 1.3.9, fix these versions if possible or necessary. Thanks a lot.


Prevent opening multiple markdown previews of the same document in the same column

Issue Type
Bug
Description
steps

Open a markdown file
Run Open preview to side
Go back to md editor
Run Open preview to side agian

Bug
Two markdown previews are now opened in the same view column
Expected
On second Open preview to side, we should instead switch the focus to the original markdown preview
VS Code Info
VS Code version: Code - Insiders 1.21.0-insider (936b796aa8667de5edb536b00ce8a8e61fcebfb6, 2018-02-16T06:08:39.456Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.28GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_2282029

Screen Reader
no

VM
22%

Extensions (24)

Extension
Author (truncated)
Version

vscode-docker
Pet
0.0.24

color-info
bie
0.5.0

emojisense
bie
0.4.0

lit-html
bie
1.2.0

markdown-checkbox
bie
0.1.1

markdown-emoji
bie
0.0.7

markdown-mermaid
bie
0.1.1

vscode-svgviewer
css
1.4.3

tslint
eg2
1.0.27

vscode-reveal
evi
2.0.2

rest-client
hum
0.17.0

vscode-styled-components
jpo
0.0.15

graphql-for-vscode
kum
1.8.3

mssql
ms-
1.3.0

python
ms-
2018.1.0

azure-account
ms-
0.3.0

csharp
ms-
1.14.0

github-issues-prs
ms-
0.9.0

vsliveshare
ms-
0.1.0-preview.251

debugger-for-chrome
msj
4.1.0

angular2-inline
nat
0.0.17

vscode-code-outline
pat
0.0.12

vscode-java-test
vsc
0.3.0

vscode-maven
vsc
0.5.1

(16 theme extensions excluded)

Reproduces only with extensions

Fixed by #44307


disport and withdrawls

the https://github.com/coinfloor/API/blob/master/BIST.md#user-transactions endpoint requires a currency pair.  What do I specify if i just want to get a list of my deposits and withdrawals?

BIST, which emulates Bitstamp's v1 API, is not multicurrency. At present there is no programmatic way to list deposits and withdrawals in all supported currencies in one call. You can, however, retrieve by email a CSV listing of all deposits and withdrawals on the "Deposits and Withdrawals History" page in the the "My Account" section of the web site.

Thanks.  This is crazy important, any idea how to get coin floor to add it?

I'm asking them, but I think this is going to be a low priority since you already can retrieve all your deposits and withdrawals programmatically by requesting them for each asset pair and merging the results on your end.

Ok, so just request transactions for every currency pair and de-dup by using the transaction id?
If you are in touch with them, it would be really useful to be able to get the destination address and network transaction id as well.


Muti-line notes

This is a very excellent tool, but don't support muti-line notes, do you have a plan that support it?

Hi @lindenxing,
Sorry for the late response. You should be able to take multi-line notes with nnote new command as it launches the favorite editor.
You also should be able to take multiline inline notes by not closing the quotes on the first line.
$ nnote new -i "this is my
>first
>multi line
>note"

should just be fine.
If you're faced with an issue, can you please elaborate further?

Thank you very much, of course.


Testing the app locally

Hi
I am creating an app using the conversation-simple as a boilerplate. I have setup the app to use my own conversation instance, and it works beautifully - so thanks for that :-)
However, I cannot run the app locally. That is, when I do it doesn't use my conversation instance, but only shows the empty interface. The console shows an unauthorized error.
I hope someone can help me with this, since pushing the app to bluemix every time I need to see a change is really time consuming! 👎
Bonus question: I am trying to modify the response from watson on the client side, in the method "updateMessage". I am checking if the intent matches a specific string, and if it does I update the response that is returned. But nothing seems to override the response from the server.

I think for running locally you need to make sure your .env if filled out appropriately. When run on bluemix, you can bind the services to your app via your manifest file, but locally the manifest doesn't do this as it doesnt have access to the bluemix bindings.

Hi, I checked the .env file and the credentials are all correct. I am also logged using cf login when starting the app locally - I can't understand why it's not working :(

Im really not an expert here, but you may want to just hardcode your stuff in app.js and ignore service binding/yml/env.
this wont cause any problems unless you plan on switching out service instances later on.

didnt mean to close that

I tried hardcoding too - I also thought that might solve it, but no luck. Is there any other workaround that would prevent me from having to push the app every time I make changes? Can it be something with the portnumber? Really hope we can find a solution.

what are you changing?
also, can you just outline the steps you are taking to run locally?
Its really just navigate to the right place, run npm install, and npm start assuming all your creds and workspace_id is there.

Hi @marinaalens - did you try running npm install and then npm start at command line?

I ran npm install then npm start and navigated to localhost:3000 in my browser. The app is showing on the screen but with the following error in the console:
Failed to load resource: the server responded with a status of 401 (Unauthorized)
Then I tried writing all the authorization code in app.js (hardcoding username, password and wordspace id). Again, npm start and then the error says: POST http://localhost:3000/api/message 401 (Unauthorized)
sendRequest @ api.js:59

To be even more specific, here is the error message from the api call to watson (and yes, my username and password really is correct, I promise! :-):
{"code":401,"error":"Not Authorized","description":"2017-05-31T15:20:11-04:00, Error ERCDPLTFRM-DNLKUPERR occurred when accessing https://gateway.watsonplatform.net/conversation/api/v1/workspaces/--WORKSPACE ID--/message?version=2017-05-26, Tran-Id: gateway-dp02-179127930 - Invalid UserId and/or Password. Please confirm that your credentials match the end-point you are trying to access. A common error is trying to use credentials from an experimental or beta release against a GA release or vice versa"}

Hmm.  Sorry I missed the first bit about getting an empty ui.  I'm not sure what release you're using, but given the error perhaps you somehow instantiated the experimental or beta conversation instance?  What's the url listed with your credentials?
You can confirm that you make calls to your workspace using the curl commands from the API to start - that way you don't have to worry about there being an issue with the deployment.  https://www.ibm.com/watson/developercloud/conversation/api/v1/

The URL listed with my credentials is: https://gateway-fra.watsonplatform.net/conversation/api
Not sure why it's different from the one you posted though..

ah ha! so the sample app is using the US based instance, and you are using the Frankfurt based instance. You will likely need to find the url in app.js? or maybe its buried somewhere in the sdk... and change the url to what you have there rather than whats in the sample app.
When you upload to bluemix, it binds it to your app so it must be able to resolve that itself.

It works now!  Sorry to have bothered you and thank you both a million times!

No worries. :)  Have been there too.

I will actually ask to have this added to the sample app readmes because its not super obvious.


Add missing string header for memcpy

Fixes #106

Can we get this merged? The issue is still present in ROCm 5.4.,0.

Any progress? @zhang2amd @kentrussell

Fixed in https://github.com/RadeonOpenCompute/rocm_smi_lib/commit/99034af009ab141163c83a817d6ac8380370760d


VSCode integration (+logging, +new pattern...)

This code should fix the "include path" problem.
New pattern ("Replace call nn; ret with jp nn").
Proper logging library (Logback) for performance and flexibility.
VSCode integration (see picture!).
More "human readable" pattern names (mainly for VSCode integration).

Thanks Nestor! Woooww! That VSCode integration looks really cool!!!! I will install VSCode tonight to try it out! Thanks a lot for all the renaming btw, that must have taken a while!!
Just resolved all the conflicts, and merging right now! I hope you don't mind if I revert that Singleton pattern though. Singletons is something that have been the source of many a problem in the past in my experience, and I have really gone out of the way to avoid using it (notice how I pass MDLConfig around everywhere, rather than using a Singleton).


iOS 11 Crashes - Invalid State Transformation while Evaluating Conditions

Overdrive: 0.3
Package manager (SPM, Carthage, CocoaPods, Manual): CocoaPods
Xcode: 9.0 beta 6
Platform: iOS
The dependency system seems to be failing in iOS 11. I have tried this with Xcode 9 betas 6 & 7 (latest right now).

Hi,
Thanks for reporting this, I'll take a look later today.
Have a nice day,
Said
On 22 Aug 2017, 12:41 +0200, Siddharth Gupta<EMAIL_ADDRESS>wrote:

Overdrive: 0.3
Package manager (SPM, Carthage, CocoaPods, Manual): CocoaPods
Xcode: 9.0 beta 6
Platform: iOS
The dependency system seems to be failing in iOS 11. I have tried this with Xcode 9 betas 6 & 7 (latest right now).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I have gotten around this temporary by replacing
`queue.sync {
            assert(internalState.canTransition(to: newState, isCancelled: isCancelled),
                   "Invalid state transformation from \(internalState) to \(newState)")
            internalState = newState
        }`

with
`queue.sync {
            if(internalState.canTransition(to: newState, isCancelled: isCancelled)){
                internalState = newState
            }
        }`

For the time being, this fixes the crashes, as well passes the tests on the iOS 11 simulator. This is basically preventing invalid state transformations.

Hey, could you get the time to look at this?

I'll have access to my laptop tomorrow evening and I'll be able to debug and hopefully fix it then.
On 25 Aug 2017, 08:35 +0200, Siddharth Gupta<EMAIL_ADDRESS>wrote:

Hey, could you get the time to look at this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@biocross you say that you've ran unit tests on Xcode 9 beta, does that mean that you converted project to Swift 4? I'm currently running tests on Xcode 9 and every test is passing. If you're interested in that you can look into swift4 branch of the repo.
However, you have a problem in production with iOS 11.  Then, I'll be able to investigate more.

I didn't convert the code to Swift 4. Basically, due to evaluateConditions being called twice on tasks, the task is moving to the ready state twice, leading to an assertion failure in TaskBase.swift, and crashing in debug. In release mode, even if the assertion is disabled, invalid state transformation end up crashing my tasks.

Hey one thing, tests pass for me in Xcode 9, if I target my mac. Did you target an iOS 11 simulator to run the tests?

Hey, any update?

I have confirmed that there is a different behavior between iOS 10 and iOS 11, still trying to figure out why. I should have a fix by the end of the day.

Looks like the behavior of several KVO methods is slightly changed in iOS 11. For now, you can try out fix in the conditions-fix branch.
It's mostly a hack until I rewrite some of the internal stuff, but it should work.
Let me know if it works for you.

Alright. Thanks a lot!


Add an example for cloning a backup from existing cluster

Closes #188

Coverage remained the same at 11.21% when pulling 3d5a883e694f9d6ce5ff094bd096318526a86a81 on add-clone-example into 60aaa78dfcfdfdecba06dd4696fa021ff6bd1fdd on master.

👍

:+1:


Fix CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@65c82c9). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   71.21%
  Complexity      ?        3
=======================================
  Files           ?        4
  Lines           ?       66
  Branches        ?       32
=======================================
  Hits            ?       47
  Misses          ?        2
  Partials        ?       17

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 65c82c9...d1dc252. Read the comment docs.


K8SSAND-1121 ⁃ Investigate implementing a Cassandra readiness check function

Background
The cassandra package has a DatacenterReady function that is used in various places. Here it is:
func DatacenterReady(dc *cassdcapi.CassandraDatacenter) bool {
	return dc.GetConditionStatus(cassdcapi.DatacenterReady) == corev1.ConditionTrue &&
            dc.Status.CassandraOperatorProgress == cassdcapi.ProgressReady
}

The DatacenterReady condition can be a bit misleading because it can be true when Cassandra pods are not ready. In fact there can actually be no Cassandra pods that are ready (as determined by the cassandra container's readiness probe) while the condition is true. We see this happen with single-node clusters often in automated tests. The DatacenterReady condition really means that all Cassandra pods have been started and reached the ready state.
I believe DatacenterReady is false in two scenarios (burmanm please correct me if I am wrong). It is false when the CassandraDatacenter is first created up until all pods become ready. It is also set to false when the CassandraDatacenter is stopped. That's it.
The CassandraOperatorProgress property is set to ProgressUpdating in several scenarios when cass-operator has to work to do. It is set to ProgressReady when cass-operator gets through its whole reconciliation process and doesn't have any more work to do.
What's needed
As mentioned previously, the DatacenterReady function is used in several places. In some cases, that is exactly what is needed. For example when the operator is provisioning a new K8ssandraCluster that consists of two CassandraDatacenters (dc1 and dc2), it makes sense to call DatacenterReady for dc1 before creating dc2.
In other situations, e.g., applying schema changes, DatacenterReady may not be adequate. DatacenterReady only checks a single CassandraDatacenter, and in the case of schema changes we need consider all DCs. Currently the operator applies schems changes for Stargate and Reaper. It does so only after all CassandraDatacenters are ready according to the DatacenterReady function.
We may want a CassandraReady function that checks all CassandraDatacenters. In addition to checking the status of the CassandraDatacenters, we might also want to check all of the Cassandra pods and make sure that each of the cassandra containers is ready.  I'm not sure if there are situations where DatacenterReady could return true and a cassandra container isn't ready. This needs to be investigated. If it is possible, we definitely want to check the pods.
┆Issue is synchronized with this Jira Task by Unito
┆fixVersions: k8ssandra-operator-v1.1.0
┆friendlyId: K8SSAND-1121
┆priority: Medium

Ready itself is set to true when initial startup has finished, or waking up from Stopped. It's not changed if some other operation is doing something else, but this method pretty well explains all the transformations when one could consider things "done":
https://github.com/k8ssandra/cass-operator/blob/master/pkg/reconciliation/reconcile_racks.go#L2276
However, I'd be careful with doing this type of function in k8ssandra-operator, as cass-operator updates might not follow some restrictions invented here.
And I don't think pods are something this should follow. This issue is missing one thing - why. If the DC has been started, what operations would not be possible? In one DC, cass-operator takes care of the issues, so which operations are such that the operation could be done incorrectly in multi-DC configuration?
And even more, if there are a lot of nodes, we should assume down-count to be >0 and all the operations we do should still work. If we have to assume all the nodes are always up before Cassandra operations work, we might want to fix Cassandra itself, since that's no longer very HA solution.

Please add your planning poker estimate with ZenHub @burmanm


New hint: Use fmap

Found:
  do x <- m_x
     return (f x)

Why not:
  do f <$> m_x

Apologies that it's taken so long to get round to reviewing your code, it looks sensible, and the changes it caused in the hlint code base certainly make sense. My only concern is that in some cases it might cause too much code to get merged together - I'm wondering if there are some restrictions we could make on things like the size of f or the information content in m_x?

If we do so, we ought to make the limits configurable (including infinity). An alternative is to make it suggest rather than warn. I do like warning in at least some cases — what are your thoughts?

ping


Preserve raw .Inner in shortcode

Hi,
I've created a simple shortcode to generate a CSS-based terminal (shortcode, css and test file in attached terminal.zip). The command line itmes are passed in as a regular markdown list.
{{% terminal "~/Sites/jiridj.be" %}}
- $ ls -l ~
- total 40
- drwx------+  8 jiri  staff    272 Mar 21 14:30 Desktop
- drwx------+ 11 jiri  staff    374 Mar 21 16:47 Documents
- drwx------+ 10 jiri  staff    340 Mar 22 13:36 Downloads
- drwx------@ 70 jiri  staff   2380 Mar 15 12:44 Library
- drwx------+  8 jiri  staff    272 Feb 14 04:54 Movies
- drwx------+  5 jiri  staff    170 Oct 19 17:07 Music
- drwx------+  9 jiri  staff    306 Feb  3 10:26 Pictures
- drwxr-xr-x+  5 jiri  staff    170 Oct 19 14:23 Public
- $ _
{{% /terminal %}}

The output is rendered like this.

At first sight this works great, but I noticed some of the raw characters are replaced. For example, three dashes got replaced by a single '—'.
After fixing that I tried with something more complex as a test case: ASCII art.
{{% terminal "~/southpark" %}}
- $ print()
-    _O_        _____         _<>_          ___
-  /     \     |     |      /      \      /  _  \
- |==/=\==|    |[/_\]|     |==\==/==|    |  / \  |
- |  O O  |    / O O \     |   ><   |    |  |"|  |
-  \  V  /    /\  -  /\  ,-\   ()   /-.   \  X  /
-  /'---'\     /'---'\   V( '-====-' )V   /'---'\
-  O'_:_'O     O'M|M'O   (_____:|_____)   O'_|_'O
-   -- --       -- --      ----  ----      -- --
- $ _
{{% /terminal %}}

This gets all scrambled up, mainly because of whitespace it seems.

Is my assumption correct and is it due to leading and trailing whitespace being trimmed? If so, is there a way to change this behaviour within this shortcode?
Thanks!

Thanks for getting in touch, but it feels like this is a question  that would be better suited to the Hugo Discussion Forum.  We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. You may also find the answers you search for in Hugo Documentation.


some proposals for ui improvement

Request

rururku takes much space on the screen. This could be improved by

add draggable dividers between test case and table
adjust the column width of the table by dragging
reduce the padding of the table cells

we need to many mouse clicks

do a one click accept which does claim and accept
replace the menu "passed, undecided, failed" by three buttons (under the comment) which close the testcase.

raise a warning if user leaves the page. In particular on touchpads (on Mac) it happens that one does the "back" gesture ...

ruruku should also snow the test ids which are often used as a reference in the Requirements tracing and to external test databases.

I have implemented a "resizeable" sidebar in v0.3.2.
The testcase IDs are visible shown when you click on a testcase. In the sidebar ruruku shows the <group> / <testcase-id>.


Add dev container management

Add dev container files to allow easier development for those that are used to VScode self contained environment.

Thanks!


NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE.

I am getting "NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE" When I try to run the demo on 2 A100s GPU. Any fix?

Yes, I believe it is caused by the current issues using multiple GPUs. Apologies.
See discussion here https://github.com/cambrian-mllm/cambrian/issues/25 and @penghao-wu's temp fix here https://github.com/cambrian-mllm/cambrian/issues/12#issuecomment-2198610750
Or more simply, you can force 1 GPU for the model worker via CUDA_VISIBLE_DEVICES=0 ...

@ellisbrown How to fix
raceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/site-packages/cambrian/serve/gradio_web_server.py", line 469, in <module>
    demo = build_demo(args.embed, concurrency_count=args.concurrency_count)
  File "/usr/local/lib/python3.10/site-packages/cambrian/serve/gradio_web_server.py", line 337, in build_demo
    gr.Examples(examples=[
  File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 58, in create_examples
    examples_obj = Examples(
  File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 216, in __init__
    prediction_value = processing_utils.move_files_to_cache(
  File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 265, in move_files_to_cache
    return client_utils.traverse(data, _move_to_cache, client_utils.is_file_obj)
  File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 919, in traverse
    return func(json_obj)
  File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 257, in _move_to_cache
    temp_file_path = move_resource_to_block_cache(payload.path, block)
  File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 234, in move_resource_to_block_cache
    return block.move_resource_to_block_cache(url_or_file_path)
  File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 258, in move_resource_to_block_cache
    temp_file_path = processing_utils.save_file_to_cache(
  File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 170, in save_file_to_cache
    temp_dir = hash_file(file_path)
  File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 102, in hash_file
    with open(file_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/site-packages/cambrian/serve/examples/chicken_world.webp'


U2F transport: figure out a light way to implement the listen feature

it is trivial to hook with node-hid or bluetooth, as we can observe events like "you plug a new usb device", but it will be less trivial to implement for u2f. so far the only thing we has been doing is "try to exchange" but it can fail / timeout. we need to figure out how we can more actively try device communication as soon as you start using .listen method. basically we can ping the device, with a low timeout, and as soon as it works, we can emit that the device is available. similarly , we need to hook to timeout to detect the "disconnect". we would emit an event on the transport instance, like on other transports

note: we can send something like 00FF000000 apdu, which never exists but ignore the status error and consider device is ready


Lexer should be all good to go

I did some refactoring to improve code quality and fixed the previous bugs.
I am not proud of the fix for identifying keywords, but it works perfectly and is faster and won't need to be touched again.
The lexer should be pretty much entirely complete.

Fantastic work Isaac.
I'm guessing you tested everything on the board so I'll merge


Input type="file" doesn't work in WebView Android

Is this a bug report?
yes

Have you read the Contributing Guidelines?
yes
Environment

Steps to Reproduce

Add a component with WebView pointing to a page that contains a file type input.

Access the component of an Android device.

Expected Behavior

The photo gallery of Android is expected to open to select the desired file.
Actual Behavior

Nothing happens, as if it had clicked out of the input.
Reproducible Demo

https://snack.expo.io/@felipepaetzold/webview-input-file-error-on-android

Consider implementing it in a custom WebView. See:

http://facebook.github.io/react-native/releases/0.50/docs/custom-webview-android.html
https://infeeds.com/u/mgks/20475/upload-image-file-gallery-or-camera-webv

I am not able to inject native code, I am using Expo: '(

There's an existing merge request for this, but it's been closed in preference for an external module. That said, making your own module still requires native code but isn't as difficult as I'd feared.

Unfortunately the Expo does not allow me to build native modules. But for now I will give another solution.

You have to eject from expo if you want to build native modules:
https://facebook.github.io/react-native/docs/getting-started.html#caveats

the same problem
anybody have an solution?

@sanshao you can checkout my custom WebView component or dahjelle's. If you are using Expo, you have to eject.

This issue has been migrated to https://github.com/react-native-community/react-native-webview/issues/11 and can be closed.

This is currently being fixed on the community repo. Closing here


fix(proxy): don't skip ECRHelper when there is no pull secret

Closes #141

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


symbol: Account for prelinked shared objects

Some projects, such as those derived from Yocto, tend to prelink their
binaries and libraries to reduce runtime overhead. Currently this trips
up pyflame in its symbol address calculations, and leads to ptrace
failures due to spurious addresses:
$ pyflame -t python -c "print 'foo'"
Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error
Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error
Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error
Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error
Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error
...
Add support for reading a prelinked base p_vaddr out of the ELF and
adjust the PyAddresses values accordingly.
Signed-off-by: Andrew Jeffery<EMAIL_ADDRESS>

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

I'm chasing up the CLA with the lawyers, hopefully will be able to sign it soon.

Is there anything I can do to move this along? I've signed the CLA.


Pre-Processing of CSV - Data Type Validation - CSV should only contain an object and int / float

Example:
A CSV could be upload and have both columns as objects or ints, so i need some additional validation checking in the pre-processing stage.

The commit referenced above is actually for Issue #5


Only auto-open walkthroughs for extensions a user choose to install

Top extension packages right now trigger a storm of walkthroughs opening and fighting for attention, which doesn't help do user onboard but causes confusion.
How might we scope down whatever opens to the users intent?
If multiple extensions are competing for showing a walkthrough:

Only the walk-through for the extension that the user hit install on is allowed to open.
For extension packs, only show walk-through when defined in the main package.

If each is deemed important, then the main walk-through could also link to the other walk-throughs in context.
cc @bhavyaus @luabud

This is fixed.
We only open the walkthrough from the main package if we don't already have a walkthrough open. All additional walkthroughs are not opened.


PingCAP project

Goal
To meet the analysis needs of PingCAP projects.
User Story
P0 (Stage 1):

As a project manager, I want to see how much work has been done in a specific release. (By calculating the Eloc of new commits on each release branch)
As a project manager, I want to see how much work (Eloc) has been done by each developer(/team/project) contribution in a specific release.
As a project manager, I want to see how much work (Eloc) has been spent and its percentage distribution on specific types of work (bug-fixing, incident-fixing, feature-dev, etc) across releases.
As a QA manager, I want to see how many bugs have been found during tests before a specific release. (TBD: how can we tell the bugs from incidents? How can we tell if a bug is found in a specific release?)
As a QA manager, I want to see the severity level distribution of bugs found during tests before a specific release. (TBD: Where to find severity level, is it a tag of a bug-type issue?)
As a QA manager, I want to see the bug distribution in high-level components (from issue tags) in a specific release.
As a QA manager, I want to see how many bugs have been found and fixed during tests before a specific release.
As a QA manager, I want to see how many incidents(bugs that haven't been found during tests) before a specific release. (TBD: how can we tell if a bug belongs to an incident of a specific release?)

P1 (Stage 2):

As a tech lead, I want to see the bug distribution in low-level components (from code files), as a guide for the future framework evolution.

P2 (Stage 3):

As a QA manager, I want to see what releases are affected by a bug-fixing commit, so that they can tag them and the bot can automatically fix those releases by cherrypicking.
As a QA manager, I want to check if the above cherrypicking is successful.
As a QA manager, I want to see the percentage of bugs found internally or externally.

TODO

[ ] 1. Parse the PR id in the commit title and store the association in the domain layer.
[ ] 2. Resolve the required attributes from the labels, such as bug/feature, component, and store them in the domain layer.
[ ] 3. Extract the branch and tag of commits from git repository and store in domain layer.
[ ] 4. Extract file-level data from git repository.
[ ] 5. Fetch file-level dev equivalent from Analysis Engine.

[ ] #1004
[ ] #1068


Only publish unique gem versions

What
fixes https://github.com/Faveod/ruby-tree-sitter/issues/23#issuecomment-1426757155
The failed publish build was a result of attempting to publish equivalent gem packages. Digging in a bit there were two successful pushes then a failure.
Success 1
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-mri-2.7.gem
Pushing gem to https://rubygems.org.../
Successfully registered gem: ruby_tree_sitter (<IP_ADDRESS>)

Success 2
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-2.7.gem
Pushing gem to https://rubygems.org.../
Successfully registered gem: ruby_tree_sitter (<IP_ADDRESS>-x86_64-darwin-19)

Failure
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-mri-3.gem
Pushing gem to https://rubygems.org.../
Repushing of gem versions is not allowed.

What's happening is that there are no differences between the gem packages based on the version of ruby the gem was built with. The only difference is whether there was a pre-compiled bundle for a platform.
Solution
I believe filtering out gem packages to only push unique platforms should fix the issue. This PR updates the publish script to only load the packaged gems that were built with ruby 3.2.
Testing it out
I created files with the same name as the gems from the failed build and tested to make sure only unique gem builds would be pushed.
➜ ruby-tree-sitter l -l pkg
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-mri-2.7.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-mri-3.1.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-mri-3.2.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-mri-3.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-2.7.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.1.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.2.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-2.7.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.1.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.2.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.gem
.rw-r--r-- 0 derek ruby_tree_sitter-<IP_ADDRESS>.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-mri-2.7.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-mri-3.1.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-mri-3.2.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-mri-3.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-2.7.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.1.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.2.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-2.7.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.1.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.2.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.gem
.rw-r--r-- 0 derek tree_sitter-<IP_ADDRESS>.gem

➜ ruby-tree-sitter bin/publish
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-mri-3.2.gem
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-x86_64-darwin-19-mri-3.2.gem
Publishing pkg/ruby_tree_sitter-<IP_ADDRESS>-x86_64-linux-mri-3.2.gem

🎉


[FLINK-11004][Documentation] wrong ProcessWindowFunction.process argument in window document

What is the purpose of the change
Fix wrong argument of process() in JAVA and Scala example of Incremental Window Aggregation with ReduceFunction
Brief change log

Fix wrong argument of process() in JAVA and Scala example of "Incremental Window Aggregation with ReduceFunction"

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Hi @yuanyangwu Thanks for the PR!
After add space for  ProcessWindowFunction[_,_,_,TimeWindow], the change looks good to me !
+1 to merged.
Thanks,
Jincheng


Remove config repository dependency from webhook middleware

Similarly to #791, we can remove the \Illuminate\Contracts\Config\Repository in the VerifyWebhookSignature's constructor. For consistency, the configuration is accessed with the config() helper like the rest of the code.
Since we don't need to mock the configuration repository anymore, the test has been moved to the integration suite, because we need to bootstrap the framework.
As a bonus, I have added tests for checking replay attacks against the tolerance configuration setting.

@sebdesign I think I now realize why this was a unit test. Because we're now using the container to resolve config dependencies we can't unit test the middleware anymore. The reply attack tests are nice though. Can you maybe send in a new PR with the old implementation? Thanks!

But do we really need to unit test the middleware? Isn't an integration test as much as valuable?
I'll send an other PR with the timing tests though, but I don't believe it's worth injecting the config repository just to be able to isolate this middleware, while the config is resolved with the helper in all the other places.
What do you think?

Okay, I agree after consideration.


Unable to determine which CMake generator to use

Brief Issue Summary

Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json or your Kit configuration.
Platform and Versions

Operating System: Linux Mint 18.3/Ubuntu 16.04.1 (Linux x64 4.15.0-46-generic)
CMake Version: 3.13.4
VSCode Version: 1.32.3
CMake Tools Extension Version: 1.1.3
Compiler/Toolchain: nios2-elf-g++ (Altera 16.1 Build 196) 5.3.0

Other Notes/Information
I have a CMake toolchain file, gcc_nios.cmake:
#
# A toolchain file to cross-compile for the Nios II processor.
#

set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR nios)
set(CMAKE_SYSTEM_VERSION 1)

set(CMAKE_C_COMPILER nios2-elf-gcc)
set(CMAKE_CXX_COMPILER nios2-elf-g++)
set(CMAKE_ASM_COMPILER nios2-elf-gcc)
set(CMAKE_SIZE nios2-elf-size)

set(CMAKE_C_FLAGS_INIT "-mno-hw-div -mhw-mul -mno-hw-mulx -mgpopt=global"
    CACHE STRING "Altera Nios C flags")

set(CMAKE_CXX_FLAGS_INIT "-mno-hw-div -mhw-mul -mno-hw-mulx -mgpopt=global"
    CACHE STRING "Altera Nios C++ flags")

set(CMAKE_EXE_LINKER_FLAGS_INIT "-Wl,--gc-sections" CACHE STRING "Altera Nios Linker flags")

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

I created cmake-kits.json file:
[
   {
      "name": "GCC for Nios II",
      "toolchainFile": "../cmake/toolchain/gcc_nios.cmake",
      "environmentVariables": {
         "PATH": "/home/steve/intelFPGA_lite/16.1/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/home/steve/intelFPGA_lite/16.1/nios2eds/sdk2/bin:/home/steve/intelFPGA_lite/16.1/nios2eds/bin:$PATH"
      },
      "preferredGenerator": {
         "name": "Unix Makefiles"
      }
   }
]

When I use the CMake Tools extension to configure my project, I am presented with the error message presented above.

also have this problems

Hey could you provide use a logfile. This would help to see more Details.
https://vector-of-bool.github.io/docs/vscode-cmake-tools/troubleshooting.html#checking-the-log-file

I no longer have the plugin installed.


nixos/alertmanager: add checkConfig option

Description of changes
When using services.prometheus.alertmanager.environmentFile to substitute vars in the config file, checking the yaml file fails. So I just copied the checkConfig option from services.prometheus to make the config check optional.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@yorickvP Hi! I just noticed you added the envSubst in the first place. Could you please have a look?

Note that the environmentFile option could be greatly improved by using LoadCredential as well because of this modules use of DynamicUser.
Not sure if you're interested in tackling that too @ymarkus.
:smile:
Regardless... thanks for the PR :clinking_glasses:


Incorporate scenario transform in repo/project

To publish our data, we first create a scenario, then we select a template.
We've incorporated the template, but we aren't persisting the scenario, which I expect us to configure.
So, I want to move the scenario into the repo, reference that as the default export for regions.ditamap, and then use the template in our folder.
Where we are creating new elements, I'd like to use the FieldMan title. So, the scenario will be something like FieldMan WebHelp Scenario, and the template FieldMan WebHelp Template

done