How to Resolve non-concurrent collection Exception in aspnetcore

I converted a data intensive .netcore SPA from using sync to all async, as as ToListAsync().
All methods were converted to async from the Controller to the Repository.
Since doing the conversion, I have had many difficult to reproduce exceptions and hangs. I have detailed one Here on StackOverflow, so I will not repeat the details here. (So far, no answers or comments).
If I use the app for more than a couple of minutes, all server calls end up in a state of Pending according to the browser, yet no error is thrown.  Sometime an error is thrown, but it gets thrown at different points in the app, not at one particular place.
My basic question: Am I mis-using Async?  From reading the documentation, I thought it would improve the overall throughput of the site.  I actually had no specific need other than that.
The conversion was simply taking all database calls and changing them to the Async version.  Is there something else that needs to be done to make this work?  I have been very carefuly not to mix async/sync in the execution chain as I know that can cause a hang.
Or should ToListAsync() be avoided except for a specific need?

I am closing this issue, as it seemed to resolve itself after restarting the web server.


fix permissions for share jail

Description
The shared jail should not be writable.
closes https://github.com/owncloud/ocis/issues/2322
@aduffeck @refs @ishank011 This will only be temporary, until we remove all "Share" awareness and logic from the storage.

It should already be handled, no? https://github.com/cs3org/reva/blob/master/internal/grpc/services/gateway/storageprovider.go#L531-L657

It should already be handled, no? https://github.com/cs3org/reva/blob/master/internal/grpc/services/gateway/storageprovider.go#L531-L657

yes, this is already forbidden.
But to get the information to the Client, the webDAV permissions should not indicate write possibilities.
So  we need to return the permissions also from the decomposedfs

@aduffeck @butonic It turned into a small refactoring. Happy to discuss this in general how we work with pointer variables.
@dragotin FYI


setup the translation workflow for the website content

What we want here is a workflow that would enable Horizontal Systems website to be translatable using the same approach as for the Horizontal Systems appS

This issues was dropped from the list due to lack of team consensus on the importance/need of the described feature


Add a command line tool that reads JSON from files or stdin

Would be great to have that included!
If you don't have time to do it, I may be able to and could send a pull request.

Great idea :+1:

I've released version 1.1.0 that has this feature :+1:

Awesome!

https://www.youtube.com/watch?v=StTqXEQ2l-Y

:+1:


SpotFleet Should use WaitCondition

Fairly sure this should work, so adding an issue to remember to do it.

I added support for WaitCondition with the Spot Fleet in https://github.com/awslabs/ecs-deep-learning-workshop/commit/a1130f12022dbfe8925fc7a14e81ef85b0122369#diff-96d6df91321880abe9ab8c7ae902e783 but forgot to close this out.


CHECKLIST: moving odo to openshift github org

What needs to be done step-by-step to successfully move odo repo from redhat-developer to openshift github org.
odo consist of two GitHub repositories:

https://github.com/redhat-developer/odo
https://github.com/redhat-developer/odo-supervisord-image

Before we transfer repos (prerequisites):

[ ] step by step checklist of all requred tasks

Move repositories:

[ ] transfer redhat-developer/odo to  openshift/odo
[ ] transfer  redhat-developer/odo to openshift/odo-supervisord-image

After odo repo is transdered.

