about  the score of detector

Hello:
When I looked at the documenttation,the sentence which is" for each detection.  The score is bigger for more confident detections",now,I have a question ,what is the scope of score,What is the maximum score?and What is the minimum score?
Thank you !

And what is the detector you are using?
Lower bound is normally limited by detector threshold (argument passed to detector function when detecting). Upper bound is not limited and depends on detector's structure
If you need to normalize the range - run detector on some dataset and find min/max values

@e-fominov
Thank you very much !
I used the detector is "get_frontal_face_detector()",and I can't find the threshold.What you mean is that I can only define thresholds by myself?

you can call detector with setting the threshold - check the docs:
https://github.com/davisking/dlib/blob/master/dlib/image_processing/object_detector_abstract.h#L220-L226
template <
            typename image_type
            >
        void operator() (
            const image_type& img,
            std::vector<rect_detection>& dets,
            double adjust_threshold = 0
        );

so default adjust_threshold (i.e. minimal detection confidence) is zero. i can recommend you to use adjust_threshold in range -1..1 Negative values will make it detect more faces, but producing some false detections. Zero is good for most situations. Positive values will make it detect only high-confidence faces
And the upper bound of score is not high. It is not defined somewhere in code, so better run some detections and see them. As I remember, i never saw detection confidence higher than +3.5

@e-fominov I see ,thank you very much!

@hnsywangxin @e-fominov  I change the adjust_threshold to -0.5, -1 or -3, but the detector of get_frontal_face_detector() still can not detect more faces.

@ is there way to change the threshold in some cpp file for the get_frontal_face_detector()?

Yes, if you read the documentation for the class it tells you all about it.

similar to the original question regarding confidence, the "confidence" part of an mmod detection object seems to not be bounded between [0, 1] as expected from a neural net ..? What would I have to do to obtain normalized values of confidence for the neural net mmod face detections? Or is that also going to have to be averaged over the ratings on a given dataset?

Why do you need the values to be in the range [0,1]?  Unless you are
putting them into something like a Bayesian filter or similar construct
this kind of scaling should not be required.  Most networks are also not
setup to produce correctly calibrated class conditional probabilities, but
yield a relatively crude scaling to [0,1] by passing the number through a
sigmoid.  You can perform a good calibration using something like isotonic
regression or Platt scaling, both of which are in dlib.  But very few users
have need of such things.

I needed it because I wanted a "confidence" metric of a given face detection, so I that I donot proceed with the ones that have  a too-low confidence, but since I didn't know what the upper bound is, for new incoming images that are different from my dataset, I can't really perform an averaging over all the entries to obtain a reasonable upper bound.
Ok, I'll look into those approaches, thanks!

All of these methods to obtain a number in the range [0,1] just
monotonically scale the output.  This mean that, for any threshold in the
scaled output, there is a corresponding unique threshold in the unscaled
version which gives all the same decisions. For example, if the scaling
turns out to be that you divide the unscaled number by 100, to get it to be
in the range [0,1] and you use the threshold of 0.75, you might as well not
bother with the scaling step and just use a threshold of 75. This is why
I'm saying you don't want to do this.  It's code and complexity that is not
changing the behavior of the software, and is therefor not needed.
TLDR: if you are just going to threshold the output to make a decision, you
never ever need to scale outputs.

How the score of dlib.fhog_object_detector() is calculated? Any formulation?

It is the dot product between the weight vector and the HOG features.


Automatically regenerate regression tests

@ana-pantilie will take care of writing the script to clone the evm-semantics and wasm-semantics repositories. I will add a job on Jenkins which runs the script periodically and commits the result.


Metadata lookup

The main reason this needed to be made abstract is that it has to be able to get the correct telemetry log entry for video frames as well as photos. This means you have to store every single entry in the CSV rather than just the entries where the plane notes that it took a picture. It's also worth noting that since (if memory serves) the plane logs telemetry data 5 times per second, we will be dealing with thousands of entries. I'd recommend at the least doing a binary search when searching for matching entries.
It also shouldn't be structured as if it is reading sequentially since this may not always be true. You should read and store the entire file and then do queries afterwards rather than parsing the file every time that an entry is requested. This will also work better with having the class read log entries over the network (which I believe is the plan so that it can read the logs in real time) since then there isn't a file that can be re-read.
The ImageImport class should be updated to take a MetadataImport pointer in its constructor (and the MetadataImport object should also be stored in the ImageImport superclass as a protected member) so that we can both potentially reuse the same object and not have to deal with instantiating it in each subclass.
While I would like to say that it would also be nice for it to be able to handle reading and storing data from multiple log files in case we're using data spanning more than one flight (such as the test photos), I'm not sure how feasible this will be considering that the timestamps to my knowledge have a hhmmss.ms format, meaning that there is no date encoded in them, making handling multiple files a little more complicated. You will want to bear it in mind as a possibility but we should probably just stick to one reader object for each file for now.
I didn't notice this until now, but you should check the format of the telemetry files since they do not directly correspond with the fields in the metadata object (the error fields for example are supposed to be generated, not read, though you can ignore them for now). Do you actually have access to any of the logs for reference? If not we need to get you access to them.
Finally while I don't really want to be terribly picky with the competition looming I will point to the style guide and mention that class names should be camel case.

