Store customized parameters which survive an update of the roles package.

I don't understand. Why don't customized parameters survive an update of the roles package? What parameters do you have in mind?

I want customers to be able to - for example - change net.ipv4.tcp_timestamps to 0. This parameter is set to 1 in vars/RedHat_8.yml and we do not plan to change it. But for some customers, it might be desirable to set it to 0.

If this parameter is intended to be changeable, it should be moved to defaults from vars. Even if it is not moved, there are ways to override role vars from user playbooks (https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable, any method listed under item 15 should work).

The old role has it in default. Those kernel parameters need to be configurable, so that the role can be re-run to set/Check these parameters after re-run. IIRC - the required minimal setting is defined in /var and that in defaults/the variable that is actually used is defined and hence can be overwritten. In a production environment the variables should be stored in a hosts file, so that tehy always will be reapplied.

As there are various ways to store user configurable parameters which are independent of the roles code, I am closing this issue.
Thanks for your feedback!


Use createInstance to instantiate db connection. Update dependencies …

…to use latest versions of ipfs and orbitdb.

@haydenyoung You're awesome. Looks good to me

@haydenyoung add yourself to the contributors array and this LGTM :+1:

Thanks, @RichardLitt and @aphelionz. Added to contributors in package.json. Ready for merging.


fuse-zip 0.4.1

Updates fuse-zip to version 0.4.1 and uses the new bitbucket repository

Build fails because it tries to write files outside of prefix.
==> Sandbox log
Sep  1 22:23:54 sandboxd[1079]: install(2072) deny file-write-create /usr/local/bin/fuse-zip

Just notice that "INSTALLPREFIX" needs to be changed to "prefix", but also need to make some changes to the Makefile in 0.4.1, sorry for not checking this before. I'll make another pull request when the change has been made to fuse-zip.


Reference to old js-libraries in pop-up Topology modal

Netbox version: 2.10.4
Plugin version: 0.7.1
To reproduce:

Go to site
Choose Topology
Look in your web developer console

In my install I get 404 on the following:
https://mynetbox-install/static/font-awesome-4.7.0/css/font-awesome.min.css
https://mynetbox-install/static/jquery/jquery-3.4.1.min.js
It seems the plugin uses some of Netbox' js libraries, and when Netbox update these the reference does not work properly. From what I can tell with the font-awesome library, this was changed to material design. And the current jquery is 3.5.1 in the Netbox install 2.10.4. Not sure if there's a way to reference these resources in a generic way to make them work between version?
Anyway, the plugin works great otherwise, thanks for sharing it!

I looked closer and I believe you have these reference for backwards compatibility. My bad!


React hook updates

Background
Companion PR to https://github.com/Shopify/shopify-dev/pull/23127 to update the React hooks on https://shopify.dev/api/checkout-extensions/checkout/extension-points/api#react-hooks with the hooks from this package
🎩

Spin: https://shopify-dev.checkout-extensions-configuration.jordan-kam.us.spin.dev/api/checkout-extensions/checkout/extension-points/api#react-hooks

Checklist

[x] I have :tophat:'d these changes
[x] I have updated relevant documentation

Updates to React table already merged in https://github.com/Shopify/ui-extensions/pull/435/files#diff-4ba0b538fe128c0a5f5a7a112767d77d9f63598d53ac6decadf2225872ebeea8 - closing out this PR.


Problem with clang checker

I am trying to replace my current vim + syntastic setup with neovim and neomake but I have problems getting the cpp checker to work.
My configuration is the following:
20 "Neomake
21 autocmd! BufWritePost * Neomake
22 let g:neomake_cpp_enable_makers = ['clang']
23 let g:neomake_cpp_clang_maker = {'exe' : 'clang' }
24 let g:neomake_cpp_clang_args = ['--std=c++11']
25

When I save the file, neomake is executed and the line Neomake: clang complete with exit code 1 appears. There is no error list (I inserted some errors into my code to make sure) and no markers are displayed.
What am I missing?
I think it might be related to https://github.com/benekastah/neomake/issues/286

Ok, I'm just plain stupid...-std=... not --std=.


refactor(parse): Clean up the parser

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

