BUG: Breaking change introduced in latest version of tfsec

The latest version (v1.0.0) of tfsec released on 28/01/2022: https://github.com/aquasecurity/tfsec/releases/ has introduced a number of breaking changes. Including the behaviour of --out and --format arguments.
This is causing a failure when using tfsec-sarif-action, particularly at this command:

 tfsec --format=sarif ./my_project
panic: value is unknown

goroutine 1 [running]:
github.com/zclconf/go-cty/cty.Value.AsString({{{0xd12ef8, 0xc0000a9ae1}}, {0xadb7c0, 0x12e7740}})
	/home/runner/work/tfsec/tfsec/vendor/github.com/zclconf/go-cty/cty/value_ops.go:1262 +0x111
github.com/aquasecurity/tfsec/internal/pkg/block.getStrings({0xd12ad0, 0xc000413c20}, 0xc000413c20)
	/home/runner/work/tfsec/tfsec/internal/pkg/block/attribute.go:256 +0x28b
github.com/aquasecurity/tfsec/internal/pkg/block.getStrings({0xd12c58, 0xc0006150e0}, 0x9)
	/home/runner/work/tfsec/tfsec/internal/pkg/block/attribute.go:251 +0x5f2
github.com/aquasecurity/tfsec/internal/pkg/block.(*Attribute).ValueAsStrings(...)
	/home/runner/work/tfsec/tfsec/internal/pkg/block/attribute.go:243
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.parseStatement(0xc000e0af50)
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/convert.go:119 +0x207
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.ConvertTerraformDocument({0xc000e32d00, 0x19, 0x20}, 0xc000798460)
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/convert.go:73 +0x270
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.findAllPolicies({0xc000e32d00, 0x19, 0x20}, 0xc00048b360, 0xc000e0b5a8)
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/convert.go:195 +0x5f1
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.parsePolicyFromAttr(0xc000590c30, 0xc00048b360, {0xc000e32d00, 0xc000e0b648, 0x1})
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/convert.go:20 +0x58
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.adaptPolicies({0xc000e32d00, 0x19, 0x20})
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/policies.go:44 +0x15e
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws/iam.Adapt({_, _, _})
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/iam/adapt.go:11 +0xb3
github.com/aquasecurity/tfsec/internal/pkg/adapter/aws.Adapt({_, _, _})
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/aws/adapt.go:63 +0x865
github.com/aquasecurity/tfsec/internal/pkg/adapter.Adapt({0xc000e32d00, 0x19, 0x20})
	/home/runner/work/tfsec/tfsec/internal/pkg/adapter/adapt.go:19 +0x4e
github.com/aquasecurity/tfsec/internal/pkg/scanner.(*Scanner).Scan(0xc0009a33e0, {0xc000e32d00, 0x0, 0x20})
	/home/runner/work/tfsec/tfsec/internal/pkg/scanner/scanner.go:51 +0x9f
github.com/aquasecurity/tfsec/internal/app/tfsec/cmd.glob..func1(0x127c060, {0xc0001d5fc0, 0x1, 0x2})
	/home/runner/work/tfsec/tfsec/internal/app/tfsec/cmd/root.go:114 +0x7ec
github.com/spf13/cobra.(*Command).execute(0x127c060, {0xc00008c160, 0x2, 0x2})
	/home/runner/work/tfsec/tfsec/vendor/github.com/spf13/cobra/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0x127c060)
	/home/runner/work/tfsec/tfsec/vendor/github.com/spf13/cobra/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/work/tfsec/tfsec/vendor/github.com/spf13/cobra/command.go:902
main.main()
	/home/runner/work/tfsec/tfsec/cmd/tfsec/main.go:11 +0x25
+ tfsec_return=2
+ exit_code=2
+ echo ::set-output name=tfsec-return-code::2

this should have been fixed in later versions - there was a disconnect in the version of go-cty we use and the one that HashiCorp use.
We've locked ourselves in step with theirs now


Add payload support to messaging modules

Description:
This is related to https://github.com/ballerina-platform/ballerina-standard-library/issues/2783#issuecomment-1117140711
Need to do this update in,

[x] kafka - https://github.com/ballerina-platform/module-ballerinax-kafka/pull/508
[x] rabbitmq - https://github.com/ballerina-platform/module-ballerinax-rabbitmq/pull/393
[x] nats - https://github.com/ballerina-platform/module-ballerinax-nats/pull/427

Closing since all the tasks are completed


DM-38623: Pin photutils at <1.7.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


Support array return types in Postgres

I'd like to be able to iterate over arrays returned by array_agg. If a way currently exists, I don't know it.
Example:
# Makefile
CC=chpl
CDO_HOME=/Users/buddha/github/cdo
SOURCES := $(shell find . -name '*.chpl')
EXEC=aagg
MODULES=-M${CDO_HOME}/src
FLAGS=--fast

all: aagg.chpl
	$(CC) $(FLAGS) ${INCLUDES} ${LIBS} $(MODULES) -o $(EXEC) $(SOURCES)

run:
	./$(EXEC)

// aagg.chpl
use Postgres;

config const DB_HOST: string = "localhost";
config const DB_USER: string = "buddha";
config const DB_NAME: string = "buddha";
config const DB_PWD: string = "buddha";

writeln("aaaaggghhhh!");

/*
DROP TABLE IF EXISTS aagg;
CREATE TABLE aagg (team text, name text);
INSERT INTO aagg VALUES ('Wonder Pets', 'Linny');
INSERT INTO aagg VALUES ('Wonder Pets', 'Ming Ming');
INSERT INTO aagg VALUES ('Wonder Pets', 'Tuck');
INSERT INTO aagg VALUES ('OJ Defense Team', 'F. Lee Bailey');
INSERT INTO aagg VALUES ('OJ Defense Team', 'Robert Shapiro');
INSERT INTO aagg VALUES ('OJ Defense Team', 'Johnny Cohchran');
 */

var con = PgConnectionFactory(host=DB_HOST, user=DB_USER, database=DB_NAME, passwd=DB_PWD);
var cursor = con.cursor();
// Retrieve the data
const q = "SELECT team, array_agg(name) AS members FROM aagg GROUP BY team;";
cursor.query(q);

for row in cursor {
  writeln("Team: ", row['name'], "\tMembers: ", row['members'] );
  for member in row['members'] {
    writeln ("Special mention to ", member);
  }
}

The inner loop breaks up row['members'] into characters:
./aagg
aaaaggghhhh!
Team: 	Members: ä"F. Lee Bailey","Robert Shapiro","Johnny Cohchran"å
Special mention to ä
Special mention to "
Special mention to F
Special mention to .
Special mention to
Special mention to L
Special mention to e
Special mention to e
Special mention to
Special mention to B
Special mention to a
Special mention to i
Special mention to l
Special mention to e
Special mention to y
Special mention to "
Special mention to ,
Special mention to "
Special mention to R
Special mention to o
Special mention to b
Special mention to e
Special mention to r
Special mention to t
Special mention to
Special mention to S
Special mention to h
Special mention to a
Special mention to p
Special mention to i
Special mention to r
Special mention to o
Special mention to "
Special mention to ,
Special mention to "
Special mention to J
Special mention to o
Special mention to h
Special mention to n
Special mention to n
Special mention to y
Special mention to
Special mention to C
Special mention to o
Special mention to h
Special mention to c
Special mention to h
Special mention to r
Special mention to a
Special mention to n
Special mention to "
Special mention to å

Would splitting row['members'] with the , character suffice?
for member in row['members'].split(',') {
   ...
}

In fact, Cdo has not support for arrays results yet. I need to think how should I do in a portable manner.
I think that the suggestion of @ben-albrecht  for a while is a good starting point.
I will explore more and search a solution to this issue.

In this case, the arrays look something like
SELECT team, array_agg(name) AS members FROM aagg GROUP BY team;
      team       |                       members
-----------------+------------------------------------------------------
 OJ Defense Team | {"F. Lee Bailey","Robert Shapiro","Johnny Cohchran"}
 Wonder Pets     | {Linny,"Ming Ming",Tuck}

They have contained in "{" and have quotes for the string boundaries, meaning a full parser would need to be applied to the output.  I don't know how other libraries handle it.

I am not sure. But I think that there is some API that informs the type of result.
If we did not find a good solution for this, we could create a function that parses the result and returns an array.
My roadmap is:
1)Try to figure out the returned result type using low-level API.
If not:
2) Create a function that parses this kind of result.

Seems like the right approach to me!

No, the Cdo can get Postgres array as result:
https://github.com/marcoscleison/cdo/blob/74abedab749fdbdcc36f488605e7a59e3fc44c37/examples/array_agg_pg.chpl#L13
I will close this. If the approach is not good for you, you can reopen it.


Consider making default shapes edge-color not black

🐛 Bug
The default edge-color of black doesn't work well with a default canvas color of black.
it looks like lines don't work:
https://user-images.githubusercontent.com/1609449/127573341-255a2f03-7459-4c97-90ad-1b0b4296c1a5.mov

Totally agree, I've run into this and it's pretty annoying because you have to select all the shapes and then change the edge colour if you're working from the viewer. Whatever we choose would obviously still have to work with the light theme where the canvas is white, so maybe a middle grey.


Do not persist changes when cancelling inline-edit changes

1. Why is this change necessary?
When the inline-edit is canceled an event gets emitted which is used to save the inline-edit. The event is caught and re-emitted by the edit component and the grid assigns the value.
Expected behavior: Cancel action discards new value
Actual behavior: Cancel action assigns new value to grid
2. What does this change do, exactly?
This PR fixes this by not throwing the inline-edit-assign event when cancelling the inline-edit.
3. Describe each step to reproduce the issue or behaviour.

Create sw-data-grid with allowInlineEdit and showActions set to true
Create at least one column with the inlineEdit property set to any valid value (e.g. number)
Double click on the data field and edit the value
Click on cancel
New value is assigned to the data field

4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

Please check the spelling. I.e. Uppercase the beginning of a sentence 😉

When referencing a property or component name, use hilighting: true, allowInlineEdit, onClickCancelInlineEdit(item)

(in "1.") Similar to "Expected behaviour", add "Actual behavior". E.g. "Actual behaviour: New value is assigned anyway."

(in "2.") Improve the description and use of github references so it is easier to read and understand what is going on. Try something like this:

When the inline-edit is canceled an event used to be emitted which is also used when the inline-edit is saved. The event is caught and re-emitted by the edit component and the grid assigns the value. That way the new value is assigned in both the cancel and the save actions.
This PR fixes this by not throwing the inline-edit-assign event when cancelling the inline-edit.

(in "3.") Add a "5." step for the reproduction of the problem that names the problem. E.g. "5. New value is now assigned to the row"