[ ] update quay.io autobuild settings to point to https://github.com/openshift/odo-supervisord-image
[ ] update odo pkg imports github.com/redhat-developer/odo/* to   github.com/openshift/odo/*

[ ] rename it localy, and odo project in your local GOPATH to  $GOPATH/src/github.com/openshift/odo/
[ ] make sure that it can be build
[ ] open PR with updated import paths

[ ] update CI jobs

[ ] update  OpenShift CI jobs in openshift/release

[ ] Update the cluster prow config.yaml, moving from redhat-developer/odo  as just odo under openshift
[ ] Update the cluster prow plugins.yaml moving from redhat-developer/odo  as just odo under openshift
[ ] Update ci operator config and jobs, moving respective files from redhat-developer/odo directory to odo directory, under openshift directory
[ ] Rename files to from *redhat-developer-odo* to *openshift-odo*
[ ] Update canonical repo in ci operator config to github.com/openshift/odo

[ ] update paths in CircleCI jobs https://github.com/redhat-developer/odo/blob/master/.circleci/config.yml
[ ] update path in TravisCI jobs https://github.com/redhat-developer/odo/blob/master/.travis.yml
[ ] update path in  Appveyor jobs https://github.com/redhat-developer/odo/blob/master/appveyor.yml
[ ] updates for odo-bot (TODO. Do we still need it? Is it possible to replace it with Prow somehow? ping @cdrage)

Still need odo-bot since it's a separate user. Yes, we can integrate the script into Prow. But could we perhaps keep the documentation building on Travis for now? We can even disable notifications / GitHub status..
Another thing to add:

[ ] Point website to new lGitHub repo link(s).

Another thing to add:

[ ]  Point website to new GitHub repo link(s).

what website? Isn't everything bundled from readme?

@kadel This website: http://openshift.org
We have to update the configuration file when we move: https://github.com/redhat-developer/odo/blob/gh-pages/_config.yml#L5

@stevekuznetsov from OpenShift CI side, I hope i have not missed anything

Nope, that looks good to me

PR to fix openshift ci - https://github.com/openshift/release/pull/3186

#1506 has been merged in to gh-pages branch :+1: so site is completed.

There are still a couple of issues what we need to solve:

automatic builds for supervisord image on quay.io are  still not working
CircleCI is not enabled (someone needs enable CircleCI for openshift org - alredy requested) . All tests that were running on CircleCI were moved back to TravisCI

CircleCI is not enabled (someone needs enable CircleCI for openshift org - alredy requested) . All tests that were running on CircleCI were moved back to TravisCI

we don't need CircleCI, we will move most of our tests to OpenShift CI


[WIP] RFC FS-1001 - String Interpolation

I "rebased" the original prototype by @v2m on the current master and made it compile.

F# Language RFC: https://github.com/fsharp/FSharpLangDesign/blob/master/RFCs/FS-1001-StringInterpolation.md
[x] rebase original prototype
[x] make it compile
[x] create unit tests

Would it be preferable to use interpolation notation similar to other languages? Common things are $var, ${var}, #var , #{var} , possibly prefixing interpolated strings with a leader character (e.g. s"foo ${bar}") in order to avoid accidental interpolation. %(foo) seems like a new notation (I could be wrong...maybe it exists somewhere).

@ashic I think C# syntax wasn't ready when @v2m built this. So yes making this more like C# string interpolation might be a good idea.
I just wanted to start by rebasing and bringing this back to life. Now we should discuss if we want this and how it should behave.

A swift sample:
let multiplier = 3
let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)"
// message is "3 times 2.5 is 7.5"

I'm split on the $"Hello {name}" C# usage - on the one hand, it's quite nice and goes well with the Console.WriteLine style syntax. On other other hand, the % style goes well with F#'s printfn style syntax. Maybe something like "Hello %{name}" would be reasonable (curly brace instead of brackets).

I dont want to split the discussion or break momentum (thx @forki to resurrect this feature) but maybe we can discuss the implementation details in this pr and the high level design in fsharp/FSharpLangDesign#6 ?

a question: are we supporting localization correctly?
msdn about c# string interpolation
It's not only about a better string format, need to support i18n too. C# does that because string interpolation does implicit type conversion to FormattableString
var s = $"hello, {name}"
System.IFormattable s = $"Hello, {name}"
System.FormattableString s = $"Hello, {name}"

so
var product = "Raspberry Pi";
var price = 25.0;
Console.WriteLine(LocalizationHelper.Format(
    $"The price of {product} is {price}.";
));

However, the string interpolation will be compiled to a FormattableString with “The price of {0} is {1:C}” as the format that will get passed to GetLocalized. In other words, the people doing the localization will still have to localize with numeric indices instead of the more readable named tokens

If the preferred way for f# is explitic, i think we need another function like $ to formattablestring

Yes sure. Frankly it's something that's easy to change anyway.

just noticed the following
type B = {
    X : string
    Y : int
};;

let b = { X = "world"; Y = 42 };;

printf "hello %(b.X)";;  // OK

printf "hello %(b.Y)";;  // crashes fsi

last line crashes with
FatalExecutionEngineError occurred
Message: Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'D:\code\visualfsharp\src\fsharp\fsi\..\..\..\Debug\net40\bin\fsi.exe'.
Additional information: Die Laufzeit hat einen schwerwiegenden Fehler entdeckt. Fehleradresse: "0x7319931f" in Thread "0x3ddc". Fehlercode: 0xc0000005. Bei diesem Fehler könnte es sich um ein Problem in der CLR oder in den unsicheren oder nicht verifizierbaren Teilen des Benutzercodes handeln. Übliche Ursachen dieses Bugs sind Marshallerfehler für COM-Interop oder PInvoke, die den Stapel beschädigen können.

seems we can't format ints.
let x = 1;;

printfn "%(x)" // crashes with NRE in printf.fs

OK "fixed" that NRE exception by making it the same error class like printf "hello %(b.Y)";;

@dsyme, @v2m @7sharp9: I assume the issue is at https://github.com/Microsoft/visualfsharp/pull/921/files#diff-5b9ab9dd9d7133aaf23add1048742031R6376  correct? what can we do?

Erm ... dunno, I not looked at the WIP on this lately :-)

I think a spec for this would be preferable to a prototype.  It was possible to discus the general approach that was taken for C# before a line of code was written.  At the very least decide if we want interpolation in string.Format, printf or both.  Should we mimic the C# syntax and format specs, or use the F# syntax ... or both, give some examples of what strings using interpolation look like to illustrate arguments for and against each spec requirement.
Let's discuss the language needs for the feature before we pile in and write a ton of code.  This seems like a pretty scary feature to "just evolve and debate"
Kevin

As already written above: language design is at https://github.com/fsharp/FSharpLangDesign/blob/master/FSharp-4.1-Proposals/StringInterpolation.md
I just rebase an existing explorative implementation on the latest master and added couple of tests to see how far it went.

I don't think Steffen expects this to go straight through into master - I don't see a problem with anyone prototyping a sample string interpolation if for no other reason than to get us all thinking about how this could work in the real world (if at all).

@forki Nice work bringing this feature back to life.
I think this has been discussed thoroughly in the links at the top of the page, I was really disappointed that it was dropped in F#4 when it was so close to completion.

I think it should be string interpolation (as it's in C#), not printf interpolation.

@vasily-kirichenko yes that would make sense as well and unify sprintf and String.Format - since it would be already interpolated at that time.

I assume most people here know the Scala solution to this, but just in case I want to point that one out, as I think it is quite elegant.
I assume it is drastically much heavier to implement though and it may overlap a bit with type provider territory.
The key point is that it has a concise syntax and is extensible.
So the same concept can be used both for string interpolation without formatting:
val name = "James"
println(s"Hello, $name")  // Hello, James

with formatting:
val height = 1.9d
val name = "James"
println(f"$name%s is $height%2.2f meters tall")  // James is 1.90 meters tall

The above examples are taken from:
http://docs.scala-lang.org/overviews/core/string-interpolation.html
And plain SQL queries: (http://slick.typesafe.com/doc/3.1.1/sql.html#string-interpolation)
def insert(c: Coffee): DBIO[Int] =
 sqlu"insert into coffees values (${c.name}, ${c.supID}, ${c.price}, ${c.sales}, ${c.total})"

and even things like ReactJS-like JSX/TSX xml-based syntax:
xml”””
      <body>
		<a href = “some link”> ${linktext} </a>
    </body>
    ”””

(example from http://docs.scala-lang.org/sips/completed/string-interpolation.html)

@jarlestabell scala syntax and extensibility it's really interesting, StringContext it's like System.FormattableString and more like sprintf.
The extensibility is really nice to have.
@jarlestabell can you post your comment in the string interpolation discussion in f# lang design repo? fsharp/FSharpLangDesign#6 so this pr can remain focused on implementation.

@enricosada Done, thanks! :)

Another option for adding formatting:
type Person = {name: string; age: int}
let person = {name = "Robert"; age=5}
printfn "Hi %(person, A), your age is %(person.age, 10i) with spaces or age %(person.age) without."
printfn : unit -> string

It would be nice to keep the formatting options. Whether this way or the ways that were suggested above.
Can't wait to get this feature.

@forki,
@dsyme
@vladima
I'm closing this due to inactivity, if you get time to do further work on it, please reactivate.
Thanks
Kevin

@KevinRansom Let's keep open any WIP PRs that correspond to an approved F# RFC.  Inactivity is OK for RFCs - they can take months or years to get through the system.

@forki @dsyme Can I help with this?

I'm not sure if @dsyme has decided which syntax we will use? Is this
settled in RFC?
On Jul 3, 2016 16:36, "Avi Avni"<EMAIL_ADDRESS>wrote:

@forki https://github.com/forki @dsyme https://github.com/dsyme Can I
help with this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/921#issuecomment-230156488,
or mute the thread
https://github.com/notifications/unsubscribe/AADgNA-icGestT_6d0BEd3j5A0A2tTxNks5qR8jlgaJpZM4HQlqo
.

I think we should just finally pick one of the syntaxes and release it. Finally.

@vasily-kirichenko @forki @AviAvni The RFC is here: https://github.com/fsharp/FSharpLangDesign/blob/master/RFCs/FS-1001-StringInterpolation.md
The basic proposed syntax is covered there.    However the RFC really needs considerable work. I'd particularly recommend that someone go over all the comments in this thread, and in the RFC discussion thread, and the original codeplex thread, and capture all the remaining issues and list them at the end of the RFC.  We can then resolve them one by one.

The implementation works with string expressions only because of https://github.com/forki/visualfsharp/commit/6542316ea089d6051be59a53b0b6866aa2be6448#diff-5b9ab9dd9d7133aaf23add1048742031R6583 where coercion from string to obj is performed:
mkCoerceIfNeeded cenv.g cenv.g.obj_ty cenv.g.string_ty s

What we need here is real type of each expression s. I have no idea how to get it, it seems there are no types at this stage at all.

Closing

@kevinransom again - why has this been closed?

@isaacabraham  Same response as here https://github.com/Microsoft/visualfsharp/pull/908#issuecomment-259445419.  The issue is tracked by an RFC which is definitely still active, and we can resubmit this work (or a  variation of it) for F# 4.2

I'm going to rebase this on master again and just implement for test purposes the C# syntax. There's nothing particular wrong with extending this later again.

@forki do you want to give access to your PR or should I open another separate PR?

it's closed. go ahead and submit your own

Alright then, thank Sir!


returning 403 response

Returning a 403 response if the validation does not pass looks a reasonable default to me, but it is not always what a user may desire.
Maybe he wants to set a flash message and redirect to an error page, or who knows what else.
It would be nice to make this configurable, allowing the middleware to receive a callable returning an instance of ResponseInterface:
class Recaptcha implements MiddlewareInterface
{
    public function __construct(callable $responseFactory = null)
    {
        if (null === $responseFactory) {
            $responseFactory = function () {return Utils\Factory::createResponse(403);}
        }
        $this->responseFactory = $responseFactory;
    }

    public function process(ServerRequestInterface $request, DelegateInterface $delegate)
    {
        if (!$this->isValid($request)) {
            return ($this->responseFactory)();
        }
    }
}

what do you say? Seems reasonable?

Hi.
To handle http errors, there's the error-handler middleware, so you can do something like this:
$handler = function ($request) {
    $error = $request->getAttribute('error');

    if ($error->getCode() === 403) {
        return 'You have not passed the recaptcha filter';
    }

    return 'Generic error';
};

$dispatcher = new Dispatcher([
    new Middlewares\ErrorHandler($handler),
    new Middlewares\Recaptcha($secretKey)
]);

ah, ok! That's great! Thank you


Allow using jax.jit as decorator with arguments

[X] Check for duplicate requests.
[X] Describe your goal, and if possible provide a code snippet with a motivating example.

I'm sorry if this was requested before, I couldn't find an existing issue but I imagine I'm not the first person who thought of this.
It would be nice if instead of this:
@functools.partial(jax.jit, static_argnames=('x', 'y'))
def foo(x, y):
    ...

We could have this:
@jax.jit(static_argnames=('x', 'y'))
def foo(x, y):
    ...

What do you think?

Hi - thanks for bringing this up! We've discussed this previously in #10061 and #22061, and at the time decided that the additional complexity of the decorator factory pattern is not warranted.

I think I'll close this in favor of #10061, which is the canonical issue on this topic. Thanks!

Ah, too bad. I hope you'll change your minds in the future. Thanks for the links.


IDPreference crashes on iOS <15

This shouldn't compile in the first place - bug report to the compiler will follow.

Fixed in #586.


Installation failed for both node version 4 and 5

4 warnings and 10 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/jpnath/.nvm/versions/node/v4.3.1/lib/node_modules/vue-dashing-js/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "/Users/jpnath/.nvm/versions/node/v4.3.1/bin/node" "/Users/jpnath/.nvm/versions/node/v4.3.1/lib/node_modules/vue-dashing-js/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/jpnath/.nvm/versions/node/v4.3.1/lib/node_modules/vue-dashing-js/node_modules/node-sass
gyp ERR! node -v v4.3.1
gyp ERR! pangyp -v v2.3.3
gyp ERR! not ok
Build failed
npm ERR! Darwin 15.3.0
npm ERR! argv "/Users/jpnath/.nvm/versions/node/v4.3.1/bin/node" "/Users/jpnath/.nvm/versions/node/v4.3.1/bin/npm" "install" "-g" "vue-dashing-js"
npm ERR! node v4.3.1
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jpnath/Develop/Production/npm-debug.log

Sorry, I wished I had time to move this project forward but I'm overwhelmed this month. If you can, please submit a PR.


doc: lint README.md

Checklist

[x] npm install && npm test passes
[x] documentation is changed or added
[x] commit message follows commit guidelines

Description of change
Fixes grammar, removes extra lines and spaces, etc. Also removes a few
references to node-waf, which was removed ~6 years ago now. Happy to
add back if people still need that information.
cc docs guru @Trott

I'll in turn ping @vsemozhetbyt. :-D

updated @richardlau

CI: https://ci.nodejs.org/job/nodegyp-test-pull-request/56/

Landed in c5e9802


Error viewing module schema in Console

Click the arrow next to a module name several times. The 3rd click causes this error:
Unexpected Application Error!
Rendered more hooks than during the previous render.
Error: Rendered more hooks than during the previous render.
    at updateWorkInProgressHook (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:11678:21)
    at updateRef (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:12064:22)
    at Object.useRef (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:12745:22)
    at Object.useRef (http://localhost:8892/node_modules/.vite/deps/chunk-5FAUR5XI.js?v=2af07823:1074:29)
    at useNavigateStable (http://localhost:8892/node_modules/.vite/deps/react-router-dom.js?v=a2b19b81:4366:25)
    at useNavigate (http://localhost:8892/node_modules/.vite/deps/react-router-dom.js?v=a2b19b81:3859:24)
    at DeclLink (http://localhost:8892/src/features/modules/decls/DeclLink.tsx:78:20)
    at renderWithHooks (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:11548:26)
    at updateFunctionComponent (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:14582:28)
    at beginWork (http://localhost:8892/node_modules/.vite/deps/chunk-UVB5XM2J.js?v=2af07823:15924:22)
💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.

Repro:

Closing for now since none of us could reproduce it, but I also remember seeing this in the past so if anyone catches this, please let me know :)


Minimum Listed GitHub PAT permissions are insufficient to link private repo in Automation Account source control

I am linking a private repo to an Automation Account, and must give the PAT 'full control of private repositories' in order for it to link successfully.
I am using Az PowerShell to set it up (New-AzAutomationSourceControl)

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

ID: 83c90e64-b615-711f-a53d-fc76606e2ecd
Version Independent ID: 2d164036-6886-4440-50f7-369f99f41cea
Content: Use source control integration in Azure Automation
Content Source: articles/automation/source-control-integration.md
Service: automation
Sub-service: process-automation
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@dlew56 Thanks for your comment. We will review the issue and get back to you shortly

@MGoedtel I have reproduced the issue from my end and unless the I provide entire "repo" as shown below, I couldn't establish the connection in Azure Automation.

Can you please review and update the document accordingly?

@SwathiDhanwada-MSFT - Thanks for looping me in and confirming the step is wrong in the documentation. I'll bug this and update the article before the week is out.  #please-close


Suggest supporting xinference

Xinference can provide API services for many models. It is recommended to integrate Xinference

Duplicate of https://github.com/langchain4j/langchain4j/issues/1914


Question: python domain references from markdown cell

So I saw this page on the docs but in the example a link to a rst file is used rather than a python domain, like those mentioned here. Is it possible to reference a python domain like this in a notebook so the path to the rst file isn't needed?

No, currently that's not possible. This feature might be added in the future. If you want, you can implement it!


Adding unitary molecule tests for pormetheus_server/client roles

Molecule tests for:

prometheus_server
prometheus_client

Note that in prometheus_server role, the snmp_exporter service is not started and that cause an idempotency fail.
This error is tracked and being discussed here: https://github.com/bluebanquise/bluebanquise/issues/366
Also packages slurm_exporter and ha_cluster_exporter described in roles/addons/prometheus_client/readme.rst are missing in bluebanquise repositories.
Issue open here: https://github.com/bluebanquise/bluebanquise/issues/429

While running unitary tests in centos7, I found out that the prometheus service is not being added to the firewall.
See error here: https://github.com/bluebanquise/bluebanquise/pull/430/checks?check_run_id=1363786120#step:5:1004
To solve this issue, I added in my last commit the following firewall configuration for prometheus service :
# cat roles/addons/prometheus_server/files/prometheus.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>prometheus</short>
  <description>Prometheus server</description>
  <port protocol="tcp" port="9090"/>
</service>

Dear @osmocl
Would you be able to move this PR on the community repository ?


Don't change warnings global settings

This line was causing test failures elsewhere in the edx-platform test suite, when warnings were appearing that shouldn't.
@clintonb @mattdrayer Do you know why this line is here? A library function like this shouldn't be changing the global warnings settings.
/cc @gsong

@clintonb @mattdrayer Do you know why this line is here? A library function like this shouldn't be changing the global warnings settings.
/cc @gsong

It looks like I'm the one who added this line, but I can't recall any particular reason for doing so.  I believe it came about when adding test coverage for a DeprecationWarning workflow.

I guess I'm gonna do this...  👍

I have to link to @nedbat's excellent blog post about how he diagnosed this problem. Amazing perseverance, Ned!
http://nedbatchelder.com//blog/201612/finding_test_coupling.html


The tooltip element will be at the bottom

When I place a tooltip under a table or other content with a fixed height, the tooltip element is hidden and I cannot see it. z-index and other methods I have used on the element have not helped. Is there any solution to this?

If there is a wrapper with overflow-x-auto class, that will cause the tooltip (or any overflow content) to get cropped.
example: https://play.tailwindcss.com/aA8GvM3nFW

You can remove the overflow-x-auto class
or you can add some margin/padding to the table so the tooltip get enough space
or you can change the direction of tooltip using tooltip-bottom, tooltip-left, etc...

Thanks a lot ✨


Add nullable value type cases to null conditional member/element access

Originating issue: #692
Adds cases for nullable value types defining them in terms of GetValueOrDefault().
Draft, please review semantics – are they what was intended?

Ping @MadsTorgersen @gafter


API Enable chained injector dependencies

This feature will allow more advance configuration of changed dependencies (especially if chained across modules).

Can we have some docs please?

I don't think that random tweaks to Injector are a good idea to merge. Can we get a bit more detail about why this is needed, an amendment to the docs that describes that use-case, and a test that covers that use-case?

This is the typical use case where this is useful:
---
Name: assetstore
---
Injector:
  FlysystemAssetStore:
    class: 'SilverStripe\Filesystem\Flysystem\FlysystemAssetStore'
    properties:
      Filesystem: '%$FlysystemBackend'
  # Assign as default story
  AssetStore: '%$FlysystemAssetStore'

Given this config, without this code trying to create an instance of AssetStore via injector gives the following error.
Class %$FlysystemAssetStore does not exist
ReflectionClass->__construct(%$FlysystemAssetStore)
InjectionCreator.php:14

InjectionCreator->create(%$FlysystemAssetStore,Array)
Injector.php:563

Injector->instantiate(Array,AssetStore)
Injector.php:892

Injector->get(AssetStore)
DBFileTest.php:5

--------------------

I could construct my yml this way
Injector:
  AssetStore:
    class: 'SilverStripe\Filesystem\Flysystem\FlysystemAssetStore'
    properties:
      Filesystem: '%$FlysystemBackend'

But now to override it with a store that doesn't use flysystem, I'd need to do something like the below:
Injector:
  AssetStore:
    class: 'SomeOtherClass'
    properties:
      Filesystem: null

Whereas with this code, I could simply do
Injector:
  AssetStore: '%$SomeOtherService'

Documentation with another example added, and I've updated and renamed the test.

Hrm, I think that the underlying issue here is probably this part:

But now to override it with a store that doesn't use flysystem, I'd need to do something like the below

It's too hard to override a module-default configuration. I'm a bit worried if we're expecting that all module-default injector configurations need to use the chaining syntax to avoid this issue.
Injector probably needs to provide an easier way of replacing an entire service definition, something like this:
Injector:
  AssetStore[replace]:
    class: 'SomeOtherClass'

I'm not convinced that it's a good idea to merge this change. I'm not expecting that its absence should block the filesystem work, should it, @tractorcow?
I think it would be better to think through a few limitations of Injector and propose a more broadly set of changes to it for SS4. Otherwise we risk chasing our tail.

We already discussed merge strategies for config a while back; I think our conclusion is that it was possible but it would have more performance impact.
I don't think chaining is necessarily a poor pattern, since it only adds flexibility, and doesn't actually oblige users to utilise it. It solves the same problem that php variables do; An assigned value can be delegated to another variable (or passed to a method). This feature just makes the configuration we define a lot more transportable. Is that the right word?
Without it, users need to be careful about how they assign configs for services, since it could easily be done in such a way as to make it difficult to override. Up until now we haven't had this problem, but now that we are defining complex configuration for things such as logging and asset abstraction, it's going to be necessary to change something.

It would be good to get some other views here—I'm willing to be swayed on this one. ;-)

I would like to see a way to over ride configuration values rather than merge - we run into the problem quite a lot when working with other developers modules (or our own :smile:)
A common use case is where we have to use the PHP configuration layer to do something like the following to remove a tab from a model admin.
Config::inst()->remove('ShopAdmin', 'managed_models');
Config::inst()->update('ShopAdmin', 'managed_models', array(
    'Order',
    'ShopConfig'
));

This would be better as something like
Config::inst()->replace('ShopAdmin', 'managed_models', array(
    'Order',
    'ShopConfig'
));

And a YML layer configuration such as the one described by @sminnee would be a good move as well, IMHO. What happens if you are using a module which defines a default asset store, but you want to have another one running in parallel? Or replace the default store with another, then add a third?

I want both those features AND this one. :)

Closing this PR since it doesn't seem to be going anywhere.


WIP: Add azd auth token and then use it from our JavaScript templates as a credential source

TODO:

[ ] Tests for azd get-access-token --output json
[ ] Better error handling in azureDeveloperCliCredential

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1177

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1177

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1177

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1177

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1177/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1177

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1177

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1177
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1177

View Changes | Compare Changes


Added Gemini 😺

I like to add GEMINI in the list :)

Thanks for adding this.

This implementation exists in #24, will be reviewing that PR and comparing both. Thank you! ❤ 🙌


crash on Android using Xamarin.Forms 2.4.0 and FFImageLoading 2.2.22

Hello,
I get crash on Android using Xamarin.Forms 2.4.0 and FFImageLoading 2.2.22:
My xaml-page:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
             xmlns:local="clr-namespace:Bug"
             x:Class="Bug.ImgList">
    <AbsoluteLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
                               <ListView
                                               HasUnevenRows="True"
                                               SeparatorVisibility="None"
                                               SeparatorColor="Transparent"
                                               IsGroupingEnabled="True"
                                               ItemsSource="{Binding ImageSrc}"
                                               ItemSelected="OnItemSelected"
                                               CachingStrategy="RecycleElement"
                                               VerticalOptions="FillAndExpand">
                                               <ListView.ItemTemplate>
                                                               <DataTemplate>
                                                                              <local:ViewCell/>
                                                               </DataTemplate>
                                               </ListView.ItemTemplate>
                               </ListView>
    </AbsoluteLayout>
</ContentPage>

Where ViewCell:
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms"
          xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
          xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
          xmlns:ffimagetransforms="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
          x:Class="Bug.ViewCell">
    <Grid x:Name="ViewCell" Margin="0, 0, 0, 22" RowSpacing="0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="72" />
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <AbsoluteLayout HorizontalOptions="FillAndExpand" VerticalOptions="StartAndExpand" Grid.Column="0">
            <ffimageloading:CachedImage
                Aspect="AspectFit"
                HeightRequest="40"
                WidthRequest="40"
                AbsoluteLayout.LayoutBounds="0.5, 0.5, AutoSize, AutoSize"
                AbsoluteLayout.LayoutFlags="PositionProportional"
                Source="{Binding Img}">
                <ffimageloading:CachedImage.Transformations>
                    <ffimagetransforms:CircleTransformation/>
                </ffimageloading:CachedImage.Transformations>
            </ffimageloading:CachedImage>
            <Label
                Text="{Binding Text}"
                FontSize="16"
                TextColor="White"
                AbsoluteLayout.LayoutBounds="0.5, 0.5, AutoSize, AutoSize"
                AbsoluteLayout.LayoutFlags="PositionProportional"
                IsVisible="{Binding HasText}"/>
        </AbsoluteLayout>
    </Grid>
</ViewCell>

ImageSrc class:
public class ImageSrc
{
        public bool HasText { get; }

        public string Text
        {
                get
                {
                      return "TT";
                }
       }

       public ImageSource Img { get; } //here some different source values - some from Android resources, some from stream.
}

Create at least several hundreds of items and start scrolling list view up and down – you’ll get crash (on Android 7.0) with one of the following errors:
“JNI ERROR (app bug): attempt to use stale global reference”
Or
“JNI ERROR (app bug): accessed deleted global reference”
Seems to be race condition somewhere in image loading.
I don't have any crashes when I use FFImageLoading version 2.2.6 and 2.2.11.

Hi @grasdy,
I used your code and cannot reproduce it. Could you make a working project out of the code you provided?
BTW: also using bindings in fast scrolling lists is a bad idea, read more here: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled

Hi @daniel-luberda,
I created the project in Visual Studio 2017 that shows this crash.
Just build this project and deploy it on device with Android 7.0 or 6.0 (I also got this crash on Android 6.0). You should scroll ListView very fast for get this crash.
I also have saved Output-Debug.txt - output log file, with this crash (is archive).
Crash.zip

Hi,
I can confirm this "bug". Our customers started complaining about phone crashing in quite simple list view. I first though it was xamarin problem with list elements, but after removing FFImageLoading xaml element error stopped happening. I was able to reproduce error same way as grasdy explained here.

I debugged it. IMO it's still a Xamarin.Forms issue, that error cannot be reproduced when using newest 2.2.23 prerelease which uses fast renderers by default if possible (correct Xamarin.Forms version), when I disabled fast renderer, the error happened again.

Please let me know if you still experience it in 2.2.23 stable

I updated to 2.2.23 stable and it still seems to crash when fast scrolling, but I believe you are right about xamarin causing this error. I fixed this problem by removing caching strategy.

I updated to 2.2.23 and got this crash too. Removing CachingStrategy from ListView has fixed this problem.
I also tried to set CacheType="{x:Null}" for ffimageloading:CachedImage in ViewCell element (without removing CachingStrategy) and this crash became to show more difficult. I upload my project with this edits.
Crash2.zip
It seems like you're trying to draw an image into a view that has been collected by Java garbage collector. Have you checked this case?

It seems like you're trying to draw an image into a view that has been collected by Java garbage collector. Have you checked this case?

I don't think it's the case, this is checked before setting an image. See this:

https://github.com/luberda-molinet/FFImageLoading/blob/master/source/FFImageLoading.Droid/Targets/ImageViewTarget.cs#L46-L57
https://github.com/luberda-molinet/FFImageLoading/blob/master/source/FFImageLoading.Droid/Targets/ImageViewTarget.cs#L87

I do not know much about xamarin.forms but just spent a whole day debugging an Xamarin vanilla android project that crashed without any usefull error.
I had the same errors
“JNI ERROR (app bug): attempt to use stale global reference”
Or
“JNI ERROR (app bug): accessed deleted global reference”
In my case the problem came from not cancelling the old loader task when loading a new image for recycled views in my gridview.

@Sevenish  Previous task is cancelled before every image loading: https://github.com/luberda-molinet/FFImageLoading/blob/master/source/FFImageLoading.Forms.Droid/CachedImageFastRenderer.cs#L236
Maybe we should add some locks there?

Could you check if it's solved in 2.2.25?

@daniel-luberda I check version 2.2.25 and it's look like this bug is fixed. Thanks a lot!


feat: Frontend tagging

SUMMARY

This work was done by @cccs-nik on our own fork of superset.
Currently, there exists tagging for dashboards, charts, and saved queries in the backend. This PR introduces Tagging to the front-end and allows users to view and edit tags in the UI. Feedback is greatly appreciated!
The following are some features introduced:

Tags can be seen and are searchable in the list view for dashboards, charts and saved queries. Tags can be added via the "edit properties" modal for dashboards and charts, but there is currently no way to add tags to saved queries.
Clicking on a tag will take the user to a new page that displays all objects with that tag.
Tags are automatically applied to all objects that contain the type of an object and the owner of the object, but only "custom" type tags are displayed in the UI.

The future work for this will be to add tags for saved queries somewhere in the UI and to add tagging for datasets to both the frontend and the backend.
NOTE: currently working on adding some integration tests for the tags api changes and they will shortly be added
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Some examples for tagging dashboards
Dashboard List

Dashboard Header

Edit Properties for Dashboard

Tags View (endpoint: /superset/tags/?tags=[tag_name])

TESTING INSTRUCTIONS

Set feature flag TAGGING_SYSTEM to true in superset/config.py
navigate to the edit properties modal for either charts or dashboards to add tags
view tags from the lists or headers for dashboards or charts.
click on tags or navigate to the 'Tags' tab to search objects by tags.

ADDITIONAL INFORMATION

[x] Has associated issue:
[x] Required feature flags: TAGGING_SYSTEM
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

@kasiazjc @jess-dillard FYI!

Hi all, thanks for the great work on this! I have a few UX/UI suggestions that would better align with Superset's current patterns.
Edit properties modal Instead of putting the applied tags to the right of the tag selection field, I would use the multi-select component and keep the tags inside the bounds of the field (like the multi-select filter field in dashboards):
Tags view I would actually create two views here to properly utilize and manage tags.

Tags CRUD
A Tags page, accessible from the global settings menu, that uses the existing CRUD template to display all tags. Columns in the table could include how many entities are tagged, who created it, etc. This is where the user would manage (edit/add/delete) tags.
"All entities" view
To satisfy the need to see all entities with a certain tag applied, I would create another CRUD view that combines dashboards/charts/queries and allows the user to filter by tags. This could be accessible from the main navigation.
Thanks for working on this! Have a few additional comments.

Crud view
I think the field in the filter bar should be a multi select, not a search. Search does not show all of the possible tags and I think it would be hard to remember all of them to choose the right one.
Our multiple select currently expands in height when multiple values are selected before truncating, so it would have to have fixed height and truncate earlier.
Object pages
Do tags have to be displayed in the header? I guess they will be mostly used for searching/grouping things.

It clutters the header + the question on what is more important comes up. Let's say you have a long name of the chart and 10 tags. I would say that title is more important in this case. How tags would be truncated?
We are adding something called metadata bar to the header, which will display the most important info about the object. We could add a section "tags" which would display all of the tags on hover for example. Below screenshot on how the metadata bar will look like.

Hi all, thanks for the great work on this! I have a few UX/UI suggestions that would better align with Superset's current patterns.
Edit properties modal Instead of putting the applied tags to the right of the tag selection field, I would use the multi-select component and keep the tags inside the bounds of the field (like the multi-select filter field in dashboards):
Tags view I would actually create two views here to properly utilize and manage tags.

Tags CRUD
A Tags page, accessible from the global settings menu, that uses the existing CRUD template to display all tags. Columns in the table could include how many entities are tagged, who created it, etc. This is where the user would manage (edit/add/delete) tags.
"All entities" view
To satisfy the need to see all entities with a certain tag applied, I would create another CRUD view that combines dashboards/charts/queries and allows the user to filter by tags. This could be accessible from the main navigation.

Thanks for working on this! Have a few additional comments.
Crud view I think the field in the filter bar should be a multi select, not a search. Search does not show all of the possible tags and I think it would be hard to remember all of them to choose the right one.
Our multiple select currently expands in height when multiple values are selected before truncating, so it would have to have fixed height and truncate earlier.
Object pages Do tags have to be displayed in the header? I guess they will be mostly used for searching/grouping things.
1. It clutters the header + the question on what is more important comes up. Let's say you have a long name of the chart and 10 tags. I would say that title is more important in this case. How tags would be truncated?

2. We are adding something called metadata bar to the header, which will display the most important info about the object. We could add a section "tags" which would display all of the tags on hover for example. Below screenshot on how the metadata bar will look like.

Thank you for the quick feedback @kasiazjc and @jess-dillard ! I agree I think tags are mostly useful in the CRUD views where objects can be grouped/filtered by using tags, and not so much in the headers like you said.
For your question on truncating tags, the length of an individual tag's text is limited to 20 characters right now. In terms of truncating the list of tags, there is a maxTags attribute for the TagsList component that can be used to limit the number of tags shown by default. Currently, you can click on the last tag that shows the number of truncated tags to toggle between showing the full list of tags and the truncated list. I really like the idea you mentioned of hovering over the component, and it showing all the tags in a small popup view, but I didn't end up getting around to implementing it in this PR. Here is an example with a dashboard with a long title and too many tags:

Perhaps it would be best to remove the tags from the object headers for now and then consider adding them to the metadata bar when that is introduced? Is there any timeline on when the metadata bar will be pushed?

Hi all, thanks for the great work on this! I have a few UX/UI suggestions that would better align with Superset's current patterns.
Edit properties modal Instead of putting the applied tags to the right of the tag selection field, I would use the multi-select component and keep the tags inside the bounds of the field (like the multi-select filter field in dashboards):
Tags view I would actually create two views here to properly utilize and manage tags.

Tags CRUD
A Tags page, accessible from the global settings menu, that uses the existing CRUD template to display all tags. Columns in the table could include how many entities are tagged, who created it, etc. This is where the user would manage (edit/add/delete) tags.
"All entities" view
To satisfy the need to see all entities with a certain tag applied, I would create another CRUD view that combines dashboards/charts/queries and allows the user to filter by tags. This could be accessible from the main navigation.

Thanks for working on this! Have a few additional comments.
Crud view I think the field in the filter bar should be a multi select, not a search. Search does not show all of the possible tags and I think it would be hard to remember all of them to choose the right one.
Our multiple select currently expands in height when multiple values are selected before truncating, so it would have to have fixed height and truncate earlier.
Object pages Do tags have to be displayed in the header? I guess they will be mostly used for searching/grouping things.
1. It clutters the header + the question on what is more important comes up. Let's say you have a long name of the chart and 10 tags. I would say that title is more important in this case. How tags would be truncated?

2. We are adding something called metadata bar to the header, which will display the most important info about the object. We could add a section "tags" which would display all of the tags on hover for example. Below screenshot on how the metadata bar will look like.

Thank you for the quick feedback @kasiazjc and @jess-dillard ! I agree I think tags are mostly useful in the CRUD views where objects can be grouped/filtered by using tags, and not so much in the headers like you said.
For your question on truncating tags, the length of an individual tag's text is limited to 20 characters right now. In terms of truncating the list of tags, there is a maxTags attribute for the TagsList component that can be used to limit the number of tags shown by default. Currently, you can click on the last tag that shows the number of truncated tags to toggle between showing the full list of tags and the truncated list. I really like the idea you mentioned of hovering over the component, and it showing all the tags in a small popup view, but I didn't end up getting around to implementing it in this PR. Here is an example with a dashboard with a long title and too many tags:

Perhaps it would be best to remove the tags from the object headers for now and then consider adding them to the metadata bar when that is introduced? Is there any timeline on when the metadata bar will be pushed?

Thanks for quick response too 🙏
We will be taking up metadata bar this sprint. So for now, let's remove the tags from the header and we'll try to fit it in the metadata bar :)

/testenv up TAGGING_SYSTEM=true

/testenv up TAGGING_SYSTEM=true

I think this needs to be FEATURE_TAGGING_SYSTEM for test envs

/testenv up TAGGING_SYSTEM=true

I think this needs to be FEATURE_TAGGING_SYSTEM for test envs

Whoops! I was close haha 😅

/testenv up FEATURE_TAGGING_SYSTEM=true

One bug I noticed:

testTag has already been selected, but it shows up in the list as unselected. I can select it from the list, see 2 of the same tag, and save, but once I refresh it goes back to this state.

Thanks for the force-restart. Keeping an eye on CI now. 🤞

@hughhhh / @lyndsiWilliams / @eschutho looks like perhaps this is good to go, perhaps pending @hughhhh 's backend code approval?

/testenv up FEATURE_TAGGING_SYSTEM=true

/testenv up FEATURE_TAGGING_SYSTEM=true

overall looks good but left some comments

Added tests and moved the those endpoints under tags/api!

@cccs-RyanK I believe this needs a rebase

Yey, congrats @cccs-RyanK, this is a really great feature. Are we clear to merge this on Tuesday?

Yey, congrats @cccs-RyanK, this is a really great feature. Are we clear to merge this on Tuesday?

All good from my end!

How come this didn't make it into 3.0?


Cannot train BILOU scheme with no singletons

The AutoLabelNormalizer infers the scheme based on the presence of all the tag prefixes - i.e. BILOU is assumed if there's at least one of each of ['B','I','L','O','U']. There doesn't appear to be any way of passing a specific LabelNormalizer to the trainer.
My issue with this is that my dataset contains only BILO - i.e., there are no singletons. But the nature of my problem means I need to use a scheme that has B and L tags.
Because my dataset has no U tags SpanMarker errors since the set BILO doesn't match any of cases that AutoLabelNormalizer checks, i.e. perhaps allow a LabelNormalizer to be passed as an argument or relax the conditions i..e
    if (tags == set("BILOU")) or (tags == set("BILO")):
        return LabelNormalizerBILOU(config)

I think that's very sensible! I'll create a pull request for you, and create a way for you to install it. Perhaps you could then notify me whether the changes in the pull request solve your problem? I don't currently have a BILO dataset available, so I can't easily test it.

Tom Aarsen


Add deployment instructions, update collider README.md and fix params.html errors

The reason behind these changes are to clarify things that has been frequently asked.

@samdutton @juberti PTAL


The plugin is taking over the audio focus even on muted videos

This issue can be reproduced even with the basic demo app. In addition to the properties add muted: false. If you have an app currently playing music on your phone in the background (the default music player, spotify, etc.), it gets paused as soon as the video player is initialized, even when it's muted. I know that this is very specific case but is there any way I can allow background audio to keep playing while the video player is playing too?

I could be wrong but I dont think there is any case in which iOS lets you have a video playing while also playing audio from another source.

I could be wrong but I dont think there is any case in which iOS lets you have a video playing while also playing audio from another source.

The Exoplayer plugin seems to allow that


Treat sleepless Windoze

Move ossl_sleep() to where it fits much better: e_os.h and use it in apps.
Fixes #15304:
openssl-bin-cmp.obj : error LNK2019: unresolved external symbol sleep referenced in function cmp_main

We reeeaaaally should have a architecture library, where all these "replacement" functions can be located...  e_os.h is a mess!

We reeeaaaally should have a architecture library, where all these "replacement" functions can be located... e_os.h is a mess!
...
But that's for later

Yup.
FWIW, the new 'home' of ossl_sleep() is already surely better than cryptlib.h.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.


Iterables should be assignable to array-constrained type parameters

TypeScript Version:  3.4.0-dev.201xxxxx

Search Terms:
Code
String.fromCharCode.apply(null, new Uint8Array(buff))
String.fromCharCode.apply(null, new Uint16Array(buff))
String.fromCharCode.apply(null, new Uint32Array(buff))

Expected behavior:
Code like below should not get an error even with compiler option "--strict" is enabled.
String.fromCharCode.apply(null, new Uint8Array(buff))
String.fromCharCode.apply(null, new Uint16Array(buff))
String.fromCharCode.apply(null, new Uint32Array(buff))

Actual behavior:
But now i got an error like this:

Playground Link:
Related Issues:

This is a general problem with apply:
declare function f<T>(...xs: T[]): void
f(...new Uint8Array([1,2,3])  // ok
f.apply(null, new Uint8Array([1,2,3])) // error

close

close

Hello,
Why was this issue closed ?
Problem still exists on latest typescript released version (and nightly). See playground


Feature/logging test screens updates onboarding

Description
WIP on onboarding modals - still needs logic to not show on every view (ie from startup info)
NOTE this is being merged into https://github.com/zoe/covid-tracker-react-native/pull/1496 (not develop)
Backend PR / branch for local testing: https://github.com/zoe/covid-app/pull/535
Things to note/consider:

progress bars operate same as all other progress bars in app, and do not sync to gif progress; design is also one solid bar, not 4 separate.
Gifs to be optimised - higher quality required (original were ~4x file size, so will find the best compromise)
No swipe added - maybe we want to add gesture control for next/previous (this could be done as a prop on  ie gestureDetectionBack={boolean} gestureDetectionForward={boolean}
Figma:
https://www.figma.com/file/7TEcX7f6rw3Z0WYR4TpX3R/COVID-Symptom-Study-(App)---MASTER?node-id=12017%3A157720

On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots

Checklist (for submission)

[ ] Analytics/tracking events have been added (if relevant)
[ ] Added new screen(s) to src/features/screens.ts and new Redux slice(s) to mocks/mockedInitialState.ts (if relevant)

Checklist (for reviewers)

[x] Checked against Figma designs (if relevant) - by ie, not px as they are way off.
[ ] Checked that data has been successfully saved to the backend (if relevant)

Out of scope and potential follow-up
see top of PR. Put in description to make sure people see them.

Looks great!
When I tried it out, I felt that it was not always easy to see what had happened upon next click because the new GIF and copy just immediately changed without animation. Don't know what others think...

I agree. I am going to add some gesture support for back/forward to our modals after lunch, and will see if I can add in another option for "dismiss transition" while i am at it! Thanks Julia!!

Wow... tests as well :)


document thumbprint_list

I'm trying to configure the AWS IAM OIDC provider via terraform, but I'm not sure what to configure in thumbprint_list:

(Required) A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s).

It seems AWS explicitly requires pinning some HTTPS certificates used for the JWKS endpoint here (but has some special rules for some websites):
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html says:

AWS secures communication with some OIDC identity providers (IdPs) through our library of trusted certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, Auth0, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation.

It's not entirely clear if Buildkite is part of that list - in any case, a little terraform example would be helpful :-)

Following https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html, the fingerprint I came up with was 9E99A48A9960B14926BB7F3B02E22DA2B0AB7280, but I wanted to make sure it's the right one, and won't suddenly change if you switch certificate providers.

Yes, 9E99A48A9960B14926BB7F3B02E22DA2B0AB7280 is correct. Buildkite is hosted on AWS, and we use AWS Certificate Manager to provision our certificates automatically from AWS' Certificate Authority. That fingerprint corresponds to Starfield's root CA, used by Amazon.
That CA cert lasts until 2034. It should remain stable, even if our leaf certificate is automatically rotated.
But you're right, it would change if we needed to switch where our certs are generated. If we need to change root certificate authorities then reasonable notice will be provided.
Automating this via terraform would be a good idea, and including an example in the docs would also be nice. I'll see what we can do.

There's an example for configuring an OIDC provider for EKS here which feels similar:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_cluster.html#enabling-iam-roles-for-service-accounts
So something like this should work -- the terraform docs say that the root of the chain comes first:
locals {
  agent_endpoint = "https://agent.buildkite.com"
}

data "tls_certificate" "buildkite-agent" {
  url = locals.agent_endpoint
}

resource "aws_iam_openid_connect_provider" "buildkite-agent" {
  url = locals.agent_endpoint

  client_id_list = [
    "sts.amazonaws.com",
  ]

  thumbprint_list = [
    data.tls_certificate.buildkite-agent.certificates[0].sha1_fingerprint,
  ]
}

I've added the above example into the docs, too.
Thanks for the questions, and suggestion!


Added more opportunities and enhanced the page with more design and responsiveness

What is the change?
Added more opportunities in opportunities section and enhanced the page.
Opportunities added:- GSOC,GSSOC,MLH Fellowship,GWOC and JWOC
Related issue?
closes: Issue #109
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x ] I have followed the Code of Conduct.
[ x] I have  checked there aren't other open Pull Requests for the same update/change.
[x ] I have you tested the code before submission.
[x ] I have commented my code, particularly in hard-to-understand areas.
[ x] My changes generates no new warnings.
[x ] I'm JWOC contributor.

Screenshots (if any)

@Chaitalishetty You may check now .

Is this okay ?? @Chaitalishetty

Now check the size of cards


[FEATURE] Document relation between requirements specification languages and code

Summary
In order to demonstrate how CN fits into a larger system development picture, it is important to understand architectural contract languages, specifically AGREE (shows contracts between components) and GCL (specs for each AADL thread).

[ ] Familiarize yourself with the syntax of both AGREE and GCL, and compare them with CN. Notable questions to answer:

Can CN refine AGREE/GCL contracts?
How does CN code specs relate to the component level contracts?
Are there any properties (e.g. timing) that cannot be expressed by CN?

[ ] Familiarize yourself with FRET requirement language, and understand the mapping between formalized FRET requirements and the aforementioned contract languages

Can FRET directly translate to CN?
Are there FRET properties that cannot be expressed by CN?

[ ] Write your findings into a markdown document and save it in this repo

References

GCL manual gcl_guide_sept2022.pdf
Gumbo temp control example
AGREE/RESOLUTE tutorials: https://github.com/GaloisInc/CASE-AADL-Tutorial
HARDENS AADL example: https://gitlab-ext.galois.com/aadl/ksu-galois-collab-mirror/-/tree/main/hardens-aadl-hamr
FRET: https://github.com/NASA-SW-VnV/fret
AADL example from SEI about mapping AADL to specific functions: https://github.com/cmu-sei/AASPE/blob/master/edu.cmu.aaspe.examples/code-generation/software.aadl#L19

Cherry-picked commits from https://github.com/GaloisInc/VERSE-OpenSUT/pull/101, closing


Text protocol commands with too few arguments cause a panic

If there are not enough arguments touch panics, e.g.
touch foo --> panic / goroutine dump
The proxy should instead return a CLIENT_ERROR message

Fixed in 9091660a9c80c0f4ec73d41ee15a138724b789c7 and b1c4a707362d1b324aefab81d18fc72fd57c48cf


How to learn the MathJax API quickly?

I am looking to learn the MathJax API and the inner workings of MathJax relatively quickly, but I am having trouble with it at the moment. Since the API section of the documentation is not written yet, I find it hard to get a hold of what's actually going on inside.
Is there maybe any old documentation that explains that and is still mostly accurate? Or could maybe somebody explain it briefly (or give a starting point for looking through the code myself)?

Because v3 is a complete rewrite, there is no old documentation to call on.  The best place right now is the MathJax node demos repository and the examples it contains.  Look at the direct approach for the lowest level access.  The README in that directory gives the overview of what you need to do to set up and call MathJax conversion functions.
The basic idea is that there is one ore more input jax to convert math from an input format like TeX or AsciiMath into MathJax's internal format (basically MathML), and an output jax to convert that internal format into he desired output format (HTML or SVG currently).  You create and configure these separately via instantiating the appropriate objects.  (See ts/output/chtml.ts and ts/output/svg.ts).
These both work within a context that MathJax calls a MathDocument (ts/core/MathDocument.ts).  The idea is that there could be various document formats (HTML, Markdown, etc), and how these are handled may differ, and the MathDocument mediates that.  The only MathDocument class currently implemented is the HTMLDocument class (ts/handlers/html/HTMLDocument.ts).  You need to register the document type with MathJax so that it can process documents of that type.
Because we want to be able to process HTML documents server-side as well as in the browser, the internal format of the HTML document may not be an actual browser DOM (which is not available in node applications, for example).  There are several different DOM implementations for node (and even in the browser, there are specialized DOM's like React's virtual DOM, and things like ShadowDOM that need to be treated specially), so MathJax abstracts the actions it needs to perform on a DOM using a DOMadaptor object (ts/core/DOMadaptor.ts, with implementations in ts/adaptors).  MathJax provides a LiteDOM class for implementing a minimal DOM for server-side use (very minimal) in ts/adaptors/lite.    The HTMLDocument class doesn't know what type of DOM you are actually using, and does all its DOM manipulation via the adaptor that you provide when you register the HTML document type.
Once you have registered the document type and created the input and output jax, you create the MathDocument via mathjax.document(), passing it the DOM to be use, or a string to be parsed into a DOM, together with any configuration options, which includes the input and output jax.  The document contains the methods to call to perform typesetting of the DOM, or conversion of math strings to DOM elements or internal MathML, etc.  The main entry points are the render() and convert() methods.  These each cause a sequence of functions to be called, called renderActions, which you can control through the options passed when creating the document.
The standard functions for render() include: finding the math in the document, compiling the math to internal MathML, getting the metrics for the surrounding fonts, typesetting the math, and updating the document.  You can see these here:
https://github.com/mathjax/MathJax-src/blob/e9b75064ae86ffda179dd86df74bb603eb1416d4/ts/core/MathDocument.ts#L511-L520
Some extensions add more commands to this list (e.g., the menu extension adds a render action to add the menu event handlers to the typeset output before inserting them into the document).  The convert() function performs similar actions.
Math that is found in the document is stored in a MathItem object (ts/core/MathItem.ts, but also see ts/handlers/html/HTMLMathItem.ts').  These are stored in a list within the MathDocument, so that they can be processed for the various render actions, but can be created separately for things like convert().  The MathItemcontains methods for compiling the math string into the internal format, and converting that into the output format (HTML or SVG), and the render actions list calls these when you use the document'sconvert()` command.
I think that is the basic overview.  I hope that gets you started.


FIL-plugins: init at 0.3.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build FIL-plugins

Success on aarch64-linux (full log)
Attempted: FIL-plugins
Partial log (click to expand)
install flags: SHELL=/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/bash install
cp  *.so /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0/lib/ladspa
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0
shrinking /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0/lib/ladspa/filters.so
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0/lib
patching script interpreter paths in /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0
checking for references to /build in /nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0...
/nix/store/c1f6plvnkl1d4dcixcymjgq03h475264-FIL-plugins-0.3.0

Success on x86_64-linux (full log)
Attempted: FIL-plugins
Partial log (click to expand)
install flags: SHELL=/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/bash install
cp  *.so /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0/lib/ladspa
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0
shrinking /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0/lib/ladspa/filters.so
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0/lib
patching script interpreter paths in /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0
checking for references to /build in /nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0...
/nix/store/9lvww2514fc9nzli1qhkhlpf9x4df906-FIL-plugins-0.3.0

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: FIL-plugins
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


How can we differentiate spam email with ham.

I tested shiva by sending spam and ham email, it is logging both.
Is there any extension through with which we can distinguish between normal email(ham) and spam email.
Like our emailing servers (e.g gmail) can automatically send spamming mail spam box.

No, it hasn't been coded that way. Based on practicality that spammers are the consumers of open-relay or hacked SMTP servers, no attempt has been made to distinguish between spam/legit mail.
But yes, a thought could be put in to design a logic that could further categories spams (e.g. next-to-kin, phishing, advertisement etc.)


useAmp is now no longer hardcoded to 0

useAmp in b12proc is no longer hardcoded to 0
change is tested and allows the use of tpwrf to change the output power

I will change the useAmp = num-1 line
The fixed bug in #40  clears the problem that the AMP0 register was always set to full power (even with tpwrf<100)?

amp0 register is now changed


Game does not open with Radial Mount Menu installed

Describe the bug
When I perform the installation procedures, the game is not loaded. Login screen does not open.
Then "A serious error occurred ..."
To Reproduce

I put d3d9.dllem in my bin64 directory
I click to start game
Then do '...'
It does not load, and "A serious error has occurred"

Expected behavior
Login screen loads. I enter the game, and I can use the mod.
Screenshots

System configuration (please fill in):

Windows 10
GPU GTX1060ti
Ryze 5 2400G

Additional context
When I change the name of "d3d9.dll" the game opens. But the mod does not work.
I would love to use your mod. It just seems incredible.
Sorry for any typing errors. I'm from Brazil, and I do not speak English. So I'm using Google Translate hahaha
Thanks <3

I'm afraid the only troubleshooting I can give is to follow these instructions as outlined in the readme. If you've done that already, I don't have any other suggestion right now. We've never discovered what the source of this particular problem is.

I was having a somewhat similar issue, except I didn't get an error message, GW2 just wouldn't start after hitting play (after logging in).
What ended up working for me was adding the Gw2-64.exe (and the CoherentUI_Host.exe, not sure if it matters) to the Windows 10 Ransomware Protection exception list.
You can follow the instructions here:
https://www.windowscentral.com/how-allow-blocked-apps-ransomware-protection-windows-10-october-2018-update
Hope this helps!

That is a very interesting finding, thank you!

Thank you >Myster-Marz for the help, but unfortunately it did not work yet
My Windows 10 Ransomware was not even active :(
Thank you >Friendly0Fire, but I tried these instructions and they also did not work :(

Herouw - Sorry to hear that it didn't work.. I'll keep an eye out for any possible solutions.
Friendly0Frire - No problem! I ran into this issue before when trying to use script extenders for Skyrim and Fallout 4.

Same issue. None of the recommendations worked.

I used to have an intel cpu and i swapped to a ryzen 5 2600.
On intel it worked fine no issues .
On Amd it gives white screen of doom and no error ,just never loads.
Swap back to intel and its fine .


Winston logging only selected files / modules

Is it possible to enable logging only for specific js files?
Ideally, we'd like to  log errors for all files, but only log info for selected files.

Yes, but not in a generic way that would be implemented in this library:

Pass __filename to every message you pass to your winston Logger.
Define a custom format that filters only the filenames you care about.


Bump Wasmtime to 3.0.0

This is an automated pull request from CI which indicates
that the next release-2.0.0 branch has been created and
the main branch is getting its version number bumped from 2.0.0 to
3.0.0.
Maintainers should take a moment to review the release
notes for 2.0.0, and if any changes are necessary send
PRs to the main branch to update RELEASES.md and then backport
these PRs to the release branch.
Maintainers should also review that aarch64-apple-darwin builds
are passing via embark's CI.
Another automated PR will be made in roughly 2 weeks time when for
the actual release itself.
If any issues arise on the main branch before the release is made
then the issue should first be fixed on main and then backported
to the release-2.0.0 branch.

Would it be ok to revert https://github.com/bytecodealliance/wasmtime/pull/4892 on the wasmtime 2.0 branch given that there is still a cg_clif regression? Keeping the regalloc2 update should be fine.


Cleanup shell scripts

removed bashisms to get rid of GPLv3 licensed bash dependency and also did some refactoring

We'll need to update the leda-utils.bb recipe as well as the folder name has changed.


Add support for printing compression stats for clp-s

References

Description

This PR adds a command-line option, which prints statistics after compression. Similar to clp, it allows the package to read compression statistics from stdout and store them in the metadata database.
Validation performed

Built clp-s and compressed part of mongodb dataset.
The statistics were shown after compression.

In CLP's case, the binary itself writes to the metadata database while the stats output is simply to track the progress of compression in real-time (rather than polling the database). The alternative suggested by this PR means we're putting the burden on the scheduler which we won't be able to do once we switch to the new scheduler, so I would rather we wrote to the database directly from clp-s.

Superseded by #259.


Replaces "greatar" with "greater" and "should'nt" with "shouldn't"

Fixes some typos:
s/greatar/greater/
s/should'nt/shouldn't/

@cognusion thanks for working on this!  Can you drop the changes to locale/ files?  Those are automated generated, and it's best to never make manual changes to them.

@timabbott  apologies for stepping on the those, I was unaware of their magic. Should be all set.

Squashed and merged, after writing a commit message in the normal Zulip style.
Check out the Zulip commit message guidelines for more details: https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages
Thanks for fixing this @cognusion!


corrupter: 1.0-unstable-2023-01-11 -> 1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for corrupter is: Simple image glitcher suitable for producing lockscreens
meta.homepage for corrupter is: https://github.com/r00tman/corrupter
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0 with grep in /nix/store/vp1yc5486a7m6fv010vlg9galwjhl4f5-corrupter-1.0
found 1.0 in filename of file in /nix/store/vp1yc5486a7m6fv010vlg9galwjhl4f5-corrupter-1.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
corrupter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vp1yc5486a7m6fv010vlg9galwjhl4f5-corrupter-1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A corrupter https://github.com/r-ryantm/nixpkgs/archive/0826211f10101b9a61424b7f609938ea42de4a9a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0826211f10101b9a61424b7f609938ea42de4a9a#corrupter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vp1yc5486a7m6fv010vlg9galwjhl4f5-corrupter-1.0
ls -la /nix/store/vp1yc5486a7m6fv010vlg9galwjhl4f5-corrupter-1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

corrupter

Maintainer pings
cc @ivan770 for testing.

Duplicate of #278110, but I guess the bot will continue submitting these PRs if this one is closed


[DOCS]Update Twitter Logo in README

Description
The Twitter logo in the README file needs to be updated to the latest branding. Currently, the README displays the old Twitter logo, and it should be replaced with the new "x" logo to reflect the most recent changes.
Screenshots

Additional information
Updating the Twitter logo in the README enhances the project's visual presentation and ensures that users have access to the most accurate branding information.
Code of Conduct

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

can i change it ?

@nassim-ayadi Thanks for raising this issue. Would you like to handle it?
It will require you to create/use badge from img.shields.io as the current once.

ok i will handle this

should i keep only the logo like this : https://img.shields.io/badge/-100000?style=for-the-badge&logo=x&logoColor=white
or add twitter : https://img.shields.io/badge/twitter-100000?style=for-the-badge&logo=x&logoColor=white
or add x.com :https://img.shields.io/badge/x.com-100000?style=for-the-badge&logo=x&logoColor=white
i personally prefer the first option . what do you think @ArkadiK94

@nassim-ayadi second opinion, it should be corresponding to other icons and place it after LinkedIn so it will not be black aftar black.


Improve Hypothes.is linkouts from the VCI

V1 was released in https://github.com/ClinGen/gene-and-variant-curation-tools/issues/22 (#22)
This ticket is for further updates, e.g. currently the linkouts to Hypothes.is are not optimal as they do not link to all of the papers. Some work needs to be done by the clingen community curation database.

Made the change in March 2024 to display multiple annotations in Hypothesis via our linkouts. We did most of the correspondence in Slack with Courtney and confirmed with her before releasing on March 18th, 2024


[Feature Request] Projection-event applier lambda functions

At times, when creating modular software, it would be useful to be able to add events and event appliers for existing projections from external libraries.
An example:
If i have ProjectionA in ClassLibA with methods to apply all events within ClassLibA, if I want to add an optional feature by including another library/module (ClassLibB), the events for the optional feature must reside in ClassLibA, and ProjectionA must contain Apply methods for them.
This would break the separation of concerns and remove the benefits of breaking optional feature into a module/library.
I propose that we allow registration of EventHandlers for specific Projections and Events.
Here is a simplistic gist example

This is actually technically possible today, just there's no documentation or sample to show you how.

Moving this to discussion until we attempt to address the docs.


updating ios deployment target to 13.0

Updating ios deployment target from 12.0 to 13.0

This will have to wait until support for Capacitor v3 is dropped. See https://github.com/diachedelic/capacitor-blob-writer/issues/56. Also https://github.com/capacitor-community/background-geolocation/commit/aa7b638d5b8231d08c9494bfb870724bede64b7d.


[BUG] Bloxstrap doesn't finish installing itself at all

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
When i open up Bloxstrap to install it, it's stuck at the "Configuring Roblox" loading screen.

Does it do this consistently every time you try to install it?

Well. Yes. That's the only issue I have.

Nothing else, it happens when I try to install it.

Open the %temp% folder, sort by date modified, and send Bloxstrap's latest log file here.

Bloxstrap_20240702T224404Z.log

There is my lastest Bloxstrap log

In the %localappdata%\Bloxstrap\Downloads folder, there should be a file named 24c19f98d81b49479f07c330ed96be57. Can you upload it somewhere and send a link to it here please?

hey pizza

pizzaboxer

I fixed it

its now working and it installed.