13 of 17 (76.47%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.072%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/toml_edit/src/parser/numbers.rs
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
3693

Relevant Lines:
5506

💛  - Coveralls


Update api-server-authorized-ip-ranges.md

Fix Markdown notation errors

@08thse : Thanks for your contribution! The author(s) have been notified to review your proposed change.


stimulants increase stamina

About the PR

adds StaminaModifier for modifying CritThreshold
stims double your stamina when active, meaning you can take twice as much stuns or do twice as many wide swings, making it a more versatile tool. it can now actually prevent you being stunned and dropping your weapon, which usually ends an op immediately. getting up a little bit faster isnt nearly as important compared to that.
if you have over 100 stamina damage and stims wear off you instantly stamcrit as withdrawl
excellent for offensive since you can do more damage with wide swings, and less slowdown

meth untouched since it can be mass produced, might be worth for a future pr
Media
https://github.com/space-wizards/space-station-14/assets/39013340/12c8b5b2-25ff-4ab5-92e8-f0a8693fdd9d

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

tweak: Stimulants now double your stamina, making you harder to stun and letting you use more heavy attacks.

you basically never see stims because they're duration is so short, this is definetly a good buff but maybe increase the duration a bit?

this is to make stims not useless, not to make them viable

so.. situational?

i am trying to say making them last longer is out of scope

Honestly if sloth's proposed stun baton change (making them 3 hits to stun) goes through, I could see stims having a niche again because you could pop retroactively pop them when you start getting hit. That same PR would also make the normal stim have a proactive use if you intend to get into a fight with a secoff as you'd very likely be able to take them down first (with any self respecting weapon). What I'm trying to say is I like this PR.

makes sense, that will just have to be another PR then

I also like this PR

if you like it put a ring on it merge it instantly :trollface:

well whadya know he did it

real

Чувак это просто ахуенно. Стимпанки сами по себе не покупаемым из-за своей цены, я предлогаю с этим пр уменишить цены на стимпанки: аптечка стимпанков на 10тк, а единичный стимпанк на 5 тк


Promise.allSettled ?

There is already Promise.all, but Promise.allSettled is missing
https://github.com/then/promise/blob/master/src/es6-extensions.js
According to caniuse, Promise.allSettled shared the same compatibility in IE (not available for IE<=11)
https://caniuse.com/?search=promise.all
https://caniuse.com/?search=promise.allSettled

@ForbesLindesay Do you have plans to implement an allSettled polyfill?

I created PR https://github.com/then/promise/pull/171 to fix it but not sure that this project is alive and maintainers can review it quickly

Just released this feature.


Enable only event dates

Is it possible to disable all dates except those event dates?
Thanks.

@kayazinc There is a pending PR (https://github.com/christopherdro/react-native-calendar/pull/107) open that should allow you to specify which dates you want disabled. We need some help resolving conflicts and testing it out.
Maybe you'd like to give it a shot?

@christopherdro The PR you mentioned seems has a lot of things in that, should we split it? like i can try to implement the disabled date instead of weekend


Add the focus region to the save state

As part of https://github.com/phetsims/a11y-research/issues/2 and https://github.com/phetsims/balloons-and-static-electricity/issues/204 we would like to save and restore the focus region in the sim state.  This will enable us to conduct a11y interviews where we can better visualize what the user was doing by showing the focus.

@jessegreenberg and I worked on this today and it seems (at least for the simple sim Balloons and Static Electricity) that it is recording and playing back the focus regions properly.  We also tested building scenery, scenery unit tests, launching acid-base solution (requirejs) and hookes-law (compiled) and did not spot any problems.
However, this is the first time an axon property in scenery has been instrumented for phet-io, so it is likely some issue will arise--we should remain alert.

This work has been committed in the preceding 2 commits.  Next steps:

[ ] code review from @jonathanolson
[ ] testing by the QA team.  This may be done as part of larger QA testing for BASE a11y interviews.

Cursory review looks fine, let me know if you need something in-depth.

A cursory review seems sufficient for now, thanks @jonathanolson.  We'll get QA testing in another issue.  Closing.


Move to auth to use localStorage instead of sessionStorage

As discussed, I think it's better to have more persistent sessions per default.
After your API changes merge, I'm happy to change this into a more pluggable system?

Looks good, thanks so much!


allow advertising presets as a line & add message field

advertising=totem/poster_box are allowed as lines according to the wiki, but the presets don't allow it. This PR fixes that inconsistency.
Also added message=* (32k uses) as a field to both presets

I've moved the message field to the optional tags sections, because I believe the field could relatively easily misunderstood to mean the literal advertising message by new mappers when presented with the field.


Update docker.yml

Closing since caching between branches works without this (master branch hadn't built before I opened this)


Where is the documentation?

I am trying to implement libumqtt within a server written in Nim. I am not familiar with C, but I know how to use C libraries within Nim. To implement this type of libraries correctly, I need documentation on how the library works and what the procedures do in what way. Is there a way to generate documentation from this library or is there documentation I have missed, yet?

Please reference the example.

@zhaojh329  Well, I want the server to auto-subscribe to a topic with a specific name. Then, after successful subscription, I want the server to listen for incoming requests originating from the topic. So, taking this case as an example, what do I need to call from the library to make this happen?

libumqtt is a client library.

@zhaojh329
Every subscriber is a client, I assume? The main purpose for it being a server is that it runs all the time. Technically, it is still a client, since it is supposed to receive messages and not send them.
Here is what is supposed to happen:

Server listening.
Server gets message "print this comment".
Server prints the comment.
Done.

Please reference the example.


⚠ Bofrost.de has degraded performance

In 5d8f0f8, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1486 ms

Resolved: Bofrost.de performance has improved in 2ae69d6 after 6 minutes.


[December 2016 Release] Launching app to playstore

All contributors who are working on various issues are requested to complete them fast as we will be launching our next update to Google PlayStore. :tada:

How much time do we have?

Plan is to freeze a build by Sunday (11 December), test for a week and then release to Play store.
So essentially anything that is merged by this weekend would go into the build and undergo testing.

@croozeus , Thanks for mentioning it. I have labelled some of the open-issues. Shall we give localisation support(#169) in this release?

@opticod Localization support - we can differ to one of the future release.

@opticod Till when the testing will be done. I wanted to test app properly but am not able to because of exams.

@codingblazer, testing will be performed by this weekend.

Master branch is now updated and contains the stable version of the code. All can download the APK from https://github.com/BuildmLearn/BuildmLearn-Toolkit-Android/releases/tag/v2.5.0
Test it and report if any issue exists.

With some fixes and addition of new crashlytics api key, master branch is updated again and contains the latest stable code version. All can download the APK from https://github.com/BuildmLearn/BuildmLearn-Toolkit-Android/releases/tag/v2.5.0
Test it and report if any critical issue exists. We are looking forward to launch an update to playstore soon.

Released :tada:
Get it here: https://play.google.com/store/apps/details?id=org.buildmlearn.toolkit


Add dataset DavarD_2021

Describe the solution you'd like
Please add BioProject PRJNA672867, PMID 33542131 to curatedMetagenomicData.
Additional context
I've used this template to generate a metadata file.
DavarD_2021.csv

Hi @brymerr921, thank you for contributing! Your csv files look well done and ready for us to gather the data. Could you have a look at curatedMetagenomicDataCuration and submit a pull request with all your csv files there? They will go through a series of automated checks and we will process the data from SRA after that. Then I will get the new datasets into curatedMetagenomicData for (hopefully) the next release. Thanks again for your contribution!
P.S. Add you name as a curator in the last column of the csv files, so we can give you full credit for your hard work.

PR opened: https://github.com/waldronlab/curatedMetagenomicDataCuration/pull/73


rustfmt eating up my where clauses on generic associated types

#![feature(generic_associated_types)]
#![allow(incomplete_features)]

trait Trait<T> {
    type Type<'a> where T: 'a;
    fn foo(x: &T) -> Self::Type<'_>;
}
impl<T> Trait<T> for () {
    type Type<'a> where T: 'a = &'a T;
    fn foo(x: &T) -> Self::Type<'_> {
        x
    }
}

(Playground)
The result after applying rustfmt:
#![feature(generic_associated_types)]
#![allow(incomplete_features)]

trait Trait<T> {
    type Type<'a>;
    fn foo(x: &T) -> Self::Type<'_>;
}
impl<T> Trait<T> for () {
    type Type<'a> = &'a T;
    fn foo(x: &T) -> Self::Type<'_> {
        x
    }
}

Thank you for the report @steffahn. This has already been fixed within rustfmt, just not yet released. Accordingly I am going to go ahead and close this as there's no additional changes to be made within rustfmt.
In the meantime you may want to consider using #[rustfmt::skip] on your types to keep rustfmt from mangling them.


fix NCCL version check error in ChainerMN

'nccl.get_version()' in the CuPy master returns 0 when using the old version (such as 2.2) of NCCL.
It is the cause of a bug in PureNcclCommunicator in ChainerMN.
This PR fixes it.

Jenkins CI test (for commit 0854afc07f8fd07a67dba85f3b69725436cd6394, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please

Several things we discussed offline:

We'll deprecate NCCL 2.2 and older version at Chainer v6
We'll drop NCCL 2.2 support at Chainer v7
We'll change CuPy and Chainer(MN) according to deprecation schedule above.

Jenkins CI test (for commit 88c064f0b4453cf2406b6ab69ecb58c57e008a5c, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Test failure is not related to ChainerMN part.

Jenkins CI test (for commit 88c064f0b4453cf2406b6ab69ecb58c57e008a5c, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)


Allow an option to enable/disable battery charge from grid/PV in battwatts

Description
I am using battwatts module, I do not want the battery to get charged from the grid
basically grid_to_batt (Electricity to battery from grid) in battwatts should return empty array/response
In this file, it is set to true always, if we can set this to true/false from the API, it would be great
https://github.com/NREL/ssc/blob/develop/ssc/cmod_battwatts.cpp#L228

@nickdiorio ?

The battwatts module is a simplified set of battery modeling assumptions, chosen to allow only a few common pathways in order to provide the least confusion (but also the least flexibility) to the user. However, disabling grid charging (and a lot of other functionality!) is available if you use the detailed PV model with the battery model!


gccgo: wrap go binary

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

 Which blocks generating smaller container images using Nix (by using Musl). Would be really good to have it reviewed.
I'm pinging other contributors for feedback and hopefully a review.
@matthewbauer @shlevy @thefloweringash @oxij @volth @FRidh @fpletz @dezgeg
Thanks!

@yu-re-ka Any problem?

I don't really appreciate it when people express an urgency about something that is done by others in their free time, but themselves don't put much effort into solving the problem.

I don't really appreciate it when people express an urgency about something that is done by others in their free time, but themselves don't put much effort into solving the problem.

:(
Meant to clarify purpose/meaning/relevance of this PR. Note: this PR has no description. I said why it is meaningful, on my words.
Pinged new contributions because I have already reviewed/approved this same code at PR #207681, you said it needed someone qualified to judge changes to the cc-wrapper (which implied was not me). Two weeks passed waiting for a review, no one volunteered. As I am not qualified (per comment) I cannot see how I can put more effort into solving this problem.
On lack of effort, it is exactly because of this sort of situation that I stopped contributing to nixpkgs.  Likely my contributions are bad. I get it, I'm not contributing anymore.
Anyway, thanks for solving the problem. Have a nice day.

I don't really appreciate it when people express an urgency about something that is done by others in their free time

Thanks for speaking your mind.
Meant to clarify PR purpose. Note: this PR has no description.
Pinged new contributors because:

I have already reviewed/approved this same code at PR #207681, but you disqualified me (per comment) when said was necessary someone qualified to judge changes to the cc-wrapper.
Two weeks passed waiting for a review, no one volunteered.
Maybe someone else has availability or interest? Who knows.

but themselves don't put much effort into solving the problem.

I cannot put (more) effort into solving a problem that is already solved (by you, thanks!). And my review is disqualified.
I don't have your expertise/knowledge. I actually tried to move things forward but it went nowhere. And your answers helped clarify how things worked. Instead of implying laziness, think of incompetence. Then, I agree. :-)

https://github.com/NixOS/nixpkgs/pull/207681#issuecomment-1371144146
The content of that should still be reviewed by someone qualified to judge changes to the cc-wrapper.

Wouldn't say that I'm qualified but as no one else has I think it's fine to merge. The changes are small, limited to gccgo and easy enough to revert if it is problematic for some reason.


Prefer PSR-6 over PSR-16

Is your feature request related to a problem? Please describe.
Use an existing PSR-6 implementation over the builtin PSR-16 option
Describe the solution you'd like
Change the cache component
Describe alternatives you've considered
Use an existing PSR-16 implementation, but realized a PSR-6 solution will be more robust
Code examples, if applicable
No external code changes, only internal ones.
Additional context
The current component is sort of wack so we're swapping it out for something more robust

This issue has been resolved as of v1.3.0


Updating deps breaks building for cloudflare pages

Cloning the project, running pnpm update, adding the required env vars and running npx nuxthub deploy gives this error;

ℹ Building Nuxt Nitro server (preset: cloudflare-pages)                                                                                nitro 12:05:02 PM

[nitro 12:05:05 PM]  ERROR  RollupError: node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js (1:9): "stdin" is not exported by<EMAIL_ADDRESS>imported by "node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js".

1: import { stdin, stdout } from "node:process";
            ^
2: import f from "node:readline";
3: import { WriteStream } from "node:tty";

[12:05:05 PM]  ERROR  node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js (1:9): "stdin" is not exported by<EMAIL_ADDRESS>imported by "node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js".

  at getRollupError (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/parseAst.js:395:41)
  at error (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/parseAst.js:391:42)
  at Module.error (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:15535:16)
  at Module.traceVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:15984:29)
  at ModuleScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:13770:39)
  at ChildScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:5252:38)
  at ClassBodyScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:5252:38)
  at ChildScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:5252:38)
  at ChildScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:5252:38)
  at FunctionScope.findVariable (node_modules/.pnpm/rollup@4.24.0/node_modules/rollup/dist/es/shared/node-entry.js:5252:38)

[12:05:05 PM]  ERROR  node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js (1:9): "stdin" is not exported by<EMAIL_ADDRESS>imported by "node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/prompt-CfqaOWNS.js".

 ERROR  Command failed with exit code 1: ./node_modules/.bin/nuxi build                                                                                12:05:05 PM

  at getFinalError (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/execa/lib/return/final-error.js:6:9)
  at makeError (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/execa/lib/return/result.js:108:16)
  at getAsyncResult (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/execa/lib/methods/main-async.js:167:4)
  at handlePromise (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/execa/lib/methods/main-async.js:150:17)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async Object.setup (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/nuxthub/src/commands/deploy.mjs:107:7)
  at async runCommand (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/citty/dist/index.mjs:288:5)
  at async runCommand (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/citty/dist/index.mjs:307:11)
  at async runMain (/Users/david/.npm/_npx/0fa85d1aa04cf089/node_modules/citty/dist/index.mjs:445:7)

 ERROR  Command failed with exit code 1: ./node_modules/.bin/nuxi build

