Get all files over 80% test coverage

There are files which are 80% or under for test coverage on Coveralls, giving them a red label. Providing these files with dedicated unit tests will help solidify their API, as well as bring their coverage up to 100%.
Please see the coverall coverage report: https://coveralls.io/github/webpack/webpack
This issue aims to help co-ordinate any effort to add unit test for these files, with the aim then have all files with higher than 80% coverage when closed off.

[x] (65.73%) lib/MultiCompiler.js - #3802 - Merged
[x] (70.45%) lib/LibraryTemplatePlugin.js - #3835 - Merged
[x] (74.19%) lib/optimize/UglifyJsPlugin.js - #4127 - Merged
[x] (75.00%) lib/webworker/WebWorkerMainTemplatePlugin.js - #3866 - Merged
[x] (75.00%) examples/move-to-parent/webpack.config.js - #4092 - Merged
[x] (75.93%) lib/node/NodeMainTemplatePlugin.js - #3999 - Merged
[x] (79.49%) lib/node/NodeWatchFileSystem.js - #3837 - Merged
[x] (80.00%) lib/HotUpdateChunkTemplate.js - #3867 - Merged
[ ] (75.68%) lib/ContextReplacementPlugin.js
[ ] (78.57%) lib/dependencies/ContextDependencyTemplateAsId.js
[ ] (80.00%) lib/EnvironmentPlugin.js

Add a comment below if you're adding unit tests for one of the files above to prevent duplication of effort, and then link to the PR once it's up.

I'm currently working on adding tests for lib/MultiCompiler.js, splitting it out into three separate modules, each of which can be tested.

Wouldn't it be better to update the syntax of these, first?

@wtgtybhertgeghgtwtg Adding tests should be independent of any syntax changes (so they can be done in parallel). If the question is related to effort, then we'd need to elaborate on "better" - is updating the syntax a higher priority than adding tests, and if so, why?
For me, having tests in place allows us to be sure that any syntax changes made have not caused any changes in functionality. The nine files above are the ones least tested, and therefore the ones most likely to introduce a bug if changed.

Syntax change tends to alter coverage, usually negatively.  But you're right, testing should probably be done before syntax change.

Working on test/NodeWatchFileSystem.test.js

If you're looking at the low coverage top 10 on coveralls for the latest build, you'll notice two new files <80% coverage that have snuck in. I've got those covered in PR #3839, so the 6 left above are still the ones to tackle next.

@jtinfors Thanks - one more struck off the list! 🎉

I'm currently working on adding tests for lib/webworker/WebWorkerMainTemplatePlugin.js

Note about the NodeWatchFileSystem tests - test run on CI do not include watch tests, so these tests will not be included in the coverage report. This is most likely due to the time required for these tests - perhaps small and quick unit tests could be included, with only costly tests behind the NO_WATCH_TESTS flag?

If you're looking at the low coverage top 10 on coveralls for the latest build, you'll notice lib/formatLocation.js <80% coverage. This is covered in PR #3862.

Hello I'm relatively new to this but I am handling lib/optimize/UglifyJsPlugin.js.

@li-kai Awesome, thanks! Give me a poke it you need any help with it 👍

If you're looking at the low coverage top 10 on coveralls for the latest build, you'll notice two new files with <80% coverage. Tests these two are covered in PRs https://github.com/webpack/webpack/pull/3982 and https://github.com/webpack/webpack/pull/3983.

I can tackle lib/node/NodeMainTemplatePlugin.js, if that's alright. Just in the webpack groove :)

@jure Awesome thanks for grabbing that and putting a PR up 👍
Gets the NodeMainTemplatePlugin up to 87% coverage and off the sub-80 list 🎉

examples/move-to-parent/webpack.config.js is done! 😄

@jerairrest Awesome, thanks! Ticked off the list above 🎉

@li-kai How are you getting on with testing lib/optimize/UglifyJsPlugin.js? Do you need a hand with anything?

I attempted to write a unit test for ContextReplacementPlugin.js but I couldn't wrap my head around it. Is there file similar that I could use as an example?

@alistairjcbrown I'm getting there! School work caught up for a bit, but the PR will be coming in a day or two.

@li-kai No worries, I see there's been a PR up and merged 🎉 - nice work!

Hi @jerairrest - it looks like some of the complexity in testing the ContextReplacementPlugin.js apply method will be due to the nested event bindings. You should check out the tests for RequireJsStuffPlugin as it tackles similar nesting. It makes use of the test helpers applyPluginWithOptions.js and PluginEnvironment.js; these helpers give you a way to exposing the event handlers which are defined within the plugin and therefore allows for testing them directly.
Give me a poke if any of that doesn't make sense, or you need some additional pointers.

@alistairjcbrown Perfect I'll get crackin' on it.

I've opened a PR adding a couple of EnvironmentPlugin tests :)

@fedebertolini Awesome, thanks! I've updated the description 🎉

I'll pick up the last outstanding file for tests, lib/dependencies/ContextDependencyTemplateAsId.js.
For anyone looking at this issue and not sure how to contribute, the next plan is to move on and try and get all files up to 85% test coverage (~12 files), so don't be afraid to take a look at the coverage percentages on coveralls and grab one of the files with only ~80% coverage!

@alistairjcbrown I took a look at lib/dependencies/WebpackMissingModule.js test coverage.
Apparently moduleMetaInfo is not being used at all anymore. I searched for moduleMetaInfo in the whole project and no usages were found. I've reviewed the commits log and that function was only used in LabeledModuleDependency.js, a file that was deleted in https://github.com/webpack/webpack/commit/a14e563f67292cf2bdfe28b01abd8cb5fee1e20e
Should I go ahead an open a PR removing that function?

@fedebertolini I guess that explains why there's no coverage of that function, if it's not being used!
A PR to remove that function sounds good, thanks 👍

PR for ContextReplacementPlugin is in! https://github.com/webpack/webpack/pull/4319

@alistairjcbrown This issue can probably be resolved now. :)


Livequery with jquery

I would like to use Livequery in my jquery app. I have the example on the parse website, but i am getting query.subscribe is not a function, please help

Please use Stack Overflow for implementation related questions.


changed get_r200_angsize_and_c200

made it so that the 2 entry of the return of get_r200_angsize_and_c200 returns None by default, and need to specify which radius is of interest to store for the cluster
The reason for this change is that it turns out that we are interested in using R500 (instead of R200) to characterize the angular size of the clusters, since this matches the observational literature better and corresponds "by eye" to the edge of the cluster edge better. This will also make a stronger aperture photometry signal. To get this, one would do get_r200_angsize_and_c200(M200, z, load_vars_instance, angsize_density='500c'), which is now the default behavior in simclusters.simulate_clusters

tests work on my machine (seems to be a pixell issue here)
Closes #215


Package Filter not restored switching from Scoped to AllPackages

Steps to reproduce:

Open fresh Pharo image (tested in 7.0.3 and 80228)
Enter "Athens" for package pane Filter...
Select a package then click Scoped View radio button.
Click All Packages radio button

Expect:
Package list to remain filtered.
Observed:
Package list unfiltered.
Given that newcomers may encounter this as they random-click
to explore the UI and really detract from perception of quality,
I think its important to backport a fix to Pharo 7.
P.S. I vaguely remember seeing recently a comment that latest Calypso is no longer Pharo 7 compatible, so perhaps a branch indicating latest Pharo7-compatible branch wold be useful to duplicate such backports for, or is it better to now directly patch Pharo 7 sources?

Hi Ben.
Latest Calypso is still compatible with Pharo 7
чт, 18 апр. 2019 г., 8:49 Ben Coman<EMAIL_ADDRESS>
Steps to reproduce:

Open fresh Pharo image (tested in 7.0.3 and 80228)
Enter "Athens" for package pane Filter...
Select a package then click Scoped View radio button.
Click All Packages radio button

Expect:
Package list to remain filtered.
Observed:
Package list unfiltered.
Given that newcomers may encounter this as they random-click
to explore the UI and really detract from perception of quality,
I think its important to backport a fix to Pharo 7.
P.S. I vaguely remember seeing recently a comment that latest Calypso is
no longer Pharo 7 compatible, so perhaps a branch indicating latest
Pharo7-compatible branch wold be useful to duplicate such backports for, or
is it better to now directly patch Pharo 7 sources?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pharo-ide/Calypso/issues/483, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6FVIE7A54IU4BJVECGCPLPRARWXANCNFSM4HG2RHYQ
.


Tidy up

Tidied up some things, mainly adding/correcting some docstrings in aid of #415
Also noticed a couple of issues with mutable default arguments so fixed them
Apologies for merging into one PR, didn't really feel worthy of opening 2!

Thanks for the PR!


General Improvements + Unit Tests

This is a place for general improvements that might come up during future tests along with unit tests.

@Philipp66904 please tag me once you want me to review

@J0hn-Lawrence @J0las
Please approve


IlluminatePaginatorAdapter doesn't work with Eloquent's simplePaginate() method

Since the IlluminatePaginatorAdapter is type-hinting for Illuminate\Contracts\Pagination\LengthAwarePaginator, you can't use that paginator if you are using Eloquent's simplePaginate() method.
Any plans on adding support for that? Or should I just PR something? :)

If you want you can PR but it's on my todo list so if you don't then I will as soon as I get some time!

Will this get fixed?

I'm not able to use it with Laravel 4.2

Just ran into this issue today. Would be nice if simplePaginate() was supported.


docs(docs-infra): Revamp all node docstrings to provide proper information

PoseNet will be used as an example

This issue is deprecated and split into individual issues for each segment of peekingduck


[Cosmos] Update start_time parameter

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos


update to Xcode 7, sd_setImageWithURL can't work

Xcode 7, tableView,imageView, sd_setImageWithURL can't work

Fixed
info.plist add
NSAppTransportSecurity

NSAllowsArbitraryLoads


Target tractability emergence

Is it possible with the current tractability pipeline (presumably tractability_pipeline_v2) to identify when the evidence for a particular type of tractability first emerged?  It would be useful, for example, to know if the discovery of a ligand was recent vs very old.

Hi @eric-czech!
At the moment the tractability pipeline, unfortunately, does not allow for this. The assessments you can see in the Platform or in our target annotation dataset do not include the supporting data determining the analysis.
However, to support further research into the suitability, we make the data file generated by the tractability pipeline (tractability_pipeline_v2, indeed) available for download — see tractability_buckets_new_version.tsv.
For instance, you could extract which drugs support AR's clinical precedence from the tractability output and combine this dataset with the drug annotations dataset, which includes the year where the drug was first approved:
import pandas as pd
import ast