Considering that your latest commit made the test runtime for the picture_test go from 11 seconds on the previous build to 4 min 14 seconds on this one on my ARM server, I think it's worth pointing out an issue with how you're reading the csv file. While admittedly the computer we'll be running this on at the competition is much faster than an Exynos 5422, we certainly can't be spending several minutes at the beginning just parsing the csv file.
As far as I can tell, the slow parsing speed essentially comes down to the fact that you are now doing on average 40 string comparisons every time you read a number from the csv file.
It would be much faster if, rather than filling out the DataRead object as you go through each field on the line, you were to read each field on the line as strings (they can be converted later) into a temporary array (which can be reused too, since its size won't change) and then fill the DataRead object by looking up the index of the appropriate header in the temporary array. You can also cache the indices for the headers after reading the header so that you don't have to do the string comparison multiple times.
This way, rather than doing 3200 string comparisions for each line in the csv file, you just do 80 string comparisions at the beginning to find the indices of the fields and then just have to fill the array with the field values and create the DataRead object using 80 array lookups on each line.
It also should substantially reduce the size of the code, since the conditionals checking for each field can be replaced with a single repeated chunk of code to read each entry into the array (or use an existing tokenizer such as the boost tokenizer).


[Feature][CDC][SqlServer] Support multi-table read

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@EricJoy2048 @ic4y PTAL


Replace .unwrap_or with .map_or in few places

Signed-off-by: Otavio Salvador<EMAIL_ADDRESS>

I had a look at Travis CI error and it did not make much sense to me. Any hint?

Thank you!

The Travis error seems to be unrelated with this PR.


json to schematic

it is possible to convert from json to schematic?

it should work something like this:

from blockmodel import BlockModel

as_json = <your json string>
file_path = <where you want to save the schematic>

block_model = BlockModel.from_json(as_json)
block_model.save_as_schematic(file_path)

I have something like this json: https://pastebin.com/D10bYvYr
How can I convert it to schematic?


Windows 10 EPERM: operation not permitted, scandir

Once I add the ... plugin and try to deploy I get the below error, without the plugin it works fine. Any suggestions on how to get past this?
I have tried Serverless 1.35.1 & 1.36.0
serverless deploy -v
Serverless: Injecting Headless Chrome...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Error --------------------------------------------------
EPERM: operation not permitted, scandir 'C:\Projects\Samples\pdf\NodeJsLambda\NodeJsLambdaPdfEndPoint.build\node_modules'
 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Get Support --------------------------------------------
Docs:          docs.serverless.com
Bugs:          github.com/serverless/serverless/issues
Issues:        forum.serverless.com
Your Environment Information -----------------------------
OS:                     win32
Node Version:           8.11.1
Serverless Version:     1.35.1
Thanks a lot!

Hey tony,
try this?
https://stackoverflow.com/questions/50590798/nodejs-serverless-windows-10/50613829#50613829

Got a similar problem here.
> serverless deploy -v
Serverless: Injecting Headless Chrome...
Error --------------------------------------------------
EPERM: operation not permitted, symlink 'C:\Users\thasmo\Projects\myproject\node_modules' -> 'C:\Users\thasmo\Projects\myproject\.build\node_modules'

This only happens when adding the serverless-plugin-chrome to the serverless plugins. When I remove serverless-plugin-chrome then serverless deploy works.

@tonyschollum, does https://github.com/adieuadieu/serverless-chrome/pull/208 fix the scandir permission issue for you?


"Damage" and "Lethality" are not bold in the chat cards

All other skills and checks have a bolded emphasis of the term but when you roll weapon damage/lethality, those terms are not bolded.

I think this change has been made, hopefully in a way that doesn't mess up anyone's translation, but it is possible...


Control SMPP Server Default EnquireLink frequency

Is there a way to control SMPP Server default enquire link frequency ?? what i mean i need to disable enquire link sent from smpp server or even let enquire link to be every n of hours ?? since one of our clients smpp connected client do not handle enquire link if requested ??
any way to disable default smpp server enquire link ??
Thanks

Cloudhopper does not send any Enquire Links by itself, that logic must be implemented by you.


Error propagation with review comment incorporated

Error propagation enhancements. Review comment incorporated.

@marcushines enhancements for node deployment error propagation.

@alexmasi I have incorporated the review comments.


Expand README, link to documentation reference page

add brief overview of included constructs and their purpose
link to main CDK overview page in Restate docs (to be introduced in https://github.com/restatedev/documentation/pull/234)
links to CDK example code elsewhere

I'll merge only after the doc page CDK update has gone out.

Sounds good. Then let's also create a new release so that the README gets propagated to npmjs.


Public Orga-files

closes #3794

Still missing

[ ] the items in public folders need to be displayed on the meeting Level (currently only the root folder is displayed
[ ] canAccess() needs  to be fixed in Order to exchange getViewModelUnsafe() with getViewModel() (mediafile-repository.service.ts -> getMeetingMediafile() -> getViewModelUnsafe -> canAccess() )
[ ] Editing of the Title should be disable on MeetingLevel (currently possible via edit dialog)
[ ] Deleting and moving of public files should be prohibited (currently possible with mutiselect and the actions in the breadcrumb
[ ] when moving a not public mediafile public folders should not be selectable
[ ] Publizising a mediafile (including folder) does not show the mediafile in a Meeting (info goes through via subscription though) -> display of publizised mediafiles needs to be fixed
Orga-Level:
[ ] The publizise dialog should change wording dependent on published_to_meetings_in_organization_id
[ ] Deleting public files should show the appropriate information (adta is used somewhere)
[ ] Moving a file into a public folder should show a warning that it will be public
[ ] Moving a file out of a public folder should show a warning that it won't be public anymore

You need
https://github.com/OpenSlides/openslides-backend/pull/2563
and
https://github.com/OpenSlides/openslides-meta/pull/146

[ ] You can still select a public folder as the folder for a not public file
meeting-level: in file-list ->while uploading a file -> you can select a public folder for "upload to"
[ ] pdfs are not shown on the projector even if they are projected onto it (we had a pdf which was projected onto the default projector, file was not visible in autopilor, projector-list and projector-detail
[ ] if a public file is deleted then a warn-dialog should indicate where the file is being used
[ ] if a public file is unpublished then a warn dialog should indicate where the file is being used
[ ]  if a public file (as a child) is moved away from their public parent then a warn-dialog should warn the user that this file won't be public anymore
[ ]  if a file is moved into a public parent then a warn-dialog should warn the user that this file will be public now


Not configured for IPv6

fe80::c054:b507:4348:74bd looks like an IPv6 target specification -- you have to use the -6 option.

Added filter to remove IPv6 addresses for now.


Change SDK folder

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

@AutorestCI rebuild azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/6371
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/6371/commits/27176e279d9adde758594e855306b05e27aa3534


Add Classic-BiDi example script

Add example script showing operability between Classic and BiDi

Blocked on #289

Done in #485


Feature

Summary :ledger:
For this milestone, I:

Created a new feature.

[ ] Kindly edit your pull request description so that it is more descriptive. The title can be the name of the project for example and in the description, you can briefly write what you did in this pull request. 😄


refactor: update login routes

So the implemented flow now looks like this:

User visits the onboarding screen
Press sign in button
App redirects to the /login page.
User uses IDKit and verifies.
On success verification data from idkit goes to /api/login
/api/login checks if is there such a user in db with world_id_hash = nullifier_hash.
If "yes" case -> generates JWT and saves to cookies. redirects to /dashboard.
If "no" case -> generates temp JWT, stores in sessionStorage -> redirect to the /signup.
the user enters email and team name
submit and it sends a request to the /api/signup.
Creates team and user.
redirect to the /dashboard.

@paolodamico Updated by slack comments, please take a look.
Also, we have #94 which was created from this branch. I think we should merge #94 first and then this one. I'll review #94.


Bug | Layout shift when Clap is clicked

Current
When user visits any article, and clicks on the clap button, the following things are observed on the UI

A loader appears that replaces the clap icon
After the loader vanishes, the clap icon again appears
After a while, when the API returns response, The clap icon re-appears and the clap count is changed on the UI causing layout shift of clap icon.

Expectation
When user clicks on the clap icon, the clapping should be more intuitive. The CLS issue causes a bad UX.

Instead of clapIcon > then loader > then clapIcon | Show only clapIcon
The shifting of icon when the count increases should not happen. (Always assume the count will take specific width, so that the clapIcon will not shift to the left when the count is painted on the screen)
Light-weight animation to indicate the user clapped might look good (this is optional and open to other ideas) [refer medium claps for more details]

Sure, it's now assigned to you.


The future of this project

First, let me apologize for my inactivity. I know I've been quite sluggish in the maintenance of this project, but I'm basically working on this alone in my spare time so I hope you all can understand. I plan to resolve the open issues and rewrite the project using the latest version of Material Theme (hopefully within the month).
However, I've been thinking about the possible future of this project.  The number of themes has just been increasing continuously as I've been accepting more theme requests (it looks like there are currently 27). This is not ideal, considering that each theme has a bunch of assets and images associated with it (tabs, backgrounds, icons, etc).
I'm looking for advice from the community on how to proceed from here. Theme requests are still coming in today, and I'm a bit reluctant to accept them. Even the way it currently is today is way too much. If possible, I would like to allow the user to only install the theme that they want, but I don't know if there is a way to do "subpackages" in Package Control. Does anyone have any knowledge about this?
Another option is to deprecate this project, and split it into individual theme packages. However, I don't know how the folks over at @packagecontrol would feel about me suggesting they add 30 almost identical themes to the repository.
A third option could possibly be a sublime plugin that would allow you to select a theme, and then once you have chosen it, it would remove all the unused themes/schemes/assets. I don't know very much about the plugin API, so this would need to be looked into.
The fourth option is to do nothing and just continue as-is. I'm basically looking for some feedback from the community on what a good way to proceed from here would be. If any of you have knowledge about the plugin system or package control's capabilities, I would really appreciate it.

Some thoughts:
1: I believe most would be fine with the way it currently is. For me, at least, I'm perfectly fine installing >30 themes even if I don't use more than a couple themes. When I install Materialize, I expect to be able to switch themes offline when I get bored of my current theme. In my opinion, the ability to switch themes completely without changing layouts is a huge advantage for me.
2: Splitting the project into ~30 repositories is overkill. Moreover, I would lose the ability to preview all schemes in real-time, using Schemr (and Themr). Also, I won't be able to switch themes offline, unless I explicitly download them manually beforehand.
3: A plugin that deletes unused assets seem unnecessary to me, since as a user, I don't really feel that much of a bloat in having over 100 themes installed in my system. All of these are accessible to me via a simple search, so browsing through all these isn't a problem to me.
4: Have you considered creating an adaptive theme instead? One where there would only be one Materialize theme globally and there would be multiple color schemes that the theme adapts to (check out the latest stable build's built-in Adaptive theme). This makes adding new color schemes easier.
5: A possible "workaround" to installing every theme at once is to create a built-in theme switcher wherein you would provide functionality similar to Colorsublime. As far as I know, Colorsublime fetches its color schemes asynchronously, so themes are loaded only as soon as the user requests to load it. Upon fetching the theme for the first time, it is saved locally and can then be used offline.
I haven't personally dealt with Package Control or Sublime's plugin system directly, so I wouldn't know if any of these are possible. Just some thoughts from a user's standpoint.

By the way https://github.com/equinusocio/material-theme is now dead.


empty explanation dashboard and no access remote VM hosted

Hi,
I just found out about error analysis widget tool via Azure AI video on Youtube.
I hope to include this in my development toolkit, but I fail.
Maybe I can be of assistance by reporting my struggle getting this dashboard to work and test out.
I have setup an Azure data science VM with Ubuntu.
Cores : 2 (2GHz)
Memory: 7.78 GB (21.8%)
Swap  : 8 GB
Disk  : 145 GB (54.1% ext4)
System: 18.04.1-Ubuntu
I have currently installed the following on my notebook.
kernel name : py36_erroranalysis01
builded like this:
/anaconda/bin/conda create -y --name py36_erroranalysis01 python=3.6
conda activate py36_erroranalysis01
pip install raiwidgets
pip install ipykernel

and then I ran the whole notebook example from your git repo
below full pip list:
Package             Version
------------------- -------------------
backcall            0.2.0
certifi             2020.12.5
click               7.1.2
decorator           4.4.2
Flask               1.1.2
Flask-Cors          3.0.9
gevent              20.6.2
greenlet            1.0.0
interpret-community 0.17.1
interpret-core      0.2.4
ipykernel           5.5.0
ipython             7.16.1
ipython-genutils    0.2.0
itsdangerous        1.1.0
jedi                0.18.0
Jinja2              2.11.1
joblib              1.0.1
jupyter-client      6.1.11
jupyter-core        4.7.1
lightgbm            3.1.1
MarkupSafe          1.1.1
numpy               1.19.5
packaging           20.9
pandas              1.1.5
parso               0.8.1
pexpect             4.8.0
pickleshare         0.7.5
pip                 21.0.1
prompt-toolkit      3.0.16
ptyprocess          0.7.0
Pygments            2.8.1
pyparsing           2.4.7
python-dateutil     2.8.1
pytz                2021.1
pyzmq               22.0.3
rai-core-flask      0.2.0
raiwidgets          0.2.2
scikit-learn        0.24.1
scipy               1.5.4
setuptools          52.0.0.post20210125
shap                0.34.0
six                 1.15.0
threadpoolctl       2.1.0
tornado             6.1
tqdm                4.59.0
traitlets           4.3.3
wcwidth             0.2.5
Werkzeug            1.0.1
wheel               0.36.2
zope.event          4.5.0
zope.interface      5.2.0

My VM has inbound and outbound ports 5000 open
I have this test server running for you to look for yourself if you like (I will leave this open for a week):
https://<IP_ADDRESS>:8000/user/ubuntu/notebooks/responsible-ai-widgets/notebooks/erroranalysis-interpretability-dashboard-census.ipynb
I am getting an empty dashboard !
I would also like to be able to load the dashboard on the VM IP and access it remotely like with ExplanationDashboard
ExplanationDashboard(explanation=global_mimic_explanation,
                     model=model,
                     datasetX=x_test,
                     true_y=y_test,
                     port=5000,
                     public_ip="<IP_ADDRESS>")

I would love to be able to do the same for error analyis for example:
ErrorAnalysisDashboard(explanation=global_explanation,
                       model=dashboard_pipeline,
                       dataset=X_test_original_full,
                       true_y=y_test,
                       categorical_features=categorical_features,
                       true_y_dataset=y_test_full,
                       port=5000,
                       public_ip="<IP_ADDRESS>")

for some reason, maybe you did not yet implemented it, we can not define this port and public_ip it returns an error.
Nor, am I able to connect to http://localhost:5000 and replace it ==> http://<IP_ADDRESS>:5000 ?
I appreciate your time, and effort and this nice new tool, it looks amazing :-)

also, I should note that the old interpret-community dashboard wasn't working for me either yesterday, but somehow today it magically started working.  I think actually when I configured my DSVM to open my ports the settings didn't apply right away, I needed to wait some time before the configuration started working.

note I need to open in new tab for it to work on DSVM in that PR (https://github.com/microsoft/responsible-ai-widgets/pull/377):

within the notebook itself it's still not working (I get a "mixed content" error):

owh yes it seems mixed-content means a mix between http with https content on that same site.
You either fix the web content or you allow mixed-content if you trust the source.
there is a test weblink
if you use Chrome browser you click on

and then for that site you "enable":

then reload the site and you will see:
Waiting for insecure script to run... INSECURE SCRIPT LOADED AND RUN!!!
This insight explanation: https://www.howtogeek.com/443032/what-is-mixed-content-and-why-is-chrome-blocking-it/
but indeed, I am not in the knowledge how to ErrorAnalysis dashboard with HTTPS instead of HTTP
now, about ports opening I open the ports after I created the VM and then at least 15-20min pass before I use the VM,
this delay is remarkable and perhaps can be tested using putty CLI command in the future.
I don't think the delay is due to Azure, but the Ubuntu OS network driver could need a bit more time to adapt.
We cold perhaps scan for open ports and only list port 8082 with this command:
sudo netstat -tnlp | grep :8082
this netstat tool sis installed with:
sudo apt install net-tools
I don't know but would you need to change http into https for line 30 ?
https://github.com/microsoft/responsible-ai-widgets/blob/main/wrapped-flask/rai_core_flask/environments/public_vm_environment.py#L30
I wonder about that WSGIServer with TLS/SSL issue,
would it be able to be found within the codebase from interpret_community.widget import ExplanationDashboard and be inspired how they did it there for using within your from raiwidgets import ExplanationDashboard  and ErrorAnalysisDashboard ?
Maybe you can get it working using this: https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https
from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == "__main__":
    app.run(ssl_context='adhoc')

The idea is to use on-the-fly certificates,
which are useful to quickly serve an application over HTTPS without having to mess with certificates.
All you need to do, is add ssl_context='adhoc' to your app.run() call.
You had an amazing find there, fantastic, not easy

I created a new VM, I confirm the notebook I send by mail works fine.
I also tried the breast_cancer example notebook from this git repo and it is able to
Load the interpretability visualization on port 5000 within the notebook properly.
I reset and clear the notebook kernel.
rerun all skip interpret and Load the Error Analysis dashboard and get the same as you.
A blank page, I tried to allow all Chrome settings for this webpage,
I can click on explanation button top right and see visualizations, but not the Tree.

ssl_context='adhoc' doesn't work with WSGIServer - although the parameter exists, I can only pass an SSLContext object.
I tried the following:

and changed the base URL to use HTTPS for public server, but then I got "no shared cipher" errors like:

maybe there is some way to get this path working with dummy SSL auth - the alternative is to have the user setup actual cert/key on their public VM and pass those as parameters, but I'm not sure if that can automatically be done in a safe way for the user instead.

@albert-kevin I just released a new rai-core-flask package, you can try to pip install it to get the fixes from this PR:
https://github.com/microsoft/responsible-ai-widgets/pull/377
https://pypi.org/project/rai-core-flask/#history
just pip install --upgrade rai-core-flask
I am working on releasing new raiwidgets that pins to that version, but as long as you only install that package and not reinstall raiwidgets (which will downgrade to older pinned package) that should work.
Then, you can view error analysis in a separate tab on the VM (but still get mixed content error within notebook)

ok,
thank you, I have done the following and it gives me results that I find that everything works.

It still works when I use enabled or disabled:

what have I done exactly (using python3.7 this time):
login to my DSVM as user ubuntu
/anaconda/bin/conda create -y --name py37_errorML01 python=3.7
conda activate py37_errorML01
pip install psutil
pip install --upgrade ipykernel
git clone https://github.com/microsoft/responsible-ai-widgets.git

open the notebook with kernel py37_errorML01
%pip install --upgrade interpret-community
%pip install --upgrade raiwidgets
%pip install --upgrade lime
%pip install --upgrade rai-core-flask

Package             Version
------------------- -------------------
backcall            0.2.0
certifi             2020.12.5
click               7.1.2
cycler              0.10.0
decorator           4.4.2
Flask               1.1.2
Flask-Cors          3.0.9
gevent              20.6.2
greenlet            0.4.16
imageio             2.9.0
interpret-community 0.17.1
interpret-core      0.2.4
ipykernel           5.5.0
ipython             7.16.1
ipython-genutils    0.2.0
itsdangerous        1.1.0
jedi                0.18.0
Jinja2              2.11.1
joblib              1.0.1
jupyter-client      6.1.11
jupyter-core        4.7.1
kiwisolver          1.3.1
lightgbm            3.1.1
lime                <IP_ADDRESS>
MarkupSafe          1.1.1
matplotlib          3.3.4
networkx            2.5
numpy               1.20.1
packaging           20.9
pandas              1.2.3
parso               0.8.1
pexpect             4.8.0
pickleshare         0.7.5
Pillow              8.1.2
pip                 21.0.1
prompt-toolkit      3.0.17
psutil              5.8.0
ptyprocess          0.7.0
Pygments            2.8.1
pyparsing           2.4.7
python-dateutil     2.8.1
pytz                2021.1
PyWavelets          1.1.1
pyzmq               22.0.3
rai-core-flask      0.2.1
raiwidgets          0.2.2
scikit-image        0.18.1
scikit-learn        0.24.1
scipy               1.6.1
setuptools          52.0.0.post20210125
shap                0.34.0
six                 1.15.0
threadpoolctl       2.1.0
tifffile            2021.3.5
tornado             6.1
tqdm                4.59.0
traitlets           5.0.5
wcwidth             0.2.5
Werkzeug            1.0.1
wheel               0.36.2
zope.event          4.5.0
zope.interface      5.2.0

I do notice that the webpage does not load properly within the notebook. here is a screenshot:

To give more context on this issue: I am leaving this issue open for now, because the user still can't view the error analysis and what-if parts of the widgets in the notebook, although with the fixes mentioned the user can now at least view it in a new tab or see the static view of the widget.  However the original bug is quite different from the last part that is blocking this from being closed.

Closing this issue, as customer was unblocked and there haven't been comments for a while here. If someone is seeing something similar please open a new issue on github.


Setup CI/CD Flow in Github

Setup Environments and GitHub Actions for the CICD flow for the github repo
Github Tags & Automatic releases with incrementing versions

Added a CICD workflow but no way to test it until we add a solution

I got it to work on another repository though


[IDEA] Automate the activation of the early access to a new major release for a Power Platform environment

In some cases you could want to automate the activation of the early access to a new major release for a Power Platform environment.
Below we have some information (gathered by our friend David Rivard) that could help us work on that issue:
Here is the request that is sent when you click on the Enable button:
https://admin.powerplatform.microsoft.com/api/environments/{GUID_OF_ENV}/features/October2020Update/enable?geo=Na
*geo=Na must standfor NorthAmerica
**I guess Each update will have there own url (ex. October2020Update, April2021Update) etc..
The tricky part would be to assess when the upgrade process is finished in order to put it in a release pipeline.
By analyzing the request sent by the admin portal I think this could be achieved.
After enabling the feature, this request is sent at regular interval
https://admin.powerplatform.microsoft.com/api/environments/{GUID_OF_ENV}/features?geo=Na
The response gives the status of the upgrade in the AppsUpgradeState property
Upgrade in progress

Upgrade finished

I already asked MSFT for a supported way to enable Release Wave x via API. They told me some months ago that there is currently no other way than doing it via the UI in PPAC.
Would be great if we could find an alternative.

Since the UI in PPAC always requests some API it should be possible to do that by our self. If I remember correctly @drivardxrm look at something in that space already.

In complement, this issue has been created based on the information provided by David Rivard 😉 (as you can see in the description - first post - of the issue)


OpsGenie cross-team deduplication - alias prefix

OpsGenie has built in deduplication of alerts.
This is a problem for us because we have multiple teams using the same OpsGenie account (different teams).
Deduplication is based on the opsGenie alias field. This field is set to the alertmanager alert key.Hash.
This means that if two teams have the same alert key, they will be deduplicated even if they are different alerts.
As a result, we have alerts which are only sent to one team, but are deduplicated on another team. The same can happen for resolving alerts. If the alert is resolved in the team that did not receive the alert, it will not be resolved in the team that did receive the alert and stay open until it is resolved manually.
One workaround is to configure a prefix for the Promtheus Integration in OpsGenie. This will add the prefix to the alias field. This will prevent deduplication between teams.
Unfortunately, this does not support updating summary and description fields (config: update_alerts).
Another workaround is to change the "group by" rules in alertmanager and add another label, e.g. team. But this configuration is error prone.
Proposed solution:
Add a new field to the OpsGenie integration configuration in alertmanager. This field will be added to the alias field. This will allow us to configure a prefix for the alias field and prevent deduplication between teams.
It will also allow use cases where the alerts from different monitoring clusters should not be deduplicated. https://github.com/prometheus/alertmanager/issues/1598

Hi,
The issue can happen in several ways, but the easiest one is probably,
Two teams share the same opsgenie Organisation, they have both access to the same cluster and monitor the cluster health (e.g. using default set of alerts).
Only one of both teams will see the alerts in opsgenie due to opsgenie dedup.

Two teams share the same opsgenie Organisation, they have both access to the same cluster and monitor the cluster health (e.g. using default set of alerts).

So just to make sure I understand 100%. There is an alert (or set of alerts) that are routed to both teams, either via a single route that has a receiver with multiple integrations, or two different routes. For example, something like this:

However, in this case, the alert delivered to both teams in Opsgenie has the same key because they are the same alert. This means for example, that Team 1 will receive the alert and Team 2 will not?

One workaround is to configure a prefix for the Promtheus Integration in OpsGenie. This will add the prefix to the alias field. This will prevent deduplication between teams. Unfortunately, this does not support updating summary and description fields (config: update_alerts).

Can you tell me more about how this works and why the summary and description is not updated?

Another workaround is to change the "group by" rules in alertmanager and add another label, e.g. team. But this configuration is error prone.

Would this even work if both teams share the same alerts, as in the diagram above?

However, in this case, the alert delivered to both teams in Opsgenie has the same key because they are the same alert. This means for example, that Team 1 will receive the alert and Team 2 will not?
Yes, exactly. This is described here (missing out the part that the deduplication ignores team boundaries): https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/

In the configuration of the prometheus integration in opsgenie, you can add a unique prefix to the alias per api key (needs some license above basic):

This is supported for Create, Close, Acknowledge and for adding notes to alerts.
So this workaround allows adding a prefix on server side to each integration -> Each team will now receive create and close events for alerts 👍🏽
But, there is no alias configuration for "Update alert" on OpsGenie. As a result the update of an alert will not reach the Opsgenie alert. This is the case if another alert is added to an existing alert group in alertmanager and update_alert is enabled.
I did not found any workaround if you have multiple teams in opsgenie to make both working.
Therefore: https://github.com/prometheus/alertmanager/pull/3640
I noticed this while trying to get opsgenie looking like this:

This needs also: https://github.com/prometheus/alertmanager/pull/3430

@gotjosh can you have a look please?
The current opsgenie integration is surprisingly bad.
Therefore this PR and #3430


Rust alpha

Currently the bebop-tools package is not able to compile schemas, so investigating that now.

@AndrewMD5 This is ready IMO. I have tested locally with the v2.3.0-alpha.3 version and everything seems to be in order.


Run without debug

Hi,  is VS "Debug -> Start without debugging" supported by MIEngine ? With my current integration, that command leads to error like "the program is not a win32 application". So it seems like that's not routed to MIEngine.
Thanks.

@digittigerw can you tell me more about what you are trying to do?
In Visual Studio, debug engines don't participate in "Start without debugging".

@gregg-miskelly I just try to allow my user/developer to download and run a program on device without attaching debugger. Or at least disable the "Start without debugging" command in the menu so that it won't lead to error.

@digittigerw are you the owner of a project system that launches the MIEngine? Can you tell me a bit about what you are asking the MIEngine to do? (ex: launch a process, attach to a process, etc).

Yes, I'm writing an extension that extends MIEngine for our own target platform.  I can start debugger (gdb) to debug a program now. But I also want to launch a program on my target device without debugging it, namely download the binary and launch it then leave it alone.

So what you want to do is to check for the DBGLAUNCH_NoDebug flag that is passed to the project system to start debugging. If you have the ability to communicate with the device without using GDB, you could then do that inside of your project system instead of calling the debugger service (IVsDebugger.LaunchDebugTargets[2/3/4]).
If you can only launch programs through GDB, you could fail the launch immediately with some sort of 'unsupported' error message.

Yes, I found the answer.  I can do that in my subclass of DebugLaunchProviderBase.  Thanks !


Why are Piwik instances tracked against a HashMap of Application objects

AFAIK, the Application object is a singleton that lives as long as the app process exists. There will not be a case where we pass different application objects to Piwik.getInstance(...).
I think we could just remove the HashMap. Did I miss anything?

You totally right, there is no need of HashMap. It could be rewritten by users (if they want more than 1 tracker) to something like  this https://developers.google.com/analytics/devguides/collection/android/v4/#tracking-methods

This will be resolved by #34


TypeScript parser

Q
A

Bug fix?
no

Breaking change?
no

New feature?
yes

Deprecations?
no

Spec compliancy?
no

Tests added/pass?
Tests added, and pass

Fixed tickets
#320

License
MIT

This is a WIP, so please don't merge yet. The AST spec is likely to change. I am just looking to get comments on the implementation.
For those interested in just the AST spec, just look at the changes to src/types.js. I am tracking differences with typescript-eslint-parser here.
CC @stephen @JamesHenry @DanielRosenwasser
Notes:

It shares a lot in common with the flow plugin, but for now I am just using identical code (and marking it as such). In the future they should probably share.

Test files should really have a .ts extension, but that would require editing babel-helper-fixtures. Shall I make a pull request there?

Test files should really have a .ts extension, but that would require editing babel-helper-fixtures. Shall I make a pull request there?

I think that should be covered by https://github.com/babel/babel/pull/5511 but I didn't think we really wanted it earlier?

I know it's easier to modify the code in src/expression etc, but is there a way for us to make the parser plugin like in estree/flow/jsx? https://github.com/babel/babylon/tree/master/src/plugins.
The concern is how we are going to do versioning? In flow I guess everything is a minor/patch though.

I know it's easier to modify the code in src/expression etc, but is there a way for us to make the parser plugin like in estree/flow/jsx?
Does that mean you would want more changes like 733943a?

@nicolo-ribaudo Done https://github.com/babel/babylon/pull/523/commits/bee125d51ced2d80b12b2cc111c9d1f31c456bbd

Can review the non-test files with https://github.com/babel/babylon/compare/master...andy-ms:ts-wip-no-test?expand=1

@danez @stephen @nicolo-ribaudo any more thoughts?

I have a concern about versioning: https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes makes me think that typescript can have breaking changes. Does this PR make babylon potentially need a major version bump every time a new ts version is released?

Typescript never had syntactic breaking changes. Meaning valid syntax that is supported by one version and disallowed by a newer version. All breaking changes are semantic in nature; either new error checks or new behaviors for the type system. All these are outside the scope of Babylon. There are some changes in the resulting code from tsc but these are not relevant here either.
So from parsing perspective we have a guarantee for no breaking changes movinging forward.
Hope that addresses your concern.

Thank you 👍

Congrats, @andy-ms! Awesome work 😄
We can keep fine tuning the AST together but it's fantastic to have this merged!

@hzoo Please notify me when this is published.

yep doing it now!

https://github.com/babel/babylon/releases/tag/v7.0.0-beta.16

Oh. My. God. <3


HMR Connected but not picking up changes

Hi,
I have setup an application which uses your middleware but have run into an issue where my code wont hot reload.
In the browser console it states the [HMR] is connected but doesn't detect any changes?
I am fairly new to this so if I may have missed something.
I have this running on a vagrant server not sure if that would pose an issue?
the application is here if you wouldn't mind taking a look 👍

Nothing looks obviously wrong.
What does the output look like in the console where the server is running?
If it's via vagrant there's a chance that you're not getting filesystem change events, and you'll need to configure webpack-dev-middleware to use the fallback polling mechanism for changes. I don't know how/if this can be done - you'll have to check their docs.

I have added a screenshot below.

It looks to serve the assets correctly but when I edit an angular typescript file It doesn't send out any sort of update request?
Do I have to implement any sort of watcher or does the middleware do that for me?

Personally HMR is picking up changes (I install notify-tools on my debian container) BUT the HMR client fails to connect (#374) @moshie how did you make websocket connection works (once again detecting file changes works fine) ?


Correctly apply the fixed diffusion to the output distribution

Codecov Report

Merging #94 (e1d35db) into main (1ebcdea) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   92.77%   92.79%   +0.02%
==========================================
  Files          25       25
  Lines         996      999       +3
==========================================
+ Hits          924      927       +3
  Misses         72       72

Impacted Files
Coverage Δ

src/integrator_utils.jl
100.00% <100.00%> (ø)

src/perform_step.jl
98.47% <100.00%> (ø)

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 1ebcdea...e1d35db. Read the comment docs.


Tellmon IP bridge - NULL frame not recognized

I am getting this error in HomeAssistant, using pysiaalarm 3.1.1:
Last line could not be parsed succesfully. Error message: No matches found, event was not a SIA or ADM Spec event, line was: D2860025"NULL"0001#1997[]_17:07:08,05-23-2024. Line: D2860025"NULL"0001#1997[]_17:07:08,05-23-2024
I am suspecting that the 0001 before the account id is the problem, but not sure., any hints?

Changing main regex fixes this, but next: 401 events were not mapped after that to the zones in HA
main_regex = r"""
(?P<crc>[A-Fa-f0-9]{4})
(?P<length>[A-Fa-f0-9]{4})\"
(?P<encrypted_flag>\*)?
(?P<message_type>SIA-DCS|ADM-CID|NULL)\"
(?P<sequence>[0-9]{4})?
(?:(?P<receiver>R[A-Fa-f0-9]{1,6})
(?P<line>L[A-Fa-f0-9]{1,6}))?
[#]?(?P<account>[A-Fa-f0-9]{3,16})?
[\[]
(?P<rest>.*)
"""
MAIN_MATCHER = re.compile(main_regex, re.X)


No page content for https://k8s.io/docs/reference/kubectl/kubectl-cmds/

A page just to provide a link another page?
My be you are planning more links on this page.
If not this page it self can point to target page.

Hi @nagajagan in this Link there is another link reference to kubectl commands refrence , so far i am understanding is that you want to replace reference Link for kubectl command to be in this page ?

To fix this, edit static/_redirects so that it redirects readers to https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands
/good-first-issue
/language en

/triage accepted

/retitle No page content for https://k8s.io/docs/reference/kubectl/kubectl-cmds/

/assign

hi @sftim, could you help to review the PR? Thanks

@jlsong01 reviewers (who are mainly volunteers) pick up that task on a rota. I can take a look though.

/remove-good-first-issue


New vk8s workload dialog page has an updated Deploy Options section

Environment

Application Lab

Describe the bug
New vk8s workload dialog page has an updated Deploy Options section.
To Reproduce
Steps to reproduce the behavior:

Go to both Exercise 3: Create Virtual K8s Workload for the API and Exercise 2: Create Virtual K8s Workload for the Single-page App of  'Virtual Kubernetes' lab sheet
At step 7 'Enter the following variables in the Deploy Options section.'
Add this attached screenshot
Update the variable 'Where to Deploy the workload' to 'Deploy Options'
Go to Deploy the “Recommendations” Service. lab sheet. Look for the section Exercise 2: Deploy the “Recommendations” Workload.
At step 6. Enter the following variables in the Deploy Options section., add this attached screenshot.
Update the variable 'Where to Deploy the workload' to 'Deploy Options'

Screenshots

Additional context
Love the labs!

updated in a8ce94542a26ed92620e054b90eaaa66a221459f


Missing LICENSE file for viogpu

Describe the bug
A LICENSE file is missing for viogpu
To Reproduce
Check files in viogpu folder
Expected behavior
Add LICENSE file for viogpu as other VirtIO drivers

https://github.com/virtio-win/kvm-guest-drivers-windows/pull/844


KRAKEN : [ORDER] Gekko received error from GB: Order:Insufficient funds

Hello Team,
Gekko failed to make and order which i'm not understanding why.
Below are the logs :

2019-03-16 13:29:01 (INFO):     Setting up:
2019-03-16 13:29:01 (INFO):              Trader
2019-03-16 13:29:01 (INFO):              Follows the advice and create real orders.
2019-03-16 13:29:03 (DEBUG):    syncing private data
2019-03-16 13:29:03 (INFO):
2019-03-16 13:29:14 (INFO):              Portfolio:
2019-03-16 13:29:14 (INFO):                      135.104 USD
2019-03-16 13:29:14 (INFO):                      0 BCH
2019-03-16 13:29:14 (INFO):              Balance:
2019-03-16 13:29:14 (INFO):                      135.104 USD
2019-03-16 13:29:14 (INFO):              Exposed:
2019-03-16 13:29:14 (INFO):                      no (0.00%)
2019-03-16 13:29:14 (INFO):     Setting up:
2019-03-16 13:29:14 (INFO):              Performance Analyzer
2019-03-16 13:29:14 (INFO):              Analyzes performances of trades
2019-03-16 13:29:15 (INFO):
2019-03-16 13:29:15 (INFO):     Setting up:
2019-03-16 13:29:15 (INFO):              Child to parent
2019-03-16 13:29:15 (INFO):              Relays events from the child to the parent process
2019-03-16 13:29:15 (INFO):
2019-03-16 13:39:03 (DEBUG):    syncing private data
2019-03-16 13:39:55 (INFO):     Trader Received advice to go long. Buying  BCH
2019-03-16 13:39:55 (DEBUG):    Creating order to buy 0.838333115610712 BCH
2019-03-16 13:40:05 (DEBUG):    [ORDER] statusChange: SUBMITTED
2019-03-16 13:40:06 (DEBUG):    [ORDER] statusChange: OPEN
2019-03-16 13:40:10 (DEBUG):    [ORDER] statusChange: MOVING
2019-03-16 13:40:11 (DEBUG):    [ORDER] statusChange: ERROR
2019-03-16 13:40:11 (ERROR):    [ORDER] Gekko received error from GB: Order:Insufficient funds
2019-03-16 13:40:11 (DEBUG):    Error: Order:Insufficient funds
at rawRequest (/home/manjeet/gekko/exchange/node_modules/kraken-api/kraken.js:54:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
<<<<
When i calculated, 0.838 BCH was around $122. GEkko could still buy it.
When i checked on kraken > my orders, i found that gekko bought 0.8004 BCH.
All i did, was git pull to have all up to date.
Did anyone had this issue ? How does gekko decides how much to buy ? Can it be lowered ?
Is it my fund is too low ?
Your help will be really appreciated. Thank you very much :)
Regards,
Manjeet

sometimes it happens due to fast moving price . check market order or use greenGeeko it has other feature to help fixing this


Fix issues reported by golint

Coverage decreased (-0.06%) to 89.253% when pulling a7c38de78628d158681cda61e4e6f5bc9e9b9193 on fix_golint into b9e3b6a059b21a7be1db8c9e122431453b38b822 on master.

👍

LGTM

@pbetkier is working on huge feature. We can cleanup the code when it will be read before 1.0.0 release.


Default initializer for Students t is faulty

The default n_dim parameter isn't initialized correctly when no value is provided by the user.
#bug

Hi @andrewjlee0,
Good catch. The n_dim argument has been removed (commit 3e49e236ce30f104257a97a8fe8514ca2de37a2f) since it is redundant with the free parameter alpha. Originally this was included to help users pick a reasonable default (i.e., van der Maaten suggests alpha=n_dim-1). This decision is now left up to the user.

Hi @andrewjlee0,
Good catch. The n_dim argument has been removed (commit 3e49e236ce30f104257a97a8fe8514ca2de37a2f) since it is redundant with the free parameter alpha. Originally this was included to help users pick a reasonable default (i.e., van der Maaten suggests alpha=n_dim-1). This decision is now left up to the user.


Peek activation shortcut interferes with Excel

Microsoft PowerToys version
0.70.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Peek
Steps to reproduce
Enable Peek, Open Excel, press control+Spacebar
✔ Expected Behavior
Excel is supposed to select the entire column.
❌ Actual Behavior
Nothing happens
Other Software
Excel, both 2010 and 365 monthly channel.

/dup #26150


Support for other version control

Please add requests for other VC support here:

[x] git
[x] hg
[x] bzr (this wasn't very cleanly implemented!, see PR #53).
[ ] svn
...

I had hoped that PR #37  would act as a "guide" to adding additional VCS support...

Note: you can pass in a diff, so this isn't too important:
svn diff | pep8radius --from-diff=-


Validate action parameters in tasks of Mistral WF

Throw exception if required parameters are not given and if unexpected parameters are present.

I made a similar change to our custom json schema validator code a while ago (support for default values).
It looks like that the code in this PR follows the same validation logic as we do for action parameters so I'm curious if we can re-use the same code we use for actions (this way we have less code to maintain and we don't need to worry the validation logic will diverge)?

@Kami: Can you point me exactly to the validator code you're referring to?

@Kami: are you referring to https://github.com/StackStorm/st2/blob/master/st2common/st2common/util/schema/init.py#L98?  If so, I'm not trying to assign default here.  I'm just checking if the list of required parameters (w/ no defaults) are provided or if there are unexpected parameters in the list.

@m4dcoder Yeah, I was referring to that.
In this case that's OK. We should probably just move it to action param utils module since it's something which is can also be re-used in other parts, not just Mistral :)


Added AsyncAutocomplete component

This fixes a few issues:

Brings back AbortSignal support

This should fix the barcode scanner + enter bug

Fixes data loading in ValueSetAutocomplete and derivatives (CodeInput, CodingInput, CodeableConceptInput)
Eliminates unnecessary $expand requests on page load
Mitigates unnecessary requests on fast data entry

Architecturally, this feels much cleaner, as it adds the missing layer between Mantine's <Autocomplete> and our custom data fetching autocomplete controls.
We should probably port <ResourceInput> in the same way.

Coverage decreased (-0.07%) to 94.017% when pulling 7122fd5ac5390c2e1fef54ffe10816cdbac75b81 on cody-async-autocomplete into 9a4963df71983ec27c5583bf95db5822d580c697 on main.


gh: add issues templates

Describe your changes
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

closing this, can be reopen once https://github.com/0xPolygonMiden/miden-base/pull/512 is implemented.


Can't go get gocode: unexpected end at 44938, want 4941

Trying to go get gocode results in what looks like an incomplete file?
$ go get -u github.com/mdempsky/gocode
# github.com/mdempsky/gocode
2018/10/28 22:35:08 /usr/lib/go-1.11/pkg/linux_amd64/compress/zlib.a(__.PKGDEF/): unexpected end at 44938, want 4941

Cannot reproduce with other Go packages.
go version go1.11.1 linux/amd64
Ubuntu 16.04
Thank you!

Looks like the issue was ultimately that my installation of Go was corrupt in some manner. Reinstalling Go altogether has fixed this.  Thanks.


AUTHORS List

Add team and contributors to the AUTHORS list on GitHub

Team members are already on the AUTHORS list, need to add Contributors on it


Add WebTorrent Desktop v0.3.1

Changes to a cask
Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[ ] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

Really? The name of the application is WebTorrent Desktop but it creates an app called WebTorrent, should I still chance it?


handle some common client behaviour

Some programs are resetting _NET_WM_STATE properties to their current value,
to indicate that values may have changed.
Example program: "StepMania"

configure in windowed mode
change resolution (maybe a few times is required)

Current behaviour:
Results in unhandled _NET_WM_STATE messages of type _NET_WM_STATE_FULLSCREEN / max_h / max_v
No other unhandled messages are logged.
Nothing happens.
Behaviour with PR:
Emits a new signal.
Compositors can decide what to do.
Other:
Works fine on gnome.

What does the spec say about _NET_WM_STATE client messages? Does it state that XWMs must replace the _NET_WM_STATE prop in response? If so, wlroots should handle it.

What does the spec say about _NET_WM_STATE client messages? Does it state that XWMs must replace the _NET_WM_STATE prop in response? If so, wlroots should handle it.

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2650


[enhancement]: Please support E330 (T8531) Video Smart Lock

Describe the solution you'd like
Please support E330 (T8531) Video Smart Lock https://www.eufy.com/ca/products/t85311y1?variant=42672175710373

404 for me


Add tutorial participants to list

Hey, this somehow got created as a PR into your own develop branch rather than the main one! I'm sorry. I'm making a new one here so it actually goes in the docs! https://github.com/lookit/lookit-docs/pull/42


ci(docker): Overhaul Docker stuff

Switch to 2-step build process for Docker images, reducing build times and final runtime image size
Add :latest image publishing to Craft

@EvanPurkhiser getting Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank", not sure if this is normal or not.

Yeah I've seen that as well, not sure if it's going to be a problem or not yet.


deleteAllLocations method crashes the app on iOS 10.3.3 (iPhone 5S)

Your Environment

Plugin version: 3.0.0-alpha.37
Platform: iOS
OS version: 10.3.3
Device manufacturer and model: iPhone 5S
Cordova version (cordova -v): 8.0.0
Cordova platform version (cordova platform ls):
Installed platforms: android 7.1.0 ios 4.5.4
Plugin configuration options:
From config.xml
  <plugin name="cordova-plugin-mauron85-background-geolocation" spec="^3.0.0-alpha.37">       <variable name="GOOGLE_PLAY_SERVICES_VERSION" value="11.+" />       <variable name="ANDROID_SUPPORT_LIBRARY_VERSION" value="23+" />       <variable name="ALWAYS_USAGE_DESCRIPTION" value="“The" />       <variable name="MOTION_USAGE_DESCRIPTION" value="Using the accelerometer increases battery-efficiency by intelligently toggling location-tracking only when the device is detected to be moving" />       <variable name="ICON" value="@mipmap/icon" />       <variable name="SMALL_ICON" value="@mipmap/icon" />       <variable name="ACCOUNT_NAME" value="@string/app_name" />       <variable name="ACCOUNT_LABEL" value="@string/app_name" />       <variable name="ACCOUNT_TYPE" value="$PACKAGE_NAME.account" />       <variable name="CONTENT_AUTHORITY" value="$PACKAGE_NAME" />   </plugin>
Link to your project:
N/A

Context

invoking deleteAllLocations crashes the entire app. The error occurs in cordova-plugin-mauron85-background-geolocation/FMDB.m line 1034. The error is Thread 7: EXC_BAD_ACCESS (code=1, address=0x42928a0a)
Expected Behavior

Must not crash the app
Actual Behavior

Invoking deleteAllLocations crashes the entire app
Possible Fix

Steps to Reproduce

Make sure that there are locations collected by the plugin
Invoke deleteAllLocations
The app will crash

Context

See above
Debug logs

See below

This has not been fixed. Can someone please reopen and take a look?


Added Word2Vec in Tensorflow

It is better not to push *.pyc files on GitHub, you can use .gitignore. It makes review of your code harder.

It is better not to push *.pyc files on GitHub, you can use .gitignore. It makes review of your code harder.

yes remove pycache folder

It is better not to push *.pyc files on GitHub, you can use .gitignore. It makes review of your code harder.

yes remove pycache folder

done

@aashishpiitk I looked at the code and it seems that you are using keras instead of tensorflow.keras .


Leap motion and other concerns

-Using leapmotion my hands are in a flat pink color, like no texture is loading.
I can see in"VRGIN\LeapMotion\Hands" all hand models, I'd also like to know how to load one of those.
-When starting a new H-scene in a bedroom, the skybox out the window looks wrong, is not the right texture. Curiously if you load another map and then come back to the bedroom it's fixed.
-"Move" options makes the characters go off the map.
-This is just a suggestion, is very easy to accidentally press grab button and get an undesired cum. Can we change this to Grab + A button for example? (Touch controller)
Thanks pal this mod works way better than the official VR patch, which has no look at me and framerate is lower.

I have never used/tried leap motion, meaning I didn't fix anything for PlayHome neither. I might look into it in the future.
Mhm, didn't noticed about the skyboxes, on my list.
Which move options do you mean? From the game menu? In theory being in VR shouldn't change how it works, but again, I'll check it out.
I assume you aren't using the Vive? On there pressing the grip is really hard to do accidentally (I think) and requiring a double button command would be very unusual and probably too hard to find for most users. I might make it an option which you can enable in the settings.

"Move" is an option from the Gui in H-play, you can move the characters through the map, it works on desktop but not in VR.
Yep told you I'm a Touch controller user and is very easy to have a premature ejaculation with this controller. I'd appreciate any review of those features. Thank you very much for your reply.

I am also experiencing the 'move' bug.  This works in fine in Honey Select vr.


How can I use for both '@' and '#' and other anything?

Please help ASAP.

Is this what you are looking for? #24 and #35

No I want to open different list for '@' and '#' means if user enter @ then one list open and another for #.

With ui-mention u can't do this.


Docs are missing information about React keys and component identity

Docs are missing information about React keys and component identity. It'd be helpful to learn about the underlying reason React uses keys to give identity to components and manage component lifecycle based on data, in addition to the current explanations that keys improve list render performance.

Suggested PR: https://github.com/reactjs/reactjs.org/pull/2500

Hello @bryanyee!
Currently in the react.dev docs I see information about key (for instance in Rendering lists page or Preserving and Resetting State which links to the former) which I find sufficient as a key prop explanation.
Let me close this issue as completed.


support single time events (error messages)

nice work, dose it support single time events? and if not here is some information
https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150
code sample:
/**
 * Used as a wrapper for data that is exposed via a LiveData that represents an event.
 */
class Event<T>(private val content: T) {

    var hasBeenHandled = false
        private set // Allow external read but not write

    /**
     * Returns the content and prevents its use again.
     */
    fun getContentIfNotHandled(): T? {
        return if (hasBeenHandled) {
            null
        } else {
            hasBeenHandled = true
            content
        }
    }

    /**
     * Returns the content, even if it's already been handled.
     */
    fun peekContent(): T = content

    override fun toString(): String {
        return "Event(content=$content,hasBeenHandled=$hasBeenHandled)"
    }

    companion object {

        // we don't want an event if there's no data
        fun <T> dataEvent(data: T?): Event<T>? {
            data?.let {
                return Event(it)
            }
            return null
        }

        // we don't want an event if there is no message
        fun messageEvent(message: String?): Event<String>? {
            message?.let {
                return Event(it)
            }
            return null
        }
    }

}

I do not want emails - remove me from the list
On Wed, Dec 16, 2020, 8:51 AM mohamadjavad<EMAIL_ADDRESS>wrote:

nice work, dose it support single time events? and if not here is some
information
https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150
code sample:
/**

Used as a wrapper for data that is exposed via a LiveData that represents an event.
*/
class Event(private val content: T) {
var hasBeenHandled = false
private set // Allow external read but not write
/**

Returns the content and prevents its use again.
*/
fun getContentIfNotHandled(): T? {
return if (hasBeenHandled) {
null
} else {
hasBeenHandled = true
content
}
}

/**

Returns the content, even if it's already been handled.
*/
fun peekContent(): T = content

override fun toString(): String {
return "Event(content=$content,hasBeenHandled=$hasBeenHandled)"
}
companion object {
 // we don't want an event if there's no data
 fun <T> dataEvent(data: T?): Event<T>? {
     data?.let {
         return Event(it)
     }
     return null
 }

 // we don't want an event if there is no message
 fun messageEvent(message: String?): Event<String>? {
     message?.let {
         return Event(it)
     }
     return null
 }

}

}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hadiyarajesh/flower/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAOONNJMC2VD73ICX3H6WLSVC3OHANCNFSM4U6ASW3Q
.


Not able to select an item in the context menu after right clicking

Hi
I am having an issue with WinAppDriver in Visual Studio c#. I am trying to select an item in the context menu after right clicking  an item. I am using the below code. I can see the context menu after right clicking but not able to select an option in the context menu. Is there any way I can give focus on the context menu or something to select the option
[TestMethod]
public void TestMethod()
{
        var sites = session.FindElementByName("Sites");
        new Actions(session).DoubleClick(sites).Build().Perform();
         Actions builder = new Actions(session);
        builder.ContextClick(sites).Build().Perform();
        Thread.Sleep(2000);
         session.Mouse.MouseMove(cxProSession.FindElementByName("Site").Coordinates, 1968, 325);
        session.Mouse.ContextClick(null);

}
Could someone please help ?

is the context menu part of the same UI tree in inspect.

is the context menu part of the same UI tree in inspect.

@anunay1  , This is how it looks like in inspect. When I right click the "Sites" tree item it bring the Context Menu in the application. But it doesn't allow to select menu item

@anunay1  , This is how it looks like in inspect. When I right click the "Sites" tree item it bring the Context Menu in the application. But it doesn't allow to select menu item

@anileapen When you start a session for a given application let's say 'abc.exe' then winappdriver cannot find any element outside the pane/context of the application.
To interact with all elements outside of the application session, you need to use a desktop session , and in this case attach the context menu using native_window_handle
Refer: https://github.com/microsoft/WinAppDriver/wiki/Frequently-Asked-Questions#when-and-how-to-attach-to-an-existing-app-window

@anileapen When you start a session for a given application let's say 'abc.exe' then winappdriver cannot find any element outside the pane/context of the application.
To interact with all elements outside of the application session, you need to use a desktop session , and in this case attach the context menu using native_window_handle
Refer: https://github.com/microsoft/WinAppDriver/wiki/Frequently-Asked-Questions#when-and-how-to-attach-to-an-existing-app-window

@shoaibmansoor . Thanks a lot for the details above. I am new to Win App Driver. Could you elaborate more on the solution above please?
This is my code below:
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Windows;
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Appium.Service;
using System.Threading;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.UI;
using System.Configuration;
namespace ApplicationAuto
{
[TestClass]
public class Application
{
static WindowsDriver session;
public static string APPPATH = "C:\APPLICATIONPATH\";
public static string APP= APPPATH + "APP.exe";
private Configuration _conf = null;
    [ClassInitialize]
    public static void OpenAPP(TestContext testContext)
    {
        //  Debug.WriteLine("Hello ClassInitialize");
        var appiumLocalService = new AppiumServiceBuilder().UsingPort(4723).Build();
        appiumLocalService.Start();
        AppiumOptions app= new AppiumOptions();
        app.AddAdditionalCapability("ms:waitForAppLaunch", "10");
        app.AddAdditionalCapability("app", APP);
        session= new WindowsDriver<WindowsElement>(appiumLocalService, app);
        Thread.Sleep(2000);

    }

    [ClassCleanup]

    public static void CleanupAfterAllAPPTests()
    {

        if (session!= null)
        {
            session.Quit();
        }
    }

[TestMethod]
public void ContextMenuSelection()
{
var sites = session.FindElementByName("Sites");
new Actions(session).DoubleClick(sites).Build().Perform();
Actions builder = new Actions(session);
builder.ContextClick(sites).Build().Perform();
Thread.Sleep(2000);
session.Mouse.MouseMove(session.FindElementByName("Site").Coordinates, 1968, 325);
session.Mouse.ContextClick(null);
}
Could you tell me what need to be added to the above code for selecting the option in the Context Menu after a right click on the root element in the tree please?
Thanks
Anil

@shoaibmansoor . Thanks a lot for the details above. I am new to Win App Driver. Could you elaborate more on the solution above please?
This is my code below:
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Windows;
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Appium.Service;
using System.Threading;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.UI;
using System.Configuration;
namespace ApplicationAuto
{
[TestClass]
public class Application
{
static WindowsDriver session;
public static string APPPATH = "C:\APPLICATIONPATH\";
public static string APP= APPPATH + "APP.exe";
private Configuration _conf = null;
    [ClassInitialize]
    public static void OpenAPP(TestContext testContext)
    {
        //  Debug.WriteLine("Hello ClassInitialize");
        var appiumLocalService = new AppiumServiceBuilder().UsingPort(4723).Build();
        appiumLocalService.Start();
        AppiumOptions app= new AppiumOptions();
        app.AddAdditionalCapability("ms:waitForAppLaunch", "10");
        app.AddAdditionalCapability("app", APP);
        session= new WindowsDriver<WindowsElement>(appiumLocalService, app);
        Thread.Sleep(2000);

    }

    [ClassCleanup]

    public static void CleanupAfterAllAPPTests()
    {

        if (session!= null)
        {
            session.Quit();
        }
    }

[TestMethod]
public void ContextMenuSelection()
{
var sites = session.FindElementByName("Sites");
new Actions(session).DoubleClick(sites).Build().Perform();
Actions builder = new Actions(session);
builder.ContextClick(sites).Build().Perform();
Thread.Sleep(2000);
session.Mouse.MouseMove(session.FindElementByName("Site").Coordinates, 1968, 325);
session.Mouse.ContextClick(null);
}
Could you tell me what need to be added to the above code for selecting the option in the Context Menu after a right click on the root element in the tree please?
Thanks
Anil


Feature/price formatting

Related Issues
closes #3553
Short Description and Why It's Useful

This pr adds the module currencyformatter.js. You are now able to change the following attributes in config:

currencySign: custom currency sign.
currencyDecimal: custom char used to display the decimal separator.
currencyGroup: custom char used to display the decimal separator.
currencyPattern: custom numeric format string. This replaces the priceFormat attribute as you are able to switch sign and value position using this attribute. E.g. #,##0.00! and !#,##0.00. Furthermore, using this pattern, you can specify how many digits the fractional part of the price should have (#,###! for no digits).

When these values are set to null, the locale default will be taken. When one of these are set, the locale will be overwritten. They can be used individually or together.
Which Environment This Relates To

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[ ] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

@pkarw I wanted to write the same comment as you did.
@EndPositive it's a cool one, but our regex is totally enough, actually we can improve it somehow(?), but it's not such important that we need to an external library, it's increasing bundle size even though the value is not that big :)
There is Intl.NumberFormat you can move parameters like: minimumFractionDigits and, maximumFractionDigits to the config file and that will be even better and simpler :)

@EndPositive you have an error during the build - I'm pretty sure it's because of config file - it's not valid json, please change null's to the default separators

@andrzejewsky Thanks for the heads up. I changed the config file.

@EndPositive thanks!


better communicate what packages are community authored packages

overview
right now, our packages all say who they are authored by, either Pulumi or an individual. If it is authored by an individual we consider it a community package. we want to better represent this information so its immediately clear to folks what packages are authored by our community. we could explore adjusting the current treatment or adding an additional design element to indicate this.

@anita-trimbur id like you to take this on during the next iteration. ill fill you in on a few more details in our 1-1 today.

Constraints

A new "community" designation cannot be treated as the existing tags. Existing tags are limited to type and use case.
Relatedly, "community" cannot at this time be a filterable parameter.
Prior discussion concludes that packages authored by Pulumi employees will be considered community contributions being that they are not officially supported.

Terraform Registry Audit

Color-coded badges to differentiate "Official" and "Verified" providers
Absence of badge indicates community supplied providers
Allows filtering by contribution type

Figma File
Design Changes

Add icons and labeling for "Community" and "Pulumi Official" contributions to all Registry cards with tooltips
Repeat icons and labeling in the header of each package page

Handoff Notes

Community tooltip: "Package contributed by a community member"
Pulumi Official tooltip: "Package maintained by Pulumi"

Additional Notes

The language "Pulumi Official" echoes language used in Terraform's Registry. The alternative "Pulumi Maintained" is also plausible verbiage.
The use of a Community logo was discussed and decided against.

@anita-trimbur these are great, thank you for doing this work!!
one thing to note is that there was some work done but not implemented to add in install information on the package pages in the spot where you have placed the official badge. i do not think you should make any changes right now. but we should revisit that placement when we do add in the install experience.
https://github.com/pulumi/registry/issues/54

moving this to the next iteration


Virtual CoC Menu and Content

Here is the latest version of the Virtual CoC that requires to be organized well. The content will be replaced with the oldest content here and will be given a link either in the landing page or as a subpage.

@SamGuay and @complexbrains worked on it to the latest version to be shared with the whole BHG team, which is here
Standing issues

Could we replace it with the current Code of Conduct on the main Brainhack webpage?

Can we have a team of volunteers from the Community and outside of the Brainhack global organizers to work on the violations of the Code of Conduct by the main local event organizers and other exceptional situations?

Can we have a dedicated email address dedicated to communicating with this particular team in private?

Will close this issue for now as the page is online.


crashing process does not allow scale down

I have an app that rapidly crashes web process and it tries to respawn. it creates a very long list of logs which makes flynn dashboard unresponsive. I can't scale it down to stop the respawning either. I even went to older release without the issue but still web process is crashing.
I need to clean up the log and scale down the app to stop creating massive error logs.

This sounds like a duplicate of #3083. H ave you tried scaling it down with flynn scale?

I managed to fix the issue with doing scale on a release. that issue is fixed.
logs are so many that crashes the dashboard. I wonder if there is a way to get rid of them?

Glad you fixed the scale, the dashboard logs issue has been reported in #4238.


Add support to reannotator for hopannotation1 datatype

This change adds support for the hopannotation1 datatype to the reannotator command. This change also adds a new query to return all hopannotation1 archives to be processed by the reannotator. And, finally this change updates the flags given to the reannotator Kubernetes job to include the new query and hopannotation1 dataype.

This change is

Pull Request Test Coverage Report for Build 309

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.961%

Totals

Change from base Build 305:
0.0%

Covered Lines:
784

Relevant Lines:
817

💛  - Coveralls

Part of:

https://github.com/m-lab/data-annotations/issues/34


Fix bug where deleting person is not updated in events

Fixes #215
Summary of Changes

Created a method to delete friend from events in ModelManager.

Codecov Report

Merging #230 (7c45db3) into master (6d3946f) will decrease coverage by 0.04%.
The diff coverage is 40.00%.

@@             Coverage Diff              @@
##             master     #230      +/-   ##
============================================
- Coverage     69.20%   69.15%   -0.05%
- Complexity      817      818       +1
============================================
  Files           121      121
  Lines          2939     2944       +5
  Branches        431      431
============================================
+ Hits           2034     2036       +2
- Misses          723      725       +2
- Partials        182      183       +1

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
93.24% <25.00%> (-3.90%)
:arrow_down:

...va/seedu/address/logic/commands/DeleteCommand.java
80.64% <100.00%> (+0.64%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Foolproof comma operator

This PR fixes CommaExpression emit when left expression returns void - there's nothing to pop from the stack in this case

Oops (missed the test which actually spotted incorrect emit of ConstantExpression, i think?), gonna fix that


Vanilla portals function

Starting stuff out here, just making it a draft to make it known what I am doing.
Also minor refactoring on a part because it was confusing to look at.

https://github.com/ArchipelagoMW/Archipelago/blob/main/worlds/tunic/er_scripts.py#L89
Reference to the vanilla portals script for Archipelago


add segment-annotation endpoint

transcript endpoint is getting p filled with pfam, exon and utr info. Would be good to move this out to a separate segment-annotation endpoint. See also: https://github.com/genome-nexus/genome-nexus/pull/195#issuecomment-399259702

@inodb @pieterlukasse @sandertan can we prioritize this one before the new PFAM etc info is used in production?
I am thinking of generalizing it to pull annotation on a protein instead of a variant.
Maybe we can have two annotation endpoints: variant-annotation and protein-annotation
variant-annotation will return annotations relevant to a variant. It's basically our current annotation endpoint.
protein-annotation will return annotations relevant to a protein. It can return all kinds of non-variant-specific annotations including pfam, exon, PTM, conservation, etc. It will be the basis of the next multi-track mutation diagram.

We can also keep the data format generic, e.g.:
[
  {
    "transcriptId": "ENST000xxxx",
    "geneId": "ENSG000xxxx",
    "hugoSymbols": [
      "MTRNR2L7"
    ],
    "proteinId": "ENSP0xxxx",
    "proteinLength": 240,
	"annotations": {
		"exon":
		[
			{
				"proteinStart": 1,
				"proteinEnd": 50,
				"data":
				{
					"rank": 1,
					"strand": -1
				}
			},
			{
				"proteinStart": 51,
				"proteinEnd": 240,
				"data":
				{
					"rank": 2,
					"strand": -1
				}
			}
		],
		"pfam":
		[
			{
				"proteinStart": 1,
				"proteinEnd": 24,
				"data":
				{
					"pfamId": "PFxxxx",

				}
			}
		],
		"Phosphorylation":
		[
			{
				"proteinStart": 101,
				"proteinEnd": 101,
				"data":
				{
					"type": "phosphoserine"
				}
			}
		]
	}
]

Hi @jjgao , I'll let @pieterlukasse respond on this design. A minor comment on the above contents:
'Exons' are part of the transcript, not the protein. They are in basepairs on the genome. Same goes for UTRs.

@sandertan agreed that UTRs probably do not belong there. I think exon-exon breakpoints can be annotated on protein sequence -- actually, that's what was visualized in the Fusion diagram. I am also ok to keep the exon data in the transcript endpoint as long as we move the Pfam data.

@jjgao looks good to me, although we need to be able to query the endpoint using transcript id and we need also genomeStart and genomeEnd (bp positions of the start /end ) for exons. The current Fusion diagram uses the bp positions and UTR length to determine where to draw the pfam domains. E.g. if pfam domain has proteinStart=28, it will be drawn at postion 3*28+length(5'UTR).

@pieterlukasse @sandertan I see. Do you think it's possible to change your code and use protein locations (the exon-exon breaking points and pfam domains) to draw the diagram. Then you may not need the UTR data? Would that simplify things?

I think it might complicate things. Because we currently draw the full transcript, which starts with the first exon, containing the 5'UTR. Also, the 3'UTR at the end is drawn, because it is contained in the last exons.
For the exon-exon breakpoints that fall within the protein, it's possible to get a mapping, but there's no mapping from exon to protein for locations that are UTR.
Also, I think including the UTR is a common way of drawing a transcript and its exons.

@jjgao Yes, we are using this endpoint: http://genomenexus.org/swagger-ui.html#!/ensembl45controller/fetchCanonicalEnsemblTranscriptByHugoSymbolGET

@onursumer thanks.

@sandertan @pieterlukasse I thought it a little more. The fusion diagram and the mutation diagram are very similar. Potentially we can support more tracks in both diagrams. And ideally, we can reuse components across the two diagrams (e.g. we could use the same protein part and Fusion diagram would just add fusion alignments, and if we want to add new annotations, e.g. PTM sites, we could easily add to both on protein level).
With that being said, I am not sure if it's a good idea to use genomic locations in the fusion diagram. If UTR is the only reason, I am not sure if it is worth it -- we would have to maintain two sets of code for very similar functionality. If the fusion breakpoint is in UTR, one option would just connecting to the first coding exon (this is similar to a breakpoint in intron).
And if you look at the figure from the paper, there are no UTRs at all. In fact, the whole diagram was based on protein sequence if you look at the position labels. I don't really see transcript as important as protein in the figure.
@sandertan @pieterlukasse would you please discuss more and see if you can reconsider? Thanks!

... and sorry for being stubborn on this. I think it's important for both cBioPortal and Genome Nexus in terms of code maintainability.


Now it does not work

Great job! It used to work fine! But now it does not work. Maybe Google changed something?

Thanks @Colobox
I confirmed that this library worked fine at 2019-03-03T21:40Z .
Does this issue continue now on your side?

And it works fine now (2019-03-04T10:20Z).
Could you please check it again?

I'll check it again.

Does it work on your device?

Sorry, I have not had the opportunity to check.

Problem still exists. When I run the example, it returns:
connection failed
_ERROR
A few weeks ago worked fine!
I checked everything. What am I doing wrong?

Thanks @Colobox
The error raised at following line.
https://github.com/horihiro/esp8266-google-tts/blob/64f4b4675928f258a45ae1ca7f986a93f28951d8/src/google-tts.cpp#L101
So your device cannot connect to google translate page, not page parsing error.
Could you please let me know if your device can connect to https://translate.google.com using only WifiClientSecure , not this library?

I tested the following code and it returns "Connection failed":
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
const char *ssid = "<REPLASE_YOUR_WIFI_SSID>";
const char *password = "<REPLASE_YOUR_WIFI_PASSWORD>";
const char* host = "translate.google.com";
const int httpsPort = 443;
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println("Connecting to WiFi");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(250);
}
Serial.println();
Serial.print("Connected to ");
Serial.println(ssid);
WiFiClientSecure client;
Serial.print("Connecting to ");
Serial.println(host);
if (!client.connect(host, httpsPort))
{
Serial.println("Connection failed");
return;
}
Serial.println("Connection Ok");
}
void loop()
{
}

According to the result of your test, it seems that this issue is not due to this library because your device cannot connect the page.
I recommend you to check connectivity to other sites using same and/or other device.

I added to my sketch above:
const char fingerprint[] PROGMEM = "f8 1e 31 71 fa 08 5b c0 4c 83 b6 64 4b 9f 22 9f 0c ba 8e 57";
and:
client.setFingerprint(fingerprint);
after WiFiClientSecure client
Now everything works: Connection Ok
How can I do the same for your library?

There is no option to set fingerprint in this library, because I haven't seen this behavior.
And I cannot fix this issue as same reason.
You can clone this repo if you want to fix this.

Thanks for help very much!
I see in your file "google-tts.h":
#define FINGERPRINT_GTRANS "51:95:BF:29:CC:79:4B:FE:E2:0B:0F:EA:B5:95:1B:5A:0A:91:AB:39"
But it is not used in this file and in the "google-tts.cpp". Unfortunately I could not find.
Some time ago I used WiFiClientSecure  in my sketches without a fingerprint, but now I can't.  My sketches work only with a fingerprint now.
Is it necessary to use a fingerprint with WiFiClientSecure in all cases?
What happens when a fingerprint is not valid after some time?

I don't have any information about changing in WifiClientSecure.
You can create issue at https://github.com/esp8266/Arduino/issues in order to know what happened.

Thanks!

I understood what was the matter.
The library works with the old version 2.4.2 of  the "ESP8266 core for Arduino", but does not work with the new version 2.5.0.
I checked it.

Sorry for my late reply.
And thank for your investigation.
But I can't use arduino core 2.5.0.
Please use 2.4.2 or before.
I will update documents.

Thanks!

Thanks!

You can try this solution:
https://github.com/horihiro/esp8266-google-tts/compare/master...reaper7:master#diff-70800d0c56e98a6b9ff8425dacfa8de1
You have 2 options
1 - pass new fingerprint to bearssl lib
2 - use insecure option

Thanks very much!

I committed the code for esp8266 sdk 2.5.0 compatible to this repository yesterday (not released ).
You can try this code if you want.
Thanks

Thanks!


Indentation rule stopped working after upgrading to version 1.10.0

Expected Behavior
In our project we have Indentation rule turned on with the following rule settings:
  Indentation:
    active: true
    autoCorrect: true
    indentSize: 2
    continuationIndentSize: 4

It is done in accord with our project settings:

It worked prior to version 1.10.0
Observed Behavior
We tried upgrading detekt to version 1.10.0 and got 13k errors related to Indentation rule. It says we have wrong indent and the auto correction turned on tries to reformat the code.
The example code that fails Indentation rule after upgrading:
  override fun getAddresses() = async {
    addressRepository.getAll()
        .toVO { address -> address.id == id }
  }

Detekt says that the problem is on the line .toVO { address -> address.id == id }
I know that the new version of KtLint now uses a new Indentation rule that was in experimental state earlier, but I found no mentions that something should break and no guidelines on how to fix it.
Your Environment

Version of detekt used: 1.10.0
Version of Gradle used (if applicable): 6.4
Operating System and version: MacOSX 10.15.4 Catalina
Link to your project (if it's a public repository): -

We tried upgrading detekt to version 1.10.0 and got 13k errors related to Indentation rule. It says we have wrong indent and the auto correction turned on tries to reformat the code.

I know that the new version of KtLint now uses a new Indentation rule that was in experimental state earlier, but I found no mentions that something should break and no guidelines on how to fix it.

As you said, you're not alone: https://github.com/pinterest/ktlint/issues/764
The current workaround is either to:

Disable the Indentation rule at all.
Disable the Indentation rule at all + upgrade detekt and run an older version of ktlint that uses the old indentation rule.
Don't upgrade and wait for an updated version of KtLint + an updated version of Detekt.

Shall we close this issue then in order to not have a duplicate?

Yes, it can be closed. As the problem is actually related to KtLint, i will follow its ticket (thanks @cortinico !)

The issue seems should be fixed in KtLint 0.41. I've just upgraded to Detekt 1.19.0 that uses KtLint 0.42.1 and got the same issue - still does not work

still does not work

Can you provide a reproducer?

Here's a bug reproduction project: https://github.com/libon/DetektIndentationIssue

Thanks for the reproducer @calvarez-ov
Turns out that KtLint removed the continuation_indent_size in a older version. See:

https://github.com/pinterest/ktlint/issues/171
https://github.com/pinterest/ktlint/issues/308

Therefore we need to deprecate the following config as it's not taken into account by KtLint at all:
https://github.com/detekt/detekt/blob/e0fa7a3e81312d6edf052b13efc82998c59972a6/detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/wrappers/Indentation.kt#L28-L29


Fix cores leaking when they shouldn't

Bug:
If you break all the most bottom row of core blocks, the leak will be 1 block less, if you break all the blocks in the core, as soon as any of the lava flows, it will leak
Easy map to test in: regular SSB, break the bottom most pice ,and replace it with a block, then, break a block in the second layer, and it will leak

merged


CPU usage spikes are occurring under Windows Server 2003

They happen randomly and when I move the mouse over its window in random locations. I am using the latest progwrp.dll offered in the Readme and the latest release of Supermium.

I am using the latest progwrp.dll offered in the Readme

Which Readme do you mean ?

https://github.com/win32ss/supermium/blob/main/README.md

I'm trying to reproduce on XP x86. Is you CPU single/dual core ?

Also whow us CPU usage history screenshot from ProcessExplorer or Task Manager

The VM is set to single core.
Here is the requested screenshot:

The first spike happened when going to a webpage. The second one happened when doing what I described in the first post in this issue.

Ok. You must determine which Crome.exe process causes this. (If you are using Chrome in multiprocess-mode)
And then show us expanded CPU usage history for that process from ProcessExplorer or ProcessHacker.
Because this will be more informative.
They show usermode/kernelmode times in different colors.
Looks like synchronization issues. and may be related to interaction with VM.
Show us something like this under high load by mouse movements and so on. :

BTW, I see you are trying to debug anything with WinDbg and VirtualKD on screenshots here.
If you have such debugging experience, you can try KrView tool to profile this CPU spikes. And to provide us your results of analysis.

Any news regarding this?

Hmm?

@Zero3K , are you have encountered same CPU spikes, when using my own "DLL set" for Sm v126-r3 ? (R3/R4/R5)

Do you mean the progwrp.dll from https://github.com/IDA-RE-things/Chrome-xp-api-adapter?

My tests on a single-core Pentium4 with and without HT (ACPI Uniprocessor PC) showed that in the second case Supermium126 can load the processor for a long time. For example, while uploading images to web discord. There's an animation in the top right corner that can go on almost indefinitely. Almost 100% CPU Load.
Additionally, I tried a non-standard single-core ACPI (halacpi). This one worked well, much like Hyper-Threading.
I checked it on XP/2003 with and without OCA.


Backport HHH-18079 + HHH-18080 to branch 6.5 - Default to minimum supported DB version (without warning) when using hibernate.boot.allow_jdbc_metadata_access=false with jakarta.persistence.database-product-name

Note: This backport is probably only useful if 6.5 is going to be released soon (before mid-may). Otherwise people (Quarkus in particular) will probably just use 6.6 where the fixes are already present.

HHH-18080: hibernate.boot.allow_jdbc_metadata_access=false leads to warning about "0.0.0 version"
HHH-18079: Default to minimum supported DB version when using hibernate.boot.allow_jdbc_metadata_access=false with jakarta.persistence.database-product-name

6.5.0 was already released. I guess I'm ok with this particular improvement in 6.5, so +1 from me


Update Steeltoe to build and run tests against .NET 9 RC1

Description
Experimental and hacky, do not merge.
Connector failures on MySQL Connector are to be expected. The Oracle package doesn't provide anything for .NET 9 yet, while the Pomelo package is still at Preview1 (RC support is planned).
Blocked by https://github.com/SonarSource/sonar-dotnet/issues/9670.

/azp run Steeltoe.All