It seems like it's not building for deployment on Cloudflare as it tries to import stuff like import { stdin, stdout } from "node:process"; ? I played around a bit with this but haven't found the root cause yet - will update here when I find out more.

Just gave this another shot and this issue seems fixed - maybe it was caching on my end or one of the updates done today? Anyway, closing this as its magically resolved ✨


Possibility to manually create a Toolchain programmatically

It would be nice to have a way to construct a toolchain from an arbitrary path programmatically.
For example we have a task that constructs a custom Java distribution.
For some tasks I want this to be used and not the "normal" toolchain configured for the build as a whole.
Currently with Gradle 6.8.2 I have to feed an empty provider to the tool property to clear the value including convention and then use executable to set the executable.
It would be nice if instead the task could expose a provider with a manually constructed toolchain from its output path that can then be used to set the tool property.

The feature will be nice for cross platform tasks like Jlink.


diff-cli should copy over permissions when applying a diff

Currently, when applying a .diff, permissions from the original file are not copied over before being atomically moved.

This is far more difficult at the time because Okio does not have any APIs to do this. There are also many factors that need to be fleshed out in terms of Java APIs available, b/c Android API < 26 does not have Nio.
Need to look into things more.

Moved to https://github.com/05nelsonm/kmp-tor-resource


Display bug when sorting items with different widths?

https://user-images.githubusercontent.com/16015833/121776780-10f22a80-cb8f-11eb-8348-e82525e17513.mp4
What am I doing wrong here?
https://codesandbox.io/s/sortabletabs-with-dragoverlay-forked-4l9k2?file=/src/SortableTabs.tsx:1835-1847

import {CSS} from '@dnd-kit/utilities';

- CSS.Transform.toString(transform)
+ CSS.Translate.toString(transform)

Thank you for your fast answer! 😃
I made the change, but it's still not ideal?
https://user-images.githubusercontent.com/16015833/121778557-b3161080-cb97-11eb-8d15-0218737dcdc0.mp4
Also, on the Sortable doc example, it uses CSS.Transform

Refer to https://github.com/clauderic/dnd-kit/issues/44#issuecomment-757312037

That makes total sense. Thank you, keep up the good work!


registration form url encoding issue

Environment Details

Spartacus:  1.0.2
Browser: Chrome
OS: 75.0.3770.142
Device: Macbook Pro 2015
Other environment details: Angular 8.2.0

Steps to Reproduce
Click on Register
Use email address with special character: like<EMAIL_ADDRESS>Observed Results
Form submit changes<EMAIL_ADDRESS>to  "jon.doe<EMAIL_ADDRESS>Bad Credentials error message is shown
Expected Results
registration should work as expected and create the account without an error
Repository Used
installed from libs, as described in the installation guide
Offer to Fix
Additional Information

Spartacus does not support email addresses with special characters, as established in RFC-5322

I don't think that a literal + sign is forbidden in email addresses. This seems to be more of a URL encoding issue, as originally indicated.
It seems that we have similar problems with other API requests, see #4260.

closed as won't fix as it duplicates #4260

Are you sure that this is a duplicate? #4260 seems to be related to the login form, while this issue is related to the registration form!
Yes, a solution might look similar, but it will have to be implemented and tested separately for each individual case!


Question - Are the advanced audit logs in the UAL worth mandating the requirement that they enabled despite the high licensing level cost

💡 Summary
Recap of this issue where we discovered the advanced audit log for the UAL (renamed to Purview Premium) is enabled on a per-user basis. Each user must also be assigned at minimum a E5/G5 license. Currently in the baseline policy we have 'advanced audit logging SHALL be enabled`. OMB M-21-31, as noted in the baseline policy, also requires that advanced audit logging be turned on. #308 covers the same topic in the SharePoint baseline.
Reposting several points made from the previous issues:
What are the the cons:

Requires looping through all the users in both the GUI AND the command-line to enable
Requires each user to be assigned an E5/G5 license or a special add-on license.

What are the benefits:

Provides access to EXO and SharePoint events in the UAL that are useful for IR

Questions to CISA

Do we relegate this policy to a SHOULD?
Is there another path forward for this policy?

(Initial Issue text)
Follow-up to issue #200, where we discovered that advanced audit is enabled on a per-user basis not tenant-wide (TLRD: we decided to not implement the rego check for the alpha but to reassess the requirement for the MVP).
The cons of advanced audit are pretty self-evident now.

Requires looping through all the users in both the GUI AND the command-line to enable
Requires each user to be assigned an E5/G5 license or a special add-on license

What are the benefits? Do they outweigh the cons?

My initial sense is that we demote to a should for now given the tradeoffs.

I believe its no worse than the status quo situation.  We have several policies that can't be easily assessed automatically.  This one is particularly egregious though and hard for agencies to implement if they aren't in a position to script it.
Ok, on re-evaluating, I'm ok with removing this one from the baselines until/unless Microsoft adds a tenant level setting to enable.

I think the action is to remove this from the baseline, right?  I'm not tracking if its there or not.


Fix the defaultLanguage setting, so it is now applied properly

Hello, Manuel!
Thank you for the great extension!
Description
This PR fixes the defaultLanguage setting, so it is now applied properly.
It also contains a small fix for the changelog links.
I was unsure what style you wanted to use for naming the values for this setting, but since you use them in PascalCase in the schema, I decided to keep them that way across the board and just use toLowerCase() when checking the value. This way, it shouldn't cause any problems for existing user configurations (e.g. those who have been using lowercase value despite the schema warning).

Thank you so much! I publish a new version with your changes


feat: add API bdev_lvol_rename

Longhorn 9488
Which issue(s) this PR fixes:

Issue longhorn/longhorn#9488
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

All valid comments from coderabbitai are resolved. PTAL.


Include information about resource management in the Docker image to the docs