drugs = (
    # Read OT's drug annotation
    # Download here: http://ftp.ebi.ac.uk/pub/databases/opentargets/platform/21.09/output/etl/parquet/molecule/
    pd.read_parquet('/Users/irene/Documents/dev/pyspark/21.09.5/molecule')

    # Narrow down variables of interest
        .filter(items=['id', 'yearOfFirstApproval'])
)

AR_clinical_precedence = (
    # Read tractability pipeline's output
    # Download here: http://ftp.ebi.ac.uk/pub/databases/opentargets/platform/latest/input/target-inputs/tractability/
    pd.read_csv('/Users/irene/Downloads/tractability_buckets_new_version.tsv', sep='\t')

    # Filter target: AR
    .query("ensembl_gene_id == 'ENSG00000169083'").reset_index()

    # Parse drugs supporting the clinical precedence
    # Drugs come in a form of a stringified array - literal_eval is used to convert it back to an array
    # Note: eval() could be used as well, but literal_eval is a safer method
    ['drug_chembl_ids_sm']
    .apply(lambda X: ast.literal_eval(X))
    .explode('drug_chembl_ids_sm')
    .to_frame()

    # Bring approval date from the drug annotation
    .merge(drugs, left_on='drug_chembl_ids_sm', right_on='id', how='left').drop('id', axis=1)

)

The result would look like this:

However, it is not always possible to easily enrich the data. For example, you can’t see when the specific PDBe ligand was made available.

Thank you very much for your comment. I hope this was useful! We will certainly have it into account for future developments of the pipeline.
I invite you to use our Community Space (https://community.opentargets.org) for this type of question so that other users can also benefit from the discussion!


FrontDoor Service was updated and complete Docu didnt fit anymore

[Enter feedback here]
The FrontDoor service was updated and all Screenshots and documentation about how to setup custom Domain in B2C with FrontDoor didnt fit anymore.

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

ID: 9c4a65cd-dae6-898a-514b-5bb9238f58a3
Version Independent ID: 9c2f7824-efed-7108-7c1e-eb2b57f3c0d6
Content: Enable Azure AD B2C custom domains - Azure AD B2C
Content Source: articles/active-directory-b2c/custom-domain.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@Timsto Thank you for catching this. some parts of the article may need a change. We are engaging the content team on this to further address the issue.

@Timsto
We've started updating the documents. We've also created a work item for internal tracking, so we'll close this issue. #please-close


Server crash - ItemTools.doInsertItem Refined storage mod.

Issue Description:
On my multiplayer server I woke up to this crash log, not sure what the players were doing.

Affected Versions (Do not use "latest"):

EnderIO:  EnderIO-1.10.2-<IP_ADDRESS>_beta
EnderCore: EnderCore-1.10.2-<IP_ADDRESS>-beta
Minecraft:  1.10.2
Forge:  2092

Your most recent log file where the issue was present:
http://pastebin.com/Q9Y4fXaM

The Mojang "Watchdog" killed the server because "it took too long".
Sadly that is all information that is available---there's no way to see what "it" was, just what was happening at the moment the server was killed.


Add MultiMC to PiWare

wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
add "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main" to /etc/apt/sources.list
sudo apt update
sudo apt install qtbase5-dev cmake adoptopenjdk-14-hotspot clang
mkdir build
mkdir install
git clone --recursive https://github.com/MultiMC/MultiMC5.git src
change src/libraries/launcher/CMakeLists.txt and src/libraries/javacheck/CMakeLists.txt to 1.7 instead of 1.6
cd build
cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ../src
make -j4
GitHub

Ok, do you have an uninstall script for MultiMC? You also need a description for us to add this app. You can also add an optional icon in .png format.

https://github.com/JJTech0130/MultiMC5/releases
The Arm64 version that has active support

I am not sure how to uninstall any of them

https://github.com/comp500/MultiMCPi

I am not sure how to uninstall any of them

You will need to find or make a script that uninstalls MultiMC. It is a requirement for uploading an app to pi-ware.

I think it is just delete the multimc folder

No, I wouldn't guess it is that simple. It would have to reverse everything the install did so the user's OS is the same as when the didn't have MultiMC.

Ok, do you have an uninstall script for MultiMC? You also need a description for us to add this app. You can also add an optional icon in .png format.

a icon.png file is required.

Oh yeah, I forgot we made it a necessity when adding an app.

Hehehe
Only works on arm64/aarch64
Just we need a GOOD RECENT NEW compilation for ARM, thing im trying with pain xd

@IsaacMvmv I am going to close this until you respond.


[FLINK-14723][table-planner-blink] Improve some code of computed column in planner

What is the purpose of the change
This pull request improves some code of computed column.
Brief change log

FlinkRelOptUtilTest#testToString shouldn't ignore attributes of RelNodes. The original expected string makes sense. We should fix it to keep the result unchanged.
The test CatalogTableITCase#testInsertSinkTableWithUnmatchedFields should fail and shouldn't verify the expected results (no results).
SqlToOperationConverterTest#testCreateTableWithComputedColumn change the udf calling to non-qualified way to verify the qualifying works well.

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @danny0405

btw, you should make the jira title more specific.

Thanks @KurtYoung for the reviewing. I splitted the commit into 3 separate commits with more specific commit messages.

Thanks @KurtYoung for the reviewing. I splitted the commit into 3 separate commits with more specific commit messages.

Thanks @dawidwys , I refactored it to use ObjectIdentifier.


Edit and Delete in templates header

Add Edit and Delete descriptions in the header of the templates table.

I want to work on this

Hey @tanbirali, sure thing!


Net cli tools cannot be located when using Snap VSCODE installation

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview6-012264
Commit:    be3f0c1a03
VS Code version:
1.35.1
C# Extension version:
1.20.0
OS: Debian Buster
Steps to reproduce

Install VSCODE with Snap (sudo snap install --classic code)
Install .Net Core SDK with Microsoft Debian recommended way (manual way, not by snap, described here)
Install Omnisharp C# VSCODE extension throught VSCODE extensions tab

Expected  behavior
Omnisharp install fine without startup error and we can open an existing Net Core project without error.
Actual behavior
Omnisharp extension got startup error:
the .net cli tools cannot be located
&
failed to spawn dotnet --info
&
Omnisharp error when trying to open a Net Core project "The SDK 'Microsoft.NET.Sdk.Web' specified could not be found"
Workaround
Uninstall C# omnisharp extension, uninstall VSCODE from Snap.
Install VSCODE without using Snap (manual way documented by Microsoft here) & install Omnisharp C# VSCODE extension throught VSCODE extensions tab.

This is tracked with #3077


Using IN clause in prepared statements

Hi! I was wondering if there's any way to do variable arguments in prepared statements, particularly to use the IN clause. For example, suppose I want to execute a query like such using PostgreSQL.jl, where the table's id column is of type TEXT:
conn = PostgreSQL.connect(...)
keys = join(map(x -> "'$x'", AbstractString["1", "2", "3"]), ',')
qstr = "SELECT * FROM Teams WHERE id IN (\$1)"
stmt = PostgreSQL.prepare(conn, qstr)
rs = PostgreSQL.execute(stmt, [keys])
# length(rs) == 0

This will return an empty result set, even if the rows with those keys exist in the database.
I looked around and found almost no solutions for this. I was wondering if this is a limitation from the PostgreSQL C library that PostgreSQL.jl uses, or if there's a workaround for this? Any insights would be appreciated; I would also be interested in contributing if I have a bit more info :)

A solution would be to define type conversions for array types. One of the Python PostgreSQL libraries handles it this way. PostgreSQL can use IN on a comma-separated list of values, but also on arrays.

Thanks, Eric!

You're welcome, thank you for the PR!


[BEAM-2241] Mark PipelineVisitor and AppliedPTransform as internal.

R: @aaltay

LGTM except for the one comment above
@chamikaramj could you coordinate merging and cherry-picking of changes related to BEAM-2241. (I can review any PRs.)

Sounds good. I'll merge.

Coverage decreased (-0.003%) to 70.48% when pulling 55b3c7767a99f60109a7d205df6b450138a000d1 on mariapython:borrar into 8312b6f5962ae6a3ed6a87ba061e34bd6696b009 on apache:master.


Screen placement should be biased to the current screen

screens should try hard to stay in their current screen!
this would allow for pop-out effects, but also allow you to take a screen in/out other screens. and it should also solve #25
So like, it should only change placement if it COMPLETELY leaves or enters, rather than being picky about not being entirely in its screen. The pickiness should be directed at the new screen, not the current screen.
I think this would also solve #23 because we wouldn't remove the screen (unless it fully escaped)

done!

It's too fussy sometimes - eg: sometimes it struggles to STAY in the current screen if there's something in the way of it - like a deeper screen getting in front of it

Ok cool, I made it snap to parents (instead of looking deeper) when placing screens


Add required interface policies

Is this UIPOLICIES-2? If so, please include the Jira slug at the beginning of your commit subject, or add it to the beginning of the PR title when you open this PR.
I know this doesn't matter much for pre-1.0.0 commits, but given we have "release v1.0.0" tickets in the current sprint, it'll soon be the case that we need to keep track of which tickets are attached to which release, so linking GitHub to Jira and keeping a CHANGELOG will soon become crucial.

Yes, I will update the description.


@autoselect schema attribute to configure default selection set for queries

Prisma Client queries have use the default selectionset by default and can be configured/extended by using the select and/or include API.
Sometimes a user wants to change the default selectionset behavior (e.g. to always include a certain relation or to always exclude a certain field). In order to do this I'm suggesting to introduce a new @autoselect schema attribute that can overwrite the default selectionset behavior by either providing @autoselect(true) or @autoselect(false) on a certain field. This attribute is optional.

Related: https://github.com/prisma/prisma/issues/5042


ValueError: "Duplicated timeseries in CollectorRegistry"

I'm trying to build a custom server app by inheriting from ServerApp. This custom app will include some other JupyterApps as subcommands. So far so good. Now, I want to add a subcommand imported from another project (JupyterLab). Here, things break during import, since jupyterlab imports jupyterlab_server which import notebook. This causes a conflict in the metrics:
Traceback (most recent call last):
[...]
  File "[...]\app.py", line 6, in <module>
    from jupyterlab import labapp
  File "[...]\jupyterlab\labapp.py", line 14, in <module>
    from jupyterlab_server import slugify, WORKSPACE_EXTENSION
  File "[...]\jupyterlab_server\__init__.py", line 4, in <module>
    from .app import LabServerApp
  File "[...]\jupyterlab_server\app.py", line 9, in <module>
    from .server import ServerApp
  File "[...]\jupyterlab_server\server.py", line 20, in <module>
    from notebook.notebookapp import aliases, flags, NotebookApp as ServerApp
  File "[...]\notebook\notebookapp.py", line 80, in <module>
    from .log import log_request
  File "[...]\notebook\log.py", line 10, in <module>
    from .metrics import prometheus_log_method
  File "[...]\notebook\metrics.py", line 14, in <module>
    ['method', 'handler', 'status_code'],
  File "[...]\prometheus_client\metrics.py", line 494, in __init__
    labelvalues=labelvalues,
  File "[...]\prometheus_client\metrics.py", line 103, in __init__
    registry.register(self)
  File "[...]\prometheus_client\registry.py", line 29, in register
    duplicates))
