Correct solution not detected

Challenge Name

Inventory Update
Issue Description

I think i've found a solution for the challenge and when i test it, it always returns the correct answer, but there is any problem which doesn't let me continue. I've checked all the test guidelines and it works for all of them.
Browser Information

Browser Name, Vivaldi 1.2:
Operating System: Windows 7
Mobile, Desktop, or Tablet: Laptop SONY Vaio VGN-Z5

Your Code
// If relevant, paste all of your challenge code in here
var myInventory = {};

function updateInventory(arr1, arr2) {
    // All inventory must be accounted for or you're fired!
  arr1.reduce(function(anterior, actual){
    //inventory += actual[1] + '////';
    if(myInventory.hasOwnProperty(actual[1])){
      myInventory[actual[1]] += actual[0];
    } else {
      myInventory[actual[1]] = actual[0];
    }

  }, []);

  arr2.reduce(function(anterior, actual){
    //inventory += actual[1] + '////';
    if(myInventory.hasOwnProperty(actual[1])){
      myInventory[actual[1]] += actual[0];
    } else {
      myInventory[actual[1]] = actual[0];
    }

  }, []);

  var newInventory = [];

  for(var propiedad in myInventory){
    newInventory.push([myInventory[propiedad], propiedad]);
  }

  newInventory.sort(function (a, b) {
        if (a[1] > b[1]) {
            return 1;
        }
        if (a[1] < b[1]) {
            return -1;
        }
        return 0;
    });

  arr1 = newInventory;

 return arr1;
}

updateInventory([[21, "Bowling Ball"], [2, "Dirty Sock"], [1, "Hair Pin"], [5, "Microphone"]], [[2, "Hair Pin"], [3, "Half-Eaten Apple"], [67, "Bowling Ball"], [7, "Toothpaste"]]);

/*
// Example inventory lists
var curInv = [
    [21, "Bowling Ball"],
    [2, "Dirty Sock"],
    [1, "Hair Pin"],
    [5, "Microphone"]
];

var newInv = [
    [2, "Hair Pin"],
    [3, "Half-Eaten Apple"],
    [67, "Bowling Ball"],
    [7, "Toothpaste"]
];

//updateInventory(curInv, newInv);
*/

Screenshot

Your use of the global variable myInventory is not compatible with the way the tests are run (eg myInventory is not reset to an empty object between tests, so any tests after the first will start with incorrect values for that variable). Moving var myInventory = {}; within the function fixes your problem.
If you get stuck with a challenge, please first ask questions to the Help Room. Issues are for reporting problems with the challenges or web site.
Happy coding!

Related to #9199 .
As suggested by @BKinahan , move your global variable inside the function. We run multiple tests to avoid campers 'hard coding' the results in order to pass.

Sorry, i dind't know that fact.
I posted it here because i thought it was a system error and it should be fixed. Again, sorry for the inconveniences. And thanks for your quick response. :100:

@PPeMg thanks for reporting, and no inconvenience caused, please keep reporting.
But do make sure you go though Help I have found a bug.
Closing as duplicate.


What is the third dimension in the curseforge page ?

Hey ! Sorry, this is not really an issue
In the curseforge page of your mod (https://www.curseforge.com/minecraft/mc-mods/better-nether-map-port), I see a third dimension that looks awesome. What is its name ?
Screen: https://media.forgecdn.net/attachments/605/352/undergarden.png

Heyy, so I took a look at the filename I just submitted, and it has the dimension name in it. the Undergarden


very long "Load DB2TableCache" during query execution

System information:

MS Windows 10
DBeaver 21.0.4 (but also in earlier version)
Additional extensions: no

Connection specification:

Database name and version -> DB2 LUW v11.1
Driver name -> com.ibm.db2.jcc.DB2Driver
Do you use tunnels or proxies (SSH, SOCKS, etc)? I'm working under a CISCO VPN and the db2 servers are available there.

Describe the problem you're observing:
Every time I connect to a DB2 DB and submit queries DBeaver remain for a very long time to the status "Load DB2TableCache". Often, it will never exit from this status until I click to the cancel button. After that, it shows the query results. A "workaround" for this is to use always the uncommitted read isolation level, but that doesn't always address the problems.
After some time of working on the DB, the problem "disappear". It seems like DBeaver needs to load metadata from the connected DB before working properly. However, everytime I click on the cancel button when in "Load DB2TableCache" it always shows immediately the results set, as if it already had it available underneath. Furthermore, when this occur it is not possible to use the Generate SQL feature after.
Steps to reproduce, if exist:
Connect to a DB2 DB.
Submit a simple query like select * from . (with any number of records to fetch).
Include any warning/errors/backtraces from the logs
!ENTRY org.jkiss.dbeaver.model 4 0 2021-05-12 09:08:18.703
!MESSAGE Operation failed. Retry count remains = 1
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2021-05-12 09:08:18.704
!MESSAGE SQL Error [08003]: [jcc][t4][10335][10366][4.26.14] Invalid operation: Connection is closed. ERRORCODE=-4470, SQLSTATE=08003
!SUBENTRY 2 org.jkiss.dbeaver.model 4 0 2021-05-12 09:08:18.704
!MESSAGE [jcc][t4][10335][10366][4.26.14] Invalid operation: Connection is closed. ERRORCODE=-4470, SQLSTATE=08003
!STACK 0
com.ibm.db2.jcc.am.SqlNonTransientConnectionException: [jcc][t4][10335][10366][4.26.14] Invalid operation: Connection is closed. ERRORCODE=-4470, SQLSTATE=08003
at com.ibm.db2.jcc.am.b7.a(b7.java:800)
at com.ibm.db2.jcc.am.b7.a(b7.java:66)
at com.ibm.db2.jcc.am.b7.a(b7.java:133)
at com.ibm.db2.jcc.am.Connection.checkForClosedConnection(Connection.java:6163)
at com.ibm.db2.jcc.am.Connection.nativeSQLX(Connection.java:1155)
at com.ibm.db2.jcc.am.Connection.escape(Connection.java:9058)
at com.ibm.db2.jcc.am.Connection.prepareStatementX(Connection.java:2438)
at com.ibm.db2.jcc.am.Connection.prepareStatement(Connection.java:1005)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:244)
at org.jkiss.dbeaver.ext.db2.model.cache.DB2AliasCache.prepareObjectsStatement(DB2AliasCache.java:92)
at org.jkiss.dbeaver.ext.db2.model.cache.DB2AliasCache.prepareObjectsStatement(DB2AliasCache.java:1)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.loadObjects(JDBCObjectCache.java:105)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.getAllObjects(JDBCObjectCache.java:73)
at org.jkiss.dbeaver.ext.db2.model.DB2Schema.getChildren(DB2Schema.java:275)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.makeProposalsFromChildren(SQLCompletionAnalyzer.java:952)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.makeDataSourceProposals(SQLCompletionAnalyzer.java:766)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.runAnalyzer(SQLCompletionAnalyzer.java:278)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.runAnalyzer(SQLCompletionAnalyzer.java:98)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.run(SQLCompletionAnalyzer.java:82)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.run(SQLCompletionAnalyzer.java:1)
at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:169)
at org.jkiss.dbeaver.ui.editors.sql.syntax.SQLCompletionProcessor$ProposalSearchJob.run(SQLCompletionProcessor.java:330)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!ENTRY org.jkiss.dbeaver.model 4 0 2021-05-12 09:13:49.273
!MESSAGE SQL Error: [jcc][t4][10120][10898][4.26.14] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2021-05-12 09:13:49.273
!MESSAGE [jcc][t4][10120][10898][4.26.14] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
!STACK 0
com.ibm.db2.jcc.am.SqlException: [jcc][t4][10120][10898][4.26.14] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
at com.ibm.db2.jcc.am.b7.a(b7.java:794)
at com.ibm.db2.jcc.am.b7.a(b7.java:66)
at com.ibm.db2.jcc.am.b7.a(b7.java:116)
at com.ibm.db2.jcc.am.ResultSet.checkForClosedResultSet(ResultSet.java:4773)
at com.ibm.db2.jcc.am.ResultSet.nextX(ResultSet.java:399)
at com.ibm.db2.jcc.am.ResultSet.next(ResultSet.java:378)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCResultSetImpl.next(JDBCResultSetImpl.java:272)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.loadObjects(JDBCObjectCache.java:112)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.getAllObjects(JDBCObjectCache.java:73)
at org.jkiss.dbeaver.ext.db2.model.DB2Schema.getChildren(DB2Schema.java:275)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.makeProposalsFromChildren(SQLCompletionAnalyzer.java:952)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.makeDataSourceProposals(SQLCompletionAnalyzer.java:774)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.runAnalyzer(SQLCompletionAnalyzer.java:278)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.runAnalyzer(SQLCompletionAnalyzer.java:98)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.run(SQLCompletionAnalyzer.java:82)
at org.jkiss.dbeaver.model.sql.completion.SQLCompletionAnalyzer.run(SQLCompletionAnalyzer.java:1)
at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:169)
at org.jkiss.dbeaver.ui.editors.sql.syntax.SQLCompletionProcessor$ProposalSearchJob.run(SQLCompletionProcessor.java:330)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Thank you for the report. It didn't reproduce on my DB2 database. Does it happen with every table in every schema or with specific tables?

Thank you for your reply, it happens with every table and schema, including
syscat ones.
Il Ven 21 Mag 2021, 09:43 Matvey16 @.***> ha scritto:

Thank you for the report. It didn't reproduce on my DB2 database. Does it
happen with every table in every schema or with specific tables?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/12425#issuecomment-845735041,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFHX3LN7ITZV3WPY2AX67DTOYFLPANCNFSM44YATK5A
.

Please  try to disable Show system objects and Show statistic info in the connection view

Then you can try to disable these option in the connection properties

It would be great to know, what queries are displayed in Query manager (you should enable all query types for this).

Then double-click a query to see it completely.

there is no update on the issue for a long time.
If it is still actual for you - feel free to reopen it with additional info


240 fps bug

Describe your bug here.
soo i put my frames all the way in menu and gameplay camera moves suuper slow
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope freshly cooked

Its about new Flixel version
I made a PR that fixes that issue, if you want you can check it out: #13433

Or you can downgrade a bit Flixel