We should note that amounts of resources dedicated to the Docker image should be increased for testing heavy websites, and explain how to do it using docker run command line switches (described here. The most important is the --shm-size=1gb switch for Chromium.

Fixed by https://github.com/DevExpress/testcafe/pull/2520


Frame callbacks

Please ensure the above guidelines for contributing are met.
Fixes Issue: #
Changes proposed in this pull request:

Changes all streams to using callbacks instead of using rs_wait_for_frames
Adds needed mutex to imu callback for zr300
Refactors code to remove duplicated code
Removes the topic_thread since rs_wait_for_frames is removed and everything done via callbacks

I'm not sure why this is failing. I think ros.build.org is down. I can't access their web server. Investigating...

I squashed the commits down to 6, this is ready for final review and approval.


Adding OpenMP support for Mac

Hi @ocefpaf!
This PR is an attempt to enable OpenMP support for Macs by following the instructions here: https://conda-forge.org/docs/maintainer/knowledge_base.html#openmp-on-macos.
We've been doing something similar for local compilation, having Mac users install llvm-openmp and clang from Conda Forge, and it works great.
Separately: I don't understand these things well enough to know why the Windows Python 2.7 build wasn't working in PR #1, but do you think it's something we can fix? It would be nice to support that combination still.
Thanks so much for everything you've done to set up this recipe and to troubleshoot it.
@conda-forge-admin, please rerender

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This PR is an attempt to enable OpenMP support for Macs by following the instructions here: https://conda-forge.org/docs/maintainer/knowledge_base.html#openmp-on-macos.

Thanks for sending that! I completely forgot we had instructions for it and used the lazy approach.

Separately: I don't understand these things well enough to know why the Windows Python 2.7 build wasn't working in PR #1, but do you think it's something we can fix? It would be nice to support that combination still.

I'm not a Windows expert but I believe we can fix that. However, our police is to not really worry about vc9 (Python 2.7) b/c of the EoL in January 2020.

Thanks so much for everything you've done to set up this recipe and to troubleshoot it.

Thanks for great package!

macOS is failing with Symbol not found: ___kmpc_barrier. Full error:
import: 'pandana'
Unable to revert mtime: /Library/Fonts
Traceback (most recent call last):
  File "/usr/local/miniconda/conda-bld/pandana_1565646595144/test_tmp/run_test.py", line 2, in <module>
    import pandana
  File "/usr/local/miniconda/conda-bld/pandana_1565646595144/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.7/site-packages/pandana/__init__.py", line 1, in <module>
    from .network import Network
  File "/usr/local/miniconda/conda-bld/pandana_1565646595144/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.7/site-packages/pandana/network.py", line 11, in <module>
    from .cyaccess import cyaccess
ImportError: dlopen(/usr/local/miniconda/conda-bld/pandana_1565646595144/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.7/site-packages/pandana/cyaccess.cpython-37m-darwin.so, 2): Symbol not found: ___kmpc_barrier
  Referenced from: /usr/local/miniconda/conda-bld/pandana_1565646595144/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.7/site-packages/pandana/cyaccess.cpython-37m-darwin.so
  Expected in: flat namespace
 in /usr/local/miniconda/conda-bld/pandana_1565646595144/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.7/site-packages/pandana/cyaccess.cpython-37m-darwin.so

@isuruf is this something easy to fix?

Thanks @isuruf!


Rest-API

Hi,
I am trying to find the set of REST-APIs available through the kafka-manager. I would like to use curl to query the data exposed through UI.
Is there a place where I can find those exposed APIs? Or some documentation related to it.
Thanks.

Found the list of APIs available through conf/routes file. Not sure if there is any other better way to find all the APIs.

solved？

@rathinaganesh I dont know if the routes file will provide a solution.  We need to get apis that send non html responses..


The network performance is somehow disastrous.

Just created a server on my Hetzner server located at Germany. I self built the kernel to enable bbr and it's now on 14.0-RELEASE-p6.
cpu             ARM64
ident           HETZNER-CAX

include         "std.arm64"
include         "std.dev"

# TCP BBR
options         TCPHPTS
options         RATELIMIT
makeoptions     WITH_EXTRA_TCP_STACKS=1

# Include SoC specific configuration
include         "std.arm"
include         "std.virt"

I followed your document and set pf, virtual networks and dns up, then I create a jail with appjail quick packager virtualnet=":packager" (nat is enabled on the virtualnet), but when I download ports using gitup I notice extremely slow network speed.
Here's the result if I fetch a 10gb test file outside of jail:
root@fsn00:~ # fetch https://fsn1-speed.hetzner.com/10GB.bin
10GB.bin                                       19% of   10 GB  408 MBps    20s^C
fetch: transfer interrupted

And here's the result inside the jail:
root@packager:~ # fetch https://fsn1-speed.hetzner.com/10GB.bin
10GB.bin                                        0% of   10 GB  249 kBps 11h15m^C
fetch: transfer interrupted

It's 1500x times slower.
I'm new to FreeBSD, so I'm not sure where to start with debugging and digging useful information. If there are some specific details required, please inform me, and I will provide them as promptly as possible.

Hi @OrvilleQ
I am currently not at home which has 80 MB/s (rx) and 30 MB/s (tx), a big difference if we compare the ADSL link where I am.
Excerpt from net/speedtest-go:
# speedtest-go
...
✓ Latency: 42.665045ms Jitter: 117.528µs Min: 42.406088ms Max: 42.883802ms
✓ Download: 4.51Mbps (used: 5.38MB) (latency: 61ms jitter: 37ms min: 48ms max: 205ms)
✓ Upload: 0.76Mbps (used: 0.91MB) (latency: 73ms jitter: 21ms min: 47ms max: 139ms)

But if we compare the result of speedtest-go executed in a jail:
# appjail jail list -j speedtest-go
STATUS  NAME          TYPE  VERSION       PORTS  NETWORK_IP4
UP      speedtest-go  thin  13.2-RELEASE  -      <IP_ADDRESS>
# appjail cmd jexec speedtest-go speedtest-go
...
✓ Latency: 31.867667ms Jitter: 845.172µs Min: 31.07015ms Max: 33.496017ms
✓ Download: 4.87Mbps (used: 5.80MB) (latency: 87ms jitter: 111ms min: 35ms max: 451ms)
✓ Upload: 0.76Mbps (used: 0.91MB) (latency: 91ms jitter: 63ms min: 51ms max: 250ms)

It's even better, but this doesn't mean that the performance in jails is better, it's probably just better because speedtest-go used two different servers. Although there is an overhead when using virtual networks, it is actually so small that you should not notice any difference. Of course, in your case there is a problem since you notice a performance loss. Check the bridge's MTU to confirm if it matches the host's MTU currently used:
# appjail network list
NAME   NETWORK   CIDR  BROADCAST      GATEWAY   MINADDR   MAXADDR        ADDRESSES  DESCRIPTION      MTU
ajnet  <IP_ADDRESS>  10    <IP_ADDRESS>  <IP_ADDRESS>  <IP_ADDRESS>  <IP_ADDRESS>  4194302    AppJail network  576
# ifconfig jext | grep mtu
jext: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 576
# grep MTU /usr/local/etc/appjail/appjail.conf
DEFAULT_VIRTUALNET_MTU=576
# appjail version
3.2.0+15f7db9c07e005d852119b2346b93b9900d4e023

Another recommendation is to try to minimize configuration overhead:

Use GENERIC kernel instead of a custom one as it may or may not affect network performance in jails, but if this happens it is probably a bug. Note: I'm just trying to deduce the cause, not conclude that a custom kernel can affect its performance.
If you have configured your firewall, try to minimize the configuration to a minimum:

# cat /etc/pf.conf
nat-anchor 'appjail-nat/jail/*'
nat-anchor "appjail-nat/network/*"
rdr-anchor "appjail-rdr/*"

This is what AppJail requires to work when using Virtual Networks, no more, no less.

Use another networking feature (for discard only) like VNET, Bridges or even Netgraph. If you have more than one interface or you don't have a problem with a jail stealing your interface, I recommend using VNET. VNET will steal the target interface from the host and you can make any allowed changes to that interface, so you have more control and no overhead. Bridges and Netgraph have a bit of overhead and under normal circumstances you shouldn't see any real difference as mentioned above.

Bridges and Virtual Networks use if_bridge(4) and if_epair(4) drivers, and most jail frameworks and users use the same drivers for jail networking, so if you notice a performance overhead, this will affect to many people unless it is just a problem in your system.

AppJail is used more on AMD64 platforms, but I know some users who have deployed AppJail on ARM platforms and there are no problems. Test on AMD64 platforms (for discard only).

I hope the above can help you, tell me any results you find.

@DtxdF Thank you for your detailed instructions. I'll log the things I did down below in case I miss something.

appjail network list did not show MTU, maybe because I'm using the release version. However, the configuration file says MTU defaults to 1500, which is the same as my EX_IF interface vtnet0. ifconfig ajnet also shows the MTU is 1500, so I guess MTU is not the problem.
root@fsn00:~/Kernel # ifconfig vtnet0 | grep mtu
vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500

root@fsn00:~ # ifconfig ajnet
ajnet: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500

Test the network speed using speedtest-go inside and outside the jail. The upload performance inside the jail is 40% slower compared to outside the jail, but it is still fast enough.

After compiling the Kernel to GENERIC with BBR enabled, nothing changed. I'll try disabling BBR next.

root@fsn00:~ # sysctl net.inet.tcp.functions_default
net.inet.tcp.functions_default: freebsd

✓ Test Server: [41175] 96.60km Dresden (Germany) by CITUX GmbH
✓ Latency: 696.362µs Jitter: 239.203µs Min: 398.222µs Max: 1.077307ms
✓ Download: 19.88Mbps (used: 23.70MB) (latency: 0ms jitter: 0ms min: 0ms max: 2ms)
✓ Upload: 1634.93Mbps (used: 1948.99MB) (latency: 2ms jitter: 1ms min: 0ms max: 8ms)

After BBR disabled still nothing changed.

On a fresh FreeBSD environment update to the latest patch (14.0-RELEASE-p6) with only appjail installed, using ZFS, EXT_IF and ON_IF set to vtnet0. pf configured.
set up a test jail with appjail quick test virtualnet=":test default" nat overwrite start, the speedtest-go result is still extremely slow on download speed.
✓ Test Server: [41175] 60.00km Dresden (Germany) by CITUX GmbH
✓ Latency: 767.364µs Jitter: 442.745µs Min: 390.143µs Max: 2.030396ms
✓ Download: 19.89Mbps (used: 23.71MB) (latency: 1ms jitter: 1ms min: 0ms max: 4ms)
✓ Upload: 1310.75Mbps (used: 1562.54MB) (latency: 3ms jitter: 1ms min: 0ms max: 7ms)

Thanks for telling me about the driver you use, vtnet, this helped me dig deeper into your problem, at least to investigate further on Bugzilla:

Bug 277718 - Really bad throughput of pf NAT over vtnet(4) with rx/txcsum enabled

The above is the most interesting, as it seems to be related to your problem, but look at the full search list:

Full Search List

The inner connection inside ajnet seems to be good, get a reasonable result using iperf3.

Yes, this appears to be what was reported in the issue, since you are testing on the local system, packets don't travel outside of your interface.

0.3 Mbit/s download while upload seems to be unaffected

This is a quote from the bug, comment 0. As speedtest-go informs you, Download seems to be affected, while Upload is only affected a bit. Of course, see the full bug, as the developer says some things that are relevant to investigate further.

You haven't done anything wrong, this seems to be a bug between vtnet and the NAT implementation or something related. Of course this is not an AppJail issue, but I suggest the following:

Add you to the CC list for bugs that seem related to your problem.
Join the freebsd-net mailing list.
Open a bug on Bugzilla or if there is an open bug that seems to be related to your issue, like the one above, report it. At least if the bug affects a lot of people it should be fixed quickly.

You are right.
After read all the comments and found a post back in 2016 described similar issue, I set hw.vtnet.csum_disable="1" in /boot/loader.conf, and everything works as expected now.
inside the jail:
✓ Test Server: [41175] 96.60km Dresden (Germany) by CITUX GmbH
✓ Latency: 578.274µs Jitter: 410.754µs Min: 364.603µs Max: 1.790574ms
✓ Download: 3212.81Mbps (used: 3829.97MB) (latency: 2ms jitter: 1ms min: 0ms max: 4ms)
✓ Upload: 2108.45Mbps (used: 2513.46MB) (latency: 1ms jitter: 0ms min: 0ms max: 3ms)

outside the jail:
✓ Test Server: [41175] 96.60km Dresden (Germany) by CITUX GmbH
✓ Latency: 555.28µs Jitter: 78.684µs Min: 418.683µs Max: 690.805µs
✓ Download: 3489.01Mbps (used: 4159.22MB) (latency: 2ms jitter: 1ms min: 1ms max: 5ms)
✓ Upload: 1755.26Mbps (used: 2092.44MB) (latency: 2ms jitter: 1ms min: 1ms max: 6ms)

But that means CPU now has to do all the checksum job and It could easily use around 50% CPU resource with maximum speed. Not a perfect solution but enough for now. I'll keep my eye on the bug fix in the future.
Once again, thank you sincerely for the help.
I've create a pull request to warn this issue. https://github.com/DtxdF/AppJail.docs/pull/2

Thanks for the workaround and for the PR on the other repo! I'll merge it as soon as possible.
I'll keep this in mind when writing the appjail-network(1) man page.


Samsung GT-P5110 camera problem with saved images and it's preview

I use your demo app to test cam2.
Steps to reproduce:

launch demo app,
disable video record,
take picture.

In terms of code modification, I have remove line 301 (skipConfirm), line 303 (facingExactMatch) in MainActivity.
{
"api": 17,
"brand": "samsung",
"build": "JDQ39.P5110XXDMI1",
"cpu": [
"armeabi-v7a",
"armeabi"
],
"hardware": "espresso10",
"manufacturer": "samsung",
"model": "GT-P5110",
"product": "espresso10wifixx",
"version": "4.2.2"
}
cam2_samsung_espresso10wifixx_20160429-180302.zip

Note that it is unlikely that I will be able to obtain this device.


New Ui doesn't work in IE11

At the moment you get a javascript error
Object doesn't support property or method 'assign'
index.js (1,945851)

Fixed


requireEntrypoint actually requires all js chunks

🐛 Bug Report
ChunkExtractor.requireEntrypoint(entryName) requires not only passed entrypoint but all js assets.
As I understand, code below needs only for drop module cache:
https://github.com/gregberge/loadable-components/blob/9ff66939ee6fd622922f71128a30b5d3f43f63b0/packages/server/src/ChunkExtractor.js#L389-L393
This behavior was added at PR #431
Relates issue #230
Expected behavior
Only specified entrypoint to be loaded with it dependent chunks.
Environment
Paste the results here:
## System:
 - OS: Windows 10 10.0.19043
 - CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
 - Memory: 2.44 GB / 11.90 GB
## Binaries:
 - Node: 14.17.5 - C:\Program Files\nodejs\node.EXE
 - Yarn: 1.22.15 - C:\Program Files\nodejs\yarn.CMD
 - npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD
## npmPackages:
 - @loadable/babel-plugin: ^5.13.2 => 5.13.2
 - @loadable/component: 5.15.0 => 5.15.0
 - @loadable/server: 5.15.1 => 5.15.1
 - @loadable/webpack-plugin: 5.15.1 => 5.15.1

Just for my information - what is the problem with requiring more than possible files?
Especially having in mind that the majority of SSR setups produces a single file for the server and generates chunks only for the client.

In our project we build application for desktop, mobile and legacy devices. We have entrypoint for each of these platforms plus one entrypoint for nodejs application which runs express server.
So, the problem. When I start server and try to render (for example) mobile page, it loads and execute  mobile, desktop, and legacy entrypoints. That`s slowdown project. What is more important, it try to require server entrypoint which try to start new server with same config and expectedly crashes.

I hear you and will try to find a solution. There is a little problem than dependencies created by import are not "visible" in stats and I could not really know what I should load in order to handle the functionality of one or another entrypoint.
However, that would be so nice to have this information. Let me ask some webpack guys about possible solution.


chore: make CommandHandler.handle return a Result

What this PR changes/adds
the CommandHandler.handle returns a Result instead of void
Why it does that
to make it easier to detect the errors and improve the reposrting of them
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #2340
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] assigned appropriate label? (exclude from changelog with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

@ndr-brt could you please review it

@majadlymhmd no need to send me a message, just add me as a reviewer (top right corner) ;)

@majadlymhmd since you are touching core elements of the command processing subsystem, please provide a written decision record that outlines the impact and your proposed changes as per our contribution guidelines.
As a small preview: I don't think you can complete this task without touching the CommandRUnner.

Codecov Report
Base: 64.48% // Head: 64.72% // Increases project coverage by +0.23% :tada:

Coverage data is based on head (c6c2424) compared to base (b71b977).
Patch coverage: 46.66% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2377      +/-   ##
==========================================
+ Coverage   64.48%   64.72%   +0.23%
==========================================
  Files         839      846       +7
  Lines       17392    17528     +136
  Branches     1047     1066      +19
==========================================
+ Hits        11216    11345     +129
- Misses       5743     5748       +5
- Partials      433      435       +2

Impacted Files
Coverage Δ

...handlers/AddProvisionedResourceCommandHandler.java
0.00% <0.00%> (ø)

...nd/handlers/DeprovisionCompleteCommandHandler.java
0.00% <0.00%> (ø)

...ava/org/eclipse/edc/spi/command/CommandRunner.java
0.00% <0.00%> (ø)

...dlers/SingleContractNegotiationCommandHandler.java
83.33% <50.00%> (-7.58%)
:arrow_down:

...r/transfer/process/TransferProcessManagerImpl.java
89.26% <50.00%> (+0.95%)
:arrow_up:

.../handlers/SingleTransferProcessCommandHandler.java
100.00% <100.00%> (ø)

...e/http/pipeline/NonChunkedTransferRequestBody.java
66.66% <0.00%> (-33.34%)
:arrow_down:

...rg/eclipse/edc/boot/system/ServiceLocatorImpl.java
28.57% <0.00%> (-7.15%)
:arrow_down:

...taplane/framework/DataPlaneFrameworkExtension.java
75.55% <0.00%> (-7.06%)
:arrow_down:

...edc/spi/types/domain/transfer/DataFlowRequest.java
86.95% <0.00%> (-3.96%)
:arrow_down:

... and 136 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Generate a convenience layer for mgmt. plane SDK that a parent resource can create its child resource directly

Describe the issue or request
The currently way of creating child resource is unintuitive, developers need to get the child resource collection and call the CreatOrUpdate method in the child resource collection, many developers are unable to find out this way to create a child resource from its parent resource .
Describe your ideas for solutions
We should provide a convenience layer to support direct create child resource on its parent resource.
This should not include the ResourceGroups resource itself, as lot it is the parent of most other Azure Resource, adding the convenience layer on ResourceGroups resource will result too many create method on ResourceGroupResource

This is the convenience way to crate any arm resource https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/resourcemanager/Azure.ResourceManager#managing-existing-resources-by-resource-identifier.


get individual species growth data from rhodo/syn co-culture

@PBohutskyi Could you send growth curve data for this co-culture?


Android Basics: change-app-icon

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-icon?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-change-app-icon#5
In which task and step of the codelab can this issue be found?
Change the app icon - section: Adaptive and legacy launcher icons
Describe the problem
Documentation typo - bad file name

res/drawable-anydpi-v26/ic_lancher_background.xml
typo for
res/drawable-anydpi-v26/ic_launcher_background.xml
Steps to reproduce?

Go to... documentation
See error...

Versions
Android Studio version: n/a
API version of the emulator: n/a
Additional information
Include screenshots if they would be useful in clarifying the problem.

@nicola-masarone
Thank you for reaching out to us. The typo is fixed and will be published soon.


Runtime issue in MacOS Monterey

Summary of your issue
Following exception occurs on calling function from OpenCV:
{System.DllNotFoundException: Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libOpenCvSharpExtern, 0x0001): tried: 'libOpenCvSharpExtern' (no such file), '/usr/local/lib/libOpenCvSharpExtern' (no such file), '/usr/lib/libOpenCvSharpExtern' (no such file), '/Users/all/Projects/OpenCVTest2/OpenCVTest2/bin/Debug/netcoreapp3.1/libOpenCvSharpExtern' (no such file)
at OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
at OpenCvSharp.Internal.ExceptionHandler.RegisterExceptionCallback()
at OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
at OpenCvSharp.Internal.NativeMethods..cctor()}
Environment
MacOS Monterey Version 12.4
Mac mini (Later 2014)
What did you do when you faced the problem?
Always occurs on launch app.
Example code:

using System;
using OpenCvSharp;

class Program
{
    static void Main()
    {
        try
        {
            using var src = new Mat("/path_to_directory/sample_image.png", ImreadModes.Grayscale);
            using var dst = new Mat();

            Cv2.Canny(src, dst, 50, 200);
            using (new Window("src image", src))
            using (new Window("dst image", dst))
            {
                Cv2.WaitKey();
            }
        }
        catch(Exception e)
        {
            Console.WriteLine("------EXCEPTION-------");
            Console.WriteLine(e.ToString());
        }
    }
}

Output:

{System.DllNotFoundException: Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libOpenCvSharpExtern, 0x0001): tried: 'libOpenCvSharpExtern' (no such file), '/usr/local/lib/libOpenCvSharpExtern' (no such file), '/usr/lib/libOpenCvSharpExtern' (no such file), '/Users/all/Projects/OpenCVTest2/OpenCVTest2/bin/Debug/netcoreapp3.1/libOpenCvSharpExtern' (no such file)
   at OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
   at OpenCvSharp.Internal.ExceptionHandler.RegisterExceptionCallback()
   at OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
   at OpenCvSharp.Internal.NativeMethods..cctor()}

Possible causes
I spent a lot of time finding out the cause, and found the following possible causes:
First problem is that libOpenCvSharpExtern is originally placed inside directory
"<project_directory>/bin/Debug/runtimes/osx-x64/native/libOpenCvSharpExtern.dylib"
but app is trying load from path
"<project_directory>/bin/Debug/libOpenCvSharpExtern" .
Second problem is many problematic dependencies from libOpenCvSharpExtern dylib. I explored all dylib dependencies by otool and all dependencies are not exist. For example OpenCV contains dependency to freetype library that is not installed in MacOS or many other libraries are the same problem.
all dependencies from libOpenCvSharpExtern are in bellow list:
python3 /Users/All/Desktop/otool_recursive.py /Users/all/Projects/OpenCVTest2/OpenCVTest2/bin/Debug/netcoreapp3.1/runtimes/osx-x64/native/libOpenCvSharpExtern.dylib
/Users/all/Projects/OpenCVTest2/OpenCVTest2/bin/Debug/netcoreapp3.1/runtimes/osx-x64/native/libOpenCvSharpExtern.dylib
@rpath/libOpenCvSharpExtern.dylib
/usr/local/opt/freetype/lib/libfreetype.6.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/local/opt/freetype/lib/libfreetype.6.dylib (No such file or directory)
/usr/local/opt/harfbuzz/lib/libharfbuzz.0.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/local/opt/harfbuzz/lib/libharfbuzz.0.dylib (No such file or directory)
/usr/local/opt/tesseract/lib/libtesseract.5.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/local/opt/tesseract/lib/libtesseract.5.dylib (No such file or directory)
/usr/lib/libarchive.2.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libarchive.2.dylib (No such file or directory)
/usr/lib/libcurl.4.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libcurl.4.dylib (No such file or directory)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (No such file or directory)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (No such file or directory)
/System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation (No such file or directory)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (No such file or directory)
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (No such file or directory)
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (No such file or directory)
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (No such file or directory)
/usr/lib/libiconv.2.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libiconv.2.dylib (No such file or directory)
/usr/lib/libSystem.B.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libSystem.B.dylib (No such file or directory)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (No such file or directory)
/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL (No such file or directory)
/usr/lib/libc++.1.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libc++.1.dylib (No such file or directory)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (No such file or directory)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (No such file or directory)
/usr/lib/libobjc.A.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libobjc.A.dylib (No such file or directory)

I also have same issue

Same for me on macos 13.0.1
Looks like there is no runtime for macos greater than 10

Any updates on this?


Write more tests for functions in createAggregatedData

Need more tests for: insertDispersionIndex, insertAvg, insertPercentFav, insertPercentileRanking

Sufficient tests written


Enable DCO sign off checks

Enable DCO checks for auto-checking all the commits. A PR shall not be merged if DCO check fails.

Open this website and click on Add to GitHub > Select the Organisation and authorise access - only the code owners can authorise the app.


testing on linux box

Just wanted to say I'm enjoying atom-sync very much. Testing on a couple Linux (ubuntu) boxes. Excellent so far. Will report back with more.
Thank you.

Thanks for the admiration and I'm glad it's useful for you :)


The Swift compiler cannot be built with clang 15 on linux/Android

Describe the bug
I tried updating to building with clang 15 and could no longer build this repo, with errors like this:
[3/1065][  0%][1.958s] Building CXX object lib/SwiftReflection/CMakeFiles/swiftReflection.dir/__/__/stdlib/public/Reflection/TypeLowering.cpp.o
FAILED: lib/SwiftReflection/CMakeFiles/swiftReflection.dir/__/__/stdlib/public/Reflection/TypeLowering.cpp.o
/home/butta/clang-15.0.2/bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -DNDEBUG -DSWIFT_THREADING_LINUX -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/butta/build/Ninja-Release/swift-linux-x86_64/lib/SwiftReflection -I/home/butta/swift/lib/SwiftReflection -I/home/butta/swift/stdlib/public/SwiftShims -I/home/butta/build/Ninja-Release/swift-linux-x86_64/include -I/home/butta/swift/include -I/home/butta/llvm-project/llvm/include -I/home/butta/build/Ninja-Release/llvm-linux-x86_64/include -I/home/butta/llvm-project/clang/include -I/home/butta/build/Ninja-Release/llvm-linux-x86_64/tools/clang/include -I/home/butta/cmark/src/include -I/home/butta/build/Ninja-Release/cmark-linux-x86_64/src -I/home/butta/swift-corelibs-libdispatch/src/BlocksRuntime -I/home/butta/swift-corelibs-libdispatch -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -O3 -DNDEBUG  -fno-exceptions -fno-rtti -Werror=gnu -Werror=c++98-compat-extra-semi -target x86_64-unknown-linux-gnu -O2 -momit-leaf-frame-pointer -g0 -march=core2 -DSWIFT_ENABLE_REFLECTION -std=c++14 -MD -MT lib/SwiftReflection/CMakeFiles/swiftReflection.dir/__/__/stdlib/public/Reflection/TypeLowering.cpp.o -MF lib/SwiftReflection/CMakeFiles/swiftReflection.dir/__/__/stdlib/public/Reflection/TypeLowering.cpp.o.d -o lib/SwiftReflection/CMakeFiles/swiftReflection.dir/__/__/stdlib/public/Reflection/TypeLowering.cpp.o -c /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:20:
In file included from /home/butta/swift/include/swift/Runtime/Metadata.h:20:
In file included from /home/butta/swift/include/swift/ABI/Metadata.h:43:
In file included from /home/butta/swift/stdlib/public/SwiftShims/swift/shims/HeapObject.h:15:
In file included from /home/butta/swift/stdlib/public/SwiftShims/swift/shims/RefCount.h:36:
/home/butta/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
  static const bool value = __has_trivial_constructor(T);
                            ^
/home/butta/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
  static const bool value = __has_trivial_destructor(T);
                            ^
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:20:
In file included from /home/butta/swift/include/swift/Runtime/Metadata.h:20:
In file included from /home/butta/swift/include/swift/ABI/Metadata.h:43:
In file included from /home/butta/swift/stdlib/public/SwiftShims/swift/shims/HeapObject.h:15:
In file included from /home/butta/swift/stdlib/public/SwiftShims/swift/shims/RefCount.h:40:
/home/butta/swift/include/swift/Runtime/Heap.h:32:1: error: an attribute list cannot appear here
SWIFT_RETURNS_NONNULL SWIFT_NODISCARD SWIFT_RUNTIME_EXPORT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/butta/swift/stdlib/public/SwiftShims/swift/shims/Visibility.h:240:31: note: expanded from macro 'SWIFT_RETURNS_NONNULL'
#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
                              ^
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:20:
/home/butta/swift/include/swift/Runtime/Metadata.h:316:1: error: an attribute list cannot appear here
SWIFT_RETURNS_NONNULL SWIFT_NODISCARD SWIFT_RUNTIME_EXPORT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/butta/swift/stdlib/public/SwiftShims/swift/shims/Visibility.h:240:31: note: expanded from macro 'SWIFT_RETURNS_NONNULL'
#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
                              ^
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:20:
/home/butta/swift/include/swift/Runtime/Metadata.h:325:1: error: an attribute list cannot appear here
SWIFT_RETURNS_NONNULL SWIFT_NODISCARD SWIFT_RUNTIME_EXPORT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/butta/swift/stdlib/public/SwiftShims/swift/shims/Visibility.h:240:31: note: expanded from macro 'SWIFT_RETURNS_NONNULL'
#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
                              ^
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:30:
/home/butta/swift/include/swift/Runtime/HeapObject.h:64:1: error: an attribute list cannot appear here
SWIFT_RETURNS_NONNULL SWIFT_NODISCARD SWIFT_RUNTIME_EXPORT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/butta/swift/stdlib/public/SwiftShims/swift/shims/Visibility.h:240:31: note: expanded from macro 'SWIFT_RETURNS_NONNULL'
#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
                              ^
In file included from /home/butta/swift/stdlib/public/Reflection/TypeLowering.cpp:26:
In file included from /home/butta/swift/include/swift/Reflection/TypeLowering.h:24:
In file included from /home/butta/swift/include/swift/Remote/MetadataReader.h:30:
/home/butta/swift/include/swift/Runtime/HeapObject.h:120:1: error: an attribute list cannot appear here
SWIFT_RETURNS_NONNULL SWIFT_NODISCARD SWIFT_RUNTIME_EXPORT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/butta/swift/stdlib/public/SwiftShims/swift/shims/Visibility.h:240:31: note: expanded from macro 'SWIFT_RETURNS_NONNULL'
#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
                              ^
2 warnings and 5 errors generated.
ninja: build stopped: subcommand failed.

I first saw this when building trunk natively on Android AArch64.
Steps To Reproduce

Since Ubuntu 20.04 x86_64 doesn't ship a system package more recent than clang 12, I first downloaded the official 15.0.2 build for linux x86_64, clang+llvm-15.0.2-x86_64-unknown-linux-gnu-rhel86.tar.xz, unpacked it, and renamed it to clang-15.0.2/.
./swift/utils/build-script -RA -j9 --skip-early-swift-driver --host-cc=/home/butta/clang-15.0.2/bin/clang --host-cxx=/home/butta/clang-15.0.2/bin/clang++

Expected behavior
No problems, as with clang 14
Environment

OS: Ubuntu 20.04 x86_64 and Android 12 AArch64

Additional context
This patch works around the problem on Android, so presumably these were the two C++ attributes recently enabled by clang 15:
diff --git a/stdlib/public/SwiftShims/swift/shims/Visibility.h b/stdlib/public/SwiftShims/swift/shims/Visibility.h
index 84d22d20fa2..c18282bd3ff 100644
--- a/stdlib/public/SwiftShims/swift/shims/Visibility.h
+++ b/stdlib/public/SwiftShims/swift/shims/Visibility.h
@@ -228,16 +228,18 @@
 #define SWIFT_FALLTHROUGH
 #endif

+//[[clang::warn_unused_result]]
 #if __cplusplus > 201402l && __has_cpp_attribute(nodiscard)
 #define SWIFT_NODISCARD [[nodiscard]]
 #elif __has_cpp_attribute(clang::warn_unused_result)
-#define SWIFT_NODISCARD [[clang::warn_unused_result]]
+#define SWIFT_NODISCARD
 #else
 #define SWIFT_NODISCARD
 #endif

+//[[gnu::returns_nonnull]]
 #if __has_cpp_attribute(gnu::returns_nonnull)
-#define SWIFT_RETURNS_NONNULL [[gnu::returns_nonnull]]
+#define SWIFT_RETURNS_NONNULL
 #elif defined(_MSC_VER) && defined(_Ret_notnull_)
 #define SWIFT_RETURNS_NONNULL _Ret_notnull_
 #else

Also affecting build on Fedora rawhide (currently Clang 15.0.0).

@compnerd, I see you got a fix for this into clang trunk a couple weeks ago. Is there any chance that can still make it into a final clang 15 patch release or are we just going to have to avoid building the Swift compiler with clang 15?

@buttaface i believe that 15.0.5 has already been released.  If there is another release scheduled, I can certainly try to nominate the patch for back-porting.

It appears this is the result of another clang 15 change, as discussed in llvm/llvm-project#56077. As I noted here, rewriting our Swift declarations to put extern "C" first, as mentioned in that LLVM discussion, appears to fix this Swift issue.
@martinboehme, mind submitting a pull here so Swift compiles with clang 15 again?

I now notice that this was reverted again in #62337 last week, but only on the rebranch, not on main.


Left/right-align install-table column to make scanning down it easier

See e.g. 150 words of https://practicaltypography.com/centered-text.html
Referring to the column of operating system names. =)
E: "Left/right" in case of l10n for right-to-left languages

Right-aligning the names does seem to look nicer, feel free to send a patch if you'd like.

Right-aligning the names does seem to look nicer, feel free to send a patch if you'd like.

@TonCherAmi I would if I could. I looked for a few minutes to find the relevant piece of code a few days ago, and now for at least 10 minutes, installing Ruby and getting the site to run on localhost

@patrick96 Why right-align for English instead of left-align? =)

Because it looks nicer. I would have actually preferred center align to left align


Cannot flush DB when user preference model app is not installed

If I try to run python manage.py flush with the global dynamic preferences app installed, but the per-user preferences app not installed, I get the following error:
CommandError: Database blhdjango couldn't be flushed. Possible reasons:
  * The database isn't running or isn't configured correctly.
  * At least one of the expected database tables doesn't exist.
  * The SQL was invalid.
Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run.
The full error: cannot truncate a table referenced in a foreign key constraint
DETAIL:  Table "dynamic_preferences_users_userpreferencemodel" references "auth_user".
HINT:  Truncate table "dynamic_preferences_users_userpreferencemodel" at the same time, or use TRUNCATE ... CASCADE.

My guess is that the issue arises because the user preference model tables are created and then moved in the global app's migrations, even though the table is never used in the global preferences app.  Is there a way to fix this so that I don't need to go through the process of constructing manual SQL code to clear the database every time that I want to load new data into my dev instance?

Thanks for reporting that!
If I understand the issue properly:

You have a fresh projects
You apply migrations
Because of how we handled things before in dynamic_preferences, the migrations create a UserPrefrence model then moves it to another table
You try to flush the database, but since the dynamic_preferences.users app is not installed, it fails

This is indeed serious, though I'm not sure how to fix this while keeping backward compatibility.
My first idea was to apply the user migrations (in 0001 and 0004) only if dynamic_preferences.users is present in installed apps but this would not work as the users.0001 migrations relies on existing model being created in those migrations.
I'm a bit stuck now and I'm open to suggestions for solving this problem :)

I'm not an expert on migrations, so this may not work, but it seems worth suggesting.
This is my understanding of the current situation.  If a user currently has installed the core app with version <1.0, then they have the UserPreference model table.  If they have the core app installed with version >=1.0, then the table is renamed, the underlying model is deleted, and if and when the user migration 0001 is applied, the preexisting data is found and used
So, though this might not address all cases, it seems to be that you could perhaps apply the following which will address the most common use case:

In core migration 0004, rename the users table if (and only if) it is non-empty, otherwise, simply delete the table.  This does not lead to any data loss, but it does mean that there is no table inconsistency in any situation where the user preference model was never actually used
In users migration 0001, create the users table if it doesn't already exist, while still loading the existing UserPreferenceModel data if it exists.  This table can still retain the dependency on core migration 0004, and user preference data will be retained whenever it exists.

I'm not sure if the conditional logic above would create an issue for someone who wanted to regress back from a version >1.0 to a version <1.0, but perhaps that isn't a large concern given that you're now several subversions ahead of this.

I like your suggestion and I see no obvious pitfall with this approach. I don't know how we can apply migrations operations conditionally (based on a table presence or absence), but I'd be suprised if they were no way to do it.
Thanks for your time :)

Fixed in #142


Features/typescript fix

Summary
TypeScript 2.5.2 in strict mode throws many errors on the built-in index.d.ts declarations. It doesn't seem possible to prevent TypeScript from throwing these errors (the exclude option doesn't work). I feel it's bad form to "ignore" errors, so I'd rather seem them patched in the upstream source.
This is the second of three patches that fixes these errors. I will be submitting a pull request for feathers-hooks shortly.

Thanks!


Which js file to include - bin/ or lib/?

I have installed messageformat from npm:
npm install messageformat --save-dev
But there is both a bin and a lib folder in the project. Both contain messageformat.js, but none of them are working. If I instead include messageformat from CDN, everything works as expected. None of the files in the npm project looks anything like the one from CDN.
If I include node_modules/messageformat/lib/messageformat.js I get a "module is not defined" error. If I include node_modules/messageformat/bin/messageformat.js I get "invalid or unexpected token" ... Therefore I suspect there is a step missing to get a script like the one from CDN... I just don't know what it is?

I think my question is related.  I'd like to install a "browser-ready" build that could be used directly on the frontend (run in a "script tag" if you will).
It seems to me that if I install with bower, I'll get a file at messageformat/messageformat.js that I can include in my ES5 build process just fine.  But installing with npm seems to assume I'm going to use it in node and doesn't give me that brower-ready file.
Is this intentional or am I missing something?  I'd prefer to use npm.

I also can't figure this out.  I've tried a few of the various versions available at https://cdnjs.com/libraries/messageformat and can't get most of them to work either.
Anyone figured this out since the issue was opened?

@daveshapiro I am using rawgit, not cdnjs... sorry if I was a bit unclear about that. This one works for me: https://cdn.rawgit.com/SlexAxton/messageformat.js/v0.3.1/messageformat.js

Hi, sorry for not getting to this issue until now. The source JS files included in the repo's master branch are not directly usable in browsers. However, the tagged releases do include compiled and minified UMD versions of messageformat.js that are exactly meant for use in browsers. Via rawgit.com, the latest release 1.0.0 is available as both compiled and as additionally minified files.
Also, with the 1.0.0 release the npm package now also includes the UMD version of the library as messageformat/messageformat.js; the package.json file maps calls for require('messageformat') to the source at lib/index.js instead.
The cdnjs.com version is not managed by us directly, and it looks like it's a broken, partial copy of the source files for at least most of our version history. Should probably get them to fix it, or take it down.

Beauty!  Thanks!

The npm version of v1.0.0 is working with global variable access for me.  Thanks!

Works like a charm... thank you @eemeli


CET Fails to Load with Non-ASCII Characters in Install Path

CET will not load properly if the game's installation folder has non-ASCII characters in the path. See the modding Discord for more information and a user testing the issue: https://discord.com/channels/717692382849663036/795037292955172895/1023653216400973905

Fixed by https://github.com/yamashi/CyberEngineTweaks/commit/22017dd6717b9edb11f32fde2e0e82d2588728a4


WB_WDI source improvement

Add WDI dataflow/codelist/datastructure.
However, it uses a lot of unconventional quirks, which I would be happy to correct.
PR checklist

[ ] Checks all ✅
[ ] Update documentation
[ ] Update doc/whatsnew.rst

The tests are failing, but I'm not sure it has something to do with the PR itself.

This is actually not working that great because it relies on the assumption that dataflow is called without arguments, which is not true in the general case.

I still will need to find time to look more closely at what this is doing.
In the meanwhile, one question for context: is this the same as or similar to this workaround that I have downstream?
In essence, there I found that the WB_WDI source does not really implement the SDMX-REST API per the standard. I responded by directly accessing a URL from their documentation. Is this PR similar in trying to handle a certain documented/known non-standard API behaviour? If so it will be important to have (or reference) a clear statement of what that behaviour is.

@khaeru It seems indeed to be the same thing for codelists as the link you pointed at.  I think the dataflow implementation on my side is most probably erroneous and should be discarded (since there are dataflow calls in higher level commands). I'll check to verify that codelists and datastructures are not used in other functions.


Add clippy to CI

Clippy reports just over 20 misdemeanours at present, include one that it marks as an error:
error: offset calculation on zero-sized value
   --> libcamera-rs/src/framebuffer.rs:207:34
    |
207 |                     NonNull::new(libcamera_framebuffer_planes_data(self.ptr.as_ptr()).offset(index as _)).unwrap(),
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zst_offset
    = note: `#[deny(clippy::zst_offset)]` on by default

I wonder if it would be agreeable to add a CI job that fails on clippy warnings.

Thanks for reporting this, I always forget to run clippy... Fixed all warnings in #11, and we will add it to CI in #7


Updated docs to show the right framework version

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 69.81%

Files with Coverage Reduction
New Missed Lines
%

src/DevOpsMetrics.Core/Models/Common/Build.cs
3
90.77%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2106

Relevant Lines:
2927

💛  - Coveralls


Request to add survey of video domain adaptation

Hi Xin, thank you very much for your effort in collating the numerous domain adaptation papers, which have helped me in my research. We have recently surveyed video domain adaptation and would like to request to add this new survey paper:
Video Unsupervised Domain Adaptation with Deep Learning: A Comprehensive Survey, the link to this paper is: https://arxiv.org/abs/2211.10412.
with the relevant repository:
https://github.com/xuyu0010/awesome-video-domain-adaptation
Thank you very much!

Very nice work! I have added your paper to the list!


Confirmation tokens should be easily readable

Currently it's possible to get confirmation tokens with O (letter), 0 (number), l (lowercase L), and I (uppercase i) in them. This can make confirmation tokens difficult to read, especially if a token is generated with many of them.
A simple fix to this could be to replace any such ambiguous characters with a random letter.

Which Confirmation tokens? For e-mail confirmation?

@skofman1 anything generated by CryptographyService.GenerateToken(), which includes email confirmation, package ownership confirmation, and membership confirmation.

Why should confirmation tokens be readable? They are used to click on a link.


os/mac/xcode: fix latest Xcode on Big Sur

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Fixes #13041.

@Bo98 I'm facing this error
==> Downloading and installing Homebrew...
HEAD is now at 5b787e2e3 Merge pull request #13042 from Bo98/xcode-big-sur
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

could be any relation with this branch deletion?


Merge Files.Uwp\Helpers\NativeIoDeviceControlHelper.cs and Files.Uwp\Helpers\NativeFileOperationsHelper.cs

What's the Problem?
Files.Uwp\Helpers\NativeIoDeviceControlHelper.cs and Files.Uwp\Helpers\NativeFileOperationsHelper.cs contain some of the same definitions creating duplicate code and is either redundant or introduces maintenance issues.
Solution/Idea
Merge Files.Uwp\Helpers\NativeIoDeviceControlHelper.cs and Files.Uwp\Helpers\NativeFileOperationsHelper.cs to remove duplicate declarations and definitions.
Alternatives
Leave it alone and accept the maintenance risk.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
No response
Windows Version
No response
Comments
No response

@peteraritchie Would you like to work on it? 🙂


Wrote a parser for the new US/NV Quad-County case data source. #861

Summary
Wrote a parser for US/NV Quad-County #861
Changes
Using new data source.

Thanks, @jzohrab! :raised_hands:

Reviewing this PR now, thanks @appastair.

I haven't tried this code out yet, but it looks great!
I see you deleted the old washoe county, so I verified that this PR and master return the same data at the old dates in the scraper:
Master scrapes:

yarn start --location US/NV/washoe-county.js
doesn't work ...

yarn start --location US/NV/washoe-county.js --date 2020-03-27
{ cases: 75, deaths: 0, recovered: 5, active: 70 }

yarn start --location US/NV/washoe-county.js --date 2020-04-06
{ cases: 281, deaths: 4, recovered: 30, active: 247 }

Great stuff!

Testing carson city.  One issue found: the page appears to load in the final data with some fancy ajax or similar calls, so the data isn't actually fully present if you do a fetch.page.  I changed this to fetch.headless and it worked fine, getting all the data:
[
  {
    county: 'Carson City',
    cases: 48,
    active: 19,
    recovered: 28,
    deaths: 1
  },
 ...
]

I'll do some other things in a separate branch, building off of what you've done to get your work in. :-)  cheers!