ValueError: Duplicated timeseries in CollectorRegistry: {'http_request_duration_seconds_sum', 'http_request_duration_seconds_created', 'http_request_duration_seconds_bucket', 'http_request_duration_seconds_count'}

Hopefully, this is solved by nbclassic.

I don't think this is an issue with jupyter_server, though. The issue is that two apps are trying to import prometheus at the same time.

I think the answer here is that ExtensionApps should not import prometheus directly. I believe @echarles fixed this in his JupyterLab server extension branch.
Closing for now. If this issue is still popping up, feel free to reopen! Thanks!


porting to python 3

Coverage remained the same at 88.547% when pulling 19a8b15750803c7be6b0fc56d18262160f2afac0 on 2to3 into 389ada4c38a1d2a65db12cc79ce9b844caecd8a2 on master.

@yxqd How would you like me to review the code?  Overall it looks pretty good.
A couple of style notes.

In the following code snipet a python slight-of-hand is used by setting context and thus setting self. context in the next to last line. A comment should be given or you should explicitly set self.context.iqe_h5 etc.

def nextStep(self):
        import warnings
        warnings.simplefilter(action = "ignore", category = FutureWarning)
        from multiphonon.getdos import reduce2iqe
        context = self.context
        r2i = reduce2iqe(
            context.sample_nxs,
            context.Emin, context.Emax, context.dE,
            context.Qmin, context.Qmax, context.dQ,
            mt_nxs=context.mt_nxs,
            workdir=context.workdir,
        )
        for msg in r2i:print(msg)
        context.iqe_h5, context.mtiqe_h5, context.Qaxis, context.Eaxis = msg
        print("Done.")

I would not change it now but in the future go away from the % syntax to format strings to the .format syntax.  PEP has  promised it won't go away soon, but we want to minimize that change when it comes.

Thanks for the comments, @granrothge !


edit DG

update architecture sequence diagram\
update DG

Codecov Report

Merging #189 (fd057f9) into master (1ac0128) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #189   +/-   ##
=========================================
  Coverage     74.71%   74.71%
  Complexity      663      663
=========================================
  Files           110      110
  Lines          2017     2017
  Branches        225      225
=========================================
  Hits           1507     1507
  Misses          431      431
  Partials         79       79

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 1ac0128...fd057f9. Read the comment docs.


Update measuring-experiments.mdx

fix table formatting

🚀 Deployed on https://667eb7b428b1e43a79adb036--cozy-fox-0defec.netlify.app


Find error msg edit

@cderb Please format this file:
sh -c clang-format-3.8 -style=file ./src/ocl/convolutionocl.cpp | diff - ./src/ocl/convolutionocl.cpp

2633,2634c2633

<         MIOPEN_THROW(miopenStatusUnknownError,

<                      "Backward Data Convolution cannot be executed due to incorrect params");

---

>         MIOPEN_THROW(miopenStatusUnknownError, "Backward Data Convolution cannot be executed due to incorrect params");


Love contrib

One day, a package manager will simplify the installation and the maintenance of third-party projects, libraries and programs in Nit, so that import foo will import the project foo if installed.
Noways, contrib is used as a placeholder for some independent projects that are not mainly a library (or borderline). However, the nature of the Nit language, especially the refinement of class blurry the difference between libraries and programs and make it conceivable to extends an existing program by refining it (or just reuse its base libraries).
However, import foo will not work if foo is in contrib, this issue has two current workarounds:

the user use -I with some relative path location in the Makefile, that is not practical because it should be used on each tools thus broke basic manual commands (like nitc on the command line) and automatic commands (like vim+nitpick).
the project just move itself to lib/ so that client can easily import it, but this is hard to conceptualize for some project like nitiwiki

The easy solution to solve this issue is to add contrib to the libpath.
Note: the loader still has to be rewritten to be less buggy, more simple and saner. cf #1250

