Update removing-user-from-restricted-users-portal-after-spam.md

Made changes to the note on the document per author

@JohanFreelancer9 Please copy review

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3964

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3964


Minor named param simplification

that's the only sneaky one I noticed (until you upgrade to underscore>1.8 lodash>2.3)

Thanks!


Welcome message should use ADMINS set in environment and link to them

This PR includes the changes of https://github.com/PyBites-Open-Source/karmabot/pull/96/files as I needed them here. I tested it in my env and admins are now used from the corresponding env variable and are properly linked:

Codecov Report

Merging #97 (76f8115) into develop (0eaeefa) will increase coverage by 1.57%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #97      +/-   ##
===========================================
+ Coverage    54.01%   55.58%   +1.57%
===========================================
  Files           23       23
  Lines          735      743       +8
  Branches        87       89       +2
===========================================
+ Hits           397      413      +16
+ Misses         318      312       -6
+ Partials        20       18       -2

Impacted Files
Coverage Δ

src/karmabot/commands/welcome.py
100.00% <100.00%> (+44.44%)
:arrow_up:

src/karmabot/settings.py
89.65% <100.00%> (+15.58%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks


⚠ Jenkins Plugins Artifactory has degraded performance

In abc35f9, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b079614 after 12 minutes.


MINOR: Fix typo in make-release.md

What changes were proposed in this pull request?
This PR aims to fix a typo in make-release.md.
Why are the changes needed?
git co is an incorrect command because co is from svn. We need to use git checkout instead.
How was this patch tested?
N/A.

Thanks, @williamhyun. The danger of git supporting aliases is that one of mine slipped in to this page.


ASP.NET Core Module compatibility

Fixes #21910
Internal Review Topic (links to section in the 5.0 content)
Thanks @avendel! :rocket:
No cross-link to Announcements here. I'll note here in passing that there is no main to keep up with Announcements, see ... cross-link outside of mentions in Migration topics (cc: @Rick-Anderson on that in case it should be called out in the ASP.NET Core Introduction article ... I can add it to this PR if you want ... it's just a one-liner or an Additional resources cross-link there I think 🤔).

Like that :point_up:? Look good?
btw - I was thinking that such a link for these three spots would go something like this if we did it ...