Closing, have made minor updates and pushed branch, merging in PR https://github.com/covidatlas/coronadatascraper/pull/964.
Great work, thank you!


Generate array field element get/setters

...and add docs for #[fallback].

@pickx feel free to not review parts of this
the basic logic is:
if the field type is array:

produce a get/set with generate_getter_inner(ty)
produce a get_at/set_at, which is just a different setup and then generate_getter_inner(array_elem_ty)


KAFKA-6676: Ensure Kafka chroot exists in system tests and use chroot on one test with security parameterizations

Ensures Kafka chroot exists in ZK when starting KafkaService so commands that use ZK and are executed before the first Kafka broker starts do not fail due to the missing chroot.
Also uses chroot with one test that also has security parameterizations so Kafka's test suite exercises these combinations. Previously no tests were exercising chroots.
To validate, I kicked off a test run of the sanity_checks (which include the chroot-ed test as well as some non-chroot-ed tests).
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Ideally this would go on trunk and 1.1. It cherry picks cleanly to 1.0 as well but I think the KAFKA-6672 fix only went back to 1.1 so this wouldn't help much for older branches anyway.
/cc @xvrl

Merging to trunk and 1.1

KAFKA-6672 did go into 1.0 (with some tweaks), so we probably need the fix there also. I will go ahead and push it.