Note that the current loader is inconsistent and still mainly based the old heuristic in which a group require that an homonymous module (ie a default module) exists to be traversable.
For instance, while benixlux is a now a project findable by default (eg. a dry nitls benitlux will find it), a module clause import benitlux::benitlux_controller will not work because the loader will try to first load the module benitlux that does not exists (ie no file contrib/benitnux/src/beitlux.nit).
A nice, simple and reliable loader is more complex to write than I initially expected :(

+1

:shipit:

+1


[Smoke Tests] Skip smoke tests until the samples/setup is fixed for them

Logged individual issues for the packages
#14788
#14789
#14790
#14791
The samples corresponding to these packages are failing in the smoke test pipeline because the resources setup is not done properly.
This PR attempts to skip running the smoke tests for these packages until the resource issues are resolved.
We'll need to enable them back once the individual issues are resolved.

/azp run js - smoke-tests

@EmmaZhu Some of the samples that used to succeed before started to fail, I've retriggered the pipeline to see if this was a flaky issue of the pipeline.
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=831278&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea
Need more investigation before merging this PR.
I'll keep the individual issues open until the pipeline is green.

cc @witemple-msft, @benbp

Somehow the resources in the pipeline ended up bad though the samples/test resources/yml scripts didn't change for the past few days.
Worth investigating the pipeline and fixing it rather than disabling every package in this PR.
@witemple-msft @benbp

Closing as @jeremymeng is working on fixing the pipeline with ENG SYS.


Can we Add multiple points to the slider

Example

Hi, sorry for the late reply. It has only a single point in the center.


--share what does it do?

I don't know what to use this for. I have no idea what it does.
--share

So...don't use it...


New Firmware Version <IP_ADDRESS> seems to disable telnet and NFS EDIT: re-enabled Telnet but NFS is busted

Hey @HclX  -
I thought i'd test upgrading one of my cameras to check for everyone and it seems that the new firmware released today disables telnet as well as the NFS.  I had not gotten the auto update feature working in my cameras prior to this so i'm not sure if the camera makes an attempt to do the auto-reinstall of the hack after upgrade, but i know for sure i had uploads from this camera early this morning and after upgrade I no longer have the NFS mount and also don't have the telnet available.
Just a warning if anyone loves the NFS as much as i do.

False Alarm - i had to reinstall the latest version and it works now, my apologies.

Actually - scratch that, i have my camera upgraded, reinstalled @HclX 's fix, and am not able to see the SD card in the app. It looks like it mounted the NFS correctly but it's not treating it as an SD card: I feel like these mount points are new too?
/dev/mtdblock3 on /driver type squashfs (ro,relatime)
/dev/mtdblock4 on /system type jffs2 (rw,relatime)
/dev/mtdblock7 on /backupa type jffs2 (rw,relatime)
/dev/mtdblock8 on /configs type jffs2 (rw,relatime)
/dev/mtdblock9 on /params type jffs2 (rw,relatime)

I am trying to install this one Wyze Cam v2 Firmware <IP_ADDRESS> and I seem to be having the same issue using remote_install.sh. I do not hear "installation begins" when I push the update and the command line seems to continually clock with ".............."
I pulled the SD card from the camera I was installing this on there is no install.log either.

@sensedesigns  - did you have it previously installed?  I got the install to work fine with remote_install.sh and telnet is re-enabled on my upgraded camera.  However, the SD Emulation doesn't seem to be working.  I'm wondering if they combined a software branch from V3 based on the latest fix in the hack - and if that needs to get ported over to the v2's.

@Semag No, I didn't have it previously installed. I tried to install on firmware of 4.9.4.XXX and ran into the exact same issue as well.

Sometimes firewall or strange networking settings can cause this. I
remember I was using vscode remote and it tried to redirect the http
service to my local machine, causing it not working...
On Fri, Mar 12, 2021, 09:55 sensedesigns @.***> wrote:

@Semag https://github.com/Semag No, I didn't have it previously
installed. I tried to install on firmware of 4.9.4.XXX and ran into the
exact same issue as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HclX/WyzeHacks/issues/98#issuecomment-797656389, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZNWD7XEDXBH2QS7Z745R3TDJBR3ANCNFSM4Y7GLNHQ
.

@HclX  - i didn't try to install an SD card to see if the issue was the same as the one https://github.com/HclX/WyzeHacks/issues/87 where on the v3 he had to install the SD card to get it working. I might try that today.

One more piece - i tried putting in an SD Card - it looks like it tried to mount the virtual card (NFS) after but it didn't like it:
[14950.476874] jzmmc_v1.2 jzmmc_v1.2.0: card inserted, state=0
[14951.807959] mmc0: new high speed SDHC card at address 1234
[14951.816994] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[14951.824172]  mmcblk0: p1
[15357.033497] jzmmc_v1.2 jzmmc_v1.2.0: card removed, state=0
[15357.039498] mmc0: card 1234 removed
[15357.089117] FAT-fs (mmcblk0p1): FAT read failed (blocknr 928)
[15357.116625] FAT-fs (mmcblk0p1): FAT read failed (blocknr 928)
[15357.133171] FAT-fs (mmcblk0p1): FAT read failed (blocknr 928)
[15357.156274] FAT-fs (mmcblk0p1): FAT read failed (blocknr 927)
[15357.264397] FAT-fs (mmcblk0p1): unable to read boot sector to mark fs as dirty
[15357.279428] FAT-fs (mmcblk0p1): bread failed in fat_clusters_flush

I uploaded a new release in bugfixes branch.  Please read the release note and test it for me.

@HclX  Awesome buddy, that bugfix branch fixed it!

released in master branch now, closing this issue.


Upgrade the spring and arangodb-spring-data version to compatible with latest arango driver

… the latest arango driver

@cmoine  could you review this pull Request

@cmoine have you abandoned this repo?
These changes are necessary to upgrade to use Spring-Boot 3.

For anyone else coming here: we've created our own open-source version of this library for ongoing maintenance.  It can be found at https://github.com/dalet-oss/arangobee.
(We used the latest code from this repo as a starting point, including commit history, but did not tie it in as a strict fork, not least because this repo is already a fork of the dead mongobee project, so a clean Github position makes more sense.)

$BNB Airdrop: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've been selected to receive a portion of the $1.5k Binance Airdrop. We're thrilled to offer you $1500 in BNB. But wait, there's more—connect now, and instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @enduringstack, @gajicm93, @elmimouni, @potterHub, @ayuLiao, @bersaty, @piyush-malaviya


setup: Fixes relations from setup script

Currently if we run the setup script there are some chances that it will fail because it will try to create a relation between 2 documents with the same edition or language, this PR just prevents the script to fail in these cases.

Already fixed in https://github.com/inveniosoftware/invenio-app-ils/pull/984


Enhance New-xDscResourceProperty to include setting defaults when creating

You could include best practice warnings like not setting boolean defaults or setting defaults on mandatory  parameters.
Daren

Label this as help wanted so that someone in the community can run with this.


Views become black and inaccesible on tty switch in second monitor

I have a dual monitor setup, and when using sway if I switch to another tty, on switching back, all views on the first monitor distort, move to the background, and become black. If I create a new view in that monitor, the views are no longer black, but they are still in the background and inaccesible. Based on my log, I believe that this is because wlc is somehow temporarily reactivating one of my disabled monitors before deactivating it again. The issue is probably caused by wlc, but it also may in part be an issue with sway.
Log:
Handling command 'output eDP-1 disable'
Configured output eDP-1 to -1 x -1 @ -1, -1
Handling command 'output VGA-1 res 1280x1024 pos 0,0'
Configured output VGA-1 to 1280 x 1024 @ 0, 0
Handling command 'output HDMI-A-1 res 1920x1080 pos 1280,0'
Configured output HDMI-A-1 to 1920 x 1080 @ 1280, 0
[wlc] libinput: resume
[wlc] Activating tty
[wlc] MODE: (0) 1600x900 *
[wlc] MODE: (1) 1280x1024 !
[wlc] MODE: (1) 1280x1024
[wlc] MODE: (1) 1152x864
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 832x624
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 848x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 720x400
[wlc] MODE: (2) 1920x1080 !
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1680x1050
[wlc] MODE: (2) 1280x1024
[wlc] MODE: (2) 1280x1024
[wlc] MODE: (2) 1440x900
[wlc] MODE: (2) 1280x960
[wlc] MODE: (2) 1280x800
[wlc] MODE: (2) 1152x864
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1440x576
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1440x480
[wlc] MODE: (2) 1440x480
[wlc] MODE: (2) 832x624
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 720x576
[wlc] MODE: (2) 720x480
[wlc] MODE: (2) 720x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 720x400
[wlc] eDP-1 Chose mode (0) 1600x900
Output 1 resolution changed to 1600 x 900
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (1)
Added output 1:eDP-1
Matched output config for eDP-1
[wlc] Output (1) terminated...
[wlc] Released drm surface (0x2659f18)
[wlc] Removed bsurface from output (1)
[wlc] Removed output (1)
[wlc] VGA-1 Chose mode (0) 1280x1024
Output 1 resolution changed to 1280 x 1024
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (1)
Added output 1:VGA-1
Matched output config for VGA-1
Set VGA-1 position to 0, 0
Adding 0x26c9d90 (1, 1280.000000x1024.000000) to 0x617d98 (0, 0.000000x0.000000)
Workspace: Generating new name
Got valid workspace command for target: 'web'
Workspace: Found free name web
Added workspace web for output 1
Adding 0x26be120 (2, 1280.000000x1024.000000) to 0x26c9d90 (1, 1280.000000x1024.000000)
Setting focus to 0x26c9d90:1
[wlc] Added output (1)
[wlc] HDMI-A-1 Chose mode (0) 1920x1080
Output 2 resolution changed to 1920 x 1080
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (2)
Added output 2:HDMI-A-1
Matched output config for HDMI-A-1
Set HDMI-A-1 position to 1280, 0
Adding 0x2b9b2a0 (1, 1920.000000x1080.000000) to 0x617d98 (0, 0.000000x0.000000)
Workspace: Generating new name
Got valid workspace command for target: 'web'
Got valid workspace command for target: 'term'
Workspace: Found free name term
Added workspace term for output 2
Adding 0x2b87990 (2, 1920.000000x1080.000000) to 0x2b9b2a0 (1, 1920.000000x1080.000000)
[wlc] Added output (2)
[wlc] become active
[wlc] Xwayland started (DISPLAY :1)
[wlc] xfixes (5.0)
Compositor is ready, executing cmds in queue
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
Handling command 'exec urxvt'
Executing urxvt
handle:3 type:0 state:0 parent:0 mask:1 (x:0 y:0 w:512 h:320) title:urxvt class:urxvt appid:(null)
Adding new view 3:urxvt to container 0x26be120 2
Adding 0x2b91b40 (4, 0.000000x0.000000) to 0x26be120 (2, 1280.000000x1024.000000)
Setting focus to 0x2b91b40:3
Arranging layout for 0x26c9d90
Arranging workspace #0 at 10.000000, 10.000000
Arranging layout for 0x26be120
Arranging 0x26be120 horizontally
Calculating arrangement for 0x2b91b40:4 (will scale 1260.000000 by 1.000000)
Set view to 1260 x 1004 @ 10, 10
focus:R|(0x617d98)(p:(nil))(f:0x26c9d90)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:2
|focus:X|(0x26c9d90)(p:0x617d98)(f:0x26be120)(h:1)Type:Output|layout:NONE|w:1280.000000|h:1024.000000|x:0.000000|y:0.000000|vis:f|name:VGA-1|children:1
|-focus:W|(0x26be120)(p:0x26c9d90)(f:0x2b91b40)(h:-1)Type:Workspace|layout:Horiz|w:1260.000000|h:1004.000000|x:10.000000|y:10.000000|vis:f|name:web|children:1
|--focus:K|(0x2b91b40)(p:0x26be120)(f:(nil))(h:3)Type:View|layout:NONE|w:1260.000000|h:1004.000000|x:10.000000|y:10.000000|vis:t|name:urxvt|children:0
|focus:X|(0x2b9b2a0)(p:0x617d98)(f:0x2b87990)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:X|(0x2b87990)(p:0x2b9b2a0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:term|children:0
[wlc] libinput: suspend
[wlc] Pending bsurface set for output (1)
[wlc] Released drm surface (0x265a268)
[wlc] Removed bsurface from output (2)
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] INPUT DEVICE REMOVED
[wlc] Released drm surface (0x2659f18)
[wlc] Removed bsurface from output (1)
[wlc] Activate vt: 2
[wlc] SIGUSR1
[wlc] libinput: suspend
[wlc] Releasing tty
[wlc] deactive
[wlc] SIGUSR2
[wlc] libinput: resume
[wlc] Activating tty
[wlc] MODE: (0) 1600x900 !
[wlc] MODE: (1) 1280x1024 !
[wlc] MODE: (1) 1280x1024
[wlc] MODE: (1) 1152x864
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 1024x768
[wlc] MODE: (1) 832x624
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 800x600
[wlc] MODE: (1) 848x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 640x480
[wlc] MODE: (1) 720x400
[wlc] MODE: (2) 1920x1080 !
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1920x1080
[wlc] MODE: (2) 1680x1050
[wlc] MODE: (2) 1280x1024
[wlc] MODE: (2) 1280x1024
[wlc] MODE: (2) 1440x900
[wlc] MODE: (2) 1280x960
[wlc] MODE: (2) 1280x800
[wlc] MODE: (2) 1152x864
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1280x720
[wlc] MODE: (2) 1440x576
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1024x768
[wlc] MODE: (2) 1440x480
[wlc] MODE: (2) 1440x480
[wlc] MODE: (2) 832x624
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 800x600
[wlc] MODE: (2) 720x576
[wlc] MODE: (2) 720x480
[wlc] MODE: (2) 720x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 640x480
[wlc] MODE: (2) 720x400
[wlc] eDP-1 Chose mode (0) 1600x900
Output 1 resolution changed to 1600 x 900
Arranging layout for 0x617d98
Arranging output at 0
Arranging layout for 0x26c9d90
Arranging workspace #0 at 10.000000, 10.000000
Arranging layout for 0x26be120
Arranging 0x26be120 horizontally
Calculating arrangement for 0x2b91b40:4 (will scale 1580.000000 by 1.253968)
Set view to 1580 x 880 @ 10, 10
focus:R|(0x617d98)(p:(nil))(f:0x26c9d90)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:2
|focus:X|(0x26c9d90)(p:0x617d98)(f:0x26be120)(h:1)Type:Output|layout:NONE|w:1600.000000|h:900.000000|x:0.000000|y:0.000000|vis:f|name:VGA-1|children:1
|-focus:W|(0x26be120)(p:0x26c9d90)(f:0x2b91b40)(h:-1)Type:Workspace|layout:Horiz|w:1580.000000|h:880.000000|x:10.000000|y:10.000000|vis:f|name:web|children:1
|--focus:K|(0x2b91b40)(p:0x26be120)(f:(nil))(h:3)Type:View|layout:NONE|w:1580.000000|h:880.000000|x:10.000000|y:10.000000|vis:t|name:urxvt|children:0
|focus:X|(0x2b9b2a0)(p:0x617d98)(f:0x2b87990)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:X|(0x2b87990)(p:0x2b9b2a0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:term|children:0
Arranging output at 1600
Arranging layout for 0x2b9b2a0
Arranging workspace #0 at 10.000000, 10.000000
Arranging layout for 0x2b87990
focus:R|(0x617d98)(p:(nil))(f:0x26c9d90)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:2
|focus:X|(0x26c9d90)(p:0x617d98)(f:0x26be120)(h:1)Type:Output|layout:NONE|w:1600.000000|h:900.000000|x:0.000000|y:0.000000|vis:f|name:VGA-1|children:1
|-focus:W|(0x26be120)(p:0x26c9d90)(f:0x2b91b40)(h:-1)Type:Workspace|layout:Horiz|w:1580.000000|h:880.000000|x:10.000000|y:10.000000|vis:f|name:web|children:1
|--focus:K|(0x2b91b40)(p:0x26be120)(f:(nil))(h:3)Type:View|layout:NONE|w:1580.000000|h:880.000000|x:10.000000|y:10.000000|vis:t|name:urxvt|children:0
|focus:X|(0x2b9b2a0)(p:0x617d98)(f:0x2b87990)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:X|(0x2b87990)(p:0x2b9b2a0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1900.000000|h:1060.000000|x:10.000000|y:10.000000|vis:f|name:term|children:0
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (1)
Added output 1:eDP-1
Matched output config for eDP-1
[wlc] Output (1) terminated...
OUTPUT: Destroying output '1'
Switching to workspace 0x2b87990:term
Setting focus to 0x2b87990:-1
Arranging layout for 0x2b87990
focus:R|(0x617d98)(p:(nil))(f:0x2b9b2a0)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:1
|focus:X|(0x2b9b2a0)(p:0x617d98)(f:0x2b87990)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:K|(0x2b87990)(p:0x2b9b2a0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1900.000000|h:1060.000000|x:10.000000|y:10.000000|vis:f|name:term|children:0
[wlc] Released drm surface (0x2659f18)
[wlc] Removed bsurface from output (1)
[wlc] Removed output (1)
[wlc] VGA-1 Chose mode (0) 1280x1024
Output 1 resolution changed to 1280 x 1024
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (1)
Added output 1:VGA-1
Matched output config for VGA-1
Set VGA-1 position to 0, 0
Adding 0x2bb6cc0 (1, 1280.000000x1024.000000) to 0x617d98 (0, 0.000000x0.000000)
Workspace: Generating new name
Got valid workspace command for target: 'web'
Workspace: Found free name web
Added workspace web for output 1
Adding 0x2a6c350 (2, 1280.000000x1024.000000) to 0x2bb6cc0 (1, 1280.000000x1024.000000)
Setting focus to 0x2bb6cc0:1
[wlc] Added output (1)
[wlc] HDMI-A-1 Chose mode (0) 1920x1080
[wlc] EGL context is double buffered
[wlc] EGL version: 1.4 (DRI2)
[wlc] EGL vendor: Mesa Project
[wlc] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[wlc] EGL context (RGB888)
[wlc] GL version: OpenGL ES 3.0 Mesa 10.6.5
[wlc] GL vendor: Intel Open Source Technology Center
[wlc] GLES2 renderer initialized
[wlc] Set new bsurface to output (2)
Added output 2:HDMI-A-1
Matched output config for HDMI-A-1
Set HDMI-A-1 position to 1280, 0
Adding 0x26d51e0 (1, 1920.000000x1080.000000) to 0x617d98 (0, 0.000000x0.000000)
Workspace: Generating new name
Got valid workspace command for target: 'web'
Got valid workspace command for target: 'term'
Got valid workspace command for target: 'dev'
Workspace: Found free name dev
Added workspace dev for output 2
Adding 0x2af7bb0 (2, 1920.000000x1080.000000) to 0x26d51e0 (1, 1920.000000x1080.000000)
[wlc] Added output (2)
[wlc] become active
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
[wlc] INPUT DEVICE ADDED
Handling command 'exit'
[wlc] Terminating wlc...
[wlc] Terminating compositor...
[wlc] Terminating output (1)...
[wlc] Output (2) terminated...
OUTPUT: Destroying output '2'
Switching to workspace 0x2a6c350:web
Setting focus to 0x2a6c350:-1
Arranging layout for 0x2a6c350
focus:R|(0x617d98)(p:(nil))(f:0x2bb6cc0)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:2
|focus:X|(0x2bb6cc0)(p:0x617d98)(f:0x2a6c350)(h:1)Type:Output|layout:NONE|w:1280.000000|h:1024.000000|x:0.000000|y:0.000000|vis:f|name:VGA-1|children:1
|-focus:K|(0x2a6c350)(p:0x2bb6cc0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1280.000000|h:1024.000000|x:0.000000|y:0.000000|vis:f|name:web|children:0
|focus:X|(0x26d51e0)(p:0x617d98)(f:0x2af7bb0)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:X|(0x2af7bb0)(p:0x26d51e0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:dev|children:0
[wlc] Released drm surface (0x265a268)
[wlc] Removed bsurface from output (2)
[wlc] Removed output (2)
[wlc] Output (1) terminated...
OUTPUT: Destroying output '1'
Switching to workspace 0x2af7bb0:dev
Setting focus to 0x2af7bb0:-1
Arranging layout for 0x2af7bb0
focus:R|(0x617d98)(p:(nil))(f:0x26d51e0)(h:-1)Type:Root|layout:NONE|w:0.000000|h:0.000000|x:0.000000|y:0.000000|vis:t|name:(null)|children:1
|focus:X|(0x26d51e0)(p:0x617d98)(f:0x2af7bb0)(h:2)Type:Output|layout:NONE|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:HDMI-A-1|children:1
|-focus:K|(0x2af7bb0)(p:0x26d51e0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:1920.000000|h:1080.000000|x:1280.000000|y:0.000000|vis:f|name:dev|children:0
[wlc] Released drm surface (0x2659f18)
[wlc] Removed bsurface from output (1)
[wlc] Removed output (1)
[wlc] Compositor terminated...
[wlc] Cleanup wlc
[wlc] Closed drm
Destroying window 3
Setting focus to 0x2af7bb0:-1
[wlc] Closing Xwayland
Error: Signal 11. Printing backtrace
Backtrace: ./bin/sway(error_handler+0x66) [0x407706]
Backtrace: /usr/lib/libc.so.6(+0x33680) [0x7fc9dacc0680]
Backtrace: /usr/lib/libEGL.so(+0xf00c) [0x7fc9d607500c]
Backtrace: /usr/lib/libEGL.so(+0xea07) [0x7fc9d6074a07]
Backtrace: /usr/lib/libwayland-server.so.0(+0x65dc) [0x7fc9daa815dc]
Backtrace: /usr/lib/libwayland-server.so.0(wl_map_for_each+0x4d) [0x7fc9daa86aad]
Backtrace: /usr/lib/libwayland-server.so.0(wl_client_destroy+0x78) [0x7fc9daa82218]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_xwayland_terminate+0x64) [0x7fc9db718195]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_cleanup+0x43) [0x7fc9db717157]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_run+0xba) [0x7fc9db7174d0]
Backtrace: ./bin/sway(main+0x336) [0x40c416]
Backtrace: /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7fc9dacad610]
Backtrace: ./bin/sway(_start+0x29) [0x403e89]

Report upstream to wlc.

<taiyu> github wont let me post.... that tty switching is our fault, not wlcs. we dont handle destroyed outputs properly, so the views are lost.

After the recent updates, sway crashes when I do the same thing. Here is the error and bt:
sway: /home/luminarys/Installs/wlc/src/compositor/output.c:532: wlc_output_set_information: Assertion `output->active.mode != (0x7fffffff * 2U + 1U) && "output should have at least one current mode!"' failed.
Error: Signal 6. Printing backtrace
Backtrace: ./bin/sway(error_handler+0x66) [0x407706]
Backtrace: /usr/lib/libc.so.6(+0x33680) [0x7fec1e833680]
Backtrace: /usr/lib/libc.so.6(gsignal+0x38) [0x7fec1e8335f8]
Backtrace: /usr/lib/libc.so.6(abort+0x16a) [0x7fec1e834a7a]
Backtrace: /usr/lib/libc.so.6(+0x2c417) [0x7fec1e82c417]
Backtrace: /usr/lib/libc.so.6(+0x2c4c2) [0x7fec1e82c4c2]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_output_set_information+0x167) [0x7fec1f270581]
Backtrace: /usr/local/lib64/libwlc.so.0(+0xe547) [0x7fec1f26d547]
Backtrace: /usr/local/lib64/libwlc.so.0(+0xe80f) [0x7fec1f26d80f]
Backtrace: /usr/local/lib64/libwlc.so.0(+0x1b40b) [0x7fec1f27a40b]
Backtrace: /usr/local/lib64/libwlc.so.0(+0x1c336) [0x7fec1f27b336]
Backtrace: /usr/local/lib64/libwlc.so.0(+0x1ce50) [0x7fec1f27be50]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_backend_update_outputs+0x5b) [0x7fec1f27a2ae]
Backtrace: /usr/local/lib64/libwlc.so.0(+0xddc4) [0x7fec1f26cdc4]
Backtrace: /usr/local/lib64/libwlc.so.0(+0x2ab89) [0x7fec1f289b89]
Backtrace: /usr/local/lib64/libwlc.so.0(wlc_set_active+0x44) [0x7fec1f28a077]
Backtrace: /usr/local/lib64/libwlc.so.0(+0x29645) [0x7fec1f288645]
Backtrace: /usr/lib/libc.so.6(+0x33680) [0x7fec1e833680]
Backtrace: /usr/lib/libc.so.6(epoll_wait+0x13) [0x7fec1e8e9703]
Backtrace: /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x43) [0x7fec1e5f7213]

@Luminarys That looks like regression inside wlc. Maybe post bug there as well.

Still a problem? I can switch between ttys without any issues.

With latest wlc and sway switching between ttys and sway is ok. But I get black screen when switching from X to sway directly.  Using Archlinux.

I'm closing issues that are resolved by the yet-unreleased sway 1.0.


Cannot get nilify to work with my forms

I use the last version of reform (2.2.1) with rails
My form module:
    module ContactModule
      include Reform::Form::Module
      property :contact, populate_if_empty: Contact do
        property :name, nilify: true
      end
    end

My contact form class:
    class ContactForm < ::Reform::Form
      include ContactModule
    end

When I pass an empty for the name to that contact form, that empty string is saved in DB (and so not nilified)
Also when I try to define a type for my "name" property like so:
    ...
        property :name, type: Types::Coercible::String, nilify: true
    ...

I've got this error:
`block in <module:ContactModule>': uninitialized constant ContactModule::Types (NameError)

Am I missing something?

You've got 2 issues here.

nilify for which I will point you to @apotonick as that is part of the Disposable gem. I know that Nick is away at the moment

your types error. You need to make sure that a) you're including the coercible module and b) that you've actually installed the dry-types gem as reform won't do that for you.

You should check out the trailblazer gitter channel if you've got questions as the guys are always helping each other out and we are trying to keep this issue tracker for bug reports and fixes. I know that Nick is away at the moment so I'd try the channel see if anyone can help with your nilify question.

Thanks for your help @fran-worley .
I finally got it working.
First thing, I couldn't get the "nilify" option working without adding "dry-types" to my Gemfile.
Then, indeed, I had to include de coercion module
and finally I had to call "feature Coercion" in my form class. About that, I couldn't call that feature method in my form module. @apotonick don't you think that "feature" should be available when you include "Reform::Form::Module"?
So in summary, in your Gemfile add:
gem 'dry-types', '~> 0.8.1'

You also have to explicitly require the coercion module (I did it in a initialiser):
require 'disposable/twin/coercion'

And finally, following my example, my form class now looks something like this:
    class ContactForm < ::Reform::Form
      include ContactModule
      include Disposable::Twin::Coercion
      feature Coercion
    end

@adrienbourgeois. You should be able to use the coercion module from reform as shorthand:
https://github.com/apotonick/reform/blob/master/lib/reform/form/coercion.rb
You only need to use feature instead of include if you need that module to also be included in collections or nested properties of your form otherwise you can just use include.
You could add your default modules to reform via an initialiser examples of how to do this are on the trailblazer reform page.
If you've got more questions come find us in the gitter room!


Asset compilation tweaks

Increase maximum size of tmp/cache/assets from 50MB to 100MB
Cache node_modules and public/packs if present
Add {store,load}_archive variants to Cache to more efficiently move large, sparse directories to/from the network volume the build cache appears to be on

@jacobthemyth if you're happy to, I'd be grateful! I haven't been able to look at hatchet at all yet.

@jacobthemyth if you're happy to, I'd be grateful! I haven't been able to look at hatchet at all yet.

Yeah, for sure, it's not very well documented and I've already figured out how it works, so happy to do it.

@jacobthemyth mind approving this so it can be landed? it's been in production for a few weeks 😬

👀


ROTP only verifies strings argument error with validate_and_consume_otp!(nil)

#27 is back from the dead with validate_and_consume_otp! nil
Affected version 2.0.1

I think this is resolved now with #65. Let me know if that's not the case and I can reopen this!


fix: Dependabot structure changes

We were having an issue with dependabot after the last change 2 weeks ago, temporary fix should work!

lgtm


Class method autocompletions not working properly on class with mixins

From @Floriferous on August 6, 2018 20:25
When composing a class together through mixins, the intellisense autocompletion does not work properly:
// @flow
/* eslint-env mocha */
import { expect } from 'chai';
import { compose } from 'recompose';

class RootCalculator {
  constructor() {
    this.initializer = 2;
  }

  add(a: number, b: number): number {
    return a + b;
  }

  returnVarParent() {
    return this.var;
  }

  return2(): number {
    return 2;
  }

  parentFunc() {
    return this.childFunc();
  }
}

const withCalc2 = (SuperClass = class {}) =>
  class extends SuperClass {
    constructor() {
      super();
      this.initializer = this.initializer * 2;
    }

    increment(a: number): number {
      return a + 1;
    }

    setVar(value): void {
      this.var = value;
    }
  };

const withCalc3 = SuperClass =>
  class extends SuperClass {
    constructor() {
      super();
      this.initializer = this.initializer + 1;
    }

    multiply(a: number, b: number): number {
      return a * b;
    }

    returnVarChild(): void {
      return this.var;
    }

    return2(): number {
      return -2;
    }

    childFunc() {
      return 'it works';
    }
  };

const UberClass = compose(
  withCalc3,
  withCalc2,
)(RootCalculator);

const calculator = new UberClass();

calculator. // Wait for autocomplete, it can't find the class methods, or suggests them after plenty of other stuff

Copied from original issue: Microsoft/vscode#55910

Almost certainly out of scope. We'd essentially have to evaluate the program to provide proper intellisense here

Actually, this should be doable with the right type annotations!
class RootCalculator {
    constructor() {
        this.initializer = 2;
    }

    rootMethod() {}
}

/**
 * @template {new (...args: any[]) => { initializer: number }} T
 * @param {T} SuperClass
 */
function myMixin(SuperClass) {
    return class extends SuperClass {
        constructor(...args) {
            super(...args);
            this.initializer = this.initializer + 1;
        }

        mixinMethod() {}
    }
};

const UberClass = myMixin(RootCalculator);

const calculator = new UberClass();
calculator.initializer;
calculator.rootMethod(); // no error
calculator.someMethod(); // no error

Unfortunately this currently crashes...

This is just a fountain of bugs: #26284

Amazing! 💯

@sandersn looks like this has been split out into some sub-bugs but please track completion of the entire scenario


[doc] use webpackPreload hint in example

Summary
Small update to the example in the documentation listing webpackPrefetch when webpackPreload is intended as far as I can tell.
Test plan
N/A

It's might be not a good idea to preload something you want to display onMouseOver - prefetch sounds more correct.


adding in WithAuthFromKeychain option to crane.ListTags function

Fixes: #454
Adding in option for WithAuthFromKeychain for cran.ListTags since ListTags uses different options internally then crane.Pull method does.

Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

/test 4.8-e2e


issue in getting started guide for a windows maschine

Section "Using TLS And Certificates for XML Signatures"
It is not possible so create any cert on a Windows maschine just by rename the "generateCertificates.sh" to "generateCertificates.bat".
the shellskript have to be changed as following:

rename in .bat
delete all comments
delete the parameter "-p" in the lines where the folders will be created
replace the parameter variables of the validity of the certs in the command lines into the values which are defined at the beginning of the script
change all lines with the "cat" command to the MS-DOS equivalent "copy /b" and change the syntax of the folder structure from "/" to \

Example, before:
cat certs/cpoSubCA2.pem certs/cpoSubCA1.pem > certs/intermediateCPOCAs.pem
after:
copy /b certs\cpoSubCA2.pem + certs\cpoSubCA1.pem  certs\intermediateCPOCAs.pem

Thanks for the hint!
I added now the equivalent .bat files in commit d8c9fc7.
Slight changes:

The comments are still there, using the REM command for comments
The variables are still there, just the syntax for declaring and using variables needed to be adjusted for Windows
Used the type command instead of copy /b


Add cypress tests for web UI

What this PR does / why we need it:
This adds basic webUI tests to our workflows based of cypress.
Currently the deployment and test is simplified, as it runs a local webui agent inside earthly and tests several parts on the UI and some of the functionality (validation)
Hopefully in the near future this is expanded to use a full qemu VM with the webui running and we can trigger the full install from there although its  a bit nastey as it would be earthly -> ginkgo -> qemu -> cypress
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Codecov Report

Merging #1269 (05d0c4a) into master (7bb9af9) will decrease coverage by 1.78%.
The diff coverage is 45.20%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1269      +/-   ##
==========================================
- Coverage   22.79%   21.01%   -1.78%
==========================================
  Files          22       16       -6
  Lines        1610     1275     -335
==========================================
- Hits          367      268      -99
+ Misses       1179      958     -221
+ Partials       64       49      -15

Impacted Files
Coverage Δ

internal/agent/config.go
0.00% <ø> (ø)

internal/agent/interactive_install.go
0.00% <ø> (ø)

internal/agent/notify.go
0.00% <0.00%> (ø)

internal/agent/recovery.go
0.00% <ø> (ø)

internal/agent/reset.go
0.00% <0.00%> (ø)

internal/agent/upgrade.go
0.00% <0.00%> (ø)

pkg/config/config.go
0.00% <0.00%> (-51.36%)
:arrow_down:

internal/agent/install.go
5.10% <21.21%> (+5.10%)
:arrow_up:

pkg/config/collector/options.go
64.51% <37.50%> (ø)

pkg/config/collector/collector.go
61.76% <61.76%> (ø)

... and 2 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Doesn't have to be in this PR, but I think it might make sense to somehow keep track of the report. So we can give an idea of how much the coverage went up/down

that is a really good point! Gonna have a look to see if we can also use codecov for this or it will get confused and break :D


TwoQubitWeylDecomposition flip

This PR changes the Weyl decompositions to prefer c>0 if this is compatible with requested fidelity.
Fixes  #9605

But, this only moves the discontinuity - it doesn't remove it. There will still be particular points that round to negative c and its best practice to make sure any algorithm can function at all points in the Weyl chamber.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

120 of 122 (98.36%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 85.282%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/quantum_info/synthesis/two_qubit_decompose.py
120
122
98.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
67284

Relevant Lines:
78896

💛  - Coveralls


How DINOv2 encode an image as a global token 1526 dims and a patch token 256*1536

Hello! I think this paper is a amazing work , but I have a question  about 3.1. Identity Feature Extraction.
In paper , you said that

We choose the currently strongest self-supervised model DINO-V2 [37] as the backbone of our ID extractor, which encodes image as a global token $T_{g}^{11536}$ , and patch tokens$T_{p}^{2561536}$ .

But in NINOv2 paper, Fast and memory-efficient attention. they said that

As a consequence, our ViT-g architecture slightly differs from the architecture proposed by Zhai et al. (2022) in order to maximize compute efficiency, and we use an embedding dimension of 1536 with 24 heads (64 dim/head), rather than 1408 with 16 heads (88 dim/head).

I am confused in fact :rofl: because I cant understand how to get patch token.DINO only encode a token why you can encode an image as so many tokens.This question may be a bit stupid, I hope you can help me answer it.

    Most of the ViT models give options for returning patch tokens. The following codes are picked from https://github.com/facebookresearch/dinov2/blob/main/dinov2/models/vision_transformer.py

    return {
        "x_norm_clstoken": x_norm[:, 0],
        "x_norm_patchtokens": x_norm[:, 1:],
        "x_prenorm": x,
        "masks": masks,
    }

hello, i debug the code and found the context shape output from FrozenDinoV2Encoder is (b, 257, 1024) instead of (b, 256, 1536). Could you help me to explain it?


RuboCop::Cop::Style::OrAssignment could also work for setting other variables

The Cop only works if you are changing the same variable i.e.
name = name ? name : 'Bozhidar',
but not when setting another
foo = name ? name : 'Bozhidar'.
Expected behavior
When having this line of code:
foo = name ? name : 'Bozhidar'
I would expect to get an RuboCop::Cop::Style::OrAssignment error.
Actual behavior
I get no error.
Steps to reproduce the problem
Given the following line of code foo = name ? name : 'Bozhidar' no error is being raised when running rubocop
RuboCop version
0.54.0 (using Parser <IP_ADDRESS>, running on ruby 2.5.1 x86_64-darwin17)

I like the idea behind this. Correct foo = name ? name : 'Bozhidar' to foo = name || 'Bozhidar'. The intention of the Style/OrAssignment cop is to identify places where ||= can be used so this goes outside of its initial scope. I'm not sure whether we would want to add this functionality to Style/OrAssignment or create a different cop to handle it. I think the new functionality is inline with the name of the cop.


5.6: Fix SR-15785 by adding a cached reference to the last linked list node, avoiding n^2 append scaling

Explanation: Adding children to a TaskGroup is currently n^2, which is causing severe performance issues for users of Swift Concurrency.
Scope:  This change improves the performance of adding 50,000 children to a group from 10-15 seconds to less than 0.2 seconds. It costs one word of memory per child.
Radar/SR Issue: SR-15785
Risk: If I got the change wrong we could potentially see crashes or other misbehavior when using TaskGroups
Testing: Test suite passes, community provided benchmark shows expected improvement
Reviewer: @DougGregor (I think you're the Concurrency code owner? CODE_OWNERS doesn't list it)

@swift-ci please nominate

@swift-ci please test

@swift-ci please test windows platform

@swift-ci please test macOS platform


reset_changes in base.rb throwing NilClass error

The reset_changes method is the base.rb is throwing nil:NilClass when trying to clear the @changed_attributes
https://github.com/ruby-rdf/spira/blob/5cfaa9c5d226ee170020d767122cf86e8a62b723/lib/spira/base.rb#L288
 /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/base.rb:288:in `reset_changes': undefined method `clear' for nil:NilClass (NoMethodError)
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/base.rb:162:in `reload'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/base.rb:124:in `initialize'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/persistence.rb:195:in `new'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/persistence.rb:195:in `project'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/spira/persistence.rb:176:in `for'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/spira-3.0.0/lib/rdf/ext/uri.rb:16:in `as'
        from /Users/mohideen/.rvm/gems/ruby-2.4.0/gems/worldcat-discovery-1.2.0/lib/worldcat/discovery/bib.rb:188:in `search'

Context: The problem occurs when RDF URI is requested to be modeled as a class which is an extension of the Spira::Base class.

Bib (tries to model RDF URI (subject) as BibSearchResults): https://github.com/OCLC-Developer-Network/worldcat-discovery-ruby/blob/master/lib/worldcat/discovery/bib.rb#L179
BibSearResults (extends SearchResults): https://github.com/OCLC-Developer-Network/worldcat-discovery-ruby/blob/master/lib/worldcat/discovery/bib_search_results.rb
SearchResults (extends Spira::Base): https://github.com/OCLC-Developer-Network/worldcat-discovery-ruby/blob/master/lib/worldcat/discovery/search_results.rb

The error does not happen if change the following code
@changed_attributes.clear

to
@changed_attributes.clear if changed?

Is this a bug in the code or am I not using this correctly?

Associated PR #49

Instead of changed? you might just be sure @changed_attributes is not nil, or responds to #clear?

Also, practice is to add a test case in /spec and coverage should not drop significantly.

@gkellogg Thanks for your feedback! I have updated the PR accordingly.
As a side note, I don't fully understand the coverage stats. When I run the tests locally (ruby 2.4), the develop branch has 78.86% and the patch-1 branch has 89.55%. Also, the spec fails if it is run with jruby.

Travis runs specs with CI=true. Note tests still failing on Travis, and should for you locally too.
Jruby has been a problem for all RDF gems, and results are allowed to fail.

Related to #47 which should solve this issue once the patch is provided. So I close this issue.


fby3.5: cl: Fix send post code to BMC changed to PLDM and add sel from exp board

Summary:

Send post code to BMC is changed to PLDM MCTP I3C
Due to IPMB change to PLDM_MCTP_I3C, we shouldn't still use ipmb_read

Test Plan:

Build code: Pass
DC cycle won't hang
Debug card will show post code
Add event sel from VF

0x5f028 send_postcode_thread (real size 2048):  unused 252      usage 1796 / 2048 (87 %)
1    slot1    2023-02-20 23:22:48    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2023-02-20 23:22:48, Sensor: Unknown (0x10), Event Data: (800701) Unknown Deassertion

Hi @garnermic
This PR didn't be merged for a long time.
Does it have any problem?
Should I close this PR and push a new PR?

The PR is waiting for the code review issues to be addressed.

Hi @garnermic
The first commit failed the checks, but the last one pass all the checks.
Anyway, I close this PR and will push a new PR.
Thanks


XFAIL SwiftNIO project for 4.2 - https://bugs.swift.org/browse/SR-8403

XFAIL'ing because it currently breaks Source Compatibility Suite runs.

@swift-ci please test


Full job url for UniProtUpdate in Jenkins

@SolomonShorser-OICR  The checkUpstreamBuildsSucceeded method requires the specific Jenkins repository path... which is a bit annoying. There wasn't anyway for you to know this ahead of time, but if you look at the URL of the UniProtUpdate project on the Jenkins server, its within ${releaseVersion}/Pre-Slice/job/

Also updated release-common-lib dependency version to use the only current one available on Maven Central (explained in Slack message to you)


build: use deterministic git rev-parse

this won't help in the general case: --short=7 will show at minimum 7 chars but there's no upper limit.
we'll need something like git rev-parse HEAD then result[:7]

perhaps it is better to define MICROPY_BANNER_NAME_AND_VERSION symbol to trezor or sth

I see, it uses the output of git describe --tags which can also change on shallow repo with no tags. Overriding MICROPY_BANNER_NAME_AND_VERSION is better and needs no changes in this repo.


godot: 2.1.4 -> 3.0.2

Motivation for this change
Make available the version 3, version 2 is considered as legacy.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

similar: #34971 , #34421

Be careful — there is a sneaky impurity here: see my PR for details.

Thanks! However, now that https://github.com/NixOS/nixpkgs/pull/34971 is merged I guess this is no longer needed :) (well, on the next unstable bump at least)

Issue addressed by #34971


refactor($templateRequest): move $sce checks and trust the cache

Move all the calls to $sce.getTrustedUrl inside $templateRequest, and
also trust the contents of the cache. This allows prefetching templates
and to bypass the checks on templates directly populated in the cache,
like for instance templates specified in script tags.
Fixes both #12219 and #12220.

Overall, looks good. If possible, would like to see some numbers to know if this PR has any performance implications

I updated the description as you asked. Regarding performance, the only impact I see is that we will do more cache lookups and less white/blacklisting, but I'm not sure of the overall effect or how to measure it.

@lgalfaso this likely has performance implications on ng-include, as the $watch is now watching an object as opposed to a string - not sure if it's considered a huge issue, but is worth noting.

@wesleycho, @lgalfaso I don't expect any significant perf impact. the watch in ngInclude should not cause problems because ngInclude doesn't do any deep watching.


when i want html2pdf,when html is short it's work,but when html is too long it do nothing

What I saw
when i want html2pdf,when html is short it's work,but when html is too long it do nothing
this is my code
var pdf = new jsPDF('p', 'pt', 'a4');
             var options = {
                 pagesplit : true,
                 background : "#fff"
             };
             pdf.addHTML(document.getElementById("report_main"), options, function()
             {
                 pdf.save("report.pdf");
             });

What is "do nothing" mean? Do you get a blank pdf?

@arasabbasi  no ，it don't run download ，and  my browser run very slow

Can you provide a testcase?

@arasabbasi
just like a   have  500   and    have 4

Provide a test case

Please provide a test case! Are those 500 tr's and each 4 td's empty? Should i now use my time to create a fitting test case?
Fork as recommended http://jsbin.com/rilace/edit?html,js,output
Thank you!


docker imges don't have journald support

This 0.12-dev Dockfile don't install libsystemd-dev, thus images don't have journald support.
consider add libsystemd-dev

Even after installing libsystemd-dev, I get a segfault without any error message when running fluent-bit.
$ apt-get install libsystemd-dev
$ /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit.conf
Fluent-Bit v0.12.0
Copyright (C) Treasure Data

[2017/08/10 14:30:51] [ info] [engine] started
[2017/08/10 14:30:51] [debug] [router] match rule cpu.0:stdout.0
[2017/08/10 14:30:51] [debug] [router] match rule cpu.0:es.0
[2017/08/10 14:30:51] [debug] [input cpu.0] [mem buf] size = 317
[2017/08/10 14:30:52] [debug] [task->buffer] worker_id=0
[2017/08/10 14:30:52] [debug] [task] created task=0x7f1cf4299000 id=0 OK
[0] my_cpu: [1502375452.000218475, {"cpu_p"=>0.000000, "user_p"=>0.000000, "system_p"=>0.000000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>0.000000, "cpu1.p_user"=>0.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>0.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>0.000000, "cpu3.p_cpu"=>0.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>0.000000}]
Segmentation fault (core dumped)

The 0.12-dev image have systemd:
https://github.com/fluent/fluent-bit-docker-image/blob/master/0.12-dev/Dockerfile#L24

doing a test:
$ docker run -ti fluent/fluent-bit:0.12-dev /usr/bin/dpkg -l|grep systemd
ii  libsystemd0:am 215-17+deb8u amd64        systemd utility library

do you have a custom config ? how can I reproduce the problem ?

Oh, I guess it wasn't related to the journal module.
I tried it in combination with the elasticsearch output.
I just tested the elasticsearch output in combination with the cpu input and that's also crashing:
cat > ./fluent-bit.conf << EOF
[INPUT]
    Name  cpu
    Tag   cpu

[OUTPUT]
    Name  es
    Match *
    Host  <IP_ADDRESS>
    Port  9200
    Index my_index
    Type  my_type
EOF

docker run -it -v $PWD/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf --rm fluent/fluent-bit:0.12-dev

@marcbachmann
thanks. I was able to reproduce the problem (it was introduced in a recent change).
I've pushed the fix and the new Docker image fluent/fluent-bit:0.12-dev is building, it should be ready in about 15 min.

Issue addressed a while ago. Fixed.


[Bug]: dyld: Symbol not found: _$s12ReachabilityAAC10ConnectionO4wifiyA2DmFWC

Platform
iOS 14.4.2
Plugin
connectivity_plus
Version
2.3.6+1
Flutter SDK
2.10.0
Steps to reproduce
Xcode 14.3

Use "flutter build ios-framework --cocoapods --output=some/path/MyApp/Flutter/ " to generate Flutter.podspec, App.xcframework and plugin frameworks.
pod 'Flutter', :podspec => 'some/path/MyApp/Flutter/release/Flutter.podspec'
Use cocoapod embed  plugin frameworks.

Build success, but  "dyld: Symbol not found: _$s12ReachabilityAAC10ConnectionO4wifiyA2DmFWC" error occurred while running. @miquelbeltran
Code Sample
No response
Logs
dyld: Symbol not found: _$s12ReachabilityAAC10ConnectionO4wifiyA2DmFWC
  Referenced from: /private/var/containers/Bundle/Application/DDD83FCE-A7E0-4C3D-98C9-DBC43388E94B/TTTTTT.app/Frameworks/connectivity_plus.framework/connectivity_plus
  Expected in: /private/var/containers/Bundle/Application/DDD83FCE-A7E0-4C3D-98C9-DBC43388E94B/TTTTTT.app/Frameworks/Reachability.framework/Reachability
 in /private/var/containers/Bundle/Application/DDD83FCE-A7E0-4C3D-98C9-DBC43388E94B/TTTTTT.app/Frameworks/connectivity_plus.framework/connectivity_plus
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Flutter Doctor
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.3.1 21E258 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.10.0 at /Users/workoffice/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f105a6ca7 (7 months ago), 2022-02-01 14:15:42 -0800
    • Engine revision 776efd2034
    • Dart version 2.16.0
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/workoffice/Documents/Android
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.70.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • 叽歪叽歪 (mobile) • 44dcc75415199cfe73aea57cc77f02334dbb77c4 • ios            • iOS 14.4.2 18D70
    • Chrome (web)  • chrome                                   • web-javascript • Google Chrome 104.0.5112.79

[!] HTTP Host Availability
    ✗ HTTP host https://maven.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host: Connection refused

I have the same issue, finally, I found it is due to Swift Library Evolution.
When we build plugin framework, we pass BUILD_LIBRARY_FOR_DISTRIBUTION=YES to xcodebuild, but when you add it to the project, the dependency written by swift didn't.
So, just add BUILD_LIBRARY_FOR_DISTRIBUTION=YES to BUILDSETTINGS solve this error.
Cocoapods example:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if  target.name == "ReachabilitySwift"
        config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end
    end
  end
end


Correct order of arguments

@mernst As you can see in the small test run here imports and adjacent match exactly git ort

@mernst at least it seems to work like the main branch so we can merge this


Quick fix for the current issue with updating snapshots

Currently, generating snapshots hangs. However, the mocha test harness does not.
I still believe there is value in investigating exactly why the tool is failing (https://github.com/microsoft/FluidFramework/issues/8335) as it may uncover a more serious issue with either the present tool or the replay tool or the container lifecycle itself. But at the same time, it would be great to incorporate this process in the test pipeline to at least have it running more often - not included in this PR.

Can you add a link to this PR in #8335 and mention that this was changed and needs to be fixed.


confusing logging behavior in Blueprints when running test

Hi everybody:
I have write some tests like this:
@pytest.fixture
def app():
    app = create_app({"DB_CONNECT": TEST_DB_CONNECT})
    yield app

@pytest.fixture
def client(app):
    """A test client for the app."""
    return app.test_client()

def test_hello_1(app, client):
    # test that viewing the page renders without template errors
    assert client.get("/hello").status_code == 200

def test_hello_2(app, client):
    # test that viewing the page renders without template errors
    assert client.get("/hello").status_code == 200

and the interface hello like this(this interface locate at a blueprint):
from flask import Blueprint,  current_app

bp = Blueprint('interface_map', __name__)

@bp.route('/hello')
def hello():
    current_app.logger.info('hello world test log')

    return "hello world"

when I running tests:
Expected Behavior
[2019-12-05 15:56:10,693] <IP_ADDRESS> requested http://localhost/hello INFO in interface_demo:
hello world test log
[2019-12-05 15:56:11,065] <IP_ADDRESS> requested http://localhost/hello INFO in interface_demo:
hello world test log

Actual Behavior
[2019-12-05 15:56:10,693] <IP_ADDRESS> requested http://localhost/hello INFO in interface_demo:
hello world test log
[2019-12-05 15:56:11,065] <IP_ADDRESS> requested http://localhost/hello INFO in interface_demo:
hello world test log
[2019-12-05 15:56:11,065] <IP_ADDRESS> requested http://localhost/hello INFO in interface_demo:
hello world test log

I run two tests but it log three times!
I have no idea what happened and I am not sure it is appropriate use current_app.logger in blueprint.
I also tried replace current_app.logger to print() or write to a file use open('file_name', 'a'), it behavior no problem
Environment

Python version:  3.7.1
Flask version:  1.0.2
Werkzeug version: 0.14.1

appreciate for any ideas

I was unable to reproduce this issue using the following:
hello/__init__.py
from flask import Flask, current_app

def create_app():
    app = Flask(__name__)

    @app.route('/hello')
    def hello():
        current_app.logger.info('hello world test log')

        return "hello world"

    return app

tests/test_repro.py
import pytest

from hello import create_app

@pytest.fixture
def app():
    test_app = create_app()
    # test_app.testing = True
    yield test_app

@pytest.fixture
def client(app):
    """A test client for the app."""
    client = app.test_client()

    # ctx = app.app_context()
    # ctx.push()

    yield client

def test_hello_1(app, client):
    # test that viewing the page renders without template errors
    assert client.get("/hello").status_code == 200

def test_hello_2(app, client):
    # test that viewing the page renders without template errors
    assert client.get("/hello").status_code == 200

Output:
pytest tests/
================================================================================== test session starts ===================================================================================
platform darwin -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /Users/aaron.schuman/Desktop/flask_3441
collected 2 items

tests/test_repro.py ..                                                                                [100%]

=================================================================================== 2 passed in 0.13s ====================================================================================

Environment
Python version: 3.7.6
Flask version: 1.1.1
Werkzeug version: 1.0.0
Please let me know if there were any significant differences with this attempt.


Importing dataset in cvat format loses angle

When i export my dataset in cvat format and then import it - all bboxes are without angle(angle is reset to 0)

Might be related with #4745, but I am not sure.

@zhiltsov-max
Looks like here we need fix on datumaro side. I expect attributes field to contain rotation as it implemented for occluded after this line Dataset.import_from(tmp_dir, 'cvat', env=dm_env).

The bug happens when we export/import a project.

@yasakova-anastasia, please check this issue.


Simplified hl_lines

Enhanced hl_lines with range format

As far as I know, we handled this issue in #1863. If you find anything that is not a duplicate of #1863 feel free to open a new PR for it.


after a timeout, there is no log entry for reconnect

Obviously we don't want to loudly log every successful fetch, but after there are N/N timeouts and a log message indicating failure for now, there should be a log message at that same priority when there is a successful fetch.   More or less, separate from the timeout messages, a high-priority "Communications lost" and "Communications restored".

Thanks very much for merging the big fix and addressing the two buglets.  I upgraded to v1.1.5.  This log snippet shows both fixes in action.  This has  happened twice in the last 6h.
Jun 22 12:56:23 ${HOSTNAME} -: weewx[846] ERROR user.weatherlink_live.davis_http: HTTPConnectionPool(host='weatherlinklive.lan', port=80): Max retries exceeded with url: /v1/real_time?duration=1500 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x68ef3410>: Failed to establish a new connection: [Errno 61] Connection refused'))
Jun 22 09:15:53 ${HOSTNAME} -: weewx[846] ERROR user.weatherlink_live.davis_http: HTTP broadcast start request failed. Retry #1 follows shortly
Jun 22 09:15:56 ${HOSTNAME} -: weewx[846] ERROR user.weatherlink_live.davis_http: Successfully sent broadcast start request after 2 attempts


kube-burner release v0.9.1 binary for ppc64le does not work on Power9 ppc64le System

Output of kube-burner version
This is the output from the binary made by me. the one from the github release does not run.
# ./kube-burner version
INFO[2021-06-10 10:45:54] Setting log level to info
Version: master
Git Commit: 137bd1bdd81b94ca0bfbc191d8101f96a8d8c663
Build Date: 2021-06-10-10:26:45
Go Version: go1.16.5
OS/Arch: linux ppc64le

Describe the bug
The binary taken from https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.9.1/kube-burner-0.9.1-Linux-ppc64.tar.gz does not run on a IBM Power9 Server. Below is the error I get when I try to run it -
10-06-2021T07:51:52 Downloading and extracting kube-burner binary
common.sh: line 76: ./kube-burner: cannot execute binary file: Exec format error

To Reproduce
Steps to reproduce the behavior:

Run the router-perf-V2 test via ingress-performance.sh  defining the ENGINE variable as 'local' and specify the link for the ppc64le tarball in KUBE_BURNER_RELEASE_URL variable as https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.9.1/kube-burner-0.9.1-Linux-ppc64.tar.gz

Expected behavior
Router Perf test should run successfully to completion.
Screenshots or output
Error seen when running ingress-performance.sh with above specifications -
10-06-2021T07:51:52 Downloading and extracting kube-burner binary
common.sh: line 76: ./kube-burner: cannot execute binary file: Exec format error

Additional context
Upon further debugging the issue, it was seen that when I build the same binary from a Power9 server, it generates an LSB executable binary which runs fine whereas the official one available from github (https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.9.1/kube-burner-0.9.1-Linux-ppc64.tar.gz) is an MSB executable binary gives an exec format error when running.
The sizes of both are also different but that may be due to the different go versions used to build.
My Binary -
# ls -ltra kube-burner
-rwxr-xr-x. 1 1001<PHONE_NUMBER>9 Jun 10 08:03 kube-burner
# file kube-burner
kube-burner: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, not stripped

The downloaded binary from official github release -
# ls -ltra kube-burner
-rwxr-xr-x. 1 1001<PHONE_NUMBER>4 Mar 26 11:28 kube-burner
# file kube-burner
kube-burner: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, not stripped

Hey @piyushgupta1551, thanks for raising this up, indeed there's a mistake in the goreleaser configuration. It seems I was wrongly compiling big endian binaries rather then little-endian as of your system. Will file a PR fixing it.

Have created a new version with ppcle assets. Find them here:
https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.10/kube-burner-0.10-Linux-ppc64le.tar.gz
$ curl -L https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.10/kube-burner-0.10-Linux-ppc64le.tar.gz | tar xz
$ file kube-burner
kube-burner: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, Go BuildID=03thiRQ2SGaOH5K9-6Jc/ag7x4Nv5JTSzhD9aoky6/aYOMxj__E1AeAiBE2AUn/-JdPK5uOsCfbHlxiGxrZ, not stripped

Can you verify it works well in your system?
Thanks!

Hey @rsevilla87 , thanks for the quick fix.
I can confirm that the new binary works fine for me on a P9 system.
# curl -L https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.10/kube-burner-0.10-Linux-ppc64le.tar.gz | tar xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   645  100   645    0     0   3161      0 --:--:-- --:--:-- --:--:--  3161
100 17.6M  100 17.6M    0     0  14.3M      0  0:00:01  0:00:01 --:--:-- 22.9M
# ./kube-burner -h
Kube-burner 🔥

Tool aimed at stressing a kubernetes cluster by creating or deleting lots of objects.

Usage:
  kube-burner [command]

Available Commands:
  check-alerts Evaluate alerts for the given time range
  completion   Generates completion scripts for bash shell
  destroy      Destroy old namespaces labeled with the given UUID.
  help         Help about any command
  index        Index metrics from the given time range
  init         Launch benchmark
  version      Print the version number of kube-burner

Flags:
  -h, --help               help for kube-burner
      --log-level string   Allowed values: debug, info, warn, error, fatal (default "info")

Use "kube-burner [command] --help" for more information about a command.

Thanks!, closing this issue then.