Add Apple Events v0.5.2

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Additionally, when adding a new cask:

[x] Checked there are no open pull requests for the same cask.
[x] Checked there are no closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

>>> brew cask style Casks/apple-events.rb
== Casks/apple-events.rb ==
C:  4:  1: stanza groups should be separated by a single empty line
C:  4:  1: Trailing whitespace detected.
C:  7:  5: Align the parameters of a method call if they span more than one line.
C: 11:  1: stanza groups should be separated by a single empty line
C: 11:  1: Trailing whitespace detected.
C: 13:  1: stanza groups should be separated by a single empty line
C: 13:  1: Trailing whitespace detected.
1 file inspected, 7 offenses detected
Error: style check failed

Thank you for the contribution. It needed some fixes, so they were made in 1d8937aec0c1d39fc476332d46eab536baf29e65. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Next time, though, please make sure you ran the commands before ticking the checkboxes. Not doing so only makes our work harder.


Wrong month translations for RU_RU locale in the localized file

In russian language there are several grammar cases for nouns. Monthes are translated in the incorrect grammar case. Here is correct values:
"MONTH": [
"\u044f\u043d\u0432\u0430\u0440\u044C",
"\u0444\u0435\u0432\u0440\u0430\u043b\u044C",
"\u043c\u0430\u0440\u0442",
"\u0430\u043f\u0440\u0435\u043b\u044C",
"\u043c\u0430\u0439",
"\u0438\u044e\u043d\u044C",
"\u0438\u044e\u043b\u044C",
"\u0430\u0432\u0433\u0443\u0441\u0442",
"\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044C",
"\u043e\u043a\u0442\u044f\u0431\u0440\u044C",
"\u043d\u043e\u044f\u0431\u0440\u044C",
"\u0434\u0435\u043a\u0430\u0431\u0440\u044C"
]

Please see the "Localization issue" note here: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-found-an-issue
This needs to be fixed in the Google Closure i18n library first. If it's fixed there, we can import the new files.


0.5.0 generates a lot more code than expected

Hi!
It's great that the generated swift code is organized in folders according to module names in the new version! It became very convenient.
However, the generator started adding the code of dependent multiplatform libraries that were not exported to the final ios framework earlier when using 0.4.20.
So, for example, Skie is now generating a namespace for the Arrow library, kotlinX libs etc that were used privately in some of the modules, and were never visible in the Obj-C headers before.
In addition, tons of enums with namespaces like __Kotlin = Foo are generated for every class of every kotlin module, including companion objects.
Whereas I used to have a little over twenty generated swift files, now it's passed five hundred.

Hi!
The new version shouldn't increase the number of Kotlin classes exposed to Swift. You can verify it by comparing the Obj-C header file produced by each of the versions (it should be basically the same).
As for Swift files: The new version is expected to produce more files. That's because the Kotlin type aliases (the __Kotlin = Foo) were previously generated in a single huge file - so we just split that file. On the other hand, we merged some files for other generated code.
The new version did increase the number of generated classes (the namespaces for these type aliases), but we don't expect this change to significantly affect the compilation speed or binary size. Swift classes (especially those that are basically empty) in general have much lower overhead compared to Kotlin classes.
That being said, our performance tests are still very much a work in progress, so definitely let us know if you observe performance problems in your projects.

@FilipDolnik Thanks! Indeed, I've looked through the code generated in 0.4.20 and all the typealiases are in SkieTypeAliases.swift file.
Okay, but is there any way to disable the generation of unnecessary aliases? Especially for libraries that are not APIs and should not be exported to the final framework?

Okay, but is there any way to disable the generation of unnecessary aliases?

Unfortunately, no - the generated code has to use the aliases because of type name collisions (the way fqnames work in Swift is "not so great," to put it mildly).

Especially for libraries that are not APIs and should not be exported to the final framework?