Ch 2 page 59

Sir pls explain how computing logarithm of attributes helps to solve the problem of tail-heavy distribution ?

Great question! Many ML algorithms perform better when the input features have the same scale, and have a roughly Gaussian distribution with the same mean and scale (usually mean 0 and scale 1).
If an input feature does not look Gaussian at all (e.g., it has a tail-heavy distribution), then it's often a good idea to transform it to make it look more Gaussian.
For example, the distribution plotted on the left is tail-heavy, but once I compute its log, it becomes (close to) Gaussian:

If you want to play around with this figure, here is the code I used to generate it:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline  # in Jupyter only

x = np.random.randn(10000) * 2 + 5
x = x * np.exp(x / 5)

plt.figure(figsize=(10, 4))
plt.subplot(1,2,1)
plt.hist(x, bins=200)
plt.xlabel("x", fontsize=14)
plt.ylabel("distribution", fontsize=14)
plt.axis([0, 60, 0, 350])
plt.subplot(1,2,2)
plt.hist(np.log(x), bins=200)
plt.xlabel("log(x)", fontsize=14)
plt.ylabel("distribution", fontsize=14)
plt.axis([0, 6, 0, 300])

Awesome

Awesome


charmap' codec can't decode byte 0x98 in position 877Update client.py

This PR fixes incorrect encoding when reading files that have non cp1251 encoding, for instance some complex markdown pages with symbols in it.
Thanks for the importer, I successfully imported cheat sheet repo !
https://github.com/ChristianLempa/cheat-sheets