rename to CobWeb

Closes https://github.com/cloudflare/cobaul/issues/1

Published the docker image xtuc/cobweb.


Add event log for push

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

LGTM (with a slight hesitation as if we should log localName or repoInfo.LocalName, but I don't think it makes a huge difference).

cc @docker/distribution-maintainers

LGTM, but I agree with @icecrime. This should repoInfo.LocalName.

yes, repoInfo.LocalName should be used

@Mashimiao Thanks for the contrib! Do you mind making this little change so we can proceed with merge?

@icecrime  of course not, fixed.

Thank you! LGTM

LGTM

LGTM


Vocabularies don't support namespace-scoped decorators

Bug Report 🐛

The following model definition is valid...
@Term("My HR Model")
@Term_description("Reusable data definitions for the HR department.")
namespace<EMAIL_ADDRESS>
When applying the extract-decorators command
concerto extract-decorators --model hr.cto --removeDecoratorsFromSource

Produces a vocabulary file:
locale: en
namespace<EMAIL_ADDRESS>declarations:
  - : My HR Model
    description: Reusable data definitions for the HR department.

Expected Behavior
I would expect a vocabulary file such as this:
locale: en
namespace<EMAIL_ADDRESS>term: My HR Model
description: Reusable data definitions for the HR department.
declarations:
   ...

Possible Solution

The @accordproject/concerto-vocabulary package should be updated to support namespace-scoped decorators

How do we setup target for setting decorator on a model namespace? My assumption was target would look like this.
 {
                "$class"<EMAIL_ADDRESS>                "type": "UPSERT",
                "target": {
                    "$class"<EMAIL_ADDRESS>                    "namespace"<EMAIL_ADDRESS>}

But when I tried it out in code. It just applied the decorator on top of all the declarations and not on the namespace.
<EMAIL_ADDRESS>

@sanketshevkar can this now be closed?

@mttrbrts is this still relevant?


360 degrees stitch

Hi,
I would like to use your library in order to make a 360 picture of a room (with a set of 12-13 pictures). I'm using band-width=1 because I know the order, confidence_threshold 0 and Subsetter(0). But when I try to link images, some links are a bit weird because features are only located in one place (as you can see below). Am I missing an option which can ce useful in my usecase? or maybe it's my camera which optimize settings (according to the environment) and create mismatches between images

Thanks for your help

Can you show the result?

can you give me the matches_graph_dot_file e.g. with --matches_graph_dot_file matches.txt

graph matches_graph{
"test1.jpg" -- "test2.jpg"[label="Nm=64, Ni=31, C=1.13971"];
"test1.jpg" -- "test3.jpg"[label="Nm=0, Ni=0, C=0"];
"test1.jpg" -- "test4.jpg"[label="Nm=0, Ni=0, C=0"];
}

and the order is test1 - 2 - 3 - 4
but as you can see, there are some mismatch in the cabinet and on the radiator. Can we fix these?

thats odd. The matches graph should look like this:
graph matches_graph{
"test1.jpg" -- "test2.jpg"[label="Nm=64, Ni=31, C=1.13971"];
"test2.jpg" -- "test3.jpg"[label="Nm=0, Ni=0, C=0"]; -> not 0
"test3.jpg" -- "test4.jpg"[label="Nm=0, Ni=0, C=0"]; -> not 0
}
maybe there is a bug in range_width

@lukasalexanderweber I've done some research in your code and it looks like thecv.detail.matchesGraphAsString method return always test1.jpg when we pass confidence_threshold=0. I've reproduced an example:
import stitching

settings = {
    "range_width": 1,
    "confidence_threshold": 0.1,
    "matches_graph_dot_file": "matches_graph.dot"
}
settings2 = {
    "range_width": 1,
    "confidence_threshold": 0,
    "matches_graph_dot_file": "matches_graph2.dot"
}
stitcher = stitching.Stitcher(**settings)
stitcher2 = stitching.Stitcher(**settings2)

images = ["test1.JPG", "test2.JPG", "test3.JPG", "test4.JPG", "test5.JPG", "test6.JPG", "test7.JPG"]
stitcher.initialize_registration(images)
stitcher2.initialize_registration(images)

imgs = stitcher.resize_medium_resolution()
features = stitcher.find_features(imgs)
matches = stitcher.match_features(features)

imgs2 = stitcher2.resize_medium_resolution()
features2 = stitcher2.find_features(imgs2)
matches2 = stitcher2.match_features(features2)

stitcher.subset(imgs, features, matches) # works
stitcher2.subset(imgs, features, matches) # doesn't work

matches_graph.dot
graph matches_graph{
"test1.JPG" -- "test2.JPG"[label="Nm=62, Ni=31, C=1.16541"];
"test2.JPG" -- "test3.JPG"[label="Nm=66, Ni=31, C=1.11511"];
"test3.JPG" -- "test4.JPG"[label="Nm=54, Ni=39, C=1.61157"];
"test4.JPG" -- "test5.JPG"[label="Nm=30, Ni=17, C=1"];
"test5.JPG" -- "test6.JPG"[label="Nm=85, Ni=56, C=1.67164"];
"test6.JPG" -- "test7.JPG"[label="Nm=107, Ni=80, C=1.99501"];
}

matches_graph2.dot
graph matches_graph{
"test1.JPG" -- "test2.JPG"[label="Nm=64, Ni=31, C=1.13971"];
"test1.JPG" -- "test3.JPG"[label="Nm=0, Ni=0, C=0"];
"test1.JPG" -- "test4.JPG"[label="Nm=0, Ni=0, C=0"];
"test1.JPG" -- "test5.JPG"[label="Nm=0, Ni=0, C=0"];
"test1.JPG" -- "test6.JPG"[label="Nm=0, Ni=0, C=0"];
"test1.JPG" -- "test7.JPG"[label="Nm=0, Ni=0, C=0"];
}

I don't know how to solve this, maybe replace the 0 by a very small value when calling matchesGraphAsString?

Thanks for reproducing! I think it's an opencv internal issue. For know we should be fine throwing an error that confidence must not be 0 if range matcher is used. Do you want to implement it?

Yes I can, I will try to do it this evening. But should I throw when the user wants to use graphAsString, or in the stitching constructor? Because everything seem to work fine except the string representation so would it be better to throw in the asString method?

Good question.

stitcher.subset(imgs, features, matches) # works
stitcher2.subset(imgs, features, matches) # doesn't work

so the stitching result is the same for both approaches?
Then I would like your approach better:

maybe replace the 0 by a very small value when calling matchesGraphAsString

Maybe here just ask if self.confidence_threshold is 0 and if yes, replace it with 0.0001 or so

Yes if I remember well, only the graph representation doesn't work. The result is the same but I will double check this to be sure.

@lukasalexanderweber done! https://github.com/lukasalexanderweber/stitching/pull/59


Forgot imports on useFirestoreQuery

Hello, thank you so much for the site! I'm finding it very useful.
I was reviewing the useFirestoreQuery and noticed that none of the imports were identified for each file. Am I missing something?

Thanks for letting me know! Will get this updated soon.


Remove: UO classlist, it goes to dead URL anyway.

As per title.

we could remove the utility folder entirely, users should head to the github wiki and we can add info there that will update. The gear export script for olsen can be placed in core modules and called via the editor

we could remove the utility folder entirely, users should head to the github wiki and we can add info there that will update. The gear export script for olsen can be placed in core modules and called via the editor

Does anyone use the gearExport.sqf script which lives in there though?

most people just copy over classnames

most people just copy over classnames

If they want it I guess they could just extract it from a previous commit or the old framework.

we can have it in the core functions, FW_fnc_exportOlsenGear or something

Now doing this piece of work here: https://github.com/Bear-Cave-ArmA/Olsen-Framework-Arma-3/pull/17


OpenShift Version is Out of Date

The version of ofCourse that is stored on OpenShift is out of date (by more than a week).We won't be able to rely on OpenShift to frequently update their Pip mirror every time we push out an update; so we should come up with an alternative.
We need some way to make sure that when we are deploying to OpenShift that the latest version of ofCourse is being ran. Is it possible that we could have OpenShift reference the canonical PyPi package distribution rather than their own?

I currently have a branch on my fork of ofCourse that has attempts to use the dependency_links in the auto-generated setup.py on deploy. Currently that doesn't seem to be working, but I think it's a step in the right direction.

I'm pretty sure you have the wrong version format. You're using<EMAIL_ADDRESS>but I think you need git+git://github.com/ryansb/ofCourse.git@develop#egg=ofcourse because anonymous SSH doesn't work (AFAIK) on github.
Also for your purposes you probably want to use develop instead of master

I figured out part of the issue with why my dependency_links weren't working. When setup.py was being called on deployment it already recognized that ofCourse was installed on that machine and it had no need to download a newer version. I deleted the apps and recreated them and it seems to work.
A potential fix (although I think there is a better way) would be to increment the version number that is required in the auto-generated files by the ofCourse openshift cli with each release.

Actually you could lock it to the version of ofCourse you're using by putting the ofcourse.__version__ in the setup.py template.

See #19


slack invite

slack access
Hi, the slack link in the readme (https://join.slack.com/t/delta-users/shared_invite/enQtODQ5ODM5OTAxMjAwLWY4NGI5ZmQ3Y2JmMjZjYjc1MDkwNTA5YTQ4MzhjOWY1MmVjNTM2OGZhNTExNmM5MzQ0YzEzZjIwMjc0OGI0OGM) redirects to a sign-in page that doesn't allow me to log in with my slack account (I have one, using work email).
It seems to be for people with a @databricks email account only. (see screenshot)
Is there a different location for public access or could the slack channel be made public somehow by providing the invite link ?
This is not to actively collaborate, more to follow development to possibly use the library later.
Thanks!
Related Issue(s)

@rm-vg try this link from delta.io, if that works, I'll update the readme

Hi, thanks for the quick response.
That link works for me :-)


Add finalizeQuote admin API to allow the ASE interacting with a created quote

Closing in favour of larger Rafiki architecture overhaul


Slack Interface Update

Slack has updated their interface and now has 9 colors. This repo should be updated to reflect the new interface.

Hi @amayer5125 :wave:, thanks for your contribution :+1:
I'll add it to the backlog, but feel free to submit a PR.


use prefix as endpoint

Using the repo prefix as endpoint will allow us to use self-hosted gitlab instances with gibot.
I've also updated the dependencies because setting the endpoint became easier in newer versions of go-gitlab (afaik).

thanks, now that you mention it: I didn't test the webhooks tbh, we only use the commands to link to issues etc. I don't see an immediate reason why this MR would break the hooks though :)

Yep, makes sense. This is just a very old project of mine, to the point that the past self still thought that tests weren't necessary :P So any change at this point needs to be made with that in mind.


Unable to download wikidata instance types

When I go to https://databus.dbpedia.org/dbpedia/wikidata/instance-types/ and try to download one of the instance types, e.g. the specific one, the link is https://databus.dbpedia.org/dbpedia/wikidata/instance-types/2022.03.01/instance-types_inference=specific.ttl.bzip2, which redirects me to https://downloads.dbpedia.org/repo/dbpedia/wikidata/instance-types/2022.03.01/instance-types_specific.ttl.bz2, but I get "ERR_CONNECTION_REFUSED".

And the previews don't load, likely for the same reason.

Hey! Thank you for reporting! We will fix that ASAP


Fix warn in compiler

What is the purpose of the change
Dismiss compiling warns
Brief changelog
Dismiss compiling warns
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #9897 (b771330) into 3.0 (df5b0af) will decrease coverage by 0.29%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #9897      +/-   ##
============================================
- Coverage     65.68%   65.39%   -0.30%
- Complexity      297      319      +22
============================================
  Files          1213     1213
  Lines         52928    52892      -36
  Branches       8016     7989      -27
============================================
- Hits          34766    34588     -178
- Misses        14365    14480     +115
- Partials       3797     3824      +27

Impacted Files
Coverage Δ

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
55.55% <0.00%> (-33.34%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
43.47% <0.00%> (-27.06%)
:arrow_down:

.../remoting/api/SingleProtocolConnectionManager.java
61.53% <0.00%> (-23.08%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...he/dubbo/rpc/listener/ListenerExporterWrapper.java
58.82% <0.00%> (-14.71%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...ava/org/apache/dubbo/rpc/proxy/InvocationUtil.java
81.81% <0.00%> (-9.10%)
:arrow_down:

...g/apache/dubbo/remoting/api/ConnectionHandler.java
45.45% <0.00%> (-9.10%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

... and 51 more

Continue to review full report at Codecov.

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


Fixed small typo

Fixed small typo

Docs Build status updates of commit c586d37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/direct-routing-protocols-sip.md
:bulb:Suggestion

Details

Teams/direct-routing-protocols-sip.md

Line 193, Column 3: [Suggestion: duplicate-alt-text - See documentation] Alt text 'Diagram showing multiple endpoints ringing with provisional answer.' is duplicated. Within an article, alt text must be unique.
Line 218, Column 3: [Suggestion: duplicate-alt-text - See documentation] Alt text 'Diagram showing multiple endpoints ringing with provisional answer.' is duplicated. Within an article, alt text must be unique.
Line 264, Column 3: [Suggestion: duplicate-alt-text - See documentation] Alt text 'Diagram showing multiple endpoints ringing with provisional answer.' is duplicated. Within an article, alt text must be unique.
Line 305, Column 3: [Suggestion: duplicate-alt-text - See documentation] Alt text 'Diagram showing multiple endpoints ringing with provisional answer.' is duplicated. Within an article, alt text must be unique.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


New version: KhepriAutoCAD v1.0.2

Registering package: KhepriAutoCAD
Repository: https://github.com/aptmcl/KhepriAutoCAD.jl
Created by: @aptmcl
Version: v1.0.2
Commit: 9ed2535d62b6043f2a5c9ee2754a9baf0e97c64e
Reviewed by: @aptmcl
Reference: https://github.com/aptmcl/KhepriAutoCAD.jl/commit/9ed2535d62b6043f2a5c9ee2754a9baf0e97c64e#commitcomment-69025196

@aptmcl if you narrow the range of supported Julia versions you have to bump the minor version number of your package, so 1.1.0.
[noblock]


[Add] Graph Algorithms: Breadth-First Search (BFS)

Add a function to showing a Sample BFS using queue as described in Contribution.md.
Use Adjacency List only.
Give a small proposal describing your method of implementation.
Checklist:

[ ] Added the files bfs.py, bfs.java and bfs.cpp in the corresponding directory
[ ] My code aligns with the specified structure.
[ ] Updated RoadMap.md

I am interested in solving this issue.

Have you filled the google form?

Yes
On Thu, 12 Dec, 2024, 2:24 am Suraj Kashyap, @.***>
wrote:

Have you filled the google form?
—
Reply to this email directly, view it on GitHub
https://github.com/imsuraj675/CodeStock/issues/4#issuecomment-2537142333,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNSFPVYDPAN4OZR76MPMV7D2FCQ7HAVCNFSM6AAAAABTILGD3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGE2DEMZTGM
.


Mismatch between Maximum Runtime in the DOCS and max_allowed_runtime_sec in the code

Description
The "maximum runtime" of this table differ from max_allowed_runtime_sec in the code.
Few examples below:
Criteo:
https://github.com/mlcommons/algorithmic-efficiency/blob/a1bff1479fdbe7d8386c6a31bb75f42a19b0cacc/algorithmic_efficiency/workloads/criteo1tb/workload.py#L96
Deepspeech:
https://github.com/mlcommons/algorithmic-efficiency/blob/a1bff1479fdbe7d8386c6a31bb75f42a19b0cacc/algorithmic_efficiency/workloads/librispeech_deepspeech/librispeech_pytorch/workload.py#L84
ViT:
https://github.com/mlcommons/algorithmic-efficiency/blob/a1bff1479fdbe7d8386c6a31bb75f42a19b0cacc/algorithmic_efficiency/workloads/imagenet_vit/workload.py#L84

Thanks for bringing this to our attention. The docs seem to be out of date. Will update them.
In the meantime please refer to the code as the source of truth.


Don't translate ColorPicker color labels

Prevents this

An alternate solution is to use context for these labels, something like ETR("B", "Color Channel").

Btw, we should likely add translation context to the other ETR("B") regardless of this change. (And the other kB, MB, etc. for consistency.)

Is translating "RGB" even a thing? I never seen a software that does it.

I've never seen that either. Maybe some languages do that. Just checked GIMP does i18n for R, G, and B for its colorpicker.
https://github.com/GNOME/gimp/blob/97d6aa59044c44d0bdf934e7174d6c61abdbfd6d/libgimpwidgets/gimpwidgetsenums.c#L130-L140

At least the Wikipedia page has the acronym translated and not just transcribed in some languages, so I think there's room for it

I can imagine КЗС (красный, зелёный, синий) in Russian localization, but I think that most often RGB is not translated. On the other hand, providing context will allow translators of each locale to decide whether to translate it or not.

How to add localization for labels if they are constant strings stored in a raw array? It would require some rewrite of color modes.

How to add localization for labels if they are constant strings stored in a raw array? It would require some rewrite of color modes.

That could be a separate PR.

Thanks!


Dark heresy 1st edition - New feature (carac upgrade tracking) + fixed typos in french translation

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Added checkbox below each caracteristic for helping players track their purchased upgrades.
Also fixes some minor typos in the french translation.

No problem, I'll rollback the pull request and do it again without the translation.


Fix helm clean in functional test

The command to helm cleanup script in functional tests was incorrect this fixes the same.
Signed-off-by: Madhu Rajanna <madhupr0gmail.com>

@Madhu-1 there was an issue in helm cleanup script in functional tests. This Fixescthe same. need PR description to be corrected.

@Madhu-1 there was an issue in helm cleanup script in functional tests. This Fixescthe same. need PR description to be corrected.

Done


feat: upgrade swiper v9 -> v10

Updating swiper to version 10

@TakNePoidet Thanks for the PR 🙏🏼
LGTM, I will run some test before release


Show CPU frequency using logo color

I wasn't sure whether just showing the CPU usage & temperature was nerdy enough....
So I programmed it to also show the CPU frequency with the logo color.
It periodically reads all frequency data from /sys/devices/system/cpu/cpu{i}/cpufreq/scaling_cur_freq.
https://github.com/mpsdskd/cm-rgb/blob/master/scripts/cm-rgb-monitor
What I do not know yet:

Is the sysfs path the same for all OSs?
I'm using the same colors for the logo as for the fan - configurable?
Didn't test for performance, might be possible more efficiently.

I think it's not nerdy enough and frequency info will be a great addition 👍

For the readout I think you could try to use https://pypi.org/project/psutil/ since we
already use it in cm-rgb-monitor.

>>> psutil.cpu_freq()
scpufreq(current=931.42925, min=800.0, max=3500.0)

I think it would be best to give the user ability to set the desired color optionally.
Hard to tell right now, but I've run a test on my nas with:

watch -n.1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""

Frequency is all over the place so perhaps this should not be updated on every loop iteration, but instead averaged for 1s window.

Looks good, I didn't know that library. With this library, also the temperatures can be read, it's probably possible to get rid of the pysensor library requirement.
Yeah, why not.
Yes it jumps around a bit. Perhaps something like

new_freq_value = n*current_freq_value+(1-n)*last_freq_value

with n=0.1 should smooth it out. That is the simplest low-pass filter possible. Filter value could be set by user also.

Sounds great, actually the sensors api looks better in psutil
I like this, it's simple yet should be effective. Will you try this ?

https://github.com/gfduszynski/cm-rgb/pull/33

All looks good :+1:
Thank you for this awesome addition!


Add YARN scheduler documentation

Fixes #947
The doc page can be seen here:

https://github.com/ashvina/heron/blob/yarnSchedulerDoc-947/website/content/docs/operators/deployment/schedulers/yarn.md
OR here http://ashvina.github.io/heron/docs/operators/deployment/schedulers/yarn/

On ashvin.github.com/heron, some pages are not formatted correctly. I am not sure why make site is generating different markdown on my machine. The first link above shows the correct format.

@lucperkins - additional documentation for REEF/YARN scheduler. Can you please review?

@ashvina - are you lacking any software dependencies?

@kramasamy I am following the instructions here: https://github.com/twitter/heron/blob/master/website/README.md. I am not getting any errors while making or serving the site. The pages are generated with some missing html markups.
Will retry...

@lucperkins - Is this ready to go?


Bug: Wrong text in "Manage Extension Shortcuts"

Browser version: 66.03
Extension version: 1.2.7
Operating system: Windows 7

Steps to reproduce:
Go to addons > Manage extension shortcuts.
I believe the name of the first shortcut is wrong. It should be called Toggle the popup.

It would be better if names on both sides are consistent.
I would suggest calling "Toggle Popup" and "Toggle Sidebar" respectively.

Sorry for not getting to this sooner.
I can't control the text that displays on the Manage Extension Shortcuts page, that's generated by Firefox. I could change "Popup Shortcut" to "Activate Extension" on the options page, but I don't think that would be a useful change.


Add YARNBatchSystem to Toil (resolves #796)

Adds a YARNBatchSystem that enables Toil to run jobs on a cluster that is managed with the Apache Hadoop YARN resource manager. A job maps directly to a YARN application. Specifically, we run a batch command line under YARN using the YARN DistributedShell application. This way, we do not need to implement a YARN ApplicationManager, etc.
This is completely untested and doesn't have docs. I'll be adding tests in the next few days. @hannes-ucsc: IIRC, we'll need to add a YARN setup on Jenkins. I will ask you about this once I've got the tests done. I think it should be straightforward to do.

Jenkins, skip this please.

@fnothaft - in effort to test this and reproduce and resolve the remaining test failure you mentioned I have done the following:

cloned the Yarn fork from your repo, and checked out the yarn branch on which  this PR is based, and setup virtualenv for toil then run make test as described at http://toil.readthedocs.io/en/latest/installation.html#building-testing

installed Hadoop-2.6.4 in a local dir and set HADOOP_HOME to it.    Is there more config for Hadoop I should do?

I tried starting Yarn daemons with ./sbin/start-yarn.sh prior to running make test on toil, but get lots of erros about java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException

If I don't start YARN first, the tests seem to run more happily, but in that case the end of the test output seems stuck at end producing forever:
6/05/17 10:29:52 INFO ipc.Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/05/17 10:29:53 INFO ipc.Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/05/17 10:29:54 INFO ipc.Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
...

can you point me to the correct Yarn setup here for testing, which test to run, and what the current test failure  you are getting is so I know when I reproduce it properly?
`

Just pinging on this - @fnothaft just point me in right direction when you have a chance - see above.

@jpdna that should be sufficient. Can you test your YARN installation? E.g., can you ping the YARN web UI on your machine, can you launch a simple application...?

I can see the Yarn UI, though didn't run a job as yet.
I'll try again and get more log info / test output to you.
On Wed, May 18, 2016 at 1:30 PM, Frank Austin Nothaft <
<EMAIL_ADDRESS>wrote:

@jpdna https://github.com/jpdna that should be sufficient. Can you test
your YARN installation? E.g., can you ping the YARN web UI on your machine,
can you launch a simple application...?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/pull/797#issuecomment-220100173

After running, ./sbin/start-yarn.sh  Yarn UI is up and I manually ran yarn distributed shell like
./yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar $YARN_DS/hadoop-yarn-applications-distributedshell-$YARN_VERSION.jar -shell_command uptime

and seemed to work
My attempt here to next run make test inside of the toil directory as described in my earlier comment.
Some relevant output from make test  is
src/toil/__init__.py::toil.physicalMemory PASSED
src/toil/common.py::toil.common.parseSetEnv PASSED
src/toil/realtimeLogger.py::toil.realtimeLogger.RealtimeLogger PASSED
src/toil/resource.py::toil.resource.ModuleDescriptor Traceback (most recent call last):
  File "/tmp/tmpphjIJV/foo.py", line 1, in <module>
    from toil.resource import ModuleDescriptor
ImportError: No module named toil.resource
FAILED
src/toil/test/__init__.py::toil.test.make_tests PASSED
src/toil/test/batchSystems/batchSystemTest.py::MesosBatchSystemTest::testAvailableCores SKIPPED
src/toil/test/batchSystems/batchSystemTest.py::MesosBatchSystemTest::testCheckResourceRequest SKIPPED
src/toil/test/batchSystems/batchSystemTest.py::MesosBatchSystemTest::testGetRescueJobFrequency SKIPPED
src/toil/test/batchSystems/batchSystemTest.py::MesosBatchSystemTest::testRunJobs SKIPPED
src/toil/test/batchSystems/batchSystemTest.py::MesosBatchSystemTest::testSetEnv SKIPPED
src/toil/test/batchSystems/batchSystemTest.py::YARNBatchSystemTest::testAvailableCores 16/05/18 15:43:31 INFO resourcemanager.ResourceManager: STARTUP_MSG:
/************************************************************

and later
16/05/18 15:43:32 INFO service.AbstractService: Service ResourceManager failed in state STARTED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139)
        at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:65)
        at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:54)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.serviceStart(ResourceTrackerService.java:162)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStart(ResourceManager.java:592)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:1007)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1048)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1044)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:1044)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1084)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1219)
Caused by: java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:720)
        at org.apache.hadoop.ipc.Server.bind(Server.java:424)
        at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:573)
        at org.apache.hadoop.ipc.Server.<init>(Server.java:2206)
        at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:944)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:537)
        at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:512)
        at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:789)
        at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.createServer(RpcServerFactoryPBImpl.java:169)
        at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:132)
        ... 17 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.hadoop.ipc.Server.bind(Server.java:407)
        ... 25 more
16/05/18 15:43:32 INFO resourcemanager.ResourceManager: Transitioning to standby state
16/05/18 15:43:32 INFO resourcemanager.ResourceManager: Transitioned to standby state
16/05/18 15:43:32 FATAL resourcemanager.ResourceManager: Error starting ResourceManager
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl.getServer(RpcServerFactoryPBImpl.java:139)
        at org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC.getServer(HadoopYarnProtoRPC.java:65)
        at org.apache.hadoop.yarn.ipc.YarnRPC.getServer(YarnRPC.java:54)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.serviceStart(ResourceTrackerService.java:162)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStart(ResourceManager.java:592)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:1007)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1048)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$1.run(ResourceManager.java:1044)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:1044)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1084)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1219)
Caused by: java.net.BindException: Problem binding to [<IP_ADDRESS>:8031] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

@fnothaft  - I am emailing you the full output I saved to a file.

This seems unlikely to be revived.  Closing this unless someone posts an objection.


Bugfixes and improvements for the Tower of Zot modules

based on PR #297
many bug fixes/improvements
not sure if everything is perfect now since testing is hard without multiboxing, but should be a lot better than before

Is it supposed to fully replace #297? Or am I expected to merge that PR first?

Is it supposed to fully replace #297? Or am I expected to merge that PR first?

should fully replace it unless dhog has any objections

small problem with the 3rd boss arena w AI mode + spread per our discussion.
maybe disable the ai for donut for now idk.

Is it supposed to fully replace #297? Or am I expected to merge that PR first?

should fully replace it unless dhog has any objections

yeah of course. should i just close the other one?


Auto install the script in opt

Is better that in post installation a symbolic link in /usr/local/bin or /opt for a fast installation

It's already setted by the "bin" parameter in the package.json ;)

so the readme is not updated?

Why?

My fault I don't have see that that instruction was for the git installation.

Hahaha TVB mte

Also the "npm link" create the link in PATH so for now we are ok


DPL-670-3 Use Sequencescape API key

Closes #1322
Changes proposed in this pull request:

Add the API key for Sequencescape to V2 endpoint requests.

Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check version

To test we think deploy to UAT and run integration suite, and it should run fine.
Could then change the key in deployment project to a non-valid key, and see if it breaks.

Q. How does SS validate this key, and what happens if it is invalid. e.g. does user get a suitable error message?

See https://github.com/sanger/sequencescape/pull/3812 and https://github.com/sanger/deployment/pull/323

Q. Is the api key exposed in the Javascript views? does that matter if it is (public key?)

Yes it is and it is a concern.  However the API was otherwise unprotected before, so exposing the key doesn't open any new security holes.  The fix would be to have a server-side proxy for the requests, or to authenticate using the logged in user so that the token is specific to them.  Either way, the key should be changed again after those changes are made so that the old key can be invalidated since it might have been picked up by someone from the JS like you say.


MM-30378: Cypress/E2E: Automate backlogs - Messaging > Copy/Paste Multiple Posts (1 test case)

Summary
Cypress/E2E: Automate backlogs - Messaging > Copy/Paste Multiple Posts (1 test case)
Ticket Link
https://mattermost.atlassian.net/browse/MM-30378

@saturninoabril
For Steps #2, #3 and #4, fwik, Cypress does not offer support for native copy/paste ( see https://github.com/cypress-io/cypress/issues/2386) , support for access to the native browser menu and support for right-click access to native context menu. The current PR code does selection + copy/paste but not using the copy/paste shortcuts or using the other native browser ways. Given the limitations, I'm not sure what are the next steps here.
cc: @DHaussermann

Thanks @catalintomai for trying. I've ran the tests and looked good that it's able to select the elements (screenshot). However, I'm afraid we can't fully satisfy the test requirement. With that being said, I'll vote for this test case to be "cannot be automated by Cypress". Maybe this is something we can allot/remain to RFQA or manual tests.

Thanks @saturninoabril for validating this. I'll close this PR, do you want me to update https://mattermost.atlassian.net/browse/MM-30378 to N/A than?

@catalintomai Yes, please. For MM-T2825, I've already set Cypress status to "N/A" and add comment that it can't be automated with Cypress.


Garage Door entity missing Open, Close, Stop actions

I believe a big was introduced in commit
#4d3e194d0d5a1cb9f38b6495a2eca72f8d3caec5
The open and close features were dropped from the garage door supported features attribute, which in turn means the there's no way from the HA interface to use the cover.open and cover.close services. Cover.stop would be handy too. I assume these three functions are never called:
async def async_close_cover(self, **kwargs: Any) -> None:
async def async_open_cover(self, **kwargs: Any) -> None:
async def async_set_cover_position(self, **kwargs: Any) -> None:

This is cover.py#L61:
    self._attr_supported_features = CoverEntityFeature.SET_TILT_POSITION

Based on this core code, https://github.com/home-assistant/core/blob/dev/homeassistant%2Fcomponents%2Fcover%2Fdevice_action.py#L79-L94 I think OPEN or TILT_OPEN should be added.
Since there isn't a TILT_STOP, I'd suggest reverting back to non-tilt features. My door told anyway :-P

@Michael @.***> please review

From: Rick @.>
Sent: 18 January 2024 23:20
To: markhannon/zimi-integration @.>
Cc: Subscribed @.***>
Subject: [markhannon/zimi-integration] Garage Door entity missing Open, Close, Stop actions (Issue #13)
I believe a big was introduced in commit
#4d3e194d0d5a1cb9f38b6495a2eca72f8d3caec5
The open and close features were dropped from the garage door supported features attribute, which in turn means the there's no way from the HA interface to use the cover.open and cover.close services. Cover.stop would be handy too. I assume these three functions are never called:
async def async_close_cover(self, **kwargs: Any) -> None:
async def async_open_cover(self, **kwargs: Any) -> None:
async def async_set_cover_position(self, **kwargs: Any) -> None:
This is cover.py#L61:
self._attr_supported_features = CoverEntityFeature.SET_TILT_POSITION

Based on this core code, https://github.com/home-assistant/core/blob/dev/homeassistant%2Fcomponents%2Fcover%2Fdevice_action.py#L79-L94<core.cover.device_action.py> I think OPEN or TILT_OPEN should be added.
Since there isn't a TILT_STOP, I'd suggest reverting back to non-tilt features. My door told anyway :-P
—
Reply to this email directly, view it on GitHubhttps://github.com/markhannon/zimi-integration/issues/13, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVCOCF5ZWKTQ7WRFHZ7H7TYPEHQTAVCNFSM6AAAAABCAFWAKGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DQMJXGM2DIMA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Any chance we get an update on this? I have the same issue and can't automate the garage door opening/closing.
I tried to revert to older versions and it doesn't work either. Thanks for your help.

Please try https://github.com/markhannon/zimi-integration/releases/tag/version_1.4.1-dev1 and tell me how it goes.   If it doesn't work then I will need to do some debugging.   The HA guys refactored the attribute code some time ago which made this stop working.

Hi Mark,
Thank you for that.
Done the update and seems to be working again.
Awesome stuff.
Thank you,
Pierre

On 12 Feb 2024, at 7:45 am, markhannon @.***> wrote:
Please try https://github.com/markhannon/zimi-integration/releases/tag/version_1.4.1-dev1 and tell me how it goes. If it doesn't work then I will need to do some debugging. The HA guys refactored the attribute code some time ago which made this stop working.
—
Reply to this email directly, view it on GitHub https://github.com/markhannon/zimi-integration/issues/13#issuecomment-1937881197, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXSKKQ2GTOIHSN5FOYN6KDYTE3V5AVCNFSM6AAAAABCAFWAKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHA4DCMJZG4.
You are receiving this because you commented.

Worked well for me too.
Able to close and open, and see state reflected in app, including when controlled from outside ha. 😀


Avoid rebuilding a project when cwd changes

This commit is targeted at solving a use case which typically comes up during CI
builds -- the target directory is cached between builds but the cwd of the
build changes over time. For example the following scenario can happen:

A project is compiled at /projects/a.
The target directory is cached.
A new build is started in /projects/b.
The previous target directory is restored to /projects/b.
The build start, and Cargo rebuilds everything.

The last piece of behavior is indeed unfortunate! Cargo's internal hashing
currently isn't that resilient to changing cwd and this PR aims to help improve
the situation!
The first point of too-much-hashing came up with Target::src_path. Each
Target was hashed and stored for all compilations, and the src_path field
was an absolute path on the filesystem to the file that needed to be compiled.
This path then changed over time when cwd changed, but otherwise everything else
remained the same!
This commit updates the handling of the src_path field to simply ignore it
when hashing. Instead the path we actually pass to rustc is later calculated and
then passed to the fingerprint calculation.
The next problem this fixes is that the dep info files were augmented after
creation to have the cwd of the compiler at the time to find the files at a
later date. This, unfortunately, would cause issues if the cwd itself changed.
Instead the cwd is now left out of dep-info files (they're no longer augmented)
and instead the cwd is recalculated when parsing the dep info later.
The final problem that this commit fixes is actually an existing issue in Cargo
today. Right now you can actually execute cargo build from anywhere in a
project and Cargo will execute the build. Unfortunately though the argument to
rustc was actually different depending on what directory you were in (the
compiler was invoked with a path relative to cwd). This path ends up being used
for metadata like debuginfo which means that different directories would cause
different artifacts to be created, but Cargo wouldn't rerun the compiler!
To fix this issue the matter of cwd is now entirely excluded from compilation
command lines. Instead rustc is unconditionally invoked with a relative path
if the path is underneath the workspace root, and otherwise it's invoked as an
absolute path (in which case the cwd doesn't matter).
Once all these fixes were added up it means that now we can have projects where
if you move the entire directory Cargo won't rebuild the original source!
Note that this may be a bit of a breaking change, however. This means that the
paths in error messages for cargo will no longer be unconditionally relative to
the current working directory, but rather relative to the root of the workspace
itself. Unfortunately this is moreso of a feature right now rather than a bug,
so it may be one that we just have to stomach.
Closes https://github.com/rust-lang/cargo/issues/3273

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

@matklad thanks for taking a look! It's true yeah that workspace members outside the workspace root do pose a problem. That being said I wasn't really sure how we'd handle them at all :(
I originally had a much more complicated patch which entirely refactored the src_path field into a "root" and a "extra" like you mentioned (only hashing the extra, not the root) but that ended up not working for a whole number of reasons.
So thinking about  it... Right now the workspace root comes up in a few locations:

When we invoke rustc we give it a relative or non-relative path. This is actually pretty important for debuginfo and backtraces and such (so everything doesn't show up as src/lib.rs).
When we parse and manage the dep-info files

I think it's a pretty reasonable assumption to assume all rust files for a crate are within the same folder, so I think we could pretty easily adapt the dep-info files to only list files relative to the package root rather than the workspace root (basically do some serious postprocessing).
For invocations of rustc though I'm not sure what we could do. I think (especially due to the existing bug in Cargo) we need to pick a root path to have and to me the workspace root seems the most obvious, but it's true that it then means you have to rename the entire workspace at once and if you have a crate outside of a workspace you basically just can't rename it. (or we could figure out a scheme where we pass things like ../foo/src/lib.rs to rustc, aka figuring out relative paths with ..)
What do you think? Maybe we should fix up dep-info parsing to work without using ws.root() and leave the "what path do we provide to rustc" for later?

Hm, the part about rustc is interesting from the IDE point of view: we need to linkify stack traces, so it's important that stacktraces use absolute paths or relative paths with a known root. Semantically, the proper solution seems to root everything at workspace, and use paths exactly as the user specified them.
So, if you write members = ["../foo", "/home/workspace/bar"], ../foo and /home/workspace/bar end up in the compiled binary.

I think it's a pretty reasonable assumption to assume all rust files for a crate are within the same folder, so I think we could pretty easily adapt the dep-info files to only list files relative to the package root rather than the workspace root (basically do some serious postprocessing).

Hm, depinfo is produced by the compiler, so in theory solving the problem with rustc should automatically solve the depinfo problem?
How hard is it to implement the .. approach?

I think it's a pretty reasonable assumption to assume all rust files for a crate are within the same folder, so I think we could pretty easily adapt the dep-info files to only list files relative to the package root rather than the workspace root (basically do some serious postprocessing).

This assumption is also pretty important for IDEs, because we need to know which stuff to index, so +1 to making it an official and documented requirement :)
Though, I can imagine someone doing weird stuff like include_str("/etc/passwd"). We should probably not flat out break for such cases, but weird stuff like not doing a rebuild looks fine to me

@matklad ok I've amended the first commit and pushed up another one. This should reduce the reliance on ws.root() except in one location. Everything dealing with fingerprints/dep-info doesn't deal with ws.root() at all and should now be improved to be resilient to renames.
The one usage of ws.root() is purely about how we actually invoke rustc itself. Let's say we have a project like:
foo/rust/Cargo.toml // <- workspace root
foo/rust/bar/Cargo.toml
foo/third-party/more-rust // <- workspace member

With this PR as-is if you rename the rust directory to a different name (like rust2) then Cargo should avoid rebuilding everything. Where this PR as-is falls down, however, is if you rename the foo directory (let's say that's the overarching git repo for the whole project). If that happens then Cargo will rebuild everything because the more-rust crate is compiled as rustc /path/to/foo/third-party/... and renaming /path/to/foo would cause the output artifact to change.
I believe the fix for this would be to change how Cargo invokes rustc, instead invoking rustc ../third-party/more-rust/... which makes it possible at all for Cargo to avoid recompilation when the foo directory is renamed.
I also believe that such a fix would purely involve local modification to this logic. I think though that this may be rare enough that we may want to punt on this for now?
Does that makes sense? Curious what you think!

Yeah, so I think anchoring to the package root in most places is the correct thing to do, but I still have a couple of question (left inline as well):

Looks like dep-info files have external clients, so we can't just change the format as we see fit?
Let's always lock down rustc cwd to some value?
Implementation wise, I don't really get thrilled by the NonHashedPathBuf. If it's simple enough to just use relative paths for targets, I would probably gone that way.

For the last point about NonHashedPathBuf I actually did try to go down that road initially (actually required a huge amount of refactoring in toml/targets.rs but it ended up not panning out unfortunately. When we construct a Target I don't think we know enough about the workspace to store workspace-relative paths is sort of the tl;dr at this point

I don't think we know enough about the workspace to store workspace-relative paths is sort of the tl;dr at this point

Targets should be package relative, and not workspace relative. In theory, we do have necessary information:

either the target has an explicitly declared path = /foo/bar/baz.rs in Cargo.toml, in which case we should use this path as is (it can be either relative or absolute, and we should not change that).

or this is an implicit target, which we search by checking ./src/lib.rs, etc. In such case, we should be able to get the relative path out.

But I totally understand that it might be hard to actually implement.
So yeah, I think it might worth it to look into package relative paths for targets and locking down cwd for rustc, but, otherwise, r+ at will, this looks great! :)

Oh sure yeah targets are package relative but we still don't want to hash the src_path field in Target (no matter what we do). That field actually has no bearing on the output artifact as it's never factored in. What actually matters, the path to rustc, is the one we hash.
It was after I ended up realizing that when I jettisoned the ~500 lines of changes to get the refactoring done as it ended up not being used in the end :(
In any case, thought I already did it, but just pushed up the changes for cwd from the package in non-workspace situations

@bors r+

:pushpin: Commit f688e9c has been approved by matklad

:hourglass: Testing commit f688e9c2f55f196547fd24ff953208d2c9fbb6f4 with merge 4005bc4e0b35894910a5f7b1c1b8adaf3846d9cb...

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing 4005bc4e0b35894910a5f7b1c1b8adaf3846d9cb to master...


Build issue: core::slice::<impl [T]>::len is not yet stable as a const fn

I encountered the following issue when building the crate via the stable toolchain:
error: `core::slice::<impl [T]>::len` is not yet stable as a const fn
   --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.5.0/src/bytes.rs:121:18
    |
121 |             len: bytes.len(),
    |                  ^^^^^^^^^^^

See: https://circleci.com/gh/saschagrunert/webapp.rs/13499?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

[T]::len is a const fn in 1.39. You need to update your Docker image (it's using whatever version was stable when it was published to the Docker hub).

Ah alright thank you :+1:

rustup update stable should fix the issue

rustup update stable didn't fix the issue for me :(

@marcelo321 If you receive this error, you are using an old compiler. If you did not install Rust with rustup, you need to update it using whatever other method you originally used to install Rust.

This fails for me with rustc 1.47.0, bytes 0.6.0, on darwin, cross compiling for target x86_64-unknown-linux-musl

Running rustup update worked for me.
$ cargo --version cargo 1.48.0 (65cbdd2dc 2020-10-14)

I just encountered this same error. I ran
rustup update and rustup update stable
but cargo --version shows cargo 1.38.0 (23ef9a4ef 2019-08-20)
and rustc --version shows rustc 1.38.0 (625451e37 2019-09-23)
What to do?

but cargo --version shows cargo 1.38.0 (23ef9a4ef 2019-08-20)
and rustc --version shows rustc 1.38.0 (625451e37 2019-09-23)

I guess cargo installed by a way other than rustup is actually called. (like https://github.com/tokio-rs/tokio/issues/3355#issuecomment-751482243).
Could you try with toolchain override shorthand (cargo +stable build)?

Running cargo +stable build gives error no such subcommand: +stable

Running rustup --version gives following output:

rustup 1.23.1 (3df2264a9 2020-11-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active rustc version is rustc 1.49.0 (e1884a8e3 2020-12-29)
So how come running rustc --version still shows rustc 1.38.0 (625451e37 2019-09-23)??
This is really mind-boggling.

Running cargo +stable build gives error no such subcommand: +stable

It seems cargo installed by a way other than rustup is called. I think it will work if you uninstall rust installed by the package manager, but it may not be easy if there are other packages that depend on the rust package.

Yeah, if you have Rust installed twice, the one provided by your package manager will typically take precedence over the one provided by rustup.

I guess cargo installed by a way other than rustup is actually called. (like tokio-rs/tokio#3355 (comment)).
Could you try with toolchain override shorthand (cargo +stable build)?

@taiki-e: You were right. I had installed Windows version of rust some 2 years back and didn't remember. Referenced post helped. I just uninstalled Rust 1.38 MSVC from Programs and Features and just by uninstalling, running rustc --version showed rustc 1.49.0 (e1884a8e3 2020-12-29) and my program (and bytes crate) got compiled.
Thanks a bunch!


Automatic file cache clearing

If more than 100 files are open (either in _fileCache or workspaces in wspnames objects), the caches are cleared to avoid "Too many open files" errors on user accounts

Closing this in favour of pending solution here, from @gpetruc


[ENH] - Enable users to schedule computations via UI with optional reporting

Feature description
Once a user develops a script or Jupyter notebook that does a particular computation, there is often a need to rerun these computations on a schedule and send notifications or results to a list of people. This feature would have a UI and framework that allows the user to do this with a few clicks.
Value and/or benefit

Anything else?
No response

kbatch has already been added but in order to use it to schedule jobs, we opened this PR. Once the PR is merged, kbatch will need to cut a new release and then we can update the version here.

Superceded by #1755


Improve Information Architecture

A top-down review of how we organise the information in the documentation and who it is for.
This is becoming more pressing as we work on the documentation for Cicero v0.20 with the new CiceroMark markup, as well as folding in the documentation for Concerto.
Related issues:
#108
#96
#91
Straw man proposal:
https://docs.google.com/spreadsheets/d/1YaGFm6t0Y__tzdG_N6fUCG5EvjdeiffpB3JMdKR-zA0/edit#gid=0

Hi @dselman
How can I help here?
You want to make the documentation structure the same as the spreadsheet?
The overview section is this?

I can do this ;)

There have been good improvements already. We will discuss and review at the next Tech WG call, Wed 4pm EST. You are welcome to join!

I really like some of the suggested reorganisations. I have a couple of suggestions though with the following goals:

For the "developer in a rush", a section that would get someone started in 15 minutes tops
More clearly separate tutorials from technical material
Increase the visibility for the key syntax guides: Markup guide, Concerto guide, Ergo guide which are fundamental for anyone who wants to author templates

I've put those ideas into a similarly-shaped spreadsheet here:
https://docs.google.com/spreadsheets/d/1oEKG6T1qZWhSkWO_X3wbm6B3Q56DoCoGrHV-Y489SLs/edit#gid=0

@dselman @4katie @peterhunn @irmerk Has this been addressed by the latest reorganisation of the documentation, or should we leave this open and do another round?

Happy to close. You win this round!

I'd like to see this as a happy compromise between best and good! Closing this issue.


E zone international

[ ✔] Added new company
Added information about e-Zone International company.

@drishyakarki could you review the PR once


Dev

🎯 Title and Issue Number

Closes #75

🗒 Checklist:

[] I have mentioned the issue number in my Pull Request.
[]  I have gone through rules of when PR will get merged.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md
[] I have followed proper file structure.
[] I have gone through

Thank you for contributing!❤
Don't forget to show some support by ⭐ the repository!

Hello @sezallagwal, thank you for your pull request! We will review it shortly. 😇❣
Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES.
Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository!
Happy coding!✨

@sezallagwal make the pr in dev branch

@Puskar-Roy I have done it, you can check

Hey @sezallagwal! We're excited to let you know that your pull request has been merged into the APIverse🚀🎁
Your commitment, effort, and expertise have greatly influenced our project, and we're incredibly thankful for your contributions.😇
Your code is now part of our expanding ecosystem, assisting developers worldwide in creating exceptional APIs.❣🔥
Happy Coding! ✨ We look forward to seeing you again soon!❣


netdev-rte-offloads: Extract pattern matching handling to a function.

Handling of flows pattern matching is being done as part of
netdev_dpdk_add_rte_flow_offload function.
Extracting this logic to a dedicate function provides better
readability and an option to reuse that logic in a different
place.
Signed-off-by: Asaf Penso<EMAIL_ADDRESS>

Additional commit was added:
dpif-netdev: Update value of MAX_FLOW_MARK.

Added 2 more commits for review.
Please disregard the WIP commit.

Can one of the admins verify this patch?

@rbaryanai @OphirMunk I handled Roni's comment and uploaded new patch set. Please review these commits.

@rbaryanai @OphirMunk I handled Roni's comment and uploaded new patch set. Please review these commits.

@rbaryanai
Please review the last 10 commits from 71966ea to 3f0ac44.
I handled all of your comments, and uploaded additional commits


We don't have build instructions

We don't have build instructions for wasm-5.3-SNAPSHOT-2020-08-20-a-linux.tar.gz.

I don't plan to add build instructions for snapshots.


Cannot upload any file other than image files with FireManager

Package Version: Latest
Node: v8.9.0
Angular: 6.2.3
[accept] = null -> Can select / drop any file, but only image files are added.
[accept] = '.pdf' -> Can select / drop any PDF file but nothing is added.
[accept] = '.jpg' -> Can select / drop any JPG file but nothing is added.
HTML:
  <fire-manager #uploader
	[showDetails]="true"
	[showProgress]="true"

	[uniqueName]="uniqueName"

	[dropZone]="dropZone"

	[multiple]="multiple"

	[paramDir]="paramDir"
	[paramName]="paramName"

	[accept]="accept"

	[parallelUploads]="parallelUploads"

	[maxFilesCount]="maxFilesCount"
	[maxFileSize]="maxFilesCount"

	[thumbs]="thumbs"
	[thumbWidth]="thumbWidth"
	[thumbHeight]="thumbHeight"

	[autoStart]="autoStart"

	(files)="onFiles($event)"
	(progress)="onProgress($event)"
	(active)="onActive($event)"
	(value)="onValue($event)"
	(remove)="onRemove($event)"
	(cancel)="onCancel($event)"
	(reset)="onReset()"
	(success)="onSuccess($event)"
	(complete)="onComplete($event)"
	(error)="onError($event)">
</fire-manager>

Component
  files = [];
  links = [];
  progress: FireUploaderProgress;
  active = false;

  uniqueName = true;
  dropZone = true;
  multiple = true;
  paramName;
  paramDir;
  accept = null;
  parallelUploads = 1;
  maxFilesCount = 7;
  maxFileSize = 5;
  thumbs = true;
  thumbWidth = 100;
  thumbHeight = 100;
  autoStart = true;
  placeholder = 'Drop files here or click to select';
  resizeWidth;
  resizeHeight;
  resizeMethod = ResizeMethod.Crop;

onFiles(e) {
    this.files = e;
    console.log('on files', e);
  }

  onSuccess(e: FileItem) {
    console.log('on success', e);
  }

  onComplete(e) {
    console.log('on complete', e);
    this.links = e.map(file => file.downloadURL);
  }

  onProgress(e) {
    console.log('on progress', e);
    this.progress = e;
  }

  onRemove(e: FileItem) {
    console.log('on remove', e);

  }

  onCancel(e: FileItem) {
    console.log('on cancel', e);
  }

  onError(e) {
    console.log('error thrown', e);
  }

  onReset() {
    console.log('on reset', );
  }

  onValue(e) {
    console.log('value', e);
  }

  onActive(e) {
    this.active = e;
    console.log('on active', e);
  }

Module:
FireManagerModule.forRoot({
	extensions: {
	  pdf: 'url("assets/pdf.svg")' // url set up correctly
	}
}),

Hi ,
ngx-fire-uploader is great !  Yes so many time earn ! For the instant  i see the same issue when i want upload mp3 file !!
@angular/core                              7.0.4
firebase                                   5.7.1
"@angular/fire": "^5.1.1",
i dont know what is missing !!!

I've found the issue. Reason is generateThumb() function in projects/core/src/lib/file-item.ts
It tries to resize an image but if the file is not an image, it fails.
You can temporarily fix it doing this:
  private generateThumb(): Observable<any> {
    if (this.config.thumbs && isImage(this.file)) {
      // Update file item state with thumbnail
      return resizeImage(this.file, this.config.thumbWidth, this.config.thumbHeight, this.config.thumbMethod, 1).pipe(
        tap((blob: Blob) => this.updateState({thumbnail: window.URL.createObjectURL(blob)}))
      );
    }
    return of({});
  }

But this fix does not use module configuration, which might be set like this:
FireManagerModule.forRoot({
			extensions: {
			  pdf: '#555555',
			  doc: '#335599'
			}
		  })

I'm pushing this temporary fix and request a pull.
I hope someone good at Angular development will fix it for good.

@anelad could you try and set the accept imput to application/pdf?
I think that's the syntax used by the HTML file input.

BTW, both usage is OK. .pdf = application/pdf

@anelad The function prepare() should only be called when file type is image, so it should work properly!

@MurhafSousli it's good to see you back here.
But it does not. prepare() is called for every type. You can check validateFiles() function. Also, add a log line; it is.
So, when it fail to exec switchMap(() => this.resizeImage()) line, everything goes down.

Oh yea, I forgot! I haven't look at the code since a while.

@MurhafSousli, do you plan to make any updates in near future? I need to plan my development phase.


test: fix schemathesis query parameters test

Validates query parameters, getting schemathesis negative tests to work.

This change is part of the following stack:

#340 ◀

#325

#326

Change managed by git-spice.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

120 of 120 (100.0%)  changed or added relevant lines in 19 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on fix-schemathesis-query-tests at 90.403%

Totals

Change from base Build<PHONE_NUMBER>1:
90.4%

Covered Lines:
9062

Relevant Lines:
10024

💛  - Coveralls


Does it support metrics-server?

After I pull the master branch and deploy the original metrics-server, it is not available. Does it support metrics-server?

kube-prometheus ships with the prometheus-adapter which offers the same functionality but doesn't duplicate the work, as prometheus already collects the metrics metrics-server would collect :)

So should I un-install my instance of metrics-server? Currently the kube-state-metrics is editing the same APIService used by the metrics-server; so it seems only 1 works at a time.

Yes we recommend to uninstall metrics-server and use the prometheus-adapter.

Horizontal Pod Autoscaler would work with Prometheus adapter?

Yes.


System.Exception: Could not find path to RESTler engine

Compilation worked:
Starting task Compile...
Task Compile succeeded.
Collecting logs...
** smoketest fails with exception:**
Starting task Test...
ERROR: Task Test failed.  Exception: System.Exception: Could not find path to RESTler engine.  Please re-install RESTler or contact support.
at Program.Fuzz.runRestlerEngine@273-1.Invoke(String m) in /Users//Projects/restler-fuzzer/src/driver/Program.fs:line 273
at Program.Fuzz.runRestlerEngine@272.Invoke(Unit unitVar) in /Users//Projects/restler-fuzzer/src/driver/Program.fs:line 273
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation1 ctxt, TResult result1, FSharpFunc2 part2) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 398
at Microsoft.FSharp.Control.AsyncPrimitives.unitAsync@589.Invoke(AsyncActivation1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 589    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc2 firstAction) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
Task Test failed.
Collecting logs...

Hello @divyakrishnankutty,
In the RESTler bin folder, do you see the "engine" folder?  If not, could you please share the output of the following commands:

python --version
python .\build-restler.py  --dest_dir  --compile_type engine

This may be the same issue as mentioned at the end of #440, it appears to be recent and we are still tracking down the cause.
Thanks,
Marina

One guess: this could be caused by recent changes to the build script.  It would be very helpful for the investigation if you could sync to this earlier commit to see if the issue is resolved: https://github.com/microsoft/restler-fuzzer/commit/7eba32cd37e54e150197bb63cd540c318350d394
Thanks,
Marina

Hi Marina,
I do not have the engine folder under bin.
root@<host_name>:/home//demo/restler_bin# ls
compiler  restler  resultsAnalyzer
Here are the details,
--compile_type engine fails,
Testing compilation of Python files...
Copying all python files...
Build failed!
Exit code: 127
b'/bin/sh: 1: python: not found\n'
Removing engine compilation build directory...
python version
python3
Python 3.8.10 (default, Jun  2 2021, 10:49:15)
[GCC 9.4.0] on linux
Code base have been updated to latest - #455

Thank you for the repro information.  The script defaults to 'python' for this step - it needs to be updated to try both 'python' and 'python3'.
Could you please try the following workaround (additional argument --python_path below):

python .\build-restler.py --dest_dir --compile_type engine  --python_path <full_path_to_python3>

Thanks,
Marina

Hey Marina,
Providing explicit python path helped.
restler-fuzzer# python3 ./build-restler.py --dest_dir ../restler_bin/ --compile_type engine --python_path /usr/bin/python3
Generating a new RESTler binary drop...
Testing compilation of Python files...
Copying all python files...
Removing engine compilation build directory...
Copying all python files...

Hello @divyakrishnankutty @marina-p,
Did you manage to solve this problem? I am hitting the same issue as well. The Build goes through fine for me but the engine directory is empty although it is created.
restler-fuzzer (main) > python3 ./build-restler.py --dest_dir ./restler_bin --compile_type engine --python_path /usr/bin/python3
Generating a new RESTler binary drop...
Testing compilation of Python files...
Copying all python files...
Removing engine compilation build directory...
Copying all python files...

Starting the restler-quick-start.py complains that it cannot find RESTler Engine
Restler Information: 0 : Starting task Test...
    DateTime=2022-03-03T12:52:53.2081320Z
Restler Error: 0 : Could not find path to RESTler engine.  Please re-install RESTler or contact support.
    DateTime=2022-03-03T12:52:53.2573020Z
Restler Error: 0 : Task Test failed.  Exception: System.Exception: Could not find path to RESTler engine.  Please re-install RESTler or contact support.
   at Program.Fuzz.runRestlerEngine@273-1.Invoke(String m) in  /git/restler-fuzzer/src/driver/Program.fs:line 273
   at Program.Fuzz.runRestlerEngine@272.Invoke(Unit unitVar) in /git/restler-fuzzer/src/driver/Program.fs:line 273
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 398
   at Microsoft.FSharp.Control.AsyncPrimitives.unitAsync@589.Invoke(AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 589
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
    DateTime=2022-03-03T12:52:53.2834230Z
Restler Information: 0 : Task Test failed.
    DateTime=2022-03-03T12:52:53.2865580Z
Restler Information: 0 : Collecting logs...
    DateTime=2022-03-03T12:52:53.2918160Z

I am running this on a Mac, version 11.6.3 with Python 3.9.9


Added requirements.txt.

I've re-added a requirements.txt file.  This works for me - I've never gotten the pipenv to work, and I think we should offer this as an alternative.

Since the situation has evolved so much since this was opened, I'm closing the PR. If this is something we want to revisit lets open another issue.


During zarf dev find-images automatically add the digest to any tag to help with pinning resources

Is your feature request related to a problem? Please describe.
As Ezra I want to be able to get the latest digest for a given tag automatically when running zarf dev find-images so that I do not need to manually do this if I want to pin an image to a specific SHA (as zarf dev lint would want me to do)
Describe the solution you'd like

Given I have a Zarf package with charts or manifests that need images
When I run zarf dev find-images on that package definition
Then Zarf will find the image references that it can
And Zarf will change any non-SHA-pinned images into a SHA pinned reference when shown to the user.

i.e.
components:
  - name: baseline
    images:
      - defenseunicorns/zarf-game:multi-tile-dark

becomes
components:
  - name: baseline
    images:
      - defenseunicorns/zarf-game:multi-tile-dark@sha256:f78e442f0f3eb3e9459b5ae6b1a8fda62f8dfe818112e7d130a4e8ae72b3cbff

Describe alternatives you've considered
We could do this automatically on create but that may get annoying for people trying to craft a package at a specific version.
Additional context
This should base itself off of the charts and manifests as defined and should not take the existing list of images into account.  It should always check the remote registry for the latest manifest SHA at that tag when run. (if the user wishes to hard-pin the image they can edit their values files or manifests to do so)

@Racer159 can this be assigned to me ?

Blocked by #2425


Invalid License Key

Hi, I'm following the example sub_data.py and I can't pass the authorization step.
I keep getting the following error:
auth result
 {
    "error": {
        "code": -32002,
        "message": "Invalid License Key."
    },
    "id": 4,
    "jsonrpc": "2.0"
}

The license field was left with ""  as described in the documentation.  My client_id is 5GTv46GwkKC510SwnmPirPfzpnpadlig75tczT0Z and user jamaro93. Also I'm using the EPOC-X 14 channels.
Thanks

Hi @CarlosValleA ,
Did you put a valid license at user object in sub_data.py ?
user = {
"license" : "your emotivpro license, which could use for third party app", # put your license here
"client_id" : "your client id",
"client_secret" : "your client secret",
"debit" : 100
}

Hi @tungntEmotiv,  the license key is empty as "" as it is not required  according to the documentation.  The user variable is:
user = {
    "client_id" : "5GTv46GwkKC510SwnmPirPfzpnpadlig75tczT0Z",
    "client_secret" : "CLIENT_SECRET",
    "debit" : 100,
    "license": ""
}

Hi @CarlosValleA ,
Did you tick to "My App require EEG access" box when you create the Cortex App ? Because you don't have a eeg access license. So you shouldn't tick the box. With the basic license you can subscribe other data streams such as "dev", "met","com, "fac"
You can reference to the link

Yes, I tick the "My App require EEG access" field and it says YES. I have an emotivPRO Student, is that not enought to use the API ?. Also the error is generated in line 137 in cortex.py  while waiting for the answer of the method authorize, and it dosen't reach the point where the suscribe request is reached.

Hi @CarlosValleA ,
If you have EmotivPRO student -> you will have EEG access  but  you haven't submitted application form at  https://www.emotiv.com/student-sdk-application-form/ to get access for Cortex API for EEG data.
Thanks


Support redis backend for memstore

Using redis would allow us to ensure that data isn't deleted when the instance is torn down. This will be especially useful for debugging / feedback cycles when engineering against a live rollup. Otherwise we'll have to reinstate the entire rollup if the proxy instance is terminated.

@epociask this was my point. You added redis as a cache layer. But here's it's suggesting to add it as a replacement for memstore right? Why this separation between backends that store with Keys vs those that don't?

@samlaf this was an old issue filed before we introduced these newer abstractions. Technically we can achieve the same effect now by using a cache target with S3 for a memstore backend.

closed by https://github.com/Layr-Labs/eigenda-proxy/pull/111


materialpropert vs action parameter: Val fields are inconsistent

vw_material_property expects a val_val, but action parameter just a val

Question from @vshekar: do we want property_x to have a generic foreign key?
Potential answer: no -- having one property_x minimizes effort from a psql implementation perspective but not from a django perspective. aside from minimizing effort, we cant think of any advantages

https://stackoverflow.com/questions/54217937/how-to-bind-multiple-models-to-one-manytomanyfield

New issue related to shekar's question: #108


Add CICS topics to the top-level README

This PR adds the CICS samples to the front page, to make it more evident that they exist.
@ddimatos I'd be glad to get your view on this - this feels like one of the first non-core collections on the front page. How does the layout look?

@ind1go - here is my updated almost ready commit. This is what I had in mind, it streamlines the folders, aligns all the collections into concepts, removes the video and links out to media center, still have a few more updates to make.
https://github.com/IBM/z_ansible_collections_samples/tree/content/readme-and-repo-organization

Closing in favour of #48.


Add infinity icon

Preview

Is it me, or the icon looks weird?
closes #172

@mittalyashu Nice work!

@mittalyashu Nice work!


nshlib/nsh_console.h: Add nsh_none, where empty output can be forwarded

Summary
Adds way to forward any output into nothingness. Handles CONFIG_NSH_DISABLE_ERROR_PRINT case gracefully for any
amount of arguments.
Impact
Only nsh_error output, when CONFIG_NSH_DISABLE_ERROR_PRINT is set
Testing
Build passes, output works when enabled, output is silent when not

@xiaoxiang781216 @pkarashchenko this is what I came up with regard to https://github.com/apache/nuttx-apps/pull/1987
The inline function is needed to eat the variadic argument list, even though if (0) (v, ##__VA_ARGS__); is perfectly valid C code, it does produce a warning, the compiler is sad that the comma expression is meaningless. Even casting the whole statement to void does not suppress the warning.
nsh_parse.c:2739:39: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
2739 |       nsh_error(vtbl, g_fmttoomanyargs, cmd);

can you try this (void)(1 || (v, ##__VA_ARGS__))?

can you try this (void)(1 || (v, ##__VA_ARGS__))?

Gives the same warning.


Resource widgets map and resource default field

I added resource widgets map and default field to make it easy override widgets and default field.
Let me know if its useful or required some extra work.

Coverage increased (+0.08%) to 91.914% when pulling 6a04dadba1648778b2327ba2ba1ee7017ed410d2 on dfirst:master into 7645954f241aa7f042e9ed7871482f352927097c on django-import-export:master.

Merged, thanks!


fix(caa upload): Adapt to new Amazon page source code indentation

The Amazon provider fails to extract the embedded JSON because it is no longer at the beginning of a new line but indented since a recent update.
Fixes #272.

Thanks!


Sema: Discard associated type inference candidates that are obviously tautological or divergent.

When considering an implementation from a protocol extension as a possible witness to a protocol requirement, and using that witness to try to infer the protocol's associated types, we would sometimes consider AssocType == ConformingType.AssocType as a potential solution, even though this is a tautology; we would subsequently mark the potential solution as failed (because ConformingType.AssocType doesn't exist yet; it doesn't conform to any protocols) even when the witness is necessary to infer other associated types. Worse, this would introduce an order dependency when certain potential witnesses were visited before the right associated types were inferred. Fix this by filtering out useless tautological inferred witnesses before trying to validate them for conforming to the necessary requirements. Fixes rdar://problem/29954938.

@swift-ci Please test

@DougGregor Does this look like a reasonable l

@DougGregor Does this look like a reasonably local, non-interfering fix for Swift 3.1?

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 87d916c7ef675d11dab424945e3e27c6b3d52148
Test requested by - @jckarter

OS X test is unrelated: https://ci.swift.org/job/swift-PR-osx/5157/consoleFull#683233503fca400bf-2f4a-462e-b517-e058d770b2d7

@DougGregor Updated to extract the findIf closure from the if block, and to make the "same associated type" check a bit more principled by trying to canonicalize in a generic signature instead of just checking names.

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 87d916c7ef675d11dab424945e3e27c6b3d52148
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 87d916c7ef675d11dab424945e3e27c6b3d52148
Test requested by - @jckarter

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - f4b4ce132a2321057349c24527b0f761d8981bc0
Test requested by - @jckarter

@swift-ci Please test

@swift-ci Please test

LGTM!

FYI - CI is down for upgrade.

@shahmishal Will I need to retrigger CI when it's back up?

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - bbaa7f716345cc5e3be939c47d11f946db71caf5
Test requested by - @jckarter

@swift-ci Please test OS X

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - bbaa7f716345cc5e3be939c47d11f946db71caf5
Test requested by - @jckarter

@swift-ci Please test OS X


fix(jest-worker): Remove circular references from messages sent to workers

Fixes #10577

Summary
This fix prevents objects with circular references to be sent to worker processes. Node uses JSON.stringify to serialize such messages and this causes an error in case there are circular references in the messages.
Please note I added new dependency, fclone, though I'm not sure it's allowed or if there already is another such function in the repository.
Test plan
This fix allows to run the tests described in the issue linked. The repro setup can be found at https://repl.it/@Frantiekiaik/jest-playground-1.

We'd want to restore the original object on the receiving side, no? Should we use something like https://github.com/storybookjs/telejson?

@SimenB sounds reasonable. I'll try to rework.

Would it be better to use the 'advanced' serialization format for use-cases that require circular references to avoid that all workers must pay for the overhead of fclone.

@MichaReiser I tried that, but it just changes the error to the same as worker threads
(node:24057) UnhandledPromiseRejectionWarning: Error: () =>
          (0, _jestMatcherUtils.matcherHint)(
            matcherName,
            undefined,
           ...<omitted>... ) could not be cloned.
    at writeChannelMessage (internal/child_process/serialization.js:79:9)
    at process.target._send (internal/child_process.js:805:17)
    at process.target.send (internal/child_process.js:703:19)
    at reportSuccess (/Users/simen/repos/jest/packages/jest-worker/build/workers/processChild.js:67:11)

@SimenB  that's rather interesting because the MDN documentation explicitly mentions circular references...

The structured clone algorithm copies complex JavaScript objects. It is used internally to transfer data between Workers via postMessage(), storing objects with IndexedDB, or copying objects for other APIs. It clones by recursing through the input object while maintaining a map of previously visited references, to avoid infinitely traversing cycles. source

I've opened up #10981 which uses telejson and should restore the object "on the other side". I haven't dug into why passing circular objects doesn't work. Might be a good idea to do so as there's probably less overhead in fixing the object we pass (if possible) rather than adding custom serialization and deserialization


Lag

Hello. Great tool, but performancy(in my case at leaast) is really bad.
I opened a generated graph of a Kotlin project(which means all the generated lamdas/inner classes) on my i7 and it was unusable.
Chrome version: 66.0.3359.170
Here's a short profile session from chrome
lag.zip

The situation should be improved when #49 is implemented. Also, please consider using filters (introduced in 0.2.0).

lag)

@SupinePandora43 I think I have to make filters & package-name option mandatory

@SupinePandora43 done: https://github.com/alexzaitsev/apk-dependency-graph/releases/tag/0.2.1

Html and js code re-factoring and cleanup is done in 0.3.0


Not Working

When I run
ruby main.rb -p Invoke-ReverseShellTcp -o output.ps1 --extreme
I get the error
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- pry (LoadError)
Did you mean?  pty
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from main.rb:14:in `<main>'

What may be causing this?

Have you installed the requirements with the gem installer? However try it again, it should work after a little change

I have done
git clone https://github.com/D3Ext/Vulkan
cd Vulkan
gem install colorize httparty optparse
ruby main.rb
And before posting this I tried again
gem install colorize httparty optparse
but still get the same error

But have you used this time the new script? Anyway you should install pry like this gem install pry and it should work

After installing gem install pry I was able to make it work however now, when I run ruby main.rb -p Invoke-ReverseShellTcp -o output.ps1 --extreme
I get
╦  ╦┬ ┬┬  ┬┌─┌─┐┌┐┌
╚╗╔╝│ ││  ├┴┐├─┤│││
 ╚╝ └─┘┴─┘┴ ┴┴ ┴┘└┘
    by D3Ext v0.1

[+] Iterations: 1
[+] Extreme obfuscation: Yes
[+] Payload: Invoke-ReverseShellTcp

[!] Invalid payload

Even after reinstalling the script

Oh sorry I misstyped the payload name, it should be Invoke-PowerShellTcp, fixed on the README.md

Thank you very much
Is now working fine


how can i switch video for many videos in a list

I have a video list in my program; when i click to change page ,I want to change these video's url to switch videos; that is my code below:

<d-player :options="getOptions(item.origin_url)" ref="dplayer"></d-player>
;
when i change pages, i change the options ,but it not work;
thank you so much if you can tell me how to solve it

i have many videos in one page .when i change the curent page, i need change many videos url.you mean i should use this funtion to change each video's url one by one?