Looks good to me. Maybe @fixpunkt will have another look.
Afterwards you can close this PR, add a new PR agains shopware and copy the text of this draft.

Nice work! 👏
Description remarks:

The description should properly explain which part of the system this affects. "inline-edit" is not quite sufficient here, you should probably start of with the fact that you're talking about the grid component .

Code:

Did you grep for other events starting with inline-edit-? My intuition is that there might be an event which is expected to be fired when cancelling inline editing and the line you're changing just uses the wrong one.
Are there any pre-existing unit or e2e tests covering this component?

shopware/platform PR: https://github.com/shopware/platform/pull/210


docker-compose sample does not work

Creating _mongo_1 ... error

ERROR: for _mongo_1  Cannot create container for service mongo: b'Invalid container name (_mongo_1), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed'

ERROR: for mongo  Cannot create container for service mongo: b'Invalid container name (_mongo_1), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed'
ERROR: Encountered errors while bringing up the project.

app:
  image: sdelements/lets-chat
  links:
    - mongo
  ports:
    - 8080:8006
    - 5222:5222

mongo:
  image: mongo:latest

Hi,
Can you assign this issue to me?


Add sorting to table component

Related issue
#286
Overview
Adds the ability to sort a table column by clicking the header cell.
Reason
When analysing data it will be necessary to change the order to compare.
Work carried out

[x] Add sort
[x] Update develop documentation
[ ] Update design documentation
[x] Add sort icons

Screenshot
Desktop

Mobile

Really nice :) Having played with the live demo, I think there's possibly a couple of things we should fix to make it more usable.

Firstly, it's difficult to know that a column is sortable without clicking on the column header. Perhaps an icon like this could be used?

Secondly, is there a way to deselect a table column after it's been sorted? This may be fixed by point 1, as after two clicks on the table header we could revert the column back to its default and swap the icon back to the icon I've linked above.


Widgets

Would be good if were possible create widgets for easy access in home screen contain the habits' score system and button to say that did the habit(s)

I'm not very familiar with Android widgets 😂, but I will consider design and add it in future versions.

 Android Widgets

Just found your app from https://news.itsfoss.com/table-habit/ !
Excellent work! It looks really great
This is one of the biggest features I am missing, widgets, especially for triggering habits.
This and proper intents or tasker plug-in. So that I can trigger habit automation from tasker or MacroDroid , etc

Thank you very much for your work on this! It's a beautiful app. I, too, would love to see widgets happening, something like eg TickTick has.


Optimization with calcium model

Hello, I am following the optimization tutorial. My question is about the part of the code where you load in the parameter file. So I created my parameters using hnn-core and I don't know how to save them into a json parameter file. I tried to use the GUI to create the file, but then realized that the GUI uses the jones_2009_model and not the calcium_model which I used. Can you please tell me how to generate a parameter file using hnn-core?

I don't think we have a function to write these files out ... we really need to get to it soon. You can probably pickle it in the meanwhile but it's not a long-term solution.
Can we aim to hammer some of these long-lasting issues out in a sprint in Nov @chenghuzi @rythorpe @ntolley ? Would be good to start planning for it ...

Agreed, could plan to do it after SfN! (it ends November 16th).
Before may work depending on how much last minute poster making me and @rythorpe have to do

@JBruce32 the default parameter file comes from the parameter tuned network used in Jones et al. 2009
It's broadly the same structure as the .param files from HNN-GUI (however a .json is written like a dictionary where every element is enclosed in curly braces).
We technically have a read_param() function that works with .param files, but as referenced above we are planning to move away from this for a more long term solution.
If there are specific values/properties you're looking to change you can check out the docs/examples or let us know! The current API allows you to modify any property defined in the .param file without editing the files directly.

Okay, so looking at the docs/examples I came across the hnn_core.params.write function. Here is a snippet:
  def write(self, fname):
      """Write param values to a file.

      Parameters
      ----------
      fname : str
          Full path to the output file (.json)
      """
      with open(fname, 'w') as fp:
          json.dump(self, fp)

Does this function allow me to store my model parameters in a json file at all? If so, how can I use this function given my network object?
Thanks

Hi @JBruce32, unfortunately this function is not used for writing the details of the Network to a file (internally this function is useful for testing purposes).
For context, the .params or .json files are currently used to instantiate the model with default values in line with the old HNN-GUI. We're working on a good method/format to write the Network parameters to a file, but for now I think the best solution will be to either: 1) Pickle the entire Network object, or 2) just store the code which contains your parameter modifications using the hnn-core API.
The parameters of the provided networks such as jones_2009_model() and law_2021_model() will not change, so if you just keep track of your specific parameter changes then that will be sufficient for reproducibility. Definitely let me know if you need help/guidance for the suggestions listed above.


Resouce leak

Seems to be resolved, but the packet loss is too high and...

UDP proxy resource leak..


[Broker] Add multi roles support for authentication and authorization

Motivation
In https://github.com/apache/pulsar/pull/10375, we add multi roles support for JWT authentication. But the authorization does not support multi roles currently. Only the first one in the roles array will be used during authorization. This PR adds multi roles support for both authentication and authorization.
Modifications

Change the AuthenticationState interface to make it keep an array of principals
Change the authorization logic to do the permission verification over an array of principals iteratively. Return true when the principal has permission, or return false if all principals verified failed.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@cckellogg Thanks for the review.  And @RobertIndie, Would you please help to handle the comments of @cckellogg?
Regarding split into 2 PRs, From my view, the current PR works fine, because the main change of it is the API change, and other changes aimed to make the auth implementations backward compatible.  This PR does not bring in new auth provider. It would be good to keep them in a single PR.

Thanks @cckellogg. I have fixed some comments. PTAL.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@RobertIndie Can you take a look at @cckellogg 's latest comments?

/pulsarbot run-failure-checks

Hi @cckellogg Would you please help review this again?

Thanks @jerrypeng and @cckellogg for your suggestions. I will rethink the implementation of multi roles support.


ReferenceInput error on IE11: Object doesn't support property or method 'from'

I am trying to use the ReferenceInput in my project for some relation.
It works fine on Chrome, Firefox ... but doesn't work on IE11. It keeps saying:
uncaught at anonymous TypeError: Object doesn't support property or method 'from'
Code snippet:
<ReferenceInput label="User" source="user_id" reference="users" allowEmpty>
  <SelectInput optionText="name" />
</ReferenceInput>

I have the 'users' end point available. I use it elsewhere as well.
Full error stack:
_uncaught at anonymous TypeError: Object doesn't support property or method 'from'
   at t.getPossibleReferences
   at o
   at n.displayName
   at i
   at s
   at Anonymous function
   at n.run
   at c.prototype.componentWillReceiveProps
   at updateClassInstance
   at beginWor_

The culprit is:
https://github.com/marmelab/admin-on-rest/blob/d811384be4e909f05e781abd50585b38740f52cc/src/reducer/admin/references/possibleValues.js#L39-L41
How do you transpile/bundle the admin-on-rest code?

I use the default npm run build that executes react-scripts build. I don't do anything else.

You mean you're using create-react-app?

So you're using create-react-app (but you don't know it). It seems that the babel JS transpilation configured in this version of create-react-app doesn't target the right platform, but it should. I believe you're using an old version of create-react-app and need to upgrade.
I can't reproduce the error on the demo (https://marmelab.com/admin-on-rest-demo/#/products/128) on ie11. The demo also uses create-react-app.
Closing as not reproducible. Feel free to reopen if you can provide a minimal codesandbox with the error.