thanks for you work!


Chapter 8: Page 262

I can just said this book is simply a great disappointment.
From a look at the code below, it just shows how sloppy the whole book is:
import pandas as pd
white_wine = pd.read_csv("/dbfs/databricks-datasets/winequality/winequality-white.csv", sep=";")
red_wine = pd.read_csv("/dbfs/databricks-datasets/winequality/winequality-red.csv", sep=";")
Any novice Spark user will know the above code would run with errors.

Actually, it works. correct lines are: (taken from the book)
import pandas as pd
white_wine = pd.read_csv("/dbfs/databricks-datasets/wine-quality/winequality-white.csv", sep=";")
red_wine = pd.read_csv("/dbfs/databricks-datasets/wine-quality/winequality-red.csv", sep=";")


ImportError:  DLL load failed.

I am seeing an import error for MalmoPython.
It says specified module note found. But in the Python_Example directory, I do see the MalmoPython lib.
Am I missing something?

https://github.com/Microsoft/malmo/wiki/Troubleshooting

Am assuming this is fixed so am closing this issue. If there are still problems, feel free to reopen, but first it would be worth searching for other cases of this - several other people have reported the same issue.

I have the same problem. I searched for other cases, but they didn't help.
I'm using Windows10, Python2.7 64bit, and installed Malmo-0.17.0-Windows-64bit.
Inserting current path mentionded in #166 also didn't work.