Breaking changes or security advisories that apply to the ASP.NET Core Module or .NET Core Hosting Bundle are reported on the [ASP.NET Core Announcements repo](https://github.com/aspnet/Announcements/issues). Annoucements can be filtered with `label:{VERSION}`, where the `{VERSION}` placeholder is a .NET release version (for example `6.0.0`).

Let me know if you want that. Otherwise, I'll just wait to see if Rick wants the Introduction to have something on that repo.

I think the first is fine. And LGTM.

See #21915 - seems like this is the way to go for 7.0. Just update the include for 7.0, no need to make a duplicate include, 6.0 folks can see the 7.0 text.

Except that that's too specific to be used across the whole repo. There's probably a way to make it more generic.
These two PRs are stepping on either other a bit ... 🐔 and 🥚 scenario. I recommend that we either kill the added bits here and work the whole thing from the other PR or kill the other PR and work the INCLUDES file in here.

Except that that's too specific to be used across the whole repo. There's probably a way to make it more generic.
These two PRs are stepping on either other a bit ... 🐔 and 🥚 scenario. I recommend that we either kill the added bits here and work the whole thing from the other PR or kill the other PR and work the INCLUDES file in here.

Or just go with what you have.

I'll make it generic in an INCLUDES file here. I'm thinking like ...

Breaking changes or security advisories are reported on the [Announcements repo](https://github.com/aspnet/Announcements/issues). Announcements can be limited to a specific version by selecting a Label filter.

I shortened what you had. I think the readers would get it from this.

Good idea, that's plenty.

@Rick-Anderson ... Ok ... try it now :eyes:.

btw ---- I WILL use that INCLUDE in one or a couple of Blazor docs. I think that's a good thing to remind on in a few critical spots.


cli: "popper add" projects for gitlab

I'd like the ability to reference any public popperized GitLab repo when using "add" from the popper cli tool.

hey @qwofford! sorry for the delay. Currently we only support git/github but project https://github.com/systemslab/popper/projects/9 and associated issues have the goal to add support for Gitlab. We'll be working on this soon!

This will be subsumed by #483


How to use HtmlInputElement (focus, select) ?

I want to do simple thing. Just focus and select input field after click button. I have code like this:
<EMAIL_ADDRESS>let make = () => {
  let inputRef = React.useRef(Js.Nullable.null);

  let handleSelect = _event => {
    let element =
      inputRef.current->Js.toOption->Belt.Option.flatMap(Webapi.Dom.HtmlInputElement.ofElement);

    switch (element) {
    | Some(input) =>
      Webapi.Dom.HtmlInputElement.focus(input);
      Webapi.Dom.HtmlInputElement.select(input);
    | None => ()
    };
  };

  <>
    <input
      className="new-leon-input"
      type_="text"
      value="abcd"
      onChange={_ => ()}
      ref={ReactDOMRe.Ref.domRef(inputRef)}
    />
    <button onClick=handleSelect> "select"->React.string </button>
  </>;
};

Compiler return a bug:
  We've found a bug for you!
  src/components/TestComponent.re 11:41-45

   9 ┆ switch (element) {
  10 ┆ | Some(input) =>
  11 ┆   Webapi.Dom.HtmlInputElement.focus(input);
  12 ┆   Webapi.Dom.HtmlInputElement.select(input);
  13 ┆ | None => ()

  This has type:
    Dom.htmlElement (defined as
      Dom.eventTarget_like(Dom._node(Dom._element(Dom._htmlElement(Dom._baseClass)))))
  But somewhere wanted:
    Webapi.Dom.HtmlInputElement.t_htmlElement (defined as
      Dom.eventTarget_like(Dom._node(Dom._element(Dom._htmlElement(Dom._htmlInputElement)))))

  The incompatible parts:
    Dom._baseClass
    vs
    Dom._htmlInputElement

What is wrong in this code ? This code was working with bs-webapi 0.15.9, with newest: 0.19.1 i have an error above. Maybe there is a bug in library ?
I use bs-platform: 7.3.2

It looks like the type of ofElement has changed to Webapi__Dom__Element.t => option(Dom.htmlElement) instead of option(Dom.htmlInputElement).
And it's another bug from #182 :
https://github.com/reasonml-community/bs-webapi-incubator/pull/182/files?file-filters[]=.re#diff-f6590c311eac02db4a8591dfe7b1a4c232207269ed2d71105f8407ad4c5ba34dL13-R4
The type annotation on let ofElement: Dom.element => option(t_htmlElement) has been lost (I'm not even sure if it would be valid with the new implementation) so the function becomes effectively useless in scenarios where it's inherited by other modules.
cc @yawaramin

Hey, any progress of this one? We've run into the same issue trying to access input's value in tests.

Downgrade your version? It has been nearly a month and the maintainer hasn't responded 🤷♂

With 0.18, 0.17, 0.16 i have the same problem. In 0.15.9 works - but no with bs-platform 8.3.1. With bs-platform 8 and bs-webapi 0.15.9 i have an error:
We've found a bug for you!
  /home/leon/public_html/client/react/node_modules/bs-webapi/src/Webapi/Webapi__Dom/Webapi__Dom__DomStringMap.re:11:5-7

   9 │ let set = (key, value, map) => set(map, key, value);
  10 │ let unsafeDeleteKey: (key, t) => unit =
  11 │   [%raw (key, map) => "delete map[key];"];
  12 │

  bs.raw can only be applied to a string

I made workaround to have working with bs-platform 8 and newest bs-webapi, i just created my own functions with %raw (maybe it will be useful to someone):
  let focus: Dom.element => unit = [%raw {| domElement => domElement.focus() |}];
  let select: Dom.element => unit = [%raw {| domElement => domElement.select() |}];

<EMAIL_ADDRESS>let make = () => {
  let inputRef = React.useRef(Js.Nullable.null);

  let handleSelect = _event => {
    let element = inputRef.current->Js.toOption;

    switch (element) {
    | Some(input) =>
      focus(input);
      select(input);
    | None => ()
    };
  };

  <>
    <input
      className="new-leon-input"
      type_="text"
      value="abcd"
      onChange={_ => ()}
      ref={ReactDOMRe.Ref.domRef(inputRef)}
    />
    <button onClick=handleSelect> "select"->React.string </button>
  </>;
};

But of course it would be much better to fix this library.

Oh right, because the library had to be updated to work with some ReScript incompatibilities and this bug was introduced around the same time.
You could use external instead of raw, if you prefer, similar to how webapi does it
[@send] external focus: Dom.element => unit = "focus";
[@send] external select: Dom.element => unit = "select";

and then focus(input) will compile to input.focus().


LTD-2894-shift-generic-fields-to-GoodOnApplication

The following fields have changed in API.
"is_onward_exported"
"is_onward_altered_processed"
"is_onward_altered_processed_comments"
"is_onward_incorporated"
"is_onward_incorporated_comments"
Added to firearm_details originally which is an extension of good when an item is a firearm.  When adding non-firearm products during C5 it became these transparent these fields are require for other products also. In addition these fields can be set each time a good is added to any application. Hence they were added to 'GoodOnApplication'
These PR shifts the firearms fields from "Goods" and shifts them to GoodOnapplication as the fields are removed. The UI has changed so that they are set/saved using the relevent payload.
There's also an accompanying  PR that migrates the values and removes the fields.


Returning fetch_news() as list, dic or json.

As mentioned in the title, I'd like to suggest returning a list, dictionary or json, instead of an unsubscriptable object in the function called "fetch_news".

"fetch_news" itself does return a list, but all of its elements are unsubscriptable because they are objects of the news data class.
I chose that approach, because it is easier to understand, what attributes a news object contains. If I'd be using a dictionary, it wouldn't be obvious what entries it had (without separate documentation).
But if you need a subscribable object, you could add a to_json function to the data class, that converts it to a json string.


selenium: Replace Chrome Webdriver with Firefox

The integration tests are currently using the Chrome driver for selenium.
We have seen our CI fail due to issues with this driver:
selenium.common.exceptions.WebDriverException: Message: unknown error: no chrome binary at /opt/google/chrome/google-chrome

This is most probably what's causing the integration tests to fail:
WARNING  selenium.webdriver.common.selenium_manager:selenium_manager.py:133 The chromedriver version (115.0.5790.110) detected in PATH at /usr/bin/chromedriver might not be compatible with the detected chrome version (115.0.5790.170); currently, chromedriver 115.0.5790.170 is recommended for chrome 115.*, so it is advised to delete the driver in PATH and retry

Goal
Replace the Chrome driver with Firefox, which is OSS, as well as the default browser in Ubuntu.
Note that this is what we're already using for the bundle-kubeflow tests.

Workaround
A workaround to the chrome compatibility issue is to pin selenium<4.11 as we did in https://github.com/canonical/dex-auth-operator/pull/156.


failed in setup.py

error: command 'D:\program_files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed with exit code 2

Could you use Ubuntu? I have no idea about building on Windows.


[1.21.1] No recipes

I see recipes inside the mod jar but there are none appearing in-game in JEI or recipe book, and the described recipes in the jar dont function
MC 1.21.1
Fabric 0.16.7
Mighty Mail 1.21.1-1.1.2
Framework 1.21.1-0.9.3

Found it's because all of the recipe .json files use "item:" in the result field when it needs to be "id:"


"File to read not found or unreadable" with -w under Windows

NPM version (npm -v): 4.2.0
Node version (node -v): v7.5.0
Node Process (node -p process.versions):

{ http_parser: '2.7.0',
  node: '7.5.0',
  v8: '5.4.500.48',
  uv: '1.10.2',
  zlib: '1.2.8',
  ares: '1.10.1-DEV',
  modules: '51',
  openssl: '1.0.2k',
  icu: '58.2',
  unicode: '9.0',
  cldr: '30.0.3',
  tz: '2016j' }

Node Platform (node -p process.platform): win32
Node architecture (node -p process.arch):  x64
node-sass version (node -p "require('node-sass').info"):

node-sass       4.5.0   (Wrapper)       [JavaScript]
libsass         3.5.0.beta.2    (Sass Compiler) [C/C++]

npm node-sass versions (npm ls node-sass):

`--<EMAIL_ADDRESS>

Randomly when using node-sass directly from command line (without gulp), it fails with the error:
=> changed: G:\www\styles\styles.scss
{
  "status": 3,
  "message": "File to read not found or unreadable: G:/www/styles/styles.scss",
  "formatted": "Internal Error: File to read not found or unreadable: G:/www/styles/styles.scss\n"
}
=> changed: G:\www\styles\styles.scss
Rendering Complete, saving .css file...
Wrote CSS to G:\www\styles\styles.css
Wrote Source Map to G:\www\styles\styles.css.map

the file exists all the time, the HDD is fine and healthy. it fails around 30% of the time, and I have to re-save the file for the watch to recompile. sometimes it fails 4-5 times in a row. the ownership of the files are fine, no symlinks are being used, if it matters, I'm using VSCode (but the problem happens with EmEditor as well)

I face the same issue with v4.5.0 on Windows 10. node-sass watch compiles for the first change then show error for the second change.
The same node-sass version run well on Mac OSX 10.11.6

I also have this issue on Windows 10 and node v6.9.5 when calling from node script
...
function style() {
        sass.render({
            file: path.join(path_style, 'main.sass')
        }, function (err, result) {
            if (err)
                console.log(err);
            else
                fs.writeFileSync(
                    path.join(path_dist, `style.css`),
                    result.css
                );
        });
}

var style_watcher = chokidar.watch([
    path.join(path_style, '/**/*.sass')
]);
style_watcher.on('change', style);
style_watcher.on('unlink', style);

In ./src/style:

when create new file _Foo.sass- OK
when add @import Foo to main.sass and save- ALWAYS ERROR (shown below)
when save again- OK

{ Error: File to read not found or unreadable: C:/Users/MJ420/Desktop/sass_test_project/src/style/main.sass
    at Object.module.exports.renderSync (C:\Users\MJ420\Desktop\sass_test_project\node_modules\node-sass\lib\index.js:439:16)
    at FSWatcher.style (C:\Users\MJ420\Desktop\sass_test_project\tools\tasks\main.js:158:27)
    at emitTwo (events.js:106:13)
    at FSWatcher.emit (events.js:191:7)
    at FSWatcher.<anonymous> (C:\Users\MJ420\Desktop\sass_test_project\node_modules\chokidar\index.js:191:15)
    at FSWatcher._emit (C:\Users\MJ420\Desktop\sass_test_project\node_modules\chokidar\index.js:233:5)
    at FSWatcher.<anonymous> (C:\Users\MJ420\Desktop\sass_test_project\node_modules\chokidar\lib\nodefs-handler.js:263:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
  status: 3,
  message: 'File to read not found or unreadable: C:/Users/MJ420/Desktop/sass_test_project/src/style/main.sass',
  formatted: 'Internal Error: File to read not found or unreadable: C:/Users/MJ420/Desktop/sass_test_project/src/style/main.sass\n' }

Have the same error when making the following steps:

Run node-sass with -w option.
Create the new directory inside the watched directory.
Create and save *.scss file inside the new directory.

OS: Windows 10
Editor: Visual Studio Code
NPM: v. 3.10.10
NODE: v. 6.10.0

Same issue on win10, node 7.7.4, visual studio code 1.10.2
It seems as if node-sass attempts to access the .sass file at the very moment it's locked by ide or something like that. So it happens no every time (1/3 of saves) and usually works on second save.

Same issue on win10, node 6.9.5 when using node-sass with --watch flag.
Passed it using nodemon:
"build-css": "node-sass src/ -o src/",
"watch-css": "nodemon -e scss -x "npm run build-css""

Hi, I've the same error when run such npm script:
"scripts": {
    "css:build": "node-sass src/scss/main.scss -o dist/css/ --output-style compressed",
    "css:watch": "npm run css:build && npm run css:build -- -w",
    "css": "npm run css:watch"
  },

I'm using VS Code. After I tried edit and save sccs file with notepad there is no any issues, all works fine. Who have troubles do you also use VS Code?

Have the same error when making the following steps...
{
"status": 3,
"message": "File to read not found or unreadable: d:/work/project_react/src/App.sass",
"formatted": "Internal Error: File to read not found or unreadable: d:/work/project_react/src/App.sass\n"
}
OS: Windows 10
Editor: sublime text
NODE: v4.4.7

This sounds like an issue with atomic saves. Make sure you disable atomic_save in Sublime.

You're also likely to have issues if you files are on a networked drive or container because of delays when writing the files.
This is a limitation of filesystem watchers and not something node-sass can do anything about.

grunt-watch works flawlessly, so it is a problem with node-sass

Have the same problem.

Could all the "me too" people say clearly which filesystem are they using on the affected drive?
Is it local NTFS drive?
SMB share?
Something virtualized?
If this is not a local NTFS drive? Can you reproduce the problem using local C: drive?

NTFS, local, primary

NTFS, local, secondary.

try https://www.npmjs.com/package/gulp-wait

I am afraid this must be something with the way node watches file changes, not much we can do with node-sass :( it probably belongs to the node itself

I decided to take a closer look at this problem.
I used Process Monitor to analyze what exactly happens after saving the file I mentioned earlier.
Here are the results when error:

It seems that when a file is saved, sometimes VS Code does not keep up closing the file, while chokidar already triggered node-sass's job.
And this is a capture log when the file is processed without errors:

In both cases, only files from src and dist directories were captured.
Watcher code used for test::
// filename: development.js
var chokidar = require('chokidar')
var fs = require('fs')
var path = require('path')
var sass = require('node-sass')

var srcDir = path.resolve(__dirname, "../src")
var distDir = path.resolve(__dirname, "../dist")

chokidar.watch(path.join(srcDir, "**/*.scss")).on('all', (event, _path) => {
    console.log("File changed: ", _path)
    sass.render(
        {
            file: path.join(srcDir, "styles/main.scss"),
            outFile: path.join(distDir, "main.css"),
            sourceMap: true
        },
        function (err, result) {
            if (err) {
                console.log(err)
            } else {
                console.log(result)
                fs.writeFile(path.join(distDir, "main.css"), result.css, (err) => {
                    if (err) {
                        console.log(err)
                    }
                })
                fs.writeFile(path.join(distDir, "main.css.map"), result.map, (err) => {
                    if (err) {
                        console.log(err)
                    }
                })
            }
        }
    )
})

I'm not familiar witch c++ but it seems like this line is Suspicious:
554: char* contents = read_file(abs_path);
I have not found function's read_file documentation, but it seems when read from locked file this return empty string.
IMO better idea is wait(with timeout) until file is locked and then (when file is unlocked) read file.

I done another test.
Now node-sass is wrapped in setTimeout so it run with some delay, and I'm sure all other operations on this file have ended.
var chokidar = require('chokidar')
var fs = require('fs')
var path = require('path')
var sass = require('node-sass')

var srcDir = path.resolve(__dirname, "../src")
var distDir = path.resolve(__dirname, "../dist")

chokidar.watch(path.join(srcDir, "**/*.scss")).on('all', (event, _path) => {
    console.log("File changed: ", _path)
    setTimeout(() => {
        sass.render(
            {
                file: path.join(srcDir, "styles/main.scss"),
                outFile: path.join(distDir, "main.css"),
                sourceMap: true
            },
            function (err, result) {
                if (err) {
                    console.log(err)
                } else {
                    fs.writeFile(path.join(distDir, "main.css"), result.css, (err) => {
                        if (err) {
                            console.log(err)
                        }
                    })
                    fs.writeFile(path.join(distDir, "main.css.map"), result.map, (err) => {
                        if (err) {
                            console.log(err)
                        }
                    })
                }
            }
        )
    }, 100)
})

Result: no errors :D
Now I'm sure it's as I described it in the previous comments

@sbfkcel this situation can occur because the VS Code and Node.js processes operate independently of each other.
The problem lies with the lib-sass side, that does not check whether the file is currently readable.
In other transplers like LESS or Stylus, this problem probably is not occur (I haven't analyzed their code) because they are much slower and before they start reading from the file, the IDE is able to perform all operations on the file.
Or they simply wait befere file is readable, but as I says, I didn't analyze their code.

Has anyone had any progress with this, besides what @mikejav said above?

@mikejav I think it should be like this.
My solution now is to pass string-wise to node-sass to ensure the file is valid.
But there is still a problem, node-sass for some special character support may not be very friendly.

I've created a PR that fix this problem: https://github.com/sass/node-sass/pull/2386
If want to try this fix, you can patch your node-sass local copy replacing 'node_modules/node-sass/lib/render.js' with this version: https://github.com/marcosbozzani/node-sass/blob/bug-vscode-watch/lib/render.js
The diff is here: https://github.com/marcosbozzani/node-sass/commit/266861bf5761dcafd5d53d123264b965c861887c#diff-a485abf5b8f49de7f313d7799df3faf4

@marcosbozzani works form me on windows 10 and node-sass 4.9.0 version!
Thanks a lot!

"node-sass": "^4.9.0", didn't worked for me, had to replace the file, only then it worked

@marcosbozzani
it worked! thx so much

works win10 node-sass 4.9.2 thx @marcosbozzani

Thanks a lot!

thanks mate @marcosbozzani ..it really works!

I'm using version 5.6.0 (npm - v sass) and it breaks sass. Am I doing something wrong?

@marcosbozzani Thanks for the PR but this doesn't seem to work for me on Windows 10, VSCode, using node-sass-chokidar. In fact, it 's so bad that it completely crahes my npm run. I'll continue my comment in the cokidar issue. However, I would still like to say that looking at your code this isn't really a fix, more something that should serve as a temporary patch. It can't be that a solution consists of: trying a thousand times and if that not works, throwing an error.

@marcosbozzani Thank you so much. It works!

Thanks a ton @marcosbozzani !!

look at this site. it solve my problem wit this error
https://shjhe.github.io/hexo/2018/07/30/File to read not found or unreadable/

Thanks, it works!! @marcosbozzani

Thank you @marcosbozzani  it worked for me with node sass 4.11.0


Figure out how to portably link our C dependencies statically

Right now our build has substantial problems building on macOS because our dependencies assume the linker is GNU ld. On macOS the linker is not GNU ld. We need to be using -force_load on macOS, so that dlsym will see all the symbols we expect at runtime. -force_load takes a full path to a static library. There's also no equivalent to -Bstatic to make the linker consider static libraries before dynamic ones when trying to satisfy an -lfoo request.

we finished this!


How to log to file?

Without nni, I log to filename  by
logging.basicConfig(filename=filename)

But with nni, I find init_logger() in the __init__.py file, and when I run
import nni

the log output to console, and with no file?
So, when I use nni, how can I log to file as before?

You can hack it by run with environment NNI_PLATFORM=unittest.
We are working on this problem.

You can hack it by run with environment variable NNI_PLATFORM=unittest.
We are working on this problem.

Thanks for your reply, I have add force=True in my logging config code,
logging.basicConfig(filename=filename, force=True, ...)

and it looks good.


Roadmap for neighborhood search implementations

[ ] Neighborhood search storing explicit neighbor lists for a >2x speedup of simulations with static NHS (TLSPH). #9
[ ] Contiguous memory layout for neighbor lists for more performance in large simulations and for GPU compatibility. #10
[ ] GPU-compatible version of the above (if it's not GPU-compatible yet).
[ ] "Full grid" backend for GridNeighborhoodSearch, storing a list of particles for each cell of a rectangular domain. This gives us more control over the backend than using a Dict. We can choose to store cell lists as Vector of Vectors or use a contiguous memory layout (see below). #25
[ ] Contiguous memory layout for cell lists for more performance in large simulations and for GPU compatibility. Prototype in https://github.com/trixi-framework/TrixiParticles.jl/pull/483.
[ ] GPU-compatible update for full grid GridNeighborhoodSearch with contiguous memory. Prototype in https://github.com/trixi-framework/TrixiParticles.jl/pull/483.
[ ] Implement spatial hashing backend (full grid with hashing) for sparsely filled domains.
[ ] Implement compact cell lists for full grid and spatial hashing. For full grid and spatial hashing, often only a small percentage of all available cell lists is used, the rest is empty, wasting memory and causing cache misses. A solution for this is to only have one scalar entry for each cell, which, if the cell is not empty, points to the index of the cell list in a much smaller collection of used cell lists.
[ ] Implement a sorting cell lists, which sorts a vector of particle indices by cell index, so that we only have to store a single number (the first index of the particle vector belonging to that cell) per cell.

What about

[ ] Octree-based neighborhood search (as preparation for distributed memory simulations)

? Is this something for the agenda as well? It could also be independent of the technique (i.e., not necessarily octree-based).

Octrees are only needed when we don't have a fixed search radius anymore. They might perform similarly, but I don't have any plans to implement them for now.
I'll add distributed memory NHS to the list.


Symfony >= 3.4 compatibility

@fsi-open

BTW are the Symfony's 3.x components being tested currently? They're neither lowest nor highest versions and it looks like they are excluded from tests.


My language server download failed ?

My first time use VScode to compile Dafny by followinghttps://github.com/dafny-lang/dafny/wiki/INSTALL#compiling-dafny
https://marketplace.visualstudio.com/items?itemName=correctnessLab.dafny-vscode
Install Dafny extension,install Netcore5.0 manually,everthing fine,then last step install language server got wrong

As you see,nothing change,nothing download,I wait an hour and still like this.
I try uninstall Dafny extension and install again, or change internet ,but don‘t work
so when I try to compile it ,it said command"dafny.compile"not found
I really want to know how to solve these , how to correctly compile dafny on vscode
thanks in advance!

Sorry for the late reply.
That's some strange behavior. If they're was a download/extraction/etc. error, the extension would inform you. It might be that download is exceptionally slow. I have observed something similar when running a virtual machine behind my 10GBit/s port - the download was lower than 1kb/s, although I have an internet speed of 1GBit/s. It was reasoned to some driver issue.
One quick solution would be downloading the language server and compiler manually from here. You'd only have to configure the extension to point to the installation locations of both binaries.
Further debugging of the download process would probably require checking out the source code of the extension and running it in debug mode. Therefore, I hope the manual installation is an acceptable solution for you.

I solved it  manually by installing Dafny3.2.0  ,thanks a lot

Since you managed to install Dafny manually, I'll close the issue for now. The next Dafny VSCode iteration will include a installation log for easier troubleshooting (e.g., slow download speed):


Page 44 typo

in  takes and event as an input, and -> an

Great find thanks! This is now fixed and will be reflected in the next PDF release.


Update database requirements for docs

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[ ] ~Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented~
[x] The description lists all applicable issues this PR seeks to resolve
[ ] ~The description lists any configuration setting(s) that differ from the default settings~
[x] All tests and CI builds passing

Description
Updates the docs to reflect application requirements for databases. Refs #406 (discussion around application requirements).

Codecov Report

Merging #432 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev    #432   +/-   ##
=====================================
  Coverage    5.3%    5.3%
=====================================
  Files        322     322
  Lines      15468   15468
  Branches    4674    4674
=====================================
  Hits         820     820
  Misses     12496   12496
  Partials    2152    2152

Continue to review full report at Codecov.

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

:tada: This PR is included in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Could not find module "@angular-devkit/build-angular"

I added angular2-draggable to my project with
npm install angular2-draggable --save
However, after install, my project does not build anymore, because:
Could not find module "@angular-devkit/build-angular" from "/home/dev/frontend".
Error: Could not find module "@angular-devkit/build-angular" from "/home/dev/frontend".
    at Object.resolve (/home/dev/frontend/node_modules/@angular-devkit/core/node/resolve.js:141:11)
    at Observable.rxjs_1.Observable [as _subscribe] (/home/dev/frontend/node_modules/@angular-devkit/architect/src/architect.js:132:40)
    at Observable._trySubscribe (/home/dev/frontend/node_modules/@angular-devkit/architect/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/home/dev/frontend/node_modules/@angular-devkit/architect/node_modules/rxjs/internal/Observable.js:30:22)
    at /home/dev/frontend/node_modules/@angular-devkit/architect/node_modules/rxjs/internal/Observable.js:99:19
    at new Promise (<anonymous>)
    at Observable.toPromise (/home/dev/frontend/node_modules/@angular-devkit/architect/node_modules/rxjs/internal/Observable.js:97:16)
    at ServeCommand.initialize (/home/dev/frontend/node_modules/@angular/cli/models/architect-command.js:91:94)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)

I saw that @angukar-devkit/build-angular is a dev dependency of angular2-draggable so I added "@angular-devkit/build-angular": "~0.6.8", to my devDependencies list.
After that I could build the project again, but even though I did not add this module to my app, I'm getting this error in the javascript console:
Uncaught Error: Can't resolve all parameters for ApplicationModule: (?).
Then I tried importing this module as it was described in the documentation, but I'm still getting the same javascript error.
I'm on Angular 7.0.4
Any idea how to fix this?

I managed to fix it by updating the devkit module
from:
"@angular-devkit/build-angular": "~0.6.8"
to:
"@angular-devkit/build-angular": "~0.11.0"


Publish npm package.

The framework should be published to the npm package repository to make it easier to install it.

Fixed. See the npm package.


The Try now button for Auto write text is going out of the box

The Try now button for the Auto Write text card is going out of the box.
I'm a GSSOC contributor, kindly assign this issue to me.

✅ I agree to follow this project's Code of Conduct.
✅ I checked the current issues for duplicate problems.
✅ I have gone through project README.

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903

It's already assigned, feel free to raise new issue.


Additional Customization in creating Repos

Description
It would be nice to have the Possibility to create Pre Set up Repos with a preset folder and File Structure to Standardize the Repos from Day 0.
Current Workaround is to fork a Skeleton Repo or to Clone the Skeleton Repo, delete the .git folder and create a new Repo.

replaced by #7365


[fix][test] Fix flaky test ManagedLedgerTest.testDeleteCurrentLedgerWhenItIsClosed

Fixes https://github.com/apache/pulsar/issues/23164
Motivation
The previous current ledger can only be deleted if the new ledger is created.
When param closeLedgerByAddEntry is true, there may exist the situation: when call internalTrimEdgers to delete previous current ledger, new ledger has not been created, and causing the test failed.
Modifications
Whether closeLedgerByAddEntry is true or false, we both need to add Awaitility.await().untilAsserted(() -> assertEquals(ml.ledgers.size(), 2)); to wait the new ledger create.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.29%. Comparing base (bbc6224) to head (3990f7a).
Report is 667 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23437      +/-   ##
============================================
+ Coverage     73.57%   74.29%   +0.71%
- Complexity    32624    34446    +1822
============================================
  Files          1877     1953      +76
  Lines        139502   147177    +7675
  Branches      15299    16204     +905
============================================
+ Hits         102638   109339    +6701
- Misses        28908    29394     +486
- Partials       7956     8444     +488

Flag
Coverage Δ

inttests
27.56% <ø> (+2.98%)
:arrow_up:

systests
24.36% <ø> (+0.04%)
:arrow_up:

unittests
73.64% <ø> (+0.79%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 633 files with indirect coverage changes


Implementing React with firebase implemented

@codelikeamexican what does this PR do?

@roo-shy  I did integrate React package and configure firebase to deploy the app. I think this will help you better on your reading task.

@codelikeamexican what does it merge can't read it cuts the sentence

I'm just changing the firebase.json to change the route in order to be deployed correctly, also I changed the name of the "source" which will be "client-front"
Also, I remove the "client" folder we had.


Document functions

help?> DiffEvolution_min
search: DiffEvolution_min DiffEvolution_max

  No documentation found.

Still no documentation:
help?> charibde_min
search: charibde_min charibde_max

  No documentation found.

It is solved now


Glitch occurs when playing animation file downloaded from Mixamo

Problem
A glitch occurs when playing an animation file downloaded from Mixamo.
Steps to reproduce

Download an animation file (fbx) from Mixamo.
Convert it to glb.
Use VRMAnimation.ts to play it.

Expected result
The animation plays smoothly without any glitch.
Actual result
Glitches occur in some cases.
Possible solution
The glitch does not occur when I modify the code as follows (VRMAnimation.ts):
-       const track = new THREE.VectorKeyframeTrack(
-          `${nodeName}.quaternion`,
-          origTrack.times,
-          origTrack.values.map((v, i) =>
-            metaVersion === "0" && i % 2 === 0 ? -v : v
-          )
-       );
+      const newValues: number[] = [];
+      const metaVersionZero = metaVersion === "0";
+      let sign = metaVersionZero ? -1 : 1;
+      let opposite = metaVersionZero ? 1 : 1;
+      let prevQuaternion = new THREE.Quaternion();
+
+      if (origTrack.values.length % 4 !== 0) {
+        throw new Error("Invalid origTrack values length");
+      }
+
+      for (let i = 0; i < origTrack.values.length; i += 4) {
+          const quaternion = new THREE.Quaternion(
+              origTrack.values[i],
+              origTrack.values[i + 1],
+              origTrack.values[i + 2],
+              origTrack.values[i + 3]
+          );
+          if (prevQuaternion.dot(quaternion) < 0 && metaVersionZero) {
+              sign *= -1;
+              opposite *= -1;
+          }
+          newValues.push(
+              sign * origTrack.values[i],
+              opposite * origTrack.values[i + 1],
+              sign * origTrack.values[i + 2],
+              opposite * origTrack.values[i + 3]
+          );
+          prevQuaternion = quaternion;
+      }
+      const track = origTrack.clone();
+      track.values = new Float32Array(newValues);
+      track.name = `${nodeName}.quaternion`;

Before:
https://github.com/pixiv/ChatVRM/assets/87652581/d6c1865f-23b1-442d-be40-4297c52fc804
After:
https://github.com/pixiv/ChatVRM/assets/87652581/215893ad-a6bc-40fa-8382-92d2712b086a

I'm not very familiar with 3D graphics, so I apologize if my corrections are not accurate. Please consider them as references only 😂

Do you have a gist of the file you used to play the glb? Did you simply update the VRMAnimation.ts file?
It's very cool what you have!

Did you simply update the VRMAnimation.ts file?

Yes, that's all I've done!

FYI: I wrote a blog post about it, so it might be helpful for you.
https://qiita.com/galpro/items/bdc2bdcbd6f4cf99e157

ChatVRM is intended to share technology and provide demonstrations, and this repository has not been actively operated.
Considering our maintenance system, we will archive this repository with the current code.
If you would like to change ChatVRM in the future, we would appreciate it if you fork it.
We apologize for the late response to your kind contributions.


Add example to groupBy function to demonstrate the "common" version

This is meant to show that the current version of groupBy is actually all that is needed. A version that returns an associative array can easily be built.
I might be wrong and my attempt does not work efficiently. Comments?

Take a look in bugzilla where I have asked for a "hashGroup" function, and related requests...

Let's hold off on this until we finalize the implementation.

The new groupBy has been in for a while now. Please rebase / update this PR?

                                                                                This is outdated. Please close.                                                                                From: H. S. TeohSent: Tuesday, June 30, 2015 17:36To: D-Programming-Language/phobosReply To: D-Programming-Language/phobosCc: Ulrich KüttlerSubject: Re: [phobos] Add example to groupBy function to demonstrate the "common" version (#2915)The new groupBy has been in for a while now. Please rebase / update this PR?

—Reply to this email directly or view it on GitHub.


Write "To Do" Section of Readme Automatically Based on GitHub Issues

We want to write the "To Do" section of the README.md file automatically based on the GitHub Issues.
Here's how it could be done:

Get all issues from the GitHub repository using the GitHubIssues class in github_management/issue_management.py
Iterate over the issues and generate a string with each entry of the form - [ {X if closed, space if open} ] - {Issue Title}
Add "Loaded from repository Issues" to start of string
Get Readme section and replace the text with the generated string - use the code_management/readme_manager.py replace_section_in_markdown method that takes markdown text and replaces text for a heading. This needs a wrapper to read the readme, get the text, and then write the resultant string back into the readme.

Done.


Meltano lock fails on migrating to >2.0.0 when variant didnt previously exist

We should update the log message and add a section to the migration docs to help users get variants added for plugins that didnt have a variant previously. For example Airflow locking fails because a variant isnt set for all installations prior to 2.0.0. The error message isnt totally clear in saying this and users will need to manually update their meltano.yml.
Originally discussed in https://github.com/meltano/meltano/issues/6359#issuecomment-1175432513

Additionally I'm getting Orchestrator 'airflow' variant 'original' is not known to Meltano. Variants: ['apache (default)'] from a default installation of Airflow. I know that its hard because when I originally installed it there wasnt a variant name for airflow but now there is. Is there a way for us to resolve that its the default variant? Maybe that wont work because the default could change, maybe using the discovery.yml when we think were migrating to >2.0.0?
Or we could log it better and say something like "I notice youre migrating and you dont have a variant, go to the Migration guide and learn how to define a variant" and we write up the steps for locking post migration and adding a variant name:
remove executable/namespace if defined
add variant using one available on MeltanoHub. We can list the mapping like airflow -> apache, dbt -> dbt-labs, etc. for plugins that just got variant names
run meltano lock --all

cc @edgarrmondragon

@edgarrmondragon @pnadolny13 Alternatively, could we make the meltano lock smarter when there is no explicit variant and there is only one defined on the Hub/discovery.yml? We could write variant: apache explicitly in meltano.yml and generate the lockfile as usual, instead of requiring the user to take the manual step of finding out that the only Airflow variant is apache.

I don't think we should recommend this: namespace is still supported and valuable, as it indicates custom plugins that shouldn't be looked up on the Hub (see also https://github.com/meltano/meltano/issues/3296#issuecomment-1166157626 about why we can't just remove that property).

@DouweM yeah thats true - I dont know all the details of executable/namespace but what I was calling out was that I had some plugins defined that were previously custom but are now available on the hub so when I run a "lock --all" they get skipped. I think because their namespace/executable are present and its currently defined as a custom plugin. We'd want to encourage users to migrate from custom to "hub managed" for all of those, as long as theyre not still custom (like from a private repo or not listed on the hub). Wouldnt removing namespace/executable be the way to do that?
I just want to make sure people are not accidentally making their installed plugins look like custom ones where they wouldnt get locked or benefit from upgrades on the hub. Maybe in this new migration guide section we can just make another note to reiterate that custom plugins dont get locked because they dont use the hub and that if you include keys like executable/namespace (are there others?) Meltano will treat it as a custom plugin and not lock it. Reiterating also that most plugins are available on the hub now so users should switch to those vs custom installations.
Does that make sense?

@pnadolny13 That makes sense, I wasn't thinking about the taps/targets that are now on the Hub but weren't previously. Your recommendation on what to document sounds good.
@tayloramurphy Good point on doing the quickest thing. If we add "set an explicit variant" to the migration guide, we may not need the better log message as people shouldn't see it anymore, but if someone misses that step I think it'd still be confusing that everything works fine, except for meltano lock, and the error message wouldn't really help them figure out what step they missed. So if we don't make it smarter, I think it's still worth making the log message more helpful instead of only updating the docs.

@DouweM makes sense to me. Log messages are kind of bucketed under documentation in my head a bit too.
Scope of the issue:

Update 2.0 migration guide with instructions on adding the variant
Update error message to make it clearer what's happening

@edgarrmondragon - Do you have confidence in what would be needed on the docs side here, and then some helpful update to the error text that could point to the assist in the docs?

@edgarrmondragon - Do you have confidence in what would be needed on the docs side here, and then some helpful update to the error text that could point to the assist in the docs?

@aaronsteers yes, I think we can either

document that plugins should declare an explicit variant in meltano.yml or
treat the original variant as we do the default, and just pull the default variant from Hub (I hadn't realized we can do this)

The latter would make this a bug fix rather than a mere documentation task. It should be fairly safe AFAICT, but we can still emit warning. Wdyt?


Ytdl amsg

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x ] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x ] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x ] New extractor
[ ] New feature

Description of your pull request and other information
New extractor for 1tvcrimea.ru for issue #12466 as seen here: https://github.com/rg3/youtube-dl/issues/12466

Read

adding new extractor tutorial and youtube-dl coding conventions sections

and fix all issues.


Expose Lens Monaco Editor component to public

At present we are not able to use the Monaco Editor used by Lens. We were trying to use this since long time back but unfortunately with lens when we try to add this dependency and use, syntax highlighting was not working. So we have js-yaml
W.r.to the latest lens CRD definitions, we see Monaco Editor used inside side panel. Can this be exposed for easy integration for us? This helps everyone.

When can we expect this to be released?

May I have the update on this ticket?

Works in progress.

TS2339: Property 'MonacoEditor' does not exist on type 'typeof import("/Users/mshreevatsa/Documents/projects/cn2/ui/lens/node_modules/@k8slens/extensions/dist/src/extensions/renderer-api/components")'.
The dependencies updated to:
"@k8slens/extensions": "^5.4.6",
Am i missing anything to update?

TS2339: Property 'MonacoEditor' does not exist on type 'typeof import("/Users/mshreevatsa/Documents/projects/cn2/ui/lens/node_modules/@k8slens/extensions/dist/src/extensions/renderer-api/components")'.
The dependencies updated to:
"@k8slens/extensions": "^5.4.6",
Am i missing anything to update?

Probably it's not yet released in production.
I guess it should be available from v5.5.+. @Nokel81 am I right?

@ixrock You are correct.


Add preliminary PJSIP support

This pull adds support for displaying PJSIP endpoints in the monast interface. It may need some more work and some proper testing before merging but it should be enough for people wanting to display PJSIP endpoint statuses though Monast.
CC: @dagmoller

Wow... will test it... thanks...


kmutil returns: Error: Invalid Mach-O boot properties

I've tried following the QuickStart instructions to the dot on a MacBook Pro with M1 Pro. The mac came with macOS monteray pre-installed.
However, I hit a snag when trying to use kmutil:
-bash-3.2# kmutil configure-boot -c m1n1.macho -C -v /Volumes/Linux
By setting a custom boot object, you will be putting your system into Permissive Security.

Error Domain=KMErrorDomain Code=71 "Fileset Error: Invalid Mach-O boot properties" UserInfo={NSLocalizedDescription=Fileset Error: Invalid Mach-O boot properties}

Any ideas?

I have the same issue

Please run this from macOS or 1TR:
curl -L mrcn.st/alxsh | sh
Type in your password if prompted, press enter when prompted, then q at the action menu and paste the full output.
Also, please upload your m1n1.macho somewhere so we can take a look.

This error is reported when then the specified volume is not the default startup disk. I'm not sure if that is the only context this error is reported in.
The startup disk can be selected from macos system setting or from 1tr. Select first options and then Startup Disk in the apple menu.

Thank you everybody for your help.
@marcan
This is the ouput of curl -L mrcn.st/alxsh | sh. It looks like the installer thinks that my Linux volume is the recovery volume.
-bash-3.2# curl -L mrcn.st/alxsh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   169  100   169    0     0   3643      0 --:--:-- --:--:-- --:--:--  4225
100   169  100   169    0     0   1186      0 --:--:-- --:--:-- --:--:--  1186
100   169  100   169    0     0   1050      0 --:--:-- --:--:-- --:--:--  1050
100   557  100   557    0     0   2159      0 --:--:-- --:--:-- --:--:--  2159

Bootstrapping installer:
  Downloading...
  Extracting...
  Initializing...

Welcome to the Asahi Linux installer!

This installer is in a pre-alpha state, and will only do basic
bootloader set-up for you. It is only intended for developers
who wish to help with Linux bring-up at this point.

Please make sure you are familiar with our documentation at:
  https://alx.sh/w

Press enter to continue.

Collecting system information...
System information:
  Product name: MacBook Pro (14-inch, 2021)
  SoC: Apple M1 Pro
  Device class: j314sap
  Product type: MacBookPro18,3
  Board ID: 0x8
  Chip ID: 0x6000
  System firmware: iBoot-7429.61.2
  Boot UUID: EC5DCF3D-63DB-40D0-BF44-8A15B10DB859
  Boot VGID: 23638A67-F527-4467-8F06-7E200F38E5AE
  Default boot VGID: 23638A67-F527-4467-8F06-7E200F38E5AE
  Boot mode: one true recoveryOS
  OS version: 12.1 (21C52)
  System rOS version: 12.1 (21C52)
  No Fallback rOS
  Login user: None

Collecting partition information...
  System disk: disk0

Collecting OS information...

Partitions in system disk (disk0):
  1: APFS [Macintosh HD] (768.00 GB, 6 volumes)
    OS: [  ] [Macintosh HD] macOS v12.1 [disk4s1, 24EB9A2B-CCCA-4DC8-9E91-EB26A65CEB97]
  2: APFS [Linux] (80.00 GB, 6 volumes)
    OS: [R*] [Linux] macOS v12.1 [disk3s3, 23638A67-F527-4467-8F06-7E200F38E5AE]
  3: Microsoft Basic Data (999.29 MB)
  4: Microsoft Basic Data (145.66 GB)
  5: APFS (System Recovery) (5.37 GB, 2 volumes)
    OS: [  ] recoveryOS v12.1 [Primary recoveryOS]

  [B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
  [ *] = Default boot volume

No actions available on this system.

You can download the m1n1.macho binary here. I also tried corellium's binary at https://downloads.corellium.info/linux.macho, but I get the same error.

This error is reported when then the specified volume is not the default startup disk.

I tried changing the startup disk to Linux but I still get the same error when executing

This error is reported when then the specified volume is not the default startup disk. I'm not sure if that is the only context this error is reported in. The startup disk can be selected from macos system setting or from 1tr. Select first options and then Startup Disk in the apple menu.

That is not my experience. If you are not running the paired recovery, you should get a "Pairing" error.

This is a kmutil change in 12.1 final (sigh, it wasn't in the betas...). We'll have to figure out what it wants.

OK no problem. Is there a way to download the kmutil beta from somewhere?

We need to figure out what changed. The goal of this project is to make things work, not to work around problems.

Looks like Apple added a new feature just for us. Try kmutil configure-boot -c m1n1.macho -v /Volumes/Linux --raw --entry-point 34816 --lowest-virtual-address 16384.

Note that this will not work with payloads at the moment, due to the way the Mach-O file is constructed. But it will work for just m1n1.

This works fine now. Thank you!


Make DateTime parameters culture invariant

For DateTime parameters the default ToString will look into the CurrentCulture to determine the dateformat. This pull request fixes this with the solution proposed in #70 by @wolfen351.

This was already done with a commit I made a while ago, but undone. It might be beneficial to fix the botched merge of all my code by @faniereynders

I had to merge plenty of PRs at the time and had to manually resolve the conflicts. This led to possible feature loss. Hopefully things will start to stabilize now.

Thanks @nillis for your contribution!

@nillis if you're interested in helping out as an official contributor, let me know. Would be great to expand on the core team.

Unfortunately this does not seem to work with Nullable<DateTime> - see #112 .


chore(TX-1114): update wire transfer details

This PR resolves TX-1114
Description

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Update wire transfer bank details

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

I know WirePaymentSection.tsx was there ahead of this PR but nevertheless, I would strongly suggest to pull Artsy bank details values from metaphysics instead or a remote JSON file instead of hard coding them in the app. This will help us in the future avoid receiving transfers on the wrong account or asking users which account they wired money to

@MounirDhahri I definitely agree. I think this was talked about at some point but a ticket was never created (that I know of) so I've created one here. This will also help with not having to create 4 different PR's to update this info 😅

@rquartararo Similar to https://github.com/artsy/force/pull/12221, can you also help fix the typo in Eigen? Should've called out that in the ticket. My bad. 🙏


Update LibreWolf.LibreWolf to v120.0.1-1

(This pull-request was auto-generated, ping @maltejur)
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


[Feature Request] close chats from chat list

Keybase GUI Version: 1.0.34-20171027003854+8e989533a
Please add the ability to close chats from the list.
Thank you,
Jonathan

I'm confused as well why I can't close a chat window/dialogue


Export Config: BeforeLaunch: How to get current spec file name?

we run multiple tests by some search pattern.
How to get current going to run spec file in 'beforeLaunch' of 'export.config' ?
it is logging by protractor here:

[chrome #01-0] Specs: C:\Users....\node_modules....js

but i can not get it programmatically. Is there any way?
100 thanks in advance

+1

+1

In case if you have not found solution you can use below snippet to get current specs name
onPrepare: async () => {
await browser.getProcessedConfig().then((config) => {
console.log(config.specs[0])
})


GitHub releases for Foundations

Following up on #239, I think we should start minting "releases" of the Foundations source on GitHub. We can use calendar versioning, e.g. v2022.11.23.
I think a sensible policy would be to mint a new release whenever there's a non-trivial change in content, e.g. a new chapter added, revisions to code in a notebook, etc. Or, a change in infrastructure that affects the viewable content (such as updated JupyterBook theme).
One motivation for this is mentioned in the discussion linked above -- it lets people set notifications for themselves about new releases. I think it also signals vitality of the project.
I suggest we issue the first "release" in advance of AGU once we've gotten through the updates discussed at the last EWG meeting.

This is related to our plans to use Zenodo to issue DOIs for Foundations and Cookbooks. We should proceed with Foundations as a test case for all Cookbooks.

I made a release just to test it, and gave Zenodo permissions to this repository but it isn't all in place yet - just starting the exploration process.

Remaining work: what means a new release?


mach-o file is an incompatible architecture (have (x86_64), need (arm64e))

Describe your environment

Mac M1 / Macos
Python: miniconda
main
commit a1739a73b48bfe98b6abcb67f5a0197a9ad270e0 (HEAD -> main, origin/main, origin/HEAD)

Describe the bug
I followed all the instructions, but got this error:
Traceback (most recent call last):
  File "/Users/wouter/code/stable-diffusion/scripts/preload_models.py", line 6, in <module>
    from transformers import CLIPTokenizer, CLIPTextModel
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/Users/wouter/miniconda3/envs/ldm/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 992, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/Users/wouter/miniconda3/envs/ldm/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1004, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip because of the following error (look up to see its traceback):
dlopen(/Users/wouter/miniconda3/envs/ldm/lib/python3.10/site-packages/tokenizers/tokenizers.cpython-310-darwin.so, 0x0002): tried: '/Users/wouter/miniconda3/envs/ldm/lib/python3.10/site-packages/tokenizers/tokenizers.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

And if I do
uname -m
I get arm64. Don't know what I did wrong

did you do conda create as in the docs?
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-arm64 conda env create -f environment-mac.yaml
the conda subdir env should fix the incompatible architecture issue, at least it did for me!

Thanks, yes, I used it. And tried again and again. Weird

Ok, I solved the problem after a lot of trial & error.
Changed to miniforge, back to miniconda, etc. No avail.
The Problem: my brew was still running on Rosetta. Fixed that by uninstalling, cleaning and reinstalling. So everything seemed to run fine. Except this problem still kept cropping up
Until I discovered that pip is quite agressive in caching. So it caches the build even if the architecture changed. Solution: pip cache purge. Or remove the whole cache directory which you find with pip cache info


backend: fix load partition table with local backend

What problem does this PR solve?
close #401
What is changed and how it works?
Try to split index range for each physical table in the index engine instead of only process the first one.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects
Related changes

/run-all-tests

/run-all-tests


feat(navManager): add focusFirstLeft/focusFirstRight and fix navManager e2e test on Mac

@ValentinNelu Thank you for your review!


ion-button --background-activated overwritten with --ion-color-base

Bug Report
An ion-button element with the color attribute does not have a activated effect on iOS.
Ionic version:

[x] 4.x
Current behavior:
As soon as an ion-button element is given a color attribute the --background-activated is overwritten with the --ion-color-base variable for the native buttons. On iOS this means, that there is no active effect. On Android the ripple effect still works.
Expected behavior:
Ion-button with color attribute on iOS should be the same as in the Documentation Example https://ionicframework.com/docs/api/button
Steps to reproduce:
<ion-button color="secondary">Button</ion-button> in Content
Tab and hold tab on button and background does not change.
Related code:

Ionic info:
Ionic:

   ionic (Ionic CLI)             : 4.10.3 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.1
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.4.0

System:

   NodeJS : v10.14.1 (/usr/local/bin/node)
   npm    : 6.7.0
   OS     : macOS Mojave

Just found out that this is fixed with 4.0.2 (https://github.com/ionic-team/ionic/releases/tag/v4.0.2)


Cannot load libxkbcommon-x11.so dep on 'just run'

Using nix on debian 12.
user@debian:~/dev/harbor$ just run
RUST_LOG=harbor=debug,iced_wgpu=error,wgpu_core=error,info cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
     Running `target/debug/harbor`
 INFO  xkbcommon_dl > Failed loading `libxkbcommon-x11.so.0`. Error: CantOpen(DlOpen { desc: "libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory" })
 INFO  xkbcommon_dl > Failed loading `libxkbcommon-x11.so`. Error: CantOpen(DlOpen { desc: "libxkbcommon-x11.so: cannot open shared object file: No such file or directory" })
thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xkbcommon-dl-0.4.2/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: Recipe `run` failed on line 8 with exit code 101

Can you try running without nix?

user@debian:~/dev/harbor$ cargo run
   Compiling harbor v0.1.0 (/home/user/dev/harbor)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/user/.rustup/toolchains/nightly-2024-05-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/user/.cargo/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" VSLANG="1033" "cc" "-m64" "/tmp/rustc6PX3MH/symbols.o" "/home/user/dev/harbor/target/debug/deps/harbor-23fdc938f131d80d.0236bv7hk8dqy6vvpbrji2e74.rcgu.o"

I trimmed a large number of directories from the end of the above output.

The answer in #68 may be useful to solve also this issue.

The answer in #68 may be useful to solve also this issue.

This fixed the issue for me outside of nix dev enviroment, but this does not fix the issue inside dev enviroment:
user@debian:~/dev/harbor$ export USE_VENDOR_FEATURE=1
user@debian:~/dev/harbor$ just run
RUST_LOG=harbor=debug,iced_wgpu=error,wgpu_core=error,info cargo run --features vendored
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
     Running `target/debug/harbor`
 INFO  xkbcommon_dl > Failed loading `libxkbcommon-x11.so.0`. Error: CantOpen(DlOpen { desc: "libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory" })
 INFO  xkbcommon_dl > Failed loading `libxkbcommon-x11.so`. Error: CantOpen(DlOpen { desc: "libxkbcommon-x11.so: cannot open shared object file: No such file or directory" })
thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xkbcommon-dl-0.4.2/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: Recipe `run` failed on line 8 with exit code 101

We just merged a nix+linux fix that might work for both of you. Maybe try that. Otherwise, for lib problems on local environments, you will just have to search online for install the correct dependencies for your machine on your given distro. Our nix flake file can give hints to all of what is needed to be installed on your machine. https://github.com/MutinyWallet/harbor/blob/master/flake.nix

We just merged a nix+linux fix that might work for both of you. Maybe try that. Otherwise, for lib problems on local environments, you will just have to search online for install the correct dependencies for your machine on your given distro. Our nix flake file can give hints to all of what is needed to be installed on your machine. https://github.com/MutinyWallet/harbor/blob/master/flake.nix

The merge fixed this issue. I am now having another issue described in #79. Thanks!


[$500] Room - When user tries to invite an already invited room member,"no results found " displayed

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.21-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Tap on a room chat
Tap header---Members--- Invite
Select a phone number contact
Tap invite
Tap on the phone number contact invited message in room page
Copy the email from profile page
Tap header---Members--- Invite
Long press the placeholder field and paste the copied number

Expected Result:
When user tries to invite an already invited room member, it must display they are already a member.
Actual Result:
When user tries to invite an already invited room member, it must display they are already a member but it displays "no result found".
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/6bdf6c08-4d67-4a83-926b-e5782ef5835d
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ba3699990926fccf
Upwork Job ID:<PHONE_NUMBER>823075840
Last Price Increase: 2024-01-03

Im still wondering what is room. I dont have any invite button on my all chat (include workspace)

Proposal
Please re-state the problem that we are trying to solve in this issue.
When user tries to invite an already invited member, the message "no results found" is displayed instead of user is already member
What is the root cause of that problem?
The root cause of the issue is that excludedUsers.includes(searchValue) is returning false for already invited member.
https://github.com/Expensify/App/blob/d4c3e63956e9c14838592172c7e0e8596b0814cf/src/pages/workspace/WorkspaceInvitePage.js#L240
What changes do you think we should make in order to solve the problem?
Instead of excludedUsers.include(searchValue)
Use
_.contains(excludedUsers, searchValue)
https://github.com/Expensify/App/blob/d4c3e63956e9c14838592172c7e0e8596b0814cf/src/pages/workspace/WorkspaceInvitePage.js#L240
So if the user is already invited member, the message user is already member is displayed
What alternative solutions did you explore? (Optional)

@parasharrajat proposal is ready for review.

@parasharrajat Thanks.


Fatal error in Spyder

An error ocurred while starting the kernel
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\io.py", line 52, in
File "C:/Aarena/Arena\Movie_rating\abc.py", line 2, in
ModuleNotFoundError: No module named 'scrapy'
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.4
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.14.0 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

File "C:/Aarena/Arena\Movie_rating\abc.py

This happens because you have this file is called abc.py. Please rename it to something else and you'll see the error go away.

Dear Sir / Madam,
Thank you for suggesting it  but I have also tried renaming it ,it is not
working. The kernel has crashed it seems. I have reinstalled 3-4 time
anaconda but failed.
Thanking you
Amit
On 24 May 2018 at 19:27, Carlos Cordoba<EMAIL_ADDRESS>wrote:

File "C:/Aarena/Arena\Movie_rating\abc.py
This happens because you have this file is called abc.py. Please rename
it to something else and you'll see the error go away.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/7192#issuecomment-391724173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbeKExTOVcXV90iJU7P8UnmwHPm7hSQHks5t1rwpgaJpZM4ULov_
.


Include a link back to GitHub on the main page

There should be a link back to GitHub so players know where to go to report feature requests and bugs.

Opened #65 to address this.


Please provide a way to set a custom color for CircularProgressIndicator

Currently the library is always using Color(0xFFFFFFFF) which isn't universally suitable.

Hi @PawlikMichal25,
You may provide a custom builder for the buffering indicator (to replace the default CircularProgressIndicator one):
https://github.com/media-kit/media-kit/blob/b4a851650602c9b55a6bfb5412b28655f34b65aa/media_kit_video/lib/media_kit_video_controls/src/controls/material.dart#L142-L143
Please refer:

https://github.com/media-kit/media-kit#use--modify-video-controls

Thanks!

can we add % progress indicator? (8hrs until using and implementing this package in my flutter app). I have customized the player theme and it would be great if this is possible.

you pass your custom progress indicator and get the percentage using the changes in this pr https://github.com/media-kit/media-kit/pull/789, you will need to use the code from github

Appreciate the fast response!!. Thanks I’ll try and let you know

i have added those lines to the package in my project.
how do i call it here in MaterialVideoControlsTheme :

Glad you got it 😊

Last question. Since i have edited the package files itself. will it survive IDE restart or anything? and what happens when package gets updated or i run flutter pub get. maybe dumb questions but it's just 5 days i am into flutter.

Last question. Since i have edited the package files itself. will it survive IDE restart or anything? and what happens when package gets updated or i run flutter pub get. maybe dumb questions but it's just 5 days i am into flutter.

You edited the package itself? You can get the GitHub changes using pubspec

@SP4RKiOP https://github.com/media-kit/media-kit/issues/947#issuecomment-2381380594
This is for reference

@abdelaziz-mahdy Thanks for pointing this. got to learn new today. Done changing pubspec, tested working fine.
Leaving the uses here if anyone struggles:

@abdelaziz-mahdy Thanks for pointing this. got to learn new today. Done changing pubspec, tested working fine.
Leaving the uses here if anyone struggles:

instead of a screen shot you can share the code that will be more beneficial to other people, and glad i could help <3


Mods don't get loaded

hey,
I added this line to .arkmanager.cfg but it doesn't add the mods to the server.
ark_GameModIds="558651608,576432474"

Have you done this for each mod:
arkmanager installmod #########

No, I wasn't aware that you have to run a command to add mods. I thought it auto installs it if it is defined in the config.

Normally, yes!

@axi92 default config shows something else: https://github.com/FezVrasta/ark-server-tools/blob/master/tools/arkmanager.cfg#L40
With your formatting it is not needed to run the command?

Lol your right but i have it like this and its working?^^

It did work after running the command mentioned above. It just would be great if there is a way without running the command.

Now what does your config look like?

Hm, what exactly do you want to know and for what?

You performed the command now the command must change something in the config.
Is it now like this
ark_GameModIds="558651608,576432474"

or like this
ark_GameModIds="558651608","576432474"

It still shows it as
ark_GameModIds="558651608,576432474"

Oh ok thats funny xD

Closing the issue as it doesn't seem related to a problem of the script.

I did leave it open as feature request ;)

I've opened an issue with the feature request and has been implemented.


Is ionic 5.4.13 supported? I receive a run time error

I'm using ionic 5.4.13, angular 8. I tried to import ionic-image-loader, may be it is not supported. I imported the module in app.modules.ts as described in README and then I added the module in my page module. But I receive this error:
core.js:9110 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'src' since it isn't a known property of 'img-loader'.
1. If 'img-loader' is an Angular component and it has 'src' input, then verify that it is part of this module....

if you are using lazy loading (default in ionic 4+), you need to import the image loader in the page's module. Only app module will not work.

Bruh not even Ionic 4 is supported

Actually there is a branch that supports Ionic >= 4
I am using it with Ionic 5 and Angular 9
https://github.com/zyra/ionic-image-loader/tree/v4


@conda-forge-admin,please add bot automerge

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/shtab-feedstock#3.


SPI interface confusion

Hi, sorry this is more of a question then an issue.
I've been trying to get this crate working with through an SPI interface on an esp32 and haven't had much success.
It is my understanding that the read bit should be set when reading a register.

When I look at interface.rs I see that the read bit is being set when writing to the device instead of when reading.
for example:
  fn write_register(&mut self, register: u8, data: u8) -> Result<(), Self::Error> {
          self.cs.set_low().map_err(Error::Pin)?;
          let payload: [u8; 2] = [register + 0x80, data];
          let result = self.spi.write(&payload).map_err(Error::Comm);

          self.cs.set_high().map_err(Error::Pin)?;
          result
      }

I was wondering if you could guide me on this, or am I just reading the datasheet completely wrong, tia.

Interesting. Thank you for pointing this out.
It certainly seems like I have swapped the read bit logic for SPI.
I have always used it through I2C so I haven't noticed.
Could you open a PR fixing the logic?

Could you open a PR fixing the logic?

Yep, will do 😀


take last operator test out of quarantine

Signed-off-by: Simone Tiraboschi<EMAIL_ADDRESS>
What this PR does / why we need it:
On operator tests executed on periodics lanes
we sporadically still see some flakiness while
patching deployments or other objects.
We are not able to identify a reasonable
cause and we think it's just a matter of
short timings.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes: test 3150 was still in quarantine
Special notes for your reviewer:
NONE
Release note:

NONE

/retest

/retest

/retest

/retest

/retest

/approve


docs(rfc): Optimus Dashboarding

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 75.036%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
6270

Relevant Lines:
8356

💛  - Coveralls

@Mryashbhardwaj can we update the rfc and then we can merge the same.

@sravankorumilli @Mryashbhardwaj can this be merged?

@ravisuhag
yes merging this


Where is documentation and demo?

The title say it 👻

Hello thank you for creating nvim_completion it seems very interesting.
I too am looking for some instructions to use this plugin.
I am currently teaching myself Rust so I am lacking in Rust specific knowledge.
Are there instructions on how to get this plugin to work?
I forked the repo and loaded it using Packer.nvim but after running my configuration file it says cannot find module nvim_completion. Any setup steps to get this running is appreciated. Below is my config.
use { '~/home/nvim-completion', branch = 'master' }
require('nvim_completion').setup {
sources = {
lipsum = { enable = function(_buf) return true end },
lsp = { enable = true },
},
}


x/tools/go/packages: permit separate LoadMode for deps

I really like the new packages.LoadMode bits that were introduced to fix #29429, thanks! I'm using go/packages for a utility to gather example functions in the Go CDK. Part of what this tool does is to determine which imports an example uses, which I'm doing by walking the AST of the example function body and using type information to see whether an identifier is a package name. I've been using a LoadMode of NeedName | NeedFiles | NeedTypes | NeedSyntax | NeedTypesInfo.
However, I discovered this check doesn't work if the package is not in the stdlib or in the set of directly matched packages. In an upcoming change, I will add NeedImports | NeedDeps, but this results in a 10x slowdown. I assume this is because it is syntax + type-checking the dependencies, which is not what I need. I really only need NeedName for dependencies, but I can't see a way of specifying that. Similar to #28740, I would like to specify different behavior for dependencies versus directly referenced packages.
/cc @matloob @ianthehat

We're considering an option for this (below) let us know if it would work for you.
We want to make it possible to supply ids to Load to specify packages. Then you can gather the ids for all dependency packages and query their names in a second query.

I don't think it would work: the TypesInfo for the package I'm walking does not have any information for any not-loaded package names in the AST. IIUC doing a second Load wouldn't help in this case, since I wouldn't have a way to associate a particular symbol with the package it represents.


how to use serviceaccount for private docker registry?

If I want to run kwt workspace create --image myregistry.com/myimage:latest, how do I provide private registry credentials? I think the low-level question is, how do I attach a serviceaccount (like we setup in knctl deploy tutorials) to kwt workspace create commands?

made possible through --service-account flag in workstation create cmd (via https://github.com/cppforlife/kwt/commit/1d5ad5b4cd670f6da543daf9376c64986f9ed709)


TypeScript error TS2345 with<EMAIL_ADDRESS>

Steps to reproduce

fresh clone of current develop branch eb708431
npm install
npm start

Observed behavior

an updated version of @types/bootbox (v. 4.4.35) is installed
3 error messages regarding bootbox

ERROR in [at-loader] src/data_import.ts:269:9
    TS2345: Argument of type '{ title: string; message: string; }' is not assignable to parameter of type 'BootboxAlertOptions'.
  Object literal may only specify known properties, and 'title' does not exist in type 'BootboxAlertOptions'.

ERROR in [at-loader] src/sankey_diagram.ts:624:7
    TS2345: Argument of type '{ className: string; title: string; message: string; callback(result: boolean): void; }' is not assignable to parameter of type 'BootboxConfirmOptions'.
  Object literal may only specify known properties, and 'className' does not exist in type 'BootboxConfirmOptions'.

ERROR in [at-loader] src/valid_header.ts:70:11
    TS2345: Argument of type '{ className: string; title: string; message: string; callback(result: boolean): void; }' is not assignable to parameter of type 'BootboxConfirmOptions'.
  Object literal may only specify known properties, and 'className' does not exist in type 'BootboxConfirmOptions'.

It seems @types/bootbox were upgraded to use some generics.
It mentions TypeScript 2.3 in its comments.


Removing the Duplicate entry "FullDeploymentArmTemplateFile"

Removing the Duplicate entry "FullDeploymentArmTemplateFile"
What's this PR do? Any additional context?
This PR will remove the Duplicate keyword.
Where should the reviewer start?
oxa-tools/scripts/Deploy-OxaStamp.ps1
How can this be manually tested? (brief repro steps)
N/A
What are the relevant TFS items? (list id numbers)
N/A
Definition of done:

[x ] Title of the pull request is clear and informative
[x] Add pull request hyperlink to relevant TFS items
[x] For large or complex change: schedule an in-person review session

Reminders BEFORE merging

Get at least two approvals
If you're merging into the development branch then "flatten" or "squash" commits
If merging from development into master then don't "flatten" or "squash" commits

Reminders AFTER merging

Delete the remote branch
Resolve relevant TFS items
(reverse merge) If you merged into master then check to see if there are any changes in master that can be merged down to the development branch (like hotfixes, etc)

Mani will submit PR agains the dev branch.


Create a folder of examples

Create a folder of examples to facilitate life for newcomers

Sure, any particular example you're interested in?

An example of connecting to pg-nano, executing some query from a random schema.

In case you missed it, there's a demo already set up:

Example of TypeScript client use: https://github.com/pg-nano/pg-nano/blob/master/demos/exhaustive/test.ts
Example SQL schema: https://github.com/pg-nano/pg-nano/tree/master/demos/exhaustive/sql

The schema.ts and typeData.ts modules are both generated by pg-nano

Let me know if that's not enough


C# Win32 Examples using Mixed Reality

Same as #768 but for non-UWP apps. Would like to have a sample of a C# desktop app with SharpDX rendering virtual reality.

This repo is for UWP apps. The repo for desktop apps is Windows-classic-samples


Connector development walkthrough

Current docs cover the high-level project setup, but we could use a more detailed walkthrough where we provide an example connector project skeleton and have some example commands and outputs to set expectations for how to use connectors in development.

At least for Rust

We have a guide for Python connectors.
Just realized we have 4 other examples from C that we can probably polish up too

https://github.com/infinyon/fluvio-website/tree/master/embeds/client-examples/rust
https://github.com/infinyon/fluvio-website/tree/master/embeds/client-examples/python
https://github.com/infinyon/fluvio-website/tree/master/embeds/client-examples/node
https://github.com/infinyon/fluvio-website/tree/master/embeds/client-examples/java

It would be great to get the Python equivalent for all other languages. As @nacardin said, at the minimum we should have Rust.


Add Q.after

I ran into a situation the other day where this would have been useful, so here's a PR for it. I think/hope the tests do a decent job of documenting my intentions, but here's a generalized use-case:
var promiseA = someSource;
var promiseB = anotherSource;

promiseA
    .after(promiseB)
    .then(continueWithA, dealWithRejection);

On fulfillment of promiseB, promiseA will be allowed to proceed on to .then, being either fulfilled or rejected itself(and handled accordingly). However, if promiseB is rejected it causes after to abandon promiseA(regardless of its state) and send the rejected promiseB to dealWithRejection
All thoughts and suggestions are welcome. :koala:

It could be replaced with:
var promiseA = someSource;
var promiseB = anotherSource;

promiseA
    .then(function(res) {
        return promiseB.thenResolve(res);
    })
    .then(continueWithA, dealWithRejection);

you're right @arikon, I guess the difference is after would allow you to track the progress of promiseB easily/cleanly:
...
promiseA
    .after(promiseB, progressOfB)
    .then(continueWithA, dealWithRejection, progressOfA);

Also in your alternative if both promises are rejected promiseA will be passed to dealWithRejection. With after, promiseB takes precedence(which--I think--is conveyed semantically when reading the chain promise.after(otherPromise).then(...) ). To get this behavior within the confines of then and thenResolve you would need to have something like this:
...
promiseA
    .then(function(res) {
        return promiseB.thenResolve(res);
    }, function(err) {
        return promiseB.thenReject(err);
    })
    .then(continueWithA, dealWithRejection);

...at which point I feel like it's worthwhile to encapsulate that behavior within a single function.

I am pushing way back on adding new features since feature creep has already gone too far. However, this is not a bad idea. Not because it is convenient, but because it conveys more information for the purpose of estimating time to completion. With the desugared version you illustrate, the resulting promise would not have a good way to infer time to fulfillment, but with a.after(b), the ETF is clearly max([a.etf, b.etf]), just like Q.all([a, b]). As such, it might be good to implement after in terms of all in v2.
I’m on the fence, but these are my thoughts.

As such, it might be good to implement after in terms of all in v2.

Sounds good. I'll give that a shot and make a pull against v2 for further mulling.


Constant Memory Error Stack Smashing

CuPy Version          : 8.0.0b3
CUDA Root             : /usr/local/cuda
CUDA Build Version    : 11000
CUDA Driver Version   : 11000
CUDA Runtime Version  : 10020
cuBLAS Version        : 10202
cuFFT Version         : 10102
cuRAND Version        : 10102
cuSOLVER Version      : (10, 3, 0)
cuSPARSE Version      : 10301
NVRTC Version         : (10, 2)
Thrust Version        : 100906
cuDNN Build Version   : None
cuDNN Version         : None
NCCL Build Version    : None
NCCL Runtime Version  : None
CUB Version           : Enabled
cuTENSOR Version      : None

I'm trying to test constant memory usage with the master branch.
Here is my toy code
import cupy as cp

cuda_code = r"""
__constant__ float arr[10];
"""

module = cp.RawModule(code=cuda_code,)

memptr = module.get_global("arr")
print(memptr)

I'm getting the following error
*** stack smashing detected ***: terminated
Aborted (core dumped)

gdb output
(gdb) run constant_test.py
Starting program: /home/belt/anaconda3/envs/lmc/bin/python3 constant_test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

Interesting. Could you try wrapping the const array in an extern C block?

I can run that example fine, looks like a memory corruption?

Could you clean the build workspace (eg git clean -fdx), rebuild CuPy and try again? I guess Cython failed to detect module that needs to be recompiled for some reason...

Could you clean the build workspace (eg git clean -fdx), rebuild CuPy and try again? I guess Cython failed to detect module that needs to be recompiled for some reason...

I think this fixed it! Thanks for the quick reply!

I parsed the error output wrong 😅 It's a new error for unclean builds that I haven't seen before...


"CRITICAL | Failed to get remote URL: ; exit status 1"

I've been running this action for a couple weeks no problem but it stopped working as of last night. What could be the issue?
Run gleich/gh_fsync@v1.[2](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:3).0
/usr/bin/docker run --name b06c6d7fd00c4[3](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:4)909aae226f9035fdc8_a0[4](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:5)6[5](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:6)b --label 29050[6](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:7) --workdir /github/workspace --rm -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/crowdin-mod-translation/crowdin-mod-translation":"/github/workspace" 290506:b06c6d[7](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:8)fd00c43909aae226f9035fdc[8](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:9)
2023-01-01 22:15:22.154 |  INFO    | ⚙ Reading from configuration file
2023-01-01 22:15:22.163 | CRITICAL | Failed to get remote URL: ; exit status 1
panic: 2023-01-01 22:15:22.163 | CRITICAL | Failed to get remote URL: ; exit status 1

goroutine 1 [running]:
log.Panicln(0xc0000c3b88, 0x1, 0x1)
	/usr/local/go/src/log/log.go:365 +0xae
github.com/gleich/logoru.Critical(0xc0000c3be0, 0x3, 0x3)
	/go/pkg/mod/github.com/gleich/logoru@v0.0.0-20210604030243-2b[9](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:10)36140[11](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:12)1e/levels.go:52 +0x1d2
github.com/gleich/gh_fsync/pkg/utils.CheckErr(0xc000018280, 0x19, 0x7814c0, 0xc00000e040)
	/usr/src/app/pkg/utils/error.go:[13](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:14) +0xc5
github.com/gleich/gh_fsync/pkg/utils.RunCommand(0x723473, 0x3, 0xc0000c3d80, 0x3, 0x3, 0x7299ed, 0x18, 0x0, 0x4a65c5)
	/usr/src/app/pkg/utils/command.go:[16](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:17) +0x1f1
github.com/gleich/gh_fsync/pkg/config.rawRead(0x726e24, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/src/app/pkg/config/config.go:60 +0x[20](https://github.com/elhertz/crowdin-mod-translation/actions/runs/3818931669/jobs/6496144771#step:4:21)5
github.com/gleich/gh_fsync/pkg/config.Read(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/src/app/pkg/config/config.go:45 +0x99
main.main()
	/usr/src/app/main.go:11 +0x34

hey @elhertz, thanks for the bug report. What happens when you run git config --get remote.origin.url locally in the repo?

hey @elhertz, thanks for the bug report. What happens when you run git config --get remote.origin.url locally in the repo?

Nothing

lol all good, I am working on a fix rn

ok, this should fix the issue. Could you run gh_fsync@master instead of<EMAIL_ADDRESS>and see if it works?

It seems to be working correctly now. Thanks!

awesome! The fix is now out in release v1.2.1


DOC: Add beginner tutorial

Issue with current documentation:
Section in the docs which gives an end to end walkthrough of embedchain. It should be written in mind keeping in mind a user who  has basic knowledge of python.

I feel like the documentation at the moment is extremely well-written and beginner-friendly, could you give an example of what you'd change in any random block out of the docs , I could work on this.

Hey @taranjeet  I'd like to work on this issue. If it's still unassigned, could you please assign it to me?

Hey @taranjeet, Can you please assign me this issue?


Don't fail when deleting a non-existent preview

Currently the gitopscli fails if we want to delete a preview which doesn't exist.
At least, make failing optional (via a flag), e.g.:

gitopscli delete-preview --expect-preview-exists <...> -> error
gitopscli delete-preview <...> -> nothing to do, i.e. success

:tada: This issue has been resolved in version 4.2.0 :tada:
The release is available on:

v4.2.0
GitHub release

Your semantic-release bot :package::rocket:


Retrieve random bitfield

can we base this onto main now? @philipstanislaus

LGTM, thanks for implementing this. It was a bit hard to review due to all the commits, but it looks like the relevant changes are in https://github.com/Snowfork/polkadot-ethereum/pull/416/commits/7ba937bc735ac03211f2eb0fe3475914a8e7c6a6? Also looks like there are some conflicts with master due to recent merges, I can take a look at resolving the relayer/workers portion if it'll help :)

Rebasing got super messy, I cherry picked the commits into a new branch, see #419


Some changes

Change the way template handler works - now serves templates from a directory and gets name from path.
Also implemented produces() handling

@vietj pls review :)


Sorry i have some technical problems.

Can you please review my pull request (Rebecca Themes2)


Add "Frameworks" page to docs and web-site

[x] Dynamically generated frameworks pages .*rst via external script (Assigned @valeros)
[x] Add references to "Frameworks" page within documentation  (Assigned @ivankravets)
[x] Add support for "api::/frameworks" and show them on Web-Site (Assigned @ivankravets)

Proposed framework information:

title
description
supported boards

http://docs.platformio.org/en/latest/frameworks/index.html
http://platformio.org/#!/frameworks