@fzaninotto I updated create-react-app. It changed the error, but I'm still not able to get it work. Now I'm getting something else:
uncaught at anonymous TypeError: Unable to get property 'return' of undefined or null reference
   at renderRoot (http://localhost:3000/static/js/bundle.js:98523:9)
   at performWorkOnRoot (http://localhost:3000/static/js/bundle.js:99064:9)
   at performWork (http://localhost:3000/static/js/bundle.js:98985:9)
   at performSyncWork (http://localhost:3000/static/js/bundle.js:98962:5)
   at requestWork (http://localhost:3000/static/js/bundle.js:98862:7)
   at scheduleWorkImpl (http://localhost:3000/static/js/bundle.js:98737:13)
   at scheduleWork (http://localhost:3000/static/js/bundle.js:98697:5)
   at updater.enqueueSetState (http://localhost:3000/static/js/bundle.js:93336:7)
   at Component.prototype.setState (http://localhost:3000/static/js/bundle.js:117880:3)
   at onStateChange (http://localhost:3000/static/js/bundle.js:111428:11)
   at notify (http://localhost:3000/static/js/bundle.js:112087:9)
   at notifyNestedSubs (http://localhost:3000/static/js/bundle.js:112126:5)
   at onStateChange (http://localhos

The code is again the same as above, so nothing else really. And, it's only happening on IE ( on chrome it's working fine ).

It's impossible to debug your problem using this stack trace. And again, it works on the demo, so the problem is probably on your side.
Please use StackOverflow for troubleshooting.

Is the code of the Demo on Github available?

for master: https://github.com/marmelab/admin-on-rest
for next: https://github.com/marmelab/admin-on-rest/tree/next/examples/demo


[📑 Docs]: Provide new doc about installation and usage

What Dev Docs changes are you proposing?
We miss the following docs in current outline: Installation and Usage
What do you think, we need one, two or 3 separate docs?
Nevertheless technical input 👇🏼
Installation
I think it makes sense to also add new document called Installation where we explain how to install the generator (and also update) and what are technical requirements. Better separate than mixing it with the Intro doc. Even though we know ag CLI is going away soon, under asyncapi CLI the way it works will not be much different, so simple update to docs will need to be done, not much work
technical input -> https://github.com/asyncapi/generator#using-from-the-command-line-interface-cli
also I think https://github.com/asyncapi/generator#generator-version-vs-template-version should be here. I'm not sure if it should be separate document.
Using Generator in CLI
We need to explain how to use generator in the CLI
Actually all that we have in the readme must be here in docs. Because ultimate goal is to have all generator docs in one location, and in readme long term we will just link to docs.
Don't worry, we are migrating to new CLI but commands will not change much. Later simple update with search and replace will be possible.
Using Generator as a library
Readme already has nice simple example on how o use generator npm module. Just the thing is that it is linking to https://github.com/asyncapi/generator/blob/master/docs/api.md
The api.md is generated using npm run docs and ultimate goal -> we also have it rendered in asyncapi.com. So please, with this issue, also add api.md to this readme -> https://github.com/asyncapi/generator/blob/master/docs/README.md
cc @pratik2315 @Florence-Njeri
Code of Conduct

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

Hey @derberg I think https://github.com/asyncapi/generator#generator-version-vs-template-version should be a separate document and then I can link it whenever I mention installing a specific version of the generator and also link it when writing about template versions.

done by @Florence-Njeri

https://github.com/asyncapi/generator/blob/master/docs/installation-guide.md
https://github.com/asyncapi/generator/blob/master/docs/usage.md


Fixed closing serverSocket in doCloseServerSocket()

Thanks for the report. Fixed slightly differently (effectively the same code) to align with the existing NIO2 code.


Unclear logic in NetworkController initialisation

We have the following logics in a NetworkController class initialisation section. Here we validate declaredAddress setting and warn about the validation exceptions, but we don't use the boolean result of the validation that looks weird.
This is line 62, https://github.com/ScorexFoundation/Scorex/blob/master/src/main/scala/scorex/core/network/NetworkController.scala#L62
   //check own declared address for validity
  if (!settings.localOnly) {
    settings.declaredAddress.foreach { myAddress =>
      Try {
        val uri = new URI("http://" + myAddress)
        val myHost = uri.getHost
        val myAddrs = InetAddress.getAllByName(myHost)

        NetworkInterface.getNetworkInterfaces.asScala.exists { intf =>
          intf.getInterfaceAddresses.asScala.exists { intfAddr =>
            val extAddr = intfAddr.getAddress
            myAddrs.contains(extAddr)
          }
        } || (settings.upnpEnabled && myAddrs.exists(_ == upnp.externalAddress))
      } recover { case t: Throwable =>
        log.error("Declared address validation failed: ", t)
      }
    }
  }

Maybe the goal here is just to emit a warning that declaredAddress is badly configured. If this is the case, then maybe we should use log.warn instead of log.error.

Then we don't need (settings.upnpEnabled && myAddrs.exists(_ == upnp.externalAddress)) check and NetworkInterface.getNetworkInterfaces.asScala.exists should be NetworkInterface.getNetworkInterfaces.asScala.foreach
By the way myAddrs.exists(_ == upnp.externalAddress) is never true as upnp.externalAddress is Option and it could not ever equal to InetAddress


Updating Change Password logout animation

What

updates the change password logout animation
updates the mutation input to camel-case after a change in the Graph schema

See 👀

cc @dannyalright

nice!

@justinswart renamed the folder to /mutations/inputs 👍


Add blurb about --java-version param in init task to release notes

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Support for only backward or forward pagination arguments

To match the spec: (...) A field that returns a Connection Type must include forward pagination arguments, backward pagination arguments, or both. (...)

Thanks!
The relay part is not the nicest thing currently ... so thanks for improving that.

No kudos to you for building the Java implementation!


Add hostname to puma instrumentation

Other than e.g. the process instrumentation, the puma metrics do not include a hostname. In our setup, multiple puma containers report towards the same prometheus exporter. Without the hostname, they overwrite each others values.
There is also no option to add custom labels to the puma instrumentation either. This would have allowed us to add a hostname label on our own.
I am willing to work on a pull request for this. Which option do you prefer, always adding a hostname label, add custom labels or both?

I think it makes sense to add unconditionally
On Thu, 17 Jun 2021 at 7:37 pm, z @.***> wrote:

Other than e.g. the process instrumentation, the puma metrics do not
include a hostname. In our setup, multiple puma containers report towards
the same prometheus exporter. Without the hostname, they overwrite each
others values.
There is also no option to add custom labels to the puma instrumentation
either. This would have allowed us to add a hostname label on our own.
I am willing to work on a pull request for this. Which option do you
prefer, always adding a hostname label, add custom labels or both?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/discourse/prometheus_exporter/issues/172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABIXK6M74UNLJHNLCEEQTTTG67FANCNFSM463I3XXQ
.

Oops, I'm sorry I don't quite understand your answer as a non-native English speaker. Do you think it's best to add both an option for custom labels and the hostname unconditionally?
By the way, I saw that while other instrumentations add the hostname, it is not propagated by the server but only used to distinguish different values. This should not be needed for the puma metrics IMHO.

Sorry, I was way too short there.
I think it is fine to add hostname label for Puma unconditionally in a PR
I am also not against adding support for custom label support in puma in a different PR.

That's ok, I will try to start work on it in the next couple of days.

Hi there,
Any plans to release this?
I really need it.
Thanks


Write tests for query router

PR #65 has an implementation for a router and uses some machinery to generate getter routes for all (k,v) pairs in the store. We just want to make sure this works. There are two things to check:
(1) In the UserStore there are to (k,v,) types: (UserKey, User) and (DogKey, Dog). We want to make sure that we generate the correct routes for /user/user and /user/dog. This is actually already done.
(2) to test composability, we should check that if we made a DogStore, say with the same two (k,v,) pairs (so it also stores dogs and humans), then we can issue queries against the correct store automatically. More specifically, if we take

          userServer :: RouteT ("user" :> QueryApi UserStoreContents) IO
          userServer = allStoreHandlers userStore

          dogServer :: RouteT ("dog" :> QueryApi DogStoreContents) IO
          dogServer = allStoreHandlers dogStore

          api :: Proxy (("user" :> QueryApi UserStoreContents) :<|> ("dog" :> QueryApi DogStoreContents))
          api = Proxy

          serveRoutes :: Application IO
          serveRoutes = serve api (Proxy :: Proxy IO) (userServer :<|> dogServer)

and issue queries against /user/dog /user/user, dog/dog, dog/user that they all work

Rather than putting everything under /user I made a /dog and /user store with 2 routes each.
#65 has the latest and the tests are passing. I think we can consider this closed, unless we want to wait until its all merged into master.

One thing I noticed while writing the test was that it took me a little to realize that the instance:
instance Queryable Lab where
  type Name Lab = "lab"

established lab as a part of the route. From what I understand this is where we associate the Lab type with <some-store-path>/lab. I'm pretty ignorant about how everything fits together but if the type of the route could do the association, it could be more straightforward. I.e. :
type API = "dog"  :> "lab" :> StoreKey LabKey :>  QueryApi DogStoreContents Lab

Again I don't really understand how it all works so this could be super difficult but it reminds me more of how Servant described the API. These are just suggestions I thought of while writing the tests.


Make llm-blender available on PyPI

Hello @jdf-prog now that #22 is resolved, I'd like to make one final request to see whether llm_blender could be made available on PyPI so that one can run:
pip install llm_blender

This would allow us to include llm_blender as an optional dependency in TRL instead of asking the user to run the pip install git+{} command.
Thank you!

Hi @lewtun You can now install with pip install llm-blender. Thanks for the suggestion!

Amazing, thank you so much!


Latest flutterfire_ui could not build in web

When run   flutter build web --release
cloud_firestore_web-2.6.10/lib/src/internals.dart:11:20:
Error: Method not found: 'guardWebExceptions'.
  return internals.guardWebExceptions(
                   ^^^^^^^^^^^^^^^^^^
Error: Compilation failed.

This is because some firestore packages are updated within the package.

Similar Issue here:
Target dart2js failed: Exception: ../../../flutter_windows_2.8.1-stable/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.2.10/lib/src/utils/errors.dart:20:20:
Error: Method not found: 'guardWebExceptions'.
return internals.guardWebExceptions(
^^^^^^^^^^^^^^^^^^
Error: Compilation failed.

@richard457 Try this: https://stackoverflow.com/questions/71261321/flutter-app-running-on-web-failing-with-error
You can try to add 6 dependencies, as mentioned in the answer. It should resolve the issue with guardWebException. It worked in my case.
@dreamsandcode You should also try adding these dependencies in pubspec.yaml

@richard457
Check this comment and upgrade as mentioned in it and see if it helps to resolve the issue.

Make sure to add:
dependencies:
 firebase_core: ^1.13.1

This was the solution for me. I previously had 1.12.0. Thank you @rrousselGit

firebase_core: ^1.12.0 ->  firebase_core: ^1.13.1
cloud_firestore: ^3.1.8 -> cloud_firestore: ^3.1.10
firebase_analytics: ^9.1.0 -> firebase_analytics: ^9.1.2
This works for me, greetings!

Make sure to add:
dependencies:
 firebase_core: ^1.13.1

This helped me a lot, thanks


Significant compile-time regression vs. 2.0.15

We are observing a significant (~2X) compile-time regression using the latest Error Prone from git master vs. 2.0.15.  We strongly suspect that the updated version of javac (9-dev-r3297-1 vs. 1.9.0-dev-r2973-2) is the cause of the problem.  Unfortunately I don't have a small test case I can share at this point to make it easy to reproduce (working on it).  Posting this issue in case anyone else has noticed this regression and has a workaround, a pointer to an upstream JDK 9 issue, etc.

It might be JDK-8171294. Do the affected compilations have long classpaths?

Yes, the classpath can be quite long!  Looks like the issue arose recently too.  Is there a plan to pull the fix for this issue into error-prone-javac?

Yes, I'll backport the fix into the next release.

Wonderful, thanks!

Can we get a fix for #375 as part of the next release as well? :)

For some additional context here, we are running Error Prone 2.0.15, but we had to pull in the more recent javac (to get the fix for JDK-8059976) and then patch it to address #375.  Now, we are stuck with the compile time regression described here, and we can't go back to the previous javac as we need the aformentioned fixes.  So, when this fix gets backported, it'll make a big difference for our build times.
Just so we can get an idea, is there a rough ETA on when this fix might get backported?  Thanks!

I backported the fix, and am working on a release: google/error-prone-javac@3c696b83205bf0f95ebf0402f394076bd27386e1

Thanks so much!  We'll be testing the new release as soon as it's available.

@msridhar - the latest snapshot includes the fix: https://oss.sonatype.org/content/repositories/snapshots/com/google/errorprone/error_prone_ant/2.0.16-SNAPSHOT/

We tested the snapshot build and we are seeing some good performance improvements.  (We still have some additional slowness inside Dagger, compared to running on 2.0.15.  Not exactly sure why, but Dagger pulls in google-java-format, which in turn pulls in the version of error-prone-javac with the performance issue, so that might be the cause.)  Thanks again!

It would be great to get those updated to javac-9-dev-r3297-2-shaded once its released

@msridhar thanks for confirming! I'll get the release started.
@kageiit google-java-format only depends on javac for parsing, it doesn't do any compilation. It shouldn't by affected by this.

The fix has been released in 2.0.16.


Add 手机百度 to the showcase page

By analyzing the blame information on this pull request, we identified @lacker and @alexleventer to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

@zimengle updated the pull request - view changes

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

I think you can check this PR #9807 to refine yours for sooner merge

@zimengle updated the pull request - view changes

@nihgwu refine done ，thanks

@zimengle updated the pull request - view changes

@zimengle updated the pull request - view changes

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review internal test results.


followed install instructions, watcher command not recognized in terminal?

I installed watcher, but running "watcher" command does nothing in the terminal except produce an error, does this tool still work?

I'm not familiar with golang as well, so I don't know what those three dots mean but it worked.


Only works with paragraph lines?

Hi, and thanks again for this very nice little plugin.
I waw wondering, is it normal that it only detect a line to split if said line starts a paragraph (= created by pressing Enter)?
It would be nice for it to work with every linebreak, even those created by resizing a text block (by pulling its handles vs. by pressing Enter).

ahh, clever! had never thought that

Unfortunately, yes, it only works with line breaks. When text continues on the next line, it's call a line wrap and not a line break. Line breaks are easy to detect but lines wraps would be really difficult. I'm not a good enough programmer to figure out how to detect line wraps in Sketch. I think that's a project for a real developer :)

Thank you for your answer (and for the vocabulary :)
I had no idea of the difficulty. And thanks again for the plugin!


Ranlib called on all binary files

Please follow the general troubleshooting steps first:

[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[x] Confirmed this is problem with Homebrew/brew and not specific formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/new

Bug reports:
When installing files in a formula ranlib is run against all binary files, even things like fonts. Naturally fonts don't have symbols so ranlib fails and the formula then fails.
The following formula shows some of the issues when you brew install ./ranlibtest.rb --with-binaries
class Ranlibtest < Formula
  desc "Ranlib Test"
  homepage "https://brew.sh/"

  url "https://static.rust-lang.org/dist/rustc-1.13.0-src.tar.gz"
  sha256 "ecb84775ca977a5efec14d0cad19621a155bfcbbf46e8050d18721bb1e3e5084"

  option "with-binaries", "keep binaries around to trigger the problem"

  def install
    if build.without? "binaries"
      # Remove any binary files; as Homebrew will run ranlib on them and barf.
      rm_rf Dir["src/{llvm,test,librustdoc,etc/snapshot.pyc}"]
    end
    (pkgshare/"rust_src").install Dir["src/*"]
  end

end

The output of brew config:
HOMEBREW_VERSION: 1.1.5-66-g4ca2eaf8d
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 4ca2eaf8dfd0e6cac169a61e1b786f074c942b1d
Last commit: 24 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 9d524e4850651cfedd64bc0740f1379b533f607d
Core tap last commit: 18 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.11.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/camdennarzt/.rbenv/shims/ruby => /Users/camdennarzt/.rbenv/versions/2.4.0/bin/ruby
Java: 1.8.0_72
macOS: 10.12.2-x86_64
Xcode: 8.2.1
CLT: <IP_ADDRESS>.1.1480973914
X11: 2.7.11 => /opt/X11

brew doctor:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:
  apr

Hi, Is this still open to try? I want to work on fixing this issue.

@krypten Yes, still open. Go for it!

@MikeMcQuaid Sure, I will start working on it.

Error shown while running the brew install ./ranlibtest.rb --with-binaries
Error: Failed changing dylib ID of /Users/krypten/project/Homebrew/brew/Cellar/ranlibtest/1.13.0/share/ranlibtest/rust_src/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32l
  from a.out
    to /Users/krypten/project/Homebrew/brew/opt/ranlibtest/share/ranlibtest/rust_src/llvm/test/tools/llvm-cov/Inputs/a.out
Error: Failed to fix install linkage
The formula built, but you may encounter issues using it or linking other
formula against it.

@krypten I don't understand what you're saying/asking.

@MikeMcQuaid, I would not be able to work on this issue due my current schedule. Hope to contribute in future.


UPDATE: Draggable tags in InputField

LiveURL: https://orbit-components-update-dragable-tags-in-input.surge.sh

Known issue with: start dragging in Tags area then mouse clicked out Tags area -> dagging is still enabled. I am not sure how to solve this. Is it OK for now @honzatmn ?


Any new release soon?

Hi Ben, I have noticed that this dependency is used on a project and that the last released version is very outdated. I have  also noticed that the codebase has evolved since. Are you planning on doing a release any time soon?

hey! yes, I'll try to publish 0.5.0 tomorrow :+1:

I just released it, hopefully it will appear on central during the day :+1:


update Docs/changelog

What does this PR do?
Fixes #1385.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@williamFalcon this and we can go..


[Bug]: program is not opening

Affected Version
1.18.10
Bug Behavior
When running the program it opens and closes then
Expected Behavior
open normally
Steps to reproduce
just run the exe
Related Issues
No response
Screenshot(s)
No response
Additional Information
DxDiag.txt
(dont have the log file, idk why)

I deleted an old log folder (August 2023) and Launcher opened normally again

bugged again
log-2024-06-18-sta1.80.10-id0.log

bugged again log-2024-06-18-sta1.80.10-id0.log

please update to .11 and try again

nice, thank you for help


Try to satisfy all deps with<EMAIL_ADDRESS>

v1.2.6 requires distribution@beta1, but internal registry is not compatible with it.
v1.2.4 requires older docker@24, but buildkit requires @27.

LGTM


[#281] Don't make images read-only

Closes #281

Coverage decreased (-0.007%) to 88.325% when pulling 7b23db7539e7bbdaa55b006da9fa731dbc7af59b on feature/281-no-more-readonly into b1cd6e6b4c762f38540cef2e3e84c70e2b7a1073 on master.


Debug DeltaModel python side

This PR debugs the indexing problems in get_expert_actions  which was used last 3 dimensions before (now first 3 dimensions). Also, continuous action space is added in env_torch.py. When you run the python algorithms/il/data_generation.py, you can get this video.
https://github.com/user-attachments/assets/db08439a-702b-4669-a87e-e2f2d887aabb

Wait, I just watched the video. The agents reverse midway through the episode?

Wait, I just watched the video. The agents reverse midway through the episode?

If I understand it correctly (please lmk if I'm wrong), that is due to another bug that @KevinJeon will address in a separate PR.


Layout problem with CJK Punctuation

This issue is a Bug
Expected Behaviour
Please open this sample file by Chrome/Chromium;
https://github.com/toshiakikoike/epub_file/blob/master/cjk-punctuation/OEBPS/text/book_0002.xhtml
Observed behaviour
https://github.com/toshiakikoike/epub_file/blob/master/cjk-punctuation.epub
last punctuation(U+3002 IDEOGRAPHIC FULL STOP) show at the top

Test file(s)
https://github.com/toshiakikoike/epub_file/blob/master/cjk-punctuation.epub
Product

Readium Chrome extension

latest official version available from the Chrome Web Store

Readium cloud reader app

latest development build uploaded at https://github.com/readium/readium-js-viewer

Additional information
This markup is a little tricky.
html {
-epub-writing-mode:horizontal-tb;
-webkit-writing-mode:horizontal-tb;
}
div.chapt {
width: auto;
height: 100%;
margin-right: auto;
margin-left: auto;
text-align: left;
-epub-writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
}
But useful in Japan for vertically oriented pages centered horizontally.
Unfortunately, few reading systems support "rendition:align-x-center" function.

cloud reader link:
https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Ftoshiakikoike%2Fepub_file%2Fmaster%2Fcjk-punctuation.epub

I am not able to reproduce this bug in Readium2's Electron-based (Chromium) desktop app (not yet released, internal alpha testing only).
Also, the problem only occurs in Readium1 (cloud reeader, Chrome app, and I assume native apps that use readium-shared-js as well) in the paginated view, not the scroll mode. Test link:
https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Ftoshiakikoike%2Fepub_file%2Fmaster%2Fcjk-punctuation
So, I suspect that this is the code responsible for this rendering quirk (column-axis CSS layout):
https://github.com/readium/readium-shared-js/blob/60463c27e4417102f47df9c51e9953b2b467def2/js/views/reflowable_view.js#L385


Feature/model4 data

Model 4: Data Artifact Updates
Description

Category: data artifact
JIRA issue: MIC-2949
Research reference: https://vivarium-research.readthedocs.io/en/latest/gbd2019_models/hemoglobin_anemia_and_iron_deficiency/risk_effects/index.html#maternal-hemorrhage-incidence

Add proportion of pregnant women with hemoglobin less than 70 g/L to artifact.
Verification and Testing
Successfully created artifact, opened added data via key in artifact.

Model 4: Data Artifact Updates

Category: data artifact
JIRA issue: MIC-2949
Research reference: https://vivarium-research.readthedocs.io/en/latest/gbd2019_models/hemoglobin_anemia_and_iron_deficiency/risk_effects/index.html#maternal-hemorrhage-incidence

Add proportion of pregnant women with hemoglobin less than 70 g/L to artifact.
Verification and Testing
Successfully created artifact, opened added data via key in artifact.

Model 4: Data Artifact Updates

Category: data artifact
JIRA issue: MIC-2949
Research reference: https://vivarium-research.readthedocs.io/en/latest/gbd2019_models/hemoglobin_anemia_and_iron_deficiency/risk_effects/index.html#maternal-hemorrhage-incidence

Add proportion of pregnant women with hemoglobin less than 70 g/L to artifact.
Verification and Testing
Successfully created artifact, opened added data via key in artifact.


WCAG 2.0 Support

Describe the feature you'd like
Within the EU, Australia, Canada, Hong Kong, India, Israel, Japan, New Zeland, and the USA any government website, and in many cases publicly funded organisations like Universities or even all businesses are required under law to support WCAG 2.0 or a similar identical law.
Bookstack isn't far off WCAG 2.0 support, and obviously the content people put up must actually bother to make use of accesibility features, but there are a few things which Bookstack fails on, some within automated testing are related to contrast which can easily be fixed using a CSS override in the header.
Describe the benefits this feature would bring to BookStack users
The benefit would be improved accessibility for BookStack users with visual impairments, and that BookStack could be used in the public sector for government and publicly funded websites.
Additional context
One example of a simple change is that the search box at the top of the website doesn't have a label associated, this could be easily added into the markup.
Document language identification is another easy fix.
It doesn't seem that it would be hard to officially support WCAG 2.0 and produce some documentation on how to create content in BookStack that is WCAG compliant.

Thanks for the suggestion @unknowndomain. I agree that supporting accessibility requirements is a good idea for BookStack.
No point actioning anything now due to the design changes, which are changing most of the views, but I have instead assigned this to the next release after the redesign. We'll just aim for baseline support to close this off then any additional or new accessibility concerns can be raised as a new issue.
Something to note though, While I'm happy to aim to achieve accessibility I cannot really support or guarantee full compliance, for such public or government uses, due to the nature of the project being done in free time & non-funded.

Well this has been an interesting thing to work on. A lot of learnings that'll likely change how I do a lot of UI work going forward. Work done for this in the following commits:

5979f6667b7810bd2a574b83c54512e04e5b01cd
64abe10dc4a19128c89864367870bfb249077758
2dfe6c2d56719e03f31c74cc1d6d65e2df686031
9fbef8cd1be72cf5ee6589c38013ce615a919f7b
cf5d51e7b8c9172906f7943d2d70b6b37801a2c4
b27a5c7fb876c74c676eb9114383c25d82eb87fb
1b33a0c5b92a6e3cf8d75ce18edbac5311085a91

There have been quite a few design, functional and code changes to enhance accessibility. I discovered many dynamic elements in BookStack were not keyboard navigable, Most of which have been updated. The core layout elements have changed to better use HTML that indicates purpose. The default BookStack colors are also changing to meet Level A standards.
Things are not fully compliant, but we're a lot further along now. I have updated the project readme with information on accessibility. The main troublesome spot I think is the page editors themselves but I'll do a deeper review when we look to better align the two editors. As said above, As it stands I won't really be able to guarantee a level of compliance but we can definitely keep it in mind, make targeted improvements and review parts of the system every so often.
I'll close this issue off now since large general overall improvements have been made. For further improvements I'll allow focused issues to be raised.
These changes will be part of the next release, V0.27.


rename a few folders for clarity

Moving some files around for clarity -- there are no functionality changes.

Inference --> mcmc
modes --> optimisation
variational -- no change.
removed empty AdvancedSMCExtentions.jl test file

Happy with this, but let's wait until the currently open major PRs have been merged, e.g. #2071, to avoid any strange conflicts?

Crap. We forgot to change the module names, so things are honestly quite confusing now, e.g. folder names do not match the directories, etc.


Constant Delay

As per author: "Constant Delay; an extension I've seen that is neat is @every 1h to define a delayed task instead of a scheduled task"

This is sort of done. The short-hand syntax is not there but the constant delay is. Going to change this issue to focus on the syntax.

my_agenda.add(|| { }).schedule(Duration::seconds(10));


WS-Trust is stated as required for Federal environments, however we are stating we are retiring it.

In this document we state that WS-Trust is required for federated environment, however in our Dataverse documentation, we state that WS-Trust for o365 has been depreciated due to not meeting current encryption requirements. This is causing confusion for customers because we state here that it is required, but in the link below, we state it is insecure/risky:
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/authenticate-office365-deprecation
Please update this document to correctly reflect the situation with WS-Trust.

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

ID: c65624ff-7545-8514-4374-7dde7885ef43
Version Independent ID: 2687cf32-1618-a8d9-b249-7f31765f6856
Content: Plan your Azure Active Directory join deployment - Microsoft Entra
Content Source: articles/active-directory/devices/azureadjoin-plan.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@jwojan
Thanks for your feedback! We will investigate and update as appropriate.

There are Microsoft customers that are asking about this as a continuing requirement for federated environments. How soon will this doc update be clarified to give better guidance on this?
-Jon Wojan (MSFT)

From: Naveenommi-MSFT @.>
Sent: Wednesday, April 26, 2023 11:55 AM
To: MicrosoftDocs/azure-docs @.>
Cc: jwojan @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] WS-Trust is stated as required for Federal environments, however we are stating we are retiring it. (Issue #108787)
@jwojanhttps://github.com/jwojan
Thanks for your feedback! We will investigate and update as appropriate.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/108787#issuecomment-1523754729, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ654MZ4HYMGVDSXJR76IYTXDFHPRANCNFSM6AAAAAAXMOJC64.
You are receiving this because you were mentioned.Message ID: @.***>

@jwojan this will need to be validated by the product group before updates can be made.

#label:"awaiting-product-team-response"

Still required for devices scenarios. Other features may no longer need it but we do for Microsoft Entra hybrid joined scenarios.
#please-close

We need to clarify the issue on the insecure part and what compliance regimens they will be out of compliance with by using Hybrid Joins. Is that really what you are saying?


Global sub account filter on customer-admin-dashboard

Action: remove sub account filter from individual table filters.
Sub account filter should only be responsible for setting the sub account in global state / React Context.
Add sub account filter to prominent placement in SecondaryTopBar


[Bug]: Chrome Extension always reinstall when startup puppeteer App

Bug description
I have installed this extension below
https://chrome.google.com/webstore/detail/microsoft-editor-spelling/gpaiobkfhnonedkhhfjpmhdalgeoebfa
I can see, the chrome browser will reinstalling the extension for every time when you run the code below.
(async function(){
const browser = await puppeteer.launch({
userDataDir:'C:\\Users\\xxxxxx\\AppData\\Local\\Google\\Chrome\\User Data',
executablePath:'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
headless:false,
ignoreDefaultArgs:['--enable-automation'],
args:['C:\\Users\\xxxxxx\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Extensions\\gpaiobkfhnonedkhhfjpmhdalgeoebfa\\1.2211.1007_0' ]
});
    const pages=await browser. Pages();
    const page=pages[0];
   await page.goto("https://www.bing.com/");
})();

Additionally, if you make an extension by yourself there is have same issue.
chrome.runtime.onInstalled.addListener((reason) => {
const t = Date.now();
console.log('chrome.runtime.onInstalled','reason',reason,t);
chrome.tabs.create({ url: `https://www.google.com/?${t}` });
  }
);

Puppeteer version
19.3.0
Node.js version
14.17.0
npm version
6.14.13
What operating system are you seeing the problem on?
Windows
Configuration file
No response
Relevant log output
No response

Hey @freewong this is not a thing puppeteer has control over, so I will be closing the issue. You can feel free to open this issue on the Chrome bug report - https://bugs.chromium.org/p/chromium/issues/list.


Define onTokenExpired event

Is your feature request related to a problem? Please describe.

Currently SDK users need to implement a token refresh process if they want to keep a user logged in. This works fine, but could be easier for SDK users when a token expired, as token expiration HTTP 401 may require some logic to be differentiated from regular HTTP 401 status code.
Describe the solution you'd like

Describe alternatives you've considered

Check for HTTP status code equals 401 and send a token refresh request.
Pseudo-code, yet to be tested:
    public onTokenExpired: () => void;

    public tokenExpired(): void {
        if (this.onTokenExpired) {
            this.onTokenExpired();
        }
    }

Additional context

The responsibility on making the decision of refreshing a token or not doesn't change. It'll still be up to the SDK consumer to decide what to do.
We just want to assume the logic that will check the HTTP 401 Unauthorized response to tell which ones are related to token expiration and notify the client app.

Hi, @jfoliveira!
I just wanted to make sure I understood correctly the issue. Currently, the SDK exports a refreshTokenUser function. For any API request, the conditional as to whether the 401 is for an expired token or an unauthorized request is still being done client-wise, right? Therefore, this implementation would differentiate the two 401s, and, for example, for a given response, maybe add in the axios response intercept an error?

Therefore, this implementation would differentiate the two 401s

Correct.

for example, for a given response, maybe add in the axios response intercept

That could be a starting point.
The most important criteria is that a client application consuming this SDK, when initializing an instance of Devopness API client should be able to provide a callback to be invoked once the tokenExpired event is dispatched.
Example, pseudo code from a user consuming Devopness SDK-JS and logging the event to the console:
import { DevopnessApiClient } from '@devopness/sdk-js'

// 1) consumer initialize DevopnessApiClient instance
const devopnessApi = new DevopnessApiClient();

// 2) consumer defines its own event handler for the`onTokenExpired` event:
public doThisWhenDevopnessTriggerTokenExpiredEvent(): void {
  console.log('Devonpess `tokenExpired` event has been triggered.');
}

// 3) consumer tells client instance to invoke a custom method when the event is triggered:
devopnessApi.onTokenExpired = doThisWhenDevopnessTriggerTokenExpiredEvent;

// any other code interacting with Devopness SDK:
const userTokens = await devopnessApi.users.loginUser(...)

Then, on the SDK itself, we could check if the consumer defined an event handler and - if so - we trigger the externally defined method:
    public onTokenExpired: () => void;

    public tokenExpired(): void {
        if (this.onTokenExpired) {
            this.onTokenExpired();
        }
    }

Let us know if you have further questions.


Language Bug

Issue checklist
Note: these are not necessarily requirements

[x ] I have checked existing OPL issues for duplicates and found none @ http://psx-scene.com/forums/official-open-ps2-loader-forum/ & https://github.com/ifcaro/Open-PS2-Loader/issues

Open PS2 loader version
Current
Open PS2 loader mode (USB, SMB, HDD)
USB, SMB, HDD
Open PS2 type (Normal, Childproof, VMC, GSM, PS2RD)
All
Issue description - Describe the problem you are having
So.. I inadvertently created a bug with the language update, when saving an external language that is booted from a device other than MC to OPL config, upon next boot up there will be no font rendered...
thanks to @Tupakaveli for finding the bug.
I was able to narrow it down to guiUpdateScreenScale() needing to be called later in the init cycle than applyConfig is.. so by using a deferred call
ioPutRequest(IO_CUSTOM_SIMPLEACTION, &guiUpdateScreenScale);
after _loadConfig() in init.. this fixes the bug..
I just wanted to run it past you guys for approval before I make a pull request.
@rickgaiser (sorry I know you're busy with newlib)
@sp193 (sorry I know you're busy in general)
Cheers guys

I totally forgot about this check.
I've the same issues as it is described.
Anyway, theoretically loading themes is (currently) almost identical to languages\translations,
so I don't know if this another issues might also effect some other stuff:
https://www.psx-place.com/threads/open-ps2-loader-v0-9-3.13415/page-41#post-202250.

resolved in upcoming pull request

Theoretically this problem still exists.
I mean after fixing thm, something was messed up once again in lng.


Render react attributes

Added an optional parameter to the Render method of IReactCompoment interface with default value to true. This won't change the behavior of the existing applications. On the other hand gives the flexibility to not render the React data attributes during server side rendering if there is a need. Internally has implemented by calling React.renderToStaticMarkup method instead the default React.renderToString. I changed the corresponding method in HtmlHelperExtensions class. At last I didn't figure out how to make sure that my code lints. Is there a tool or something like this we have to execute? #127

There's already a clientOnly setting that does not do server-side rendering, only client-side rendering. Perhaps this flag should follow a similar naming convention and be called serverOnly?

At last I didn't figure out how to make sure that my code lints.

I don't have any experience with C# linting tools. I'll probably try to set up FxCop or something similar at some point. One thing I did notice is that this diff is using spaces for indentation - Please use tabs instead :)

Thanks for the comments @Daniel15 I hope I fixed all the issues. If I sould change anything else please let me know.

Thank you! Sorry I took a while to get to this, I was on a flight from the USA to Australia last week and haven't gotten around to checking emails and stuff until now.

Never micnd Daniel! Happy I helped!


[MTSource] ST Adapter start returns error instead of panic

Signed-off-by: Ansu Varghese<EMAIL_ADDRESS>Fixes #195

Proposed Changes

One line change to remove panic when kafka group cannot be started due to bootstrap server url, auth issues etc. Instead, an error is returned.

k get kafkasource (with MT adapter)
NAME            TOPICS         BOOTSTRAPSERVERS                                   READY   REASON   AGE
kafka-source    ["my-topic"]   ["my-cluster-kafka-bootstrap.kafka.svc:9092"]      True             6m25s
kafka-source1   ["my-topic"]   ["my-cluster-kafka-bootstrapppp.kafka.svc:9092"]   True             5m20s
kafka-source2   ["my-topic"]   ["my-cluster-kafka-bootstrap.kafka.svc:9092"]      True             69s

k get kafkasource (with ST adapter)
NAME            TOPICS         BOOTSTRAPSERVERS                                   READY   REASON   AGE
kafka-source    ["my-topic"]   ["my-cluster-kafka-bootstrap.kafka.svc:9092"]      True             6m25s
kafka-source1   ["my-topic"]   ["my-cluster-kafka-bootstrapppp.kafka.svc:9092"]   False   DeploymentUnavailable   19s
kafka-source2   ["my-topic"]   ["my-cluster-kafka-bootstrap.kafka.svc:9092"]      True             69s

ST adapter behavior - pod crashes for bad config
k get pods
kafkasource-kafka-source1-c82a8015-169f-4d09-9cd9-c0749200l5cf8   0/1     CrashLoopBackOff   5          5m34s

MT adapter behavior - pod does not crash letting other kafka sources to continue working
k get pods -n knative-eventing
kafka-controller-manager-f96fb5bb6-z45bm   1/1     Running   0          44m
kafkasource-mt-adapter-0                   1/1     Running   0          7m19s

/retest

/retest

kafka-source1   ["my-topic"]   ["my-cluster-kafka-bootstrapppp.kafka.svc:9092"]   True             5m20s

should that be really true? As in... is the source ready w/ a WRONG url ?  Not sure I fully understand here.

should that be really true? As in... is the source ready w/ a WRONG url ? Not sure I fully understand here.

Yup that's indeed not ideal in the single-tenant case. In the short term we can have a flag distinguishing between the two.

kafka-source1   ["my-topic"]   ["my-cluster-kafka-bootstrapppp.kafka.svc:9092"]   True             5m20s

should that be really true? As in... is the source ready w/ a WRONG url ? Not sure I fully understand here.

@matzew I forgot to include in desc that in ST case, sources with bad config do return ready=false status, as before this fix.
kafka-source1   ["my-topic"]   ["my-cluster-kafka-bootstrapppp.kafka.svc:9092"]   False   DeploymentUnavailable   19s

There's more work to do for MT case, as discussed with Lionel for bad source statuses. Not in scope of this PR. But for MTSource, a bad source doesn't take down the adapter anymore.


v0.21.06 update list

Dependencies update (NPM and highlight.js)
Issue component dev

Images cannot be seen anymore.


RN 0.72.3 compile issue

Hello, could you help me with this one?
> Task :sendbird_react-native-scrollview-enhancer:compileDebugKotlin FAILED
'compileDebugJavaWithJavac' task (current target is 11) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
e<EMAIL_ADDRESS>(60, 1): Class 'MaintainVisibleScrollPositionHelper' is not abstract and does not implement abstract member public abstract fun willMountItems(p0: UIManager!): Unit defined in com.facebook.react.bridge.UIManagerListener

Hi @sn4f starting from version 0.72.0 and later, React-Native provides all the features(bidirectional scroll, onStartReached) in FlatList, so you do not need this library.

@bang9 thanks

Ive just run into this same problem, it really should be removed form the introduction documentation if it is not required anymore.

@Jtmaca9 Hi, we provide a note for this.

As a library provider, we need to consider users who are using versions below 0.72.
At the time of the 0.75 release, as we will have sufficiently moved away from the 0.72 version, we plan to update the note as follows.

Note: If you're using React-Native 0.71.x or lower, you should install @sendbird/react-native-scrollview-enhancer.


net.UnixListener unlinks socket files inherited via socket activation

docker can use systemd for socket activation. docker creates a net.UnixListener using net.FileListener on the inherited fd. naturally, upon shutdown, docker calls Close on the net.Listener.
in unixsock_posix.go, Close calls syscall.Unlink on the file name that was found via getsockname. this code has been there since at least 2011.
the result of this is that upon the socket-activated service (docker) restarting, the service will reconnect to the inherited file descriptor, but clients of that socket will no longer be able to reach it because the socket file in the filesystem is gone, and never recreated.
this seems to have been worked around in docker in docker/docker@053c3557b3198466ecfbe066fefdbab2a78771d5, but this affects any socket-activated go program that 'properly' Closes it's UnixListeners.
if the UnixListener was not responsible for creating the socket file, it should not unlink the socket file on Close.

This can be triggered without docker, systemd, etc by e.g. passing an FD of a listening unix domain socket to multiple children, each child using net.FileListener and running its own Listen+Accept loop. When the first child exits, it'll also remove the socket file, preventing new client connections.


runc install path changed from /usr/local/bin to /usr/local/sbin

This is due to https://github.com/opencontainers/runc/pull/702

LGTM, thanks!

LGTM 🐯
Question though : shouldn't we do the same (put things into sbin instead of bin) ?

LGTM
Merging since CI won't test this change.

@vdemeester possibly, but don't want to risk changing things so close to the release

@thaJeztah completely understandable :stuck_out_tongue_closed_eyes:

For reference #21941


[Game Crash] Raspi 3B Debian Bookworm: Crash during Startup

Describe the crash
Starting game from commandline on RP3B, it shows the first splash screen, then crashes.
OutFox-alpha-0.5.0-pre042-18.04-arm64-arm64v8-modern-date-20231225
on Rasperry Pi 3B, running latest "Bookworm" Debian based Pi image.
Works fine when starting from a remote X connection through ssh -X , so looks like local graphics issue.
ProjectOutfox.Crash.2024-02-08--15.02.52.log
ProjectOutfox.MainLog.2024-02-08--15.02.52.log
How can you reproduce the error?
Starting game from commandline on RP3B,
OutFox-alpha-0.5.0-pre042-18.04-arm64-arm64v8-modern-date-20231225
on Rasperry Pi 3B, running latest "Bookworm" Debian based Pi image.
Screenshots/Videos
No response
Game Mode
None
Additional Information
No response

have you enabled the pi's opengl driver?

from glixinfo:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Broadcom (0x14e4)
Device: VC4 V3D 2.1 (0xffffffff)
Version: 23.2.1
Accelerated: yes
Video memory: 908MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL vendor string: Broadcom
OpenGL renderer string: VC4 V3D 2.1
OpenGL version string: 2.1 Mesa 23.2.1-1~bpo12+rpt3
OpenGL shading language version string: 1.20

how are you starting the game? as that renderer string is not what the log shows, we get the LLVM software pipe

from commandline:
./OutFox
(out of an xfce4-terminal window within Openbox)

are you able to join our discord so we can do some more testing? I apologise for the delay in responding


After upgrading Presta to <IP_ADDRESS>, the module only displays for default language

Expected behavior
display module for all shop language versions
Actual behavior
after upgrading Presta to <IP_ADDRESS>, the module only displays for default language
Steps to reproduce the behavior
changing store language to English or Polish. Then the module doesn't show in the cart
Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: v4.4.2
PHP version: 7.2

Hi @ambientmarketing ,
Thank you for your message.
Please try to follow the provided steps in this issue here -https://github.com/mollie/PrestaShop/issues/446
And let us know if it helps!
--
Best regards,
Invertus Support team

Its working! Thank you!

Nice!
Marking issue as resolved.
--
Best regards,
Invertus Support team


Feature Request : Backup restore working on Windows

"Backup restore is still experimental and currently works only on UNIX based systems."
Would be great if we can have it on Windows too
(Love your work btw, no rush or anything, but just mentioning this as I wanted to use it)

I may reconsider it in the future depending on the users demand but at least for the time being I'm not planning working on this as it will complicate unnecessary a lot of the internals for very little benefit.
If you need to restore a backup, you can manually unzip the archive and replace your existing pb_data directory.
User contributions are also welcomed (the backup restore code can be found at https://github.com/pocketbase/pocketbase/blob/fadd12cd225ee6056b29bd4d3d40d825d644d665/core/base_backup.go#L133.

Tried to restore the backup manually, did not work
Checked before if the collections were the same with import / export collections, it says "
Your collections configuration is already up-to-date!"
Had this bug :
2023/09/29 10:47:55 Failed to apply migration<PHONE_NUMBER>_updated_users.js: constraint failed: UNIQUE constraint failed: _collections.name (2067)
I renamed the collections at some point

Should I copy / paste the migrations file from the server too ?

@MarArMar Without context or at least some reproducible steps I'm not sure how to help you.
Note that if you want to sync your db schema between different environments, the recommended approach is to use migrations (Go or JS). The prebuilt executable comes with automigrate enabled by default which will produce automatically a migration file in pb_migrations that you can safely commit to your repo and deploy to your targetted environment.

Ok interesting thanks
Will update if I solve the problem

Would be solved by https://github.com/pocketbase/pocketbase/issues/48

If you have a local pb_migrations and trying to restore a backup from some other environment then it could fail because on initialization it will try to apply the missing local migrations on top of the backup. In the case of using a backup from somewhere else, you can delete your pb_migrations and start the application as usual with the new pb_data, but again the recommended approach to sync schema changes between environments is to use the migrations.

@ganigeorgiev Ok indeed deleting pb_migrations worked thanks


Ruby 1.8.7 - Could not find RubyGem cucumber (>= 0) (Gem::LoadError)

Can you please let me know what is the issue
Operating system - windows 7
Ruby 1.8.7
Gem version 1.5.2
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:861:in report_activate_error': Could not find RubyGem cucumber (>= 0) (Gem::LoadError)                 from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:255:in activate'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1204:in `gem'
from C:/Ruby187/bin/cucumber:18

Ruby 1.8.7 has reached EOL (End Of Life) years ago.
Please upgrade to newer versions.


how to implement the api to workspace?

and how to create bauble.

IDEA: File->Project Structrue->Libraries->[+](create a lib)->[+](attach files or dirs to lib 'xxx')->[OK]
Eclipse: (right click your project)->Properties->Java build path->Add external jar->..........->[Apply and close]
Create baubles: class NewBauble implements baubles.api.IBauble

Thanks!

This structure also works:
https://github.com/Frontrider/thaumic_arcana


Collaboration lobby UI improvements

The lobby for collaborations could use some artistic cleanup and an improved UI, from someone with an artistic eye.

The Lobby UI lives in its own module. If there is interest, e.g. because you would like to work on this bug but have a hard time making sense of this code, I could hack up a little main function that would use interactionOf to allow you to test and edit this code directly in CodeWorld.


Update 13-use-tools-to-optimize-power-bi-performance.md

Error in the command
Lab title: 13-use-tools-to-optimize-power-bi-performance
Task: Address BPA issues step 6
Fixes # .
Changes proposed in this pull request:
At 424 line (223 loc)
Remove the C# at the end.
Otherwise, this step won't work and gives 1 error when you try to run it.

Please, process it


FSDP checkpointing uses deprecated APIs with PyTorch 2.2

Bug description
See added deprecation warnings in https://github.com/pytorch/pytorch/pull/113867
What version are you seeing the problem on?
v2.2
How to reproduce the bug
Originated from
https://github.com/Lightning-AI/pytorch-lightning/blob/b097a4df3f3fa8b4465861ccab17a44a8ae1ebb9/src/lightning/fabric/strategies/fsdp.py#L496
We already use the newer API for loading
https://github.com/Lightning-AI/pytorch-lightning/blob/b097a4df3f3fa8b4465861ccab17a44a8ae1ebb9/src/lightning/fabric/strategies/fsdp.py#L563-L566
Error messages and logs
/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/state_dict_saver.py:31: UserWarning: 'save_state_dict' is deprecated and will be removed in future versions.Please use 'save' instead.
  warnings.warn(

Environment
No response
More info
No response
cc @awaelchli @carmocca

Two more which probably need to be fixed in PyTorch
/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/_shard/sharded_tensor/api.py:1132: UserWarning: Please use DTensor instead and we are deprecating ShardedTensor.
  warnings.warn(DEPRECATE_MSG)

From (print_stack added by me):
  File "/home/carlos/stuff.py", line 29, in <module>
    fabric.save(f"{compile}_before_fwd", {"model": fmodel})
  File "/home/carlos/lightning/src/lightning/fabric/fabric.py", line 770, in save
    self._strategy.save_checkpoint(path=path, state=_unwrap_objects(state), filter=filter)
  File "/home/carlos/lightning/src/lightning/fabric/strategies/fsdp.py", line 484, in save_checkpoint
    converted = obj.state_dict()
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1922, in state_dict
    hook_result = hook(self, destination, prefix, local_metadata)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/fsdp/_state_dict_utils.py", line 737, in _post_state_dict_hook
    local_shape = tensor.shape
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/_shard/sharded_tensor/api.py", line 1134, in __torch_function__
    traceback.print_stack()

/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/filesystem.py:151: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  if tensor.storage().size() != tensor.numel():

From (print_stack added by me):
  File "/home/carlos/stuff.py", line 29, in <module>
    fabric.save(f"{compile}_before_fwd", {"model": fmodel})
  File "/home/carlos/lightning/src/lightning/fabric/fabric.py", line 770, in save
    self._strategy.save_checkpoint(path=path, state=_unwrap_objects(state), filter=filter)
  File "/home/carlos/lightning/src/lightning/fabric/strategies/fsdp.py", line 496, in save_checkpoint
    save_state_dict(converted_state, writer)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/state_dict_saver.py", line 40, in save_state_dict
    return _save_state_dict(
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/state_dict_saver.py", line 280, in _save_state_dict
    return distW.all_reduce("write", write_data, finish_checkpoint)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/utils.py", line 210, in all_reduce
    local_data = map_fun()
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/state_dict_saver.py", line 270, in write_data
    all_writes = storage_writer.write_data(final_local_plan, planner)
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/filesystem.py", line 470, in write_data
    _write_files_from_queue(
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/filesystem.py", line 284, in _write_files_from_queue
    loader.start_loading()
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/filesystem.py", line 179, in start_loading
    self._refill()
  File "/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/filesystem.py", line 150, in _refill
    traceback.print_stack()

If the newer save is used, the argument order seems to have changed in https://github.com/pytorch/pytorch/pull/117772
/home/carlos/nightly-env/lib/python3.10/site-packages/torch/distributed/checkpoint/utils.py:409: UserWarning: The argument order of save has been changed. Please check the document to avoid future breakages.
  warnings.warn(

This probably applies to load too. I haven't tried it

I agree we need to update these imports.
The change in argument order is only in nightly, but since lit-gpt relies on that, we should start incorporating this asap.

Technically lit-gpt doesn't rely on nightly since the 2.2 release.
I opened #19463

Also opened https://github.com/pytorch/pytorch/issues/119802 upstream. We might want to silence these after this is resolved

https://github.com/pytorch/pytorch/issues/119800#issuecomment-1942156271 suggests that we should replace (in 2.2+) most of what we have with {get,set}_{model,optimizer}_state_dict functions in https://github.com/pytorch/pytorch/blob/v2.2.0/torch/distributed/checkpoint/state_dict.py


Reuse ChartUtils and TableUtils instances created with the same JSAPI object

We're doing new ChartUtils(dh) in a bunch of places; which could result in multiple ChartUtils objects that are pretty much the same. Not the biggest deal, but, we could provide a static method to get an existing chart utils object based on the API... and just call ChartUtils.get(dh) (or a util function getChartUtils(dh)) instead. Could use WeakMaps to they get cleaned up automatically if the API gets garbage collected as well.
Originally posted by @mofojed in https://github.com/deephaven/web-client-ui/pull/1258#discussion_r1185185020

No real urgency to this, would be nice cleanup though.


⚒[FEATURE] MailChimp Integration

Describe the feature you'd like
MailChimp Integration
Docs: https://mailchimp.com/developer/marketing/api/campaigns/
✅Tasks

[ ] Add MailChimp action node.

🎯Acceptance Criteria

[ ] MailChimp action node should have some key Marketing APIs from the docs implemented such as list, add, update, delete, send.

👨💻How to contribute
Follow this guide for step by step on how to fork, commit, and submit PR.
🧱 How to create node

Action node guide
Trigger node guide
Webhook node guide

More info
Like to work on this issue? Let us know, and we will assign it to you 🚀
If you need any help or just want to hangout, reach out to us on our Discord server👾

Hii @HenryHengZJ I m new in the backend but I wanted to work into it. In order to learn the backend. So if you help me with it I can work on it. Can you assign it to me?

sure! reach out to us or anyone in our Discord if you need any help

@HenryHengZJ Can I use atlas instead of mongo installed locally?

@HenryHengZJ

I m getting this error.

@utkarsh4321 yes you can. Replace this mongodb://${process.env.MONGO_HOST || 'localhost'}:27017/outerbridge with mongodb+srv://<user>:<password>@cluster0.qskldy2.mongodb.net/outerbridge?retryWrites=true&w=majority. Replace those values with your user, password and clusters

@HenryHengZJ one more thing I need to take api key under my account and create an action node. And test everything. And then create PR. After that, you will use your Outerbridge API key to validate everything.

@HenryHengZJ  Where I will put my API KEY in your project so that where I want to access it I will access it. And you can also configure it easily.


qemu: disable pdpe1gb on Intel Mac

https://stackoverflow.com/a/72863744/5167443
Workaround for #1485

I'm just confused why this is not required with earlier versions of qemu; don't they enable large page sizes by default?

QEMU v8.0.0-rc1 bumped up the EDK2 binary (https://gitlab.com/qemu-project/qemu/-/commit/86305e864191123dcf87c3af639fddfc59352ac6), that might be the reason.


Fix imports so it can be built as a framework

See http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/
Needs Review: @astralbodies

https://github.com/wordpress-mobile/WordPress-iOS/issues/4434

:shipit:


feat: add wow-cli supports quick generation based on the Wow project structure

https://github.com/Ahoo-Wang/wow-project-template


Semantic Versionning flowy

I'm currently trying to run locally the project on my PC in order to contribute.
The thing is, I have a bug when I try to link a block to another on the demo project and the error comes from flowy.js itself (line 364 if you wondering).
I assume that the current live demo isn't running on the last master's commit but I'm not able to check it myself since the flowy.js is not signed with a header that could allow us to check the version of the file.
What do you think about beginning to do that?

Already fixed the issue, I wasn't keeping the demo folder up to date ^^


[BUG] Toggle is initially shown as checkbox before displaying correctly

Describe the bug
Has anyone seen this before?
When the toggle is initially displayed on the browser it is shown as a checkbox and then shows as a toggle.
To Reproduce
I have not produced an independent exmaple yet.
<input checked id="taxonomyMap" type="checkbox" data-toggle="toggle" data-size="sm" data-height="30" data-width="163" data-style="slow mt-2" data-onlabel="  Show Map" data-offlabel="  Hide Map">

Nothing special dealing with the toggle element

Expected behavior
I wouldn't expect to the the toggle flash as a checkbox first.
Screenshots
If applicable, add screenshots to help explain your problem.

Video showing toggle initializing
Package:

Bootstrap 5 Toggle version: [5.5.1]
Bootstrap version: [5.3.2]

Desktop:

OS: macOS Sonoma 14.6.1
Browser: Chrome
Version: Version 128.0.6613.138

Additional context
None

I have seen this.  I think that this could be solved by setting the control to hidden with CSS and then having JQuery (or JS) show it after the control has been rendered.
What this would do is show nothing until after the control is fully rendered.


CI Failure on Jenkins Firmware Compile: No space left on device

Describe the bug
The Jenkins Firmware Compile CI system fails on the PRs, for example: #7477
http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-compile/detail/PR-7477/2/pipeline#step-375-log-32
Submodule 'src/modules/uavcan/libuavcan' (https://github.com/UAVCAN/libuavcan.git) registered for path 'libuavcan'
Cloning into 'src/modules/uavcan/libuavcan'...
fatal: write error: No space left on device
fatal: index-pack failed
fatal: clone of 'https://github.com/UAVCAN/libuavcan.git' into submodule path 'src/modules/uavcan/libuavcan' failed
Cloning into 'src/modules/uavcan/libuavcan'...
fatal: write error: No space left on device
fatal: index-pack failed
fatal: clone of 'https://github.com/UAVCAN/libuavcan.git' into submodule path 'src/modules/uavcan/libuavcan' failed
CMake Error at src/modules/uavcan/CMakeLists.txt:54 (add_subdirectory):
  add_subdirectory given source "libuavcan" which is not an existing
  directory.

Thanks for reporting this as a bug. We're a little sloppy with temp scratch space because these machines are dynamically provisioned on ec2 as need and then automatically recycle on idle.

I've increased the threshold for required free disk space before a build slave is taken offline (and then terminated).


feat: support context propagation in bluebird

This PR adds support for context propagation across bluebird Promises.

@googleapis/node-team This is ready for another look. Note that the knex plugin has now been removed, it seems to be superfluous.


New Customization in 0.53 throws erroneous warning

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version): This doesn't work in Hass.io. This should be updated, but I am using 0.53
**Python release (python3 --version):**This doesn't work for Hass.io either. It should be updated. I have no idea what python version it is using.
**Component/platform:**Home Assistant. I filed a report in Hass.io and was told it is a HA problem and my issue was closed there.
**Description of problem:**Just tried out the new Customization feature of Hass.io 0.53 and it threw a warning, while actually doing what was expected. After clicking SAVE to change the default name of a camera.usps.mail entity, the change was made to the customize.yaml file and it worked as expected.
**Expected:**I expected no warning, as it all appeared to work as expected.
Problem-relevant configuration.yaml entries and steps to reproduce:

Clicked the UPGRADE link in version 0.52.1 and upgraded to 0.53
After upgrade, tried out the new Customization feature
Changed the friendly name of the camera.usps.mail entity
All seemed to work, except I got a Warning saying it would not work. See Additional info below.

Traceback (if applicable):
Additional info:

I have the following in my configuration.yaml file:
homeassistant:
  name: Home
  latitude: !secret latitude
  longitude: !secret longitude
  elevation: 701
  unit_system: imperial
  time_zone: America/Los_Angeles
  customize: !include customize.yaml

And after making the edit with the Customize function, the customize.yaml file was updated as expected:
camera.usps_mail:
  friendly_name: USPS Mail Images

So it appears that my configuration.yaml file DOES properly include customize.yaml and my changes did take effect despite the warning to the contrary.

Love this feature by the way. Hope the issue can be rectified easily.

I still get this issue on 59.2

Problem is still available on version: 0.60.0
Using an Raspberry 3 and the docker image for it.

I have confirmed this as well as still present on 0.60 on two separate RHEL installs.

I also have the issue. Complete fresh install with 0.6

I had this error line also in 0.62.1 Hassio. But I edited the customize.yaml by hand.
I started with 4 spaces in the file and it was picked up properly. I also had quotes around my friendly name.
    switch.neo_coolcam_power_plug_12a_switch:
      friendly_name: 'Lamp boven bank'
      icon: mdi:spotlight-beam

After saving this customization in the GUI, the spaces and quotes are gone in the file.
switch.neo_coolcam_power_plug_12a_switch:
  friendly_name: Lamp boven bank
  icon: mdi:spotlight-beam

Now I don't have the error anymore.

seeing this issue in .63 install. oddly i edited the name of about 5 or 6 devices and then this warning started showing up and won't go away. i see the entries get added to the customize.yaml file though.

I can confirm this with Hass.io on Raspberry 3, version 0.64.0. Customization from UI works fine and values are saved to customize.yaml, but it always gives me that same error after save. Haven't found why it does that.
My configuration.yaml homeassistant-tag:
homeassistant:
  name: Home
  latitude: !secret latitude
  longitude: !secret longitude
  elevation: !secret elevation
  unit_system: metric
  time_zone: !secret timezone
  customize: !include customize.yaml

This still appears to be an issue on 0.80. Clean install on Ubuntu 18.04

Clean install of hass.io + configurator + lovelace migration.
The first time a change was accepted without the error, next changes this error occurred but changes are incorporated.
I am not 100% sure but I believe
Customization file
customize: !include customize.yaml
is the problem. Those are lines 13 and 14 of my configuration.yaml and when I remove the indentation, no more complaints.

Still an issue on the latests dev commit (https://github.com/home-assistant/home-assistant/commit/b697bb7a26146cf9365b43c5cca89807676f2435)

I have the same issue on version 0.93.1 on HassOS 1.13. I get the warning but everything seems to work.


Bitcode for WatchOS

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
Updated Xcode to version 12 and recompiled Alamofire inside WatchOS project.
What did you expect to happen?
I expect a clean build without warnings / errors.
For WatchOS projects it's required to have bitcode enabled.
What happened instead?
All bitcode will be dropped because Carthage/Build/watchOS/Alamofire.framework/Alamofire was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
Alamofire Environment
Alamofire version: master
Xcode version: Version 12.0 beta 5 (12A8189h)
Swift version: Swift 5
Platform(s) running Alamofire: watchOS
macOS version running Xcode: Catalina 10.15.6

Hmm. Xcode 12 only shows the Bitcode setting for iOS targets, nothing for watchOS. I'm pretty sure it's mandatory for watchOS anyway. In any case, Alamofire doesn't set any custom settings here, so you should look at your Carthage settings, as there are known issues with Carthage and Xcode 12. Directly building our watchOS example doesn't produce this warning. Do you have an example project which reproduces this issue?

Closing, as this is likely a Carthage issue. Feel free to open a new issue if it can be replicated without using Carthage.


fix(workflows, docker): Allow to manually trigger build/deployment with deployment options.

WHAT
The build workflow can now be manually triggered on the release branch with deployment options (towards maven, towards docker).
WHY
In case that the published packages are fine (no hotfix needed) but the docker images need updates (e.g. if a base image package is obsolete/out-of-date or some meta-data are missing), it should be possible to invoke the build/deployment without having to tamper with version tags.
FURTHER NOTES

a docker base image apk was marked out-of-date
make tractusx/docker.io the default target

Dear "merger": please could you, after the merge when build.yml will once run "without effect", invoke the resulting build.yml workflow on the release/1.9.8 branch (with the effect of the docker images being fixed)?
Closes #46  <-- insert Issue number if one exists

LGTM, ready to merge @drcgjung ?

yes please ... and I would appreciate if you could start the build.yml on the release/1.9.8 branch afterwards.
I know how ubiquitous you are at the moment all over tractus-x and you got my deepest respect!!!

workflow started automatically after merging the PR.

workflow started automatically after merging the PR.

@carslen yes, unfortunately the default mode for build.yml when started automatically would be "false" (maven deploy) and "false" (docker deploy) when not run in the main branch (or triggered by a vx.x tag push).
We would need a manual run (which proposes "false" for maven and "true" for docker deployments as its setting). If you could be so kind to trigger it, that would be wonderful.

Triggered: https://github.com/eclipse-tractusx/knowledge-agents-edc/actions/runs/6431687857


Use JDK 1.7 to get the project to build

Hi there!
I know this project is super old, but it's the only remaining interpreter for Omgrofl listed on esolangs.org (!)
When building the project with Java 14, you'll get a notice like:
[javac] error: Target option 6 is no longer supported. Use 7 or later.

Luckily, straight-up changing from JDK 1.6 to 1.7 works just fine, and I was able to run Omgrofl programs with the interpreter built on 1.7. Hopefully this change might help someone else like me who comes to the repo in the future, perhaps also from esolangs.org 😃

Thank you!

No worries, dude. I used it to write what I think might be the first FizzBuzz in Omgrofl if you're interested in using it as an example


New component: Skip link

Related information and research findings:
Skip link in Gov UK design system
Skip link requirements/specification
The skip link component is designed to assist users with disabilities, especially keyboard and screen reader users, in bypassing repetitive content and quickly accessing important sections or features of a web page. It enhances the accessibility and usability of a website.

The skip link should not be visible by default, but it must become visible or focusable when users interact with it by using the keyboard pressing the Tab key.
The skip link should push down the contents of the page, not float above it
The skip link should have a clear and concise label or text, such as "Skip to main content," "Skip to navigation," or similar, to indicate its purpose. (Norwegian text: "Gå direkte til innholdet")
It should be styled to be distinguishable from regular page content.
Use the yellow focus-color.

Figma link here
### Tasks
- [ ] https://github.com/digdir/designsystem/issues/1053
- [ ] https://github.com/digdir/designsystem/issues/1054
- [ ] https://github.com/digdir/designsystem/issues/1055

The skip link is ready for use: https://storybook.designsystemet.no/?path=/docs/felles-skiplink--docs


[Update Request]: Powershell 7.4.2

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Microsoft.Powershell
Package Version
7.4.2
Please describe the changes you would like to see
A new release is available: https://github.com/PowerShell/PowerShell/releases/tag/v7.4.2

Close with reason: Resolved by https://github.com/microsoft/winget-pkgs/pull/148951;

Close with reason: Stated above;


[ace] Would it be possible to adapt the configuration of ACE via overlayed custom ports?

Hi,
The current port/ace/portfile.cmake is unable to add|remove any custom configurations to ace/config.h, to mpc's dynamicflags|staticflags or others. For instance someone cannot add preprocessor variables like _ITERATOR_DEBUG_LEVEL=0 to the produced ace binaries/libraries without overwriting the original port file.
To work arround this issues someone has to:

modify the original portfile.cmake,
copy the original portfile.cmake to a custom overlay-port, changing it and call install with --overlay-ports=....

Both solutions have a serious drawback. Changes to the original file by the ACE maintainer are likely to be hidden (2.) or overwritten (1.).
My proposal is to use --overlay-ports with a custom portfile which sets appropriate CMAKE variables, which in turn are used by the original [ace]portfile to fill the ace/config.h or set the corresponding dynamicflags|staticflags in the MPC files e.g.:
[custom portfile.cmake]
set (ACE_OVERLAY_PORTS_CONFIG "
    #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1
")

\# Something similar with adding|removing dynamicflags|staticflags etc.
set (ACE_OVERLAY_PORTS_STATICFLAGS_REMOVE <...>)
set (ACE_OVERLAY_PORTS_STATICFLAGS_ADD "_ITERATOR_DEBUG_LEVEL=0")

\# Trigger default actions like downloading from github.com, configuration und building ace.
include (\<path-to-original-ace-portfile\>)
[]

Of course, the original port file must be able to take some actions if those variables are provided.
Tweaking ACE's configuration without touching the original portfile would be easy then:

vcpkg install ace:x64-windows --overlay-ports=/ports/ace

@strega-nil what do you think about?

The correct way to handle this is via custom triplets, not via overlay ports; using a custom triplet, you'd be able to do something like:
if(PORT STREQUAL "ace")
  set(ACE_STATICFLAGS_REMOVE <...>)
  set(ACE_STATICFLAGS_ADD "_ITERATOR_DEBUG_LEVEL=0")
endif()

or whatever.

Well, I have now understood the principle of adapting the package. I hadn't noticed the adapted triplets.  I suspect that the adaptation of the port file is the ACE project team respketive their contributors task?

cc @jwillemsen

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.

Please note that the author of the port in vcpkg is not necessarily the owner of the upstream.

A major rework of the ACE port file is not something I have spare time for, see https://github.com/DOCGroup/ACE_TAO/wiki/ACE-and-TAO-Commercial-support for the commercial support options for ACE/TAO, including @RemedyIT, the company I work for. Anyone can open a PR on the ACE port file here at vcpkg, contributions are welcome