import os, sys
sys.path.insert(0, os.getcwd())
import MalmoPython
...

Please help!
C:\Users\fujim\Documents\malmo\Malmo-0.17.0-Windows-64bit\Python_Examples>python run_mission.py
Traceback (most recent call last):
File "run_mission.py", line 22, in
import MalmoPython
ImportError: DLL load failed: The specified module could not be found
C:\Users\fujim\Documents\malmo\Malmo-0.17.0-Windows-64bit\Python_Examples>python
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.


Add missing tooltips to options menu settings

This adds missing tooltips to the text of the Size of database cache and the Number of script verification threads settings.
All settings in the Options window will now have appropriate tooltip texts.

Updated from b669974 -> 9bd168b (pr419.01 -> pr419.02)
Changes:

Addressed @jonatack suggestions: 1. 2
Dropped the word 'size' from "A larger cache size ...", as to me this reads better.

ACK 9bd168bf5457c6fd9770769547d8757bf14813b0 tested on Debian 5.10.46-4 (2021-08-03)


add DHTxx sensor to /src/devices

Description
Adds cleaned up, compiling version of the DHTxx sensors to the /src/devices folder.
Motivation and Context

Implements https://github.com/Ellerbach/nanoFrameworkIoT/projects/1#card-61416047

How Has This Been Tested?

Code compiles but I don't have the sensor to test.

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: TechPreacher sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add sass support

Add node-sass-chokidar and npm-run-all dependencies
Add/Modify npm scripts to put Sass in the build pipeline
Add css files to .gitignore
git mv all css files to scss
Remove all unnecessary vendor prefixing
Change bg color of upload button to green
Replace materialize css with scss

Thank you! I have missed being able to use sass.