Unless there is a bug, SKIE does not export types that are not needed by some other code. The presence of the type alias means that the type was already exported for some other reason. (This is a feature that I like about the type aliases because they show you all the exported types in a more readable way than the Obj-C header.)
There are two situations where SKIE can export additional types (that wouldn't be exported by Kotlin compiler):

Direct children of sealed classes that are exported (because SKIE generates a code that references those children)
Type arguments of Flows (because Flows do not have type arguments without SKIE, so if the type is not used anywhere else, it won't be exported)

Especially for libraries that are not APIs and should not be exported to the final framework?

I do want to dig into this a bit. Is there anything exported to the Objective-C header when running SKIE 0.5.0 that isn't with 0.4.20? That would be a bug, except for what Filip mentioned, but I don't know if that would be different between SKIE 0.5.0 and 0.4.20 (question for Filip).
The Kotlin compile will export things that aren't api dependencies if your code references them. It's part of how you clean up the API output. Look at the header for things you wouldn't expect. For example, if you had a function returning something from Ktor, the Kotlin compiler doesn't know that your Swift code will never use that. It needs to expose whatever that Ktor thing is, and anything it references. SqlDelight is another bad one, as it generates a lot of code, and everything is public. If you look at Objc header files from those kinds of builds, you'll see a lot of dependencies in the header that nobody needs from Swift, but the Kotlin compiler needs to include them.

0.6.0 removed the type aliases.


instructions for building pony with MEMTRACK

Adding instructions for building pony with MEMTRACK functionality as suggested in the PR 3863

I have no idea why the netlify preview isnt building for this.

If you feel comfortable with the process, can you rebase this against the latest main to pick up the spell checking and markdown linting that has been added?

Also, is this ready for another review?

Now please. Getting past the linter wasn't easy though.

This is an excellent start for this @kapilash. Thank you. I imagine as others try using these instructions. we'll expand them.


[!] Invalid Podfile file: cannot load such file -- ../../mailang2-flutter/mailang-flutter/flutter_app/ios/Flutter/podhelper.rb.

[!] Invalid Podfile file: cannot load such file -- ../../mailang2-flutter/mailang-flutter/flutter_app/ios/Flutter/podhelper.rb.
from /Users/user/Documents/workspace/giraffe-ios/Giraffe/Podfile:6
-------------------------------------------
flutter_application_path = '../../mailang2-flutter/mailang-flutter/flutter_app'

load File.join(flutter_application_path, 'ios', 'Flutter', 'podhelper.rb')

-------------------------------------------
MacBook-Pro: user$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.4 20F71 darwin-x64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.5)
[✓] Android Studio (version 4.1)
[!] Connected device
! Error: iPhone is not connected. Xcode will continue when iPhone is
connected. (code -13)
! Doctor found issues in 1 category.

iOS和android并不是隐藏文件，而且iOS中并不包含podhelper.rb脚本文件


Use glide as the project package and dependency management tool if used add the dependency yaml file

I have completed it !


Using custom local/Google fonts

Hi! I don't know if this is the right place to ask for help but I wanted to use custom fonts either by local or Google fonts.
How should I change it?
I have tried installing the font locally in the static > fonts folder and modifying the SASS _fonts file from the  assets folder but I can't seem to make it work. Ideally, I just wanted to change the font for the body but leave the original font for the headings which is Nunito Sans.
Any idea how to fix it? Thank you.

You also need to change the variables in _base-variables.sass.


Enhancement request: Suppress rules on a per-statement and/or per-block basis

Per https://github.com/PowerShell/PSScriptAnalyzer#suppressing-rules, rules can only be suppressed with function or class scope. I'm asking that this be extended to a per-statement and/or per-block basis.
Rationale: same as per-line suppressions in the C# compiler. :-) Sometimes a particular construct must be used. Also, PSSA has bugs (see #903 , for which a workaround was discovered, but there are not always workarounds available).
(Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
Environment data

PS C:\Users\michael> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.16299.98
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16299.98
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }

1.16.1

@swngdnz A similar idea was already proposed here. I agree with your idea to be able to suppress it for the next line/statement/scriptblock or even to turn it on and off for a few lines. I think I will create a meta-issue to collect all those ideas at some point an summarise it in one issue.

Closing as duplicate of #849 now


Add geospatial search, municipal organziations

Adds:

RGeo / PostGIS spatial data to Development
Bounding box search through API
On the municipal org page, shows the developments happening in that municipality.
On the development show page, links address text (e.g. "Boston, MA") to the municipal organization overseeing that place.

The data modeling needs more work: a municipal org's developments should happen through a relationship, and a place's developments should be linked through place_id, not a #within query.

Just added another commit so the build passes.


Add an option to add torrent through a file

Here is some prototype code. Though it doesn't work since the second function is asynchronous and the Hass object is out of its scope. Currently lacking braincells to come up with a solution. The first function is called using an onclick event from a button, that could be positioned on the right side of the input field.
  _addTorrentViaFileButton(event) {
    var x = document.createElement("INPUT");
    x.setAttribute("type", "file");
    x.addEventListener("change", this._addTorrentViaFile);
    x.click();
  };

  async _addTorrentViaFile(event) {
    let base64string = await new Promise((resolve) => {
      let file = event.currentTarget.files[0];
      const fileReader = new FileReader();
      fileReader.readAsDataURL(file);
        fileReader.onload = () => {
            resolve(fileReader.result);
        };
    });
    this.hass.callService('transmission', 'add_torrent', { entry_id: `${this._getConfigEntry()}`, torrent: base64string });
  };

Perhaps one way of doing it would be changing the value of the input field to the calculated base64 value and then using this to emulate the Enter keyboard event
https://stackoverflow.com/questions/3276794/jquery-or-pure-js-simulate-enter-key-pressed-for-testing

Got it working by emulating the keyboard event. Waiting for the previous PR to be merged to avoid conflicts.

According to the transmission integration documentationpage:

It can either be a URL (HTTP, HTTPS or FTP), magnet link or a local file (make sure that the path is white listed).

Not sure encoded file in base64 is supported

What the Developer Tools -> services in HA show:
Add a new torrent to download (URL, magnet link or Base64 encoded).

async function convertToMagnet(torrentFile) {
    const reader = new FileReader();
    reader.readAsArrayBuffer(torrentFile);
    return new Promise((resolve, reject) => {
        reader.onloadend = () => {
            const buf = new Uint8Array(reader.result);
            const infoHash = sha1(buf);
            resolve(`magnet:?xt=urn:btih:${infoHash}`);
        }
    });
}

function sha1(buf) {
    const crypto = window.crypto || window.msCrypto;
    const hash = crypto.subtle.digest('SHA-1', buf);
    const digest = new Uint8Array(hash);
    const hex = Array.prototype.map.call(digest, x => (x < 16 ? "0" : "") + x.toString(16)).join("");
    return hex;
}

Only issue is, this only works when accessing the page through https. In the end, we could make the file upload option disappear when accessing through http unless we find a workaround. Issue is with the window.crypto.subtle - when accessing through http, it's undefined

Only issue is, this only works when accessing the page through https. In the end, we could make the file upload option disappear when accessing through http unless we find a workaround. Issue is with the window.crypto.subtle - when accessing through http, it's undefined

When on http put a disabled Upload icon and on its tooltip explain that file upload only works over https.


Rendering issues

OS X 10.9.5
Vim 7.4
I am getting some strange rendering issues with syntastic. I have just opened the file and navigated up and down. The parentheses after line 15 are not actually there (there is no line numbering and if I save this file, they'll disappear). Also the status bar has an extra blank line there. If I remove syntastic, the Vim rendering is fine.

This problem might have been triggered by syntastic (for some roundabout reasons), but it isn't caused by syntastic.  Syntastic has absolutely no control over low-level rendering.  Please see my comments at #822.


add qpdf installation instructions to admin installation

As noted here: https://github.com/inbo/n2khab/pull/118#issuecomment-802651711, the program qpdf is necessary to run devtools::check().
I had the same issue on a new laptop with Windows 10, so I'm guessing other people will run into it as well.
Therefore my suggestion is that the the qpdf program be installed on all recent laptops where R is installed.
We just need to describe the installation instructions, which involves:

download qpdf program
unpack and copy files to C:/Program Files/
add 'C:/Program Files/qpdf-<version_numer>/bin' to the system PATH environmental variable

Admin rights are needed.

Good suggestion.

This issue can be closed. The installation scripts maintained by @wimdp to update/install R and RStudio, now also install qpdf software on computers in our organisation.


4-Make-style-for-about-page

Need to create some sort of style for pages.

This issue will come with ( #3 )
Looks some sort of decent

Done


Invoke REST API callback works in TFS 2018.2 agentless task but not in gate

Does the Callback work from a gate in TFS 2018.2?  It works from an agentless task with hubname "release".  I'm using hubname "gates" from the gate.  The callback returns a HTTP StatusCode 204 in both cases but the gate is not successful.

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

ID: 89bc6da4-5a1e-5989-f4f0-27465953b5fd
Version Independent ID: fd12f976-5d3b-3b1b-3d0a-a0bf2a60c961
Content: Invoke HTTP REST API task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/http-rest-api.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@toddbrownmcis Thank you for the feedback!  The author has been notified.
@RoopeshNair Can you please address this issue?

@shashban - can you please take a look?

@toddbrownmcis Could you please share a URL to the release where the gate did not complete after the callback? We would like to look at logs/ product traces to see what could be missing.

@shashban I'm running in on-prem TFS 2018.2. Is there some other way for me to provide the logs/traces you are looking for?

@shashban @RoopeshNair I found the underlying issue for a callback to a Gate.  The body jobid is the taskid value and the taskid is an empty guid value.  See GetJobId and GetTaskId.
When is the planVersion greater than 12?  Is that tied to a specific version of TFS/Azure DevOps or do I need to get the plan by planId?

@toddbrownmcis Sorry for the (extremely) late response on this to begin with. What you have figured out w.r.t to the plan version change is indeed correct. The change from plan version 12 to 13 is already live on AzureDevOps, and rolls out to TFS with Server 2019.1 RC1.


topbar refactor

Probably we should remove "Enter an address"?
"Paste an address" probably should be "Contract address" (similar to minter) and in a hint color (light gray etc) rather than a main color

I think we lost invalid address handling - we can use the same as minter:

I would add the backdrop + history - same as there
Toast with error in case of invalid address (and other unexpected errors for future use)

Let's make logo clickable to home page
Let's make github point to this repo => put in a const/config somewhere and we'll change it when I transfer the repo to a new org
Re the temporary example bar - it just sits somewhere in the middle now, maybe we can add it as a query param for now example and then maybe put it on bottom or something
Input font isn't Mulish (not sure if intended to handle it in this PR or not, if not disregard this comment)

"Invalid jetton address" => "Invalid address"
There needs to be some kind of loading indication when loading the contract's data (you can consult with Marina)
Margin from contract address input to cards below should be much lower (check design)

Also note conflicts


Lambda init-captures sometimes do not get a semantic highlighting

Here is an example:
struct A {};
struct B {
  A str();
};

void foo() {
  B Source1, Source2, Source3, Source4;
  [Target1 = Source1.str(), Target2 = Source2.str(), Target3 = Source3.str(),
   Target4 = Source4.str()]() {}();
}

Here, all four init-captures do not get a semantic token.

Issue seems to be related to the capture-list being spread over multiple lines. Very strange.

The reason init-captures don't get a token is that CollectExtraHighlightings produces a conflicting token for the capture's type in VisitDeclaratorDecl().

Proposed fix


Re-instate PR #36578: Go: NewTensor & Value performance improvement

See https://github.com/tensorflow/tensorflow/pull/36578.
Have fixed issues with pointer arithmetic checks introduced with Go 1.14 that caused original PR to be reverted

Ah, rolled back again. I give up. I believe in these changes, but dealing with this codebase with its missing generated files and mysterious extra background testing processes is just too painfull


[Bug] Linting workflow not triggering on Pull Requests

Bug Description
The linting workflow defined in .github/workflows/pull_request_lint.yml is not triggering as a check on new pull requests and pushes.
To Reproduce
Make a pull request/Push to a pull request
Expected behavior
The linter should run in the following cases and annotate PEP-8 violations in the Files changed section of the pull request.

On looking at the Actions reports for the workflow (https://github.com/creativecommons/cccatalog/actions?query=workflow%3Aflake8_lint), it seems that the workflow is running, but only on merging Pull Requests.


Intellisense in VS Code not working with nuget version ranges

Nuget version ranges are not working in VS Code with scripts.
To reproduce:
dotnet script init
and with a script file from src/Dotnet.Script.Tests/TestFixtures/VersionRange/VersionRange.csx
#r "nuget: AutoMapper, [6.1.1, 7.0)"

using AutoMapper;
Console.WriteLine(typeof(MapperConfiguration));

causes the error "Unable to find dependency context for CSX files" as described above and Intellisense not working.
(I restarted VS Code.)
I can run the script without a problem.
Originally posted by @joerneu in https://github.com/filipw/dotnet-script/issues/230#issuecomment-502356994

this is already resolved in dotnet-script, just OmniSharp hasn't been updated yet


Missing null check in Dispose() method

this place has null check "if (_disposables == null) return;"
Kadinche.Kassets.Subscription[T].Dispose()
another place needs the same:
Kadinche.Kassets.Subscription.Dispose()
in file: /Runtime/Utility/Subscription.cs

Hello, zukrac!
Thank you for pointing out the issue!
I'll try to take a look at it when I got the time.


Package Resolution Failed in Xcode 11

I attempted to add Defaults through Xcode's new SPM support, but hit an error:
Source files for target Defaults should be located under 'Sources/Defaults', or a custom sources path can be set with the 'path' property in Package.swift
It looks like Xcode isn't happy that the source files are directly in Sources rather than nested.

This seems to be broken once again. Im on Xcode 16.1 and tried both Defaults v9.0.0 and using main branch in SPM.


[FEATURE] - Command to Create Constitution update proposal

What
A command to generate a constitution-update-proposal action
cardano-cli conway governance action create-constitution-update
--deposit LOVELACE
--stake-verification-key
--proposal-url  URL
--proposal-hash STRING
--out-file

Why
This is one of the seven possible governance actions on the CIP-1694
Personas

[ ] Constitutional committee members
[ ] Delegate representatives
[ ] SPOs
[ ] dApp Devs
[ ] Exchanges
[ ] Wallets
[ ] 3rd party tools
[x] ADA holders

Acceptance Criteria
Updated Acceptance Criteria for the "create-constitution-update" Command:

The command should be able to generate a constitution-update-proposal action.
The "proposal-url" parameter should be required and should accept a valid URL as input.
The "proposal-hash" parameter should be required and should accept a string as input.
The "out-file" parameter should be mandatory and should save the output to the specified file.
The command should validate that the "proposal-url" parameter is a valid URL and provide an error message if it is not.
The command should validate that the "proposal-hash" parameter is a non-empty string and provide an error message if it is empty.
The command should generate a constitution-update-proposal action with the provided "proposal-url" and "proposal-hash".
The command should save the generated action to the specified file using the "out-file" parameter.
The command should handle any errors or exceptions gracefully and provide informative error messages to the user.

Note: Please make sure to consider the specific requirements and context of the project when implementing and testing the command.
Definition of Done (DoD)

[ ] Acceptance Criteria + User Stories & DoD created and singed-off (by PO, dev & test owners)
[ ] Builds successfully on CI
[ ] Code & Test review (as per Acceptance Criteria)
[ ] There is documentation and/or examples for the new functionality (usage/response)
[ ] Log/record changes on Vnext (or similar depending on what we adopt)
[ ] Ticket number(s) included in PR description
[ ] All Acceptance Criteria met and covered by dev/unit/property/integration tests
[ ] System/E2E automated tests + System Test Engineer Owner Sign-off

Sign-off

[ ] Product Owner
[ ] Dev Owner
[ ] System Test Engineer Owner

NOTE:  Ideally, we should merge only fully implemented and tested features into the master branch.
So all the above steps are required for the PR to be merged.
In order to avoid the PRs becoming stale and requiring to be rebased on master, these can be merged
after a reasonable time (current agreement is 3 days) if the System Test Engineer Owner's sign-off
was not provided (last step in the DoD).

IMPORTANT: Any deviation from the plan should be discussed and agreed as a comment in the Feature file.

Related PRs

DONE


Release package should only contain necessary data for users

Currently, all release packages contain pretty much all data from the repository. However, that is not necessary for the majority of users. If oner wants to get the full contents, they can clone the repository.
Steps to Reproduce
...to just install necessary files:
Scenario A

Open a new project
Open Asset Lib Tab
Search for godot-playfab
Click Download button
This opens the "Install" modal

Scenario B

On the GitHub Repo page, select the current release
click the Source code (zip) or Source code (tar.gz) link and download the file
Wait for the download to finish
Open the zip/tar.gz file

Expected Behaviour
Scenario A
Only necessary addon/godot-playfab folder and an Example folder (optional) should be shown & selectable
Scenario B
Only necessary addon/godot-playfab folder and an Example folder (optional) should be in the archive
Actual Behaviour
Scenario A
All files are selected and shown. One has to deselect all files except the addons/godot-playfab folder.
Scenario B
All files are included in the archive file. You need to know which files to extract

The basic example project still lives within the main repo, while a copy of it lives in the example repo.
The demo project can then be co-developed with the actual plugin and copied over to the example project when merged to develop (or on a PR branch of the example project).

This is the example project: https://github.com/Structed/godot-playfab-example


Revert "[GUI Editor] Fix unit switching when value is 0"

Reverts BabylonJS/Babylon.js#12275

@darraghjburke - this has to be reverted, please check again afterwards.


About loss

If I want to add other loss function or penalty term, how to implement it?,Do I need to writer the BackPropagation

Hi @yyl199655 thanks for the question, @sandeep-krishnamurthy requesting this be labeled under Question

@yyl199655 if you use gluon, you can just write whatever penalty term you want using ndarray interface inside training loop. Only forward computation is needed, as long as the function is differentiable

@yyl199655 for more information automatic differentiation (autograd) you can follow the Gluon Crash Course, in particular this chapter
To expand on @szha explanation, you simply need to compute your loss function within the with autograd.record(): scope and then you can call loss.backward() on your loss term to automatically compute that loss with respect to the parameters that were used to compute it.
@yyl199655 if you would want to follow up, please open a thread in https://discuss.mxnet.io, Thanks
@szha could you please close the issue? Thanks!

If I want to extract a few lines of a matrix(symbol), how should I do?


Add swedish translations

@Barma-lej Swedish translations added! Have double-checked with the danish version so that the style is somewhat conformative, even though the languages differ

Thank you 🙂


Name change not reflected in project dashboard

Steps

Go to your profile page
Click on your name
Change your name (click the checkmark)

Expected
I would expect that my name would then be changed wherever it appears on the OSF.
Actual
The project citation in my dashboard still says Ehsan (even though the tooltip is correct):

However, the project page itself displays the correct name:

Possible Cause
Changing your name on the OSF does not automatically update your citation in the settings page:

Possible Solutions

Alert user that they may need to update their bibliographic citation
Redirect users to their profile settings page to edit their name
Automatically update user citation information

I like the idea of redirecting users to their profile page, since they can see the citation fields and change them if necessary.

This will be fixed by #1465.

Closing this since users can no longer edit their names from the profile page. It is still possible to edit your name in your user settings page without changing your citation info, but now it is less likely to occur on accident.


feature:  include and exclude class file

Hi @eMe-404
I've created a separate PR #18 based on your changes.
I've decided to complete the feature by myself because we also need to update README, write few tests.
Nevertheless, thank you very much for your contribution and welcome to review #18. If you have any questions/remarks/suggestion please, leave comments.
If the MR looks ok to you then leave a comment here and I'll release it

cool, many thanks for the support

Appreciate your contribution. Thank you as well!


Replaced URLs with links, corrected grammatical errors

Description of PR

Removed unnecessary URLs and replaced with links
Corrected grammatical errors

Type of PR

[y] Bugfix
[ ] New feature

Relevant Issues
Fixes #...
Checklist

[y] Compiles and passes lint tests
[y] Properly formatted
[y] Tested on desktop
[y] Tested on phone

Screenshots

Hey thanks for the PR! As mentioned in the Contributing guide, please have an issue filed first, have it accepted, then assigned to you before submitting a PR :)


update submission detail page if source == other

Initial request:

if a submission has source of “other” - then

display status as “This submission did not originate from PASS.”
display Submitter  as “This submission did not originate from PASS”
display Files as “We do not have a copy of manuscript files because this submission did not originate from PASS”
hide Deposits

@Rytiggy I would like to make this change to the status text please:
if source=other, submitted=false --> status= "You funder is aware of this publication and is expecting the deposit of your manuscript."
if source=other, submitted=true --> status = "A manuscript submission has been made outside of PASS"


Maximum call stack size exceeded in bracket matching

I was making some edits in a notebook cell, and have this text (just deleting the try:). I put my cursor on line 2 and press tab, and get the error popup
for i in range(20):

        print(i)
        time.sleep(1)
    except KeyboardInterrupt:
        print("Stopping...")
        break

Unfortunately, I cannot reproduce this.
What are the exact reproduction steps?

I was having issues last night but I can't get it to happen today. I'll let you know if I manage to repro it

Notice that for reproduction, all the edits since you open the document matter.


Make acl id parameter a boolean (enable/disable)

There is a parameter that allows you to pass in an externally created NACL id. If you do, then you get the horrible "cannot compute count" error, because it is an interpolated value.
But after looking at the code, it's not actually used anywhere. It's just used as a boolean. For example here: https://github.com/cloudposse/terraform-aws-multi-az-subnets/blob/master/public.tf#L36
So I've just passed in a string named "disable" and it works as intended.
Can you change it to be a boolean? Like the ngw enable/disable?
Thanks!

Good request. Hopefully somebody comes through and implements it! 👍

This has been implemented in terraform-aws-dynamic-subnets


Add tests for runtime instantiation of picklers

This is an important use case for distributed programming frameworks
that scala pickling should cover: the ability to create instances of
picklers and unpicklers from their classnames.

Use staticOnly since we want best performance and elide the type of
the wrapped value in Container.

These tests are not passing and give NPEs since when we reflectively
instantiate the picklers and unpicklers the implicit values passed in
the scope are null (sun.misc.Unsafe is the one instantiating them, the
by-default java newInstance fails to find a zero-args constructor).
Also, we get NPEs when looking up FastTypeTags that have been
already generated before.

Although this can look like a reflection limitation, I think that it
is related to the way the picklers/unpicklers are generated or
registered, and even how the FastTypeTags are created; and therefore
we should try to find a way to fix it.

There are three classes of tests: one with the default generated
picklers/unpicklers for Container, other one with custom
picklers/unpicklers that rely on the values in the implicit scope
(these may never work because of reflection but I add them to make clearer
the point that they don't work) and the last one that uses implicitly
calls for getting the tags, picklers and unpickler and thus should work
since they are just looking up in the registry (in theory).

Do you have an idea of what's going on with the FastTypeTag @jsuereth? I'm especially interested in making work the first test case and the third one, the second one is just there to show it doesn't work. To me, it looks like implicitly[FastTypeTag[T]] in line 106 should work. Any suggestion would really help Josh. And, by the way, thanks for the latest refactorings that you're doing, they're fabulous.
/cc @phaller @heathermiller

@jvican I'll look into this now.  I think you caught a bunch of the issues I've been stumbling through with my FastTypeTag refactorings (which I was making right before diving into runtime pickler changes).
But, to put it bluntly:  You cannot safely reflect over arbitrary types in scala reflection and get the actual physical layout of the object, I think we'll have to revert to using java-reflection in a lot of these scenarios.
In fact, one of my goals (next) is to clean-up runtime pickler generation so that:

It uses the macros to generate source code of pickler/unpicklers and interprets them on the fly (i.e. require the compiler.jar for runtime reflection).
When the compiler is unable to generate a static pickler we revert ALL the way down to pure java reflection, rather than scala reflection (which is not designed to give us enough of an idea of physical layout).

Now, for the implicit argument issue, that sounds just like a straight up bug we can fix :)  I'll dive in shortly.

Thanks a lot for chiming in @jsuereth. Why do you think that we could solve the problem with Java reflection? Are we not already using it in the getInstance method? I guess that the difference is that we're creating an instance for a static pickler/unpickler that we have the guarantee it's been generated statically.
Also, if we solve the problem getting the FastTypeTag via implicitly in the body of the picklers/unpicklers, I presume that we don't care if the object layout cannot be reconstructed since we have another way of getting hold of them. Or... perhaps did I misunderstand you?


Puppet clients need to handle client.on('error')

The bridge is crashing because sometimes a client emits an error, and apparently if you don't handle that then node decides the best course of action is to crash. We should catch these.

Fixed by 98e353b6b47673e677e497c9f1f19795c834ae28


[Feature] Add feature to build rules based on users, groups on Proxy/Squid

Hello,
Is possible create a feature or plugin that allow you to build rules based on users and/or groups on Proxy/Squid, with local base and/or remote base (LDAP, AD, etc..)

timeout due to inactivity

I wrote such a plugin. But it depends on proxy-sso. When it is in stable version, I'll do pull-request.

Ok, Thank  you.

we are targeting 17.7.6 for the web-proxy-sso release :)

Well


Unexpected error when spreading object with optional properties

TypeScript Version:  2.3.4
Code
{
    type MaybeFoo = { foo?: string };
    type Foo = { foo: string };

    const z: MaybeFoo = {};
    const y: Foo = { foo: 'bar' };
    const x: Foo = { ...y, ...z };
    // Error:
    // Type '{ foo: string | undefined; }' is not assignable to type 'Foo'.
    //   Types of property 'foo' are incompatible.
    //     Type 'string | undefined' is not assignable to type 'string'.
    //       Type 'undefined' is not assignable to type 'string'.
}

Expected behavior:
I did not expect this error, because MaybeFoo marks the foo property as optional, not as string | undefined.
For context, I want this so I can define optional and non-optional properties for an object, with defaults for the optional ones, before merging the defaults with the provided properties:
{
    type All = { foo: string, bar: string };
    type Requireds = Pick<All, 'foo'>;
    type Defaults = Pick<All, 'bar'>;
    type Args = Requireds & Partial<Defaults>;
    const defaults: Defaults = { bar: 'bar' };

    const fn = (args: Args) => {
        const all: All = { ...defaults, ...args }; // Unexpected error
    };
}

I'm also interested to know why this does not error:
{
    type MaybeFoo = {
        foo?: string,
    };

    const x: MaybeFoo = {
        foo: undefined,
    };
}

I thought optional properties were distinct from nullable types, because they indicate a missing key, whereas the latter indicates a defined key with a nullable value.

I ran into this trying to upgrade from 2.2.2 to 2.4.0. It's also present in 2.4.0-dev.20170612. This breaks a fundamental use case of object spread in functional code:
interface Filter { color: string; region: string; /* etc */ }

function updateFilter(f1: Filter, f2: Partial<Filter>): Filter {
  return { ...f1, ...f2 };
}

tsconfig.json
{"compilerOptions": {"strictNullChecks": true}}
Expected output:
No errors
Actual output:
index.tsx(4,3): error TS2322: Type '{ color: string | undefined; region: string | undefined; }' is not assignable to type 'Filter'.
  Types of property 'color' are incompatible.
    Type 'string | undefined' is not assignable to type 'string'.
      Type 'undefined' is not assignable to type 'string'.

Duplicate of https://github.com/Microsoft/TypeScript/issues/16509

Now fixed, see #16509


Can we create a Subscription Key with Custom PrimaryKey & SecondaryKey

Hi Guys,
I am migrating my APIM to different APIM Management Service inside azure only, and will slowly depricate the older one.
I do have Hostname attached to the api end point point.
What I want is, to create the same set of user and their subscription key (with the same values) in the new service. And as a last step just remove the DNS configuration from old and add the same to new.
And then I assume that the client should be able to keep using our API's without change in their code or configuration.. and these all can be handled with very minimum downtime.
Please suggest me the proper way to recreate the set of suscription keys in my new APIM service (with same values from old service).
Thanks,
Agni

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

ID: 896691fb-064a-eaf8-f71f-53200149b48a
Version Independent ID: ff3e18ed-6d13-6fac-7b6c-f78f47b0f754
Content: Subscriptions in Azure API Management
Content Source: articles/api-management/api-management-subscriptions.md
Service: api-management
GitHub Login: @miaojiang
Microsoft Alias: apimpm

@agnimitra, Thanks for the question! We are taking a look into this and will get back to you soon.

Hi @agnimitra Have you tried exporting to ARM template and recreate against your new instance? Better yet, we recommend you try out this tool for establishing complete DevOps: Azure API Management DevOps Resource Kit

@agnimitra Since we haven't heard back, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


disable table editor

Hello, i start to use dbeaver and is great!. I'm using informix and mySql connections and save me a lot of time.
I just want to know if it is possible to disable the option to edit tables, for security purpose.
Thanks!

You can make connection read-only (connection properties, page General)

yes, but with that configuration, i can't insert, update or delete on a table. What i want to do, is disable the option for edit the table (change columns properties)

All metadata editors are now read-only for read-only connections

All metadata editors are now read-only for read-only connections

Thanks @serge-rider!


How do I limit cache disk usage?

Hello,
i'd like to use Souin with Caddy and leverage one of the disk-based storage adapters - such as Badger or NutsDB.
In an effort to prevent "out of disk" system errors, how can I limit the amount of disk space that can be used by the cache?

Hey @acejam I think that's not possible ATM with these storages. Maybe we could implement the directory size in the simplefs storage https://github.com/darkweak/storages.

Hey @acejam I think that's not possible ATM with these storages. Maybe we could implement the directory size in the simplefs storage https://github.com/darkweak/storages.

Thanks for the idea. Is the size parameter used for this already? https://github.com/darkweak/storages/blob/main/simplefs/simplefs.go#L73

The size is about the number of objects to store but it doesn't limit the filesystem size.

Hi @darkweak - it looks like this PR that you're working on might help? https://github.com/darkweak/storages/pull/20
I would be interested in testing this.

Hey @acejam you should be able to use it using
{
    cache {
        ttl 86400s
        simplefs {
            path /somewhere/files/path
            directory_size 1MB # to limit to 1 megabyte
        }
    }
}

xcaddy build .... --with github.com/darkweak/storages/simplefs/caddy@08ca1166d784ef00cc8909f65ce5b9feda12f0e2 --with github.com/darkweak/storages/simplefs@08ca1166d784ef00cc8909f65ce5b9feda12f0e2


Linux Support

Can you add support for desktop Linux and mobile Linux such as the PinePhone and PineTab2?

There is no plan.


add exporter/importer of 'bridgestream'

bridgestream
bridgestream is a bridge that allow one-directional stream communication from one legder app to another.
It currently allows to export Accounts from the desktop app to the mobile app.
Desktop code gist
import { makeChunks } from "@ledgerhq/wallet-common/lib/bridgestream/exporter";
const chunks = makeChunks({
  accounts,
  exporterName: "desktop",
  exporterVersion: "0.0.0"
});
// loop for each chunk of chunks[i]: display chunk QRCode, sleep a bit of time

Mobile code gist
import {
  parseChunkR, areChunksComplete, chunksToResult
} from "@ledgerhq/wallet-common/lib/bridgestream/importer";

class Scanning extends Component<{
  onResult: Result => void
}> {
  lastData: ?string = null;
  chunks: Data[] = [];
  completed: boolean = false;
  onBarCodeRead = ({ data }: { data: string }) => {
    if (data && data !== this.lastData && !this.completed) {
      this.lastData = data;
      this.chunks = parseChunksReducer(this.chunks, data);
      if (areChunksComplete(this.chunks)) {
        this.completed = true;
        this.props.onResult(chunksToResult(this.chunks));
      }
    }
  };

  ...

@meriadec yeah i'm not sure neither. in my mind I was thinking that our format will always be backward compatible. e.g. importer version 9 understand all version before of the exporter. however, if you have a new exporter, an older importer don't understand it and would just display "upgrade your app" , but not sure. hopefully we never changes the format or only add more fields  that would get ignored by an older importer


Add benchmarks for missing passes

Summary
This commit adds runtime benchmarks to the passes and mapping_passes
benchmark modules to measure additional transpiler passes in isolation
that we didn't have coverage for previously. Primarily of importance
here are the basis translator and the optimize 1q decomposition passes
which are in the preset pass managers but didn't have standalone
benchmark coverage. One pass excluded here is the TemplateOptimization
pass which would have been good to add to the benchmark but it is
exceedingly slow and took well more than 5 min per iteration.
Details and comments

Ok, I can just drop the non ibm basis from the benchmark for now to get this running nightly:
[100.00%] ··· ...pleBasisPassBenchmarks.time_basis_translator         6/9 failed
[100.00%] ··· ========== ======= ================================ =========
               n_qubits   depth            basis_gates
              ---------- ------- -------------------------------- ---------
                  5        1024            ['u', 'cx']              failed
                  5        1024   ['rx', 'ry', 'rz', 'r', 'rxx']    failed
                  5        1024   ['rz', 'x', 'sx', 'cx', 'id']    329±3ms
                  14       1024            ['u', 'cx']              failed
                  14       1024   ['rx', 'ry', 'rz', 'r', 'rxx']    failed
                  14       1024   ['rz', 'x', 'sx', 'cx', 'id']    839±3ms
                  20       1024            ['u', 'cx']              failed
                  20       1024   ['rx', 'ry', 'rz', 'r', 'rxx']    failed
                  20       1024   ['rz', 'x', 'sx', 'cx', 'id']    1.12±0s
              ========== ======= ================================ =========

But, that is a huge disparity because the timeout is set to 300 sec and all the failures are timeouts. @kdk can you think of some reason it would be so much slower for those basis sets?

https://github.com/Qiskit/qiskit-terra/pull/7146 should fix the timeouts with the basis translator benchmarks


Add ODM data processor

Hello :wave: ,
this PR adds support for converting ODM (https://github.com/OpenDroneMap/ODM) datasets to nerfstudio format.
Usage:

Process a dataset using ODM

$ ls /path/to/dataset
images
odm_report
odm_orthophoto
...

Convert to nerfstudio format.

ns-process-data odm --data /path/to/dataset --output-dir {output directory}

Train as usual.

Results:

Dataset: https://hub.dronedb.app/r/odm/brighton-beach
https://github.com/OpenDroneMap/ODM/assets/1951843/c834bb72-a02e-456a-80c0-e9887644d3cc
Dataset: https://github.com/pierotofy/dataset_banana
Hope this can be useful to others. Let me know if changes are needed. :pray:

Once you fix the type error, I think its good to be merged

Should be good to go, thanks for the review @tancik ! 🙏


Search not working on production

Describe the bug
The search does not work on production as it does on staging.
To Reproduce
Steps to reproduce the behavior:

Go to admin production
Click on candidates
Type a name such as 'Warren'
See error

Expected behavior
Should see candidates with that name.
Screenshots

I've checked both production and staging, there were a few iterations of this functionality since the ticket was written, it looks like everything works as expected.


Course broken

We've taken this course down for the time being because of some issues that aren't allowing learners to complete it. The current state is that sam-template.yml, which gets introduced by the learner in one of the PRs uses
      Runtime: nodejs12.x

When the learner tries to deploy their app, they get the following error from the workflow:
Building resource 'MainFunction'
Error: 'nodejs12.x' runtime is not supported
ERROR! Failed to build SAM application!
ERROR:[
Build Failed]

We know this runtime was working before, so I consulted @mattdavis0351 and we think the issue has to do with the https://github.com/github/deploy-nodejs action.

Thank you for doing this troubleshooting, taking down the course, and opening this issue @hectorsector. ✨
@mattdavis0351, is this something that you'd be interested in helping fix? If so, what timeline do you think makes sense?

I spoke with @mattdavis0351 about this in more detail yesterday. My main takeaways are:

@admiralAwkbar and @primetheus helped immensely in creating the actions for this course 🙏🏻
There is a combination of lack of python support from AWS, and mismatched dependencies causing errors
The main dependency causing a problem is "yq", used for parsing YAML

This course is relatively popular, with over 3000 registrations.
@admiralAwkbar @primetheus, do you have any recommendations on how we could proceed, or if there are any folks on the delivery team with expertise in these areas and bandwidth?
cc @jonlipsky for awareness and ideas 👀

@brianamarie will look at it today :)


fix: PhpCall (PhpVar) translating to 'name' instead of '$name'

I was getting outputs where the code was calling
$fn($arg1, $arg2)

instead of
fn($arg1, $arg2)

(which caused a problem because the variable $fn doesn't exist)
Probably because this line is commented out https://github.com/thinkbeforecoding/peeble/blob/244c6f5ed87b9d96755b2fd44ea710c0dbcbd3db/src/peeble/Transforms.fs#L404

@thinkbeforecoding Do you think you could also take a look at this one? The master branch wasn't working but this is (for me at least)


Make kernel spec and info handling part of MockKernel

Will need a rebase after #152 is merged.

Rebased and ready for review.

👍
Thanks, @blink1073!


added new intent for help

Fixes #8
@TeAmP0is0N @swapagarwal please review my PR.

@TeAmP0is0N is the changes made are good?
If yes, then why not merge it. :)

@hritikpapa we will merge it soon

Needs rebase.

@swapagarwal what is rebase, help with that, I am a beginner.

Some one please help me on this.

@hritikpapa Your code has some conflicts. You have to solve these conflicts.

@hritikpapa Your code has some conflicts. You have to solve these conflicts.

Okay I will try doing that.

@hritikpapa See this article and ping me personally on slack.
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github

@TeAmP0is0N  it's not resolving, I have tried but it's simply showing everything is up to date.

Merged in https://github.com/the-vision/jarvis-core/commit/98fb5ebb640306a9e193cde6dd3d456c1f532257


CI for Node

App
✕ Contains the compiled JavaScript (11 ms)
Game
Game
✕ Initializes with two players (3 ms)
✓ Initializes with an empty board
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center (1 ms)
✓ Inserts an 'X' into the top left
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)


Aeraki supports multi-tenant design

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

To support multi-tenancy in Aeraki's control plane, we need to create a design document. This is because it involves various parts and changes. Here are some of the things I've identified so far, but it may not be a complete list:

We can now install Aeraki in a specified namespace other than istio-system, thanks to a recent pull request.
It may be necessary for metarouter to be exported to a specified namespace, but this is not a hard requirement.
We should only create the sidecar bootstrap configmap in the managed namespace.

I am curious to know if Istio has full support for multi-tenancy. When I last checked Istio's code, I found that changes to the sidecar injection webhook and CA configmap generation were required to support multi-tenancy.


Help with OPA Gatekeeper constraints target

Hello All,
I was reading about OPA Gatekeeper Constraint template (link) and I saw this info:
"Note that currently constraints can only apply to one target".
If I have a scenario with multiple clusters, is there another approach to implement all constraint template? Could you help me please?

Hi @dennisasilva
You'll get more help asking in OPA Gatekeeper's official repository or slack channel. This is a different project.
Anyway, the target you mention is the admission request that arrives at the API server of each cluster where Gatekeeper is running.
You'll need to deploy Gatekeeper (and the desired constraints templates and constraints) to every cluster you want to enforce constraints to.
Hope that helps, at least a little.
(I'm closing the issue because is not related to Gatekeeper Policy Manager)

Hello @ralgozino
First sorry to post a question in a wrong place and thank you for the valuable info.

no worries and good luck!


Use HTTPS for google fonts

On chrome, loading hangs and the page never renders. Using the following docker compose file:
haproxy:
    image: tutum/haproxy:0.2.1
    ports:
      - "80:80"
      - "1936:1936"
    links:
      - web
    environment:
      - HEALTH_CHECK=check inter 10000 rise 3 fall 1

web:
    image: dockercloud/hello-world
    ports:
      - "80"

Additionally, if you copy and paste "http://fonts.googleapis.com/css?family=Open+Sans:400,700" into a new browser window, the font never loads.

It does load. But a way to enhance this is to replace http:// with // so the browser will use the appropriate protocol.

Fixed by #3


where is run_all.sh

Thank you for open-sourcing this work . I'd like to try it on my own dataset. But I cannot find the complete running pipeline 'run_all.sh'. Is it missing?

when you run generator_gsm.py, it will generate an experiment folder based on the base_path in the config here: https://github.com/SqueezeAILab/LLM2LLM/blob/main/GSM8K/config.yaml#L4. In this case, for example, there will be a folder called llama2_0.1_chatgpt_10steps_1example which will have run_all.sh inside it.


Update classifications

We should be able to

delete labels / classifications
add new label samples

Implementation finished, whereas see https://app.katie.qa/classifying-messages.html


analyze CI is failing after Flutter 3.3 release

--------------------------------------------------------------------------------
tests:
Analyzing ....

   info - test_driver/cloud_functions/cloud_functions_e2e.dart:5:8 - The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'. Try removing the import directive. - unnecessary_import
   info - test_driver/firebase_storage/reference_e2e.dart:3:8 - The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'. Try removing the import directive. - unnecessary_import

2 issues found.
--------------------------------------------------------------------------------

https://github.com/firebase/flutterfire/runs/8195953894?check_suite_focus=true

Worked for me:
  firebase_auth: ^3.7.0
  firebase_core: ^1.21.1
  firebase_analytics: ^9.3.3


12.0.12, 13.0.7 & 14.0.2

The ... on stable & production commits basically only changed the ones were before there was 14.0.1 shipped to 14.0.2. So we still don't ship 14 on production, except you are on 14 already ;)


식품정보 조회 API를 개발한다

Hey team! Please add your planning poker estimate with Zenhub @snowcrab382 @JuHyeokParkk @Jureamer


[Attendees] No Information on "Attendees"

What kind of information should be shown here?

Please checkout now... :)


Create android studio Pluggin

It is easier to add Android Studio Pluggin than dependency

It might be indeed easier for someone, but annotations are attributes of project code itself, hence it should be kept with the code.
Only this way allows annotations to work for other contributors without additional configuration, which can be a pitfall on its own.
Dependencies are perfect for this job.
IMO it can be close as won't fix


Projects on project page should be ordered by most recent artifact

Projects on project page should be ordered by most recent artifact (talk, publication, or video)

Projects are now sorted by this function sort_projects_by_most_recent_artifact


peering naming

change 'public peering' to 'Microsoft peering'
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fbfc7ccc-7fd0-9bb7-7d39-e9cfa09736ce
Version Independent ID: c0e7f101-5707-63ff-8193-c74a3e1d9a75
Content: What is Azure Private Link?
Content Source: articles/private-link/private-link-overview.md
Service: private-link
GitHub Login: @malopMSFT
Microsoft Alias: allensu

@CloudCrusader, Thanks for reaching out. We will investigate and update this thread.

@CloudCrusader Thanks for the feedback. i have updated the correct peering, and the doc should reflect the change within 24 hours.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Other delivery mechanisms than Kafka

I am quite interested in this solution, but I don't want to use Kafka. Are there any plans or thoughts around other delivery mechanisms?

I am quite interested in this solution, but I don't want to use Kafka. Are there any plans or thoughts around other delivery mechanisms?

Hi!
we mainly focused to deliver along current architecture, but we tried to develop crawler with modular interfaces, so it shouldn't be very difficult to adopt another broker.
But it would be interesting why kafka is not ok? what are the downsides or it just some specific project requirement ?

I understand that. Glad to hear it is designed to be modular.
I just don't particularly like Kafka. It is heavy in both the operational and learning sense. I simply don't want it in my stack. Even if I can run it myself, I don't want my team to spend time to learn it and run it.
I think it might have been wise to start with something more lightweight that smaller teams could more easily pick up.

Thank you for sharing your point @gjermundgaraba !
I probably should mention that kafka plays intermediate role in process, and we try to provide initial config for it to work out-of-box, so potential operators wouldn't need to mess with in-depth learning of what's under the hood. At the end only db matters to end-consumer.
But, would you be able to provide an example (or maybe even couple of them) of what may suit us  instead of Kafka?

kinda agree with @gjermundgaraba - also you might consider this too:
https://github.com/bro-n-bro/spacebox/issues/6


[SWE-bench] Util: Compare files modified between gold patches and OpenDevin patches

https://aider.chat/2024/05/22/swe-bench-lite.html says it finds correct files to edit in 70.3% of benchmark tests. This PR adds a utility script that computes the number for OpenDevin.
Usage Example:
poetry run python evaluation/swe_bench/scripts/setup/compare_patch_filename.py --od_output_file<EMAIL_ADDRESS>
<EMAIL_ADDRESS>result says OpenDevin found correct files to edit in 64% of benchmark tests. The real number might be even lower because I consider success as long as OpenDevin modifies the correct file even though it might have modified other files erroneously and caused the test to fail.

I didn't add a README file coz I feel this script is not very useful in general. Feel free to merge or close it.

I didn't add a README file coz I feel this script is not very useful for general audience. I created this PR mainly to convey my findings. Feel free to merge or close this PR.

I don't mind having this added, in case anyone else might find it useful.
How about adding your usage example to the docstring in this file itself, though?


perf: ⚡ adds CSS minification

✅ Closes: #239
Description
Adds the following PostCSS plug-ins to the SASS compilation task:

CSS MQ Packer: De-dupes media query blocks by moving rule sets that are within identical media query blocks, into a single media query block. Since we often use media queries in per-component SASS files, this alone removes a fair chunk of redundant CSS - 9.2% to be precise. :warning: Note: Unfortunately, this NPM packages is longer maintained and has therefore been deprecated. I couldn't find an equivalent alternative though and it seems to work, so I've left it in for the time being.
CSSNano: Does a whole bunch of minification stuff

Based on some spot checks, this does not appear to have broken our CSS in any way.
Here are the before and after file sizes of dist/gravity.css:
No minification:         23573 bytes

CSS MQ packer only:     21404 bytes (9.2% reduction)

CSSNano only:           16669 bytes (29.3% reduction)

both:                   14845 bytes (37% reduction)

It looks like another developer intends to fork and revive CSS MQ Packer! :tada:
https://github.com/simbo/css-mqpacker-sort-mediaqueries/issues/1
We can migrate over to that version once it's ready.

:tada: This PR is included in version 2.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


GPII-3959: Fix for CouchDB prometheus exporter not starting

This PR bumps version of CouchDB Prometheus exporter Chart to force redeployment with new labels (disabling istio sidecar) on non-ephemeral clusters.
This fixes issue of Prometheus exporter not starting.

LGTM


Coin miner domain and wallet extraction

Create a new Job that can help identify whether a coin miner is on a machine.
A first good step could be to detect the xmrig miner, which typically is installed on the machine with a  config.json file so if that file is found, can then grep the config file to determine if it has any of the fields related to the xmrig config.
See here for example of what it looks like: https://github.com/xmrig/xmrig/blob/master/src/config.json
What can be useful is extracting the coin, url, user, and pass from the pools field.
    "pools": [
        {
            "coin": null,
            "url": "donate.v2.xmrig.com:3333",
            "user": "YOUR_WALLET_ADDRESS",
            "pass": "x",

FYI @aarontp in case you had any other thoughts

How about using our yara scan job with some coin
miner detection rules like below.
https://github.com/Neo23x0/signature-base/blob/master/yara/pua_cryptocoin_miner.yar

Ah good idea, looks like they cover more miners too as well as XMRig: https://github.com/Neo23x0/signature-base/blob/master/yara/pua_xmrig_monero_miner.yar
I guess we should already be running these yara scans then per Dockerfile? https://github.com/google/turbinia/blob/d9e2faae208971c33b4c338050a176e012a0938e/docker/worker/Dockerfile#L85C18-L85C63
Thinking then if there is a hit on a miner, we can at least pull the domain or wallet address rather than just getting a hash hit so possibly a Job/Task that can further process the Yara scans?

We've talked about this previously - maybe in a bug? - and decided there's nothing we can do with the information

Yeah I remember we did, don't remember where, but this resurfaced again which I was thinking even tracking the wallet would help detect wallet re-use through correlation, but thinking more, I don't know what the chances are of that happening (each miner may get its own ID unless it was user configured) + data itself may still not be useful minus possible attribution.
Also quick Google search I do see some relevant articles but doesn't seem like they were able to grab much more than transaction IDs  + dates or trying to find address re-use.  ( e.g.  here and here )
Going to close this out for now as not worth pursuing, but can chat more offline if something new resurfaces/more research was done that would be worth looking into.


Force a root asset to be selected to see any relationships

[pr-server]
View this change on PR Server


fix(notifications): include From/To in SMTP header

Using only RCPT calls to resolve recipient leads to empty to: fields in some email clients, and seems like it may cause some destination hosts to reject messages.
Signed-off-by: Alex Ullrich<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit subject follows the Conventional Commits spec
[x] The commit message follows the EdgeX Contributor Guide
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[x] make test has completed successfully

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number:
#2757
What is the new behavior?
Write sender and to addresses into SMTP message header
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Are there any new imports or modules? If so, what are they used for and why?
Are there any specific instructions or things that should be known prior to reviewing?
Other information

@AlexCuse , need to rebase.

@lenny-intel should be set now


fix: get system prefers-color-scheme

I use Mac (OSx) and Chrome with default Dark mode and, the theme always is Light.

Thanks for the PR @dimaslz! Though apparently process.browser is deprecated. I think we can just use typeof window === 'undefined'?

Looks like the recommendation is use process.client: https://nuxtjs.org/docs/concepts/server-side-rendering#window-or-document-undefined

Thanks @dimaslz! 😄


Scenes on shared device?

Hi,
Just finished setting up Homebridge for the first time with Smartthings! It works great, however on my shared device I can't get the scenes to work. Is it possible to do that? I have a scene called "Good Night" but it only runs on the admin device and iCloud on the shared device Siri says I can't do that. Is it possible to get this to work? Thanks

Appreciate a response, spent hours trying to figure this out. (:
Thanks

I dont know a lot on this topic, but I do know a little. Is the shared device on the WIFI network along with the homebridge server? If not, you must have an Apple TV to act as the bridge between iCloud and your network.  I have not been able to get an Apple TV 3rd generation to work, even though it is supposed to, so you may have to have to latest version of Apple TV for this.
Also, I dont export my scenes, I export virtual switches that turn on/off the scenes within SmartThings, so if you are on the same WIFI and the shared device doesnt work, this may be a feasible alternative.
I think the best results are achieved when people use homebridge as just a wrapper as it was originally intended, rather than a smart hub.  Put absolutley everything in SmartThings and only use homebridge to siri enable smartthings.  If you have a scene controller, export it (i use virtual switches because indont have scene controllers). This also helps to ensure homekit behaves exactly like smartthings.
I have one scene that turns on all my living room lights, and another that turns them all off.  So i export the the swit mch that controls the scene and all my devices (shared or otherwise) work via homekit to control the scene, since it is the switch that changes state, and it is SmartThings rules that do all the work.

Yes, the iPad is on my primary iCloud ID and the Apple TV 3rd gen is on the same ID. The iPad works on LTE and Wi-Fi, the scenes work without an issue and the same iPhone with the same iCloud as the iPad works flawlessly.
However, I shared homekit with another family members iPhone who is only able to access home kit on the local network and cannot control the scenes I created, Siri simply says I can't do this. I downloaded the "Devices" app on the shared iPhone and all of the devices on the iPad showed up but the scenes can not be created on the shared home kit iPhone either.
Yup, I did exactly that I created a virtual switch so when Home is on the routine home runs, etc for goodbye and goodnight. I have scenes turn on these switches.
Here is a breakdown of the issues I have so far:

I cannot control scenes using the shared homekit iPhone
The shared iPhone only works on Wi-Fi while the primary iPad works on Wi-Fi and LTE. The Apple TV 3rd gen is on the same iCloud as the primary iPad
I also want to intergrate a momentary switch so I can control my garages which are on a Evolve Z-Wave relay.

Which app are you using to control home kit devices? I am using devices. I am also curious about your setup, perhaps we can discuss this as I just began using home bridge yesterday.

I dont have any homekit devices.  I only use homebridge to control switches, and other devices via homebridge-smarthings plugin.
It looms like we have different result though, as i cannit make homekit work theough my apple tv noatter what, but all my shared devices are able to control all my switches.  Invluding my triggering my scenes via virtual switches.  On my hub, I have a rule that says, when button pressed, activate bedtime, and another rule that says when another button is pressed arm the house, etc.  homekit only sees these buttons.

So do you say "turn on goodbye" or just tell Siri "goodbye"
Goodbye works as I set it using the devices on primarily iCloud but not on the shared


Flaky Klyshko operator test

One of the operator tests fails spuriously. See here and the attached log archive for an example.

Might be resolved by #49.


lodash: signatures of the method _.trimLeft changed

https://lodash.com/docs#trimLeft
https://lodash.com/docs#_ (description of the chainable wrapper)

thanks mate!


Bump GNOME desktop version

The extension is 46 compatible.
Fix also Makefile target dependencies, creating the zip file before
installing it, to avoid errors.

Just tested this with Fedora 40 and GNOME 46, seems to be working fine.

Oh sorry, I somehow didn't even notice this PR. Not sure what happened, must've gotten filtered in my email! Appreciate the PR, keep 'em coming if I slack, I'll try not to miss it next time :)
Update should be pushed to e.g.o. now too


Integrate comms

Requires:

https://github.com/ignitionrobotics/ign-gazebo/pull/1428
https://github.com/ignitionrobotics/ros_ign/pull/239

This pull requests integrates the comms model from Gazebo Sim. It adds the CommsEndpoint system to all models. The conventions used are:

The address is the model name.
The ROS 2 topic to send data is <model_name>/tx.
The ROS 2 topic to receive data is <model_name>/rx.

How to test it?

Launch a world:

ros2 launch ros_ign_gazebo ign_gazebo.launch.py ign_args:="-v 4 -r simple_demo.sdf"

Spawn quadrotor_1:

ros2 launch mbzirc_ign spawn.launch.py name:=quadrotor_1 world:=simple_demo model:=mbzirc_quadrotor type:=uav x:=-0 y:=0 z:=1.2 R:=0 P:=0 Y:=0 slot3:=mbzirc_hd_camera

Spawn quadrotor_2:

ros2 launch mbzirc_ign spawn.launch.py name:=quadrotor_2 world:=simple_demo model:=mbzirc_quadrotor type:=uav x:=1 y:=1 z:=1.2 R:=0 P:=0 Y:=0 slot3:=mbzirc_hd_camera

Open a terminal and listen to the reception topic of quadcopter_2:

ros2 topic echo /quadrotor_2/rx

Open a terminal and send a message over the tx topic of quadcopter_1:

ros2 topic pub quadrotor_1/tx ros_ign_interfaces/Dataframe '{src_address: "quadrotor_1", dst_address: "quadrotor_2"}'

You should observe messages flowing.

confirmed that comms is working and I can send messages between drones.
I'm trying to testing the case when msgs stop dropping but it seems like it's always able to deliver the msgs?
Here's my setup with quadrotor_1 at x=2000 and quadrotor_2 at x=-2000 (notes onces the drone is spawned it drops to the ocean and becomes static so you won't be able to move them afterwards)
ros2 launch ros_ign_gazebo ign_gazebo.launch.py ign_args:="-v 4 -r simple_demo.sdf"

ros2 launch mbzirc_ign spawn.launch.py name:=quadrotor_1 world:=simple_demo model:=mbzirc_quadrotor type:=uav x:=2000 y:=0 z:=1.3 R:=0 P:=0 Y:=0

ros2 launch mbzirc_ign spawn.launch.py name:=quadrotor_2 world:=simple_demo model:=mbzirc_quadrotor type:=uav x:=-2000 y:=0 z:=1.3 R:=0 P:=0 Y:=0

ros2 topic pub quadrotor_1/tx ros_ign_interfaces/Dataframe '{src_address: "quadrotor_1", dst_address: "quadrotor_2"}'

ros2 topic echo /quadrotor_2/rx

Interesting.. I tried modifying the publisher example in ign-gazebo to publish data over comms from quadrotor_1 to quadrotor_2 and I see the expected behavior. However, if just do it over command line, the data always goes through:
while true; do ign topic -t "/broker/msgs" -m ignition.msgs.Dataframe -p "src_address: 'quadrotor_1', dst_address: 'quadrotor_2'"; done

Interesting.. I tried modifying the publisher example in ign-gazebo to publish data over comms from quadrotor_1 to quadrotor_2 and I see the expected behavior. However, if just do it over command line, the data always goes through:
while true; do ign topic -t "/broker/msgs" -m ignition.msgs.Dataframe -p "src_address: 'quadrotor_1', dst_address: 'quadrotor_2'"; done

The command line doesn't fill the data field. I wonder if it's related...

ok with help from @caguero, this is now fixed in the upstream PR: https://github.com/ignitionrobotics/ign-gazebo/pull/1428


Listed security is improperly inferred to be a listing

This is due, I think, because of a restriction on listed security that says it is identified by a ticker symbol, but a ticker symbol is asserted to identify a listing. This needs to be sorted out, as the references are circular at present.
The ticker symbol actually identifies the listed security, whereas the listing provides the registration details about the security. The ticker may or may not be used as a key into the registration information (i.e., the listing), so there may be an association, but it identifies the security.

No I think the Ticker identifies the Listing, i.e. the Security on a specific Exchange.

I checked with Bruce, that's not the case.  The listing provides the registration detail for the security, but is not the security.  The ticker is an identifier for the security.  He has one - he filed all of that with Nasdaq for his bank.

That's what one of my early investors from Sandpiper also said - the ticker identifies the listed security, not the listing, which is a record that is maintained by the exchange about the listed security.

The inferences were saying that the listing and listed security were the same thing, which I knew was wrong in any case.

That sounds correct.
Sent from John's iPad

On Dec 10, 2020, at 9:57 PM, Elisa Kendall<EMAIL_ADDRESS>wrote:

That's what one of my early investors from Sandpiper also said - the ticker identifies the listed security, not the listing, which is a record that is maintained by the exchange about the listed security.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Seems to me a Ticker is like a product code at Amazon - it represents the product as available through Amazon. You could buy the identical product at Target too but there it has a different product code.
FWIW on schema.org this notion is modeled as an Offer https://schema.org/Offer.
We should not be focusing on whatever "record" Amazon and Target may have about the product.
Since we define ListedShare/Security as the instrument listed on MANY exchanges.
Let's look at FIGI which is more precise. We have:
<owl:NamedIndividual rdf:about="&fibo-sec-eq-eqind;BBG00JPR0LX8">
<rdf:type rdf:resource="&fibo-sec-sec-idind;FinancialInstrumentGlobalIdentifier"/>
rdfs:labelBBG00JPR0LX8</rdfs:label>
skos:definitionFinancial Instrument Global Identifier (FIGI) for Apple Inc. common shares listed in the London Stock Exchange</skos:definition>
lcc-lr:hasTagBBG00JPR0LX8</lcc-lr:hasTag>
<lcc-lr:identifies rdf:resource="&fibo-sec-eq-eqind;XLOMListedAppleIncCommonStock"/>
</owl:NamedIndividual>
which references:
<owl:NamedIndividual rdf:about="&fibo-sec-eq-eqind;XLOMListedAppleIncCommonStock">
<rdf:type rdf:resource="&fibo-sec-sec-lst;Listing"/>
rdfs:labelXLOM-listed Apple Inc. common stock</rdfs:label>
skos:definitionApple Inc. common share listed in the London Stock Exchange</skos:definition>
<fibo-fnd-acc-cur:hasCurrency rdf:resource="&fibo-fnd-acc-4217;USDollar"/>
<fibo-sec-sec-lst:isTradedOn rdf:resource="&fibo-fbc-fct-mkti;Exchange-XLOM"/>
<fibo-sec-sec-lst:lists rdf:resource="&fibo-sec-eq-eqind;AppleIncCommonStock"/>
</owl:NamedIndividual>
This represents the Offer, which is a real business thing, not some sort of "record".
If there is a change needed it's to change the definition of Listing to replace "registry entry for a security" to "offer of a security". And maybe even change its URI?

Back to the original bug, it's the restriction on ListedSecurity isIdentifiedBy TickerSymbol that's problematic. It should be a restriction on isListedVia some Listing.


UnicodeDecodeError in vim

$ pymux
$ vim newfile
$ ctrl+b
$ shift+% (vertical split)
$ mouse click on second pane, then click back again
$ crash

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8c in position 4: invalid start byte
Crash occurs on mate-terminal with both pyvim and vim, only when using mouse click to switch the panes. Default configuration.

Sorry, pymux did not create a crash file in /tmp, nor in /var/tmp. The only files that were left there were open sockets pymux.sock.<user>.1

Thanks a lot for reporting this bug! I appreciate it.
This should be a bug in the client part, that doesn't dump a stack, but this is already very helpful like this.
I will investigate next week. It shouldn't be hard to solve.
Jonathan

I have run into this too. My traceback looks exactly the same.

I think this was fixed in the following commit from three days ago: https://github.com/jonathanslenders/pymux/commit/0eafae809d29e5976f39533358b2a32cdaa285d8
(Not sure, but I'll verify again, and hopefully push a new release to pypi.)
Thanks everyone for reporting the bug!


AIR BAND

Can do match the ats20+ to sintonize and hear Air band in AM Mode?
118mhz - up

Hi,
To receive the air band in AM mode you would need to have a down converter to move the frequency into the HF band, which supports narrow band AM demodulation.
It would be possible to build a mixer circuit with a programmable oscillator, similar to those proposed on the ATS25 receivers. Unfortunately on the ATS20 the additional firmware required to control the oscillator probably would not fit in the code space of the Nano without removing other features.
Relatively low cost down converters are available, see example below. This would not require any firmware or hardware changes. Two versions of the down converter are available, 100MHz and 110MHz.
For example using the 100MHz version, to listen to 120MHz, you would tune to 20MHz on the ATS20.
https://www.youtube.com/watch?v=JILgwTiw1cM
73, Dave


Automated cherry pick of #8411

Cherry pick of #8411 on cloud.
/cc  @jwilander

/release-note none

/release-note-none


quick starT

retest this please

retest this please

retest this please

Already done here: https://github.com/mesosphere/dcos-commons/commit/0fd04114049e09ca9e975c79a42f0652f803a8a3


Curious Blueprint Issue

I was looking to make a new glaive item, so I grabbed one of the Soulshear blueprints as a starting point and changed what I wanted, then built the mod. Everything about it worked as expected, except the character equipping it would instead hold it in one hand and sheath it at their hip like a one-handed weapon. Nothing I changed should cause this to happen, and I progressively took off changes to figure out what I had messed up until finally I did nothing but duplicate the original item, change the blueprint name, and change the guid. But even then, the issue persists, which makes absolutely no sense. The blueprint is below and as you'll see it's identical to Soulshear except with a new, Unity-generated GUID.
 Removing it didn't help either, it had to be set to "AxeTwoHanded" to work.
That solves the issue, but it remains very strange the baseline blueprint provided with the install would not actually properly replicate the item.


Bug - Alt hover handlers not reconnected (?) after docblock modifications.

Hello
I think I figured out one of the issues I was having with alt hovering not triggering in docblocks, it appears they are just not added for newly added comments, for example:
/**
 * Test
 *
 * @return SomeType
 */

Using alt and hovering over SomeType works correctly. However, if you now remove the line with  * @return SomeType, save, readd it, and save again, you can now no longer hover over it using the alt key. Closing the file tab and reopening it fixes the problem, so I think the handlers are just not connected for new code in comments (perhaps the file is only scanned once when it is opened)? This does work correctly for code outside comments.
Thanks in advance

Hello,
That's a known limitation (see https://github.com/Peekmo/atom-autocomplete-php/pull/42)
I add the label bug to this issue anyway
Regards,
Peekmo

This could be solved with pull request #87 as it removes and readds these markers on file save.

Your PR partially solve the problem, I think that it's acceptable if it works on file save.
So, I close the issue.
Feel free to reopen it if you want :)


Use routes with createFactory-ed components

I don't use jsx and prefer for all my components to be wrapped in createFactory so they're easy to instantiate. Unfortunately it seems like I can't just pass the factory-ed component to Route as I get errors
var component = React.createFactory(React.createClass({
    ...
});

I can't do
React.createElement(Route, {path: 'foo', component})

Seems like a really easy fix unless there's some specific reason to avoid this

As far as I know it's bad practice to just wrap all your components within createFactory. You should use it on the consumer side, i.e
// App.js
module.exports = App; // no createFactory

// index.js
var App = require('./App');
var route = React.createElement(Route, {component:App}); // this will work now

// somewhere else
var App = React.createFactory(require('./App'));

Whats the reasoning for it being bad practice? It seems so clean...

Interoperability and reusability I'd say. As you already noticed, factories and component classes aren't compatible (one expects to be invoked, the other needs to be passed to createElement). So if you're importing other third-party components, you need to be aware of which component exports what.
There's also other components that expect component classes via their props. So even if we made it work with factories, you'd probably soon run into the next library asking for factory support.
I think it's one of the nice things about react that everything is a component and can be handled the same way. By using  factories like this, you're giving up on that and make things more complex than they need to be.
Finally, if you every wanted to get rid of createFactory, you could change one component at a time without any surprises. With your approach, you'd have to change every consumer as well.

We do not have any plans to support plain functions in the component prop. Only actual component classes.


Make colormap code like algorithm code

Move colormap code to ftcore
have the lookup table, print_cmaps, and read from iostream in separate file.
Create cpp file to compile that.
Move colormap struct to colormap file
Use python template for file instantiation

Also change colormap size to number of iterations


Add check that dynamic ONNX axis do not use different length

This is a huge issue, especially with IO Binding and TensoRT, where buffers may tentatively be reused, which fails in case we hinted same shapes although it is not the case.
Current issues:

The batch_size may be zero with the fake pkv introduced in seq2seq models (should rather leave the real value, and out zero in the sequence length).
The encoder_sequence_length_out is repeated in the input/output of seq2seq models, with different shapes (1 and encoder length).

Fixes https://github.com/huggingface/optimum/issues/870

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Specs Wishlist

A list of ToDos and issues for the XML-based OpenGL spec:

every Parameter or Return value of type GLbitfield should be replaced by appropriate bitfield group
every Parameter or Return value of type GLenum should be replaced by appropriate enum group
more to come ...

Issue collections should be converted to milestones.


wcwidth fastpath attempt

Just the side note: I'm very impressed by string_width.
Pretty sure it's faster than binary search.

Ultimately I am looking for a solution to count graphene clusters and their wcwidth's via SIMD to at least match ~ 700 MB/s.
But I think such an algorithm does not (or not yet) exist.

Can be gladly closed. master branch now contains O(1) access to all relevant (including wcwidth) properties.


Cannot create new project on CLI 12.1.0-next.3 / dependency issues

🐞 Bug report
Command (mark with an x)

[x] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: 11
Description
trying to create new project using ng new then selecting YES for angular routing and SCSS results in error:
ERESOLVE unable to resolve dependency tree
🔬 Minimal Reproduction
ng new
Yes for angular routing
SCSS for styles
🔥 Exception or Error

⠏ Installing packages (npm)...npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/compiler-cli
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR!     \AppData\Local\npm-cache\_logs\2021-06-03T01_01_44_281Z-debug.log
✖ Package install failed, see above.
The Schematic workflow failed.

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1201.0-next.3 (cli-only)
@angular-devkit/core         12.1.0-next.3 (cli-only)
@angular-devkit/schematics   12.1.0-next.3 (cli-only)
@schematics/angular          12.1.0-next.3 (cli-only)

Anything else relevant?
Before installing 12.1.0-next.3 I was getting TONS of deprecate warnings with angular CLI 11, tried to somehow resolve them by removing npm/yarn cache, fiddling around with angular version, reinstalling angular CLI, none of that helped. Then tried CLI 12 however it still had deprecation warnings.
Normally I wouldn't be bothered by couple of those however after seeing 40+ I realized something is clearly wrong. Unfortunately next did not help either, now I cannot even create new project. I was not sure whatever I should create issue for this or not. But this is how existing project that has previously worked (angular version 11.2.14), looks after installing dependencies using yarn:
warning @angular-devkit/build-angular > webpack-dev-server ><EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > webpack-dev-server > chokidar ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @angular-devkit/build-angular > stylus > css-parse > css ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > stylus > css-parse > css > source-map-resolve ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > webpack-dev-middleware > webpack-log ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  Se
e https://v8.dev/blog/math-random for details.
warning @angular-devkit/build-angular > webpack-dev-server > sockjs ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https:/
/v8.dev/blog/math-random for details.
warning @angular-devkit/build-angular > webpack > watchpack > watchpack-chokidar2 ><EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > stylus > css-parse > css > source-map-resolve ><EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
warning @angular/cli > universal-analytics ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random
for details.
warning @angular/cli > universal-analytics ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning @angular/cli > universal-analytics > request ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/ma
th-random for details.
warning @angular/cli > universal-analytics > request ><EMAIL_ADDRESS>this library is no longer supported
warning @angular/cli > pacote > @npmcli/run-script > node-gyp ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning @types/bootstrap ><EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>- 3".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@angular-devkit/build-angular > cssnano > cssnano-preset-default > postcss-merge-longhand ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Hi @pwilkowskil,
Can you run npm ls postcss, I am suspecting NPM 7 is hoisting the packages incorrectly. NPM 7 has a number of defects which causes incorrect hoisting.

I deleted my previous comment, cause I got slightly confused with the report. It seems that the are 2 different issues being reported here.
V12 with NPM 7
This is an oversight that we didn't update the peer dependencies to cater for 12.1.0 prerelease version.
V11 with Yarn
This is related to https://github.com/angular/angular-cli/issues/20888 and a fix will be available in @angular-devkit/build-angular version 0.1102.14.

@alan-agius4
Technically the section of "Anything else relevant?" is how I got into this issue in the first place. I am not hellbent on keeping angular on version 11.
Updating NPM to version 7 was just one of the things I have tried. Technically the dependencies issues are also present on NPM (Before updating to 7 that broke it completely).
To share some more light on this,
following issues are ONLY about 12.1.0-next.3:

After ng new failed i tried to simply use yarn inside of project
npm i still fails with exact same message
Two warnings disappear when i put "resolution":

"resolutions": {
  	  "chokidar": "^3.5.0"
}

warning @angular-devkit/build-angular > webpack-dev-server ><EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @angular-devkit/build-angular > webpack-dev-server > chokidar ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.```

So I will probably open new issue (or find existing one) in webpack-dev-server since I have confirmed that this package alone causes at least couple warnings.

pacote requires @npmcli/run-script to be updated so it is not angular issue
stylus is suppose to be gone? Am I missing something? https://twitter.com/Splaktar/status/1387646440026087425 Or is it simply not pushed/released yet?

warning @angular-devkit/build-angular > stylus > css-parse > css ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > stylus > css-parse > css > source-map-resolve ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning @angular-devkit/build-angular > stylus > css-parse > css > source-map-resolve ><EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated```

If you need any more information, let me know.

That tweet does seem to send an incorrect message. //cc @Splaktar.stylus support is not removed, it is deprecated in v12. What was removed was the possibility to use stylus in new applications.
Regarding the warnings, indeed these seem to be upstream related and cannot be addressed directly by us.

Thank you for the clarification. Clarifying tweet posted: https://twitter.com/Splaktar/status/1400522600003117057

This is related to #20888 and a fix will be available in @angular-devkit/build-angular version 0.1102.14.

Sounds great, but this can't happen fast enough - is there an ETA on 0.1102.14?

@dgp1130 will be cutting an LTS release for version 11 later on today.

@crfrolik, CLI v11.2.14 was just released. We had some CI issues this week which slowed things down a bit, but @clydin was able to figure those out to unblock the release.